X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=priv%2Fstatic%2Fpacks%2Fflavours%2Fglitch%2Fasync%2Ffavourites.js.map;h=0dc9462d3b8c7b78957ecaa12e9824fadf779f47;hb=6e6f1ead31ba26bc42b14226e3c0876042f0596a;hp=87c475d06dda623ed9521cf1ca67660951a58ca6;hpb=b3b0855456a92351667a50c8ea77f328bded76ca;p=akkoma
diff --git a/priv/static/packs/flavours/glitch/async/favourites.js.map b/priv/static/packs/flavours/glitch/async/favourites.js.map
index 87c475d06..0dc9462d3 100644
--- a/priv/static/packs/flavours/glitch/async/favourites.js.map
+++ b/priv/static/packs/flavours/glitch/async/favourites.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack:///app/javascript/seagate/sources/git/hacktivis.me/git/mastofe/app/javascript/flavours/glitch/features/favourites/index.js"],"names":["Favourites","connect","state","props","accountIds","getIn","params","statusId","prevRouterProps","_ref","location","mastodonModalOpen","componentWillMount","this","dispatch","fetchFavourites","componentWillReceiveProps","nextProps","render","Object","_babel_runtime_helpers_esm_jsx__WEBPACK_IMPORTED_MODULE_0__","flavours_glitch_features_ui_components_column__WEBPACK_IMPORTED_MODULE_12__","flavours_glitch_components_column_back_button__WEBPACK_IMPORTED_MODULE_13__","react_router_scroll_4__WEBPACK_IMPORTED_MODULE_10__","scrollKey","shouldUpdateScroll","className","map","id","flavours_glitch_containers_account_container__WEBPACK_IMPORTED_MODULE_11__","withNote","flavours_glitch_components_loading_indicator__WEBPACK_IMPORTED_MODULE_8__","ImmutablePureComponent","PropTypes","object","isRequired","func","ImmutablePropTypes","list"],"mappings":"2RAiBqBA,EADpBC,kBAJuB,SAACC,EAAOC,GAAR,MAAmB,CACzCC,WAAYF,EAAMG,MAAM,CAAC,aAAc,gBAAiBF,EAAMG,OAAOC,mOAsBhD,SAACC,EAADC,GAAmC,IAAfC,EAAeD,EAAfC,SACvC,UAAOF,GAAmB,IAAIE,UAAY,IAAIR,OAAS,IAAIS,qBAClDD,EAASR,OAASQ,EAASR,MAAMS,mEAZ5CC,mBAAA,WACEC,KAAKV,MAAMW,SAASC,YAAgBF,KAAKV,MAAMG,OAAOC,cAGxDS,0BAAA,SAA2BC,GACrBA,EAAUX,OAAOC,WAAaM,KAAKV,MAAMG,OAAOC,UAAYU,EAAUX,OAAOC,UAC/EM,KAAKV,MAAMW,SAASC,YAAgBE,EAAUX,OAAOC,cASzDW,OAAA,WAAU,IACAd,EAAeS,KAAKV,MAApBC,WAER,OAAKA,EASHe,OAAAC,EAAA,EAAAD,CAACE,EAAA,EAAD,UACEF,OAAAC,EAAA,EAAAD,CAACG,EAAA,EAAD,IAEAH,OAAAC,EAAA,EAAAD,CAACI,EAAA,EAAD,CAAiBC,UAAU,aAAaC,mBAAoBZ,KAAKY,yBAAjE,EACEN,OAAAC,EAAA,EAAAD,CAAA,OAAKO,UAAU,mBAAf,EACGtB,EAAWuB,IAAI,SAAAC,GAAE,OAAIT,OAAAC,EAAA,EAAAD,CAACU,EAAA,EAAD,CAA2BD,GAAIA,EAAIE,UAAU,GAAtBF,QAZjDT,OAAAC,EAAA,EAAAD,CAACE,EAAA,EAAD,UACEF,OAAAC,EAAA,EAAAD,CAACY,EAAA,EAAD,SA7B8BC,+BAEnB,CACjB1B,OAAQ2B,IAAUC,OAAOC,WACzBrB,SAAUmB,IAAUG,KAAKD,WACzB/B,WAAYiC,IAAmBC","file":"flavours/glitch/async/favourites.js","sourcesContent":["import React from 'react';\nimport { connect } from 'react-redux';\nimport PropTypes from 'prop-types';\nimport ImmutablePropTypes from 'react-immutable-proptypes';\nimport LoadingIndicator from 'flavours/glitch/components/loading_indicator';\nimport { fetchFavourites } from 'flavours/glitch/actions/interactions';\nimport { ScrollContainer } from 'react-router-scroll-4';\nimport AccountContainer from 'flavours/glitch/containers/account_container';\nimport Column from 'flavours/glitch/features/ui/components/column';\nimport ColumnBackButton from 'flavours/glitch/components/column_back_button';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\n\nconst mapStateToProps = (state, props) => ({\n accountIds: state.getIn(['user_lists', 'favourited_by', props.params.statusId]),\n});\n\n@connect(mapStateToProps)\nexport default class Favourites extends ImmutablePureComponent {\n\n static propTypes = {\n params: PropTypes.object.isRequired,\n dispatch: PropTypes.func.isRequired,\n accountIds: ImmutablePropTypes.list,\n };\n\n componentWillMount () {\n this.props.dispatch(fetchFavourites(this.props.params.statusId));\n }\n\n componentWillReceiveProps (nextProps) {\n if (nextProps.params.statusId !== this.props.params.statusId && nextProps.params.statusId) {\n this.props.dispatch(fetchFavourites(nextProps.params.statusId));\n }\n }\n\n shouldUpdateScroll = (prevRouterProps, { location }) => {\n if ((((prevRouterProps || {}).location || {}).state || {}).mastodonModalOpen) return false;\n return !(location.state && location.state.mastodonModalOpen);\n }\n\n render () {\n const { accountIds } = this.props;\n\n if (!accountIds) {\n return (\n \n \n \n );\n }\n\n return (\n \n \n\n \n \n {accountIds.map(id =>
)}\n
\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/flavours/glitch/features/favourites/index.js"],"names":["messages","defineMessages","heading","Favourites","connect","state","props","accountIds","getIn","params","statusId","injectIntl","column","scrollTop","c","componentWillMount","this","dispatch","fetchFavourites","componentWillReceiveProps","nextProps","render","intl","emptyMessage","id","defaultMessage","ref","setRef","icon","title","formatMessage","onClick","handleHeaderClick","showBackButton","scrollKey","map","withNote","ImmutablePureComponent","PropTypes","object","isRequired","func","ImmutablePropTypes","list"],"mappings":"2SAaMA,EAAWC,YAAe,CAC9BC,QAAQ,CAAD,4DASHC,EAFUC,kBAJQ,SAACC,EAAOC,GAAR,MAAmB,CACzCC,WAAYF,EAAMG,MAAM,CAAC,aAAc,gBAAiBF,EAAMG,OAAOC,a,GAItEC,a,sMAsBqB,WAClB,EAAKC,OAAOC,c,oCAGL,SAAAC,GACP,EAAKF,OAASE,I,8CAjBhBC,mBAAA,WACOC,KAAKV,MAAMC,YACdS,KAAKV,MAAMW,SAASC,YAAgBF,KAAKV,MAAMG,OAAOC,Y,EAI1DS,0BAAA,SAA2BC,GACrBA,EAAUX,OAAOC,WAAaM,KAAKV,MAAMG,OAAOC,UAAYU,EAAUX,OAAOC,UAC/EM,KAAKV,MAAMW,SAASC,YAAgBE,EAAUX,OAAOC,Y,EAYzDW,OAAA,WAAW,IAAD,EACqBL,KAAKV,MAA1BgB,EADA,EACAA,KAAMf,EADN,EACMA,WAEd,IAAKA,EACH,OACE,YAAC,IAAD,UACE,YAAC,IAAD,KAKN,IAAMgB,EAAe,YAAC,IAAD,CAAkBC,GAAG,0BAA0BC,eAAe,oFAEnF,OACE,kBAAC,IAAD,CAAQC,IAAKV,KAAKW,QAChB,YAAC,IAAD,CACEC,KAAK,OACLC,MAAOP,EAAKQ,cAAc9B,EAASE,SACnC6B,QAASf,KAAKgB,kBACdC,gBAAc,IAEhB,YAAC,IAAD,CACEC,UAAU,aACVX,aAAcA,QAFhB,EAIGhB,EAAW4B,IAAI,SAAAX,GAAE,OAChB,YAAC,IAAD,CAA2BA,GAAIA,EAAIY,UAAU,GAAtBZ,Q,GAvDVa,K,0BAEJ,CACjB5B,OAAQ6B,IAAUC,OAAOC,WACzBvB,SAAUqB,IAAUG,KAAKD,WACzBjC,WAAYmC,IAAmBC,KAC/BrB,KAAMgB,IAAUC,OAAOC,a","file":"flavours/glitch/async/favourites.js","sourcesContent":["import React from 'react';\nimport { connect } from 'react-redux';\nimport PropTypes from 'prop-types';\nimport ImmutablePropTypes from 'react-immutable-proptypes';\nimport LoadingIndicator from 'flavours/glitch/components/loading_indicator';\nimport { fetchFavourites } from 'flavours/glitch/actions/interactions';\nimport AccountContainer from 'flavours/glitch/containers/account_container';\nimport Column from 'flavours/glitch/features/ui/components/column';\nimport ColumnHeader from 'flavours/glitch/components/column_header';\nimport { defineMessages, injectIntl, FormattedMessage } from 'react-intl';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\nimport ScrollableList from '../../components/scrollable_list';\n\nconst messages = defineMessages({\n heading: { id: 'column.favourited_by', defaultMessage: 'Favourited by' },\n});\n\nconst mapStateToProps = (state, props) => ({\n accountIds: state.getIn(['user_lists', 'favourited_by', props.params.statusId]),\n});\n\nexport default @connect(mapStateToProps)\n@injectIntl\nclass Favourites extends ImmutablePureComponent {\n\n static propTypes = {\n params: PropTypes.object.isRequired,\n dispatch: PropTypes.func.isRequired,\n accountIds: ImmutablePropTypes.list,\n intl: PropTypes.object.isRequired,\n };\n\n componentWillMount () {\n if (!this.props.accountIds) {\n this.props.dispatch(fetchFavourites(this.props.params.statusId));\n }\n }\n\n componentWillReceiveProps (nextProps) {\n if (nextProps.params.statusId !== this.props.params.statusId && nextProps.params.statusId) {\n this.props.dispatch(fetchFavourites(nextProps.params.statusId));\n }\n }\n\n handleHeaderClick = () => {\n this.column.scrollTop();\n }\n\n setRef = c => {\n this.column = c;\n }\n\n render () {\n const { intl, accountIds } = this.props;\n\n if (!accountIds) {\n return (\n \n \n \n );\n }\n\n const emptyMessage = ;\n\n return (\n \n \n \n {accountIds.map(id =>\n \n )}\n \n \n );\n }\n\n}\n"],"sourceRoot":""}
\ No newline at end of file