@microsoft/sp-http-msgraph 1.17.0-beta.1 → 1.17.0-beta.3
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/dist/aec2bbfd-a968-4d5b-a279-12e570f378e6.manifest.json +64 -64
- package/dist/{sp-http-msgraph_default_252ac9877b94b320ceb9.js → sp-http-msgraph_default_d19ab990a5987ed88224.js} +1 -1
- package/dist/{sp-http-msgraph_en-us_252ac9877b94b320ceb9.js → sp-http-msgraph_en-us_d19ab990a5987ed88224.js} +1 -1
- package/dist/{sp-http-msgraph_qps-ploc_252ac9877b94b320ceb9.js → sp-http-msgraph_qps-ploc_d19ab990a5987ed88224.js} +1 -1
- package/dist/{sp-http-msgraph_qps-ploca_252ac9877b94b320ceb9.js → sp-http-msgraph_qps-ploca_d19ab990a5987ed88224.js} +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/lib-commonjs/MSGraphClientFactory.js +21 -0
- package/package.json +6 -6
- /package/dist/{chunk.sp-http-msgraphclientv3_none_8ff758b24692b9814867.js → chunk.sp-http-msgraphclientv3_none_8ee76f7e9308aa20781d.js} +0 -0
- /package/dist/{chunk.vendors~sp-http-msgraphclient_none_3cd4fe056a9227163bdf.js → chunk.vendors~sp-http-msgraphclient_none_9d7977b4b8570008ca02.js} +0 -0
|
@@ -13,71 +13,71 @@
|
|
|
13
13
|
"sp-http-msgraph": {
|
|
14
14
|
"type": "localizedPath",
|
|
15
15
|
"paths": {
|
|
16
|
-
"default": "sp-http-
|
|
17
|
-
"en-US": "sp-http-msgraph_en-
|
|
18
|
-
"qps-ploca": "sp-http-msgraph_qps-
|
|
19
|
-
"qps-ploc": "sp-http-msgraph_qps-
|
|
20
|
-
"en-GB": "sp-http-msgraph_en-
|
|
21
|
-
"en-NZ": "sp-http-msgraph_en-
|
|
22
|
-
"en-IE": "sp-http-msgraph_en-
|
|
23
|
-
"en-AU": "sp-http-msgraph_en-
|
|
24
|
-
"bn": "sp-http-msgraph_en-
|
|
25
|
-
"chr": "sp-http-msgraph_en-
|
|
26
|
-
"dv": "sp-http-msgraph_en-
|
|
27
|
-
"div": "sp-http-msgraph_en-
|
|
28
|
-
"en": "sp-http-msgraph_en-
|
|
29
|
-
"fil": "sp-http-msgraph_en-
|
|
30
|
-
"haw": "sp-http-msgraph_en-
|
|
31
|
-
"iu": "sp-http-msgraph_en-
|
|
32
|
-
"lo": "sp-http-msgraph_en-
|
|
33
|
-
"moh": "sp-http-msgraph_en-
|
|
34
|
-
"sq": "sp-http-msgraph_en-
|
|
35
|
-
"am": "sp-http-msgraph_en-
|
|
36
|
-
"hy": "sp-http-msgraph_en-
|
|
37
|
-
"mk": "sp-http-msgraph_en-
|
|
38
|
-
"bs": "sp-http-msgraph_en-
|
|
39
|
-
"my": "sp-http-msgraph_en-
|
|
40
|
-
"dz": "sp-http-msgraph_en-
|
|
41
|
-
"en-CY": "sp-http-msgraph_en-
|
|
42
|
-
"en-EG": "sp-http-msgraph_en-
|
|
43
|
-
"en-IL": "sp-http-msgraph_en-
|
|
44
|
-
"en-IS": "sp-http-msgraph_en-
|
|
45
|
-
"en-JO": "sp-http-msgraph_en-
|
|
46
|
-
"en-KE": "sp-http-msgraph_en-
|
|
47
|
-
"en-KW": "sp-http-msgraph_en-
|
|
48
|
-
"en-MK": "sp-http-msgraph_en-
|
|
49
|
-
"en-MT": "sp-http-msgraph_en-
|
|
50
|
-
"en-PK": "sp-http-msgraph_en-
|
|
51
|
-
"en-QA": "sp-http-msgraph_en-
|
|
52
|
-
"en-SA": "sp-http-msgraph_en-
|
|
53
|
-
"en-LK": "sp-http-msgraph_en-
|
|
54
|
-
"en-AE": "sp-http-msgraph_en-
|
|
55
|
-
"en-VN": "sp-http-msgraph_en-
|
|
56
|
-
"is": "sp-http-msgraph_en-
|
|
57
|
-
"km": "sp-http-msgraph_en-
|
|
58
|
-
"kh": "sp-http-msgraph_en-
|
|
59
|
-
"mt": "sp-http-msgraph_en-
|
|
60
|
-
"fa": "sp-http-msgraph_en-
|
|
61
|
-
"gd": "sp-http-msgraph_en-
|
|
62
|
-
"sr-Cyrl-BA": "sp-http-msgraph_en-
|
|
63
|
-
"sr-Latn-BA": "sp-http-msgraph_en-
|
|
64
|
-
"sd": "sp-http-msgraph_en-
|
|
65
|
-
"si": "sp-http-msgraph_en-
|
|
66
|
-
"so": "sp-http-msgraph_en-
|
|
67
|
-
"ti-ET": "sp-http-msgraph_en-
|
|
68
|
-
"uz": "sp-http-msgraph_en-
|
|
69
|
-
"en-SG": "sp-http-msgraph_en-
|
|
70
|
-
"en-HK": "sp-http-msgraph_en-
|
|
71
|
-
"en-MY": "sp-http-msgraph_en-
|
|
72
|
-
"en-PH": "sp-http-msgraph_en-
|
|
73
|
-
"en-TT": "sp-http-msgraph_en-
|
|
74
|
-
"en-AZ": "sp-http-msgraph_en-
|
|
75
|
-
"en-BH": "sp-http-msgraph_en-
|
|
76
|
-
"en-BN": "sp-http-msgraph_en-
|
|
77
|
-
"en-ID": "sp-http-msgraph_en-
|
|
78
|
-
"mi": "sp-http-msgraph_en-
|
|
16
|
+
"default": "sp-http-msgraph_default_d19ab990a5987ed88224.js",
|
|
17
|
+
"en-US": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
18
|
+
"qps-ploca": "sp-http-msgraph_qps-ploca_d19ab990a5987ed88224.js",
|
|
19
|
+
"qps-ploc": "sp-http-msgraph_qps-ploc_d19ab990a5987ed88224.js",
|
|
20
|
+
"en-GB": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
21
|
+
"en-NZ": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
22
|
+
"en-IE": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
23
|
+
"en-AU": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
24
|
+
"bn": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
25
|
+
"chr": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
26
|
+
"dv": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
27
|
+
"div": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
28
|
+
"en": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
29
|
+
"fil": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
30
|
+
"haw": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
31
|
+
"iu": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
32
|
+
"lo": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
33
|
+
"moh": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
34
|
+
"sq": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
35
|
+
"am": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
36
|
+
"hy": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
37
|
+
"mk": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
38
|
+
"bs": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
39
|
+
"my": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
40
|
+
"dz": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
41
|
+
"en-CY": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
42
|
+
"en-EG": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
43
|
+
"en-IL": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
44
|
+
"en-IS": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
45
|
+
"en-JO": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
46
|
+
"en-KE": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
47
|
+
"en-KW": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
48
|
+
"en-MK": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
49
|
+
"en-MT": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
50
|
+
"en-PK": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
51
|
+
"en-QA": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
52
|
+
"en-SA": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
53
|
+
"en-LK": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
54
|
+
"en-AE": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
55
|
+
"en-VN": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
56
|
+
"is": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
57
|
+
"km": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
58
|
+
"kh": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
59
|
+
"mt": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
60
|
+
"fa": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
61
|
+
"gd": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
62
|
+
"sr-Cyrl-BA": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
63
|
+
"sr-Latn-BA": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
64
|
+
"sd": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
65
|
+
"si": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
66
|
+
"so": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
67
|
+
"ti-ET": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
68
|
+
"uz": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
69
|
+
"en-SG": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
70
|
+
"en-HK": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
71
|
+
"en-MY": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
72
|
+
"en-PH": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
73
|
+
"en-TT": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
74
|
+
"en-AZ": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
75
|
+
"en-BH": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
76
|
+
"en-BN": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
77
|
+
"en-ID": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js",
|
|
78
|
+
"mi": "sp-http-msgraph_en-us_d19ab990a5987ed88224.js"
|
|
79
79
|
},
|
|
80
|
-
"defaultPath": "sp-http-
|
|
80
|
+
"defaultPath": "sp-http-msgraph_default_d19ab990a5987ed88224.js"
|
|
81
81
|
},
|
|
82
82
|
"tslib": {
|
|
83
83
|
"type": "component",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.17.0",["tslib","@microsoft/sp-http-base","@microsoft/sp-loader","@microsoft/sp-core-library","@microsoft/sp-diagnostics"],function(n,a,i,r,o){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,c=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&c.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(d&&d(t);c.length;)c.shift()()}var n={},a={0:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(t){for(var n=[],o=function(e){return{1:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:"obDv"}]}[e]||[]}(t),s=0;s<o.length;s++)e[o[s].m]||function(t){n.push(r.SPComponentLoader.loadComponentById(t.i,t.v).then(function(n){e[t.m]=function(e){e.exports=n}}))}(o[s]);var c=a[t];if(0!==c)if(c)n.push(c[2]);else{var d=new Promise(function(e,n){c=a[t]=[e,n]});n.push(c[2]=d);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(e){return i.p+"chunk."+({1:"sp-http-msgraphclientv3",2:"vendors~sp-http-msgraphclient"}[e]||e)+"_"+"none"+"_"+{1:"
|
|
1
|
+
define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.17.0",["tslib","@microsoft/sp-http-base","@microsoft/sp-loader","@microsoft/sp-core-library","@microsoft/sp-diagnostics"],function(n,a,i,r,o){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,c=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&c.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(d&&d(t);c.length;)c.shift()()}var n={},a={0:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(t){for(var n=[],o=function(e){return{1:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:"obDv"}]}[e]||[]}(t),s=0;s<o.length;s++)e[o[s].m]||function(t){n.push(r.SPComponentLoader.loadComponentById(t.i,t.v).then(function(n){e[t.m]=function(e){e.exports=n}}))}(o[s]);var c=a[t];if(0!==c)if(c)n.push(c[2]);else{var d=new Promise(function(e,n){c=a[t]=[e,n]});n.push(c[2]=d);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(e){return i.p+"chunk."+({1:"sp-http-msgraphclientv3",2:"vendors~sp-http-msgraphclient"}[e]||e)+"_"+"none"+"_"+{1:"8ee76f7e9308aa20781d",2:"9d7977b4b8570008ca02"}[e]+".js"}(t),0!==u.src.indexOf(window.location.origin+"/")&&(u.crossOrigin="anonymous");var f=new Error;l=function(e){u.onerror=u.onload=null,clearTimeout(p);var n=a[t];if(0!==n){if(n){var i=e&&("load"===e.type?"missing":e.type),r=e&&e.target&&e.target.src;f.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",f.name="ChunkLoadError",f.type=i,f.request=r,n[1](f)}a[t]=void 0}};var p=setTimeout(function(){l({type:"timeout",target:u})},12e4);u.onerror=u.onload=l,document.head.appendChild(u)}return Promise.all(n)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var r=i("I6O9");i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonpaec2bbfd_a968_4d5b_a279_12e570f378e6_1_17_0=window.webpackJsonpaec2bbfd_a968_4d5b_a279_12e570f378e6_1_17_0||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var c=0;c<o.length;c++)t(o[c]);var d=s;return function(){var e,t=document.getElementsByTagName("script"),n="undefined"!=typeof spScriptNamePattern?spScriptNamePattern:/sp-http-msgraph_default_d19ab990a5987ed88224\.js/i;if(t&&t.length)for(var a=0;a<t.length;a++)if(t[a]){var r=t[a].getAttribute("src");if(r&&r.match(n)){e=r.substring(0,r.lastIndexOf("/")+1);break}}if(!e)for(var o in window.__setWebpackPublicPathLoaderSrcRegistry__)if(o&&o.match(n)){e=o.substring(0,o.lastIndexOf("/")+1);break}i.p=e}(),i(i.s="mwqp")}({"17wl":function(e,t){e.exports=n},"2SXB":function(e,t){e.exports=a},"9vkt":function(e){e.exports=JSON.parse('{"e":"graphClientInitializationError"}')},I6O9:function(e,t){e.exports=i},UWqr:function(e,t){e.exports=r},mwqp:function(e,t,n){"use strict";n.r(t),n.d(t,"MSGraphClient",function(){return c}),n.d(t,"MSGraphClientFactory",function(){return l});var a=n("17wl"),i=n("UWqr"),r=n("ut3N"),o=n("2SXB"),s=n("9vkt"),c=function(){function e(t){var n=this;t.whenFinished(function(){e._graphBaseUrl=t.consume(o._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),e._instance||(e._instance=n._createGraphClientInstance(o._AadTokenProviders.configurable))})}return e.prototype.api=function(t,n){return i.Validate.isNonemptyString(t,"path"),e._instance.config=Object(a.__assign)(Object(a.__assign)({},e._originalConfig),n||{}),e._instance.api(t)},e.prototype._createGraphClientInstance=function(t){var n,a=this;if(!e._window.MicrosoftGraph||!e._window.MicrosoftGraph.Client)throw new Error(s.e);n=e._window.MicrosoftGraph.Client,e._window.MicrosoftGraph=void 0;var i=n.init({authProvider:function(e){a._getOAuthToken(t).then(function(t){e(void 0,t)}).catch(function(t){e(t,"")})},baseUrl:e._graphBaseUrl});return e._originalConfig=i.config,i},e.prototype._getOAuthToken=function(t){var n=new r._QosMonitor("MSGraphClient.FetchGraphToken");return t.getToken(e._graphBaseUrl).then(function(e){return n.writeSuccess(),e}).catch(function(e){throw n.writeUnexpectedFailure("FetchGraphToken",e),e})},e._window=window,e}();function d(){return i._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}var l=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,t){var a=this;if(e&&"1"!==e){if("3"!==e||i._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new r._QosMonitor("MSGraphClientFactory.GetClientV3");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return o.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0)}).catch(function(e){throw d()||o.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})}return c._instance?Promise.resolve(new c(this._serviceScope)):n.e(2).then(n.t.bind(null,"9EC8",7)).then(function(){return new c(a._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new r._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw d()||i.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new r._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw d()||i.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})},e.serviceKey=i.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()},ut3N:function(e,t){e.exports=o}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.17.0",["tslib","@microsoft/sp-http-base","@microsoft/sp-loader","@microsoft/sp-core-library","@microsoft/sp-diagnostics"],function(n,a,i,r,o){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,c=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&c.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(d&&d(t);c.length;)c.shift()()}var n={},a={0:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(t){for(var n=[],o=function(e){return{1:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:"obDv"}]}[e]||[]}(t),s=0;s<o.length;s++)e[o[s].m]||function(t){n.push(r.SPComponentLoader.loadComponentById(t.i,t.v).then(function(n){e[t.m]=function(e){e.exports=n}}))}(o[s]);var c=a[t];if(0!==c)if(c)n.push(c[2]);else{var d=new Promise(function(e,n){c=a[t]=[e,n]});n.push(c[2]=d);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(e){return i.p+"chunk."+({1:"sp-http-msgraphclientv3",2:"vendors~sp-http-msgraphclient"}[e]||e)+"_"+"none"+"_"+{1:"
|
|
1
|
+
define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.17.0",["tslib","@microsoft/sp-http-base","@microsoft/sp-loader","@microsoft/sp-core-library","@microsoft/sp-diagnostics"],function(n,a,i,r,o){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,c=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&c.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(d&&d(t);c.length;)c.shift()()}var n={},a={0:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(t){for(var n=[],o=function(e){return{1:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:"obDv"}]}[e]||[]}(t),s=0;s<o.length;s++)e[o[s].m]||function(t){n.push(r.SPComponentLoader.loadComponentById(t.i,t.v).then(function(n){e[t.m]=function(e){e.exports=n}}))}(o[s]);var c=a[t];if(0!==c)if(c)n.push(c[2]);else{var d=new Promise(function(e,n){c=a[t]=[e,n]});n.push(c[2]=d);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(e){return i.p+"chunk."+({1:"sp-http-msgraphclientv3",2:"vendors~sp-http-msgraphclient"}[e]||e)+"_"+"none"+"_"+{1:"8ee76f7e9308aa20781d",2:"9d7977b4b8570008ca02"}[e]+".js"}(t),0!==u.src.indexOf(window.location.origin+"/")&&(u.crossOrigin="anonymous");var f=new Error;l=function(e){u.onerror=u.onload=null,clearTimeout(p);var n=a[t];if(0!==n){if(n){var i=e&&("load"===e.type?"missing":e.type),r=e&&e.target&&e.target.src;f.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",f.name="ChunkLoadError",f.type=i,f.request=r,n[1](f)}a[t]=void 0}};var p=setTimeout(function(){l({type:"timeout",target:u})},12e4);u.onerror=u.onload=l,document.head.appendChild(u)}return Promise.all(n)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var r=i("I6O9");i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonpaec2bbfd_a968_4d5b_a279_12e570f378e6_1_17_0=window.webpackJsonpaec2bbfd_a968_4d5b_a279_12e570f378e6_1_17_0||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var c=0;c<o.length;c++)t(o[c]);var d=s;return function(){var e,t=document.getElementsByTagName("script"),n="undefined"!=typeof spScriptNamePattern?spScriptNamePattern:/sp-http-msgraph_en-us_d19ab990a5987ed88224\.js/i;if(t&&t.length)for(var a=0;a<t.length;a++)if(t[a]){var r=t[a].getAttribute("src");if(r&&r.match(n)){e=r.substring(0,r.lastIndexOf("/")+1);break}}if(!e)for(var o in window.__setWebpackPublicPathLoaderSrcRegistry__)if(o&&o.match(n)){e=o.substring(0,o.lastIndexOf("/")+1);break}i.p=e}(),i(i.s="mwqp")}({"17wl":function(e,t){e.exports=n},"2SXB":function(e,t){e.exports=a},"9vkt":function(e){e.exports=JSON.parse('{"e":"Sorry, we couldn\\u0027t make a connection to Microsoft Graph."}')},I6O9:function(e,t){e.exports=i},UWqr:function(e,t){e.exports=r},mwqp:function(e,t,n){"use strict";n.r(t),n.d(t,"MSGraphClient",function(){return c}),n.d(t,"MSGraphClientFactory",function(){return l});var a=n("17wl"),i=n("UWqr"),r=n("ut3N"),o=n("2SXB"),s=n("9vkt"),c=function(){function e(t){var n=this;t.whenFinished(function(){e._graphBaseUrl=t.consume(o._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),e._instance||(e._instance=n._createGraphClientInstance(o._AadTokenProviders.configurable))})}return e.prototype.api=function(t,n){return i.Validate.isNonemptyString(t,"path"),e._instance.config=Object(a.__assign)(Object(a.__assign)({},e._originalConfig),n||{}),e._instance.api(t)},e.prototype._createGraphClientInstance=function(t){var n,a=this;if(!e._window.MicrosoftGraph||!e._window.MicrosoftGraph.Client)throw new Error(s.e);n=e._window.MicrosoftGraph.Client,e._window.MicrosoftGraph=void 0;var i=n.init({authProvider:function(e){a._getOAuthToken(t).then(function(t){e(void 0,t)}).catch(function(t){e(t,"")})},baseUrl:e._graphBaseUrl});return e._originalConfig=i.config,i},e.prototype._getOAuthToken=function(t){var n=new r._QosMonitor("MSGraphClient.FetchGraphToken");return t.getToken(e._graphBaseUrl).then(function(e){return n.writeSuccess(),e}).catch(function(e){throw n.writeUnexpectedFailure("FetchGraphToken",e),e})},e._window=window,e}();function d(){return i._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}var l=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,t){var a=this;if(e&&"1"!==e){if("3"!==e||i._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new r._QosMonitor("MSGraphClientFactory.GetClientV3");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return o.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0)}).catch(function(e){throw d()||o.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})}return c._instance?Promise.resolve(new c(this._serviceScope)):n.e(2).then(n.t.bind(null,"9EC8",7)).then(function(){return new c(a._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new r._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw d()||i.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new r._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw d()||i.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})},e.serviceKey=i.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()},ut3N:function(e,t){e.exports=o}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.17.0",["tslib","@microsoft/sp-http-base","@microsoft/sp-loader","@microsoft/sp-core-library","@microsoft/sp-diagnostics"],function(n,a,i,r,o){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,c=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&c.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(d&&d(t);c.length;)c.shift()()}var n={},a={0:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(t){for(var n=[],o=function(e){return{1:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:"obDv"}]}[e]||[]}(t),s=0;s<o.length;s++)e[o[s].m]||function(t){n.push(r.SPComponentLoader.loadComponentById(t.i,t.v).then(function(n){e[t.m]=function(e){e.exports=n}}))}(o[s]);var c=a[t];if(0!==c)if(c)n.push(c[2]);else{var d=new Promise(function(e,n){c=a[t]=[e,n]});n.push(c[2]=d);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(e){return i.p+"chunk."+({1:"sp-http-msgraphclientv3",2:"vendors~sp-http-msgraphclient"}[e]||e)+"_"+"none"+"_"+{1:"
|
|
1
|
+
define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.17.0",["tslib","@microsoft/sp-http-base","@microsoft/sp-loader","@microsoft/sp-core-library","@microsoft/sp-diagnostics"],function(n,a,i,r,o){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,c=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&c.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(d&&d(t);c.length;)c.shift()()}var n={},a={0:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(t){for(var n=[],o=function(e){return{1:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:"obDv"}]}[e]||[]}(t),s=0;s<o.length;s++)e[o[s].m]||function(t){n.push(r.SPComponentLoader.loadComponentById(t.i,t.v).then(function(n){e[t.m]=function(e){e.exports=n}}))}(o[s]);var c=a[t];if(0!==c)if(c)n.push(c[2]);else{var d=new Promise(function(e,n){c=a[t]=[e,n]});n.push(c[2]=d);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(e){return i.p+"chunk."+({1:"sp-http-msgraphclientv3",2:"vendors~sp-http-msgraphclient"}[e]||e)+"_"+"none"+"_"+{1:"8ee76f7e9308aa20781d",2:"9d7977b4b8570008ca02"}[e]+".js"}(t),0!==u.src.indexOf(window.location.origin+"/")&&(u.crossOrigin="anonymous");var f=new Error;l=function(e){u.onerror=u.onload=null,clearTimeout(p);var n=a[t];if(0!==n){if(n){var i=e&&("load"===e.type?"missing":e.type),r=e&&e.target&&e.target.src;f.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",f.name="ChunkLoadError",f.type=i,f.request=r,n[1](f)}a[t]=void 0}};var p=setTimeout(function(){l({type:"timeout",target:u})},12e4);u.onerror=u.onload=l,document.head.appendChild(u)}return Promise.all(n)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var r=i("I6O9");i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonpaec2bbfd_a968_4d5b_a279_12e570f378e6_1_17_0=window.webpackJsonpaec2bbfd_a968_4d5b_a279_12e570f378e6_1_17_0||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var c=0;c<o.length;c++)t(o[c]);var d=s;return function(){var e,t=document.getElementsByTagName("script"),n="undefined"!=typeof spScriptNamePattern?spScriptNamePattern:/sp-http-msgraph_qps-ploc_d19ab990a5987ed88224\.js/i;if(t&&t.length)for(var a=0;a<t.length;a++)if(t[a]){var r=t[a].getAttribute("src");if(r&&r.match(n)){e=r.substring(0,r.lastIndexOf("/")+1);break}}if(!e)for(var o in window.__setWebpackPublicPathLoaderSrcRegistry__)if(o&&o.match(n)){e=o.substring(0,o.lastIndexOf("/")+1);break}i.p=e}(),i(i.s="mwqp")}({"17wl":function(e,t){e.exports=n},"2SXB":function(e,t){e.exports=a},"9vkt":function(e){e.exports=JSON.parse('{"e":"[!!--##Śōŕŕŷ, ŵē ćōũĺďń\\u0027ţ màķē à ćōńńēćţĩōń ţō Mĩćŕōśōƒţ Ĝŕàƥĥ.##--!!]"}')},I6O9:function(e,t){e.exports=i},UWqr:function(e,t){e.exports=r},mwqp:function(e,t,n){"use strict";n.r(t),n.d(t,"MSGraphClient",function(){return c}),n.d(t,"MSGraphClientFactory",function(){return l});var a=n("17wl"),i=n("UWqr"),r=n("ut3N"),o=n("2SXB"),s=n("9vkt"),c=function(){function e(t){var n=this;t.whenFinished(function(){e._graphBaseUrl=t.consume(o._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),e._instance||(e._instance=n._createGraphClientInstance(o._AadTokenProviders.configurable))})}return e.prototype.api=function(t,n){return i.Validate.isNonemptyString(t,"path"),e._instance.config=Object(a.__assign)(Object(a.__assign)({},e._originalConfig),n||{}),e._instance.api(t)},e.prototype._createGraphClientInstance=function(t){var n,a=this;if(!e._window.MicrosoftGraph||!e._window.MicrosoftGraph.Client)throw new Error(s.e);n=e._window.MicrosoftGraph.Client,e._window.MicrosoftGraph=void 0;var i=n.init({authProvider:function(e){a._getOAuthToken(t).then(function(t){e(void 0,t)}).catch(function(t){e(t,"")})},baseUrl:e._graphBaseUrl});return e._originalConfig=i.config,i},e.prototype._getOAuthToken=function(t){var n=new r._QosMonitor("MSGraphClient.FetchGraphToken");return t.getToken(e._graphBaseUrl).then(function(e){return n.writeSuccess(),e}).catch(function(e){throw n.writeUnexpectedFailure("FetchGraphToken",e),e})},e._window=window,e}();function d(){return i._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}var l=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,t){var a=this;if(e&&"1"!==e){if("3"!==e||i._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new r._QosMonitor("MSGraphClientFactory.GetClientV3");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return o.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0)}).catch(function(e){throw d()||o.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})}return c._instance?Promise.resolve(new c(this._serviceScope)):n.e(2).then(n.t.bind(null,"9EC8",7)).then(function(){return new c(a._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new r._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw d()||i.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new r._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw d()||i.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})},e.serviceKey=i.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()},ut3N:function(e,t){e.exports=o}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.17.0",["tslib","@microsoft/sp-http-base","@microsoft/sp-loader","@microsoft/sp-core-library","@microsoft/sp-diagnostics"],function(n,a,i,r,o){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,c=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&c.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(d&&d(t);c.length;)c.shift()()}var n={},a={0:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(t){for(var n=[],o=function(e){return{1:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:"obDv"}]}[e]||[]}(t),s=0;s<o.length;s++)e[o[s].m]||function(t){n.push(r.SPComponentLoader.loadComponentById(t.i,t.v).then(function(n){e[t.m]=function(e){e.exports=n}}))}(o[s]);var c=a[t];if(0!==c)if(c)n.push(c[2]);else{var d=new Promise(function(e,n){c=a[t]=[e,n]});n.push(c[2]=d);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(e){return i.p+"chunk."+({1:"sp-http-msgraphclientv3",2:"vendors~sp-http-msgraphclient"}[e]||e)+"_"+"none"+"_"+{1:"
|
|
1
|
+
define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.17.0",["tslib","@microsoft/sp-http-base","@microsoft/sp-loader","@microsoft/sp-core-library","@microsoft/sp-diagnostics"],function(n,a,i,r,o){return function(e){function t(t){for(var n,i,r=t[0],o=t[1],s=0,c=[];s<r.length;s++)i=r[s],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&c.push(a[i][0]),a[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(d&&d(t);c.length;)c.shift()()}var n={},a={0:0};function i(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.e=function(t){for(var n=[],o=function(e){return{1:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:"obDv"}]}[e]||[]}(t),s=0;s<o.length;s++)e[o[s].m]||function(t){n.push(r.SPComponentLoader.loadComponentById(t.i,t.v).then(function(n){e[t.m]=function(e){e.exports=n}}))}(o[s]);var c=a[t];if(0!==c)if(c)n.push(c[2]);else{var d=new Promise(function(e,n){c=a[t]=[e,n]});n.push(c[2]=d);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(e){return i.p+"chunk."+({1:"sp-http-msgraphclientv3",2:"vendors~sp-http-msgraphclient"}[e]||e)+"_"+"none"+"_"+{1:"8ee76f7e9308aa20781d",2:"9d7977b4b8570008ca02"}[e]+".js"}(t),0!==u.src.indexOf(window.location.origin+"/")&&(u.crossOrigin="anonymous");var f=new Error;l=function(e){u.onerror=u.onload=null,clearTimeout(p);var n=a[t];if(0!==n){if(n){var i=e&&("load"===e.type?"missing":e.type),r=e&&e.target&&e.target.src;f.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",f.name="ChunkLoadError",f.type=i,f.request=r,n[1](f)}a[t]=void 0}};var p=setTimeout(function(){l({type:"timeout",target:u})},12e4);u.onerror=u.onload=l,document.head.appendChild(u)}return Promise.all(n)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var r=i("I6O9");i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonpaec2bbfd_a968_4d5b_a279_12e570f378e6_1_17_0=window.webpackJsonpaec2bbfd_a968_4d5b_a279_12e570f378e6_1_17_0||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var c=0;c<o.length;c++)t(o[c]);var d=s;return function(){var e,t=document.getElementsByTagName("script"),n="undefined"!=typeof spScriptNamePattern?spScriptNamePattern:/sp-http-msgraph_qps-ploca_d19ab990a5987ed88224\.js/i;if(t&&t.length)for(var a=0;a<t.length;a++)if(t[a]){var r=t[a].getAttribute("src");if(r&&r.match(n)){e=r.substring(0,r.lastIndexOf("/")+1);break}}if(!e)for(var o in window.__setWebpackPublicPathLoaderSrcRegistry__)if(o&&o.match(n)){e=o.substring(0,o.lastIndexOf("/")+1);break}i.p=e}(),i(i.s="mwqp")}({"17wl":function(e,t){e.exports=n},"2SXB":function(e,t){e.exports=a},"9vkt":function(e){e.exports=JSON.parse('{"e":"Śōŕŕŷ, ŵē ćōũĺďń\\u0027ţ màķē à ćōńńēćţĩōń ţō Mĩćŕōśōƒţ Ĝŕàƥĥ."}')},I6O9:function(e,t){e.exports=i},UWqr:function(e,t){e.exports=r},mwqp:function(e,t,n){"use strict";n.r(t),n.d(t,"MSGraphClient",function(){return c}),n.d(t,"MSGraphClientFactory",function(){return l});var a=n("17wl"),i=n("UWqr"),r=n("ut3N"),o=n("2SXB"),s=n("9vkt"),c=function(){function e(t){var n=this;t.whenFinished(function(){e._graphBaseUrl=t.consume(o._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),e._instance||(e._instance=n._createGraphClientInstance(o._AadTokenProviders.configurable))})}return e.prototype.api=function(t,n){return i.Validate.isNonemptyString(t,"path"),e._instance.config=Object(a.__assign)(Object(a.__assign)({},e._originalConfig),n||{}),e._instance.api(t)},e.prototype._createGraphClientInstance=function(t){var n,a=this;if(!e._window.MicrosoftGraph||!e._window.MicrosoftGraph.Client)throw new Error(s.e);n=e._window.MicrosoftGraph.Client,e._window.MicrosoftGraph=void 0;var i=n.init({authProvider:function(e){a._getOAuthToken(t).then(function(t){e(void 0,t)}).catch(function(t){e(t,"")})},baseUrl:e._graphBaseUrl});return e._originalConfig=i.config,i},e.prototype._getOAuthToken=function(t){var n=new r._QosMonitor("MSGraphClient.FetchGraphToken");return t.getToken(e._graphBaseUrl).then(function(e){return n.writeSuccess(),e}).catch(function(e){throw n.writeUnexpectedFailure("FetchGraphToken",e),e})},e._window=window,e}();function d(){return i._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}var l=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,t){var a=this;if(e&&"1"!==e){if("3"!==e||i._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new r._QosMonitor("MSGraphClientFactory.GetClientV3");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return o.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0)}).catch(function(e){throw d()||o.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})}return c._instance?Promise.resolve(new c(this._serviceScope)):n.e(2).then(n.t.bind(null,"9EC8",7)).then(function(){return new c(a._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new r._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw d()||i.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new r._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return n.e(1).then(n.bind(null,"l/HE")).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw d()||i.writeUnexpectedFailure("ImportMSGraphV3Chunk",e),e})},e.serviceKey=i.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()},ut3N:function(e,t){e.exports=o}})});
|
package/dist/tsdoc-metadata.json
CHANGED
|
@@ -4,6 +4,9 @@ var tslib_1 = require("tslib");
|
|
|
4
4
|
var sp_core_library_1 = require("@microsoft/sp-core-library");
|
|
5
5
|
var sp_diagnostics_1 = require("@microsoft/sp-diagnostics");
|
|
6
6
|
var MSGraphClient_1 = tslib_1.__importDefault(require("./MSGraphClient"));
|
|
7
|
+
function isWriteQoSUnexpectedFailureKSActivated() {
|
|
8
|
+
return sp_core_library_1._SPKillSwitch.isActivated('416713e6-ce26-48f7-9e12-28fe39f77b1e' /* '02/07/2023', 'Write QoS unexpected failure when chaunk import failed' */);
|
|
9
|
+
}
|
|
7
10
|
/**
|
|
8
11
|
* Returns a preinitialized version of the MSGraphClient.
|
|
9
12
|
* For more information: {@link https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-msgraph}
|
|
@@ -43,6 +46,12 @@ var MSGraphClientFactory = /** @class */ (function () {
|
|
|
43
46
|
// We create a new object every time rather than referencing an existing object in case the service scope changes
|
|
44
47
|
qosMonitor_1.writeSuccess({ version: 3, options: !!options });
|
|
45
48
|
return new msGraphClientV3.default(_this._serviceScope, options, undefined);
|
|
49
|
+
})
|
|
50
|
+
.catch(function (error) {
|
|
51
|
+
if (!isWriteQoSUnexpectedFailureKSActivated()) {
|
|
52
|
+
qosMonitor_1.writeUnexpectedFailure('ImportMSGraphV3Chunk', error);
|
|
53
|
+
}
|
|
54
|
+
throw error;
|
|
46
55
|
});
|
|
47
56
|
}
|
|
48
57
|
else {
|
|
@@ -66,6 +75,12 @@ var MSGraphClientFactory = /** @class */ (function () {
|
|
|
66
75
|
// We create a new object every time rather than referencing an existing object in case the service scope changes
|
|
67
76
|
qosMonitor.writeSuccess({ version: 3 });
|
|
68
77
|
return new msGraphClientV3.default(_this._serviceScope, undefined, options);
|
|
78
|
+
})
|
|
79
|
+
.catch(function (error) {
|
|
80
|
+
if (!isWriteQoSUnexpectedFailureKSActivated()) {
|
|
81
|
+
qosMonitor.writeUnexpectedFailure('ImportMSGraphV3Chunk', error);
|
|
82
|
+
}
|
|
83
|
+
throw error;
|
|
69
84
|
});
|
|
70
85
|
};
|
|
71
86
|
/**
|
|
@@ -82,6 +97,12 @@ var MSGraphClientFactory = /** @class */ (function () {
|
|
|
82
97
|
// We create a new object every time rather than referencing an existing object in case the service scope changes
|
|
83
98
|
qosMonitor.writeSuccess({ version: 3, options: !!options });
|
|
84
99
|
return new msGraphClientV3.default(_this._serviceScope, options, undefined, true);
|
|
100
|
+
})
|
|
101
|
+
.catch(function (error) {
|
|
102
|
+
if (!isWriteQoSUnexpectedFailureKSActivated()) {
|
|
103
|
+
qosMonitor.writeUnexpectedFailure('ImportMSGraphV3Chunk', error);
|
|
104
|
+
}
|
|
105
|
+
throw error;
|
|
85
106
|
});
|
|
86
107
|
};
|
|
87
108
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/sp-http-msgraph",
|
|
3
|
-
"version": "1.17.0-beta.
|
|
3
|
+
"version": "1.17.0-beta.3",
|
|
4
4
|
"description": "Microsoft Graph communication layer for the SharePoint Framework",
|
|
5
5
|
"license": "https://aka.ms/spfx/license",
|
|
6
6
|
"homepage": "http://aka.ms/spfx",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@microsoft/microsoft-graph-clientv1": "npm:@microsoft/microsoft-graph-client@1.7.2-spfx",
|
|
15
15
|
"tslib": "2.3.1",
|
|
16
|
-
"@microsoft/sp-core-library": "1.17.0-beta.
|
|
17
|
-
"@microsoft/sp-http-base": "1.17.0-beta.
|
|
18
|
-
"@microsoft/sp-diagnostics": "1.17.0-beta.
|
|
19
|
-
"@microsoft/sp-loader": "1.17.0-beta.
|
|
16
|
+
"@microsoft/sp-core-library": "1.17.0-beta.3",
|
|
17
|
+
"@microsoft/sp-http-base": "1.17.0-beta.3",
|
|
18
|
+
"@microsoft/sp-diagnostics": "1.17.0-beta.3",
|
|
19
|
+
"@microsoft/sp-loader": "1.17.0-beta.3"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@microsoft/microsoft-graph-client": "3.0.2",
|
|
23
|
-
"@rushstack/heft": "0.
|
|
23
|
+
"@rushstack/heft": "0.49.7",
|
|
24
24
|
"eslint": "8.7.0",
|
|
25
25
|
"@ms/spfx-internal-web-build-rig": "0.1.0",
|
|
26
26
|
"@ms/ms-graph-v3-bundle": "3.0.2"
|
|
File without changes
|