@dyedurham/search-and-file-widget 2.1.9 → 2.1.11
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 +9 -2
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -84451,7 +84451,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84451
84451
|
return {
|
|
84452
84452
|
incorporatorType: isIndividual ? "individual" : "corporationOrFirm",
|
|
84453
84453
|
// Names are only accepted for an individual; a corporation or firm is identified by
|
|
84454
|
-
// `corporationOrFirmName` (the API rejects first/last name otherwise
|
|
84454
|
+
// `corporationOrFirmName` (the deployed API rejects first/last name otherwise, although its
|
|
84455
|
+
// published spec lists them as required).
|
|
84455
84456
|
firstName: isIndividual ? incorporator.firstName ?? "" : void 0,
|
|
84456
84457
|
middleName: isIndividual ? incorporator.middleName || void 0 : void 0,
|
|
84457
84458
|
lastName: isIndividual ? incorporator.lastName ?? "" : void 0,
|
|
@@ -96730,13 +96731,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96730
96731
|
}
|
|
96731
96732
|
/**
|
|
96732
96733
|
* British Columbia Change of Office Addresses save – propagates delta data to the host.
|
|
96734
|
+
* The draft link (ServiceOrderId and the request it was generated from) is kept, so reopening
|
|
96735
|
+
* can tell whether the saved data still matches the draft and show "Entity changed" if not.
|
|
96733
96736
|
*/
|
|
96734
96737
|
onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
|
|
96735
96738
|
const oldDeltaData = this.task()?.deltaData;
|
|
96739
|
+
const draftLink = oldDeltaData?.serviceOrderId && oldDeltaData?.validatedData ? {
|
|
96740
|
+
serviceOrderId: oldDeltaData.serviceOrderId,
|
|
96741
|
+
validatedData: oldDeltaData.validatedData
|
|
96742
|
+
} : {};
|
|
96736
96743
|
if (oldDeltaData) {
|
|
96737
96744
|
delete this.task()?.deltaData;
|
|
96738
96745
|
}
|
|
96739
|
-
this.deltaDataChange.emit(deltaData);
|
|
96746
|
+
this.deltaDataChange.emit(__spreadValues(__spreadValues({}, deltaData), draftLink));
|
|
96740
96747
|
}
|
|
96741
96748
|
/**
|
|
96742
96749
|
* British Columbia Change of Office Addresses submit/file: submits the filing staged by
|