@commercetools-frontend-extensions/export-resources-modal 4.0.1 → 4.0.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.
@@ -586,10 +586,8 @@ async function createExportOperation(_ref) {
586
586
  locales = _ref.locales,
587
587
  filters = _ref.filters,
588
588
  asyncDispatchFn = _ref.asyncDispatchFn;
589
- const uri = "/proxy/export/".concat(projectKey, "/export-operations");
589
+ const uri = "/".concat(projectKey, "/export-operations");
590
590
  const response = await asyncDispatchFn(sdk.actions.post({
591
- // FIXME: EXPORT is undefined
592
- // @ts-ignore
593
591
  mcApiProxyTarget: constants.MC_API_PROXY_TARGETS.EXPORT,
594
592
  uri: uri,
595
593
  headers: {
@@ -1174,7 +1172,7 @@ const CurrentStep = () => {
1174
1172
  return steps[currentStep] || null;
1175
1173
  };
1176
1174
 
1177
- const loadMessages = locale => {
1175
+ const getChunkImport = locale => {
1178
1176
  const intlLocale = i18n.mapLocaleToIntlLocale(locale);
1179
1177
  switch (intlLocale) {
1180
1178
  case 'de':
@@ -1190,15 +1188,13 @@ const loadMessages = locale => {
1190
1188
  case 'pt-BR':
1191
1189
  return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-ea6b3251.cjs.dev.js'); });
1192
1190
  default:
1193
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-6b3694f6.cjs.dev.js'); });
1191
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-30e710ff.cjs.dev.js'); });
1194
1192
  }
1195
1193
  };
1196
-
1197
- // eslint-disable-next-line import/prefer-default-export
1198
- const loadI18n = async locale => {
1194
+ const loadMessages = async locale => {
1199
1195
  try {
1200
- const messages = await loadMessages(locale);
1201
- return messages.default || messages;
1196
+ const chunkImport = await getChunkImport(locale);
1197
+ return i18n.parseChunkImport(chunkImport);
1202
1198
  } catch (error) {
1203
1199
  // eslint-disable-next-line no-console
1204
1200
  console.warn("Something went wrong while loading the export-resources-modal messages for ".concat(locale), error);
@@ -1251,7 +1247,7 @@ const ExportResourcesModal = props => {
1251
1247
  locale: context.user && context.user.locale
1252
1248
  })),
1253
1249
  locale = _useApplicationContex.locale;
1254
- const messages = useAsyncIntlMessages('en', loadI18n);
1250
+ const messages = useAsyncIntlMessages(locale, loadMessages);
1255
1251
  if (!props.isOpen || messages.isLoading) return null;
1256
1252
  return jsxRuntime.jsx(reactIntl.IntlProvider, {
1257
1253
  locale: locale,
@@ -585,10 +585,8 @@ async function createExportOperation(_ref) {
585
585
  locales = _ref.locales,
586
586
  filters = _ref.filters,
587
587
  asyncDispatchFn = _ref.asyncDispatchFn;
588
- const uri = "/proxy/export/".concat(projectKey, "/export-operations");
588
+ const uri = "/".concat(projectKey, "/export-operations");
589
589
  const response = await asyncDispatchFn(sdk.actions.post({
590
- // FIXME: EXPORT is undefined
591
- // @ts-ignore
592
590
  mcApiProxyTarget: constants.MC_API_PROXY_TARGETS.EXPORT,
593
591
  uri: uri,
594
592
  headers: {
@@ -1157,7 +1155,7 @@ const CurrentStep = () => {
1157
1155
  return steps[currentStep] || null;
1158
1156
  };
1159
1157
 
1160
- const loadMessages = locale => {
1158
+ const getChunkImport = locale => {
1161
1159
  const intlLocale = i18n.mapLocaleToIntlLocale(locale);
1162
1160
  switch (intlLocale) {
1163
1161
  case 'de':
@@ -1173,15 +1171,13 @@ const loadMessages = locale => {
1173
1171
  case 'pt-BR':
1174
1172
  return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-ec2a1a11.cjs.prod.js'); });
1175
1173
  default:
1176
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-c7757448.cjs.prod.js'); });
1174
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-7a050c00.cjs.prod.js'); });
1177
1175
  }
1178
1176
  };
1179
-
1180
- // eslint-disable-next-line import/prefer-default-export
1181
- const loadI18n = async locale => {
1177
+ const loadMessages = async locale => {
1182
1178
  try {
1183
- const messages = await loadMessages(locale);
1184
- return messages.default || messages;
1179
+ const chunkImport = await getChunkImport(locale);
1180
+ return i18n.parseChunkImport(chunkImport);
1185
1181
  } catch (error) {
1186
1182
  // eslint-disable-next-line no-console
1187
1183
  console.warn("Something went wrong while loading the export-resources-modal messages for ".concat(locale), error);
@@ -1234,7 +1230,7 @@ const ExportResourcesModal = props => {
1234
1230
  locale: context.user && context.user.locale
1235
1231
  })),
1236
1232
  locale = _useApplicationContex.locale;
1237
- const messages = useAsyncIntlMessages('en', loadI18n);
1233
+ const messages = useAsyncIntlMessages(locale, loadMessages);
1238
1234
  if (!props.isOpen || messages.isLoading) return null;
1239
1235
  return jsxRuntime.jsx(reactIntl.IntlProvider, {
1240
1236
  locale: locale,
@@ -47,7 +47,7 @@ import get from 'lodash/get';
47
47
  import PropTypes from 'prop-types';
48
48
  import { useFormik } from 'formik';
49
49
  import { reportErrorToSentry } from '@commercetools-frontend/sentry';
50
- import { mapLocaleToIntlLocale } from '@commercetools-frontend/i18n';
50
+ import { parseChunkImport, mapLocaleToIntlLocale } from '@commercetools-frontend/i18n';
51
51
 
52
52
  function getBold(msg) {
53
53
  return jsx(Text.Body, {
@@ -550,10 +550,8 @@ async function createExportOperation(_ref) {
550
550
  locales = _ref.locales,
551
551
  filters = _ref.filters,
552
552
  asyncDispatchFn = _ref.asyncDispatchFn;
553
- const uri = "/proxy/export/".concat(projectKey, "/export-operations");
553
+ const uri = "/".concat(projectKey, "/export-operations");
554
554
  const response = await asyncDispatchFn(actions.post({
555
- // FIXME: EXPORT is undefined
556
- // @ts-ignore
557
555
  mcApiProxyTarget: MC_API_PROXY_TARGETS.EXPORT,
558
556
  uri: uri,
559
557
  headers: {
@@ -1138,7 +1136,7 @@ const CurrentStep = () => {
1138
1136
  return steps[currentStep] || null;
1139
1137
  };
1140
1138
 
1141
- const loadMessages = locale => {
1139
+ const getChunkImport = locale => {
1142
1140
  const intlLocale = mapLocaleToIntlLocale(locale);
1143
1141
  switch (intlLocale) {
1144
1142
  case 'de':
@@ -1154,15 +1152,13 @@ const loadMessages = locale => {
1154
1152
  case 'pt-BR':
1155
1153
  return import( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-b37d730b.esm.js');
1156
1154
  default:
1157
- return import( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-3a9aa2d4.esm.js');
1155
+ return import( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-1f28eeaa.esm.js');
1158
1156
  }
1159
1157
  };
1160
-
1161
- // eslint-disable-next-line import/prefer-default-export
1162
- const loadI18n = async locale => {
1158
+ const loadMessages = async locale => {
1163
1159
  try {
1164
- const messages = await loadMessages(locale);
1165
- return messages.default || messages;
1160
+ const chunkImport = await getChunkImport(locale);
1161
+ return parseChunkImport(chunkImport);
1166
1162
  } catch (error) {
1167
1163
  // eslint-disable-next-line no-console
1168
1164
  console.warn("Something went wrong while loading the export-resources-modal messages for ".concat(locale), error);
@@ -1215,7 +1211,7 @@ const ExportResourcesModal = props => {
1215
1211
  locale: context.user && context.user.locale
1216
1212
  })),
1217
1213
  locale = _useApplicationContex.locale;
1218
- const messages = useAsyncIntlMessages('en', loadI18n);
1214
+ const messages = useAsyncIntlMessages(locale, loadMessages);
1219
1215
  if (!props.isOpen || messages.isLoading) return null;
1220
1216
  return jsx(IntlProvider, {
1221
1217
  locale: locale,
@@ -0,0 +1,123 @@
1
+ var en = {
2
+ "ExportResourcesModal.back": {
3
+ developer_comment: "Label for \"Back\" button",
4
+ string: "Back"
5
+ },
6
+ "ExportResourcesModal.checkTheSpelling": {
7
+ developer_comment: "In Export fields selection - Check the spelling message",
8
+ string: "Check the spelling."
9
+ },
10
+ "ExportResourcesModal.continue": {
11
+ developer_comment: "Label for \"Continue\" button",
12
+ string: "Continue"
13
+ },
14
+ "ExportResourcesModal.exportAllMessage": {
15
+ developer_comment: "All resources will be exported",
16
+ string: "All <b>{count}</b> {resourceType} will be exported."
17
+ },
18
+ "ExportResourcesModal.exportAllResources": {
19
+ developer_comment: "Export All selection",
20
+ string: "Export all {resourceType} ({count})"
21
+ },
22
+ "ExportResourcesModal.exportBasedOnMyViewsMessage": {
23
+ developer_comment: "Select Export setttings based on my views",
24
+ string: "Select export settings based on:"
25
+ },
26
+ "ExportResourcesModal.exportMatchingMessage": {
27
+ developer_comment: "resources will be exported",
28
+ string: "<b>{count}</b> {resourceType} will be exported."
29
+ },
30
+ "ExportResourcesModal.exportOnlySelectedResources": {
31
+ developer_comment: "Export only selected resources",
32
+ string: "Export selected {resourceType} ({count})"
33
+ },
34
+ "ExportResourcesModal.exportOperationSuccessMessage": {
35
+ developer_comment: "Success message",
36
+ string: "<b>Your export has started.</b> <newline></newline><logsLink>Go to Export logs</logsLink> to view the progress and download the file."
37
+ },
38
+ "ExportResourcesModal.exportSelectedMessage": {
39
+ developer_comment: "resources are selected and will be exported",
40
+ string: "<b>{count}</b> {resourceType} are selected and will be exported."
41
+ },
42
+ "ExportResourcesModal.exportSelection": {
43
+ developer_comment: "Export selection",
44
+ string: "Export selection"
45
+ },
46
+ "ExportResourcesModal.fieldDefinitions": {
47
+ developer_comment: "Label for \"Field definitions\" link",
48
+ string: "Field definitions"
49
+ },
50
+ "ExportResourcesModal.fileName": {
51
+ developer_comment: "exported file name",
52
+ string: "File name"
53
+ },
54
+ "ExportResourcesModal.invalidFileNameError": {
55
+ developer_comment: "Error when file name field is not valid",
56
+ string: "File name may only contain alphanumeric characters, hyphens and underscores"
57
+ },
58
+ "ExportResourcesModal.locale": {
59
+ developer_comment: "Locale",
60
+ string: "Locale"
61
+ },
62
+ "ExportResourcesModal.missingFileNameError": {
63
+ developer_comment: "Error when file name field is missing",
64
+ string: "Please enter a file name"
65
+ },
66
+ "ExportResourcesModal.missingLocaleError": {
67
+ developer_comment: "Error when no locale is selected",
68
+ string: "Please select at least one locale"
69
+ },
70
+ "ExportResourcesModal.modalTitle": {
71
+ developer_comment: "Label for the modal title",
72
+ string: "Export {resourceType}"
73
+ },
74
+ "ExportResourcesModal.myViews": {
75
+ developer_comment: "Label for \"My Views\" Select Field",
76
+ string: "My Views"
77
+ },
78
+ "ExportResourcesModal.nothingApplied": {
79
+ developer_comment: "Shown when there is no filter applied",
80
+ string: "nothing applied"
81
+ },
82
+ "ExportResourcesModal.outputFormat": {
83
+ developer_comment: "File format like (csv, xls, ...etc)",
84
+ string: "File format"
85
+ },
86
+ "ExportResourcesModal.propertiesPanelLabel": {
87
+ developer_comment: "properties panel label",
88
+ string: "Properties"
89
+ },
90
+ "ExportResourcesModal.searchByEnteringTheExactFieldName": {
91
+ developer_comment: "In Export fields selection - Search by entering the exact field name message",
92
+ string: "Try searching by entering the exact field name."
93
+ },
94
+ "ExportResourcesModal.searchForFields": {
95
+ developer_comment: "Placeholder for \"Search for fields\" search input",
96
+ string: "Search for fields"
97
+ },
98
+ "ExportResourcesModal.selectAllLocales": {
99
+ developer_comment: "label for \"Select all locales\" checkbox",
100
+ string: "Select all locales"
101
+ },
102
+ "ExportResourcesModal.selectFieldsToExport": {
103
+ string: "Select fields to export"
104
+ },
105
+ "ExportResourcesModal.startExport": {
106
+ developer_comment: "Label for \"Start export\" button",
107
+ string: "Start export"
108
+ },
109
+ "ExportResourcesModal.suggestions": {
110
+ developer_comment: "In Export fields selection - Suggestions message",
111
+ string: "Suggestions:"
112
+ },
113
+ "ExportResourcesModal.thereAreNoResults": {
114
+ developer_comment: "No search results message",
115
+ string: "There are no results that match your search."
116
+ },
117
+ "ExportResourcesModal.unexpectedError": {
118
+ developer_comment: "Generic notification message when starting export process fails",
119
+ string: "An error occurred while starting the export process. Please try again or contact support if the problem persists."
120
+ }
121
+ };
122
+
123
+ export { en as default };
@@ -0,0 +1,125 @@
1
+ 'use strict';
2
+
3
+ var en = {
4
+ "ExportResourcesModal.back": {
5
+ developer_comment: "Label for \"Back\" button",
6
+ string: "Back"
7
+ },
8
+ "ExportResourcesModal.checkTheSpelling": {
9
+ developer_comment: "In Export fields selection - Check the spelling message",
10
+ string: "Check the spelling."
11
+ },
12
+ "ExportResourcesModal.continue": {
13
+ developer_comment: "Label for \"Continue\" button",
14
+ string: "Continue"
15
+ },
16
+ "ExportResourcesModal.exportAllMessage": {
17
+ developer_comment: "All resources will be exported",
18
+ string: "All <b>{count}</b> {resourceType} will be exported."
19
+ },
20
+ "ExportResourcesModal.exportAllResources": {
21
+ developer_comment: "Export All selection",
22
+ string: "Export all {resourceType} ({count})"
23
+ },
24
+ "ExportResourcesModal.exportBasedOnMyViewsMessage": {
25
+ developer_comment: "Select Export setttings based on my views",
26
+ string: "Select export settings based on:"
27
+ },
28
+ "ExportResourcesModal.exportMatchingMessage": {
29
+ developer_comment: "resources will be exported",
30
+ string: "<b>{count}</b> {resourceType} will be exported."
31
+ },
32
+ "ExportResourcesModal.exportOnlySelectedResources": {
33
+ developer_comment: "Export only selected resources",
34
+ string: "Export selected {resourceType} ({count})"
35
+ },
36
+ "ExportResourcesModal.exportOperationSuccessMessage": {
37
+ developer_comment: "Success message",
38
+ string: "<b>Your export has started.</b> <newline></newline><logsLink>Go to Export logs</logsLink> to view the progress and download the file."
39
+ },
40
+ "ExportResourcesModal.exportSelectedMessage": {
41
+ developer_comment: "resources are selected and will be exported",
42
+ string: "<b>{count}</b> {resourceType} are selected and will be exported."
43
+ },
44
+ "ExportResourcesModal.exportSelection": {
45
+ developer_comment: "Export selection",
46
+ string: "Export selection"
47
+ },
48
+ "ExportResourcesModal.fieldDefinitions": {
49
+ developer_comment: "Label for \"Field definitions\" link",
50
+ string: "Field definitions"
51
+ },
52
+ "ExportResourcesModal.fileName": {
53
+ developer_comment: "exported file name",
54
+ string: "File name"
55
+ },
56
+ "ExportResourcesModal.invalidFileNameError": {
57
+ developer_comment: "Error when file name field is not valid",
58
+ string: "File name may only contain alphanumeric characters, hyphens and underscores"
59
+ },
60
+ "ExportResourcesModal.locale": {
61
+ developer_comment: "Locale",
62
+ string: "Locale"
63
+ },
64
+ "ExportResourcesModal.missingFileNameError": {
65
+ developer_comment: "Error when file name field is missing",
66
+ string: "Please enter a file name"
67
+ },
68
+ "ExportResourcesModal.missingLocaleError": {
69
+ developer_comment: "Error when no locale is selected",
70
+ string: "Please select at least one locale"
71
+ },
72
+ "ExportResourcesModal.modalTitle": {
73
+ developer_comment: "Label for the modal title",
74
+ string: "Export {resourceType}"
75
+ },
76
+ "ExportResourcesModal.myViews": {
77
+ developer_comment: "Label for \"My Views\" Select Field",
78
+ string: "My Views"
79
+ },
80
+ "ExportResourcesModal.nothingApplied": {
81
+ developer_comment: "Shown when there is no filter applied",
82
+ string: "nothing applied"
83
+ },
84
+ "ExportResourcesModal.outputFormat": {
85
+ developer_comment: "File format like (csv, xls, ...etc)",
86
+ string: "File format"
87
+ },
88
+ "ExportResourcesModal.propertiesPanelLabel": {
89
+ developer_comment: "properties panel label",
90
+ string: "Properties"
91
+ },
92
+ "ExportResourcesModal.searchByEnteringTheExactFieldName": {
93
+ developer_comment: "In Export fields selection - Search by entering the exact field name message",
94
+ string: "Try searching by entering the exact field name."
95
+ },
96
+ "ExportResourcesModal.searchForFields": {
97
+ developer_comment: "Placeholder for \"Search for fields\" search input",
98
+ string: "Search for fields"
99
+ },
100
+ "ExportResourcesModal.selectAllLocales": {
101
+ developer_comment: "label for \"Select all locales\" checkbox",
102
+ string: "Select all locales"
103
+ },
104
+ "ExportResourcesModal.selectFieldsToExport": {
105
+ string: "Select fields to export"
106
+ },
107
+ "ExportResourcesModal.startExport": {
108
+ developer_comment: "Label for \"Start export\" button",
109
+ string: "Start export"
110
+ },
111
+ "ExportResourcesModal.suggestions": {
112
+ developer_comment: "In Export fields selection - Suggestions message",
113
+ string: "Suggestions:"
114
+ },
115
+ "ExportResourcesModal.thereAreNoResults": {
116
+ developer_comment: "No search results message",
117
+ string: "There are no results that match your search."
118
+ },
119
+ "ExportResourcesModal.unexpectedError": {
120
+ developer_comment: "Generic notification message when starting export process fails",
121
+ string: "An error occurred while starting the export process. Please try again or contact support if the problem persists."
122
+ }
123
+ };
124
+
125
+ exports["default"] = en;
@@ -0,0 +1,125 @@
1
+ 'use strict';
2
+
3
+ var en = {
4
+ "ExportResourcesModal.back": {
5
+ developer_comment: "Label for \"Back\" button",
6
+ string: "Back"
7
+ },
8
+ "ExportResourcesModal.checkTheSpelling": {
9
+ developer_comment: "In Export fields selection - Check the spelling message",
10
+ string: "Check the spelling."
11
+ },
12
+ "ExportResourcesModal.continue": {
13
+ developer_comment: "Label for \"Continue\" button",
14
+ string: "Continue"
15
+ },
16
+ "ExportResourcesModal.exportAllMessage": {
17
+ developer_comment: "All resources will be exported",
18
+ string: "All <b>{count}</b> {resourceType} will be exported."
19
+ },
20
+ "ExportResourcesModal.exportAllResources": {
21
+ developer_comment: "Export All selection",
22
+ string: "Export all {resourceType} ({count})"
23
+ },
24
+ "ExportResourcesModal.exportBasedOnMyViewsMessage": {
25
+ developer_comment: "Select Export setttings based on my views",
26
+ string: "Select export settings based on:"
27
+ },
28
+ "ExportResourcesModal.exportMatchingMessage": {
29
+ developer_comment: "resources will be exported",
30
+ string: "<b>{count}</b> {resourceType} will be exported."
31
+ },
32
+ "ExportResourcesModal.exportOnlySelectedResources": {
33
+ developer_comment: "Export only selected resources",
34
+ string: "Export selected {resourceType} ({count})"
35
+ },
36
+ "ExportResourcesModal.exportOperationSuccessMessage": {
37
+ developer_comment: "Success message",
38
+ string: "<b>Your export has started.</b> <newline></newline><logsLink>Go to Export logs</logsLink> to view the progress and download the file."
39
+ },
40
+ "ExportResourcesModal.exportSelectedMessage": {
41
+ developer_comment: "resources are selected and will be exported",
42
+ string: "<b>{count}</b> {resourceType} are selected and will be exported."
43
+ },
44
+ "ExportResourcesModal.exportSelection": {
45
+ developer_comment: "Export selection",
46
+ string: "Export selection"
47
+ },
48
+ "ExportResourcesModal.fieldDefinitions": {
49
+ developer_comment: "Label for \"Field definitions\" link",
50
+ string: "Field definitions"
51
+ },
52
+ "ExportResourcesModal.fileName": {
53
+ developer_comment: "exported file name",
54
+ string: "File name"
55
+ },
56
+ "ExportResourcesModal.invalidFileNameError": {
57
+ developer_comment: "Error when file name field is not valid",
58
+ string: "File name may only contain alphanumeric characters, hyphens and underscores"
59
+ },
60
+ "ExportResourcesModal.locale": {
61
+ developer_comment: "Locale",
62
+ string: "Locale"
63
+ },
64
+ "ExportResourcesModal.missingFileNameError": {
65
+ developer_comment: "Error when file name field is missing",
66
+ string: "Please enter a file name"
67
+ },
68
+ "ExportResourcesModal.missingLocaleError": {
69
+ developer_comment: "Error when no locale is selected",
70
+ string: "Please select at least one locale"
71
+ },
72
+ "ExportResourcesModal.modalTitle": {
73
+ developer_comment: "Label for the modal title",
74
+ string: "Export {resourceType}"
75
+ },
76
+ "ExportResourcesModal.myViews": {
77
+ developer_comment: "Label for \"My Views\" Select Field",
78
+ string: "My Views"
79
+ },
80
+ "ExportResourcesModal.nothingApplied": {
81
+ developer_comment: "Shown when there is no filter applied",
82
+ string: "nothing applied"
83
+ },
84
+ "ExportResourcesModal.outputFormat": {
85
+ developer_comment: "File format like (csv, xls, ...etc)",
86
+ string: "File format"
87
+ },
88
+ "ExportResourcesModal.propertiesPanelLabel": {
89
+ developer_comment: "properties panel label",
90
+ string: "Properties"
91
+ },
92
+ "ExportResourcesModal.searchByEnteringTheExactFieldName": {
93
+ developer_comment: "In Export fields selection - Search by entering the exact field name message",
94
+ string: "Try searching by entering the exact field name."
95
+ },
96
+ "ExportResourcesModal.searchForFields": {
97
+ developer_comment: "Placeholder for \"Search for fields\" search input",
98
+ string: "Search for fields"
99
+ },
100
+ "ExportResourcesModal.selectAllLocales": {
101
+ developer_comment: "label for \"Select all locales\" checkbox",
102
+ string: "Select all locales"
103
+ },
104
+ "ExportResourcesModal.selectFieldsToExport": {
105
+ string: "Select fields to export"
106
+ },
107
+ "ExportResourcesModal.startExport": {
108
+ developer_comment: "Label for \"Start export\" button",
109
+ string: "Start export"
110
+ },
111
+ "ExportResourcesModal.suggestions": {
112
+ developer_comment: "In Export fields selection - Suggestions message",
113
+ string: "Suggestions:"
114
+ },
115
+ "ExportResourcesModal.thereAreNoResults": {
116
+ developer_comment: "No search results message",
117
+ string: "There are no results that match your search."
118
+ },
119
+ "ExportResourcesModal.unexpectedError": {
120
+ developer_comment: "Generic notification message when starting export process fails",
121
+ string: "An error occurred while starting the export process. Please try again or contact support if the problem persists."
122
+ }
123
+ };
124
+
125
+ exports["default"] = en;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-frontend-extensions/export-resources-modal",
3
3
  "description": "Shared export modal for exporting resources",
4
- "version": "4.0.1",
4
+ "version": "4.0.3",
5
5
  "license": "BSD-3-Clause",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -30,17 +30,17 @@
30
30
  "react": "17.0.2"
31
31
  },
32
32
  "devDependencies": {
33
- "@commercetools-frontend/actions-global": "22.25.1",
34
- "@commercetools-frontend/application-components": "22.25.1",
35
- "@commercetools-frontend/application-shell": "22.25.1",
36
- "@commercetools-frontend/application-shell-connectors": "22.25.1",
37
- "@commercetools-frontend/constants": "22.25.1",
38
- "@commercetools-frontend/i18n": "22.25.1",
39
- "@commercetools-frontend/jest-preset-mc-app": "22.25.1",
40
- "@commercetools-frontend/sdk": "22.25.1",
41
- "@commercetools-frontend/sentry": "22.25.1",
42
- "@commercetools-frontend/ui-kit": "19.3.0",
43
- "@commercetools-uikit/design-system": "19.3.0",
33
+ "@commercetools-frontend/actions-global": "22.27.0",
34
+ "@commercetools-frontend/application-components": "22.27.0",
35
+ "@commercetools-frontend/application-shell": "22.27.0",
36
+ "@commercetools-frontend/application-shell-connectors": "22.27.0",
37
+ "@commercetools-frontend/constants": "22.27.0",
38
+ "@commercetools-frontend/i18n": "22.27.0",
39
+ "@commercetools-frontend/jest-preset-mc-app": "22.27.0",
40
+ "@commercetools-frontend/sdk": "22.27.0",
41
+ "@commercetools-frontend/sentry": "22.27.0",
42
+ "@commercetools-frontend/ui-kit": "19.3.1",
43
+ "@commercetools-uikit/design-system": "19.3.1",
44
44
  "@preconstruct/cli": "2.8.4",
45
45
  "@types/jest": "29.5.12",
46
46
  "@types/testing-library__jest-dom": "^5.14.5",
@@ -1,4 +0,0 @@
1
- var en = {
2
- };
3
-
4
- export { en as default };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var en = {
4
- };
5
-
6
- exports["default"] = en;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var en = {
4
- };
5
-
6
- exports["default"] = en;