@dyedurham/search-and-file-widget 1.5.10 → 1.6.1

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 +2249 -1196
  2. package/package.json +1 -1
@@ -50682,6 +50682,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
50682
50682
  const status = r.Status ? String(r.Status) : "ValidationFailed";
50683
50683
  return new Error(msgs.length ? `eCore validation failed (HTTP ${httpStatus}, ${status}): ${msgs.join(" | ")}` : `eCore validation failed (HTTP ${httpStatus}, ${status}).`);
50684
50684
  }
50685
+ function joinUrl(base, path) {
50686
+ const b = base.endsWith("/") ? base.slice(0, -1) : base;
50687
+ const p = path.startsWith("/") ? path : `/${path}`;
50688
+ return `${b}${p}`;
50689
+ }
50685
50690
  function ensureAuthInputs(signature) {
50686
50691
  if (!signature?.proxyApiUrl) {
50687
50692
  const err = new Error("Missing signature.proxyApiUrl (required input from Athennian).");
@@ -50856,6 +50861,25 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
50856
50861
  function isAnnualReturnTask(task) {
50857
50862
  return task?._taskType === TaskType.AnnualCompliance;
50858
50863
  }
50864
+ function getSearchOrFilingType(task) {
50865
+ if (!task) {
50866
+ return void 0;
50867
+ }
50868
+ const prefix = isOntarioTask(task) ? "ontario" : "federal";
50869
+ if (isFormationTask2(task)) {
50870
+ return `${prefix}Incorporation`;
50871
+ }
50872
+ if (isInitialReturn(task)) {
50873
+ return `${prefix}InitialReturn`;
50874
+ }
50875
+ if (isNoticeOfChangeTask(task)) {
50876
+ return `${prefix}NoticeOfChange`;
50877
+ }
50878
+ if (isAnnualReturnTask(task)) {
50879
+ return `${prefix}AnnualReturn`;
50880
+ }
50881
+ return void 0;
50882
+ }
50859
50883
  function markFormGroupTouched(formGroup) {
50860
50884
  Object.values(formGroup.controls).forEach((control) => {
50861
50885
  control.markAsTouched();
@@ -51388,16 +51412,44 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51388
51412
  class: "span-12"
51389
51413
  };
51390
51414
  FORMATION_DELTA_CARD_FORM_INCORPORATORS_FIELDS_MAP = {
51391
- [AffiliationAddressType.CanadianNoSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, EMAIL_TEXT_FIELD],
51392
- [AffiliationAddressType.CanadianSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, EMAIL_TEXT_FIELD],
51393
- [AffiliationAddressType.InternationalNoSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, EMAIL_TEXT_FIELD],
51394
- [AffiliationAddressType.InternationalSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, EMAIL_TEXT_FIELD]
51415
+ [AffiliationAddressType.CanadianNoSuite]: [
51416
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT,
51417
+ EMAIL_TEXT_FIELD
51418
+ ],
51419
+ [AffiliationAddressType.CanadianSuite]: [
51420
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT,
51421
+ EMAIL_TEXT_FIELD
51422
+ ],
51423
+ [AffiliationAddressType.InternationalNoSuite]: [
51424
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT,
51425
+ EMAIL_TEXT_FIELD
51426
+ ],
51427
+ [AffiliationAddressType.InternationalSuite]: [
51428
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT,
51429
+ EMAIL_TEXT_FIELD
51430
+ ]
51395
51431
  };
51396
51432
  FORMATION_DELTA_CARD_FORM_DIRECTORS_FIELDS_MAP = {
51397
- [AffiliationAddressType.CanadianNoSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD],
51398
- [AffiliationAddressType.CanadianSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD],
51399
- [AffiliationAddressType.InternationalNoSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD],
51400
- [AffiliationAddressType.InternationalSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD]
51433
+ [AffiliationAddressType.CanadianNoSuite]: [
51434
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT,
51435
+ EMAIL_TEXT_FIELD,
51436
+ RESIDENT_CHECKBOX_FIELD
51437
+ ],
51438
+ [AffiliationAddressType.CanadianSuite]: [
51439
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT,
51440
+ EMAIL_TEXT_FIELD,
51441
+ RESIDENT_CHECKBOX_FIELD
51442
+ ],
51443
+ [AffiliationAddressType.InternationalNoSuite]: [
51444
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT,
51445
+ EMAIL_TEXT_FIELD,
51446
+ RESIDENT_CHECKBOX_FIELD
51447
+ ],
51448
+ [AffiliationAddressType.InternationalSuite]: [
51449
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT,
51450
+ EMAIL_TEXT_FIELD,
51451
+ RESIDENT_CHECKBOX_FIELD
51452
+ ]
51401
51453
  };
51402
51454
  FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_SHARES_AND_PROVISIONS = [
51403
51455
  {
@@ -51451,7 +51503,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51451
51503
  }
51452
51504
  ];
51453
51505
  generateFormationDeltaCardFormCorporationDetails = (name, secondaryName) => {
51454
- const proposedOptions = [{ label: name ?? "", value: name }, { label: secondaryName ?? "", value: secondaryName }].filter((option) => option.value);
51506
+ const proposedOptions = [
51507
+ { label: name ?? "", value: name },
51508
+ { label: secondaryName ?? "", value: secondaryName }
51509
+ ].filter((option) => option.value);
51455
51510
  return [
51456
51511
  {
51457
51512
  type: FormType.Select,
@@ -51466,7 +51521,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51466
51521
  if (isNumbered) {
51467
51522
  form.get(FormationFormControls.wasLegalOpinionObtained)?.setValue(false, { emitEvent: false });
51468
51523
  }
51469
- if ([NameType.NamedEnglish, NameType.NamedBilingual, NameType.NamedCombined].includes(corporationNameType)) {
51524
+ if ([
51525
+ NameType.NamedEnglish,
51526
+ NameType.NamedBilingual,
51527
+ NameType.NamedCombined
51528
+ ].includes(corporationNameType)) {
51470
51529
  form.get(FormationFormControls.ProposedCorporationNameEng)?.setValue(name, { emitEvent: false });
51471
51530
  }
51472
51531
  if ([NameType.NamedFrench].includes(corporationNameType)) {
@@ -51596,7 +51655,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51596
51655
  ];
51597
51656
  };
51598
51657
  generateOntarioFormationFormContactControl = (contacts) => {
51599
- const contactsOptions = contacts.map((contact) => ({ label: contact.participant._profile.name ?? "", value: contact._id }));
51658
+ const contactsOptions = contacts.map((contact) => ({
51659
+ label: contact.participant._profile.name ?? "",
51660
+ value: contact._id
51661
+ }));
51600
51662
  return [
51601
51663
  {
51602
51664
  type: FormType.Select,
@@ -51622,7 +51684,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51622
51684
  }
51623
51685
  ];
51624
51686
  };
51625
- FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER = [
51687
+ FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER = (lawyerOptions) => [
51626
51688
  {
51627
51689
  type: FormType.Select,
51628
51690
  placeholder: "",
@@ -51630,7 +51692,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51630
51692
  formControlName: FormationFormControls.LawyerSigningOpinion,
51631
51693
  required: true,
51632
51694
  class: "span-12",
51633
- options: []
51695
+ options: lawyerOptions
51634
51696
  },
51635
51697
  {
51636
51698
  type: FormType.Text,
@@ -54481,7 +54543,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
54481
54543
  (() => {
54482
54544
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ChipComponent, [{
54483
54545
  type: Component,
54484
- 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"] }]
54546
+ 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"] }]
54485
54547
  }], null, null);
54486
54548
  })();
54487
54549
  (() => {
@@ -54684,42 +54746,42 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
54684
54746
  animate("100ms cubic-bezier(0.4, 0.0, 0.2, 1)")
54685
54747
  ])
54686
54748
  ])
54687
- ], template: `<div [class.padded]="padded()" [class.border]="border()" class="expandable-card">\r
54688
- <div (click)="toggle()" class="expandable-card-header">\r
54689
- <h2 [class.list-item]="isListItem()" class="expandable-card-header-title">{{title() | translate}}</h2>\r
54690
- \r
54691
- <div [class.list-item]="isListItem()" class="expandable-card-header-container">\r
54692
- @if (isStatusIcon()) {\r
54693
- @if (!isValid()) {\r
54694
- <mat-icon class="expandable-card-header-status-icon"> error_outline </mat-icon>\r
54695
- }\r
54696
- }\r
54697
- \r
54698
- @if(chipType()) {\r
54699
- <chip [type]="chipType()" [title]="chipText()"/>\r
54700
- }\r
54701
- \r
54702
- @if (isExpandable()) {\r
54703
- <mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>\r
54704
- }\r
54705
- </div>\r
54706
- </div>\r
54707
- \r
54708
- <div class="expandable-card-content"\r
54709
- [@expandCollapse]="isExpanded()">\r
54710
- <div class="expandable-card-content-item">\r
54711
- <ng-content></ng-content>\r
54712
- \r
54713
- @if (removable()) {\r
54714
- <div class="expandable-card-content-item-actions">\r
54715
- <span (click)="remove.emit()" class="body-1-regular light-blue pointer">{{'Remove' | translate}}</span>\r
54716
- </div>\r
54717
- }\r
54718
- \r
54719
- \r
54720
- </div>\r
54721
- </div>\r
54722
- </div>\r
54749
+ ], template: `<div [class.padded]="padded()" [class.border]="border()" class="expandable-card">
54750
+ <div (click)="toggle()" class="expandable-card-header">
54751
+ <h2 [class.list-item]="isListItem()" class="expandable-card-header-title">{{title() | translate}}</h2>
54752
+
54753
+ <div [class.list-item]="isListItem()" class="expandable-card-header-container">
54754
+ @if (isStatusIcon()) {
54755
+ @if (!isValid()) {
54756
+ <mat-icon class="expandable-card-header-status-icon"> error_outline </mat-icon>
54757
+ }
54758
+ }
54759
+
54760
+ @if(chipType()) {
54761
+ <chip [type]="chipType()" [title]="chipText()"/>
54762
+ }
54763
+
54764
+ @if (isExpandable()) {
54765
+ <mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>
54766
+ }
54767
+ </div>
54768
+ </div>
54769
+
54770
+ <div class="expandable-card-content"
54771
+ [@expandCollapse]="isExpanded()">
54772
+ <div class="expandable-card-content-item">
54773
+ <ng-content></ng-content>
54774
+
54775
+ @if (removable()) {
54776
+ <div class="expandable-card-content-item-actions">
54777
+ <span (click)="remove.emit()" class="body-1-regular light-blue pointer">{{'Remove' | translate}}</span>
54778
+ </div>
54779
+ }
54780
+
54781
+
54782
+ </div>
54783
+ </div>
54784
+ </div>
54723
54785
  `, 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"] }]
54724
54786
  }], () => [], null);
54725
54787
  })();
@@ -71764,7 +71826,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
71764
71826
  MatFormFieldModule,
71765
71827
  MatInputModule,
71766
71828
  MatAutocompleteModule
71767
- ], 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' }]
71829
+ ], 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' }]
71768
71830
  }], null, null);
71769
71831
  })();
71770
71832
  (() => {
@@ -75907,7 +75969,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
75907
75969
  }
75908
75970
  ], imports: [
75909
75971
  MatCheckbox
75910
- ], 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"] }]
75972
+ ], 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"] }]
75911
75973
  }], null, null);
75912
75974
  })();
75913
75975
  (() => {
@@ -76581,239 +76643,239 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
76581
76643
  { provide: DateAdapter, useClass: MomentDateAdapter },
76582
76644
  { provide: MAT_DATE_FORMATS, useValue: MY_DATE_FORMATS },
76583
76645
  { provide: MAT_DATE_LOCALE, useValue: "en-GB" }
76584
- ], template: `@let fields = this.config();\r
76585
- @let form = this.form();\r
76586
- \r
76587
- <section>\r
76588
- <div [class.submitted]="isSubmitted()" class="filling-form-fields" [formGroup]="form">\r
76589
- @for (field of fields; track field.formControlName + $index; let last = $last) {\r
76590
- @if (!field.isVisible || field.isVisible(form)) {\r
76591
- @let previousValue = validationConfig()?.[field.formControlName];\r
76592
- \r
76593
- @switch (field.type) {\r
76594
- @case (types.Select) {\r
76595
- <div class="filling-form-fields-item {{field.class ?? 'span-6'}}">\r
76596
- @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;\r
76597
- @if (label) {\r
76598
- <span class="filling-form-fields-item-label body-1-regular">\r
76599
- {{ (label | translate) + (field.required ? " *" : "") }}\r
76600
- </span>\r
76601
- }\r
76602
- <mat-form-field appearance="outline">\r
76603
- @let control = form.get(field.formControlName);\r
76604
- \r
76605
- <input\r
76606
- matInput\r
76607
- [formControlName]="field.formControlName"\r
76608
- [placeholder]="field.placeholder ?? ''"\r
76609
- [matAutocomplete]="autocompleteRef"\r
76610
- (change)="field.onChange && field.onChange(form)"\r
76611
- />\r
76612
- \r
76613
- <mat-autocomplete\r
76614
- #autocompleteRef="matAutocomplete"\r
76615
- [displayWith]="getDisplayFn(field)"\r
76616
- (optionSelected)="field.onChange && field.onChange(form)"\r
76617
- >\r
76618
- @for (option of getFilteredOptions(field); track option.value) {\r
76619
- <mat-option\r
76620
- class="filing-form-group-select-option"\r
76621
- [value]="option.value"\r
76622
- >\r
76623
- {{ option.label }}\r
76624
- </mat-option>\r
76625
- }\r
76626
- @if (getFilteredOptions(field).length === 0) {\r
76627
- <mat-option disabled>No options found</mat-option>\r
76628
- }\r
76629
- </mat-autocomplete>\r
76630
- \r
76631
- @if (control?.value && !control?.disabled) {\r
76632
- <div matSuffix class="suffix-container">\r
76633
- <button mat-icon-button (click)="control?.reset()">\r
76634
- <mat-icon>close</mat-icon>\r
76635
- </button>\r
76636
- \r
76637
- <mat-icon class="arrow-icon">arrow_drop_down</mat-icon>\r
76638
- </div>\r
76639
- } @else {\r
76640
- <mat-icon matSuffix>arrow_drop_down</mat-icon>\r
76641
- }\r
76642
- \r
76643
- <mat-error>{{ field.label }} is required</mat-error>\r
76644
- </mat-form-field>\r
76645
- </div>\r
76646
- }\r
76647
- \r
76648
- @case (types.Checkbox) {\r
76649
- <div [class.last]="last" class="filling-form-fields-checkbox {{field.class ?? 'span-6'}}">\r
76650
- <mat-checkbox\r
76651
- (change)="field.onChange && field.onChange(form)"\r
76652
- [formControlName]="field.formControlName"\r
76653
- >\r
76654
- @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;\r
76655
- <div>\r
76656
- <span class="body-1-regular black" [class.warning]="!!previousValue">{{\r
76657
- label\r
76658
- }}</span>\r
76659
- @if (previousValue != null) {\r
76660
- <mat-icon\r
76661
- [class.warning]="true"\r
76662
- class="filling-form-fields-item-icon"\r
76663
- matSuffix\r
76664
- >warning_amber</mat-icon\r
76665
- >\r
76666
- }\r
76667
- </div>\r
76668
- </mat-checkbox>\r
76669
- \r
76670
- @if (previousValue != null) {\r
76671
- <mat-hint\r
76672
- [class.warning]="true"\r
76673
- class="filling-form-fields-item-hint"\r
76674
- >Previously saved value: {{ previousValue ? 'checked' : 'unchecked' }}</mat-hint\r
76675
- >\r
76676
- }\r
76677
- </div>\r
76678
- }\r
76679
- \r
76680
- @case (types.Empty) {\r
76681
- <div class="filling-form-fields-empty {{field.class ?? 'span-6'}}"></div>\r
76682
- }\r
76683
- @case (types.Autocomplete) {\r
76684
- <div class="filling-form-fields-item {{field.class ?? 'span-6'}}">\r
76685
- @if (field.label) {\r
76686
- <span class="filling-form-fields-item-label body-1-regular">\r
76687
- {{ field.label + (field.required ? " *" : "") }}\r
76688
- </span>\r
76689
- }\r
76690
- <autocomplete-field\r
76691
- [options]="field.options ?? []"\r
76692
- [control]="getFormControl(field.formControlName)"\r
76693
- [placeholder]="field.placeholder ?? ''"\r
76694
- [required]="field.required ?? false"\r
76695
- />\r
76696
- </div>\r
76697
- }\r
76698
- \r
76699
- @case (types.Date) {\r
76700
- <div\r
76701
- class="filling-form-fields-item {{field.class ?? 'span-6'}}"\r
76702
- [class.warning]="!!previousValue"\r
76703
- >\r
76704
- @if (field.label) {\r
76705
- <span\r
76706
- class="filling-form-fields-item-label body-1-regular"\r
76707
- [class.warning]="!!previousValue"\r
76708
- >\r
76709
- {{ field.label + (field.required ? " *" : "") }}\r
76710
- </span>\r
76711
- }\r
76712
- \r
76713
- <mat-form-field appearance="outline">\r
76714
- <input\r
76715
- matInput\r
76716
- [matDatepicker]="picker"\r
76717
- [formControlName]="field.formControlName"\r
76718
- [placeholder]="field.placeholder ?? ''"\r
76719
- (dateChange)="field.onChange && field.onChange(form)"\r
76720
- />\r
76721
- <mat-datepicker-toggle matSuffix [for]="picker">\r
76722
- <mat-icon matDatepickerToggleIcon>calendar_today</mat-icon>\r
76723
- </mat-datepicker-toggle>\r
76724
- <mat-datepicker #picker></mat-datepicker>\r
76725
- \r
76726
- @if (previousValue != null) {\r
76727
- <mat-hint\r
76728
- [class.warning]="true"\r
76729
- class="filling-form-fields-item-hint"\r
76730
- >\r
76731
- Previously saved value: {{ previousValue }}\r
76732
- </mat-hint>\r
76733
- }\r
76734
- \r
76735
- <mat-error>{{field.label}} is required</mat-error>\r
76736
- </mat-form-field>\r
76737
- </div>\r
76738
- }\r
76739
- \r
76740
- @case (types.Input) {\r
76741
- <div\r
76742
- [class.warning]="!!previousValue"\r
76743
- class="filling-form-fields-item {{field.class ?? 'span-6'}}"\r
76744
- >\r
76745
- @if (field.label) {\r
76746
- <span\r
76747
- [class.warning]="!!previousValue"\r
76748
- class="filling-form-fields-item-label body-1-regular"\r
76749
- >\r
76750
- {{ field.label + (field.required ? " *" : "") }}\r
76751
- </span>\r
76752
- \r
76753
- <mat-form-field appearance="outline">\r
76754
- <input\r
76755
- matInput\r
76756
- [readonly]="field.readonly"\r
76757
- [formControlName]="field.formControlName"\r
76758
- [placeholder]="field.placeholder ?? ''"\r
76759
- (change)="field.onChange && field.onChange(form)"\r
76760
- />\r
76761
- \r
76762
- @if (previousValue != null) {\r
76763
- <mat-hint\r
76764
- [class.warning]="true"\r
76765
- class="filling-form-fields-item-hint"\r
76766
- >Previously saved value: {{ previousValue }}</mat-hint\r
76767
- >\r
76768
- }\r
76769
- \r
76770
- @if (previousValue != null) {\r
76771
- <mat-icon\r
76772
- [class.warning]="true"\r
76773
- class="filling-form-fields-item-icon"\r
76774
- matSuffix\r
76775
- >warning_amber</mat-icon\r
76776
- >\r
76777
- }\r
76778
- \r
76779
- <mat-error>{{field.label}} is required</mat-error>\r
76780
- </mat-form-field>\r
76781
- }\r
76782
- </div>\r
76783
- }\r
76784
- @case (types.TextArea) {\r
76785
- <div class="filling-form-fields-item text-area {{field.class ?? 'span-6'}}">\r
76786
- @if (field.label) {\r
76787
- <span class="filling-form-fields-item-label body-1-regular">\r
76788
- {{ field.label + (field.required ? " *" : "") }}\r
76789
- </span>\r
76790
- \r
76791
- <mat-form-field appearance="outline">\r
76792
- <textarea\r
76793
- matInput\r
76794
- [readonly]="field.readonly"\r
76795
- [formControlName]="field.formControlName"\r
76796
- [placeholder]="field.placeholder ?? ''"\r
76797
- (change)="field.onChange && field.onChange(form)"\r
76798
- ></textarea>\r
76799
- </mat-form-field>\r
76800
- }\r
76801
- </div>\r
76802
- }\r
76803
- @case (types.CheckboxList) {\r
76804
- <checkbox-list class="{{field.class}}" [formControlName]="field.formControlName" [items]="field.options ?? []"/>\r
76805
- }\r
76806
- @case (types.Text) {\r
76807
- @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn, prevData()) : field.label;\r
76808
- @if (label) {\r
76809
- <p [class.last]="last" class="filling-form-fields-item-text body-1-regular grey" [class]="field.class" [innerHTML]="label" ></p>\r
76810
- }\r
76811
- }\r
76812
- }\r
76813
- }\r
76814
- }\r
76815
- </div>\r
76816
- </section>\r
76646
+ ], template: `@let fields = this.config();
76647
+ @let form = this.form();
76648
+
76649
+ <section>
76650
+ <div [class.submitted]="isSubmitted()" class="filling-form-fields" [formGroup]="form">
76651
+ @for (field of fields; track field.formControlName + $index; let last = $last) {
76652
+ @if (!field.isVisible || field.isVisible(form)) {
76653
+ @let previousValue = validationConfig()?.[field.formControlName];
76654
+
76655
+ @switch (field.type) {
76656
+ @case (types.Select) {
76657
+ <div class="filling-form-fields-item {{field.class ?? 'span-6'}}">
76658
+ @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;
76659
+ @if (label) {
76660
+ <span class="filling-form-fields-item-label body-1-regular">
76661
+ {{ (label | translate) + (field.required ? " *" : "") }}
76662
+ </span>
76663
+ }
76664
+ <mat-form-field appearance="outline">
76665
+ @let control = form.get(field.formControlName);
76666
+
76667
+ <input
76668
+ matInput
76669
+ [formControlName]="field.formControlName"
76670
+ [placeholder]="field.placeholder ?? ''"
76671
+ [matAutocomplete]="autocompleteRef"
76672
+ (change)="field.onChange && field.onChange(form)"
76673
+ />
76674
+
76675
+ <mat-autocomplete
76676
+ #autocompleteRef="matAutocomplete"
76677
+ [displayWith]="getDisplayFn(field)"
76678
+ (optionSelected)="field.onChange && field.onChange(form)"
76679
+ >
76680
+ @for (option of getFilteredOptions(field); track option.value) {
76681
+ <mat-option
76682
+ class="filing-form-group-select-option"
76683
+ [value]="option.value"
76684
+ >
76685
+ {{ option.label }}
76686
+ </mat-option>
76687
+ }
76688
+ @if (getFilteredOptions(field).length === 0) {
76689
+ <mat-option disabled>No options found</mat-option>
76690
+ }
76691
+ </mat-autocomplete>
76692
+
76693
+ @if (control?.value && !control?.disabled) {
76694
+ <div matSuffix class="suffix-container">
76695
+ <button mat-icon-button (click)="control?.reset()">
76696
+ <mat-icon>close</mat-icon>
76697
+ </button>
76698
+
76699
+ <mat-icon class="arrow-icon">arrow_drop_down</mat-icon>
76700
+ </div>
76701
+ } @else {
76702
+ <mat-icon matSuffix>arrow_drop_down</mat-icon>
76703
+ }
76704
+
76705
+ <mat-error>{{ field.label }} is required</mat-error>
76706
+ </mat-form-field>
76707
+ </div>
76708
+ }
76709
+
76710
+ @case (types.Checkbox) {
76711
+ <div [class.last]="last" class="filling-form-fields-checkbox {{field.class ?? 'span-6'}}">
76712
+ <mat-checkbox
76713
+ (change)="field.onChange && field.onChange(form)"
76714
+ [formControlName]="field.formControlName"
76715
+ >
76716
+ @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;
76717
+ <div>
76718
+ <span class="body-1-regular black" [class.warning]="!!previousValue">{{
76719
+ label
76720
+ }}</span>
76721
+ @if (previousValue != null) {
76722
+ <mat-icon
76723
+ [class.warning]="true"
76724
+ class="filling-form-fields-item-icon"
76725
+ matSuffix
76726
+ >warning_amber</mat-icon
76727
+ >
76728
+ }
76729
+ </div>
76730
+ </mat-checkbox>
76731
+
76732
+ @if (previousValue != null) {
76733
+ <mat-hint
76734
+ [class.warning]="true"
76735
+ class="filling-form-fields-item-hint"
76736
+ >Previously saved value: {{ previousValue ? 'checked' : 'unchecked' }}</mat-hint
76737
+ >
76738
+ }
76739
+ </div>
76740
+ }
76741
+
76742
+ @case (types.Empty) {
76743
+ <div class="filling-form-fields-empty {{field.class ?? 'span-6'}}"></div>
76744
+ }
76745
+ @case (types.Autocomplete) {
76746
+ <div class="filling-form-fields-item {{field.class ?? 'span-6'}}">
76747
+ @if (field.label) {
76748
+ <span class="filling-form-fields-item-label body-1-regular">
76749
+ {{ field.label + (field.required ? " *" : "") }}
76750
+ </span>
76751
+ }
76752
+ <autocomplete-field
76753
+ [options]="field.options ?? []"
76754
+ [control]="getFormControl(field.formControlName)"
76755
+ [placeholder]="field.placeholder ?? ''"
76756
+ [required]="field.required ?? false"
76757
+ />
76758
+ </div>
76759
+ }
76760
+
76761
+ @case (types.Date) {
76762
+ <div
76763
+ class="filling-form-fields-item {{field.class ?? 'span-6'}}"
76764
+ [class.warning]="!!previousValue"
76765
+ >
76766
+ @if (field.label) {
76767
+ <span
76768
+ class="filling-form-fields-item-label body-1-regular"
76769
+ [class.warning]="!!previousValue"
76770
+ >
76771
+ {{ field.label + (field.required ? " *" : "") }}
76772
+ </span>
76773
+ }
76774
+
76775
+ <mat-form-field appearance="outline">
76776
+ <input
76777
+ matInput
76778
+ [matDatepicker]="picker"
76779
+ [formControlName]="field.formControlName"
76780
+ [placeholder]="field.placeholder ?? ''"
76781
+ (dateChange)="field.onChange && field.onChange(form)"
76782
+ />
76783
+ <mat-datepicker-toggle matSuffix [for]="picker">
76784
+ <mat-icon matDatepickerToggleIcon>calendar_today</mat-icon>
76785
+ </mat-datepicker-toggle>
76786
+ <mat-datepicker #picker></mat-datepicker>
76787
+
76788
+ @if (previousValue != null) {
76789
+ <mat-hint
76790
+ [class.warning]="true"
76791
+ class="filling-form-fields-item-hint"
76792
+ >
76793
+ Previously saved value: {{ previousValue }}
76794
+ </mat-hint>
76795
+ }
76796
+
76797
+ <mat-error>{{field.label}} is required</mat-error>
76798
+ </mat-form-field>
76799
+ </div>
76800
+ }
76801
+
76802
+ @case (types.Input) {
76803
+ <div
76804
+ [class.warning]="!!previousValue"
76805
+ class="filling-form-fields-item {{field.class ?? 'span-6'}}"
76806
+ >
76807
+ @if (field.label) {
76808
+ <span
76809
+ [class.warning]="!!previousValue"
76810
+ class="filling-form-fields-item-label body-1-regular"
76811
+ >
76812
+ {{ field.label + (field.required ? " *" : "") }}
76813
+ </span>
76814
+
76815
+ <mat-form-field appearance="outline">
76816
+ <input
76817
+ matInput
76818
+ [readonly]="field.readonly"
76819
+ [formControlName]="field.formControlName"
76820
+ [placeholder]="field.placeholder ?? ''"
76821
+ (change)="field.onChange && field.onChange(form)"
76822
+ />
76823
+
76824
+ @if (previousValue != null) {
76825
+ <mat-hint
76826
+ [class.warning]="true"
76827
+ class="filling-form-fields-item-hint"
76828
+ >Previously saved value: {{ previousValue }}</mat-hint
76829
+ >
76830
+ }
76831
+
76832
+ @if (previousValue != null) {
76833
+ <mat-icon
76834
+ [class.warning]="true"
76835
+ class="filling-form-fields-item-icon"
76836
+ matSuffix
76837
+ >warning_amber</mat-icon
76838
+ >
76839
+ }
76840
+
76841
+ <mat-error>{{field.label}} is required</mat-error>
76842
+ </mat-form-field>
76843
+ }
76844
+ </div>
76845
+ }
76846
+ @case (types.TextArea) {
76847
+ <div class="filling-form-fields-item text-area {{field.class ?? 'span-6'}}">
76848
+ @if (field.label) {
76849
+ <span class="filling-form-fields-item-label body-1-regular">
76850
+ {{ field.label + (field.required ? " *" : "") }}
76851
+ </span>
76852
+
76853
+ <mat-form-field appearance="outline">
76854
+ <textarea
76855
+ matInput
76856
+ [readonly]="field.readonly"
76857
+ [formControlName]="field.formControlName"
76858
+ [placeholder]="field.placeholder ?? ''"
76859
+ (change)="field.onChange && field.onChange(form)"
76860
+ ></textarea>
76861
+ </mat-form-field>
76862
+ }
76863
+ </div>
76864
+ }
76865
+ @case (types.CheckboxList) {
76866
+ <checkbox-list class="{{field.class}}" [formControlName]="field.formControlName" [items]="field.options ?? []"/>
76867
+ }
76868
+ @case (types.Text) {
76869
+ @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn, prevData()) : field.label;
76870
+ @if (label) {
76871
+ <p [class.last]="last" class="filling-form-fields-item-text body-1-regular grey" [class]="field.class" [innerHTML]="label" ></p>
76872
+ }
76873
+ }
76874
+ }
76875
+ }
76876
+ }
76877
+ </div>
76878
+ </section>
76817
76879
  `, 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'] }]
76818
76880
  }], null, null);
76819
76881
  })();
