@dyedurham/search-and-file-widget 2.1.25 → 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 +4 -6
- 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/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,10 +95500,8 @@ 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 addSource = selected ? selected.addIds.length ? selected.addIds.map((id) => byId.get(String(id))).filter(Boolean) : incomingAdds.length ? incomingAdds : addedDirectors : incomingAdds.length ? incomingAdds : addedDirectors;
|
|
95506
|
-
const editSource = selected ? selected.editIds.length ? selected.editIds.map((id) => byId.get(String(id))).filter(Boolean) : incomingEdits.length ? incomingEdits : editedDirectors : incomingEdits.length ? incomingEdits : editedDirectors;
|
|
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;
|
|
95507
95505
|
const ceaseSource = selected ? selected.ceaseIds.map((id) => byId.get(String(id))).filter(Boolean) : outgoingDirectors.length ? outgoingDirectors : ceasedDirectors;
|
|
95508
95506
|
const addDirectors = addSource.map((affiliation) => buildDirector(affiliation));
|
|
95509
95507
|
const ceaseDirectors = ceaseSource.map((affiliation) => buildCeasedDirector(affiliation));
|
|
@@ -95591,7 +95589,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95591
95589
|
return result;
|
|
95592
95590
|
}
|
|
95593
95591
|
function normaliseDirectorName(value) {
|
|
95594
|
-
const name = value?.PersonName ?? value?.personName ?? value;
|
|
95592
|
+
const name = value?.PersonName ?? value?.personName ?? value?.participant?._profile ?? value;
|
|
95595
95593
|
return [
|
|
95596
95594
|
name?.FirstName ?? name?.firstName,
|
|
95597
95595
|
name?.MiddleName ?? name?.middleName,
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|