@livetiles/reach-components-react 0.4.146 → 0.4.152
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/{auto-track-3044a81d.esm.js → auto-track-505d95fb.esm.js} +1 -1
- package/en.async.esm.esm.js +1 -1
- package/{index-28074e12.esm.js → index-37ceda26.esm.js} +1 -1
- package/{index-b417cb34.esm.js → index-391b1f11.esm.js} +1 -1
- package/{index-788b2f42.esm.js → index-8264996c.esm.js} +1 -1
- package/{index-904b1d06.esm.js → index-865a0fa3.esm.js} +1 -1
- package/{index-6542329b.esm.js → index-bde7c36b.esm.js} +1 -1
- package/{index-5e113ba7.esm.js → index-cbec8e63.esm.js} +14 -14
- package/index.d.ts +22 -0
- package/index.esm.js +1 -1
- package/index.esm2.js +16 -15
- package/{index.umd-c9cf1445.esm.js → index.umd-d8bd6fad.esm.js} +1 -1
- package/index.umd.js +66 -65
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as e,z as r,F as t,L as i,B as o}from"./index.esm2.js";import"react/jsx-runtime";import"styled-components";import"office-ui-fabric-react";import"react";import"react-router-dom";import"react-is";import"events";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";function a(a,n,c){var s;return e(this,void 0,void 0,(function(){var m,l,u,d,f=this;return r(this,(function(p){switch(p.label){case 0:return t()?[2,[]]:(m=i(),l=null!==(s=n.enabledMiddleware)&&void 0!==s?s:{},u=Object.entries(l).filter((function(e){return e[0],e[1]})).map((function(e){return e[0]})),d=u.map((function(t){return e(f,void 0,void 0,(function(){var e,i,n,s;return r(this,(function(r){switch(r.label){case 0:e=t.replace("@segment/",""),i=e,c&&(i=btoa(e).replace(/=/g,"")),n="".concat(m,"/middleware/").concat(i,"/latest/").concat(i,".js.gz"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,o(n)];case 2:return r.sent(),[2,window["".concat(e,"Middleware")]];case 3:return s=r.sent(),a.log("error",s),a.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}}))}))})),[4,Promise.all(d)]);case 1:return[2,p.sent().filter(Boolean)]}}))}))}export{a as remoteMiddlewares};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as t,z as n,B as i,L as e,$ as r,D as o,S as s,E as a,Q as u,X as c,I as l,F as d,G as h,J as f,w as v,K as p,R as g,M as m,N as y,O as w}from"./index.esm2.js";import{l as b}from"./is-plan-event-enabled-d9660f36.esm.js";import"react/jsx-runtime";import"styled-components";import"office-ui-fabric-react";import"react";import"react-router-dom";import"react-is";import"events";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";function _(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function z(t,n){return void 0===n&&(n=!1),n?btoa(t).replace(/=/g,""):void 0}function k(r,o,s,a){return t(this,void 0,void 0,(function(){var t,u,c,l,d,h;return n(this,(function(n){switch(n.label){case 0:t=_(o),u=z(t,a),c=e(),l="".concat(c,"/integrations/").concat(null!=u?u:t,"/").concat(s,"/").concat(null!=u?u:t,".dynamic.js.gz"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,i(l)];case 2:return n.sent(),function(t,n,i){var e,r;try{var o=(null!==(r=null===(e=null==window?void 0:window.performance)||void 0===e?void 0:e.getEntriesByName(t,"resource"))&&void 0!==r?r:[])[0];o&&n.stats.gauge("legacy_destination_time",Math.round(o.duration),f([i],o.duration<100?["cached"]:[],!0))}catch(t){}}(l,r,o),[3,4];case 3:throw d=n.sent(),r.stats.gauge("legacy_destination_time",-1,["plugin:".concat(o),"failed"]),d;case 4:return h=window["".concat(t,"Deps")],[4,Promise.all(h.map((function(t){return i(c+t+".gz")})))];case 5:return n.sent(),window["".concat(t,"Loader")](),[2,window["".concat(t,"Integration")]]}}))}))}function I(i,e){return t(this,void 0,void 0,(function(){var r,s=this;return n(this,(function(a){switch(a.label){case 0:return r=[],o()?[2,e]:[4,l((function(){return e.length>0&&g()}),(function(){return t(s,void 0,void 0,(function(){var t,o;return n(this,(function(n){switch(n.label){case 0:return(t=e.pop())?[4,p(t,i)]:[2];case 1:return o=n.sent(),o instanceof w||r.push(t),[2]}}))}))}))];case 1:return a.sent(),r.map((function(t){return e.pushWithBackoff(t)})),[2,e]}}))}))}var S=function(){function i(t,n,i,e,r,o){void 0===e&&(e={}),this.options={},this.type="destination",this.middleware=[],this._ready=!1,this._initialized=!1,this.flushing=!1,this.name=t,this.version=n,this.settings=s({},e),this.disableAutoISOConversion=r.disableAutoISOConversion||!1,this.integrationSource=o,this.settings.type&&"browser"===this.settings.type&&delete this.settings.type,this.options=r,this.buffer=r.disableClientPersistence?new m(4,[]):new y(4,"".concat(i,":dest-").concat(t)),this.scheduleFlush()}return i.prototype.isLoaded=function(){return this._ready},i.prototype.ready=function(){var t;return null!==(t=this.onReady)&&void 0!==t?t:Promise.resolve()},i.prototype.load=function(i,e){var r;return t(this,void 0,void 0,(function(){var t,o,s=this;return n(this,(function(n){switch(n.label){case 0:return this._ready||void 0!==this.onReady?[2]:null!==(r=this.integrationSource)&&void 0!==r?(o=r,[3,3]):[3,1];case 1:return[4,k(i,this.name,this.version,this.options.obfuscate)];case 2:o=n.sent(),n.label=3;case 3:t=o,this.integration=function(t,n,i){var e;"Integration"in t?(t({user:function(){return i.user()},addIntegration:function(){}}),e=t.Integration):e=t;var r=new e(n);return r.analytics=i,r}(t,this.settings,e),this.onReady=new Promise((function(t){s.integration.once("ready",(function(){s._ready=!0,t(!0)}))})),this.onInitialize=new Promise((function(t){s.integration.on("initialize",(function(){s._initialized=!0,t(!0)}))}));try{i.stats.increment("analytics_js.integration.invoke",1,["method:initialize","integration_name:".concat(this.name)]),this.integration.initialize()}catch(t){throw i.stats.increment("analytics_js.integration.invoke.error",1,["method:initialize","integration_name:".concat(this.name)]),t}return[2]}}))}))},i.prototype.unload=function(i,o){return function(i,o,s){return t(this,void 0,void 0,(function(){var t,a,u,c;return n(this,(function(n){return t=e(),a=_(i),u=z(i,s),c="".concat(t,"/integrations/").concat(null!=u?u:a,"/").concat(o,"/").concat(null!=u?u:a,".dynamic.js.gz"),[2,r(c)]}))}))}(this.name,this.version,this.options.obfuscate)},i.prototype.addMiddleware=function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];this.middleware=(t=this.middleware).concat.apply(t,n)},i.prototype.shouldBuffer=function(t){return"page"!==t.event.type&&(o()||!1===this._ready||!1===this._initialized)},i.prototype.send=function(i,e,r){var o,c;return t(this,void 0,void 0,(function(){var t,l,d,h,f,v;return n(this,(function(n){switch(n.label){case 0:if(this.shouldBuffer(i))return this.buffer.push(i),this.scheduleFlush(),[2,i];if(t=null===(c=null===(o=this.options)||void 0===o?void 0:o.plan)||void 0===c?void 0:c.track,l=i.event.event,t&&l&&"Segment.io"!==this.name){if(d=t[l],!b(t,d))return i.updateEvent("integrations",s(s({},i.event.integrations),{All:!1,"Segment.io":!0})),i.cancel(new a({retry:!1,reason:"Event ".concat(l," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,i];if(i.updateEvent("integrations",s(s({},i.event.integrations),null==d?void 0:d.integrations)),null!=d&&d.enabled&&!1===(null==d?void 0:d.integrations[this.name]))return i.cancel(new a({retry:!1,reason:"Event ".concat(l," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,i]}return[4,u(this.name,i.event,this.middleware)];case 1:if(null===(h=n.sent()))return[2,i];f=new e(h,{traverse:!this.disableAutoISOConversion}),i.stats.increment("analytics_js.integration.invoke",1,["method:".concat(r),"integration_name:".concat(this.name)]),n.label=2;case 2:return n.trys.push([2,5,,6]),this.integration?[4,this.integration.invoke.call(this.integration,r,f)]:[3,4];case 3:n.sent(),n.label=4;case 4:return[3,6];case 5:throw v=n.sent(),i.stats.increment("analytics_js.integration.invoke.error",1,["method:".concat(r),"integration_name:".concat(this.name)]),v;case 6:return[2,i]}}))}))},i.prototype.track=function(i){return t(this,void 0,void 0,(function(){return n(this,(function(t){return[2,this.send(i,c.Track,"track")]}))}))},i.prototype.page=function(i){var e;return t(this,void 0,void 0,(function(){var t=this;return n(this,(function(n){return!(null===(e=this.integration)||void 0===e)&&e._assumesPageview&&!this._initialized&&this.integration.initialize(),[2,this.onInitialize.then((function(){return t.send(i,c.Page,"page")}))]}))}))},i.prototype.identify=function(i){return t(this,void 0,void 0,(function(){return n(this,(function(t){return[2,this.send(i,c.Identify,"identify")]}))}))},i.prototype.alias=function(i){return t(this,void 0,void 0,(function(){return n(this,(function(t){return[2,this.send(i,c.Alias,"alias")]}))}))},i.prototype.group=function(i){return t(this,void 0,void 0,(function(){return n(this,(function(t){return[2,this.send(i,c.Group,"group")]}))}))},i.prototype.scheduleFlush=function(){var i=this;this.flushing||setTimeout((function(){return t(i,void 0,void 0,(function(){var t;return n(this,(function(n){switch(n.label){case 0:return this.flushing=!0,t=this,[4,I(this,this.buffer)];case 1:return t.buffer=n.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}}))}))}),5e3*Math.random())},i}();function j(t,n,i,e,r,o){var a,u;if(void 0===i&&(i={}),void 0===e&&(e={}),d())return[];n.plan&&((e=null!=e?e:{}).plan=n.plan);var c=null!==(u=null===(a=n.middlewareSettings)||void 0===a?void 0:a.routingRules)&&void 0!==u?u:[],l=n.integrations,p=e.integrations,g=h(n,null!=e?e:{}),m=null==o?void 0:o.reduce((function(t,n){var i;return s(s({},t),((i={})[function(t){return("Integration"in t?t.Integration:t).prototype.name}(n)]=n,i))}),{}),y=new Set(f(f([],Object.keys(l).filter((function(t){return function(t,n){var i,e=n.type,r=n.bundlingStatus,o=n.versionSettings,s="unbundled"!==r&&("browser"===e||(null===(i=null==o?void 0:o.componentTypes)||void 0===i?void 0:i.includes("browser")));return!t.startsWith("Segment")&&"Iterable"!==t&&s}(t,l[t])})),!0),Object.keys(m||{}).filter((function(t){return v(l[t])||v(null==p?void 0:p[t])})),!0));return Array.from(y).filter((function(t){return!function(t,n){var i=!1===n.All&&void 0===n[t];return!1===n[t]||i}(t,i)})).map((function(n){var i=function(t){var n,i,e,r;return null!==(r=null!==(i=null===(n=null==t?void 0:t.versionSettings)||void 0===n?void 0:n.override)&&void 0!==i?i:null===(e=null==t?void 0:t.versionSettings)||void 0===e?void 0:e.version)&&void 0!==r?r:"latest"}(l[n]),o=new S(n,i,t,g[n],e,null==m?void 0:m[n]);return c.filter((function(t){return t.destinationName===n})).length>0&&r&&o.addMiddleware(r),o}))}export{S as LegacyDestination,j as ajsDestinations};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{S as e}from"./index.esm2.js";import{l as t}from"./is-plan-event-enabled-d9660f36.esm.js";import"react/jsx-runtime";import"styled-components";import"office-ui-fabric-react";import"react";import"react-router-dom";import"react-is";import"events";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";function n(n,r){function i(i){var o=n,a=i.event.event;if(o&&a){var c=o[a];if(!t(o,c))return i.updateEvent("integrations",e(e({},i.event.integrations),{All:!1,"Segment.io":!0})),i;var s=function(e,t){var n,r;if(!e||!Object.keys(e))return{};var i=e.integrations?Object.keys(e.integrations).filter((function(t){return!1===e.integrations[t]})):[],o=[];return(null!==(n=t.remotePlugins)&&void 0!==n?n:[]).forEach((function(e){i.forEach((function(t){(e.name.includes(t)||t.includes(e.name))&&o.push(e.name)}))})),(null!==(r=t.remotePlugins)&&void 0!==r?r:[]).reduce((function(e,t){return t.settings.subscriptions&&o.includes(t.name)&&t.settings.subscriptions.forEach((function(n){return e["".concat(t.name," ").concat(n.partnerAction)]=!1})),e}),{})}(c,r);i.updateEvent("integrations",e(e(e({},i.event.integrations),null==c?void 0:c.integrations),s))}return i}return{name:"Schema Filter",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:i,alias:i,track:i,identify:i,group:i}}export{n as schemaFilter};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as i,z as r}from"./index.esm2.js";import"react/jsx-runtime";import"styled-components";import"office-ui-fabric-react";import"react";import"react-router-dom";import"react-is";import"events";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";function t(t){return i(this,void 0,void 0,(function(){var i;return r(this,(function(r){switch(r.label){case 0:return[4,import("./index.umd-d8bd6fad.esm.js").then((i=>i.i))];case 1:return i=r.sent(),t._plugins=i,[2]}}))}))}export{t as loadLegacyVideoPlugins};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{H as r,w as i}from"./index.esm2.js";import"react/jsx-runtime";import"styled-components";import"office-ui-fabric-react";import"react";import"react-router-dom";import"react-is";import"events";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";function t(r,i){return Object.keys(i).reduce((function(t,e){e.startsWith(r)&&(t[e.substr(r.length)]=i[e]);return t}),{})}function e(e,a){var s=document.createElement("a");s.href=a;var o=s.search.slice(1).split("&").reduce((function(i,t){var e=t.split("="),a=e[0],s=e[1];return i[a]=r(s),i}),{}),n=[],c=o.ajs_uid,u=o.ajs_event,m=o.ajs_aid,d=i(e.options.useQueryString)?e.options.useQueryString:{},p=d.aid,f=void 0===p?/.+/:p,j=d.uid,_=void 0===j?/.+/:j;if(m){var v=Array.isArray(o.ajs_aid)?o.ajs_aid[0]:o.ajs_aid;f.test(v)&&e.setAnonymousId(v)}if(c){var y=Array.isArray(o.ajs_uid)?o.ajs_uid[0]:o.ajs_uid;if(_.test(y)){var l=t("ajs_trait_",o);n.push(e.identify(y,l))}}if(u){var b=Array.isArray(o.ajs_event)?o.ajs_event[0]:o.ajs_event,A=t("ajs_prop_",o);n.push(e.track(b,A))}return Promise.all(n)}export{e as queryString};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{C as r,U as e,x as t}from"./index.esm2.js";import"react/jsx-runtime";import"styled-components";import"office-ui-fabric-react";import"react";import"react-router-dom";import"react-is";import"events";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";const n=Object.freeze(Object.defineProperty({__proto__:null,default:function(r,e,t,n,o){for(e=e.split?e.split("."):e,n=0;n<e.length;n++)r=r?r[e[n]]:o;return r===o?t:r}},Symbol.toStringTag,{value:"Module"}));for(var o={},a={},i=[],u=0;u<64;)i[u]=0|4294967296*Math.sin(++u%Math.PI);const c=Object.freeze(Object.defineProperty({__proto__:null,default:function(r){var e,t,n,o=[e=1732584193,t=4023233417,~e,~t],a=[],c=unescape(encodeURI(r))+"",f=c.length;for(r=--f/4+2|15,a[--r]=8*f;~f;)a[f>>2]|=c.charCodeAt(f)<<8*f--;for(u=c=0;u<r;u+=16){for(f=o;c<64;f=[n=f[3],e+((n=f[0]+[e&t|~e&n,n&e|~n&t,e^t^n,t^(e|~n)][f=c>>4]+i[c]+~~a[u|15&[c,5*c+1,3*c+5,7*c][f]])<<(f=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*f+c++%4])|n>>>-f),e,t])e=0|f[1],t=f[2];for(c=4;c;)o[--c]+=f[c]}for(r="";c<32;)r+=(o[c>>3]>>4*(1^c++)&15).toString(16);return r}},Symbol.toStringTag,{value:"Module"})),f=e(c),l=e(n);
|
|
2
2
|
/**
|
|
3
3
|
* @license Apache-2.0
|
|
4
4
|
*
|
|
@@ -101,7 +101,7 @@ function(r){return r!=r},v=y,d=s,h=p;
|
|
|
101
101
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
102
102
|
* See the License for the specific language governing permissions and
|
|
103
103
|
* limitations under the License.
|
|
104
|
-
*/var
|
|
104
|
+
*/var U=function(r,e,t){var n,o,a,i;if("object"!=typeof r||null===r||"[object Array]"===A.call(r))throw new TypeError("invalid argument. First argument must be an object. Value: `"+r+"`.");if("object"!=typeof t||null===t||"[object Array]"===A.call(t))throw new TypeError("invalid argument. Property descriptor must be an object. Value: `"+t+"`.");if((o="value"in t)&&(S.call(r,e)||N.call(r,e)?(n=r.__proto__,r.__proto__=j,delete r[e],r[e]=t.value,r.__proto__=n):r[e]=t.value),a="get"in t,i="set"in t,o&&(a||i))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return a&&O&&O.call(r,e,t.get),i&&k&&k.call(r,e,t.set),r},E=w,I=U,P=_()?E:I;
|
|
105
105
|
/**
|
|
106
106
|
* @license Apache-2.0
|
|
107
107
|
*
|
|
@@ -170,7 +170,7 @@ function(){return"function"==typeof Symbol&&"symbol"==typeof Symbol("foo")}();
|
|
|
170
170
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
171
171
|
* See the License for the specific language governing permissions and
|
|
172
172
|
* limitations under the License.
|
|
173
|
-
*/var
|
|
173
|
+
*/var C=function(){return T&&"symbol"==typeof Symbol.toStringTag},H=Object.prototype.toString,J=H;
|
|
174
174
|
/**
|
|
175
175
|
* @license Apache-2.0
|
|
176
176
|
*
|
|
@@ -204,7 +204,7 @@ function(){return"function"==typeof Symbol&&"symbol"==typeof Symbol("foo")}();
|
|
|
204
204
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
205
205
|
* See the License for the specific language governing permissions and
|
|
206
206
|
* limitations under the License.
|
|
207
|
-
*/var G=function(r,e){return null!=r&&D.call(r,e)},L=G,R="function"==typeof Symbol?Symbol.toStringTag:"",V=L,W=R,z=
|
|
207
|
+
*/var G=function(r,e){return null!=r&&D.call(r,e)},L=G,R="function"==typeof Symbol?Symbol.toStringTag:"",V=L,W=R,z=H;
|
|
208
208
|
/**
|
|
209
209
|
* @license Apache-2.0
|
|
210
210
|
*
|
|
@@ -221,7 +221,7 @@ function(){return"function"==typeof Symbol&&"symbol"==typeof Symbol("foo")}();
|
|
|
221
221
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
222
222
|
* See the License for the specific language governing permissions and
|
|
223
223
|
* limitations under the License.
|
|
224
|
-
*/var B=function(r){var e,t,n;if(null==r)return z.call(r);t=r[W],e=V(r,W);try{r[W]=void 0}catch(e){return z.call(r)}return n=z.call(r),e?r[W]=t:delete r[W],n},Q=x,Y=B,q=
|
|
224
|
+
*/var B=function(r){var e,t,n;if(null==r)return z.call(r);t=r[W],e=V(r,W);try{r[W]=void 0}catch(e){return z.call(r)}return n=z.call(r),e?r[W]=t:delete r[W],n},Q=x,Y=B,q=C()?Y:Q,K=q,X="function"==typeof Uint32Array;
|
|
225
225
|
/**
|
|
226
226
|
* @license Apache-2.0
|
|
227
227
|
*
|
|
@@ -428,7 +428,7 @@ function(){throw new Error("not implemented")},hr=yr()?vr:dr,mr=q,br="function"=
|
|
|
428
428
|
* See the License for the specific language governing permissions and
|
|
429
429
|
* limitations under the License.
|
|
430
430
|
*/
|
|
431
|
-
function(){throw new Error("not implemented")},Sr=Ar()?Or:kr,Nr=q,
|
|
431
|
+
function(){throw new Error("not implemented")},Sr=Ar()?Or:kr,Nr=q,Ur="function"==typeof Uint16Array;
|
|
432
432
|
/**
|
|
433
433
|
* @license Apache-2.0
|
|
434
434
|
*
|
|
@@ -445,7 +445,7 @@ function(){throw new Error("not implemented")},Sr=Ar()?Or:kr,Nr=q,Er="function"=
|
|
|
445
445
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
446
446
|
* See the License for the specific language governing permissions and
|
|
447
447
|
* limitations under the License.
|
|
448
|
-
*/var
|
|
448
|
+
*/var Er=function(r){return Ur&&r instanceof Uint16Array||"[object Uint16Array]"===Nr(r)},Ir="function"==typeof Uint16Array?Uint16Array:null,Pr=Er,Mr=65535,Fr=Ir;
|
|
449
449
|
/**
|
|
450
450
|
* @license Apache-2.0
|
|
451
451
|
*
|
|
@@ -479,7 +479,7 @@ function(){throw new Error("not implemented")},Sr=Ar()?Or:kr,Nr=q,Er="function"=
|
|
|
479
479
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
480
480
|
* See the License for the specific language governing permissions and
|
|
481
481
|
* limitations under the License.
|
|
482
|
-
*/var Hr
|
|
482
|
+
*/var Cr,Hr="function"==typeof Uint16Array?Uint16Array:void 0,Jr=
|
|
483
483
|
/**
|
|
484
484
|
* @license Apache-2.0
|
|
485
485
|
*
|
|
@@ -497,7 +497,7 @@ function(){throw new Error("not implemented")},Sr=Ar()?Or:kr,Nr=q,Er="function"=
|
|
|
497
497
|
* See the License for the specific language governing permissions and
|
|
498
498
|
* limitations under the License.
|
|
499
499
|
*/
|
|
500
|
-
function(){throw new Error("not implemented")},xr={uint16:Tr()?
|
|
500
|
+
function(){throw new Error("not implemented")},xr={uint16:Tr()?Hr:Jr,uint8:Sr};
|
|
501
501
|
/**
|
|
502
502
|
* @license Apache-2.0
|
|
503
503
|
*
|
|
@@ -514,7 +514,7 @@ function(){throw new Error("not implemented")},xr={uint16:Tr()?Cr:Jr,uint8:Sr};
|
|
|
514
514
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
515
515
|
* See the License for the specific language governing permissions and
|
|
516
516
|
* limitations under the License.
|
|
517
|
-
*/(
|
|
517
|
+
*/(Cr=new xr.uint16(1))[0]=4660;var Dr,Gr,Lr=52===new xr.uint8(Cr.buffer)[0];
|
|
518
518
|
/**
|
|
519
519
|
* @license Apache-2.0
|
|
520
520
|
*
|
|
@@ -719,7 +719,7 @@ function(r){return Math.abs(r)},je=b,Ae=v,Oe=we;
|
|
|
719
719
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
720
720
|
* See the License for the specific language governing permissions and
|
|
721
721
|
* limitations under the License.
|
|
722
|
-
*/var Ne=function(r){return Se(r,[0,0],1,0)},
|
|
722
|
+
*/var Ne=function(r){return Se(r,[0,0],1,0)},Ue=Ne;
|
|
723
723
|
/**
|
|
724
724
|
* @license Apache-2.0
|
|
725
725
|
*
|
|
@@ -736,7 +736,7 @@ function(r){return Math.abs(r)},je=b,Ae=v,Oe=we;
|
|
|
736
736
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
737
737
|
* See the License for the specific language governing permissions and
|
|
738
738
|
* limitations under the License.
|
|
739
|
-
*/F(
|
|
739
|
+
*/F(Ue,"assign",ke);var Ee=ie;
|
|
740
740
|
/**
|
|
741
741
|
* @license Apache-2.0
|
|
742
742
|
*
|
|
@@ -753,7 +753,7 @@ function(r){return Math.abs(r)},je=b,Ae=v,Oe=we;
|
|
|
753
753
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
754
754
|
* See the License for the specific language governing permissions and
|
|
755
755
|
* limitations under the License.
|
|
756
|
-
*/var Ie=function(r){var e=
|
|
756
|
+
*/var Ie=function(r){var e=Ee(r);return(e=(2146435072&e)>>>20)-1023|0},Pe=s,Me=p,Fe=v,Te=b,Ce=_e,He=Ue,Je=Ie,xe=Zr,De=ve,Ge=[0,0],Le=[0,0];
|
|
757
757
|
/**
|
|
758
758
|
* @license Apache-2.0
|
|
759
759
|
*
|
|
@@ -770,7 +770,7 @@ function(r){return Math.abs(r)},je=b,Ae=v,Oe=we;
|
|
|
770
770
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
771
771
|
* See the License for the specific language governing permissions and
|
|
772
772
|
* limitations under the License.
|
|
773
|
-
*/var Re=function(r,e){var t,n;return 0===r||Fe(r)||Te(r)?r:(
|
|
773
|
+
*/var Re=function(r,e){var t,n;return 0===r||Fe(r)||Te(r)?r:(He(Ge),e+=Ge[1],(e+=Je(r=Ge[0]))<-1074?Ce(0,r):e>1023?r<0?Me:Pe:(e<=-1023?(e+=52,n=2220446049250313e-31):n=1,xe(Le),t=Le[0],t&=2148532223,n*De(t|=e+1023<<20,Le[1])))},Ve=Re;
|
|
774
774
|
/**
|
|
775
775
|
* @license Apache-2.0
|
|
776
776
|
*
|
package/index.d.ts
CHANGED
|
@@ -287,6 +287,8 @@ interface BaseSubscription {
|
|
|
287
287
|
pageTrackingInfo: PageTrackingInfo;
|
|
288
288
|
termsAndConditionsHash?: string;
|
|
289
289
|
logoInfo: LogoInfo;
|
|
290
|
+
analyticsConfig: AnalyticsSubscriptionConfig;
|
|
291
|
+
systemMessage?: SystemMessage;
|
|
290
292
|
disabled: boolean;
|
|
291
293
|
}
|
|
292
294
|
interface LogoInfo {
|
|
@@ -302,6 +304,15 @@ interface RegionSettings {
|
|
|
302
304
|
name: string;
|
|
303
305
|
contentRegion: string;
|
|
304
306
|
}
|
|
307
|
+
interface AnalyticsSubscriptionConfig {
|
|
308
|
+
matomoDimensionMapping: {
|
|
309
|
+
[key: string]: number;
|
|
310
|
+
};
|
|
311
|
+
enableTransferSegment: boolean;
|
|
312
|
+
matomoSiteId: number;
|
|
313
|
+
matomoUrl: string;
|
|
314
|
+
analyticProvider: number;
|
|
315
|
+
}
|
|
305
316
|
interface SubscriptionSummary extends BaseSubscription {
|
|
306
317
|
languages: LanguageBase[];
|
|
307
318
|
featureMask: string;
|
|
@@ -313,6 +324,9 @@ interface SubscriptionSummary extends BaseSubscription {
|
|
|
313
324
|
allowSelfRegistration?: boolean;
|
|
314
325
|
brandFolderConfig?: BrandFolderConfig;
|
|
315
326
|
hideSubscriptionName?: boolean;
|
|
327
|
+
profileCardHiddenProperties: string[];
|
|
328
|
+
useOriginalBannerImageQuality: boolean;
|
|
329
|
+
useLosslessImageQuality: boolean;
|
|
316
330
|
}
|
|
317
331
|
interface BrandFolderConfig {
|
|
318
332
|
sections?: string[];
|
|
@@ -412,6 +426,14 @@ declare enum FieldMode {
|
|
|
412
426
|
AdminOnly = 1,
|
|
413
427
|
UserEditable = 2,
|
|
414
428
|
Hidden = 3
|
|
429
|
+
}
|
|
430
|
+
interface SystemMessage {
|
|
431
|
+
textColor: string;
|
|
432
|
+
message: string;
|
|
433
|
+
backgroundColor: string;
|
|
434
|
+
icon: string;
|
|
435
|
+
startDate: Date;
|
|
436
|
+
endDate: Date;
|
|
415
437
|
}
|
|
416
438
|
|
|
417
439
|
interface ItemStatistics {
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{aN as AuthorFilter,aM as AuthorToolbarFilter,ac as Avatar,aF as ChannelFilter,aS as ChannelSelector,aG as ChannelToolbarFilter,aJ as ClearAllFiltersButton,ba as ContactToolbarFilter,b0 as EditorToolbarIndicators,bq as ErrorType,bp as ErrorWrapper,bb as EventDatesToolbarFilter,a1 as EventDetail,ax as EventDetailPreview,bg as EventEditor,bh as EventEditorContextProvider,bi as EventEditorPanel,bk as EventEditorToolbarRecurringControls,bj as EventEditorToolbarStateActions,aq as EventItemContextProvider,aA as EventItemPreviewContextProvider,aR as EventView,af as EventsEditorDashboard,a6 as EventsGrid,a7 as EventsList,aO as FilterSearch,b5 as GroupNotificationsSettings,bv as HeroPagingType,a4 as ItemLayoutMode,aX as ItemResourceTypes,a_ as KeywordPicker,aK as KeywordsFilter,aL as KeywordsToolbarFilter,bc as LogicalOperator,a8 as ManageChannels
|
|
1
|
+
export{aN as AuthorFilter,aM as AuthorToolbarFilter,ac as Avatar,aF as ChannelFilter,aS as ChannelSelector,aG as ChannelToolbarFilter,aJ as ClearAllFiltersButton,ba as ContactToolbarFilter,b0 as EditorToolbarIndicators,bq as ErrorType,bp as ErrorWrapper,bb as EventDatesToolbarFilter,a1 as EventDetail,ax as EventDetailPreview,bg as EventEditor,bh as EventEditorContextProvider,bi as EventEditorPanel,bk as EventEditorToolbarRecurringControls,bj as EventEditorToolbarStateActions,aq as EventItemContextProvider,aA as EventItemPreviewContextProvider,aR as EventView,af as EventsEditorDashboard,a6 as EventsGrid,a7 as EventsList,aO as FilterSearch,b5 as GroupNotificationsSettings,bv as HeroPagingType,a4 as ItemLayoutMode,aX as ItemResourceTypes,a_ as KeywordPicker,aK as KeywordsFilter,aL as KeywordsToolbarFilter,bc as LogicalOperator,a8 as ManageChannels,Z as NewsDetail,av as NewsDetailPreview,aT as NewsEditor,aU as NewsEditorContextProvider,ae as NewsEditorDashboard,aZ as NewsEditorPanel,aY as NewsEditorToolbarStateActions,a5 as NewsGrid,ad as NewsHero,ao as NewsItemContextProvider,ay as NewsItemPreviewContextProvider,a3 as NewsList,a0 as PageDetail,aw as PageDetailPreview,bm as PageEditor,bl as PageEditorContextProvider,bo as PageEditorPanel,bn as PageEditorToolbarStateActions,ap as PageItemContextProvider,az as PageItemPreviewContextProvider,bf as PageType,aV as PageViewTrackerSettingsContextProvider,bd as PagesGrid,be as PagesList,a2 as PostDetail,b4 as PostGroupSelector,b7 as PostGroupSelectorButton,b3 as PostGroupsPicker,b1 as PostInputBox,b2 as PostList,Y as PostListContextProvider,aI as PublishingDateFilter,aH as PublishingDateToolbarFilter,W as ReachContextProvider,a$ as ReachDialog,aW as TargetLinkOverrideContextProvider,ag as Toolbar,aj as ToolbarBookmarkButton,ak as ToolbarChannelSelector,an as ToolbarCloseButton,aQ as ToolbarEventViewSelector,aC as ToolbarFilterModal,aD as ToolbarFilterModalButton,aB as ToolbarFilterPanel,aP as ToolbarFilterSearch,b8 as ToolbarFilterToggleButton,ah as ToolbarIconButton,ar as ToolbarLanguageSelector,as as ToolbarManageButton,au as ToolbarManageItemButton,at as ToolbarManageNewsItemButton,al as ToolbarMarkAllEventsAsReadButton,am as ToolbarMarkAllNewsAsReadButton,ar as ToolbarNewsLanguageSelector,b6 as ToolbarPostNotificationButton,ai as ToolbarUnreadItemsButton,ab as UserDetails,aE as VerticalFilterPanel,b9 as isFilterActive,a9 as useCurrentUser,bt as useEventsStreamDataLoader,aa as useLazySubscriptionContext,bu as useNewsStreamDataLoader,br as usePagesStreamDataLoader,bs as usePostsStreamDataLoader}from"./index.esm2.js";import"react/jsx-runtime";import"styled-components";import"office-ui-fabric-react";import"react";import"react-router-dom";import"react-is";import"events";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";
|