@commercetools-frontend-extensions/export-resources-modal 0.0.0-canary-20250519131423 → 0.0.0-canary-20250616144108
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-3fe4ff0d.cjs.dev.js → active-drag-drop-area-38356347.cjs.dev.js} +1 -1
- package/dist/{active-drag-drop-area-56e8d1c5.esm.js → active-drag-drop-area-a224d65f.esm.js} +1 -1
- package/dist/{active-drag-drop-area-abfd5540.cjs.prod.js → active-drag-drop-area-a30f5f01.cjs.prod.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-458f4116.esm.js → de-324f2829.esm.js} +64 -20
- package/dist/{de-c18aeb38.cjs.dev.js → de-44143469.cjs.dev.js} +64 -20
- package/dist/{de-172c3905.cjs.prod.js → de-850971a3.cjs.prod.js} +64 -20
- package/dist/declarations/src/@types/export-api.d.ts +1 -0
- package/dist/declarations/src/@types/form.d.ts +1 -0
- package/dist/{en-bf084198.esm.js → en-015fa203.esm.js} +64 -20
- package/dist/{en-951cd344.cjs.prod.js → en-6928b534.cjs.dev.js} +64 -20
- package/dist/{en-68174953.cjs.dev.js → en-89430bcb.cjs.prod.js} +64 -20
- package/dist/{enabled-drop-area-ae98c829.esm.js → enabled-drop-area-0c105f16.esm.js} +1 -1
- package/dist/{enabled-drop-area-077bea54.cjs.prod.js → enabled-drop-area-b3499b69.cjs.prod.js} +1 -1
- package/dist/{enabled-drop-area-47ebb93c.cjs.dev.js → enabled-drop-area-f072eebb.cjs.dev.js} +1 -1
- package/dist/{es-a8553ca8.esm.js → es-735dbaf2.esm.js} +64 -20
- package/dist/{es-b0a9fb31.cjs.prod.js → es-e6dd1e27.cjs.dev.js} +64 -20
- package/dist/{es-38a3a3ae.cjs.dev.js → es-e73368be.cjs.prod.js} +64 -20
- package/dist/{file-dropped-area-7c9c0f8e.cjs.dev.js → file-dropped-area-08ab59fd.cjs.dev.js} +1 -1
- package/dist/{file-dropped-area-b589afa7.esm.js → file-dropped-area-43b70a9b.esm.js} +1 -1
- package/dist/{file-dropped-area-a07d3406.cjs.prod.js → file-dropped-area-baefd7b3.cjs.prod.js} +1 -1
- package/dist/{fr-FR-97c22617.cjs.dev.js → fr-FR-0eab30ec.cjs.prod.js} +64 -20
- package/dist/{fr-FR-8146efa8.cjs.prod.js → fr-FR-62affef0.cjs.dev.js} +64 -20
- package/dist/{fr-FR-87237d20.esm.js → fr-FR-96dce16c.esm.js} +64 -20
- package/dist/{index-ece04b60.cjs.prod.js → index-13f6807d.cjs.prod.js} +84 -27
- package/dist/{index-411021b4.cjs.dev.js → index-68a5c7e9.cjs.dev.js} +84 -27
- package/dist/{index-b857c077.esm.js → index-7df7858b.esm.js} +85 -28
- package/dist/{pt-BR-c725734e.cjs.prod.js → pt-BR-13243e64.cjs.dev.js} +64 -20
- package/dist/{pt-BR-cf6abfcc.esm.js → pt-BR-7fd72f5d.esm.js} +64 -20
- package/dist/{pt-BR-c42a98aa.cjs.dev.js → pt-BR-ced88ff5.cjs.prod.js} +64 -20
- package/package.json +31 -31
|
@@ -31,14 +31,50 @@ var frFR = {
|
|
|
31
31
|
developer_comment: "Label for \"Choose file\" button",
|
|
32
32
|
string: "Choisir un fichier"
|
|
33
33
|
},
|
|
34
|
+
"ExportResourcesModal.columnSeparatorComma": {
|
|
35
|
+
developer_comment: "Label for comma column separator option",
|
|
36
|
+
string: "comma (,)"
|
|
37
|
+
},
|
|
38
|
+
"ExportResourcesModal.columnSeparatorPipe": {
|
|
39
|
+
developer_comment: "Label for pipe column separator option",
|
|
40
|
+
string: "pipe (|)"
|
|
41
|
+
},
|
|
42
|
+
"ExportResourcesModal.columnSeparatorSemicolon": {
|
|
43
|
+
developer_comment: "Label for semicolon column separator option",
|
|
44
|
+
string: "semicolon (;)"
|
|
45
|
+
},
|
|
46
|
+
"ExportResourcesModal.columnSeparatorTab": {
|
|
47
|
+
developer_comment: "Label for tab column separator option",
|
|
48
|
+
string: "tab (\\t)"
|
|
49
|
+
},
|
|
50
|
+
"ExportResourcesModal.columns": {
|
|
51
|
+
developer_comment: "Label for column separator select",
|
|
52
|
+
string: "Columns:"
|
|
53
|
+
},
|
|
34
54
|
"ExportResourcesModal.confirmSelection": {
|
|
35
55
|
developer_comment: "Label for \"Confirm selection\" button",
|
|
36
56
|
string: "Confirmer la sélection"
|
|
37
57
|
},
|
|
58
|
+
"ExportResourcesModal.csvSettings": {
|
|
59
|
+
developer_comment: "Label for CSV settings section",
|
|
60
|
+
string: "CSV settings:"
|
|
61
|
+
},
|
|
38
62
|
"ExportResourcesModal.csvUploadFailed": {
|
|
39
63
|
developer_comment: "CSV upload failed title",
|
|
40
64
|
string: "Échec de l'importation du fichier CSV"
|
|
41
65
|
},
|
|
66
|
+
"ExportResourcesModal.decimal": {
|
|
67
|
+
developer_comment: "Label for decimal separator select",
|
|
68
|
+
string: "Decimals:"
|
|
69
|
+
},
|
|
70
|
+
"ExportResourcesModal.decimalSeparatorComma": {
|
|
71
|
+
developer_comment: "Label for comma decimal separator option",
|
|
72
|
+
string: "comma (,)"
|
|
73
|
+
},
|
|
74
|
+
"ExportResourcesModal.decimalSeparatorPoint": {
|
|
75
|
+
developer_comment: "Label for point decimal separator option",
|
|
76
|
+
string: "point (.)"
|
|
77
|
+
},
|
|
42
78
|
"ExportResourcesModal.defineFieldsToIncludeInExport": {
|
|
43
79
|
developer_comment: "A message to define the fields to include in export",
|
|
44
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é."
|
|
@@ -47,6 +83,10 @@ var frFR = {
|
|
|
47
83
|
developer_comment: "Label for details column",
|
|
48
84
|
string: "Détails"
|
|
49
85
|
},
|
|
86
|
+
"ExportResourcesModal.documentation": {
|
|
87
|
+
developer_comment: "A label for Documentation link",
|
|
88
|
+
string: "Documentation"
|
|
89
|
+
},
|
|
50
90
|
"ExportResourcesModal.dragAndDropCSV": {
|
|
51
91
|
developer_comment: "Label for \"Drag and drop CSV\" text",
|
|
52
92
|
string: "Faites glisser-déposer un fichier CSV"
|
|
@@ -83,10 +123,6 @@ var frFR = {
|
|
|
83
123
|
developer_comment: "Success message",
|
|
84
124
|
string: "<b>Votre exportation a démarré.</b><newline></newline> <logsLink>Allez dans Journaux d'importation</logsLink> pour voir la progression et télécharger le fichier."
|
|
85
125
|
},
|
|
86
|
-
"ExportResourcesModal.exportPreferences": {
|
|
87
|
-
developer_comment: "Label for preferences",
|
|
88
|
-
string: "Préférences"
|
|
89
|
-
},
|
|
90
126
|
"ExportResourcesModal.exportPreview": {
|
|
91
127
|
developer_comment: "Label for export preview step",
|
|
92
128
|
string: "Aperçu d'exportation"
|
|
@@ -95,10 +131,6 @@ var frFR = {
|
|
|
95
131
|
developer_comment: "The export process may take a while",
|
|
96
132
|
string: "Le processus d'exportation peut prendre un certain temps. Pour visualiser la progression et télécharger le fichier après avoir lancé l'exportation, allez dans la zone <exportLogsLink>Journaux d'exportation</exportLogsLink>, située dans le menu <operationsIcon></operationsIcon>Opérations."
|
|
97
133
|
},
|
|
98
|
-
"ExportResourcesModal.exportScope": {
|
|
99
|
-
developer_comment: "Label for Export Scope",
|
|
100
|
-
string: "Étendue"
|
|
101
|
-
},
|
|
102
134
|
"ExportResourcesModal.exportScopeAllCategories": {
|
|
103
135
|
developer_comment: "Label for Export All categories",
|
|
104
136
|
string: "Tout exporter : {total, plural, one {# catégorie} other {# catégories}}"
|
|
@@ -179,10 +211,6 @@ var frFR = {
|
|
|
179
211
|
developer_comment: "Label for Export Selected without count",
|
|
180
212
|
string: "Sélection d'exportation"
|
|
181
213
|
},
|
|
182
|
-
"ExportResourcesModal.exportSettings": {
|
|
183
|
-
developer_comment: "Label for Export Settings",
|
|
184
|
-
string: "Paramètres"
|
|
185
|
-
},
|
|
186
214
|
"ExportResourcesModal.fieldDefinitionNotFound": {
|
|
187
215
|
developer_comment: "Field definition not found error",
|
|
188
216
|
string: "Définition de champ introuvable"
|
|
@@ -201,19 +229,15 @@ var frFR = {
|
|
|
201
229
|
},
|
|
202
230
|
"ExportResourcesModal.fieldsToBeExportedInLanguages": {
|
|
203
231
|
developer_comment: "Label for fields to be exported in languages",
|
|
204
|
-
string: "{fieldCount, plural, one {<b>
|
|
232
|
+
string: "{fieldCount, plural, one {<b>1</b> field to be exported in {languageCount, plural, one {<b>1</b> language} other {<b>{languageCount}</b> languages}}} other {<b>{fieldCount}</b> fields to be exported in {languageCount, plural, one {<b>1</b> language} other {<b>{languageCount}</b> languages}}}}:"
|
|
205
233
|
},
|
|
206
234
|
"ExportResourcesModal.fileName": {
|
|
207
235
|
developer_comment: "exported file name",
|
|
208
236
|
string: "Nom du fichier"
|
|
209
237
|
},
|
|
210
|
-
"ExportResourcesModal.
|
|
211
|
-
developer_comment: "A checkbox label for filling rows
|
|
212
|
-
string: "
|
|
213
|
-
},
|
|
214
|
-
"ExportResourcesModal.fillRowsForProductExport": {
|
|
215
|
-
developer_comment: "A checkbox label for filling rows for product export",
|
|
216
|
-
string: "Inclure les informations au niveau du produit et de la variante dans chaque ligne"
|
|
238
|
+
"ExportResourcesModal.fillRows": {
|
|
239
|
+
developer_comment: "A checkbox label for filling rows with complete data",
|
|
240
|
+
string: "Fill all rows with complete data"
|
|
217
241
|
},
|
|
218
242
|
"ExportResourcesModal.includeAllLocales": {
|
|
219
243
|
developer_comment: "label for \"Include all locales\" checkbox",
|
|
@@ -303,6 +327,10 @@ var frFR = {
|
|
|
303
327
|
developer_comment: "Label for the product types modal title",
|
|
304
328
|
string: "Types de produit à exporter"
|
|
305
329
|
},
|
|
330
|
+
"ExportResourcesModal.moreInformation": {
|
|
331
|
+
developer_comment: "A label for more information",
|
|
332
|
+
string: "For more information, refer to the {documentationLink}"
|
|
333
|
+
},
|
|
306
334
|
"ExportResourcesModal.myViews": {
|
|
307
335
|
developer_comment: "Label for \"My Views\" Select Field",
|
|
308
336
|
string: "Mes affichages"
|
|
@@ -347,6 +375,14 @@ var frFR = {
|
|
|
347
375
|
developer_comment: "Label for query predicate option",
|
|
348
376
|
string: "Prédicat de requête"
|
|
349
377
|
},
|
|
378
|
+
"ExportResourcesModal.saveAs": {
|
|
379
|
+
developer_comment: "Label for \"Save as:\"",
|
|
380
|
+
string: "Save as:"
|
|
381
|
+
},
|
|
382
|
+
"ExportResourcesModal.scope": {
|
|
383
|
+
developer_comment: "Label for \"Scope:\"",
|
|
384
|
+
string: "Scope:"
|
|
385
|
+
},
|
|
350
386
|
"ExportResourcesModal.searchByEnteringTheExactFieldName": {
|
|
351
387
|
developer_comment: "In Export fields selection - Search by entering the exact field name message",
|
|
352
388
|
string: "Essayez de lancer une recherche en saisissant le nom exact du fichier."
|
|
@@ -378,6 +414,14 @@ var frFR = {
|
|
|
378
414
|
developer_comment: "Label for total Selected",
|
|
379
415
|
string: "{total} sélectionné(s)"
|
|
380
416
|
},
|
|
417
|
+
"ExportResourcesModal.separators": {
|
|
418
|
+
developer_comment: "Label for separators",
|
|
419
|
+
string: "Separators"
|
|
420
|
+
},
|
|
421
|
+
"ExportResourcesModal.separatorsDescription": {
|
|
422
|
+
developer_comment: "Description for column separators",
|
|
423
|
+
string: "Configure how columns are separated in the exported file"
|
|
424
|
+
},
|
|
381
425
|
"ExportResourcesModal.showAll": {
|
|
382
426
|
developer_comment: "Label for \"Show all\" button",
|
|
383
427
|
string: "Tout afficher"
|
|
@@ -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
|
|
|
@@ -1577,6 +1592,7 @@ const useInitialValues = props => {
|
|
|
1577
1592
|
groups: updateFieldGroupWithAdditionalFieldExtensions(groups),
|
|
1578
1593
|
queryPredicate: '',
|
|
1579
1594
|
fillRows: false,
|
|
1595
|
+
excelCompatible: false,
|
|
1580
1596
|
outputFormat: props.outputFormat,
|
|
1581
1597
|
columnSeparator: DELIMITERS$1.COMMA,
|
|
1582
1598
|
decimalSeparator: DELIMITERS$1.POINT,
|
|
@@ -1663,6 +1679,7 @@ const useStartExportOperation = props => {
|
|
|
1663
1679
|
fileFormat: values.outputFormat,
|
|
1664
1680
|
locales,
|
|
1665
1681
|
fillRows: isCsv && values.fillRows,
|
|
1682
|
+
excelCompatible: isCsv && values.excelCompatible,
|
|
1666
1683
|
separator: isCsv ? {
|
|
1667
1684
|
columns: values.columnSeparator,
|
|
1668
1685
|
decimal: values.decimalSeparator
|
|
@@ -1907,7 +1924,7 @@ const ExportPreferenceSection = () => {
|
|
|
1907
1924
|
label: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, option.label))
|
|
1908
1925
|
}));
|
|
1909
1926
|
return jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1910
|
-
scale: "
|
|
1927
|
+
scale: "xl",
|
|
1911
1928
|
children: [jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1912
1929
|
scale: "s",
|
|
1913
1930
|
children: [jsxRuntime.jsxs("div", {
|
|
@@ -1952,26 +1969,66 @@ const ExportPreferenceSection = () => {
|
|
|
1952
1969
|
})]
|
|
1953
1970
|
})]
|
|
1954
1971
|
})]
|
|
1955
|
-
}), jsxRuntime.jsxs(
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1972
|
+
}), jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1973
|
+
scale: "xl",
|
|
1974
|
+
children: [jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1975
|
+
scale: "m",
|
|
1976
|
+
children: [jsxRuntime.jsx(uiKit.CheckboxInput, {
|
|
1977
|
+
isChecked: _valuesInstanceProperty__default["default"](formik).excelCompatible,
|
|
1978
|
+
onChange: e => {
|
|
1979
|
+
formik.setFieldValue('excelCompatible', e.target.checked);
|
|
1980
|
+
},
|
|
1981
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, messages.excelOptimized))
|
|
1982
|
+
}), _valuesInstanceProperty__default["default"](formik).excelCompatible && jsxRuntime.jsx(uiKit.ContentNotification, {
|
|
1983
|
+
type: "info",
|
|
1984
|
+
children: jsxRuntime.jsx(uiKit.Spacings.Inset, {
|
|
1985
|
+
scale: "xs",
|
|
1986
|
+
children: jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1987
|
+
children: [jsxRuntime.jsx("div", {
|
|
1988
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a(_objectSpread$a({}, messages.excelOptimizedDescription), {}, {
|
|
1989
|
+
values: {
|
|
1990
|
+
documentationLink: jsxRuntime.jsx(uiKit.Link, {
|
|
1991
|
+
intlMessage: messages.documentation,
|
|
1992
|
+
isExternal: true,
|
|
1993
|
+
to: CSV_STRUCTURE_DOCUMENTATION_LINK
|
|
1994
|
+
}, "documentation-link")
|
|
1995
|
+
}
|
|
1996
|
+
}))
|
|
1997
|
+
}), jsxRuntime.jsx("div", {
|
|
1998
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a(_objectSpread$a({}, messages.readMoreOnDocumentation), {}, {
|
|
1999
|
+
values: {
|
|
2000
|
+
documentationLink: jsxRuntime.jsx(uiKit.Link, {
|
|
2001
|
+
intlMessage: messages.documentation,
|
|
2002
|
+
isExternal: true,
|
|
2003
|
+
to: CSV_STRUCTURE_DOCUMENTATION_LINK
|
|
2004
|
+
}, "documentation-link")
|
|
2005
|
+
}
|
|
2006
|
+
}))
|
|
2007
|
+
})]
|
|
2008
|
+
})
|
|
1973
2009
|
})
|
|
1974
2010
|
})]
|
|
2011
|
+
}), jsxRuntime.jsxs("div", {
|
|
2012
|
+
children: [jsxRuntime.jsx(uiKit.CheckboxInput, {
|
|
2013
|
+
isChecked: _valuesInstanceProperty__default["default"](formik).fillRows,
|
|
2014
|
+
onChange: e => {
|
|
2015
|
+
formik.setFieldValue('fillRows', e.target.checked);
|
|
2016
|
+
},
|
|
2017
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, messages.fillRows))
|
|
2018
|
+
}), jsxRuntime.jsxs(uiKit.Spacings.Inline, {
|
|
2019
|
+
scale: "xl",
|
|
2020
|
+
children: [jsxRuntime.jsx("div", {}), jsxRuntime.jsx(uiKit.Text.Caption, {
|
|
2021
|
+
intlMessage: _objectSpread$a(_objectSpread$a({}, messages.moreInformation), {}, {
|
|
2022
|
+
values: {
|
|
2023
|
+
documentationLink: jsxRuntime.jsx(uiKit.Link, {
|
|
2024
|
+
intlMessage: messages.documentation,
|
|
2025
|
+
isExternal: true,
|
|
2026
|
+
to: CSV_STRUCTURE_DOCUMENTATION_LINK
|
|
2027
|
+
}, "documentation-link")
|
|
2028
|
+
}
|
|
2029
|
+
})
|
|
2030
|
+
})]
|
|
2031
|
+
})]
|
|
1975
2032
|
})]
|
|
1976
2033
|
})]
|
|
1977
2034
|
});
|
|
@@ -3322,11 +3379,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
|
|
|
3322
3379
|
return /*#__PURE__*/react.css("" , "" );
|
|
3323
3380
|
}
|
|
3324
3381
|
|
|
3325
|
-
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-
|
|
3382
|
+
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-a30f5f01.cjs.prod.js' /* webpackChunkName: "active-drag-drop-area" */); }));
|
|
3326
3383
|
|
|
3327
|
-
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-
|
|
3384
|
+
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-b3499b69.cjs.prod.js' /* webpackChunkName: "enabled-drop-area" */); }));
|
|
3328
3385
|
|
|
3329
|
-
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-
|
|
3386
|
+
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-baefd7b3.cjs.prod.js' /* webpackChunkName: "filed-dropped-area" */); }));
|
|
3330
3387
|
|
|
3331
3388
|
function getDropArea(_ref) {
|
|
3332
3389
|
let dropAreaState = _ref.dropAreaState,
|
|
@@ -3407,17 +3464,17 @@ const getChunkImport = locale => {
|
|
|
3407
3464
|
const intlLocale = i18n.mapLocaleToIntlLocale(locale);
|
|
3408
3465
|
switch (intlLocale) {
|
|
3409
3466
|
case 'de':
|
|
3410
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
3467
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-850971a3.cjs.prod.js'); });
|
|
3411
3468
|
case 'es':
|
|
3412
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
3469
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-e73368be.cjs.prod.js'); });
|
|
3413
3470
|
case 'fr-FR':
|
|
3414
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
3471
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-0eab30ec.cjs.prod.js'); });
|
|
3415
3472
|
case 'ja':
|
|
3416
3473
|
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-37632763.cjs.prod.js'); });
|
|
3417
3474
|
case 'pt-BR':
|
|
3418
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-
|
|
3475
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-ced88ff5.cjs.prod.js'); });
|
|
3419
3476
|
default:
|
|
3420
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-
|
|
3477
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-89430bcb.cjs.prod.js'); });
|
|
3421
3478
|
}
|
|
3422
3479
|
};
|
|
3423
3480
|
const loadMessages = async locale => {
|
|
@@ -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
|
|
|
@@ -1577,6 +1592,7 @@ const useInitialValues = props => {
|
|
|
1577
1592
|
groups: updateFieldGroupWithAdditionalFieldExtensions(groups),
|
|
1578
1593
|
queryPredicate: '',
|
|
1579
1594
|
fillRows: false,
|
|
1595
|
+
excelCompatible: false,
|
|
1580
1596
|
outputFormat: props.outputFormat,
|
|
1581
1597
|
columnSeparator: DELIMITERS$1.COMMA,
|
|
1582
1598
|
decimalSeparator: DELIMITERS$1.POINT,
|
|
@@ -1663,6 +1679,7 @@ const useStartExportOperation = props => {
|
|
|
1663
1679
|
fileFormat: values.outputFormat,
|
|
1664
1680
|
locales,
|
|
1665
1681
|
fillRows: isCsv && values.fillRows,
|
|
1682
|
+
excelCompatible: isCsv && values.excelCompatible,
|
|
1666
1683
|
separator: isCsv ? {
|
|
1667
1684
|
columns: values.columnSeparator,
|
|
1668
1685
|
decimal: values.decimalSeparator
|
|
@@ -1907,7 +1924,7 @@ const ExportPreferenceSection = () => {
|
|
|
1907
1924
|
label: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, option.label))
|
|
1908
1925
|
}));
|
|
1909
1926
|
return jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1910
|
-
scale: "
|
|
1927
|
+
scale: "xl",
|
|
1911
1928
|
children: [jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1912
1929
|
scale: "s",
|
|
1913
1930
|
children: [jsxRuntime.jsxs("div", {
|
|
@@ -1952,26 +1969,66 @@ const ExportPreferenceSection = () => {
|
|
|
1952
1969
|
})]
|
|
1953
1970
|
})]
|
|
1954
1971
|
})]
|
|
1955
|
-
}), jsxRuntime.jsxs(
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1972
|
+
}), jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1973
|
+
scale: "xl",
|
|
1974
|
+
children: [jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1975
|
+
scale: "m",
|
|
1976
|
+
children: [jsxRuntime.jsx(uiKit.CheckboxInput, {
|
|
1977
|
+
isChecked: _valuesInstanceProperty__default["default"](formik).excelCompatible,
|
|
1978
|
+
onChange: e => {
|
|
1979
|
+
formik.setFieldValue('excelCompatible', e.target.checked);
|
|
1980
|
+
},
|
|
1981
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, messages.excelOptimized))
|
|
1982
|
+
}), _valuesInstanceProperty__default["default"](formik).excelCompatible && jsxRuntime.jsx(uiKit.ContentNotification, {
|
|
1983
|
+
type: "info",
|
|
1984
|
+
children: jsxRuntime.jsx(uiKit.Spacings.Inset, {
|
|
1985
|
+
scale: "xs",
|
|
1986
|
+
children: jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1987
|
+
children: [jsxRuntime.jsx("div", {
|
|
1988
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a(_objectSpread$a({}, messages.excelOptimizedDescription), {}, {
|
|
1989
|
+
values: {
|
|
1990
|
+
documentationLink: jsxRuntime.jsx(uiKit.Link, {
|
|
1991
|
+
intlMessage: messages.documentation,
|
|
1992
|
+
isExternal: true,
|
|
1993
|
+
to: CSV_STRUCTURE_DOCUMENTATION_LINK
|
|
1994
|
+
}, "documentation-link")
|
|
1995
|
+
}
|
|
1996
|
+
}))
|
|
1997
|
+
}), jsxRuntime.jsx("div", {
|
|
1998
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a(_objectSpread$a({}, messages.readMoreOnDocumentation), {}, {
|
|
1999
|
+
values: {
|
|
2000
|
+
documentationLink: jsxRuntime.jsx(uiKit.Link, {
|
|
2001
|
+
intlMessage: messages.documentation,
|
|
2002
|
+
isExternal: true,
|
|
2003
|
+
to: CSV_STRUCTURE_DOCUMENTATION_LINK
|
|
2004
|
+
}, "documentation-link")
|
|
2005
|
+
}
|
|
2006
|
+
}))
|
|
2007
|
+
})]
|
|
2008
|
+
})
|
|
1973
2009
|
})
|
|
1974
2010
|
})]
|
|
2011
|
+
}), jsxRuntime.jsxs("div", {
|
|
2012
|
+
children: [jsxRuntime.jsx(uiKit.CheckboxInput, {
|
|
2013
|
+
isChecked: _valuesInstanceProperty__default["default"](formik).fillRows,
|
|
2014
|
+
onChange: e => {
|
|
2015
|
+
formik.setFieldValue('fillRows', e.target.checked);
|
|
2016
|
+
},
|
|
2017
|
+
children: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, messages.fillRows))
|
|
2018
|
+
}), jsxRuntime.jsxs(uiKit.Spacings.Inline, {
|
|
2019
|
+
scale: "xl",
|
|
2020
|
+
children: [jsxRuntime.jsx("div", {}), jsxRuntime.jsx(uiKit.Text.Caption, {
|
|
2021
|
+
intlMessage: _objectSpread$a(_objectSpread$a({}, messages.moreInformation), {}, {
|
|
2022
|
+
values: {
|
|
2023
|
+
documentationLink: jsxRuntime.jsx(uiKit.Link, {
|
|
2024
|
+
intlMessage: messages.documentation,
|
|
2025
|
+
isExternal: true,
|
|
2026
|
+
to: CSV_STRUCTURE_DOCUMENTATION_LINK
|
|
2027
|
+
}, "documentation-link")
|
|
2028
|
+
}
|
|
2029
|
+
})
|
|
2030
|
+
})]
|
|
2031
|
+
})]
|
|
1975
2032
|
})]
|
|
1976
2033
|
})]
|
|
1977
2034
|
});
|
|
@@ -3358,11 +3415,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
|
|
|
3358
3415
|
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
3416
|
}
|
|
3360
3417
|
|
|
3361
|
-
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-
|
|
3418
|
+
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-38356347.cjs.dev.js' /* webpackChunkName: "active-drag-drop-area" */); }));
|
|
3362
3419
|
|
|
3363
|
-
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-
|
|
3420
|
+
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-f072eebb.cjs.dev.js' /* webpackChunkName: "enabled-drop-area" */); }));
|
|
3364
3421
|
|
|
3365
|
-
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-
|
|
3422
|
+
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-08ab59fd.cjs.dev.js' /* webpackChunkName: "filed-dropped-area" */); }));
|
|
3366
3423
|
|
|
3367
3424
|
function getDropArea(_ref) {
|
|
3368
3425
|
let dropAreaState = _ref.dropAreaState,
|
|
@@ -3443,17 +3500,17 @@ const getChunkImport = locale => {
|
|
|
3443
3500
|
const intlLocale = i18n.mapLocaleToIntlLocale(locale);
|
|
3444
3501
|
switch (intlLocale) {
|
|
3445
3502
|
case 'de':
|
|
3446
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
3503
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-44143469.cjs.dev.js'); });
|
|
3447
3504
|
case 'es':
|
|
3448
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
3505
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-e6dd1e27.cjs.dev.js'); });
|
|
3449
3506
|
case 'fr-FR':
|
|
3450
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
3507
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-62affef0.cjs.dev.js'); });
|
|
3451
3508
|
case 'ja':
|
|
3452
3509
|
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-9bd5f452.cjs.dev.js'); });
|
|
3453
3510
|
case 'pt-BR':
|
|
3454
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-
|
|
3511
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-13243e64.cjs.dev.js'); });
|
|
3455
3512
|
default:
|
|
3456
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-
|
|
3513
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-6928b534.cjs.dev.js'); });
|
|
3457
3514
|
}
|
|
3458
3515
|
};
|
|
3459
3516
|
const loadMessages = async locale => {
|