@mikezimm/fps-library-v2 1.0.89 → 1.0.90

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/CHANGELOG.md CHANGED
@@ -11,7 +11,12 @@ npm install @mikezimm/fps-library-v2@1.0.89
11
11
 
12
12
  NOTE: TURN BACK ON STRICT NULL CHECKS - turned off for PropPaneCols
13
13
 
14
+ ## 1.0.90 - 2023-Jan-05: Drilldown Prop Pane Help supportedContacts
15
+ - added console.log whenever onFPSPropPaneClosed automatically updates supportContacts
16
+ - updated onFPSPropPaneClosed to put correct email, name and imageUrl in the prop pane props
17
+
14
18
  ## 1.0.89 - 2023-Jan-05: Drilldown Prop Pane Help supportedContacts
19
+ - https://github.com/mikezimm/SecureScript7/issues/98
15
20
  - add onPropertyPaneConfigurationComplete to Class
16
21
  - create onFPSPropPaneClosed which could be called at any time from web part
17
22
 
@@ -1 +1 @@
1
- {"version":3,"file":"runOnPropPaneCompleted.d.ts","sourceRoot":"","sources":["../../../src/banner/FPSWebPartClass/runOnPropPaneCompleted.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,wBAAgB,mBAAmB,CAAG,WAAW,EAAE,oBAAoB,GAAM,OAAO,CAAC,IAAI,CAAC,CAiBzF"}
1
+ {"version":3,"file":"runOnPropPaneCompleted.d.ts","sourceRoot":"","sources":["../../../src/banner/FPSWebPartClass/runOnPropPaneCompleted.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,wBAAgB,mBAAmB,CAAG,WAAW,EAAE,oBAAoB,GAAM,OAAO,CAAC,IAAI,CAAC,CAkBzF"}
@@ -7,11 +7,12 @@ export function onFPSPropPaneClosed(thisWPClass) {
7
7
  {
8
8
  fullName: thisWPClass._FPSUser.Title,
9
9
  id: thisWPClass._FPSUser.id,
10
- email: thisWPClass._FPSUser.Email,
11
- login: thisWPClass._FPSUser.Email,
12
- imageUrl: thisWPClass._FPSUser.imageUrl,
10
+ email: thisWPClass._FPSUser.email,
11
+ login: thisWPClass._FPSUser.name,
12
+ imageUrl: thisWPClass.context.pageContext.user.imageUrl, // Verified context.pageContext.user.imageUrl was valid as of 2023-01-09 - SPFx v1.15.2
13
13
  }
14
14
  ];
15
+ console.log('FPS-onFPSPropPaneClosed... We ADDED you to supportContacts because it can not be left empty:', thisWPClass.properties.supportContacts);
15
16
  }
16
17
  }
17
18
  //# sourceMappingURL=runOnPropPaneCompleted.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"runOnPropPaneCompleted.js","sourceRoot":"","sources":["../../../src/banner/FPSWebPartClass/runOnPropPaneCompleted.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,mBAAmB,CAAG,WAAiC;IAErE,IAAK,WAAW,CAAC,UAAU,CAAC,eAAe,KAAK,IAAI;QAAG,OAAO;IAE9D,MAAM,eAAe,GAAG,WAAW,CAAC,UAAU,CAAC,eAAe,CAAC;IAC/D,IAAK,CAAC,eAAe,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAG;QACtD,WAAW,CAAC,UAAU,CAAC,eAAe,GAAG;YACvC;gBACE,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAAC,KAAK;gBACpC,EAAE,EAAE,WAAW,CAAC,QAAQ,CAAC,EAAE;gBAC3B,KAAK,EAAE,WAAW,CAAC,QAAQ,CAAC,KAAK;gBACjC,KAAK,EAAE,WAAW,CAAC,QAAQ,CAAC,KAAK;gBACjC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAAC,QAAQ;aACxC;SACF,CAAC;KACH;AAEH,CAAC"}
1
+ {"version":3,"file":"runOnPropPaneCompleted.js","sourceRoot":"","sources":["../../../src/banner/FPSWebPartClass/runOnPropPaneCompleted.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,mBAAmB,CAAG,WAAiC;IAErE,IAAK,WAAW,CAAC,UAAU,CAAC,eAAe,KAAK,IAAI;QAAG,OAAO;IAE9D,MAAM,eAAe,GAAG,WAAW,CAAC,UAAU,CAAC,eAAe,CAAC;IAC/D,IAAK,CAAC,eAAe,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAG;QACtD,WAAW,CAAC,UAAU,CAAC,eAAe,GAAG;YACvC;gBACE,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAAC,KAAK;gBACpC,EAAE,EAAE,WAAW,CAAC,QAAQ,CAAC,EAAE;gBAC3B,KAAK,EAAE,WAAW,CAAC,QAAQ,CAAC,KAAK;gBACjC,KAAK,EAAE,WAAW,CAAC,QAAQ,CAAC,IAAI;gBAChC,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,EAAG,uFAAuF;aAClJ;SACF,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,8FAA8F,EAAE,WAAW,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC;KACrJ;AAEH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikezimm/fps-library-v2",
3
- "version": "1.0.89",
3
+ "version": "1.0.90",
4
4
  "description": "Library of reusable typescript/javascript functions, interfaces and constants",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",