@commercetools-frontend-extensions/import-resources-modal 1.6.2 → 1.6.3
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-28fc79a9.cjs.prod.js → active-drag-drop-area-373d643b.cjs.prod.js} +1 -1
- package/dist/{active-drag-drop-area-e6a52b5c.esm.js → active-drag-drop-area-4dc1357c.esm.js} +1 -1
- package/dist/{active-drag-drop-area-ee125188.cjs.dev.js → active-drag-drop-area-89acd82d.cjs.dev.js} +1 -1
- package/dist/commercetools-frontend-extensions-import-resources-modal.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-extensions-import-resources-modal.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-extensions-import-resources-modal.esm.js +1 -1
- package/dist/{enabled-drop-area-abfd8c83.cjs.prod.js → enabled-drop-area-86d22a1c.cjs.prod.js} +1 -1
- package/dist/{enabled-drop-area-2bcad823.cjs.dev.js → enabled-drop-area-a65a870a.cjs.dev.js} +1 -1
- package/dist/{enabled-drop-area-b4df5667.esm.js → enabled-drop-area-dd70e62e.esm.js} +1 -1
- package/dist/{file-dropped-area-445f81cc.cjs.dev.js → file-dropped-area-741b7c1f.cjs.dev.js} +1 -1
- package/dist/{file-dropped-area-a49369d9.esm.js → file-dropped-area-967a82f7.esm.js} +1 -1
- package/dist/{file-dropped-area-a734e8ef.cjs.prod.js → file-dropped-area-a5e8e576.cjs.prod.js} +1 -1
- package/dist/{index-38dc483c.cjs.prod.js → index-8cca2fab.cjs.prod.js} +118 -173
- package/dist/{index-71f84008.cjs.dev.js → index-ca3e541b.cjs.dev.js} +118 -173
- package/dist/{index-10b21cef.esm.js → index-e6460364.esm.js} +118 -173
- package/package.json +11 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-
|
|
3
|
+
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-8cca2fab.cjs.prod.js');
|
|
4
4
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
5
5
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
6
6
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
package/dist/{active-drag-drop-area-e6a52b5c.esm.js → active-drag-drop-area-4dc1357c.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FileDropped, E as EnabledDropArea } from './index-
|
|
1
|
+
import { F as FileDropped, E as EnabledDropArea } from './index-e6460364.esm.js';
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
4
4
|
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
package/dist/{active-drag-drop-area-ee125188.cjs.dev.js → active-drag-drop-area-89acd82d.cjs.dev.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-
|
|
3
|
+
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-ca3e541b.cjs.dev.js');
|
|
4
4
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
5
5
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
6
6
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-
|
|
5
|
+
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-ca3e541b.cjs.dev.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-
|
|
5
|
+
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-8cca2fab.cjs.prod.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as default, a as useImportPermission } from './index-
|
|
1
|
+
export { I as default, a as useImportPermission } from './index-e6460364.esm.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
4
4
|
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
package/dist/{enabled-drop-area-abfd8c83.cjs.prod.js → enabled-drop-area-86d22a1c.cjs.prod.js}
RENAMED
|
@@ -11,7 +11,7 @@ var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/obje
|
|
|
11
11
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
12
12
|
require('react');
|
|
13
13
|
var uiKit = require('@commercetools-frontend/ui-kit');
|
|
14
|
-
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-
|
|
14
|
+
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-8cca2fab.cjs.prod.js');
|
|
15
15
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/instance/every');
|
|
17
17
|
require('react-intl');
|
package/dist/{enabled-drop-area-2bcad823.cjs.dev.js → enabled-drop-area-a65a870a.cjs.dev.js}
RENAMED
|
@@ -11,7 +11,7 @@ var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/obje
|
|
|
11
11
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
12
12
|
require('react');
|
|
13
13
|
var uiKit = require('@commercetools-frontend/ui-kit');
|
|
14
|
-
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-
|
|
14
|
+
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-ca3e541b.cjs.dev.js');
|
|
15
15
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/instance/every');
|
|
17
17
|
require('react-intl');
|
|
@@ -9,7 +9,7 @@ import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object
|
|
|
9
9
|
import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
10
10
|
import 'react';
|
|
11
11
|
import { Spacings, Text, Link } from '@commercetools-frontend/ui-kit';
|
|
12
|
-
import { m as messages } from './index-
|
|
12
|
+
import { m as messages } from './index-e6460364.esm.js';
|
|
13
13
|
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
14
14
|
import '@babel/runtime-corejs3/core-js-stable/instance/every';
|
|
15
15
|
import 'react-intl';
|
package/dist/{file-dropped-area-445f81cc.cjs.dev.js → file-dropped-area-741b7c1f.cjs.dev.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var reactIntl = require('react-intl');
|
|
4
4
|
var uiKit = require('@commercetools-frontend/ui-kit');
|
|
5
|
-
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-
|
|
5
|
+
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-ca3e541b.cjs.dev.js');
|
|
6
6
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useIntl } from 'react-intl';
|
|
2
2
|
import { Spacings, PaperclipIcon, Constraints, Text, SecondaryButton } from '@commercetools-frontend/ui-kit';
|
|
3
|
-
import { u as useImportResourcesContext, m as messages } from './index-
|
|
3
|
+
import { u as useImportResourcesContext, m as messages } from './index-e6460364.esm.js';
|
|
4
4
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
5
5
|
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
6
6
|
import '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
package/dist/{file-dropped-area-a734e8ef.cjs.prod.js → file-dropped-area-a5e8e576.cjs.prod.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var reactIntl = require('react-intl');
|
|
4
4
|
var uiKit = require('@commercetools-frontend/ui-kit');
|
|
5
|
-
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-
|
|
5
|
+
var dist_commercetoolsFrontendExtensionsImportResourcesModal = require('./index-8cca2fab.cjs.prod.js');
|
|
6
6
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
@@ -754,13 +754,13 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
|
|
|
754
754
|
return /*#__PURE__*/react.css("" , "" );
|
|
755
755
|
}
|
|
756
756
|
|
|
757
|
-
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-
|
|
757
|
+
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-373d643b.cjs.prod.js' /* webpackChunkName: "active-drag-drop-area" */); }));
|
|
758
758
|
|
|
759
759
|
var DisabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./disabled-drop-area-99c1fa0b.cjs.prod.js' /* webpackChunkName: "disabled-drop-area" */); }));
|
|
760
760
|
|
|
761
|
-
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-
|
|
761
|
+
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-86d22a1c.cjs.prod.js' /* webpackChunkName: "enabled-drop-area" */); }));
|
|
762
762
|
|
|
763
|
-
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-
|
|
763
|
+
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-a5e8e576.cjs.prod.js' /* webpackChunkName: "filed-dropped-area" */); }));
|
|
764
764
|
|
|
765
765
|
function getDropArea(_ref) {
|
|
766
766
|
let dropAreaState = _ref.dropAreaState,
|
|
@@ -800,58 +800,48 @@ function getDropAreaState(flags) {
|
|
|
800
800
|
|
|
801
801
|
var messages$7 = reactIntl.defineMessages({
|
|
802
802
|
dragAndDropCSV: {
|
|
803
|
-
id:
|
|
804
|
-
|
|
805
|
-
defaultMessage: 'Drag and drop CSV'
|
|
803
|
+
id: "ImportResourcesModal.dragAndDropCSV",
|
|
804
|
+
defaultMessage: "Drag and drop CSV"
|
|
806
805
|
},
|
|
807
806
|
or: {
|
|
808
|
-
id:
|
|
809
|
-
|
|
810
|
-
defaultMessage: 'or'
|
|
807
|
+
id: "ImportResourcesModal.or",
|
|
808
|
+
defaultMessage: "or"
|
|
811
809
|
},
|
|
812
810
|
browseButton: {
|
|
813
|
-
id:
|
|
814
|
-
defaultMessage:
|
|
811
|
+
id: "ImportResourcesModal.browseFile",
|
|
812
|
+
defaultMessage: "Browse file"
|
|
815
813
|
},
|
|
816
814
|
uploadFile: {
|
|
817
|
-
id:
|
|
818
|
-
|
|
819
|
-
defaultMessage: 'Upload file'
|
|
815
|
+
id: "ImportResourcesModal.uploadFile",
|
|
816
|
+
defaultMessage: "Upload file"
|
|
820
817
|
},
|
|
821
818
|
chooseFile: {
|
|
822
|
-
id:
|
|
823
|
-
|
|
824
|
-
defaultMessage: 'Choose file'
|
|
819
|
+
id: "ImportResourcesModal.chooseFile",
|
|
820
|
+
defaultMessage: "Choose file"
|
|
825
821
|
},
|
|
826
822
|
fileUploadFailed: {
|
|
827
|
-
id:
|
|
828
|
-
|
|
829
|
-
defaultMessage: 'File upload failed'
|
|
823
|
+
id: "ImportResourcesModal.fileUploadFailed",
|
|
824
|
+
defaultMessage: "File upload failed"
|
|
830
825
|
},
|
|
831
826
|
fileFormatNotSupported: {
|
|
832
|
-
id:
|
|
833
|
-
|
|
834
|
-
defaultMessage: 'Invalid file format: The file is not in CSV format and cannot be processed.'
|
|
827
|
+
id: "ImportResourcesModal.fileFormatNotSupported",
|
|
828
|
+
defaultMessage: "Invalid file format: The file is not in CSV format and cannot be processed."
|
|
835
829
|
},
|
|
836
830
|
tooManyFilesError: {
|
|
837
|
-
id:
|
|
838
|
-
|
|
839
|
-
defaultMessage: 'Multiple files detected: You can only drag and drop one file at a time.'
|
|
831
|
+
id: "ImportResourcesModal.tooManyFilesError",
|
|
832
|
+
defaultMessage: "Multiple files detected: You can only drag and drop one file at a time."
|
|
840
833
|
},
|
|
841
834
|
genericError: {
|
|
842
|
-
id:
|
|
843
|
-
|
|
844
|
-
defaultMessage: 'Error occurred: Please try uploading the file again or contact our support team for assistance.'
|
|
835
|
+
id: "ImportResourcesModal.genericError",
|
|
836
|
+
defaultMessage: "Error occurred: Please try uploading the file again or contact our support team for assistance."
|
|
845
837
|
},
|
|
846
838
|
dataType: {
|
|
847
|
-
id:
|
|
848
|
-
|
|
849
|
-
defaultMessage: 'Data type'
|
|
839
|
+
id: "ImportResourcesModal.dataType",
|
|
840
|
+
defaultMessage: "Data type"
|
|
850
841
|
},
|
|
851
842
|
instructions: {
|
|
852
|
-
id:
|
|
853
|
-
|
|
854
|
-
defaultMessage: 'Instructions'
|
|
843
|
+
id: "ImportResourcesModal.instructions",
|
|
844
|
+
defaultMessage: "Instructions"
|
|
855
845
|
}
|
|
856
846
|
});
|
|
857
847
|
|
|
@@ -865,61 +855,52 @@ function useImportResourcesContext() {
|
|
|
865
855
|
|
|
866
856
|
var messages$6 = reactIntl.defineMessages({
|
|
867
857
|
fileSizeExceededTitle: {
|
|
868
|
-
id:
|
|
869
|
-
defaultMessage:
|
|
858
|
+
id: "ImportResourcesModal.sizeExceededTitle",
|
|
859
|
+
defaultMessage: "File size exceeded"
|
|
870
860
|
},
|
|
871
861
|
fileSizeExceededDescription: {
|
|
872
|
-
id:
|
|
873
|
-
|
|
874
|
-
defaultMessage: 'The file exceeds the maximum allowed size of {fileSizeLimit} MB'
|
|
862
|
+
id: "ImportResourcesModal.sizeExceededDescription",
|
|
863
|
+
defaultMessage: "The file exceeds the maximum allowed size of {fileSizeLimit} MB"
|
|
875
864
|
},
|
|
876
865
|
rowLimitExceededTitle: {
|
|
877
|
-
id:
|
|
878
|
-
defaultMessage:
|
|
866
|
+
id: "ImportResourcesModal.rowLimitExceededTitle",
|
|
867
|
+
defaultMessage: "Row limit exceeded"
|
|
879
868
|
},
|
|
880
869
|
rowLimitExceededDescription: {
|
|
881
|
-
id:
|
|
882
|
-
|
|
883
|
-
defaultMessage: 'The file contains more than the allowable maximum of {rowLimit} rows'
|
|
870
|
+
id: "ImportResourcesModal.rowLimitExceededDescription",
|
|
871
|
+
defaultMessage: "The file contains more than the allowable maximum of {rowLimit} rows"
|
|
884
872
|
},
|
|
885
873
|
dropAreaWrongDelimiterTitle: {
|
|
886
|
-
id:
|
|
887
|
-
defaultMessage:
|
|
874
|
+
id: "ImportResourcesModal.wrongDelimiterTitle",
|
|
875
|
+
defaultMessage: "Wrong delimiter"
|
|
888
876
|
},
|
|
889
877
|
dropAreaWrongDelimiterDescription: {
|
|
890
|
-
id:
|
|
891
|
-
|
|
892
|
-
defaultMessage: 'The file is using an incorrect delimiter. Please use comma (,) instead.'
|
|
878
|
+
id: "ImportResourcesModal.wrongDelimiterDescription",
|
|
879
|
+
defaultMessage: "The file is using an incorrect delimiter. Please use comma (,) instead."
|
|
893
880
|
},
|
|
894
881
|
dropAreaNotEnoughRowsTitle: {
|
|
895
|
-
id:
|
|
896
|
-
|
|
897
|
-
defaultMessage: 'Invalid CSV file'
|
|
882
|
+
id: "ImportResourcesModal.dropAreaNotEnoughRowsTitle",
|
|
883
|
+
defaultMessage: "Invalid CSV file"
|
|
898
884
|
},
|
|
899
885
|
dropAreaNotEnoughRowsDescription: {
|
|
900
|
-
id:
|
|
901
|
-
|
|
902
|
-
defaultMessage: 'Make sure the file contains a header and at least one row of data'
|
|
886
|
+
id: "ImportResourcesModal.dropAreaNotEnoughRowsDescription",
|
|
887
|
+
defaultMessage: "Make sure the file contains a header and at least one row of data"
|
|
903
888
|
},
|
|
904
889
|
unexpectedError: {
|
|
905
|
-
id:
|
|
906
|
-
|
|
907
|
-
defaultMessage: 'An unexpected error occurred during the file upload. Please try again, or contact support if this error occurs again.'
|
|
890
|
+
id: "ImportResourcesModal.unexpectedError",
|
|
891
|
+
defaultMessage: "An unexpected error occurred during the file upload. Please try again, or contact support if this error occurs again."
|
|
908
892
|
},
|
|
909
893
|
missingRequiredField: {
|
|
910
|
-
id:
|
|
911
|
-
|
|
912
|
-
defaultMessage: 'Missing required field'
|
|
894
|
+
id: "ImportResourcesModal.missingRequiredField",
|
|
895
|
+
defaultMessage: "Missing required field"
|
|
913
896
|
},
|
|
914
897
|
missingKeyError: {
|
|
915
|
-
id:
|
|
916
|
-
description: 'Error message displayed when the uploaded file is missing the key field',
|
|
898
|
+
id: "ImportResourcesModal.missingKeyError",
|
|
917
899
|
defaultMessage: "The 'key' field is missing or incomplete in some rows. Please ensure every row has a 'key' value."
|
|
918
900
|
},
|
|
919
901
|
missingRequiredKeys: {
|
|
920
|
-
id:
|
|
921
|
-
|
|
922
|
-
defaultMessage: 'Make sure the file contains required keys for the elements including {fieldNames}'
|
|
902
|
+
id: "ImportResourcesModal.missingRequiredKeys",
|
|
903
|
+
defaultMessage: "Make sure the file contains required keys for the elements including {fieldNames}"
|
|
923
904
|
}
|
|
924
905
|
});
|
|
925
906
|
|
|
@@ -1180,9 +1161,8 @@ const FileDropArea = () => {
|
|
|
1180
1161
|
|
|
1181
1162
|
var messages$5 = reactIntl.defineMessages({
|
|
1182
1163
|
publishProducts: {
|
|
1183
|
-
id:
|
|
1184
|
-
|
|
1185
|
-
defaultMessage: 'Publish all products in the file'
|
|
1164
|
+
id: "ImportResourcesModal.settings.publishProducts",
|
|
1165
|
+
defaultMessage: "Publish all products in the file"
|
|
1186
1166
|
}
|
|
1187
1167
|
});
|
|
1188
1168
|
|
|
@@ -1216,54 +1196,44 @@ const UploadSettings = () => {
|
|
|
1216
1196
|
|
|
1217
1197
|
var sharedMessages = reactIntl.defineMessages({
|
|
1218
1198
|
[`modalTitle.${IMPORTABLE_RESOURCES.CATEGORY}`]: {
|
|
1219
|
-
id:
|
|
1220
|
-
|
|
1221
|
-
defaultMessage: 'Import categories by CSV'
|
|
1199
|
+
id: "ImportResourcesModal.modalTitle.category",
|
|
1200
|
+
defaultMessage: "Import categories by CSV"
|
|
1222
1201
|
},
|
|
1223
1202
|
[`modalTitle.${IMPORTABLE_RESOURCES.PRODUCT}`]: {
|
|
1224
|
-
id:
|
|
1225
|
-
|
|
1226
|
-
defaultMessage: 'Import products by CSV'
|
|
1203
|
+
id: "ImportResourcesModal.modalTitle.product",
|
|
1204
|
+
defaultMessage: "Import products by CSV"
|
|
1227
1205
|
},
|
|
1228
1206
|
[`modalTitle.${IMPORTABLE_RESOURCES.INVENTORY}`]: {
|
|
1229
|
-
id:
|
|
1230
|
-
|
|
1231
|
-
defaultMessage: 'Import inventories by CSV'
|
|
1207
|
+
id: "ImportResourcesModal.modalTitle.inventoryEntry",
|
|
1208
|
+
defaultMessage: "Import inventories by CSV"
|
|
1232
1209
|
},
|
|
1233
1210
|
[`modalTitle.${IMPORTABLE_RESOURCES.DISCOUNT_CODE}`]: {
|
|
1234
|
-
id:
|
|
1235
|
-
|
|
1236
|
-
defaultMessage: 'Import discount codes by CSV'
|
|
1211
|
+
id: "ImportResourcesModal.modalTitle.discountCode",
|
|
1212
|
+
defaultMessage: "Import discount codes by CSV"
|
|
1237
1213
|
},
|
|
1238
1214
|
[`modalTitle.${IMPORTABLE_RESOURCES.CUSTOMER}`]: {
|
|
1239
|
-
id:
|
|
1240
|
-
|
|
1241
|
-
defaultMessage: 'Import customers by CSV'
|
|
1215
|
+
id: "ImportResourcesModal.modalTitle.customer",
|
|
1216
|
+
defaultMessage: "Import customers by CSV"
|
|
1242
1217
|
},
|
|
1243
1218
|
[`modalTitle.${IMPORTABLE_RESOURCES.ORDER}`]: {
|
|
1244
|
-
id:
|
|
1245
|
-
|
|
1246
|
-
defaultMessage: 'Import orders by CSV'
|
|
1219
|
+
id: "ImportResourcesModal.modalTitle.order",
|
|
1220
|
+
defaultMessage: "Import orders by CSV"
|
|
1247
1221
|
},
|
|
1248
1222
|
[`modalTitle.${IMPORTABLE_RESOURCES.PRODUCT_TYPE}`]: {
|
|
1249
|
-
id:
|
|
1250
|
-
|
|
1251
|
-
defaultMessage: 'Import product types by CSV'
|
|
1223
|
+
id: "ImportResourcesModal.modalTitle.productType",
|
|
1224
|
+
defaultMessage: "Import product types by CSV"
|
|
1252
1225
|
},
|
|
1253
1226
|
uploadButton: {
|
|
1254
|
-
id:
|
|
1255
|
-
|
|
1256
|
-
defaultMessage: 'Upload and preview'
|
|
1227
|
+
id: "ImportResourcesModal.uploadButton",
|
|
1228
|
+
defaultMessage: "Upload and preview"
|
|
1257
1229
|
},
|
|
1258
1230
|
cancel: {
|
|
1259
|
-
id:
|
|
1260
|
-
|
|
1261
|
-
defaultMessage: 'Cancel'
|
|
1231
|
+
id: "ImportResourcesModal.cancel",
|
|
1232
|
+
defaultMessage: "Cancel"
|
|
1262
1233
|
},
|
|
1263
1234
|
close: {
|
|
1264
|
-
id:
|
|
1265
|
-
|
|
1266
|
-
defaultMessage: 'Close'
|
|
1235
|
+
id: "ImportResourcesModal.close",
|
|
1236
|
+
defaultMessage: "Close"
|
|
1267
1237
|
}
|
|
1268
1238
|
});
|
|
1269
1239
|
|
|
@@ -1325,34 +1295,28 @@ const Upload = () => {
|
|
|
1325
1295
|
|
|
1326
1296
|
var messages$4 = reactIntl.defineMessages({
|
|
1327
1297
|
row: {
|
|
1328
|
-
id:
|
|
1329
|
-
|
|
1330
|
-
defaultMessage: 'Row'
|
|
1298
|
+
id: "ImportResourcesModal.row",
|
|
1299
|
+
defaultMessage: "Row"
|
|
1331
1300
|
},
|
|
1332
1301
|
errorType: {
|
|
1333
|
-
id:
|
|
1334
|
-
|
|
1335
|
-
defaultMessage: 'Error type'
|
|
1302
|
+
id: "ImportResourcesModal.errorType",
|
|
1303
|
+
defaultMessage: "Error type"
|
|
1336
1304
|
},
|
|
1337
1305
|
details: {
|
|
1338
|
-
id:
|
|
1339
|
-
|
|
1340
|
-
defaultMessage: 'Details'
|
|
1306
|
+
id: "ImportResourcesModal.details",
|
|
1307
|
+
defaultMessage: "Details"
|
|
1341
1308
|
},
|
|
1342
1309
|
uploadErrorDescription: {
|
|
1343
|
-
id:
|
|
1344
|
-
|
|
1345
|
-
defaultMessage: 'There {errorsCount, plural, one {is <b>{errorsCount}</b> error} other {are <b>{errorsCount}</b> errors}} detected while uploading the file <b>{fileName}</b>.'
|
|
1310
|
+
id: "ImportResourcesModal.uploadErrorDescription",
|
|
1311
|
+
defaultMessage: "There {errorsCount, plural, one {is <b>{errorsCount}</b> error} other {are <b>{errorsCount}</b> errors}} detected while uploading the file <b>{fileName}</b>."
|
|
1346
1312
|
},
|
|
1347
1313
|
supportedValuesDocumentation: {
|
|
1348
|
-
id:
|
|
1349
|
-
|
|
1350
|
-
defaultMessage: '<documentationLink>View the documentation</documentationLink> for supported values.'
|
|
1314
|
+
id: "ImportResourcesModal.supportedValuesDocumentation",
|
|
1315
|
+
defaultMessage: "<documentationLink>View the documentation</documentationLink> for supported values."
|
|
1351
1316
|
},
|
|
1352
1317
|
uploadNewFile: {
|
|
1353
|
-
id:
|
|
1354
|
-
|
|
1355
|
-
defaultMessage: 'Upload new file'
|
|
1318
|
+
id: "ImportResourcesModal.uploadNewFile",
|
|
1319
|
+
defaultMessage: "Upload new file"
|
|
1356
1320
|
}
|
|
1357
1321
|
});
|
|
1358
1322
|
|
|
@@ -1593,69 +1557,56 @@ function getBold$2(msg) {
|
|
|
1593
1557
|
|
|
1594
1558
|
var messages$3 = reactIntl.defineMessages({
|
|
1595
1559
|
startImportButton: {
|
|
1596
|
-
id:
|
|
1597
|
-
|
|
1598
|
-
defaultMessage: 'Start import'
|
|
1560
|
+
id: "ImportResourcesModal.startImportButton",
|
|
1561
|
+
defaultMessage: "Start import"
|
|
1599
1562
|
},
|
|
1600
1563
|
importNotificationSuccessMessage: {
|
|
1601
|
-
id:
|
|
1602
|
-
|
|
1603
|
-
defaultMessage: '<b>Your import has started.</b><newline></newline> <logsLink>Go to Import logs</logsLink> to view the progress.'
|
|
1564
|
+
id: "ImportResourcesModal.successMessage",
|
|
1565
|
+
defaultMessage: "<b>Your import has started.</b><newline></newline> <logsLink>Go to Import logs</logsLink> to view the progress."
|
|
1604
1566
|
},
|
|
1605
1567
|
importNotificationPrepareMessage: {
|
|
1606
|
-
id:
|
|
1607
|
-
|
|
1608
|
-
defaultMessage: '<b>Prepare import</b><newline></newline>Once preparation is complete, you can track the import progress <logsLink>in the Import logs</logsLink>.'
|
|
1568
|
+
id: "ImportResourcesModal.prepareMessage",
|
|
1569
|
+
defaultMessage: "<b>Prepare import</b><newline></newline>Once preparation is complete, you can track the import progress <logsLink>in the Import logs</logsLink>."
|
|
1609
1570
|
},
|
|
1610
1571
|
previewOfYourImport: {
|
|
1611
|
-
id:
|
|
1612
|
-
description: 'Label for modal path',
|
|
1572
|
+
id: "ImportResourcesModal.previewOfYourImport",
|
|
1613
1573
|
defaultMessage: "Here's a preview of your import"
|
|
1614
1574
|
},
|
|
1615
1575
|
rowsToBeImported: {
|
|
1616
|
-
id:
|
|
1617
|
-
|
|
1618
|
-
defaultMessage: '{rowCount, plural, one {<b>1</b> row to be imported} other {<b>{rowCount}</b> rows to be imported}}{publish, select, true { and published} other {}}'
|
|
1576
|
+
id: "ImportResourcesModal.rowsToBeImported",
|
|
1577
|
+
defaultMessage: "{rowCount, plural, one {<b>1</b> row to be imported} other {<b>{rowCount}</b> rows to be imported}}{publish, select, true { and published} other {}}"
|
|
1619
1578
|
},
|
|
1620
1579
|
columnsToBeImported: {
|
|
1621
|
-
id:
|
|
1622
|
-
|
|
1623
|
-
defaultMessage: '<b>{columnCount}</b> columns to be imported'
|
|
1580
|
+
id: "ImportResourcesModal.columnsToBeImported",
|
|
1581
|
+
defaultMessage: "<b>{columnCount}</b> columns to be imported"
|
|
1624
1582
|
},
|
|
1625
1583
|
columnsToBeIgnored: {
|
|
1626
|
-
id:
|
|
1627
|
-
description: "This message indicates the number of columns that will be deliberately skipped during the import because they can't be imported",
|
|
1584
|
+
id: "ImportResourcesModal.columnsToBeIgnored",
|
|
1628
1585
|
defaultMessage: "We will intentionally ignore <b>{columnCount}</b> columns as they can't be imported"
|
|
1629
1586
|
},
|
|
1630
1587
|
showMore: {
|
|
1631
|
-
id:
|
|
1632
|
-
|
|
1633
|
-
defaultMessage: 'Show more'
|
|
1588
|
+
id: "ImportResourcesModal.showMore",
|
|
1589
|
+
defaultMessage: "Show more"
|
|
1634
1590
|
},
|
|
1635
1591
|
showLess: {
|
|
1636
|
-
id:
|
|
1637
|
-
|
|
1638
|
-
defaultMessage: 'Show less'
|
|
1592
|
+
id: "ImportResourcesModal.showLess",
|
|
1593
|
+
defaultMessage: "Show less"
|
|
1639
1594
|
},
|
|
1640
1595
|
continue: {
|
|
1641
|
-
id:
|
|
1642
|
-
|
|
1643
|
-
defaultMessage: 'Continue'
|
|
1596
|
+
id: "ImportResourcesModal.continue",
|
|
1597
|
+
defaultMessage: "Continue"
|
|
1644
1598
|
},
|
|
1645
1599
|
confirmationBodyText: {
|
|
1646
|
-
id:
|
|
1647
|
-
|
|
1648
|
-
defaultMessage: 'You are about to import {count, plural, one {<bold>1</bold> row} other {<bold>{count}</bold> rows}} in the project: <bold>{projectName}</bold>.'
|
|
1600
|
+
id: "ImportResourcesModal.confirmationBodyText",
|
|
1601
|
+
defaultMessage: "You are about to import {count, plural, one {<bold>1</bold> row} other {<bold>{count}</bold> rows}} in the project: <bold>{projectName}</bold>."
|
|
1649
1602
|
},
|
|
1650
1603
|
confirmationBodyNote: {
|
|
1651
|
-
id:
|
|
1652
|
-
|
|
1653
|
-
defaultMessage: 'Please be aware that existing values with the same keys will be overwritten by the data included in the CSV.'
|
|
1604
|
+
id: "ImportResourcesModal.confirmationBodyNote",
|
|
1605
|
+
defaultMessage: "Please be aware that existing values with the same keys will be overwritten by the data included in the CSV."
|
|
1654
1606
|
},
|
|
1655
1607
|
confirmationBodyQuestion: {
|
|
1656
|
-
id:
|
|
1657
|
-
|
|
1658
|
-
defaultMessage: 'Proceed with the import?'
|
|
1608
|
+
id: "ImportResourcesModal.confirmationBodyQuestion",
|
|
1609
|
+
defaultMessage: "Proceed with the import?"
|
|
1659
1610
|
}
|
|
1660
1611
|
});
|
|
1661
1612
|
|
|
@@ -2058,19 +2009,16 @@ const CurrentStep = () => {
|
|
|
2058
2009
|
|
|
2059
2010
|
var messages$2 = reactIntl.defineMessages({
|
|
2060
2011
|
products: {
|
|
2061
|
-
id:
|
|
2062
|
-
|
|
2063
|
-
defaultMessage: 'Products (including variants, assets, prices and images)'
|
|
2012
|
+
id: "ImportResourcesModal.radio.products",
|
|
2013
|
+
defaultMessage: "Products (including variants, assets, prices and images)"
|
|
2064
2014
|
},
|
|
2065
2015
|
inventories: {
|
|
2066
|
-
id:
|
|
2067
|
-
|
|
2068
|
-
defaultMessage: 'Inventories'
|
|
2016
|
+
id: "ImportResourcesModal.radio.inventories",
|
|
2017
|
+
defaultMessage: "Inventories"
|
|
2069
2018
|
},
|
|
2070
2019
|
categories: {
|
|
2071
|
-
id:
|
|
2072
|
-
|
|
2073
|
-
defaultMessage: 'Categories'
|
|
2020
|
+
id: "ImportResourcesModal.radio.categories",
|
|
2021
|
+
defaultMessage: "Categories"
|
|
2074
2022
|
}
|
|
2075
2023
|
});
|
|
2076
2024
|
|
|
@@ -2111,9 +2059,8 @@ const ResourceTypeSelection = () => {
|
|
|
2111
2059
|
|
|
2112
2060
|
var messages$1 = reactIntl.defineMessages({
|
|
2113
2061
|
fileUploadInstructions: {
|
|
2114
|
-
id:
|
|
2115
|
-
|
|
2116
|
-
defaultMessage: 'Maximum file size is {fileSize} MB with a limit of {rowLimit} rows. Download <csvTemplateLink>the CSV template</csvTemplateLink> or refer to <documentationLink>the documentation</documentationLink>.'
|
|
2062
|
+
id: "ImportResourcesModal.fileUploadInstructions",
|
|
2063
|
+
defaultMessage: "Maximum file size is {fileSize} MB with a limit of {rowLimit} rows. Download <csvTemplateLink>the CSV template</csvTemplateLink> or refer to <documentationLink>the documentation</documentationLink>."
|
|
2117
2064
|
}
|
|
2118
2065
|
});
|
|
2119
2066
|
|
|
@@ -2149,14 +2096,12 @@ const Instructions = () => {
|
|
|
2149
2096
|
|
|
2150
2097
|
var messages = reactIntl.defineMessages({
|
|
2151
2098
|
prerequisitesOfImportingData: {
|
|
2152
|
-
id:
|
|
2153
|
-
|
|
2154
|
-
defaultMessage: 'Prerequisites of importing data'
|
|
2099
|
+
id: "ImportResourcesModal.infoBox.prerequisitesOfImportingData",
|
|
2100
|
+
defaultMessage: "Prerequisites of importing data"
|
|
2155
2101
|
},
|
|
2156
2102
|
keysForEveryResource: {
|
|
2157
|
-
id:
|
|
2158
|
-
|
|
2159
|
-
defaultMessage: 'You must provide keys for every resource you import, including embedded resources such as Prices and Assets. Please consult with your admins to assign keys through <link>the HTTP API</link>.'
|
|
2103
|
+
id: "ImportResourcesModal.infoBox.keysForEveryResource",
|
|
2104
|
+
defaultMessage: "You must provide keys for every resource you import, including embedded resources such as Prices and Assets. Please consult with your admins to assign keys through <link>the HTTP API</link>."
|
|
2160
2105
|
}
|
|
2161
2106
|
});
|
|
2162
2107
|
|