mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-25 22:37:18 +10:00
commit
2390beab02
179 changed files with 444 additions and 304 deletions
23
CHANGELOG.md
23
CHANGELOG.md
|
|
@ -14,6 +14,29 @@ way to update this template, but currently, we follow a pattern:
|
||||||
|
|
||||||
## Upcoming version 2019-XX-XX
|
## Upcoming version 2019-XX-XX
|
||||||
|
|
||||||
|
- [change] Update `react-intl` to 3.1.13. More information about the changes can be found from
|
||||||
|
[Upgrade guide for react-intl@3.x](https://github.com/formatjs/react-intl/blob/master/docs/Upgrade-Guide.md)
|
||||||
|
|
||||||
|
- Proptype `intlShape` was removed so we needed to create it again. Because of this we added a new
|
||||||
|
`util/reactIntl.js` file. This file is now used to wrap all the react-intl related imports.
|
||||||
|
- `addLocaleDate` function was removed and react-intl library is now relying on native Intl APIs:
|
||||||
|
[Intl.PluralRules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/PluralRules)
|
||||||
|
and
|
||||||
|
[Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat).
|
||||||
|
In order to support older browsers we needed to add `intl-pluralrules` and
|
||||||
|
`intl-relativetimeformat` to `util/polyfills.js`
|
||||||
|
- Also Node must be now compiled with `full-icu` which caused changes to `start` and `test`
|
||||||
|
scripts in `package.json`. We also needed to add a specific config for `nodemon`
|
||||||
|
- Default `textComponent`in `IntlProvider` changed to `React.Fragment` so we need to explicitly
|
||||||
|
set `textComponent` to `span`. Otherwise all the snapshots would have changed and it might
|
||||||
|
affect to UI if there is styles added to these spans generally in customization projects.
|
||||||
|
|
||||||
|
Note: `FormattedMessage` component now supports
|
||||||
|
[`tagName` prop](https://github.com/formatjs/react-intl/blob/master/docs/Components.md#formattedmessage)
|
||||||
|
and
|
||||||
|
[improved rich-text formatting](https://github.com/formatjs/react-intl/blob/master/docs/Components.md#rich-text-formatting).
|
||||||
|
[#1181](https://github.com/sharetribe/flex-template-web/pull/1181)
|
||||||
|
|
||||||
- [change] Update helmet (v3.20.0 > v3.20.1).
|
- [change] Update helmet (v3.20.0 > v3.20.1).
|
||||||
[#1186](https://github.com/sharetribe/flex-template-web/pull/1186)
|
[#1186](https://github.com/sharetribe/flex-template-web/pull/1186)
|
||||||
- [fix] Lodash vulnerability: enforce newer version for react-google-maps and react-dates
|
- [fix] Lodash vulnerability: enforce newer version for react-google-maps and react-dates
|
||||||
|
|
|
||||||
14
package.json
14
package.json
|
|
@ -4,6 +4,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@formatjs/intl-relativetimeformat": "^2.8.2",
|
||||||
"@mapbox/polyline": "^1.0.0",
|
"@mapbox/polyline": "^1.0.0",
|
||||||
"@sentry/browser": "5.6.2",
|
"@sentry/browser": "5.6.2",
|
||||||
"@sentry/node": "5.6.2",
|
"@sentry/node": "5.6.2",
|
||||||
|
|
@ -24,7 +25,9 @@
|
||||||
"express-sitemap": "^1.8.0",
|
"express-sitemap": "^1.8.0",
|
||||||
"final-form": "^4.18.5",
|
"final-form": "^4.18.5",
|
||||||
"final-form-arrays": "^3.0.0",
|
"final-form-arrays": "^3.0.0",
|
||||||
|
"full-icu": "^1.3.0",
|
||||||
"helmet": "^3.18.0",
|
"helmet": "^3.18.0",
|
||||||
|
"intl-pluralrules": "^1.0.3",
|
||||||
"lodash": "^4.17.14",
|
"lodash": "^4.17.14",
|
||||||
"mapbox-gl-multitouch": "^1.0.3",
|
"mapbox-gl-multitouch": "^1.0.3",
|
||||||
"moment": "^2.22.2",
|
"moment": "^2.22.2",
|
||||||
|
|
@ -41,7 +44,7 @@
|
||||||
"react-final-form-arrays": "^3.1.1",
|
"react-final-form-arrays": "^3.1.1",
|
||||||
"react-google-maps": "^9.4.5",
|
"react-google-maps": "^9.4.5",
|
||||||
"react-helmet-async": "^1.0.2",
|
"react-helmet-async": "^1.0.2",
|
||||||
"react-intl": "^2.9.0",
|
"react-intl": "^3.1.13",
|
||||||
"react-moment-proptypes": "^1.6.0",
|
"react-moment-proptypes": "^1.6.0",
|
||||||
"react-redux": "^7.1.1",
|
"react-redux": "^7.1.1",
|
||||||
"react-router-dom": "^5.0.1",
|
"react-router-dom": "^5.0.1",
|
||||||
|
|
@ -70,6 +73,11 @@
|
||||||
"react-google-maps/lodash": "^4.17.14",
|
"react-google-maps/lodash": "^4.17.14",
|
||||||
"react-test-renderer": "^16.9.0"
|
"react-test-renderer": "^16.9.0"
|
||||||
},
|
},
|
||||||
|
"nodemonConfig": {
|
||||||
|
"execMap": {
|
||||||
|
"js": "node --icu-data-dir=node_modules/full-icu"
|
||||||
|
}
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"audit": "yarn audit --json | node scripts/audit.js",
|
"audit": "yarn audit --json | node scripts/audit.js",
|
||||||
"clean": "rm -rf build/*",
|
"clean": "rm -rf build/*",
|
||||||
|
|
@ -79,10 +87,10 @@
|
||||||
"format": "prettier --write '**/*.{js,css}'",
|
"format": "prettier --write '**/*.{js,css}'",
|
||||||
"format-ci": "prettier --list-different '**/*.{js,css}'",
|
"format-ci": "prettier --list-different '**/*.{js,css}'",
|
||||||
"format-docs": "prettier --write '**/*.md'",
|
"format-docs": "prettier --write '**/*.md'",
|
||||||
"test": "sharetribe-scripts test",
|
"test": "NODE_ICU_DATA=node_modules/full-icu sharetribe-scripts test",
|
||||||
"test-ci": "sharetribe-scripts test --runInBand",
|
"test-ci": "sharetribe-scripts test --runInBand",
|
||||||
"eject": "sharetribe-scripts eject",
|
"eject": "sharetribe-scripts eject",
|
||||||
"start": "node server/index.js",
|
"start": "node --icu-data-dir=node_modules/full-icu server/index.js",
|
||||||
"dev-server": "export NODE_ENV=development PORT=4000 REACT_APP_CANONICAL_ROOT_URL=http://localhost:4000&&yarn run build&&nodemon --watch server server/index.js",
|
"dev-server": "export NODE_ENV=development PORT=4000 REACT_APP_CANONICAL_ROOT_URL=http://localhost:4000&&yarn run build&&nodemon --watch server server/index.js",
|
||||||
"heroku-postbuild": "yarn run build",
|
"heroku-postbuild": "yarn run build",
|
||||||
"translate": "node scripts/translations.js"
|
"translate": "node scripts/translations.js"
|
||||||
|
|
|
||||||
25
src/app.js
25
src/app.js
|
|
@ -12,7 +12,7 @@ import { Provider } from 'react-redux';
|
||||||
import difference from 'lodash/difference';
|
import difference from 'lodash/difference';
|
||||||
import mapValues from 'lodash/mapValues';
|
import mapValues from 'lodash/mapValues';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { IntlProvider, addLocaleData } from 'react-intl';
|
import { IntlProvider } from './util/reactIntl';
|
||||||
import configureStore from './store';
|
import configureStore from './store';
|
||||||
import routeConfiguration from './routeConfiguration';
|
import routeConfiguration from './routeConfiguration';
|
||||||
import Routes from './Routes';
|
import Routes from './Routes';
|
||||||
|
|
@ -23,24 +23,20 @@ import defaultMessages from './translations/en.json';
|
||||||
|
|
||||||
// If you want to change the language, change the imports to match the wanted locale:
|
// If you want to change the language, change the imports to match the wanted locale:
|
||||||
// 1) Change the language in the config.js file!
|
// 1) Change the language in the config.js file!
|
||||||
// 2) Import correct locale rules for React Intl library
|
// 2) Import correct locale rules for Moment library
|
||||||
// 3) Import correct locale rules for Moment library
|
// 3) Use the `messagesInLocale` import to add the correct translation file.
|
||||||
// 4) Use the `messagesInLocale` import to add the correct translation file.
|
// 4) To support older browsers we need add the correct locale for intl-relativetimeformat to `util/polyfills.js`
|
||||||
|
|
||||||
// Note that there is also translations in './translations/countryCodes.js' file
|
// Note that there is also translations in './translations/countryCodes.js' file
|
||||||
// This file contains ISO 3166-1 alpha-2 country codes, country names and their translations in our default languages
|
// This file contains ISO 3166-1 alpha-2 country codes, country names and their translations in our default languages
|
||||||
// This used to collect billing address in StripePaymentAddress on CheckoutPage
|
// This used to collect billing address in StripePaymentAddress on CheckoutPage
|
||||||
|
|
||||||
// Step 2:
|
// Step 2:
|
||||||
// Import locale rules for React Intl library
|
|
||||||
import localeData from 'react-intl/locale-data/en';
|
|
||||||
|
|
||||||
// Step 3:
|
|
||||||
// If you are using a non-english locale with moment library,
|
// If you are using a non-english locale with moment library,
|
||||||
// you should also import time specific formatting rules for that locale
|
// you should also import time specific formatting rules for that locale
|
||||||
// e.g. for French: import 'moment/locale/fr';
|
// e.g. for French: import 'moment/locale/fr';
|
||||||
|
|
||||||
// Step 4:
|
// Step 3:
|
||||||
// If you are using a non-english locale, point `messagesInLocale` to correct .json file
|
// If you are using a non-english locale, point `messagesInLocale` to correct .json file
|
||||||
import messagesInLocale from './translations/fr.json';
|
import messagesInLocale from './translations/fr.json';
|
||||||
|
|
||||||
|
|
@ -75,13 +71,12 @@ const localeMessages = isTestEnv ? testMessages : messages;
|
||||||
|
|
||||||
const setupLocale = () => {
|
const setupLocale = () => {
|
||||||
if (isTestEnv) {
|
if (isTestEnv) {
|
||||||
// Don't change the locale in tests
|
// Use english as a default locale in tests
|
||||||
|
// This affects app.test.js and app.node.test.js tests
|
||||||
|
config.locale = 'en';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the translation messages
|
|
||||||
addLocaleData([...localeData]);
|
|
||||||
|
|
||||||
// Set the Moment locale globally
|
// Set the Moment locale globally
|
||||||
// See: http://momentjs.com/docs/#/i18n/changing-locale/
|
// See: http://momentjs.com/docs/#/i18n/changing-locale/
|
||||||
moment.locale(config.locale);
|
moment.locale(config.locale);
|
||||||
|
|
@ -91,7 +86,7 @@ export const ClientApp = props => {
|
||||||
const { store } = props;
|
const { store } = props;
|
||||||
setupLocale();
|
setupLocale();
|
||||||
return (
|
return (
|
||||||
<IntlProvider locale={config.locale} messages={localeMessages}>
|
<IntlProvider locale={config.locale} messages={localeMessages} textComponent="span">
|
||||||
<Provider store={store}>
|
<Provider store={store}>
|
||||||
<HelmetProvider>
|
<HelmetProvider>
|
||||||
<BrowserRouter>
|
<BrowserRouter>
|
||||||
|
|
@ -112,7 +107,7 @@ export const ServerApp = props => {
|
||||||
setupLocale();
|
setupLocale();
|
||||||
HelmetProvider.canUseDOM = false;
|
HelmetProvider.canUseDOM = false;
|
||||||
return (
|
return (
|
||||||
<IntlProvider locale={config.locale} messages={localeMessages}>
|
<IntlProvider locale={config.locale} messages={localeMessages} textComponent="span">
|
||||||
<Provider store={store}>
|
<Provider store={store}>
|
||||||
<HelmetProvider context={helmetContext}>
|
<HelmetProvider context={helmetContext}>
|
||||||
<StaticRouter location={url} context={context}>
|
<StaticRouter location={url} context={context}>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { string, arrayOf, bool, func, number } from 'prop-types';
|
import { string, arrayOf, bool, func, number } from 'prop-types';
|
||||||
import { injectIntl, intlShape, FormattedMessage } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import dropWhile from 'lodash/dropWhile';
|
import dropWhile from 'lodash/dropWhile';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { Avatar, InlineTextButton, ReviewRating, UserDisplayName } from '../../components';
|
import { Avatar, InlineTextButton, ReviewRating, UserDisplayName } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { string, oneOfType, bool } from 'prop-types';
|
import { string, oneOfType, bool } from 'prop-types';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
import {
|
import {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
*/
|
*/
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { oneOf, string } from 'prop-types';
|
import { oneOf, string } from 'prop-types';
|
||||||
import { FormattedMessage, intlShape, injectIntl } from 'react-intl';
|
import { FormattedMessage, intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import {
|
import {
|
||||||
propTypes,
|
propTypes,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage, FormattedHTMLMessage, FormattedDate } from 'react-intl';
|
import { FormattedMessage, FormattedHTMLMessage, FormattedDate } from '../../util/reactIntl';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { LINE_ITEM_NIGHT, LINE_ITEM_DAY, propTypes } from '../../util/types';
|
import { LINE_ITEM_NIGHT, LINE_ITEM_DAY, propTypes } from '../../util/types';
|
||||||
import { daysBetween, dateFromAPIToLocalNoon } from '../../util/dates';
|
import { daysBetween, dateFromAPIToLocalNoon } from '../../util/dates';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { bool } from 'prop-types';
|
import { bool } from 'prop-types';
|
||||||
import { FormattedMessage, intlShape } from 'react-intl';
|
import { FormattedMessage, intlShape } from '../../util/reactIntl';
|
||||||
import { formatMoney } from '../../util/currency';
|
import { formatMoney } from '../../util/currency';
|
||||||
import { types as sdkTypes } from '../../util/sdkLoader';
|
import { types as sdkTypes } from '../../util/sdkLoader';
|
||||||
import { LINE_ITEM_CUSTOMER_COMMISSION, propTypes } from '../../util/types';
|
import { LINE_ITEM_CUSTOMER_COMMISSION, propTypes } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage, intlShape } from 'react-intl';
|
import { FormattedMessage, intlShape } from '../../util/reactIntl';
|
||||||
import { formatMoney } from '../../util/currency';
|
import { formatMoney } from '../../util/currency';
|
||||||
import { propTypes, LINE_ITEM_CUSTOMER_COMMISSION } from '../../util/types';
|
import { propTypes, LINE_ITEM_CUSTOMER_COMMISSION } from '../../util/types';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { bool } from 'prop-types';
|
import { bool } from 'prop-types';
|
||||||
import { FormattedMessage, intlShape } from 'react-intl';
|
import { FormattedMessage, intlShape } from '../../util/reactIntl';
|
||||||
import { formatMoney } from '../../util/currency';
|
import { formatMoney } from '../../util/currency';
|
||||||
import { types as sdkTypes } from '../../util/sdkLoader';
|
import { types as sdkTypes } from '../../util/sdkLoader';
|
||||||
import { LINE_ITEM_PROVIDER_COMMISSION, propTypes } from '../../util/types';
|
import { LINE_ITEM_PROVIDER_COMMISSION, propTypes } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage, intlShape } from 'react-intl';
|
import { FormattedMessage, intlShape } from '../../util/reactIntl';
|
||||||
import { formatMoney } from '../../util/currency';
|
import { formatMoney } from '../../util/currency';
|
||||||
import { propTypes, LINE_ITEM_PROVIDER_COMMISSION } from '../../util/types';
|
import { propTypes, LINE_ITEM_PROVIDER_COMMISSION } from '../../util/types';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage, intlShape } from 'react-intl';
|
import { FormattedMessage, intlShape } from '../../util/reactIntl';
|
||||||
import Decimal from 'decimal.js';
|
import Decimal from 'decimal.js';
|
||||||
import { formatMoney } from '../../util/currency';
|
import { formatMoney } from '../../util/currency';
|
||||||
import { types as sdkTypes } from '../../util/sdkLoader';
|
import { types as sdkTypes } from '../../util/sdkLoader';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { string } from 'prop-types';
|
import { string } from 'prop-types';
|
||||||
import { FormattedMessage, intlShape } from 'react-intl';
|
import { FormattedMessage, intlShape } from '../../util/reactIntl';
|
||||||
import Decimal from 'decimal.js';
|
import Decimal from 'decimal.js';
|
||||||
import { formatMoney } from '../../util/currency';
|
import { formatMoney } from '../../util/currency';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { bool } from 'prop-types';
|
import { bool } from 'prop-types';
|
||||||
import { FormattedMessage, intlShape } from 'react-intl';
|
import { FormattedMessage, intlShape } from '../../util/reactIntl';
|
||||||
import { formatMoney } from '../../util/currency';
|
import { formatMoney } from '../../util/currency';
|
||||||
import { txIsCanceled, txIsDelivered, txIsDeclined } from '../../util/transaction';
|
import { txIsCanceled, txIsDelivered, txIsDeclined } from '../../util/transaction';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage, intlShape } from 'react-intl';
|
import { FormattedMessage, intlShape } from '../../util/reactIntl';
|
||||||
import { formatMoney } from '../../util/currency';
|
import { formatMoney } from '../../util/currency';
|
||||||
import { LINE_ITEM_NIGHT, LINE_ITEM_DAY, propTypes } from '../../util/types';
|
import { LINE_ITEM_NIGHT, LINE_ITEM_DAY, propTypes } from '../../util/types';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import { LINE_ITEM_UNITS, propTypes } from '../../util/types';
|
import { LINE_ITEM_UNITS, propTypes } from '../../util/types';
|
||||||
|
|
||||||
import css from './BookingBreakdown.css';
|
import css from './BookingBreakdown.css';
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
* component for them that can be used in the `BookingBreakdown` component.
|
* component for them that can be used in the `BookingBreakdown` component.
|
||||||
*/
|
*/
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { intlShape } from 'react-intl';
|
import { intlShape } from '../../util/reactIntl';
|
||||||
import { formatMoney } from '../../util/currency';
|
import { formatMoney } from '../../util/currency';
|
||||||
import { humanizeLineItemCode } from '../../util/data';
|
import { humanizeLineItemCode } from '../../util/data';
|
||||||
import { LINE_ITEMS, propTypes } from '../../util/types';
|
import { LINE_ITEMS, propTypes } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { bool, func, number, object, string } from 'prop-types';
|
import { bool, func, number, object, string } from 'prop-types';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
|
|
||||||
import { FieldDateRangeController, FilterPopup, FilterPlain } from '../../components';
|
import { FieldDateRangeController, FilterPopup, FilterPlain } from '../../components';
|
||||||
import css from './BookingDateRangeFilter.css';
|
import css from './BookingDateRangeFilter.css';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`BookingDateRangeFilter matches plain snapshot 1`] = `
|
exports[`BookingDateRangeFilter matches plain snapshot 1`] = `
|
||||||
<InjectIntl(FilterPlainComponent)
|
<injectIntl(FilterPlainComponent)
|
||||||
className={null}
|
className={null}
|
||||||
contentPlacementOffset={-14}
|
contentPlacementOffset={-14}
|
||||||
id="BookingDateRangeFilter.plain"
|
id="BookingDateRangeFilter.plain"
|
||||||
|
|
@ -23,11 +23,11 @@ exports[`BookingDateRangeFilter matches plain snapshot 1`] = `
|
||||||
name="dates"
|
name="dates"
|
||||||
rootClassName={null}
|
rootClassName={null}
|
||||||
/>
|
/>
|
||||||
</InjectIntl(FilterPlainComponent)>
|
</injectIntl(FilterPlainComponent)>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`BookingDateRangeFilter matches popup snapshot 1`] = `
|
exports[`BookingDateRangeFilter matches popup snapshot 1`] = `
|
||||||
<InjectIntl(FilterPopup)
|
<injectIntl(FilterPopup)
|
||||||
className={null}
|
className={null}
|
||||||
contentPlacementOffset={-14}
|
contentPlacementOffset={-14}
|
||||||
id="BookingDateRangeFilter.popup"
|
id="BookingDateRangeFilter.popup"
|
||||||
|
|
@ -50,5 +50,5 @@ exports[`BookingDateRangeFilter matches popup snapshot 1`] = `
|
||||||
name="dates"
|
name="dates"
|
||||||
rootClassName={null}
|
rootClassName={null}
|
||||||
/>
|
/>
|
||||||
</InjectIntl(FilterPopup)>
|
</injectIntl(FilterPopup)>
|
||||||
`;
|
`;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
import { intlShape, injectIntl } from 'react-intl';
|
import { intlShape, injectIntl, FormattedMessage } from '../../util/reactIntl';
|
||||||
import { arrayOf, bool, func, node, oneOfType, shape, string } from 'prop-types';
|
import { arrayOf, bool, func, node, oneOfType, shape, string } from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import omit from 'lodash/omit';
|
import omit from 'lodash/omit';
|
||||||
import { propTypes, LISTING_STATE_CLOSED, LINE_ITEM_NIGHT, LINE_ITEM_DAY } from '../../util/types';
|
import { propTypes, LISTING_STATE_CLOSED, LINE_ITEM_NIGHT, LINE_ITEM_DAY } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import { ExternalLink } from '../../components';
|
import { ExternalLink } from '../../components';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { bool, func, object, shape, string } from 'prop-types';
|
import { bool, func, object, shape, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import { ensureOwnListing } from '../../util/data';
|
import { ensureOwnListing } from '../../util/data';
|
||||||
import { LISTING_STATE_DRAFT } from '../../util/types';
|
import { LISTING_STATE_DRAFT } from '../../util/types';
|
||||||
import { ListingLink } from '../../components';
|
import { ListingLink } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { bool, func, object, string } from 'prop-types';
|
import { bool, func, object, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import { ensureOwnListing } from '../../util/data';
|
import { ensureOwnListing } from '../../util/data';
|
||||||
import { ListingLink } from '../../components';
|
import { ListingLink } from '../../components';
|
||||||
import { LISTING_STATE_DRAFT } from '../../util/types';
|
import { LISTING_STATE_DRAFT } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
|
|
||||||
import { LISTING_STATE_DRAFT } from '../../util/types';
|
import { LISTING_STATE_DRAFT } from '../../util/types';
|
||||||
import { ensureListing } from '../../util/data';
|
import { ensureListing } from '../../util/data';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import { LISTING_STATE_DRAFT } from '../../util/types';
|
import { LISTING_STATE_DRAFT } from '../../util/types';
|
||||||
import { ensureOwnListing } from '../../util/data';
|
import { ensureOwnListing } from '../../util/data';
|
||||||
import { ListingLink } from '../../components';
|
import { ListingLink } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { array, bool, func, object, string } from 'prop-types';
|
import { array, bool, func, object, string } from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { LISTING_STATE_DRAFT } from '../../util/types';
|
import { LISTING_STATE_DRAFT } from '../../util/types';
|
||||||
import { EditListingPhotosForm } from '../../forms';
|
import { EditListingPhotosForm } from '../../forms';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import { LISTING_STATE_DRAFT } from '../../util/types';
|
import { LISTING_STATE_DRAFT } from '../../util/types';
|
||||||
import { ensureOwnListing } from '../../util/data';
|
import { ensureOwnListing } from '../../util/data';
|
||||||
import { ListingLink } from '../../components';
|
import { ListingLink } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import { LISTING_STATE_DRAFT } from '../../util/types';
|
import { LISTING_STATE_DRAFT } from '../../util/types';
|
||||||
import { ListingLink } from '../../components';
|
import { ListingLink } from '../../components';
|
||||||
import { EditListingPricingForm } from '../../forms';
|
import { EditListingPricingForm } from '../../forms';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { array, bool, func, number, object, oneOf, shape, string } from 'prop-types';
|
import { array, bool, func, number, object, oneOf, shape, string } from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
import { withViewport } from '../../util/contextHelpers';
|
import { withViewport } from '../../util/contextHelpers';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { intlShape } from 'react-intl';
|
import { intlShape } from '../../util/reactIntl';
|
||||||
import routeConfiguration from '../../routeConfiguration';
|
import routeConfiguration from '../../routeConfiguration';
|
||||||
import {
|
import {
|
||||||
LISTING_PAGE_PARAM_TYPE_DRAFT,
|
LISTING_PAGE_PARAM_TYPE_DRAFT,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { func, instanceOf, object, node, string, bool } from 'prop-types';
|
import { func, instanceOf, object, node, string, bool } from 'prop-types';
|
||||||
import { Field } from 'react-final-form';
|
import { Field } from 'react-final-form';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import range from 'lodash/range';
|
import range from 'lodash/range';
|
||||||
import { ValidationError } from '../../components';
|
import { ValidationError } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import { FieldSelect } from '../../components';
|
import { FieldSelect } from '../../components';
|
||||||
|
|
||||||
const FieldBoolean = props => {
|
const FieldBoolean = props => {
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
/* eslint-disable no-console */
|
/* eslint-disable no-console */
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { IntlProvider, addLocaleData } from 'react-intl';
|
|
||||||
import { Form as FinalForm, FormSpy } from 'react-final-form';
|
import { Form as FinalForm, FormSpy } from 'react-final-form';
|
||||||
import en from 'react-intl/locale-data/en';
|
import { IntlProvider } from '../../util/reactIntl';
|
||||||
import fi from 'react-intl/locale-data/fi';
|
|
||||||
import { currencyConfig } from '../../util/test-data';
|
import { currencyConfig } from '../../util/test-data';
|
||||||
import * as validators from '../../util/validators';
|
import * as validators from '../../util/validators';
|
||||||
import FieldCurrencyInput, { CurrencyInput } from './FieldCurrencyInput';
|
import FieldCurrencyInput, { CurrencyInput } from './FieldCurrencyInput';
|
||||||
|
|
@ -24,13 +22,8 @@ const onChange = price => console.log('CurrencyInput - value:', price);
|
||||||
|
|
||||||
// Different locales need to be initialized before their currency formatting is in use
|
// Different locales need to be initialized before their currency formatting is in use
|
||||||
const CurrencyInputWithIntl = ({ locale, ...rest }) => {
|
const CurrencyInputWithIntl = ({ locale, ...rest }) => {
|
||||||
if (locale === 'en') {
|
|
||||||
addLocaleData([...en]);
|
|
||||||
} else {
|
|
||||||
addLocaleData([...fi]);
|
|
||||||
}
|
|
||||||
return (
|
return (
|
||||||
<IntlProvider locale={locale}>
|
<IntlProvider locale={locale} textComponent="span">
|
||||||
<CurrencyInput {...rest} input={{ onChange }} />
|
<CurrencyInput {...rest} input={{ onChange }} />
|
||||||
</IntlProvider>
|
</IntlProvider>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { intlShape, injectIntl } from 'react-intl';
|
import { intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import { Field } from 'react-final-form';
|
import { Field } from 'react-final-form';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import Decimal from 'decimal.js';
|
import Decimal from 'decimal.js';
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import {
|
||||||
isInclusivelyBeforeDay,
|
isInclusivelyBeforeDay,
|
||||||
isSameDay,
|
isSameDay,
|
||||||
} from 'react-dates';
|
} from 'react-dates';
|
||||||
import { intlShape, injectIntl } from 'react-intl';
|
import { intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { bool, func, instanceOf, oneOf, shape, string, arrayOf } from 'prop-types';
|
import { bool, func, instanceOf, oneOf, shape, string, arrayOf } from 'prop-types';
|
||||||
import { DateRangePicker, isInclusivelyAfterDay, isInclusivelyBeforeDay } from 'react-dates';
|
import { DateRangePicker, isInclusivelyAfterDay, isInclusivelyBeforeDay } from 'react-dates';
|
||||||
import { intlShape, injectIntl } from 'react-intl';
|
import { intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { START_DATE, END_DATE } from '../../util/dates';
|
import { START_DATE, END_DATE } from '../../util/dates';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { intlShape, injectIntl } from 'react-intl';
|
import { intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import { Field } from 'react-final-form';
|
import { Field } from 'react-final-form';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { IconReviewStar, ValidationError } from '../../components';
|
import { IconReviewStar, ValidationError } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { bool, func, node, object, string } from 'prop-types';
|
import { bool, func, node, object, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { injectIntl, intlShape, FormattedMessage } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
|
|
||||||
import { FilterForm } from '../../forms';
|
import { FilterForm } from '../../forms';
|
||||||
import css from './FilterPlain.css';
|
import css from './FilterPlain.css';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { bool, func, node, number, object, string } from 'prop-types';
|
import { bool, func, node, number, object, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
|
|
||||||
import { OutsideClickHandler } from '../../components';
|
import { OutsideClickHandler } from '../../components';
|
||||||
import { FilterForm } from '../../forms';
|
import { FilterForm } from '../../forms';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { string } from 'prop-types';
|
import { string } from 'prop-types';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { twitterPageURL } from '../../util/urlHelpers';
|
import { twitterPageURL } from '../../util/urlHelpers';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { ResponsiveImage, IconSpinner } from '../../components';
|
import { ResponsiveImage, IconSpinner } from '../../components';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { Promised } from '../../components';
|
import { Promised } from '../../components';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { func, number, string } from 'prop-types';
|
import { func, number, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import debounce from 'lodash/debounce';
|
import debounce from 'lodash/debounce';
|
||||||
import { FieldTextInput } from '../../components';
|
import { FieldTextInput } from '../../components';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { node, number, string, shape } from 'prop-types';
|
import { node, number, string, shape } from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import { withViewport } from '../../util/contextHelpers';
|
import { withViewport } from '../../util/contextHelpers';
|
||||||
import { LayoutWrapperSideNav } from '../../components';
|
import { LayoutWrapperSideNav } from '../../components';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { string, func } from 'prop-types';
|
import { string, func } from 'prop-types';
|
||||||
import { FormattedMessage, intlShape, injectIntl } from 'react-intl';
|
import { FormattedMessage, intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { lazyLoadWithDimensions } from '../../util/contextHelpers';
|
import { lazyLoadWithDimensions } from '../../util/contextHelpers';
|
||||||
import { LINE_ITEM_DAY, LINE_ITEM_NIGHT, propTypes } from '../../util/types';
|
import { LINE_ITEM_DAY, LINE_ITEM_NIGHT, propTypes } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { any, arrayOf, bool, func, number, shape, string, oneOfType, object } from 'prop-types';
|
import { any, arrayOf, bool, func, number, shape, string, oneOfType, object } from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import debounce from 'lodash/debounce';
|
import debounce from 'lodash/debounce';
|
||||||
import { IconSpinner } from '../../components';
|
import { IconSpinner } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
import { FormattedMessage, intlShape, injectIntl } from 'react-intl';
|
import { FormattedMessage, intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import routeConfiguration from '../../routeConfiguration';
|
import routeConfiguration from '../../routeConfiguration';
|
||||||
import {
|
import {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { FormattedMessage, intlShape, injectIntl } from 'react-intl';
|
import { FormattedMessage, intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import { Button, IconClose } from '../../components';
|
import { Button, IconClose } from '../../components';
|
||||||
|
|
||||||
import css from './Modal.css';
|
import css from './Modal.css';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import { isTooManyEmailVerificationRequestsError } from '../../util/errors';
|
import { isTooManyEmailVerificationRequestsError } from '../../util/errors';
|
||||||
import { IconEmailAttention, InlineTextButton, NamedLink } from '../../components';
|
import { IconEmailAttention, InlineTextButton, NamedLink } from '../../components';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { bool, func, string } from 'prop-types';
|
import { bool, func, string } from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import routeConfiguration from '../../routeConfiguration';
|
import routeConfiguration from '../../routeConfiguration';
|
||||||
import { ensureCurrentUser } from '../../util/data';
|
import { ensureCurrentUser } from '../../util/data';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import { NamedLink } from '../../components';
|
import { NamedLink } from '../../components';
|
||||||
|
|
||||||
import css from './ModalMissingInformation.css';
|
import css from './ModalMissingInformation.css';
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Helmet } from 'react-helmet-async';
|
import { Helmet } from 'react-helmet-async';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import routeConfiguration from '../../routeConfiguration';
|
import routeConfiguration from '../../routeConfiguration';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import range from 'lodash/range';
|
import range from 'lodash/range';
|
||||||
import { IconArrowHead, NamedLink } from '../../components';
|
import { IconArrowHead, NamedLink } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { func, number, shape, string } from 'prop-types';
|
import { func, number, shape, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { injectIntl, intlShape, FormattedMessage } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
import { formatCurrencyMajorUnit } from '../../util/currency';
|
import { formatCurrencyMajorUnit } from '../../util/currency';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { func, number, shape, string } from 'prop-types';
|
import { func, number, shape, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
import { formatCurrencyMajorUnit } from '../../util/currency';
|
import { formatCurrencyMajorUnit } from '../../util/currency';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { arrayOf, string } from 'prop-types';
|
import { arrayOf, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
|
|
||||||
import NoImageIcon from './NoImageIcon';
|
import NoImageIcon from './NoImageIcon';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { FormattedMessage, intlShape, injectIntl } from 'react-intl';
|
import { FormattedMessage, intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
import { IconReviewUser, Modal } from '../../components';
|
import { IconReviewUser, Modal } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import { arrayOf, string } from 'prop-types';
|
import { arrayOf, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { Avatar, ReviewRating, UserDisplayName } from '../../components';
|
import { Avatar, ReviewRating, UserDisplayName } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import React, { useState } from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
import { bool, func, number, shape, string } from 'prop-types';
|
import { bool, func, number, shape, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import {
|
import {
|
||||||
IconArrowHead,
|
IconArrowHead,
|
||||||
IconCard,
|
IconCard,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { object, string, bool, number, func, shape } from 'prop-types';
|
import { object, string, bool, number, func, shape } from 'prop-types';
|
||||||
import { injectIntl, intlShape, FormattedMessage } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
import omit from 'lodash/omit';
|
import omit from 'lodash/omit';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { object, string, bool, number, func, shape, array } from 'prop-types';
|
import { object, string, bool, number, func, shape, array } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
import omit from 'lodash/omit';
|
import omit from 'lodash/omit';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { array, func, object, shape, string } from 'prop-types';
|
import { array, func, object, shape, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
import omit from 'lodash/omit';
|
import omit from 'lodash/omit';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
import { node, string, object } from 'prop-types';
|
import { node, string, object } from 'prop-types';
|
||||||
import { IntlProvider } from 'react-intl';
|
import { IntlProvider } from '../../util/reactIntl';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
|
|
||||||
import css from './SearchMap.css';
|
import css from './SearchMap.css';
|
||||||
|
|
@ -59,7 +59,7 @@ class ReusableMapContainer extends React.Component {
|
||||||
// You need to provide onClick functions and URLs as props.
|
// You need to provide onClick functions and URLs as props.
|
||||||
const renderChildren = () => {
|
const renderChildren = () => {
|
||||||
const children = (
|
const children = (
|
||||||
<IntlProvider locale={config.locale} messages={this.props.messages}>
|
<IntlProvider locale={config.locale} messages={this.props.messages} textComponent="span">
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
</IntlProvider>
|
</IntlProvider>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { arrayOf, bool, func, string } from 'prop-types';
|
import { arrayOf, bool, func, string } from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
import { formatMoney } from '../../util/currency';
|
import { formatMoney } from '../../util/currency';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { string } from 'prop-types';
|
import { string } from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { NamedLink } from '../../components';
|
import { NamedLink } from '../../components';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
import { NamedLink } from '../../components';
|
import { NamedLink } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { lazyLoadWithDimensions } from '../../util/contextHelpers';
|
import { lazyLoadWithDimensions } from '../../util/contextHelpers';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { array, arrayOf, func, number, string } from 'prop-types';
|
import { array, arrayOf, func, number, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import { FieldCheckbox } from '../../components';
|
import { FieldCheckbox } from '../../components';
|
||||||
|
|
||||||
import { FilterPopup, FilterPlain } from '../../components';
|
import { FilterPopup, FilterPlain } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { arrayOf, bool, func, shape, string } from 'prop-types';
|
import { arrayOf, bool, func, shape, string } from 'prop-types';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
|
|
||||||
import css from './SelectSingleFilterPlain.css';
|
import css from './SelectSingleFilterPlain.css';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { string, func, arrayOf, shape, number } from 'prop-types';
|
import { string, func, arrayOf, shape, number } from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
import { Menu, MenuContent, MenuItem, MenuLabel } from '..';
|
import { Menu, MenuContent, MenuItem, MenuLabel } from '..';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
import css from './StripeBankAccountTokenInputField.css';
|
import css from './StripeBankAccountTokenInputField.css';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* eslint-disable no-underscore-dangle */
|
/* eslint-disable no-underscore-dangle */
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { intlShape, injectIntl, FormattedMessage } from 'react-intl';
|
import { intlShape, injectIntl, FormattedMessage } from '../../util/reactIntl';
|
||||||
import { Field } from 'react-final-form';
|
import { Field } from 'react-final-form';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import debounce from 'lodash/debounce';
|
import debounce from 'lodash/debounce';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { intlShape } from 'react-intl';
|
import { intlShape } from '../../util/reactIntl';
|
||||||
import { bool, object, string } from 'prop-types';
|
import { bool, object, string } from 'prop-types';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
import * as validators from '../../util/validators';
|
import * as validators from '../../util/validators';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { FormattedMessage, intlShape, injectIntl } from 'react-intl';
|
import { FormattedMessage, intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import pickBy from 'lodash/pickBy';
|
import pickBy from 'lodash/pickBy';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { useState, useEffect } from 'react';
|
import React, { useState, useEffect } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { FormattedMessage, intlShape } from 'react-intl';
|
import { FormattedMessage, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { ACCOUNT_SETTINGS_PAGES } from '../../routeConfiguration';
|
import { ACCOUNT_SETTINGS_PAGES } from '../../routeConfiguration';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
*/
|
*/
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { ACCOUNT_SETTINGS_PAGES } from '../../routeConfiguration';
|
import { ACCOUNT_SETTINGS_PAGES } from '../../routeConfiguration';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
import { BookingBreakdown } from '../../components';
|
import { BookingBreakdown } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { ActivityFeed } from '../../components';
|
import { ActivityFeed } from '../../components';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { createSlug, stringify } from '../../util/urlHelpers';
|
import { createSlug, stringify } from '../../util/urlHelpers';
|
||||||
import { NamedLink } from '../../components';
|
import { NamedLink } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { PrimaryButton, SecondaryButton } from '../../components';
|
import { PrimaryButton, SecondaryButton } from '../../components';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { array, arrayOf, bool, func, number, string } from 'prop-types';
|
import { array, arrayOf, bool, func, number, string } from 'prop-types';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import {
|
import {
|
||||||
TRANSITION_REQUEST_PAYMENT_AFTER_ENQUIRY,
|
TRANSITION_REQUEST_PAYMENT_AFTER_ENQUIRY,
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ exports[`TransactionPanel - Order accepted matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -83,7 +83,7 @@ exports[`TransactionPanel - Order accepted matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -708,7 +708,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -727,7 +727,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -799,7 +799,7 @@ exports[`TransactionPanel - Order autodeclined matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -841,7 +841,7 @@ exports[`TransactionPanel - Order autodeclined matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -1464,7 +1464,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -1483,7 +1483,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -1555,7 +1555,7 @@ exports[`TransactionPanel - Order canceled matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -1597,7 +1597,7 @@ exports[`TransactionPanel - Order canceled matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -2222,7 +2222,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -2241,7 +2241,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -2313,7 +2313,7 @@ exports[`TransactionPanel - Order declined matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -2355,7 +2355,7 @@ exports[`TransactionPanel - Order declined matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -2978,7 +2978,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -2997,7 +2997,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -3069,7 +3069,7 @@ exports[`TransactionPanel - Order delivered matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -3111,7 +3111,7 @@ exports[`TransactionPanel - Order delivered matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -3751,7 +3751,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -3770,7 +3770,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -3842,7 +3842,7 @@ exports[`TransactionPanel - Order enquired matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -3884,7 +3884,7 @@ exports[`TransactionPanel - Order enquired matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -4506,7 +4506,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -4525,7 +4525,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -4597,7 +4597,7 @@ exports[`TransactionPanel - Order preauthorized matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -4639,7 +4639,7 @@ exports[`TransactionPanel - Order preauthorized matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -5262,7 +5262,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -5281,7 +5281,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -5353,7 +5353,7 @@ exports[`TransactionPanel - Sale accepted matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -5395,7 +5395,7 @@ exports[`TransactionPanel - Sale accepted matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -6020,7 +6020,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -6039,7 +6039,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -6111,7 +6111,7 @@ exports[`TransactionPanel - Sale autodeclined matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -6153,7 +6153,7 @@ exports[`TransactionPanel - Sale autodeclined matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -6776,7 +6776,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -6795,7 +6795,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -6867,7 +6867,7 @@ exports[`TransactionPanel - Sale canceled matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -6909,7 +6909,7 @@ exports[`TransactionPanel - Sale canceled matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -7534,7 +7534,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -7553,7 +7553,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -7625,7 +7625,7 @@ exports[`TransactionPanel - Sale declined matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -7667,7 +7667,7 @@ exports[`TransactionPanel - Sale declined matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -8290,7 +8290,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -8309,7 +8309,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -8381,7 +8381,7 @@ exports[`TransactionPanel - Sale delivered matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -8423,7 +8423,7 @@ exports[`TransactionPanel - Sale delivered matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -9048,7 +9048,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -9067,7 +9067,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -9139,7 +9139,7 @@ exports[`TransactionPanel - Sale enquired matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -9181,7 +9181,7 @@ exports[`TransactionPanel - Sale enquired matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -9803,7 +9803,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -9822,7 +9822,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -9894,7 +9894,7 @@ exports[`TransactionPanel - Sale preauthorized matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -9936,7 +9936,7 @@ exports[`TransactionPanel - Sale preauthorized matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -10559,7 +10559,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ReviewModal)
|
<injectIntl(ReviewModal)
|
||||||
id="ReviewOrderModal"
|
id="ReviewOrderModal"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onCloseModal={[Function]}
|
onCloseModal={[Function]}
|
||||||
|
|
@ -10578,7 +10578,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { string, func, oneOfType } from 'prop-types';
|
import { string, func, oneOfType } from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import truncate from 'lodash/truncate';
|
import truncate from 'lodash/truncate';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { AvatarLarge, NamedLink, InlineTextButton } from '../../components';
|
import { AvatarLarge, NamedLink, InlineTextButton } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { ACCOUNT_SETTINGS_PAGES } from '../../routeConfiguration';
|
import { ACCOUNT_SETTINGS_PAGES } from '../../routeConfiguration';
|
||||||
import { LinkTabNavHorizontal } from '../../components';
|
import { LinkTabNavHorizontal } from '../../components';
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { withRouter, Redirect } from 'react-router-dom';
|
import { withRouter, Redirect } from 'react-router-dom';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ exports[`AuthenticationPageComponent matches snapshot 1`] = `
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<InjectIntl(ModalComponent)
|
<injectIntl(ModalComponent)
|
||||||
id="AuthenticationPage.tos"
|
id="AuthenticationPage.tos"
|
||||||
isOpen={false}
|
isOpen={false}
|
||||||
onClose={[Function]}
|
onClose={[Function]}
|
||||||
|
|
@ -99,13 +99,13 @@ exports[`AuthenticationPageComponent matches snapshot 1`] = `
|
||||||
rootClassName={null}
|
rootClassName={null}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</InjectIntl(ModalComponent)>
|
</injectIntl(ModalComponent)>
|
||||||
</LayoutWrapperMain>
|
</LayoutWrapperMain>
|
||||||
<LayoutWrapperFooter
|
<LayoutWrapperFooter
|
||||||
className={null}
|
className={null}
|
||||||
rootClassName={null}
|
rootClassName={null}
|
||||||
>
|
>
|
||||||
<InjectIntl(Footer) />
|
<injectIntl(Footer) />
|
||||||
</LayoutWrapperFooter>
|
</LayoutWrapperFooter>
|
||||||
</LayoutSingleColumn>
|
</LayoutSingleColumn>
|
||||||
</Page>
|
</Page>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
||||||
import { bool, func, instanceOf, object, oneOfType, shape, string } from 'prop-types';
|
import { bool, func, instanceOf, object, oneOfType, shape, string } from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ exports[`CheckoutPage matches snapshot 1`] = `
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<section>
|
<section>
|
||||||
<InjectIntl(StripePaymentForm)
|
<injectIntl(StripePaymentForm)
|
||||||
authorDisplayName="author display name"
|
authorDisplayName="author display name"
|
||||||
confirmPaymentError={null}
|
confirmPaymentError={null}
|
||||||
defaultPaymentMethod={null}
|
defaultPaymentMethod={null}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { injectIntl, intlShape, FormattedMessage } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
import { ensureCurrentUser } from '../../util/data';
|
import { ensureCurrentUser } from '../../util/data';
|
||||||
import { fetchCurrentUser, sendVerificationEmail } from '../../ducks/user.duck';
|
import { fetchCurrentUser, sendVerificationEmail } from '../../ducks/user.duck';
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ exports[`ContactDetailsPage matches snapshot 1`] = `
|
||||||
className={null}
|
className={null}
|
||||||
rootClassName={null}
|
rootClassName={null}
|
||||||
>
|
>
|
||||||
<InjectIntl(Footer) />
|
<injectIntl(Footer) />
|
||||||
</LayoutWrapperFooter>
|
</LayoutWrapperFooter>
|
||||||
</LayoutSideNavigation>
|
</LayoutSideNavigation>
|
||||||
</Page>
|
</Page>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||||
import { bool, func, object, shape, string, oneOf } from 'prop-types';
|
import { bool, func, object, shape, string, oneOf } from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
import { intlShape, injectIntl } from 'react-intl';
|
import { intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { types as sdkTypes } from '../../util/sdkLoader';
|
import { types as sdkTypes } from '../../util/sdkLoader';
|
||||||
import {
|
import {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ exports[`EditListingPageComponent matches snapshot 1`] = `
|
||||||
title="EditListingPage.titleCreateListing"
|
title="EditListingPage.titleCreateListing"
|
||||||
>
|
>
|
||||||
<withRouter(Connect(TopbarContainerComponent)) />
|
<withRouter(Connect(TopbarContainerComponent)) />
|
||||||
<withViewport(InjectIntl(EditListingWizard))
|
<withViewport(injectIntl(EditListingWizard))
|
||||||
availability={
|
availability={
|
||||||
Object {
|
Object {
|
||||||
"calendar": undefined,
|
"calendar": undefined,
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import { propTypes } from '../../util/types';
|
import { propTypes } from '../../util/types';
|
||||||
import { verify } from '../../ducks/EmailVerification.duck';
|
import { verify } from '../../ducks/EmailVerification.duck';
|
||||||
import { isScrollingDisabled } from '../../ducks/UI.duck';
|
import { isScrollingDisabled } from '../../ducks/UI.duck';
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from 'react-intl';
|
import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import {
|
import {
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ exports[`InboxPage matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -239,7 +239,7 @@ exports[`InboxPage matches snapshot 1`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -387,7 +387,7 @@ exports[`InboxPage matches snapshot 1`] = `
|
||||||
className={null}
|
className={null}
|
||||||
rootClassName={null}
|
rootClassName={null}
|
||||||
>
|
>
|
||||||
<InjectIntl(Footer) />
|
<injectIntl(Footer) />
|
||||||
</LayoutWrapperFooter>
|
</LayoutWrapperFooter>
|
||||||
</LayoutSideNavigation>
|
</LayoutSideNavigation>
|
||||||
</Page>
|
</Page>
|
||||||
|
|
@ -538,7 +538,7 @@ exports[`InboxPage matches snapshot 3`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -691,7 +691,7 @@ exports[`InboxPage matches snapshot 3`] = `
|
||||||
"formatMessage": [Function],
|
"formatMessage": [Function],
|
||||||
"formatNumber": [Function],
|
"formatNumber": [Function],
|
||||||
"formatPlural": [Function],
|
"formatPlural": [Function],
|
||||||
"formatRelative": [Function],
|
"formatRelativeTime": [Function],
|
||||||
"formatTime": [Function],
|
"formatTime": [Function],
|
||||||
"now": [Function],
|
"now": [Function],
|
||||||
}
|
}
|
||||||
|
|
@ -839,7 +839,7 @@ exports[`InboxPage matches snapshot 3`] = `
|
||||||
className={null}
|
className={null}
|
||||||
rootClassName={null}
|
rootClassName={null}
|
||||||
>
|
>
|
||||||
<InjectIntl(Footer) />
|
<injectIntl(Footer) />
|
||||||
</LayoutWrapperFooter>
|
</LayoutWrapperFooter>
|
||||||
</LayoutSideNavigation>
|
</LayoutSideNavigation>
|
||||||
</Page>
|
</Page>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
import { injectIntl, intlShape } from 'react-intl';
|
import { injectIntl, intlShape } from '../../util/reactIntl';
|
||||||
import { isScrollingDisabled } from '../../ducks/UI.duck';
|
import { isScrollingDisabled } from '../../ducks/UI.duck';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
import {
|
import {
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ exports[`LandingPage matches snapshot 1`] = `
|
||||||
className={null}
|
className={null}
|
||||||
rootClassName={null}
|
rootClassName={null}
|
||||||
>
|
>
|
||||||
<InjectIntl(Footer) />
|
<injectIntl(Footer) />
|
||||||
</LayoutWrapperFooter>
|
</LayoutWrapperFooter>
|
||||||
</LayoutSingleColumn>
|
</LayoutSingleColumn>
|
||||||
</Page>
|
</Page>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { bool, oneOfType, object } from 'prop-types';
|
import { bool, oneOfType, object } from 'prop-types';
|
||||||
import { FormattedMessage } from 'react-intl';
|
import { FormattedMessage } from '../../util/reactIntl';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import {
|
import {
|
||||||
LISTING_STATE_PENDING_APPROVAL,
|
LISTING_STATE_PENDING_APPROVAL,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { array, arrayOf, bool, func, shape, string, oneOf } from 'prop-types';
|
import { array, arrayOf, bool, func, shape, string, oneOf } from 'prop-types';
|
||||||
import { FormattedMessage, intlShape, injectIntl } from 'react-intl';
|
import { FormattedMessage, intlShape, injectIntl } from '../../util/reactIntl';
|
||||||
import { compose } from 'redux';
|
import { compose } from 'redux';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { withRouter } from 'react-router-dom';
|
import { withRouter } from 'react-router-dom';
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue