@livetiles/reach-components-react 0.5.0-preview.832 → 0.5.0-preview.835
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/EmojiPicker.esm.esm.js +1 -1
- package/EmojiPicker.esm.esm2.js +1 -0
- package/SharedItemDetailPreview.d.ts +1 -1
- package/da.async.esm2.esm.js +1 -0
- package/de.async.esm2.esm.js +1 -1
- package/emoji.esm.js +1 -0
- package/en.async.esm.esm.js +1 -1
- package/es.async.esm2.esm.js +1 -1
- package/fr.async.esm2.esm.js +1 -1
- package/index-86828242.esm.js +1 -1
- package/index-9966489c.esm.js +1 -1
- package/index-b8e04782.esm.js +13 -13
- package/index-d4477314.esm.js +1 -1
- package/index.d.ts +135 -122
- package/index.esm.js +1 -1
- package/index.esm2.js +109 -19
- package/index.umd-3ae1841e.esm.js +1 -1
- package/index.umd.js +169 -63
- package/index10.esm.js +4 -0
- package/input-shims.esm.js +4 -0
- package/ios.transition.esm.js +4 -0
- package/it.async.esm2.esm.js +1 -1
- package/ja.async.esm2.esm.js +1 -1
- package/md.transition.esm.js +4 -0
- package/package.json +1 -1
- package/status-tap.esm.js +4 -0
- package/swipe-back.esm.js +4 -0
- package/swiper.bundle.esm.js +4 -0
- package/tr.async.esm2.esm.js +1 -1
- package/zh-CN.async.esm2.esm.js +1 -1
- package/zh-TW.async.esm2.esm.js +1 -1
- package/AnalyticsDummyContextProvider.d.ts +0 -2
package/index-86828242.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{z as r}from"./index.esm2.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";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,t){return Object.keys(t).reduce((function(i,e){e.startsWith(r)&&(i[e.substr(r.length)]=t[e]);return i}),{})}function i(i,e){var a=document.createElement("a");a.href=e;var s=a.search.slice(1).split("&").reduce((function(t,i){var e=i.split("="),a=e[0],s=e[1];return t[a]=r(s),t}),{}),o=[],c=s.ajs_uid,n=s.ajs_event;if(s.ajs_aid){var m=Array.isArray(s.ajs_aid)?s.ajs_aid[0]:s.ajs_aid;i.setAnonymousId(m)}if(c){var u=Array.isArray(s.ajs_uid)?s.ajs_uid[0]:s.ajs_uid,f=t("ajs_trait_",s);o.push(i.identify(u,f))}if(n){var p=Array.isArray(s.ajs_event)?s.ajs_event[0]:s.ajs_event,d=t("ajs_prop_",s);o.push(i.track(p,d))}return Promise.all(o)}export{i as queryString};
|
package/index-9966489c.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as e,A as t,w as r,y as n,
|
|
1
|
+
import{x as e,A as t,w as r,y as n,T as i,I as o}from"./index.esm2.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";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(o,a,c){return e(this,void 0,void 0,(function(){function s(a,c){return e(this,void 0,void 0,(function(){var e,s,u;return t(this,(function(t){switch(t.label){case 0:return e=!1,s=null,[4,n(c({payload:i(a,{clone:!0,traverse:!1}),integration:o,next:function(t){e=!0,null===t&&(s=null),t&&(s=t.obj)}}))];case 1:return t.sent(),!e&&null!==s&&(s.integrations=r(r({},a.integrations),((u={})[o]=!1,u))),[2,s]}}))}))}var u,l,f,d;return t(this,(function(e){switch(e.label){case 0:u=0,l=c,e.label=1;case 1:return u<l.length?(f=l[u],[4,s(a,f)]):[3,4];case 2:if(null===(d=e.sent()))return[2,null];a=d,e.label=3;case 3:return u++,[3,1];case 4:return[2,a]}}))}))}function c(r,a){function c(c){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=!1,[4,n(r({payload:i(c.event,{clone:!0,traverse:!1}),integrations:null!=a?a:{},next:function(t){e=!0,t&&(c.event=t.obj)}}))];case 1:if(t.sent(),!e)throw new o({retry:!1,type:"middleware_cancellation",reason:"Middleware `next` function skipped"});return[2,c]}}))}))}return{name:"Source Middleware ".concat(r.name),type:"before",version:"0.1.0",isLoaded:function(){return!0},load:function(e){return Promise.resolve(e)},track:c,page:c,identify:c,alias:c,group:c}}export{a as applyDestinationMiddleware,c as sourceMiddlewarePlugin};
|
package/index-b8e04782.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as t,x as e,A as n,
|
|
1
|
+
import{M as t,x as e,A as n,B as r,H as i,K as o,C as a,y as u,w as s,I as c,Q as f,D as l,U as d,R as p,E as h,F as v,G as y,J as g,N as m,O as w,S as b,V as _}from"./index.esm2.js";import{l as j}from"./is-plan-event-enabled-d9660f36.esm.js";import{applyDestinationMiddleware as A}from"./index-9966489c.esm.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";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 O=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e,n,r,i){for(e=e.split?e.split("."):e,r=0;r<e.length;r++)t=t?t[e[r]]:i;return t===i?n:t}},Symbol.toStringTag,{value:"Module"}));for(var k={},S={},N=[],I=0;I<64;)N[I]=0|4294967296*Math.sin(++I%Math.PI);const P=Object.freeze(Object.defineProperty({__proto__:null,default:function(t){var e,n,r,i=[e=1732584193,n=4023233417,~e,~n],o=[],a=unescape(encodeURI(t))+"",u=a.length;for(t=--u/4+2|15,o[--t]=8*u;~u;)o[u>>2]|=a.charCodeAt(u)<<8*u--;for(I=a=0;I<t;I+=16){for(u=i;a<64;u=[r=u[3],e+((r=u[0]+[e&n|~e&r,r&e|~r&n,e^n^r,n^(e|~r)][u=a>>4]+N[a]+~~o[I|15&[a,5*a+1,3*a+5,7*a][u]])<<(u=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*u+a++%4])|r>>>-u),e,n])e=0|u[1],n=u[2];for(a=4;a;)i[--a]+=u[a]}for(t="";a<32;)t+=(i[a>>3]>>4*(1^a++)&15).toString(16);return t}},Symbol.toStringTag,{value:"Module"})),U=h(P),M=h(O);
|
|
2
2
|
/**
|
|
3
3
|
* @license Apache-2.0
|
|
4
4
|
*
|
|
@@ -50,7 +50,7 @@ import{M as t,x as e,A as n,C as r,H as i,K as o,D as a,y as u,w as s,I as c,Q a
|
|
|
50
50
|
* See the License for the specific language governing permissions and
|
|
51
51
|
* limitations under the License.
|
|
52
52
|
*/
|
|
53
|
-
function(t){return t!=t},D=z,
|
|
53
|
+
function(t){return t!=t},D=z,T=E,J=F;
|
|
54
54
|
/**
|
|
55
55
|
* @license Apache-2.0
|
|
56
56
|
*
|
|
@@ -67,7 +67,7 @@ function(t){return t!=t},D=z,L=E,T=F;
|
|
|
67
67
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
68
68
|
* See the License for the specific language governing permissions and
|
|
69
69
|
* limitations under the License.
|
|
70
|
-
*/var
|
|
70
|
+
*/var L=function(t){return t===T||t===J},C=L;
|
|
71
71
|
/**
|
|
72
72
|
* @license Apache-2.0
|
|
73
73
|
*
|
|
@@ -119,7 +119,7 @@ function(){return"function"==typeof Symbol&&"symbol"==typeof Symbol("foo")}();
|
|
|
119
119
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
120
120
|
* See the License for the specific language governing permissions and
|
|
121
121
|
* limitations under the License.
|
|
122
|
-
*/var R=function(){return H&&"symbol"==typeof Symbol.toStringTag},x=Object.prototype.toString,
|
|
122
|
+
*/var R=function(){return H&&"symbol"==typeof Symbol.toStringTag},x=Object.prototype.toString,B=x;
|
|
123
123
|
/**
|
|
124
124
|
* @license Apache-2.0
|
|
125
125
|
*
|
|
@@ -136,7 +136,7 @@ function(){return"function"==typeof Symbol&&"symbol"==typeof Symbol("foo")}();
|
|
|
136
136
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
137
137
|
* See the License for the specific language governing permissions and
|
|
138
138
|
* limitations under the License.
|
|
139
|
-
*/var
|
|
139
|
+
*/var G=function(t){return B.call(t)},W=Object.prototype.hasOwnProperty;
|
|
140
140
|
/**
|
|
141
141
|
* @license Apache-2.0
|
|
142
142
|
*
|
|
@@ -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 Z=function(t){var e,n,r;if(null==t)return X.call(t);n=t[K],e=q(t,K);try{t[K]=void 0}catch(e){return X.call(t)}return r=X.call(t),e?t[K]=n:delete t[K],r},$=
|
|
173
|
+
*/var Z=function(t){var e,n,r;if(null==t)return X.call(t);n=t[K],e=q(t,K);try{t[K]=void 0}catch(e){return X.call(t)}return r=X.call(t),e?t[K]=n:delete t[K],r},$=G,tt=Z,et=R()?tt:$,nt=et,rt="function"==typeof Uint32Array;
|
|
174
174
|
/**
|
|
175
175
|
* @license Apache-2.0
|
|
176
176
|
*
|
|
@@ -394,7 +394,7 @@ function(){throw new Error("not implemented")},Et=Pt()?Ut:Mt,Ft=et,zt="function"
|
|
|
394
394
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
395
395
|
* See the License for the specific language governing permissions and
|
|
396
396
|
* limitations under the License.
|
|
397
|
-
*/var Dt=function(t){return zt&&t instanceof Uint16Array||"[object Uint16Array]"===Ft(t)},
|
|
397
|
+
*/var Dt=function(t){return zt&&t instanceof Uint16Array||"[object Uint16Array]"===Ft(t)},Tt="function"==typeof Uint16Array?Uint16Array:null,Jt=Dt,Lt=65535,Ct=Tt;
|
|
398
398
|
/**
|
|
399
399
|
* @license Apache-2.0
|
|
400
400
|
*
|
|
@@ -411,7 +411,7 @@ function(){throw new Error("not implemented")},Et=Pt()?Ut:Mt,Ft=et,zt="function"
|
|
|
411
411
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
412
412
|
* See the License for the specific language governing permissions and
|
|
413
413
|
* limitations under the License.
|
|
414
|
-
*/var Ht=function(){var t,e;if("function"!=typeof Ct)return!1;try{e=new Ct(e=[1,3.14,-3.14,
|
|
414
|
+
*/var Ht=function(){var t,e;if("function"!=typeof Ct)return!1;try{e=new Ct(e=[1,3.14,-3.14,Lt+1,Lt+2]),t=Jt(e)&&1===e[0]&&3===e[1]&&e[2]===Lt-2&&0===e[3]&&1===e[4]}catch(e){t=!1}return t};
|
|
415
415
|
/**
|
|
416
416
|
* @license Apache-2.0
|
|
417
417
|
*
|
|
@@ -428,7 +428,7 @@ function(){throw new Error("not implemented")},Et=Pt()?Ut:Mt,Ft=et,zt="function"
|
|
|
428
428
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
429
429
|
* See the License for the specific language governing permissions and
|
|
430
430
|
* limitations under the License.
|
|
431
|
-
*/var Rt,xt="function"==typeof Uint16Array?Uint16Array:void 0,
|
|
431
|
+
*/var Rt,xt="function"==typeof Uint16Array?Uint16Array:void 0,Bt=
|
|
432
432
|
/**
|
|
433
433
|
* @license Apache-2.0
|
|
434
434
|
*
|
|
@@ -446,7 +446,7 @@ function(){throw new Error("not implemented")},Et=Pt()?Ut:Mt,Ft=et,zt="function"
|
|
|
446
446
|
* See the License for the specific language governing permissions and
|
|
447
447
|
* limitations under the License.
|
|
448
448
|
*/
|
|
449
|
-
function(){throw new Error("not implemented")},
|
|
449
|
+
function(){throw new Error("not implemented")},Gt={uint16:Ht()?xt:Bt,uint8:Et};
|
|
450
450
|
/**
|
|
451
451
|
* @license Apache-2.0
|
|
452
452
|
*
|
|
@@ -463,7 +463,7 @@ function(){throw new Error("not implemented")},Bt={uint16:Ht()?xt:Gt,uint8:Et};
|
|
|
463
463
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
464
464
|
* See the License for the specific language governing permissions and
|
|
465
465
|
* limitations under the License.
|
|
466
|
-
*/(Rt=new
|
|
466
|
+
*/(Rt=new Gt.uint16(1))[0]=4660;var Wt,Qt,Vt=52===new Gt.uint8(Rt.buffer)[0];
|
|
467
467
|
/**
|
|
468
468
|
* @license Apache-2.0
|
|
469
469
|
*
|
|
@@ -668,7 +668,7 @@ function(t){return Math.abs(t)},ke=C,Se=D,Ne=Oe;
|
|
|
668
668
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
669
669
|
* See the License for the specific language governing permissions and
|
|
670
670
|
* limitations under the License.
|
|
671
|
-
*/var Ee=function(t){var e=Me(t);return(e=(2146435072&e)>>>20)-1023|0},Fe=E,ze=F,De=D,
|
|
671
|
+
*/var Ee=function(t){var e=Me(t);return(e=(2146435072&e)>>>20)-1023|0},Fe=E,ze=F,De=D,Te=C,Je=Ae,Le=Ue,Ce=Ee,He=re,Re=me,xe=[0,0],Be=[0,0];
|
|
672
672
|
/**
|
|
673
673
|
* @license Apache-2.0
|
|
674
674
|
*
|
|
@@ -685,7 +685,7 @@ function(t){return Math.abs(t)},ke=C,Se=D,Ne=Oe;
|
|
|
685
685
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
686
686
|
* See the License for the specific language governing permissions and
|
|
687
687
|
* limitations under the License.
|
|
688
|
-
*/var
|
|
688
|
+
*/var Ge=function(t,e){var n,r;return 0===t||De(t)||Te(t)?t:(Le(xe,t),e+=xe[1],(e+=Ce(t=xe[0]))<-1074?Je(0,t):e>1023?t<0?ze:Fe:(e<=-1023?(e+=52,r=2220446049250313e-31):r=1,He(Be,t),n=Be[0],n&=2148532223,r*Re(n|=e+1023<<20,Be[1])))},We=Ge;
|
|
689
689
|
/**
|
|
690
690
|
* @license Apache-2.0
|
|
691
691
|
*
|
package/index-d4477314.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as e,A as r,U as t,H as i,
|
|
1
|
+
import{x as e,A as r,U as t,H as i,B as o}from"./index.esm2.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";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,a,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=a.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,a,s;return r(this,(function(r){switch(r.label){case 0:e=t.replace("@segment/",""),i=e,c&&(i=btoa(e).replace(/=/g,"")),a="".concat(m,"/middleware/").concat(i,"/latest/").concat(i,".js.gz"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,o(a)];case 2:return r.sent(),[2,window["".concat(e,"Middleware")]];case 3:return s=r.sent(),n.log("error",s),n.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}}))}))})),[4,Promise.all(d)]);case 1:return[2,p.sent().filter(Boolean)]}}))}))}export{n as remoteMiddlewares};
|
package/index.d.ts
CHANGED
|
@@ -72,10 +72,6 @@ interface PaginatedList<TItem> {
|
|
|
72
72
|
hasNextPage?: boolean;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
interface Resources {
|
|
76
|
-
[language: string]: Record<string, string>;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
75
|
interface BasicUserInformation {
|
|
80
76
|
displayName?: string;
|
|
81
77
|
userPrincipalName?: string;
|
|
@@ -95,120 +91,8 @@ interface Account extends BasicUserInformation {
|
|
|
95
91
|
tenantId?: string;
|
|
96
92
|
}
|
|
97
93
|
|
|
98
|
-
interface
|
|
99
|
-
|
|
100
|
-
name: string;
|
|
101
|
-
sendNotifications?: boolean;
|
|
102
|
-
isPinnedToNavigation?: boolean;
|
|
103
|
-
isMandatory?: boolean;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
interface PublishableItemNotificationSummary {
|
|
107
|
-
itemId: string;
|
|
108
|
-
title?: string;
|
|
109
|
-
channelIds?: string[];
|
|
110
|
-
publishingDate?: string;
|
|
111
|
-
}
|
|
112
|
-
declare enum GroupRoleNames {
|
|
113
|
-
Admin = "Admin",
|
|
114
|
-
Editor = "Editor",
|
|
115
|
-
Author = "Author",
|
|
116
|
-
Reader = "Reader",
|
|
117
|
-
LimitedReader = "LimitedReader",
|
|
118
|
-
None = "None"
|
|
119
|
-
}
|
|
120
|
-
declare enum GroupRoles {
|
|
121
|
-
None = 0,
|
|
122
|
-
LimitedReader = 5,
|
|
123
|
-
Reader = 10,
|
|
124
|
-
Author = 20,
|
|
125
|
-
Editor = 30,
|
|
126
|
-
Admin = 40
|
|
127
|
-
}
|
|
128
|
-
declare enum NotificationType {
|
|
129
|
-
None = 0,
|
|
130
|
-
MobilePush = 1,
|
|
131
|
-
Email = 2,
|
|
132
|
-
Teams = 4,
|
|
133
|
-
BrowserPush = 8
|
|
134
|
-
}
|
|
135
|
-
interface NotificationTypeSettings {
|
|
136
|
-
news: NotificationType;
|
|
137
|
-
posts: NotificationType;
|
|
138
|
-
comments: NotificationType;
|
|
139
|
-
mentions: NotificationType;
|
|
140
|
-
events: NotificationType;
|
|
141
|
-
chat: NotificationType;
|
|
142
|
-
pluginNotifications: {
|
|
143
|
-
[key: string]: NotificationType;
|
|
144
|
-
};
|
|
145
|
-
newsEditor: NotificationType;
|
|
146
|
-
eventEditor: NotificationType;
|
|
147
|
-
}
|
|
148
|
-
interface CurrentUser extends Account {
|
|
149
|
-
isEmailVerificationPending?: boolean;
|
|
150
|
-
isSubscriptionOwner: boolean;
|
|
151
|
-
givenName: string;
|
|
152
|
-
surname: string;
|
|
153
|
-
preferredUiLanguage: string;
|
|
154
|
-
preferredContentLanguage?: string;
|
|
155
|
-
preferredLocale?: string;
|
|
156
|
-
bookmarks: string[];
|
|
157
|
-
groups: UserGroup[];
|
|
158
|
-
subscription: SubscriptionSummary;
|
|
159
|
-
availableSubscriptions: SubscriptionSummary[];
|
|
160
|
-
channels: UserChannelSubscription[];
|
|
161
|
-
userHash: string;
|
|
162
|
-
unreadNews: PublishableItemNotificationSummary[];
|
|
163
|
-
unreadEvents: PublishableItemNotificationSummary[];
|
|
164
|
-
unreadPosts: {
|
|
165
|
-
groupId: string;
|
|
166
|
-
itemId: string;
|
|
167
|
-
}[];
|
|
168
|
-
unreadFeedItemsCount?: number;
|
|
169
|
-
mostRecentPostGroups: string[];
|
|
170
|
-
notificationTypeSettings: NotificationTypeSettings;
|
|
171
|
-
hasPendingRegistration?: boolean;
|
|
172
|
-
minRoles: UserMinRoles;
|
|
173
|
-
hasDirectory: boolean;
|
|
174
|
-
contacts: UserContact[];
|
|
175
|
-
termsAndConditionsApprovedHash: string;
|
|
176
|
-
isPublicUser?: boolean;
|
|
177
|
-
hasUnreadChats?: boolean;
|
|
178
|
-
publicSubscriptionIds?: string[];
|
|
179
|
-
}
|
|
180
|
-
interface UserContact {
|
|
181
|
-
tokenUniqueId: string;
|
|
182
|
-
tenantId: string;
|
|
183
|
-
}
|
|
184
|
-
interface GroupBase {
|
|
185
|
-
id: string;
|
|
186
|
-
name: string;
|
|
187
|
-
translations?: {
|
|
188
|
-
[key: string]: string;
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
interface UserGroup extends GroupBase {
|
|
192
|
-
allowPosts: boolean;
|
|
193
|
-
disablePostComments: boolean;
|
|
194
|
-
availableChannelIds: string[];
|
|
195
|
-
defaultChannelIds: string[];
|
|
196
|
-
mandatoryChannelIds: string[];
|
|
197
|
-
availableKeywordIds: string[];
|
|
198
|
-
defaultKeywordIds: string[];
|
|
199
|
-
mandatoryKeywordIds: string[];
|
|
200
|
-
role: UserGroupRole;
|
|
201
|
-
}
|
|
202
|
-
interface UserMinRoles {
|
|
203
|
-
isEditor: boolean;
|
|
204
|
-
isAuthor: boolean;
|
|
205
|
-
isAdmin: boolean;
|
|
206
|
-
isReader: boolean;
|
|
207
|
-
isSubscriptionOwner: boolean;
|
|
208
|
-
}
|
|
209
|
-
interface UserGroupRole {
|
|
210
|
-
roleValue: GroupRoles;
|
|
211
|
-
displayName: GroupRoleNames;
|
|
94
|
+
interface Resources {
|
|
95
|
+
[language: string]: Record<string, string>;
|
|
212
96
|
}
|
|
213
97
|
|
|
214
98
|
interface LanguageBase {
|
|
@@ -408,6 +292,122 @@ declare enum FieldMode {
|
|
|
408
292
|
Hidden = 3
|
|
409
293
|
}
|
|
410
294
|
|
|
295
|
+
interface UserChannelSubscription {
|
|
296
|
+
id: string;
|
|
297
|
+
name: string;
|
|
298
|
+
sendNotifications?: boolean;
|
|
299
|
+
isPinnedToNavigation?: boolean;
|
|
300
|
+
isMandatory?: boolean;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
interface PublishableItemNotificationSummary {
|
|
304
|
+
itemId: string;
|
|
305
|
+
title?: string;
|
|
306
|
+
channelIds?: string[];
|
|
307
|
+
publishingDate?: string;
|
|
308
|
+
}
|
|
309
|
+
declare enum GroupRoleNames {
|
|
310
|
+
Admin = "Admin",
|
|
311
|
+
Editor = "Editor",
|
|
312
|
+
Author = "Author",
|
|
313
|
+
Reader = "Reader",
|
|
314
|
+
LimitedReader = "LimitedReader",
|
|
315
|
+
None = "None"
|
|
316
|
+
}
|
|
317
|
+
declare enum GroupRoles {
|
|
318
|
+
None = 0,
|
|
319
|
+
LimitedReader = 5,
|
|
320
|
+
Reader = 10,
|
|
321
|
+
Author = 20,
|
|
322
|
+
Editor = 30,
|
|
323
|
+
Admin = 40
|
|
324
|
+
}
|
|
325
|
+
declare enum NotificationType {
|
|
326
|
+
None = 0,
|
|
327
|
+
MobilePush = 1,
|
|
328
|
+
Email = 2,
|
|
329
|
+
Teams = 4,
|
|
330
|
+
BrowserPush = 8
|
|
331
|
+
}
|
|
332
|
+
interface NotificationTypeSettings {
|
|
333
|
+
news: NotificationType;
|
|
334
|
+
posts: NotificationType;
|
|
335
|
+
comments: NotificationType;
|
|
336
|
+
mentions: NotificationType;
|
|
337
|
+
events: NotificationType;
|
|
338
|
+
chat: NotificationType;
|
|
339
|
+
pluginNotifications: {
|
|
340
|
+
[key: string]: NotificationType;
|
|
341
|
+
};
|
|
342
|
+
newsEditor: NotificationType;
|
|
343
|
+
eventEditor: NotificationType;
|
|
344
|
+
}
|
|
345
|
+
interface CurrentUser extends Account {
|
|
346
|
+
isEmailVerificationPending?: boolean;
|
|
347
|
+
isSubscriptionOwner: boolean;
|
|
348
|
+
givenName: string;
|
|
349
|
+
surname: string;
|
|
350
|
+
preferredUiLanguage: string;
|
|
351
|
+
preferredContentLanguage?: string;
|
|
352
|
+
preferredLocale?: string;
|
|
353
|
+
bookmarks: string[];
|
|
354
|
+
groups: UserGroup[];
|
|
355
|
+
subscription: SubscriptionSummary;
|
|
356
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
357
|
+
channels: UserChannelSubscription[];
|
|
358
|
+
userHash: string;
|
|
359
|
+
unreadNews: PublishableItemNotificationSummary[];
|
|
360
|
+
unreadEvents: PublishableItemNotificationSummary[];
|
|
361
|
+
unreadPosts: {
|
|
362
|
+
groupId: string;
|
|
363
|
+
itemId: string;
|
|
364
|
+
}[];
|
|
365
|
+
unreadFeedItemsCount?: number;
|
|
366
|
+
mostRecentPostGroups: string[];
|
|
367
|
+
notificationTypeSettings: NotificationTypeSettings;
|
|
368
|
+
hasPendingRegistration?: boolean;
|
|
369
|
+
minRoles: UserMinRoles;
|
|
370
|
+
hasDirectory: boolean;
|
|
371
|
+
contacts: UserContact[];
|
|
372
|
+
termsAndConditionsApprovedHash: string;
|
|
373
|
+
isPublicUser?: boolean;
|
|
374
|
+
hasUnreadChats?: boolean;
|
|
375
|
+
publicSubscriptionIds?: string[];
|
|
376
|
+
}
|
|
377
|
+
interface UserContact {
|
|
378
|
+
tokenUniqueId: string;
|
|
379
|
+
tenantId: string;
|
|
380
|
+
}
|
|
381
|
+
interface GroupBase {
|
|
382
|
+
id: string;
|
|
383
|
+
name: string;
|
|
384
|
+
translations?: {
|
|
385
|
+
[key: string]: string;
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
interface UserGroup extends GroupBase {
|
|
389
|
+
allowPosts: boolean;
|
|
390
|
+
disablePostComments: boolean;
|
|
391
|
+
availableChannelIds: string[];
|
|
392
|
+
defaultChannelIds: string[];
|
|
393
|
+
mandatoryChannelIds: string[];
|
|
394
|
+
availableKeywordIds: string[];
|
|
395
|
+
defaultKeywordIds: string[];
|
|
396
|
+
mandatoryKeywordIds: string[];
|
|
397
|
+
role: UserGroupRole;
|
|
398
|
+
}
|
|
399
|
+
interface UserMinRoles {
|
|
400
|
+
isEditor: boolean;
|
|
401
|
+
isAuthor: boolean;
|
|
402
|
+
isAdmin: boolean;
|
|
403
|
+
isReader: boolean;
|
|
404
|
+
isSubscriptionOwner: boolean;
|
|
405
|
+
}
|
|
406
|
+
interface UserGroupRole {
|
|
407
|
+
roleValue: GroupRoles;
|
|
408
|
+
displayName: GroupRoleNames;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
411
|
interface ItemStatistics {
|
|
412
412
|
commentCount?: number;
|
|
413
413
|
likeCount?: number;
|
|
@@ -450,7 +450,6 @@ interface NewsItem extends SchedulableItem {
|
|
|
450
450
|
expiryDate?: string;
|
|
451
451
|
knownState: KnownNewsState;
|
|
452
452
|
hasNewComments?: boolean;
|
|
453
|
-
isLiked?: boolean;
|
|
454
453
|
}
|
|
455
454
|
interface NewsItemAlertOptions {
|
|
456
455
|
duration?: string;
|
|
@@ -470,6 +469,19 @@ interface BaseItem {
|
|
|
470
469
|
id?: string;
|
|
471
470
|
statistics?: ItemStatistics;
|
|
472
471
|
poll?: Poll;
|
|
472
|
+
searchHighlights?: SearchHighlightSummary;
|
|
473
|
+
}
|
|
474
|
+
interface SearchHighlightSummary {
|
|
475
|
+
title: SearchHighlight[];
|
|
476
|
+
content: SearchHighlight[];
|
|
477
|
+
}
|
|
478
|
+
interface SearchHighlight {
|
|
479
|
+
language: string;
|
|
480
|
+
texts: {
|
|
481
|
+
value: string;
|
|
482
|
+
type: 'text' | 'hit';
|
|
483
|
+
}[];
|
|
484
|
+
score: number;
|
|
473
485
|
}
|
|
474
486
|
interface Poll {
|
|
475
487
|
questions: PollQuestion[];
|
|
@@ -504,7 +516,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
504
516
|
headline?: string;
|
|
505
517
|
intro?: string;
|
|
506
518
|
body?: string;
|
|
507
|
-
bodyRaw?: string;
|
|
508
519
|
customProperties?: {
|
|
509
520
|
[key: string]: any;
|
|
510
521
|
};
|
|
@@ -569,6 +580,7 @@ interface PublishableItem extends BaseItem {
|
|
|
569
580
|
statistics?: ItemStatistics;
|
|
570
581
|
useExternalContent?: boolean;
|
|
571
582
|
isDemoContent?: boolean;
|
|
583
|
+
isLiked?: boolean;
|
|
572
584
|
}
|
|
573
585
|
interface PollTranslation {
|
|
574
586
|
questions: QuestionTranslations[];
|
|
@@ -634,6 +646,7 @@ interface Comment extends ItemWithAttachments {
|
|
|
634
646
|
id: string;
|
|
635
647
|
parentItemId: string;
|
|
636
648
|
content: string;
|
|
649
|
+
formattedContent?: string;
|
|
637
650
|
contentLanguageCode?: string;
|
|
638
651
|
receivedDateTime: string;
|
|
639
652
|
sender: Account;
|
|
@@ -861,7 +874,7 @@ interface PostDetailProps {
|
|
|
861
874
|
}
|
|
862
875
|
declare const PostDetail: FC<PostDetailProps>;
|
|
863
876
|
|
|
864
|
-
declare const
|
|
877
|
+
declare const LegacyDialog: FC<IDialogProps>;
|
|
865
878
|
|
|
866
879
|
interface ToolbarProps {
|
|
867
880
|
leftSide?: ReactNode;
|
|
@@ -1637,4 +1650,4 @@ declare const ToolbarBookmarkButton: FC<{
|
|
|
1637
1650
|
onClick?: () => unknown;
|
|
1638
1651
|
}>;
|
|
1639
1652
|
|
|
1640
|
-
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, ErrorType, ErrorWrapper, ErrorWrapperProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailPreview, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, EventGridProps, EventItemContextProvider, EventItemPreviewContextProvider, EventStreamItem, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemLoader, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, NewsStreamItem, PageDetail, PageDetailPreview, PageDetailProps, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, PageItemContextProvider, PageItemPreviewContextProvider, PageStreamItem, PageType, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PagesGrid, PagesGridProps, PagesList, PagesListProps, PostDetail, PostDetailProps, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PostStreamItem, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider,
|
|
1653
|
+
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, ErrorType, ErrorWrapper, ErrorWrapperProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailPreview, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, EventGridProps, EventItemContextProvider, EventItemPreviewContextProvider, EventStreamItem, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemLoader, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, NewsStreamItem, PageDetail, PageDetailPreview, PageDetailProps, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, PageItemContextProvider, PageItemPreviewContextProvider, PageStreamItem, PageType, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PagesGrid, PagesGridProps, PagesList, PagesListProps, PostDetail, PostDetailProps, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PostStreamItem, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, LegacyDialog as ReachDialog, SharedItemDetailPreviewProps, TargetLinkOverrideContextProvider, Toolbar, ToolbarBookmarkButton, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarFilterToggleButton, ToolbarIconButton, ToolbarIconButtonProps, ToolbarLanguageSelector, ToolbarManageButton, ToolbarManageItemButton, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarLanguageSelector as ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, VideoSource$1 as VideoSource, isFilterActive, useCurrentUser, useEventsStreamDataLoader, useLazySubscriptionContext, useNewsStreamDataLoader, usePagesStreamDataLoader, usePostsStreamDataLoader };
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{b2 as AuthorFilter,b1 as AuthorToolbarFilter,at as Avatar,aW as ChannelFilter,b7 as ChannelSelector,aX as ChannelToolbarFilter,a_ as ClearAllFiltersButton,br as ContactToolbarFilter,bf as EditorToolbarIndicators,bH as ErrorType,bG as ErrorWrapper,bs as EventDatesToolbarFilter,ai as EventDetail,aO as EventDetailPreview,bx as EventEditor,by as EventEditorContextProvider,bz as EventEditorPanel,bB as EventEditorToolbarRecurringControls,bA as EventEditorToolbarStateActions,aH as EventItemContextProvider,aR as EventItemPreviewContextProvider,b6 as EventView,aw as EventsEditorDashboard,an as EventsGrid,ao as EventsList,b3 as FilterSearch,bm as GroupNotificationsSettings,al as ItemLayoutMode,bc as ItemResourceTypes,bd as KeywordPicker,a$ as KeywordsFilter,b0 as KeywordsToolbarFilter,bt as LogicalOperator,ap as ManageChannels,ag as NewsDetail,aM as NewsDetailPreview,b8 as NewsEditor,b9 as NewsEditorContextProvider,av as NewsEditorDashboard,bh as NewsEditorPanel,bg as NewsEditorToolbarStateActions,am as NewsGrid,au as NewsHero,aF as NewsItemContextProvider,aP as NewsItemPreviewContextProvider,ak as NewsList,ah as PageDetail,aN as PageDetailPreview,bD as PageEditor,bC as PageEditorContextProvider,bF as PageEditorPanel,bE as PageEditorToolbarStateActions,aG as PageItemContextProvider,aQ as PageItemPreviewContextProvider,bw as PageType,ba as PageViewTrackerSettingsContextProvider,bu as PagesGrid,bv as PagesList,aj as PostDetail,bl as PostGroupSelector,bo as PostGroupSelectorButton,bk as PostGroupsPicker,bi as PostInputBox,bj as PostList,af as PostListContextProvider,aZ as PublishingDateFilter,aY as PublishingDateToolbarFilter,ae as ReachContextProvider,be as ReachDialog,bb as TargetLinkOverrideContextProvider,ax as Toolbar,aA as ToolbarBookmarkButton,aB as ToolbarChannelSelector,aE as ToolbarCloseButton,b5 as ToolbarEventViewSelector,aT as ToolbarFilterModal,aU as ToolbarFilterModalButton,aS as ToolbarFilterPanel,b4 as ToolbarFilterSearch,bp as ToolbarFilterToggleButton,ay as ToolbarIconButton,aI as ToolbarLanguageSelector,aJ as ToolbarManageButton,aL as ToolbarManageItemButton,aK as ToolbarManageNewsItemButton,aC as ToolbarMarkAllEventsAsReadButton,aD as ToolbarMarkAllNewsAsReadButton,aI as ToolbarNewsLanguageSelector,bn as ToolbarPostNotificationButton,az as ToolbarUnreadItemsButton,as as UserDetails,aV as VerticalFilterPanel,bq as isFilterActive,aq as useCurrentUser,bK as useEventsStreamDataLoader,ar as useLazySubscriptionContext,bL as useNewsStreamDataLoader,bI as usePagesStreamDataLoader,bJ as usePostsStreamDataLoader}from"./index.esm2.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";
|