@dyedurham/search-and-file-widget 2.1.11 → 2.1.12
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 +365 -474
- package/package.json +11 -11
package/dnd-filing-shell.js
CHANGED
|
@@ -84931,17 +84931,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84931
84931
|
});
|
|
84932
84932
|
|
|
84933
84933
|
// src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts
|
|
84934
|
-
function notInFuture() {
|
|
84935
|
-
return (control) => {
|
|
84936
|
-
if (!control.value) {
|
|
84937
|
-
return null;
|
|
84938
|
-
}
|
|
84939
|
-
const value = new Date(control.value);
|
|
84940
|
-
const today = /* @__PURE__ */ new Date();
|
|
84941
|
-
today.setHours(23, 59, 59, 999);
|
|
84942
|
-
return value > today ? { futureDate: true } : null;
|
|
84943
|
-
};
|
|
84944
|
-
}
|
|
84945
84934
|
var Controls, BritishColumbiaChangeOfDirectorsFormHelper;
|
|
84946
84935
|
var init_british_columbia_change_of_directors_form_helper = __esm({
|
|
84947
84936
|
"src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts"() {
|
|
@@ -84963,13 +84952,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84963
84952
|
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
84964
84953
|
const companyEmail = registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? "";
|
|
84965
84954
|
const registeredMailing = format(pick(registeredOffice?.addresses, "Mailing"));
|
|
84955
|
+
const effectiveDate = task._ext._effective_date ?? "";
|
|
84966
84956
|
const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
84967
84957
|
const config2 = {};
|
|
84968
84958
|
config2[BCChangeOfDirectorsFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile?.client_matter_number, delta?.referenceNumbers?.referenceNumber);
|
|
84969
84959
|
config2[BCChangeOfDirectorsFormGroups.CorporationDetails] = new FormGroup({
|
|
84970
84960
|
[Controls.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
84971
84961
|
[Controls.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
84972
|
-
[Controls.CompanyEmail]:
|
|
84962
|
+
[Controls.CompanyEmail]: new FormControl(companyEmail, [Validators.required, Validators.email])
|
|
84973
84963
|
});
|
|
84974
84964
|
const isDirector = (a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director";
|
|
84975
84965
|
const incoming = task.incomingAffiliations ?? [];
|
|
@@ -84978,10 +84968,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84978
84968
|
const hasAddOrCease = ceasedIds.size > 0 || incoming.filter(isDirector).length > 0;
|
|
84979
84969
|
config2[BCChangeOfDirectorsFormGroups.FilingDetails] = new FormGroup({
|
|
84980
84970
|
[Controls.DirectorsAddedOrDeleted]: new FormControl(delta?.filingDetails?.directorsAddedOrDeleted ?? hasAddOrCease),
|
|
84981
|
-
[Controls.ChangeDate]:
|
|
84982
|
-
requiredIfValue(Controls.DirectorsAddedOrDeleted, true),
|
|
84983
|
-
notInFuture()
|
|
84984
|
-
]),
|
|
84971
|
+
[Controls.ChangeDate]: this.readOnly(effectiveDate),
|
|
84985
84972
|
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84986
84973
|
});
|
|
84987
84974
|
const currentDirectorKeys = this.getCurrentDirectorKeys(currentDataExtract);
|
|
@@ -85373,7 +85360,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85373
85360
|
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
85374
85361
|
readOnlyRow("Corporation Name", Controls3.CorporationName),
|
|
85375
85362
|
readOnlyRow("Incorporation Number", Controls3.IncorporationNumber),
|
|
85376
|
-
|
|
85363
|
+
{
|
|
85364
|
+
type: FormType.Select,
|
|
85365
|
+
label: "Company Email",
|
|
85366
|
+
formControlName: Controls3.CompanyEmail,
|
|
85367
|
+
required: true,
|
|
85368
|
+
options: [],
|
|
85369
|
+
class: "span-12"
|
|
85370
|
+
}
|
|
85377
85371
|
];
|
|
85378
85372
|
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85379
85373
|
{
|
|
@@ -85388,20 +85382,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85388
85382
|
formControlName: Controls3.DirectorsAddedOrDeleted,
|
|
85389
85383
|
class: "span-12",
|
|
85390
85384
|
onChange: (form) => {
|
|
85391
|
-
if (!directorsAddedOrDeleted(form)) {
|
|
85392
|
-
form.get(Controls3.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85393
|
-
}
|
|
85394
85385
|
form.get(Controls3.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85395
85386
|
}
|
|
85396
85387
|
},
|
|
85397
|
-
{
|
|
85398
|
-
|
|
85399
|
-
|
|
85400
|
-
formControlName: Controls3.ChangeDate,
|
|
85401
|
-
required: true,
|
|
85402
|
-
isVisible: directorsAddedOrDeleted,
|
|
85403
|
-
class: "span-8"
|
|
85404
|
-
},
|
|
85388
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Date Directors were added or deleted", Controls3.ChangeDate, "span-8")), {
|
|
85389
|
+
isVisible: directorsAddedOrDeleted
|
|
85390
|
+
}),
|
|
85405
85391
|
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
|
|
85406
85392
|
isVisible: directorsAddedOrDeleted
|
|
85407
85393
|
}),
|
|
@@ -85467,7 +85453,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85467
85453
|
// src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts
|
|
85468
85454
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template(rf, ctx) {
|
|
85469
85455
|
if (rf & 1) {
|
|
85470
|
-
\u0275\u0275element(0, "alert",
|
|
85456
|
+
\u0275\u0275element(0, "alert", 1);
|
|
85471
85457
|
}
|
|
85472
85458
|
if (rf & 2) {
|
|
85473
85459
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85476,7 +85462,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85476
85462
|
}
|
|
85477
85463
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template(rf, ctx) {
|
|
85478
85464
|
if (rf & 1) {
|
|
85479
|
-
\u0275\u0275element(0, "alert",
|
|
85465
|
+
\u0275\u0275element(0, "alert", 2);
|
|
85480
85466
|
}
|
|
85481
85467
|
if (rf & 2) {
|
|
85482
85468
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85486,7 +85472,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85486
85472
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template(rf, ctx) {
|
|
85487
85473
|
if (rf & 1) {
|
|
85488
85474
|
const _r2 = \u0275\u0275getCurrentView();
|
|
85489
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85475
|
+
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 9);
|
|
85490
85476
|
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
85491
85477
|
\u0275\u0275restoreView(_r2);
|
|
85492
85478
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85504,7 +85490,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85504
85490
|
}
|
|
85505
85491
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template(rf, ctx) {
|
|
85506
85492
|
if (rf & 1) {
|
|
85507
|
-
\u0275\
|
|
85493
|
+
const _r4 = \u0275\u0275getCurrentView();
|
|
85494
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 10)(2, "p")(3, "strong");
|
|
85508
85495
|
\u0275\u0275text(4);
|
|
85509
85496
|
\u0275\u0275pipe(5, "translate");
|
|
85510
85497
|
\u0275\u0275elementEnd();
|
|
@@ -85516,127 +85503,94 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85516
85503
|
\u0275\u0275elementEnd();
|
|
85517
85504
|
\u0275\u0275text(11);
|
|
85518
85505
|
\u0275\u0275elementEnd();
|
|
85519
|
-
\u0275\u0275elementStart(12, "
|
|
85520
|
-
\u0275\
|
|
85521
|
-
|
|
85522
|
-
|
|
85523
|
-
|
|
85524
|
-
|
|
85506
|
+
\u0275\u0275elementStart(12, "div", 11)(13, "filing-form-group", 12);
|
|
85507
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template_filing_form_group_visiblyValidChange_13_listener($event) {
|
|
85508
|
+
\u0275\u0275restoreView(_r4);
|
|
85509
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85510
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("corporationDetails", $event));
|
|
85511
|
+
});
|
|
85512
|
+
\u0275\u0275elementEnd()()()();
|
|
85525
85513
|
}
|
|
85526
85514
|
if (rf & 2) {
|
|
85527
85515
|
let tmp_9_0;
|
|
85528
85516
|
let tmp_11_0;
|
|
85529
|
-
let tmp_13_0;
|
|
85530
85517
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85531
|
-
const
|
|
85518
|
+
const corporationDetails_r5 = \u0275\u0275readContextLet(6);
|
|
85532
85519
|
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
85533
85520
|
\u0275\u0275advance(4);
|
|
85534
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5,
|
|
85521
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 9, "Corporation Name"), ":");
|
|
85535
85522
|
\u0275\u0275advance(2);
|
|
85536
|
-
\u0275\u0275textInterpolate1(" ", (tmp_9_0 =
|
|
85523
|
+
\u0275\u0275textInterpolate1(" ", (tmp_9_0 = corporationDetails_r5.get(ctx_r0.controls.CorporationName)) == null ? null : tmp_9_0.value, " ");
|
|
85537
85524
|
\u0275\u0275advance(3);
|
|
85538
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10,
|
|
85525
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 11, "Incorporation Number"), ":");
|
|
85539
85526
|
\u0275\u0275advance(2);
|
|
85540
|
-
\u0275\u0275textInterpolate1(" ", (tmp_11_0 =
|
|
85541
|
-
\u0275\u0275advance(3);
|
|
85542
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(15, 12, "Company Email"), ":");
|
|
85527
|
+
\u0275\u0275textInterpolate1(" ", (tmp_11_0 = corporationDetails_r5.get(ctx_r0.controls.IncorporationNumber)) == null ? null : tmp_11_0.value, " ");
|
|
85543
85528
|
\u0275\u0275advance(2);
|
|
85544
|
-
\u0275\
|
|
85529
|
+
\u0275\u0275property("form", corporationDetails_r5)("config", ctx_r0.companyEmailFields())("isSubmitted", ctx_r0.isSubmitted());
|
|
85545
85530
|
}
|
|
85546
85531
|
}
|
|
85547
85532
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
|
|
85548
85533
|
if (rf & 1) {
|
|
85549
|
-
|
|
85550
|
-
\u0275\u0275elementStart(0, "div", 15)(1, "div", 16)(2, "label");
|
|
85534
|
+
\u0275\u0275elementStart(0, "div", 16)(1, "div", 17)(2, "p", 18);
|
|
85551
85535
|
\u0275\u0275text(3);
|
|
85552
85536
|
\u0275\u0275pipe(4, "translate");
|
|
85553
|
-
\u0275\u0275elementStart(5, "
|
|
85554
|
-
\u0275\u0275text(6
|
|
85555
|
-
\u0275\u0275elementEnd()();
|
|
85556
|
-
\u0275\u0275elementStart(7, "
|
|
85557
|
-
\u0275\
|
|
85558
|
-
|
|
85559
|
-
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85560
|
-
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85561
|
-
})("dateChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_dateChange_8_listener() {
|
|
85562
|
-
\u0275\u0275restoreView(_r7);
|
|
85563
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85564
|
-
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85565
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85566
|
-
});
|
|
85567
|
-
\u0275\u0275elementEnd();
|
|
85568
|
-
\u0275\u0275elementStart(9, "button", 19);
|
|
85569
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_button_click_9_listener() {
|
|
85570
|
-
\u0275\u0275restoreView(_r7);
|
|
85571
|
-
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85572
|
-
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85573
|
-
});
|
|
85574
|
-
\u0275\u0275element(10, "span", 20);
|
|
85575
|
-
\u0275\u0275elementEnd();
|
|
85576
|
-
\u0275\u0275element(11, "mat-datepicker", null, 0);
|
|
85577
|
-
\u0275\u0275elementEnd();
|
|
85578
|
-
\u0275\u0275elementStart(13, "p", 21);
|
|
85579
|
-
\u0275\u0275text(14);
|
|
85580
|
-
\u0275\u0275pipe(15, "translate");
|
|
85581
|
-
\u0275\u0275elementEnd()();
|
|
85582
|
-
\u0275\u0275elementStart(16, "p", 22)(17, "strong");
|
|
85583
|
-
\u0275\u0275text(18);
|
|
85584
|
-
\u0275\u0275pipe(19, "translate");
|
|
85537
|
+
\u0275\u0275elementStart(5, "strong");
|
|
85538
|
+
\u0275\u0275text(6);
|
|
85539
|
+
\u0275\u0275elementEnd()()();
|
|
85540
|
+
\u0275\u0275elementStart(7, "p", 19)(8, "strong");
|
|
85541
|
+
\u0275\u0275text(9);
|
|
85542
|
+
\u0275\u0275pipe(10, "translate");
|
|
85585
85543
|
\u0275\u0275elementEnd();
|
|
85586
|
-
\u0275\u0275text(
|
|
85544
|
+
\u0275\u0275text(11);
|
|
85587
85545
|
\u0275\u0275elementEnd()();
|
|
85588
85546
|
}
|
|
85589
85547
|
if (rf & 2) {
|
|
85590
|
-
let
|
|
85591
|
-
|
|
85548
|
+
let tmp_8_0;
|
|
85549
|
+
let tmp_10_0;
|
|
85592
85550
|
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85593
|
-
const
|
|
85551
|
+
const filingDetails_r7 = \u0275\u0275readContextLet(8);
|
|
85594
85552
|
\u0275\u0275advance(3);
|
|
85595
|
-
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4,
|
|
85596
|
-
\u0275\u0275advance(
|
|
85597
|
-
\u0275\
|
|
85598
|
-
\u0275\u0275advance(
|
|
85599
|
-
\u0275\u0275textInterpolate1("
|
|
85600
|
-
\u0275\u0275advance(4);
|
|
85601
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(19, 10, "Filing Fee"), ":");
|
|
85553
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 4, "The date on which the individual(s) became or ceased to be a director:"), " ");
|
|
85554
|
+
\u0275\u0275advance(3);
|
|
85555
|
+
\u0275\u0275textInterpolate(ctx_r0.getEffectiveDateDisplay((tmp_8_0 = filingDetails_r7.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_8_0.value));
|
|
85556
|
+
\u0275\u0275advance(3);
|
|
85557
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 6, "Filing Fee"), ":");
|
|
85602
85558
|
\u0275\u0275advance(2);
|
|
85603
|
-
\u0275\u0275textInterpolate1(" ", (
|
|
85559
|
+
\u0275\u0275textInterpolate1(" ", (tmp_10_0 = filingDetails_r7.get(ctx_r0.controls.FilingFee)) == null ? null : tmp_10_0.value, " ");
|
|
85604
85560
|
}
|
|
85605
85561
|
}
|
|
85606
85562
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85607
85563
|
if (rf & 1) {
|
|
85608
|
-
const
|
|
85609
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85564
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
85565
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 13)(2, "div", 14)(3, "strong");
|
|
85610
85566
|
\u0275\u0275text(4);
|
|
85611
85567
|
\u0275\u0275pipe(5, "translate");
|
|
85612
85568
|
\u0275\u0275elementEnd();
|
|
85613
85569
|
\u0275\u0275text(6);
|
|
85614
85570
|
\u0275\u0275pipe(7, "translate");
|
|
85615
85571
|
\u0275\u0275elementEnd();
|
|
85616
|
-
\u0275\u0275elementStart(8, "mat-checkbox",
|
|
85572
|
+
\u0275\u0275elementStart(8, "mat-checkbox", 15);
|
|
85617
85573
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85618
85574
|
let tmp_7_0;
|
|
85619
|
-
|
|
85620
|
-
\u0275\u0275restoreView(_r5);
|
|
85575
|
+
\u0275\u0275restoreView(_r6);
|
|
85621
85576
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85622
|
-
const
|
|
85623
|
-
(tmp_7_0 =
|
|
85624
|
-
|
|
85625
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85577
|
+
const filingDetails_r7 = \u0275\u0275readContextLet(8);
|
|
85578
|
+
(tmp_7_0 = filingDetails_r7.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.updateValueAndValidity({ emitEvent: false });
|
|
85579
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r7.valid));
|
|
85626
85580
|
});
|
|
85627
85581
|
\u0275\u0275text(9);
|
|
85628
85582
|
\u0275\u0275pipe(10, "translate");
|
|
85629
85583
|
\u0275\u0275elementEnd();
|
|
85630
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template,
|
|
85584
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 12, 8, "div", 16);
|
|
85631
85585
|
\u0275\u0275elementEnd()();
|
|
85632
85586
|
}
|
|
85633
85587
|
if (rf & 2) {
|
|
85634
85588
|
let tmp_14_0;
|
|
85635
85589
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85636
|
-
const
|
|
85590
|
+
const filingDetails_r7 = \u0275\u0275readContextLet(8);
|
|
85637
85591
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["filingDetails"])("title", ctx_r0.groups.FilingDetails);
|
|
85638
85592
|
\u0275\u0275advance();
|
|
85639
|
-
\u0275\u0275property("formGroup",
|
|
85593
|
+
\u0275\u0275property("formGroup", filingDetails_r7);
|
|
85640
85594
|
\u0275\u0275advance(3);
|
|
85641
85595
|
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 9, "Note"), ":");
|
|
85642
85596
|
\u0275\u0275advance(2);
|
|
@@ -85646,12 +85600,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85646
85600
|
\u0275\u0275advance();
|
|
85647
85601
|
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(10, 13, "Directors will be added and/or deleted as part of this filing"), " ");
|
|
85648
85602
|
\u0275\u0275advance(2);
|
|
85649
|
-
\u0275\u0275conditional(((tmp_14_0 =
|
|
85603
|
+
\u0275\u0275conditional(((tmp_14_0 = filingDetails_r7.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_14_0.value) ? 11 : -1);
|
|
85650
85604
|
}
|
|
85651
85605
|
}
|
|
85652
85606
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85653
85607
|
if (rf & 1) {
|
|
85654
|
-
\u0275\u0275elementStart(0, "span",
|
|
85608
|
+
\u0275\u0275elementStart(0, "span", 24);
|
|
85655
85609
|
\u0275\u0275text(1);
|
|
85656
85610
|
\u0275\u0275pipe(2, "translate");
|
|
85657
85611
|
\u0275\u0275elementEnd();
|
|
@@ -85663,7 +85617,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85663
85617
|
}
|
|
85664
85618
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85665
85619
|
if (rf & 1) {
|
|
85666
|
-
\u0275\u0275elementStart(0, "span",
|
|
85620
|
+
\u0275\u0275elementStart(0, "span", 25);
|
|
85667
85621
|
\u0275\u0275text(1);
|
|
85668
85622
|
\u0275\u0275pipe(2, "translate");
|
|
85669
85623
|
\u0275\u0275elementEnd();
|
|
@@ -85675,15 +85629,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85675
85629
|
}
|
|
85676
85630
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template(rf, ctx) {
|
|
85677
85631
|
if (rf & 1) {
|
|
85678
|
-
\u0275\u0275elementStart(0, "div",
|
|
85632
|
+
\u0275\u0275elementStart(0, "div", 22)(1, "div", 23)(2, "strong");
|
|
85679
85633
|
\u0275\u0275text(3);
|
|
85680
85634
|
\u0275\u0275elementEnd();
|
|
85681
|
-
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span",
|
|
85635
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 24)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 25);
|
|
85682
85636
|
\u0275\u0275elementEnd();
|
|
85683
|
-
\u0275\u0275elementStart(6, "div",
|
|
85637
|
+
\u0275\u0275elementStart(6, "div", 23);
|
|
85684
85638
|
\u0275\u0275text(7);
|
|
85685
85639
|
\u0275\u0275elementEnd();
|
|
85686
|
-
\u0275\u0275elementStart(8, "div",
|
|
85640
|
+
\u0275\u0275elementStart(8, "div", 23);
|
|
85687
85641
|
\u0275\u0275text(9);
|
|
85688
85642
|
\u0275\u0275elementEnd()();
|
|
85689
85643
|
}
|
|
@@ -85692,43 +85646,43 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85692
85646
|
let tmp_22_0;
|
|
85693
85647
|
let tmp_23_0;
|
|
85694
85648
|
\u0275\u0275nextContext();
|
|
85695
|
-
const
|
|
85649
|
+
const directorForm_r8 = \u0275\u0275readContextLet(0);
|
|
85696
85650
|
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85697
85651
|
\u0275\u0275advance(3);
|
|
85698
|
-
\u0275\u0275textInterpolate((tmp_19_0 =
|
|
85652
|
+
\u0275\u0275textInterpolate((tmp_19_0 = directorForm_r8.get(ctx_r0.controls.AffiliationName)) == null ? null : tmp_19_0.value);
|
|
85699
85653
|
\u0275\u0275advance();
|
|
85700
|
-
\u0275\u0275conditional(ctx_r0.isNewDirector(
|
|
85654
|
+
\u0275\u0275conditional(ctx_r0.isNewDirector(directorForm_r8) ? 4 : -1);
|
|
85701
85655
|
\u0275\u0275advance();
|
|
85702
|
-
\u0275\u0275conditional(ctx_r0.isCeasedDirector(
|
|
85656
|
+
\u0275\u0275conditional(ctx_r0.isCeasedDirector(directorForm_r8) ? 5 : -1);
|
|
85703
85657
|
\u0275\u0275advance(2);
|
|
85704
|
-
\u0275\u0275textInterpolate((tmp_22_0 =
|
|
85658
|
+
\u0275\u0275textInterpolate((tmp_22_0 = directorForm_r8.get(ctx_r0.controls.MailingAddress)) == null ? null : tmp_22_0.value);
|
|
85705
85659
|
\u0275\u0275advance(2);
|
|
85706
|
-
\u0275\u0275textInterpolate((tmp_23_0 =
|
|
85660
|
+
\u0275\u0275textInterpolate((tmp_23_0 = directorForm_r8.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_23_0.value);
|
|
85707
85661
|
}
|
|
85708
85662
|
}
|
|
85709
85663
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Template(rf, ctx) {
|
|
85710
85664
|
if (rf & 1) {
|
|
85711
85665
|
\u0275\u0275declareLet(0);
|
|
85712
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div",
|
|
85666
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div", 22);
|
|
85713
85667
|
}
|
|
85714
85668
|
if (rf & 2) {
|
|
85715
|
-
const \u0275$
|
|
85716
|
-
const
|
|
85669
|
+
const \u0275$index_98_r9 = ctx.$index;
|
|
85670
|
+
const directorForm_r10 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_98_r9));
|
|
85717
85671
|
\u0275\u0275advance();
|
|
85718
|
-
\u0275\u0275conditional(
|
|
85672
|
+
\u0275\u0275conditional(directorForm_r10 ? 1 : -1);
|
|
85719
85673
|
}
|
|
85720
85674
|
}
|
|
85721
85675
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template(rf, ctx) {
|
|
85722
85676
|
if (rf & 1) {
|
|
85723
|
-
\u0275\u0275elementStart(0, "div",
|
|
85677
|
+
\u0275\u0275elementStart(0, "div", 7)(1, "div", 20)(2, "div", 21);
|
|
85724
85678
|
\u0275\u0275text(3);
|
|
85725
85679
|
\u0275\u0275pipe(4, "translate");
|
|
85726
85680
|
\u0275\u0275elementEnd();
|
|
85727
|
-
\u0275\u0275elementStart(5, "div",
|
|
85681
|
+
\u0275\u0275elementStart(5, "div", 21);
|
|
85728
85682
|
\u0275\u0275text(6);
|
|
85729
85683
|
\u0275\u0275pipe(7, "translate");
|
|
85730
85684
|
\u0275\u0275elementEnd();
|
|
85731
|
-
\u0275\u0275elementStart(8, "div",
|
|
85685
|
+
\u0275\u0275elementStart(8, "div", 21);
|
|
85732
85686
|
\u0275\u0275text(9);
|
|
85733
85687
|
\u0275\u0275pipe(10, "translate");
|
|
85734
85688
|
\u0275\u0275elementEnd()();
|
|
@@ -85737,7 +85691,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85737
85691
|
}
|
|
85738
85692
|
if (rf & 2) {
|
|
85739
85693
|
\u0275\u0275nextContext();
|
|
85740
|
-
const
|
|
85694
|
+
const directorsArray_r11 = \u0275\u0275readContextLet(10);
|
|
85741
85695
|
\u0275\u0275advance(3);
|
|
85742
85696
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(4, 3, "Name"));
|
|
85743
85697
|
\u0275\u0275advance(3);
|
|
@@ -85745,12 +85699,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85745
85699
|
\u0275\u0275advance(3);
|
|
85746
85700
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 7, "Delivery Address"));
|
|
85747
85701
|
\u0275\u0275advance(2);
|
|
85748
|
-
\u0275\u0275repeater(
|
|
85702
|
+
\u0275\u0275repeater(directorsArray_r11.controls);
|
|
85749
85703
|
}
|
|
85750
85704
|
}
|
|
85751
85705
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
|
|
85752
85706
|
if (rf & 1) {
|
|
85753
|
-
\u0275\u0275elementStart(0, "h2",
|
|
85707
|
+
\u0275\u0275elementStart(0, "h2", 8);
|
|
85754
85708
|
\u0275\u0275text(1);
|
|
85755
85709
|
\u0275\u0275pipe(2, "translate");
|
|
85756
85710
|
\u0275\u0275elementEnd();
|
|
@@ -85762,33 +85716,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85762
85716
|
}
|
|
85763
85717
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template(rf, ctx) {
|
|
85764
85718
|
if (rf & 1) {
|
|
85765
|
-
const
|
|
85766
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85719
|
+
const _r12 = \u0275\u0275getCurrentView();
|
|
85720
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 26)(2, "p");
|
|
85767
85721
|
\u0275\u0275text(3);
|
|
85768
85722
|
\u0275\u0275pipe(4, "translate");
|
|
85769
85723
|
\u0275\u0275elementEnd();
|
|
85770
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
85724
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 27);
|
|
85771
85725
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template_mat_radio_group_change_5_listener() {
|
|
85772
|
-
\u0275\u0275restoreView(
|
|
85726
|
+
\u0275\u0275restoreView(_r12);
|
|
85773
85727
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85774
|
-
const
|
|
85775
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder",
|
|
85728
|
+
const annualReportReminder_r13 = \u0275\u0275readContextLet(14);
|
|
85729
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r13.valid));
|
|
85776
85730
|
});
|
|
85777
|
-
\u0275\u0275elementStart(6, "mat-radio-button",
|
|
85731
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 28);
|
|
85778
85732
|
\u0275\u0275text(7);
|
|
85779
85733
|
\u0275\u0275pipe(8, "translate");
|
|
85780
85734
|
\u0275\u0275elementEnd();
|
|
85781
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
85735
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 28);
|
|
85782
85736
|
\u0275\u0275text(10);
|
|
85783
85737
|
\u0275\u0275pipe(11, "translate");
|
|
85784
85738
|
\u0275\u0275elementEnd()()()();
|
|
85785
85739
|
}
|
|
85786
85740
|
if (rf & 2) {
|
|
85787
85741
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85788
|
-
const
|
|
85742
|
+
const annualReportReminder_r13 = \u0275\u0275readContextLet(14);
|
|
85789
85743
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
|
|
85790
85744
|
\u0275\u0275advance();
|
|
85791
|
-
\u0275\u0275property("formGroup",
|
|
85745
|
+
\u0275\u0275property("formGroup", annualReportReminder_r13);
|
|
85792
85746
|
\u0275\u0275advance(2);
|
|
85793
85747
|
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 10, "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."), " ");
|
|
85794
85748
|
\u0275\u0275advance(2);
|
|
@@ -85821,6 +85775,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85821
85775
|
init_british_columbia_form_enums();
|
|
85822
85776
|
init_british_columbia_change_of_directors_form_constants();
|
|
85823
85777
|
init_BritishColumbiaConstants();
|
|
85778
|
+
init_british_columbia_formation_form_helper();
|
|
85824
85779
|
init_core();
|
|
85825
85780
|
init_forms();
|
|
85826
85781
|
BritishColumbiaChangeOfDirectorsFormComponent = class _BritishColumbiaChangeOfDirectorsFormComponent {
|
|
@@ -85836,7 +85791,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85836
85791
|
controls = BCChangeOfDirectorsFormControls;
|
|
85837
85792
|
annualReportReminderOption = BCAnnualReportReminder;
|
|
85838
85793
|
referenceNumbersFields = BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
85839
|
-
corporationDetailsFields =
|
|
85794
|
+
corporationDetailsFields = computed(() => {
|
|
85795
|
+
const corporationDetails = this.form().get(this.groups.CorporationDetails);
|
|
85796
|
+
const currentEmail = corporationDetails?.get(this.controls.CompanyEmail)?.value;
|
|
85797
|
+
const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
|
|
85798
|
+
return BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
|
|
85799
|
+
});
|
|
85800
|
+
companyEmailFields = computed(() => this.corporationDetailsFields().filter((field) => field.formControlName === this.controls.CompanyEmail));
|
|
85840
85801
|
filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
|
|
85841
85802
|
directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
|
|
85842
85803
|
annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
@@ -85849,6 +85810,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85849
85810
|
const annualReportReminder = this.getFormGroup(this.groups.AnnualReportReminder);
|
|
85850
85811
|
return Object.values(this.sectionValidity).every((v) => v) && !filingDetails?.invalid && !dateInvalid && !annualReportReminder?.invalid;
|
|
85851
85812
|
}
|
|
85813
|
+
getEffectiveDateDisplay(value) {
|
|
85814
|
+
const date = String(value ?? "").split("T")[0];
|
|
85815
|
+
const [year, month, day] = date.split("-");
|
|
85816
|
+
return year && month && day ? `${year}-${month}-${day}` : "\u2014";
|
|
85817
|
+
}
|
|
85852
85818
|
onSectionValidChange(section, valid) {
|
|
85853
85819
|
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
85854
85820
|
this.visiblyValidChange.emit(this.isVisiblyValid());
|
|
@@ -85874,23 +85840,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85874
85840
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85875
85841
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85876
85842
|
};
|
|
85877
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 16, vars: 14, consts: [[
|
|
85843
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 16, vars: 14, consts: [[1, "change-of-directors-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, "change-of-directors-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [1, "company-email-field"], [3, "visiblyValidChange", "form", "config", "isSubmitted"], [1, "filing-details", 3, "formGroup"], [1, "note-box"], [1, "directors-change-checkbox", 3, "change", "formControlName"], [1, "filing-details-grid"], [1, "date-field"], [1, "effective-date-description"], [1, "filing-fee"], ["role", "row", 1, "directors-table-header"], ["role", "columnheader"], ["role", "row", 1, "directors-table-row"], ["role", "cell"], [1, "status-pill", "new"], [1, "status-pill", "ceased"], [1, "annual-reminder", 3, "formGroup"], [3, "change", "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfDirectorsFormComponent_Template(rf, ctx) {
|
|
85878
85844
|
if (rf & 1) {
|
|
85879
|
-
\u0275\u0275elementStart(0, "div",
|
|
85880
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert",
|
|
85881
|
-
\u0275\u0275elementStart(3, "div",
|
|
85845
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
85846
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
85847
|
+
\u0275\u0275elementStart(3, "div", 3);
|
|
85882
85848
|
\u0275\u0275declareLet(4);
|
|
85883
|
-
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card",
|
|
85849
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
|
|
85884
85850
|
\u0275\u0275declareLet(6);
|
|
85885
|
-
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template,
|
|
85851
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 14, 13, "expandable-card", 5);
|
|
85886
85852
|
\u0275\u0275declareLet(8);
|
|
85887
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card",
|
|
85853
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 6);
|
|
85888
85854
|
\u0275\u0275declareLet(10);
|
|
85889
|
-
\u0275\u0275elementStart(11, "expandable-card",
|
|
85890
|
-
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div",
|
|
85855
|
+
\u0275\u0275elementStart(11, "expandable-card", 5);
|
|
85856
|
+
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div", 7)(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 3, 3, "h2", 8);
|
|
85891
85857
|
\u0275\u0275elementEnd();
|
|
85892
85858
|
\u0275\u0275declareLet(14);
|
|
85893
|
-
\u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card",
|
|
85859
|
+
\u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card", 6);
|
|
85894
85860
|
\u0275\u0275elementEnd()();
|
|
85895
85861
|
}
|
|
85896
85862
|
if (rf & 2) {
|
|
@@ -85899,47 +85865,42 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85899
85865
|
\u0275\u0275advance();
|
|
85900
85866
|
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
85901
85867
|
\u0275\u0275advance(2);
|
|
85902
|
-
const
|
|
85868
|
+
const referenceNumbers_r14 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
85903
85869
|
\u0275\u0275advance();
|
|
85904
|
-
\u0275\u0275conditional(
|
|
85870
|
+
\u0275\u0275conditional(referenceNumbers_r14 ? 5 : -1);
|
|
85905
85871
|
\u0275\u0275advance();
|
|
85906
|
-
const
|
|
85872
|
+
const corporationDetails_r15 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
85907
85873
|
\u0275\u0275advance();
|
|
85908
|
-
\u0275\u0275conditional(
|
|
85874
|
+
\u0275\u0275conditional(corporationDetails_r15 ? 7 : -1);
|
|
85909
85875
|
\u0275\u0275advance();
|
|
85910
|
-
const
|
|
85876
|
+
const filingDetails_r16 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.FilingDetails));
|
|
85911
85877
|
\u0275\u0275advance();
|
|
85912
|
-
\u0275\u0275conditional(
|
|
85878
|
+
\u0275\u0275conditional(filingDetails_r16 ? 9 : -1);
|
|
85913
85879
|
\u0275\u0275advance();
|
|
85914
|
-
const
|
|
85880
|
+
const directorsArray_r17 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
|
|
85915
85881
|
\u0275\u0275advance();
|
|
85916
85882
|
\u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
|
|
85917
85883
|
\u0275\u0275advance();
|
|
85918
|
-
\u0275\u0275conditional(
|
|
85884
|
+
\u0275\u0275conditional(directorsArray_r17 && directorsArray_r17.length ? 12 : 13);
|
|
85919
85885
|
\u0275\u0275advance(2);
|
|
85920
|
-
const
|
|
85886
|
+
const annualReportReminder_r18 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
85921
85887
|
\u0275\u0275advance();
|
|
85922
|
-
\u0275\u0275conditional(
|
|
85888
|
+
\u0275\u0275conditional(annualReportReminder_r18 ? 15 : -1);
|
|
85923
85889
|
}
|
|
85924
85890
|
}, dependencies: [
|
|
85925
85891
|
FilingFormGroupComponent,
|
|
85926
85892
|
AlertComponent,
|
|
85927
85893
|
ExpandableCardComponent,
|
|
85928
85894
|
MatCheckbox,
|
|
85929
|
-
MatDatepicker,
|
|
85930
|
-
MatDatepickerInput,
|
|
85931
|
-
MatFormField,
|
|
85932
|
-
MatInput,
|
|
85933
85895
|
MatRadioButton,
|
|
85934
85896
|
MatRadioGroup,
|
|
85935
85897
|
ReactiveFormsModule,
|
|
85936
|
-
DefaultValueAccessor,
|
|
85937
85898
|
NgControlStatus,
|
|
85938
85899
|
NgControlStatusGroup,
|
|
85939
85900
|
FormGroupDirective,
|
|
85940
85901
|
FormControlName,
|
|
85941
85902
|
TranslatePipe
|
|
85942
|
-
], styles: ['\n\n[_nghost-%COMP%] {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n[_nghost-%COMP%] .change-of-directors-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-form-content[_ngcontent-%COMP%] {\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[_nghost-%COMP%] .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[_nghost-%COMP%] .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n[_nghost-%COMP%] .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n[_nghost-%COMP%] .expandable-card-content {\n padding-top: 20px !important;\n}\n[_nghost-%COMP%] .filling-form-fields {\n column-gap: 42px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label, \n[_nghost-%COMP%] .mat-mdc-radio-button .mdc-label, \n[_nghost-%COMP%] .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .mat-mdc-radio-button, \n[_nghost-%COMP%] .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field {\n width: 100%;\n}\n[_nghost-%COMP%] .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n[_nghost-%COMP%] .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[_nghost-%COMP%] .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .filing-details[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\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[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-change-checkbox[_ngcontent-%COMP%] {\n align-self: flex-start;\n}\n[_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%] {\n display:
|
|
85903
|
+
], styles: ['\n\n[_nghost-%COMP%] {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n[_nghost-%COMP%] .change-of-directors-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-form-content[_ngcontent-%COMP%] {\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[_nghost-%COMP%] .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[_nghost-%COMP%] .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n[_nghost-%COMP%] .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n[_nghost-%COMP%] .expandable-card-content {\n padding-top: 20px !important;\n}\n[_nghost-%COMP%] .filling-form-fields {\n column-gap: 42px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label, \n[_nghost-%COMP%] .mat-mdc-radio-button .mdc-label, \n[_nghost-%COMP%] .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .mat-mdc-radio-button, \n[_nghost-%COMP%] .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field {\n width: 100%;\n}\n[_nghost-%COMP%] .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n[_nghost-%COMP%] .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[_nghost-%COMP%] .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .filing-details[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\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[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-change-checkbox[_ngcontent-%COMP%] {\n align-self: flex-start;\n}\n[_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n max-width: 100%;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n color: #e22222;\n}\n[_nghost-%COMP%] .hint[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] p[_ngcontent-%COMP%], \n[_nghost-%COMP%] .mailing-copy[_ngcontent-%COMP%] {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n margin: 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .company-email-field[_ngcontent-%COMP%] {\n width: 50%;\n}\n[_nghost-%COMP%] .effective-date-description[_ngcontent-%COMP%] {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n margin: 0;\n}\n[_nghost-%COMP%] .effective-date-description[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\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[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: contents;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border-bottom: 1px solid #e1e6ee;\n padding: 16px 24px;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child), \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 8px;\n}\n[_nghost-%COMP%] .status-pill[_ngcontent-%COMP%] {\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[_nghost-%COMP%] .status-pill.new[_ngcontent-%COMP%] {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n[_nghost-%COMP%] .status-pill.ceased[_ngcontent-%COMP%] {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n[_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n display: flex;\n gap: 48px;\n}\n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] {\n position: relative;\n width: 100%;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .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[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .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[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .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[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .calendar-trigger[_ngcontent-%COMP%] {\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[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .calendar-trigger[_ngcontent-%COMP%]:hover {\n background: #f3f4f6;\n border-radius: 50%;\n}\n@media (max-width: 900px) {\n [_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%], \n [_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n [_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] {\n display: none;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 1fr;\n border-bottom: 1px solid #e1e6ee;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border: 0;\n padding: 14px 0;\n }\n [_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n flex-direction: column;\n gap: 14px;\n }\n}\n@media (max-width: 900px) and (max-width: 700px) {\n .company-email-field[_ngcontent-%COMP%] {\n width: 100%;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */'], changeDetection: 0 });
|
|
85943
85904
|
};
|
|
85944
85905
|
(() => {
|
|
85945
85906
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsFormComponent, [{
|
|
@@ -86000,10 +85961,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86000
85961
|
<strong>{{ 'Incorporation Number' | translate }}:</strong>\r
|
|
86001
85962
|
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}\r
|
|
86002
85963
|
</p>\r
|
|
86003
|
-
<
|
|
86004
|
-
<
|
|
86005
|
-
|
|
86006
|
-
|
|
85964
|
+
<div class="company-email-field">\r
|
|
85965
|
+
<filing-form-group\r
|
|
85966
|
+
[form]="corporationDetails"\r
|
|
85967
|
+
[config]="companyEmailFields()"\r
|
|
85968
|
+
[isSubmitted]="isSubmitted()"\r
|
|
85969
|
+
(visiblyValidChange)="onSectionValidChange('corporationDetails', $event)"\r
|
|
85970
|
+
/>\r
|
|
85971
|
+
</div>\r
|
|
86007
85972
|
</div>\r
|
|
86008
85973
|
</expandable-card>\r
|
|
86009
85974
|
}\r
|
|
@@ -86029,12 +85994,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86029
85994
|
class="directors-change-checkbox"\r
|
|
86030
85995
|
[formControlName]="controls.DirectorsAddedOrDeleted"\r
|
|
86031
85996
|
(change)="\r
|
|
86032
|
-
filingDetails.get(controls.ChangeDate)?.reset(\r
|
|
86033
|
-
filingDetails.get(controls.DirectorsAddedOrDeleted)?.value\r
|
|
86034
|
-
? filingDetails.get(controls.ChangeDate)?.value\r
|
|
86035
|
-
: null,\r
|
|
86036
|
-
{ emitEvent: false }\r
|
|
86037
|
-
);\r
|
|
86038
85997
|
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });\r
|
|
86039
85998
|
onSectionValidChange('filingDetails', filingDetails.valid)\r
|
|
86040
85999
|
"\r
|
|
@@ -86045,34 +86004,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86045
86004
|
@if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {\r
|
|
86046
86005
|
<div class="filing-details-grid">\r
|
|
86047
86006
|
<div class="date-field">\r
|
|
86048
|
-
<
|
|
86049
|
-
{{ 'Date Directors were added or deleted' | translate }}<span>*</span>\r
|
|
86050
|
-
</label>\r
|
|
86051
|
-
<mat-form-field appearance="outline">\r
|
|
86052
|
-
<input\r
|
|
86053
|
-
matInput\r
|
|
86054
|
-
[matDatepicker]="changeDatePicker"\r
|
|
86055
|
-
[formControlName]="controls.ChangeDate"\r
|
|
86056
|
-
placeholder="dd/mm/yyyy"\r
|
|
86057
|
-
readonly\r
|
|
86058
|
-
(click)="changeDatePicker.open()"\r
|
|
86059
|
-
(dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"\r
|
|
86060
|
-
/>\r
|
|
86061
|
-
<button\r
|
|
86062
|
-
type="button"\r
|
|
86063
|
-
class="calendar-trigger"\r
|
|
86064
|
-
aria-label="Open date picker"\r
|
|
86065
|
-
(click)="changeDatePicker.open()"\r
|
|
86066
|
-
>\r
|
|
86067
|
-
<span class="calendar-icon" aria-hidden="true"></span>\r
|
|
86068
|
-
</button>\r
|
|
86069
|
-
<mat-datepicker #changeDatePicker></mat-datepicker>\r
|
|
86070
|
-
</mat-form-field>\r
|
|
86071
|
-
<p class="hint">\r
|
|
86007
|
+
<p class="effective-date-description">\r
|
|
86072
86008
|
{{\r
|
|
86073
|
-
|
|
86009
|
+
'The date on which the individual(s) became or ceased to be a director:'\r
|
|
86074
86010
|
| translate\r
|
|
86075
86011
|
}}\r
|
|
86012
|
+
<strong>{{ getEffectiveDateDisplay(filingDetails.get(controls.ChangeDate)?.value) }}</strong>\r
|
|
86076
86013
|
</p>\r
|
|
86077
86014
|
</div>\r
|
|
86078
86015
|
\r
|
|
@@ -86152,11 +86089,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86152
86089
|
}\r
|
|
86153
86090
|
</div>\r
|
|
86154
86091
|
</div>\r
|
|
86155
|
-
`, 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:
|
|
86092
|
+
`, 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: flex;\n flex-direction: column;\n gap: 8px;\n max-width: 100%;\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: 0;\n}\n:host .filing-fee strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .company-email-field {\n width: 50%;\n}\n:host .effective-date-description {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n margin: 0;\n}\n:host .effective-date-description 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@media (max-width: 900px) and (max-width: 700px) {\n .company-email-field {\n width: 100%;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */\n'] }]
|
|
86156
86093
|
}], null, null);
|
|
86157
86094
|
})();
|
|
86158
86095
|
(() => {
|
|
86159
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber:
|
|
86096
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber: 61 });
|
|
86160
86097
|
})();
|
|
86161
86098
|
}
|
|
86162
86099
|
});
|
|
@@ -87869,226 +87806,139 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87869
87806
|
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r5)("config", ctx_r0.corporationDetailsFields());
|
|
87870
87807
|
}
|
|
87871
87808
|
}
|
|
87872
|
-
function
|
|
87873
|
-
if (rf & 1) {
|
|
87874
|
-
const _r7 = \u0275\u0275getCurrentView();
|
|
87875
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87876
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87877
|
-
\u0275\u0275restoreView(_r7);
|
|
87878
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87879
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87880
|
-
});
|
|
87881
|
-
\u0275\u0275elementEnd();
|
|
87882
|
-
}
|
|
87883
|
-
if (rf & 2) {
|
|
87884
|
-
\u0275\u0275nextContext();
|
|
87885
|
-
const registeredMailing_r8 = \u0275\u0275readContextLet(0);
|
|
87886
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87887
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r8)("config", ctx_r0.addressFields);
|
|
87888
|
-
}
|
|
87889
|
-
}
|
|
87890
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
|
|
87809
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_For_3_Conditional_7_Template(rf, ctx) {
|
|
87891
87810
|
if (rf & 1) {
|
|
87892
|
-
|
|
87893
|
-
\u0275\
|
|
87894
|
-
\u0275\
|
|
87895
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
|
|
87896
|
-
\u0275\u0275restoreView(_r9);
|
|
87897
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87898
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87899
|
-
});
|
|
87811
|
+
\u0275\u0275elementStart(0, "div", 13);
|
|
87812
|
+
\u0275\u0275text(1);
|
|
87813
|
+
\u0275\u0275pipe(2, "translate");
|
|
87900
87814
|
\u0275\u0275elementEnd();
|
|
87901
87815
|
}
|
|
87902
87816
|
if (rf & 2) {
|
|
87903
|
-
\u0275\u0275nextContext();
|
|
87904
|
-
const registeredDelivery_r10 = \u0275\u0275readContextLet(1);
|
|
87905
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87906
|
-
const registeredOffice_r11 = \u0275\u0275readContextLet(8);
|
|
87907
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliveryNoteFields);
|
|
87817
|
+
const row_r6 = \u0275\u0275nextContext().$implicit;
|
|
87908
87818
|
\u0275\u0275advance();
|
|
87909
|
-
\u0275\
|
|
87819
|
+
\u0275\u0275textInterpolate2(" ", \u0275\u0275pipeBind1(2, 2, "Previous"), ": ", row_r6.previous, " ");
|
|
87910
87820
|
}
|
|
87911
87821
|
}
|
|
87912
|
-
function
|
|
87822
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_For_3_Template(rf, ctx) {
|
|
87913
87823
|
if (rf & 1) {
|
|
87914
|
-
|
|
87915
|
-
\u0275\
|
|
87916
|
-
\u0275\
|
|
87917
|
-
\u0275\u0275element(5, "filing-form-group", 9);
|
|
87918
|
-
\u0275\u0275elementStart(6, "h4", 10);
|
|
87919
|
-
\u0275\u0275text(7);
|
|
87920
|
-
\u0275\u0275pipe(8, "translate");
|
|
87824
|
+
\u0275\u0275elementStart(0, "div", 9)(1, "div", 11)(2, "span", 12);
|
|
87825
|
+
\u0275\u0275text(3);
|
|
87826
|
+
\u0275\u0275pipe(4, "translate");
|
|
87921
87827
|
\u0275\u0275elementEnd();
|
|
87922
|
-
\u0275\
|
|
87923
|
-
\u0275\
|
|
87924
|
-
\u0275\u0275text(11);
|
|
87925
|
-
\u0275\u0275pipe(12, "translate");
|
|
87828
|
+
\u0275\u0275text(5);
|
|
87829
|
+
\u0275\u0275pipe(6, "translate");
|
|
87926
87830
|
\u0275\u0275elementEnd();
|
|
87927
|
-
\u0275\
|
|
87928
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
|
|
87929
|
-
\u0275\u0275restoreView(_r6);
|
|
87930
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87931
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87932
|
-
});
|
|
87831
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_For_3_Conditional_7_Template, 3, 4, "div", 13);
|
|
87933
87832
|
\u0275\u0275elementEnd();
|
|
87934
|
-
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
|
|
87935
|
-
\u0275\u0275elementEnd()();
|
|
87936
87833
|
}
|
|
87937
87834
|
if (rf & 2) {
|
|
87938
|
-
const
|
|
87939
|
-
|
|
87940
|
-
|
|
87941
|
-
\u0275\u0275advance();
|
|
87942
|
-
const registeredDelivery_r13 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewDeliveryAddress));
|
|
87943
|
-
const registeredDeliverySame_r14 = ctx_r0.isChecked(registeredOffice_r11, ctx_r0.controls.DeliverySameAsMailing);
|
|
87944
|
-
\u0275\u0275advance(2);
|
|
87945
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87946
|
-
\u0275\u0275advance(2);
|
|
87947
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.currentAddressesFields);
|
|
87948
|
-
\u0275\u0275advance(2);
|
|
87949
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
|
|
87950
|
-
\u0275\u0275advance(2);
|
|
87951
|
-
\u0275\u0275conditional(registeredMailing_r12 ? 9 : -1);
|
|
87835
|
+
const row_r6 = ctx.$implicit;
|
|
87836
|
+
\u0275\u0275advance(3);
|
|
87837
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(4, 3, row_r6.label), ":");
|
|
87952
87838
|
\u0275\u0275advance(2);
|
|
87953
|
-
\u0275\
|
|
87839
|
+
\u0275\u0275textInterpolate1(" ", row_r6.value || \u0275\u0275pipeBind1(6, 5, "Not specified"), " ");
|
|
87954
87840
|
\u0275\u0275advance(2);
|
|
87955
|
-
\u0275\
|
|
87956
|
-
\u0275\u0275advance();
|
|
87957
|
-
\u0275\u0275conditional(!registeredDeliverySame_r14 && registeredDelivery_r13 ? 14 : -1);
|
|
87841
|
+
\u0275\u0275conditional(row_r6.previous ? 7 : -1);
|
|
87958
87842
|
}
|
|
87959
87843
|
}
|
|
87960
|
-
function
|
|
87844
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_4_Template(rf, ctx) {
|
|
87961
87845
|
if (rf & 1) {
|
|
87962
|
-
|
|
87963
|
-
|
|
87964
|
-
|
|
87965
|
-
|
|
87966
|
-
|
|
87967
|
-
|
|
87968
|
-
|
|
87969
|
-
\u0275\
|
|
87846
|
+
\u0275\u0275element(0, "alert", 10);
|
|
87847
|
+
}
|
|
87848
|
+
}
|
|
87849
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
|
|
87850
|
+
if (rf & 1) {
|
|
87851
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 8);
|
|
87852
|
+
\u0275\u0275repeaterCreate(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_For_3_Template, 8, 7, "div", 9, _forTrack05);
|
|
87853
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_4_Template, 1, 0, "alert", 10);
|
|
87854
|
+
\u0275\u0275elementEnd()();
|
|
87970
87855
|
}
|
|
87971
87856
|
if (rf & 2) {
|
|
87972
|
-
\u0275\u0275nextContext(2);
|
|
87973
|
-
const recordsMailing_r18 = \u0275\u0275readContextLet(0);
|
|
87974
87857
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87975
|
-
\u0275\u0275property("
|
|
87858
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87859
|
+
\u0275\u0275advance(2);
|
|
87860
|
+
\u0275\u0275repeater(ctx_r0.registeredRows());
|
|
87861
|
+
\u0275\u0275advance(2);
|
|
87862
|
+
\u0275\u0275conditional(ctx_r0.isRegisteredMissing() ? 4 : -1);
|
|
87976
87863
|
}
|
|
87977
87864
|
}
|
|
87978
|
-
function
|
|
87865
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_For_3_Conditional_7_Template(rf, ctx) {
|
|
87979
87866
|
if (rf & 1) {
|
|
87980
|
-
|
|
87981
|
-
\u0275\
|
|
87982
|
-
\u0275\
|
|
87983
|
-
\u0275\u0275restoreView(_r19);
|
|
87984
|
-
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87985
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87986
|
-
});
|
|
87867
|
+
\u0275\u0275elementStart(0, "div", 13);
|
|
87868
|
+
\u0275\u0275text(1);
|
|
87869
|
+
\u0275\u0275pipe(2, "translate");
|
|
87987
87870
|
\u0275\u0275elementEnd();
|
|
87988
87871
|
}
|
|
87989
87872
|
if (rf & 2) {
|
|
87990
|
-
\u0275\u0275nextContext(
|
|
87991
|
-
|
|
87992
|
-
|
|
87993
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r20)("config", ctx_r0.addressFields);
|
|
87873
|
+
const row_r7 = \u0275\u0275nextContext().$implicit;
|
|
87874
|
+
\u0275\u0275advance();
|
|
87875
|
+
\u0275\u0275textInterpolate2(" ", \u0275\u0275pipeBind1(2, 2, "Previous"), ": ", row_r7.previous, " ");
|
|
87994
87876
|
}
|
|
87995
87877
|
}
|
|
87996
|
-
function
|
|
87878
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_For_3_Template(rf, ctx) {
|
|
87997
87879
|
if (rf & 1) {
|
|
87998
|
-
|
|
87999
|
-
\u0275\
|
|
88000
|
-
\u0275\
|
|
88001
|
-
\u0275\u0275pipe(2, "translate");
|
|
87880
|
+
\u0275\u0275elementStart(0, "div", 9)(1, "div", 11)(2, "span", 12);
|
|
87881
|
+
\u0275\u0275text(3);
|
|
87882
|
+
\u0275\u0275pipe(4, "translate");
|
|
88002
87883
|
\u0275\u0275elementEnd();
|
|
88003
|
-
\u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 9);
|
|
88004
|
-
\u0275\u0275elementStart(4, "h4", 10);
|
|
88005
87884
|
\u0275\u0275text(5);
|
|
88006
87885
|
\u0275\u0275pipe(6, "translate");
|
|
88007
87886
|
\u0275\u0275elementEnd();
|
|
88008
|
-
\u0275\
|
|
88009
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
88010
|
-
\u0275\u0275restoreView(_r16);
|
|
88011
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
88012
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
88013
|
-
});
|
|
87887
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_For_3_Conditional_7_Template, 3, 4, "div", 13);
|
|
88014
87888
|
\u0275\u0275elementEnd();
|
|
88015
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 9);
|
|
88016
87889
|
}
|
|
88017
87890
|
if (rf & 2) {
|
|
88018
|
-
|
|
88019
|
-
|
|
88020
|
-
|
|
88021
|
-
const recordsDeliverySame_r21 = \u0275\u0275readContextLet(3);
|
|
88022
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
88023
|
-
const recordsOffice_r22 = \u0275\u0275readContextLet(10);
|
|
88024
|
-
\u0275\u0275advance();
|
|
88025
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
|
|
88026
|
-
\u0275\u0275advance(2);
|
|
88027
|
-
\u0275\u0275conditional(recordsMailing_r18 ? 3 : -1);
|
|
87891
|
+
const row_r7 = ctx.$implicit;
|
|
87892
|
+
\u0275\u0275advance(3);
|
|
87893
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(4, 3, row_r7.label), ":");
|
|
88028
87894
|
\u0275\u0275advance(2);
|
|
88029
|
-
\u0275\
|
|
87895
|
+
\u0275\u0275textInterpolate1(" ", row_r7.value || \u0275\u0275pipeBind1(6, 5, "Not specified"), " ");
|
|
88030
87896
|
\u0275\u0275advance(2);
|
|
88031
|
-
\u0275\
|
|
88032
|
-
|
|
88033
|
-
|
|
87897
|
+
\u0275\u0275conditional(row_r7.previous ? 7 : -1);
|
|
87898
|
+
}
|
|
87899
|
+
}
|
|
87900
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_4_Template(rf, ctx) {
|
|
87901
|
+
if (rf & 1) {
|
|
87902
|
+
\u0275\u0275element(0, "alert", 10);
|
|
88034
87903
|
}
|
|
88035
87904
|
}
|
|
88036
87905
|
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
|
|
88037
87906
|
if (rf & 1) {
|
|
88038
|
-
|
|
88039
|
-
\u0275\
|
|
88040
|
-
\u0275\
|
|
88041
|
-
\u0275\u0275element(6, "filing-form-group", 9);
|
|
88042
|
-
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
88043
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
88044
|
-
\u0275\u0275restoreView(_r15);
|
|
88045
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
88046
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
88047
|
-
});
|
|
88048
|
-
\u0275\u0275elementEnd();
|
|
88049
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
|
|
87907
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 8);
|
|
87908
|
+
\u0275\u0275repeaterCreate(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_For_3_Template, 8, 7, "div", 9, _forTrack05);
|
|
87909
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_4_Template, 1, 0, "alert", 10);
|
|
88050
87910
|
\u0275\u0275elementEnd()();
|
|
88051
87911
|
}
|
|
88052
87912
|
if (rf & 2) {
|
|
88053
87913
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
88054
|
-
const recordsOffice_r22 = \u0275\u0275readContextLet(10);
|
|
88055
|
-
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewMailingAddress));
|
|
88056
|
-
\u0275\u0275advance();
|
|
88057
|
-
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewDeliveryAddress));
|
|
88058
|
-
const recordsSameAsRegistered_r23 = ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.SameAsRegisteredOffice);
|
|
88059
|
-
\u0275\u0275advance(2);
|
|
88060
|
-
\u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.DeliverySameAsMailing));
|
|
88061
|
-
\u0275\u0275advance();
|
|
88062
87914
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
|
|
88063
87915
|
\u0275\u0275advance(2);
|
|
88064
|
-
\u0275\
|
|
88065
|
-
\u0275\u0275advance();
|
|
88066
|
-
\u0275\
|
|
88067
|
-
\u0275\u0275advance();
|
|
88068
|
-
\u0275\u0275conditional(!recordsSameAsRegistered_r23 ? 8 : -1);
|
|
87916
|
+
\u0275\u0275repeater(ctx_r0.recordsRows());
|
|
87917
|
+
\u0275\u0275advance(2);
|
|
87918
|
+
\u0275\u0275conditional(ctx_r0.isRecordsMissing() ? 4 : -1);
|
|
88069
87919
|
}
|
|
88070
87920
|
}
|
|
88071
87921
|
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_13_Template(rf, ctx) {
|
|
88072
87922
|
if (rf & 1) {
|
|
88073
|
-
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div",
|
|
87923
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 14)(2, "p");
|
|
88074
87924
|
\u0275\u0275text(3);
|
|
88075
87925
|
\u0275\u0275pipe(4, "translate");
|
|
88076
87926
|
\u0275\u0275elementEnd();
|
|
88077
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
87927
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 15)(6, "mat-radio-button", 16);
|
|
88078
87928
|
\u0275\u0275text(7);
|
|
88079
87929
|
\u0275\u0275pipe(8, "translate");
|
|
88080
87930
|
\u0275\u0275elementEnd();
|
|
88081
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
87931
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 16);
|
|
88082
87932
|
\u0275\u0275text(10);
|
|
88083
87933
|
\u0275\u0275pipe(11, "translate");
|
|
88084
87934
|
\u0275\u0275elementEnd()()()();
|
|
88085
87935
|
}
|
|
88086
87936
|
if (rf & 2) {
|
|
88087
87937
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
88088
|
-
const
|
|
87938
|
+
const annualReportReminder_r8 = \u0275\u0275readContextLet(12);
|
|
88089
87939
|
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.AnnualReportReminder);
|
|
88090
87940
|
\u0275\u0275advance();
|
|
88091
|
-
\u0275\u0275property("formGroup",
|
|
87941
|
+
\u0275\u0275property("formGroup", annualReportReminder_r8);
|
|
88092
87942
|
\u0275\u0275advance(2);
|
|
88093
87943
|
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 9, "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."), " ");
|
|
88094
87944
|
\u0275\u0275advance(2);
|
|
@@ -88103,7 +87953,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88103
87953
|
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(11, 13, "No, I do not need to be reminded"), " ");
|
|
88104
87954
|
}
|
|
88105
87955
|
}
|
|
88106
|
-
var BritishColumbiaChangeOfOfficeAddressesFormComponent;
|
|
87956
|
+
var _forTrack05, BritishColumbiaChangeOfOfficeAddressesFormComponent;
|
|
88107
87957
|
var init_change_of_office_addresses_form_component = __esm({
|
|
88108
87958
|
"src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
|
|
88109
87959
|
init_core();
|
|
@@ -88116,11 +87966,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88116
87966
|
init_expandable_card_component();
|
|
88117
87967
|
init_british_columbia_form_enums();
|
|
88118
87968
|
init_british_columbia_change_of_office_addresses_form_constants();
|
|
88119
|
-
init_forms_utils();
|
|
88120
87969
|
init_BritishColumbiaConstants();
|
|
88121
87970
|
init_british_columbia_change_of_office_addresses_form_helper();
|
|
88122
87971
|
init_core();
|
|
88123
87972
|
init_forms();
|
|
87973
|
+
_forTrack05 = ($index, $item) => $item.label;
|
|
88124
87974
|
BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
|
|
88125
87975
|
form = input.required();
|
|
88126
87976
|
task = input();
|
|
@@ -88148,12 +87998,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88148
87998
|
return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
|
|
88149
87999
|
}
|
|
88150
88000
|
isRegisteredOfficeValid() {
|
|
88151
|
-
|
|
88152
|
-
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
88001
|
+
return !this.isRegisteredMissing();
|
|
88153
88002
|
}
|
|
88154
88003
|
isRecordsOfficeValid() {
|
|
88155
|
-
|
|
88156
|
-
|
|
88004
|
+
return !this.isRecordsMissing();
|
|
88005
|
+
}
|
|
88006
|
+
/** The incoming Shared Address supplied no new address for a line (and none is on the register). */
|
|
88007
|
+
isRegisteredMissing() {
|
|
88008
|
+
return this.registeredRows().some((row) => !row.value);
|
|
88009
|
+
}
|
|
88010
|
+
isRecordsMissing() {
|
|
88011
|
+
return this.recordsRows().some((row) => !row.value);
|
|
88157
88012
|
}
|
|
88158
88013
|
isChecked(office, control) {
|
|
88159
88014
|
return Boolean(office?.get(control)?.value);
|
|
@@ -88171,14 +88026,63 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88171
88026
|
getAddressGroup(office, control) {
|
|
88172
88027
|
return office?.get(control) ?? null;
|
|
88173
88028
|
}
|
|
88174
|
-
|
|
88175
|
-
|
|
88176
|
-
|
|
88029
|
+
/** Registered office lines: the new (incoming) address and, if it changed, the previous one. */
|
|
88030
|
+
registeredRows() {
|
|
88031
|
+
const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
|
|
88032
|
+
return this.buildRows(office, this.isChecked(office, this.controls.DeliverySameAsMailing));
|
|
88033
|
+
}
|
|
88034
|
+
/** Records office lines; "Same as Registered Office" reuses the registered office's new lines. */
|
|
88035
|
+
recordsRows() {
|
|
88036
|
+
const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
88037
|
+
if (this.isChecked(office, this.controls.SameAsRegisteredOffice)) {
|
|
88038
|
+
const registered = this.registeredRows();
|
|
88039
|
+
const current = this.currentOf(office);
|
|
88040
|
+
return registered.map((row, i) => __spreadProps(__spreadValues({}, row), {
|
|
88041
|
+
previous: this.changedPrevious(row.value, i === 0 ? current.mailing : current.delivery)
|
|
88042
|
+
}));
|
|
88043
|
+
}
|
|
88044
|
+
return this.buildRows(office, this.isChecked(office, this.controls.DeliverySameAsMailing));
|
|
88045
|
+
}
|
|
88046
|
+
buildRows(office, deliverySame) {
|
|
88047
|
+
const current = this.currentOf(office);
|
|
88048
|
+
const mailing = this.formatNew(this.getAddressGroup(office, this.controls.NewMailingAddress));
|
|
88049
|
+
const delivery = deliverySame ? mailing : this.formatNew(this.getAddressGroup(office, this.controls.NewDeliveryAddress));
|
|
88050
|
+
return [
|
|
88051
|
+
{
|
|
88052
|
+
label: "Mailing Address",
|
|
88053
|
+
value: mailing,
|
|
88054
|
+
previous: this.changedPrevious(mailing, current.mailing)
|
|
88055
|
+
},
|
|
88056
|
+
{
|
|
88057
|
+
label: "Delivery Address",
|
|
88058
|
+
value: delivery,
|
|
88059
|
+
previous: this.changedPrevious(delivery, current.delivery)
|
|
88060
|
+
}
|
|
88061
|
+
];
|
|
88062
|
+
}
|
|
88063
|
+
currentOf(office) {
|
|
88064
|
+
return {
|
|
88065
|
+
mailing: office?.get(this.controls.CurrentMailingAddress)?.value ?? "",
|
|
88066
|
+
delivery: office?.get(this.controls.CurrentDeliveryAddress)?.value ?? ""
|
|
88067
|
+
};
|
|
88068
|
+
}
|
|
88069
|
+
formatNew(group2) {
|
|
88070
|
+
const c = this.controls;
|
|
88071
|
+
const v = group2?.getRawValue() ?? {};
|
|
88072
|
+
if (![v[c.AddressLine1], v[c.City], v[c.PostalCode]].some((part) => part?.trim())) {
|
|
88073
|
+
return "";
|
|
88074
|
+
}
|
|
88075
|
+
return [v[c.AddressLine1], v[c.AddressLine2], v[c.City], v[c.Province], v[c.PostalCode], v[c.Country]].filter((part) => Boolean(part?.trim())).join(", ");
|
|
88076
|
+
}
|
|
88077
|
+
/** The previous address, only when it exists and differs from the new one. */
|
|
88078
|
+
changedPrevious(next, previous) {
|
|
88079
|
+
const normalize = (s) => s.toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
88080
|
+
return previous && normalize(previous) !== normalize(next) ? previous : "";
|
|
88177
88081
|
}
|
|
88178
88082
|
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
|
|
88179
88083
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
|
|
88180
88084
|
};
|
|
88181
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesFormComponent, selectors: [["british-columbia-change-of-office-addresses-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 14, vars:
|
|
88085
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesFormComponent, selectors: [["british-columbia-change-of-office-addresses-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 14, vars: 10, consts: [[1, "change-of-office-addresses-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, "change-of-office-addresses-form-content"], [3, "title"], [3, "isStatusIcon", "isValid", "title"], [3, "isStatusIcon", "title"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item"], [1, "change-of-office-addresses-form-address"], ["title", "New address missing", "content", "No new address was found for this office. Add it in Athennian, then try again."], [1, "body-1-regular", "grey"], [1, "body-1-semibold"], [1, "change-of-office-addresses-form-previous", "body-2-regular"], [1, "annual-reminder", 3, "formGroup"], [3, "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
|
|
88182
88086
|
if (rf & 1) {
|
|
88183
88087
|
\u0275\u0275elementStart(0, "div", 0);
|
|
88184
88088
|
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
@@ -88188,9 +88092,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88188
88092
|
\u0275\u0275declareLet(6);
|
|
88189
88093
|
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 6, "expandable-card", 5);
|
|
88190
88094
|
\u0275\u0275declareLet(8);
|
|
88191
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template,
|
|
88095
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 5, 4, "expandable-card", 5);
|
|
88192
88096
|
\u0275\u0275declareLet(10);
|
|
88193
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template,
|
|
88097
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 5, 4, "expandable-card", 5);
|
|
88194
88098
|
\u0275\u0275declareLet(12);
|
|
88195
88099
|
\u0275\u0275template(13, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_13_Template, 12, 15, "expandable-card", 6);
|
|
88196
88100
|
\u0275\u0275elementEnd()();
|
|
@@ -88201,25 +88105,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88201
88105
|
\u0275\u0275advance();
|
|
88202
88106
|
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
88203
88107
|
\u0275\u0275advance(2);
|
|
88204
|
-
const
|
|
88205
|
-
\u0275\u0275advance();
|
|
88206
|
-
\u0275\u0275conditional(referenceNumbers_r25 ? 5 : -1);
|
|
88108
|
+
const referenceNumbers_r9 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
88207
88109
|
\u0275\u0275advance();
|
|
88208
|
-
|
|
88110
|
+
\u0275\u0275conditional(referenceNumbers_r9 ? 5 : -1);
|
|
88209
88111
|
\u0275\u0275advance();
|
|
88210
|
-
\u0275\
|
|
88112
|
+
const corporationDetails_r10 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
88211
88113
|
\u0275\u0275advance();
|
|
88212
|
-
|
|
88213
|
-
|
|
88214
|
-
\u0275\
|
|
88215
|
-
\u0275\
|
|
88216
|
-
const
|
|
88217
|
-
\u0275\u0275advance();
|
|
88218
|
-
\u0275\u0275conditional(
|
|
88114
|
+
\u0275\u0275conditional(corporationDetails_r10 ? 7 : -1);
|
|
88115
|
+
const registeredOffice_r11 = ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress);
|
|
88116
|
+
\u0275\u0275advance(2);
|
|
88117
|
+
\u0275\u0275conditional(registeredOffice_r11 ? 9 : -1);
|
|
88118
|
+
const recordsOffice_r12 = ctx.getFormGroup(ctx.groups.RecordsOfficeAddress);
|
|
88119
|
+
\u0275\u0275advance(2);
|
|
88120
|
+
\u0275\u0275conditional(recordsOffice_r12 ? 11 : -1);
|
|
88219
88121
|
\u0275\u0275advance();
|
|
88220
|
-
const
|
|
88122
|
+
const annualReportReminder_r13 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
88221
88123
|
\u0275\u0275advance();
|
|
88222
|
-
\u0275\u0275conditional(
|
|
88124
|
+
\u0275\u0275conditional(annualReportReminder_r13 ? 13 : -1);
|
|
88223
88125
|
}
|
|
88224
88126
|
}, dependencies: [
|
|
88225
88127
|
FilingFormGroupComponent,
|
|
@@ -88233,7 +88135,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88233
88135
|
FormGroupDirective,
|
|
88234
88136
|
FormControlName,
|
|
88235
88137
|
TranslatePipe
|
|
88236
|
-
], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: 14px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] .mat-mdc-radio-button .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] .mat-mdc-radio-button {\n --mdc-radio-state-layer-size: 40px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item-title[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */"], changeDetection: 0 });
|
|
88138
|
+
], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: 14px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] .mat-mdc-radio-button .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] .mat-mdc-radio-button {\n --mdc-radio-state-layer-size: 40px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item-title[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-dark-blue);\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-address[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-previous[_ngcontent-%COMP%] {\n font-style: italic;\n color: var(--filing-modal-color-grey-mid);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */"], changeDetection: 0 });
|
|
88237
88139
|
};
|
|
88238
88140
|
(() => {
|
|
88239
88141
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
|
|
@@ -88297,53 +88199,30 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88297
88199
|
@let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
|
|
88298
88200
|
\r
|
|
88299
88201
|
@if (registeredOffice) {\r
|
|
88300
|
-
@let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
|
|
88301
|
-
@let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
|
|
88302
|
-
@let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
|
|
88303
|
-
\r
|
|
88304
88202
|
<expandable-card\r
|
|
88305
88203
|
[isStatusIcon]="!readonly()"\r
|
|
88306
88204
|
[isValid]="isRegisteredOfficeValid()"\r
|
|
88307
88205
|
[title]="groups.RegisteredOfficeAddress"\r
|
|
88308
88206
|
>\r
|
|
88309
88207
|
<div class="change-of-office-addresses-form-item">\r
|
|
88310
|
-
|
|
88311
|
-
|
|
88312
|
-
|
|
88313
|
-
|
|
88314
|
-
|
|
88315
|
-
|
|
88316
|
-
|
|
88317
|
-
|
|
88318
|
-
|
|
88319
|
-
|
|
88320
|
-
|
|
88321
|
-
|
|
88322
|
-
[config]="addressFields"\r
|
|
88323
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88324
|
-
/>\r
|
|
88208
|
+
@for (row of registeredRows(); track row.label) {\r
|
|
88209
|
+
<div class="change-of-office-addresses-form-address">\r
|
|
88210
|
+
<div class="body-1-regular grey">\r
|
|
88211
|
+
<span class="body-1-semibold">{{ row.label | translate }}:</span>\r
|
|
88212
|
+
{{ row.value || ('Not specified' | translate) }}\r
|
|
88213
|
+
</div>\r
|
|
88214
|
+
@if (row.previous) {\r
|
|
88215
|
+
<div class="change-of-office-addresses-form-previous body-2-regular">\r
|
|
88216
|
+
{{ 'Previous' | translate }}: {{ row.previous }}\r
|
|
88217
|
+
</div>\r
|
|
88218
|
+
}\r
|
|
88219
|
+
</div>\r
|
|
88325
88220
|
}\r
|
|
88326
88221
|
\r
|
|
88327
|
-
|
|
88328
|
-
\r
|
|
88329
|
-
|
|
88330
|
-
|
|
88331
|
-
[form]="registeredOffice"\r
|
|
88332
|
-
[config]="deliverySameAsMailingFields"\r
|
|
88333
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88334
|
-
/>\r
|
|
88335
|
-
\r
|
|
88336
|
-
@if (!registeredDeliverySame && registeredDelivery) {\r
|
|
88337
|
-
<filing-form-group\r
|
|
88338
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88339
|
-
[form]="registeredOffice"\r
|
|
88340
|
-
[config]="deliveryNoteFields"\r
|
|
88341
|
-
/>\r
|
|
88342
|
-
<filing-form-group\r
|
|
88343
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88344
|
-
[form]="registeredDelivery"\r
|
|
88345
|
-
[config]="addressFields"\r
|
|
88346
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88222
|
+
@if (isRegisteredMissing()) {\r
|
|
88223
|
+
<alert\r
|
|
88224
|
+
title="New address missing"\r
|
|
88225
|
+
content="No new address was found for this office. Add it in Athennian, then try again."\r
|
|
88347
88226
|
/>\r
|
|
88348
88227
|
}\r
|
|
88349
88228
|
</div>\r
|
|
@@ -88354,59 +88233,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88354
88233
|
@let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
|
|
88355
88234
|
\r
|
|
88356
88235
|
@if (recordsOffice) {\r
|
|
88357
|
-
@let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
|
|
88358
|
-
@let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
|
|
88359
|
-
@let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
|
|
88360
|
-
@let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
|
|
88361
|
-
\r
|
|
88362
88236
|
<expandable-card\r
|
|
88363
88237
|
[isStatusIcon]="!readonly()"\r
|
|
88364
88238
|
[isValid]="isRecordsOfficeValid()"\r
|
|
88365
88239
|
[title]="groups.RecordsOfficeAddress"\r
|
|
88366
88240
|
>\r
|
|
88367
88241
|
<div class="change-of-office-addresses-form-item">\r
|
|
88368
|
-
|
|
88369
|
-
|
|
88370
|
-
|
|
88371
|
-
|
|
88372
|
-
|
|
88373
|
-
|
|
88374
|
-
|
|
88375
|
-
|
|
88376
|
-
|
|
88377
|
-
|
|
88378
|
-
|
|
88379
|
-
|
|
88380
|
-
\r
|
|
88381
|
-
@if (!recordsSameAsRegistered) {\r
|
|
88382
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88383
|
-
\r
|
|
88384
|
-
@if (recordsMailing) {\r
|
|
88385
|
-
<filing-form-group\r
|
|
88386
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88387
|
-
[form]="recordsMailing"\r
|
|
88388
|
-
[config]="addressFields"\r
|
|
88389
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88390
|
-
/>\r
|
|
88391
|
-
}\r
|
|
88392
|
-
\r
|
|
88393
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88242
|
+
@for (row of recordsRows(); track row.label) {\r
|
|
88243
|
+
<div class="change-of-office-addresses-form-address">\r
|
|
88244
|
+
<div class="body-1-regular grey">\r
|
|
88245
|
+
<span class="body-1-semibold">{{ row.label | translate }}:</span>\r
|
|
88246
|
+
{{ row.value || ('Not specified' | translate) }}\r
|
|
88247
|
+
</div>\r
|
|
88248
|
+
@if (row.previous) {\r
|
|
88249
|
+
<div class="change-of-office-addresses-form-previous body-2-regular">\r
|
|
88250
|
+
{{ 'Previous' | translate }}: {{ row.previous }}\r
|
|
88251
|
+
</div>\r
|
|
88252
|
+
}\r
|
|
88253
|
+
</div>\r
|
|
88254
|
+
}\r
|
|
88394
88255
|
\r
|
|
88395
|
-
|
|
88396
|
-
|
|
88397
|
-
|
|
88398
|
-
|
|
88399
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88256
|
+
@if (isRecordsMissing()) {\r
|
|
88257
|
+
<alert\r
|
|
88258
|
+
title="New address missing"\r
|
|
88259
|
+
content="No new address was found for this office. Add it in Athennian, then try again."\r
|
|
88400
88260
|
/>\r
|
|
88401
|
-
\r
|
|
88402
|
-
@if (!recordsDeliverySame && recordsDelivery) {\r
|
|
88403
|
-
<filing-form-group\r
|
|
88404
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88405
|
-
[form]="recordsDelivery"\r
|
|
88406
|
-
[config]="addressFields"\r
|
|
88407
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88408
|
-
/>\r
|
|
88409
|
-
}\r
|
|
88410
88261
|
}\r
|
|
88411
88262
|
</div>\r
|
|
88412
88263
|
</expandable-card>\r
|
|
@@ -88436,11 +88287,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88436
88287
|
}\r
|
|
88437
88288
|
</div>\r
|
|
88438
88289
|
</div>\r
|
|
88439
|
-
`, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n:host .change-of-office-addresses-form .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .change-of-office-addresses-form .annual-reminder p {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n:host .change-of-office-addresses-form .annual-reminder mat-radio-group {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: 14px;\n}\n:host .change-of-office-addresses-form .annual-reminder ::ng-deep .mat-mdc-radio-button .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n:host .change-of-office-addresses-form .annual-reminder ::ng-deep .mat-mdc-radio-button {\n --mdc-radio-state-layer-size: 40px;\n}\n:host .change-of-office-addresses-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .change-of-office-addresses-form-item-title {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */\n"] }]
|
|
88290
|
+
`, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n:host .change-of-office-addresses-form .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .change-of-office-addresses-form .annual-reminder p {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n:host .change-of-office-addresses-form .annual-reminder mat-radio-group {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: 14px;\n}\n:host .change-of-office-addresses-form .annual-reminder ::ng-deep .mat-mdc-radio-button .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n:host .change-of-office-addresses-form .annual-reminder ::ng-deep .mat-mdc-radio-button {\n --mdc-radio-state-layer-size: 40px;\n}\n:host .change-of-office-addresses-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .change-of-office-addresses-form-item-title {\n color: var(--filing-modal-color-dark-blue);\n}\n:host .change-of-office-addresses-form-address {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .change-of-office-addresses-form-previous {\n font-style: italic;\n color: var(--filing-modal-color-grey-mid);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */\n"] }]
|
|
88440
88291
|
}], null, null);
|
|
88441
88292
|
})();
|
|
88442
88293
|
(() => {
|
|
88443
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts", lineNumber:
|
|
88294
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts", lineNumber: 60 });
|
|
88444
88295
|
})();
|
|
88445
88296
|
}
|
|
88446
88297
|
});
|
|
@@ -90824,7 +90675,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
90824
90675
|
\u0275\u0275pipe(7, "translate");
|
|
90825
90676
|
\u0275\u0275elementEnd();
|
|
90826
90677
|
\u0275\u0275elementStart(8, "ul", 16);
|
|
90827
|
-
\u0275\u0275repeaterCreate(9, FederalIncorporationFormComponent_Conditional_7_For_10_Template, 2, 1, "li", 17,
|
|
90678
|
+
\u0275\u0275repeaterCreate(9, FederalIncorporationFormComponent_Conditional_7_For_10_Template, 2, 1, "li", 17, _forTrack06);
|
|
90828
90679
|
\u0275\u0275elementEnd()();
|
|
90829
90680
|
\u0275\u0275elementStart(11, "span", 17);
|
|
90830
90681
|
\u0275\u0275text(12);
|
|
@@ -91027,7 +90878,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
91027
90878
|
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", contactForm_r24)("config", ctx_r0.contactControl);
|
|
91028
90879
|
}
|
|
91029
90880
|
}
|
|
91030
|
-
var _c016,
|
|
90881
|
+
var _c016, _forTrack06, FederalIncorporationFormComponent;
|
|
91031
90882
|
var init_federal_incorporation_form_component = __esm({
|
|
91032
90883
|
"src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts"() {
|
|
91033
90884
|
init_core();
|
|
@@ -91052,7 +90903,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
91052
90903
|
init_common();
|
|
91053
90904
|
init_core();
|
|
91054
90905
|
_c016 = ["*"];
|
|
91055
|
-
|
|
90906
|
+
_forTrack06 = ($index, $item) => $item.affiliationID;
|
|
91056
90907
|
FederalIncorporationFormComponent = class _FederalIncorporationFormComponent {
|
|
91057
90908
|
form = input.required();
|
|
91058
90909
|
isNote = input(false);
|
|
@@ -95652,6 +95503,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95652
95503
|
}
|
|
95653
95504
|
function findDirectorNumber(affiliation, extract) {
|
|
95654
95505
|
const target = normaliseDirectorName(affiliation);
|
|
95506
|
+
const targetId = String(affiliation?._id ?? affiliation?.id ?? "").trim();
|
|
95655
95507
|
let result;
|
|
95656
95508
|
const visit = (value) => {
|
|
95657
95509
|
if (result !== void 0 || value === null || value === void 0)
|
|
@@ -95664,7 +95516,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95664
95516
|
return;
|
|
95665
95517
|
const record = value;
|
|
95666
95518
|
const number = record["directorNumber"] ?? record["DirectorNumber"];
|
|
95667
|
-
|
|
95519
|
+
const recordId = String(record["_id"] ?? record["id"] ?? record["affiliationId"] ?? "").trim();
|
|
95520
|
+
if (number !== void 0 && (targetId && recordId === targetId || normaliseDirectorName(record) === target)) {
|
|
95668
95521
|
const parsed = Number(number);
|
|
95669
95522
|
if (Number.isFinite(parsed))
|
|
95670
95523
|
result = parsed;
|
|
@@ -96371,6 +96224,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96371
96224
|
}
|
|
96372
96225
|
}
|
|
96373
96226
|
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task) && this.bcDataExtractTaskId !== task._id) {
|
|
96227
|
+
if (task.deltaData?.validatedData) {
|
|
96228
|
+
this.bcCurrentDataServiceOrderId = task.deltaData.validatedData.currentDataServiceOrderId ?? "";
|
|
96229
|
+
this.bcDataExtractTaskId = task._id;
|
|
96230
|
+
return;
|
|
96231
|
+
}
|
|
96374
96232
|
const signature = this._signature();
|
|
96375
96233
|
if (!signature)
|
|
96376
96234
|
return;
|
|
@@ -96988,12 +96846,41 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96988
96846
|
return "Initial Return Draft";
|
|
96989
96847
|
}
|
|
96990
96848
|
onEditClick() {
|
|
96991
|
-
|
|
96849
|
+
const task = this.task();
|
|
96850
|
+
if (!task)
|
|
96851
|
+
return;
|
|
96852
|
+
if (isUpdateMaintain(task)) {
|
|
96992
96853
|
this.serviceOrderId = "";
|
|
96993
96854
|
void this.getCurrentData();
|
|
96855
|
+
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
96856
|
+
this.bcDataExtractTaskId = "";
|
|
96857
|
+
void this.refreshBritishColumbiaCurrentDataExtract();
|
|
96994
96858
|
}
|
|
96995
96859
|
this.activeStep.set(Step.Validate);
|
|
96996
96860
|
}
|
|
96861
|
+
refreshBritishColumbiaCurrentDataExtract() {
|
|
96862
|
+
return __async(this, null, function* () {
|
|
96863
|
+
const task = this.task();
|
|
96864
|
+
const signature = this._signature();
|
|
96865
|
+
if (!task || !signature || !isChangeOfPrincipalsTask(task))
|
|
96866
|
+
return;
|
|
96867
|
+
const { request, issues } = buildBritishColumbiaDataExtractOrder(task, task.deltaData?.companyPassword);
|
|
96868
|
+
if (issues.length) {
|
|
96869
|
+
this.errors.set(issues);
|
|
96870
|
+
return;
|
|
96871
|
+
}
|
|
96872
|
+
this.isLoading.set(true);
|
|
96873
|
+
try {
|
|
96874
|
+
this.bcCurrentDataServiceOrderId = yield this.britishColumbiaChangeOfDirectorsService.ensureCurrentDataExtract(signature, request, this.validateOptions() ?? {});
|
|
96875
|
+
this.currentDataExtract.set(this.britishColumbiaChangeOfDirectorsService.getCurrentDataExtract());
|
|
96876
|
+
this.bcDataExtractTaskId = task._id;
|
|
96877
|
+
} catch (error) {
|
|
96878
|
+
this.handleCatchError(error);
|
|
96879
|
+
} finally {
|
|
96880
|
+
this.isLoading.set(false);
|
|
96881
|
+
}
|
|
96882
|
+
});
|
|
96883
|
+
}
|
|
96997
96884
|
parseError(errors) {
|
|
96998
96885
|
return errors.map((item) => (item["ErrorMessage"] ?? item["Message"] ?? "").toString().trim()).filter((message) => message.length > 0);
|
|
96999
96886
|
}
|
|
@@ -97319,7 +97206,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97319
97206
|
}], () => [], null);
|
|
97320
97207
|
})();
|
|
97321
97208
|
(() => {
|
|
97322
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
97209
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 98 });
|
|
97323
97210
|
})();
|
|
97324
97211
|
}
|
|
97325
97212
|
});
|
|
@@ -101969,6 +101856,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
101969
101856
|
"File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
|
|
101970
101857
|
"Records Office Address": "Records Office Address",
|
|
101971
101858
|
"The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.": "The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.",
|
|
101859
|
+
"Mailing Address": "Mailing Address",
|
|
101860
|
+
"Delivery Address": "Delivery Address",
|
|
101972
101861
|
"Current Mailing Address": "Current Mailing Address",
|
|
101973
101862
|
"Current Delivery Address": "Current Delivery Address",
|
|
101974
101863
|
"New Mailing Address": "New Mailing Address",
|
|
@@ -102325,6 +102214,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
102325
102214
|
"Without Par Value": "Sans valeur nominale",
|
|
102326
102215
|
"File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
|
|
102327
102216
|
"The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.": "Les nouvelles adresses prendront effet au d\xE9but du jour suivant la date de d\xE9p\xF4t. Le si\xE8ge social et le bureau des registres doivent \xEAtre situ\xE9s en Colombie-Britannique.",
|
|
102217
|
+
"Mailing Address": "Adresse postale",
|
|
102218
|
+
"Delivery Address": "Adresse de livraison",
|
|
102328
102219
|
"Current Mailing Address": "Adresse postale actuelle",
|
|
102329
102220
|
"Current Delivery Address": "Adresse de livraison actuelle",
|
|
102330
102221
|
"New Mailing Address": "Nouvelle adresse postale",
|