2018-09-20 16:10:13 +00:00
|
|
|
{"version":3,"sources":["webpack:///./app/javascript/mastodon/features/lists/components/new_list_form.js","webpack:///./app/javascript/mastodon/features/lists/index.js"],"names":["messages","Object","index_es","label","id","defaultMessage","title","new_list_form_NewListForm","es","state","value","getIn","disabled","dispatch","onChange","actions_lists","onSubmit","handleChange","e","_this","props","target","handleSubmit","preventDefault","handleClick","render","_props","this","intl","formatMessage","jsx_default","className","style","display","placeholder","icon_button","icon","onClick","react_default","a","PureComponent","lists_messages","heading","subheading","getOrderedLists","lib","get","lists","toList","filter","item","sort","b","localeCompare","lists_Lists","componentWillMount","shouldUpdateScroll","column","loading_indicator","emptyMessage","column_back_button_slim","column_subheading","text","scrollable_list","scrollKey","map","list","column_link","to","react_immutable_pure_component_es","propTypes","params","prop_types_default","object","isRequired","func","ImmutablePropTypes_default"],"mappings":"mTAOMA,EAAWC,OAAAC,EAAA,EAAAD,EACfE,OAAAC,GAAA,8BAAAC,eAAA,kBACAC,OAAAF,GAAA,mBAAAC,eAAA,cAemBE,EAFpBN,OAAAO,EAAA,QAAAP,CAVuB,SAAAQ,GAAA,OACtBC,MAAOD,EAAME,OAAO,aAAc,UAClCC,SAAUH,EAAME,OAAO,aAAc,mBAGZ,SAAAE,GAAA,OACzBC,SAAU,SAAAJ,GAAA,OAASG,EAASZ,OAAAc,EAAA,EAAAd,CAAsBS,KAClDM,SAAU,kBAAMH,EAASZ,OAAAc,EAAA,EAAAd,EAAiB,UAI3CA,OAAAC,EAAA,EAAAD,8KAWCgB,aAAe,SAAAC,GACbC,EAAKC,MAAMN,SAASI,EAAEG,OAAOX,UAG/BY,aAAe,SAAAJ,GACbA,EAAEK,iBACFJ,EAAKC,MAAMJ,cAGbQ,YAAc,WACZL,EAAKC,MAAMJ,qDAGbS,kBAAU,IAAAC,EAC0BC,KAAKP,MAA/BV,EADAgB,EACAhB,MAAOE,EADPc,EACOd,SAAUgB,EADjBF,EACiBE,KAEnBzB,EAAQyB,EAAKC,cAAc7B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fM,QACkCd,EAAKC,cAAcY,EAASC,eAD9D,EAAAZ,IAEK8B,EAAA,MAFL9B,IAIKvB,MAJLuB,IAMK+B,EAAA,GANLC,KAM4BlC,EAAKC,cAAcY,EAASE,cANxDb,IAOKiC,EAAA,GAPLC,UAQgB,QARhBR,mBAS0BA,EAT1BG,aAUoBA,QAVpB,EAYOZ,EAAMkB,IAAI,SAAAC,GAAA,OAAApC,IACRqC,EAAA,GADQC,GAAA,mBAC+CF,EAAKpB,IAAI,MADxDV,KACsE,UADtE0B,KACsFI,EAAKpB,IAAI,UAAvFoB,EAAKpB,IAAI,eAvCHuB,EAAA,KAE1BC,WACLC,OAAQC,EAAAjC,EAAUkC,OAAOC,WACzB7D,SAAU2D,EAAAjC,EAAUoC,KAAKD,WACzB3B,MAAO6B,EAAArC,EAAmB2B,KAC1BtC,KAAM4C,EAAAjC,EAAUkC,OAAOC","file":"features/lists.js","sourcesContent":["import React from 'react';\nimport { connect } from 'react-redux';\nimport PropTypes from 'prop-types';\nimport { changeListEditorTitle, submitListEditor } from '../../../actions/lists';\nimport IconButton from '../../../components/icon_button';\nimport { defineMessages, injectIntl } from 'react-intl';\n\nconst messages = defineMessages({\n label: { id: 'lists.new.title_placeholder', defaultMessage: 'New list title' },\n title: { id: 'lists.new.create', defaultMessage: 'Add list' },\n});\n\nconst mapStateToProps = state => ({\n value: state.getIn(['listEditor', 'title']),\n disabled: state.getIn(['listEditor', 'isSubmitting']),\n});\n\nconst mapDispatchToProps = dispatch => ({\n onChange: value => dispatch(changeListEditorTitle(value)),\n onSubmit: () => dispatch(submitListEditor(true)),
|