@commercetools-frontend-extensions/export-resources-modal 5.4.3 → 5.5.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-b62033dd.cjs.prod.js → active-drag-drop-area-0d154204.cjs.prod.js} +1 -1
- package/dist/{active-drag-drop-area-0abf60e4.esm.js → active-drag-drop-area-b6592b0d.esm.js} +1 -1
- package/dist/{active-drag-drop-area-3dee8368.cjs.dev.js → active-drag-drop-area-ccc7a448.cjs.dev.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-b122bf35.cjs.dev.js → de-7e699d7c.cjs.prod.js} +16 -0
- package/dist/{de-e1ca5047.esm.js → de-85bf30aa.esm.js} +16 -0
- package/dist/{de-36ebd068.cjs.prod.js → de-bbff7d3b.cjs.dev.js} +16 -0
- package/dist/declarations/src/@constants/exportable-resources.d.ts +1 -0
- package/dist/{en-fa1adbcf.cjs.prod.js → en-3ba47652.cjs.dev.js} +17 -1
- package/dist/{en-fde71e63.esm.js → en-3baf73d6.esm.js} +17 -1
- package/dist/{en-826f3da3.cjs.dev.js → en-97ed5c40.cjs.prod.js} +17 -1
- package/dist/{enabled-drop-area-efb79aed.cjs.prod.js → enabled-drop-area-055e9973.cjs.prod.js} +1 -1
- package/dist/{enabled-drop-area-3dbc475b.cjs.dev.js → enabled-drop-area-c28a5b31.cjs.dev.js} +1 -1
- package/dist/{enabled-drop-area-998bd71d.esm.js → enabled-drop-area-ced31dcf.esm.js} +1 -1
- package/dist/{es-e2a2c0d3.esm.js → es-57cbb6d5.esm.js} +16 -0
- package/dist/{es-a0812a71.cjs.prod.js → es-d62aecdf.cjs.dev.js} +16 -0
- package/dist/{es-d42411f4.cjs.dev.js → es-eb9ec0cd.cjs.prod.js} +16 -0
- package/dist/{file-dropped-area-a2da1af8.cjs.dev.js → file-dropped-area-0ee35f56.cjs.dev.js} +1 -1
- package/dist/{file-dropped-area-e3fd2d32.cjs.prod.js → file-dropped-area-64d2962e.cjs.prod.js} +1 -1
- package/dist/{file-dropped-area-802153c5.esm.js → file-dropped-area-b6f7e42e.esm.js} +1 -1
- package/dist/{fr-FR-d8091f95.cjs.prod.js → fr-FR-32fcaaae.cjs.dev.js} +16 -0
- package/dist/{fr-FR-1c0b452f.cjs.dev.js → fr-FR-4e8b2299.cjs.prod.js} +16 -0
- package/dist/{fr-FR-b1a5c6ae.esm.js → fr-FR-739cecbc.esm.js} +16 -0
- package/dist/{index-8aec940b.esm.js → index-179761b7.esm.js} +55 -23
- package/dist/{index-9c41f1e3.cjs.prod.js → index-7218d7e6.cjs.prod.js} +55 -23
- package/dist/{index-c76cc62e.cjs.dev.js → index-74301131.cjs.dev.js} +55 -23
- package/dist/{pt-BR-9c546b10.esm.js → pt-BR-1d7493c7.esm.js} +16 -0
- package/dist/{pt-BR-ca1ee454.cjs.dev.js → pt-BR-7dd1ad89.cjs.dev.js} +16 -0
- package/dist/{pt-BR-5dc7b085.cjs.prod.js → pt-BR-fb2548c1.cjs.prod.js} +16 -0
- package/package.json +16 -16
|
@@ -139,6 +139,10 @@ var frFR = {
|
|
|
139
139
|
developer_comment: "The export process may take a while",
|
|
140
140
|
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."
|
|
141
141
|
},
|
|
142
|
+
"ExportResourcesModal.exportScopeAllBusinessUnits": {
|
|
143
|
+
developer_comment: "Label for Export All business units",
|
|
144
|
+
string: "Tout exporter : {total, plural, one {# business unit} other {# business units}}"
|
|
145
|
+
},
|
|
142
146
|
"ExportResourcesModal.exportScopeAllCategories": {
|
|
143
147
|
developer_comment: "Label for Export All categories",
|
|
144
148
|
string: "Tout exporter : {total, plural, one {# catégorie} other {# catégories}}"
|
|
@@ -163,6 +167,10 @@ var frFR = {
|
|
|
163
167
|
developer_comment: "Label for Export All products",
|
|
164
168
|
string: "Tout exporter : {total, plural, one {# produit} other {# produits}}"
|
|
165
169
|
},
|
|
170
|
+
"ExportResourcesModal.exportScopeFilteredBusinessUnits": {
|
|
171
|
+
developer_comment: "Label for Export Filtered business units",
|
|
172
|
+
string: "Exporter les données filtrées : {total, plural, one {# business unit} other {# business units}}"
|
|
173
|
+
},
|
|
166
174
|
"ExportResourcesModal.exportScopeFilteredCategories": {
|
|
167
175
|
developer_comment: "Label for Export Filtered categories",
|
|
168
176
|
string: "Exporter les données filtrées : {total, plural, one {# catégorie} other {# catégories}}"
|
|
@@ -191,6 +199,10 @@ var frFR = {
|
|
|
191
199
|
developer_comment: "Label for Export Filtered without count",
|
|
192
200
|
string: "Filtre d'exportation"
|
|
193
201
|
},
|
|
202
|
+
"ExportResourcesModal.exportScopeSelectedBusinessUnits": {
|
|
203
|
+
developer_comment: "Label for Export Selected business units",
|
|
204
|
+
string: "Exporter les données sélectionnées : {total, plural, one {# business unit} other {# business units}}"
|
|
205
|
+
},
|
|
194
206
|
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
195
207
|
developer_comment: "Label for Export Selected categories",
|
|
196
208
|
string: "Exporter les données sélectionnées : {total, plural, one {# catégorie} other {# catégories}}"
|
|
@@ -307,6 +319,10 @@ var frFR = {
|
|
|
307
319
|
developer_comment: "Error when query predicate field is missing",
|
|
308
320
|
string: "Veuillez entrer un prédicat de requête"
|
|
309
321
|
},
|
|
322
|
+
"ExportResourcesModal.modalTitle.businessUnit": {
|
|
323
|
+
developer_comment: "Label for the business units modal title",
|
|
324
|
+
string: "Exporter les unités commerciales"
|
|
325
|
+
},
|
|
310
326
|
"ExportResourcesModal.modalTitle.category": {
|
|
311
327
|
developer_comment: "Label for the categories modal title",
|
|
312
328
|
string: "Catégories d'exportation"
|
|
@@ -108,6 +108,11 @@ var messages = defineMessages({
|
|
|
108
108
|
description: 'Label for the product types modal title',
|
|
109
109
|
defaultMessage: 'Export product types'
|
|
110
110
|
},
|
|
111
|
+
'modalTitle.business-unit': {
|
|
112
|
+
id: 'ExportResourcesModal.modalTitle.businessUnit',
|
|
113
|
+
description: 'Label for the business units modal title',
|
|
114
|
+
defaultMessage: 'Export business units'
|
|
115
|
+
},
|
|
111
116
|
outputFormat: {
|
|
112
117
|
id: 'ExportResourcesModal.outputFormat',
|
|
113
118
|
description: 'File format like (csv, xls, ...etc)',
|
|
@@ -317,6 +322,21 @@ var messages = defineMessages({
|
|
|
317
322
|
description: 'Label for Export Filtered discount codes',
|
|
318
323
|
defaultMessage: 'Export filtered: {total, plural, one {# discount code} other {# discount codes}}'
|
|
319
324
|
},
|
|
325
|
+
exportScopeAllBusinessUnits: {
|
|
326
|
+
id: 'ExportResourcesModal.exportScopeAllBusinessUnits',
|
|
327
|
+
description: 'Label for Export All business units',
|
|
328
|
+
defaultMessage: 'Export all: {total, plural, one {# business unit} other {# business units}}'
|
|
329
|
+
},
|
|
330
|
+
exportScopeSelectedBusinessUnits: {
|
|
331
|
+
id: 'ExportResourcesModal.exportScopeSelectedBusinessUnits',
|
|
332
|
+
description: 'Label for Export Selected business units',
|
|
333
|
+
defaultMessage: 'Export selected: {total, plural, one {# business unit} other {# business units}}'
|
|
334
|
+
},
|
|
335
|
+
exportScopeFilteredBusinessUnits: {
|
|
336
|
+
id: 'ExportResourcesModal.exportScopeFilteredBusinessUnits',
|
|
337
|
+
description: 'Label for Export Filtered business units',
|
|
338
|
+
defaultMessage: 'Export filtered: {total, plural, one {# business unit} other {# business units}}'
|
|
339
|
+
},
|
|
320
340
|
exportScopeAllOrders: {
|
|
321
341
|
id: 'ExportResourcesModal.exportScopeAllOrders',
|
|
322
342
|
description: 'Label for Export All orders',
|
|
@@ -357,6 +377,11 @@ var messages = defineMessages({
|
|
|
357
377
|
description: 'Label for Export Filtered without count',
|
|
358
378
|
defaultMessage: 'Export filtered'
|
|
359
379
|
},
|
|
380
|
+
exportAllWithoutCount: {
|
|
381
|
+
id: 'ExportResourcesModal.exportAllWithoutCount',
|
|
382
|
+
description: 'Label for Export All without count',
|
|
383
|
+
defaultMessage: 'Export all'
|
|
384
|
+
},
|
|
360
385
|
saveAs: {
|
|
361
386
|
id: 'ExportResourcesModal.saveAs',
|
|
362
387
|
description: 'Label for "Save as:"',
|
|
@@ -761,7 +786,8 @@ const EXPORTABLE_RESOURCES = {
|
|
|
761
786
|
DISCOUNT_CODE: 'discount-code',
|
|
762
787
|
INVENTORY_ENTRY: 'inventory-entry',
|
|
763
788
|
ORDER: 'order',
|
|
764
|
-
CUSTOMER: 'customer'
|
|
789
|
+
CUSTOMER: 'customer',
|
|
790
|
+
BUSINESS_UNIT: 'business-unit'
|
|
765
791
|
};
|
|
766
792
|
|
|
767
793
|
const OUTPUT_FORMATS = {
|
|
@@ -803,9 +829,9 @@ const resourceTypeMessages = {
|
|
|
803
829
|
exportScopeFiltered: messages.exportInventoriesForFilteredProducts
|
|
804
830
|
},
|
|
805
831
|
[EXPORTABLE_RESOURCES.DISCOUNT_CODE]: {
|
|
806
|
-
exportScopeAll: messages.
|
|
807
|
-
exportScopeSelected: messages.
|
|
808
|
-
exportScopeFiltered: messages.
|
|
832
|
+
exportScopeAll: messages.exportAllWithoutCount,
|
|
833
|
+
exportScopeSelected: messages.exportScopeSelectedWithoutCount,
|
|
834
|
+
exportScopeFiltered: messages.exportScopeFilteredWithoutCount
|
|
809
835
|
},
|
|
810
836
|
[EXPORTABLE_RESOURCES.ORDER]: {
|
|
811
837
|
exportScopeAll: messages.exportScopeAllOrders,
|
|
@@ -816,6 +842,11 @@ const resourceTypeMessages = {
|
|
|
816
842
|
exportScopeAll: messages.exportScopeAllCustomers,
|
|
817
843
|
exportScopeSelected: messages.exportScopeSelectedCustomers,
|
|
818
844
|
exportScopeFiltered: messages.exportScopeFilteredCustomers
|
|
845
|
+
},
|
|
846
|
+
[EXPORTABLE_RESOURCES.BUSINESS_UNIT]: {
|
|
847
|
+
exportScopeAll: messages.exportScopeAllBusinessUnits,
|
|
848
|
+
exportScopeSelected: messages.exportScopeSelectedBusinessUnits,
|
|
849
|
+
exportScopeFiltered: messages.exportScopeFilteredBusinessUnits
|
|
819
850
|
}
|
|
820
851
|
};
|
|
821
852
|
|
|
@@ -985,7 +1016,8 @@ function resourceTypeToFileName(resourceType, locale) {
|
|
|
985
1016
|
[EXPORTABLE_RESOURCES.DISCOUNT_CODE]: 'Discount_Codes',
|
|
986
1017
|
[EXPORTABLE_RESOURCES.INVENTORY_ENTRY]: 'Inventories',
|
|
987
1018
|
[EXPORTABLE_RESOURCES.CUSTOMER]: 'Customers',
|
|
988
|
-
[EXPORTABLE_RESOURCES.ORDER]: 'Orders'
|
|
1019
|
+
[EXPORTABLE_RESOURCES.ORDER]: 'Orders',
|
|
1020
|
+
[EXPORTABLE_RESOURCES.BUSINESS_UNIT]: 'Business_Units'
|
|
989
1021
|
};
|
|
990
1022
|
const displayName = resourceTypeMap[resourceType];
|
|
991
1023
|
if (!displayName) {
|
|
@@ -1885,7 +1917,7 @@ const ExportPreferenceSection = () => {
|
|
|
1885
1917
|
label: jsx(FormattedMessage, _objectSpread$a({}, option.label))
|
|
1886
1918
|
}));
|
|
1887
1919
|
return jsxs(Spacings.Stack, {
|
|
1888
|
-
scale: "
|
|
1920
|
+
scale: "l",
|
|
1889
1921
|
children: [jsxs(Spacings.Stack, {
|
|
1890
1922
|
scale: "s",
|
|
1891
1923
|
children: [jsxs("div", {
|
|
@@ -1919,7 +1951,7 @@ const ExportPreferenceSection = () => {
|
|
|
1919
1951
|
})]
|
|
1920
1952
|
})]
|
|
1921
1953
|
}), jsxs(Spacings.Stack, {
|
|
1922
|
-
scale: "
|
|
1954
|
+
scale: "m",
|
|
1923
1955
|
children: [jsxs(Spacings.Stack, {
|
|
1924
1956
|
scale: "m",
|
|
1925
1957
|
children: [jsx(CheckboxInput, {
|
|
@@ -2098,7 +2130,7 @@ const ExportFileSettingsStep = () => {
|
|
|
2098
2130
|
})
|
|
2099
2131
|
}), jsx(Grid.Item, {
|
|
2100
2132
|
children: jsxs(Spacings.Stack, {
|
|
2101
|
-
scale: "
|
|
2133
|
+
scale: "m",
|
|
2102
2134
|
children: [jsx(Masking.Mask, {
|
|
2103
2135
|
children: jsx(TextField, {
|
|
2104
2136
|
name: "fileName",
|
|
@@ -2908,13 +2940,13 @@ const ExportResourcesProvider = _ref => {
|
|
|
2908
2940
|
fieldSelectionMode = _React$useState8[0],
|
|
2909
2941
|
setFieldSelectionMode = _React$useState8[1];
|
|
2910
2942
|
const _React$useState9 = React.useState([]),
|
|
2911
|
-
_React$
|
|
2912
|
-
importedHeaders = _React$
|
|
2913
|
-
setImportedHeaders = _React$
|
|
2914
|
-
const _React$
|
|
2915
|
-
_React$
|
|
2916
|
-
validationErrors = _React$
|
|
2917
|
-
setValidationErrors = _React$
|
|
2943
|
+
_React$useState0 = _slicedToArray(_React$useState9, 2),
|
|
2944
|
+
importedHeaders = _React$useState0[0],
|
|
2945
|
+
setImportedHeaders = _React$useState0[1];
|
|
2946
|
+
const _React$useState1 = React.useState([]),
|
|
2947
|
+
_React$useState10 = _slicedToArray(_React$useState1, 2),
|
|
2948
|
+
validationErrors = _React$useState10[0],
|
|
2949
|
+
setValidationErrors = _React$useState10[1];
|
|
2918
2950
|
const _useStartExportOperat = useStartExportOperation(props),
|
|
2919
2951
|
startExportOperation = _useStartExportOperat.startExportOperation;
|
|
2920
2952
|
const _useValidateExportOpe = useValidateExportOperation(),
|
|
@@ -3350,11 +3382,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
|
|
|
3350
3382
|
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 */");
|
|
3351
3383
|
}
|
|
3352
3384
|
|
|
3353
|
-
var ActiveDragDropArea = /*#__PURE__*/lazy(() => import('./active-drag-drop-area-
|
|
3385
|
+
var ActiveDragDropArea = /*#__PURE__*/lazy(() => import('./active-drag-drop-area-b6592b0d.esm.js'));
|
|
3354
3386
|
|
|
3355
|
-
var EnabledDropArea = /*#__PURE__*/lazy(() => import('./enabled-drop-area-
|
|
3387
|
+
var EnabledDropArea = /*#__PURE__*/lazy(() => import('./enabled-drop-area-ced31dcf.esm.js'));
|
|
3356
3388
|
|
|
3357
|
-
var FileDropped = /*#__PURE__*/lazy(() => import('./file-dropped-area-
|
|
3389
|
+
var FileDropped = /*#__PURE__*/lazy(() => import('./file-dropped-area-b6f7e42e.esm.js'));
|
|
3358
3390
|
|
|
3359
3391
|
function getDropArea(_ref) {
|
|
3360
3392
|
let dropAreaState = _ref.dropAreaState,
|
|
@@ -3435,17 +3467,17 @@ const getChunkImport = locale => {
|
|
|
3435
3467
|
const intlLocale = mapLocaleToIntlLocale(locale);
|
|
3436
3468
|
switch (intlLocale) {
|
|
3437
3469
|
case 'de':
|
|
3438
|
-
return import('./de-
|
|
3470
|
+
return import('./de-85bf30aa.esm.js');
|
|
3439
3471
|
case 'es':
|
|
3440
|
-
return import('./es-
|
|
3472
|
+
return import('./es-57cbb6d5.esm.js');
|
|
3441
3473
|
case 'fr-FR':
|
|
3442
|
-
return import('./fr-FR-
|
|
3474
|
+
return import('./fr-FR-739cecbc.esm.js');
|
|
3443
3475
|
case 'ja':
|
|
3444
3476
|
return import('./ja-73c088a7.esm.js');
|
|
3445
3477
|
case 'pt-BR':
|
|
3446
|
-
return import('./pt-BR-
|
|
3478
|
+
return import('./pt-BR-1d7493c7.esm.js');
|
|
3447
3479
|
default:
|
|
3448
|
-
return import('./en-
|
|
3480
|
+
return import('./en-3baf73d6.esm.js');
|
|
3449
3481
|
}
|
|
3450
3482
|
};
|
|
3451
3483
|
const loadMessages = async locale => {
|
|
@@ -149,6 +149,11 @@ var messages = reactIntl.defineMessages({
|
|
|
149
149
|
description: 'Label for the product types modal title',
|
|
150
150
|
defaultMessage: 'Export product types'
|
|
151
151
|
},
|
|
152
|
+
'modalTitle.business-unit': {
|
|
153
|
+
id: 'ExportResourcesModal.modalTitle.businessUnit',
|
|
154
|
+
description: 'Label for the business units modal title',
|
|
155
|
+
defaultMessage: 'Export business units'
|
|
156
|
+
},
|
|
152
157
|
outputFormat: {
|
|
153
158
|
id: 'ExportResourcesModal.outputFormat',
|
|
154
159
|
description: 'File format like (csv, xls, ...etc)',
|
|
@@ -358,6 +363,21 @@ var messages = reactIntl.defineMessages({
|
|
|
358
363
|
description: 'Label for Export Filtered discount codes',
|
|
359
364
|
defaultMessage: 'Export filtered: {total, plural, one {# discount code} other {# discount codes}}'
|
|
360
365
|
},
|
|
366
|
+
exportScopeAllBusinessUnits: {
|
|
367
|
+
id: 'ExportResourcesModal.exportScopeAllBusinessUnits',
|
|
368
|
+
description: 'Label for Export All business units',
|
|
369
|
+
defaultMessage: 'Export all: {total, plural, one {# business unit} other {# business units}}'
|
|
370
|
+
},
|
|
371
|
+
exportScopeSelectedBusinessUnits: {
|
|
372
|
+
id: 'ExportResourcesModal.exportScopeSelectedBusinessUnits',
|
|
373
|
+
description: 'Label for Export Selected business units',
|
|
374
|
+
defaultMessage: 'Export selected: {total, plural, one {# business unit} other {# business units}}'
|
|
375
|
+
},
|
|
376
|
+
exportScopeFilteredBusinessUnits: {
|
|
377
|
+
id: 'ExportResourcesModal.exportScopeFilteredBusinessUnits',
|
|
378
|
+
description: 'Label for Export Filtered business units',
|
|
379
|
+
defaultMessage: 'Export filtered: {total, plural, one {# business unit} other {# business units}}'
|
|
380
|
+
},
|
|
361
381
|
exportScopeAllOrders: {
|
|
362
382
|
id: 'ExportResourcesModal.exportScopeAllOrders',
|
|
363
383
|
description: 'Label for Export All orders',
|
|
@@ -398,6 +418,11 @@ var messages = reactIntl.defineMessages({
|
|
|
398
418
|
description: 'Label for Export Filtered without count',
|
|
399
419
|
defaultMessage: 'Export filtered'
|
|
400
420
|
},
|
|
421
|
+
exportAllWithoutCount: {
|
|
422
|
+
id: 'ExportResourcesModal.exportAllWithoutCount',
|
|
423
|
+
description: 'Label for Export All without count',
|
|
424
|
+
defaultMessage: 'Export all'
|
|
425
|
+
},
|
|
401
426
|
saveAs: {
|
|
402
427
|
id: 'ExportResourcesModal.saveAs',
|
|
403
428
|
description: 'Label for "Save as:"',
|
|
@@ -802,7 +827,8 @@ const EXPORTABLE_RESOURCES = {
|
|
|
802
827
|
DISCOUNT_CODE: 'discount-code',
|
|
803
828
|
INVENTORY_ENTRY: 'inventory-entry',
|
|
804
829
|
ORDER: 'order',
|
|
805
|
-
CUSTOMER: 'customer'
|
|
830
|
+
CUSTOMER: 'customer',
|
|
831
|
+
BUSINESS_UNIT: 'business-unit'
|
|
806
832
|
};
|
|
807
833
|
|
|
808
834
|
const OUTPUT_FORMATS = {
|
|
@@ -844,9 +870,9 @@ const resourceTypeMessages = {
|
|
|
844
870
|
exportScopeFiltered: messages.exportInventoriesForFilteredProducts
|
|
845
871
|
},
|
|
846
872
|
[EXPORTABLE_RESOURCES.DISCOUNT_CODE]: {
|
|
847
|
-
exportScopeAll: messages.
|
|
848
|
-
exportScopeSelected: messages.
|
|
849
|
-
exportScopeFiltered: messages.
|
|
873
|
+
exportScopeAll: messages.exportAllWithoutCount,
|
|
874
|
+
exportScopeSelected: messages.exportScopeSelectedWithoutCount,
|
|
875
|
+
exportScopeFiltered: messages.exportScopeFilteredWithoutCount
|
|
850
876
|
},
|
|
851
877
|
[EXPORTABLE_RESOURCES.ORDER]: {
|
|
852
878
|
exportScopeAll: messages.exportScopeAllOrders,
|
|
@@ -857,6 +883,11 @@ const resourceTypeMessages = {
|
|
|
857
883
|
exportScopeAll: messages.exportScopeAllCustomers,
|
|
858
884
|
exportScopeSelected: messages.exportScopeSelectedCustomers,
|
|
859
885
|
exportScopeFiltered: messages.exportScopeFilteredCustomers
|
|
886
|
+
},
|
|
887
|
+
[EXPORTABLE_RESOURCES.BUSINESS_UNIT]: {
|
|
888
|
+
exportScopeAll: messages.exportScopeAllBusinessUnits,
|
|
889
|
+
exportScopeSelected: messages.exportScopeSelectedBusinessUnits,
|
|
890
|
+
exportScopeFiltered: messages.exportScopeFilteredBusinessUnits
|
|
860
891
|
}
|
|
861
892
|
};
|
|
862
893
|
|
|
@@ -1026,7 +1057,8 @@ function resourceTypeToFileName(resourceType, locale) {
|
|
|
1026
1057
|
[EXPORTABLE_RESOURCES.DISCOUNT_CODE]: 'Discount_Codes',
|
|
1027
1058
|
[EXPORTABLE_RESOURCES.INVENTORY_ENTRY]: 'Inventories',
|
|
1028
1059
|
[EXPORTABLE_RESOURCES.CUSTOMER]: 'Customers',
|
|
1029
|
-
[EXPORTABLE_RESOURCES.ORDER]: 'Orders'
|
|
1060
|
+
[EXPORTABLE_RESOURCES.ORDER]: 'Orders',
|
|
1061
|
+
[EXPORTABLE_RESOURCES.BUSINESS_UNIT]: 'Business_Units'
|
|
1030
1062
|
};
|
|
1031
1063
|
const displayName = resourceTypeMap[resourceType];
|
|
1032
1064
|
if (!displayName) {
|
|
@@ -1926,7 +1958,7 @@ const ExportPreferenceSection = () => {
|
|
|
1926
1958
|
label: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, option.label))
|
|
1927
1959
|
}));
|
|
1928
1960
|
return jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1929
|
-
scale: "
|
|
1961
|
+
scale: "l",
|
|
1930
1962
|
children: [jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1931
1963
|
scale: "s",
|
|
1932
1964
|
children: [jsxRuntime.jsxs("div", {
|
|
@@ -1960,7 +1992,7 @@ const ExportPreferenceSection = () => {
|
|
|
1960
1992
|
})]
|
|
1961
1993
|
})]
|
|
1962
1994
|
}), jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1963
|
-
scale: "
|
|
1995
|
+
scale: "m",
|
|
1964
1996
|
children: [jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1965
1997
|
scale: "m",
|
|
1966
1998
|
children: [jsxRuntime.jsx(uiKit.CheckboxInput, {
|
|
@@ -2139,7 +2171,7 @@ const ExportFileSettingsStep = () => {
|
|
|
2139
2171
|
})
|
|
2140
2172
|
}), jsxRuntime.jsx(uiKit.Grid.Item, {
|
|
2141
2173
|
children: jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
2142
|
-
scale: "
|
|
2174
|
+
scale: "m",
|
|
2143
2175
|
children: [jsxRuntime.jsx(fullstory.Masking.Mask, {
|
|
2144
2176
|
children: jsxRuntime.jsx(uiKit.TextField, {
|
|
2145
2177
|
name: "fileName",
|
|
@@ -2916,13 +2948,13 @@ const ExportResourcesProvider = _ref => {
|
|
|
2916
2948
|
fieldSelectionMode = _React$useState8[0],
|
|
2917
2949
|
setFieldSelectionMode = _React$useState8[1];
|
|
2918
2950
|
const _React$useState9 = React__default["default"].useState([]),
|
|
2919
|
-
_React$
|
|
2920
|
-
importedHeaders = _React$
|
|
2921
|
-
setImportedHeaders = _React$
|
|
2922
|
-
const _React$
|
|
2923
|
-
_React$
|
|
2924
|
-
validationErrors = _React$
|
|
2925
|
-
setValidationErrors = _React$
|
|
2951
|
+
_React$useState0 = _slicedToArray(_React$useState9, 2),
|
|
2952
|
+
importedHeaders = _React$useState0[0],
|
|
2953
|
+
setImportedHeaders = _React$useState0[1];
|
|
2954
|
+
const _React$useState1 = React__default["default"].useState([]),
|
|
2955
|
+
_React$useState10 = _slicedToArray(_React$useState1, 2),
|
|
2956
|
+
validationErrors = _React$useState10[0],
|
|
2957
|
+
setValidationErrors = _React$useState10[1];
|
|
2926
2958
|
const _useStartExportOperat = useStartExportOperation(props),
|
|
2927
2959
|
startExportOperation = _useStartExportOperat.startExportOperation;
|
|
2928
2960
|
const _useValidateExportOpe = useValidateExportOperation(),
|
|
@@ -3355,11 +3387,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
|
|
|
3355
3387
|
return /*#__PURE__*/react.css("" , "" );
|
|
3356
3388
|
}
|
|
3357
3389
|
|
|
3358
|
-
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-
|
|
3390
|
+
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-0d154204.cjs.prod.js'); }));
|
|
3359
3391
|
|
|
3360
|
-
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-
|
|
3392
|
+
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-055e9973.cjs.prod.js'); }));
|
|
3361
3393
|
|
|
3362
|
-
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-
|
|
3394
|
+
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-64d2962e.cjs.prod.js'); }));
|
|
3363
3395
|
|
|
3364
3396
|
function getDropArea(_ref) {
|
|
3365
3397
|
let dropAreaState = _ref.dropAreaState,
|
|
@@ -3440,17 +3472,17 @@ const getChunkImport = locale => {
|
|
|
3440
3472
|
const intlLocale = i18n.mapLocaleToIntlLocale(locale);
|
|
3441
3473
|
switch (intlLocale) {
|
|
3442
3474
|
case 'de':
|
|
3443
|
-
return Promise.resolve().then(function () { return require('./de-
|
|
3475
|
+
return Promise.resolve().then(function () { return require('./de-7e699d7c.cjs.prod.js'); });
|
|
3444
3476
|
case 'es':
|
|
3445
|
-
return Promise.resolve().then(function () { return require('./es-
|
|
3477
|
+
return Promise.resolve().then(function () { return require('./es-eb9ec0cd.cjs.prod.js'); });
|
|
3446
3478
|
case 'fr-FR':
|
|
3447
|
-
return Promise.resolve().then(function () { return require('./fr-FR-
|
|
3479
|
+
return Promise.resolve().then(function () { return require('./fr-FR-4e8b2299.cjs.prod.js'); });
|
|
3448
3480
|
case 'ja':
|
|
3449
3481
|
return Promise.resolve().then(function () { return require('./ja-37632763.cjs.prod.js'); });
|
|
3450
3482
|
case 'pt-BR':
|
|
3451
|
-
return Promise.resolve().then(function () { return require('./pt-BR-
|
|
3483
|
+
return Promise.resolve().then(function () { return require('./pt-BR-fb2548c1.cjs.prod.js'); });
|
|
3452
3484
|
default:
|
|
3453
|
-
return Promise.resolve().then(function () { return require('./en-
|
|
3485
|
+
return Promise.resolve().then(function () { return require('./en-97ed5c40.cjs.prod.js'); });
|
|
3454
3486
|
}
|
|
3455
3487
|
};
|
|
3456
3488
|
const loadMessages = async locale => {
|
|
@@ -149,6 +149,11 @@ var messages = reactIntl.defineMessages({
|
|
|
149
149
|
description: 'Label for the product types modal title',
|
|
150
150
|
defaultMessage: 'Export product types'
|
|
151
151
|
},
|
|
152
|
+
'modalTitle.business-unit': {
|
|
153
|
+
id: 'ExportResourcesModal.modalTitle.businessUnit',
|
|
154
|
+
description: 'Label for the business units modal title',
|
|
155
|
+
defaultMessage: 'Export business units'
|
|
156
|
+
},
|
|
152
157
|
outputFormat: {
|
|
153
158
|
id: 'ExportResourcesModal.outputFormat',
|
|
154
159
|
description: 'File format like (csv, xls, ...etc)',
|
|
@@ -358,6 +363,21 @@ var messages = reactIntl.defineMessages({
|
|
|
358
363
|
description: 'Label for Export Filtered discount codes',
|
|
359
364
|
defaultMessage: 'Export filtered: {total, plural, one {# discount code} other {# discount codes}}'
|
|
360
365
|
},
|
|
366
|
+
exportScopeAllBusinessUnits: {
|
|
367
|
+
id: 'ExportResourcesModal.exportScopeAllBusinessUnits',
|
|
368
|
+
description: 'Label for Export All business units',
|
|
369
|
+
defaultMessage: 'Export all: {total, plural, one {# business unit} other {# business units}}'
|
|
370
|
+
},
|
|
371
|
+
exportScopeSelectedBusinessUnits: {
|
|
372
|
+
id: 'ExportResourcesModal.exportScopeSelectedBusinessUnits',
|
|
373
|
+
description: 'Label for Export Selected business units',
|
|
374
|
+
defaultMessage: 'Export selected: {total, plural, one {# business unit} other {# business units}}'
|
|
375
|
+
},
|
|
376
|
+
exportScopeFilteredBusinessUnits: {
|
|
377
|
+
id: 'ExportResourcesModal.exportScopeFilteredBusinessUnits',
|
|
378
|
+
description: 'Label for Export Filtered business units',
|
|
379
|
+
defaultMessage: 'Export filtered: {total, plural, one {# business unit} other {# business units}}'
|
|
380
|
+
},
|
|
361
381
|
exportScopeAllOrders: {
|
|
362
382
|
id: 'ExportResourcesModal.exportScopeAllOrders',
|
|
363
383
|
description: 'Label for Export All orders',
|
|
@@ -398,6 +418,11 @@ var messages = reactIntl.defineMessages({
|
|
|
398
418
|
description: 'Label for Export Filtered without count',
|
|
399
419
|
defaultMessage: 'Export filtered'
|
|
400
420
|
},
|
|
421
|
+
exportAllWithoutCount: {
|
|
422
|
+
id: 'ExportResourcesModal.exportAllWithoutCount',
|
|
423
|
+
description: 'Label for Export All without count',
|
|
424
|
+
defaultMessage: 'Export all'
|
|
425
|
+
},
|
|
401
426
|
saveAs: {
|
|
402
427
|
id: 'ExportResourcesModal.saveAs',
|
|
403
428
|
description: 'Label for "Save as:"',
|
|
@@ -802,7 +827,8 @@ const EXPORTABLE_RESOURCES = {
|
|
|
802
827
|
DISCOUNT_CODE: 'discount-code',
|
|
803
828
|
INVENTORY_ENTRY: 'inventory-entry',
|
|
804
829
|
ORDER: 'order',
|
|
805
|
-
CUSTOMER: 'customer'
|
|
830
|
+
CUSTOMER: 'customer',
|
|
831
|
+
BUSINESS_UNIT: 'business-unit'
|
|
806
832
|
};
|
|
807
833
|
|
|
808
834
|
const OUTPUT_FORMATS = {
|
|
@@ -844,9 +870,9 @@ const resourceTypeMessages = {
|
|
|
844
870
|
exportScopeFiltered: messages.exportInventoriesForFilteredProducts
|
|
845
871
|
},
|
|
846
872
|
[EXPORTABLE_RESOURCES.DISCOUNT_CODE]: {
|
|
847
|
-
exportScopeAll: messages.
|
|
848
|
-
exportScopeSelected: messages.
|
|
849
|
-
exportScopeFiltered: messages.
|
|
873
|
+
exportScopeAll: messages.exportAllWithoutCount,
|
|
874
|
+
exportScopeSelected: messages.exportScopeSelectedWithoutCount,
|
|
875
|
+
exportScopeFiltered: messages.exportScopeFilteredWithoutCount
|
|
850
876
|
},
|
|
851
877
|
[EXPORTABLE_RESOURCES.ORDER]: {
|
|
852
878
|
exportScopeAll: messages.exportScopeAllOrders,
|
|
@@ -857,6 +883,11 @@ const resourceTypeMessages = {
|
|
|
857
883
|
exportScopeAll: messages.exportScopeAllCustomers,
|
|
858
884
|
exportScopeSelected: messages.exportScopeSelectedCustomers,
|
|
859
885
|
exportScopeFiltered: messages.exportScopeFilteredCustomers
|
|
886
|
+
},
|
|
887
|
+
[EXPORTABLE_RESOURCES.BUSINESS_UNIT]: {
|
|
888
|
+
exportScopeAll: messages.exportScopeAllBusinessUnits,
|
|
889
|
+
exportScopeSelected: messages.exportScopeSelectedBusinessUnits,
|
|
890
|
+
exportScopeFiltered: messages.exportScopeFilteredBusinessUnits
|
|
860
891
|
}
|
|
861
892
|
};
|
|
862
893
|
|
|
@@ -1026,7 +1057,8 @@ function resourceTypeToFileName(resourceType, locale) {
|
|
|
1026
1057
|
[EXPORTABLE_RESOURCES.DISCOUNT_CODE]: 'Discount_Codes',
|
|
1027
1058
|
[EXPORTABLE_RESOURCES.INVENTORY_ENTRY]: 'Inventories',
|
|
1028
1059
|
[EXPORTABLE_RESOURCES.CUSTOMER]: 'Customers',
|
|
1029
|
-
[EXPORTABLE_RESOURCES.ORDER]: 'Orders'
|
|
1060
|
+
[EXPORTABLE_RESOURCES.ORDER]: 'Orders',
|
|
1061
|
+
[EXPORTABLE_RESOURCES.BUSINESS_UNIT]: 'Business_Units'
|
|
1030
1062
|
};
|
|
1031
1063
|
const displayName = resourceTypeMap[resourceType];
|
|
1032
1064
|
if (!displayName) {
|
|
@@ -1926,7 +1958,7 @@ const ExportPreferenceSection = () => {
|
|
|
1926
1958
|
label: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$a({}, option.label))
|
|
1927
1959
|
}));
|
|
1928
1960
|
return jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1929
|
-
scale: "
|
|
1961
|
+
scale: "l",
|
|
1930
1962
|
children: [jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1931
1963
|
scale: "s",
|
|
1932
1964
|
children: [jsxRuntime.jsxs("div", {
|
|
@@ -1960,7 +1992,7 @@ const ExportPreferenceSection = () => {
|
|
|
1960
1992
|
})]
|
|
1961
1993
|
})]
|
|
1962
1994
|
}), jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1963
|
-
scale: "
|
|
1995
|
+
scale: "m",
|
|
1964
1996
|
children: [jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
1965
1997
|
scale: "m",
|
|
1966
1998
|
children: [jsxRuntime.jsx(uiKit.CheckboxInput, {
|
|
@@ -2139,7 +2171,7 @@ const ExportFileSettingsStep = () => {
|
|
|
2139
2171
|
})
|
|
2140
2172
|
}), jsxRuntime.jsx(uiKit.Grid.Item, {
|
|
2141
2173
|
children: jsxRuntime.jsxs(uiKit.Spacings.Stack, {
|
|
2142
|
-
scale: "
|
|
2174
|
+
scale: "m",
|
|
2143
2175
|
children: [jsxRuntime.jsx(fullstory.Masking.Mask, {
|
|
2144
2176
|
children: jsxRuntime.jsx(uiKit.TextField, {
|
|
2145
2177
|
name: "fileName",
|
|
@@ -2949,13 +2981,13 @@ const ExportResourcesProvider = _ref => {
|
|
|
2949
2981
|
fieldSelectionMode = _React$useState8[0],
|
|
2950
2982
|
setFieldSelectionMode = _React$useState8[1];
|
|
2951
2983
|
const _React$useState9 = React__default["default"].useState([]),
|
|
2952
|
-
_React$
|
|
2953
|
-
importedHeaders = _React$
|
|
2954
|
-
setImportedHeaders = _React$
|
|
2955
|
-
const _React$
|
|
2956
|
-
_React$
|
|
2957
|
-
validationErrors = _React$
|
|
2958
|
-
setValidationErrors = _React$
|
|
2984
|
+
_React$useState0 = _slicedToArray(_React$useState9, 2),
|
|
2985
|
+
importedHeaders = _React$useState0[0],
|
|
2986
|
+
setImportedHeaders = _React$useState0[1];
|
|
2987
|
+
const _React$useState1 = React__default["default"].useState([]),
|
|
2988
|
+
_React$useState10 = _slicedToArray(_React$useState1, 2),
|
|
2989
|
+
validationErrors = _React$useState10[0],
|
|
2990
|
+
setValidationErrors = _React$useState10[1];
|
|
2959
2991
|
const _useStartExportOperat = useStartExportOperation(props),
|
|
2960
2992
|
startExportOperation = _useStartExportOperat.startExportOperation;
|
|
2961
2993
|
const _useValidateExportOpe = useValidateExportOperation(),
|
|
@@ -3391,11 +3423,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
|
|
|
3391
3423
|
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 */");
|
|
3392
3424
|
}
|
|
3393
3425
|
|
|
3394
|
-
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-
|
|
3426
|
+
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-ccc7a448.cjs.dev.js'); }));
|
|
3395
3427
|
|
|
3396
|
-
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-
|
|
3428
|
+
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-c28a5b31.cjs.dev.js'); }));
|
|
3397
3429
|
|
|
3398
|
-
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-
|
|
3430
|
+
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-0ee35f56.cjs.dev.js'); }));
|
|
3399
3431
|
|
|
3400
3432
|
function getDropArea(_ref) {
|
|
3401
3433
|
let dropAreaState = _ref.dropAreaState,
|
|
@@ -3476,17 +3508,17 @@ const getChunkImport = locale => {
|
|
|
3476
3508
|
const intlLocale = i18n.mapLocaleToIntlLocale(locale);
|
|
3477
3509
|
switch (intlLocale) {
|
|
3478
3510
|
case 'de':
|
|
3479
|
-
return Promise.resolve().then(function () { return require('./de-
|
|
3511
|
+
return Promise.resolve().then(function () { return require('./de-bbff7d3b.cjs.dev.js'); });
|
|
3480
3512
|
case 'es':
|
|
3481
|
-
return Promise.resolve().then(function () { return require('./es-
|
|
3513
|
+
return Promise.resolve().then(function () { return require('./es-d62aecdf.cjs.dev.js'); });
|
|
3482
3514
|
case 'fr-FR':
|
|
3483
|
-
return Promise.resolve().then(function () { return require('./fr-FR-
|
|
3515
|
+
return Promise.resolve().then(function () { return require('./fr-FR-32fcaaae.cjs.dev.js'); });
|
|
3484
3516
|
case 'ja':
|
|
3485
3517
|
return Promise.resolve().then(function () { return require('./ja-9bd5f452.cjs.dev.js'); });
|
|
3486
3518
|
case 'pt-BR':
|
|
3487
|
-
return Promise.resolve().then(function () { return require('./pt-BR-
|
|
3519
|
+
return Promise.resolve().then(function () { return require('./pt-BR-7dd1ad89.cjs.dev.js'); });
|
|
3488
3520
|
default:
|
|
3489
|
-
return Promise.resolve().then(function () { return require('./en-
|
|
3521
|
+
return Promise.resolve().then(function () { return require('./en-3ba47652.cjs.dev.js'); });
|
|
3490
3522
|
}
|
|
3491
3523
|
};
|
|
3492
3524
|
const loadMessages = async locale => {
|
|
@@ -139,6 +139,10 @@ var ptBR = {
|
|
|
139
139
|
developer_comment: "The export process may take a while",
|
|
140
140
|
string: "O processo de exportação pode levar algum tempo. Para visualizar o progresso e baixar o arquivo após iniciar a exportação, vá para a área de <exportLogsLink>Registros de exportação</exportLogsLink>, localizada no <operationsIcon></operationsIcon> menu Operações."
|
|
141
141
|
},
|
|
142
|
+
"ExportResourcesModal.exportScopeAllBusinessUnits": {
|
|
143
|
+
developer_comment: "Label for Export All business units",
|
|
144
|
+
string: "Exportar tudo: {total, plural, one {# unidade de negócios} other {# unidades de negócios}}"
|
|
145
|
+
},
|
|
142
146
|
"ExportResourcesModal.exportScopeAllCategories": {
|
|
143
147
|
developer_comment: "Label for Export All categories",
|
|
144
148
|
string: "Exportar tudo: {total, plural, one {# categoria} other {# categorias}}"
|
|
@@ -163,6 +167,10 @@ var ptBR = {
|
|
|
163
167
|
developer_comment: "Label for Export All products",
|
|
164
168
|
string: "Exportar tudo: {total, plural, one {# produto} other {# produtos}}"
|
|
165
169
|
},
|
|
170
|
+
"ExportResourcesModal.exportScopeFilteredBusinessUnits": {
|
|
171
|
+
developer_comment: "Label for Export Filtered business units",
|
|
172
|
+
string: "Exportar filtrados: {total, plural, one {# unidade de negócios} other {# unidades de negócios}}"
|
|
173
|
+
},
|
|
166
174
|
"ExportResourcesModal.exportScopeFilteredCategories": {
|
|
167
175
|
developer_comment: "Label for Export Filtered categories",
|
|
168
176
|
string: "Exportar filtrados: {total, plural, one {# categoria} other {# categorias}}"
|
|
@@ -191,6 +199,10 @@ var ptBR = {
|
|
|
191
199
|
developer_comment: "Label for Export Filtered without count",
|
|
192
200
|
string: "Exportar filtrados"
|
|
193
201
|
},
|
|
202
|
+
"ExportResourcesModal.exportScopeSelectedBusinessUnits": {
|
|
203
|
+
developer_comment: "Label for Export Selected business units",
|
|
204
|
+
string: "Exportar selecionados: {total, plural, one {# unidade de negócios} other {# unidades de negócios}}"
|
|
205
|
+
},
|
|
194
206
|
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
195
207
|
developer_comment: "Label for Export Selected categories",
|
|
196
208
|
string: "Exportar selecionados: {total, plural, one {# categoria} other {# categorias}}"
|
|
@@ -307,6 +319,10 @@ var ptBR = {
|
|
|
307
319
|
developer_comment: "Error when query predicate field is missing",
|
|
308
320
|
string: "Insira um predicado de consulta"
|
|
309
321
|
},
|
|
322
|
+
"ExportResourcesModal.modalTitle.businessUnit": {
|
|
323
|
+
developer_comment: "Label for the business units modal title",
|
|
324
|
+
string: "Exportar unidades de negócios"
|
|
325
|
+
},
|
|
310
326
|
"ExportResourcesModal.modalTitle.category": {
|
|
311
327
|
developer_comment: "Label for the categories modal title",
|
|
312
328
|
string: "Exportar categorias"
|
|
@@ -141,6 +141,10 @@ var ptBR = {
|
|
|
141
141
|
developer_comment: "The export process may take a while",
|
|
142
142
|
string: "O processo de exportação pode levar algum tempo. Para visualizar o progresso e baixar o arquivo após iniciar a exportação, vá para a área de <exportLogsLink>Registros de exportação</exportLogsLink>, localizada no <operationsIcon></operationsIcon> menu Operações."
|
|
143
143
|
},
|
|
144
|
+
"ExportResourcesModal.exportScopeAllBusinessUnits": {
|
|
145
|
+
developer_comment: "Label for Export All business units",
|
|
146
|
+
string: "Exportar tudo: {total, plural, one {# unidade de negócios} other {# unidades de negócios}}"
|
|
147
|
+
},
|
|
144
148
|
"ExportResourcesModal.exportScopeAllCategories": {
|
|
145
149
|
developer_comment: "Label for Export All categories",
|
|
146
150
|
string: "Exportar tudo: {total, plural, one {# categoria} other {# categorias}}"
|
|
@@ -165,6 +169,10 @@ var ptBR = {
|
|
|
165
169
|
developer_comment: "Label for Export All products",
|
|
166
170
|
string: "Exportar tudo: {total, plural, one {# produto} other {# produtos}}"
|
|
167
171
|
},
|
|
172
|
+
"ExportResourcesModal.exportScopeFilteredBusinessUnits": {
|
|
173
|
+
developer_comment: "Label for Export Filtered business units",
|
|
174
|
+
string: "Exportar filtrados: {total, plural, one {# unidade de negócios} other {# unidades de negócios}}"
|
|
175
|
+
},
|
|
168
176
|
"ExportResourcesModal.exportScopeFilteredCategories": {
|
|
169
177
|
developer_comment: "Label for Export Filtered categories",
|
|
170
178
|
string: "Exportar filtrados: {total, plural, one {# categoria} other {# categorias}}"
|
|
@@ -193,6 +201,10 @@ var ptBR = {
|
|
|
193
201
|
developer_comment: "Label for Export Filtered without count",
|
|
194
202
|
string: "Exportar filtrados"
|
|
195
203
|
},
|
|
204
|
+
"ExportResourcesModal.exportScopeSelectedBusinessUnits": {
|
|
205
|
+
developer_comment: "Label for Export Selected business units",
|
|
206
|
+
string: "Exportar selecionados: {total, plural, one {# unidade de negócios} other {# unidades de negócios}}"
|
|
207
|
+
},
|
|
196
208
|
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
197
209
|
developer_comment: "Label for Export Selected categories",
|
|
198
210
|
string: "Exportar selecionados: {total, plural, one {# categoria} other {# categorias}}"
|
|
@@ -309,6 +321,10 @@ var ptBR = {
|
|
|
309
321
|
developer_comment: "Error when query predicate field is missing",
|
|
310
322
|
string: "Insira um predicado de consulta"
|
|
311
323
|
},
|
|
324
|
+
"ExportResourcesModal.modalTitle.businessUnit": {
|
|
325
|
+
developer_comment: "Label for the business units modal title",
|
|
326
|
+
string: "Exportar unidades de negócios"
|
|
327
|
+
},
|
|
312
328
|
"ExportResourcesModal.modalTitle.category": {
|
|
313
329
|
developer_comment: "Label for the categories modal title",
|
|
314
330
|
string: "Exportar categorias"
|