@dyedurham/search-and-file-widget 2.1.16 → 2.1.18
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 +387 -331
- package/package.json +10 -10
package/dnd-filing-shell.js
CHANGED
|
@@ -85129,7 +85129,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85129
85129
|
Controls2.PostalCode
|
|
85130
85130
|
];
|
|
85131
85131
|
BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
|
|
85132
|
-
static generateConfig(task, _translateFn) {
|
|
85132
|
+
static generateConfig(task, _translateFn, currentDataExtract) {
|
|
85133
85133
|
const affiliations = task.entity.affiliations ?? [];
|
|
85134
85134
|
const delta = task.deltaData;
|
|
85135
85135
|
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
@@ -85137,7 +85137,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85137
85137
|
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85138
85138
|
const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
|
|
85139
85139
|
const incoming = this.incomingOfficeAddresses(task);
|
|
85140
|
-
const
|
|
85140
|
+
const extract = this.officeExtract(currentDataExtract);
|
|
85141
|
+
const incomingSeed = this.seedFromIncomingAffiliations(task);
|
|
85142
|
+
const seed = this.withCurrentAddresses(incomingSeed, incoming, registeredOffice, recordsOffice, extract);
|
|
85141
85143
|
const config2 = {};
|
|
85142
85144
|
config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
|
|
85143
85145
|
config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
|
|
@@ -85150,8 +85152,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85150
85152
|
});
|
|
85151
85153
|
const regDeliverySame = seed.registeredOffice?.deliverySameAsMailing ?? true;
|
|
85152
85154
|
config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
|
|
85153
|
-
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
|
|
85154
|
-
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
|
|
85155
|
+
[Controls2.CurrentMailingAddress]: this.readOnly(this.previousText(extract, "regMailing", format(pick(registeredOffice?.addresses, "Mailing")))),
|
|
85156
|
+
[Controls2.CurrentDeliveryAddress]: this.readOnly(this.previousText(extract, "regDelivery", format(pick(registeredOffice?.addresses, "Delivery")))),
|
|
85155
85157
|
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(seed.registeredOffice?.mailingAddress, true),
|
|
85156
85158
|
[Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
|
|
85157
85159
|
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(seed.registeredOffice?.deliveryAddress, !regDeliverySame)
|
|
@@ -85159,8 +85161,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85159
85161
|
const recSameAsRegistered = seed.recordsOffice?.sameAsRegisteredOffice ?? true;
|
|
85160
85162
|
const recDeliverySame = seed.recordsOffice?.deliverySameAsMailing ?? true;
|
|
85161
85163
|
config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
|
|
85162
|
-
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
|
|
85163
|
-
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
|
|
85164
|
+
[Controls2.CurrentMailingAddress]: this.readOnly(this.previousText(extract, "recMailing", format(pick(recordsOffice?.addresses, "Mailing")))),
|
|
85165
|
+
[Controls2.CurrentDeliveryAddress]: this.readOnly(this.previousText(extract, "recDelivery", format(pick(recordsOffice?.addresses, "Delivery")))),
|
|
85164
85166
|
[Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
|
|
85165
85167
|
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(seed.recordsOffice?.mailingAddress, !recSameAsRegistered),
|
|
85166
85168
|
[Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
|
|
@@ -85209,19 +85211,96 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85209
85211
|
}
|
|
85210
85212
|
};
|
|
85211
85213
|
}
|
|
85212
|
-
/**
|
|
85213
|
-
|
|
85214
|
-
|
|
85215
|
-
|
|
85214
|
+
/**
|
|
85215
|
+
* For an office without an incoming address, the new address is its
|
|
85216
|
+
* current address on the register (so the filing leaves it unchanged). A current address outside
|
|
85217
|
+
* British Columbia is not used: the office is then reported as missing.
|
|
85218
|
+
*/
|
|
85219
|
+
static withCurrentAddresses(seed, incoming, registeredOffice, recordsOffice, extract) {
|
|
85220
|
+
const pickBy = BritishColumbiaFormationFormHelper.pickAddress;
|
|
85221
|
+
const current = (office, type, key) => {
|
|
85222
|
+
if (extract) {
|
|
85223
|
+
const registry = extract[key];
|
|
85224
|
+
return registry && this.isBritishColumbiaExtract(registry) ? this.extractToOfficeAddressDelta(registry) : void 0;
|
|
85225
|
+
}
|
|
85226
|
+
const address = pickBy(office?.addresses, type);
|
|
85227
|
+
return address && this.isBritishColumbia(address) ? this.toOfficeAddressDelta(address) : void 0;
|
|
85228
|
+
};
|
|
85229
|
+
const result = __spreadValues({}, seed);
|
|
85230
|
+
if (!incoming.regMailing) {
|
|
85231
|
+
const mailing = current(registeredOffice, "Mailing", "regMailing");
|
|
85232
|
+
const delivery = current(registeredOffice, "Delivery", "regDelivery");
|
|
85233
|
+
if (mailing) {
|
|
85234
|
+
const same = !delivery || this.isSameOfficeAddress(delivery, mailing);
|
|
85235
|
+
result.registeredOffice = {
|
|
85236
|
+
mailingAddress: mailing,
|
|
85237
|
+
deliverySameAsMailing: same,
|
|
85238
|
+
deliveryAddress: same ? void 0 : delivery
|
|
85239
|
+
};
|
|
85240
|
+
}
|
|
85241
|
+
}
|
|
85242
|
+
if (!incoming.recMailing) {
|
|
85243
|
+
const mailing = current(recordsOffice, "Mailing", "recMailing");
|
|
85244
|
+
const delivery = current(recordsOffice, "Delivery", "recDelivery");
|
|
85245
|
+
if (mailing) {
|
|
85246
|
+
const registeredMailing = result.registeredOffice?.mailingAddress;
|
|
85247
|
+
const registeredDelivery = result.registeredOffice?.deliveryAddress ?? registeredMailing;
|
|
85248
|
+
const sameAsRegistered = this.isSameOfficeAddress(mailing, registeredMailing) && this.isSameOfficeAddress(delivery ?? mailing, registeredDelivery);
|
|
85249
|
+
const deliverySame = !delivery || this.isSameOfficeAddress(delivery, mailing);
|
|
85250
|
+
result.recordsOffice = {
|
|
85251
|
+
sameAsRegisteredOffice: sameAsRegistered,
|
|
85252
|
+
mailingAddress: sameAsRegistered ? void 0 : mailing,
|
|
85253
|
+
deliverySameAsMailing: deliverySame,
|
|
85254
|
+
deliveryAddress: deliverySame ? void 0 : delivery
|
|
85255
|
+
};
|
|
85256
|
+
} else {
|
|
85257
|
+
result.recordsOffice = { sameAsRegisteredOffice: false, deliverySameAsMailing: false };
|
|
85258
|
+
}
|
|
85259
|
+
}
|
|
85260
|
+
return result;
|
|
85261
|
+
}
|
|
85262
|
+
/** The four office addresses of the registry's data extract, or undefined when there is none. */
|
|
85263
|
+
static officeExtract(extract) {
|
|
85264
|
+
const data = extract?.dataExtract;
|
|
85265
|
+
if (!data || !(data["registeredOfficeMailingAddress"] || data["registeredOfficeDeliveryAddress"] || data["recordsOfficeMailingAddress"] || data["recordsOfficeDeliveryAddress"])) {
|
|
85266
|
+
return void 0;
|
|
85267
|
+
}
|
|
85216
85268
|
return {
|
|
85217
|
-
|
|
85218
|
-
|
|
85219
|
-
|
|
85220
|
-
|
|
85221
|
-
|
|
85222
|
-
|
|
85223
|
-
|
|
85224
|
-
|
|
85269
|
+
regMailing: data["registeredOfficeMailingAddress"],
|
|
85270
|
+
regDelivery: data["registeredOfficeDeliveryAddress"],
|
|
85271
|
+
recMailing: data["recordsOfficeMailingAddress"],
|
|
85272
|
+
recDelivery: data["recordsOfficeDeliveryAddress"]
|
|
85273
|
+
};
|
|
85274
|
+
}
|
|
85275
|
+
/** The "Previous" text of an office line: the registry's address, else the Entity's own. */
|
|
85276
|
+
static previousText(extract, key, fallback) {
|
|
85277
|
+
if (!extract) {
|
|
85278
|
+
return fallback;
|
|
85279
|
+
}
|
|
85280
|
+
const address = extract[key];
|
|
85281
|
+
const province = this.isBritishColumbiaExtract(address) ? BC_DEFAULT_PROVINCE_STATE : address?.provinceOrState;
|
|
85282
|
+
const country = (address?.country ?? "").toUpperCase() === "CA" ? BC_DEFAULT_COUNTRY : address?.country;
|
|
85283
|
+
return [
|
|
85284
|
+
address?.streetAddress,
|
|
85285
|
+
address?.additionalStreetAddress,
|
|
85286
|
+
address?.city,
|
|
85287
|
+
province,
|
|
85288
|
+
address?.postalOrZipCode,
|
|
85289
|
+
country
|
|
85290
|
+
].filter((part) => Boolean(part?.trim())).join(", ");
|
|
85291
|
+
}
|
|
85292
|
+
static isBritishColumbiaExtract(address) {
|
|
85293
|
+
const province = (address?.provinceOrState ?? "").trim().toLowerCase();
|
|
85294
|
+
return !!address && ["bc", "b.c.", "british columbia"].includes(province);
|
|
85295
|
+
}
|
|
85296
|
+
static extractToOfficeAddressDelta(address) {
|
|
85297
|
+
return {
|
|
85298
|
+
addressLine1: address.streetAddress ?? "",
|
|
85299
|
+
addressLine2: address.additionalStreetAddress ?? "",
|
|
85300
|
+
city: address.city ?? "",
|
|
85301
|
+
postalCode: address.postalOrZipCode ?? "",
|
|
85302
|
+
province: BC_DEFAULT_PROVINCE_STATE,
|
|
85303
|
+
country: BC_DEFAULT_COUNTRY
|
|
85225
85304
|
};
|
|
85226
85305
|
}
|
|
85227
85306
|
/** The four office addresses of the task's incoming Shared Address, as form values. */
|
|
@@ -86589,9 +86668,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86589
86668
|
type: FormType.Text,
|
|
86590
86669
|
formControlName: BCFormationFormControls.DeliveryAddress,
|
|
86591
86670
|
class: "span-12",
|
|
86592
|
-
|
|
86593
|
-
// Mailing address is shown, as in the draft.
|
|
86594
|
-
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.DeliveryAddress)?.value || form.get(BCFormationFormControls.MailingAddress)?.value, t)
|
|
86671
|
+
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.DeliveryAddress)?.value, t)
|
|
86595
86672
|
}
|
|
86596
86673
|
];
|
|
86597
86674
|
BC_FORMATION_CARD_FORM_INCORPORATORS_FIELDS = [
|
|
@@ -87770,11 +87847,20 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87770
87847
|
\u0275\u0275property("content", ctx_r0.errors());
|
|
87771
87848
|
}
|
|
87772
87849
|
}
|
|
87773
|
-
function
|
|
87850
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_3_Template(rf, ctx) {
|
|
87851
|
+
if (rf & 1) {
|
|
87852
|
+
\u0275\u0275element(0, "alert", 2);
|
|
87853
|
+
}
|
|
87854
|
+
if (rf & 2) {
|
|
87855
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87856
|
+
\u0275\u0275property("content", ctx_r0.missingMessages());
|
|
87857
|
+
}
|
|
87858
|
+
}
|
|
87859
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_6_Template(rf, ctx) {
|
|
87774
87860
|
if (rf & 1) {
|
|
87775
87861
|
const _r2 = \u0275\u0275getCurrentView();
|
|
87776
87862
|
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
|
|
87777
|
-
\u0275\u0275listener("visiblyValidChange", function
|
|
87863
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_6_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87778
87864
|
\u0275\u0275restoreView(_r2);
|
|
87779
87865
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87780
87866
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
@@ -87783,17 +87869,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87783
87869
|
}
|
|
87784
87870
|
if (rf & 2) {
|
|
87785
87871
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87786
|
-
const referenceNumbers_r3 = \u0275\u0275readContextLet(
|
|
87872
|
+
const referenceNumbers_r3 = \u0275\u0275readContextLet(5);
|
|
87787
87873
|
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
87788
87874
|
\u0275\u0275advance();
|
|
87789
87875
|
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
87790
87876
|
}
|
|
87791
87877
|
}
|
|
87792
|
-
function
|
|
87878
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_8_Template(rf, ctx) {
|
|
87793
87879
|
if (rf & 1) {
|
|
87794
87880
|
const _r4 = \u0275\u0275getCurrentView();
|
|
87795
87881
|
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 7);
|
|
87796
|
-
\u0275\u0275listener("visiblyValidChange", function
|
|
87882
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_8_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87797
87883
|
\u0275\u0275restoreView(_r4);
|
|
87798
87884
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87799
87885
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("corpDetails", $event));
|
|
@@ -87802,232 +87888,129 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87802
87888
|
}
|
|
87803
87889
|
if (rf & 2) {
|
|
87804
87890
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87805
|
-
const corporationDetails_r5 = \u0275\u0275readContextLet(
|
|
87891
|
+
const corporationDetails_r5 = \u0275\u0275readContextLet(7);
|
|
87806
87892
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["corpDetails"] !== false)("title", ctx_r0.groups.CorporationDetails);
|
|
87807
87893
|
\u0275\u0275advance();
|
|
87808
87894
|
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r5)("config", ctx_r0.corporationDetailsFields());
|
|
87809
87895
|
}
|
|
87810
87896
|
}
|
|
87811
|
-
function
|
|
87897
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_For_3_Conditional_7_Template(rf, ctx) {
|
|
87812
87898
|
if (rf & 1) {
|
|
87813
|
-
|
|
87814
|
-
\u0275\
|
|
87815
|
-
\u0275\
|
|
87816
|
-
\u0275\u0275restoreView(_r7);
|
|
87817
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87818
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87819
|
-
});
|
|
87820
|
-
\u0275\u0275elementEnd();
|
|
87821
|
-
}
|
|
87822
|
-
if (rf & 2) {
|
|
87823
|
-
\u0275\u0275nextContext();
|
|
87824
|
-
const registeredMailing_r8 = \u0275\u0275readContextLet(0);
|
|
87825
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87826
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r8)("config", ctx_r0.addressFields);
|
|
87827
|
-
}
|
|
87828
|
-
}
|
|
87829
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
|
|
87830
|
-
if (rf & 1) {
|
|
87831
|
-
const _r9 = \u0275\u0275getCurrentView();
|
|
87832
|
-
\u0275\u0275element(0, "filing-form-group", 9);
|
|
87833
|
-
\u0275\u0275elementStart(1, "filing-form-group", 7);
|
|
87834
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
|
|
87835
|
-
\u0275\u0275restoreView(_r9);
|
|
87836
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87837
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87838
|
-
});
|
|
87899
|
+
\u0275\u0275elementStart(0, "div", 12);
|
|
87900
|
+
\u0275\u0275text(1);
|
|
87901
|
+
\u0275\u0275pipe(2, "translate");
|
|
87839
87902
|
\u0275\u0275elementEnd();
|
|
87840
87903
|
}
|
|
87841
87904
|
if (rf & 2) {
|
|
87842
|
-
\u0275\u0275nextContext();
|
|
87843
|
-
const registeredDelivery_r10 = \u0275\u0275readContextLet(1);
|
|
87844
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87845
|
-
const registeredOffice_r11 = \u0275\u0275readContextLet(8);
|
|
87846
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliveryNoteFields);
|
|
87905
|
+
const row_r6 = \u0275\u0275nextContext().$implicit;
|
|
87847
87906
|
\u0275\u0275advance();
|
|
87848
|
-
\u0275\
|
|
87907
|
+
\u0275\u0275textInterpolate2(" ", \u0275\u0275pipeBind1(2, 2, "Previous"), ": ", row_r6.previous, " ");
|
|
87849
87908
|
}
|
|
87850
87909
|
}
|
|
87851
|
-
function
|
|
87910
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_For_3_Template(rf, ctx) {
|
|
87852
87911
|
if (rf & 1) {
|
|
87853
|
-
|
|
87854
|
-
\u0275\
|
|
87855
|
-
\u0275\
|
|
87856
|
-
\u0275\u0275element(5, "filing-form-group", 9);
|
|
87857
|
-
\u0275\u0275elementStart(6, "h4", 10);
|
|
87858
|
-
\u0275\u0275text(7);
|
|
87859
|
-
\u0275\u0275pipe(8, "translate");
|
|
87912
|
+
\u0275\u0275elementStart(0, "div", 9)(1, "div", 10)(2, "span", 11);
|
|
87913
|
+
\u0275\u0275text(3);
|
|
87914
|
+
\u0275\u0275pipe(4, "translate");
|
|
87860
87915
|
\u0275\u0275elementEnd();
|
|
87861
|
-
\u0275\
|
|
87862
|
-
\u0275\
|
|
87863
|
-
\u0275\u0275text(11);
|
|
87864
|
-
\u0275\u0275pipe(12, "translate");
|
|
87916
|
+
\u0275\u0275text(5);
|
|
87917
|
+
\u0275\u0275pipe(6, "translate");
|
|
87865
87918
|
\u0275\u0275elementEnd();
|
|
87866
|
-
\u0275\
|
|
87867
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
|
|
87868
|
-
\u0275\u0275restoreView(_r6);
|
|
87869
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87870
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87871
|
-
});
|
|
87919
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_For_3_Conditional_7_Template, 3, 4, "div", 12);
|
|
87872
87920
|
\u0275\u0275elementEnd();
|
|
87873
|
-
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
|
|
87874
|
-
\u0275\u0275elementEnd()();
|
|
87875
87921
|
}
|
|
87876
87922
|
if (rf & 2) {
|
|
87877
|
-
const
|
|
87878
|
-
|
|
87879
|
-
|
|
87880
|
-
\u0275\u0275advance();
|
|
87881
|
-
const registeredDelivery_r13 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewDeliveryAddress));
|
|
87882
|
-
const registeredDeliverySame_r14 = ctx_r0.isChecked(registeredOffice_r11, ctx_r0.controls.DeliverySameAsMailing);
|
|
87883
|
-
\u0275\u0275advance(2);
|
|
87884
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87885
|
-
\u0275\u0275advance(2);
|
|
87886
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.currentAddressesFields);
|
|
87887
|
-
\u0275\u0275advance(2);
|
|
87888
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
|
|
87889
|
-
\u0275\u0275advance(2);
|
|
87890
|
-
\u0275\u0275conditional(registeredMailing_r12 ? 9 : -1);
|
|
87923
|
+
const row_r6 = ctx.$implicit;
|
|
87924
|
+
\u0275\u0275advance(3);
|
|
87925
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(4, 3, row_r6.label), ":");
|
|
87891
87926
|
\u0275\u0275advance(2);
|
|
87892
|
-
\u0275\
|
|
87927
|
+
\u0275\u0275textInterpolate1(" ", row_r6.value || \u0275\u0275pipeBind1(6, 5, "Not specified"), " ");
|
|
87893
87928
|
\u0275\u0275advance(2);
|
|
87894
|
-
\u0275\
|
|
87895
|
-
\u0275\u0275advance();
|
|
87896
|
-
\u0275\u0275conditional(!registeredDeliverySame_r14 && registeredDelivery_r13 ? 14 : -1);
|
|
87929
|
+
\u0275\u0275conditional(row_r6.previous ? 7 : -1);
|
|
87897
87930
|
}
|
|
87898
87931
|
}
|
|
87899
|
-
function
|
|
87932
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_Template(rf, ctx) {
|
|
87900
87933
|
if (rf & 1) {
|
|
87901
|
-
|
|
87902
|
-
\u0275\
|
|
87903
|
-
\u0275\
|
|
87904
|
-
\u0275\u0275restoreView(_r17);
|
|
87905
|
-
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87906
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87907
|
-
});
|
|
87908
|
-
\u0275\u0275elementEnd();
|
|
87934
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 8);
|
|
87935
|
+
\u0275\u0275repeaterCreate(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_For_3_Template, 8, 7, "div", 9, _forTrack05);
|
|
87936
|
+
\u0275\u0275elementEnd()();
|
|
87909
87937
|
}
|
|
87910
87938
|
if (rf & 2) {
|
|
87911
|
-
\u0275\u0275nextContext(2);
|
|
87912
|
-
const recordsMailing_r18 = \u0275\u0275readContextLet(0);
|
|
87913
87939
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87914
|
-
\u0275\u0275property("
|
|
87940
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87941
|
+
\u0275\u0275advance(2);
|
|
87942
|
+
\u0275\u0275repeater(ctx_r0.registeredRows());
|
|
87915
87943
|
}
|
|
87916
87944
|
}
|
|
87917
|
-
function
|
|
87945
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_For_3_Conditional_7_Template(rf, ctx) {
|
|
87918
87946
|
if (rf & 1) {
|
|
87919
|
-
|
|
87920
|
-
\u0275\
|
|
87921
|
-
\u0275\
|
|
87922
|
-
\u0275\u0275restoreView(_r19);
|
|
87923
|
-
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87924
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87925
|
-
});
|
|
87947
|
+
\u0275\u0275elementStart(0, "div", 12);
|
|
87948
|
+
\u0275\u0275text(1);
|
|
87949
|
+
\u0275\u0275pipe(2, "translate");
|
|
87926
87950
|
\u0275\u0275elementEnd();
|
|
87927
87951
|
}
|
|
87928
87952
|
if (rf & 2) {
|
|
87929
|
-
\u0275\u0275nextContext(
|
|
87930
|
-
|
|
87931
|
-
|
|
87932
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r20)("config", ctx_r0.addressFields);
|
|
87953
|
+
const row_r7 = \u0275\u0275nextContext().$implicit;
|
|
87954
|
+
\u0275\u0275advance();
|
|
87955
|
+
\u0275\u0275textInterpolate2(" ", \u0275\u0275pipeBind1(2, 2, "Previous"), ": ", row_r7.previous, " ");
|
|
87933
87956
|
}
|
|
87934
87957
|
}
|
|
87935
|
-
function
|
|
87958
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_For_3_Template(rf, ctx) {
|
|
87936
87959
|
if (rf & 1) {
|
|
87937
|
-
|
|
87938
|
-
\u0275\
|
|
87939
|
-
\u0275\
|
|
87940
|
-
\u0275\u0275pipe(2, "translate");
|
|
87960
|
+
\u0275\u0275elementStart(0, "div", 9)(1, "div", 10)(2, "span", 11);
|
|
87961
|
+
\u0275\u0275text(3);
|
|
87962
|
+
\u0275\u0275pipe(4, "translate");
|
|
87941
87963
|
\u0275\u0275elementEnd();
|
|
87942
|
-
\u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 9);
|
|
87943
|
-
\u0275\u0275elementStart(4, "h4", 10);
|
|
87944
87964
|
\u0275\u0275text(5);
|
|
87945
87965
|
\u0275\u0275pipe(6, "translate");
|
|
87946
87966
|
\u0275\u0275elementEnd();
|
|
87947
|
-
\u0275\
|
|
87948
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87949
|
-
\u0275\u0275restoreView(_r16);
|
|
87950
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87951
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87952
|
-
});
|
|
87967
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_For_3_Conditional_7_Template, 3, 4, "div", 12);
|
|
87953
87968
|
\u0275\u0275elementEnd();
|
|
87954
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 9);
|
|
87955
87969
|
}
|
|
87956
87970
|
if (rf & 2) {
|
|
87957
|
-
|
|
87958
|
-
|
|
87959
|
-
|
|
87960
|
-
const recordsDeliverySame_r21 = \u0275\u0275readContextLet(3);
|
|
87961
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87962
|
-
const recordsOffice_r22 = \u0275\u0275readContextLet(10);
|
|
87963
|
-
\u0275\u0275advance();
|
|
87964
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
|
|
87965
|
-
\u0275\u0275advance(2);
|
|
87966
|
-
\u0275\u0275conditional(recordsMailing_r18 ? 3 : -1);
|
|
87971
|
+
const row_r7 = ctx.$implicit;
|
|
87972
|
+
\u0275\u0275advance(3);
|
|
87973
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(4, 3, row_r7.label), ":");
|
|
87967
87974
|
\u0275\u0275advance(2);
|
|
87968
|
-
\u0275\
|
|
87975
|
+
\u0275\u0275textInterpolate1(" ", row_r7.value || \u0275\u0275pipeBind1(6, 5, "Not specified"), " ");
|
|
87969
87976
|
\u0275\u0275advance(2);
|
|
87970
|
-
\u0275\
|
|
87971
|
-
\u0275\u0275advance();
|
|
87972
|
-
\u0275\u0275conditional(!recordsDeliverySame_r21 && recordsDelivery_r20 ? 8 : -1);
|
|
87977
|
+
\u0275\u0275conditional(row_r7.previous ? 7 : -1);
|
|
87973
87978
|
}
|
|
87974
87979
|
}
|
|
87975
|
-
function
|
|
87980
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_Template(rf, ctx) {
|
|
87976
87981
|
if (rf & 1) {
|
|
87977
|
-
|
|
87978
|
-
\u0275\
|
|
87979
|
-
\u0275\u0275elementStart(4, "expandable-card", 5)(5, "div", 8);
|
|
87980
|
-
\u0275\u0275element(6, "filing-form-group", 9);
|
|
87981
|
-
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87982
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87983
|
-
\u0275\u0275restoreView(_r15);
|
|
87984
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87985
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87986
|
-
});
|
|
87987
|
-
\u0275\u0275elementEnd();
|
|
87988
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
|
|
87982
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 8);
|
|
87983
|
+
\u0275\u0275repeaterCreate(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_For_3_Template, 8, 7, "div", 9, _forTrack05);
|
|
87989
87984
|
\u0275\u0275elementEnd()();
|
|
87990
87985
|
}
|
|
87991
87986
|
if (rf & 2) {
|
|
87992
87987
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87993
|
-
const recordsOffice_r22 = \u0275\u0275readContextLet(10);
|
|
87994
|
-
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewMailingAddress));
|
|
87995
|
-
\u0275\u0275advance();
|
|
87996
|
-
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewDeliveryAddress));
|
|
87997
|
-
const recordsSameAsRegistered_r23 = ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.SameAsRegisteredOffice);
|
|
87998
|
-
\u0275\u0275advance(2);
|
|
87999
|
-
\u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.DeliverySameAsMailing));
|
|
88000
|
-
\u0275\u0275advance();
|
|
88001
87988
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
|
|
88002
87989
|
\u0275\u0275advance(2);
|
|
88003
|
-
\u0275\
|
|
88004
|
-
\u0275\u0275advance();
|
|
88005
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.sameAsRegisteredOfficeFields);
|
|
88006
|
-
\u0275\u0275advance();
|
|
88007
|
-
\u0275\u0275conditional(!recordsSameAsRegistered_r23 ? 8 : -1);
|
|
87990
|
+
\u0275\u0275repeater(ctx_r0.recordsRows());
|
|
88008
87991
|
}
|
|
88009
87992
|
}
|
|
88010
|
-
function
|
|
87993
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_14_Template(rf, ctx) {
|
|
88011
87994
|
if (rf & 1) {
|
|
88012
|
-
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div",
|
|
87995
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 13)(2, "p");
|
|
88013
87996
|
\u0275\u0275text(3);
|
|
88014
87997
|
\u0275\u0275pipe(4, "translate");
|
|
88015
87998
|
\u0275\u0275elementEnd();
|
|
88016
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
87999
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 14)(6, "mat-radio-button", 15);
|
|
88017
88000
|
\u0275\u0275text(7);
|
|
88018
88001
|
\u0275\u0275pipe(8, "translate");
|
|
88019
88002
|
\u0275\u0275elementEnd();
|
|
88020
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
88003
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 15);
|
|
88021
88004
|
\u0275\u0275text(10);
|
|
88022
88005
|
\u0275\u0275pipe(11, "translate");
|
|
88023
88006
|
\u0275\u0275elementEnd()()()();
|
|
88024
88007
|
}
|
|
88025
88008
|
if (rf & 2) {
|
|
88026
88009
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
88027
|
-
const
|
|
88010
|
+
const annualReportReminder_r8 = \u0275\u0275readContextLet(13);
|
|
88028
88011
|
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.AnnualReportReminder);
|
|
88029
88012
|
\u0275\u0275advance();
|
|
88030
|
-
\u0275\u0275property("formGroup",
|
|
88013
|
+
\u0275\u0275property("formGroup", annualReportReminder_r8);
|
|
88031
88014
|
\u0275\u0275advance(2);
|
|
88032
88015
|
\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."), " ");
|
|
88033
88016
|
\u0275\u0275advance(2);
|
|
@@ -88042,7 +88025,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88042
88025
|
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(11, 13, "No, I do not need to be reminded"), " ");
|
|
88043
88026
|
}
|
|
88044
88027
|
}
|
|
88045
|
-
var BritishColumbiaChangeOfOfficeAddressesFormComponent;
|
|
88028
|
+
var _forTrack05, BritishColumbiaChangeOfOfficeAddressesFormComponent;
|
|
88046
88029
|
var init_change_of_office_addresses_form_component = __esm({
|
|
88047
88030
|
"src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
|
|
88048
88031
|
init_core();
|
|
@@ -88055,11 +88038,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88055
88038
|
init_expandable_card_component();
|
|
88056
88039
|
init_british_columbia_form_enums();
|
|
88057
88040
|
init_british_columbia_change_of_office_addresses_form_constants();
|
|
88058
|
-
init_forms_utils();
|
|
88059
88041
|
init_BritishColumbiaConstants();
|
|
88060
88042
|
init_british_columbia_change_of_office_addresses_form_helper();
|
|
88061
88043
|
init_core();
|
|
88062
88044
|
init_forms();
|
|
88045
|
+
_forTrack05 = ($index, $item) => $item.label;
|
|
88063
88046
|
BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
|
|
88064
88047
|
form = input.required();
|
|
88065
88048
|
task = input();
|
|
@@ -88082,17 +88065,38 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88082
88065
|
deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
|
|
88083
88066
|
deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
|
|
88084
88067
|
sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
88068
|
+
translate = inject(TranslateService);
|
|
88085
88069
|
sectionValidity = {};
|
|
88086
88070
|
isVisiblyValid() {
|
|
88087
88071
|
return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
|
|
88088
88072
|
}
|
|
88089
88073
|
isRegisteredOfficeValid() {
|
|
88090
|
-
|
|
88091
|
-
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
88074
|
+
return !this.isRegisteredMissing();
|
|
88092
88075
|
}
|
|
88093
88076
|
isRecordsOfficeValid() {
|
|
88094
|
-
|
|
88095
|
-
|
|
88077
|
+
return !this.isRecordsMissing();
|
|
88078
|
+
}
|
|
88079
|
+
/** One message per missing office address, shown in the banner at the top of the form. */
|
|
88080
|
+
missingMessages() {
|
|
88081
|
+
const t = (key) => this.translate.instant(key);
|
|
88082
|
+
const records = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
88083
|
+
const recordsSameAsRegistered = this.isChecked(records, this.controls.SameAsRegisteredOffice);
|
|
88084
|
+
const [regMailing, regDelivery] = this.registeredRows();
|
|
88085
|
+
const [recMailing, recDelivery] = this.recordsRows();
|
|
88086
|
+
return [
|
|
88087
|
+
!regMailing.value && t("The Registered Office mailing address is missing. Add it in UEM, then try again."),
|
|
88088
|
+
!regDelivery.value && t("The Registered Office delivery address is missing. Add it in UEM, then try again."),
|
|
88089
|
+
// "Same as Registered Office" is already reported by the registered office messages.
|
|
88090
|
+
!recordsSameAsRegistered && !recMailing.value && t("The Records Office mailing address is missing. Add it in UEM, then try again."),
|
|
88091
|
+
!recordsSameAsRegistered && !recDelivery.value && t("The Records Office delivery address is missing. Add it in UEM, then try again.")
|
|
88092
|
+
].filter((m) => !!m);
|
|
88093
|
+
}
|
|
88094
|
+
/** The incoming Shared Address supplied no new address for a line (and none is on the register). */
|
|
88095
|
+
isRegisteredMissing() {
|
|
88096
|
+
return this.registeredRows().some((row) => !row.value);
|
|
88097
|
+
}
|
|
88098
|
+
isRecordsMissing() {
|
|
88099
|
+
return this.recordsRows().some((row) => !row.value);
|
|
88096
88100
|
}
|
|
88097
88101
|
isChecked(office, control) {
|
|
88098
88102
|
return Boolean(office?.get(control)?.value);
|
|
@@ -88110,28 +88114,77 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88110
88114
|
getAddressGroup(office, control) {
|
|
88111
88115
|
return office?.get(control) ?? null;
|
|
88112
88116
|
}
|
|
88113
|
-
|
|
88114
|
-
|
|
88115
|
-
|
|
88117
|
+
/** Registered office lines: the new (incoming) address and, if it changed, the previous one. */
|
|
88118
|
+
registeredRows() {
|
|
88119
|
+
const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
|
|
88120
|
+
return this.buildRows(office, this.isChecked(office, this.controls.DeliverySameAsMailing));
|
|
88121
|
+
}
|
|
88122
|
+
/** Records office lines; "Same as Registered Office" reuses the registered office's new lines. */
|
|
88123
|
+
recordsRows() {
|
|
88124
|
+
const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
88125
|
+
if (this.isChecked(office, this.controls.SameAsRegisteredOffice)) {
|
|
88126
|
+
const registered = this.registeredRows();
|
|
88127
|
+
const current = this.currentOf(office);
|
|
88128
|
+
return registered.map((row, i) => __spreadProps(__spreadValues({}, row), {
|
|
88129
|
+
previous: this.changedPrevious(row.value, i === 0 ? current.mailing : current.delivery)
|
|
88130
|
+
}));
|
|
88131
|
+
}
|
|
88132
|
+
return this.buildRows(office, this.isChecked(office, this.controls.DeliverySameAsMailing));
|
|
88133
|
+
}
|
|
88134
|
+
buildRows(office, deliverySame) {
|
|
88135
|
+
const current = this.currentOf(office);
|
|
88136
|
+
const mailing = this.formatNew(this.getAddressGroup(office, this.controls.NewMailingAddress));
|
|
88137
|
+
const delivery = deliverySame ? mailing : this.formatNew(this.getAddressGroup(office, this.controls.NewDeliveryAddress));
|
|
88138
|
+
return [
|
|
88139
|
+
{
|
|
88140
|
+
label: "Mailing Address",
|
|
88141
|
+
value: mailing,
|
|
88142
|
+
previous: this.changedPrevious(mailing, current.mailing)
|
|
88143
|
+
},
|
|
88144
|
+
{
|
|
88145
|
+
label: "Delivery Address",
|
|
88146
|
+
value: delivery,
|
|
88147
|
+
previous: this.changedPrevious(delivery, current.delivery)
|
|
88148
|
+
}
|
|
88149
|
+
];
|
|
88150
|
+
}
|
|
88151
|
+
currentOf(office) {
|
|
88152
|
+
return {
|
|
88153
|
+
mailing: office?.get(this.controls.CurrentMailingAddress)?.value ?? "",
|
|
88154
|
+
delivery: office?.get(this.controls.CurrentDeliveryAddress)?.value ?? ""
|
|
88155
|
+
};
|
|
88156
|
+
}
|
|
88157
|
+
formatNew(group2) {
|
|
88158
|
+
const c = this.controls;
|
|
88159
|
+
const v = group2?.getRawValue() ?? {};
|
|
88160
|
+
if (![v[c.AddressLine1], v[c.City], v[c.PostalCode]].some((part) => part?.trim())) {
|
|
88161
|
+
return "";
|
|
88162
|
+
}
|
|
88163
|
+
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(", ");
|
|
88164
|
+
}
|
|
88165
|
+
/** The previous address, only when it exists and differs from the new one. */
|
|
88166
|
+
changedPrevious(next, previous) {
|
|
88167
|
+
const normalize = (s) => s.toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
88168
|
+
return previous && normalize(previous) !== normalize(next) ? previous : "";
|
|
88116
88169
|
}
|
|
88117
88170
|
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
|
|
88118
88171
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
|
|
88119
88172
|
};
|
|
88120
|
-
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:
|
|
88173
|
+
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: 15, vars: 11, 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"], [1, "body-1-regular", "grey"], [1, "body-1-semibold"], [1, "change-of-office-addresses-form-previous"], [1, "annual-reminder", 3, "formGroup"], [3, "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
|
|
88121
88174
|
if (rf & 1) {
|
|
88122
88175
|
\u0275\u0275elementStart(0, "div", 0);
|
|
88123
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
88124
|
-
\u0275\u0275elementStart(
|
|
88125
|
-
\u0275\u0275declareLet(
|
|
88126
|
-
\u0275\u0275template(
|
|
88127
|
-
\u0275\u0275declareLet(
|
|
88128
|
-
\u0275\u0275template(
|
|
88129
|
-
\u0275\u0275declareLet(
|
|
88130
|
-
\u0275\u0275template(
|
|
88131
|
-
\u0275\u0275declareLet(
|
|
88132
|
-
\u0275\u0275template(
|
|
88133
|
-
\u0275\u0275declareLet(
|
|
88134
|
-
\u0275\u0275template(
|
|
88176
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2)(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_3_Template, 1, 1, "alert", 2);
|
|
88177
|
+
\u0275\u0275elementStart(4, "div", 3);
|
|
88178
|
+
\u0275\u0275declareLet(5);
|
|
88179
|
+
\u0275\u0275template(6, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_6_Template, 2, 4, "expandable-card", 4);
|
|
88180
|
+
\u0275\u0275declareLet(7);
|
|
88181
|
+
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_8_Template, 2, 6, "expandable-card", 5);
|
|
88182
|
+
\u0275\u0275declareLet(9);
|
|
88183
|
+
\u0275\u0275template(10, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_Template, 4, 3, "expandable-card", 5);
|
|
88184
|
+
\u0275\u0275declareLet(11);
|
|
88185
|
+
\u0275\u0275template(12, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_Template, 4, 3, "expandable-card", 5);
|
|
88186
|
+
\u0275\u0275declareLet(13);
|
|
88187
|
+
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_14_Template, 12, 15, "expandable-card", 6);
|
|
88135
88188
|
\u0275\u0275elementEnd()();
|
|
88136
88189
|
}
|
|
88137
88190
|
if (rf & 2) {
|
|
@@ -88139,26 +88192,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88139
88192
|
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
88140
88193
|
\u0275\u0275advance();
|
|
88141
88194
|
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
88142
|
-
\u0275\u0275advance(2);
|
|
88143
|
-
const referenceNumbers_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
88144
88195
|
\u0275\u0275advance();
|
|
88145
|
-
\u0275\u0275conditional(
|
|
88146
|
-
\u0275\u0275advance();
|
|
88147
|
-
const
|
|
88148
|
-
\u0275\u0275advance();
|
|
88149
|
-
\u0275\u0275conditional(corporationDetails_r26 ? 7 : -1);
|
|
88150
|
-
\u0275\u0275advance();
|
|
88151
|
-
const registeredOffice_r27 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
|
|
88196
|
+
\u0275\u0275conditional(ctx.missingMessages().length ? 3 : -1);
|
|
88197
|
+
\u0275\u0275advance(2);
|
|
88198
|
+
const referenceNumbers_r9 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
88152
88199
|
\u0275\u0275advance();
|
|
88153
|
-
\u0275\u0275conditional(
|
|
88200
|
+
\u0275\u0275conditional(referenceNumbers_r9 ? 6 : -1);
|
|
88154
88201
|
\u0275\u0275advance();
|
|
88155
|
-
const
|
|
88202
|
+
const corporationDetails_r10 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
88156
88203
|
\u0275\u0275advance();
|
|
88157
|
-
\u0275\u0275conditional(
|
|
88204
|
+
\u0275\u0275conditional(corporationDetails_r10 ? 8 : -1);
|
|
88205
|
+
const registeredOffice_r11 = ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress);
|
|
88206
|
+
\u0275\u0275advance(2);
|
|
88207
|
+
\u0275\u0275conditional(registeredOffice_r11 ? 10 : -1);
|
|
88208
|
+
const recordsOffice_r12 = ctx.getFormGroup(ctx.groups.RecordsOfficeAddress);
|
|
88209
|
+
\u0275\u0275advance(2);
|
|
88210
|
+
\u0275\u0275conditional(recordsOffice_r12 ? 12 : -1);
|
|
88158
88211
|
\u0275\u0275advance();
|
|
88159
|
-
const
|
|
88212
|
+
const annualReportReminder_r13 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
88160
88213
|
\u0275\u0275advance();
|
|
88161
|
-
\u0275\u0275conditional(
|
|
88214
|
+
\u0275\u0275conditional(annualReportReminder_r13 ? 14 : -1);
|
|
88162
88215
|
}
|
|
88163
88216
|
}, dependencies: [
|
|
88164
88217
|
FilingFormGroupComponent,
|
|
@@ -88172,7 +88225,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88172
88225
|
FormGroupDirective,
|
|
88173
88226
|
FormControlName,
|
|
88174
88227
|
TranslatePipe
|
|
88175
|
-
], styles: [
|
|
88228
|
+
], 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-size: 13px !important;\n line-height: 18px;\n font-family: "Open Sans";\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 });
|
|
88176
88229
|
};
|
|
88177
88230
|
(() => {
|
|
88178
88231
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
|
|
@@ -88200,6 +88253,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88200
88253
|
[content]="errors()"\r
|
|
88201
88254
|
/>\r
|
|
88202
88255
|
}\r
|
|
88256
|
+
\r
|
|
88257
|
+
@if (missingMessages().length) {\r
|
|
88258
|
+
<alert\r
|
|
88259
|
+
title="The following issues need to be resolved before proceeding:"\r
|
|
88260
|
+
[content]="missingMessages()"\r
|
|
88261
|
+
/>\r
|
|
88262
|
+
}\r
|
|
88203
88263
|
\r
|
|
88204
88264
|
<div class="change-of-office-addresses-form-content">\r
|
|
88205
88265
|
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
@@ -88236,54 +88296,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88236
88296
|
@let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
|
|
88237
88297
|
\r
|
|
88238
88298
|
@if (registeredOffice) {\r
|
|
88239
|
-
@let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
|
|
88240
|
-
@let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
|
|
88241
|
-
@let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
|
|
88242
|
-
\r
|
|
88243
88299
|
<expandable-card\r
|
|
88244
88300
|
[isStatusIcon]="!readonly()"\r
|
|
88245
88301
|
[isValid]="isRegisteredOfficeValid()"\r
|
|
88246
88302
|
[title]="groups.RegisteredOfficeAddress"\r
|
|
88247
88303
|
>\r
|
|
88248
88304
|
<div class="change-of-office-addresses-form-item">\r
|
|
88249
|
-
|
|
88250
|
-
|
|
88251
|
-
|
|
88252
|
-
|
|
88253
|
-
|
|
88254
|
-
|
|
88255
|
-
|
|
88256
|
-
|
|
88257
|
-
|
|
88258
|
-
|
|
88259
|
-
|
|
88260
|
-
|
|
88261
|
-
[config]="addressFields"\r
|
|
88262
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88263
|
-
/>\r
|
|
88264
|
-
}\r
|
|
88265
|
-
\r
|
|
88266
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88267
|
-
\r
|
|
88268
|
-
<filing-form-group\r
|
|
88269
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88270
|
-
[form]="registeredOffice"\r
|
|
88271
|
-
[config]="deliverySameAsMailingFields"\r
|
|
88272
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88273
|
-
/>\r
|
|
88274
|
-
\r
|
|
88275
|
-
@if (!registeredDeliverySame && registeredDelivery) {\r
|
|
88276
|
-
<filing-form-group\r
|
|
88277
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88278
|
-
[form]="registeredOffice"\r
|
|
88279
|
-
[config]="deliveryNoteFields"\r
|
|
88280
|
-
/>\r
|
|
88281
|
-
<filing-form-group\r
|
|
88282
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88283
|
-
[form]="registeredDelivery"\r
|
|
88284
|
-
[config]="addressFields"\r
|
|
88285
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88286
|
-
/>\r
|
|
88305
|
+
@for (row of registeredRows(); track row.label) {\r
|
|
88306
|
+
<div class="change-of-office-addresses-form-address">\r
|
|
88307
|
+
<div class="body-1-regular grey">\r
|
|
88308
|
+
<span class="body-1-semibold">{{ row.label | translate }}:</span>\r
|
|
88309
|
+
{{ row.value || ('Not specified' | translate) }}\r
|
|
88310
|
+
</div>\r
|
|
88311
|
+
@if (row.previous) {\r
|
|
88312
|
+
<div class="change-of-office-addresses-form-previous">\r
|
|
88313
|
+
{{ 'Previous' | translate }}: {{ row.previous }}\r
|
|
88314
|
+
</div>\r
|
|
88315
|
+
}\r
|
|
88316
|
+
</div>\r
|
|
88287
88317
|
}\r
|
|
88288
88318
|
</div>\r
|
|
88289
88319
|
</expandable-card>\r
|
|
@@ -88293,59 +88323,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88293
88323
|
@let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
|
|
88294
88324
|
\r
|
|
88295
88325
|
@if (recordsOffice) {\r
|
|
88296
|
-
@let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
|
|
88297
|
-
@let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
|
|
88298
|
-
@let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
|
|
88299
|
-
@let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
|
|
88300
|
-
\r
|
|
88301
88326
|
<expandable-card\r
|
|
88302
88327
|
[isStatusIcon]="!readonly()"\r
|
|
88303
88328
|
[isValid]="isRecordsOfficeValid()"\r
|
|
88304
88329
|
[title]="groups.RecordsOfficeAddress"\r
|
|
88305
88330
|
>\r
|
|
88306
88331
|
<div class="change-of-office-addresses-form-item">\r
|
|
88307
|
-
|
|
88308
|
-
|
|
88309
|
-
|
|
88310
|
-
|
|
88311
|
-
|
|
88312
|
-
|
|
88313
|
-
|
|
88314
|
-
|
|
88315
|
-
|
|
88316
|
-
|
|
88317
|
-
|
|
88318
|
-
|
|
88319
|
-
\r
|
|
88320
|
-
@if (!recordsSameAsRegistered) {\r
|
|
88321
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88322
|
-
\r
|
|
88323
|
-
@if (recordsMailing) {\r
|
|
88324
|
-
<filing-form-group\r
|
|
88325
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88326
|
-
[form]="recordsMailing"\r
|
|
88327
|
-
[config]="addressFields"\r
|
|
88328
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88329
|
-
/>\r
|
|
88330
|
-
}\r
|
|
88331
|
-
\r
|
|
88332
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88333
|
-
\r
|
|
88334
|
-
<filing-form-group\r
|
|
88335
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88336
|
-
[form]="recordsOffice"\r
|
|
88337
|
-
[config]="deliverySameAsMailingFields"\r
|
|
88338
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88339
|
-
/>\r
|
|
88340
|
-
\r
|
|
88341
|
-
@if (!recordsDeliverySame && recordsDelivery) {\r
|
|
88342
|
-
<filing-form-group\r
|
|
88343
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88344
|
-
[form]="recordsDelivery"\r
|
|
88345
|
-
[config]="addressFields"\r
|
|
88346
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88347
|
-
/>\r
|
|
88348
|
-
}\r
|
|
88332
|
+
@for (row of recordsRows(); track row.label) {\r
|
|
88333
|
+
<div class="change-of-office-addresses-form-address">\r
|
|
88334
|
+
<div class="body-1-regular grey">\r
|
|
88335
|
+
<span class="body-1-semibold">{{ row.label | translate }}:</span>\r
|
|
88336
|
+
{{ row.value || ('Not specified' | translate) }}\r
|
|
88337
|
+
</div>\r
|
|
88338
|
+
@if (row.previous) {\r
|
|
88339
|
+
<div class="change-of-office-addresses-form-previous">\r
|
|
88340
|
+
{{ 'Previous' | translate }}: {{ row.previous }}\r
|
|
88341
|
+
</div>\r
|
|
88342
|
+
}\r
|
|
88343
|
+
</div>\r
|
|
88349
88344
|
}\r
|
|
88350
88345
|
</div>\r
|
|
88351
88346
|
</expandable-card>\r
|
|
@@ -88375,11 +88370,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88375
88370
|
}\r
|
|
88376
88371
|
</div>\r
|
|
88377
88372
|
</div>\r
|
|
88378
|
-
`, styles: [
|
|
88373
|
+
`, 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-size: 13px !important;\n line-height: 18px;\n font-family: "Open Sans";\n font-style: italic;\n color: var(--filing-modal-color-grey-mid);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */\n'] }]
|
|
88379
88374
|
}], null, null);
|
|
88380
88375
|
})();
|
|
88381
88376
|
(() => {
|
|
88382
|
-
(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:
|
|
88377
|
+
(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: 61 });
|
|
88383
88378
|
})();
|
|
88384
88379
|
}
|
|
88385
88380
|
});
|
|
@@ -88819,6 +88814,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88819
88814
|
actionsDisabled = input(false);
|
|
88820
88815
|
errors = input([]);
|
|
88821
88816
|
currentDataExtract = input();
|
|
88817
|
+
/** False while the registry's current data is being loaded, so the forms are not built too early. */
|
|
88818
|
+
extractReady = input(true);
|
|
88822
88819
|
close = output();
|
|
88823
88820
|
codValidate = output();
|
|
88824
88821
|
saveCodDeltaData = output();
|
|
@@ -88853,8 +88850,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88853
88850
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
88854
88851
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
88855
88852
|
}
|
|
88856
|
-
if (task && isChangeOfAddressTask(task)) {
|
|
88857
|
-
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
88853
|
+
if (task && isChangeOfAddressTask(task) && this.extractReady()) {
|
|
88854
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key), this.currentDataExtract())));
|
|
88858
88855
|
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88859
88856
|
}
|
|
88860
88857
|
});
|
|
@@ -88880,8 +88877,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88880
88877
|
this.nextStep.emit();
|
|
88881
88878
|
}
|
|
88882
88879
|
}
|
|
88883
|
-
if (task && isChangeOfAddressTask(task) && deltaData) {
|
|
88884
|
-
const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
88880
|
+
if (task && isChangeOfAddressTask(task) && deltaData && this.extractReady()) {
|
|
88881
|
+
const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key), this.currentDataExtract()));
|
|
88885
88882
|
form.disable();
|
|
88886
88883
|
this.previewForm.set(form);
|
|
88887
88884
|
const step = untracked2(() => this.activeStep());
|
|
@@ -89074,7 +89071,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
89074
89071
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
89075
89072
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
89076
89073
|
};
|
|
89077
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"], currentDataExtract: [1, "currentDataExtract"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", recheckStep: "recheckStep", prevStep: "prevStep", coaValidate: "coaValidate", saveCoaDeltaData: "saveCoaDeltaData", coaSubmit: "coaSubmit" }, decls: 4, vars: 4, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
|
|
89074
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"], currentDataExtract: [1, "currentDataExtract"], extractReady: [1, "extractReady"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", recheckStep: "recheckStep", prevStep: "prevStep", coaValidate: "coaValidate", saveCoaDeltaData: "saveCoaDeltaData", coaSubmit: "coaSubmit" }, decls: 4, vars: 4, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
|
|
89078
89075
|
if (rf & 1) {
|
|
89079
89076
|
\u0275\u0275declareLet(0);
|
|
89080
89077
|
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2)(3, BritishColumbiaComponent_Conditional_3_Template, 2, 2);
|
|
@@ -90763,7 +90760,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
90763
90760
|
\u0275\u0275pipe(7, "translate");
|
|
90764
90761
|
\u0275\u0275elementEnd();
|
|
90765
90762
|
\u0275\u0275elementStart(8, "ul", 16);
|
|
90766
|
-
\u0275\u0275repeaterCreate(9, FederalIncorporationFormComponent_Conditional_7_For_10_Template, 2, 1, "li", 17,
|
|
90763
|
+
\u0275\u0275repeaterCreate(9, FederalIncorporationFormComponent_Conditional_7_For_10_Template, 2, 1, "li", 17, _forTrack06);
|
|
90767
90764
|
\u0275\u0275elementEnd()();
|
|
90768
90765
|
\u0275\u0275elementStart(11, "span", 17);
|
|
90769
90766
|
\u0275\u0275text(12);
|
|
@@ -90966,7 +90963,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
90966
90963
|
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", contactForm_r24)("config", ctx_r0.contactControl);
|
|
90967
90964
|
}
|
|
90968
90965
|
}
|
|
90969
|
-
var _c016,
|
|
90966
|
+
var _c016, _forTrack06, FederalIncorporationFormComponent;
|
|
90970
90967
|
var init_federal_incorporation_form_component = __esm({
|
|
90971
90968
|
"src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts"() {
|
|
90972
90969
|
init_core();
|
|
@@ -90991,7 +90988,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
90991
90988
|
init_common();
|
|
90992
90989
|
init_core();
|
|
90993
90990
|
_c016 = ["*"];
|
|
90994
|
-
|
|
90991
|
+
_forTrack06 = ($index, $item) => $item.affiliationID;
|
|
90995
90992
|
FederalIncorporationFormComponent = class _FederalIncorporationFormComponent {
|
|
90996
90993
|
form = input.required();
|
|
90997
90994
|
isNote = input(false);
|
|
@@ -95683,7 +95680,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95683
95680
|
return String(id);
|
|
95684
95681
|
});
|
|
95685
95682
|
}
|
|
95686
|
-
/** Polls the extract until the registry has it ready (`success`). */
|
|
95683
|
+
/** Polls the extract until the registry has it ready (`success`) and returns the extract. */
|
|
95687
95684
|
waitForCurrentDataExtract(_0, _1) {
|
|
95688
95685
|
return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
|
|
95689
95686
|
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
|
|
@@ -95692,7 +95689,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95692
95689
|
const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
|
|
95693
95690
|
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95694
95691
|
if (ok && state2 === "success") {
|
|
95695
|
-
return;
|
|
95692
|
+
return body ?? {};
|
|
95696
95693
|
}
|
|
95697
95694
|
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95698
95695
|
throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
|
|
@@ -95930,7 +95927,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95930
95927
|
"src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
|
|
95931
95928
|
init_BritishColumbiaConstants();
|
|
95932
95929
|
init_british_columbia_change_of_office_addresses_form_helper();
|
|
95933
|
-
TEMP_UAT_TEST_ACCESS_CODE = "
|
|
95930
|
+
TEMP_UAT_TEST_ACCESS_CODE = "xxxxxxxx";
|
|
95934
95931
|
BC_PROVINCE_CODE = "BC";
|
|
95935
95932
|
CANADA_COUNTRY_CODE = "CA";
|
|
95936
95933
|
clean = (value) => (value ?? "").trim();
|
|
@@ -96070,7 +96067,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96070
96067
|
if (rf & 2) {
|
|
96071
96068
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96072
96069
|
const currentTask_r5 = \u0275\u0275readContextLet(9);
|
|
96073
|
-
\u0275\u0275property("task", currentTask_r5)("currentUser", ctx_r2.currentUser())("activeStep", ctx_r2.activeStep())("isNote", ctx_r2.dataWasChanged())("actionsDisabled", ctx_r2.isLoading())("errors", ctx_r2.errors())("currentDataExtract", ctx_r2.currentDataExtract());
|
|
96070
|
+
\u0275\u0275property("task", currentTask_r5)("currentUser", ctx_r2.currentUser())("activeStep", ctx_r2.activeStep())("isNote", ctx_r2.dataWasChanged())("actionsDisabled", ctx_r2.isLoading())("errors", ctx_r2.errors())("currentDataExtract", ctx_r2.currentDataExtract())("extractReady", ctx_r2.bcCoaExtractReady());
|
|
96074
96071
|
}
|
|
96075
96072
|
}
|
|
96076
96073
|
function FilingComponent_Conditional_10_Conditional_2_Template(rf, ctx) {
|
|
@@ -96120,7 +96117,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96120
96117
|
}
|
|
96121
96118
|
function FilingComponent_Conditional_10_Template(rf, ctx) {
|
|
96122
96119
|
if (rf & 1) {
|
|
96123
|
-
\u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 1, 7, "ontario", 8)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1,
|
|
96120
|
+
\u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 1, 7, "ontario", 8)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1, 8, "british-columbia", 9)(2, FilingComponent_Conditional_10_Conditional_2_Template, 1, 5, "federal", 10);
|
|
96124
96121
|
}
|
|
96125
96122
|
if (rf & 2) {
|
|
96126
96123
|
const ctx_r2 = \u0275\u0275nextContext();
|
|
@@ -96242,6 +96239,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96242
96239
|
dataWasChanged = signal(false);
|
|
96243
96240
|
serviceOrderId = "";
|
|
96244
96241
|
bcCurrentDataServiceOrderId = "";
|
|
96242
|
+
/** The registry's current data ordered for the Change of Office Addresses; reused by Validate. */
|
|
96243
|
+
bcCoaExtractId = "";
|
|
96244
|
+
/** False while the registry's current office addresses are loading. */
|
|
96245
|
+
bcCoaExtractReady = signal(true);
|
|
96245
96246
|
currentDataExtract = signal(void 0);
|
|
96246
96247
|
bcDataExtractTaskId = "";
|
|
96247
96248
|
activeStep = signal(Step.Validate);
|
|
@@ -96336,8 +96337,47 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96336
96337
|
this.isLoading.set(false);
|
|
96337
96338
|
}
|
|
96338
96339
|
}
|
|
96340
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task) && this.bcDataExtractTaskId !== task._id) {
|
|
96341
|
+
this.bcDataExtractTaskId = task._id;
|
|
96342
|
+
yield this.loadBritishColumbiaOfficeAddressExtract(task);
|
|
96343
|
+
}
|
|
96339
96344
|
}));
|
|
96340
96345
|
}
|
|
96346
|
+
/**
|
|
96347
|
+
* Orders the registry's current office addresses as soon as the Change of Office Addresses opens,
|
|
96348
|
+
* so each office shows its registry address as "Previous". If the registry is unavailable the form
|
|
96349
|
+
* falls back to the Entity's own addresses, and Validate orders the extract again.
|
|
96350
|
+
*/
|
|
96351
|
+
loadBritishColumbiaOfficeAddressExtract(task) {
|
|
96352
|
+
return __async(this, null, function* () {
|
|
96353
|
+
const signature = this._signature();
|
|
96354
|
+
if (!signature) {
|
|
96355
|
+
return;
|
|
96356
|
+
}
|
|
96357
|
+
this.isLoading.set(true);
|
|
96358
|
+
this.bcCoaExtractReady.set(false);
|
|
96359
|
+
try {
|
|
96360
|
+
const opts = this.validateOptions() ?? {};
|
|
96361
|
+
const context2 = this.getBritishColumbiaOfficeAddressContext(task, signature);
|
|
96362
|
+
this.bcCoaExtractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
|
|
96363
|
+
this.currentDataExtract.set(yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, this.bcCoaExtractId, opts));
|
|
96364
|
+
} catch (error) {
|
|
96365
|
+
this.bcCoaExtractId = "";
|
|
96366
|
+
this.currentDataExtract.set(void 0);
|
|
96367
|
+
console.warn("The registry's current office addresses could not be loaded.", error);
|
|
96368
|
+
} finally {
|
|
96369
|
+
this.bcCoaExtractReady.set(true);
|
|
96370
|
+
this.isLoading.set(false);
|
|
96371
|
+
}
|
|
96372
|
+
});
|
|
96373
|
+
}
|
|
96374
|
+
getBritishColumbiaOfficeAddressContext(task, signature) {
|
|
96375
|
+
return {
|
|
96376
|
+
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
96377
|
+
accessCodeOrPassword: getBritishColumbiaAccessCode2(task, signature.env),
|
|
96378
|
+
incorporationDate: String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10)
|
|
96379
|
+
};
|
|
96380
|
+
}
|
|
96341
96381
|
getCurrentData() {
|
|
96342
96382
|
return __async(this, null, function* () {
|
|
96343
96383
|
const signature = this._signature();
|
|
@@ -96635,13 +96675,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96635
96675
|
this.errors.set([]);
|
|
96636
96676
|
const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96637
96677
|
const opts = this.validateOptions() ?? {};
|
|
96638
|
-
const context2 =
|
|
96639
|
-
|
|
96640
|
-
|
|
96641
|
-
|
|
96642
|
-
|
|
96643
|
-
|
|
96644
|
-
|
|
96678
|
+
const context2 = this.getBritishColumbiaOfficeAddressContext(task, signature);
|
|
96679
|
+
let extractId = this.bcCoaExtractId;
|
|
96680
|
+
if (!extractId) {
|
|
96681
|
+
extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
|
|
96682
|
+
yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
|
|
96683
|
+
this.bcCoaExtractId = extractId;
|
|
96684
|
+
}
|
|
96645
96685
|
const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
|
|
96646
96686
|
if (this.hasResponseErrors(response))
|
|
96647
96687
|
return;
|
|
@@ -96943,6 +96983,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96943
96983
|
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
96944
96984
|
this.bcDataExtractTaskId = "";
|
|
96945
96985
|
void this.refreshBritishColumbiaCurrentDataExtract();
|
|
96986
|
+
} else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96987
|
+
this.bcDataExtractTaskId = task._id;
|
|
96988
|
+
void this.loadBritishColumbiaOfficeAddressExtract(task);
|
|
96946
96989
|
}
|
|
96947
96990
|
this.activeStep.set(Step.Validate);
|
|
96948
96991
|
}
|
|
@@ -97147,7 +97190,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97147
97190
|
if (rf & 2) {
|
|
97148
97191
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
97149
97192
|
}
|
|
97150
|
-
}, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "recheckStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "coaValidate", "saveCoaDeltaData", "coaSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
|
|
97193
|
+
}, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract", "extractReady"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "recheckStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "coaValidate", "saveCoaDeltaData", "coaSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract", "extractReady"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
|
|
97151
97194
|
if (rf & 1) {
|
|
97152
97195
|
const _r1 = \u0275\u0275getCurrentView();
|
|
97153
97196
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -97251,6 +97294,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97251
97294
|
[actionsDisabled]="isLoading()"\r
|
|
97252
97295
|
[errors]="errors()"\r
|
|
97253
97296
|
[currentDataExtract]="currentDataExtract()"\r
|
|
97297
|
+
[extractReady]="bcCoaExtractReady()"\r
|
|
97254
97298
|
(close)="close.emit()"\r
|
|
97255
97299
|
(nextStep)="onNextStepClick()"\r
|
|
97256
97300
|
(recheckStep)="defineInitialStep()"\r
|
|
@@ -101944,6 +101988,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
101944
101988
|
"File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
|
|
101945
101989
|
"Records Office Address": "Records Office Address",
|
|
101946
101990
|
"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.",
|
|
101991
|
+
"The Registered Office mailing address is missing. Add it in UEM, then try again.": "The Registered Office mailing address is missing. Add it in UEM, then try again.",
|
|
101992
|
+
"The Registered Office delivery address is missing. Add it in UEM, then try again.": "The Registered Office delivery address is missing. Add it in UEM, then try again.",
|
|
101993
|
+
"The Records Office mailing address is missing. Add it in UEM, then try again.": "The Records Office mailing address is missing. Add it in UEM, then try again.",
|
|
101994
|
+
"The Records Office delivery address is missing. Add it in UEM, then try again.": "The Records Office delivery address is missing. Add it in UEM, then try again.",
|
|
101995
|
+
"Mailing Address": "Mailing Address",
|
|
101996
|
+
"Delivery Address": "Delivery Address",
|
|
101947
101997
|
"Current Mailing Address": "Current Mailing Address",
|
|
101948
101998
|
"Current Delivery Address": "Current Delivery Address",
|
|
101949
101999
|
"New Mailing Address": "New Mailing Address",
|
|
@@ -102300,6 +102350,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
102300
102350
|
"Without Par Value": "Sans valeur nominale",
|
|
102301
102351
|
"File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
|
|
102302
102352
|
"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.",
|
|
102353
|
+
"The Registered Office mailing address is missing. Add it in UEM, then try again.": "L'adresse postale du si\xE8ge social est manquante. Ajoutez-la dans UEM, puis r\xE9essayez.",
|
|
102354
|
+
"The Registered Office delivery address is missing. Add it in UEM, then try again.": "L'adresse de livraison du si\xE8ge social est manquante. Ajoutez-la dans UEM, puis r\xE9essayez.",
|
|
102355
|
+
"The Records Office mailing address is missing. Add it in UEM, then try again.": "L'adresse postale du bureau des registres est manquante. Ajoutez-la dans UEM, puis r\xE9essayez.",
|
|
102356
|
+
"The Records Office delivery address is missing. Add it in UEM, then try again.": "L'adresse de livraison du bureau des registres est manquante. Ajoutez-la dans UEM, puis r\xE9essayez.",
|
|
102357
|
+
"Mailing Address": "Adresse postale",
|
|
102358
|
+
"Delivery Address": "Adresse de livraison",
|
|
102303
102359
|
"Current Mailing Address": "Adresse postale actuelle",
|
|
102304
102360
|
"Current Delivery Address": "Adresse de livraison actuelle",
|
|
102305
102361
|
"New Mailing Address": "Nouvelle adresse postale",
|
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"
|
|
1
|
+
{
|
|
2
|
+
"name": "@dyedurham/search-and-file-widget",
|
|
3
|
+
"version": "2.1.18",
|
|
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
11
|
}
|