spc-pleroma/priv/static/packs/features/follow_requests.js

2 lines
6.5 KiB
JavaScript
Raw Normal View History

webpackJsonp([18],{150:function(n,t,e){"use strict";e.d(t,"a",function(){return v});var o=e(2),c=e.n(o),a=e(1),i=e.n(a),r=e(3),u=e.n(r),l=e(4),s=e.n(l),d=e(0),f=e.n(d),h=e(10),p=e.n(h),v=function(n){function t(){var e,o,c;i()(this,t);for(var a=arguments.length,r=Array(a),l=0;l<a;l++)r[l]=arguments[l];return e=o=u()(this,n.call.apply(n,[this].concat(r))),o.handleClick=function(){o.props.onClick()},c=e,u()(o,c)}return s()(t,n),t.prototype.render=function(){var n=this.props,t=n.icon,e=n.type,o=n.active,a=n.columnHeaderId,i="";return t&&(i=c()("i",{className:"fa fa-fw fa-"+t+" column-header__icon"})),c()("h1",{className:p()("column-header",{active:o}),id:a||null},void 0,c()("button",{onClick:this.handleClick},void 0,i,e))},t}(f.a.PureComponent)},284:function(n,t,e){"use strict";e.d(t,"a",function(){return _});var o=e(2),c=e.n(o),a=e(1),i=e.n(a),r=e(3),u=e.n(r),l=e(4),s=e.n(l),d=e(34),f=e.n(d),h=e(0),p=e.n(h),v=e(150),b=e(91),m=e(35),_=function(n){function t(){var e,o,c;i()(this,t);for(var a=arguments.length,r=Array(a),l=0;l<a;l++)r[l]=arguments[l];return e=o=u()(this,n.call.apply(n,[this].concat(r))),o.handleHeaderClick=function(){var n=o.node.querySelector(".scrollable");n&&(o._interruptScrollAnimation=Object(b.b)(n))},o.handleScroll=f()(function(){void 0!==o._interruptScrollAnimation&&o._interruptScrollAnimation()},200),o.setRef=function(n){o.node=n},c=e,u()(o,c)}return s()(t,n),t.prototype.scrollTop=function(){var n=this.node.querySelector(".scrollable");n&&(this._interruptScrollAnimation=Object(b.b)(n))},t.prototype.render=function(){var n=this.props,t=n.heading,e=n.icon,o=n.children,a=n.active,i=n.hideHeadingOnMobile,r=t&&(!i||i&&!Object(m.b)(window.innerWidth)),u=r&&t.replace(/ /g,"-"),l=r&&c()(v.a,{icon:e,active:a,type:t,onClick:this.handleHeaderClick,columnHeaderId:u});return p.a.createElement("div",{ref:this.setRef,role:"region","aria-labelledby":u,className:"column",onScroll:this.handleScroll},l,o)},t}(p.a.PureComponent)},287:function(n,t,e){"use strict";e.d(t,"a",function(){return _});var o,c,a=e(2),i=e.n(a),r=e(1),u=e.n(r),l=e(3),s=e.n(l),d=e(4),f=e.n(d),h=e(0),p=e.n(h),v=e(6),b=e(5),m=e.n(b),_=(c=o=function(n){function t(){var e,o,c;u()(this,t);for(var a=arguments.length,i=Array(a),r=0;r<a;r++)i[r]=arguments[r];return e=o=s()(this,n.call.apply(n,[this].concat(i))),o.handleClick=function(){window.history&&1===window.history.length?o.context.router.history.push("/"):o.context.router.history.goBack()},c=e,s()(o,c)}return f()(t,n),t.prototype.render=function(){return i()("button",{onClick:this.handleClick,className:"column-back-button"},void 0,i()("i",{className:"fa fa-fw fa-chevron-left column-back-button__icon"}),i()(v.b,{id:"column_back_button.label",defaultMessage:"Back"}))},t}(p.a.PureComponent),o.contextTypes={router:m.a.object},c)},299:function(n,t,e){"use strict";e.d(t,"a",function(){return p});var o=e(2),c=e.n(o),a=e(1),i=e.n(a),r=e(3),u=e.n(r),l=e(4),s=e.n(l),d=e(0),f=(e.n(d),e(6)),h=e(287),p=function(n){function t(){return i()(this,t),u()(this,n.apply(this,arguments))}return s()(t,n),t.prototype.render=function(){return c()("div",{className:"column-back-button--slim"},void 0,c()("div",{role:"button",tabIndex:"0",onClick:this.handleClick,className:"column-back-button column-back-button--slim-button"},void 0,c()("i",{className:"fa fa-fw fa-chevron-left column-back-button__icon"}),c()(f.b,{id:"column_back_button.label",defaultMessage:"Back"})))},t}(h.a)},819:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e.d(t,"default",function(){return z});var o,c,a,i,r=e(2),u=e.n(r),l=e(1),s=e.n(l),d=e(3),f=e.n(d),h=e(4),p=e.n(h),v=e(0),b=(e.n(v),e(9)),m=e(5),_=e.n(m),y=e(13),g=e.n(y),j=e(297),k=e(151),w=e(284),C=e(299),N=e(968),O=e(22),q=e(6),R=e(11),S=e.n(R),A=Object(q.f)({heading:{id:"column.follow_requests",defaultMessage:"Follow requests"}}),M=function(n){return{accountIds:n.getIn(["user_lists","follow_requests","items"])}},z=(o=Object(b.connect)(M))(c=Object(q.g)((i=a=function(n){function t(){var e,o,c;s()(this,t);for(var a=arguments.length,i=Array(a),r=0;r<a;r++)i[r]=arguments[r];ret
//# sourceMappingURL=follow_requests.js.map