@@ -77068,69 +77130,69 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77068
77130
  animate("100ms cubic-bezier(0.4, 0.0, 0.2, 1)")
77069
77131
  ])
77070
77132
  ])
77071
- ], template: `<div class="expandable-card">\r
77072
- <div [class.expanded]="isExpanded()" (click)="toggle()" class="expandable-card-header">\r
77073
- <h2 class="expandable-card-header-title">{{title()}}</h2>\r
77074
- \r
77075
- <div class="expandable-card-header-container">\r
77076
- @if (isStatusIcon()) {\r
77077
- @if (!isValid()) {\r
77078
- <mat-icon class="expandable-card-header-status-icon"> error_outline </mat-icon>\r
77079
- }\r
77080
- }\r
77081
- \r
77082
- <mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>\r
77083
- </div>\r
77084
- </div>\r
77085
- \r
77086
- <div class="expandable-card-content"\r
77087
- [@expandCollapse]="isExpanded()">\r
77088
- <ng-content select="[slot='header-content']"></ng-content>\r
77089
- <div class="expandable-card-actions">\r
77090
- <div>\r
77091
- <ng-content select="[slot='subtitle']"></ng-content>\r
77092
- </div>\r
77093
- \r
77094
- @if (controlsCount() !== 0) {\r
77095
- <div class="expandable-card-actions-items">\r
77096
- <h3 class="expandable-card-actions-item" (click)="expandAll()">\r
77097
- {{ 'Expand all' | translate }}\r
77098
- </h3>\r
77099
- <h3 class="expandable-card-actions-separator">|</h3>\r
77100
- <h3 class="expandable-card-actions-item" (click)="collapseAll()"\r
77101
- >{{ 'Collapse all' | translate }}\r
77102
- </h3>\r
77103
- </div>\r
77104
- }\r
77105
- \r
77106
- </div>\r
77107
- \r
77108
- @for (formGroup of formArray().controls; let i = $index; track formGroup) {\r
77109
- <div class="expandable-card-separator">\r
77110
- <div class="expandable-card-separator-line"></div>\r
77111
- </div>\r
77112
- \r
77113
- <expandable-card\r
77114
- [isListItem]="true"\r
77115
- [title]="getFormGroup(i).get(labelKey())?.value"\r
77116
- [isStatusIcon]="isStatusIcon()"\r
77117
- [isValid]="!formGroup.invalid"\r
77118
- [isOpen]="isItemExpanded(i)"\r
77119
- [border]="false"\r
77120
- [padded]="false"\r
77121
- [chipType]="affiliationTypeToChipType(formGroup.get(controls.AffiliationType)?.value)"\r
77122
- [removable]="removable()"\r
77123
- (toggled)="toggleItem(i)"\r
77124
- (remove)="remove.emit(i)"\r
77125
- >\r
77126
- @let form = getFormGroup(i);\r
77127
- @let configValue = fields() ?? config()?.[form.get(configKey())?.value] ?? [];\r
77128
- <filing-form-group [prevData]="prevData()" [isSubmitted]="isSubmitted()" [form]="form" [config]="configValue"/>\r
77129
- \r
77130
- </expandable-card>\r
77131
- }\r
77132
- </div>\r
77133
- </div>\r
77133
+ ], template: `<div class="expandable-card">
77134
+ <div [class.expanded]="isExpanded()" (click)="toggle()" class="expandable-card-header">
77135
+ <h2 class="expandable-card-header-title">{{title()}}</h2>
77136
+
77137
+ <div class="expandable-card-header-container">
77138
+ @if (isStatusIcon()) {
77139
+ @if (!isValid()) {
77140
+ <mat-icon class="expandable-card-header-status-icon"> error_outline </mat-icon>
77141
+ }
77142
+ }
77143
+
77144
+ <mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>
77145
+ </div>
77146
+ </div>
77147
+
77148
+ <div class="expandable-card-content"
77149
+ [@expandCollapse]="isExpanded()">
77150
+ <ng-content select="[slot='header-content']"></ng-content>
77151
+ <div class="expandable-card-actions">
77152
+ <div>
77153
+ <ng-content select="[slot='subtitle']"></ng-content>
77154
+ </div>
77155
+
77156
+ @if (controlsCount() !== 0) {
77157
+ <div class="expandable-card-actions-items">
77158
+ <h3 class="expandable-card-actions-item" (click)="expandAll()">
77159
+ {{ 'Expand all' | translate }}
77160
+ </h3>
77161
+ <h3 class="expandable-card-actions-separator">|</h3>
77162
+ <h3 class="expandable-card-actions-item" (click)="collapseAll()"
77163
+ >{{ 'Collapse all' | translate }}
77164
+ </h3>
77165
+ </div>
77166
+ }
77167
+
77168
+ </div>
77169
+
77170
+ @for (formGroup of formArray().controls; let i = $index; track formGroup) {
77171
+ <div class="expandable-card-separator">
77172
+ <div class="expandable-card-separator-line"></div>
77173
+ </div>
77174
+
77175
+ <expandable-card
77176
+ [isListItem]="true"
77177
+ [title]="getFormGroup(i).get(labelKey())?.value"
77178
+ [isStatusIcon]="isStatusIcon()"
77179
+ [isValid]="!formGroup.invalid"
77180
+ [isOpen]="isItemExpanded(i)"
77181
+ [border]="false"
77182
+ [padded]="false"
77183
+ [chipType]="affiliationTypeToChipType(formGroup.get(controls.AffiliationType)?.value)"
77184
+ [removable]="removable()"
77185
+ (toggled)="toggleItem(i)"
77186
+ (remove)="remove.emit(i)"
77187
+ >
77188
+ @let form = getFormGroup(i);
77189
+ @let configValue = fields() ?? config()?.[form.get(configKey())?.value] ?? [];
77190
+ <filing-form-group [prevData]="prevData()" [isSubmitted]="isSubmitted()" [form]="form" [config]="configValue"/>
77191
+
77192
+ </expandable-card>
77193
+ }
77194
+ </div>
77195
+ </div>
77134
77196
  `, 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"] }]
77135
77197
  }], () => [], null);
77136
77198
  })();
@@ -77246,7 +77308,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77246
77308
  (() => {
77247
77309
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(AlertComponent, [{
77248
77310
  type: Component,
77249
- 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"] }]
77311
+ 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"] }]
77250
77312
  }], null, null);
77251
77313
  })();
77252
77314
  (() => {
@@ -77314,7 +77376,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77314
77376
  const ctx_r0 = \u0275\u0275nextContext();
77315
77377
  \u0275\u0275property("isValid", !legalOpinion_r4.invalid)("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.LegalOpinion);
77316
77378
  \u0275\u0275advance();
77317
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", legalOpinion_r4)("config", ctx_r0.legalOpinionLawyerFields);
77379
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", legalOpinion_r4)("config", ctx_r0.legalOpinionLawyerFields());
77318
77380
  \u0275\u0275advance();
77319
77381
  \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", legalOpinion_r4)("config", ctx_r0.legalOpinionConfirmAddressFields);
77320
77382
  }
@@ -77423,7 +77485,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77423
77485
  groups = FormationFormGroups;
77424
77486
  controls = FormationFormControls;
77425
77487
  formationFormControls = FormationFormControls;
77426
- legalOpinionLawyerFields = FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER;
77427
77488
  legalOpinionConfirmAddressFields = FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_CONFIRM_ADDRESS;
77428
77489
  referenceNumbersFields = FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
77429
77490
  affiliationCardFieldsMap = FORMATION_DELTA_CARD_FORM_ADDRESS_FIELDS_MAP;
@@ -77433,6 +77494,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77433
77494
  contactsFields = [];
77434
77495
  corporationDetailsCardFields = [];
77435
77496
  initiallyOpenCardsCount = 3;
77497
+ laywers = computed(() => {
77498
+ const affiliations = this.task()?.entity.affiliations ?? [];
77499
+ return affiliations.filter((a) => a.role.role_name === "Responsible").map((a) => ({
77500
+ label: a.target._profile.name ?? "",
77501
+ value: a._id
77502
+ }));
77503
+ });
77504
+ legalOpinionLawyerFields = computed(() => FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER(this.laywers()));
77436
77505
  directorsSubtitle = computed(() => {
77437
77506
  const articles = this.task()?.entity._articles;
77438
77507
  if (!articles?.min_directors && !articles?.max_directors) {
@@ -77548,11 +77617,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77548
77617
  FilingFormGroupComponent,
77549
77618
  ExpandableListCardComponent,
77550
77619
  AlertComponent
77551
- ], 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"] }]
77620
+ ], 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 sharesAndRestrictions = getFormGroup(groups.SharesAndRestrictions);\n\n @if (sharesAndRestrictions) {\n <expandable-card [isStatusIcon]="false" [title]="groups.SharesAndRestrictions">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="sharesAndRestrictions" [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 @let contact = getFormGroup(groups.Contact);\n @if (contact) {\n <expandable-card [isStatusIcon]="true" [isValid]="!contact.invalid" [title]="groups.Contact">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="contact" [config]="contactsFields"/>\n </expandable-card>\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"] }]
77552
77621
  }], () => [], null);
77553
77622
  })();
77554
77623
  (() => {
77555
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(OntarioIncorporationFormComponent, { className: "OntarioIncorporationFormComponent", filePath: "src/app/components/ontario/incorporation/ontario-incorporation-form/ontario-incorporation-form.component.ts", lineNumber: 42 });
77624
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(OntarioIncorporationFormComponent, { className: "OntarioIncorporationFormComponent", filePath: "src/app/components/ontario/incorporation/ontario-incorporation-form/ontario-incorporation-form.component.ts", lineNumber: 46 });
77556
77625
  })();
77557
77626
  }
77558
77627
  });
@@ -77641,35 +77710,35 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77641
77710
  MatButton,
77642
77711
  TranslatePipe,
77643
77712
  OntarioIncorporationFormComponent
77644
- ], template: `<div class="incorporation-delta-form">\r
77645
- <ontario-incorporation-form\r
77646
- class="incorporation-delta-form-content"\r
77647
- [form]="form()"\r
77648
- [task]="task()"\r
77649
- [errors]="errors()"\r
77650
- [isNote]="isNote()"\r
77651
- [isSubmitted]="submitted()"\r
77652
- [statusIcon]="true"\r
77653
- />\r
77654
- \r
77655
- <div class="incorporation-delta-form-actions">\r
77656
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
77657
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
77658
- </button>\r
77659
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
77660
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
77661
- </button>\r
77662
- <button\r
77663
- class="submit"\r
77664
- color="primary"\r
77665
- mat-flat-button\r
77666
- [disabled]="actionsDisabled()"\r
77667
- (click)="onValidate()"\r
77668
- >\r
77669
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
77670
- </button>\r
77671
- </div>\r
77672
- </div>\r
77713
+ ], template: `<div class="incorporation-delta-form">
77714
+ <ontario-incorporation-form
77715
+ class="incorporation-delta-form-content"
77716
+ [form]="form()"
77717
+ [task]="task()"
77718
+ [errors]="errors()"
77719
+ [isNote]="isNote()"
77720
+ [isSubmitted]="submitted()"
77721
+ [statusIcon]="true"
77722
+ />
77723
+
77724
+ <div class="incorporation-delta-form-actions">
77725
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
77726
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
77727
+ </button>
77728
+ <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>
77729
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
77730
+ </button>
77731
+ <button
77732
+ class="submit"
77733
+ color="primary"
77734
+ mat-flat-button
77735
+ [disabled]="actionsDisabled()"
77736
+ (click)="onValidate()"
77737
+ >
77738
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
77739
+ </button>
77740
+ </div>
77741
+ </div>
77673
77742
  `, 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"] }]
77674
77743
  }], null, null);
77675
77744
  })();
@@ -77746,29 +77815,29 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77746
77815
  MatButton,
77747
77816
  TranslatePipe,
77748
77817
  OntarioIncorporationFormComponent
77749
- ], template: `<div class="incorporation-preview-form">\r
77750
- <ontario-incorporation-form\r
77751
- class="incorporation-preview-form-content"\r
77752
- [form]="form()"\r
77753
- [task]="task()"\r
77754
- [statusIcon]="false"\r
77755
- />\r
77756
- \r
77757
- <div class="incorporation-preview-form-actions">\r
77758
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
77759
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
77760
- </button>\r
77761
- <button\r
77762
- class="submit"\r
77763
- color="primary"\r
77764
- mat-flat-button\r
77765
- [disabled]="actionsDisabled()"\r
77766
- (click)="next.emit()"\r
77767
- >\r
77768
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
77769
- </button>\r
77770
- </div>\r
77771
- </div>\r
77818
+ ], template: `<div class="incorporation-preview-form">
77819
+ <ontario-incorporation-form
77820
+ class="incorporation-preview-form-content"
77821
+ [form]="form()"
77822
+ [task]="task()"
77823
+ [statusIcon]="false"
77824
+ />
77825
+
77826
+ <div class="incorporation-preview-form-actions">
77827
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
77828
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
77829
+ </button>
77830
+ <button
77831
+ class="submit"
77832
+ color="primary"
77833
+ mat-flat-button
77834
+ [disabled]="actionsDisabled()"
77835
+ (click)="next.emit()"
77836
+ >
77837
+ <span class="body-1-semibold">{{ 'File' | translate }}</span>
77838
+ </button>
77839
+ </div>
77840
+ </div>
77772
77841
  `, 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"] }]
77773
77842
  }], null, null);
77774
77843
  })();
@@ -78457,7 +78526,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78457
78526
  AlertComponent,
78458
78527
  ExpandableCardComponent,
78459
78528
  ExpandableListCardComponent
78460
- ], 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"] }]
78529
+ ], 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"] }]
78461
78530
  }], () => [], null);
78462
78531
  })();
78463
78532
  (() => {
@@ -78551,37 +78620,37 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78551
78620
  MatButton,
78552
78621
  TranslatePipe,
78553
78622
  OntarioUpdateMaintainFormComponent
78554
- ], template: `<div class="ontario-update-maintain-delta-form">\r
78555
- <ontario-update-maintain-form\r
78556
- class="ontario-update-maintain-delta-form-content"\r
78557
- [form]="form()"\r
78558
- [task]="task()"\r
78559
- [errors]="errors()"\r
78560
- [isNote]="isNote()"\r
78561
- [isSubmitted]="submitted()"\r
78562
- [readonly]="false"\r
78563
- [prevData]="prevData()"\r
78564
- />\r
78565
- \r
78566
- <div class="ontario-update-maintain-delta-form-actions">\r
78567
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
78568
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
78569
- </button>\r
78570
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
78571
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
78572
- </button>\r
78573
- <button\r
78574
- class="submit"\r
78575
- color="primary"\r
78576
- mat-flat-button\r
78577
- [disabled]="actionsDisabled()"\r
78578
- (click)="onValidate()"\r
78579
- >\r
78580
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
78581
- </button>\r
78582
- </div>\r
78583
- </div>\r
78584
- \r
78623
+ ], template: `<div class="ontario-update-maintain-delta-form">
78624
+ <ontario-update-maintain-form
78625
+ class="ontario-update-maintain-delta-form-content"
78626
+ [form]="form()"
78627
+ [task]="task()"
78628
+ [errors]="errors()"
78629
+ [isNote]="isNote()"
78630
+ [isSubmitted]="submitted()"
78631
+ [readonly]="false"
78632
+ [prevData]="prevData()"
78633
+ />
78634
+
78635
+ <div class="ontario-update-maintain-delta-form-actions">
78636
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
78637
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
78638
+ </button>
78639
+ <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>
78640
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
78641
+ </button>
78642
+ <button
78643
+ class="submit"
78644
+ color="primary"
78645
+ mat-flat-button
78646
+ [disabled]="actionsDisabled()"
78647
+ (click)="onValidate()"
78648
+ >
78649
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
78650
+ </button>
78651
+ </div>
78652
+ </div>
78653
+
78585
78654
  `, 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"] }]
78586
78655
  }], null, null);
78587
78656
  })();
@@ -78656,32 +78725,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78656
78725
  MatButton,
78657
78726
  OntarioUpdateMaintainFormComponent,
78658
78727
  TranslatePipe
