akkoma/priv/static/packs/features/pinned_statuses.js

2 lines
18 KiB
JavaScript
Raw Normal View History

2018-08-12 13:29:30 +00:00
webpackJsonp([11],{155:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var o=n(2),r=n.n(o),i=n(1),s=n.n(i),a=n(3),c=n.n(a),l=n(4),u=n.n(l),d=n(0),h=n.n(d),f=n(10),p=n.n(f),b=function(e){function t(){var n,o,r;s()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=o=c()(this,e.call.apply(e,[this].concat(a))),o.handleClick=function(){o.props.onClick()},r=n,c()(o,r)}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.icon,n=e.type,o=e.active,i=e.columnHeaderId,s="";return t&&(s=r()("i",{className:"fa fa-fw fa-"+t+" column-header__icon"})),r()("h1",{className:p()("column-header",{active:o}),id:i||null},void 0,r()("button",{onClick:this.handleClick},void 0,s,n))},t}(h.a.PureComponent)},274:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var o=n(2),r=n.n(o),i=n(1),s=n.n(i),a=n(3),c=n.n(a),l=n(4),u=n.n(l),d=n(32),h=n.n(d),f=n(0),p=n.n(f),b=n(155),g=n(91),v=n(43),m=function(e){function t(){var n,o,r;s()(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=o=c()(this,e.call.apply(e,[this].concat(a))),o.handleHeaderClick=function(){var e=o.node.querySelector(".scrollable");e&&(o._interruptScrollAnimation=Object(g.b)(e))},o.handleScroll=h()(function(){void 0!==o._interruptScrollAnimation&&o._interruptScrollAnimation()},200),o.setRef=function(e){o.node=e},r=n,c()(o,r)}return u()(t,e),t.prototype.scrollTop=function(){var e=this.node.querySelector(".scrollable");e&&(this._interruptScrollAnimation=Object(g.b)(e))},t.prototype.render=function(){var e=this.props,t=e.heading,n=e.icon,o=e.children,i=e.active,s=e.hideHeadingOnMobile,a=t&&(!s||s&&!Object(v.b)(window.innerWidth)),c=a&&t.replace(/ /g,"-"),l=a&&r()(b.a,{icon:n,active:i,type:t,onClick:this.handleHeaderClick,columnHeaderId:c});return p.a.createElement("div",{ref:this.setRef,role:"region","aria-labelledby":c,className:"column",onScroll:this.handleScroll},l,o)},t}(p.a.PureComponent)},275:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var o,r,i=n(2),s=n.n(i),a=n(1),c=n.n(a),l=n(3),u=n.n(l),d=n(4),h=n.n(d),f=n(0),p=n.n(f),b=n(7),g=(r=o=function(e){function t(){return c()(this,t),u()(this,e.apply(this,arguments))}return h()(t,e),t.prototype.render=function(){var e=this.props,t=e.disabled,n=e.visible;return s()("button",{className:"load-more",disabled:t||!n,style:{visibility:n?"visible":"hidden"},onClick:this.props.onClick},void 0,s()(b.b,{id:"status.load_more",defaultMessage:"Load more"}))},t}(p.a.PureComponent),o.defaultProps={visible:!0},r)},276:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var o,r,i=n(2),s=n.n(i),a=n(1),c=n.n(a),l=n(3),u=n.n(l),d=n(4),h=n.n(d),f=n(0),p=n.n(f),b=n(7),g=n(5),v=n.n(g),m=(r=o=function(e){function t(){var n,o,r;c()(this,t);for(var i=arguments.length,s=Array(i),a=0;a<i;a++)s[a]=arguments[a];return n=o=u()(this,e.call.apply(e,[this].concat(s))),o.handleClick=function(){window.history&&1===window.history.length?o.context.router.history.push("/"):o.context.router.history.goBack()},r=n,u()(o,r)}return h()(t,e),t.prototype.render=function(){return s()("button",{onClick:this.handleClick,className:"column-back-button"},void 0,s()("i",{className:"fa fa-fw fa-chevron-left column-back-button__icon"}),s()(b.b,{id:"column_back_button.label",defaultMessage:"Back"}))},t}(p.a.PureComponent),o.contextTypes={router:v.a.object},r)},277:function(e,t,n){"use strict";var o=n(2),r=n.n(o),i=n(0),s=(n.n(i),n(9)),a=n(158),c=n(67),l=n(17),u=n(68),d=n(22),h=n(69),f=n(90),p=n(157),b=n(26),g=n(7),v=n(13),m=n(33),y=Object(g.f)({deleteConfirm:{id:"confirmations.delete.confirm",defaultMessage:"Delete"},deleteMessage:{id:"confirmations.delete.message",defaultMessage:"Are you sure you want to delete this status?"},redraftConfirm:{id:"confirmations.redraft.confirm",defaultMessage:"Delete & redraft"},redraftMessage:{id:"confirmations.redraft.message",defaultMessage:"Are you sure you want to delete this status and re-draft it? You will lose all replies, boosts and favourites to it."},blockConfirm:{id:"confirmations.block.confirm",defaultMessage:"Block"}}),
//# sourceMappingURL=pinned_statuses.js.map