@commercetools-frontend-extensions/unpublish-products-modal 1.2.2 → 1.2.4

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.
Files changed (19) hide show
  1. package/dist/{active-drag-drop-area-5709c481.esm.js → active-drag-drop-area-272fc575.esm.js} +1 -1
  2. package/dist/{active-drag-drop-area-dfc9a24c.cjs.dev.js → active-drag-drop-area-d4747efc.cjs.dev.js} +1 -1
  3. package/dist/{active-drag-drop-area-2b23a825.cjs.prod.js → active-drag-drop-area-fc551a0e.cjs.prod.js} +1 -1
  4. package/dist/commercetools-frontend-extensions-unpublish-products-modal.cjs.dev.js +1 -1
  5. package/dist/commercetools-frontend-extensions-unpublish-products-modal.cjs.prod.js +1 -1
  6. package/dist/commercetools-frontend-extensions-unpublish-products-modal.esm.js +1 -1
  7. package/dist/enabled-drop-area-a750ea18.cjs.prod.js +70 -0
  8. package/dist/enabled-drop-area-c3902695.esm.js +68 -0
  9. package/dist/enabled-drop-area-c750b6ba.cjs.dev.js +70 -0
  10. package/dist/{file-dropped-area-f44849bb.cjs.dev.js → file-dropped-area-0d73f0f6.cjs.dev.js} +8 -8
  11. package/dist/{file-dropped-area-ca26707f.cjs.prod.js → file-dropped-area-23cc482a.cjs.prod.js} +8 -8
  12. package/dist/{file-dropped-area-0f0a223c.esm.js → file-dropped-area-dad90f26.esm.js} +8 -8
  13. package/dist/{index-46884b7c.cjs.dev.js → index-21e8e348.cjs.dev.js} +80 -70
  14. package/dist/{index-a2de9e0c.esm.js → index-7a25a6ee.esm.js} +80 -71
  15. package/dist/{index-85708701.cjs.prod.js → index-a2aa0229.cjs.prod.js} +80 -70
  16. package/package.json +39 -39
  17. package/dist/enabled-drop-area-755a9ef6.cjs.dev.js +0 -114
  18. package/dist/enabled-drop-area-9209d2ac.cjs.prod.js +0 -114
  19. package/dist/enabled-drop-area-a1d62139.esm.js +0 -101
@@ -41,24 +41,24 @@ import { createHttpClientOptions, buildApiUrl } from '@commercetools-frontend/ap
41
41
  import _sliceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/slice';
42
42
  import { parseChunkImport, mapLocaleToIntlLocale } from '@commercetools-frontend/i18n';
43
43
 