78659
- ], template: `<div class="ontario-update-maintain-preview-form">\r
78660
- <ontario-update-maintain-form\r
78661
- class="ontario-update-maintain-preview-form-content"\r
78662
- [form]="form()"\r
78663
- [task]="task()"\r
78664
- [errors]="errors()"\r
78665
- [isSubmitted]="false"\r
78666
- [readonly]="false"\r
78667
- />\r
78668
- \r
78669
- <div class="ontario-update-maintain-preview-form-actions">\r
78670
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
78671
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
78672
- </button>\r
78673
- <button\r
78674
- class="submit"\r
78675
- color="primary"\r
78676
- mat-flat-button\r
78677
- [disabled]="actionsDisabled()"\r
78678
- (click)="file.emit()"\r
78679
- >\r
78680
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
78681
- </button>\r
78682
- </div>\r
78683
- </div>\r
78684
- \r
78728
+ ], template: `<div class="ontario-update-maintain-preview-form">
78729
+ <ontario-update-maintain-form
78730
+ class="ontario-update-maintain-preview-form-content"
78731
+ [form]="form()"
78732
+ [task]="task()"
78733
+ [errors]="errors()"
78734
+ [isSubmitted]="false"
78735
+ [readonly]="false"
78736
+ />
78737
+
78738
+ <div class="ontario-update-maintain-preview-form-actions">
78739
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
78740
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
78741
+ </button>
78742
+ <button
78743
+ class="submit"
78744
+ color="primary"
78745
+ mat-flat-button
78746
+ [disabled]="actionsDisabled()"
78747
+ (click)="file.emit()"
78748
+ >
78749
+ <span class="body-1-semibold">{{ 'File' | translate }}</span>
78750
+ </button>
78751
+ </div>
78752
+ </div>
78753
+
78685
78754
  `, 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"] }]
78686
78755
  }], null, null);
78687
78756
  })();
@@ -78786,7 +78855,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78786
78855
  static \u0275fac = function TermsAndConditionsComponent_Factory(__ngFactoryType__) {
78787
78856
  return new (__ngFactoryType__ || _TermsAndConditionsComponent)();
78788
78857
  };
78789
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _TermsAndConditionsComponent, selectors: [["terms-and-conditions"]], outputs: { confirm: "confirm", prev: "prev", close: "close" }, decls: 71, vars: 14, consts: [[1, "terms-and-conditions"], [1, "terms-and-conditions-content"], ["title", "Terms and Conditions", 1, "terms-and-conditions-card"], [1, "terms-and-conditions-card-content"], [1, "terms-and-conditions-text-wrapper"], [1, "terms-and-conditions-text"], [1, "body-1-regular"], [3, "formControl"], ["title", "Signatory"], [3, "isSubmitted", "form", "config"], [1, "terms-and-conditions-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click"], [1, "body-1-semibold"], ["mat-flat-button", "", "type", "submit", 3, "click", "disabled"]], template: function TermsAndConditionsComponent_Template(rf, ctx) {
78858
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _TermsAndConditionsComponent, selectors: [["terms-and-conditions"]], outputs: { confirm: "confirm", prev: "prev", close: "close" }, decls: 71, vars: 14, consts: [[1, "terms-and-conditions"], [1, "terms-and-conditions-content"], ["title", "Terms and Conditions", 1, "terms-and-conditions-card"], [1, "terms-and-conditions-card-content"], [1, "terms-and-conditions-text-wrapper"], [1, "terms-and-conditions-text"], [1, "body-1-regular"], [3, "formControl"], [1, "body-1-regular", "black"], ["title", "Signatory"], [3, "isSubmitted", "form", "config"], [1, "terms-and-conditions-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click"], [1, "body-1-semibold"], ["mat-flat-button", "", "type", "submit", 3, "click", "disabled"]], template: function TermsAndConditionsComponent_Template(rf, ctx) {
78790
78859
  if (rf & 1) {
78791
78860
  \u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "expandable-card", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5)(6, "span", 6);
78792
78861
  \u0275\u0275text(7, ' The following are the Terms and Conditions for filing with the Ministry of Public and Business Service Delivery ("Ministry") under the Business Corporations Act, Business Names Act, Corporations Act, Corporations Information Act, Extra-Provincial Corporations Act, Limited Partnerships Act and Not-for-Profit Corporations Act, 2010. ');
@@ -78857,33 +78926,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78857
78926
  \u0275\u0275elementStart(50, "span", 6);
78858
78927
  \u0275\u0275text(51, " 17. If this is a filing made in respect of an arrangement under the Business Corporations Act or Not-for-Profit Corporations Act, 2010, the corporation acknowledges that it must give the Director notice of the application to the court and that the Director is entitled to appear in court and be heard in person or by counsel. The corporation agrees to submit the required notice and a draft copy of the Plan of Arrangement under the applicable Act for review through the electronic system maintained by the Ministry at least seven business days before seeking an interim and/or final order with the court. The corporation agrees to make changes required by the Director to ensure that the Plan complies with the applicable Act and Ministry requirements, and is capable of being implemented in the electronic system maintained by the Ministry under the applicable Act. The corporation agrees that if the Ministry does not receive a draft of the application or sufficient notice of the application, additional time may be required for review. The corporation acknowledges that the Ministry may seek an adjournment if the corporation fails to provide a draft of the application or sufficient notice of the application. The corporation agrees that if it obtains a court order without providing the required notice of the application to the Ministry, revisions may be required to any Plan of Arrangement attached to a court order and a further court order may be required before the articles of arrangement are endorsed. ");
78859
78928
  \u0275\u0275elementEnd()()();
78860
- \u0275\u0275elementStart(52, "mat-checkbox", 7)(53, "div", 6)(54, "span");
78929
+ \u0275\u0275elementStart(52, "mat-checkbox", 7)(53, "div", 8)(54, "span");
78861
78930
  \u0275\u0275text(55, "I agree to the Terms and Conditions and confirm that all required person(s) and/or entities agree to them");
78862
78931
  \u0275\u0275elementEnd()()()()();
78863
- \u0275\u0275elementStart(56, "expandable-card", 8);
78864
- \u0275\u0275element(57, "filing-form-group", 9);
78932
+ \u0275\u0275elementStart(56, "expandable-card", 9);
78933
+ \u0275\u0275element(57, "filing-form-group", 10);
78865
78934
  \u0275\u0275elementEnd()();
78866
- \u0275\u0275elementStart(58, "div", 10)(59, "button", 11);
78935
+ \u0275\u0275elementStart(58, "div", 11)(59, "button", 12);
78867
78936
  \u0275\u0275listener("click", function TermsAndConditionsComponent_Template_button_click_59_listener() {
78868
78937
  return ctx.close.emit();
78869
78938
  });
78870
- \u0275\u0275elementStart(60, "span", 12);
78939
+ \u0275\u0275elementStart(60, "span", 13);
78871
78940
  \u0275\u0275text(61);
78872
78941
  \u0275\u0275pipe(62, "translate");
78873
78942
  \u0275\u0275elementEnd()();
78874
- \u0275\u0275elementStart(63, "button", 11);
78943
+ \u0275\u0275elementStart(63, "button", 12);
78875
78944
  \u0275\u0275listener("click", function TermsAndConditionsComponent_Template_button_click_63_listener() {
78876
78945
  return ctx.prev.emit();
78877
78946
  });
78878
- \u0275\u0275elementStart(64, "span", 12);
78947
+ \u0275\u0275elementStart(64, "span", 13);
78879
78948
  \u0275\u0275text(65);
78880
78949
  \u0275\u0275pipe(66, "translate");
78881
78950
  \u0275\u0275elementEnd()();
78882
- \u0275\u0275elementStart(67, "button", 13);
78951
+ \u0275\u0275elementStart(67, "button", 14);
78883
78952
  \u0275\u0275listener("click", function TermsAndConditionsComponent_Template_button_click_67_listener() {
78884
78953
  return ctx.onConfirm();
78885
78954
  });
78886
- \u0275\u0275elementStart(68, "span", 12);
78955
+ \u0275\u0275elementStart(68, "span", 13);
78887
78956
  \u0275\u0275text(69);
78888
78957
  \u0275\u0275pipe(70, "translate");
78889
78958
  \u0275\u0275elementEnd()()()();
@@ -78923,271 +78992,271 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78923
78992
  FilingFormGroupComponent,
78924
78993
  TranslatePipe,
78925
78994
  MatButton
78926
- ], template: `<div class="terms-and-conditions">\r
78927
- <div class="terms-and-conditions-content">\r
78928
- <expandable-card class="terms-and-conditions-card" title="Terms and Conditions">\r
78929
- \r
78930
- <div class="terms-and-conditions-card-content">\r
78931
- <div class="terms-and-conditions-text-wrapper">\r
78932
- <div class="terms-and-conditions-text">\r
78933
- <span class="body-1-regular">\r
78934
- The following are the Terms and Conditions for filing with the Ministry of\r
78935
- Public and Business Service Delivery ("Ministry") under the Business\r
78936
- Corporations Act, Business Names Act, Corporations Act, Corporations\r
78937
- Information Act, Extra-Provincial Corporations Act, Limited Partnerships\r
78938
- Act and Not-for-Profit Corporations Act, 2010.\r
78939
- </span>\r
78940
- \r
78941
- <span class="body-1-regular">\r
78942
- Agreement to these Terms and Conditions by the following persons and\r
78943
- entities is a mandatory condition of filing:\r
78944
- </span>\r
78945
- \r
78946
- <span class="body-1-regular">\r
78947
- (i) the person(s) signing or otherwise authorizing the filing and any\r
78948
- person(s) acting on their behalf (collectively, the "authorizers"); and\r
78949
- </span>\r
78950
- \r
78951
- <span class="body-1-regular">\r
78952
- (ii) the corporation or other entity that is the subject of the filing\r
78953
- (the "entity") and any person(s) acting on behalf of the entity\r
78954
- </span>\r
78955
- \r
78956
- <span class="body-1-regular">\r
78957
- These Terms and Conditions are made under the authority of the\r
78958
- requirements established by the Director or Registrar appointed under the\r
78959
- applicable Act. These Terms and Conditions are in addition to and subject\r
78960
- to the applicable Acts, regulations and requirements of the Director or\r
78961
- Registrar.\r
78962
- </span>\r
78963
- \r
78964
- <span class="body-1-regular">\r
78965
- By proceeding with this filing under any of the above-named Acts, the\r
78966
- authorizer(s), the entity and any person(s) acting on behalf of the entity\r
78967
- accept and agree to be bound by these Terms and Conditions.\r
78968
- </span>\r
78969
- \r
78970
- <span class="body-1-regular">\r
78971
- 1. The sole responsibility for correctness and completeness of the filing,\r
78972
- and for compliance with the applicable Act and all regulations and\r
78973
- Director's or Registrar's requirements made under it, lies with the\r
78974
- authorizer(s) and the entity. The authorizer(s), the entity and any\r
78975
- person(s) acting on behalf of the entity agree that any information\r
78976
- provided by the Ministry in or related to the making of a filing is not\r
78977
- legal advice, and that they have obtained their own legal or other advice\r
78978
- as appropriate.\r
78979
- </span>\r
78980
- \r
78981
- <span class="body-1-regular">\r
78982
- 2. All filings must meet any signature or authorization requirements\r
78983
- established by the Director or Registrar under the applicable Act. Where\r
78984
- signatures are required for electronic filing, the applicable articles,\r
78985
- application, declaration, other approved form or other document must be\r
78986
- saved or printed and signed in accordance with the instructions provided.\r
78987
- The entity must keep a properly executed version of the applicable\r
78988
- document in paper or electronic format, together with any records that may\r
78989
- exist related to an electronic signature, if signed by electronic\r
78990
- signature, as follows: If the subject of a filing is a corporation, the\r
78991
- corporation must keep these documents and records at its registered\r
78992
- office. If the subject of the filing is an Ontario limited partnership,\r
78993
- the limited partnership must keep these documents and records at the\r
78994
- limited partnership's principal place of business in Ontario. If the\r
78995
- subject of the filing is an extraprovincial limited partnership that does\r
78996
- not have a principal place of business in Ontario, the extraprovincial\r
78997
- limited partnership must keep these documents and records at the address\r
78998
- of the limited partnership's attorney and representative in Ontario set\r
78999
- out in the declaration filed under the Limited Partnerships Act and stated\r
79000
- in the power of attorney executed under the Act. If required by notice\r
79001
- from the Director or Registrar, the corporation, limited partnership, the\r
79002
- attorney and representative in Ontario or other person as applicable must\r
79003
- provide a copy of the properly executed version of the applicable document\r
79004
- to the Director or Registrar within the time period set out in the notice,\r
79005
- together with any records that may exist related to an electronic\r
79006
- signature, if signed by electronic signature.\r
79007
- </span>\r
79008
- \r
79009
- <span class="body-1-regular">\r
79010
- 3. In addition to retaining and filing supporting documents in accordance\r
79011
- with the applicable Act and regulations, the entity must keep a copy of\r
79012
- all filed supporting documents and provide a copy in accordance with any\r
79013
- written notice from the Director or Registrar. In the case of a consent\r
79014
- from a Minister or the Public Guardian and Trustee (PGT) that is required\r
79015
- to support a filing made by a corporation, the corporation agrees that the\r
79016
- Ministry may contact that Minister or the PGT, as applicable, to confirm\r
79017
- that the necessary consent has been obtained and to record this in the\r
79018
- electronic business registration system maintained by the Ministry.\r
79019
- </span>\r
79020
- \r
79021
- <span class="body-1-regular">\r
79022
- 4. The entity assumes full responsibility for any risk of confusion or\r
79023
- legal action, including the risk of a lawsuit or name hearing under the\r
79024
- applicable Act, resulting from a filing that sets out a name that is the\r
79025
- same or similar to that of an existing corporation, business name or\r
79026
- trademark, or that is otherwise contrary to the applicable Act or\r
79027
- regulations.\r
79028
- </span>\r
79029
- \r
79030
- <span class="body-1-regular">\r
79031
- 5. Filings must be made in the required form and format, and must meet the\r
79032
- technical requirements or other specifications and requirements\r
79033
- established by the Director or Registrar.\r
79034
- </span>\r
79035
- \r
79036
- <span class="body-1-regular">\r
79037
- 6. Valid email address(es) must be provided as specified in the\r
79038
- transaction for administrative purposes, and all mandatory fields must be\r
79039
- completed.\r
79040
- </span>\r
79041
- \r
79042
- <span class="body-1-regular">\r
79043
- 7. The business information provided in this filing may be shared with\r
79044
- other government bodies. The business information that is collected may be\r
79045
- used and disclosed for the purpose of administering their programs.\r
79046
- </span>\r
79047
- \r
79048
- <span class="body-1-regular">\r
79049
- 8. Payment of the required fee must be made at the time of submission, and\r
79050
- any certificate or other documentation issued by the Ministry is subject\r
79051
- to compliance action and cancellation if payment is disputed or\r
79052
- fraudulent. Payment of fees for electronic filings must be made\r
79053
- electronically using the payment options provided.\r
79054
- </span>\r
79055
- \r
79056
- <span class="body-1-regular">\r
79057
- 9. If an application is for a corrected certificate, and the application\r
79058
- is approved under the applicable Act, the corporation or limited\r
79059
- partnership as applicable will be notified when the certificate has been\r
79060
- issued. The corporation or limited partnership, as applicable, agrees to\r
79061
- review the issued corrected certificate in the records maintained by the\r
79062
- Ministry forthwith and to confirm that the issued certificate corresponds\r
79063
- with the final approved application for correction. The corporation or\r
79064
- limited partnership, as applicable, agrees to be responsible and assume\r
79065
- all liability for any discrepancies between the issued corrected\r
79066
- certificate and the final approved application if these are not\r
79067
- immediately brought to the attention of the Ministry.\r
79068
- </span>\r
79069
- \r
79070
- <span class="body-1-regular">\r
79071
- 10. If this is a new filing, a company key consisting of a unique series\r
79072
- of digits will be provided electronically by the Ministry to the entity at\r
79073
- the time of completion of the transaction, together with the final\r
79074
- documentation for the transaction. If this is not a new filing, the entity\r
79075
- will have received a company key. The company key provides authority over\r
79076
- the entity; by proceeding with this transaction, any person(s) acting on\r
79077
- behalf of the entity is confirming that they are duly authorized by the\r
79078
- entity.\r
79079
- </span>\r
79080
- \r
79081
- <span class="body-1-regular">\r
79082
- 11. The company key will be required for any subsequent paper or online\r
79083
- filings regarding the entity. The entity is responsible for the care and\r
79084
- control of the company key. The entity is responsible for treating this\r
79085
- key as confidential information and not sharing it unless it is in the\r
79086
- course of providing delegated authority to a trusted service provider or\r
79087
- trusted intermediary to make filings on their behalf. The recipient of the\r
79088
- company key agrees to notify the Ministry as soon as they become aware\r
79089
- that the key has been lost, stolen or misused to request a replacement\r
79090
- key. The entity agrees to be responsible and assume all liability for all\r
79091
- filings authorized by the key in respect of the entity. Unauthorized use\r
79092
- of the company key or delegated authority may result in suspension of\r
79093
- access to the electronic business registration system.\r
79094
- </span>\r
79095
- \r
79096
- <span class="body-1-regular">\r
79097
- 12. The Ministry may take appropriate compliance action at any time if it\r
79098
- comes to the attention of the Ministry that a filing does not comply with\r
79099
- the applicable Act, regulations or the requirements of the Director or\r
79100
- Registrar.\r
79101
- </span>\r
79102
- \r
79103
- <span class="body-1-regular">\r
79104
- 13. The Acts set out penalties, including fines, for submitting false or\r
79105
- misleading information.\r
79106
- </span>\r
79107
- \r
79108
- <span class="body-1-regular">\r
79109
- 14. The corporation agrees to file restated articles at any time required\r
79110
- by the Director under the Business Corporations Act or Not-for-Profit\r
79111
- Corporations Act, 2010.\r
79112
- </span>\r
79113
- \r
79114
- <span class="body-1-regular">\r
79115
- 15. Where a filing under the Business Corporations Act, Extra-Provincial\r
79116
- Corporations Act or Not-for-Profit Corporations Act, 2010 must be\r
79117
- supported by an Ontario biased or weighted Nuans search report, and the\r
79118
- identifying information is provided, the authorizer(s) consents for the\r
79119
- Director appointed under the Act or other person delegated by the Director\r
79120
- to retrieve the Nuans report directly from the appropriate department of\r
79121
- the Government of Canada. The corporation agrees to keep a copy of the\r
79122
- Nuans report in electronic or paper format at the corporation's registered\r
79123
- office.\r
79124
- </span>\r
79125
- \r
79126
- <span class="body-1-regular">\r
79127
- 16. A corporation under the Business Corporations Act or Not-for-Profit\r
79128
- Corporations Act, 2010 that continues out of Ontario agrees to file with\r
79129
- the Ministry a copy of the instrument of continuance issued to it by the\r
79130
- other jurisdiction within 60 days after the date of issuance.\r
79131
- </span>\r
79132
- \r
79133
- <span class="body-1-regular">\r
79134
- 17. If this is a filing made in respect of an arrangement under the\r
79135
- Business Corporations Act or Not-for-Profit Corporations Act, 2010, the\r
79136
- corporation acknowledges that it must give the Director notice of the\r
79137
- application to the court and that the Director is entitled to appear in\r
79138
- court and be heard in person or by counsel. The corporation agrees to\r
79139
- submit the required notice and a draft copy of the Plan of Arrangement\r
79140
- under the applicable Act for review through the electronic system\r
79141
- maintained by the Ministry at least seven business days before seeking an\r
79142
- interim and/or final order with the court. The corporation agrees to make\r
79143
- changes required by the Director to ensure that the Plan complies with the\r
79144
- applicable Act and Ministry requirements, and is capable of being\r
79145
- implemented in the electronic system maintained by the Ministry under the\r
79146
- applicable Act. The corporation agrees that if the Ministry does not\r
79147
- receive a draft of the application or sufficient notice of the\r
79148
- application, additional time may be required for review. The corporation\r
79149
- acknowledges that the Ministry may seek an adjournment if the corporation\r
79150
- fails to provide a draft of the application or sufficient notice of the\r
79151
- application. The corporation agrees that if it obtains a court order\r
79152
- without providing the required notice of the application to the Ministry,\r
79153
- revisions may be required to any Plan of Arrangement attached to a court\r
79154
- order and a further court order may be required before the articles of\r
79155
- arrangement are endorsed.\r
79156
- </span>\r
79157
- </div>\r
79158
- </div>\r
79159
- \r
79160
- <mat-checkbox [formControl]="getFormControl(termsAndConditionsControls.AcceptTerms)">\r
79161
- <div class="body-1-regular">\r
79162
- <span>I agree to the Terms and Conditions and confirm that all required person(s) and/or entities agree to them</span>\r
79163
- </div>\r
79164
- </mat-checkbox>\r
79165
- </div>\r
79166
- \r
79167
- </expandable-card>\r
79168
- \r
79169
- <expandable-card title="Signatory">\r
79170
- <filing-form-group [isSubmitted]="true" [form]="form" [config]="termsAndConditionsFields"/>\r
79171
- </expandable-card>\r
79172
- </div>\r
79173
- \r
79174
- <div class="terms-and-conditions-form-actions">\r
79175
- <button mat-stroked-button mat-button (click)="close.emit()">\r
79176
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
79177
- </button>\r
79178
- \r
79179
- <button mat-stroked-button mat-button (click)="prev.emit()"><span class="body-1-semibold">{{ 'Back' | translate }}</span></button>\r
79180
- \r
79181
- <button\r
79182
- mat-flat-button\r
79183
- type="submit"\r
79184
- (click)="onConfirm()"\r
79185
- [disabled]="form.invalid"\r
79186
- >\r
79187
- <span class="body-1-semibold">{{ 'Proceed' | translate }}</span>\r
79188
- </button>\r
79189
- </div>\r
79190
- </div>\r
78995
+ ], template: `<div class="terms-and-conditions">
78996
+ <div class="terms-and-conditions-content">
78997
+ <expandable-card class="terms-and-conditions-card" title="Terms and Conditions">
78998
+
78999
+ <div class="terms-and-conditions-card-content">
79000
+ <div class="terms-and-conditions-text-wrapper">
79001
+ <div class="terms-and-conditions-text">
79002
+ <span class="body-1-regular">
79003
+ The following are the Terms and Conditions for filing with the Ministry of
79004
+ Public and Business Service Delivery ("Ministry") under the Business
79005
+ Corporations Act, Business Names Act, Corporations Act, Corporations
79006
+ Information Act, Extra-Provincial Corporations Act, Limited Partnerships
79007
+ Act and Not-for-Profit Corporations Act, 2010.
79008
+ </span>
79009
+
79010
+ <span class="body-1-regular">
79011
+ Agreement to these Terms and Conditions by the following persons and
79012
+ entities is a mandatory condition of filing:
79013
+ </span>
79014
+
79015
+ <span class="body-1-regular">
79016
+ (i) the person(s) signing or otherwise authorizing the filing and any
79017
+ person(s) acting on their behalf (collectively, the "authorizers"); and
79018
+ </span>
79019
+
79020
+ <span class="body-1-regular">
79021
+ (ii) the corporation or other entity that is the subject of the filing
79022
+ (the "entity") and any person(s) acting on behalf of the entity
79023
+ </span>
79024
+
79025
+ <span class="body-1-regular">
79026
+ These Terms and Conditions are made under the authority of the
79027
+ requirements established by the Director or Registrar appointed under the
79028
+ applicable Act. These Terms and Conditions are in addition to and subject
79029
+ to the applicable Acts, regulations and requirements of the Director or
79030
+ Registrar.
79031
+ </span>
79032
+
79033
+ <span class="body-1-regular">
79034
+ By proceeding with this filing under any of the above-named Acts, the
79035
+ authorizer(s), the entity and any person(s) acting on behalf of the entity
79036
+ accept and agree to be bound by these Terms and Conditions.
79037
+ </span>
79038
+
79039
+ <span class="body-1-regular">
79040
+ 1. The sole responsibility for correctness and completeness of the filing,
79041
+ and for compliance with the applicable Act and all regulations and
79042
+ Director's or Registrar's requirements made under it, lies with the
79043
+ authorizer(s) and the entity. The authorizer(s), the entity and any
79044
+ person(s) acting on behalf of the entity agree that any information
79045
+ provided by the Ministry in or related to the making of a filing is not
79046
+ legal advice, and that they have obtained their own legal or other advice
79047
+ as appropriate.
79048
+ </span>
79049
+
79050
+ <span class="body-1-regular">
79051
+ 2. All filings must meet any signature or authorization requirements
79052
+ established by the Director or Registrar under the applicable Act. Where
79053
+ signatures are required for electronic filing, the applicable articles,
79054
+ application, declaration, other approved form or other document must be
79055
+ saved or printed and signed in accordance with the instructions provided.
79056
+ The entity must keep a properly executed version of the applicable
79057
+ document in paper or electronic format, together with any records that may
79058
+ exist related to an electronic signature, if signed by electronic
79059
+ signature, as follows: If the subject of a filing is a corporation, the
79060
+ corporation must keep these documents and records at its registered
79061
+ office. If the subject of the filing is an Ontario limited partnership,
79062
+ the limited partnership must keep these documents and records at the
79063
+ limited partnership's principal place of business in Ontario. If the
79064
+ subject of the filing is an extraprovincial limited partnership that does
79065
+ not have a principal place of business in Ontario, the extraprovincial
79066
+ limited partnership must keep these documents and records at the address
79067
+ of the limited partnership's attorney and representative in Ontario set
79068
+ out in the declaration filed under the Limited Partnerships Act and stated
79069
+ in the power of attorney executed under the Act. If required by notice
79070
+ from the Director or Registrar, the corporation, limited partnership, the
79071
+ attorney and representative in Ontario or other person as applicable must
79072
+ provide a copy of the properly executed version of the applicable document
79073
+ to the Director or Registrar within the time period set out in the notice,
79074
+ together with any records that may exist related to an electronic
79075
+ signature, if signed by electronic signature.
79076
+ </span>
79077
+
79078
+ <span class="body-1-regular">
79079
+ 3. In addition to retaining and filing supporting documents in accordance
79080
+ with the applicable Act and regulations, the entity must keep a copy of
79081
+ all filed supporting documents and provide a copy in accordance with any
79082
+ written notice from the Director or Registrar. In the case of a consent
79083
+ from a Minister or the Public Guardian and Trustee (PGT) that is required
79084
+ to support a filing made by a corporation, the corporation agrees that the
79085
+ Ministry may contact that Minister or the PGT, as applicable, to confirm
79086
+ that the necessary consent has been obtained and to record this in the
79087
+ electronic business registration system maintained by the Ministry.
79088
+ </span>
79089
+
79090
+ <span class="body-1-regular">
79091
+ 4. The entity assumes full responsibility for any risk of confusion or
79092
+ legal action, including the risk of a lawsuit or name hearing under the
79093
+ applicable Act, resulting from a filing that sets out a name that is the
79094
+ same or similar to that of an existing corporation, business name or
79095
+ trademark, or that is otherwise contrary to the applicable Act or
79096
+ regulations.
79097
+ </span>
79098
+
79099
+ <span class="body-1-regular">
79100
+ 5. Filings must be made in the required form and format, and must meet the
79101
+ technical requirements or other specifications and requirements
79102
+ established by the Director or Registrar.
79103
+ </span>
79104
+
79105
+ <span class="body-1-regular">
79106
+ 6. Valid email address(es) must be provided as specified in the
79107
+ transaction for administrative purposes, and all mandatory fields must be
79108
+ completed.
79109
+ </span>
79110
+
79111
+ <span class="body-1-regular">
79112
+ 7. The business information provided in this filing may be shared with
79113
+ other government bodies. The business information that is collected may be
79114
+ used and disclosed for the purpose of administering their programs.
79115
+ </span>
79116
+
79117
+ <span class="body-1-regular">
79118
+ 8. Payment of the required fee must be made at the time of submission, and
79119
+ any certificate or other documentation issued by the Ministry is subject
79120
+ to compliance action and cancellation if payment is disputed or
79121
+ fraudulent. Payment of fees for electronic filings must be made
79122
+ electronically using the payment options provided.
79123
+ </span>
79124
+
79125
+ <span class="body-1-regular">
79126
+ 9. If an application is for a corrected certificate, and the application
79127
+ is approved under the applicable Act, the corporation or limited
79128
+ partnership as applicable will be notified when the certificate has been
79129
+ issued. The corporation or limited partnership, as applicable, agrees to
79130
+ review the issued corrected certificate in the records maintained by the
79131
+ Ministry forthwith and to confirm that the issued certificate corresponds
79132
+ with the final approved application for correction. The corporation or
79133
+ limited partnership, as applicable, agrees to be responsible and assume
79134
+ all liability for any discrepancies between the issued corrected
79135
+ certificate and the final approved application if these are not
79136
+ immediately brought to the attention of the Ministry.
79137
+ </span>
79138
+
79139
+ <span class="body-1-regular">
79140
+ 10. If this is a new filing, a company key consisting of a unique series
79141
+ of digits will be provided electronically by the Ministry to the entity at
79142
+ the time of completion of the transaction, together with the final
79143
+ documentation for the transaction. If this is not a new filing, the entity
79144
+ will have received a company key. The company key provides authority over
79145
+ the entity; by proceeding with this transaction, any person(s) acting on
79146
+ behalf of the entity is confirming that they are duly authorized by the
79147
+ entity.
79148
+ </span>
79149
+
79150
+ <span class="body-1-regular">
79151
+ 11. The company key will be required for any subsequent paper or online
79152
+ filings regarding the entity. The entity is responsible for the care and
79153
+ control of the company key. The entity is responsible for treating this
79154
+ key as confidential information and not sharing it unless it is in the
79155
+ course of providing delegated authority to a trusted service provider or
79156
+ trusted intermediary to make filings on their behalf. The recipient of the
79157
+ company key agrees to notify the Ministry as soon as they become aware
79158
+ that the key has been lost, stolen or misused to request a replacement
79159
+ key. The entity agrees to be responsible and assume all liability for all
79160
+ filings authorized by the key in respect of the entity. Unauthorized use
79161
+ of the company key or delegated authority may result in suspension of
79162
+ access to the electronic business registration system.
79163
+ </span>
79164
+
79165
+ <span class="body-1-regular">
79166
+ 12. The Ministry may take appropriate compliance action at any time if it
79167
+ comes to the attention of the Ministry that a filing does not comply with
79168
+ the applicable Act, regulations or the requirements of the Director or
79169
+ Registrar.
79170
+ </span>
79171
+
79172
+ <span class="body-1-regular">
79173
+ 13. The Acts set out penalties, including fines, for submitting false or
79174
+ misleading information.
79175
+ </span>
79176
+
79177
+ <span class="body-1-regular">
79178
+ 14. The corporation agrees to file restated articles at any time required
79179
+ by the Director under the Business Corporations Act or Not-for-Profit
79180
+ Corporations Act, 2010.
79181
+ </span>
79182
+
79183
+ <span class="body-1-regular">
79184
+ 15. Where a filing under the Business Corporations Act, Extra-Provincial
79185
+ Corporations Act or Not-for-Profit Corporations Act, 2010 must be
79186
+ supported by an Ontario biased or weighted Nuans search report, and the
79187
+ identifying information is provided, the authorizer(s) consents for the
79188
+ Director appointed under the Act or other person delegated by the Director
79189
+ to retrieve the Nuans report directly from the appropriate department of
79190
+ the Government of Canada. The corporation agrees to keep a copy of the
79191
+ Nuans report in electronic or paper format at the corporation's registered
79192
+ office.
79193
+ </span>
79194
+
79195
+ <span class="body-1-regular">
79196
+ 16. A corporation under the Business Corporations Act or Not-for-Profit
79197
+ Corporations Act, 2010 that continues out of Ontario agrees to file with
79198
+ the Ministry a copy of the instrument of continuance issued to it by the
79199
+ other jurisdiction within 60 days after the date of issuance.
79200
+ </span>
79201
+
79202
+ <span class="body-1-regular">
79203
+ 17. If this is a filing made in respect of an arrangement under the
79204
+ Business Corporations Act or Not-for-Profit Corporations Act, 2010, the
79205
+ corporation acknowledges that it must give the Director notice of the
79206
+ application to the court and that the Director is entitled to appear in
79207
+ court and be heard in person or by counsel. The corporation agrees to
79208
+ submit the required notice and a draft copy of the Plan of Arrangement
79209
+ under the applicable Act for review through the electronic system
79210
+ maintained by the Ministry at least seven business days before seeking an
79211
+ interim and/or final order with the court. The corporation agrees to make
79212
+ changes required by the Director to ensure that the Plan complies with the
79213
+ applicable Act and Ministry requirements, and is capable of being
79214
+ implemented in the electronic system maintained by the Ministry under the
79215
+ applicable Act. The corporation agrees that if the Ministry does not
79216
+ receive a draft of the application or sufficient notice of the
79217
+ application, additional time may be required for review. The corporation
79218
+ acknowledges that the Ministry may seek an adjournment if the corporation
79219
+ fails to provide a draft of the application or sufficient notice of the
79220
+ application. The corporation agrees that if it obtains a court order
79221
+ without providing the required notice of the application to the Ministry,
79222
+ revisions may be required to any Plan of Arrangement attached to a court
79223
+ order and a further court order may be required before the articles of
79224
+ arrangement are endorsed.
79225
+ </span>
79226
+ </div>
79227
+ </div>
79228
+
79229
+ <mat-checkbox [formControl]="getFormControl(termsAndConditionsControls.AcceptTerms)">
79230
+ <div class="body-1-regular black">
79231
+ <span>I agree to the Terms and Conditions and confirm that all required person(s) and/or entities agree to them</span>
79232
+ </div>
79233
+ </mat-checkbox>
79234
+ </div>
79235
+
79236
+ </expandable-card>
79237
+
79238
+ <expandable-card title="Signatory">
79239
+ <filing-form-group [isSubmitted]="true" [form]="form" [config]="termsAndConditionsFields"/>
79240
+ </expandable-card>
79241
+ </div>
79242
+
79243
+ <div class="terms-and-conditions-form-actions">
79244
+ <button mat-stroked-button mat-button (click)="close.emit()">
79245
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
79246
+ </button>
79247
+
79248
+ <button mat-stroked-button mat-button (click)="prev.emit()"><span class="body-1-semibold">{{ 'Back' | translate }}</span></button>
79249
+
79250
+ <button
79251
+ mat-flat-button
79252
+ type="submit"
79253
+ (click)="onConfirm()"
79254
+ [disabled]="form.invalid"
79255
+ >
79256
+ <span class="body-1-semibold">{{ 'Proceed' | translate }}</span>
79257
+ </button>
79258
+ </div>
79259
+ </div>
79191
79260
  `, 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"] }]
