Pleroma/priv/static/packs/features/keyboard_shortcuts.js.map

1 line
11 KiB
Plaintext

{"version":3,"sources":["webpack:///./app/javascript/mastodon/features/keyboard_shortcuts/index.js"],"names":["messages","Object","react_intl__WEBPACK_IMPORTED_MODULE_7__","heading","id","defaultMessage","KeyboardShortcuts","render","intl","this","props","babel_runtime_helpers_jsx__WEBPACK_IMPORTED_MODULE_0___default","_ui_components_column__WEBPACK_IMPORTED_MODULE_5__","icon","formatMessage","_components_column_back_button_slim__WEBPACK_IMPORTED_MODULE_6__","className","react_immutable_pure_component__WEBPACK_IMPORTED_MODULE_9__","propTypes","prop_types__WEBPACK_IMPORTED_MODULE_8___default","a","object","isRequired","multiColumn","bool"],"mappings":"0QAOMA,EAAWC,OAAAC,EAAA,EAAAD,EACfE,SAAAC,GAAA,6BAAAC,eAAA,wBAImBC,EADpBL,OAAAC,EAAA,EAAAD,gHAQCM,kBAAU,IACAC,EAASC,KAAKC,MAAdF,KAER,OAAAG,IACGC,EAAA,GADHC,KACe,WADfV,QACmCK,EAAKM,cAAcd,EAASG,eAD/D,EAAAQ,IAEKI,EAAA,MAFLJ,IAAA,OAAAK,UAGmB,4DAHnB,EAAAL,IAAA,kBAAAA,IAAA,kBAAAA,IAAA,eAAAA,IAAA,eAAAA,IAOiBT,EAAA,GAPjBE,GAOqC,4BAPrCC,eAOgF,YAPhFM,IAAA,eAAAA,IAQiBT,EAAA,GARjBE,GAQqC,iCARrCC,eAQqF,mBARrFM,IAAA,kBAAAA,IAAA,eAAAA,IAAA,eAAAA,IAAA,sBAAAA,IAAA,eAAAA,IAciBT,EAAA,GAdjBE,GAcqC,2BAdrCC,eAc+E,eAd/EM,IAAA,eAAAA,IAAA,eAAAA,IAAA,sBAAAA,IAAA,eAAAA,IAkBiBT,EAAA,GAlBjBE,GAkBqC,6BAlBrCC,eAkBiF,wBAlBjFM,IAAA,eAAAA,IAAA,eAAAA,IAAA,sBAAAA,IAAA,eAAAA,IAsBiBT,EAAA,GAtBjBE,GAsB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AAAA,IAAA,yBAAAA,IAAA,sBAAAA,IAAA,eAAAA,IAsGiBT,EAAA,GAtGjBE,GAsGqC,4BAtGrCC,eAsGgF,gCAtGhFM,IAAA,eAAAA,IAAA,eAAAA,IAAA,yBAAAA,IAAA,sBAAAA,IAAA,eAAAA,IA0GiBT,EAAA,GA1GjBE,GA0GqC,gCA1GrCC,eA0GoF,2BA1GpFM,IAAA,eAAAA,IAAA,eAAAA,IAAA,yBAAAA,IAAA,sBAAAA,IAAA,eAAAA,IA8GiBT,EAAA,GA9GjBE,GA8GqC,6BA9GrCC,eA8GiF,iCA9GjFM,IAAA,eAAAA,IAAA,eAAAA,IAAA,yBAAAA,IAAA,sBAAAA,IAAA,eAAAA,IAkHiBT,EAAA,GAlHjBE,GAkHqC,2BAlHrCC,eAkH+E,+BAlH/EM,IAAA,eAAAA,IAAA,eAAAA,IAAA,yBAAAA,IAAA,sBAAAA,IAAA,eAAAA,IAsHiBT,EAAA,GAtHjBE,GAsHqC,8BAtHrCC,eAsHkF,mCAtHlFM,IAAA,eAAAA,IAAA,eAAAA,IAAA,sBAAAA,IAAA,eAAAA,IA0HiBT,EAAA,GA1HjBE,GA0HqC,4BA1HrCC,eA0HgF,qCApIrCY,EAAA,KAEtCC,WACLV,KAAMW,EAAAC,EAAUC,OAAOC,WACvBC,YAAaJ,EAAAC,EAAUI","file":"features/keyboard_shortcuts.js","sourcesContent":["import React from 'react';\nimport Column from '../ui/components/column';\nimport ColumnBackButtonSlim from '../../components/column_back_button_slim';\nimport { defineMessages, injectIntl, FormattedMessage } from 'react-intl';\nimport PropTypes from 'prop-types';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\n\nconst messages = defineMessages({\n heading: { id: 'keyboard_shortcuts.heading', defaultMessage: 'Keyboard Shortcuts' },\n});\n\n@injectIntl\nexport default class KeyboardShortcuts extends ImmutablePureComponent {\n\n static propTypes = {\n intl: PropTypes.object.isRequired,\n multiColumn: PropTypes.bool,\n };\n\n render () {\n const { intl } = this.props;\n\n return (\n <Column icon='question' heading={intl.formatMessage(messages.heading)}>\n <ColumnBackButtonSlim />\n <div className='keyboard-shortcuts scrollable optionally-scrollable'>\n <table>\n <thead>\n <tr>\n <th><FormattedMessage id='keyboard_shortcuts.hotkey' defaultMessage='Hotkey' /></th>\n <th><FormattedMessage id='keyboard_shortcuts.description' defaultMessage='Description' /></th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td><kbd>r</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.reply' defaultMessage='to reply' /></td>\n </tr>\n <tr>\n <td><kbd>m</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.mention' defaultMessage='to mention author' /></td>\n </tr>\n <tr>\n <td><kbd>p</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.profile' defaultMessage=\"to open author's profile\" /></td>\n </tr>\n <tr>\n <td><kbd>f</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.favourite' defaultMessage='to favourite' /></td>\n </tr>\n <tr>\n <td><kbd>b</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.boost' defaultMessage='to boost' /></td>\n </tr>\n <tr>\n <td><kbd>enter</kbd>, <kbd>o</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.enter' defaultMessage='to open status' /></td>\n </tr>\n <tr>\n <td><kbd>x</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.toggle_hidden' defaultMessage='to show/hide text behind CW' /></td>\n </tr>\n <tr>\n <td><kbd>up</kbd>, <kbd>k</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.up' defaultMessage='to move up in the list' /></td>\n </tr>\n <tr>\n <td><kbd>down</kbd>, <kbd>j</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.down' defaultMessage='to move down in the list' /></td>\n </tr>\n <tr>\n <td><kbd>1</kbd>-<kbd>9</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.column' defaultMessage='to focus a status in one of the columns' /></td>\n </tr>\n <tr>\n <td><kbd>n</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.compose' defaultMessage='to focus the compose textarea' /></td>\n </tr>\n <tr>\n <td><kbd>alt</kbd>+<kbd>n</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.toot' defaultMessage='to start a brand new toot' /></td>\n </tr>\n <tr>\n <td><kbd>backspace</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.back' defaultMessage='to navigate back' /></td>\n </tr>\n <tr>\n <td><kbd>s</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.search' defaultMessage='to focus search' /></td>\n </tr>\n <tr>\n <td><kbd>esc</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.unfocus' defaultMessage='to un-focus compose textarea/search' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>h</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.home' defaultMessage='to open home timeline' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>n</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.notifications' defaultMessage='to open notifications column' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>l</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.local' defaultMessage='to open local timeline' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>t</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.federated' defaultMessage='to open federated timeline' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>d</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.direct' defaultMessage='to open direct messages column' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>s</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.start' defaultMessage='to open \"get started\" column' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>f</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.favourites' defaultMessage='to open favourites list' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>p</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.pinned' defaultMessage='to open pinned toots list' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>u</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.my_profile' defaultMessage='to open your profile' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>b</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.blocked' defaultMessage='to open blocked users list' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>m</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.muted' defaultMessage='to open muted users list' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>r</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.requests' defaultMessage='to open follow requests list' /></td>\n </tr>\n <tr>\n <td><kbd>?</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.legend' defaultMessage='to display this legend' /></td>\n </tr>\n </tbody>\n </table>\n </div>\n </Column>\n );\n }\n\n}\n"],"sourceRoot":""}