forked from mirrors/akkoma
2 lines
6.1 KiB
JavaScript
2 lines
6.1 KiB
JavaScript
|
webpackJsonp([18],{150:function(t,n,e){"use strict";e.d(n,"a",function(){return f});var o=e(2),i=e.n(o),r=e(1),c=e.n(r),a=e(3),u=e.n(a),l=e(4),s=e.n(l),d=e(0),h=e.n(d),f=function(t){function n(){var e,o,i;c()(this,n);for(var r=arguments.length,a=Array(r),l=0;l<r;l++)a[l]=arguments[l];return e=o=u()(this,t.call.apply(t,[this].concat(a))),o.handleClick=function(){o.props.onClick()},i=e,u()(o,i)}return s()(n,t),n.prototype.render=function(){var t=this.props,n=t.type,e=t.active,o=t.columnHeaderId,r="";return this.props.icon&&(r=i()("i",{className:"fa fa-fw fa-"+this.props.icon+" column-header__icon"})),i()("div",{role:"heading",tabIndex:"0",className:"column-header "+(e?"active":""),onClick:this.handleClick,id:o||null},void 0,r,n)},n}(h.a.PureComponent)},259:function(t,n,e){"use strict";e.d(n,"a",function(){return _});var o=e(2),i=e.n(o),r=e(1),c=e.n(r),a=e(3),u=e.n(a),l=e(4),s=e.n(l),d=e(42),h=e.n(d),f=e(0),p=e.n(f),v=e(150),m=e(91),b=e(33),_=function(t){function n(){var e,o,i;c()(this,n);for(var r=arguments.length,a=Array(r),l=0;l<r;l++)a[l]=arguments[l];return e=o=u()(this,t.call.apply(t,[this].concat(a))),o.handleHeaderClick=function(){var t=o.node.querySelector(".scrollable");t&&(o._interruptScrollAnimation=Object(m.b)(t))},o.handleScroll=h()(function(){void 0!==o._interruptScrollAnimation&&o._interruptScrollAnimation()},200),o.setRef=function(t){o.node=t},i=e,u()(o,i)}return s()(n,t),n.prototype.scrollTop=function(){var t=this.node.querySelector(".scrollable");t&&(this._interruptScrollAnimation=Object(m.b)(t))},n.prototype.render=function(){var t=this.props,n=t.heading,e=t.icon,o=t.children,r=t.active,c=t.hideHeadingOnMobile,a=n&&(!c||c&&!Object(b.b)(window.innerWidth)),u=a&&n.replace(/ /g,"-"),l=a&&i()(v.a,{icon:e,active:r,type:n,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)},n}(p.a.PureComponent)},272:function(t,n,e){"use strict";e.d(n,"a",function(){return _});var o,i,r=e(2),c=e.n(r),a=e(1),u=e.n(a),l=e(3),s=e.n(l),d=e(4),h=e.n(d),f=e(0),p=e.n(f),v=e(6),m=e(5),b=e.n(m),_=(i=o=function(t){function n(){var e,o,i;u()(this,n);for(var r=arguments.length,c=Array(r),a=0;a<r;a++)c[a]=arguments[a];return e=o=s()(this,t.call.apply(t,[this].concat(c))),o.handleClick=function(){window.history&&1===window.history.length?o.context.router.history.push("/"):o.context.router.history.goBack()},i=e,s()(o,i)}return h()(n,t),n.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()(v.b,{id:"column_back_button.label",defaultMessage:"Back"})))},n}(p.a.PureComponent),o.contextTypes={router:b.a.object},i)},767:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.d(n,"default",function(){return M});var o,i,r,c,a=e(2),u=e.n(a),l=e(1),s=e.n(l),d=e(3),h=e.n(d),f=e(4),p=e.n(f),v=e(0),m=(e.n(v),e(9)),b=e(5),_=e.n(b),y=e(12),g=e.n(y),j=e(271),k=e(152),w=e(259),q=e(272),C=e(899),O=e(22),N=e(6),R=e(11),S=e.n(R),A=Object(N.f)({heading:{id:"column.follow_requests",defaultMessage:"Follow requests"}}),z=function(t){return{accountIds:t.getIn(["user_lists","follow_requests","items"])}},M=(o=Object(m.connect)(z))(i=Object(N.g)((c=r=function(t){function n(){var e,o,i;s()(this,n);for(var r=arguments.length,c=Array(r),a=0;a<r;a++)c[a]=arguments[a];return e=o=h()(this,t.call.apply(t,[this].concat(c))),o.handleScroll=function(t){var n=t.target;n.scrollTop===n.scrollHeight-n.clientHeight&&o.props.dispatch(Object(O.s)())},i=e,h()(o,i)}return p()(n,t),n.prototype.componentWillMount=function(){this.props.dispatch(Object(O.w)())},n.prototype.render=function(){var t=this.props,n=t.intl,e=t.accountIds;return e?u()(w.a,{icon:"users",heading:n.formatMessage(A.heading)},void 0,u()(q.a,{}),u()(k.a,{scrollKey:"follow_requests"},void 0,u()("div",{className:"scrollable",
|
||
|
//# sourceMappingURL=follow_requests-281e5b40331385149920.js.map
|