@dyedurham/search-and-file-widget 1.6.27 → 1.6.29

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.
@@ -87740,6 +87740,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87740
87740
  Chairman: "CHRM",
87741
87741
  President: "PRCH",
87742
87742
  "Vice-President": "VP",
87743
+ "Vice President": "VP",
87743
87744
  "Chief Executive Officer": "CEO",
87744
87745
  "Chief Financial Officer": "CFO",
87745
87746
  "Chief Technology Officer": "CIO",
@@ -87910,7 +87911,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87910
87911
  const entityAddr = aff.addresses?.at(0) || aff.parent_affiliation?.addresses?.at(0);
87911
87912
  const PostalAddress = buildPostalAddress(entityAddr, deltaEntry?.address);
87912
87913
  const PersonName = { FirstName: firstName, MiddleName: middleName, LastName: lastName };
87913
- const position2 = isOfficer ? OFFICER_TITLE_TO_ECORE_POSITION_CODE[toTitleCase(aff.role?.static_title ?? "")] ?? "" : "Director";
87914
+ const position2 = isOfficer ? OFFICER_TITLE_TO_ECORE_POSITION_CODE[aff.role?.static_title ?? ""] ?? "" : "Director";
87914
87915
  const matchingAdmin = getCurrentDataAdministrator(deltaEntry.currentName ?? "", isOfficer);
87915
87916
  const isCeaseAction = currentState === IRCurrentState.Ceased;
87916
87917
  const isDirectorFromRole = aff.role?.role_name === "Director";
@@ -88032,7 +88033,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88032
88033
  ElectedDate: mappedElectedDate,
88033
88034
  EmailAddress: email,
88034
88035
  IsDirector: isDirectorFromRole,
88035
- PersonName: __spreadProps(__spreadValues({}, PersonName), { RoleId: personNameRoleId }),
88036
+ PersonName: __spreadProps(__spreadValues({}, PersonName), { RoleId: personNameRoleId, Position: position2, PositionName: positionName, OfficerPositionName: positionName, OfficerPosition: position2 }),
88036
88037
  OfficerPosition: position2,
88037
88038
  Position: position2,
88038
88039
  PositionName: positionName,
@@ -88068,7 +88069,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88068
88069
  RoleId: mappedRoleId,
88069
88070
  IsDirector: isDirectorFromRole,
88070
88071
  ResidentCanadian: residentCanadian,
88071
- PersonName: __spreadProps(__spreadValues({}, PersonName), { RoleId: personNameRoleId, Position: null }),
88072
+ PersonName: __spreadProps(__spreadValues({}, PersonName), { RoleId: personNameRoleId, Position: position2, PositionName: positionName, OfficerPositionName: positionName, OfficerPosition: position2 }),
88072
88073
  PostalAddress,
88073
88074
  EmailAddress: email
88074
88075
  };
@@ -88093,7 +88094,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88093
88094
  RoleId: mappedRoleId,
88094
88095
  IsDirector: isDirectorFromRole,
88095
88096
  ResidentCanadian: residentCanadian,
88096
- PersonName: __spreadProps(__spreadValues({}, PersonName), { RoleId: personNameRoleId, Position: position2 }),
88097
+ PersonName: __spreadProps(__spreadValues({}, PersonName), { RoleId: personNameRoleId, Position: position2, PositionName: positionName, OfficerPositionName: positionName, OfficerPosition: position2 }),
88097
88098
  CeaseDate: mappedCeaseDate,
88098
88099
  ElectedDate: mappedElectedDate,
88099
88100
  CeasedDateSpecified: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyedurham/search-and-file-widget",
3
- "version": "1.6.27",
3
+ "version": "1.6.29",
4
4
  "description": "",
5
5
  "main": "dnd-filing-shell.js",
6
6
  "scripts": {