79192
79261
  }], null, null);
79193
79262
  })();
@@ -81110,7 +81179,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81110
81179
  (() => {
81111
81180
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ConfirmModalComponent, [{
81112
81181
  type: Component,
81113
- 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'] }]
81182
+ 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'] }]
81114
81183
  }], null, null);
81115
81184
  })();
81116
81185
  (() => {
@@ -81582,7 +81651,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81582
81651
  const registeredOffice = formData[InitialReturnFillingFormGroups.RegisteredOfficeAddress];
81583
81652
  const certifiedBy = formData[InitialReturnFillingFormGroups.CertifiedBy];
81584
81653
  const contact = formData[InitialReturnFillingFormGroups.Contact];
81585
- const mapAddress2 = (src) => ({
81654
+ const mapAddress3 = (src) => ({
81586
81655
  unitType: src?.[IRFormControls.UnitType] ?? null,
81587
81656
  unitNumber: src?.[IRFormControls.UnitNumber] ?? null,
81588
81657
  streetNumber: src?.[IRFormControls.StreetNumber] ?? null,
@@ -81594,7 +81663,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81594
81663
  const id = item[IRFormControls.ID];
81595
81664
  if (id) {
81596
81665
  acc[id] = {
81597
- address: mapAddress2(item),
81666
+ address: mapAddress3(item),
81598
81667
  residentCanadian: item[IRFormControls.IsCanadianResident] ?? false
81599
81668
  };
81600
81669
  }
@@ -81603,11 +81672,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81603
81672
  return {
81604
81673
  referenceNumber: generalInfo?.[IRFormControls.ClientMatterNumber] ?? null,
81605
81674
  docketNumber: generalInfo?.[IRFormControls.Docket] ?? null,
81606
- registeredOfficeAddress: mapAddress2(registeredOffice),
81675
+ registeredOfficeAddress: mapAddress3(registeredOffice),
81607
81676
  directors: mapPersons(formData[InitialReturnFillingFormGroups.Directors]),
81608
81677
  officers: mapPersons(formData[InitialReturnFillingFormGroups.Officers]),
81609
81678
  certifiedBy: {
81610
- address: mapAddress2(certifiedBy)
81679
+ address: mapAddress3(certifiedBy)
81611
81680
  },
81612
81681
  contactUid: contact?.[IRFormControls.Contact] ?? null
81613
81682
  };
@@ -81756,7 +81825,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81756
81825
  OntarioIncorporationDeltaFormComponent,
81757
81826
  OntarioIncorporationPreviewFormComponent,
81758
81827
  TermsAndConditionsComponent
81759
- ], 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"] }]
81828
+ ], 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"] }]
81760
81829
  }], () => [], null);
81761
81830
  })();
81762
81831
  (() => {
@@ -81912,7 +81981,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81912
81981
  "--mdc-text-button-label-text-size": "14px",
81913
81982
  "--mdc-outlined-button-label-text-color": "#444444",
81914
81983
  "--mdc-outlined-button-label-text-weight": "600",
81915
- "--mdc-outlined-button-container-shape": "6px"
81984
+ "--mdc-outlined-button-container-shape": "6px",
81985
+ // AUTOCOMPLETE
81986
+ "--mat-autocomplete-background-color": "#FFFFFF"
81916
81987
  };
81917
81988
  }
81918
81989
  });
@@ -81992,7 +82063,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81992
82063
  });
81993
82064
 
81994
82065
  // src/app/constants/FederalConstants.ts
