@commercetools-frontend-extensions/export-resources-modal 5.3.1 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{active-drag-drop-area-e9bf7129.cjs.prod.js → active-drag-drop-area-42c9f210.cjs.prod.js} +1 -1
- package/dist/{active-drag-drop-area-e3f74c13.cjs.dev.js → active-drag-drop-area-c57014a5.cjs.dev.js} +1 -1
- package/dist/{active-drag-drop-area-fb905a01.esm.js → active-drag-drop-area-ff01cf04.esm.js} +1 -1
- package/dist/commercetools-frontend-extensions-export-resources-modal.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-extensions-export-resources-modal.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-extensions-export-resources-modal.esm.js +1 -1
- package/dist/{de-44143469.cjs.dev.js → de-d8a18a42.cjs.dev.js} +17 -5
- package/dist/{de-324f2829.esm.js → de-f08a52eb.esm.js} +17 -5
- package/dist/{de-850971a3.cjs.prod.js → de-f3ef440e.cjs.prod.js} +17 -5
- package/dist/declarations/src/@constants/urls.d.ts +1 -0
- package/dist/declarations/src/@types/export-api.d.ts +1 -0
- package/dist/declarations/src/@types/form.d.ts +1 -0
- package/dist/{en-89430bcb.cjs.prod.js → en-826f3da3.cjs.dev.js} +17 -5
- package/dist/{en-6928b534.cjs.dev.js → en-fa1adbcf.cjs.prod.js} +17 -5
- package/dist/{en-015fa203.esm.js → en-fde71e63.esm.js} +17 -5
- package/dist/{enabled-drop-area-3161efde.cjs.prod.js → enabled-drop-area-dcdba4da.cjs.prod.js} +1 -1
- package/dist/{enabled-drop-area-b35ddf49.cjs.dev.js → enabled-drop-area-de59856c.cjs.dev.js} +1 -1
- package/dist/{enabled-drop-area-5d5a61c8.esm.js → enabled-drop-area-e70311e0.esm.js} +1 -1
- package/dist/{es-e6dd1e27.cjs.dev.js → es-a0812a71.cjs.prod.js} +17 -5
- package/dist/{es-e73368be.cjs.prod.js → es-d42411f4.cjs.dev.js} +17 -5
- package/dist/{es-735dbaf2.esm.js → es-e2a2c0d3.esm.js} +17 -5
- package/dist/{file-dropped-area-85fb3d1d.cjs.prod.js → file-dropped-area-9a3ec8d3.cjs.prod.js} +1 -1
- package/dist/{file-dropped-area-ff7e0b8e.cjs.dev.js → file-dropped-area-bf82af47.cjs.dev.js} +1 -1
- package/dist/{file-dropped-area-aad1bd09.esm.js → file-dropped-area-ce7e1b9c.esm.js} +1 -1
- package/dist/{fr-FR-96dce16c.esm.js → fr-FR-4f366109.esm.js} +17 -5
- package/dist/{fr-FR-0eab30ec.cjs.prod.js → fr-FR-5fbee168.cjs.prod.js} +17 -5
- package/dist/{fr-FR-62affef0.cjs.dev.js → fr-FR-685637af.cjs.dev.js} +17 -5
- package/dist/{index-2ed12fce.cjs.dev.js → index-3384ff9e.cjs.dev.js} +146 -113
- package/dist/{index-e73d846c.cjs.prod.js → index-38c1edcf.cjs.prod.js} +146 -113
- package/dist/{index-f0396960.esm.js → index-67a74d0b.esm.js} +147 -114
- package/dist/{pt-BR-ced88ff5.cjs.prod.js → pt-BR-53c6b1c2.cjs.prod.js} +17 -5
- package/dist/{pt-BR-13243e64.cjs.dev.js → pt-BR-78ae5352.cjs.dev.js} +17 -5
- package/dist/{pt-BR-7fd72f5d.esm.js → pt-BR-f96cb5c4.esm.js} +17 -5
- package/package.json +32 -32
|
@@ -656,12 +656,12 @@ var messages = reactIntl.defineMessages({
|
|
|
656
656
|
columns: {
|
|
657
657
|
id: 'ExportResourcesModal.columns',
|
|
658
658
|
description: 'Label for column separator select',
|
|
659
|
-
defaultMessage: 'Columns
|
|
659
|
+
defaultMessage: 'Columns'
|
|
660
660
|
},
|
|
661
|
-
|
|
662
|
-
id: 'ExportResourcesModal.
|
|
661
|
+
decimals: {
|
|
662
|
+
id: 'ExportResourcesModal.decimals',
|
|
663
663
|
description: 'Label for decimal separator select',
|
|
664
|
-
defaultMessage: 'Decimals
|
|
664
|
+
defaultMessage: 'Decimals'
|
|
665
665
|
},
|
|
666
666
|
columnSeparatorComma: {
|
|
667
667
|
id: 'ExportResourcesModal.columnSeparatorComma',
|
|
@@ -697,6 +697,21 @@ var messages = reactIntl.defineMessages({
|
|
|
697
697
|
id: 'ExportResourcesModal.csvSettings',
|
|
698
698
|
description: 'Label for CSV settings section',
|
|
699
699
|
defaultMessage: 'CSV settings:'
|
|
700
|
+
},
|
|
701
|
+
excelOptimized: {
|
|
702
|
+
id: 'ExportResourcesModal.excelOptimized',
|
|
703
|
+
description: 'Label for Excel-optimized CSV export checkbox',
|
|
704
|
+
defaultMessage: 'CSV file optimized for Excel'
|
|
705
|
+
},
|
|
706
|
+
excelOptimizedDescription: {
|
|
707
|
+
id: 'ExportResourcesModal.excelOptimizedDescription',
|
|
708
|
+
description: 'Description for Excel-optimized CSV export checkbox',
|
|
709
|
+
defaultMessage: 'Checking this option will prevent Excel from interpreting the data of the file.'
|
|
710
|
+
},
|
|
711
|
+
readMoreOnDocumentation: {
|
|
712
|
+
id: 'ExportResourcesModal.readMoreOnDocumentation',
|
|
713
|
+
description: 'Read more on documentation',
|
|
714
|
+
defaultMessage: 'Read more on the {documentationLink}'
|
|
700
715
|
}
|
|
701
716
|
});
|
|
702
717
|
|
|
@@ -805,6 +820,7 @@ const OUTPUT_FORMAT_OPTIONS = [{
|
|
|
805
820
|
const EXPORT_DATA_DOCUMENTATION_LINK = 'https://docs.commercetools.com/merchant-center/export-data';
|
|
806
821
|
const CSV_TEMPLATES_LINK = 'https://docs.commercetools.com/merchant-center/import-data#download-a-template';
|
|
807
822
|
const CSV_STRUCTURE_DOCUMENTATION_LINK = 'https://docs.commercetools.com/merchant-center/export-data#structure-of-exported-csv-files';
|
|
823
|
+
const EXPORT_EXCEL_DOCUMENTATION_LINK = 'https://docs.commercetools.com/merchant-center/export-data#optimize-csv-file-for-microsoft-excel';
|
|
808
824
|
|
|
809
825
|
const resourceTypeMessages = {
|
|
810
826
|
[EXPORTABLE_RESOURCES.CATEGORY]: {
|
|
@@ -1577,6 +1593,7 @@ const useInitialValues = props => {
|
|
|
1577
1593
|
groups: updateFieldGroupWithAdditionalFieldExtensions(groups),
|
|
1578
1594
|
queryPredicate: '',
|
|
1579
1595
|
fillRows: false,
|
|
1596
|
+
excelCompatible: false,
|
|
1580
1597
|
outputFormat: props.outputFormat,
|
|
1581
1598
|
columnSeparator: DELIMITERS$1.COMMA,
|
|
1582
1599
|
decimalSeparator: DELIMITERS$1.POINT,
|
|
@@ -1663,6 +1680,7 @@ const useStartExportOperation = props => {
|
|
|
1663
1680
|
fileFormat: values.outputFormat,
|
|
1664
1681
|
locales,
|
|
1665
1682
|
fillRows: isCsv && values.fillRows,
|
|
1683
|
+
excelCompatible: isCsv && values.excelCompatible,
|
|
1666
1684
|
separator: isCsv ? {
|
|
1667
1685
|
columns: values.columnSeparator,
|
|
1668
1686
|
decimal: values.decimalSeparator
|
|
@@ -1898,6 +1916,7 @@ const useValidateExportOperation = () => {
|
|
|
1898
1916
|
function ownKeys$a(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1899
1917
|
function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$a(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$a(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
1900
1918
|
const ExportPreferenceSection = () => {
|
|
1919
|
+
const intl = reactIntl.useIntl();
|
|
1901
1920
|
const _useExportResourcesMo = useExportResourcesModalContext(),
|
|
1902
1921
|
formik = _useExportResourcesMo.formik;
|
|
1903
1922
|
const columnSeparatorOptions = _mapInstanceProperty__default["default"](COLUMN_DELIMITER_OPTIONS).call(COLUMN_DELIMITER_OPTIONS, option => _objectSpread$a(_objectSpread$a({}, option), {}, {
|
|
@@ -1907,7 +1926,7 @@ const ExportPreferenceSection = () => {
|
|
|
1907
1926
|
label: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, option.label))
|
|
1908
1927
|
}));
|
|
1909
1928
|
return jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1910
|
-
scale: "
|
|
1929
|
+
scale: "xl",
|
|
1911
1930
|
children: [jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1912
1931
|
scale: "s",
|
|
1913
1932
|
children: [jsxRuntime.jsxs("div", {
|
|
@@ -1918,60 +1937,80 @@ const ExportPreferenceSection = () => {
|
|
|
1918
1937
|
})]
|
|
1919
1938
|
}), jsxRuntime.jsxs(uiKit.Spacings.Inline, {
|
|
1920
1939
|
scale: "s",
|
|
1921
|
-
children: [jsxRuntime.
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
intlMessage: messages.decimal
|
|
1942
|
-
}), jsxRuntime.jsx(uiKit.SelectInput, {
|
|
1943
|
-
isSearchable: false,
|
|
1944
|
-
options: decimalSeparatorOptions,
|
|
1945
|
-
value: _valuesInstanceProperty__default["default"](formik).decimalSeparator,
|
|
1946
|
-
onChange: e => {
|
|
1947
|
-
formik.setFieldValue('decimalSeparator', e.target.value);
|
|
1948
|
-
},
|
|
1949
|
-
menuPortalTarget: document.body,
|
|
1950
|
-
horizontalConstraint: 4,
|
|
1951
|
-
menuPortalZIndex: Z_INDEX_DROPDOWN
|
|
1952
|
-
})]
|
|
1940
|
+
children: [jsxRuntime.jsx(uiKit.SelectField, {
|
|
1941
|
+
title: intl.formatMessage(messages.columns),
|
|
1942
|
+
isSearchable: false,
|
|
1943
|
+
options: columnSeparatorOptions,
|
|
1944
|
+
value: _valuesInstanceProperty__default["default"](formik).columnSeparator,
|
|
1945
|
+
onChange: e => {
|
|
1946
|
+
formik.setFieldValue('columnSeparator', e.target.value);
|
|
1947
|
+
},
|
|
1948
|
+
menuPortalTarget: document.body,
|
|
1949
|
+
menuPortalZIndex: Z_INDEX_DROPDOWN
|
|
1950
|
+
}), jsxRuntime.jsx(uiKit.SelectField, {
|
|
1951
|
+
title: intl.formatMessage(messages.decimals),
|
|
1952
|
+
isSearchable: false,
|
|
1953
|
+
options: decimalSeparatorOptions,
|
|
1954
|
+
value: _valuesInstanceProperty__default["default"](formik).decimalSeparator,
|
|
1955
|
+
onChange: e => {
|
|
1956
|
+
formik.setFieldValue('decimalSeparator', e.target.value);
|
|
1957
|
+
},
|
|
1958
|
+
menuPortalTarget: document.body,
|
|
1959
|
+
menuPortalZIndex: Z_INDEX_DROPDOWN
|
|
1953
1960
|
})]
|
|
1954
1961
|
})]
|
|
1955
|
-
}), jsxRuntime.jsxs(
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1962
|
+
}), jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1963
|
+
scale: "xl",
|
|
1964
|
+
children: [jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1965
|
+
scale: "m",
|
|
1966
|
+
children: [jsxRuntime.jsx(uiKit.CheckboxInput, {
|
|
1967
|
+
isChecked: _valuesInstanceProperty__default["default"](formik).excelCompatible,
|
|
1968
|
+
onChange: e => {
|
|
1969
|
+
formik.setFieldValue('excelCompatible', e.target.checked);
|
|
1970
|
+
},
|
|
1971
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, messages.excelOptimized))
|
|
1972
|
+
}), _valuesInstanceProperty__default["default"](formik).excelCompatible && jsxRuntime.jsx(uiKit.ContentNotification, {
|
|
1973
|
+
type: "info",
|
|
1974
|
+
children: jsxRuntime.jsx(uiKit.Spacings.Inset, {
|
|
1975
|
+
scale: "xs",
|
|
1976
|
+
children: jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1977
|
+
children: [jsxRuntime.jsx("div", {
|
|
1978
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, messages.excelOptimizedDescription))
|
|
1979
|
+
}), jsxRuntime.jsx("div", {
|
|
1980
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a(_objectSpread$a({}, messages.readMoreOnDocumentation), {}, {
|
|
1981
|
+
values: {
|
|
1982
|
+
documentationLink: jsxRuntime.jsx(uiKit.Link, {
|
|
1983
|
+
intlMessage: messages.documentation,
|
|
1984
|
+
isExternal: true,
|
|
1985
|
+
to: EXPORT_EXCEL_DOCUMENTATION_LINK
|
|
1986
|
+
}, "documentation-link")
|
|
1987
|
+
}
|
|
1988
|
+
}))
|
|
1989
|
+
})]
|
|
1990
|
+
})
|
|
1973
1991
|
})
|
|
1974
1992
|
})]
|
|
1993
|
+
}), jsxRuntime.jsxs("div", {
|
|
1994
|
+
children: [jsxRuntime.jsx(uiKit.CheckboxInput, {
|
|
1995
|
+
isChecked: _valuesInstanceProperty__default["default"](formik).fillRows,
|
|
1996
|
+
onChange: e => {
|
|
1997
|
+
formik.setFieldValue('fillRows', e.target.checked);
|
|
1998
|
+
},
|
|
1999
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, messages.fillRows))
|
|
2000
|
+
}), jsxRuntime.jsxs(uiKit.Spacings.Inline, {
|
|
2001
|
+
scale: "xl",
|
|
2002
|
+
children: [jsxRuntime.jsx("div", {}), jsxRuntime.jsx(uiKit.Text.Caption, {
|
|
2003
|
+
intlMessage: _objectSpread$a(_objectSpread$a({}, messages.moreInformation), {}, {
|
|
2004
|
+
values: {
|
|
2005
|
+
documentationLink: jsxRuntime.jsx(uiKit.Link, {
|
|
2006
|
+
intlMessage: messages.documentation,
|
|
2007
|
+
isExternal: true,
|
|
2008
|
+
to: CSV_STRUCTURE_DOCUMENTATION_LINK
|
|
2009
|
+
}, "documentation-link")
|
|
2010
|
+
}
|
|
2011
|
+
})
|
|
2012
|
+
})]
|
|
2013
|
+
})]
|
|
1975
2014
|
})]
|
|
1976
2015
|
})]
|
|
1977
2016
|
});
|
|
@@ -2085,59 +2124,53 @@ const ExportFileSettingsStep = () => {
|
|
|
2085
2124
|
onClose: onClose,
|
|
2086
2125
|
size: 16,
|
|
2087
2126
|
children: jsxRuntime.jsx(fullstory.Masking.Unmask, {
|
|
2088
|
-
children: jsxRuntime.
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
children: jsxRuntime.
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
title: intl.formatMessage(messages.fileName),
|
|
2115
|
-
touched: formik.touched.fileName,
|
|
2116
|
-
errors: mapFormikErrors(formik.errors.fileName),
|
|
2117
|
-
renderError: renderFileNameError
|
|
2118
|
-
})
|
|
2119
|
-
}), jsxRuntime.jsx(uiKit.SelectField, {
|
|
2120
|
-
name: "outputFormat",
|
|
2121
|
-
onChange: handleOutputFormatChange,
|
|
2122
|
-
onBlur: formik.handleBlur,
|
|
2123
|
-
value: _valuesInstanceProperty__default["default"](formik).outputFormat,
|
|
2124
|
-
title: intl.formatMessage(messages.outputFormat),
|
|
2125
|
-
options: OUTPUT_FORMAT_OPTIONS,
|
|
2126
|
-
menuPortalTarget: document.body,
|
|
2127
|
-
menuPortalZIndex: Z_INDEX_DROPDOWN
|
|
2128
|
-
})]
|
|
2127
|
+
children: jsxRuntime.jsxs(uiKit.Grid, {
|
|
2128
|
+
gridRowGap: uiKit.designTokens.spacingXl,
|
|
2129
|
+
gridTemplateColumns: `calc(${uiKit.designTokens.constraint3} + ${uiKit.designTokens.spacingL}) auto`,
|
|
2130
|
+
children: [jsxRuntime.jsx(uiKit.Grid.Item, {
|
|
2131
|
+
children: jsxRuntime.jsx(uiKit.Text.Body, {
|
|
2132
|
+
intlMessage: messages.scope
|
|
2133
|
+
})
|
|
2134
|
+
}), jsxRuntime.jsx(uiKit.Grid.Item, {
|
|
2135
|
+
children: jsxRuntime.jsx(ExportScopeSection, {})
|
|
2136
|
+
}), jsxRuntime.jsx(uiKit.Grid.Item, {
|
|
2137
|
+
children: jsxRuntime.jsx(uiKit.Text.Body, {
|
|
2138
|
+
intlMessage: messages.saveAs
|
|
2139
|
+
})
|
|
2140
|
+
}), jsxRuntime.jsx(uiKit.Grid.Item, {
|
|
2141
|
+
children: jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
2142
|
+
scale: "xl",
|
|
2143
|
+
children: [jsxRuntime.jsx(fullstory.Masking.Mask, {
|
|
2144
|
+
children: jsxRuntime.jsx(uiKit.TextField, {
|
|
2145
|
+
name: "fileName",
|
|
2146
|
+
onChange: formik.handleChange,
|
|
2147
|
+
onBlur: formik.handleBlur,
|
|
2148
|
+
value: _valuesInstanceProperty__default["default"](formik).fileName,
|
|
2149
|
+
title: intl.formatMessage(messages.fileName),
|
|
2150
|
+
touched: formik.touched.fileName,
|
|
2151
|
+
errors: mapFormikErrors(formik.errors.fileName),
|
|
2152
|
+
renderError: renderFileNameError
|
|
2129
2153
|
})
|
|
2130
|
-
}),
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2154
|
+
}), jsxRuntime.jsx(uiKit.SelectField, {
|
|
2155
|
+
name: "outputFormat",
|
|
2156
|
+
onChange: handleOutputFormatChange,
|
|
2157
|
+
onBlur: formik.handleBlur,
|
|
2158
|
+
value: _valuesInstanceProperty__default["default"](formik).outputFormat,
|
|
2159
|
+
title: intl.formatMessage(messages.outputFormat),
|
|
2160
|
+
options: OUTPUT_FORMAT_OPTIONS,
|
|
2161
|
+
menuPortalTarget: document.body,
|
|
2162
|
+
menuPortalZIndex: Z_INDEX_DROPDOWN
|
|
2138
2163
|
})]
|
|
2139
2164
|
})
|
|
2140
|
-
})
|
|
2165
|
+
}), shouldShowPreferences && jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
2166
|
+
children: [jsxRuntime.jsx(uiKit.Grid.Item, {
|
|
2167
|
+
children: jsxRuntime.jsx(uiKit.Text.Body, {
|
|
2168
|
+
intlMessage: messages.csvSettings
|
|
2169
|
+
})
|
|
2170
|
+
}), jsxRuntime.jsx(uiKit.Grid.Item, {
|
|
2171
|
+
children: jsxRuntime.jsx(ExportPreferenceSection, {})
|
|
2172
|
+
})]
|
|
2173
|
+
})]
|
|
2141
2174
|
})
|
|
2142
2175
|
})
|
|
2143
2176
|
});
|
|
@@ -3322,11 +3355,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
|
|
|
3322
3355
|
return /*#__PURE__*/react.css("" , "" );
|
|
3323
3356
|
}
|
|
3324
3357
|
|
|
3325
|
-
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-
|
|
3358
|
+
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-42c9f210.cjs.prod.js' /* webpackChunkName: "active-drag-drop-area" */); }));
|
|
3326
3359
|
|
|
3327
|
-
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-
|
|
3360
|
+
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-dcdba4da.cjs.prod.js' /* webpackChunkName: "enabled-drop-area" */); }));
|
|
3328
3361
|
|
|
3329
|
-
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-
|
|
3362
|
+
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-9a3ec8d3.cjs.prod.js' /* webpackChunkName: "filed-dropped-area" */); }));
|
|
3330
3363
|
|
|
3331
3364
|
function getDropArea(_ref) {
|
|
3332
3365
|
let dropAreaState = _ref.dropAreaState,
|
|
@@ -3407,17 +3440,17 @@ const getChunkImport = locale => {
|
|
|
3407
3440
|
const intlLocale = i18n.mapLocaleToIntlLocale(locale);
|
|
3408
3441
|
switch (intlLocale) {
|
|
3409
3442
|
case 'de':
|
|
3410
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
3443
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-f3ef440e.cjs.prod.js'); });
|
|
3411
3444
|
case 'es':
|
|
3412
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
3445
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-a0812a71.cjs.prod.js'); });
|
|
3413
3446
|
case 'fr-FR':
|
|
3414
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
3447
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-5fbee168.cjs.prod.js'); });
|
|
3415
3448
|
case 'ja':
|
|
3416
3449
|
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-37632763.cjs.prod.js'); });
|
|
3417
3450
|
case 'pt-BR':
|
|
3418
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-
|
|
3451
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-53c6b1c2.cjs.prod.js'); });
|
|
3419
3452
|
default:
|
|
3420
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-
|
|
3453
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-fa1adbcf.cjs.prod.js'); });
|
|
3421
3454
|
}
|
|
3422
3455
|
};
|
|
3423
3456
|
const loadMessages = async locale => {
|