X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=priv%2Fstatic%2Fpacks%2Ffeatures%2Fdomain_blocks.js.map;h=33cdac0616f3eab027fee1993669e81b13bb7d70;hb=2286f62a36a0f5d738892a9283a696b8a45b45a6;hp=f0552035b979992cdd43fdac6b4c226f792d1c3c;hpb=83e3afac2c9002e224718e8270c4e5550316e762;p=akkoma
diff --git a/priv/static/packs/features/domain_blocks.js.map b/priv/static/packs/features/domain_blocks.js.map
index f0552035b..33cdac061 100644
--- a/priv/static/packs/features/domain_blocks.js.map
+++ b/priv/static/packs/features/domain_blocks.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack:///./app/javascript/mastodon/components/domain.js","webpack:///./app/javascript/mastodon/containers/domain_container.js","webpack:///./app/javascript/mastodon/features/domain_blocks/index.js","webpack:///./node_modules/babel-runtime/helpers/objectDestructuringEmpty.js"],"names":["messages","Object","index_es","unblockDomain","id","defaultMessage","domain_Account","handleDomainUnblock","_this","props","onUnblockDomain","domain","render","_props","this","intl","jsx_default","className","icon_button","active","icon","title","formatMessage","onClick","react_immutable_pure_component_es","propTypes","prop_types_default","a","string","func","isRequired","object","domain_container_messages","blockDomainConfirm","domain_container","es","state","_ref","objectDestructuringEmpty_default","dispatch","_ref2","onBlockDomain","modal","message","values","confirm","onConfirm","domain_blocks","domain_blocks_messages","heading","domain_blocks_Blocks","domains","getIn","handleLoadMore","debounce_default","leading","componentWillMount","shouldUpdateScroll","column","loading_indicator","emptyMessage","column_back_button_slim","scrollable_list","scrollKey","onLoadMore","map","params","ImmutablePropTypes_default","orderedSet","exports","__esModule","default","obj","TypeError"],"mappings":"8TAMMA,EAAWC,OAAAC,EAAA,EAAAD,EACfE,eAAAC,GAAA,yBAAAC,eAAA,qBAImBC,EADpBL,OAAAC,EAAA,EAAAD,iLASCM,oBAAsB,WACpBC,EAAKC,MAAMC,gBAAgBF,EAAKC,MAAME,kDAGxCC,kBAAU,IAAAC,EACiBC,KAAKL,MAAt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GAAA,OACtBe,QAASf,EAAMgB,OAAO,eAAgB,SAAU,eAIjDnD,OAAAC,EAAA,EAAAD,iLAeCoD,eAAiBC,IAAS,WACxB9C,EAAKC,MAAM8B,SAAStC,OAAA8C,EAAA,EAAA9C,KACnB,KAAOsD,SAAS,6CANnBC,8BACE1C,KAAKL,MAAM8B,SAAStC,OAAA8C,EAAA,EAAA9C,iBAOtBW,kBAAU,IAAAC,EACsCC,KAAKL,MAA3CM,EADAF,EACAE,KAAMoC,EADNtC,EACMsC,QAASM,EADf5C,EACe4C,mBAEvB,IAAKN,EACH,OAAAnC,IACG0C,EAAA,UADH,EAAA1C,IAEK2C,EAAA,OAKP,IAAMC,EAAA5C,IAAgBd,EAAA,GAAhBE,GAAoC,6BAApCC,eAAgF,qCAEtF,OAAAW,IACG0C,EAAA,GADHtC,KACe,eADf6B,QACuClC,EAAKO,cAAc0B,EAASC,eADnE,EAAAjC,IAEK6C,EAAA,MAFL7C,IAGK8C,EAAA,GAHLC,UAIgB,gBAJhBC,WAKkBlD,KAAKuC,eALvBI,mBAM0BA,EAN1BG,aAOoBA,QAPpB,EASOT,EAAQc,IAAI,SAAAtD,GAAA,OAAAK,IACVkB,GADUvB,OAC2BA,GAAhBA,WAzCEa,EAAA,KAE3BC,WACLyC,OAAQxC,EAAAC,EAAUI,OAAOD,WACzBS,SAAUb,EAAAC,EAAUE,KAAKC,WACzB2B,mBAAoB/B,EAAAC,EAAUE,KAC9BsB,QAASgB,EAAAxC,EAAmByC,WAC5BrD,KAAMW,EAAAC,EAAUI,OAAOD,2DC9B3BuC,EAAQC,YAAa,EAErBD,EAAQE,QAAU,SAAUC,GAC1B,GAAW,MAAPA,EAAa,MAAM,IAAIC,UAAU","file":"features/domain_blocks.js","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport IconButton from './icon_button';\nimport { defineMessages, injectIntl } from 'react-intl';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\n\nconst messages = defineMessages({\n unblockDomain: { id: 'account.unblock_domain', defaultMessage: 'Unhide {domain}' },\n});\n\n@injectIntl\nexport default class Account extends ImmutablePureComponent {\n\n static propTypes = {\n domain: PropTypes.string,\n onUnblockDomain: PropTypes.func.isRequired,\n intl: PropTypes.object.isRequired,\n };\n\n handleDomainUnblock = () => {\n this.props.onUnblockDomain(this.props.domain);\n }\n\n render () {\n const { domain, intl } = this.props;\n\n return (\n
\n
\n
\n {domain}\n \n\n
\n \n
\n
\n
\n );\n }\n\n}\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { blockDomain, unblockDomain } from '../actions/domain_blocks';\nimport { defineMessages, injectIntl, FormattedMessage } from 'react-intl';\nimport Domain from '../components/domain';\nimport { openModal } from '../actions/modal';\n\nconst messages = defineMessages({\n blockDomainConfirm: { id: 'confirmations.domain_block.confirm', defaultMessage: 'Hide entire domain' },\n});\n\nconst makeMapStateToProps = () => {\n const mapStateToProps = (state, { }) => ({\n });\n\n return mapStateToProps;\n};\n\nconst mapDispatchToProps = (dispatch, { intl }) => ({\n onBlockDomain (domain) {\n dispatch(openModal('CONFIRM', {\n message: {domain} }} />,\n confirm: intl.formatMessage(messages.blockDomainConfirm),\n onConfirm: () => dispatch(blockDomain(domain)),\n }));\n },\n\n onUnblockDomain (domain) {\n dispatch(unblockDomain(domain));\n },\n});\n\nexport default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(Domain));\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { defineMessages, injectIntl, FormattedMessage } from 'react-intl';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\nimport PropTypes from 'prop-types';\nimport ImmutablePropTypes from 'react-immutable-proptypes';\nimport { debounce } from 'lodash';\nimport LoadingIndicator from '../../components/loading_indicator';\nimport Column from '../ui/components/column';\nimport ColumnBackButtonSlim from '../../components/column_back_button_slim';\nimport DomainContainer from '../../containers/domain_container';\nimport { fetchDomainBlocks, expandDomainBlocks } from '../../actions/domain_blocks';\nimport ScrollableList from '../../components/scrollable_list';\n\nconst messages = defineMessages({\n heading: { id: 'column.domain_blocks', defaultMessage: 'Hidden domains' },\n unblockDomain: { id: 'account.unblock_domain', defaultMessage: 'Unhide {domain}' },\n});\n\nconst mapStateToProps = state => ({\n domains: state.getIn(['domain_lists', 'blocks', 'items']),\n});\n\n@connect(mapStateToProps)\n@injectIntl\nexport default class Blocks extends ImmutablePureComponent {\n\n static propTypes = {\n params: PropTypes.object.isRequired,\n dispatch: PropTypes.func.isRequired,\n shouldUpdateScroll: PropTypes.func,\n domains: ImmutablePropTypes.orderedSet,\n intl: PropTypes.object.isRequired,\n };\n\n componentWillMount () {\n this.props.dispatch(fetchDomainBlocks());\n }\n\n handleLoadMore = debounce(() => {\n this.props.dispatch(expandDomainBlocks());\n }, 300, { leading: true });\n\n render () {\n const { intl, domains, shouldUpdateScroll } = this.props;\n\n if (!domains) {\n return (\n \n \n \n );\n }\n\n const emptyMessage = ;\n\n return (\n \n \n \n {domains.map(domain =>\n \n )}\n \n \n );\n }\n\n}\n","\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (obj) {\n if (obj == null) throw new TypeError(\"Cannot destructure undefined\");\n};"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"sources":["webpack:///app/javascript/builds/pleroma/mastofe/app/javascript/mastodon/components/domain.js","webpack:///app/javascript/builds/pleroma/mastofe/app/javascript/mastodon/containers/domain_container.js","webpack:///app/javascript/builds/pleroma/mastofe/app/javascript/mastodon/features/domain_blocks/index.js"],"names":["messages","defineMessages","unblockDomain","id","defaultMessage","Account","injectIntl","_this","props","onUnblockDomain","domain","render","_this$props","this","intl","Object","jsx","className","icon_button","active","icon","title","formatMessage","onClick","handleDomainUnblock","ImmutablePureComponent","PropTypes","string","func","isRequired","object","blockDomainConfirm","connect","dispatch","_ref","onBlockDomain","openModal","message","index_es","values","confirm","onConfirm","blockDomain","Domain","heading","Blocks","state","domains","getIn","hasMore","debounce_default","expandDomainBlocks","leading","componentWillMount","fetchDomainBlocks","shouldUpdateScroll","column","loading_indicator","emptyMessage","column_back_button_slim","scrollable_list","scrollKey","onLoadMore","handleLoadMore","map","domain_container","params","bool","ImmutablePropTypes","orderedSet"],"mappings":"0QAMMA,EAAWC,YAAe,CAC9BC,cAAa,CAAAC,GAAA,yBAAAC,eAAA,qBAITC,EADUC,qNASQ,WACpBC,EAAKC,MAAMC,gBAAgBF,EAAKC,MAAME,gDAGxCC,OAAA,WAAU,IAAAC,EACiBC,KAAKL,MAAtBE,EADAE,EACAF,OAAQI,EADRF,EACQE,KAEhB,OACEC,OAAAC,EAAA,EAAAD,CAAA,OAAKE,UAAU,eAAf,EACEF,OAAAC,EAAA,EAAAD,CAAA,OAAKE,UAAU,wBAAf,EACEF,OAAAC,EAAA,EAAAD,CAAA,QAAME,UAAU,4BAAhB,EACEF,OAAAC,EAAA,EAAAD,CAAA,mBAASL,IAGXK,OAAAC,EAAA,EAAAD,CAAA,OAAKE,UAAU,wBAAf,EACEF,OAAAC,EAAA,EAAAD,CAACG,EAAA,EAAD,CAAYC,QAAM,EAACC,KAAK,SAASC,MAAOP,EAAKQ,cAActB,EAASE,cAAe,CAAEQ,WAAWa,QAASV,KAAKW,6BAvBpGC,+BAED,CACjBf,OAAQgB,IAAUC,OAClBlB,gBAAiBiB,IAAUE,KAAKC,WAChCf,KAAMY,IAAUI,OAAOD,8BCTrB7B,EAAWC,YAAe,CAC9B8B,mBAAkB,CAAA5B,GAAA,qCAAAC,eAAA,wBAuBLE,cAAW0B,kBApBE,WAG1B,OAFwB,iBAAO,KAKN,SAACC,EAADC,GAAA,IAAapB,EAAboB,EAAapB,KAAb,MAAyB,CAClDqB,cADkD,SACnCzB,GACbuB,EAASG,YAAU,UAAW,CAC5BC,QAAStB,OAAAC,EAAA,EAAAD,CAACuB,EAAA,EAAD,CAAkBnC,GAAG,qCAAqCC,eAAe,iJAAiJmC,OAAQ,CAAE7B,OAAQK,OAAAC,EAAA,EAAAD,CAAA,mBAASL,MAC9P8B,QAAS1B,EAAKQ,cAActB,EAAS+B,o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AEA,CACjByC,OAAQxC,IAAUI,OAAOD,WACzBI,SAAUP,IAAUE,KAAKC,WACzB0B,mBAAoB7B,IAAUE,KAC9BqB,QAASvB,IAAUyC,KACnBpB,QAASqB,IAAmBC,WAC5BvD,KAAMY,IAAUI,OAAOD","file":"features/domain_blocks.js","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport IconButton from './icon_button';\nimport { defineMessages, injectIntl } from 'react-intl';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\n\nconst messages = defineMessages({\n unblockDomain: { id: 'account.unblock_domain', defaultMessage: 'Unhide {domain}' },\n});\n\nexport default @injectIntl\nclass Account extends ImmutablePureComponent {\n\n static propTypes = {\n domain: PropTypes.string,\n onUnblockDomain: PropTypes.func.isRequired,\n intl: PropTypes.object.isRequired,\n };\n\n handleDomainUnblock = () => {\n this.props.onUnblockDomain(this.props.domain);\n }\n\n render () {\n const { domain, intl } = this.props;\n\n return (\n \n
\n
\n {domain}\n \n\n
\n \n
\n
\n
\n );\n }\n\n}\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { blockDomain, unblockDomain } from '../actions/domain_blocks';\nimport { defineMessages, injectIntl, FormattedMessage } from 'react-intl';\nimport Domain from '../components/domain';\nimport { openModal } from '../actions/modal';\n\nconst messages = defineMessages({\n blockDomainConfirm: { id: 'confirmations.domain_block.confirm', defaultMessage: 'Hide entire domain' },\n});\n\nconst makeMapStateToProps = () => {\n const mapStateToProps = () => ({});\n\n return mapStateToProps;\n};\n\nconst mapDispatchToProps = (dispatch, { intl }) => ({\n onBlockDomain (domain) {\n dispatch(openModal('CONFIRM', {\n message: {domain} }} />,\n confirm: intl.formatMessage(messages.blockDomainConfirm),\n onConfirm: () => dispatch(blockDomain(domain)),\n }));\n },\n\n onUnblockDomain (domain) {\n dispatch(unblockDomain(domain));\n },\n});\n\nexport default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(Domain));\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { defineMessages, injectIntl, FormattedMessage } from 'react-intl';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\nimport PropTypes from 'prop-types';\nimport ImmutablePropTypes from 'react-immutable-proptypes';\nimport { debounce } from 'lodash';\nimport LoadingIndicator from '../../components/loading_indicator';\nimport Column from '../ui/components/column';\nimport ColumnBackButtonSlim from '../../components/column_back_button_slim';\nimport DomainContainer from '../../containers/domain_container';\nimport { fetchDomainBlocks, expandDomainBlocks } from '../../actions/domain_blocks';\nimport ScrollableList from '../../components/scrollable_list';\n\nconst messages = defineMessages({\n heading: { id: 'column.domain_blocks', defaultMessage: 'Hidden domains' },\n unblockDomain: { id: 'account.unblock_domain', defaultMessage: 'Unhide {domain}' },\n});\n\nconst mapStateToProps = state => ({\n domains: state.getIn(['domain_lists', 'blocks', 'items']),\n hasMore: !!state.getIn(['domain_lists', 'blocks', 'next']),\n});\n\nexport default @connect(mapStateToProps)\n@injectIntl\nclass Blocks extends ImmutablePureComponent {\n\n static propTypes = {\n params: PropTypes.object.isRequired,\n dispatch: PropTypes.func.isRequired,\n shouldUpdateScroll: PropTypes.func,\n hasMore: PropTypes.bool,\n domains: ImmutablePropTypes.orderedSet,\n intl: PropTypes.object.isRequired,\n };\n\n componentWillMount () {\n this.props.dispatch(fetchDomainBlocks());\n }\n\n handleLoadMore = debounce(() => {\n this.props.dispatch(expandDomainBlocks());\n }, 300, { leading: true });\n\n render () {\n const { intl, domains, shouldUpdateScroll, hasMore } = this.props;\n\n if (!domains) {\n return (\n \n \n \n );\n }\n\n const emptyMessage = ;\n\n return (\n \n \n \n {domains.map(domain =>\n \n )}\n \n \n );\n }\n\n}\n"],"sourceRoot":""}
\ No newline at end of file