@dyedurham/search-and-file-widget 2.0.78 → 2.0.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dnd-filing-shell.js
CHANGED
|
@@ -84330,7 +84330,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84330
84330
|
}
|
|
84331
84331
|
const password = request.password ?? "";
|
|
84332
84332
|
if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !/^[A-Za-z0-9]+$/.test(password)) {
|
|
84333
|
-
issues.push(`
|
|
84333
|
+
issues.push(`The company password (taken from the entity's registry ID) must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Update the registry ID in Athennian.`);
|
|
84334
84334
|
}
|
|
84335
84335
|
return issues;
|
|
84336
84336
|
}
|
|
@@ -84722,14 +84722,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84722
84722
|
// Prefilled from the entity's Business Email when Athennian has one; otherwise the user
|
|
84723
84723
|
// enters it here (the API requires it).
|
|
84724
84724
|
[BCFormationFormControls.CompanyEmail]: new FormControl(deltaData?.companyEmail ?? companyEmail, [Validators.required, Validators.email, Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)]),
|
|
84725
|
-
//
|
|
84726
|
-
//
|
|
84727
|
-
|
|
84728
|
-
|
|
84729
|
-
Validators.minLength(BC_PASSWORD_MIN_LENGTH),
|
|
84730
|
-
Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
|
|
84731
|
-
Validators.pattern(BC_PASSWORD_PATTERN)
|
|
84732
|
-
]),
|
|
84725
|
+
// Not shown on screen: taken from the registry ID when it satisfies the BC password rule
|
|
84726
|
+
// (otherwise empty). No validators here, as the user cannot fix it; the payload pre-flight
|
|
84727
|
+
// check (`findBCRequestIssues`) reports an unusable value.
|
|
84728
|
+
[BCFormationFormControls.CompanyPassword]: new FormControl(deltaData?.password ?? this.suggestPassword(task.entity._profile.registry_id)),
|
|
84733
84729
|
[BCFormationFormControls.UsesNameTranslation]: new FormControl(usesNameTranslation),
|
|
84734
84730
|
[BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
|
|
84735
84731
|
});
|
|
@@ -84831,6 +84827,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84831
84827
|
})
|
|
84832
84828
|
});
|
|
84833
84829
|
}
|
|
84830
|
+
/**
|
|
84831
|
+
* Company Email dropdown options: the task's `emailOptions` (distinct addresses), plus the
|
|
84832
|
+
* current value when it is not among them (a saved or fallback-prefilled address).
|
|
84833
|
+
*/
|
|
84834
|
+
static buildCompanyEmailOptions(task, currentValue) {
|
|
84835
|
+
const emails = (task?.entity.emailOptions ?? []).map((option) => option.value?.trim());
|
|
84836
|
+
const current = currentValue?.trim();
|
|
84837
|
+
return [...new Set([...emails, current].filter((email) => Boolean(email)))].map((email) => ({ label: email, value: email }));
|
|
84838
|
+
}
|
|
84834
84839
|
static suggestPassword(registryId) {
|
|
84835
84840
|
const value = registryId?.trim() ?? "";
|
|
84836
84841
|
return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
|
|
@@ -84884,7 +84889,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84884
84889
|
const registeredMailing = format(pick(registeredOffice?.addresses, "Mailing"));
|
|
84885
84890
|
const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
84886
84891
|
const config2 = {};
|
|
84887
|
-
config2[BCChangeOfDirectorsFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile?.client_matter_number);
|
|
84892
|
+
config2[BCChangeOfDirectorsFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile?.client_matter_number, delta?.referenceNumbers?.referenceNumber);
|
|
84888
84893
|
config2[BCChangeOfDirectorsFormGroups.CorporationDetails] = new FormGroup({
|
|
84889
84894
|
[Controls.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
84890
84895
|
[Controls.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
@@ -84922,9 +84927,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84922
84927
|
});
|
|
84923
84928
|
return config2;
|
|
84924
84929
|
}
|
|
84925
|
-
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
84930
|
+
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber, savedClientMatterNumber) {
|
|
84926
84931
|
return new FormGroup({
|
|
84927
|
-
[Controls.ClientMatterNumber]: new FormControl(clientMatterNumber ?? ""),
|
|
84932
|
+
[Controls.ClientMatterNumber]: new FormControl(clientMatterNumber ?? savedClientMatterNumber ?? ""),
|
|
84928
84933
|
[Controls.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
84929
84934
|
});
|
|
84930
84935
|
}
|
|
@@ -84939,7 +84944,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84939
84944
|
});
|
|
84940
84945
|
}
|
|
84941
84946
|
static generateDirectorFormGroupsFromChangeDirectors(task) {
|
|
84942
|
-
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors;
|
|
84947
|
+
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors ?? task.deltaData?.validatedData?.filing;
|
|
84943
84948
|
const currentDirectors = source?.Directors ?? source?.directors ?? [];
|
|
84944
84949
|
const addedDirectors = [
|
|
84945
84950
|
...source?.AddedDirectors ?? [],
|
|
@@ -84969,8 +84974,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84969
84974
|
[Controls.Id]: new FormControl(director?.Id ?? director?.id ?? ""),
|
|
84970
84975
|
[Controls.AffiliationName]: this.readOnly(this.formatDirectorName(name?.FirstName ?? name?.firstName, name?.MiddleName ?? name?.middleName, name?.LastName ?? name?.lastName)),
|
|
84971
84976
|
[Controls.AffiliationType]: this.readOnly(affiliationType),
|
|
84972
|
-
[Controls.MailingAddress]: this.readOnly(this.formatPayloadAddress(director)),
|
|
84973
|
-
[Controls.DeliveryAddress]: this.readOnly(this.formatPayloadAddress(director))
|
|
84977
|
+
[Controls.MailingAddress]: this.readOnly(this.formatPayloadAddress(director?.mailingAddress ?? director?.MailingAddress ?? director)),
|
|
84978
|
+
[Controls.DeliveryAddress]: this.readOnly(this.formatPayloadAddress(director?.deliveryAddress ?? director?.DeliveryAddress ?? director))
|
|
84974
84979
|
});
|
|
84975
84980
|
}
|
|
84976
84981
|
static formatDirectorName(firstName, middleName, lastName) {
|
|
@@ -84986,7 +84991,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84986
84991
|
address.Address3 ?? address.address3,
|
|
84987
84992
|
address.CityTown ?? address.city,
|
|
84988
84993
|
address.RegionName ?? address.regionName ?? address.provinceState,
|
|
84989
|
-
address.PostCode ?? address.postalZip,
|
|
84994
|
+
address.PostCode ?? address.postalZip ?? address.postalOrZipCode,
|
|
84990
84995
|
address.CountryCodeName ?? address.country
|
|
84991
84996
|
].filter((part) => Boolean(String(part ?? "").trim())).join(", ");
|
|
84992
84997
|
}
|
|
@@ -85280,10 +85285,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85280
85285
|
\u0275\u0275elementStart(8, "mat-checkbox", 15);
|
|
85281
85286
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85282
85287
|
let tmp_7_0;
|
|
85288
|
+
let tmp_8_0;
|
|
85283
85289
|
\u0275\u0275restoreView(_r5);
|
|
85284
85290
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85285
85291
|
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85286
|
-
(tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.
|
|
85292
|
+
(tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.reset(((tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_7_0.value) ? (tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.value : null, { emitEvent: false });
|
|
85293
|
+
(tmp_8_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_8_0.updateValueAndValidity({ emitEvent: false });
|
|
85287
85294
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85288
85295
|
});
|
|
85289
85296
|
\u0275\u0275text(9);
|
|
@@ -85509,7 +85516,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85509
85516
|
initiallyOpenCardsCount = 3;
|
|
85510
85517
|
sectionValidity = {};
|
|
85511
85518
|
isVisiblyValid() {
|
|
85512
|
-
|
|
85519
|
+
const filingDetails = this.getFormGroup(this.groups.FilingDetails);
|
|
85520
|
+
const dateRequired = Boolean(filingDetails?.get(this.controls.DirectorsAddedOrDeleted)?.value);
|
|
85521
|
+
const dateInvalid = dateRequired && Boolean(filingDetails?.get(this.controls.ChangeDate)?.invalid);
|
|
85522
|
+
const annualReportReminder = this.getFormGroup(this.groups.AnnualReportReminder);
|
|
85523
|
+
return Object.values(this.sectionValidity).every((v) => v) && !filingDetails?.invalid && !dateInvalid && !annualReportReminder?.invalid;
|
|
85513
85524
|
}
|
|
85514
85525
|
onSectionValidChange(section, valid) {
|
|
85515
85526
|
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
@@ -85531,7 +85542,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85531
85542
|
return this.getDirectorStatus(formGroup) === "Add";
|
|
85532
85543
|
}
|
|
85533
85544
|
isCeasedDirector(formGroup) {
|
|
85534
|
-
return this.getDirectorStatus(formGroup) === "
|
|
85545
|
+
return this.getDirectorStatus(formGroup) === "Cease";
|
|
85535
85546
|
}
|
|
85536
85547
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85537
85548
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
@@ -85622,201 +85633,207 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85622
85633
|
MatRadioGroup,
|
|
85623
85634
|
ReactiveFormsModule,
|
|
85624
85635
|
TranslatePipe
|
|
85625
|
-
], template: `<div class="change-of-directors-form"
|
|
85626
|
-
@if (isNote()) {
|
|
85627
|
-
<alert
|
|
85628
|
-
[type]="alertType.Info"
|
|
85629
|
-
title="Entity changed"
|
|
85630
|
-
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
85631
|
-
|
|
85632
|
-
}
|
|
85633
|
-
|
|
85634
|
-
@if (errors().length) {
|
|
85635
|
-
<alert
|
|
85636
|
-
title="The following issues need to be resolved before proceeding:"
|
|
85637
|
-
[content]="errors()"
|
|
85638
|
-
|
|
85639
|
-
}
|
|
85640
|
-
|
|
85641
|
-
<div class="change-of-directors-form-content"
|
|
85642
|
-
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers)
|
|
85643
|
-
|
|
85644
|
-
@if (referenceNumbers) {
|
|
85645
|
-
<expandable-card [title]="groups.ReferenceNumbers"
|
|
85646
|
-
<filing-form-group
|
|
85647
|
-
[isSubmitted]="isSubmitted()"
|
|
85648
|
-
[form]="referenceNumbers"
|
|
85649
|
-
[config]="referenceNumbersFields"
|
|
85650
|
-
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"
|
|
85651
|
-
|
|
85652
|
-
</expandable-card
|
|
85653
|
-
}
|
|
85654
|
-
|
|
85655
|
-
@let corporationDetails = getFormGroup(groups.CorporationDetails)
|
|
85656
|
-
|
|
85657
|
-
@if (corporationDetails) {
|
|
85658
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails"
|
|
85659
|
-
<div class="readonly-summary"
|
|
85660
|
-
<p
|
|
85661
|
-
<strong>{{ 'Corporation Name' | translate }}:</strong
|
|
85662
|
-
{{ corporationDetails.get(controls.CorporationName)?.value }}
|
|
85663
|
-
</p
|
|
85664
|
-
<p
|
|
85665
|
-
<strong>{{ 'Incorporation Number' | translate }}:</strong
|
|
85666
|
-
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}
|
|
85667
|
-
</p
|
|
85668
|
-
<p
|
|
85669
|
-
<strong>{{ 'Company Email' | translate }}:</strong
|
|
85670
|
-
{{ corporationDetails.get(controls.CompanyEmail)?.value }}
|
|
85671
|
-
</p
|
|
85672
|
-
</div
|
|
85673
|
-
</expandable-card
|
|
85674
|
-
}
|
|
85675
|
-
|
|
85676
|
-
@let filingDetails = getFormGroup(groups.FilingDetails)
|
|
85677
|
-
|
|
85678
|
-
@if (filingDetails) {
|
|
85679
|
-
<expandable-card
|
|
85680
|
-
[isStatusIcon]="!readonly()"
|
|
85681
|
-
[isValid]="sectionValidity['filingDetails']"
|
|
85682
|
-
[title]="groups.FilingDetails"
|
|
85683
|
-
|
|
85684
|
-
<div class="filing-details" [formGroup]="filingDetails"
|
|
85685
|
-
<div class="note-box"
|
|
85686
|
-
<strong>{{ 'Note' | translate }}:</strong
|
|
85687
|
-
{{
|
|
85688
|
-
'There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.'
|
|
85689
|
-
| translate
|
|
85690
|
-
}}
|
|
85691
|
-
</div
|
|
85692
|
-
|
|
85693
|
-
<mat-checkbox
|
|
85694
|
-
class="directors-change-checkbox"
|
|
85695
|
-
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
85696
|
-
(change)="
|
|
85697
|
-
filingDetails.get(controls.ChangeDate)?.
|
|
85698
|
-
|
|
85699
|
-
|
|
85700
|
-
|
|
85701
|
-
|
|
85702
|
-
|
|
85703
|
-
|
|
85704
|
-
|
|
85705
|
-
|
|
85706
|
-
|
|
85707
|
-
|
|
85708
|
-
|
|
85709
|
-
|
|
85710
|
-
|
|
85711
|
-
|
|
85712
|
-
|
|
85713
|
-
|
|
85714
|
-
|
|
85715
|
-
|
|
85716
|
-
|
|
85717
|
-
|
|
85718
|
-
|
|
85719
|
-
|
|
85720
|
-
|
|
85721
|
-
|
|
85722
|
-
|
|
85723
|
-
|
|
85724
|
-
(
|
|
85725
|
-
|
|
85726
|
-
|
|
85727
|
-
|
|
85728
|
-
|
|
85729
|
-
|
|
85730
|
-
|
|
85731
|
-
|
|
85732
|
-
"
|
|
85733
|
-
|
|
85734
|
-
|
|
85735
|
-
</
|
|
85736
|
-
|
|
85737
|
-
|
|
85738
|
-
|
|
85739
|
-
|
|
85740
|
-
|
|
85741
|
-
|
|
85742
|
-
|
|
85743
|
-
|
|
85744
|
-
|
|
85745
|
-
|
|
85746
|
-
|
|
85747
|
-
|
|
85748
|
-
|
|
85749
|
-
|
|
85750
|
-
|
|
85751
|
-
|
|
85752
|
-
|
|
85753
|
-
|
|
85754
|
-
|
|
85755
|
-
|
|
85756
|
-
|
|
85757
|
-
|
|
85758
|
-
|
|
85759
|
-
|
|
85760
|
-
|
|
85761
|
-
|
|
85762
|
-
|
|
85763
|
-
|
|
85764
|
-
|
|
85765
|
-
|
|
85766
|
-
|
|
85767
|
-
|
|
85768
|
-
|
|
85769
|
-
|
|
85770
|
-
|
|
85771
|
-
|
|
85772
|
-
|
|
85773
|
-
|
|
85774
|
-
|
|
85775
|
-
|
|
85776
|
-
}
|
|
85777
|
-
|
|
85778
|
-
|
|
85779
|
-
|
|
85780
|
-
|
|
85781
|
-
|
|
85782
|
-
|
|
85783
|
-
|
|
85784
|
-
|
|
85785
|
-
|
|
85786
|
-
|
|
85787
|
-
|
|
85788
|
-
|
|
85789
|
-
|
|
85790
|
-
|
|
85791
|
-
|
|
85792
|
-
|
|
85793
|
-
|
|
85794
|
-
|
|
85795
|
-
|
|
85796
|
-
|
|
85797
|
-
|
|
85798
|
-
|
|
85799
|
-
|
|
85800
|
-
|
|
85801
|
-
|
|
85802
|
-
|
|
85803
|
-
|
|
85804
|
-
<
|
|
85805
|
-
|
|
85806
|
-
|
|
85807
|
-
|
|
85808
|
-
|
|
85809
|
-
|
|
85810
|
-
|
|
85811
|
-
|
|
85812
|
-
|
|
85813
|
-
|
|
85814
|
-
|
|
85815
|
-
|
|
85816
|
-
|
|
85817
|
-
|
|
85818
|
-
|
|
85819
|
-
</
|
|
85636
|
+
], template: `<div class="change-of-directors-form">\r
|
|
85637
|
+
@if (isNote()) {\r
|
|
85638
|
+
<alert\r
|
|
85639
|
+
[type]="alertType.Info"\r
|
|
85640
|
+
title="Entity changed"\r
|
|
85641
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
|
|
85642
|
+
/>\r
|
|
85643
|
+
}\r
|
|
85644
|
+
\r
|
|
85645
|
+
@if (errors().length) {\r
|
|
85646
|
+
<alert\r
|
|
85647
|
+
title="The following issues need to be resolved before proceeding:"\r
|
|
85648
|
+
[content]="errors()"\r
|
|
85649
|
+
/>\r
|
|
85650
|
+
}\r
|
|
85651
|
+
\r
|
|
85652
|
+
<div class="change-of-directors-form-content">\r
|
|
85653
|
+
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
85654
|
+
\r
|
|
85655
|
+
@if (referenceNumbers) {\r
|
|
85656
|
+
<expandable-card [title]="groups.ReferenceNumbers">\r
|
|
85657
|
+
<filing-form-group\r
|
|
85658
|
+
[isSubmitted]="isSubmitted()"\r
|
|
85659
|
+
[form]="referenceNumbers"\r
|
|
85660
|
+
[config]="referenceNumbersFields"\r
|
|
85661
|
+
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
|
|
85662
|
+
/>\r
|
|
85663
|
+
</expandable-card>\r
|
|
85664
|
+
}\r
|
|
85665
|
+
\r
|
|
85666
|
+
@let corporationDetails = getFormGroup(groups.CorporationDetails);\r
|
|
85667
|
+
\r
|
|
85668
|
+
@if (corporationDetails) {\r
|
|
85669
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
|
|
85670
|
+
<div class="readonly-summary">\r
|
|
85671
|
+
<p>\r
|
|
85672
|
+
<strong>{{ 'Corporation Name' | translate }}:</strong>\r
|
|
85673
|
+
{{ corporationDetails.get(controls.CorporationName)?.value }}\r
|
|
85674
|
+
</p>\r
|
|
85675
|
+
<p>\r
|
|
85676
|
+
<strong>{{ 'Incorporation Number' | translate }}:</strong>\r
|
|
85677
|
+
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}\r
|
|
85678
|
+
</p>\r
|
|
85679
|
+
<p>\r
|
|
85680
|
+
<strong>{{ 'Company Email' | translate }}:</strong>\r
|
|
85681
|
+
{{ corporationDetails.get(controls.CompanyEmail)?.value }}\r
|
|
85682
|
+
</p>\r
|
|
85683
|
+
</div>\r
|
|
85684
|
+
</expandable-card>\r
|
|
85685
|
+
}\r
|
|
85686
|
+
\r
|
|
85687
|
+
@let filingDetails = getFormGroup(groups.FilingDetails);\r
|
|
85688
|
+
\r
|
|
85689
|
+
@if (filingDetails) {\r
|
|
85690
|
+
<expandable-card\r
|
|
85691
|
+
[isStatusIcon]="!readonly()"\r
|
|
85692
|
+
[isValid]="sectionValidity['filingDetails']"\r
|
|
85693
|
+
[title]="groups.FilingDetails"\r
|
|
85694
|
+
>\r
|
|
85695
|
+
<div class="filing-details" [formGroup]="filingDetails">\r
|
|
85696
|
+
<div class="note-box">\r
|
|
85697
|
+
<strong>{{ 'Note' | translate }}:</strong>\r
|
|
85698
|
+
{{\r
|
|
85699
|
+
'There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.'\r
|
|
85700
|
+
| translate\r
|
|
85701
|
+
}}\r
|
|
85702
|
+
</div>\r
|
|
85703
|
+
\r
|
|
85704
|
+
<mat-checkbox\r
|
|
85705
|
+
class="directors-change-checkbox"\r
|
|
85706
|
+
[formControlName]="controls.DirectorsAddedOrDeleted"\r
|
|
85707
|
+
(change)="\r
|
|
85708
|
+
filingDetails.get(controls.ChangeDate)?.reset(\r
|
|
85709
|
+
filingDetails.get(controls.DirectorsAddedOrDeleted)?.value\r
|
|
85710
|
+
? filingDetails.get(controls.ChangeDate)?.value\r
|
|
85711
|
+
: null,\r
|
|
85712
|
+
{ emitEvent: false }\r
|
|
85713
|
+
);\r
|
|
85714
|
+
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });\r
|
|
85715
|
+
onSectionValidChange('filingDetails', filingDetails.valid)\r
|
|
85716
|
+
"\r
|
|
85717
|
+
>\r
|
|
85718
|
+
{{ 'Directors will be added and/or deleted as part of this filing' | translate }}\r
|
|
85719
|
+
</mat-checkbox>\r
|
|
85720
|
+
\r
|
|
85721
|
+
@if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {\r
|
|
85722
|
+
<div class="filing-details-grid">\r
|
|
85723
|
+
<div class="date-field">\r
|
|
85724
|
+
<label>\r
|
|
85725
|
+
{{ 'Date Directors were added or deleted' | translate }}<span>*</span>\r
|
|
85726
|
+
</label>\r
|
|
85727
|
+
<mat-form-field appearance="outline">\r
|
|
85728
|
+
<input\r
|
|
85729
|
+
matInput\r
|
|
85730
|
+
[matDatepicker]="changeDatePicker"\r
|
|
85731
|
+
[formControlName]="controls.ChangeDate"\r
|
|
85732
|
+
placeholder="dd/mm/yyyy"\r
|
|
85733
|
+
readonly\r
|
|
85734
|
+
(click)="changeDatePicker.open()"\r
|
|
85735
|
+
(dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"\r
|
|
85736
|
+
/>\r
|
|
85737
|
+
<button\r
|
|
85738
|
+
type="button"\r
|
|
85739
|
+
class="calendar-trigger"\r
|
|
85740
|
+
aria-label="Open date picker"\r
|
|
85741
|
+
(click)="changeDatePicker.open()"\r
|
|
85742
|
+
>\r
|
|
85743
|
+
<span class="calendar-icon" aria-hidden="true"></span>\r
|
|
85744
|
+
</button>\r
|
|
85745
|
+
<mat-datepicker #changeDatePicker></mat-datepicker>\r
|
|
85746
|
+
</mat-form-field>\r
|
|
85747
|
+
<p class="hint">\r
|
|
85748
|
+
{{\r
|
|
85749
|
+
"The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."\r
|
|
85750
|
+
| translate\r
|
|
85751
|
+
}}\r
|
|
85752
|
+
</p>\r
|
|
85753
|
+
</div>\r
|
|
85754
|
+
\r
|
|
85755
|
+
<p class="filing-fee">\r
|
|
85756
|
+
<strong>{{ 'Filing Fee' | translate }}:</strong>\r
|
|
85757
|
+
{{ filingDetails.get(controls.FilingFee)?.value }}\r
|
|
85758
|
+
</p>\r
|
|
85759
|
+
</div>\r
|
|
85760
|
+
}\r
|
|
85761
|
+
</div>\r
|
|
85762
|
+
</expandable-card>\r
|
|
85763
|
+
}\r
|
|
85764
|
+
\r
|
|
85765
|
+
@let directorsArray = getFormArray(groups.Directors);\r
|
|
85766
|
+
\r
|
|
85767
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">\r
|
|
85768
|
+
<filing-form-group\r
|
|
85769
|
+
[isSubmitted]="isSubmitted()"\r
|
|
85770
|
+
[form]="form()"\r
|
|
85771
|
+
[config]="directorsIntroFields()"\r
|
|
85772
|
+
/>\r
|
|
85773
|
+
\r
|
|
85774
|
+
@if (directorsArray && directorsArray.length) {\r
|
|
85775
|
+
<div class="directors-table" role="table">\r
|
|
85776
|
+
<div class="directors-table-header" role="row">\r
|
|
85777
|
+
<div role="columnheader">{{ 'Name' | translate }}</div>\r
|
|
85778
|
+
<div role="columnheader">{{ 'Mailing Address' | translate }}</div>\r
|
|
85779
|
+
<div role="columnheader">{{ 'Delivery Address' | translate }}</div>\r
|
|
85780
|
+
</div>\r
|
|
85781
|
+
\r
|
|
85782
|
+
@for (director of directorsArray.controls; track director; let i = $index) {\r
|
|
85783
|
+
@let directorForm = getDirectorForm(i);\r
|
|
85784
|
+
@if (directorForm) {\r
|
|
85785
|
+
<div class="directors-table-row" role="row">\r
|
|
85786
|
+
<div role="cell">\r
|
|
85787
|
+
<strong>{{ directorForm.get(controls.AffiliationName)?.value }}</strong>\r
|
|
85788
|
+
@if (isNewDirector(directorForm)) {\r
|
|
85789
|
+
<span class="status-pill new">{{ 'NEW' | translate }}</span>\r
|
|
85790
|
+
}\r
|
|
85791
|
+
@if (isCeasedDirector(directorForm)) {\r
|
|
85792
|
+
<span class="status-pill ceased">{{ 'CEASE' | translate }}</span>\r
|
|
85793
|
+
}\r
|
|
85794
|
+
</div>\r
|
|
85795
|
+
<div role="cell">{{ directorForm.get(controls.MailingAddress)?.value }}</div>\r
|
|
85796
|
+
<div role="cell">{{ directorForm.get(controls.DeliveryAddress)?.value }}</div>\r
|
|
85797
|
+
</div>\r
|
|
85798
|
+
}\r
|
|
85799
|
+
}\r
|
|
85800
|
+
</div>\r
|
|
85801
|
+
} @else {\r
|
|
85802
|
+
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>\r
|
|
85803
|
+
}\r
|
|
85804
|
+
</expandable-card>\r
|
|
85805
|
+
\r
|
|
85806
|
+
@let annualReportReminder = getFormGroup(groups.AnnualReportReminder);\r
|
|
85807
|
+
\r
|
|
85808
|
+
@if (annualReportReminder) {\r
|
|
85809
|
+
<expandable-card\r
|
|
85810
|
+
[isStatusIcon]="!readonly()"\r
|
|
85811
|
+
[isValid]="sectionValidity['annualReportReminder']"\r
|
|
85812
|
+
[title]="groups.AnnualReportReminder"\r
|
|
85813
|
+
>\r
|
|
85814
|
+
<div class="annual-reminder" [formGroup]="annualReportReminder">\r
|
|
85815
|
+
<p>\r
|
|
85816
|
+
{{\r
|
|
85817
|
+
"Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."\r
|
|
85818
|
+
| translate\r
|
|
85819
|
+
}}\r
|
|
85820
|
+
</p>\r
|
|
85821
|
+
<mat-radio-group\r
|
|
85822
|
+
[formControlName]="controls.AnnualReportReminder"\r
|
|
85823
|
+
(change)="onSectionValidChange('annualReportReminder', annualReportReminder.valid)"\r
|
|
85824
|
+
>\r
|
|
85825
|
+
<mat-radio-button [value]="annualReportReminderOption.Yes">\r
|
|
85826
|
+
{{ 'Yes, send the annual report reminder' | translate }}\r
|
|
85827
|
+
</mat-radio-button>\r
|
|
85828
|
+
<mat-radio-button [value]="annualReportReminderOption.No">\r
|
|
85829
|
+
{{ 'No, I do not need to be reminded' | translate }}\r
|
|
85830
|
+
</mat-radio-button>\r
|
|
85831
|
+
</mat-radio-group>\r
|
|
85832
|
+
</div>\r
|
|
85833
|
+
</expandable-card>\r
|
|
85834
|
+
}\r
|
|
85835
|
+
</div>\r
|
|
85836
|
+
</div>\r
|
|
85820
85837
|
`, styles: ['/* src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.scss */\n:host {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n:host .change-of-directors-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n:host .change-of-directors-form-content {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 20px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n:host ::ng-deep .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 24px 28px !important;\n}\n:host ::ng-deep .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n:host ::ng-deep .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n:host ::ng-deep .expandable-card-content {\n padding-top: 20px !important;\n}\n:host ::ng-deep .filling-form-fields {\n column-gap: 42px !important;\n}\n:host ::ng-deep .filling-form-fields-item-label,\n:host ::ng-deep .mat-mdc-radio-button .mdc-label,\n:host ::ng-deep .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n:host ::ng-deep .mat-mdc-radio-button,\n:host ::ng-deep .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n:host ::ng-deep .mat-mdc-form-field {\n width: 100%;\n}\n:host ::ng-deep .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n:host ::ng-deep .mat-mdc-form-field-infix {\n align-items: center;\n display: flex !important;\n min-height: 46px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n:host ::ng-deep .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n:host ::ng-deep .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n:host .readonly-summary {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n:host .readonly-summary p {\n margin: 0;\n}\n:host .readonly-summary strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .filing-details,\n:host .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .note-box {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n font-size: 14px;\n line-height: 1.55;\n padding: 16px 20px;\n}\n:host .note-box strong {\n font-weight: 700;\n}\n:host .directors-change-checkbox {\n align-self: flex-start;\n}\n:host .filing-details-grid {\n display: grid;\n grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr);\n column-gap: 56px;\n align-items: start;\n max-width: 980px;\n}\n:host .date-field,\n:host .email-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .date-field label,\n:host .email-field label {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n:host .date-field span,\n:host .email-field span {\n color: #e22222;\n}\n:host .hint,\n:host .annual-reminder p,\n:host .mailing-copy {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n:host .filing-fee {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n margin: 46px 0 0;\n}\n:host .filing-fee strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .directors-table {\n display: grid;\n grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.65fr) minmax(280px, 1.65fr);\n margin-top: 28px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n}\n:host .directors-table-header,\n:host .directors-table-row {\n display: contents;\n}\n:host .directors-table-header > div,\n:host .directors-table-row > div {\n border-bottom: 1px solid #e1e6ee;\n padding: 16px 24px;\n}\n:host .directors-table-header > div:not(:first-child),\n:host .directors-table-row > div:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n:host .directors-table-header > div {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n:host .directors-table-row strong {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 8px;\n}\n:host .status-pill {\n border-radius: 999px;\n display: inline-flex;\n font-size: 12px;\n font-weight: 700;\n line-height: 1;\n padding: 6px 12px;\n}\n:host .status-pill.new {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n:host .status-pill.ceased {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n:host mat-radio-group {\n display: flex;\n gap: 48px;\n}\n:host .annual-reminder mat-radio-group {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n:host .date-field mat-form-field {\n position: relative;\n width: 100%;\n}\n:host .date-field ::ng-deep .calendar-icon {\n border: 2px solid #4b5563;\n border-radius: 3px;\n box-sizing: border-box;\n display: block;\n height: 17px;\n position: relative;\n width: 17px;\n}\n:host .date-field ::ng-deep .calendar-icon::before {\n border-top: 2px solid #4b5563;\n content: "";\n left: 0;\n position: absolute;\n right: 0;\n top: 4px;\n}\n:host .date-field ::ng-deep .calendar-icon::after {\n background: #4b5563;\n border-radius: 1px;\n box-shadow: 6px 0 #4b5563;\n content: "";\n height: 3px;\n left: 3px;\n position: absolute;\n top: -3px;\n width: 2px;\n}\n:host .date-field .calendar-trigger {\n align-items: center;\n background: transparent;\n border: 0;\n cursor: pointer;\n display: flex;\n height: 40px;\n justify-content: center;\n padding: 0;\n position: absolute;\n right: 8px;\n top: 50%;\n transform: translateY(-50%);\n width: 40px;\n z-index: 2;\n}\n:host .date-field .calendar-trigger:hover {\n background: #f3f4f6;\n border-radius: 50%;\n}\n@media (max-width: 900px) {\n :host .filing-details-grid,\n :host .directors-table {\n grid-template-columns: 1fr;\n }\n :host .directors-table-header {\n display: none;\n }\n :host .directors-table-row {\n display: grid;\n grid-template-columns: 1fr;\n border-bottom: 1px solid #e1e6ee;\n }\n :host .directors-table-row > div {\n border: 0;\n padding: 14px 0;\n }\n :host mat-radio-group {\n flex-direction: column;\n gap: 14px;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */\n'] }]
|
|
85821
85838
|
}], null, null);
|
|
85822
85839
|
})();
|
|
@@ -86129,27 +86146,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86129
86146
|
dynamicLabel: (_, t) => t("There is an additional fee of {{fee}} for an effective date in the future.").replace("{{fee}}", BC_FUTURE_EFFECTIVE_DATE_FEE)
|
|
86130
86147
|
},
|
|
86131
86148
|
{
|
|
86132
|
-
|
|
86133
|
-
|
|
86149
|
+
// Options are filled per task from `task.entity.emailOptions` by the incorporation form.
|
|
86150
|
+
type: FormType.Select,
|
|
86134
86151
|
label: "Company Email",
|
|
86135
86152
|
formControlName: BCFormationFormControls.CompanyEmail,
|
|
86136
86153
|
required: true,
|
|
86137
|
-
|
|
86138
|
-
errorMessage: "Enter a valid email address",
|
|
86139
|
-
showRequiredMessage: true,
|
|
86140
|
-
class: "span-6"
|
|
86141
|
-
},
|
|
86142
|
-
{
|
|
86143
|
-
type: FormType.Input,
|
|
86144
|
-
inputType: "password",
|
|
86145
|
-
label: "Company Password",
|
|
86146
|
-
formControlName: BCFormationFormControls.CompanyPassword,
|
|
86147
|
-
required: true,
|
|
86148
|
-
maxLength: BC_PASSWORD_MAX_LENGTH,
|
|
86149
|
-
errorMessage: "Company Password must be 8 to 15 characters",
|
|
86150
|
-
showRequiredMessage: true,
|
|
86154
|
+
options: [],
|
|
86151
86155
|
class: "span-6"
|
|
86152
86156
|
}
|
|
86157
|
+
// The company password is not shown: it is taken from the entity's registry ID.
|
|
86153
86158
|
];
|
|
86154
86159
|
BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS = [
|
|
86155
86160
|
{
|
|
@@ -86508,7 +86513,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86508
86513
|
const corporationDetails_r11 = \u0275\u0275readContextLet(6);
|
|
86509
86514
|
\u0275\u0275property("isValid", ctx_r0.sectionValidity["corpDetails"] && ctx_r0.sectionValidity["nameTranslation"] && ctx_r0.areNameTranslationsValid())("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.CorporationDetails);
|
|
86510
86515
|
\u0275\u0275advance(2);
|
|
86511
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields);
|
|
86516
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields());
|
|
86512
86517
|
\u0275\u0275advance(2);
|
|
86513
86518
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(5, 11, "Name Translation"));
|
|
86514
86519
|
\u0275\u0275advance(2);
|
|
@@ -86743,7 +86748,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86743
86748
|
groups = BCFormationFormGroups;
|
|
86744
86749
|
controls = BCFormationFormControls;
|
|
86745
86750
|
referenceNumbersFields = BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
86746
|
-
|
|
86751
|
+
/** Corporation Details fields, with the Company Email dropdown filled from the task. */
|
|
86752
|
+
corporationDetailsFields = computed(() => {
|
|
86753
|
+
const currentEmail = this.form().get(this.groups.CorporationDetails)?.get(this.controls.CompanyEmail)?.value;
|
|
86754
|
+
const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
|
|
86755
|
+
return BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
|
|
86756
|
+
});
|
|
86747
86757
|
nameTranslationFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS;
|
|
86748
86758
|
nameTranslationRowFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS;
|
|
86749
86759
|
registeredOfficeFields = BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS;
|
|
@@ -86933,7 +86943,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86933
86943
|
<filing-form-group\r
|
|
86934
86944
|
[isSubmitted]="isSubmitted()"\r
|
|
86935
86945
|
[form]="corporationDetails"\r
|
|
86936
|
-
[config]="corporationDetailsFields"\r
|
|
86946
|
+
[config]="corporationDetailsFields()"\r
|
|
86937
86947
|
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
|
|
86938
86948
|
/>\r
|
|
86939
86949
|
\r
|
|
@@ -94036,11 +94046,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94036
94046
|
});
|
|
94037
94047
|
}
|
|
94038
94048
|
getOnbisOrigin() {
|
|
94039
|
-
const filingUrl = this.config?.
|
|
94049
|
+
const filingUrl = this.config?.BCFiling;
|
|
94040
94050
|
if (!filingUrl) {
|
|
94041
|
-
throw new Error("BritishColumbiaChangeOfDirectorsService: missing EnvConfig.
|
|
94051
|
+
throw new Error("BritishColumbiaChangeOfDirectorsService: missing EnvConfig.BCFiling.");
|
|
94042
94052
|
}
|
|
94043
|
-
return
|
|
94053
|
+
return filingUrl.replace(/\/$/, "");
|
|
94044
94054
|
}
|
|
94045
94055
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsService_Factory(__ngFactoryType__) {
|
|
94046
94056
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsService)();
|
|
@@ -94060,8 +94070,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94060
94070
|
|
|
94061
94071
|
// src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
|
|
94062
94072
|
function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData) {
|
|
94073
|
+
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors ?? task.deltaData?.validatedData?.filing;
|
|
94063
94074
|
const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94064
94075
|
const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94076
|
+
const addedDirectors = [...source?.AddedDirectors ?? [], ...source?.AddDirector ?? [], ...source?.addDirectors ?? []];
|
|
94077
|
+
const ceasedDirectors = [...source?.CeasedDirectors ?? [], ...source?.CeaseDirector ?? [], ...source?.ceaseDirectors ?? []];
|
|
94078
|
+
const editedDirectors = [...source?.EditedDirectors ?? [], ...source?.EditDirector ?? [], ...source?.editDirectors ?? []];
|
|
94065
94079
|
const companyEmail = findCompanyEmail(task);
|
|
94066
94080
|
const serviceOrderId = deltaData.serviceOrderId;
|
|
94067
94081
|
return __spreadValues({
|
|
@@ -94071,9 +94085,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94071
94085
|
docket: deltaData.referenceNumbers.docketNumber ?? null,
|
|
94072
94086
|
addOrDeleteDirectors: deltaData.filingDetails.directorsAddedOrDeleted,
|
|
94073
94087
|
effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()),
|
|
94074
|
-
addDirectors: incomingDirectors.map((affiliation) => buildDirector(affiliation)),
|
|
94075
|
-
ceaseDirectors: outgoingDirectors.map((affiliation) => buildDirector(affiliation)),
|
|
94076
|
-
editDirectors: [],
|
|
94088
|
+
addDirectors: (incomingDirectors.length ? incomingDirectors : addedDirectors).map((affiliation) => buildDirector(affiliation)),
|
|
94089
|
+
ceaseDirectors: (outgoingDirectors.length ? outgoingDirectors : ceasedDirectors).map((affiliation) => buildDirector(affiliation)),
|
|
94090
|
+
editDirectors: editedDirectors.length ? editedDirectors.map((director) => buildDirector(director)) : [],
|
|
94077
94091
|
companyEmail,
|
|
94078
94092
|
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
94079
94093
|
}
|
|
@@ -94083,15 +94097,54 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94083
94097
|
return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
|
|
94084
94098
|
}
|
|
94085
94099
|
function buildDirector(affiliation) {
|
|
94100
|
+
if (affiliation?.PersonName || affiliation?.personName || affiliation?.firstName || affiliation?.FirstName) {
|
|
94101
|
+
const name = affiliation.PersonName ?? affiliation.personName ?? affiliation;
|
|
94102
|
+
return {
|
|
94103
|
+
firstName: name.FirstName ?? name.firstName ?? "",
|
|
94104
|
+
middleName: name.MiddleName ?? name.middleName ?? "",
|
|
94105
|
+
lastName: name.LastName ?? name.lastName ?? "",
|
|
94106
|
+
mailingAddress: affiliation.mailingAddress ?? affiliation.MailingAddress,
|
|
94107
|
+
deliveryAddress: affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
|
|
94108
|
+
isDeliveryAddressSameAsMailing: affiliation.isDeliveryAddressSameAsMailing
|
|
94109
|
+
};
|
|
94110
|
+
}
|
|
94086
94111
|
const profile = affiliation.participant?._profile ?? {};
|
|
94087
94112
|
const addresses = getAffiliationAddresses(affiliation);
|
|
94113
|
+
const mailingAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"));
|
|
94114
|
+
const deliveryAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery"));
|
|
94088
94115
|
return {
|
|
94089
94116
|
firstName: profile.firstName ?? "",
|
|
94090
94117
|
middleName: profile.middleName ?? "",
|
|
94091
94118
|
lastName: profile.lastName ?? "",
|
|
94119
|
+
mailingAddress,
|
|
94120
|
+
deliveryAddress,
|
|
94092
94121
|
isDeliveryAddressSameAsMailing: isDeliveryAddressSameAsMailing(addresses)
|
|
94093
94122
|
};
|
|
94094
94123
|
}
|
|
94124
|
+
function mapAddress4(address) {
|
|
94125
|
+
if (!address)
|
|
94126
|
+
return void 0;
|
|
94127
|
+
const raw = address;
|
|
94128
|
+
const postalAddress = raw.PostalAddress ?? raw.postalAddress;
|
|
94129
|
+
const source = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? raw;
|
|
94130
|
+
const streetNumber = address.components?.find((component) => component.name === "Street Number Only")?.value;
|
|
94131
|
+
const streetName = address.components?.find((component) => component.name === "Street Only")?.value;
|
|
94132
|
+
const suite = address.components?.find((component) => component.name === "Suite/Apartment")?.value;
|
|
94133
|
+
const streetAddress = [streetNumber, streetName].filter(Boolean).join(" ") || address.components?.find((component) => component.name === "Street Address")?.value || source.streetAddress || source.Address1 || raw.street || "";
|
|
94134
|
+
const country = source.country ?? source.CountryCodeName ?? raw.country ?? "";
|
|
94135
|
+
const postal = source.postalOrZipCode ?? source.PostCode ?? source.postalZip ?? raw.postal_zip ?? "";
|
|
94136
|
+
return {
|
|
94137
|
+
streetAddress: [streetAddress, suite].filter(Boolean).join(", "),
|
|
94138
|
+
city: source.city ?? source.CityTown ?? raw.city ?? "",
|
|
94139
|
+
provinceState: source.provinceState ?? source.RegionName ?? raw.province_state ?? "",
|
|
94140
|
+
country,
|
|
94141
|
+
postalOrZipCode: country === "CA" ? normalizeCanadianPostal(postal) : postal
|
|
94142
|
+
};
|
|
94143
|
+
}
|
|
94144
|
+
function normalizeCanadianPostal(value) {
|
|
94145
|
+
const compact = value.replace(/[\s-]+/g, "").toUpperCase();
|
|
94146
|
+
return /^[A-Z]\d[A-Z]\d[A-Z]\d$/.test(compact) ? `${compact.slice(0, 3)} ${compact.slice(3)}` : value;
|
|
94147
|
+
}
|
|
94095
94148
|
function findCompanyEmail(task) {
|
|
94096
94149
|
const affiliations = task.entity.affiliations ?? [];
|
|
94097
94150
|
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
@@ -94225,10 +94278,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94225
94278
|
\u0275\u0275restoreView(_r6);
|
|
94226
94279
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94227
94280
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaFormationSubmit());
|
|
94228
|
-
})("nextStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_nextStep_0_listener() {
|
|
94229
|
-
\u0275\u0275restoreView(_r6);
|
|
94230
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94231
|
-
return \u0275\u0275resetView(ctx_r2.onNextStepClick());
|
|
94232
94281
|
});
|
|
94233
94282
|
\u0275\u0275elementEnd();
|
|
94234
94283
|
}
|
|
@@ -94610,7 +94659,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94610
94659
|
delete this.task()?.deltaData.validatedData;
|
|
94611
94660
|
}
|
|
94612
94661
|
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
94613
|
-
serviceOrderId,
|
|
94662
|
+
serviceOrderId: serviceOrderId || task.deltaData?.serviceOrderId || "",
|
|
94614
94663
|
validatedData: JSON.parse(JSON.stringify(requestBody))
|
|
94615
94664
|
}));
|
|
94616
94665
|
this.close.emit();
|
|
@@ -94623,10 +94672,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94623
94672
|
}
|
|
94624
94673
|
onBritishColumbiaChangeOfDirectorsSave(deltaData) {
|
|
94625
94674
|
const oldDeltaData = this.task()?.deltaData;
|
|
94675
|
+
const persistedDirectorChanges = oldDeltaData?.changeDirectors ?? oldDeltaData?.validatedData?.filing ?? oldDeltaData?.validatedData?.ChangeDirectors;
|
|
94626
94676
|
if (oldDeltaData) {
|
|
94627
94677
|
delete this.task()?.deltaData;
|
|
94628
94678
|
}
|
|
94629
|
-
this.deltaDataChange.emit(deltaData);
|
|
94679
|
+
this.deltaDataChange.emit(__spreadValues(__spreadValues({}, deltaData), persistedDirectorChanges ? { changeDirectors: persistedDirectorChanges } : {}));
|
|
94630
94680
|
}
|
|
94631
94681
|
onBritishColumbiaChangeOfDirectorsSubmit() {
|
|
94632
94682
|
return __async(this, null, function* () {
|
|
@@ -94634,7 +94684,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94634
94684
|
this.isLoading.set(true);
|
|
94635
94685
|
this.errors.set([]);
|
|
94636
94686
|
const signature = this._signature();
|
|
94637
|
-
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
94687
|
+
const serviceOrderId = this.task()?.deltaData?.serviceOrderId ?? this.serviceOrderId;
|
|
94638
94688
|
if (!signature || !serviceOrderId) {
|
|
94639
94689
|
throw new Error("Missing serviceOrderId.");
|
|
94640
94690
|
}
|
|
@@ -95075,6 +95125,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95075
95125
|
initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
|
|
95076
95126
|
} else if (isUpdateMaintain(task)) {
|
|
95077
95127
|
initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
|
|
95128
|
+
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
95129
|
+
initialDelta = this.deltaState.bcChangeOfDirectorsInitialDelta();
|
|
95078
95130
|
}
|
|
95079
95131
|
const deltaChanged = !deepEqual(normalizeForCompare(initialDelta), normalizeForCompare(copy));
|
|
95080
95132
|
const taskFromDeltaData = task.deltaData.validatedData;
|
|
@@ -95208,7 +95260,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95208
95260
|
@let currentTask = task();\r
|
|
95209
95261
|
\r
|
|
95210
95262
|
@if (currentTask) {\r
|
|
95211
|
-
@if (isOntarioTask(currentTask)) {
|
|
95263
|
+
@if (isOntarioTask(currentTask)) {\r
|
|
95212
95264
|
<ontario\r
|
|
95213
95265
|
[task]="currentTask"\r
|
|
95214
95266
|
[activeStep]="activeStep()"\r
|
|
@@ -95227,24 +95279,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95227
95279
|
(saveIrDeltaData)="onOntarioUpdateMaintainSave($event)"\r
|
|
95228
95280
|
(irSubmit)="onInitialReturnSubmit()"\r
|
|
95229
95281
|
/>\r
|
|
95230
|
-
} @else if (isBritishColumbiaTask(currentTask)) {
|
|
95282
|
+
} @else if (isBritishColumbiaTask(currentTask)) {\r
|
|
95231
95283
|
<british-columbia\r
|
|
95232
95284
|
[task]="currentTask"\r
|
|
95233
95285
|
[currentUser]="currentUser()"\r
|
|
95234
95286
|
[activeStep]="activeStep()"\r
|
|
95235
95287
|
[isNote]="dataWasChanged()"\r
|
|
95236
95288
|
[actionsDisabled]="isLoading()"\r
|
|
95237
|
-
[errors]="errors()"
|
|
95238
|
-
(close)="close.emit()"
|
|
95239
|
-
(nextStep)="onNextStepClick()"
|
|
95240
|
-
(prevStep)="onOntarioPrevStep()"
|
|
95241
|
-
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"
|
|
95242
|
-
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"
|
|
95243
|
-
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"
|
|
95244
|
-
(formationValidate)="onBritishColumbiaFormationValidate($event)"
|
|
95289
|
+
[errors]="errors()"\r
|
|
95290
|
+
(close)="close.emit()"\r
|
|
95291
|
+
(nextStep)="onNextStepClick()"\r
|
|
95292
|
+
(prevStep)="onOntarioPrevStep()"\r
|
|
95293
|
+
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
95294
|
+
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
95295
|
+
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
95296
|
+
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
95245
95297
|
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
95246
95298
|
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
95247
|
-
(nextStep)="onNextStepClick()"\r
|
|
95248
95299
|
/>\r
|
|
95249
95300
|
} @else {\r
|
|
95250
95301
|
<federal\r
|
|
@@ -95262,7 +95313,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95262
95313
|
(umSubmit)="onFederalUpdateMaintainSubmit()"\r
|
|
95263
95314
|
(nextStep)="defineInitialStep()"\r
|
|
95264
95315
|
/>\r
|
|
95265
|
-
}
|
|
95316
|
+
}\r
|
|
95266
95317
|
}\r
|
|
95267
95318
|
\r
|
|
95268
95319
|
@if (isLoading()) {\r
|
|
@@ -95271,7 +95322,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95271
95322
|
</div>\r
|
|
95272
95323
|
}\r
|
|
95273
95324
|
</div>\r
|
|
95274
|
-
</div
|
|
95325
|
+
</div>\r
|
|
95275
95326
|
`, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\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 min-height: 0;\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'] }]
|
|
95276
95327
|
}], () => [], null);
|
|
95277
95328
|
})();
|
package/package.json
CHANGED
|
Binary file
|