@dyedurham/search-and-file-widget 2.1.29 → 2.1.31
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 +68 -118
- package/package.json +11 -11
package/dnd-filing-shell.js
CHANGED
|
@@ -84149,7 +84149,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84149
84149
|
});
|
|
84150
84150
|
|
|
84151
84151
|
// src/app/constants/BritishColumbiaConstants.ts
|
|
84152
|
-
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS,
|
|
84152
|
+
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_DEFAULT_PROVINCE_STATE, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
|
|
84153
84153
|
var init_BritishColumbiaConstants = __esm({
|
|
84154
84154
|
"src/app/constants/BritishColumbiaConstants.ts"() {
|
|
84155
84155
|
init_app_enums();
|
|
@@ -84172,7 +84172,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84172
84172
|
[BCNotificationMethod.Mail]: "Notify by mail"
|
|
84173
84173
|
};
|
|
84174
84174
|
BC_NOTIFICATION_METHOD_OPTIONS = Object.values(BCNotificationMethod).map((value) => ({ value, label: BCNotificationMethodLabel[value] }));
|
|
84175
|
-
BC_CHANGE_OF_DIRECTORS_FILING_FEE = "$21.50";
|
|
84176
84175
|
(function(BCAnnualReportReminder2) {
|
|
84177
84176
|
BCAnnualReportReminder2["Yes"] = "yes";
|
|
84178
84177
|
BCAnnualReportReminder2["No"] = "no";
|
|
@@ -84216,7 +84215,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84216
84215
|
BCChangeOfDirectorsFormControls2["CompanyEmail"] = "companyEmail";
|
|
84217
84216
|
BCChangeOfDirectorsFormControls2["DirectorsAddedOrDeleted"] = "directorsAddedOrDeleted";
|
|
84218
84217
|
BCChangeOfDirectorsFormControls2["ChangeDate"] = "changeDate";
|
|
84219
|
-
BCChangeOfDirectorsFormControls2["FilingFee"] = "filingFee";
|
|
84220
84218
|
BCChangeOfDirectorsFormControls2["RegisterAsOfDate"] = "registerAsOfDate";
|
|
84221
84219
|
BCChangeOfDirectorsFormControls2["MailingAddress"] = "mailingAddress";
|
|
84222
84220
|
BCChangeOfDirectorsFormControls2["DeliveryAddress"] = "deliveryAddress";
|
|
@@ -84968,12 +84966,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84968
84966
|
const hasAddOrCease = ceasedIds.size > 0 || incoming.filter(isDirector).length > 0;
|
|
84969
84967
|
config2[BCChangeOfDirectorsFormGroups.FilingDetails] = new FormGroup({
|
|
84970
84968
|
[Controls.DirectorsAddedOrDeleted]: new FormControl(delta?.filingDetails?.directorsAddedOrDeleted ?? hasAddOrCease),
|
|
84971
|
-
[Controls.ChangeDate]: this.readOnly(effectiveDate)
|
|
84972
|
-
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84969
|
+
[Controls.ChangeDate]: this.readOnly(effectiveDate)
|
|
84973
84970
|
});
|
|
84974
84971
|
const currentDirectorKeys = this.getCurrentDirectorKeys(currentDataExtract);
|
|
84972
|
+
const savedAddIds = new Set((delta?.directorChanges?.addIds ?? []).map(String));
|
|
84973
|
+
const savedEditIds = new Set((delta?.directorChanges?.editIds ?? []).map(String));
|
|
84975
84974
|
const directors = [
|
|
84976
|
-
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, currentDirectorKeys.has(this.getDirectorKey(a)) ? IRAffiliationType.Update : IRAffiliationType.Add)),
|
|
84975
|
+
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, savedEditIds.has(String(a._id)) ? IRAffiliationType.Update : savedAddIds.has(String(a._id)) ? IRAffiliationType.Add : currentDirectorKeys.has(this.getDirectorKey(a)) ? IRAffiliationType.Update : IRAffiliationType.Add)),
|
|
84977
84976
|
...outgoing.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Ceased))
|
|
84978
84977
|
];
|
|
84979
84978
|
const fallbackDirectors = directors.length ? [] : this.generateDirectorFormGroupsFromChangeDirectors(task);
|
|
@@ -85456,12 +85455,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85456
85455
|
}
|
|
85457
85456
|
];
|
|
85458
85457
|
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85459
|
-
{
|
|
85460
|
-
type: FormType.Text,
|
|
85461
|
-
formControlName: "",
|
|
85462
|
-
class: "span-12",
|
|
85463
|
-
dynamicLabel: (_, t) => `<span class="body-1-semibold">${t("Note")}:</span> ${t("There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.")}`
|
|
85464
|
-
},
|
|
85465
85458
|
{
|
|
85466
85459
|
type: FormType.Checkbox,
|
|
85467
85460
|
label: "Directors will be added and/or deleted as part of this filing",
|
|
@@ -85474,9 +85467,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85474
85467
|
__spreadProps(__spreadValues({}, readOnlyRow("Date Directors were added or deleted", Controls3.ChangeDate, "span-8")), {
|
|
85475
85468
|
isVisible: directorsAddedOrDeleted
|
|
85476
85469
|
}),
|
|
85477
|
-
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
|
|
85478
|
-
isVisible: directorsAddedOrDeleted
|
|
85479
|
-
}),
|
|
85480
85470
|
{
|
|
85481
85471
|
type: FormType.Text,
|
|
85482
85472
|
formControlName: "",
|
|
@@ -85615,48 +85605,30 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85615
85605
|
\u0275\u0275property("form", corporationDetails_r5)("config", ctx_r0.companyEmailFields())("isSubmitted", ctx_r0.isSubmitted());
|
|
85616
85606
|
}
|
|
85617
85607
|
}
|
|
85618
|
-
function
|
|
85608
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_5_Template(rf, ctx) {
|
|
85619
85609
|
if (rf & 1) {
|
|
85620
|
-
\u0275\u0275elementStart(0, "div",
|
|
85610
|
+
\u0275\u0275elementStart(0, "div", 15)(1, "div", 16)(2, "p", 17);
|
|
85621
85611
|
\u0275\u0275text(3);
|
|
85622
85612
|
\u0275\u0275pipe(4, "translate");
|
|
85623
85613
|
\u0275\u0275elementStart(5, "strong");
|
|
85624
85614
|
\u0275\u0275text(6);
|
|
85625
|
-
\u0275\u0275elementEnd()()();
|
|
85626
|
-
\u0275\u0275elementStart(7, "p", 19)(8, "strong");
|
|
85627
|
-
\u0275\u0275text(9);
|
|
85628
|
-
\u0275\u0275pipe(10, "translate");
|
|
85629
|
-
\u0275\u0275elementEnd();
|
|
85630
|
-
\u0275\u0275text(11);
|
|
85631
|
-
\u0275\u0275elementEnd()();
|
|
85615
|
+
\u0275\u0275elementEnd()()()();
|
|
85632
85616
|
}
|
|
85633
85617
|
if (rf & 2) {
|
|
85634
85618
|
let tmp_8_0;
|
|
85635
|
-
let tmp_10_0;
|
|
85636
85619
|
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85637
85620
|
const filingDetails_r7 = \u0275\u0275readContextLet(8);
|
|
85638
85621
|
\u0275\u0275advance(3);
|
|
85639
|
-
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4,
|
|
85622
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 2, "The date on which the individual(s) became or ceased to be a director:"), " ");
|
|
85640
85623
|
\u0275\u0275advance(3);
|
|
85641
85624
|
\u0275\u0275textInterpolate(ctx_r0.getEffectiveDateDisplay((tmp_8_0 = filingDetails_r7.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_8_0.value));
|
|
85642
|
-
\u0275\u0275advance(3);
|
|
85643
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 6, "Filing Fee"), ":");
|
|
85644
|
-
\u0275\u0275advance(2);
|
|
85645
|
-
\u0275\u0275textInterpolate1(" ", (tmp_10_0 = filingDetails_r7.get(ctx_r0.controls.FilingFee)) == null ? null : tmp_10_0.value, " ");
|
|
85646
85625
|
}
|
|
85647
85626
|
}
|
|
85648
85627
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85649
85628
|
if (rf & 1) {
|
|
85650
85629
|
const _r6 = \u0275\u0275getCurrentView();
|
|
85651
|
-
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 13)(2, "
|
|
85652
|
-
\u0275\
|
|
85653
|
-
\u0275\u0275pipe(5, "translate");
|
|
85654
|
-
\u0275\u0275elementEnd();
|
|
85655
|
-
\u0275\u0275text(6);
|
|
85656
|
-
\u0275\u0275pipe(7, "translate");
|
|
85657
|
-
\u0275\u0275elementEnd();
|
|
85658
|
-
\u0275\u0275elementStart(8, "mat-checkbox", 15);
|
|
85659
|
-
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
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() {
|
|
85660
85632
|
let tmp_7_0;
|
|
85661
85633
|
\u0275\u0275restoreView(_r6);
|
|
85662
85634
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85664,34 +85636,30 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85664
85636
|
(tmp_7_0 = filingDetails_r7.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.updateValueAndValidity({ emitEvent: false });
|
|
85665
85637
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r7.valid));
|
|
85666
85638
|
});
|
|
85667
|
-
\u0275\u0275text(
|
|
85668
|
-
\u0275\u0275pipe(
|
|
85639
|
+
\u0275\u0275text(3);
|
|
85640
|
+
\u0275\u0275pipe(4, "translate");
|
|
85669
85641
|
\u0275\u0275elementEnd();
|
|
85670
|
-
\u0275\u0275template(
|
|
85642
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_5_Template, 7, 4, "div", 15);
|
|
85671
85643
|
\u0275\u0275elementEnd()();
|
|
85672
85644
|
}
|
|
85673
85645
|
if (rf & 2) {
|
|
85674
|
-
let
|
|
85646
|
+
let tmp_12_0;
|
|
85675
85647
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85676
85648
|
const filingDetails_r7 = \u0275\u0275readContextLet(8);
|
|
85677
85649
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["filingDetails"])("title", ctx_r0.groups.FilingDetails);
|
|
85678
85650
|
\u0275\u0275advance();
|
|
85679
85651
|
\u0275\u0275property("formGroup", filingDetails_r7);
|
|
85680
|
-
\u0275\u0275advance(
|
|
85681
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 9, "Note"), ":");
|
|
85682
|
-
\u0275\u0275advance(2);
|
|
85683
|
-
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(7, 11, "There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing."), " ");
|
|
85684
|
-
\u0275\u0275advance(2);
|
|
85652
|
+
\u0275\u0275advance();
|
|
85685
85653
|
\u0275\u0275property("formControlName", ctx_r0.controls.DirectorsAddedOrDeleted);
|
|
85686
85654
|
\u0275\u0275advance();
|
|
85687
|
-
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(
|
|
85655
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 7, "Directors will be added and/or deleted as part of this filing"), " ");
|
|
85688
85656
|
\u0275\u0275advance(2);
|
|
85689
|
-
\u0275\u0275conditional(((
|
|
85657
|
+
\u0275\u0275conditional(((tmp_12_0 = filingDetails_r7.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_12_0.value) ? 5 : -1);
|
|
85690
85658
|
}
|
|
85691
85659
|
}
|
|
85692
85660
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85693
85661
|
if (rf & 1) {
|
|
85694
|
-
\u0275\u0275elementStart(0, "span",
|
|
85662
|
+
\u0275\u0275elementStart(0, "span", 22);
|
|
85695
85663
|
\u0275\u0275text(1);
|
|
85696
85664
|
\u0275\u0275pipe(2, "translate");
|
|
85697
85665
|
\u0275\u0275elementEnd();
|
|
@@ -85703,7 +85671,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85703
85671
|
}
|
|
85704
85672
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85705
85673
|
if (rf & 1) {
|
|
85706
|
-
\u0275\u0275elementStart(0, "span",
|
|
85674
|
+
\u0275\u0275elementStart(0, "span", 23);
|
|
85707
85675
|
\u0275\u0275text(1);
|
|
85708
85676
|
\u0275\u0275pipe(2, "translate");
|
|
85709
85677
|
\u0275\u0275elementEnd();
|
|
@@ -85715,15 +85683,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85715
85683
|
}
|
|
85716
85684
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template(rf, ctx) {
|
|
85717
85685
|
if (rf & 1) {
|
|
85718
|
-
\u0275\u0275elementStart(0, "div",
|
|
85686
|
+
\u0275\u0275elementStart(0, "div", 20)(1, "div", 21)(2, "strong");
|
|
85719
85687
|
\u0275\u0275text(3);
|
|
85720
85688
|
\u0275\u0275elementEnd();
|
|
85721
|
-
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span",
|
|
85689
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 22)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 23);
|
|
85722
85690
|
\u0275\u0275elementEnd();
|
|
85723
|
-
\u0275\u0275elementStart(6, "div",
|
|
85691
|
+
\u0275\u0275elementStart(6, "div", 21);
|
|
85724
85692
|
\u0275\u0275text(7);
|
|
85725
85693
|
\u0275\u0275elementEnd();
|
|
85726
|
-
\u0275\u0275elementStart(8, "div",
|
|
85694
|
+
\u0275\u0275elementStart(8, "div", 21);
|
|
85727
85695
|
\u0275\u0275text(9);
|
|
85728
85696
|
\u0275\u0275elementEnd()();
|
|
85729
85697
|
}
|
|
@@ -85749,26 +85717,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85749
85717
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Template(rf, ctx) {
|
|
85750
85718
|
if (rf & 1) {
|
|
85751
85719
|
\u0275\u0275declareLet(0);
|
|
85752
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div",
|
|
85720
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div", 20);
|
|
85753
85721
|
}
|
|
85754
85722
|
if (rf & 2) {
|
|
85755
|
-
const \u0275$
|
|
85756
|
-
const directorForm_r10 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$
|
|
85723
|
+
const \u0275$index_83_r9 = ctx.$index;
|
|
85724
|
+
const directorForm_r10 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_83_r9));
|
|
85757
85725
|
\u0275\u0275advance();
|
|
85758
85726
|
\u0275\u0275conditional(directorForm_r10 ? 1 : -1);
|
|
85759
85727
|
}
|
|
85760
85728
|
}
|
|
85761
85729
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template(rf, ctx) {
|
|
85762
85730
|
if (rf & 1) {
|
|
85763
|
-
\u0275\u0275elementStart(0, "div", 7)(1, "div",
|
|
85731
|
+
\u0275\u0275elementStart(0, "div", 7)(1, "div", 18)(2, "div", 19);
|
|
85764
85732
|
\u0275\u0275text(3);
|
|
85765
85733
|
\u0275\u0275pipe(4, "translate");
|
|
85766
85734
|
\u0275\u0275elementEnd();
|
|
85767
|
-
\u0275\u0275elementStart(5, "div",
|
|
85735
|
+
\u0275\u0275elementStart(5, "div", 19);
|
|
85768
85736
|
\u0275\u0275text(6);
|
|
85769
85737
|
\u0275\u0275pipe(7, "translate");
|
|
85770
85738
|
\u0275\u0275elementEnd();
|
|
85771
|
-
\u0275\u0275elementStart(8, "div",
|
|
85739
|
+
\u0275\u0275elementStart(8, "div", 19);
|
|
85772
85740
|
\u0275\u0275text(9);
|
|
85773
85741
|
\u0275\u0275pipe(10, "translate");
|
|
85774
85742
|
\u0275\u0275elementEnd()();
|
|
@@ -85803,22 +85771,22 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85803
85771
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template(rf, ctx) {
|
|
85804
85772
|
if (rf & 1) {
|
|
85805
85773
|
const _r12 = \u0275\u0275getCurrentView();
|
|
85806
|
-
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div",
|
|
85774
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 24)(2, "p");
|
|
85807
85775
|
\u0275\u0275text(3);
|
|
85808
85776
|
\u0275\u0275pipe(4, "translate");
|
|
85809
85777
|
\u0275\u0275elementEnd();
|
|
85810
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
85778
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 25);
|
|
85811
85779
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template_mat_radio_group_change_5_listener() {
|
|
85812
85780
|
\u0275\u0275restoreView(_r12);
|
|
85813
85781
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85814
85782
|
const annualReportReminder_r13 = \u0275\u0275readContextLet(14);
|
|
85815
85783
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r13.valid));
|
|
85816
85784
|
});
|
|
85817
|
-
\u0275\u0275elementStart(6, "mat-radio-button",
|
|
85785
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 26);
|
|
85818
85786
|
\u0275\u0275text(7);
|
|
85819
85787
|
\u0275\u0275pipe(8, "translate");
|
|
85820
85788
|
\u0275\u0275elementEnd();
|
|
85821
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
85789
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 26);
|
|
85822
85790
|
\u0275\u0275text(10);
|
|
85823
85791
|
\u0275\u0275pipe(11, "translate");
|
|
85824
85792
|
\u0275\u0275elementEnd()()()();
|
|
@@ -85926,7 +85894,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85926
85894
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85927
85895
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85928
85896
|
};
|
|
85929
|
-
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, "
|
|
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: 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, "directors-change-checkbox", 3, "change", "formControlName"], [1, "filing-details-grid"], [1, "date-field"], [1, "effective-date-description"], ["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) {
|
|
85930
85898
|
if (rf & 1) {
|
|
85931
85899
|
\u0275\u0275elementStart(0, "div", 0);
|
|
85932
85900
|
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
@@ -85936,7 +85904,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85936
85904
|
\u0275\u0275declareLet(6);
|
|
85937
85905
|
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 14, 13, "expandable-card", 5);
|
|
85938
85906
|
\u0275\u0275declareLet(8);
|
|
85939
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template,
|
|
85907
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 6, 9, "expandable-card", 6);
|
|
85940
85908
|
\u0275\u0275declareLet(10);
|
|
85941
85909
|
\u0275\u0275elementStart(11, "expandable-card", 5);
|
|
85942
85910
|
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div", 7)(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 3, 3, "h2", 8);
|
|
@@ -86047,14 +86015,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86047
86015
|
<strong>{{ 'Incorporation Number' | translate }}:</strong>\r
|
|
86048
86016
|
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}\r
|
|
86049
86017
|
</p>\r
|
|
86050
|
-
<div class="company-email-field"
|
|
86051
|
-
<filing-form-group
|
|
86052
|
-
[form]="corporationDetails"
|
|
86053
|
-
[config]="companyEmailFields()"
|
|
86054
|
-
[isSubmitted]="isSubmitted()"
|
|
86055
|
-
(visiblyValidChange)="onSectionValidChange('corporationDetails', $event)"
|
|
86056
|
-
|
|
86057
|
-
</div
|
|
86018
|
+
<div class="company-email-field">
|
|
86019
|
+
<filing-form-group
|
|
86020
|
+
[form]="corporationDetails"
|
|
86021
|
+
[config]="companyEmailFields()"
|
|
86022
|
+
[isSubmitted]="isSubmitted()"
|
|
86023
|
+
(visiblyValidChange)="onSectionValidChange('corporationDetails', $event)"
|
|
86024
|
+
/>
|
|
86025
|
+
</div>
|
|
86058
86026
|
</div>\r
|
|
86059
86027
|
</expandable-card>\r
|
|
86060
86028
|
}\r
|
|
@@ -86068,42 +86036,30 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86068
86036
|
[title]="groups.FilingDetails"\r
|
|
86069
86037
|
>\r
|
|
86070
86038
|
<div class="filing-details" [formGroup]="filingDetails">\r
|
|
86071
|
-
<div class="note-box">\r
|
|
86072
|
-
<strong>{{ 'Note' | translate }}:</strong>\r
|
|
86073
|
-
{{\r
|
|
86074
|
-
'There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.'\r
|
|
86075
|
-
| translate\r
|
|
86076
|
-
}}\r
|
|
86077
|
-
</div>\r
|
|
86078
|
-
\r
|
|
86079
86039
|
<mat-checkbox\r
|
|
86080
86040
|
class="directors-change-checkbox"\r
|
|
86081
|
-
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
86082
|
-
(change)="
|
|
86083
|
-
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false })
|
|
86084
|
-
onSectionValidChange('filingDetails', filingDetails.valid)
|
|
86085
|
-
"
|
|
86041
|
+
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
86042
|
+
(change)="
|
|
86043
|
+
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
86044
|
+
onSectionValidChange('filingDetails', filingDetails.valid)
|
|
86045
|
+
"
|
|
86086
86046
|
>\r
|
|
86087
86047
|
{{ 'Directors will be added and/or deleted as part of this filing' | translate }}\r
|
|
86088
86048
|
</mat-checkbox>\r
|
|
86089
86049
|
\r
|
|
86090
86050
|
@if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {\r
|
|
86091
|
-
<div class="filing-details-grid"
|
|
86092
|
-
<div class="date-field"
|
|
86093
|
-
<p class="effective-date-description"
|
|
86094
|
-
{{
|
|
86095
|
-
'The date on which the individual(s) became or ceased to be a director:'
|
|
86096
|
-
| translate
|
|
86097
|
-
}}
|
|
86098
|
-
<strong>{{ getEffectiveDateDisplay(filingDetails.get(controls.ChangeDate)?.value) }}</strong
|
|
86099
|
-
</p
|
|
86100
|
-
</div
|
|
86101
|
-
|
|
86102
|
-
|
|
86103
|
-
<strong>{{ 'Filing Fee' | translate }}:</strong>\r
|
|
86104
|
-
{{ filingDetails.get(controls.FilingFee)?.value }}\r
|
|
86105
|
-
</p>\r
|
|
86106
|
-
</div>\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>
|
|
86107
86063
|
}\r
|
|
86108
86064
|
</div>\r
|
|
86109
86065
|
</expandable-card>\r
|
|
@@ -86111,8 +86067,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86111
86067
|
\r
|
|
86112
86068
|
@let directorsArray = getFormArray(groups.Directors);\r
|
|
86113
86069
|
\r
|
|
86114
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.Directors"
|
|
86115
|
-
@if (directorsArray && directorsArray.length) {
|
|
86070
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">
|
|
86071
|
+
@if (directorsArray && directorsArray.length) {
|
|
86116
86072
|
<div class="directors-table" role="table">\r
|
|
86117
86073
|
<div class="directors-table-header" role="row">\r
|
|
86118
86074
|
<div role="columnheader">{{ 'Name' | translate }}</div>\r
|
|
@@ -95346,10 +95302,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95346
95302
|
/**
|
|
95347
95303
|
* Orders the corporation's current data extract and waits until it is ready, returning the
|
|
95348
95304
|
* `currentDataServiceOrderId` that Validate Filing needs. The registry bot can take a while,
|
|
95349
|
-
* so the extract is polled every `intervalMs`
|
|
95305
|
+
* so the extract is polled every `intervalMs` until the registry returns a terminal status.
|
|
95350
95306
|
*/
|
|
95351
95307
|
ensureCurrentDataExtract(_0, _1) {
|
|
95352
|
-
return __async(this, arguments, function* (signature, order, opts = {}, { intervalMs = 3e3
|
|
95308
|
+
return __async(this, arguments, function* (signature, order, opts = {}, { intervalMs = 3e3 } = {}) {
|
|
95353
95309
|
ensureAuthInputs(signature);
|
|
95354
95310
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95355
95311
|
const dataExtractUrl = `${this.getOnbisOrigin()}/filings/ca/bc/data-extract`;
|
|
@@ -95363,7 +95319,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95363
95319
|
errors: ordered.errors?.length ? ordered.errors : (ordered.additionalInformation ?? []).map((message) => ({ message }))
|
|
95364
95320
|
}));
|
|
95365
95321
|
}
|
|
95366
|
-
for (
|
|
95322
|
+
for (; ; ) {
|
|
95367
95323
|
const extractResp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
|
|
95368
95324
|
method: "GET",
|
|
95369
95325
|
headers: __spreadValues({
|
|
@@ -95382,7 +95338,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95382
95338
|
}
|
|
95383
95339
|
yield new Promise((resolve) => setTimeout(resolve, intervalMs));
|
|
95384
95340
|
}
|
|
95385
|
-
throw new Error("BC current data extract is still processing. Please try again in a moment.");
|
|
95386
95341
|
});
|
|
95387
95342
|
}
|
|
95388
95343
|
getCurrentDataExtract() {
|
|
@@ -95629,7 +95584,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95629
95584
|
return result;
|
|
95630
95585
|
}
|
|
95631
95586
|
function normaliseDirectorName(value) {
|
|
95632
|
-
const name = value?.PersonName ?? value?.personName ?? value;
|
|
95587
|
+
const name = value?.PersonName ?? value?.personName ?? value?.participant?._profile ?? value;
|
|
95633
95588
|
return [
|
|
95634
95589
|
name?.FirstName ?? name?.firstName,
|
|
95635
95590
|
name?.MiddleName ?? name?.middleName,
|
|
@@ -96330,15 +96285,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96330
96285
|
}
|
|
96331
96286
|
}
|
|
96332
96287
|
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task) && this.bcDataExtractTaskId !== task._id) {
|
|
96333
|
-
if (task.deltaData?.validatedData) {
|
|
96334
|
-
this.bcCurrentDataServiceOrderId = task.deltaData.validatedData.currentDataServiceOrderId ?? "";
|
|
96335
|
-
this.bcDataExtractTaskId = task._id;
|
|
96336
|
-
return;
|
|
96337
|
-
}
|
|
96338
96288
|
const signature = this._signature();
|
|
96339
96289
|
if (!signature)
|
|
96340
96290
|
return;
|
|
96341
|
-
this.bcDataExtractTaskId = task._id;
|
|
96342
96291
|
const { request, issues } = buildBritishColumbiaDataExtractOrder(task, deltaData?.companyPassword);
|
|
96343
96292
|
if (issues.length) {
|
|
96344
96293
|
this.errors.set(issues);
|
|
@@ -96348,6 +96297,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96348
96297
|
try {
|
|
96349
96298
|
this.bcCurrentDataServiceOrderId = yield this.britishColumbiaChangeOfDirectorsService.ensureCurrentDataExtract(signature, request, this.validateOptions() ?? {});
|
|
96350
96299
|
this.currentDataExtract.set(this.britishColumbiaChangeOfDirectorsService.getCurrentDataExtract());
|
|
96300
|
+
this.bcDataExtractTaskId = task._id;
|
|
96351
96301
|
} catch (error) {
|
|
96352
96302
|
this.handleCatchError(error);
|
|
96353
96303
|
} finally {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@dyedurham/search-and-file-widget",
|
|
3
|
-
"version": "2.1.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "dnd-filing-shell.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
9
|
-
"author": "",
|
|
10
|
-
"license": "ISC"
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@dyedurham/search-and-file-widget",
|
|
3
|
+
"version": "2.1.31",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dnd-filing-shell.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"author": "",
|
|
10
|
+
"license": "ISC"
|
|
11
|
+
}
|