X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=priv%2Fstatic%2Fpacks%2Ffeatures%2Faccount_timeline.js.map;h=8766fb4896b3475596583c30595d298c751d7bdf;hb=fa1f5d4442560ca7fadc1057d0a1ae34ce4b08e8;hp=204f4f50ecadd635a97bd0544971e70ad295502e;hpb=fe2759bc9f2dad044b49f4954693ac09f9368041;p=akkoma
diff --git a/priv/static/packs/features/account_timeline.js.map b/priv/static/packs/features/account_timeline.js.map
index 204f4f50e..8766fb489 100644
--- a/priv/static/packs/features/account_timeline.js.map
+++ b/priv/static/packs/features/account_timeline.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack:///./app/javascript/mastodon/features/account_timeline/index.js"],"names":["AccountTimeline","Object","react_redux__WEBPACK_IMPORTED_MODULE_5__","state","_ref","accountId","params","_ref$withReplies","withReplies","undefined","path","statusIds","getIn","immutable__WEBPACK_IMPORTED_MODULE_15__","featuredStatusIds","isLoading","hasMore","handleLoadMore","maxId","_this","props","dispatch","_actions_timelines__WEBPACK_IMPORTED_MODULE_9__","componentWillMount","_props","this","_actions_accounts__WEBPACK_IMPORTED_MODULE_8__","componentWillReceiveProps","nextProps","render","_props2","shouldUpdateScroll","babel_runtime_helpers_jsx__WEBPACK_IMPORTED_MODULE_0___default","_ui_components_column__WEBPACK_IMPORTED_MODULE_12__","_components_loading_indicator__WEBPACK_IMPORTED_MODULE_11__","_components_column_back_button__WEBPACK_IMPORTED_MODULE_14__","_components_status_list__WEBPACK_IMPORTED_MODULE_10__","prepend","_containers_header_container__WEBPACK_IMPORTED_MODULE_13__","scrollKey","onLoadMore","react_immutable_pure_component__WEBPACK_IMPORTED_MODULE_16__","propTypes","prop_types__WEBPACK_IMPORTED_MODULE_7___default","a","object","isRequired","func","react_immutable_proptypes__WEBPACK_IMPORTED_MODULE_6___default","list","bool"],"mappings":"8UA0BqBA,EADpBC,OAAAC,EAAA,QAAAD,CAXuB,SAACE,EAADC,GAA2D,IAAvCC,EAAu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WAAaG,YAAaoB,EAAUtB,OAAOE,6BAQ1GqB,kBAAU,IAAAC,EACyEL,KAAKL,MAA9EW,EADAD,EACAC,mBAAoBpB,EADpBmB,EACoBnB,UAAWG,EAD/BgB,EAC+BhB,kBAAmBC,EADlDe,EACkDf,UAAWC,EAD7Dc,EAC6Dd,QAErE,OAAKL,GAAaI,EAChBiB,IACGC,EAAA,UADH,EAAAD,IAEKE,EAAA,OAKPF,IACGC,EAAA,UADH,EAAAD,IAEKG,EAAA,MAFLH,IAIKI,EAAA,GAJLC,QAAAL,IAKgBM,EAAA,GALhBjC,UAK2CoB,KAAKL,MAAMd,OAAOD,YAL7DkC,UAMgB,mBANhB5B,UAOiBA,EAPjBG,kBAQyBA,EARzBC,UASiBA,EATjBC,QAUeA,EAVfwB,WAWkBf,KAAKR,eAXvBc,mBAY0BA,SA5DeU,EAAA,KAEpCC,WACLpC,OAAQqC,EAAAC,EAAUC,OAAOC,WACzBzB,SAAUsB,EAAAC,EAAUG,KAAKD,WACzBf,mBAAoBY,EAAAC,EAAUG,KAC9BpC,UAAWqC,EAAAJ,EAAmBK,KAC9BnC,kBAAmBkC,EAAAJ,EAAmBK,KACtClC,UAAW4B,EAAAC,EAAUM,KACrBlC,QAAS2B,EAAAC,EAAUM,KACnB1C,YAAamC,EAAAC,EAAUM","file":"features/account_timeline.js","sourcesContent":["import React from 'react';\nimport { connect } from 'react-redux';\nimport ImmutablePropTypes from 'react-immutable-proptypes';\nimport PropTypes from 'prop-types';\nimport { fetchAccount } from '../../actions/accounts';\nimport { expandAccountFeaturedTimeline, expandAccountTimeline } from '../../actions/timelines';\nimport StatusList from '../../components/status_list';\nimport LoadingIndicator from '../../components/loading_indicator';\nimport Column from '../ui/components/column';\nimport HeaderContainer from './containers/header_container';\nimport ColumnBackButton from '../../components/column_back_button';\nimport { List as ImmutableList } from 'immutable';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\n\nconst mapStateToProps = (state, { params: { accountId }, withReplies = false }) => {\n const path = withReplies ? `${accountId}:with_replies` : accountId;\n\n return {\n statusIds: state.getIn(['timelines', `account:${path}`, 'items'], ImmutableList()),\n featuredStatusIds: withReplies ? ImmutableList() : state.getIn(['timelines', `account:${accountId}:pinned`, 'items'], ImmutableList()),\n isLoading: state.getIn(['timelines', `account:${path}`, 'isLoading']),\n hasMore: state.getIn(['timelines', `account:${path}`, 'hasMore']),\n };\n};\n\n@connect(mapStateToProps)\nexport default class AccountTimeline extends ImmutablePureComponent {\n\n static propTypes = {\n params: PropTypes.object.isRequired,\n dispatch: PropTypes.func.isRequired,\n shouldUpdateScroll: PropTypes.func,\n statusIds: ImmutablePropTypes.list,\n featuredStatusIds: ImmutablePropTypes.list,\n isLoading: PropTypes.bool,\n hasMore: PropTypes.bool,\n withReplies: PropTypes.bool,\n };\n\n componentWillMount () {\n const { params: { accountId }, withReplies } = this.props;\n\n this.props.dispatch(fetchAccount(accountId));\n if (!withReplies) {\n this.props.dispatch(expandAccountFeaturedTimeline(accountId));\n }\n this.props.dispatch(expandAccountTimeline(accountId, { withReplies }));\n }\n\n componentWillReceiveProps (nextProps) {\n if ((nextProps.params.accountId !== this.props.params.accountId && nextProps.params.accountId) || nextProps.withReplies !== this.props.withReplies) {\n this.props.dispatch(fetchAccount(nextProps.params.accountId));\n if (!nextProps.withReplies) {\n this.props.dispatch(expandAccountFeaturedTimeline(nextProps.params.accountId));\n }\n this.props.dispatch(expandAccountTimeline(nextProps.params.accountId, { withReplies: nextProps.params.withReplies }));\n }\n }\n\n handleLoadMore = maxId => {\n this.props.dispatch(expandAccountTimeline(this.props.params.accountId, { maxId, withReplies: this.props.withReplies }));\n }\n\n render () {\n const { shouldUpdateScroll, statusIds, featuredStatusIds, isLoading, hasMore } = this.props;\n\n if (!statusIds && isLoading) {\n return (\n \n \n \n );\n }\n\n return (\n \n \n\n }\n scrollKey='account_timeline'\n statusIds={statusIds}\n featuredStatusIds={featuredStatusIds}\n isLoading={isLoading}\n hasMore={hasMore}\n onLoadMore={this.handleLoadMore}\n shouldUpdateScroll={shouldUpdateScroll}\n />\n \n );\n }\n\n}\n"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"sources":["webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/mastodon/features/account_timeline/index.js"],"names":["emptyList","ImmutableList","AccountTimeline","connect","state","accountId","params","withReplies","path","isAccount","getIn","statusIds","featuredStatusIds","isLoading","hasMore","blockedBy","maxId","props","dispatch","expandAccountTimeline","componentWillMount","this","fetchAccount","fetchAccountIdentityProofs","expandAccountFeaturedTimeline","componentWillReceiveProps","nextProps","render","shouldUpdateScroll","multiColumn","emptyMessage","id","defaultMessage","prepend","alwaysPrepend","scrollKey","onLoadMore","handleLoadMore","bindToDocument","timelineId","ImmutablePureComponent","PropTypes","object","isRequired","func","ImmutablePropTypes","list","bool"],"mappings":"oVAiBA,IAAMA,EAAYC,iBAgBZC,EADUC,mBAbQ,SAACC,EAAD,GAA4D,IAAxCC,EAAuC,EAAjDC,OAAUD,UAAuC,IAA1BE,mBAA0B,SAC3EC,EAAOD,EAAiBF,EAAN,gBAAiCA,EAEzD,MAAO,CACLI,YAAaL,EAAMM,MAAM,CAAC,WAAYL,IACtCM,UAAWP,EAAMM,MAAM,CAAC,YAAD,WAAyBF,EAAQ,SAAUR,GAClEY,kBAAmBL,EAAcN,iBAAkBG,EAAMM,MAAM,CAAC,YAAD,WAAyBL,EAAzB,UAA6C,SAAUL,GACtHa,UAAWT,EAAMM,MAAM,CAAC,YAAD,WAAyBF,EAAQ,cACxDM,QAASV,EAAMM,MAAM,CAAC,YAAD,WAAyBF,EAAQ,YACtDO,UAAWX,EAAMM,MAAM,CAAC,gBAAiBL,EAAW,eAAe,M,iOA+CpD,SAAAW,GACf,EAAKC,MAAMC,SAASC,YAAsB,EAAKF,MAAMX,OAAOD,UAAW,CAAEW,QAAOT,YAAa,EAAKU,MAAMV,kB,6BA3B1Ga,mBAAA,WAAuB,IAAD,EAC2BC,KAAKJ,MAAlCZ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iB5B,UAAWgB,KAAKJ,MAAMX,OAAOD,YACvD6B,eAAa,EACbC,UAAU,mBACVxB,UAAWI,EAAYf,EAAYW,EACnCC,kBAAmBA,EACnBC,UAAWA,EACXC,QAASA,EACTsB,WAAYf,KAAKgB,eACjBT,mBAAoBA,EACpBE,aAAcA,EACdQ,gBAAiBT,EACjBU,WAAW,e,GApFSC,K,0BAET,CACjBlC,OAAQmC,IAAUC,OAAOC,WACzBzB,SAAUuB,IAAUG,KAAKD,WACzBf,mBAAoBa,IAAUG,KAC9BjC,UAAWkC,IAAmBC,KAC9BlC,kBAAmBiC,IAAmBC,KACtCjC,UAAW4B,IAAUM,KACrBjC,QAAS2B,IAAUM,KACnBxC,YAAakC,IAAUM,KACvBhC,UAAW0B,IAAUM,KACrBtC,UAAWgC,IAAUM,KACrBlB,YAAaY,IAAUM,O","file":"features/account_timeline.js","sourcesContent":["import React from 'react';\nimport { connect } from 'react-redux';\nimport ImmutablePropTypes from 'react-immutable-proptypes';\nimport PropTypes from 'prop-types';\nimport { fetchAccount } from '../../actions/accounts';\nimport { expandAccountFeaturedTimeline, expandAccountTimeline } from '../../actions/timelines';\nimport StatusList from '../../components/status_list';\nimport LoadingIndicator from '../../components/loading_indicator';\nimport Column from '../ui/components/column';\nimport HeaderContainer from './containers/header_container';\nimport ColumnBackButton from '../../components/column_back_button';\nimport { List as ImmutableList } from 'immutable';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\nimport { FormattedMessage } from 'react-intl';\nimport { fetchAccountIdentityProofs } from '../../actions/identity_proofs';\nimport MissingIndicator from 'mastodon/components/missing_indicator';\n\nconst emptyList = ImmutableList();\n\nconst mapStateToProps = (state, { params: { accountId }, withReplies = false }) => {\n const path = withReplies ? `${accountId}:with_replies` : accountId;\n\n return {\n isAccount: !!state.getIn(['accounts', accountId]),\n statusIds: state.getIn(['timelines', `account:${path}`, 'items'], emptyList),\n featuredStatusIds: withReplies ? ImmutableList() : state.getIn(['timelines', `account:${accountId}:pinned`, 'items'], emptyList),\n isLoading: state.getIn(['timelines', `account:${path}`, 'isLoading']),\n hasMore: state.getIn(['timelines', `account:${path}`, 'hasMore']),\n blockedBy: state.getIn(['relationships', accountId, 'blocked_by'], false),\n };\n};\n\nexport default @connect(mapStateToProps)\nclass AccountTimeline extends ImmutablePureComponent {\n\n static propTypes = {\n params: PropTypes.object.isRequired,\n dispatch: PropTypes.func.isRequired,\n shouldUpdateScroll: PropTypes.func,\n statusIds: ImmutablePropTypes.list,\n featuredStatusIds: ImmutablePropTypes.list,\n isLoading: PropTypes.bool,\n hasMore: PropTypes.bool,\n withReplies: PropTypes.bool,\n blockedBy: PropTypes.bool,\n isAccount: PropTypes.bool,\n multiColumn: PropTypes.bool,\n };\n\n componentWillMount () {\n const { params: { accountId }, withReplies } = this.props;\n\n this.props.dispatch(fetchAccount(accountId));\n this.props.dispatch(fetchAccountIdentityProofs(accountId));\n\n if (!withReplies) {\n this.props.dispatch(expandAccountFeaturedTimeline(accountId));\n }\n\n this.props.dispatch(expandAccountTimeline(accountId, { withReplies }));\n }\n\n componentWillReceiveProps (nextProps) {\n if ((nextProps.params.accountId !== this.props.params.accountId && nextProps.params.accountId) || nextProps.withReplies !== this.props.withReplies) {\n this.props.dispatch(fetchAccount(nextProps.params.accountId));\n this.props.dispatch(fetchAccountIdentityProofs(nextProps.params.accountId));\n\n if (!nextProps.withReplies) {\n this.props.dispatch(expandAccountFeaturedTimeline(nextProps.params.accountId));\n }\n\n this.props.dispatch(expandAccountTimeline(nextProps.params.accountId, { withReplies: nextProps.params.withReplies }));\n }\n }\n\n handleLoadMore = maxId => {\n this.props.dispatch(expandAccountTimeline(this.props.params.accountId, { maxId, withReplies: this.props.withReplies }));\n }\n\n render () {\n const { shouldUpdateScroll, statusIds, featuredStatusIds, isLoading, hasMore, blockedBy, isAccount, multiColumn } = this.props;\n\n if (!isAccount) {\n return (\n \n \n \n \n );\n }\n\n if (!statusIds && isLoading) {\n return (\n \n \n \n );\n }\n\n const emptyMessage = blockedBy ? : ;\n\n return (\n \n \n\n }\n alwaysPrepend\n scrollKey='account_timeline'\n statusIds={blockedBy ? emptyList : statusIds}\n featuredStatusIds={featuredStatusIds}\n isLoading={isLoading}\n hasMore={hasMore}\n onLoadMore={this.handleLoadMore}\n shouldUpdateScroll={shouldUpdateScroll}\n emptyMessage={emptyMessage}\n bindToDocument={!multiColumn}\n timelineId='account'\n />\n \n );\n }\n\n}\n"],"sourceRoot":""}
\ No newline at end of file