81995
- var NameType2, NameTypeLabel2, LegalElement, LegalElementLabel, ISCOptions, ISCOptionsLabel, ISCExclusionReason, ISCExclusionReasonLabel, ISCTypeOfInterest, ISCTypeOfInterestLabel, ISCShareHoldingMethod, ISCShareHoldingMethodLabel, ISCJointHoldingType, ISCJointHoldingTypeLabel, ISCPercentageInterest, ISCPercentageInterestLabel, EPLLangage, SignatoryRole3, SignatoryRoleLabel;
82066
+ var NameType2, NameTypeLabel2, LegalElement, LegalElementLabel, ISCOptions, ISCOptionsLabel, ISCExclusionReason, ISCExclusionReasonLabel, ISCTypeOfInterest, ISCTypeOfInterestLabel, ISCShareHoldingMethod, ISCShareHoldingMethodLabel, ISCJointHoldingType, ISCJointHoldingTypeLabel, ISCPercentageInterest, ISCPercentageInterestLabel, EPLLangage, CorporationType, CorporationTypeLabel, NumberOfShareholders, NumberOfShareholdersLabel, SignatoryRole3, SignatoryRoleLabel;
81996
82067
  var init_FederalConstants = __esm({
81997
82068
  "src/app/constants/FederalConstants.ts"() {
81998
82069
  (function(NameType3) {
@@ -82105,6 +82176,42 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
82105
82176
  EPLLangage2["English"] = "English";
82106
82177
  EPLLangage2["French"] = "French";
82107
82178
  })(EPLLangage || (EPLLangage = {}));
82179
+ (function(CorporationType2) {
82180
+ CorporationType2[CorporationType2["ShareCapital"] = 1] = "ShareCapital";
82181
+ CorporationType2[CorporationType2["NonShareCapital"] = 2] = "NonShareCapital";
82182
+ CorporationType2[CorporationType2["Cooperative"] = 3] = "Cooperative";
82183
+ CorporationType2[CorporationType2["Other"] = 4] = "Other";
82184
+ })(CorporationType || (CorporationType = {}));
82185
+ CorporationTypeLabel = {
82186
+ [CorporationType.ShareCapital]: "Share capital corporation",
82187
+ [CorporationType.NonShareCapital]: "Non-share capital corporation",
82188
+ [CorporationType.Cooperative]: "Co-operative",
82189
+ [CorporationType.Other]: "Other"
82190
+ };
82191
+ (function(NumberOfShareholders2) {
82192
+ NumberOfShareholders2[NumberOfShareholders2["One"] = 1] = "One";
82193
+ NumberOfShareholders2[NumberOfShareholders2["Two"] = 2] = "Two";
82194
+ NumberOfShareholders2[NumberOfShareholders2["Three"] = 3] = "Three";
82195
+ NumberOfShareholders2[NumberOfShareholders2["Four"] = 4] = "Four";
82196
+ NumberOfShareholders2[NumberOfShareholders2["Five"] = 5] = "Five";
82197
+ NumberOfShareholders2[NumberOfShareholders2["Six"] = 6] = "Six";
82198
+ NumberOfShareholders2[NumberOfShareholders2["Seven"] = 7] = "Seven";
82199
+ NumberOfShareholders2[NumberOfShareholders2["Eight"] = 8] = "Eight";
82200
+ NumberOfShareholders2[NumberOfShareholders2["Nine"] = 9] = "Nine";
82201
+ NumberOfShareholders2[NumberOfShareholders2["TenOrMore"] = 10] = "TenOrMore";
82202
+ })(NumberOfShareholders || (NumberOfShareholders = {}));
82203
+ NumberOfShareholdersLabel = {
82204
+ [NumberOfShareholders.One]: "1",
82205
+ [NumberOfShareholders.Two]: "2",
82206
+ [NumberOfShareholders.Three]: "3",
82207
+ [NumberOfShareholders.Four]: "4",
82208
+ [NumberOfShareholders.Five]: "5",
82209
+ [NumberOfShareholders.Six]: "6",
82210
+ [NumberOfShareholders.Seven]: "7",
82211
+ [NumberOfShareholders.Eight]: "8",
82212
+ [NumberOfShareholders.Nine]: "9",
82213
+ [NumberOfShareholders.TenOrMore]: "10+"
82214
+ };
82108
82215
  (function(SignatoryRole4) {
82109
82216
  SignatoryRole4[SignatoryRole4["Director"] = 1] = "Director";
82110
82217
  SignatoryRole4[SignatoryRole4["AuthorizedOfficer"] = 2] = "AuthorizedOfficer";
@@ -82478,9 +82585,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
82478
82585
  dynamicLabel: (form, t) => {
82479
82586
  const id = form.get(FederalFormationFormControl.Contact)?.value;
82480
82587
  const contact = contacts.find((contact2) => contact2._id === id);
82481
- const email = contact?.participant?.communicationEmail ?? contact?.addresses?.[0]?.emails?.primary ?? "";
82482
- const phone = contact?.participant?.communicationPhone ?? contact?.addresses?.[0]?.contact_numbers?.primary ?? "";
82483
- return `Contact Details: ${getContactDetailsPreview(email, phone, t)}`;
82588
+ const email = contact?.addresses[0]?.emails?.primary;
82589
+ const phone = contact?.addresses[0]?.contact_numbers?.primary;
82590
+ return `<span class="body-1-semibold">${t("Contact Details")}:</span> ${getContactDetailsPreview(email, phone, t)}`;
82484
82591
  },
82485
82592
  formControlName: "",
82486
82593
  required: false,
@@ -82846,39 +82953,39 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
82846
82953
  (() => {
82847
82954
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(SelectModalComponent, [{
82848
82955
  type: Component,
82849
- args: [{ standalone: true, selector: "add-documents-modal", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButtonModule, MatDialogModule, MatIconModule, TranslatePipe, MatCheckbox], template: `<div class="add-documents-modal">\r
82850
- <div class="add-documents-modal-header">\r
82851
- <h2 class="grey">{{ dialogData.title | translate }}</h2>\r
82852
- </div>\r
82853
- \r
82854
- <div class="add-documents-modal-list">\r
82855
- @for (doc of dialogData.items; track doc) {\r
82856
- <div (click)="toggleDocument(doc)" class="add-documents-modal-list-item">\r
82857
- <mat-checkbox [checked]="isSelected(doc)"/>\r
82858
- <span class="body-1-regular">{{ doc }}</span>\r
82859
- </div>\r
82860
- }\r
82861
- </div>\r
82862
- \r
82863
- <div class="add-documents-modal-actions">\r
82864
- <button\r
82865
- mat-stroked-button mat-button\r
82866
- (click)="closeModal()"\r
82867
- >\r
82868
- <span class="body-1-semibold">{{ 'Cancel' | translate }}</span>\r
82869
- </button>\r
82870
- \r
82871
- <button\r
82872
- class="submit"\r
82873
- mat-flat-button\r
82874
- [disabled]="!hasSelection()"\r
82875
- (click)="addSelectedDocuments()"\r
82876
- >\r
82877
- <span class="body-1-semibold">{{ dialogData.submitButton | translate }}</span>\r
82878
- </button>\r
82879
- </div>\r
82880
- \r
82881
- </div>\r
82956
+ args: [{ standalone: true, selector: "add-documents-modal", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButtonModule, MatDialogModule, MatIconModule, TranslatePipe, MatCheckbox], template: `<div class="add-documents-modal">
82957
+ <div class="add-documents-modal-header">
82958
+ <h2 class="grey">{{ dialogData.title | translate }}</h2>
82959
+ </div>
82960
+
82961
+ <div class="add-documents-modal-list">
82962
+ @for (doc of dialogData.items; track doc) {
82963
+ <div (click)="toggleDocument(doc)" class="add-documents-modal-list-item">
82964
+ <mat-checkbox [checked]="isSelected(doc)"/>
82965
+ <span class="body-1-regular">{{ doc }}</span>
82966
+ </div>
82967
+ }
82968
+ </div>
82969
+
82970
+ <div class="add-documents-modal-actions">
82971
+ <button
82972
+ mat-stroked-button mat-button
82973
+ (click)="closeModal()"
82974
+ >
82975
+ <span class="body-1-semibold">{{ 'Cancel' | translate }}</span>
82976
+ </button>
82977
+
82978
+ <button
82979
+ class="submit"
82980
+ mat-flat-button
82981
+ [disabled]="!hasSelection()"
82982
+ (click)="addSelectedDocuments()"
82983
+ >
82984
+ <span class="body-1-semibold">{{ dialogData.submitButton | translate }}</span>
82985
+ </button>
82986
+ </div>
82987
+
82988
+ </div>
82882
82989
  `, 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'] }]
82883
82990
  }], null, null);
82884
82991
  })();
@@ -83023,34 +83130,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83023
83130
  MatButton,
83024
83131
  TranslatePipe,
83025
83132
  MatIcon
83026
- ], template: `<div class="documents">\r
83027
- <span class="body-1-regular">{{ 'Supporting documents relevant to the proposed name, including consent letters' | translate }}</span>\r
83028
- \r
83029
- @let selectedDocuments = this.selectedDocuments();\r
83030
- @if (selectedDocuments.length) {\r
83031
- <div class="documents-list">\r
83032
- @for(document of selectedDocuments; track document) {\r
83033
- <div class="documents-list-item body-1-regular">\r
83034
- <mat-icon class="documents-list-item-document">description_outline</mat-icon>\r
83035
- <span class="body-1-regular">{{document}}</span>\r
83036
- \r
83037
- @if (!readonly()) {\r
83038
- <div class="documents-list-icon-wrapper" (click)="removeDocument.emit(document)">\r
83039
- <mat-icon class="documents-list-item-close">close</mat-icon>\r
83040
- </div>\r
83041
- }\r
83042
- \r
83043
- </div>\r
83044
- }\r
83045
- </div>\r
83046
- }\r
83047
- \r
83048
- @if (!readonly()) {\r
83049
- <button mat-stroked-button class="outlined" (click)="onAddDocuments()">\r
83050
- <span class="body-1-semibold">{{ 'Add Supporting Documents' | translate }}</span>\r
83051
- </button>\r
83052
- }\r
83053
- </div>\r
83133
+ ], template: `<div class="documents">
83134
+ <span class="body-1-regular">{{ 'Supporting documents relevant to the proposed name, including consent letters' | translate }}</span>
83135
+
83136
+ @let selectedDocuments = this.selectedDocuments();
83137
+ @if (selectedDocuments.length) {
83138
+ <div class="documents-list">
83139
+ @for(document of selectedDocuments; track document) {
83140
+ <div class="documents-list-item body-1-regular">
83141
+ <mat-icon class="documents-list-item-document">description_outline</mat-icon>
83142
+ <span class="body-1-regular">{{document}}</span>
83143
+
83144
+ @if (!readonly()) {
83145
+ <div class="documents-list-icon-wrapper" (click)="removeDocument.emit(document)">
83146
+ <mat-icon class="documents-list-item-close">close</mat-icon>
83147
+ </div>
83148
+ }
83149
+
83150
+ </div>
83151
+ }
83152
+ </div>
83153
+ }
83154
+
83155
+ @if (!readonly()) {
83156
+ <button mat-stroked-button class="outlined" (click)="onAddDocuments()">
83157
+ <span class="body-1-semibold">{{ 'Add Supporting Documents' | translate }}</span>
83158
+ </button>
83159
+ }
83160
+ </div>
83054
83161
  `, 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"] }]
83055
83162
  }], null, null);
83056
83163
  })();
@@ -83073,6 +83180,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83073
83180
  init_address_utils();
83074
83181
  init_transform_utils();
83075
83182
  init_app_enums();
83183
+ init_ontario_formation_form_constants();
83076
83184
  FederalFormHelper = class _FederalFormHelper {
83077
83185
  static generateConfig(task) {
83078
83186
  const delta = task.deltaData;
@@ -83171,10 +83279,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83171
83279
  [FederalFormationFormControl.RestrictionsOnBusiness]: new FormControl({ value: task.entity._articles?.restrictions ?? "", disabled: true }),
83172
83280
  [FederalFormationFormControl.OtherProvisions]: new FormControl({ value: task.entity._articles?.other_provisions ?? "", disabled: true })
83173
83281
  });
83174
- config2[FederalFormationFormGroups.RegisteredOfficeAddress] = new FormGroup(__spreadValues({
83175
- [FederalFormationFormControl.UseDifferentMailingAddress]: new FormControl(delta?.registeredOfficeAddress?.useDifferentAddressForCorrespondence ?? false),
83176
- [FederalFormationFormControl.MailingAddress]: new FormControl(delta?.registeredOfficeAddress?.mailingAddressForCorrespondenceUid ?? null, requiredIfValue(FederalFormationFormControl.UseDifferentMailingAddress, true))
83177
- }, this.generateAddressFormGroup(findRegisteredOfficeAddress(task))));
83282
+ const registeredOfficeAddressConfig = this.generateAddressFormGroup(findRegisteredOfficeAddress(task));
83283
+ const registeredOfficeAddressForm = new FormGroup(__spreadValues({}, registeredOfficeAddressConfig));
83284
+ const affiliationType = registeredOfficeAddressConfig[FormationFormControls.AffiliationAddressType].value;
83285
+ updateFormControlsEnableState(registeredOfficeAddressForm, addressEnabledFieldsMap[affiliationType]);
83286
+ config2[FederalFormationFormGroups.RegisteredOfficeAddress] = registeredOfficeAddressForm;
83287
+ registeredOfficeAddressForm.addControl(FederalFormationFormControl.UseDifferentMailingAddress, new FormControl(delta?.registeredOfficeAddress?.useDifferentAddressForCorrespondence ?? false));
83288
+ registeredOfficeAddressForm.addControl(FederalFormationFormControl.MailingAddress, new FormControl(delta?.registeredOfficeAddress?.mailingAddressForCorrespondenceUid ?? null, requiredIfValue(FederalFormationFormControl.UseDifferentMailingAddress, true)));
83178
83289
  const invitedDirectorIds = Object.entries(delta?.directors ?? {}).filter(([, d]) => d.inviteForFullAccessManager).map(([id]) => id);
83179
83290
  config2[FederalFormationFormGroups.InviteDirectorToBeFullAccessManager] = new FormGroup({
83180
83291
  [FederalFormationFormControl.InvitedDirectors]: new FormControl(invitedDirectorIds),
@@ -83195,7 +83306,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83195
83306
  return new FormGroup(__spreadValues({
83196
83307
  [FormationFormControls.AffiliationName]: new FormControl({ value: name, disabled: true }),
83197
83308
  [FormationFormControls.Id]: new FormControl({ value: id, disabled: true }),
83198
- [FederalFormationFormControl.AddressForService]: new FormControl("", Validators.required),
83309
+ [FederalFormationFormControl.AddressForService]: new FormControl(deltaData?.addressForService ?? "", Validators.required),
83199
83310
  [FederalFormationFormControl.DateOfBirth]: new FormControl(isc.participant._profile.date_of_birth, Validators.required),
83200
83311
  [FederalFormationFormControl.CountriesOfCitizenship]: new FormControl(countriesOfCitizenship),
83201
83312
  [FederalFormationFormControl.CountriesOfResidence]: new FormControl(countriesOfResidence),
@@ -83792,124 +83903,124 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83792
83903
  TranslatePipe,
83793
83904
  ReactiveFormsModule,
83794
83905
  DatePipe
83795
- ], template: `<div class="incorporation-form">\r
83796
- \r
83797
- @if (isNote()) {\r
83798
- <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
83799
- }\r
83800
- \r
83801
- @if (errors().length) {\r
83802
- <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>\r
83803
- }\r
83804
- \r
83805
- <div class="incorporation-form-content">\r
83806
- @let corporateName = getFormGroup(groups.CorporateName);\r
83807
- \r
83808
- @if (corporateName) {\r
83809
- <expandable-card [isValid]="!corporateName.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.CorporateName">\r
83810
- <div class="incorporation-form-item">\r
83811
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="corporateName" [config]="incorporationFields"/>\r
83812
- \r
83813
- @if (isNonPreapprovedNameType() || selectedDocuments().length) {\r
83814
- <documents\r
83815
- [documents]="documents()"\r
83816
- [readonly]="isReadonly()"\r
83817
- [selectedDocuments]="selectedDocuments()"\r
83818
- (addDocuments)="addDocuments.emit($event)"\r
83819
- (removeDocument)="removeDocument.emit($event)"\r
83820
- />\r
83821
- }\r
83822
- </div>\r
83823
- </expandable-card>\r
83824
- }\r
83825
- \r
83826
- @let articlesOfIncorporation = getFormGroup(groups.ArticlesOfIncorporation);\r
83827
- \r
83828
- @if (articlesOfIncorporation) {\r
83829
- <expandable-card [isValid]="!articlesOfIncorporation.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.ArticlesOfIncorporation">\r
83830
- <div class="incorporation-form-item">\r
83831
- <span class="body-1-regular black" [innerHTML]="directorsSubtitle()"></span>\r
83832
- \r
83833
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="articlesOfIncorporation" [config]="articlesOfIncorporationFields"/>\r
83834
- <div>\r
83835
- <span class="body-1-semibold dark-blue">Incorporators</span>\r
83836
- \r
83837
- <ul class="incorporators-list">\r
83838
- @for (incorporator of task()?._ext?._incorporators; track incorporator.affiliationID) {\r
83839
- <li class="body-1-regular grey">{{getIncorporatorName(incorporator)}}</li>\r
83840
- }\r
83841
- \r
83842
- </ul>\r
83843
- </div>\r
83844
- \r
83845
- <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
83846
- \r
83847
- </div>\r
83848
- \r
83849
- </expandable-card>\r
83850
- }\r
83851
- \r
83852
- @let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress);\r
83853
- \r
83854
- @if (registeredOfficeAddress) {\r
83855
- <expandable-card [isValid]="!registeredOfficeAddress.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.RegisteredOfficeAddress">\r
83856
- <div class="incorporation-form-item">\r
83857
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="registeredOfficeAddress" [config]="registeredOfficeAddressFields"/>\r
83858
- </div>\r
83859
- \r
83860
- </expandable-card>\r
83861
- }\r
83862
- \r
83863
- @let directorsArray = getFormArray(groups.Directors);\r
83864
- \r
83865
- @if (directorsArray) {\r
83866
- @let directorsFormArray = getFormArray(groups.Directors);\r
83867
- <expandable-list-card [isValid]="directorsFormArray.valid" [isSubmitted]="isSubmitted()" [isOpen]="directorsArray.length <= initiallyOpenCardsCount" [fields]="directorsFields" [formArray]="directorsFormArray" [title]="groups.Directors"/>\r
83868
- }\r
83869
- \r
83870
- @let significantControl = getFormGroup(groups.SignificantControl);\r
83871
- @if (significantControl) {\r
83872
- @let individualsWithSignificantControlArray = getFormArray(groups.IndividualsWithSignificantControl);\r
83873
- \r
83874
- @if (individualsWithSignificantControlArray) {\r
83875
- <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
83876
- @if (!isReadonly() && isAddIndividualWithSignificantControlAvailable()) {\r
83877
- <button [disabled]="isAddIndividualWithSignificantControlDisabled()" slot="subtitle" mat-stroked-button mat-button (click)="addIndividualWithSignificantControl()">\r
83878
- <span class="body-1-semibold">{{ 'Add Individuals With Significant Control' | translate }}</span>\r
83879
- </button>\r
83880
- }\r
83881
- \r
83882
- <div class="significant-control" slot="header-content">\r
83883
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="significantControl" [config]="significantControlFields"/>\r
83884
- </div>\r
83885
- </expandable-list-card>\r
83886
- }\r
83887
- }\r
83888
- \r
83889
- @let inviteDirectorToBeFullAccessManager = getFormGroup(groups.InviteDirectorToBeFullAccessManager);\r
83890
- @if (inviteDirectorToBeFullAccessManager) {\r
83891
- <expandable-card [isValid]="!inviteDirectorToBeFullAccessManager.invalid" [title]="groups.InviteDirectorToBeFullAccessManager">\r
83892
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="inviteDirectorToBeFullAccessManager" [config]="federalFormationFormInviteDirectorsToBeManagersControl"/>\r
83893
- </expandable-card>\r
83894
- }\r
83895
- \r
83896
- @let extraProvincialLicensesArray = getFormArray(groups.ExtraProvincialRegistrations);\r
83897
- @let extraProvincialLicensesControlsLength = extraProvincialLicensesArray?.length;\r
83898
- \r
83899
- @if (extraProvincialLicensesControlsLength) {\r
83900
- <expandable-list-card [isOpen]="extraProvincialLicensesControlsLength === 1" [isValid]="extraProvincialLicensesArray.valid" [isSubmitted]="isSubmitted()" [isStatusIcon]="isStatusIcon()" [fields]="extraProvincialLicensesFields" [formArray]="extraProvincialLicensesArray" [title]="groups.ExtraProvincialRegistrations"/>\r
83901
- }\r
83902
- \r
83903
- @let contactForm = getFormGroup(groups.Contact);\r
83904
- @if (contactForm) {\r
83905
- <expandable-card [isStatusIcon]="isStatusIcon()" [isValid]="!contactForm.invalid" [title]="groups.Contact">\r
83906
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="contactForm" [config]="contactControl"/>\r
83907
- </expandable-card>\r
83908
- }\r
83909
- \r
83910
- <ng-content></ng-content>\r
83911
- </div>\r
83912
- </div>\r
83906
+ ], template: `<div class="incorporation-form">
83907
+
83908
+ @if (isNote()) {
83909
+ <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."/>
83910
+ }
83911
+
83912
+ @if (errors().length) {
83913
+ <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>
83914
+ }
83915
+
83916
+ <div class="incorporation-form-content">
83917
+ @let corporateName = getFormGroup(groups.CorporateName);
83918
+
83919
+ @if (corporateName) {
83920
+ <expandable-card [isValid]="!corporateName.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.CorporateName">
83921
+ <div class="incorporation-form-item">
83922
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="corporateName" [config]="incorporationFields"/>
83923
+
83924
+ @if (isNonPreapprovedNameType() || selectedDocuments().length) {
83925
+ <documents
83926
+ [documents]="documents()"
83927
+ [readonly]="isReadonly()"
83928
+ [selectedDocuments]="selectedDocuments()"
83929
+ (addDocuments)="addDocuments.emit($event)"
83930
+ (removeDocument)="removeDocument.emit($event)"
83931
+ />
83932
+ }
83933
+ </div>
83934
+ </expandable-card>
83935
+ }
83936
+
83937
+ @let articlesOfIncorporation = getFormGroup(groups.ArticlesOfIncorporation);
83938
+
83939
+ @if (articlesOfIncorporation) {
83940
+ <expandable-card [isValid]="!articlesOfIncorporation.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.ArticlesOfIncorporation">
83941
+ <div class="incorporation-form-item">
83942
+ <span class="body-1-regular black" [innerHTML]="directorsSubtitle()"></span>
83943
+
83944
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="articlesOfIncorporation" [config]="articlesOfIncorporationFields"/>
83945
+ <div>
83946
+ <span class="body-1-semibold dark-blue">Incorporators</span>
83947
+
83948
+ <ul class="incorporators-list">
83949
+ @for (incorporator of task()?._ext?._incorporators; track incorporator.affiliationID) {
83950
+ <li class="body-1-regular grey">{{getIncorporatorName(incorporator)}}</li>
83951
+ }
83952
+
83953
+ </ul>
83954
+ </div>
83955
+
83956
+ <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>
83957
+
83958
+ </div>
83959
+
83960
+ </expandable-card>
83961
+ }
83962
+
83963
+ @let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress);
83964
+
83965
+ @if (registeredOfficeAddress) {
83966
+ <expandable-card [isValid]="!registeredOfficeAddress.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.RegisteredOfficeAddress">
83967
+ <div class="incorporation-form-item">
83968
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="registeredOfficeAddress" [config]="registeredOfficeAddressFields"/>
83969
+ </div>
83970
+
83971
+ </expandable-card>
83972
+ }
83973
+
83974
+ @let directorsArray = getFormArray(groups.Directors);
83975
+
83976
+ @if (directorsArray) {
83977
+ @let directorsFormArray = getFormArray(groups.Directors);
83978
+ <expandable-list-card [isValid]="directorsFormArray.valid" [isSubmitted]="isSubmitted()" [isOpen]="directorsArray.length <= initiallyOpenCardsCount" [fields]="directorsFields" [formArray]="directorsFormArray" [title]="groups.Directors"/>
83979
+ }
83980
+
83981
+ @let significantControl = getFormGroup(groups.SignificantControl);
83982
+ @if (significantControl) {
83983
+ @let individualsWithSignificantControlArray = getFormArray(groups.IndividualsWithSignificantControl);
83984
+
83985
+ @if (individualsWithSignificantControlArray) {
83986
+ <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">
83987
+ @if (!isReadonly() && isAddIndividualWithSignificantControlAvailable()) {
83988
+ <button [disabled]="isAddIndividualWithSignificantControlDisabled()" slot="subtitle" mat-stroked-button mat-button (click)="addIndividualWithSignificantControl()">
83989
+ <span class="body-1-semibold">{{ 'Add Individuals With Significant Control' | translate }}</span>
83990
+ </button>
83991
+ }
83992
+
83993
+ <div class="significant-control" slot="header-content">
83994
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="significantControl" [config]="significantControlFields"/>
83995
+ </div>
83996
+ </expandable-list-card>
83997
+ }
83998
+ }
83999
+
84000
+ @let inviteDirectorToBeFullAccessManager = getFormGroup(groups.InviteDirectorToBeFullAccessManager);
84001
+ @if (inviteDirectorToBeFullAccessManager) {
84002
+ <expandable-card [isValid]="!inviteDirectorToBeFullAccessManager.invalid" [title]="groups.InviteDirectorToBeFullAccessManager">
84003
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="inviteDirectorToBeFullAccessManager" [config]="federalFormationFormInviteDirectorsToBeManagersControl"/>
84004
+ </expandable-card>
84005
+ }
84006
+
84007
+ @let extraProvincialLicensesArray = getFormArray(groups.ExtraProvincialRegistrations);
84008
+ @let extraProvincialLicensesControlsLength = extraProvincialLicensesArray?.length;
84009
+
84010
+ @if (extraProvincialLicensesControlsLength) {
84011
+ <expandable-list-card [isOpen]="extraProvincialLicensesControlsLength === 1" [isValid]="extraProvincialLicensesArray.valid" [isSubmitted]="isSubmitted()" [isStatusIcon]="isStatusIcon()" [fields]="extraProvincialLicensesFields" [formArray]="extraProvincialLicensesArray" [title]="groups.ExtraProvincialRegistrations"/>
84012
+ }
84013
+
84014
+ @let contactForm = getFormGroup(groups.Contact);
84015
+ @if (contactForm) {
84016
+ <expandable-card [isStatusIcon]="isStatusIcon()" [isValid]="!contactForm.invalid" [title]="groups.Contact">
84017
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="contactForm" [config]="contactControl"/>
84018
+ </expandable-card>
84019
+ }
84020
+
84021
+ <ng-content></ng-content>
84022
+ </div>
84023
+ </div>
83913
84024
  `, 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"] }]
83914
84025
  }], () => [], null);
83915
84026
  })();
@@ -84012,38 +84123,38 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84012
84123
  MatButton,
84013
84124
  TranslatePipe,
84014
84125
  FederalIncorporationFormComponent
84015
- ], template: `<div class="incorporation-delta-form">\r
84016
- <federal-incorporation-form\r
84017
- class="incorporation-delta-form-content"\r
84018
- [form]="form()"\r
84019
- [task]="task()"\r
84020
- [errors]="errors()"\r
84021
- [isNote]="isNote()"\r
84022
- [isSubmitted]="submitted()"\r
84023
- [documents]="documents()"\r
84024
- [selectedDocuments]="selectedDocuments()"\r
84025
- (addDocuments)="addDocuments.emit($event)"\r
84026
- (removeDocument)="removeDocument.emit($event)"\r
84027
- />\r
84028
- \r
84029
- <div class="incorporation-delta-form-actions">\r
84030
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
84031
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
84032
- </button>\r
84033
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
84034
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
84035
- </button>\r
84036
- <button\r
84037
- class="submit"\r
84038
- color="primary"\r
84039
- mat-flat-button\r
84040
- [disabled]="actionsDisabled()"\r
84041
- (click)="onValidate()"\r
84042
- >\r
84043
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
84044
- </button>\r
84045
- </div>\r
84046
- </div>\r
84126
+ ], template: `<div class="incorporation-delta-form">
84127
+ <federal-incorporation-form
84128
+ class="incorporation-delta-form-content"
84129
+ [form]="form()"
84130
+ [task]="task()"
84131
+ [errors]="errors()"
84132
+ [isNote]="isNote()"
84133
+ [isSubmitted]="submitted()"
84134
+ [documents]="documents()"
84135
+ [selectedDocuments]="selectedDocuments()"
84136
+ (addDocuments)="addDocuments.emit($event)"
84137
+ (removeDocument)="removeDocument.emit($event)"
84138
+ />
84139
+
84140
+ <div class="incorporation-delta-form-actions">
84141
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
84142
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
84143
+ </button>
84144
+ <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>
84145
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
84146
+ </button>
84147
+ <button
84148
+ class="submit"
84149
+ color="primary"
84150
+ mat-flat-button
84151
+ [disabled]="actionsDisabled()"
84152
+ (click)="onValidate()"
84153
+ >
84154
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
84155
+ </button>
84156
+ </div>
84157
+ </div>
84047
84158
  `, 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"] }]
84048
84159
  }], null, null);
84049
84160
  })();
@@ -84162,39 +84273,39 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84162
84273
  FederalIncorporationFormComponent,
84163
84274
  ExpandableCardComponent,
84164
84275
  FilingFormGroupComponent
84165
- ], template: `<div class="incorporation-delta-form">\r
84166
- <federal-incorporation-form\r
84167
- class="incorporation-delta-form-content"\r
84168
- [form]="form()"\r
84169
- [task]="task()"\r
84170
- [errors]="errors()"\r
84171
- [selectedDocuments]="selectedDocuments()"\r
84172
- [isStatusIcon]="false"\r
84173
- [isReadonly]="true"\r
84174
- >\r
84175
- @let signatoryInformation = getFormGroup(groups.Signatory);\r
84176
- \r
84177
- <expandable-card [isExpandable]="false">\r
84178
- <filing-form-group [isSubmitted]="true" [form]="signatoryInformation" [config]="signatoryFields"/>\r
84179
- </expandable-card>\r
84180
- \r
84181
- </federal-incorporation-form>\r
84182
- \r
84183
- <div class="incorporation-delta-form-actions">\r
84184
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
84185
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
84186
- </button>\r
84187
- <button\r
84188
- class="submit"\r
84189
- color="primary"\r
84190
- mat-flat-button\r
84191
- [disabled]="actionsDisabled() || !getFormGroup(groups.Signatory).get(controls.Signatory)?.value"\r
84192
- (click)="file.emit()"\r
84193
- >\r
84194
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
84195
- </button>\r
84196
- </div>\r
84197
- </div>\r
84276
+ ], template: `<div class="incorporation-delta-form">
84277
+ <federal-incorporation-form
84278
+ class="incorporation-delta-form-content"
84279
+ [form]="form()"
84280
+ [task]="task()"
84281
+ [errors]="errors()"
84282
+ [selectedDocuments]="selectedDocuments()"
84283
+ [isStatusIcon]="false"
84284
+ [isReadonly]="true"
84285
+ >
84286
+ @let signatoryInformation = getFormGroup(groups.Signatory);
84287
+
84288
+ <expandable-card [isExpandable]="false">
84289
+ <filing-form-group [isSubmitted]="true" [form]="signatoryInformation" [config]="signatoryFields"/>
84290
+ </expandable-card>
84291
+
84292
+ </federal-incorporation-form>
84293
+
84294
+ <div class="incorporation-delta-form-actions">
84295
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
84296
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
84297
+ </button>
84298
+ <button
84299
+ class="submit"
84300
+ color="primary"
84301
+ mat-flat-button
84302
+ [disabled]="actionsDisabled() || !getFormGroup(groups.Signatory).get(controls.Signatory)?.value"
84303
+ (click)="file.emit()"
84304
+ >
84305
+ <span class="body-1-semibold">{{ 'File' | translate }}</span>
84306
+ </button>
84307
+ </div>
84308
+ </div>
84198
84309
  `, 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"] }]
84199
84310
  }], () => [], null);
84200
84311
  })();
@@ -84204,6 +84315,227 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84204
84315
  }
84205
84316
  });
84206
84317
 
84318
+ // src/app/enums/federal-update-maintain.enum.ts
84319
+ var FederalUpdateMaintainFormGroups, FederalUpdateMaintainFormControl;
84320
+ var init_federal_update_maintain_enum = __esm({
84321
+ "src/app/enums/federal-update-maintain.enum.ts"() {
84322
+ (function(FederalUpdateMaintainFormGroups2) {
84323
+ FederalUpdateMaintainFormGroups2["CorporationDetails"] = "Corporation Details";
84324
+ FederalUpdateMaintainFormGroups2["Directors"] = "Directors";
84325
+ FederalUpdateMaintainFormGroups2["AnnualReturn"] = "Annual Return";
84326
+ FederalUpdateMaintainFormGroups2["SignificantControl"] = "Significant Control";
84327
+ FederalUpdateMaintainFormGroups2["IndividualsWithSignificantControl"] = "Individuals With Significant Control";
84328
+ FederalUpdateMaintainFormGroups2["Contact"] = "Contact";
84329
+ })(FederalUpdateMaintainFormGroups || (FederalUpdateMaintainFormGroups = {}));
84330
+ (function(FederalUpdateMaintainFormControl2) {
84331
+ FederalUpdateMaintainFormControl2["CorporationName"] = "corporationName";
84332
+ FederalUpdateMaintainFormControl2["BusinessNumber"] = "businessNumber";
84333
+ FederalUpdateMaintainFormControl2["RegisteredOfficeAddress"] = "registeredOfficeAddress";
84334
+ FederalUpdateMaintainFormControl2["AnniversaryDate"] = "anniversaryDate";
84335
+ FederalUpdateMaintainFormControl2["YearOfFiling"] = "yearOfFiling";
84336
+ FederalUpdateMaintainFormControl2["AnnualMeetingDate"] = "annualMeetingDate";
84337
+ FederalUpdateMaintainFormControl2["CorporationType"] = "corporationType";
84338
+ FederalUpdateMaintainFormControl2["NumberOfShareholders"] = "numberOfShareholders";
84339
+ FederalUpdateMaintainFormControl2["AddressPreview"] = "addressPreview";
84340
+ })(FederalUpdateMaintainFormControl || (FederalUpdateMaintainFormControl = {}));
84341
+ }
84342
+ });
84343
+
84344
+ // src/app/constants/federal-update-maintain-form.constants.ts
84345
+ var FEDERAL_UPDATE_MAINTAIN_CORPORATION_TYPE_OPTIONS, FEDERAL_UPDATE_MAINTAIN_NUMBER_OF_SHAREHOLDERS_OPTIONS, FEDERAL_UPDATE_MAINTAIN_CORPORATION_DETAILS_FIELDS, FEDERAL_UPDATE_MAINTAIN_DIRECTORS_FIELDS, FEDERAL_UPDATE_MAINTAIN_ANNUAL_RETURN_FIELDS, FEDERAL_UPDATE_MAINTAIN_SIGNIFICANT_CONTROL_FIELDS, FEDERAL_UPDATE_MAINTAIN_INDIVIDUALS_WITH_SIGNIFICANT_CONTROL_FIELDS, FEDERAL_UPDATE_MAINTAIN_CONTACT_FIELDS;
84346
+ var init_federal_update_maintain_form_constants = __esm({
84347
+ "src/app/constants/federal-update-maintain-form.constants.ts"() {
84348
+ init_form_enums();
84349
+ init_federal_update_maintain_enum();
84350
+ init_FederalConstants();
84351
+ init_federal_formation_form_contants();
84352
+ FEDERAL_UPDATE_MAINTAIN_CORPORATION_TYPE_OPTIONS = Object.values(CorporationType).filter((v) => typeof v === "number").map((v) => ({ value: v, label: CorporationTypeLabel[v] }));
84353
+ FEDERAL_UPDATE_MAINTAIN_NUMBER_OF_SHAREHOLDERS_OPTIONS = Object.values(NumberOfShareholders).filter((v) => typeof v === "number").map((v) => ({ value: v, label: NumberOfShareholdersLabel[v] }));
84354
+ FEDERAL_UPDATE_MAINTAIN_CORPORATION_DETAILS_FIELDS = [
84355
+ {
84356
+ type: FormType.Text,
84357
+ formControlName: "",
84358
+ class: "span-12",
84359
+ dynamicLabel: (form) => `<span class="body-1-semibold">Corporate name:</span> ${form.get(FederalUpdateMaintainFormControl.CorporationName)?.value ?? ""}`
84360
+ },
84361
+ {
84362
+ type: FormType.Text,
84363
+ formControlName: "",
84364
+ class: "span-12",
84365
+ dynamicLabel: (form) => `<span class="body-1-semibold">Business Number:</span> ${form.get(FederalUpdateMaintainFormControl.BusinessNumber)?.value ?? ""}`
84366
+ },
84367
+ {
84368
+ type: FormType.Text,
84369
+ formControlName: "",
84370
+ class: "span-12",
84371
+ dynamicLabel: (form) => `<span class="body-1-semibold">Registered Office Address:</span> ${form.get(FederalUpdateMaintainFormControl.RegisteredOfficeAddress)?.value ?? ""}`
84372
+ }
84373
+ ];
84374
+ FEDERAL_UPDATE_MAINTAIN_DIRECTORS_FIELDS = [
84375
+ {
84376
+ type: FormType.Text,
84377
+ formControlName: "",
84378
+ class: "span-12",
84379
+ dynamicLabel: (form) => `<span class="body-1-semibold">Address:</span> ${form.get(FederalUpdateMaintainFormControl.AddressPreview)?.value ?? ""}`
84380
+ }
84381
+ ];
84382
+ FEDERAL_UPDATE_MAINTAIN_ANNUAL_RETURN_FIELDS = [
84383
+ {
84384
+ type: FormType.Text,
84385
+ formControlName: "",
84386
+ class: "span-12",
84387
+ dynamicLabel: (form) => `<span class="body-1-semibold">Anniversary Date:</span> ${form.get(FederalUpdateMaintainFormControl.AnniversaryDate)?.value ?? ""}`
84388
+ },
84389
+ {
84390
+ type: FormType.Text,
84391
+ formControlName: "",
84392
+ class: "span-12",
84393
+ dynamicLabel: (form) => `<span class="body-1-semibold">Year of Filing:</span> ${form.get(FederalUpdateMaintainFormControl.YearOfFiling)?.value ?? ""}`
84394
+ },
84395
+ {
84396
+ type: FormType.Text,
84397
+ formControlName: "",
84398
+ class: "span-12",
84399
+ dynamicLabel: (form) => `<span class="body-1-semibold">Annual Meeting:</span> ${form.get(FederalUpdateMaintainFormControl.AnnualMeetingDate)?.value ?? ""}`
84400
+ },
84401
+ {
84402
+ type: FormType.Select,
84403
+ label: "Type of Corporation",
84404
+ formControlName: FederalUpdateMaintainFormControl.CorporationType,
84405
+ options: FEDERAL_UPDATE_MAINTAIN_CORPORATION_TYPE_OPTIONS,
84406
+ required: true,
84407
+ class: "span-6"
84408
+ },
84409
+ {
84410
+ type: FormType.Select,
84411
+ label: "Number of Shareholders",
84412
+ formControlName: FederalUpdateMaintainFormControl.NumberOfShareholders,
84413
+ options: FEDERAL_UPDATE_MAINTAIN_NUMBER_OF_SHAREHOLDERS_OPTIONS,
84414
+ required: true,
84415
+ class: "span-6"
84416
+ }
84417
+ ];
84418
+ FEDERAL_UPDATE_MAINTAIN_SIGNIFICANT_CONTROL_FIELDS = FEDERAL_FORMATION_FORM_SIGNIFICANT_CONTROL;
84419
+ FEDERAL_UPDATE_MAINTAIN_INDIVIDUALS_WITH_SIGNIFICANT_CONTROL_FIELDS = federalFormationFormIndividualsWithSignificantControl;
84420
+ FEDERAL_UPDATE_MAINTAIN_CONTACT_FIELDS = generateFederalFormationFormContactControl;
84421
+ }
84422
+ });
84423
+
84424
+ // src/app/helpers/federal-update-maintain.helper.ts
84425
+ var FederalUpdateMaintainFormHelper;
84426
+ var init_federal_update_maintain_helper = __esm({
84427
+ "src/app/helpers/federal-update-maintain.helper.ts"() {
84428
+ init_forms();
84429
+ init_common_utils();
84430
+ init_form_enums();
84431
+ init_federal_update_maintain_enum();
84432
+ init_federal_form_enum();
84433
+ init_FederalConstants();
84434
+ init_custom_validators();
84435
+ init_federal_form_helper();
84436
+ FederalUpdateMaintainFormHelper = class _FederalUpdateMaintainFormHelper {
84437
+ static generateConfig(task) {
84438
+ const delta = task.deltaData;
84439
+ const config2 = {};
84440
+ const regOfficeAddress = _FederalUpdateMaintainFormHelper.findRegisteredOfficeAddressDisplay(task);
84441
+ config2[FederalUpdateMaintainFormGroups.CorporationDetails] = new FormGroup({
84442
+ [FederalUpdateMaintainFormControl.CorporationName]: new FormControl({
84443
+ value: task.entity._profile?.name ?? "",
84444
+ disabled: true
84445
+ }),
84446
+ [FederalUpdateMaintainFormControl.BusinessNumber]: new FormControl({
84447
+ value: task.entity._profile?.taxID_number ?? "",
84448
+ disabled: true
84449
+ }),
84450
+ [FederalUpdateMaintainFormControl.RegisteredOfficeAddress]: new FormControl({
84451
+ value: regOfficeAddress,
84452
+ disabled: true
84453
+ })
84454
+ });
84455
+ const directors = (task.entity.affiliations ?? []).filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director");
84456
+ config2[FederalUpdateMaintainFormGroups.Directors] = new FormArray(directors.map((director) => {
84457
+ const person = director.participant;
84458
+ const name = getPersonName(person);
84459
+ const address = director.addresses?.[0] || director.parent_affiliation?.addresses?.[0];
84460
+ const display = `${address?.display?.line1 ?? ""}${address?.display?.line2 ?? ""}`.trim();
84461
+ return new FormGroup({
84462
+ [FormationFormControls.Id]: new FormControl({ value: director._id, disabled: true }),
84463
+ [FormationFormControls.AffiliationName]: new FormControl({ value: name, disabled: true }),
84464
+ [FederalUpdateMaintainFormControl.AddressPreview]: new FormControl({
84465
+ value: display,
84466
+ disabled: true
84467
+ })
84468
+ });
84469
+ }));
84470
+ const yearOfFiling = _FederalUpdateMaintainFormHelper.getYearOfFiling(task);
84471
+ const anniversary = _FederalUpdateMaintainFormHelper.getAnniversaryDate(task);
84472
+ const annualMeeting = task?._ext?._agm_date ?? "";
84473
+ config2[FederalUpdateMaintainFormGroups.AnnualReturn] = new FormGroup({
84474
+ [FederalUpdateMaintainFormControl.AnniversaryDate]: new FormControl({ value: anniversary, disabled: true }),
84475
+ [FederalUpdateMaintainFormControl.YearOfFiling]: new FormControl({ value: yearOfFiling, disabled: true }),
84476
+ [FederalUpdateMaintainFormControl.AnnualMeetingDate]: new FormControl({ value: annualMeeting, disabled: true }),
84477
+ [FederalUpdateMaintainFormControl.CorporationType]: new FormControl(delta?.corporationType ?? null, Validators.required),
84478
+ [FederalUpdateMaintainFormControl.NumberOfShareholders]: new FormControl(delta?.numberOfShareholders ?? null, Validators.required)
84479
+ });
84480
+ config2[FederalUpdateMaintainFormGroups.SignificantControl] = new FormGroup({
84481
+ [FederalFormationFormControl.SignificantControlType]: new FormControl(delta?.individualsWithSignificantControl?.type ?? null, Validators.required),
84482
+ [FederalFormationFormControl.ExclusionReason]: new FormControl(delta?.individualsWithSignificantControl?.exclusionReason ?? null, requiredIfValue(FederalFormationFormControl.SignificantControlType, ISCOptions.Excluded))
84483
+ });
84484
+ const iscIndividuals = delta?.individualsWithSignificantControl?.individuals ?? [];
84485
+ const iscGroups = iscIndividuals.map((individualDelta) => {
84486
+ const affiliation = (task.entity.affiliations ?? []).find((a) => a._id === individualDelta.affiliationId);
84487
+ if (!affiliation)
84488
+ return null;
84489
+ return FederalFormHelper.generateIndividualWithSignificantForms(affiliation, individualDelta);
84490
+ }).filter((g) => g !== null);
84491
+ config2[FederalUpdateMaintainFormGroups.IndividualsWithSignificantControl] = new FormArray(iscGroups);
84492
+ config2[FederalUpdateMaintainFormGroups.Contact] = new FormGroup({
84493
+ [FederalFormationFormControl.Contact]: new FormControl(delta?.contactUid ?? null, Validators.required)
84494
+ });
84495
+ return config2;
84496
+ }
84497
+ static getYearOfFiling(task) {
84498
+ const due = task?._due_date;
84499
+ const d = due ? new Date(due) : /* @__PURE__ */ new Date();
84500
+ return String(d.getFullYear());
84501
+ }
84502
+ static getAnniversaryDate(task) {
84503
+ const inc = task.entity?._compliance?.incorporation_date;
84504
+ if (!inc)
84505
+ return "";
84506
+ const parts = inc.split("-");
84507
+ if (parts.length >= 3) {
84508
+ return `${parts[1]}-${parts[2]}`;
84509
+ }
84510
+ return inc;
84511
+ }
84512
+ static findRegisteredOfficeAddressDisplay(task) {
84513
+ const registeredOffice = (task.entity.affiliations ?? []).find((aff) => aff.kind === "EntityAffiliationV3" && aff.role?.role_name === "Shared Address" && aff.role?.static_title === "Registered Office");
84514
+ const address = registeredOffice?.addresses?.[0] || registeredOffice?.parent_affiliation?.addresses?.[0];
84515
+ const line1 = address?.display?.line1 ?? "";
84516
+ const line2 = address?.display?.line2 ?? "";
84517
+ return `${line1}${line2}`.trim();
84518
+ }
84519
+ /** Utility: returns a map of ISC affiliation id -> address options for Address For Service. */
84520
+ static generateISCAddressesMap(affiliations) {
84521
+ const map2 = /* @__PURE__ */ new Map();
84522
+ const individuals = getIndividualWithSignificantControl(affiliations);
84523
+ for (const individual of individuals) {
84524
+ const options = [
84525
+ ...individual.addresses ?? [],
84526
+ ...individual.parent_affiliation?.addresses ?? []
84527
+ ].map((address) => ({
84528
+ value: address.uid,
84529
+ label: `${address.display?.line1 ?? ""}${address.display?.line2 ?? ""}`.trim()
84530
+ }));
84531
+ map2.set(individual._id, options);
84532
+ }
84533
+ return map2;
84534
+ }
84535
+ };
84536
+ }
84537
+ });
84538
+
84207
84539
  // src/app/components/federal/update-maintain/update-maintain-form/update-maintain-form.component.ts
84208
84540
  function FederalUpdateMaintainFormComponent_Conditional_1_Template(rf, ctx) {
84209
84541
  if (rf & 1) {
@@ -84223,12 +84555,140 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84223
84555
  \u0275\u0275property("content", ctx_r0.errors());
84224
84556
  }
84225
84557
  }
84558
+ function FederalUpdateMaintainFormComponent_Conditional_5_Template(rf, ctx) {
84559
+ if (rf & 1) {
84560
+ \u0275\u0275elementStart(0, "expandable-card", 4);
84561
+ \u0275\u0275element(1, "filing-form-group", 7);
84562
+ \u0275\u0275elementEnd();
84563
+ }
84564
+ if (rf & 2) {
84565
+ const ctx_r0 = \u0275\u0275nextContext();
84566
+ const corporationDetails_r2 = \u0275\u0275readContextLet(4);
84567
+ \u0275\u0275property("isValid", !corporationDetails_r2.invalid)("title", ctx_r0.groups.CorporationDetails);
84568
+ \u0275\u0275advance();
84569
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r2)("config", ctx_r0.corporationDetailsFields);
84570
+ }
84571
+ }
84572
+ function FederalUpdateMaintainFormComponent_Conditional_7_Template(rf, ctx) {
84573
+ if (rf & 1) {
84574
+ \u0275\u0275element(0, "expandable-list-card", 5);
84575
+ }
84576
+ if (rf & 2) {
84577
+ const ctx_r0 = \u0275\u0275nextContext();
84578
+ const directorsArray_r3 = \u0275\u0275readContextLet(6);
84579
+ \u0275\u0275property("isOpen", true)("isValid", directorsArray_r3.valid)("isSubmitted", ctx_r0.isSubmitted())("fields", ctx_r0.directorsFields)("formArray", directorsArray_r3)("labelKey", ctx_r0.controls.AffiliationName)("title", ctx_r0.groups.Directors);
84580
+ }
84581
+ }
84582
+ function FederalUpdateMaintainFormComponent_Conditional_9_Template(rf, ctx) {
84583
+ if (rf & 1) {
84584
+ \u0275\u0275elementStart(0, "expandable-card", 4);
84585
+ \u0275\u0275element(1, "filing-form-group", 7);
84586
+ \u0275\u0275elementEnd();
84587
+ }
84588
+ if (rf & 2) {
84589
+ const ctx_r0 = \u0275\u0275nextContext();
84590
+ const annualReturn_r4 = \u0275\u0275readContextLet(8);
84591
+ \u0275\u0275property("isValid", !annualReturn_r4.invalid)("title", ctx_r0.groups.AnnualReturn);
84592
+ \u0275\u0275advance();
84593
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", annualReturn_r4)("config", ctx_r0.annualReturnFields);
84594
+ }
84595
+ }
84596
+ function FederalUpdateMaintainFormComponent_Conditional_11_Conditional_1_Conditional_1_Template(rf, ctx) {
84597
+ if (rf & 1) {
84598
+ const _r6 = \u0275\u0275getCurrentView();
84599
+ \u0275\u0275elementStart(0, "button", 12);
84600
+ \u0275\u0275listener("click", function FederalUpdateMaintainFormComponent_Conditional_11_Conditional_1_Conditional_1_Template_button_click_0_listener() {
84601
+ \u0275\u0275restoreView(_r6);
84602
+ const ctx_r0 = \u0275\u0275nextContext(3);
84603
+ return \u0275\u0275resetView(ctx_r0.addIndividualWithSignificantControl());
84604
+ });
84605
+ \u0275\u0275elementStart(1, "span", 13);
84606
+ \u0275\u0275text(2);
84607
+ \u0275\u0275pipe(3, "translate");
84608
+ \u0275\u0275elementEnd()();
84609
+ }
84610
+ if (rf & 2) {
84611
+ const ctx_r0 = \u0275\u0275nextContext(3);
84612
+ \u0275\u0275property("disabled", ctx_r0.isAddIndividualWithSignificantControlDisabled());
84613
+ \u0275\u0275advance(2);
84614
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(3, 2, "Add Individuals With Significant Control"));
84615
+ }
84616
+ }
84617
+ function FederalUpdateMaintainFormComponent_Conditional_11_Conditional_1_Template(rf, ctx) {
84618
+ if (rf & 1) {
84619
+ const _r5 = \u0275\u0275getCurrentView();
84620
+ \u0275\u0275elementStart(0, "expandable-list-card", 9);
84621
+ \u0275\u0275listener("remove", function FederalUpdateMaintainFormComponent_Conditional_11_Conditional_1_Template_expandable_list_card_remove_0_listener($event) {
84622
+ \u0275\u0275restoreView(_r5);
84623
+ const ctx_r0 = \u0275\u0275nextContext(2);
84624
+ return \u0275\u0275resetView(ctx_r0.onRemoveIndividualWithSignificantForm($event));
84625
+ });
84626
+ \u0275\u0275template(1, FederalUpdateMaintainFormComponent_Conditional_11_Conditional_1_Conditional_1_Template, 4, 4, "button", 10);
84627
+ \u0275\u0275elementStart(2, "div", 11);
84628
+ \u0275\u0275element(3, "filing-form-group", 7);
84629
+ \u0275\u0275elementEnd()();
84630
+ }
84631
+ if (rf & 2) {
84632
+ \u0275\u0275nextContext();
84633
+ const individualsArray_r7 = \u0275\u0275readContextLet(0);
84634
+ const ctx_r0 = \u0275\u0275nextContext();
84635
+ const significantControl_r8 = \u0275\u0275readContextLet(10);
84636
+ \u0275\u0275property("isOpen", ctx_r0.isIndividualsWithSignificantControlOpen())("isValid", individualsArray_r7.valid && significantControl_r8.valid)("isSubmitted", ctx_r0.isSubmitted())("isStatusIcon", true)("removable", !ctx_r0.readonly())("fields", ctx_r0.individualsWithSignificantControlFields())("formArray", individualsArray_r7)("labelKey", ctx_r0.controls.AffiliationName)("title", ctx_r0.groups.IndividualsWithSignificantControl);
84637
+ \u0275\u0275advance();
84638
+ \u0275\u0275conditional(!ctx_r0.readonly() && ctx_r0.isAddIndividualWithSignificantControlAvailable() ? 1 : -1);
84639
+ \u0275\u0275advance(2);
84640
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", significantControl_r8)("config", ctx_r0.significantControlFields);
84641
+ }
84642
+ }
84643
+ function FederalUpdateMaintainFormComponent_Conditional_11_Template(rf, ctx) {
84644
+ if (rf & 1) {
84645
+ \u0275\u0275declareLet(0);
84646
+ \u0275\u0275template(1, FederalUpdateMaintainFormComponent_Conditional_11_Conditional_1_Template, 4, 13, "expandable-list-card", 8);
84647
+ }
84648
+ if (rf & 2) {
84649
+ const ctx_r0 = \u0275\u0275nextContext();
84650
+ const individualsArray_r9 = \u0275\u0275storeLet(ctx_r0.getFormArray(ctx_r0.groups.IndividualsWithSignificantControl));
84651
+ \u0275\u0275advance();
84652
+ \u0275\u0275conditional(individualsArray_r9 ? 1 : -1);
84653
+ }
84654
+ }
84655
+ function FederalUpdateMaintainFormComponent_Conditional_13_Template(rf, ctx) {
84656
+ if (rf & 1) {
84657
+ \u0275\u0275elementStart(0, "expandable-card", 6);
84658
+ \u0275\u0275element(1, "filing-form-group", 7);
84659
+ \u0275\u0275elementEnd();
84660
+ }
84661
+ if (rf & 2) {
84662
+ const ctx_r0 = \u0275\u0275nextContext();
84663
+ const contact_r10 = \u0275\u0275readContextLet(12);
84664
+ \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", !contact_r10.invalid)("title", ctx_r0.groups.Contact);
84665
+ \u0275\u0275advance();
84666
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", contact_r10)("config", ctx_r0.contactControl());
84667
+ }
84668
+ }
84226
84669
  var FederalUpdateMaintainFormComponent;
84227
84670
  var init_update_maintain_form_component2 = __esm({
84228
84671
  "src/app/components/federal/update-maintain/update-maintain-form/update-maintain-form.component.ts"() {
84229
84672
  init_core();
84673
+ init_forms();
84230
84674
  init_alert_component();
84231
84675
  init_alert_enum();
84676
+ init_federal_update_maintain_form_constants();
84677
+ init_federal_update_maintain_enum();
84678
+ init_expandable_card_component();
84679
+ init_expandable_list_card_component();
84680
+ init_filing_form_group_component();
84681
+ init_form_enums();
84682
+ init_common_utils();
84683
+ init_federal_update_maintain_helper();
84684
+ init_federal_form_enum();
84685
+ init_FederalConstants();
84686
+ init_button();
84687
+ init_ngx_translate_core();
84688
+ init_dialog2();
84689
+ init_select_modal_component();
84690
+ init_federal_form_helper();
84691
+ init_rxjs_interop();
84232
84692
  init_core();
84233
84693
  FederalUpdateMaintainFormComponent = class _FederalUpdateMaintainFormComponent {
84234
84694
  form = input.required();
@@ -84237,35 +84697,296 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84237
84697
  isNote = input(false);
84238
84698
  isSubmitted = input(false);
84239
84699
  readonly = input(false);
84700
+ dialog = inject(MatDialog);
84701
+ cdr = inject(ChangeDetectorRef);
84702
+ dr = inject(DestroyRef);
84240
84703
  alertType = AlertType;
84704
+ groups = FederalUpdateMaintainFormGroups;
84705
+ controls = FormationFormControls;
84706
+ federalControls = FederalFormationFormControl;
84707
+ iscOptions = ISCOptions;
84708
+ corporationDetailsFields = FEDERAL_UPDATE_MAINTAIN_CORPORATION_DETAILS_FIELDS;
84709
+ annualReturnFields = FEDERAL_UPDATE_MAINTAIN_ANNUAL_RETURN_FIELDS;
84710
+ directorsFields = FEDERAL_UPDATE_MAINTAIN_DIRECTORS_FIELDS;
84711
+ significantControlFields = FEDERAL_UPDATE_MAINTAIN_SIGNIFICANT_CONTROL_FIELDS;
84712
+ contactControl = signal([]);
84713
+ addressForServiceMap = signal(/* @__PURE__ */ new Map());
84714
+ individualsWithSignificantControlFields = computed(() => FEDERAL_UPDATE_MAINTAIN_INDIVIDUALS_WITH_SIGNIFICANT_CONTROL_FIELDS(this.addressForServiceMap()));
84715
+ /**
84716
+ * UX requirement: if total ISC count is <= 3 start expanded, otherwise start collapsed.
84717
+ * Use total available ISC affiliations (not only selected rows) to decide the initial open state.
84718
+ */
84719
+ isIndividualsWithSignificantControlOpen = computed(() => {
84720
+ const task = this.task();
84721
+ if (!task)
84722
+ return true;
84723
+ return getIndividualWithSignificantControl(task.entity.affiliations).length <= 3;
84724
+ });
84725
+ selectedIndividualWithSignificant = signal([]);
84726
+ isListISC = signal(false);
84727
+ isAddIndividualWithSignificantControlAvailable = computed(() => {
84728
+ const task = this.task();
84729
+ const isListISC = this.isListISC();
84730
+ if (!task)
84731
+ return false;
84732
+ const individualWithSignificantControl = getIndividualWithSignificantControl(task.entity.affiliations);
84733
+ return Boolean(individualWithSignificantControl.length) && isListISC;
84734
+ });
84735
+ isAddIndividualWithSignificantControlDisabled = computed(() => {
84736
+ const task = this.task();
84737
+ if (!task)
84738
+ return false;
84739
+ const individualWithSignificantControl = getIndividualWithSignificantControl(task.entity.affiliations);
84740
+ return individualWithSignificantControl.length === this.selectedIndividualWithSignificant().length;
84741
+ });
84742
+ constructor() {
84743
+ effect(() => {
84744
+ const task = this.task();
84745
+ if (!task)
84746
+ return;
84747
+ const contacts = task.entity.affiliations.filter((a) => a.role?.role_name === "Contact");
84748
+ this.contactControl.set(FEDERAL_UPDATE_MAINTAIN_CONTACT_FIELDS(contacts));
84749
+ this.addressForServiceMap.set(FederalUpdateMaintainFormHelper.generateISCAddressesMap(task.entity.affiliations));
84750
+ });
84751
+ effect(() => {
84752
+ const form = this.form();
84753
+ if (!form)
84754
+ return;
84755
+ const iscFormArray = this.getFormArray(FederalUpdateMaintainFormGroups.IndividualsWithSignificantControl);
84756
+ const selected = (iscFormArray?.getRawValue?.() ?? []).map((i) => i[this.controls.AffiliationName]) ?? [];
84757
+ this.selectedIndividualWithSignificant.set(selected);
84758
+ const sigControl = this.getFormGroup(FederalUpdateMaintainFormGroups.SignificantControl);
84759
+ this.isListISC.set(sigControl?.get(this.federalControls.SignificantControlType)?.value === ISCOptions.ListISC);
84760
+ form.valueChanges.pipe(takeUntilDestroyed(this.dr)).subscribe(() => {
84761
+ const sig = this.getFormGroup(FederalUpdateMaintainFormGroups.SignificantControl);
84762
+ this.isListISC.set(sig?.get(this.federalControls.SignificantControlType)?.value === ISCOptions.ListISC);
84763
+ });
84764
+ });
84765
+ }
84766
+ addIndividualWithSignificantControl() {
84767
+ const task = this.task();
84768
+ if (!task)
84769
+ return;
84770
+ const alreadySelected = new Set(this.selectedIndividualWithSignificant());
84771
+ const individualWithSignificantControl = getIndividualWithSignificantControl(task.entity.affiliations);
84772
+ const available = [];
84773
+ const itemsMap = /* @__PURE__ */ new Map();
84774
+ for (const individual of individualWithSignificantControl) {
84775
+ const name = getPersonName(individual.participant);
84776
+ if (!alreadySelected.has(name)) {
84777
+ available.push(name);
84778
+ itemsMap.set(name, individual);
84779
+ }
84780
+ }
84781
+ const data = {
84782
+ items: available,
84783
+ title: "Select Individuals",
84784
+ submitButton: "Add Individuals"
84785
+ };
84786
+ this.dialog.open(SelectModalComponent, {
84787
+ data,
84788
+ panelClass: ["zero-padding-modal"],
84789
+ width: "560px"
84790
+ }).afterClosed().subscribe((selected) => {
84791
+ if (selected?.length) {
84792
+ this.selectedIndividualWithSignificant.update((value) => [
84793
+ ...value,
84794
+ ...selected
84795
+ ]);
84796
+ selected.forEach((name) => {
84797
+ this.onAddIndividualWithSignificantForm(itemsMap.get(name));
84798
+ });
84799
+ }
84800
+ });
84801
+ }
84802
+ onAddIndividualWithSignificantForm(affiliation) {
84803
+ const formArray = this.getFormArray(FederalUpdateMaintainFormGroups.IndividualsWithSignificantControl);
84804
+ formArray.push(FederalFormHelper.generateIndividualWithSignificantForms(affiliation));
84805
+ this.cdr.detectChanges();
84806
+ }
84807
+ onRemoveIndividualWithSignificantForm(index) {
84808
+ const formArray = this.getFormArray(FederalUpdateMaintainFormGroups.IndividualsWithSignificantControl);
84809
+ const row = formArray.controls[index];
84810
+ const affiliationName = row.getRawValue()[this.controls.AffiliationName];
84811
+ this.selectedIndividualWithSignificant.update((items) => items.filter((i) => i !== affiliationName));
84812
+ formArray.removeAt(index);
84813
+ }
84814
+ getFormGroup(key) {
84815
+ return this.form().get(key);
84816
+ }
84817
+ getFormArray(key) {
84818
+ return this.form().get(key);
84819
+ }
84241
84820
  static \u0275fac = function FederalUpdateMaintainFormComponent_Factory(__ngFactoryType__) {
84242
84821
  return new (__ngFactoryType__ || _FederalUpdateMaintainFormComponent)();
84243
84822
  };
84244
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _FederalUpdateMaintainFormComponent, selectors: [["federal-update-maintain-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, decls: 4, vars: 2, consts: [[1, "federal-update-maintain-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, "federal-update-maintain-form-content"]], template: function FederalUpdateMaintainFormComponent_Template(rf, ctx) {
84823
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _FederalUpdateMaintainFormComponent, selectors: [["federal-update-maintain-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, decls: 14, vars: 12, consts: [[1, "federal-update-maintain-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, "federal-update-maintain-form-content"], [3, "isValid", "title"], [3, "isOpen", "isValid", "isSubmitted", "fields", "formArray", "labelKey", "title"], [3, "isStatusIcon", "isValid", "title"], [3, "isSubmitted", "form", "config"], [3, "isOpen", "isValid", "isSubmitted", "isStatusIcon", "removable", "fields", "formArray", "labelKey", "title"], [3, "remove", "isOpen", "isValid", "isSubmitted", "isStatusIcon", "removable", "fields", "formArray", "labelKey", "title"], ["slot", "subtitle", "mat-stroked-button", "", "mat-button", "", 3, "disabled"], ["slot", "header-content", 1, "card-header-content"], ["slot", "subtitle", "mat-stroked-button", "", "mat-button", "", 3, "click", "disabled"], [1, "body-1-semibold"]], template: function FederalUpdateMaintainFormComponent_Template(rf, ctx) {
84245
84824
  if (rf & 1) {
84246
84825
  \u0275\u0275elementStart(0, "div", 0);
84247
84826
  \u0275\u0275template(1, FederalUpdateMaintainFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, FederalUpdateMaintainFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
84248
- \u0275\u0275element(3, "div", 3);
84249
- \u0275\u0275elementEnd();
84827
+ \u0275\u0275elementStart(3, "div", 3);
84828
+ \u0275\u0275declareLet(4);
84829
+ \u0275\u0275template(5, FederalUpdateMaintainFormComponent_Conditional_5_Template, 2, 5, "expandable-card", 4);
84830
+ \u0275\u0275declareLet(6);
84831
+ \u0275\u0275template(7, FederalUpdateMaintainFormComponent_Conditional_7_Template, 1, 7, "expandable-list-card", 5);
84832
+ \u0275\u0275declareLet(8);
84833
+ \u0275\u0275template(9, FederalUpdateMaintainFormComponent_Conditional_9_Template, 2, 5, "expandable-card", 4);
84834
+ \u0275\u0275declareLet(10);
84835
+ \u0275\u0275template(11, FederalUpdateMaintainFormComponent_Conditional_11_Template, 2, 2);
84836
+ \u0275\u0275declareLet(12);
84837
+ \u0275\u0275template(13, FederalUpdateMaintainFormComponent_Conditional_13_Template, 2, 6, "expandable-card", 6);
84838
+ \u0275\u0275elementEnd()();
84250
84839
  }
84251
84840
  if (rf & 2) {
84252
84841
  \u0275\u0275advance();
84253
84842
  \u0275\u0275conditional(ctx.isNote() ? 1 : -1);
84254
84843
  \u0275\u0275advance();
84255
84844
  \u0275\u0275conditional(ctx.errors().length ? 2 : -1);
84845
+ \u0275\u0275advance(2);
84846
+ const corporationDetails_r11 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
84847
+ \u0275\u0275advance();
84848
+ \u0275\u0275conditional(corporationDetails_r11 ? 5 : -1);
84849
+ \u0275\u0275advance();
84850
+ const directorsArray_r12 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
84851
+ \u0275\u0275advance();
84852
+ \u0275\u0275conditional(directorsArray_r12 ? 7 : -1);
84853
+ \u0275\u0275advance();
84854
+ const annualReturn_r13 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReturn));
84855
+ \u0275\u0275advance();
84856
+ \u0275\u0275conditional(annualReturn_r13 ? 9 : -1);
84857
+ \u0275\u0275advance();
84858
+ const significantControl_r14 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.SignificantControl));
84859
+ \u0275\u0275advance();
84860
+ \u0275\u0275conditional(significantControl_r14 ? 11 : -1);
84861
+ \u0275\u0275advance();
84862
+ const contact_r15 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.Contact));
84863
+ \u0275\u0275advance();
84864
+ \u0275\u0275conditional(contact_r15 ? 13 : -1);
84256
84865
  }
84257
- }, dependencies: [AlertComponent], styles: ["\n\n[_nghost-%COMP%] .federal-update-maintain-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n overflow-y: auto;\n}\n[_nghost-%COMP%] .federal-update-maintain-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n/*# sourceMappingURL=update-maintain-form.component.css.map */"], changeDetection: 0 });
84866
+ }, dependencies: [
84867
+ AlertComponent,
84868
+ ExpandableCardComponent,
84869
+ ExpandableListCardComponent,
84870
+ FilingFormGroupComponent,
84871
+ ReactiveFormsModule,
84872
+ MatButton,
84873
+ TranslatePipe
84874
+ ], styles: ["\n\n[_nghost-%COMP%] .federal-update-maintain-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n overflow-y: auto;\n}\n[_nghost-%COMP%] .federal-update-maintain-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .card-header-content[_ngcontent-%COMP%] {\n padding: 0 16px;\n}\n/*# sourceMappingURL=update-maintain-form.component.css.map */"], changeDetection: 0 });
84258
84875
  };
84259
84876
  (() => {
84260
84877
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FederalUpdateMaintainFormComponent, [{
84261
84878
  type: Component,
84262
84879
  args: [{ standalone: true, selector: "federal-update-maintain-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
84263
- AlertComponent
84264
- ], template: '<div class="federal-update-maintain-form">\r\n @if (isNote()) {\r\n <alert [type]="alertType.Info" title="Entity changed"\r\n 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="federal-update-maintain-form-content">\r\n <!-- TODO: add form fields -->\r\n </div>\r\n</div>\r\n\r\n', 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/*# sourceMappingURL=update-maintain-form.component.css.map */\n"] }]
84265
- }], null, null);
84880
+ AlertComponent,
84881
+ ExpandableCardComponent,
84882
+ ExpandableListCardComponent,
84883
+ FilingFormGroupComponent,
84884
+ ReactiveFormsModule,
84885
+ MatButton,
84886
+ TranslatePipe
84887
+ ], template: `<div class="federal-update-maintain-form">
84888
+ @if (isNote()) {
84889
+ <alert [type]="alertType.Info" title="Entity changed"
84890
+ content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>
84891
+ }
84892
+
84893
+ @if (errors().length) {
84894
+ <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>
84895
+ }
84896
+
84897
+ <div class="federal-update-maintain-form-content">
84898
+ @let corporationDetails = getFormGroup(groups.CorporationDetails);
84899
+ @if (corporationDetails) {
84900
+ <expandable-card [isValid]="!corporationDetails.invalid" [title]="groups.CorporationDetails">
84901
+ <filing-form-group
84902
+ [isSubmitted]="isSubmitted()"
84903
+ [form]="corporationDetails"
84904
+ [config]="corporationDetailsFields"
84905
+ />
84906
+ </expandable-card>
84907
+ }
84908
+
84909
+ @let directorsArray = getFormArray(groups.Directors);
84910
+ @if (directorsArray) {
84911
+ <expandable-list-card
84912
+ [isOpen]="true"
84913
+ [isValid]="directorsArray.valid"
84914
+ [isSubmitted]="isSubmitted()"
84915
+ [fields]="directorsFields"
84916
+ [formArray]="directorsArray"
84917
+ [labelKey]="controls.AffiliationName"
84918
+ [title]="groups.Directors"
84919
+ />
84920
+ }
84921
+
84922
+ @let annualReturn = getFormGroup(groups.AnnualReturn);
84923
+ @if (annualReturn) {
84924
+ <expandable-card [isValid]="!annualReturn.invalid" [title]="groups.AnnualReturn">
84925
+ <filing-form-group
84926
+ [isSubmitted]="isSubmitted()"
84927
+ [form]="annualReturn"
84928
+ [config]="annualReturnFields"
84929
+ />
84930
+ </expandable-card>
84931
+ }
84932
+
84933
+ @let significantControl = getFormGroup(groups.SignificantControl);
84934
+ @if (significantControl) {
84935
+ @let individualsArray = getFormArray(groups.IndividualsWithSignificantControl);
84936
+ @if (individualsArray) {
84937
+ <expandable-list-card
84938
+ [isOpen]="isIndividualsWithSignificantControlOpen()"
84939
+ [isValid]="individualsArray.valid && significantControl.valid"
84940
+ [isSubmitted]="isSubmitted()"
84941
+ [isStatusIcon]="true"
84942
+ [removable]="!readonly()"
84943
+ [fields]="individualsWithSignificantControlFields()"
84944
+ [formArray]="individualsArray"
84945
+ [labelKey]="controls.AffiliationName"
84946
+ [title]="groups.IndividualsWithSignificantControl"
84947
+ (remove)="onRemoveIndividualWithSignificantForm($event)"
84948
+ >
84949
+ @if (!readonly() && isAddIndividualWithSignificantControlAvailable()) {
84950
+ <button
84951
+ [disabled]="isAddIndividualWithSignificantControlDisabled()"
84952
+ slot="subtitle"
84953
+ mat-stroked-button
84954
+ mat-button
84955
+ (click)="addIndividualWithSignificantControl()"
84956
+ >
84957
+ <span class="body-1-semibold">{{ 'Add Individuals With Significant Control' | translate }}</span>
84958
+ </button>
84959
+ }
84960
+
84961
+ <div class="card-header-content" slot="header-content">
84962
+ <filing-form-group
84963
+ [isSubmitted]="isSubmitted()"
84964
+ [form]="significantControl"
84965
+ [config]="significantControlFields"
84966
+ />
84967
+ </div>
84968
+ </expandable-list-card>
84969
+ }
84970
+ }
84971
+
84972
+ @let contact = getFormGroup(groups.Contact);
84973
+ @if (contact) {
84974
+ <expandable-card [isStatusIcon]="!readonly()" [isValid]="!contact.invalid" [title]="groups.Contact">
84975
+ <filing-form-group
84976
+ [isSubmitted]="isSubmitted()"
84977
+ [form]="contact"
84978
+ [config]="contactControl()"
84979
+ />
84980
+ </expandable-card>
84981
+ }
84982
+ </div>
84983
+ </div>
84984
+
84985
+ `, 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"] }]
84986
+ }], () => [], null);
84266
84987
  })();
84267
84988
  (() => {
84268
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalUpdateMaintainFormComponent, { className: "FederalUpdateMaintainFormComponent", filePath: "src/app/components/federal/update-maintain/update-maintain-form/update-maintain-form.component.ts", lineNumber: 17 });
84989
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalUpdateMaintainFormComponent, { className: "FederalUpdateMaintainFormComponent", filePath: "src/app/components/federal/update-maintain/update-maintain-form/update-maintain-form.component.ts", lineNumber: 61 });
84269
84990
  })();
84270
84991
  }
84271
84992
  });
@@ -84354,36 +85075,36 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84354
85075
  MatButton,
84355
85076
  TranslatePipe,
84356
85077
  FederalUpdateMaintainFormComponent
84357
- ], template: `<div class="federal-update-maintain-delta-form">\r
84358
- <federal-update-maintain-form\r
84359
- class="federal-update-maintain-delta-form-content"\r
84360
- [form]="form()"\r
84361
- [task]="task()"\r
84362
- [errors]="errors()"\r
84363
- [isNote]="isNote()"\r
84364
- [isSubmitted]="submitted()"\r
84365
- [readonly]="false"\r
84366
- />\r
84367
- \r
84368
- <div class="federal-update-maintain-delta-form-actions">\r
84369
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
84370
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
84371
- </button>\r
84372
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="save.emit()">\r
84373
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
84374
- </button>\r
84375
- <button\r
84376
- class="submit"\r
84377
- color="primary"\r
84378
- mat-flat-button\r
84379
- [disabled]="actionsDisabled()"\r
84380
- (click)="onValidate()"\r
84381
- >\r
84382
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
84383
- </button>\r
84384
- </div>\r
84385
- </div>\r
84386
- \r
85078
+ ], template: `<div class="federal-update-maintain-delta-form">
85079
+ <federal-update-maintain-form
85080
+ class="federal-update-maintain-delta-form-content"
85081
+ [form]="form()"
85082
+ [task]="task()"
85083
+ [errors]="errors()"
85084
+ [isNote]="isNote()"
85085
+ [isSubmitted]="submitted()"
85086
+ [readonly]="false"
85087
+ />
85088
+
85089
+ <div class="federal-update-maintain-delta-form-actions">
85090
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
85091
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
85092
+ </button>
85093
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="save.emit()">
85094
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
85095
+ </button>
85096
+ <button
85097
+ class="submit"
85098
+ color="primary"
85099
+ mat-flat-button
85100
+ [disabled]="actionsDisabled()"
85101
+ (click)="onValidate()"
85102
+ >
85103
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
85104
+ </button>
85105
+ </div>
85106
+ </div>
85107
+
84387
85108
  `, 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"] }]