44
- function ownKeys$a(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; }
45
- function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$a(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$a(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
44
+ function ownKeys$b(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; }
45
+ function _objectSpread$b(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$b(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$b(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
46
46
  function reducer(state, action) {
47
- if (action.type === 'setCurrentStep') return _objectSpread$a(_objectSpread$a({}, state), {}, {
47
+ if (action.type === 'setCurrentStep') return _objectSpread$b(_objectSpread$b({}, state), {}, {
48
48
  currentStep: action.currentStep,
49
49
  progress: 0
50
50
  });
51
- if (action.type === 'setContainerKey') return _objectSpread$a(_objectSpread$a({}, state), {}, {
51
+ if (action.type === 'setContainerKey') return _objectSpread$b(_objectSpread$b({}, state), {}, {
52
52
  containerKey: action.containerKey
53
53
  });
54
- if (action.type === 'cancelImport') return _objectSpread$a(_objectSpread$a({}, state), {}, {
54
+ if (action.type === 'cancelImport') return _objectSpread$b(_objectSpread$b({}, state), {}, {
55
55
  currentStep: 'upload',
56
56
  containerKey: undefined,
57
57
  droppedFile: undefined,
58
58
  dropAreaState: 'ready-for-drop',
59
59
  progress: 0
60
60
  });
61
- if (action.type === 'uploadNewFile') return _objectSpread$a(_objectSpread$a({}, state), {}, {
61
+ if (action.type === 'uploadNewFile') return _objectSpread$b(_objectSpread$b({}, state), {}, {
62
62
  currentStep: 'upload',
63
63
  containerKey: undefined,
64
64
  droppedFile: undefined,
@@ -66,27 +66,27 @@ function reducer(state, action) {
66
66
  progress: 0
67
67
  });
68
68
  if (action.type === 'setDroppedFile') {
69
- return _objectSpread$a(_objectSpread$a({}, state), {}, {
69
+ return _objectSpread$b(_objectSpread$b({}, state), {}, {
70
70
  droppedFile: action.droppedFile
71
71
  });
72
72
  }
73
73
  if (action.type === 'setAbortController') {
74
- return _objectSpread$a(_objectSpread$a({}, state), {}, {
74
+ return _objectSpread$b(_objectSpread$b({}, state), {}, {
75
75
  abortController: action.abortController
76
76
  });
77
77
  }
78
78
  if (action.type === 'setProgress') {
79
- return _objectSpread$a(_objectSpread$a({}, state), {}, {
79
+ return _objectSpread$b(_objectSpread$b({}, state), {}, {
80
80
  progress: action.progress
81
81
  });
82
82
  }
83
83
  if (action.type === 'setUploadFileResponse') {
84
- return _objectSpread$a(_objectSpread$a({}, state), {}, {
84
+ return _objectSpread$b(_objectSpread$b({}, state), {}, {
85
85
  uploadFileResponse: action.uploadFileResponse
86
86
  });
87
87
  }
88
88
  if (action.type === 'setFileUploadErrors') {
89
- return _objectSpread$a(_objectSpread$a({}, state), {}, {
89
+ return _objectSpread$b(_objectSpread$b({}, state), {}, {
90
90
  fileUploadErrors: action.fileUploadErrors
91
91
  });
92
92
  }
@@ -147,6 +147,8 @@ function getProccessFileURL(projectKey, containerKey) {
147
147
  return `/${projectKey}/products/import-containers/${containerKey}/process-file`;
148
148
  }
149
149
 
150
+ function ownKeys$a(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; }
151
+ function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$a(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$a(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
150
152
  function createImportContainerForFileUpload(importContainerDraft, projectKey, asyncDispatch) {
151
153
  return asyncDispatch(actions.post({
152
154
  mcApiProxyTarget: MC_API_PROXY_TARGETS.IMPORT,
@@ -155,7 +157,14 @@ function createImportContainerForFileUpload(importContainerDraft, projectKey, as
155
157
  accept: 'application/json',
156
158
  'Content-Type': 'application/json'
157
159
  },
158
- payload: _JSON$stringify(importContainerDraft)
160
+ payload: _JSON$stringify(_objectSpread$a({
161
+ retentionPolicy: {
162
+ strategy: 'ttl',
163
+ config: {
164
+ timeToLive: '54h' // 2 days and 6 hours
165
+ }
166
+ }
167
+ }, importContainerDraft))
159
168
  }));
160
169
  }
161
170
  function deleteImportContainer(projectKey, containerKey, asyncDispatch) {
@@ -226,7 +235,7 @@ const hasSingleKeyColumn = file => {
226
235
  preview: 1,
227
236
  complete: results => {
228
237
  const fields = results?.meta?.fields;
229
- resolve(fields.length === 1 && fields[0] === 'key');
238
+ resolve(fields?.length === 1 && fields[0] === 'key');
230
239
  }
231
240
  });
232
241
  });
@@ -392,11 +401,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
392
401
  return /*#__PURE__*/css(process.env.NODE_ENV === "production" ? "" : ";label:getDefaultDropWrapperStyles;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRyb3AtYXJlYS13cmFwcGVyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5QlkiLCJmaWxlIjoiZHJvcC1hcmVhLXdyYXBwZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgdHlwZSBEcm9wem9uZVJvb3RQcm9wcyB9IGZyb20gJ3JlYWN0LWRyb3B6b25lJ1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IHN0eWxlcyB9IGZyb20gJy4vc3R5bGVzJ1xuaW1wb3J0IHsgdHlwZSBEcm9wQXJlYVN0YXRlIH0gZnJvbSAnLi4vLi4vLi4vQHR5cGVzJ1xuXG5pbnRlcmZhY2UgRHJvcFdyYXBwZXJQcm9wcyBleHRlbmRzIERyb3B6b25lUm9vdFByb3BzIHtcbiAgZHJvcEFyZWFTdGF0ZTogRHJvcEFyZWFTdGF0ZVxufVxuZXhwb3J0IGNvbnN0IERyb3BXcmFwcGVyID0gc3R5bGVkLmRpdjxEcm9wV3JhcHBlclByb3BzPmBcbiAgJHtzdHlsZXMuYmFzZX1cbiAgJHsocHJvcHMpID0+IHtcbiAgICBpZiAocHJvcHMuZHJvcEFyZWFTdGF0ZSA9PT0gJ3JlYWR5LWZvci1kcm9wJykge1xuICAgICAgcmV0dXJuIHN0eWxlcy5yZWFkeUZvckRyb3BcbiAgICB9XG4gICAgaWYgKHByb3BzLmRyb3BBcmVhU3RhdGUgPT09ICdhY3RpdmUtZHJhZycpIHtcbiAgICAgIHJldHVybiBzdHlsZXMuYWN0aXZlRHJhZ1xuICAgIH1cbiAgICBpZiAocHJvcHMuZHJvcEFyZWFTdGF0ZSA9PT0gJ2ZpbGUtZHJvcHBlZCcpIHtcbiAgICAgIHJldHVybiBzdHlsZXMuZmlsZURyb3BwZWRcbiAgICB9XG4gICAgcmV0dXJuIGdldERlZmF1bHREcm9wV3JhcHBlclN0eWxlcyhwcm9wcy5kcm9wQXJlYVN0YXRlKVxuICB9fVxuYFxuZnVuY3Rpb24gZ2V0RGVmYXVsdERyb3BXcmFwcGVyU3R5bGVzKF9kcm9wQXJlYVN0YXRlOiBuZXZlcikge1xuICByZXR1cm4gY3NzYGBcbn1cbiJdfQ== */");
393
402
  }
394
403
 
395
- var ActiveDragDropArea = /*#__PURE__*/lazy(() => import('./active-drag-drop-area-5709c481.esm.js' /* webpackChunkName: "active-drag-drop-area" */));
404
+ var ActiveDragDropArea = /*#__PURE__*/lazy(() => import('./active-drag-drop-area-272fc575.esm.js'));
396
405
 
397
- var EnabledDropArea = /*#__PURE__*/lazy(() => import('./enabled-drop-area-a1d62139.esm.js' /* webpackChunkName: "enabled-drop-area" */));
406
+ var EnabledDropArea = /*#__PURE__*/lazy(() => import('./enabled-drop-area-c3902695.esm.js'));
398
407
 
399
- var FileDropped = /*#__PURE__*/lazy(() => import('./file-dropped-area-0f0a223c.esm.js' /* webpackChunkName: "filed-dropped-area" */));
408
+ var FileDropped = /*#__PURE__*/lazy(() => import('./file-dropped-area-dad90f26.esm.js'));
400
409
 
401
410
  function getDropArea(_ref) {
402
411
  let dropAreaState = _ref.dropAreaState,
@@ -957,39 +966,6 @@ const Upload = () => {
957
966
  });
958
967
  };
959
968
 
960
- 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; }
961
- 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; }
962
- var FileIcon = function FileIcon(props) {
963
- return jsxs("svg", _objectSpread$5(_objectSpread$5({}, props), {}, {
964
- children: [jsx("mask", {
965
- id: "a",
966
- style: {
967
- maskType: "alpha"
968
- },
969
- maskUnits: "userSpaceOnUse",
970
- x: "0",
971
- y: "0",
972
- width: "32",
973
- height: "32",
974
- children: jsx("path", {
975
- fill: "#D9D9D9",
976
- d: "M0 0h32v32H0z"
977
- })
978
- }), jsx("g", {
979
- mask: "url(#a)",
980
- children: jsx("path", {
981
- d: "M14.667 25.333h2.666v-5.566l2.134 2.133 1.866-1.9L16 14.667 10.667 20l1.9 1.867 2.1-2.1v5.566Zm-6.667 4a2.568 2.568 0 0 1-1.883-.783 2.568 2.568 0 0 1-.784-1.883V5.333c0-.733.261-1.36.784-1.883A2.568 2.568 0 0 1 8 2.667h10.667l8 8v16c0 .733-.261 1.36-.784 1.883a2.568 2.568 0 0 1-1.883.783H8ZM17.333 12H24l-6.667-6.667V12Z",
982
- fill: "#B1ACFF"
983
- })
984
- })]
985
- }));
986
- };
987
- FileIcon.defaultProps = {
988
- width: "32",
989
- height: "32",
990
- fill: "none",
991
- xmlns: "http://www.w3.org/2000/svg"
992
- };
993
969
  const Uploading = () => {
994
970
  const intl = useIntl();
995
971
  const _useUnpublishProducts = useUnpublishProductsContext(),
@@ -1064,15 +1040,15 @@ var messages$1 = defineMessages({
1064
1040
  }
1065
1041
  });
1066
1042
 
1067
- 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; }
1068
- function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$4(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$4(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
1043
+ 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; }
1044
+ function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$5(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$5(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
1069
1045
  const getColumns = () => [{
1070
1046
  key: 'errorType',
1071
- label: jsx(FormattedMessage, _objectSpread$4({}, messages$1.errorType)),
1047
+ label: jsx(FormattedMessage, _objectSpread$5({}, messages$1.errorType)),
1072
1048
  width: 'max-content'
1073
1049
  }, {
1074
1050
  key: 'details',
1075
- label: jsx(FormattedMessage, _objectSpread$4({}, messages$1.details))
1051
+ label: jsx(FormattedMessage, _objectSpread$5({}, messages$1.details))
1076
1052
  }];
1077
1053
  const UploadErrorTable = props => {
1078
1054
  var _context;
@@ -1115,8 +1091,8 @@ function itemRenderer(item, column) {
1115
1091
  }
1116
1092
  }
1117
1093
 
1118
- function ownKeys$3(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; }
1119
- function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$3(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$3(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
1094
+ 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; }
1095
+ 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; }
1120
1096
  const UploadErrorsModal = () => {
1121
1097
  const intl = useIntl();
1122
1098
  const _useUnpublishProducts = useUnpublishProductsContext(),
@@ -1134,7 +1110,7 @@ const UploadErrorsModal = () => {
1134
1110
  scale: "l",
1135
1111
  children: [jsx(Masking.Mask, {
1136
1112
  children: jsx(Text.Body, {
1137
- intlMessage: _objectSpread$3(_objectSpread$3({}, messages$1.uploadErrorDescription), {}, {
1113
+ intlMessage: _objectSpread$4(_objectSpread$4({}, messages$1.uploadErrorDescription), {}, {
1138
1114
  values: {
1139
1115
  fileName: state.droppedFile?.name,
1140
1116
  errorsCount: intl.formatNumber(errorsCount),
@@ -1206,8 +1182,8 @@ var messages = defineMessages({
1206
1182
  }
1207
1183
  });
1208
1184
 
1209
- function ownKeys$2(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; }
1210
- function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$2(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$2(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
1185
+ function ownKeys$3(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; }
1186
+ function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$3(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$3(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
1211
1187
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
1212
1188
  const getNewLine = () => jsx("br", {}, "break");
1213
1189
  const getImportLogsLink = (msg, projectKey) => jsx(Link, {
@@ -1225,7 +1201,7 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
1225
1201
  const ImportRunningTextNotification = props => jsx("div", {
1226
1202
  css: _ref2,
1227
1203
  children: jsx(Text.Body, {
1228
- intlMessage: _objectSpread$2(_objectSpread$2({}, messages.importStarted), {}, {
1204
+ intlMessage: _objectSpread$3(_objectSpread$3({}, messages.importStarted), {}, {
1229
1205
  values: {
1230
1206
  newline: getNewLine,
1231
1207
  logsLink: msg => getImportLogsLink(msg, props.projectKey),
@@ -1245,7 +1221,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
1245
1221
  const ImportPreparingTextNotification = props => jsx("div", {
1246
1222
  css: _ref,
1247
1223
  children: jsx(Text.Body, {
1248
- intlMessage: _objectSpread$2(_objectSpread$2({}, messages.preparingImport), {}, {
1224
+ intlMessage: _objectSpread$3(_objectSpread$3({}, messages.preparingImport), {}, {
1249
1225
  values: {
1250
1226
  newline: getNewLine,
1251
1227
  logsLink: msg => getImportLogsLink(msg, props.projectKey),
@@ -1329,7 +1305,7 @@ const UnpublishProductsConfirmationModal = () => {
1329
1305
  children: jsxs(Spacings.Stack, {
1330
1306
  scale: "xl",
1331
1307
  children: [jsx(Text.Body, {
1332
- intlMessage: _objectSpread$2(_objectSpread$2({}, messages.confirmationText), {}, {
1308
+ intlMessage: _objectSpread$3(_objectSpread$3({}, messages.confirmationText), {}, {
1333
1309
  values: {
1334
1310
  projectName: projectName,
1335
1311
  // TODO: Replace with actual count
@@ -1352,8 +1328,8 @@ function getBold$1(msg) {
1352
1328
  }, crypto.randomUUID());
1353
1329
  }
1354
1330
 
1355
- function ownKeys$1(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; }
1356
- function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$1(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$1(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
1331
+ function ownKeys$2(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; }
1332
+ function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$2(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$2(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
1357
1333
  function UploadPreviewModal() {
1358
1334
  const _useUnpublishProducts = useUnpublishProductsContext(),
1359
1335
  state = _useUnpublishProducts.state,
@@ -1387,7 +1363,7 @@ function UploadPreviewModal() {
1387
1363
  size: "40",
1388
1364
  color: "neutral60"
1389
1365
  }), jsx(Text.Body, {
1390
- intlMessage: _objectSpread$1(_objectSpread$1({}, messages.productsToBeUnpublished), {}, {
1366
+ intlMessage: _objectSpread$2(_objectSpread$2({}, messages.productsToBeUnpublished), {}, {
1391
1367
  values: {
1392
1368
  count: intl.formatNumber(state.uploadFileResponse?.rowsCount),
1393
1369
  b: getBold
@@ -1420,21 +1396,54 @@ const CurrentStep = () => {
1420
1396
  return steps[state.currentStep] || null;
1421
1397
  };
1422
1398
 
1399
+ function ownKeys$1(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; }
1400
+ function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$1(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$1(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
1401
+ const FileIcon = props => jsxs("svg", _objectSpread$1(_objectSpread$1({
1402
+ width: "32",
1403
+ height: "32",
1404
+ viewBox: "0 0 32 32",
1405
+ fill: "none",
1406
+ xmlns: "http://www.w3.org/2000/svg"
1407
+ }, props), {}, {
1408
+ children: [jsx("mask", {
1409
+ id: "mask0_17_6643",
1410
+ style: {
1411
+ maskType: 'alpha'
1412
+ },
1413
+ maskUnits: "userSpaceOnUse",
1414
+ x: "0",
1415
+ y: "0",
1416
+ width: "32",
1417
+ height: "32",
1418
+ children: jsx("rect", {
1419
+ width: "32",
1420
+ height: "32",
1421
+ fill: "#D9D9D9"
1422
+ })
1423
+ }), jsx("g", {
1424
+ mask: "url(#mask0_17_6643)",
1425
+ children: jsx("path", {
1426
+ d: "M14.6667 25.3333H17.3333V19.7667L19.4667 21.9L21.3333 20L16 14.6667L10.6667 20L12.5667 21.8667L14.6667 19.7667V25.3333ZM8 29.3333C7.26667 29.3333 6.63889 29.0722 6.11667 28.55C5.59444 28.0278 5.33333 27.4 5.33333 26.6667V5.33332C5.33333 4.59999 5.59444 3.97221 6.11667 3.44999C6.63889 2.92777 7.26667 2.66666 8 2.66666H18.6667L26.6667 10.6667V26.6667C26.6667 27.4 26.4056 28.0278 25.8833 28.55C25.3611 29.0722 24.7333 29.3333 24 29.3333H8ZM17.3333 12H24L17.3333 5.33332V12Z",
1427
+ fill: "#B1ACFF"
1428
+ })
1429
+ })]
1430
+ }));
1431
+
1423
1432
  const getChunkImport = locale => {
1424
1433
  const intlLocale = mapLocaleToIntlLocale(locale);
1425
1434
  switch (intlLocale) {
1426
1435
  case 'de':
1427
- return import(/* webpackChunkName: "unpublish-products-modal-i18n-de" */'./de-985804ff.esm.js');
1436
+ return import('./de-985804ff.esm.js');
1428
1437
  case 'es':
1429
- return import(/* webpackChunkName: "unpublish-products-modal-i18n-es" */'./es-ddb13dad.esm.js');
1438
+ return import('./es-ddb13dad.esm.js');
1430
1439
  case 'fr-FR':
1431
- return import(/* webpackChunkName: "unpublish-products-modal-i18n-fr-FR" */'./fr-FR-ef84bd8b.esm.js');
1440
+ return import('./fr-FR-ef84bd8b.esm.js');
1432
1441
  case 'ja':
1433
- return import(/* webpackChunkName: "unpublish-products-modal-i18n-ja" */'./ja-73c088a7.esm.js');
1442
+ return import('./ja-73c088a7.esm.js');
1434
1443
  case 'pt-BR':
1435
- return import(/* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-f693f646.esm.js');
1444
+ return import('./pt-BR-f693f646.esm.js');
1436
1445
  default:
1437
- return import(/* webpackChunkName: "unpublish-products-modal-i18n-en" */'./en-5727e1f9.esm.js');
1446
+ return import('./en-5727e1f9.esm.js');
1438
1447
  }
1439
1448
  };
1440
1449
  const loadMessages = async locale => {
@@ -1505,4 +1514,4 @@ const UnpublishProductsModal = props => {
1505
1514
  };
1506
1515
  UnpublishProductsModal.displayName = 'UnpublishProductsModal';
1507
1516
 
1508
- export { EnabledDropArea as E, FileDropped as F, UnpublishProductsModal as U, messages$4 as m, useUnpublishProductsContext as u };
1517
+ export { EnabledDropArea as E, FileDropped as F, UnpublishProductsModal as U, FileIcon as a, messages$4 as m, useUnpublishProductsContext as u };