@commercetools-frontend-extensions/export-resources-modal 4.6.23 → 4.7.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/commercetools-frontend-extensions-export-resources-modal.cjs.dev.js +158 -100
- package/dist/commercetools-frontend-extensions-export-resources-modal.cjs.prod.js +158 -100
- package/dist/commercetools-frontend-extensions-export-resources-modal.esm.js +163 -105
- package/dist/{de-e76e7099.esm.js → de-9746c508.esm.js} +14 -6
- package/dist/{de-716eb1ff.cjs.prod.js → de-af429e2a.cjs.dev.js} +14 -6
- package/dist/{de-f7e27d2c.cjs.dev.js → de-f235117b.cjs.prod.js} +14 -6
- package/dist/declarations/src/@constants/resource-type-messages.d.ts +10 -2
- package/dist/declarations/src/@types/export-api.d.ts +1 -0
- package/dist/declarations/src/@types/export-resources-modal-context.d.ts +2 -1
- package/dist/declarations/src/@types/form.d.ts +1 -0
- package/dist/{en-d3d24652.cjs.prod.js → en-0a4519c0.cjs.prod.js} +8 -0
- package/dist/{en-c7983cac.cjs.dev.js → en-8b4fee65.cjs.dev.js} +8 -0
- package/dist/{en-8aa6a8f0.esm.js → en-b0fc803b.esm.js} +8 -0
- package/dist/{es-a453ec31.cjs.dev.js → es-1da000fa.cjs.dev.js} +8 -0
- package/dist/{es-36609f4e.cjs.prod.js → es-339117ae.cjs.prod.js} +8 -0
- package/dist/{es-7675c0f4.esm.js → es-ed7a7149.esm.js} +8 -0
- package/dist/{fr-FR-7772c9a7.esm.js → fr-FR-01c89efe.esm.js} +15 -7
- package/dist/{fr-FR-afb7bc68.cjs.dev.js → fr-FR-af05384b.cjs.prod.js} +15 -7
- package/dist/{fr-FR-fcbbdef7.cjs.prod.js → fr-FR-f6456131.cjs.dev.js} +15 -7
- package/dist/{pt-BR-f5fa13cc.cjs.prod.js → pt-BR-03e1fb85.cjs.prod.js} +15 -7
- package/dist/{pt-BR-b98653d0.esm.js → pt-BR-8b9dd081.esm.js} +15 -7
- package/dist/{pt-BR-2f2083c8.cjs.dev.js → pt-BR-bc9a187a.cjs.dev.js} +15 -7
- package/dist/{zh-CN-a781db14.cjs.prod.js → zh-CN-1051c1d7.cjs.prod.js} +14 -6
- package/dist/{zh-CN-4d5b02fd.esm.js → zh-CN-464f6fce.esm.js} +14 -6
- package/dist/{zh-CN-0f4b738b.cjs.dev.js → zh-CN-e6a19d6d.cjs.dev.js} +14 -6
- package/package.json +10 -10
|
@@ -14,12 +14,13 @@ import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/obje
|
|
|
14
14
|
import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
15
15
|
import { defineMessages, FormattedMessage, useIntl, IntlProvider } from 'react-intl';
|
|
16
16
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
17
|
-
import { Text, TextInput, Link, Spacings, RadioInput, Grid, designTokens, SelectField, TextField,
|
|
18
|
-
import { jsx,
|
|
17
|
+
import { Text, TextInput, Link, CheckboxInput, Spacings, RadioInput, Grid, designTokens, SelectField, TextField, ToggleInput, Card, Stamp, IconButton, AngleDownIcon, AngleRightIcon, CollapsibleMotion, SearchTextInput } from '@commercetools-frontend/ui-kit';
|
|
18
|
+
import { jsx, Fragment, jsxs } from '@emotion/react/jsx-runtime';
|
|
19
19
|
import _valuesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/values';
|
|
20
|
+
import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
20
21
|
import { FormDialog } from '@commercetools-frontend/application-components';
|
|
21
22
|
import { Masking } from '@commercetools-frontend/fullstory';
|
|
22
|
-
import React, { useContext, useCallback, createContext, Fragment, useMemo, useState, useEffect } from 'react';
|
|
23
|
+
import React, { useContext, useCallback, createContext, Fragment as Fragment$1, useMemo, useState, useEffect } from 'react';
|
|
23
24
|
import _Reflect$construct from '@babel/runtime-corejs3/core-js-stable/reflect/construct';
|
|
24
25
|
import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
|
|
25
26
|
import _classCallCheck from '@babel/runtime-corejs3/helpers/esm/classCallCheck';
|
|
@@ -46,7 +47,6 @@ import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectW
|
|
|
46
47
|
import { formatLocalizedString, applyTransformedLocalizedFields } from '@commercetools-frontend/l10n';
|
|
47
48
|
import sortBy from 'lodash/sortBy';
|
|
48
49
|
import _styled from '@emotion/styled/base';
|
|
49
|
-
import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
50
50
|
import throttle from 'lodash/throttle';
|
|
51
51
|
import { css } from '@emotion/react';
|
|
52
52
|
import get from 'lodash/get';
|
|
@@ -345,17 +345,28 @@ var messages = defineMessages({
|
|
|
345
345
|
id: 'ExportResourcesModal.selected',
|
|
346
346
|
description: 'Label for total Selected',
|
|
347
347
|
defaultMessage: '{total} selected'
|
|
348
|
+
},
|
|
349
|
+
// Preferences
|
|
350
|
+
exportPreferences: {
|
|
351
|
+
id: 'ExportResourcesModal.exportPreferences',
|
|
352
|
+
description: 'Label for preferences',
|
|
353
|
+
defaultMessage: 'Preferences'
|
|
354
|
+
},
|
|
355
|
+
fillRowsForOrderExport: {
|
|
356
|
+
id: 'ExportResourcesModal.fillRowsForOrderExport',
|
|
357
|
+
description: 'A checkbox label for filling rows for order export',
|
|
358
|
+
defaultMessage: 'Include Order number, id, and states in every row'
|
|
348
359
|
}
|
|
349
360
|
});
|
|
350
361
|
|
|
351
|
-
function ownKeys$
|
|
352
|
-
function _objectSpread$
|
|
362
|
+
function ownKeys$8(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
363
|
+
function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$8(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$8(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
353
364
|
function renderFileNameError(key) {
|
|
354
365
|
switch (key) {
|
|
355
366
|
case 'missing':
|
|
356
|
-
return jsx(FormattedMessage, _objectSpread$
|
|
367
|
+
return jsx(FormattedMessage, _objectSpread$8({}, messages.missingFileNameError));
|
|
357
368
|
case 'invalidInput':
|
|
358
|
-
return jsx(FormattedMessage, _objectSpread$
|
|
369
|
+
return jsx(FormattedMessage, _objectSpread$8({}, messages.invalidFileNameError));
|
|
359
370
|
default:
|
|
360
371
|
return null;
|
|
361
372
|
}
|
|
@@ -363,12 +374,76 @@ function renderFileNameError(key) {
|
|
|
363
374
|
function renderLocaleError(key) {
|
|
364
375
|
switch (key) {
|
|
365
376
|
case 'missing':
|
|
366
|
-
return jsx(FormattedMessage, _objectSpread$
|
|
377
|
+
return jsx(FormattedMessage, _objectSpread$8({}, messages.missingLocaleError));
|
|
367
378
|
default:
|
|
368
379
|
return null;
|
|
369
380
|
}
|
|
370
381
|
}
|
|
371
382
|
|
|
383
|
+
function _callSuper$3(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$3() ? _Reflect$construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
384
|
+
function _isNativeReflectConstruct$3() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$3 = function () { return !!t; })(); }
|
|
385
|
+
let MissingExportResourceProviderError = /*#__PURE__*/function (_Error) {
|
|
386
|
+
function MissingExportResourceProviderError() {
|
|
387
|
+
var _this;
|
|
388
|
+
_classCallCheck(this, MissingExportResourceProviderError);
|
|
389
|
+
_this = _callSuper$3(this, MissingExportResourceProviderError, ['useExportResourcesModalContext must be used within ExportResourcesProvider']);
|
|
390
|
+
_this.name = 'MissingExportResourceProviderError';
|
|
391
|
+
return _this;
|
|
392
|
+
}
|
|
393
|
+
_inherits(MissingExportResourceProviderError, _Error);
|
|
394
|
+
return _createClass(MissingExportResourceProviderError);
|
|
395
|
+
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
396
|
+
|
|
397
|
+
function _callSuper$2(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$2() ? _Reflect$construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
398
|
+
function _isNativeReflectConstruct$2() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$2 = function () { return !!t; })(); }
|
|
399
|
+
let UnexpectedExportOperationStateError = /*#__PURE__*/function (_Error) {
|
|
400
|
+
function UnexpectedExportOperationStateError(state) {
|
|
401
|
+
var _this;
|
|
402
|
+
_classCallCheck(this, UnexpectedExportOperationStateError);
|
|
403
|
+
_this = _callSuper$2(this, UnexpectedExportOperationStateError, [`Unexpected export operation state "${state}"`]);
|
|
404
|
+
_this.name = 'UnexpectedExportOperationStateError';
|
|
405
|
+
return _this;
|
|
406
|
+
}
|
|
407
|
+
_inherits(UnexpectedExportOperationStateError, _Error);
|
|
408
|
+
return _createClass(UnexpectedExportOperationStateError);
|
|
409
|
+
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
410
|
+
|
|
411
|
+
function _callSuper$1(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$1() ? _Reflect$construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
412
|
+
function _isNativeReflectConstruct$1() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$1 = function () { return !!t; })(); }
|
|
413
|
+
let UnexpectedResourceTypeError = /*#__PURE__*/function (_Error) {
|
|
414
|
+
function UnexpectedResourceTypeError(resourceType) {
|
|
415
|
+
var _this;
|
|
416
|
+
_classCallCheck(this, UnexpectedResourceTypeError);
|
|
417
|
+
_this = _callSuper$1(this, UnexpectedResourceTypeError, [`Unexpected resource type "${resourceType}"`]);
|
|
418
|
+
_this.name = 'UnexpectedResourceTypeError';
|
|
419
|
+
return _this;
|
|
420
|
+
}
|
|
421
|
+
_inherits(UnexpectedResourceTypeError, _Error);
|
|
422
|
+
return _createClass(UnexpectedResourceTypeError);
|
|
423
|
+
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
424
|
+
|
|
425
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? _Reflect$construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
426
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
427
|
+
let InvalidResponseError = /*#__PURE__*/function (_Error) {
|
|
428
|
+
function InvalidResponseError() {
|
|
429
|
+
var _this;
|
|
430
|
+
_classCallCheck(this, InvalidResponseError);
|
|
431
|
+
_this = _callSuper(this, InvalidResponseError, ['Invalid response']);
|
|
432
|
+
_this.name = 'InvalidResponseError';
|
|
433
|
+
return _this;
|
|
434
|
+
}
|
|
435
|
+
_inherits(InvalidResponseError, _Error);
|
|
436
|
+
return _createClass(InvalidResponseError);
|
|
437
|
+
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
438
|
+
|
|
439
|
+
function useExportResourcesModalContext() {
|
|
440
|
+
const context = useContext(ExportResourcesContext);
|
|
441
|
+
if (!context) {
|
|
442
|
+
throw new MissingExportResourceProviderError();
|
|
443
|
+
}
|
|
444
|
+
return context;
|
|
445
|
+
}
|
|
446
|
+
|
|
372
447
|
const Z_INDEX_DROPDOWN = 30000;
|
|
373
448
|
const OPERATIONS_EXPORT_RESOURCES_MODAL_SELECTION = 'OPERATIONS_EXPORT_RESOURCES_MODAL_SELECTION';
|
|
374
449
|
const OPERATIONS_EXPORT_RESOURCES_MODAL_EXPANDED_GROUP = 'OPERATIONS_EXPORT_RESOURCES_MODAL_EXPANDED_GROUP';
|
|
@@ -446,70 +521,6 @@ const resourceTypeMessages = {
|
|
|
446
521
|
}
|
|
447
522
|
};
|
|
448
523
|
|
|
449
|
-
function _callSuper$3(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$3() ? _Reflect$construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
450
|
-
function _isNativeReflectConstruct$3() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$3 = function () { return !!t; })(); }
|
|
451
|
-
let MissingExportResourceProviderError = /*#__PURE__*/function (_Error) {
|
|
452
|
-
function MissingExportResourceProviderError() {
|
|
453
|
-
var _this;
|
|
454
|
-
_classCallCheck(this, MissingExportResourceProviderError);
|
|
455
|
-
_this = _callSuper$3(this, MissingExportResourceProviderError, ['useExportResourcesModalContext must be used within ExportResourcesProvider']);
|
|
456
|
-
_this.name = 'MissingExportResourceProviderError';
|
|
457
|
-
return _this;
|
|
458
|
-
}
|
|
459
|
-
_inherits(MissingExportResourceProviderError, _Error);
|
|
460
|
-
return _createClass(MissingExportResourceProviderError);
|
|
461
|
-
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
462
|
-
|
|
463
|
-
function _callSuper$2(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$2() ? _Reflect$construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
464
|
-
function _isNativeReflectConstruct$2() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$2 = function () { return !!t; })(); }
|
|
465
|
-
let UnexpectedExportOperationStateError = /*#__PURE__*/function (_Error) {
|
|
466
|
-
function UnexpectedExportOperationStateError(state) {
|
|
467
|
-
var _this;
|
|
468
|
-
_classCallCheck(this, UnexpectedExportOperationStateError);
|
|
469
|
-
_this = _callSuper$2(this, UnexpectedExportOperationStateError, [`Unexpected export operation state "${state}"`]);
|
|
470
|
-
_this.name = 'UnexpectedExportOperationStateError';
|
|
471
|
-
return _this;
|
|
472
|
-
}
|
|
473
|
-
_inherits(UnexpectedExportOperationStateError, _Error);
|
|
474
|
-
return _createClass(UnexpectedExportOperationStateError);
|
|
475
|
-
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
476
|
-
|
|
477
|
-
function _callSuper$1(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$1() ? _Reflect$construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
478
|
-
function _isNativeReflectConstruct$1() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$1 = function () { return !!t; })(); }
|
|
479
|
-
let UnexpectedResourceTypeError = /*#__PURE__*/function (_Error) {
|
|
480
|
-
function UnexpectedResourceTypeError(resourceType) {
|
|
481
|
-
var _this;
|
|
482
|
-
_classCallCheck(this, UnexpectedResourceTypeError);
|
|
483
|
-
_this = _callSuper$1(this, UnexpectedResourceTypeError, [`Unexpected resource type "${resourceType}"`]);
|
|
484
|
-
_this.name = 'UnexpectedResourceTypeError';
|
|
485
|
-
return _this;
|
|
486
|
-
}
|
|
487
|
-
_inherits(UnexpectedResourceTypeError, _Error);
|
|
488
|
-
return _createClass(UnexpectedResourceTypeError);
|
|
489
|
-
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
490
|
-
|
|
491
|
-
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? _Reflect$construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
492
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
493
|
-
let InvalidResponseError = /*#__PURE__*/function (_Error) {
|
|
494
|
-
function InvalidResponseError() {
|
|
495
|
-
var _this;
|
|
496
|
-
_classCallCheck(this, InvalidResponseError);
|
|
497
|
-
_this = _callSuper(this, InvalidResponseError, ['Invalid response']);
|
|
498
|
-
_this.name = 'InvalidResponseError';
|
|
499
|
-
return _this;
|
|
500
|
-
}
|
|
501
|
-
_inherits(InvalidResponseError, _Error);
|
|
502
|
-
return _createClass(InvalidResponseError);
|
|
503
|
-
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
504
|
-
|
|
505
|
-
function useExportResourcesModalContext() {
|
|
506
|
-
const context = useContext(ExportResourcesContext);
|
|
507
|
-
if (!context) {
|
|
508
|
-
throw new MissingExportResourceProviderError();
|
|
509
|
-
}
|
|
510
|
-
return context;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
524
|
const isAnyFieldChecked = fields => {
|
|
514
525
|
return _someInstanceProperty(fields).call(fields, field => field.isChecked || field.fields && isAnyFieldChecked(field.fields));
|
|
515
526
|
};
|
|
@@ -749,8 +760,8 @@ function removeEmptyGroups(groups) {
|
|
|
749
760
|
return _filterInstanceProperty(groups).call(groups, group => group.fields && group.fields.length > 0);
|
|
750
761
|
}
|
|
751
762
|
|
|
752
|
-
function ownKeys$
|
|
753
|
-
function _objectSpread$
|
|
763
|
+
function ownKeys$7(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
764
|
+
function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$7(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$7(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
754
765
|
const updateFieldGroupsWithIsCheckedValue = (groups, cachedSelectedGroups) => {
|
|
755
766
|
const updateFields = (fields, isParentChecked, parentFieldPath) => {
|
|
756
767
|
return _mapInstanceProperty(fields).call(fields, field => {
|
|
@@ -771,7 +782,7 @@ const updateFieldGroupsWithIsCheckedValue = (groups, cachedSelectedGroups) => {
|
|
|
771
782
|
updatedFields = updateFields(field.fields, isChecked, `${parentFieldPath}.${field.name}`);
|
|
772
783
|
isChecked = false;
|
|
773
784
|
}
|
|
774
|
-
return _objectSpread$
|
|
785
|
+
return _objectSpread$7(_objectSpread$7({}, field), {}, {
|
|
775
786
|
isChecked,
|
|
776
787
|
fields: updatedFields
|
|
777
788
|
});
|
|
@@ -779,7 +790,7 @@ const updateFieldGroupsWithIsCheckedValue = (groups, cachedSelectedGroups) => {
|
|
|
779
790
|
};
|
|
780
791
|
return _mapInstanceProperty(groups).call(groups, group => {
|
|
781
792
|
const updatedFields = updateFields(group.fields, false, group.groupName);
|
|
782
|
-
return _objectSpread$
|
|
793
|
+
return _objectSpread$7(_objectSpread$7({}, group), {}, {
|
|
783
794
|
fields: updatedFields
|
|
784
795
|
});
|
|
785
796
|
});
|
|
@@ -791,7 +802,7 @@ const updateFieldGroupWithAdditionalFieldExtensions = groups => {
|
|
|
791
802
|
if (field.fields) {
|
|
792
803
|
field.fields = updateAdditionalFieldExtensions(field.fields, updatedAdditionalFieldExtensions);
|
|
793
804
|
}
|
|
794
|
-
return _objectSpread$
|
|
805
|
+
return _objectSpread$7(_objectSpread$7({}, field), {}, {
|
|
795
806
|
extendedFieldNames: updatedAdditionalFieldExtensions
|
|
796
807
|
});
|
|
797
808
|
});
|
|
@@ -808,7 +819,7 @@ const updateFieldGroupWithAdditionalFieldExtensions = groups => {
|
|
|
808
819
|
}, []);
|
|
809
820
|
}
|
|
810
821
|
return _mapInstanceProperty(groups).call(groups, group => {
|
|
811
|
-
return _objectSpread$
|
|
822
|
+
return _objectSpread$7(_objectSpread$7({}, group), {}, {
|
|
812
823
|
dependentGroupNames: combineDependentGroupNames(group.fields),
|
|
813
824
|
fields: updateAdditionalFieldExtensions(group.fields, [])
|
|
814
825
|
});
|
|
@@ -825,7 +836,7 @@ const updateFieldGroupsWithIsExpandedValue = (groups, cachedExpandedGroups) => {
|
|
|
825
836
|
field.fields = updateFields(field.fields, groupName);
|
|
826
837
|
}
|
|
827
838
|
if (isExpanded !== null) {
|
|
828
|
-
return _objectSpread$
|
|
839
|
+
return _objectSpread$7(_objectSpread$7({}, field), {}, {
|
|
829
840
|
isExpanded
|
|
830
841
|
});
|
|
831
842
|
}
|
|
@@ -834,7 +845,7 @@ const updateFieldGroupsWithIsExpandedValue = (groups, cachedExpandedGroups) => {
|
|
|
834
845
|
}
|
|
835
846
|
return _mapInstanceProperty(groups).call(groups, group => {
|
|
836
847
|
const updatedFields = updateFields(group.fields, group.groupName);
|
|
837
|
-
return _objectSpread$
|
|
848
|
+
return _objectSpread$7(_objectSpread$7({}, group), {}, {
|
|
838
849
|
isExpanded: cachedExpandedGroups[group.groupName] ?? group.isExpanded ?? false,
|
|
839
850
|
fields: updatedFields
|
|
840
851
|
});
|
|
@@ -847,7 +858,7 @@ const mapFormikErrors = error => {
|
|
|
847
858
|
};
|
|
848
859
|
}
|
|
849
860
|
if (_Array$isArray(error)) {
|
|
850
|
-
return _reduceInstanceProperty(error).call(error, (errorAggregator, currentError) => _objectSpread$
|
|
861
|
+
return _reduceInstanceProperty(error).call(error, (errorAggregator, currentError) => _objectSpread$7(_objectSpread$7({}, errorAggregator), {}, {
|
|
851
862
|
[currentError]: true
|
|
852
863
|
}), {});
|
|
853
864
|
}
|
|
@@ -903,7 +914,9 @@ const useInitialValues = props => {
|
|
|
903
914
|
outputFormat: props.outputFormat,
|
|
904
915
|
fileName: `${resourceTypeToFileName(props.resourceType, userLocale)}`,
|
|
905
916
|
locales: [locale],
|
|
906
|
-
groups: updateFieldGroupWithAdditionalFieldExtensions(groups)
|
|
917
|
+
groups: updateFieldGroupWithAdditionalFieldExtensions(groups),
|
|
918
|
+
// Preferences
|
|
919
|
+
fillRows: false
|
|
907
920
|
};
|
|
908
921
|
}, [props.fieldGroups, props.resourceType, props.outputFormat, cachedSelectedGroups, cachedExpandedGroups, locale, userLocale]);
|
|
909
922
|
};
|
|
@@ -916,7 +929,8 @@ async function createExportOperation(_ref, asyncDispatchFn) {
|
|
|
916
929
|
fields = _ref.fields,
|
|
917
930
|
locales = _ref.locales,
|
|
918
931
|
filters = _ref.filters,
|
|
919
|
-
where = _ref.where
|
|
932
|
+
where = _ref.where,
|
|
933
|
+
fillRows = _ref.fillRows;
|
|
920
934
|
const uri = `/${projectKey}/export-operations`;
|
|
921
935
|
const response = await asyncDispatchFn(actions.post({
|
|
922
936
|
mcApiProxyTarget: MC_API_PROXY_TARGETS.EXPORT,
|
|
@@ -930,6 +944,7 @@ async function createExportOperation(_ref, asyncDispatchFn) {
|
|
|
930
944
|
fileFormat,
|
|
931
945
|
fields,
|
|
932
946
|
locales,
|
|
947
|
+
fillRows,
|
|
933
948
|
// Query predicate
|
|
934
949
|
where,
|
|
935
950
|
// Search API filters
|
|
@@ -994,6 +1009,7 @@ const useStartExportOperation = props => {
|
|
|
994
1009
|
fileName: appendCsvOrJsonExtensionIfAbsent(values.fileName, values.outputFormat),
|
|
995
1010
|
fileFormat: values.outputFormat,
|
|
996
1011
|
locales: values.locales,
|
|
1012
|
+
fillRows: values.fillRows,
|
|
997
1013
|
fields,
|
|
998
1014
|
where,
|
|
999
1015
|
filters
|
|
@@ -1036,8 +1052,8 @@ const useStartExportOperation = props => {
|
|
|
1036
1052
|
};
|
|
1037
1053
|
|
|
1038
1054
|
const _excluded$1 = ["fields"];
|
|
1039
|
-
function ownKeys$
|
|
1040
|
-
function _objectSpread$
|
|
1055
|
+
function ownKeys$6(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1056
|
+
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$6(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$6(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1041
1057
|
const getFieldFullName = _ref => {
|
|
1042
1058
|
var _context;
|
|
1043
1059
|
let fieldPrefix = _ref.fieldPrefix,
|
|
@@ -1061,7 +1077,7 @@ const localizeTypeDefinitionLabels = function () {
|
|
|
1061
1077
|
if (!isFieldLabelLocalized) {
|
|
1062
1078
|
return field;
|
|
1063
1079
|
}
|
|
1064
|
-
return _objectSpread$
|
|
1080
|
+
return _objectSpread$6({}, applyTransformedLocalizedFields(field, [{
|
|
1065
1081
|
from: 'label',
|
|
1066
1082
|
to: 'label'
|
|
1067
1083
|
}]));
|
|
@@ -1134,6 +1150,30 @@ const useConvertFieldDefinitionsForExport = () => {
|
|
|
1134
1150
|
};
|
|
1135
1151
|
};
|
|
1136
1152
|
|
|
1153
|
+
function ownKeys$5(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1154
|
+
function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$5(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$5(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1155
|
+
const OrderPreferences = () => {
|
|
1156
|
+
const _useExportResourcesMo = useExportResourcesModalContext(),
|
|
1157
|
+
formik = _useExportResourcesMo.formik;
|
|
1158
|
+
return jsx(Fragment, {
|
|
1159
|
+
children: jsx(CheckboxInput, {
|
|
1160
|
+
isChecked: _valuesInstanceProperty(formik).fillRows,
|
|
1161
|
+
onChange: e => {
|
|
1162
|
+
formik.setFieldValue('fillRows', e.target.checked);
|
|
1163
|
+
},
|
|
1164
|
+
children: jsx(FormattedMessage, _objectSpread$5({}, messages.fillRowsForOrderExport))
|
|
1165
|
+
})
|
|
1166
|
+
});
|
|
1167
|
+
};
|
|
1168
|
+
const ExportPreferenceSection = () => {
|
|
1169
|
+
const _useExportResourcesMo2 = useExportResourcesModalContext(),
|
|
1170
|
+
resourceType = _useExportResourcesMo2.resourceType;
|
|
1171
|
+
if (resourceType === 'order') {
|
|
1172
|
+
return jsx(OrderPreferences, {});
|
|
1173
|
+
}
|
|
1174
|
+
return null;
|
|
1175
|
+
};
|
|
1176
|
+
|
|
1137
1177
|
function ownKeys$4(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1138
1178
|
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$4(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$4(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1139
1179
|
function ExportScopeSection() {
|
|
@@ -1195,6 +1235,7 @@ function ExportScopeSection() {
|
|
|
1195
1235
|
}
|
|
1196
1236
|
|
|
1197
1237
|
const ExportFileSettingsStep = () => {
|
|
1238
|
+
var _context;
|
|
1198
1239
|
const intl = useIntl();
|
|
1199
1240
|
const _useExportResourcesMo = useExportResourcesModalContext(),
|
|
1200
1241
|
formik = _useExportResourcesMo.formik,
|
|
@@ -1207,6 +1248,8 @@ const ExportFileSettingsStep = () => {
|
|
|
1207
1248
|
locales = _useApplicationContex.locales,
|
|
1208
1249
|
locale = _useApplicationContex.locale;
|
|
1209
1250
|
const areAllLocalesChecked = _valuesInstanceProperty(formik).locales.length === locales.length;
|
|
1251
|
+
// TODO: make this dynamic based on the resource type & output format (more scalable)
|
|
1252
|
+
const shouldShowPreferences = _includesInstanceProperty(_context = ['order']).call(_context, resourceType) && _valuesInstanceProperty(formik).outputFormat === 'csv';
|
|
1210
1253
|
return jsx(FormDialog, {
|
|
1211
1254
|
isOpen: true,
|
|
1212
1255
|
title: intl.formatMessage(messages[`modalTitle.${resourceType}`]),
|
|
@@ -1217,9 +1260,9 @@ const ExportFileSettingsStep = () => {
|
|
|
1217
1260
|
onClose: onClose,
|
|
1218
1261
|
size: 16,
|
|
1219
1262
|
children: jsx(Masking.Unmask, {
|
|
1220
|
-
children:
|
|
1263
|
+
children: jsx(Spacings.Stack, {
|
|
1221
1264
|
scale: "xxxl",
|
|
1222
|
-
children:
|
|
1265
|
+
children: jsx(Spacings.Stack, {
|
|
1223
1266
|
scale: "l",
|
|
1224
1267
|
children: jsxs(Grid, {
|
|
1225
1268
|
gridRowGap: designTokens.spacingL,
|
|
@@ -1271,18 +1314,33 @@ const ExportFileSettingsStep = () => {
|
|
|
1271
1314
|
renderError: renderLocaleError,
|
|
1272
1315
|
menuPortalTarget: document.body,
|
|
1273
1316
|
menuPortalZIndex: Z_INDEX_DROPDOWN
|
|
1274
|
-
}),
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1317
|
+
}), jsxs(Spacings.Inline, {
|
|
1318
|
+
scale: "s",
|
|
1319
|
+
alignItems: "center",
|
|
1320
|
+
children: [jsx(ToggleInput, {
|
|
1321
|
+
"data-testid": "include-all-locales-toggle-input",
|
|
1322
|
+
size: "small",
|
|
1323
|
+
isChecked: areAllLocalesChecked,
|
|
1324
|
+
onChange: e => {
|
|
1325
|
+
if (e.target.checked) formik.setFieldValue('locales', locales);else formik.setFieldValue('locales', [locale]);
|
|
1326
|
+
}
|
|
1327
|
+
}), jsx(Text.Body, {
|
|
1328
|
+
intlMessage: messages.includeAllLocales
|
|
1329
|
+
})]
|
|
1280
1330
|
})]
|
|
1281
1331
|
})]
|
|
1282
1332
|
})
|
|
1333
|
+
}), shouldShowPreferences && jsxs(Fragment, {
|
|
1334
|
+
children: [jsx(Grid.Item, {
|
|
1335
|
+
children: jsx(Text.Body, {
|
|
1336
|
+
intlMessage: messages.exportPreferences
|
|
1337
|
+
})
|
|
1338
|
+
}), jsx(Grid.Item, {
|
|
1339
|
+
children: jsx(ExportPreferenceSection, {})
|
|
1340
|
+
})]
|
|
1283
1341
|
})]
|
|
1284
1342
|
})
|
|
1285
|
-
})
|
|
1343
|
+
})
|
|
1286
1344
|
})
|
|
1287
1345
|
})
|
|
1288
1346
|
});
|
|
@@ -1409,7 +1467,7 @@ const FieldSection = _ref3 => {
|
|
|
1409
1467
|
let isOpen = _ref4.isOpen,
|
|
1410
1468
|
toggle = _ref4.toggle,
|
|
1411
1469
|
registerContentNode = _ref4.registerContentNode;
|
|
1412
|
-
return jsxs(Fragment, {
|
|
1470
|
+
return jsxs(Fragment$1, {
|
|
1413
1471
|
children: [jsxs(FieldWrapper, {
|
|
1414
1472
|
children: [field.isExpandable && jsx(IconButton, {
|
|
1415
1473
|
size: "20",
|
|
@@ -1549,7 +1607,7 @@ const FieldGroupSection = _ref2 => {
|
|
|
1549
1607
|
let isOpen = _ref3.isOpen,
|
|
1550
1608
|
toggle = _ref3.toggle,
|
|
1551
1609
|
registerContentNode = _ref3.registerContentNode;
|
|
1552
|
-
return jsxs(Fragment
|
|
1610
|
+
return jsxs(Fragment, {
|
|
1553
1611
|
children: [jsx(Grid.Item, {
|
|
1554
1612
|
children: jsx(StyledGroupCard, {
|
|
1555
1613
|
type: "flat",
|
|
@@ -1577,7 +1635,7 @@ const FieldGroupSection = _ref2 => {
|
|
|
1577
1635
|
})
|
|
1578
1636
|
})
|
|
1579
1637
|
}), jsx(Grid.Item, {
|
|
1580
|
-
children: jsxs(Fragment
|
|
1638
|
+
children: jsxs(Fragment, {
|
|
1581
1639
|
children: [jsx(StyledExpandableContent, {
|
|
1582
1640
|
ref: registerContentNode,
|
|
1583
1641
|
isOpen: isOpen,
|
|
@@ -1869,19 +1927,19 @@ const getChunkImport = locale => {
|
|
|
1869
1927
|
const intlLocale = mapLocaleToIntlLocale(locale);
|
|
1870
1928
|
switch (intlLocale) {
|
|
1871
1929
|
case 'de':
|
|
1872
|
-
return import(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
1930
|
+
return import(/* webpackChunkName: "export-resources-modal-i18n-de" */'./de-9746c508.esm.js');
|
|
1873
1931
|
case 'es':
|
|
1874
|
-
return import(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
1932
|
+
return import(/* webpackChunkName: "export-resources-modal-i18n-es" */'./es-ed7a7149.esm.js');
|
|
1875
1933
|
case 'fr-FR':
|
|
1876
|
-
return import(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
1934
|
+
return import(/* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-01c89efe.esm.js');
|
|
1877
1935
|
case 'zh-CN':
|
|
1878
|
-
return import(/* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-
|
|
1936
|
+
return import(/* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-464f6fce.esm.js');
|
|
1879
1937
|
case 'ja':
|
|
1880
1938
|
return import(/* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-73c088a7.esm.js');
|
|
1881
1939
|
case 'pt-BR':
|
|
1882
|
-
return import(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-
|
|
1940
|
+
return import(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-8b9dd081.esm.js');
|
|
1883
1941
|
default:
|
|
1884
|
-
return import(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-
|
|
1942
|
+
return import(/* webpackChunkName: "export-resources-modal-i18n-en" */'./en-b0fc803b.esm.js');
|
|
1885
1943
|
}
|
|
1886
1944
|
};
|
|
1887
1945
|
const loadMessages = async locale => {
|
|
@@ -31,13 +31,17 @@ var de = {
|
|
|
31
31
|
developer_comment: "Success message",
|
|
32
32
|
string: "<b>Der Export hat begonnen.</b> <newline></newline><logsLink>Gehen Sie zu Exportprotokolle</logsLink>, um den Fortschritt zu überprüfen und die Datei herunterzuladen."
|
|
33
33
|
},
|
|
34
|
+
"ExportResourcesModal.exportPreferences": {
|
|
35
|
+
developer_comment: "Label for preferences",
|
|
36
|
+
string: "Preferences"
|
|
37
|
+
},
|
|
34
38
|
"ExportResourcesModal.exportScope": {
|
|
35
39
|
developer_comment: "Label for Export Scope",
|
|
36
40
|
string: "Scope"
|
|
37
41
|
},
|
|
38
42
|
"ExportResourcesModal.exportScopeAllCategories": {
|
|
39
43
|
developer_comment: "Label for Export All categories",
|
|
40
|
-
string: "
|
|
44
|
+
string: "Alle exportierenl: {total} Kategorien"
|
|
41
45
|
},
|
|
42
46
|
"ExportResourcesModal.exportScopeAllCustomers": {
|
|
43
47
|
developer_comment: "Label for Export All customers",
|
|
@@ -57,7 +61,7 @@ var de = {
|
|
|
57
61
|
},
|
|
58
62
|
"ExportResourcesModal.exportScopeAllProducts": {
|
|
59
63
|
developer_comment: "Label for Export All products",
|
|
60
|
-
string: "
|
|
64
|
+
string: "Alle exportieren: {total} Produkte"
|
|
61
65
|
},
|
|
62
66
|
"ExportResourcesModal.exportScopeFilteredCategories": {
|
|
63
67
|
developer_comment: "Label for Export Filtered categories",
|
|
@@ -89,7 +93,7 @@ var de = {
|
|
|
89
93
|
},
|
|
90
94
|
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
91
95
|
developer_comment: "Label for Export Selected categories",
|
|
92
|
-
string: "
|
|
96
|
+
string: "Auswahl exportieren: {total} Kategorien"
|
|
93
97
|
},
|
|
94
98
|
"ExportResourcesModal.exportScopeSelectedCustomers": {
|
|
95
99
|
developer_comment: "Label for Export Selected customers",
|
|
@@ -109,7 +113,7 @@ var de = {
|
|
|
109
113
|
},
|
|
110
114
|
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
111
115
|
developer_comment: "Label for Export Selected products",
|
|
112
|
-
string: "
|
|
116
|
+
string: "Ausgewählte exportieren: {total} Produkte"
|
|
113
117
|
},
|
|
114
118
|
"ExportResourcesModal.exportScopeSelectedWithoutCount": {
|
|
115
119
|
developer_comment: "Label for Export Selected without count",
|
|
@@ -127,6 +131,10 @@ var de = {
|
|
|
127
131
|
developer_comment: "exported file name",
|
|
128
132
|
string: "Dateiname"
|
|
129
133
|
},
|
|
134
|
+
"ExportResourcesModal.fillRowsForOrderExport": {
|
|
135
|
+
developer_comment: "A checkbox label for filling rows for order export",
|
|
136
|
+
string: "Fill order number, id and states to all rows"
|
|
137
|
+
},
|
|
130
138
|
"ExportResourcesModal.includeAllLocales": {
|
|
131
139
|
developer_comment: "label for \"Include all locales\" checkbox",
|
|
132
140
|
string: "Alle Gebietsschemas auswählen"
|
|
@@ -149,7 +157,7 @@ var de = {
|
|
|
149
157
|
},
|
|
150
158
|
"ExportResourcesModal.modalTitle.category": {
|
|
151
159
|
developer_comment: "Label for the categories modal title",
|
|
152
|
-
string: "
|
|
160
|
+
string: "Kategorien exportieren"
|
|
153
161
|
},
|
|
154
162
|
"ExportResourcesModal.modalTitle.customer": {
|
|
155
163
|
developer_comment: "Label for the customers modal title",
|
|
@@ -169,7 +177,7 @@ var de = {
|
|
|
169
177
|
},
|
|
170
178
|
"ExportResourcesModal.modalTitle.product": {
|
|
171
179
|
developer_comment: "Label for the products modal title",
|
|
172
|
-
string: "
|
|
180
|
+
string: "Produkte exportieren"
|
|
173
181
|
},
|
|
174
182
|
"ExportResourcesModal.modalTitle.productType": {
|
|
175
183
|
developer_comment: "Label for the product types modal title",
|
|
@@ -33,13 +33,17 @@ var de = {
|
|
|
33
33
|
developer_comment: "Success message",
|
|
34
34
|
string: "<b>Der Export hat begonnen.</b> <newline></newline><logsLink>Gehen Sie zu Exportprotokolle</logsLink>, um den Fortschritt zu überprüfen und die Datei herunterzuladen."
|
|
35
35
|
},
|
|
36
|
+
"ExportResourcesModal.exportPreferences": {
|
|
37
|
+
developer_comment: "Label for preferences",
|
|
38
|
+
string: "Preferences"
|
|
39
|
+
},
|
|
36
40
|
"ExportResourcesModal.exportScope": {
|
|
37
41
|
developer_comment: "Label for Export Scope",
|
|
38
42
|
string: "Scope"
|
|
39
43
|
},
|
|
40
44
|
"ExportResourcesModal.exportScopeAllCategories": {
|
|
41
45
|
developer_comment: "Label for Export All categories",
|
|
42
|
-
string: "
|
|
46
|
+
string: "Alle exportierenl: {total} Kategorien"
|
|
43
47
|
},
|
|
44
48
|
"ExportResourcesModal.exportScopeAllCustomers": {
|
|
45
49
|
developer_comment: "Label for Export All customers",
|
|
@@ -59,7 +63,7 @@ var de = {
|
|
|
59
63
|
},
|
|
60
64
|
"ExportResourcesModal.exportScopeAllProducts": {
|
|
61
65
|
developer_comment: "Label for Export All products",
|
|
62
|
-
string: "
|
|
66
|
+
string: "Alle exportieren: {total} Produkte"
|
|
63
67
|
},
|
|
64
68
|
"ExportResourcesModal.exportScopeFilteredCategories": {
|
|
65
69
|
developer_comment: "Label for Export Filtered categories",
|
|
@@ -91,7 +95,7 @@ var de = {
|
|
|
91
95
|
},
|
|
92
96
|
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
93
97
|
developer_comment: "Label for Export Selected categories",
|
|
94
|
-
string: "
|
|
98
|
+
string: "Auswahl exportieren: {total} Kategorien"
|
|
95
99
|
},
|
|
96
100
|
"ExportResourcesModal.exportScopeSelectedCustomers": {
|
|
97
101
|
developer_comment: "Label for Export Selected customers",
|
|
@@ -111,7 +115,7 @@ var de = {
|
|
|
111
115
|
},
|
|
112
116
|
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
113
117
|
developer_comment: "Label for Export Selected products",
|
|
114
|
-
string: "
|
|
118
|
+
string: "Ausgewählte exportieren: {total} Produkte"
|
|
115
119
|
},
|
|
116
120
|
"ExportResourcesModal.exportScopeSelectedWithoutCount": {
|
|
117
121
|
developer_comment: "Label for Export Selected without count",
|
|
@@ -129,6 +133,10 @@ var de = {
|
|
|
129
133
|
developer_comment: "exported file name",
|
|
130
134
|
string: "Dateiname"
|
|
131
135
|
},
|
|
136
|
+
"ExportResourcesModal.fillRowsForOrderExport": {
|
|
137
|
+
developer_comment: "A checkbox label for filling rows for order export",
|
|
138
|
+
string: "Fill order number, id and states to all rows"
|
|
139
|
+
},
|
|
132
140
|
"ExportResourcesModal.includeAllLocales": {
|
|
133
141
|
developer_comment: "label for \"Include all locales\" checkbox",
|
|
134
142
|
string: "Alle Gebietsschemas auswählen"
|
|
@@ -151,7 +159,7 @@ var de = {
|
|
|
151
159
|
},
|
|
152
160
|
"ExportResourcesModal.modalTitle.category": {
|
|
153
161
|
developer_comment: "Label for the categories modal title",
|
|
154
|
-
string: "
|
|
162
|
+
string: "Kategorien exportieren"
|
|
155
163
|
},
|
|
156
164
|
"ExportResourcesModal.modalTitle.customer": {
|
|
157
165
|
developer_comment: "Label for the customers modal title",
|
|
@@ -171,7 +179,7 @@ var de = {
|
|
|
171
179
|
},
|
|
172
180
|
"ExportResourcesModal.modalTitle.product": {
|
|
173
181
|
developer_comment: "Label for the products modal title",
|
|
174
|
-
string: "
|
|
182
|
+
string: "Produkte exportieren"
|
|
175
183
|
},
|
|
176
184
|
"ExportResourcesModal.modalTitle.productType": {
|
|
177
185
|
developer_comment: "Label for the product types modal title",
|