Bundle embedded web app

This commit is contained in:
renovate[bot]
2022-09-30 03:03:13 +00:00
parent 5eb8686383
commit 93522b0215
72 changed files with 55 additions and 55 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4976],{10203:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/federation/actions",function(){return n(13268)}])},13268:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return E}});var r=n(47568),i=n(70655),a=n(85893),s=n(67294),o=n(84485),c=n(10355),u=n(58091),l=n(58827),f=n(2766),d=o.Z.Title,h=o.Z.Paragraph;function E(){var e=(0,s.useState)([]),t=e[0],n=e[1],o=(0,s.useState)(0),E=o[0],p=o[1],w=(0,s.useState)(0),_=w[0],m=w[1],g=function(){var e=(0,r.Z)((function(){var e,t,r,a,s,o,c;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),50,e=50*_,t="".concat(l.op,"?offset=").concat(e,"&limit=").concat(50),a={},[4,(0,l.rQ)(t,(a.auth=!0,a))];case 1:return r=i.sent(),s=r.results,o=r.total,p(o),(0,f.Qr)(s)?n([]):n(s),[3,3];case 2:return c=i.sent(),console.log("==== error",c),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){g()}),[_]);var v,y,I=[{title:"Action",dataIndex:"type",key:"type",width:50,render:function(e,t){var n,r;switch(t.type){case"FEDIVERSE_ENGAGEMENT_REPOST":n="/img/repost.svg",r="Share";break;case"FEDIVERSE_ENGAGEMENT_LIKE":n="/img/like.svg",r="Like";break;case"FEDIVERSE_ENGAGEMENT_FOLLOW":n="/img/follow.svg",r="Follow";break;default:n=""}return(0,a.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},children:[(0,a.jsx)("img",{src:n,width:"70%",alt:r,title:r}),(0,a.jsx)("div",{style:{fontSize:"0.7rem"},children:r})]})}},{title:"From",dataIndex:"actorIRI",key:"from",render:function(e,t){return(0,a.jsx)("a",{href:t.actorIRI,children:t.actorIRI})}},{title:"When",dataIndex:"timestamp",key:"timestamp",render:function(e,t){var n=new Date(t.timestamp);return(0,u.Z)(n,"P pp")}}];return(0,a.jsxs)("div",{children:[(0,a.jsx)(d,{level:3,children:"Fediverse Actions"}),(0,a.jsx)(h,{children:"Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you."}),(v=t,y=I,(0,a.jsx)(c.Z,{dataSource:v,columns:y,size:"small",rowKey:function(e){return e.iri},pagination:{pageSize:50,hideOnSinglePage:!0,showSizeChanger:!1,total:E},onChange:function(e){var t=e.current;m(t)}}))]})}}},function(e){e.O(0,[7330,3927,384,355,8091,9774,2888,179],(function(){return t=10203,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

View File

@@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4976],{10203:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/federation/actions",function(){return n(13268)}])},13268:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return E}});var r=n(47568),i=n(70655),a=n(85893),s=n(67294),o=n(84485),c=n(10355),u=n(58091),l=n(58827),f=n(2766),d=o.Z.Title,h=o.Z.Paragraph;function E(){var e=(0,s.useState)([]),t=e[0],n=e[1],o=(0,s.useState)(0),E=o[0],p=o[1],w=(0,s.useState)(0),_=w[0],m=w[1],g=function(){var e=(0,r.Z)((function(){var e,t,r,a,s,o;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),50,e=50*_,t="".concat(l.op,"?offset=").concat(e,"&limit=").concat(50),[4,(0,l.rQ)(t,{auth:!0})];case 1:return r=i.sent(),a=r.results,s=r.total,p(s),(0,f.Qr)(a)?n([]):n(a),[3,3];case 2:return o=i.sent(),console.log("==== error",o),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){g()}),[_]);var v,y,I=[{title:"Action",dataIndex:"type",key:"type",width:50,render:function(e,t){var n,r;switch(t.type){case"FEDIVERSE_ENGAGEMENT_REPOST":n="/img/repost.svg",r="Share";break;case"FEDIVERSE_ENGAGEMENT_LIKE":n="/img/like.svg",r="Like";break;case"FEDIVERSE_ENGAGEMENT_FOLLOW":n="/img/follow.svg",r="Follow";break;default:n=""}return(0,a.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},children:[(0,a.jsx)("img",{src:n,width:"70%",alt:r,title:r}),(0,a.jsx)("div",{style:{fontSize:"0.7rem"},children:r})]})}},{title:"From",dataIndex:"actorIRI",key:"from",render:function(e,t){return(0,a.jsx)("a",{href:t.actorIRI,children:t.actorIRI})}},{title:"When",dataIndex:"timestamp",key:"timestamp",render:function(e,t){var n=new Date(t.timestamp);return(0,u.Z)(n,"P pp")}}];return(0,a.jsxs)("div",{children:[(0,a.jsx)(d,{level:3,children:"Fediverse Actions"}),(0,a.jsx)(h,{children:"Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you."}),(v=t,y=I,(0,a.jsx)(c.Z,{dataSource:v,columns:y,size:"small",rowKey:function(e){return e.iri},pagination:{pageSize:50,hideOnSinglePage:!0,showSizeChanger:!1,total:E},onChange:function(e){var t=e.current;m(t)}}))]})}}},function(e){e.O(0,[7330,3927,384,355,8091,9774,2888,179],(function(){return t=10203,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long