@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
|
@@ -49,7 +49,7 @@ var frFR = {
|
|
|
49
49
|
},
|
|
50
50
|
"ExportResourcesModal.columns": {
|
|
51
51
|
developer_comment: "Label for column separator select",
|
|
52
|
-
string: "Columns
|
|
52
|
+
string: "Columns"
|
|
53
53
|
},
|
|
54
54
|
"ExportResourcesModal.confirmSelection": {
|
|
55
55
|
developer_comment: "Label for \"Confirm selection\" button",
|
|
@@ -63,10 +63,6 @@ var frFR = {
|
|
|
63
63
|
developer_comment: "CSV upload failed title",
|
|
64
64
|
string: "Échec de l'importation du fichier CSV"
|
|
65
65
|
},
|
|
66
|
-
"ExportResourcesModal.decimal": {
|
|
67
|
-
developer_comment: "Label for decimal separator select",
|
|
68
|
-
string: "Decimals:"
|
|
69
|
-
},
|
|
70
66
|
"ExportResourcesModal.decimalSeparatorComma": {
|
|
71
67
|
developer_comment: "Label for comma decimal separator option",
|
|
72
68
|
string: "comma (,)"
|
|
@@ -75,6 +71,10 @@ var frFR = {
|
|
|
75
71
|
developer_comment: "Label for point decimal separator option",
|
|
76
72
|
string: "point (.)"
|
|
77
73
|
},
|
|
74
|
+
"ExportResourcesModal.decimals": {
|
|
75
|
+
developer_comment: "Label for decimal separator select",
|
|
76
|
+
string: "Decimals"
|
|
77
|
+
},
|
|
78
78
|
"ExportResourcesModal.defineFieldsToIncludeInExport": {
|
|
79
79
|
developer_comment: "A message to define the fields to include in export",
|
|
80
80
|
string: "Définissez les champs à inclure dans votre exportation à l'aide du fichier CSV ci-dessous. Le fichier doit contenir des en-têtes de colonne dans le format prédéfini indiqué dans <templateLink>notre modèle</templateLink>. Un fichier CSV précédemment exporté peut également être utilisé."
|
|
@@ -103,6 +103,14 @@ var frFR = {
|
|
|
103
103
|
developer_comment: "Label for error type column",
|
|
104
104
|
string: "Type d'erreur"
|
|
105
105
|
},
|
|
106
|
+
"ExportResourcesModal.excelOptimized": {
|
|
107
|
+
developer_comment: "Label for Excel-optimized CSV export checkbox",
|
|
108
|
+
string: "CSV file optimized for Excel"
|
|
109
|
+
},
|
|
110
|
+
"ExportResourcesModal.excelOptimizedDescription": {
|
|
111
|
+
developer_comment: "Description for Excel-optimized CSV export checkbox",
|
|
112
|
+
string: "Checking this option will prevent Excel from interpreting the data of the file."
|
|
113
|
+
},
|
|
106
114
|
"ExportResourcesModal.exportBasedOnMyViewsMessage": {
|
|
107
115
|
developer_comment: "Select Export setttings based on my views",
|
|
108
116
|
string: "Sélectionnez les paramètres d'exportation sur la base de :"
|
|
@@ -375,6 +383,10 @@ var frFR = {
|
|
|
375
383
|
developer_comment: "Label for query predicate option",
|
|
376
384
|
string: "Prédicat de requête"
|
|
377
385
|
},
|
|
386
|
+
"ExportResourcesModal.readMoreOnDocumentation": {
|
|
387
|
+
developer_comment: "Read more on documentation",
|
|
388
|
+
string: "Read more on the {documentationLink}"
|
|
389
|
+
},
|
|
378
390
|
"ExportResourcesModal.saveAs": {
|
|
379
391
|
developer_comment: "Label for \"Save as:\"",
|
|
380
392
|
string: "Save as:"
|
|
@@ -51,7 +51,7 @@ var frFR = {
|
|
|
51
51
|
},
|
|
52
52
|
"ExportResourcesModal.columns": {
|
|
53
53
|
developer_comment: "Label for column separator select",
|
|
54
|
-
string: "Columns
|
|
54
|
+
string: "Columns"
|
|
55
55
|
},
|
|
56
56
|
"ExportResourcesModal.confirmSelection": {
|
|
57
57
|
developer_comment: "Label for \"Confirm selection\" button",
|
|
@@ -65,10 +65,6 @@ var frFR = {
|
|
|
65
65
|
developer_comment: "CSV upload failed title",
|
|
66
66
|
string: "Échec de l'importation du fichier CSV"
|
|
67
67
|
},
|
|
68
|
-
"ExportResourcesModal.decimal": {
|
|
69
|
-
developer_comment: "Label for decimal separator select",
|
|
70
|
-
string: "Decimals:"
|
|
71
|
-
},
|
|
72
68
|
"ExportResourcesModal.decimalSeparatorComma": {
|
|
73
69
|
developer_comment: "Label for comma decimal separator option",
|
|
74
70
|
string: "comma (,)"
|
|
@@ -77,6 +73,10 @@ var frFR = {
|
|
|
77
73
|
developer_comment: "Label for point decimal separator option",
|
|
78
74
|
string: "point (.)"
|
|
79
75
|
},
|
|
76
|
+
"ExportResourcesModal.decimals": {
|
|
77
|
+
developer_comment: "Label for decimal separator select",
|
|
78
|
+
string: "Decimals"
|
|
79
|
+
},
|
|
80
80
|
"ExportResourcesModal.defineFieldsToIncludeInExport": {
|
|
81
81
|
developer_comment: "A message to define the fields to include in export",
|
|
82
82
|
string: "Définissez les champs à inclure dans votre exportation à l'aide du fichier CSV ci-dessous. Le fichier doit contenir des en-têtes de colonne dans le format prédéfini indiqué dans <templateLink>notre modèle</templateLink>. Un fichier CSV précédemment exporté peut également être utilisé."
|
|
@@ -105,6 +105,14 @@ var frFR = {
|
|
|
105
105
|
developer_comment: "Label for error type column",
|
|
106
106
|
string: "Type d'erreur"
|
|
107
107
|
},
|
|
108
|
+
"ExportResourcesModal.excelOptimized": {
|
|
109
|
+
developer_comment: "Label for Excel-optimized CSV export checkbox",
|
|
110
|
+
string: "CSV file optimized for Excel"
|
|
111
|
+
},
|
|
112
|
+
"ExportResourcesModal.excelOptimizedDescription": {
|
|
113
|
+
developer_comment: "Description for Excel-optimized CSV export checkbox",
|
|
114
|
+
string: "Checking this option will prevent Excel from interpreting the data of the file."
|
|
115
|
+
},
|
|
108
116
|
"ExportResourcesModal.exportBasedOnMyViewsMessage": {
|
|
109
117
|
developer_comment: "Select Export setttings based on my views",
|
|
110
118
|
string: "Sélectionnez les paramètres d'exportation sur la base de :"
|
|
@@ -377,6 +385,10 @@ var frFR = {
|
|
|
377
385
|
developer_comment: "Label for query predicate option",
|
|
378
386
|
string: "Prédicat de requête"
|
|
379
387
|
},
|
|
388
|
+
"ExportResourcesModal.readMoreOnDocumentation": {
|
|
389
|
+
developer_comment: "Read more on documentation",
|
|
390
|
+
string: "Read more on the {documentationLink}"
|
|
391
|
+
},
|
|
380
392
|
"ExportResourcesModal.saveAs": {
|
|
381
393
|
developer_comment: "Label for \"Save as:\"",
|
|
382
394
|
string: "Save as:"
|
|
@@ -51,7 +51,7 @@ var frFR = {
|
|
|
51
51
|
},
|
|
52
52
|
"ExportResourcesModal.columns": {
|
|
53
53
|
developer_comment: "Label for column separator select",
|
|
54
|
-
string: "Columns
|
|
54
|
+
string: "Columns"
|
|
55
55
|
},
|
|
56
56
|
"ExportResourcesModal.confirmSelection": {
|
|
57
57
|
developer_comment: "Label for \"Confirm selection\" button",
|
|
@@ -65,10 +65,6 @@ var frFR = {
|
|
|
65
65
|
developer_comment: "CSV upload failed title",
|
|
66
66
|
string: "Échec de l'importation du fichier CSV"
|
|
67
67
|
},
|
|
68
|
-
"ExportResourcesModal.decimal": {
|
|
69
|
-
developer_comment: "Label for decimal separator select",
|
|
70
|
-
string: "Decimals:"
|
|
71
|
-
},
|
|
72
68
|
"ExportResourcesModal.decimalSeparatorComma": {
|
|
73
69
|
developer_comment: "Label for comma decimal separator option",
|
|
74
70
|
string: "comma (,)"
|
|
@@ -77,6 +73,10 @@ var frFR = {
|
|
|
77
73
|
developer_comment: "Label for point decimal separator option",
|
|
78
74
|
string: "point (.)"
|
|
79
75
|
},
|
|
76
|
+
"ExportResourcesModal.decimals": {
|
|
77
|
+
developer_comment: "Label for decimal separator select",
|
|
78
|
+
string: "Decimals"
|
|
79
|
+
},
|
|
80
80
|
"ExportResourcesModal.defineFieldsToIncludeInExport": {
|
|
81
81
|
developer_comment: "A message to define the fields to include in export",
|
|
82
82
|
string: "Définissez les champs à inclure dans votre exportation à l'aide du fichier CSV ci-dessous. Le fichier doit contenir des en-têtes de colonne dans le format prédéfini indiqué dans <templateLink>notre modèle</templateLink>. Un fichier CSV précédemment exporté peut également être utilisé."
|
|
@@ -105,6 +105,14 @@ var frFR = {
|
|
|
105
105
|
developer_comment: "Label for error type column",
|
|
106
106
|
string: "Type d'erreur"
|
|
107
107
|
},
|
|
108
|
+
"ExportResourcesModal.excelOptimized": {
|
|
109
|
+
developer_comment: "Label for Excel-optimized CSV export checkbox",
|
|
110
|
+
string: "CSV file optimized for Excel"
|
|
111
|
+
},
|
|
112
|
+
"ExportResourcesModal.excelOptimizedDescription": {
|
|
113
|
+
developer_comment: "Description for Excel-optimized CSV export checkbox",
|
|
114
|
+
string: "Checking this option will prevent Excel from interpreting the data of the file."
|
|
115
|
+
},
|
|
108
116
|
"ExportResourcesModal.exportBasedOnMyViewsMessage": {
|
|
109
117
|
developer_comment: "Select Export setttings based on my views",
|
|
110
118
|
string: "Sélectionnez les paramètres d'exportation sur la base de :"
|
|
@@ -377,6 +385,10 @@ var frFR = {
|
|
|
377
385
|
developer_comment: "Label for query predicate option",
|
|
378
386
|
string: "Prédicat de requête"
|
|
379
387
|
},
|
|
388
|
+
"ExportResourcesModal.readMoreOnDocumentation": {
|
|
389
|
+
developer_comment: "Read more on documentation",
|
|
390
|
+
string: "Read more on the {documentationLink}"
|
|
391
|
+
},
|
|
380
392
|
"ExportResourcesModal.saveAs": {
|
|
381
393
|
developer_comment: "Label for \"Save as:\"",
|
|
382
394
|
string: "Save as:"
|
|
@@ -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
|
});
|
|
@@ -3358,11 +3391,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
|
|
|
3358
3391
|
return /*#__PURE__*/react.css(process.env.NODE_ENV === "production" ? "" : ";label:getDefaultDropWrapperStyles;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRyb3AtYXJlYS13cmFwcGVyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5QlkiLCJmaWxlIjoiZHJvcC1hcmVhLXdyYXBwZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgdHlwZSBEcm9wem9uZVJvb3RQcm9wcyB9IGZyb20gJ3JlYWN0LWRyb3B6b25lJ1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IHN0eWxlcyB9IGZyb20gJy4vc3R5bGVzJ1xuaW1wb3J0IHsgdHlwZSBEcm9wQXJlYVN0YXRlIH0gZnJvbSAnLi4vLi4vLi4vQHR5cGVzJ1xuXG5pbnRlcmZhY2UgRHJvcFdyYXBwZXJQcm9wcyBleHRlbmRzIERyb3B6b25lUm9vdFByb3BzIHtcbiAgZHJvcEFyZWFTdGF0ZTogRHJvcEFyZWFTdGF0ZVxufVxuZXhwb3J0IGNvbnN0IERyb3BXcmFwcGVyID0gc3R5bGVkLmRpdjxEcm9wV3JhcHBlclByb3BzPmBcbiAgJHtzdHlsZXMuYmFzZX1cbiAgJHsocHJvcHMpID0+IHtcbiAgICBpZiAocHJvcHMuZHJvcEFyZWFTdGF0ZSA9PT0gJ2RlZmF1bHQnKSB7XG4gICAgICByZXR1cm4gc3R5bGVzLnJlYWR5Rm9yRHJvcFxuICAgIH1cbiAgICBpZiAocHJvcHMuZHJvcEFyZWFTdGF0ZSA9PT0gJ2FjdGl2ZS1kcmFnJykge1xuICAgICAgcmV0dXJuIHN0eWxlcy5hY3RpdmVEcmFnXG4gICAgfVxuICAgIGlmIChwcm9wcy5kcm9wQXJlYVN0YXRlID09PSAnZmlsZS1kcm9wcGVkJykge1xuICAgICAgcmV0dXJuIHN0eWxlcy5maWxlRHJvcHBlZFxuICAgIH1cbiAgICByZXR1cm4gZ2V0RGVmYXVsdERyb3BXcmFwcGVyU3R5bGVzKHByb3BzLmRyb3BBcmVhU3RhdGUpXG4gIH19XG5gXG5mdW5jdGlvbiBnZXREZWZhdWx0RHJvcFdyYXBwZXJTdHlsZXMoX2Ryb3BBcmVhU3RhdGU6IG5ldmVyKSB7XG4gIHJldHVybiBjc3NgYFxufVxuIl19 */");
|
|
3359
3392
|
}
|
|
3360
3393
|
|
|
3361
|
-
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-
|
|
3394
|
+
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-b5dd0364.cjs.dev.js' /* webpackChunkName: "active-drag-drop-area" */); }));
|
|
3362
3395
|
|
|
3363
|
-
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-
|
|
3396
|
+
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-ad58c949.cjs.dev.js' /* webpackChunkName: "enabled-drop-area" */); }));
|
|
3364
3397
|
|
|
3365
|
-
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-
|
|
3398
|
+
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-a436dc63.cjs.dev.js' /* webpackChunkName: "filed-dropped-area" */); }));
|
|
3366
3399
|
|
|
3367
3400
|
function getDropArea(_ref) {
|
|
3368
3401
|
let dropAreaState = _ref.dropAreaState,
|
|
@@ -3443,17 +3476,17 @@ const getChunkImport = locale => {
|
|
|
3443
3476
|
const intlLocale = i18n.mapLocaleToIntlLocale(locale);
|
|
3444
3477
|
switch (intlLocale) {
|
|
3445
3478
|
case 'de':
|
|
3446
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
3479
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-d8a18a42.cjs.dev.js'); });
|
|
3447
3480
|
case 'es':
|
|
3448
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
3481
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-9f21ee16.cjs.dev.js'); });
|
|
3449
3482
|
case 'fr-FR':
|
|
3450
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
3483
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-685637af.cjs.dev.js'); });
|
|
3451
3484
|
case 'ja':
|
|
3452
3485
|
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-9bd5f452.cjs.dev.js'); });
|
|
3453
3486
|
case 'pt-BR':
|
|
3454
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-
|
|
3487
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-78ae5352.cjs.dev.js'); });
|
|
3455
3488
|
default:
|
|
3456
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-
|
|
3489
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-826f3da3.cjs.dev.js'); });
|
|
3457
3490
|
}
|
|
3458
3491
|
};
|
|
3459
3492
|
const loadMessages = async locale => {
|