84388
85109
  }], null, null);
84389
85110
  })();
@@ -84458,32 +85179,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84458
85179
  MatButton,
84459
85180
  TranslatePipe,
84460
85181
  FederalUpdateMaintainFormComponent
84461
- ], template: `<div class="federal-update-maintain-preview-form">\r
84462
- <federal-update-maintain-form\r
84463
- class="federal-update-maintain-preview-form-content"\r
84464
- [form]="form()"\r
84465
- [task]="task()"\r
84466
- [errors]="errors()"\r
84467
- [isSubmitted]="false"\r
84468
- [readonly]="true"\r
84469
- />\r
84470
- \r
84471
- <div class="federal-update-maintain-preview-form-actions">\r
84472
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
84473
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
84474
- </button>\r
84475
- <button\r
84476
- class="submit"\r
84477
- color="primary"\r
84478
- mat-flat-button\r
84479
- [disabled]="actionsDisabled()"\r
84480
- (click)="file.emit()"\r
84481
- >\r
84482
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
84483
- </button>\r
84484
- </div>\r
84485
- </div>\r
84486
- \r
85182
+ ], template: `<div class="federal-update-maintain-preview-form">
85183
+ <federal-update-maintain-form
85184
+ class="federal-update-maintain-preview-form-content"
85185
+ [form]="form()"
85186
+ [task]="task()"
85187
+ [errors]="errors()"
85188
+ [isSubmitted]="false"
85189
+ [readonly]="true"
85190
+ />
85191
+
85192
+ <div class="federal-update-maintain-preview-form-actions">
85193
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
85194
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
85195
+ </button>
85196
+ <button
85197
+ class="submit"
85198
+ color="primary"
85199
+ mat-flat-button
85200
+ [disabled]="actionsDisabled()"
85201
+ (click)="file.emit()"
85202
+ >
85203
+ <span class="body-1-semibold">{{ 'File' | translate }}</span>
85204
+ </button>
85205
+ </div>
85206
+ </div>
85207
+
84487
85208
  `, 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"] }]
84488
85209
  }], null, null);
84489
85210
  })();
@@ -84593,7 +85314,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84593
85314
  })("file", function FederalComponent_Conditional_1_Conditional_1_Conditional_1_Template_federal_update_maintain_preview_form_file_0_listener() {
84594
85315
  \u0275\u0275restoreView(_r6);
84595
85316
  const ctx_r1 = \u0275\u0275nextContext(3);
84596
- return \u0275\u0275resetView(ctx_r1.nextStep.emit());
85317
+ return \u0275\u0275resetView(ctx_r1.onUmSubmit());
84597
85318
  });
84598
85319
  \u0275\u0275elementEnd();
84599
85320
  }
@@ -84603,42 +85324,20 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84603
85324
  \u0275\u0275property("task", currentTask_r3)("form", ctx_r1.umPreviewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
84604
85325
  }
84605
85326
  }
84606
- function FederalComponent_Conditional_1_Conditional_1_Conditional_2_Template(rf, ctx) {
84607
- if (rf & 1) {
84608
- const _r7 = \u0275\u0275getCurrentView();
84609
- \u0275\u0275elementStart(0, "terms-and-conditions", 8);
84610
- \u0275\u0275listener("prev", function FederalComponent_Conditional_1_Conditional_1_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
84611
- \u0275\u0275restoreView(_r7);
84612
- const ctx_r1 = \u0275\u0275nextContext(3);
84613
- return \u0275\u0275resetView(ctx_r1.nextStep.emit());
84614
- })("close", function FederalComponent_Conditional_1_Conditional_1_Conditional_2_Template_terms_and_conditions_close_0_listener() {
84615
- \u0275\u0275restoreView(_r7);
84616
- const ctx_r1 = \u0275\u0275nextContext(3);
84617
- return \u0275\u0275resetView(ctx_r1.close.emit());
84618
- })("confirm", function FederalComponent_Conditional_1_Conditional_1_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
84619
- \u0275\u0275restoreView(_r7);
84620
- const ctx_r1 = \u0275\u0275nextContext(3);
84621
- return \u0275\u0275resetView(ctx_r1.onUmSubmit($event));
84622
- });
84623
- \u0275\u0275elementEnd();
84624
- }
84625
- }
84626
85327
  function FederalComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
84627
85328
  if (rf & 1) {
84628
- \u0275\u0275template(0, FederalComponent_Conditional_1_Conditional_1_Conditional_0_Template, 1, 5, "federal-update-maintain-delta-form", 4)(1, FederalComponent_Conditional_1_Conditional_1_Conditional_1_Template, 1, 4, "federal-update-maintain-preview-form", 5)(2, FederalComponent_Conditional_1_Conditional_1_Conditional_2_Template, 1, 0, "terms-and-conditions");
85329
+ \u0275\u0275template(0, FederalComponent_Conditional_1_Conditional_1_Conditional_0_Template, 1, 5, "federal-update-maintain-delta-form", 4)(1, FederalComponent_Conditional_1_Conditional_1_Conditional_1_Template, 1, 4, "federal-update-maintain-preview-form", 5);
84629
85330
  }
84630
85331
  if (rf & 2) {
84631
85332
  const ctx_r1 = \u0275\u0275nextContext(2);
84632
85333
  \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
84633
85334
  \u0275\u0275advance();
84634
85335
  \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
84635
- \u0275\u0275advance();
84636
- \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
84637
85336
  }
84638
85337
  }
84639
85338
  function FederalComponent_Conditional_1_Template(rf, ctx) {
84640
85339
  if (rf & 1) {
84641
- \u0275\u0275template(0, FederalComponent_Conditional_1_Conditional_0_Template, 2, 1)(1, FederalComponent_Conditional_1_Conditional_1_Template, 3, 3);
85340
+ \u0275\u0275template(0, FederalComponent_Conditional_1_Conditional_0_Template, 2, 1)(1, FederalComponent_Conditional_1_Conditional_1_Template, 2, 2);
84642
85341
  }
84643
85342
  if (rf & 2) {
84644
85343
  const ctx_r1 = \u0275\u0275nextContext();
@@ -84666,7 +85365,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84666
85365
  init_FederalConstants();
84667
85366
  init_update_maintain_delta_form_component2();
84668
85367
  init_update_maintain_preview_form_component2();
84669
- init_terms_and_conditions_component();
85368
+ init_federal_update_maintain_helper();
85369
+ init_federal_update_maintain_enum();
84670
85370
  init_core();
84671
85371
  FederalComponent = class _FederalComponent {
84672
85372
  actionsDisabled = input(false);
@@ -84705,7 +85405,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84705
85405
  this.initialDeltaValue.set(untracked2(() => this.generateFederalFormationDeltaData()));
84706
85406
  }
84707
85407
  if (isUpdateMaintain(task)) {
84708
- this.umDeltaForm.set(new FormGroup({}));
85408
+ this.umDeltaForm.set(new FormGroup(FederalUpdateMaintainFormHelper.generateConfig(task)));
84709
85409
  this.umInitialDeltaValue.set(untracked2(() => this.generateFederalUpdateMaintainDeltaData()));
84710
85410
  }
84711
85411
  }
@@ -84725,7 +85425,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84725
85425
  }
84726
85426
  }
84727
85427
  if (isUpdateMaintain(task)) {
84728
- const form = new FormGroup({});
85428
+ const form = new FormGroup(FederalUpdateMaintainFormHelper.generateConfig(task));
84729
85429
  form.disable();
84730
85430
  this.umPreviewForm.set(form);
84731
85431
  if (untracked2(this.activeStep) === Step.Validate) {
@@ -84769,11 +85469,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84769
85469
  this.umInitialDeltaValue.set(delta);
84770
85470
  this.umSave.emit(delta);
84771
85471
  }
84772
- onUmSubmit(termsAndConditions) {
84773
- this.umSubmit.emit(termsAndConditions);
85472
+ onUmSubmit() {
85473
+ this.umSubmit.emit();
84774
85474
  }
84775
85475
  generateFederalUpdateMaintainDeltaData() {
84776
- return {};
85476
+ const formData = this.umDeltaForm().getRawValue();
85477
+ const annualReturnData = formData[FederalUpdateMaintainFormGroups.AnnualReturn] ?? {};
85478
+ const significantControlData = formData[FederalUpdateMaintainFormGroups.SignificantControl] ?? {};
85479
+ const iscIndividualsData = formData[FederalUpdateMaintainFormGroups.IndividualsWithSignificantControl] ?? [];
85480
+ const contactData = formData[FederalUpdateMaintainFormGroups.Contact] ?? {};
85481
+ const significantControlType = significantControlData[FederalFormationFormControl.SignificantControlType];
85482
+ return {
85483
+ corporationType: annualReturnData[FederalUpdateMaintainFormControl.CorporationType] ?? void 0,
85484
+ numberOfShareholders: annualReturnData[FederalUpdateMaintainFormControl.NumberOfShareholders] ?? void 0,
85485
+ individualsWithSignificantControl: {
85486
+ type: significantControlType,
85487
+ exclusionReason: significantControlType === ISCOptions.Excluded ? significantControlData[FederalFormationFormControl.ExclusionReason] : void 0,
85488
+ individuals: significantControlType === ISCOptions.ListISC ? iscIndividualsData.map((isc) => ({
85489
+ affiliationId: isc[FormationFormControls.Id],
85490
+ typeOfInterest: isc[FederalFormationFormControl.ISCTypeOfInterest],
85491
+ shareHoldingMethod: isc[FederalFormationFormControl.ISCShareHoldingMethod],
85492
+ jointHoldingType: isc[FederalFormationFormControl.ISCJointHoldingType],
85493
+ percentageInterest: isc[FederalFormationFormControl.ISCPercentageInterest],
85494
+ addressForService: isc[FederalFormationFormControl.AddressForService]
85495
+ })) : void 0
85496
+ },
85497
+ contactUid: contactData[FederalFormationFormControl.Contact]
85498
+ };
84777
85499
  }
84778
85500
  generateFederalFormationDeltaData() {
84779
85501
  const formData = this.deltaForm().getRawValue();
@@ -84878,22 +85600,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84878
85600
  static \u0275fac = function FederalComponent_Factory(__ngFactoryType__) {
84879
85601
  return new (__ngFactoryType__ || _FederalComponent)();
84880
85602
  };
84881
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _FederalComponent, selectors: [["federal"]], inputs: { actionsDisabled: [1, "actionsDisabled"], task: [1, "task"], errors: [1, "errors"], activeStep: [1, "activeStep"], isNote: [1, "isNote"] }, outputs: { close: "close", deltaDataChange: "deltaDataChange", file: "file", validate: "validate", nextStep: "nextStep", umValidate: "umValidate", umSave: "umSave", umSubmit: "umSubmit" }, decls: 2, vars: 2, consts: [[3, "documents", "selectedDocuments", "task", "errors", "actionsDisabled", "isNote", "form"], [3, "task", "errors", "actionsDisabled", "form", "selectedDocuments"], [3, "addDocuments", "removeDocument", "close", "validate", "save", "documents", "selectedDocuments", "task", "errors", "actionsDisabled", "isNote", "form"], [3, "close", "file", "task", "errors", "actionsDisabled", "form", "selectedDocuments"], [3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "prev", "close", "confirm"]], template: function FederalComponent_Template(rf, ctx) {
85603
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _FederalComponent, selectors: [["federal"]], inputs: { actionsDisabled: [1, "actionsDisabled"], task: [1, "task"], errors: [1, "errors"], activeStep: [1, "activeStep"], isNote: [1, "isNote"] }, outputs: { close: "close", deltaDataChange: "deltaDataChange", file: "file", validate: "validate", nextStep: "nextStep", umValidate: "umValidate", umSave: "umSave", umSubmit: "umSubmit" }, decls: 2, vars: 2, consts: [[3, "documents", "selectedDocuments", "task", "errors", "actionsDisabled", "isNote", "form"], [3, "task", "errors", "actionsDisabled", "form", "selectedDocuments"], [3, "addDocuments", "removeDocument", "close", "validate", "save", "documents", "selectedDocuments", "task", "errors", "actionsDisabled", "isNote", "form"], [3, "close", "file", "task", "errors", "actionsDisabled", "form", "selectedDocuments"], [3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"]], template: function FederalComponent_Template(rf, ctx) {
84882
85604
  if (rf & 1) {
84883
85605
  \u0275\u0275declareLet(0);
84884
85606
  \u0275\u0275template(1, FederalComponent_Conditional_1_Template, 2, 2);
84885
85607
  }
84886
85608
  if (rf & 2) {
84887
- const currentTask_r8 = \u0275\u0275storeLet(ctx.task());
85609
+ const currentTask_r7 = \u0275\u0275storeLet(ctx.task());
84888
85610
  \u0275\u0275advance();
84889
- \u0275\u0275conditional(currentTask_r8 ? 1 : -1);
85611
+ \u0275\u0275conditional(currentTask_r7 ? 1 : -1);
84890
85612
  }
84891
85613
  }, dependencies: [
84892
85614
  FederalIncorporationDeltaFormComponent,
84893
85615
  FederalIncorporationPreviewFormComponent,
84894
85616
  FederalUpdateMaintainDeltaFormComponent,
84895
- FederalUpdateMaintainPreviewFormComponent,
84896
- TermsAndConditionsComponent
85617
+ FederalUpdateMaintainPreviewFormComponent
84897
85618
  ], styles: ["\n\n[_nghost-%COMP%] .federal[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n/*# sourceMappingURL=federal.component.css.map */"], changeDetection: 0 });
84898
85619
  };
84899
85620
  (() => {
@@ -84903,13 +85624,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84903
85624
  FederalIncorporationDeltaFormComponent,
84904
85625
  FederalIncorporationPreviewFormComponent,
84905
85626
  FederalUpdateMaintainDeltaFormComponent,
84906
- FederalUpdateMaintainPreviewFormComponent,
84907
- TermsAndConditionsComponent
84908
- ], 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)="nextStep.emit()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.TermsAndConditions) {\r\n <terms-and-conditions\r\n (prev)="nextStep.emit()"\r\n (close)="close.emit()"\r\n (confirm)="onUmSubmit($event)"\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"] }]
85627
+ FederalUpdateMaintainPreviewFormComponent
85628
+ ], 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"] }]
84909
85629
  }], () => [], null);
84910
85630
  })();
84911
85631
  (() => {
84912
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalComponent, { className: "FederalComponent", filePath: "src/app/components/federal/federal.component.ts", lineNumber: 39 });
85632
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalComponent, { className: "FederalComponent", filePath: "src/app/components/federal/federal.component.ts", lineNumber: 43 });
84913
85633
  })();
84914
85634
  }
84915
85635
  });
@@ -84936,9 +85656,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84936
85656
  const url = signature.proxyApiUrl;
84937
85657
  const req = requestBody;
84938
85658
  const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, req, {
84939
- "ApiKey": "a759101c-aeac-4fa6-90dc-8b56f01b2939",
85659
+ // 'ApiKey': 'a759101c-aeac-4fa6-90dc-8b56f01b2939',
84940
85660
  Authorization: `Bearer ${signature.jwtToken}`,
84941
- "AccountKey": "1c3e3a6e-2a8b-4dd2-b906-aec25a1a7227",
85661
+ // 'AccountKey': '1c3e3a6e-2a8b-4dd2-b906-aec25a1a7227',
84942
85662
  "x-target-url": `${this.config.ONAOI}api/Incorporation`,
84943
85663
  "x-access-token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJtaWNoZWwubGF2b2llQGF0aGVubmlhbi5jb20iLCJzdWIiOiI2N2RkY2IwNWRjNDAzMjg0ZTdmYTA3ZmIiLCJpYXQiOjE3NzAyMTI2OTQsImV4cCI6MTc3MDIxOTg5NCwiYmlkIjoiIiwiYXV0IjoidHJ1ZSIsIm9yZyI6Imh0dHBzOi8vb2xpdmUtMS50ZXN0LmF0aGVubmlhbi5jb20iLCJwZXIiOiIifQ.0QsFPBVGTA8JyacfEDx4qz5XVQB3AeL2-uCBiCs9qF0",
84944
85664
  Cookie: "AWSALB=PpMRL+JDLimOntn4FPEpJ2ZX9rtRbn/7wOE1Ntyq9RGhYPgnJpjAN8xr8R5TyM4v1tBvC62q0YWVR2fQwDLLKWIIQm+U79VccsjiMHRffNr6an9tJNOOdpX94R53; AWSALBCORS=PpMRL+JDLimOntn4FPEpJ2ZX9rtRbn/7wOE1Ntyq9RGhYPgnJpjAN8xr8R5TyM4v1tBvC62q0YWVR2fQwDLLKWIIQm+U79VccsjiMHRffNr6an9tJNOOdpX94R53"
@@ -85009,15 +85729,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85009
85729
  serviceOrderId: payload.ServiceOrderId ?? serviceOrderId
85010
85730
  });
85011
85731
  if (payload?.ReceiptPdf) {
85012
- signature.filingValidateSuccess?.({
85013
- searchOrFilingType: "ontarioIncorporation",
85014
- serviceOrderId,
85015
- validatedOn: /* @__PURE__ */ new Date(),
85016
- provider: "obr",
85017
- draftPdf: payload.ReceiptPdf,
85018
- documentName: "Incorporation Receipt",
85019
- documentType: "pdf"
85020
- });
85732
+ const searchOrFilingType = getSearchOrFilingType(signature.task);
85733
+ if (searchOrFilingType) {
85734
+ signature.filingValidateSuccess?.({
85735
+ searchOrFilingType,
85736
+ serviceOrderId,
85737
+ validatedOn: /* @__PURE__ */ new Date(),
85738
+ provider: "obr",
85739
+ draftPdf: payload.ReceiptPdf,
85740
+ documentName: "Incorporation Receipt",
85741
+ documentType: "pdf"
85742
+ });
85743
+ }
85021
85744
  }
85022
85745
  return payload;
85023
85746
  });
@@ -85038,6 +85761,116 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85038
85761
  }
85039
85762
  });
85040
85763
 
85764
+ // src/app/services/federal/federal-update-maintain.service.ts
85765
+ var FederalUpdateMaintainService;
85766
+ var init_federal_update_maintain_service = __esm({
85767
+ "src/app/services/federal/federal-update-maintain.service.ts"() {
85768
+ init_core();
85769
+ init_common_utils();
85770
+ init_core();
85771
+ FederalUpdateMaintainService = class _FederalUpdateMaintainService {
85772
+ config;
85773
+ setConfig(config2) {
85774
+ this.config = config2;
85775
+ }
85776
+ validate(_0, _1) {
85777
+ return __async(this, arguments, function* (signature, requestBody, opts = {}) {
85778
+ if (!isUpdateMaintain(signature.task)) {
85779
+ throw new Error(`Expected Maintain task, got: ${signature.task?._taskType}`);
85780
+ }
85781
+ ensureAuthInputs(signature);
85782
+ const fetchFn = opts.fetchImpl ?? fetch;
85783
+ const url = signature.proxyApiUrl;
85784
+ const targetPath = opts.endpointPath ?? "/api/FilingCD";
85785
+ const req = requestBody;
85786
+ const baseUrl = this.config.ONFiling;
85787
+ if (!baseUrl) {
85788
+ throw new Error("FederalUpdateMaintainService: missing EnvConfig.ONFiling/ONAOI");
85789
+ }
85790
+ const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, req, __spreadValues({
85791
+ "x-target-url": joinUrl(baseUrl, targetPath)
85792
+ }, opts.headers ?? {})));
85793
+ const raw = yield resp.text();
85794
+ const parsed = tryParseJson(raw);
85795
+ if (!parsed.ok) {
85796
+ const err2 = new Error(`eCore returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
85797
+ err2.httpStatus = resp.status;
85798
+ throw err2;
85799
+ }
85800
+ const payload = unwrapRequestResults(parsed.value);
85801
+ if (resp.ok) {
85802
+ return payload;
85803
+ }
85804
+ const err = buildValidationError(resp.status, payload);
85805
+ err.validateResult = payload;
85806
+ err.httpStatus = resp.status;
85807
+ throw err;
85808
+ });
85809
+ }
85810
+ submitRequest(_0, _1) {
85811
+ return __async(this, arguments, function* (signature, serviceOrderId, opts = {}) {
85812
+ ensureAuthInputs(signature);
85813
+ if (!serviceOrderId) {
85814
+ throw new Error("Missing serviceOrderId.");
85815
+ }
85816
+ const fetchFn = opts.fetchImpl ?? fetch;
85817
+ const url = signature.proxyApiUrl;
85818
+ const resp = yield fetchWithJwtRetry(signature, () => fetchFn(url, {
85819
+ method: "POST",
85820
+ headers: __spreadValues({
85821
+ Authorization: `Bearer ${signature.jwtToken}`,
85822
+ "x-target-url": `${this.config.ONFiling}api/${encodeURIComponent(serviceOrderId)}/submit`
85823
+ }, opts.headers ?? {})
85824
+ }));
85825
+ const raw = yield resp.text();
85826
+ const parsed = tryParseJson(raw);
85827
+ if (!parsed.ok) {
85828
+ if (resp.ok) {
85829
+ const minimal = {
85830
+ Status: "Success",
85831
+ ServiceOrderId: serviceOrderId,
85832
+ raw
85833
+ };
85834
+ signature.filingSubmitSuccess?.({
85835
+ filedOn: /* @__PURE__ */ new Date(),
85836
+ serviceOrderId
85837
+ });
85838
+ return minimal;
85839
+ }
85840
+ const err = new Error(`eCore submit returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
85841
+ err.httpStatus = resp.status;
85842
+ throw err;
85843
+ }
85844
+ const payload = unwrapRequestResults(parsed.value);
85845
+ if (!resp.ok) {
85846
+ const err = buildGenericError(resp.status, "eCore submit failed", payload);
85847
+ err.submitResult = payload;
85848
+ err.httpStatus = resp.status;
85849
+ throw err;
85850
+ }
85851
+ signature.filingSubmitSuccess?.({
85852
+ filedOn: /* @__PURE__ */ new Date(),
85853
+ serviceOrderId: payload.ServiceOrderId ?? serviceOrderId
85854
+ });
85855
+ return payload;
85856
+ });
85857
+ }
85858
+ static \u0275fac = function FederalUpdateMaintainService_Factory(__ngFactoryType__) {
85859
+ return new (__ngFactoryType__ || _FederalUpdateMaintainService)();
85860
+ };
85861
+ static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _FederalUpdateMaintainService, factory: _FederalUpdateMaintainService.\u0275fac, providedIn: "root" });
85862
+ };
85863
+ (() => {
85864
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FederalUpdateMaintainService, [{
85865
+ type: Injectable,
85866
+ args: [{
85867
+ providedIn: "root"
85868
+ }]
85869
+ }], null, null);
85870
+ })();
85871
+ }
85872
+ });
85873
+
85041
85874
  // src/app/services/ontario/ontario-update-maintain.service.ts
85042
85875
  var OntarioUpdateMaintainService;
85043
85876
  var init_ontario_update_maintain_service = __esm({
@@ -85166,15 +85999,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85166
85999
  }
85167
86000
  const result = parsed.value;
85168
86001
  if (result?.Draft) {
85169
- signature.filingValidateSuccess?.({
85170
- searchOrFilingType: "ontarioInitialReturn",
85171
- serviceOrderId: requestBody.CurrentDataServiceOrderId,
85172
- validatedOn: /* @__PURE__ */ new Date(),
85173
- provider: "obr",
85174
- draftPdf: result.Draft,
85175
- documentName: opts?.documentName ?? "Initial Return Draft",
85176
- documentType: "pdf"
85177
- });
86002
+ const searchOrFilingType = getSearchOrFilingType(signature.task);
86003
+ if (searchOrFilingType) {
86004
+ signature.filingValidateSuccess?.({
86005
+ searchOrFilingType,
86006
+ serviceOrderId: requestBody.CurrentDataServiceOrderId,
86007
+ validatedOn: /* @__PURE__ */ new Date(),
86008
+ provider: "obr",
86009
+ draftPdf: result.Draft,
86010
+ documentName: opts?.documentName ?? "Initial Return Draft",
86011
+ documentType: "pdf"
86012
+ });
86013
+ }
85178
86014
  }
85179
86015
  if (parsed.ok) {
85180
86016
  return result;
@@ -85517,7 +86353,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85517
86353
  LastName: affiliation.participant._profile.lastName,
85518
86354
  DateOfBirth: affiliation.participant._profile.date_of_birth,
85519
86355
  CountriesOfCitizenship: (affiliation.participant?._profile?.["citizenships"] ?? []).map((c) => normalizeCountryCode(c)),
85520
- CountriesOfResidence: (affiliation.participant?._profile?.tax_residency ?? []).map((tr) => normalizeCountryCode(tr.country)),
86356
+ CountriesOfResidence: normalizeCountryCode(affiliation.participant?._profile?.tax_residency?.country),
85521
86357
  Address: address ? mapAddress(address) : void 0,
85522
86358
  ServiceAddress: serviceAddress ? mapAddress(serviceAddress) : void 0,
85523
86359
  TypeOfInterest: deltaData.typeOfInterest,
@@ -86108,6 +86944,112 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86108
86944
  }
86109
86945
  });
86110
86946
 
86947
+ // src/app/helpers/mappers/federal-update-maintain.mapper.ts
86948
+ function buildFederalUpdateMaintainValidationRequest(deltaData, task) {
86949
+ const significantControl = deltaData.individualsWithSignificantControl;
86950
+ const isListIsc = significantControl?.type === ISCOptions.ListISC;
86951
+ const corporationName = task?.entity?._profile?.name ?? "";
86952
+ const corporationNumber = task?.entity?._profile?.corp_number ?? "";
86953
+ const annualComplianceTask = task;
86954
+ const referenceDate = annualComplianceTask?._ext?._reference_date;
86955
+ const annualReturnYear = referenceDate ? new Date(referenceDate).getFullYear().toString() : (/* @__PURE__ */ new Date()).getFullYear().toString();
86956
+ const agmDate = annualComplianceTask?._ext?._agm_date;
86957
+ const annualMeetingDate = agmDate ? new Date(agmDate).toISOString().split("T")[0] : void 0;
86958
+ let signatory;
86959
+ if (task && deltaData.signatoryUid) {
86960
+ const signatoryAff = task.entity.affiliations.find((a) => a._id === deltaData.signatoryUid);
86961
+ if (signatoryAff?.participant) {
86962
+ signatory = {
86963
+ Name: signatoryAff.participant._profile?.name || "",
86964
+ Phone: signatoryAff.participant.communicationPhone || ""
86965
+ };
86966
+ }
86967
+ }
86968
+ let individualsWithSignificantControl;
86969
+ if (task && isListIsc && significantControl?.individuals?.length) {
86970
+ const iscAffiliations = getIndividualWithSignificantControl(task.entity.affiliations);
86971
+ const deltaMap = new Map((significantControl.individuals ?? []).map((d) => [d.affiliationId, d]));
86972
+ individualsWithSignificantControl = iscAffiliations.filter((aff) => deltaMap.has(aff._id)).map((aff) => transformISC(aff, deltaMap.get(aff._id)));
86973
+ }
86974
+ return {
86975
+ CorporationName: corporationName,
86976
+ CorporationNumber: corporationNumber,
86977
+ FilingType: "1",
86978
+ Filing: {
86979
+ AnnualReturn: {
86980
+ AnnualReturnYear: annualReturnYear,
86981
+ AnnualMeetingDate: annualMeetingDate,
86982
+ TypeOfCorporation: deltaData.corporationType,
86983
+ NumberOfShareholders: deltaData.numberOfShareholders,
86984
+ Signatory: signatory,
86985
+ SignificantControlType: significantControl?.type,
86986
+ ExclusionReason: significantControl?.exclusionReason,
86987
+ IndividualsWithSignificantControl: individualsWithSignificantControl
86988
+ }
86989
+ }
86990
+ };
86991
+ }
86992
+ function transformISC(affiliation, deltaData) {
86993
+ const address = affiliation.addresses[0] || affiliation.parent_affiliation?.addresses?.[0];
86994
+ const allAddresses = [
86995
+ ...affiliation.addresses ?? [],
86996
+ ...affiliation.parent_affiliation?.addresses ?? []
86997
+ ];
86998
+ const serviceAddress = deltaData.addressForService ? allAddresses.find((a) => a.uid === deltaData.addressForService) : void 0;
86999
+ return {
87000
+ FirstName: affiliation.participant._profile.firstName ?? "",
87001
+ MiddleName: affiliation.participant._profile.middleName ?? "",
87002
+ LastName: affiliation.participant._profile.lastName ?? "",
87003
+ DateOfBirth: affiliation.participant._profile.date_of_birth,
87004
+ CountriesOfCitizenship: (affiliation.participant?._profile?.["citizenships"] ?? []).map((c) => normalizeCountryCode(c)),
87005
+ CountriesOfResidence: [normalizeCountryCode(affiliation.participant?._profile?.tax_residency?.country)],
87006
+ Address: address ? mapAddress2(address) : void 0,
87007
+ ServiceAddress: serviceAddress ? mapServiceAddress(serviceAddress) : void 0,
87008
+ TypeOfInterest: deltaData.typeOfInterest ?? "",
87009
+ ShareHoldingMethod: deltaData.shareHoldingMethod ?? "",
87010
+ JointHoldingType: deltaData.jointHoldingType ?? "",
87011
+ PercentageInterest: deltaData.percentageInterest ?? "",
87012
+ EffectiveDate: affiliation.start_date
87013
+ };
87014
+ }
87015
+ function mapAddress2(address) {
87016
+ const country = normalizeCountryCode(address?.country ?? "");
87017
+ const provinceState = country === "CA" ? CANProvinceToCode(address?.province_state) : country === "US" ? USStateToCode(address?.province_state) : address?.province_state ?? "";
87018
+ return {
87019
+ StreetNumber: address?.components?.find((c) => c.name === "Street Number Only")?.value || "",
87020
+ StreetName: address?.components?.find((c) => c.name === "Street Only")?.value || "",
87021
+ UnitNumber: address?.components?.find((c) => c.name === "Suite/Apartment")?.value || "",
87022
+ AddressLine2: "",
87023
+ City: address?.city ?? "",
87024
+ ProvinceState: provinceState,
87025
+ Code: address?.postal_zip ?? "",
87026
+ Country: country
87027
+ };
87028
+ }
87029
+ function mapServiceAddress(address) {
87030
+ const country = normalizeCountryCode(address?.country ?? "");
87031
+ const provinceState = country === "CA" ? CANProvinceToCode(address?.province_state) : country === "US" ? USStateToCode(address?.province_state) : address?.province_state ?? "";
87032
+ const streetOnly = address?.components?.find((c) => c.name === "Street Only")?.value || "";
87033
+ const parsed = parseStreetAddress(streetOnly);
87034
+ return {
87035
+ StreetNumber: address?.components?.find((c) => c.name === "Street Number Only")?.value || "",
87036
+ StreetName: parsed.StreetName || "",
87037
+ UnitNumber: address?.components?.find((c) => c.name === "Suite/Apartment")?.value || "",
87038
+ AddressLine2: "",
87039
+ City: address?.city ?? "",
87040
+ ProvinceState: provinceState,
87041
+ Code: address?.postal_zip ?? "",
87042
+ Country: country
87043
+ };
87044
+ }
87045
+ var init_federal_update_maintain_mapper = __esm({
87046
+ "src/app/helpers/mappers/federal-update-maintain.mapper.ts"() {
87047
+ init_address_utils();
87048
+ init_common_utils();
87049
+ init_FederalConstants();
87050
+ }
87051
+ });
87052
+
86111
87053
  // src/app/components/filing/filing.component.ts
86112
87054
  function FilingComponent_Conditional_7_Template(rf, ctx) {
86113
87055
  if (rf & 1) {
@@ -86199,6 +87141,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86199
87141
  \u0275\u0275restoreView(_r6);
86200
87142
  const ctx_r2 = \u0275\u0275nextContext(2);
86201
87143
  return \u0275\u0275resetView(ctx_r2.onFederalValidate($event));
87144
+ })("umSave", function FilingComponent_Conditional_10_Conditional_1_Template_federal_umSave_0_listener($event) {
87145
+ \u0275\u0275restoreView(_r6);
87146
+ const ctx_r2 = \u0275\u0275nextContext(2);
87147
+ return \u0275\u0275resetView(ctx_r2.onFederalUpdateMaintainSave($event));
87148
+ })("umValidate", function FilingComponent_Conditional_10_Conditional_1_Template_federal_umValidate_0_listener($event) {
87149
+ \u0275\u0275restoreView(_r6);
87150
+ const ctx_r2 = \u0275\u0275nextContext(2);
87151
+ return \u0275\u0275resetView(ctx_r2.onFederalUpdateMaintainValidate($event));
87152
+ })("umSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_federal_umSubmit_0_listener() {
87153
+ \u0275\u0275restoreView(_r6);
87154
+ const ctx_r2 = \u0275\u0275nextContext(2);
87155
+ return \u0275\u0275resetView(ctx_r2.onFederalUpdateMaintainSubmit());
86202
87156
  })("nextStep", function FilingComponent_Conditional_10_Conditional_1_Template_federal_nextStep_0_listener() {
86203
87157
  \u0275\u0275restoreView(_r6);
86204
87158
  const ctx_r2 = \u0275\u0275nextContext(2);
@@ -86248,11 +87202,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86248
87202
  init_icon();
86249
87203
  init_federal_component();
86250
87204
  init_federal_formation_service();
87205
+ init_federal_update_maintain_service();
86251
87206
  init_ontario_update_maintain_service();
86252
87207
  init_initial_return_payload_helper();
86253
87208
  init_ontario_formation_mapper();
86254
87209
  init_federal_formation_mapper();
86255
87210
  init_ontario_update_maintain_mapper();
87211
+ init_federal_update_maintain_mapper();
86256
87212
  init_core();
86257
87213
  init_button();
86258
87214
  FilingComponent = class _FilingComponent {
@@ -86299,6 +87255,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86299
87255
  isInitialReturnTask = isUpdateMaintain;
86300
87256
  ontarioFormationService = inject(OntarioFormationService);
86301
87257
  federalFormationService = inject(FederalFormationService);
87258
+ federalUpdateMaintainService = inject(FederalUpdateMaintainService);
86302
87259
  updateMaintainService = inject(OntarioUpdateMaintainService);
86303
87260
  translate = inject(TranslateService);
86304
87261
  isEditButton = computed(() => {
@@ -86308,10 +87265,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86308
87265
  }
86309
87266
  return false;
86310
87267
  });
86311
- editSectionHeight = 51;
87268
+ editSectionHeight = "51px";
86312
87269
  modalHeight = computed(() => {
86313
- const height = parseInt(this.height(), 10);
86314
- return `${this.isEditButton() ? height - this.editSectionHeight : height}px`;
87270
+ const height = this.height();
87271
+ return this.isEditButton() ? `calc(${height} - ${this.editSectionHeight})` : height;
86315
87272
  });
86316
87273
  dataWasChanged = signal(false);
86317
87274
  steps = Step;
@@ -86349,6 +87306,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86349
87306
  this.updateMaintainService.setConfig(config2);
86350
87307
  this.ontarioFormationService.setConfig(config2);
86351
87308
  this.federalFormationService.setConfig(config2);
87309
+ this.federalUpdateMaintainService.setConfig(config2);
86352
87310
  }
86353
87311
  });
86354
87312
  addStylesVariables();
@@ -86364,7 +87322,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86364
87322
  if (!task) {
86365
87323
  return;
86366
87324
  }
86367
- if (isUpdateMaintain(task)) {
87325
+ if (isUpdateMaintain(task) && isOntarioTask(task)) {
86368
87326
  if (deltaData.serviceOrderId) {
86369
87327
  this.defineInitialStep();
86370
87328
  }
@@ -86397,8 +87355,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86397
87355
  const requestBody = buildOntarioFormationValidateRequest(signature.task, deltaData);
86398
87356
  const response = yield this.ontarioFormationService.validate(signature, requestBody, this.validateOptions() ?? {});
86399
87357
  const serviceOrderId = response["ServiceOrderId"] ?? "";
87358
+ const searchOrFilingType = getSearchOrFilingType(signature.task);
86400
87359
  this.filingValidateSuccess.emit({
86401
- searchOrFilingType: "ontarioIncorporation",
87360
+ searchOrFilingType,
86402
87361
  serviceOrderId: response["ServiceOrderId"] ?? "",
86403
87362
  validatedOn: /* @__PURE__ */ new Date(),
86404
87363
  provider: "obr",
@@ -86430,8 +87389,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86430
87389
  const requestBody = buildFederalFormationValidateRequest(signature.task, deltaData);
86431
87390
  const response = yield this.federalFormationService.validate(signature, requestBody, this.validateOptions() ?? {});
86432
87391
  const serviceOrderId = response["ServiceOrderId"] ?? "";
87392
+ const searchOrFilingType = getSearchOrFilingType(signature.task);
86433
87393
  this.filingValidateSuccess.emit({
86434
- searchOrFilingType: "ontarioIncorporation",
87394
+ searchOrFilingType,
86435
87395
  serviceOrderId: response["ServiceOrderId"] ?? "",
86436
87396
  validatedOn: /* @__PURE__ */ new Date(),
86437
87397
  provider: "obr",
@@ -86453,6 +87413,80 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86453
87413
  }
86454
87414
  });
86455
87415
  }
87416
+ /**
87417
+ * Federal Update/Maintain (Annual Return / NOC / Initial Return) Save Changes.
87418
+ * For now we just propagate delta data up to the host via deltaDataChange.
87419
+ */
87420
+ onFederalUpdateMaintainSave(deltaData) {
87421
+ this.deltaDataChange.emit(deltaData);
87422
+ }
87423
+ /**
87424
+ * Federal Update/Maintain validate. Backend integration is not implemented yet;
87425
+ * still propagate delta so the host can persist it.
87426
+ */
87427
+ onFederalUpdateMaintainValidate(deltaData) {
87428
+ const task = this.task();
87429
+ const signature = this._signature();
87430
+ if (!task || !signature) {
87431
+ return;
87432
+ }
87433
+ const requestBody = buildFederalUpdateMaintainValidationRequest(deltaData, task);
87434
+ this.isLoading.set(true);
87435
+ this.errors.set([]);
87436
+ this.federalUpdateMaintainService.validate(signature, requestBody, this.validateOptions() ?? {}).then((response) => {
87437
+ const serviceOrderId = response?.ServiceOrderId ?? response?.["ServiceOrderId"] ?? "";
87438
+ const draftPdf = response?.Draft ?? response?.["Draft"] ?? "";
87439
+ const searchOrFilingType = getSearchOrFilingType(task);
87440
+ if (draftPdf && searchOrFilingType) {
87441
+ this.filingValidateSuccess.emit({
87442
+ searchOrFilingType,
87443
+ serviceOrderId,
87444
+ validatedOn: /* @__PURE__ */ new Date(),
87445
+ provider: "obr",
87446
+ draftPdf,
87447
+ documentName: this.validateOptions()?.documentName ?? "Federal Draft",
87448
+ documentType: "pdf"
87449
+ });
87450
+ }
87451
+ this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
87452
+ serviceOrderId,
87453
+ validatedData: JSON.parse(JSON.stringify(requestBody))
87454
+ }));
87455
+ this.close.emit();
87456
+ }).catch((response) => {
87457
+ console.error(response);
87458
+ const errors = JSON.parse(JSON.stringify(response))?.validateResult?.["Errors"];
87459
+ if (errors?.length) {
87460
+ this.errors.set(this.parseError(errors));
87461
+ }
87462
+ }).finally(() => {
87463
+ this.isLoading.set(false);
87464
+ });
87465
+ }
87466
+ /**
87467
+ * Federal Update/Maintain submit/file. Backend integration pending.
87468
+ * Keep the handler to avoid dropped events.
87469
+ */
87470
+ onFederalUpdateMaintainSubmit() {
87471
+ const signature = this._signature();
87472
+ const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
87473
+ if (!signature || !serviceOrderId) {
87474
+ return;
87475
+ }
87476
+ this.isLoading.set(true);
87477
+ this.errors.set([]);
87478
+ this.federalUpdateMaintainService.submitRequest(signature, serviceOrderId, this.validateOptions() ?? {}).then(() => {
87479
+ this.close.emit();
87480
+ }).catch((response) => {
87481
+ console.error(response);
87482
+ const errors = JSON.parse(JSON.stringify(response))?.validateResult?.["Errors"];
87483
+ if (errors?.length) {
87484
+ this.errors.set(this.parseError(errors));
87485
+ }
87486
+ }).finally(() => {
87487
+ this.isLoading.set(false);
87488
+ });
87489
+ }
86456
87490
  onFederalFormationSubmit() {
86457
87491
  return __async(this, null, function* () {
86458
87492
  try {
@@ -86530,8 +87564,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86530
87564
  if (signature) {
86531
87565
  try {
86532
87566
  const requestBody = buildOntarioUpdateMaintainValidationRequest(task, deltaData, this.serviceOrderId);
86533
- yield this.updateMaintainService.submitInitialReturnValidationToECore(signature, requestBody, this.validateOptions());
87567
+ const response = yield this.updateMaintainService.submitInitialReturnValidationToECore(signature, requestBody, this.validateOptions());
86534
87568
  this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), { serviceOrderId: this.serviceOrderId, validatedData: JSON.parse(JSON.stringify(requestBody)) }));
87569
+ const draftPdf = response?.Draft ?? response?.["Draft"] ?? "";
87570
+ const searchOrFilingType = getSearchOrFilingType(task);
87571
+ if (searchOrFilingType) {
87572
+ this.filingValidateSuccess.emit({
87573
+ searchOrFilingType,
87574
+ serviceOrderId: this.serviceOrderId,
87575
+ validatedOn: /* @__PURE__ */ new Date(),
87576
+ provider: "obr",
87577
+ draftPdf,
87578
+ documentName: this.validateOptions()?.documentName ?? "Federal Draft",
87579
+ documentType: "pdf"
87580
+ });
87581
+ }
86535
87582
  this.close.emit();
86536
87583
  } catch (response) {
86537
87584
  const errors = JSON.parse(JSON.stringify(response))?.validateResult?.["Errors"];
@@ -86634,6 +87681,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86634
87681
  }
86635
87682
  return buildOntarioUpdateMaintainValidationRequest(task, deltaData, serviceOrderId);
86636
87683
  }
87684
+ if (isUpdateMaintain(task)) {
87685
+ return buildFederalUpdateMaintainValidationRequest(deltaData, task);
87686
+ }
86637
87687
  return void 0;
86638
87688
  }
86639
87689
  static \u0275fac = function FilingComponent_Factory(__ngFactoryType__) {
@@ -86647,7 +87697,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86647
87697
  if (rf & 2) {
86648
87698
  \u0275\u0275queryAdvance(2);
86649
87699
  }
86650
- }, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 11, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "deltaDataChange", "file", "validate", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
87700
+ }, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 11, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
86651
87701
  if (rf & 1) {
86652
87702
  const _r1 = \u0275\u0275getCurrentView();
86653
87703
  \u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
@@ -86702,75 +87752,78 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86702
87752
  MatIcon,
86703
87753
  FederalComponent,
86704
87754
  OntarioComponent
86705
- ], encapsulation: ViewEncapsulation.ShadowDom, template: `<div [style.height]="modalHeight()" class="filing">\r
86706
- <div class="filing-title">\r
86707
- <h1 class="filing-title-text">{{title() | translate}}</h1>\r
86708
- <mat-icon (click)="onClose()" class="filing-title-action">close</mat-icon>\r
86709
- </div>\r
86710
- \r
86711
- @if (isEditButton()) {\r
86712
- <div class="filing-header">\r
86713
- <button\r
86714
- mat-stroked-button\r
86715
- [disabled]="isLoading()"\r
86716
- (click)="onEditClick()"\r
86717
- >\r
86718
- {{ 'Edit' | translate }}\r
86719
- </button>\r
86720
- </div>\r
86721
- }\r
86722
- \r
86723
- <div [class.edit]="isEditButton()" class="filing-content">\r
86724
- @let currentTask = task();\r
86725
- \r
86726
- @if (currentTask) {\r
86727
- @if (isOntarioTask(currentTask)) {\r
86728
- <ontario\r
86729
- [task]="currentTask"\r
86730
- [activeStep]="activeStep()"\r
86731
- [isNote]="dataWasChanged()"\r
86732
- [actionsDisabled]="isLoading()"\r
86733
- [errors]="errors()"\r
86734
- [prevData]="prevData()"\r
86735
- (close)="close.emit()"\r
86736
- (formationValidate)="onOntarioFormationValidate($event)"\r
86737
- (saveFormationDeltaData)="deltaDataChange.emit($event)"\r
86738
- (formationSubmit)="onOntarioFormationSubmit()"\r
86739
- (nextStep)="onNextStepClick()"\r
86740
- (prevStep)="onOntarioPrevStep()"\r
86741
- [irValidationConfig]="validationConfig()"\r
86742
- (irValidate)="validateAndFileInitialReturnTask($event)"\r
86743
- (saveIrDeltaData)="deltaDataChange.emit($event)"\r
86744
- (irSubmit)="onInitialReturnSubmit()"\r
86745
- />\r
86746
- } @else {\r
86747
- <federal\r
86748
- [actionsDisabled]="isLoading()"\r
86749
- [isNote]="dataWasChanged()"\r
86750
- [activeStep]="activeStep()"\r
86751
- [task]="currentTask"\r
86752
- [errors]="errors()"\r
86753
- (close)="close.emit()"\r
86754
- (deltaDataChange)="deltaDataChange.emit($event)"\r
86755
- (file)="onFederalFormationSubmit()"\r
86756
- (validate)="onFederalValidate($event)"\r
86757
- (nextStep)="defineInitialStep()"\r
86758
- />\r
86759
- }\r
86760
- }\r
86761
- \r
86762
- @if (isLoading()) {\r
86763
- <div class="filing-content-loading">\r
86764
- <mat-spinner [diameter]="40" />\r
86765
- </div>\r
86766
- }\r
86767
- </div>\r
86768
- </div>\r
87755
+ ], encapsulation: ViewEncapsulation.ShadowDom, template: `<div [style.height]="modalHeight()" class="filing">
87756
+ <div class="filing-title">
87757
+ <h1 class="filing-title-text">{{title() | translate}}</h1>
87758
+ <mat-icon (click)="onClose()" class="filing-title-action">close</mat-icon>
87759
+ </div>
87760
+
87761
+ @if (isEditButton()) {
87762
+ <div class="filing-header">
87763
+ <button
87764
+ mat-stroked-button
87765
+ [disabled]="isLoading()"
87766
+ (click)="onEditClick()"
87767
+ >
87768
+ {{ 'Edit' | translate }}
87769
+ </button>
87770
+ </div>
87771
+ }
87772
+
87773
+ <div [class.edit]="isEditButton()" class="filing-content">
87774
+ @let currentTask = task();
87775
+
87776
+ @if (currentTask) {
87777
+ @if (isOntarioTask(currentTask)) {
87778
+ <ontario
87779
+ [task]="currentTask"
87780
+ [activeStep]="activeStep()"
87781
+ [isNote]="dataWasChanged()"
87782
+ [actionsDisabled]="isLoading()"
87783
+ [errors]="errors()"
87784
+ [prevData]="prevData()"
87785
+ (close)="close.emit()"
87786
+ (formationValidate)="onOntarioFormationValidate($event)"
87787
+ (saveFormationDeltaData)="deltaDataChange.emit($event)"
87788
+ (formationSubmit)="onOntarioFormationSubmit()"
87789
+ (nextStep)="onNextStepClick()"
87790
+ (prevStep)="onOntarioPrevStep()"
87791
+ [irValidationConfig]="validationConfig()"
87792
+ (irValidate)="validateAndFileInitialReturnTask($event)"
87793
+ (saveIrDeltaData)="deltaDataChange.emit($event)"
87794
+ (irSubmit)="onInitialReturnSubmit()"
87795
+ />
87796
+ } @else {
87797
+ <federal
87798
+ [actionsDisabled]="isLoading()"
87799
+ [isNote]="dataWasChanged()"
87800
+ [activeStep]="activeStep()"
87801
+ [task]="currentTask"
87802
+ [errors]="errors()"
87803
+ (close)="close.emit()"
87804
+ (deltaDataChange)="deltaDataChange.emit($event)"
87805
+ (file)="onFederalFormationSubmit()"
87806
+ (validate)="onFederalValidate($event)"
87807
+ (umSave)="onFederalUpdateMaintainSave($event)"
87808
+ (umValidate)="onFederalUpdateMaintainValidate($event)"
87809
+ (umSubmit)="onFederalUpdateMaintainSubmit()"
87810
+ (nextStep)="defineInitialStep()"
87811
+ />
87812
+ }
87813
+ }
87814
+
87815
+ @if (isLoading()) {
87816
+ <div class="filing-content-loading">
87817
+ <mat-spinner [diameter]="40" />
87818
+ </div>
87819
+ }
87820
+ </div>
87821
+ </div>
86769
87822
  `, 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'] }]
86770
87823
  }], () => [], null);
86771
87824
  })();
86772
87825
  (() => {
86773
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 65 });
87826
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 69 });
86774
87827
  })();
86775
87828
  }
86776
87829
  });