@dyedurham/search-and-file-widget 2.1.32 → 2.1.34
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 +75 -178
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -84948,7 +84948,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84948
84948
|
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
84949
84949
|
const pick = BritishColumbiaFormationFormHelper.pickAddress;
|
|
84950
84950
|
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
84951
|
-
const companyEmail = registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? "";
|
|
84951
|
+
const companyEmail = delta?.companyEmail ?? registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? "";
|
|
84952
84952
|
const registeredMailing = format(pick(registeredOffice?.addresses, "Mailing"));
|
|
84953
84953
|
const effectiveDate = task._ext._effective_date ?? "";
|
|
84954
84954
|
const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
@@ -85414,7 +85414,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85414
85414
|
});
|
|
85415
85415
|
|
|
85416
85416
|
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
85417
|
-
var Controls3, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS,
|
|
85417
|
+
var Controls3, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85418
85418
|
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
85419
85419
|
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
85420
85420
|
init_form_enums();
|
|
@@ -85454,7 +85454,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85454
85454
|
class: "span-12"
|
|
85455
85455
|
}
|
|
85456
85456
|
];
|
|
85457
|
-
|
|
85457
|
+
[
|
|
85458
85458
|
{
|
|
85459
85459
|
type: FormType.Checkbox,
|
|
85460
85460
|
label: "Directors will be added and/or deleted as part of this filing",
|
|
@@ -85588,78 +85588,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85588
85588
|
\u0275\u0275elementEnd()()()();
|
|
85589
85589
|
}
|
|
85590
85590
|
if (rf & 2) {
|
|
85591
|
-
let
|
|
85592
|
-
let
|
|
85591
|
+
let tmp_8_0;
|
|
85592
|
+
let tmp_10_0;
|
|
85593
85593
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85594
85594
|
const corporationDetails_r5 = \u0275\u0275readContextLet(6);
|
|
85595
85595
|
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
85596
85596
|
\u0275\u0275advance(4);
|
|
85597
85597
|
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 9, "Corporation Name"), ":");
|
|
85598
85598
|
\u0275\u0275advance(2);
|
|
85599
|
-
\u0275\u0275textInterpolate1(" ", (
|
|
85599
|
+
\u0275\u0275textInterpolate1(" ", (tmp_8_0 = corporationDetails_r5.get(ctx_r0.controls.CorporationName)) == null ? null : tmp_8_0.value, " ");
|
|
85600
85600
|
\u0275\u0275advance(3);
|
|
85601
85601
|
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 11, "Incorporation Number"), ":");
|
|
85602
85602
|
\u0275\u0275advance(2);
|
|
85603
|
-
\u0275\u0275textInterpolate1(" ", (
|
|
85603
|
+
\u0275\u0275textInterpolate1(" ", (tmp_10_0 = corporationDetails_r5.get(ctx_r0.controls.IncorporationNumber)) == null ? null : tmp_10_0.value, " ");
|
|
85604
85604
|
\u0275\u0275advance(2);
|
|
85605
85605
|
\u0275\u0275property("form", corporationDetails_r5)("config", ctx_r0.companyEmailFields())("isSubmitted", ctx_r0.isSubmitted());
|
|
85606
85606
|
}
|
|
85607
85607
|
}
|
|
85608
|
-
function
|
|
85609
|
-
if (rf & 1) {
|
|
85610
|
-
\u0275\u0275elementStart(0, "div", 15)(1, "div", 16)(2, "p", 17);
|
|
85611
|
-
\u0275\u0275text(3);
|
|
85612
|
-
\u0275\u0275pipe(4, "translate");
|
|
85613
|
-
\u0275\u0275elementStart(5, "strong");
|
|
85614
|
-
\u0275\u0275text(6);
|
|
85615
|
-
\u0275\u0275elementEnd()()()();
|
|
85616
|
-
}
|
|
85617
|
-
if (rf & 2) {
|
|
85618
|
-
let tmp_8_0;
|
|
85619
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85620
|
-
const filingDetails_r7 = \u0275\u0275readContextLet(8);
|
|
85621
|
-
\u0275\u0275advance(3);
|
|
85622
|
-
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 2, "The date on which the individual(s) became or ceased to be a director:"), " ");
|
|
85623
|
-
\u0275\u0275advance(3);
|
|
85624
|
-
\u0275\u0275textInterpolate(ctx_r0.getEffectiveDateDisplay((tmp_8_0 = filingDetails_r7.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_8_0.value));
|
|
85625
|
-
}
|
|
85626
|
-
}
|
|
85627
|
-
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85628
|
-
if (rf & 1) {
|
|
85629
|
-
const _r6 = \u0275\u0275getCurrentView();
|
|
85630
|
-
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 13)(2, "mat-checkbox", 14);
|
|
85631
|
-
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_2_listener() {
|
|
85632
|
-
let tmp_7_0;
|
|
85633
|
-
\u0275\u0275restoreView(_r6);
|
|
85634
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
85635
|
-
const filingDetails_r7 = \u0275\u0275readContextLet(8);
|
|
85636
|
-
(tmp_7_0 = filingDetails_r7.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.updateValueAndValidity({ emitEvent: false });
|
|
85637
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r7.valid));
|
|
85638
|
-
});
|
|
85639
|
-
\u0275\u0275text(3);
|
|
85640
|
-
\u0275\u0275pipe(4, "translate");
|
|
85641
|
-
\u0275\u0275elementEnd();
|
|
85642
|
-
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_5_Template, 7, 4, "div", 15);
|
|
85643
|
-
\u0275\u0275elementEnd()();
|
|
85644
|
-
}
|
|
85645
|
-
if (rf & 2) {
|
|
85646
|
-
let tmp_12_0;
|
|
85647
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
85648
|
-
const filingDetails_r7 = \u0275\u0275readContextLet(8);
|
|
85649
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["filingDetails"])("title", ctx_r0.groups.FilingDetails);
|
|
85650
|
-
\u0275\u0275advance();
|
|
85651
|
-
\u0275\u0275property("formGroup", filingDetails_r7);
|
|
85652
|
-
\u0275\u0275advance();
|
|
85653
|
-
\u0275\u0275property("formControlName", ctx_r0.controls.DirectorsAddedOrDeleted);
|
|
85654
|
-
\u0275\u0275advance();
|
|
85655
|
-
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 7, "Directors will be added and/or deleted as part of this filing"), " ");
|
|
85656
|
-
\u0275\u0275advance(2);
|
|
85657
|
-
\u0275\u0275conditional(((tmp_12_0 = filingDetails_r7.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_12_0.value) ? 5 : -1);
|
|
85658
|
-
}
|
|
85659
|
-
}
|
|
85660
|
-
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85608
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_10_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85661
85609
|
if (rf & 1) {
|
|
85662
|
-
\u0275\u0275elementStart(0, "span",
|
|
85610
|
+
\u0275\u0275elementStart(0, "span", 17);
|
|
85663
85611
|
\u0275\u0275text(1);
|
|
85664
85612
|
\u0275\u0275pipe(2, "translate");
|
|
85665
85613
|
\u0275\u0275elementEnd();
|
|
@@ -85669,9 +85617,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85669
85617
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "NEW"));
|
|
85670
85618
|
}
|
|
85671
85619
|
}
|
|
85672
|
-
function
|
|
85620
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_10_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85673
85621
|
if (rf & 1) {
|
|
85674
|
-
\u0275\u0275elementStart(0, "span",
|
|
85622
|
+
\u0275\u0275elementStart(0, "span", 18);
|
|
85675
85623
|
\u0275\u0275text(1);
|
|
85676
85624
|
\u0275\u0275pipe(2, "translate");
|
|
85677
85625
|
\u0275\u0275elementEnd();
|
|
@@ -85681,71 +85629,71 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85681
85629
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "CEASE"));
|
|
85682
85630
|
}
|
|
85683
85631
|
}
|
|
85684
|
-
function
|
|
85632
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_10_For_12_Conditional_1_Template(rf, ctx) {
|
|
85685
85633
|
if (rf & 1) {
|
|
85686
|
-
\u0275\u0275elementStart(0, "div",
|
|
85634
|
+
\u0275\u0275elementStart(0, "div", 15)(1, "div", 16)(2, "strong");
|
|
85687
85635
|
\u0275\u0275text(3);
|
|
85688
85636
|
\u0275\u0275elementEnd();
|
|
85689
|
-
\u0275\u0275template(4,
|
|
85637
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_10_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 17)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_10_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 18);
|
|
85690
85638
|
\u0275\u0275elementEnd();
|
|
85691
|
-
\u0275\u0275elementStart(6, "div",
|
|
85639
|
+
\u0275\u0275elementStart(6, "div", 16);
|
|
85692
85640
|
\u0275\u0275text(7);
|
|
85693
85641
|
\u0275\u0275elementEnd();
|
|
85694
|
-
\u0275\u0275elementStart(8, "div",
|
|
85642
|
+
\u0275\u0275elementStart(8, "div", 16);
|
|
85695
85643
|
\u0275\u0275text(9);
|
|
85696
85644
|
\u0275\u0275elementEnd()();
|
|
85697
85645
|
}
|
|
85698
85646
|
if (rf & 2) {
|
|
85699
|
-
let
|
|
85647
|
+
let tmp_18_0;
|
|
85648
|
+
let tmp_21_0;
|
|
85700
85649
|
let tmp_22_0;
|
|
85701
|
-
let tmp_23_0;
|
|
85702
85650
|
\u0275\u0275nextContext();
|
|
85703
|
-
const
|
|
85651
|
+
const directorForm_r6 = \u0275\u0275readContextLet(0);
|
|
85704
85652
|
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85705
85653
|
\u0275\u0275advance(3);
|
|
85706
|
-
\u0275\u0275textInterpolate((
|
|
85654
|
+
\u0275\u0275textInterpolate((tmp_18_0 = directorForm_r6.get(ctx_r0.controls.AffiliationName)) == null ? null : tmp_18_0.value);
|
|
85707
85655
|
\u0275\u0275advance();
|
|
85708
|
-
\u0275\u0275conditional(ctx_r0.isNewDirector(
|
|
85656
|
+
\u0275\u0275conditional(ctx_r0.isNewDirector(directorForm_r6) ? 4 : -1);
|
|
85709
85657
|
\u0275\u0275advance();
|
|
85710
|
-
\u0275\u0275conditional(ctx_r0.isCeasedDirector(
|
|
85658
|
+
\u0275\u0275conditional(ctx_r0.isCeasedDirector(directorForm_r6) ? 5 : -1);
|
|
85711
85659
|
\u0275\u0275advance(2);
|
|
85712
|
-
\u0275\u0275textInterpolate((
|
|
85660
|
+
\u0275\u0275textInterpolate((tmp_21_0 = directorForm_r6.get(ctx_r0.controls.MailingAddress)) == null ? null : tmp_21_0.value);
|
|
85713
85661
|
\u0275\u0275advance(2);
|
|
85714
|
-
\u0275\u0275textInterpolate((
|
|
85662
|
+
\u0275\u0275textInterpolate((tmp_22_0 = directorForm_r6.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_22_0.value);
|
|
85715
85663
|
}
|
|
85716
85664
|
}
|
|
85717
|
-
function
|
|
85665
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_10_For_12_Template(rf, ctx) {
|
|
85718
85666
|
if (rf & 1) {
|
|
85719
85667
|
\u0275\u0275declareLet(0);
|
|
85720
|
-
\u0275\u0275template(1,
|
|
85668
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_10_For_12_Conditional_1_Template, 10, 5, "div", 15);
|
|
85721
85669
|
}
|
|
85722
85670
|
if (rf & 2) {
|
|
85723
|
-
const \u0275$
|
|
85724
|
-
const
|
|
85671
|
+
const \u0275$index_61_r7 = ctx.$index;
|
|
85672
|
+
const directorForm_r8 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_61_r7));
|
|
85725
85673
|
\u0275\u0275advance();
|
|
85726
|
-
\u0275\u0275conditional(
|
|
85674
|
+
\u0275\u0275conditional(directorForm_r8 ? 1 : -1);
|
|
85727
85675
|
}
|
|
85728
85676
|
}
|
|
85729
|
-
function
|
|
85677
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_10_Template(rf, ctx) {
|
|
85730
85678
|
if (rf & 1) {
|
|
85731
|
-
\u0275\u0275elementStart(0, "div",
|
|
85679
|
+
\u0275\u0275elementStart(0, "div", 6)(1, "div", 13)(2, "div", 14);
|
|
85732
85680
|
\u0275\u0275text(3);
|
|
85733
85681
|
\u0275\u0275pipe(4, "translate");
|
|
85734
85682
|
\u0275\u0275elementEnd();
|
|
85735
|
-
\u0275\u0275elementStart(5, "div",
|
|
85683
|
+
\u0275\u0275elementStart(5, "div", 14);
|
|
85736
85684
|
\u0275\u0275text(6);
|
|
85737
85685
|
\u0275\u0275pipe(7, "translate");
|
|
85738
85686
|
\u0275\u0275elementEnd();
|
|
85739
|
-
\u0275\u0275elementStart(8, "div",
|
|
85687
|
+
\u0275\u0275elementStart(8, "div", 14);
|
|
85740
85688
|
\u0275\u0275text(9);
|
|
85741
85689
|
\u0275\u0275pipe(10, "translate");
|
|
85742
85690
|
\u0275\u0275elementEnd()();
|
|
85743
|
-
\u0275\u0275repeaterCreate(11,
|
|
85691
|
+
\u0275\u0275repeaterCreate(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_10_For_12_Template, 2, 2, null, null, \u0275\u0275repeaterTrackByIdentity);
|
|
85744
85692
|
\u0275\u0275elementEnd();
|
|
85745
85693
|
}
|
|
85746
85694
|
if (rf & 2) {
|
|
85747
85695
|
\u0275\u0275nextContext();
|
|
85748
|
-
const
|
|
85696
|
+
const directorsArray_r9 = \u0275\u0275readContextLet(8);
|
|
85749
85697
|
\u0275\u0275advance(3);
|
|
85750
85698
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(4, 3, "Name"));
|
|
85751
85699
|
\u0275\u0275advance(3);
|
|
@@ -85753,12 +85701,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85753
85701
|
\u0275\u0275advance(3);
|
|
85754
85702
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 7, "Delivery Address"));
|
|
85755
85703
|
\u0275\u0275advance(2);
|
|
85756
|
-
\u0275\u0275repeater(
|
|
85704
|
+
\u0275\u0275repeater(directorsArray_r9.controls);
|
|
85757
85705
|
}
|
|
85758
85706
|
}
|
|
85759
|
-
function
|
|
85707
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_11_Template(rf, ctx) {
|
|
85760
85708
|
if (rf & 1) {
|
|
85761
|
-
\u0275\u0275elementStart(0, "h2",
|
|
85709
|
+
\u0275\u0275elementStart(0, "h2", 7);
|
|
85762
85710
|
\u0275\u0275text(1);
|
|
85763
85711
|
\u0275\u0275pipe(2, "translate");
|
|
85764
85712
|
\u0275\u0275elementEnd();
|
|
@@ -85768,35 +85716,35 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85768
85716
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "Unchanged"));
|
|
85769
85717
|
}
|
|
85770
85718
|
}
|
|
85771
|
-
function
|
|
85719
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
|
|
85772
85720
|
if (rf & 1) {
|
|
85773
|
-
const
|
|
85774
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85721
|
+
const _r10 = \u0275\u0275getCurrentView();
|
|
85722
|
+
\u0275\u0275elementStart(0, "expandable-card", 8)(1, "div", 19)(2, "p");
|
|
85775
85723
|
\u0275\u0275text(3);
|
|
85776
85724
|
\u0275\u0275pipe(4, "translate");
|
|
85777
85725
|
\u0275\u0275elementEnd();
|
|
85778
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
85779
|
-
\u0275\u0275listener("change", function
|
|
85780
|
-
\u0275\u0275restoreView(
|
|
85726
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 20);
|
|
85727
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template_mat_radio_group_change_5_listener() {
|
|
85728
|
+
\u0275\u0275restoreView(_r10);
|
|
85781
85729
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85782
|
-
const
|
|
85783
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder",
|
|
85730
|
+
const annualReportReminder_r11 = \u0275\u0275readContextLet(12);
|
|
85731
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r11.valid));
|
|
85784
85732
|
});
|
|
85785
|
-
\u0275\u0275elementStart(6, "mat-radio-button",
|
|
85733
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 21);
|
|
85786
85734
|
\u0275\u0275text(7);
|
|
85787
85735
|
\u0275\u0275pipe(8, "translate");
|
|
85788
85736
|
\u0275\u0275elementEnd();
|
|
85789
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
85737
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 21);
|
|
85790
85738
|
\u0275\u0275text(10);
|
|
85791
85739
|
\u0275\u0275pipe(11, "translate");
|
|
85792
85740
|
\u0275\u0275elementEnd()()()();
|
|
85793
85741
|
}
|
|
85794
85742
|
if (rf & 2) {
|
|
85795
85743
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85796
|
-
const
|
|
85744
|
+
const annualReportReminder_r11 = \u0275\u0275readContextLet(12);
|
|
85797
85745
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
|
|
85798
85746
|
\u0275\u0275advance();
|
|
85799
|
-
\u0275\u0275property("formGroup",
|
|
85747
|
+
\u0275\u0275property("formGroup", annualReportReminder_r11);
|
|
85800
85748
|
\u0275\u0275advance(2);
|
|
85801
85749
|
\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."), " ");
|
|
85802
85750
|
\u0275\u0275advance(2);
|
|
@@ -85816,10 +85764,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85816
85764
|
"src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts"() {
|
|
85817
85765
|
init_core();
|
|
85818
85766
|
init_forms();
|
|
85819
|
-
init_checkbox();
|
|
85820
|
-
init_datepicker();
|
|
85821
|
-
init_form_field();
|
|
85822
|
-
init_input();
|
|
85823
85767
|
init_radio();
|
|
85824
85768
|
init_ngx_translate_core();
|
|
85825
85769
|
init_filing_form_group_component();
|
|
@@ -85852,7 +85796,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85852
85796
|
return BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
|
|
85853
85797
|
});
|
|
85854
85798
|
companyEmailFields = computed(() => this.corporationDetailsFields().filter((field) => field.formControlName === this.controls.CompanyEmail));
|
|
85855
|
-
filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
|
|
85856
85799
|
directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
|
|
85857
85800
|
annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85858
85801
|
initiallyOpenCardsCount = 3;
|
|
@@ -85864,11 +85807,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85864
85807
|
const annualReportReminder = this.getFormGroup(this.groups.AnnualReportReminder);
|
|
85865
85808
|
return Object.values(this.sectionValidity).every((v) => v) && !filingDetails?.invalid && !dateInvalid && !annualReportReminder?.invalid;
|
|
85866
85809
|
}
|
|
85867
|
-
getEffectiveDateDisplay(value) {
|
|
85868
|
-
const date = String(value ?? "").split("T")[0];
|
|
85869
|
-
const [year, month, day] = date.split("-");
|
|
85870
|
-
return year && month && day ? `${year}-${month}-${day}` : "\u2014";
|
|
85871
|
-
}
|
|
85872
85810
|
onSectionValidChange(section, valid) {
|
|
85873
85811
|
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
85874
85812
|
this.visiblyValidChange.emit(this.isVisiblyValid());
|
|
@@ -85894,7 +85832,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85894
85832
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85895
85833
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85896
85834
|
};
|
|
85897
|
-
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:
|
|
85835
|
+
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: 14, vars: 12, 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"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "isStatusIcon", "isValid", "title"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [1, "company-email-field"], [3, "visiblyValidChange", "form", "config", "isSubmitted"], ["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) {
|
|
85898
85836
|
if (rf & 1) {
|
|
85899
85837
|
\u0275\u0275elementStart(0, "div", 0);
|
|
85900
85838
|
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
@@ -85904,13 +85842,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85904
85842
|
\u0275\u0275declareLet(6);
|
|
85905
85843
|
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 14, 13, "expandable-card", 5);
|
|
85906
85844
|
\u0275\u0275declareLet(8);
|
|
85907
|
-
\u0275\
|
|
85908
|
-
\u0275\
|
|
85909
|
-
\u0275\u0275elementStart(11, "expandable-card", 5);
|
|
85910
|
-
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div", 7)(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 3, 3, "h2", 8);
|
|
85845
|
+
\u0275\u0275elementStart(9, "expandable-card", 5);
|
|
85846
|
+
\u0275\u0275template(10, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_10_Template, 13, 9, "div", 6)(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_11_Template, 3, 3, "h2", 7);
|
|
85911
85847
|
\u0275\u0275elementEnd();
|
|
85912
|
-
\u0275\u0275declareLet(
|
|
85913
|
-
\u0275\u0275template(
|
|
85848
|
+
\u0275\u0275declareLet(12);
|
|
85849
|
+
\u0275\u0275template(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 12, 16, "expandable-card", 8);
|
|
85914
85850
|
\u0275\u0275elementEnd()();
|
|
85915
85851
|
}
|
|
85916
85852
|
if (rf & 2) {
|
|
@@ -85919,33 +85855,28 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85919
85855
|
\u0275\u0275advance();
|
|
85920
85856
|
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
85921
85857
|
\u0275\u0275advance(2);
|
|
85922
|
-
const
|
|
85923
|
-
\u0275\u0275advance();
|
|
85924
|
-
\u0275\u0275conditional(referenceNumbers_r14 ? 5 : -1);
|
|
85858
|
+
const referenceNumbers_r12 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
85925
85859
|
\u0275\u0275advance();
|
|
85926
|
-
|
|
85927
|
-
\u0275\u0275advance();
|
|
85928
|
-
\u0275\u0275conditional(corporationDetails_r15 ? 7 : -1);
|
|
85860
|
+
\u0275\u0275conditional(referenceNumbers_r12 ? 5 : -1);
|
|
85929
85861
|
\u0275\u0275advance();
|
|
85930
|
-
const
|
|
85862
|
+
const corporationDetails_r13 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
85931
85863
|
\u0275\u0275advance();
|
|
85932
|
-
\u0275\u0275conditional(
|
|
85864
|
+
\u0275\u0275conditional(corporationDetails_r13 ? 7 : -1);
|
|
85933
85865
|
\u0275\u0275advance();
|
|
85934
|
-
const
|
|
85866
|
+
const directorsArray_r14 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
|
|
85935
85867
|
\u0275\u0275advance();
|
|
85936
85868
|
\u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
|
|
85937
85869
|
\u0275\u0275advance();
|
|
85938
|
-
\u0275\u0275conditional(
|
|
85870
|
+
\u0275\u0275conditional(directorsArray_r14 && directorsArray_r14.length ? 10 : 11);
|
|
85939
85871
|
\u0275\u0275advance(2);
|
|
85940
|
-
const
|
|
85872
|
+
const annualReportReminder_r15 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
85941
85873
|
\u0275\u0275advance();
|
|
85942
|
-
\u0275\u0275conditional(
|
|
85874
|
+
\u0275\u0275conditional(annualReportReminder_r15 ? 13 : -1);
|
|
85943
85875
|
}
|
|
85944
85876
|
}, dependencies: [
|
|
85945
85877
|
FilingFormGroupComponent,
|
|
85946
85878
|
AlertComponent,
|
|
85947
85879
|
ExpandableCardComponent,
|
|
85948
|
-
MatCheckbox,
|
|
85949
85880
|
MatRadioButton,
|
|
85950
85881
|
MatRadioGroup,
|
|
85951
85882
|
ReactiveFormsModule,
|
|
@@ -85963,11 +85894,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85963
85894
|
FilingFormGroupComponent,
|
|
85964
85895
|
AlertComponent,
|
|
85965
85896
|
ExpandableCardComponent,
|
|
85966
|
-
MatCheckbox,
|
|
85967
|
-
MatDatepicker,
|
|
85968
|
-
MatDatepickerInput,
|
|
85969
|
-
MatFormField,
|
|
85970
|
-
MatInput,
|
|
85971
85897
|
MatRadioButton,
|
|
85972
85898
|
MatRadioGroup,
|
|
85973
85899
|
ReactiveFormsModule,
|
|
@@ -86027,45 +85953,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86027
85953
|
</expandable-card>\r
|
|
86028
85954
|
}\r
|
|
86029
85955
|
\r
|
|
86030
|
-
@let
|
|
86031
|
-
\r
|
|
86032
|
-
@if (filingDetails) {\r
|
|
86033
|
-
<expandable-card\r
|
|
86034
|
-
[isStatusIcon]="!readonly()"\r
|
|
86035
|
-
[isValid]="sectionValidity['filingDetails']"\r
|
|
86036
|
-
[title]="groups.FilingDetails"\r
|
|
86037
|
-
>\r
|
|
86038
|
-
<div class="filing-details" [formGroup]="filingDetails">\r
|
|
86039
|
-
<mat-checkbox\r
|
|
86040
|
-
class="directors-change-checkbox"\r
|
|
86041
|
-
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
86042
|
-
(change)="
|
|
86043
|
-
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
86044
|
-
onSectionValidChange('filingDetails', filingDetails.valid)
|
|
86045
|
-
"
|
|
86046
|
-
>\r
|
|
86047
|
-
{{ 'Directors will be added and/or deleted as part of this filing' | translate }}\r
|
|
86048
|
-
</mat-checkbox>\r
|
|
86049
|
-
\r
|
|
86050
|
-
@if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {\r
|
|
86051
|
-
<div class="filing-details-grid">
|
|
86052
|
-
<div class="date-field">
|
|
86053
|
-
<p class="effective-date-description">
|
|
86054
|
-
{{
|
|
86055
|
-
'The date on which the individual(s) became or ceased to be a director:'
|
|
86056
|
-
| translate
|
|
86057
|
-
}}
|
|
86058
|
-
<strong>{{ getEffectiveDateDisplay(filingDetails.get(controls.ChangeDate)?.value) }}</strong>
|
|
86059
|
-
</p>
|
|
86060
|
-
</div>
|
|
86061
|
-
|
|
86062
|
-
</div>
|
|
86063
|
-
}\r
|
|
86064
|
-
</div>\r
|
|
86065
|
-
</expandable-card>\r
|
|
86066
|
-
}\r
|
|
86067
|
-
\r
|
|
86068
|
-
@let directorsArray = getFormArray(groups.Directors);\r
|
|
85956
|
+
@let directorsArray = getFormArray(groups.Directors);
|
|
86069
85957
|
\r
|
|
86070
85958
|
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">
|
|
86071
85959
|
@if (directorsArray && directorsArray.length) {
|
|
@@ -86135,7 +86023,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86135
86023
|
}], null, null);
|
|
86136
86024
|
})();
|
|
86137
86025
|
(() => {
|
|
86138
|
-
(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:
|
|
86026
|
+
(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: 51 });
|
|
86139
86027
|
})();
|
|
86140
86028
|
}
|
|
86141
86029
|
});
|
|
@@ -88941,6 +88829,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88941
88829
|
const c = BCChangeOfDirectorsFormControls;
|
|
88942
88830
|
const formData = this.deltaForm().getRawValue();
|
|
88943
88831
|
const refNumbers = formData[BCChangeOfDirectorsFormGroups.ReferenceNumbers];
|
|
88832
|
+
const corporation = formData[BCChangeOfDirectorsFormGroups.CorporationDetails];
|
|
88944
88833
|
const filing = formData[BCChangeOfDirectorsFormGroups.FilingDetails];
|
|
88945
88834
|
const notification = formData[BCChangeOfDirectorsFormGroups.Notification];
|
|
88946
88835
|
const reminder = formData[BCChangeOfDirectorsFormGroups.AnnualReportReminder];
|
|
@@ -88952,6 +88841,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88952
88841
|
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
88953
88842
|
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
88954
88843
|
},
|
|
88844
|
+
companyEmail: corporation?.[c.CompanyEmail] ?? null,
|
|
88955
88845
|
filingDetails: {
|
|
88956
88846
|
directorsAddedOrDeleted: addedOrDeleted,
|
|
88957
88847
|
changeDate: addedOrDeleted ? filing?.[c.ChangeDate] ?? null : void 0
|
|
@@ -95489,7 +95379,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95489
95379
|
const addedDirectors = [...source?.AddedDirectors ?? [], ...source?.AddDirector ?? [], ...source?.addDirectors ?? []];
|
|
95490
95380
|
const ceasedDirectors = [...source?.CeasedDirectors ?? [], ...source?.CeaseDirector ?? [], ...source?.ceaseDirectors ?? []];
|
|
95491
95381
|
const editedDirectors = [...source?.EditedDirectors ?? [], ...source?.EditDirector ?? [], ...source?.editDirectors ?? []];
|
|
95492
|
-
const companyEmail = findCompanyEmail(task);
|
|
95382
|
+
const companyEmail = deltaData.companyEmail?.trim() || findCompanyEmail(task);
|
|
95493
95383
|
const byId = new Map([
|
|
95494
95384
|
...incomingDirectors,
|
|
95495
95385
|
...outgoingDirectors
|
|
@@ -97114,6 +97004,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97114
97004
|
corporationNumber: task.entity._profile.corp_number ?? ""
|
|
97115
97005
|
});
|
|
97116
97006
|
}
|
|
97007
|
+
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
97008
|
+
const validatedOrderId = deltaData.validatedData?.currentDataServiceOrderId;
|
|
97009
|
+
if (!validatedOrderId) {
|
|
97010
|
+
return void 0;
|
|
97011
|
+
}
|
|
97012
|
+
return buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData, validatedOrderId, this.currentDataExtract());
|
|
97013
|
+
}
|
|
97117
97014
|
if (isUpdateMaintain(task) && isOntarioTask(task)) {
|
|
97118
97015
|
const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
|
|
97119
97016
|
if (!serviceOrderId) {
|