@dyedurham/search-and-file-widget 2.1.26 → 2.1.27
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 +5 -9
- package/package.json +1 -1
- package/dyedurham-search-and-file-widget-2.1.21.tgz +0 -0
- package/dyedurham-search-and-file-widget-2.1.22.tgz +0 -0
- package/dyedurham-search-and-file-widget-2.1.23.tgz +0 -0
- package/dyedurham-search-and-file-widget-2.1.24.tgz +0 -0
- package/dyedurham-search-and-file-widget-2.1.25.tgz +0 -0
- package/dyedurham-search-and-file-widget-2.1.26.tgz +0 -0
package/dnd-filing-shell.js
CHANGED
|
@@ -88968,7 +88968,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88968
88968
|
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null,
|
|
88969
88969
|
directorChanges: {
|
|
88970
88970
|
addIds: directors.filter((d) => d[c.AffiliationType] === "Add").map((d) => d[c.Id]).filter(Boolean),
|
|
88971
|
-
editIds: directors.filter((d) => d[c.AffiliationType] === "Update"
|
|
88971
|
+
editIds: directors.filter((d) => d[c.AffiliationType] === "Update").map((d) => d[c.Id]).filter(Boolean),
|
|
88972
88972
|
ceaseIds: directors.filter((d) => d[c.AffiliationType] === "Cease").map((d) => d[c.Id]).filter(Boolean)
|
|
88973
88973
|
}
|
|
88974
88974
|
};
|
|
@@ -95500,13 +95500,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95500
95500
|
...outgoingDirectors
|
|
95501
95501
|
].map((affiliation) => [String(affiliation._id), affiliation]));
|
|
95502
95502
|
const selected = deltaData.directorChanges;
|
|
95503
|
-
const
|
|
95504
|
-
const
|
|
95505
|
-
const
|
|
95506
|
-
const addSource = incomingSource.length ? incomingSource.filter((affiliation) => findDirectorNumber(affiliation, currentDataExtract) === void 0) : addedDirectors;
|
|
95507
|
-
const matchedEditSource = incomingSource.filter((affiliation) => findDirectorNumber(affiliation, currentDataExtract) !== void 0);
|
|
95508
|
-
const editSource = incomingSource.length ? matchedEditSource : editedDirectors;
|
|
95509
|
-
const ceaseSource = selected?.ceaseIds.length ? selected.ceaseIds.map((id) => byId.get(String(id))).filter(Boolean) : outgoingDirectors.length ? outgoingDirectors : ceasedDirectors;
|
|
95503
|
+
const addSource = selected ? selected.addIds.map((id) => byId.get(String(id))).filter(Boolean) : incomingDirectors.length ? incomingDirectors : addedDirectors;
|
|
95504
|
+
const editSource = selected ? selected.editIds.map((id) => byId.get(String(id))).filter(Boolean) : editedDirectors;
|
|
95505
|
+
const ceaseSource = selected ? selected.ceaseIds.map((id) => byId.get(String(id))).filter(Boolean) : outgoingDirectors.length ? outgoingDirectors : ceasedDirectors;
|
|
95510
95506
|
const addDirectors = addSource.map((affiliation) => buildDirector(affiliation));
|
|
95511
95507
|
const ceaseDirectors = ceaseSource.map((affiliation) => buildCeasedDirector(affiliation));
|
|
95512
95508
|
const editDirectors = editSource.map((director) => {
|
|
@@ -95593,7 +95589,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95593
95589
|
return result;
|
|
95594
95590
|
}
|
|
95595
95591
|
function normaliseDirectorName(value) {
|
|
95596
|
-
const name = value?.PersonName ?? value?.personName ?? value;
|
|
95592
|
+
const name = value?.PersonName ?? value?.personName ?? value?.participant?._profile ?? value;
|
|
95597
95593
|
return [
|
|
95598
95594
|
name?.FirstName ?? name?.firstName,
|
|
95599
95595
|
name?.MiddleName ?? name?.middleName,
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|