@dyedurham/search-and-file-widget 2.1.12 → 2.1.13
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 +134 -79
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -85137,7 +85137,8 @@ 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 incomingSeed = delta?.registeredOffice ? this.fillEmptyAddresses(delta, incoming) : this.seedFromIncomingAffiliations(task);
|
|
85141
|
+
const seed = this.withCurrentAddresses(incomingSeed, incoming, delta, registeredOffice, recordsOffice);
|
|
85141
85142
|
const config2 = {};
|
|
85142
85143
|
config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
|
|
85143
85144
|
config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
|
|
@@ -85209,6 +85210,48 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85209
85210
|
}
|
|
85210
85211
|
};
|
|
85211
85212
|
}
|
|
85213
|
+
/**
|
|
85214
|
+
* For an office with neither an incoming address nor a saved draft, the new address is its
|
|
85215
|
+
* current address on the register (so the filing leaves it unchanged). A current address outside
|
|
85216
|
+
* British Columbia is not used: the office is then reported as missing.
|
|
85217
|
+
*/
|
|
85218
|
+
static withCurrentAddresses(seed, incoming, delta, registeredOffice, recordsOffice) {
|
|
85219
|
+
const pickBy = BritishColumbiaFormationFormHelper.pickAddress;
|
|
85220
|
+
const current = (office, type) => {
|
|
85221
|
+
const address = pickBy(office?.addresses, type);
|
|
85222
|
+
return address && this.isBritishColumbia(address) ? this.toOfficeAddressDelta(address) : void 0;
|
|
85223
|
+
};
|
|
85224
|
+
const result = __spreadValues({}, seed);
|
|
85225
|
+
if (!delta?.registeredOffice && !incoming.regMailing) {
|
|
85226
|
+
const mailing = current(registeredOffice, "Mailing");
|
|
85227
|
+
const delivery = current(registeredOffice, "Delivery");
|
|
85228
|
+
if (mailing) {
|
|
85229
|
+
const same = !delivery || this.isSameOfficeAddress(delivery, mailing);
|
|
85230
|
+
result.registeredOffice = {
|
|
85231
|
+
mailingAddress: mailing,
|
|
85232
|
+
deliverySameAsMailing: same,
|
|
85233
|
+
deliveryAddress: same ? void 0 : delivery
|
|
85234
|
+
};
|
|
85235
|
+
}
|
|
85236
|
+
}
|
|
85237
|
+
if (!delta?.recordsOffice && !incoming.recMailing) {
|
|
85238
|
+
const mailing = current(recordsOffice, "Mailing");
|
|
85239
|
+
const delivery = current(recordsOffice, "Delivery");
|
|
85240
|
+
if (mailing) {
|
|
85241
|
+
const registeredMailing = result.registeredOffice?.mailingAddress;
|
|
85242
|
+
const registeredDelivery = result.registeredOffice?.deliveryAddress ?? registeredMailing;
|
|
85243
|
+
const sameAsRegistered = this.isSameOfficeAddress(mailing, registeredMailing) && this.isSameOfficeAddress(delivery ?? mailing, registeredDelivery);
|
|
85244
|
+
const deliverySame = !delivery || this.isSameOfficeAddress(delivery, mailing);
|
|
85245
|
+
result.recordsOffice = {
|
|
85246
|
+
sameAsRegisteredOffice: sameAsRegistered,
|
|
85247
|
+
mailingAddress: sameAsRegistered ? void 0 : mailing,
|
|
85248
|
+
deliverySameAsMailing: deliverySame,
|
|
85249
|
+
deliveryAddress: deliverySame ? void 0 : delivery
|
|
85250
|
+
};
|
|
85251
|
+
}
|
|
85252
|
+
}
|
|
85253
|
+
return result;
|
|
85254
|
+
}
|
|
85212
85255
|
/** Keeps the saved flags and addresses, but fills an address the draft left empty from `incoming`. */
|
|
85213
85256
|
static fillEmptyAddresses(saved, incoming) {
|
|
85214
85257
|
const hasValues = (address) => EDITABLE_ADDRESS_CONTROLS.some((name) => Boolean(address?.[name]));
|
|
@@ -87768,11 +87811,20 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87768
87811
|
\u0275\u0275property("content", ctx_r0.errors());
|
|
87769
87812
|
}
|
|
87770
87813
|
}
|
|
87771
|
-
function
|
|
87814
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_3_Template(rf, ctx) {
|
|
87815
|
+
if (rf & 1) {
|
|
87816
|
+
\u0275\u0275element(0, "alert", 2);
|
|
87817
|
+
}
|
|
87818
|
+
if (rf & 2) {
|
|
87819
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87820
|
+
\u0275\u0275property("content", ctx_r0.missingMessages());
|
|
87821
|
+
}
|
|
87822
|
+
}
|
|
87823
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_6_Template(rf, ctx) {
|
|
87772
87824
|
if (rf & 1) {
|
|
87773
87825
|
const _r2 = \u0275\u0275getCurrentView();
|
|
87774
87826
|
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
|
|
87775
|
-
\u0275\u0275listener("visiblyValidChange", function
|
|
87827
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_6_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87776
87828
|
\u0275\u0275restoreView(_r2);
|
|
87777
87829
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87778
87830
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
@@ -87781,17 +87833,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87781
87833
|
}
|
|
87782
87834
|
if (rf & 2) {
|
|
87783
87835
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87784
|
-
const referenceNumbers_r3 = \u0275\u0275readContextLet(
|
|
87836
|
+
const referenceNumbers_r3 = \u0275\u0275readContextLet(5);
|
|
87785
87837
|
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
87786
87838
|
\u0275\u0275advance();
|
|
87787
87839
|
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
87788
87840
|
}
|
|
87789
87841
|
}
|
|
87790
|
-
function
|
|
87842
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_8_Template(rf, ctx) {
|
|
87791
87843
|
if (rf & 1) {
|
|
87792
87844
|
const _r4 = \u0275\u0275getCurrentView();
|
|
87793
87845
|
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 7);
|
|
87794
|
-
\u0275\u0275listener("visiblyValidChange", function
|
|
87846
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_8_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87795
87847
|
\u0275\u0275restoreView(_r4);
|
|
87796
87848
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87797
87849
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("corpDetails", $event));
|
|
@@ -87800,15 +87852,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87800
87852
|
}
|
|
87801
87853
|
if (rf & 2) {
|
|
87802
87854
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87803
|
-
const corporationDetails_r5 = \u0275\u0275readContextLet(
|
|
87855
|
+
const corporationDetails_r5 = \u0275\u0275readContextLet(7);
|
|
87804
87856
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["corpDetails"] !== false)("title", ctx_r0.groups.CorporationDetails);
|
|
87805
87857
|
\u0275\u0275advance();
|
|
87806
87858
|
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r5)("config", ctx_r0.corporationDetailsFields());
|
|
87807
87859
|
}
|
|
87808
87860
|
}
|
|
87809
|
-
function
|
|
87861
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_For_3_Conditional_7_Template(rf, ctx) {
|
|
87810
87862
|
if (rf & 1) {
|
|
87811
|
-
\u0275\u0275elementStart(0, "div",
|
|
87863
|
+
\u0275\u0275elementStart(0, "div", 12);
|
|
87812
87864
|
\u0275\u0275text(1);
|
|
87813
87865
|
\u0275\u0275pipe(2, "translate");
|
|
87814
87866
|
\u0275\u0275elementEnd();
|
|
@@ -87819,16 +87871,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87819
87871
|
\u0275\u0275textInterpolate2(" ", \u0275\u0275pipeBind1(2, 2, "Previous"), ": ", row_r6.previous, " ");
|
|
87820
87872
|
}
|
|
87821
87873
|
}
|
|
87822
|
-
function
|
|
87874
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_For_3_Template(rf, ctx) {
|
|
87823
87875
|
if (rf & 1) {
|
|
87824
|
-
\u0275\u0275elementStart(0, "div", 9)(1, "div",
|
|
87876
|
+
\u0275\u0275elementStart(0, "div", 9)(1, "div", 10)(2, "span", 11);
|
|
87825
87877
|
\u0275\u0275text(3);
|
|
87826
87878
|
\u0275\u0275pipe(4, "translate");
|
|
87827
87879
|
\u0275\u0275elementEnd();
|
|
87828
87880
|
\u0275\u0275text(5);
|
|
87829
87881
|
\u0275\u0275pipe(6, "translate");
|
|
87830
87882
|
\u0275\u0275elementEnd();
|
|
87831
|
-
\u0275\u0275template(7,
|
|
87883
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_For_3_Conditional_7_Template, 3, 4, "div", 12);
|
|
87832
87884
|
\u0275\u0275elementEnd();
|
|
87833
87885
|
}
|
|
87834
87886
|
if (rf & 2) {
|
|
@@ -87841,16 +87893,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87841
87893
|
\u0275\u0275conditional(row_r6.previous ? 7 : -1);
|
|
87842
87894
|
}
|
|
87843
87895
|
}
|
|
87844
|
-
function
|
|
87845
|
-
if (rf & 1) {
|
|
87846
|
-
\u0275\u0275element(0, "alert", 10);
|
|
87847
|
-
}
|
|
87848
|
-
}
|
|
87849
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
|
|
87896
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_Template(rf, ctx) {
|
|
87850
87897
|
if (rf & 1) {
|
|
87851
87898
|
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 8);
|
|
87852
|
-
\u0275\u0275repeaterCreate(2,
|
|
87853
|
-
\u0275\u0275template(4, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_4_Template, 1, 0, "alert", 10);
|
|
87899
|
+
\u0275\u0275repeaterCreate(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_For_3_Template, 8, 7, "div", 9, _forTrack05);
|
|
87854
87900
|
\u0275\u0275elementEnd()();
|
|
87855
87901
|
}
|
|
87856
87902
|
if (rf & 2) {
|
|
@@ -87858,13 +87904,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87858
87904
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87859
87905
|
\u0275\u0275advance(2);
|
|
87860
87906
|
\u0275\u0275repeater(ctx_r0.registeredRows());
|
|
87861
|
-
\u0275\u0275advance(2);
|
|
87862
|
-
\u0275\u0275conditional(ctx_r0.isRegisteredMissing() ? 4 : -1);
|
|
87863
87907
|
}
|
|
87864
87908
|
}
|
|
87865
|
-
function
|
|
87909
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_For_3_Conditional_7_Template(rf, ctx) {
|
|
87866
87910
|
if (rf & 1) {
|
|
87867
|
-
\u0275\u0275elementStart(0, "div",
|
|
87911
|
+
\u0275\u0275elementStart(0, "div", 12);
|
|
87868
87912
|
\u0275\u0275text(1);
|
|
87869
87913
|
\u0275\u0275pipe(2, "translate");
|
|
87870
87914
|
\u0275\u0275elementEnd();
|
|
@@ -87875,16 +87919,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87875
87919
|
\u0275\u0275textInterpolate2(" ", \u0275\u0275pipeBind1(2, 2, "Previous"), ": ", row_r7.previous, " ");
|
|
87876
87920
|
}
|
|
87877
87921
|
}
|
|
87878
|
-
function
|
|
87922
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_For_3_Template(rf, ctx) {
|
|
87879
87923
|
if (rf & 1) {
|
|
87880
|
-
\u0275\u0275elementStart(0, "div", 9)(1, "div",
|
|
87924
|
+
\u0275\u0275elementStart(0, "div", 9)(1, "div", 10)(2, "span", 11);
|
|
87881
87925
|
\u0275\u0275text(3);
|
|
87882
87926
|
\u0275\u0275pipe(4, "translate");
|
|
87883
87927
|
\u0275\u0275elementEnd();
|
|
87884
87928
|
\u0275\u0275text(5);
|
|
87885
87929
|
\u0275\u0275pipe(6, "translate");
|
|
87886
87930
|
\u0275\u0275elementEnd();
|
|
87887
|
-
\u0275\u0275template(7,
|
|
87931
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_For_3_Conditional_7_Template, 3, 4, "div", 12);
|
|
87888
87932
|
\u0275\u0275elementEnd();
|
|
87889
87933
|
}
|
|
87890
87934
|
if (rf & 2) {
|
|
@@ -87897,16 +87941,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87897
87941
|
\u0275\u0275conditional(row_r7.previous ? 7 : -1);
|
|
87898
87942
|
}
|
|
87899
87943
|
}
|
|
87900
|
-
function
|
|
87901
|
-
if (rf & 1) {
|
|
87902
|
-
\u0275\u0275element(0, "alert", 10);
|
|
87903
|
-
}
|
|
87904
|
-
}
|
|
87905
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
|
|
87944
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_Template(rf, ctx) {
|
|
87906
87945
|
if (rf & 1) {
|
|
87907
87946
|
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 8);
|
|
87908
|
-
\u0275\u0275repeaterCreate(2,
|
|
87909
|
-
\u0275\u0275template(4, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_4_Template, 1, 0, "alert", 10);
|
|
87947
|
+
\u0275\u0275repeaterCreate(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_For_3_Template, 8, 7, "div", 9, _forTrack05);
|
|
87910
87948
|
\u0275\u0275elementEnd()();
|
|
87911
87949
|
}
|
|
87912
87950
|
if (rf & 2) {
|
|
@@ -87914,28 +87952,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87914
87952
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
|
|
87915
87953
|
\u0275\u0275advance(2);
|
|
87916
87954
|
\u0275\u0275repeater(ctx_r0.recordsRows());
|
|
87917
|
-
\u0275\u0275advance(2);
|
|
87918
|
-
\u0275\u0275conditional(ctx_r0.isRecordsMissing() ? 4 : -1);
|
|
87919
87955
|
}
|
|
87920
87956
|
}
|
|
87921
|
-
function
|
|
87957
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_14_Template(rf, ctx) {
|
|
87922
87958
|
if (rf & 1) {
|
|
87923
|
-
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div",
|
|
87959
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 13)(2, "p");
|
|
87924
87960
|
\u0275\u0275text(3);
|
|
87925
87961
|
\u0275\u0275pipe(4, "translate");
|
|
87926
87962
|
\u0275\u0275elementEnd();
|
|
87927
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
87963
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 14)(6, "mat-radio-button", 15);
|
|
87928
87964
|
\u0275\u0275text(7);
|
|
87929
87965
|
\u0275\u0275pipe(8, "translate");
|
|
87930
87966
|
\u0275\u0275elementEnd();
|
|
87931
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
87967
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 15);
|
|
87932
87968
|
\u0275\u0275text(10);
|
|
87933
87969
|
\u0275\u0275pipe(11, "translate");
|
|
87934
87970
|
\u0275\u0275elementEnd()()()();
|
|
87935
87971
|
}
|
|
87936
87972
|
if (rf & 2) {
|
|
87937
87973
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
87938
|
-
const annualReportReminder_r8 = \u0275\u0275readContextLet(
|
|
87974
|
+
const annualReportReminder_r8 = \u0275\u0275readContextLet(13);
|
|
87939
87975
|
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.AnnualReportReminder);
|
|
87940
87976
|
\u0275\u0275advance();
|
|
87941
87977
|
\u0275\u0275property("formGroup", annualReportReminder_r8);
|
|
@@ -87993,6 +88029,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87993
88029
|
deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
|
|
87994
88030
|
deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
|
|
87995
88031
|
sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
88032
|
+
translate = inject(TranslateService);
|
|
87996
88033
|
sectionValidity = {};
|
|
87997
88034
|
isVisiblyValid() {
|
|
87998
88035
|
return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
|
|
@@ -88003,6 +88040,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88003
88040
|
isRecordsOfficeValid() {
|
|
88004
88041
|
return !this.isRecordsMissing();
|
|
88005
88042
|
}
|
|
88043
|
+
/** One message per missing office address, shown in the banner at the top of the form. */
|
|
88044
|
+
missingMessages() {
|
|
88045
|
+
const t = (key) => this.translate.instant(key);
|
|
88046
|
+
const records = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
88047
|
+
const recordsSameAsRegistered = this.isChecked(records, this.controls.SameAsRegisteredOffice);
|
|
88048
|
+
const [regMailing, regDelivery] = this.registeredRows();
|
|
88049
|
+
const [recMailing, recDelivery] = this.recordsRows();
|
|
88050
|
+
return [
|
|
88051
|
+
!regMailing.value && t("The Registered Office mailing address is missing."),
|
|
88052
|
+
!regDelivery.value && t("The Registered Office delivery address is missing."),
|
|
88053
|
+
// "Same as Registered Office" is already reported by the registered office messages.
|
|
88054
|
+
!recordsSameAsRegistered && !recMailing.value && t("The Records Office mailing address is missing."),
|
|
88055
|
+
!recordsSameAsRegistered && !recDelivery.value && t("The Records Office delivery address is missing.")
|
|
88056
|
+
].filter((m) => !!m);
|
|
88057
|
+
}
|
|
88006
88058
|
/** The incoming Shared Address supplied no new address for a line (and none is on the register). */
|
|
88007
88059
|
isRegisteredMissing() {
|
|
88008
88060
|
return this.registeredRows().some((row) => !row.value);
|
|
@@ -88082,21 +88134,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88082
88134
|
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
|
|
88083
88135
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
|
|
88084
88136
|
};
|
|
88085
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesFormComponent, selectors: [["british-columbia-change-of-office-addresses-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls:
|
|
88137
|
+
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) {
|
|
88086
88138
|
if (rf & 1) {
|
|
88087
88139
|
\u0275\u0275elementStart(0, "div", 0);
|
|
88088
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
88089
|
-
\u0275\u0275elementStart(
|
|
88090
|
-
\u0275\u0275declareLet(
|
|
88091
|
-
\u0275\u0275template(
|
|
88092
|
-
\u0275\u0275declareLet(
|
|
88093
|
-
\u0275\u0275template(
|
|
88094
|
-
\u0275\u0275declareLet(
|
|
88095
|
-
\u0275\u0275template(
|
|
88096
|
-
\u0275\u0275declareLet(
|
|
88097
|
-
\u0275\u0275template(
|
|
88098
|
-
\u0275\u0275declareLet(
|
|
88099
|
-
\u0275\u0275template(
|
|
88140
|
+
\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);
|
|
88141
|
+
\u0275\u0275elementStart(4, "div", 3);
|
|
88142
|
+
\u0275\u0275declareLet(5);
|
|
88143
|
+
\u0275\u0275template(6, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_6_Template, 2, 4, "expandable-card", 4);
|
|
88144
|
+
\u0275\u0275declareLet(7);
|
|
88145
|
+
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_8_Template, 2, 6, "expandable-card", 5);
|
|
88146
|
+
\u0275\u0275declareLet(9);
|
|
88147
|
+
\u0275\u0275template(10, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_10_Template, 4, 3, "expandable-card", 5);
|
|
88148
|
+
\u0275\u0275declareLet(11);
|
|
88149
|
+
\u0275\u0275template(12, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_12_Template, 4, 3, "expandable-card", 5);
|
|
88150
|
+
\u0275\u0275declareLet(13);
|
|
88151
|
+
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_14_Template, 12, 15, "expandable-card", 6);
|
|
88100
88152
|
\u0275\u0275elementEnd()();
|
|
88101
88153
|
}
|
|
88102
88154
|
if (rf & 2) {
|
|
@@ -88104,24 +88156,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88104
88156
|
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
88105
88157
|
\u0275\u0275advance();
|
|
88106
88158
|
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
88159
|
+
\u0275\u0275advance();
|
|
88160
|
+
\u0275\u0275conditional(ctx.missingMessages().length ? 3 : -1);
|
|
88107
88161
|
\u0275\u0275advance(2);
|
|
88108
88162
|
const referenceNumbers_r9 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
88109
88163
|
\u0275\u0275advance();
|
|
88110
|
-
\u0275\u0275conditional(referenceNumbers_r9 ?
|
|
88164
|
+
\u0275\u0275conditional(referenceNumbers_r9 ? 6 : -1);
|
|
88111
88165
|
\u0275\u0275advance();
|
|
88112
88166
|
const corporationDetails_r10 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
88113
88167
|
\u0275\u0275advance();
|
|
88114
|
-
\u0275\u0275conditional(corporationDetails_r10 ?
|
|
88168
|
+
\u0275\u0275conditional(corporationDetails_r10 ? 8 : -1);
|
|
88115
88169
|
const registeredOffice_r11 = ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress);
|
|
88116
88170
|
\u0275\u0275advance(2);
|
|
88117
|
-
\u0275\u0275conditional(registeredOffice_r11 ?
|
|
88171
|
+
\u0275\u0275conditional(registeredOffice_r11 ? 10 : -1);
|
|
88118
88172
|
const recordsOffice_r12 = ctx.getFormGroup(ctx.groups.RecordsOfficeAddress);
|
|
88119
88173
|
\u0275\u0275advance(2);
|
|
88120
|
-
\u0275\u0275conditional(recordsOffice_r12 ?
|
|
88174
|
+
\u0275\u0275conditional(recordsOffice_r12 ? 12 : -1);
|
|
88121
88175
|
\u0275\u0275advance();
|
|
88122
88176
|
const annualReportReminder_r13 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
88123
88177
|
\u0275\u0275advance();
|
|
88124
|
-
\u0275\u0275conditional(annualReportReminder_r13 ?
|
|
88178
|
+
\u0275\u0275conditional(annualReportReminder_r13 ? 14 : -1);
|
|
88125
88179
|
}
|
|
88126
88180
|
}, dependencies: [
|
|
88127
88181
|
FilingFormGroupComponent,
|
|
@@ -88135,7 +88189,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88135
88189
|
FormGroupDirective,
|
|
88136
88190
|
FormControlName,
|
|
88137
88191
|
TranslatePipe
|
|
88138
|
-
], styles: [
|
|
88192
|
+
], 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 });
|
|
88139
88193
|
};
|
|
88140
88194
|
(() => {
|
|
88141
88195
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
|
|
@@ -88163,6 +88217,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88163
88217
|
[content]="errors()"\r
|
|
88164
88218
|
/>\r
|
|
88165
88219
|
}\r
|
|
88220
|
+
\r
|
|
88221
|
+
@if (missingMessages().length) {\r
|
|
88222
|
+
<alert\r
|
|
88223
|
+
title="The following issues need to be resolved before proceeding:"\r
|
|
88224
|
+
[content]="missingMessages()"\r
|
|
88225
|
+
/>\r
|
|
88226
|
+
}\r
|
|
88166
88227
|
\r
|
|
88167
88228
|
<div class="change-of-office-addresses-form-content">\r
|
|
88168
88229
|
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
@@ -88212,19 +88273,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88212
88273
|
{{ row.value || ('Not specified' | translate) }}\r
|
|
88213
88274
|
</div>\r
|
|
88214
88275
|
@if (row.previous) {\r
|
|
88215
|
-
<div class="change-of-office-addresses-form-previous
|
|
88276
|
+
<div class="change-of-office-addresses-form-previous">\r
|
|
88216
88277
|
{{ 'Previous' | translate }}: {{ row.previous }}\r
|
|
88217
88278
|
</div>\r
|
|
88218
88279
|
}\r
|
|
88219
88280
|
</div>\r
|
|
88220
88281
|
}\r
|
|
88221
|
-
\r
|
|
88222
|
-
@if (isRegisteredMissing()) {\r
|
|
88223
|
-
<alert\r
|
|
88224
|
-
title="New address missing"\r
|
|
88225
|
-
content="No new address was found for this office. Add it in Athennian, then try again."\r
|
|
88226
|
-
/>\r
|
|
88227
|
-
}\r
|
|
88228
88282
|
</div>\r
|
|
88229
88283
|
</expandable-card>\r
|
|
88230
88284
|
}\r
|
|
@@ -88246,19 +88300,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88246
88300
|
{{ row.value || ('Not specified' | translate) }}\r
|
|
88247
88301
|
</div>\r
|
|
88248
88302
|
@if (row.previous) {\r
|
|
88249
|
-
<div class="change-of-office-addresses-form-previous
|
|
88303
|
+
<div class="change-of-office-addresses-form-previous">\r
|
|
88250
88304
|
{{ 'Previous' | translate }}: {{ row.previous }}\r
|
|
88251
88305
|
</div>\r
|
|
88252
88306
|
}\r
|
|
88253
88307
|
</div>\r
|
|
88254
88308
|
}\r
|
|
88255
|
-
\r
|
|
88256
|
-
@if (isRecordsMissing()) {\r
|
|
88257
|
-
<alert\r
|
|
88258
|
-
title="New address missing"\r
|
|
88259
|
-
content="No new address was found for this office. Add it in Athennian, then try again."\r
|
|
88260
|
-
/>\r
|
|
88261
|
-
}\r
|
|
88262
88309
|
</div>\r
|
|
88263
88310
|
</expandable-card>\r
|
|
88264
88311
|
}\r
|
|
@@ -88287,11 +88334,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88287
88334
|
}\r
|
|
88288
88335
|
</div>\r
|
|
88289
88336
|
</div>\r
|
|
88290
|
-
`, styles: [
|
|
88337
|
+
`, 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'] }]
|
|
88291
88338
|
}], null, null);
|
|
88292
88339
|
})();
|
|
88293
88340
|
(() => {
|
|
88294
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts", lineNumber:
|
|
88341
|
+
(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 });
|
|
88295
88342
|
})();
|
|
88296
88343
|
}
|
|
88297
88344
|
});
|
|
@@ -101856,6 +101903,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
101856
101903
|
"File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
|
|
101857
101904
|
"Records Office Address": "Records Office Address",
|
|
101858
101905
|
"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.",
|
|
101906
|
+
"The Registered Office mailing address is missing.": "The Registered Office mailing address is missing.",
|
|
101907
|
+
"The Registered Office delivery address is missing.": "The Registered Office delivery address is missing.",
|
|
101908
|
+
"The Records Office mailing address is missing.": "The Records Office mailing address is missing.",
|
|
101909
|
+
"The Records Office delivery address is missing.": "The Records Office delivery address is missing.",
|
|
101859
101910
|
"Mailing Address": "Mailing Address",
|
|
101860
101911
|
"Delivery Address": "Delivery Address",
|
|
101861
101912
|
"Current Mailing Address": "Current Mailing Address",
|
|
@@ -102214,6 +102265,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
102214
102265
|
"Without Par Value": "Sans valeur nominale",
|
|
102215
102266
|
"File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
|
|
102216
102267
|
"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.",
|
|
102268
|
+
"The Registered Office mailing address is missing.": "L'adresse postale du si\xE8ge social est manquante.",
|
|
102269
|
+
"The Registered Office delivery address is missing.": "L'adresse de livraison du si\xE8ge social est manquante.",
|
|
102270
|
+
"The Records Office mailing address is missing.": "L'adresse postale du bureau des registres est manquante.",
|
|
102271
|
+
"The Records Office delivery address is missing.": "L'adresse de livraison du bureau des registres est manquante.",
|
|
102217
102272
|
"Mailing Address": "Adresse postale",
|
|
102218
102273
|
"Delivery Address": "Adresse de livraison",
|
|
102219
102274
|
"Current Mailing Address": "Adresse postale actuelle",
|