Pleroma/priv/static/packs/flavours/glitch/async/getting_started_misc.js.map
2020-05-20 07:55:14 +02:00

1 line
5.5 KiB
Plaintext

{"version":3,"sources":["webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/features/getting_started_misc/index.js"],"names":["messages","defineMessages","heading","subheading","favourites","blocks","domain_blocks","mutes","info","show_me_around","pins","keyboard_shortcuts","featured_users","gettingStartedMisc","connect","injectIntl","e","props","dispatch","openModal","render","intl","this","icon","formatMessage","className","text","to","onClick","openFeaturedAccountsModal","href","openOnboardingModal","ImmutablePureComponent","PropTypes","object","isRequired","func"],"mappings":"0RAWA,IAAMA,EAAWC,cAAc,GAC7BC,QAAQ,CAAD,2CACPC,WAAW,CAAD,+DACVC,WAAW,CAAD,4DACVC,OAAO,CAAD,2DACNC,cAAc,CAAD,mEACbC,MAAM,CAAD,wDACLC,KAAK,CAAD,gEACJC,eAAe,CAAD,iEACdC,KAAK,CAAD,0DATyB,wEAW7BC,mBAX6B,+EAY7BC,eAZ6B,yEAiBzBC,EAFUC,mB,GACfC,a,oOAQuB,SAACC,GACrB,EAAKC,MAAMC,SAASC,YAAU,kB,wDAGJ,SAACH,GAC3B,EAAKC,MAAMC,SAASC,YAAU,8B,qBAGhCC,OAAA,WAAW,IACDC,EAASC,KAAKL,MAAdI,KAIR,OACE,YAAC,IAAD,CAAQE,KAAK,aAAarB,QAASmB,EAAKG,cAAcxB,EAASE,eAA/D,EACE,YAAC,IAAD,IAEA,mBAAKuB,UAAU,mBAAf,EACE,YAAC,IAAD,CAAkBC,KAAML,EAAKG,cAAcxB,EAASG,cACpD,YAAC,IAAD,CAAwBoB,KAAK,OAAOG,KAAML,EAAKG,cAAcxB,EAASI,YAAauB,GAAG,eAAtE,SAChB,YAAC,IAAD,CAAwBJ,KAAK,aAAaG,KAAML,EAAKG,cAAcxB,EAASU,MAAOiB,GAAG,WAAtE,SAChB,YAAC,IAAD,CAAwBJ,KAAK,QAAQG,KAAML,EAAKG,cAAcxB,EAASY,gBAAiBgB,QAASN,KAAKO,2BAAtF,SAChB,YAAC,IAAD,CAAwBN,KAAK,aAAaG,KAAML,EAAKG,cAAcxB,EAASO,OAAQoB,GAAG,UAAvE,SAChB,YAAC,IAAD,CAAwBJ,KAAK,MAAMG,KAAML,EAAKG,cAAcxB,EAASK,QAASsB,GAAG,WAAjE,SAChB,YAAC,IAAD,CAAwBJ,KAAK,eAAeG,KAAML,EAAKG,cAAcxB,EAASM,eAAgBqB,GAAG,kBAAjF,SAChB,YAAC,IAAD,CAAwBJ,KAAK,WAAWG,KAAML,EAAKG,cAAcxB,EAASW,oBAAqBgB,GAAG,uBAAlF,SAChB,YAAC,IAAD,CAAwBJ,KAAK,OAAOG,KAAML,EAAKG,cAAcxB,EAASQ,MAAOsB,KAAK,eAAlE,SAChB,YAAC,IAAD,CAAwBP,KAAK,eAAeG,KAAML,EAAKG,cAAcxB,EAASS,gBAAiBmB,QAASN,KAAKS,qBAA7F,Y,GAlCOC,K,0BAEZ,CACjBX,KAAMY,IAAUC,OAAOC,WACvBjB,SAAUe,IAAUG,KAAKD,a","file":"flavours/glitch/async/getting_started_misc.js","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Column from 'flavours/glitch/features/ui/components/column';\nimport ColumnBackButtonSlim from 'flavours/glitch/components/column_back_button_slim';\nimport { defineMessages, injectIntl } from 'react-intl';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\nimport ColumnLink from 'flavours/glitch/features/ui/components/column_link';\nimport ColumnSubheading from 'flavours/glitch/features/ui/components/column_subheading';\nimport { openModal } from 'flavours/glitch/actions/modal';\nimport { connect } from 'react-redux';\n\nconst messages = defineMessages({\n heading: { id: 'column.heading', defaultMessage: 'Misc' },\n subheading: { id: 'column.subheading', defaultMessage: 'Miscellaneous options' },\n favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favourites' },\n blocks: { id: 'navigation_bar.blocks', defaultMessage: 'Blocked users' },\n domain_blocks: { id: 'navigation_bar.domain_blocks', defaultMessage: 'Hidden domains' },\n mutes: { id: 'navigation_bar.mutes', defaultMessage: 'Muted users' },\n info: { id: 'navigation_bar.info', defaultMessage: 'Extended information' },\n show_me_around: { id: 'getting_started.onboarding', defaultMessage: 'Show me around' },\n pins: { id: 'navigation_bar.pins', defaultMessage: 'Pinned toots' },\n info: { id: 'navigation_bar.info', defaultMessage: 'Extended information' },\n keyboard_shortcuts: { id: 'navigation_bar.keyboard_shortcuts', defaultMessage: 'Keyboard shortcuts' },\n featured_users: { id: 'navigation_bar.featured_users', defaultMessage: 'Featured users' },\n});\n\nexport default @connect()\n@injectIntl\nclass gettingStartedMisc extends ImmutablePureComponent {\n\n static propTypes = {\n intl: PropTypes.object.isRequired,\n dispatch: PropTypes.func.isRequired,\n };\n\n openOnboardingModal = (e) => {\n this.props.dispatch(openModal('ONBOARDING'));\n }\n\n openFeaturedAccountsModal = (e) => {\n this.props.dispatch(openModal('PINNED_ACCOUNTS_EDITOR'));\n }\n\n render () {\n const { intl } = this.props;\n\n let i = 1;\n\n return (\n <Column icon='ellipsis-h' heading={intl.formatMessage(messages.heading)}>\n <ColumnBackButtonSlim />\n\n <div className='scrollable'>\n <ColumnSubheading text={intl.formatMessage(messages.subheading)} />\n <ColumnLink key='{i++}' icon='star' text={intl.formatMessage(messages.favourites)} to='/favourites' />\n <ColumnLink key='{i++}' icon='thumb-tack' text={intl.formatMessage(messages.pins)} to='/pinned' />\n <ColumnLink key='{i++}' icon='users' text={intl.formatMessage(messages.featured_users)} onClick={this.openFeaturedAccountsModal} />\n <ColumnLink key='{i++}' icon='volume-off' text={intl.formatMessage(messages.mutes)} to='/mutes' />\n <ColumnLink key='{i++}' icon='ban' text={intl.formatMessage(messages.blocks)} to='/blocks' />\n <ColumnLink key='{i++}' icon='minus-circle' text={intl.formatMessage(messages.domain_blocks)} to='/domain_blocks' />\n <ColumnLink key='{i++}' icon='question' text={intl.formatMessage(messages.keyboard_shortcuts)} to='/keyboard-shortcuts' />\n <ColumnLink key='{i++}' icon='book' text={intl.formatMessage(messages.info)} href='/about/more' />\n <ColumnLink key='{i++}' icon='hand-o-right' text={intl.formatMessage(messages.show_me_around)} onClick={this.openOnboardingModal} />\n </div>\n </Column>\n );\n }\n\n}\n"],"sourceRoot":""}