@commercetools-frontend-extensions/export-resources-modal 5.3.0 → 5.4.0
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-2bc898e9.cjs.prod.js} +1 -1
- package/dist/{active-drag-drop-area-e3f74c13.cjs.dev.js → active-drag-drop-area-b5dd0364.cjs.dev.js} +1 -1
- package/dist/{active-drag-drop-area-fb905a01.esm.js → active-drag-drop-area-ff9c0d97.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-08062080.cjs.prod.js} +1 -1
- package/dist/{enabled-drop-area-5d5a61c8.esm.js → enabled-drop-area-6940c316.esm.js} +1 -1
- package/dist/{enabled-drop-area-b35ddf49.cjs.dev.js → enabled-drop-area-ad58c949.cjs.dev.js} +1 -1
- package/dist/{es-e6dd1e27.cjs.dev.js → es-3bcde029.cjs.prod.js} +17 -5
- package/dist/{es-735dbaf2.esm.js → es-78876ffb.esm.js} +17 -5
- package/dist/{es-e73368be.cjs.prod.js → es-9f21ee16.cjs.dev.js} +17 -5
- package/dist/{file-dropped-area-85fb3d1d.cjs.prod.js → file-dropped-area-5b4d1bab.cjs.prod.js} +1 -1
- package/dist/{file-dropped-area-ff7e0b8e.cjs.dev.js → file-dropped-area-a436dc63.cjs.dev.js} +1 -1
- package/dist/{file-dropped-area-aad1bd09.esm.js → file-dropped-area-e6097092.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-1a9a449c.cjs.dev.js} +146 -113
- package/dist/{index-f0396960.esm.js → index-6cec8a7b.esm.js} +147 -114
- package/dist/{index-e73d846c.cjs.prod.js → index-7f29af61.cjs.prod.js} +146 -113
- 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 +31 -31
|
@@ -15,7 +15,7 @@ import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/obje
|
|
|
15
15
|
import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
16
16
|
import { defineMessages, FormattedMessage, useIntl, IntlProvider } from 'react-intl';
|
|
17
17
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
18
|
-
import { Text, TextInput, Spacings,
|
|
18
|
+
import { Text, TextInput, Spacings, SelectField, CheckboxInput, ContentNotification, Link, RadioInput, TextField, AngleRightIcon, Grid, designTokens, FieldLabel, Constraints, Tooltip, SupportIcon, Stamp, IconButton, AngleDownIcon, CollapsibleMotion, Card, SearchTextInput, TagList, FlatButton, AngleUpIcon, CheckBoldIcon, DataTable } from '@commercetools-frontend/ui-kit';
|
|
19
19
|
import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
|
|
20
20
|
import _valuesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/values';
|
|
21
21
|
import { FormDialog } from '@commercetools-frontend/application-components';
|
|
@@ -615,12 +615,12 @@ var messages = defineMessages({
|
|
|
615
615
|
columns: {
|
|
616
616
|
id: 'ExportResourcesModal.columns',
|
|
617
617
|
description: 'Label for column separator select',
|
|
618
|
-
defaultMessage: 'Columns
|
|
618
|
+
defaultMessage: 'Columns'
|
|
619
619
|
},
|
|
620
|
-
|
|
621
|
-
id: 'ExportResourcesModal.
|
|
620
|
+
decimals: {
|
|
621
|
+
id: 'ExportResourcesModal.decimals',
|
|
622
622
|
description: 'Label for decimal separator select',
|
|
623
|
-
defaultMessage: 'Decimals
|
|
623
|
+
defaultMessage: 'Decimals'
|
|
624
624
|
},
|
|
625
625
|
columnSeparatorComma: {
|
|
626
626
|
id: 'ExportResourcesModal.columnSeparatorComma',
|
|
@@ -656,6 +656,21 @@ var messages = defineMessages({
|
|
|
656
656
|
id: 'ExportResourcesModal.csvSettings',
|
|
657
657
|
description: 'Label for CSV settings section',
|
|
658
658
|
defaultMessage: 'CSV settings:'
|
|
659
|
+
},
|
|
660
|
+
excelOptimized: {
|
|
661
|
+
id: 'ExportResourcesModal.excelOptimized',
|
|
662
|
+
description: 'Label for Excel-optimized CSV export checkbox',
|
|
663
|
+
defaultMessage: 'CSV file optimized for Excel'
|
|
664
|
+
},
|
|
665
|
+
excelOptimizedDescription: {
|
|
666
|
+
id: 'ExportResourcesModal.excelOptimizedDescription',
|
|
667
|
+
description: 'Description for Excel-optimized CSV export checkbox',
|
|
668
|
+
defaultMessage: 'Checking this option will prevent Excel from interpreting the data of the file.'
|
|
669
|
+
},
|
|
670
|
+
readMoreOnDocumentation: {
|
|
671
|
+
id: 'ExportResourcesModal.readMoreOnDocumentation',
|
|
672
|
+
description: 'Read more on documentation',
|
|
673
|
+
defaultMessage: 'Read more on the {documentationLink}'
|
|
659
674
|
}
|
|
660
675
|
});
|
|
661
676
|
|
|
@@ -764,6 +779,7 @@ const OUTPUT_FORMAT_OPTIONS = [{
|
|
|
764
779
|
const EXPORT_DATA_DOCUMENTATION_LINK = 'https://docs.commercetools.com/merchant-center/export-data';
|
|
765
780
|
const CSV_TEMPLATES_LINK = 'https://docs.commercetools.com/merchant-center/import-data#download-a-template';
|
|
766
781
|
const CSV_STRUCTURE_DOCUMENTATION_LINK = 'https://docs.commercetools.com/merchant-center/export-data#structure-of-exported-csv-files';
|
|
782
|
+
const EXPORT_EXCEL_DOCUMENTATION_LINK = 'https://docs.commercetools.com/merchant-center/export-data#optimize-csv-file-for-microsoft-excel';
|
|
767
783
|
|
|
768
784
|
const resourceTypeMessages = {
|
|
769
785
|
[EXPORTABLE_RESOURCES.CATEGORY]: {
|
|
@@ -1536,6 +1552,7 @@ const useInitialValues = props => {
|
|
|
1536
1552
|
groups: updateFieldGroupWithAdditionalFieldExtensions(groups),
|
|
1537
1553
|
queryPredicate: '',
|
|
1538
1554
|
fillRows: false,
|
|
1555
|
+
excelCompatible: false,
|
|
1539
1556
|
outputFormat: props.outputFormat,
|
|
1540
1557
|
columnSeparator: DELIMITERS$1.COMMA,
|
|
1541
1558
|
decimalSeparator: DELIMITERS$1.POINT,
|
|
@@ -1622,6 +1639,7 @@ const useStartExportOperation = props => {
|
|
|
1622
1639
|
fileFormat: values.outputFormat,
|
|
1623
1640
|
locales,
|
|
1624
1641
|
fillRows: isCsv && values.fillRows,
|
|
1642
|
+
excelCompatible: isCsv && values.excelCompatible,
|
|
1625
1643
|
separator: isCsv ? {
|
|
1626
1644
|
columns: values.columnSeparator,
|
|
1627
1645
|
decimal: values.decimalSeparator
|
|
@@ -1857,6 +1875,7 @@ const useValidateExportOperation = () => {
|
|
|
1857
1875
|
function ownKeys$a(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1858
1876
|
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(_context = ownKeys$a(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$a(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1859
1877
|
const ExportPreferenceSection = () => {
|
|
1878
|
+
const intl = useIntl();
|
|
1860
1879
|
const _useExportResourcesMo = useExportResourcesModalContext(),
|
|
1861
1880
|
formik = _useExportResourcesMo.formik;
|
|
1862
1881
|
const columnSeparatorOptions = _mapInstanceProperty(COLUMN_DELIMITER_OPTIONS).call(COLUMN_DELIMITER_OPTIONS, option => _objectSpread$a(_objectSpread$a({}, option), {}, {
|
|
@@ -1866,7 +1885,7 @@ const ExportPreferenceSection = () => {
|
|
|
1866
1885
|
label: jsx(FormattedMessage, _objectSpread$a({}, option.label))
|
|
1867
1886
|
}));
|
|
1868
1887
|
return jsxs(Spacings.Stack, {
|
|
1869
|
-
scale: "
|
|
1888
|
+
scale: "xl",
|
|
1870
1889
|
children: [jsxs(Spacings.Stack, {
|
|
1871
1890
|
scale: "s",
|
|
1872
1891
|
children: [jsxs("div", {
|
|
@@ -1877,60 +1896,80 @@ const ExportPreferenceSection = () => {
|
|
|
1877
1896
|
})]
|
|
1878
1897
|
}), jsxs(Spacings.Inline, {
|
|
1879
1898
|
scale: "s",
|
|
1880
|
-
children: [
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
intlMessage: messages.decimal
|
|
1901
|
-
}), jsx(SelectInput, {
|
|
1902
|
-
isSearchable: false,
|
|
1903
|
-
options: decimalSeparatorOptions,
|
|
1904
|
-
value: _valuesInstanceProperty(formik).decimalSeparator,
|
|
1905
|
-
onChange: e => {
|
|
1906
|
-
formik.setFieldValue('decimalSeparator', e.target.value);
|
|
1907
|
-
},
|
|
1908
|
-
menuPortalTarget: document.body,
|
|
1909
|
-
horizontalConstraint: 4,
|
|
1910
|
-
menuPortalZIndex: Z_INDEX_DROPDOWN
|
|
1911
|
-
})]
|
|
1899
|
+
children: [jsx(SelectField, {
|
|
1900
|
+
title: intl.formatMessage(messages.columns),
|
|
1901
|
+
isSearchable: false,
|
|
1902
|
+
options: columnSeparatorOptions,
|
|
1903
|
+
value: _valuesInstanceProperty(formik).columnSeparator,
|
|
1904
|
+
onChange: e => {
|
|
1905
|
+
formik.setFieldValue('columnSeparator', e.target.value);
|
|
1906
|
+
},
|
|
1907
|
+
menuPortalTarget: document.body,
|
|
1908
|
+
menuPortalZIndex: Z_INDEX_DROPDOWN
|
|
1909
|
+
}), jsx(SelectField, {
|
|
1910
|
+
title: intl.formatMessage(messages.decimals),
|
|
1911
|
+
isSearchable: false,
|
|
1912
|
+
options: decimalSeparatorOptions,
|
|
1913
|
+
value: _valuesInstanceProperty(formik).decimalSeparator,
|
|
1914
|
+
onChange: e => {
|
|
1915
|
+
formik.setFieldValue('decimalSeparator', e.target.value);
|
|
1916
|
+
},
|
|
1917
|
+
menuPortalTarget: document.body,
|
|
1918
|
+
menuPortalZIndex: Z_INDEX_DROPDOWN
|
|
1912
1919
|
})]
|
|
1913
1920
|
})]
|
|
1914
|
-
}), jsxs(
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1921
|
+
}), jsxs(Spacings.Stack, {
|
|
1922
|
+
scale: "xl",
|
|
1923
|
+
children: [jsxs(Spacings.Stack, {
|
|
1924
|
+
scale: "m",
|
|
1925
|
+
children: [jsx(CheckboxInput, {
|
|
1926
|
+
isChecked: _valuesInstanceProperty(formik).excelCompatible,
|
|
1927
|
+
onChange: e => {
|
|
1928
|
+
formik.setFieldValue('excelCompatible', e.target.checked);
|
|
1929
|
+
},
|
|
1930
|
+
children: jsx(FormattedMessage, _objectSpread$a({}, messages.excelOptimized))
|
|
1931
|
+
}), _valuesInstanceProperty(formik).excelCompatible && jsx(ContentNotification, {
|
|
1932
|
+
type: "info",
|
|
1933
|
+
children: jsx(Spacings.Inset, {
|
|
1934
|
+
scale: "xs",
|
|
1935
|
+
children: jsxs(Spacings.Stack, {
|
|
1936
|
+
children: [jsx("div", {
|
|
1937
|
+
children: jsx(FormattedMessage, _objectSpread$a({}, messages.excelOptimizedDescription))
|
|
1938
|
+
}), jsx("div", {
|
|
1939
|
+
children: jsx(FormattedMessage, _objectSpread$a(_objectSpread$a({}, messages.readMoreOnDocumentation), {}, {
|
|
1940
|
+
values: {
|
|
1941
|
+
documentationLink: jsx(Link, {
|
|
1942
|
+
intlMessage: messages.documentation,
|
|
1943
|
+
isExternal: true,
|
|
1944
|
+
to: EXPORT_EXCEL_DOCUMENTATION_LINK
|
|
1945
|
+
}, "documentation-link")
|
|
1946
|
+
}
|
|
1947
|
+
}))
|
|
1948
|
+
})]
|
|
1949
|
+
})
|
|
1932
1950
|
})
|
|
1933
1951
|
})]
|
|
1952
|
+
}), jsxs("div", {
|
|
1953
|
+
children: [jsx(CheckboxInput, {
|
|
1954
|
+
isChecked: _valuesInstanceProperty(formik).fillRows,
|
|
1955
|
+
onChange: e => {
|
|
1956
|
+
formik.setFieldValue('fillRows', e.target.checked);
|
|
1957
|
+
},
|
|
1958
|
+
children: jsx(FormattedMessage, _objectSpread$a({}, messages.fillRows))
|
|
1959
|
+
}), jsxs(Spacings.Inline, {
|
|
1960
|
+
scale: "xl",
|
|
1961
|
+
children: [jsx("div", {}), jsx(Text.Caption, {
|
|
1962
|
+
intlMessage: _objectSpread$a(_objectSpread$a({}, messages.moreInformation), {}, {
|
|
1963
|
+
values: {
|
|
1964
|
+
documentationLink: jsx(Link, {
|
|
1965
|
+
intlMessage: messages.documentation,
|
|
1966
|
+
isExternal: true,
|
|
1967
|
+
to: CSV_STRUCTURE_DOCUMENTATION_LINK
|
|
1968
|
+
}, "documentation-link")
|
|
1969
|
+
}
|
|
1970
|
+
})
|
|
1971
|
+
})]
|
|
1972
|
+
})]
|
|
1934
1973
|
})]
|
|
1935
1974
|
})]
|
|
1936
1975
|
});
|
|
@@ -2044,59 +2083,53 @@ const ExportFileSettingsStep = () => {
|
|
|
2044
2083
|
onClose: onClose,
|
|
2045
2084
|
size: 16,
|
|
2046
2085
|
children: jsx(Masking.Unmask, {
|
|
2047
|
-
children:
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
children:
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
title: intl.formatMessage(messages.fileName),
|
|
2074
|
-
touched: formik.touched.fileName,
|
|
2075
|
-
errors: mapFormikErrors(formik.errors.fileName),
|
|
2076
|
-
renderError: renderFileNameError
|
|
2077
|
-
})
|
|
2078
|
-
}), jsx(SelectField, {
|
|
2079
|
-
name: "outputFormat",
|
|
2080
|
-
onChange: handleOutputFormatChange,
|
|
2081
|
-
onBlur: formik.handleBlur,
|
|
2082
|
-
value: _valuesInstanceProperty(formik).outputFormat,
|
|
2083
|
-
title: intl.formatMessage(messages.outputFormat),
|
|
2084
|
-
options: OUTPUT_FORMAT_OPTIONS,
|
|
2085
|
-
menuPortalTarget: document.body,
|
|
2086
|
-
menuPortalZIndex: Z_INDEX_DROPDOWN
|
|
2087
|
-
})]
|
|
2086
|
+
children: jsxs(Grid, {
|
|
2087
|
+
gridRowGap: designTokens.spacingXl,
|
|
2088
|
+
gridTemplateColumns: `calc(${designTokens.constraint3} + ${designTokens.spacingL}) auto`,
|
|
2089
|
+
children: [jsx(Grid.Item, {
|
|
2090
|
+
children: jsx(Text.Body, {
|
|
2091
|
+
intlMessage: messages.scope
|
|
2092
|
+
})
|
|
2093
|
+
}), jsx(Grid.Item, {
|
|
2094
|
+
children: jsx(ExportScopeSection, {})
|
|
2095
|
+
}), jsx(Grid.Item, {
|
|
2096
|
+
children: jsx(Text.Body, {
|
|
2097
|
+
intlMessage: messages.saveAs
|
|
2098
|
+
})
|
|
2099
|
+
}), jsx(Grid.Item, {
|
|
2100
|
+
children: jsxs(Spacings.Stack, {
|
|
2101
|
+
scale: "xl",
|
|
2102
|
+
children: [jsx(Masking.Mask, {
|
|
2103
|
+
children: jsx(TextField, {
|
|
2104
|
+
name: "fileName",
|
|
2105
|
+
onChange: formik.handleChange,
|
|
2106
|
+
onBlur: formik.handleBlur,
|
|
2107
|
+
value: _valuesInstanceProperty(formik).fileName,
|
|
2108
|
+
title: intl.formatMessage(messages.fileName),
|
|
2109
|
+
touched: formik.touched.fileName,
|
|
2110
|
+
errors: mapFormikErrors(formik.errors.fileName),
|
|
2111
|
+
renderError: renderFileNameError
|
|
2088
2112
|
})
|
|
2089
|
-
}),
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2113
|
+
}), jsx(SelectField, {
|
|
2114
|
+
name: "outputFormat",
|
|
2115
|
+
onChange: handleOutputFormatChange,
|
|
2116
|
+
onBlur: formik.handleBlur,
|
|
2117
|
+
value: _valuesInstanceProperty(formik).outputFormat,
|
|
2118
|
+
title: intl.formatMessage(messages.outputFormat),
|
|
2119
|
+
options: OUTPUT_FORMAT_OPTIONS,
|
|
2120
|
+
menuPortalTarget: document.body,
|
|
2121
|
+
menuPortalZIndex: Z_INDEX_DROPDOWN
|
|
2097
2122
|
})]
|
|
2098
2123
|
})
|
|
2099
|
-
})
|
|
2124
|
+
}), shouldShowPreferences && jsxs(Fragment, {
|
|
2125
|
+
children: [jsx(Grid.Item, {
|
|
2126
|
+
children: jsx(Text.Body, {
|
|
2127
|
+
intlMessage: messages.csvSettings
|
|
2128
|
+
})
|
|
2129
|
+
}), jsx(Grid.Item, {
|
|
2130
|
+
children: jsx(ExportPreferenceSection, {})
|
|
2131
|
+
})]
|
|
2132
|
+
})]
|
|
2100
2133
|
})
|
|
2101
2134
|
})
|
|
2102
2135
|
});
|
|
@@ -3317,11 +3350,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
|
|
|
3317
3350
|
return /*#__PURE__*/css(process.env.NODE_ENV === "production" ? "" : ";label:getDefaultDropWrapperStyles;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRyb3AtYXJlYS13cmFwcGVyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5QlkiLCJmaWxlIjoiZHJvcC1hcmVhLXdyYXBwZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgdHlwZSBEcm9wem9uZVJvb3RQcm9wcyB9IGZyb20gJ3JlYWN0LWRyb3B6b25lJ1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IHN0eWxlcyB9IGZyb20gJy4vc3R5bGVzJ1xuaW1wb3J0IHsgdHlwZSBEcm9wQXJlYVN0YXRlIH0gZnJvbSAnLi4vLi4vLi4vQHR5cGVzJ1xuXG5pbnRlcmZhY2UgRHJvcFdyYXBwZXJQcm9wcyBleHRlbmRzIERyb3B6b25lUm9vdFByb3BzIHtcbiAgZHJvcEFyZWFTdGF0ZTogRHJvcEFyZWFTdGF0ZVxufVxuZXhwb3J0IGNvbnN0IERyb3BXcmFwcGVyID0gc3R5bGVkLmRpdjxEcm9wV3JhcHBlclByb3BzPmBcbiAgJHtzdHlsZXMuYmFzZX1cbiAgJHsocHJvcHMpID0+IHtcbiAgICBpZiAocHJvcHMuZHJvcEFyZWFTdGF0ZSA9PT0gJ2RlZmF1bHQnKSB7XG4gICAgICByZXR1cm4gc3R5bGVzLnJlYWR5Rm9yRHJvcFxuICAgIH1cbiAgICBpZiAocHJvcHMuZHJvcEFyZWFTdGF0ZSA9PT0gJ2FjdGl2ZS1kcmFnJykge1xuICAgICAgcmV0dXJuIHN0eWxlcy5hY3RpdmVEcmFnXG4gICAgfVxuICAgIGlmIChwcm9wcy5kcm9wQXJlYVN0YXRlID09PSAnZmlsZS1kcm9wcGVkJykge1xuICAgICAgcmV0dXJuIHN0eWxlcy5maWxlRHJvcHBlZFxuICAgIH1cbiAgICByZXR1cm4gZ2V0RGVmYXVsdERyb3BXcmFwcGVyU3R5bGVzKHByb3BzLmRyb3BBcmVhU3RhdGUpXG4gIH19XG5gXG5mdW5jdGlvbiBnZXREZWZhdWx0RHJvcFdyYXBwZXJTdHlsZXMoX2Ryb3BBcmVhU3RhdGU6IG5ldmVyKSB7XG4gIHJldHVybiBjc3NgYFxufVxuIl19 */");
|
|
3318
3351
|
}
|
|
3319
3352
|
|
|
3320
|
-
var ActiveDragDropArea = /*#__PURE__*/lazy(() => import('./active-drag-drop-area-
|
|
3353
|
+
var ActiveDragDropArea = /*#__PURE__*/lazy(() => import('./active-drag-drop-area-ff9c0d97.esm.js' /* webpackChunkName: "active-drag-drop-area" */));
|
|
3321
3354
|
|
|
3322
|
-
var EnabledDropArea = /*#__PURE__*/lazy(() => import('./enabled-drop-area-
|
|
3355
|
+
var EnabledDropArea = /*#__PURE__*/lazy(() => import('./enabled-drop-area-6940c316.esm.js' /* webpackChunkName: "enabled-drop-area" */));
|
|
3323
3356
|
|
|
3324
|
-
var FileDropped = /*#__PURE__*/lazy(() => import('./file-dropped-area-
|
|
3357
|
+
var FileDropped = /*#__PURE__*/lazy(() => import('./file-dropped-area-e6097092.esm.js' /* webpackChunkName: "filed-dropped-area" */));
|
|
3325
3358
|
|
|
3326
3359
|
function getDropArea(_ref) {
|
|
3327
3360
|
let dropAreaState = _ref.dropAreaState,
|
|
@@ -3402,17 +3435,17 @@ const getChunkImport = locale => {
|
|
|
3402
3435
|
const intlLocale = mapLocaleToIntlLocale(locale);
|
|
3403
3436
|
switch (intlLocale) {
|
|
3404
3437
|
case 'de':
|
|
3405
|
-
return import(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
3438
|
+
return import(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-f08a52eb.esm.js');
|
|
3406
3439
|
case 'es':
|
|
3407
|
-
return import(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
3440
|
+
return import(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-78876ffb.esm.js');
|
|
3408
3441
|
case 'fr-FR':
|
|
3409
|
-
return import(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
3442
|
+
return import(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-4f366109.esm.js');
|
|
3410
3443
|
case 'ja':
|
|
3411
3444
|
return import(/* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-73c088a7.esm.js');
|
|
3412
3445
|
case 'pt-BR':
|
|
3413
|
-
return import(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-
|
|
3446
|
+
return import(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-f96cb5c4.esm.js');
|
|
3414
3447
|
default:
|
|
3415
|
-
return import(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-
|
|
3448
|
+
return import(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-fde71e63.esm.js');
|
|
3416
3449
|
}
|
|
3417
3450
|
};
|
|
3418
3451
|
const loadMessages = async locale => {
|