@commercetools-frontend-extensions/delete-resources-modal 1.0.1 → 1.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.
@@ -255,144 +255,116 @@ let UnexpectedResourceTypeError = /*#__PURE__*/function (_Error) {
255
255
 
256
256
  var sharedMessages = reactIntl.defineMessages({
257
257
  deleteModalTitle: {
258
- id: 'DeleteResourcesModal.deleteModalTitle',
259
- description: 'The title of the modal',
260
- defaultMessage: 'Bulk delete via CSV'
258
+ id: "DeleteResourcesModal.deleteModalTitle",
259
+ defaultMessage: "Bulk delete via CSV"
261
260
  },
262
261
  startBulkDelete: {
263
- id: 'DeleteResourcesModal.startBulkDelete',
264
- description: 'Start bulk delete button',
265
- defaultMessage: 'Start bulk delete'
262
+ id: "DeleteResourcesModal.startBulkDelete",
263
+ defaultMessage: "Start bulk delete"
266
264
  },
267
265
  cancel: {
268
- id: 'DeleteResourcesModal.cancel',
269
- description: 'The label for the cancel button',
270
- defaultMessage: 'Cancel'
266
+ id: "DeleteResourcesModal.cancel",
267
+ defaultMessage: "Cancel"
271
268
  },
272
269
  product: {
273
- id: 'DeleteResourcesModal.product',
274
- description: 'Label for the product resource type',
275
- defaultMessage: 'product'
270
+ id: "DeleteResourcesModal.product",
271
+ defaultMessage: "product"
276
272
  },
277
273
  products: {
278
- id: 'DeleteResourcesModal.products',
279
- description: 'Plural form of product',
280
- defaultMessage: 'products'
274
+ id: "DeleteResourcesModal.products",
275
+ defaultMessage: "products"
281
276
  },
282
277
  inventory: {
283
- id: 'DeleteResourcesModal.inventory',
284
- description: 'Label for the inventory entry resource type',
285
- defaultMessage: 'inventory entry'
278
+ id: "DeleteResourcesModal.inventory",
279
+ defaultMessage: "inventory entry"
286
280
  },
287
281
  inventories: {
288
- id: 'DeleteResourcesModal.inventories',
289
- description: 'Plural form of inventory entry',
290
- defaultMessage: 'inventory entries'
282
+ id: "DeleteResourcesModal.inventories",
283
+ defaultMessage: "inventory entries"
291
284
  },
292
285
  category: {
293
- id: 'DeleteResourcesModal.category',
294
- description: 'Label for the category resource type',
295
- defaultMessage: 'category'
286
+ id: "DeleteResourcesModal.category",
287
+ defaultMessage: "category"
296
288
  },
297
289
  categories: {
298
- id: 'DeleteResourcesModal.categories',
299
- description: 'Plural form of category',
300
- defaultMessage: 'categories'
290
+ id: "DeleteResourcesModal.categories",
291
+ defaultMessage: "categories"
301
292
  },
302
293
  customer: {
303
- id: 'DeleteResourcesModal.customer',
304
- description: 'Label for the customer resource type',
305
- defaultMessage: 'customer'
294
+ id: "DeleteResourcesModal.customer",
295
+ defaultMessage: "customer"
306
296
  },
307
297
  customers: {
308
- id: 'DeleteResourcesModal.customers',
309
- description: 'Plural form of customer',
310
- defaultMessage: 'customers'
298
+ id: "DeleteResourcesModal.customers",
299
+ defaultMessage: "customers"
311
300
  },
312
301
  order: {
313
- id: 'DeleteResourcesModal.order',
314
- description: 'Label for the order resource type',
315
- defaultMessage: 'order'
302
+ id: "DeleteResourcesModal.order",
303
+ defaultMessage: "order"
316
304
  },
317
305
  orders: {
318
- id: 'DeleteResourcesModal.orders',
319
- description: 'Plural form of order',
320
- defaultMessage: 'orders'
306
+ id: "DeleteResourcesModal.orders",
307
+ defaultMessage: "orders"
321
308
  },
322
309
  price: {
323
- id: 'DeleteResourcesModal.price',
324
- description: 'Label for the price resource type',
325
- defaultMessage: 'price'
310
+ id: "DeleteResourcesModal.price",
311
+ defaultMessage: "price"
326
312
  },
327
313
  prices: {
328
- id: 'DeleteResourcesModal.prices',
329
- description: 'Plural form of price',
330
- defaultMessage: 'prices'
314
+ id: "DeleteResourcesModal.prices",
315
+ defaultMessage: "prices"
331
316
  },
332
317
  'product-draft': {
333
- id: 'DeleteResourcesModal.product-draft',
334
- description: 'Label for the product-draft resource type',
335
- defaultMessage: 'product draft'
318
+ id: "DeleteResourcesModal.product-draft",
319
+ defaultMessage: "product draft"
336
320
  },
337
321
  'product-drafts': {
338
- id: 'DeleteResourcesModal.product-drafts',
339
- description: 'Plural form of product draft',
340
- defaultMessage: 'product drafts'
322
+ id: "DeleteResourcesModal.product-drafts",
323
+ defaultMessage: "product drafts"
341
324
  },
342
325
  'product-type': {
343
- id: 'DeleteResourcesModal.product-type',
344
- description: 'Label for the product-type resource type',
345
- defaultMessage: 'product type'
326
+ id: "DeleteResourcesModal.product-type",
327
+ defaultMessage: "product type"
346
328
  },
347
329
  'product-types': {
348
- id: 'DeleteResourcesModal.product-types',
349
- description: 'Plural form of product type',
350
- defaultMessage: 'product types'
330
+ id: "DeleteResourcesModal.product-types",
331
+ defaultMessage: "product types"
351
332
  },
352
333
  'product-variant': {
353
- id: 'DeleteResourcesModal.product-variant',
354
- description: 'Label for the product-variant resource type',
355
- defaultMessage: 'product variant'
334
+ id: "DeleteResourcesModal.product-variant",
335
+ defaultMessage: "product variant"
356
336
  },
357
337
  'product-variants': {
358
- id: 'DeleteResourcesModal.product-variants',
359
- description: 'Plural form of product variant',
360
- defaultMessage: 'product variants'
338
+ id: "DeleteResourcesModal.product-variants",
339
+ defaultMessage: "product variants"
361
340
  },
362
341
  'product-variant-patch': {
363
- id: 'DeleteResourcesModal.product-variant-patch',
364
- description: 'Label for the product-variant-patch resource type',
365
- defaultMessage: 'product variant patch'
342
+ id: "DeleteResourcesModal.product-variant-patch",
343
+ defaultMessage: "product variant patch"
366
344
  },
367
345
  'product-variant-patches': {
368
- id: 'DeleteResourcesModal.product-variant-patches',
369
- description: 'Plural form of product variant patch',
370
- defaultMessage: 'product variant patches'
346
+ id: "DeleteResourcesModal.product-variant-patches",
347
+ defaultMessage: "product variant patches"
371
348
  },
372
349
  'standalone-price': {
373
- id: 'DeleteResourcesModal.standalone-price',
374
- description: 'Label for the standalone-price resource type',
375
- defaultMessage: 'standalone price'
350
+ id: "DeleteResourcesModal.standalone-price",
351
+ defaultMessage: "standalone price"
376
352
  },
377
353
  'standalone-prices': {
378
- id: 'DeleteResourcesModal.standalone-prices',
379
- description: 'Plural form of standalone price',
380
- defaultMessage: 'standalone prices'
354
+ id: "DeleteResourcesModal.standalone-prices",
355
+ defaultMessage: "standalone prices"
381
356
  },
382
357
  'discount-code': {
383
- id: 'DeleteResourcesModal.discount-code',
384
- description: 'Label for the discount-code resource type',
385
- defaultMessage: 'discount code'
358
+ id: "DeleteResourcesModal.discount-code",
359
+ defaultMessage: "discount code"
386
360
  },
387
361
  'discount-codes': {
388
- id: 'DeleteResourcesModal.discount-codes',
389
- description: 'Plural form of discount code',
390
- defaultMessage: 'discount codes'
362
+ id: "DeleteResourcesModal.discount-codes",
363
+ defaultMessage: "discount codes"
391
364
  },
392
365
  unknownResourceType: {
393
- id: 'DeleteResourcesModal.unknown-resource-type',
394
- description: 'Label for the unknown resource type',
395
- defaultMessage: 'unknown resource type'
366
+ id: "DeleteResourcesModal.unknown-resource-type",
367
+ defaultMessage: "unknown resource type"
396
368
  }
397
369
  });
398
370
 
@@ -678,11 +650,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
678
650
  return /*#__PURE__*/react.css("" , "" );
679
651
  }
680
652
 
681
- var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-2b2d30c2.cjs.prod.js' /* webpackChunkName: "active-drag-drop-area" */); }));
653
+ var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-398b14f8.cjs.prod.js' /* webpackChunkName: "active-drag-drop-area" */); }));
682
654
 
683
- var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-d2949787.cjs.prod.js' /* webpackChunkName: "enabled-drop-area" */); }));
655
+ var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-f7decf27.cjs.prod.js' /* webpackChunkName: "enabled-drop-area" */); }));
684
656
 
685
- var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-540a41da.cjs.prod.js' /* webpackChunkName: "filed-dropped-area" */); }));
657
+ var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-4bc691d7.cjs.prod.js' /* webpackChunkName: "filed-dropped-area" */); }));
686
658
 
687
659
  function getDropArea(_ref) {
688
660
  let dropAreaState = _ref.dropAreaState,
@@ -715,58 +687,48 @@ function getDropAreaState(flags) {
715
687
 
716
688
  var messages$4 = reactIntl.defineMessages({
717
689
  dragAndDropCSV: {
718
- id: 'DeleteResourcesModal.dragAndDropCSV',
719
- description: 'The message telling the user to drag and drop CSV file in the file drop area',
720
- defaultMessage: 'Drag and drop CSV'
690
+ id: "DeleteResourcesModal.dragAndDropCSV",
691
+ defaultMessage: "Drag and drop CSV"
721
692
  },
722
693
  or: {
723
- id: 'DeleteResourcesModal.or',
724
- description: 'The word "or" in the drag and drop message',
725
- defaultMessage: 'or'
694
+ id: "DeleteResourcesModal.or",
695
+ defaultMessage: "or"
726
696
  },
727
697
  browseButton: {
728
- id: 'DeleteResourcesModal.browseFile',
729
- defaultMessage: 'Browse file'
698
+ id: "DeleteResourcesModal.browseFile",
699
+ defaultMessage: "Browse file"
730
700
  },
731
701
  uploadAndPreview: {
732
- id: 'DeleteResourcesModal.uploadAndPreview',
733
- description: 'Label for the button that uploads the file and shows the preview',
734
- defaultMessage: 'Upload and preview'
702
+ id: "DeleteResourcesModal.uploadAndPreview",
703
+ defaultMessage: "Upload and preview"
735
704
  },
736
705
  chooseFile: {
737
- id: 'DeleteResourcesModal.chooseFile',
738
- description: 'Label for a button on the file upload page, shown on ready to upload state',
739
- defaultMessage: 'Choose file'
706
+ id: "DeleteResourcesModal.chooseFile",
707
+ defaultMessage: "Choose file"
740
708
  },
741
709
  fileUploadFailed: {
742
- id: 'DeleteResourcesModal.fileUploadFailed',
743
- description: 'A title on the file upload page, shown on file upload error state',
744
- defaultMessage: 'File upload failed'
710
+ id: "DeleteResourcesModal.fileUploadFailed",
711
+ defaultMessage: "File upload failed"
745
712
  },
746
713
  fileFormatNotSupported: {
747
- id: 'DeleteResourcesModal.fileFormatNotSupported',
748
- description: 'Error message displayed when a user drags and drops a non-CSV file',
749
- defaultMessage: 'Invalid file format: The file is not in CSV format and cannot be processed.'
714
+ id: "DeleteResourcesModal.fileFormatNotSupported",
715
+ defaultMessage: "Invalid file format: The file is not in CSV format and cannot be processed."
750
716
  },
751
717
  tooManyFilesError: {
752
- id: 'DeleteResourcesModal.tooManyFilesError',
753
- description: 'Error message displayed when a user drags and drops multiple files at once',
754
- defaultMessage: 'Multiple files detected: You can only drag and drop one file at a time.'
718
+ id: "DeleteResourcesModal.tooManyFilesError",
719
+ defaultMessage: "Multiple files detected: You can only drag and drop one file at a time."
755
720
  },
756
721
  genericError: {
757
- id: 'DeleteResourcesModal.genericError',
758
- description: 'Default error message for unexpected file upload issues (for unhandled cases)',
759
- defaultMessage: 'Error occurred: Please try uploading the file again or contact our support team for assistance.'
722
+ id: "DeleteResourcesModal.genericError",
723
+ defaultMessage: "Error occurred: Please try uploading the file again or contact our support team for assistance."
760
724
  },
761
725
  dataType: {
762
- id: 'DeleteResourcesModal.dataType',
763
- description: 'Label for the data type selection dropdown',
764
- defaultMessage: 'Data type'
726
+ id: "DeleteResourcesModal.dataType",
727
+ defaultMessage: "Data type"
765
728
  },
766
729
  instructions: {
767
- id: 'DeleteResourcesModal.instructions',
768
- description: 'Label for the instructions section',
769
- defaultMessage: 'Instructions'
730
+ id: "DeleteResourcesModal.instructions",
731
+ defaultMessage: "Instructions"
770
732
  }
771
733
  });
772
734
 
@@ -780,56 +742,47 @@ const useDeleteResourcesContext = () => {
780
742
 
781
743
  var messages$3 = reactIntl.defineMessages({
782
744
  fileSizeExceededTitle: {
783
- id: 'DeleteResourcesModal.sizeExceededTitle',
784
- defaultMessage: 'File size exceeded'
745
+ id: "DeleteResourcesModal.sizeExceededTitle",
746
+ defaultMessage: "File size exceeded"
785
747
  },
786
748
  fileSizeExceededDescription: {
787
- id: 'DeleteResourcesModal.sizeExceededDescription',
788
- description: 'Error description when the file size exceeds the allowable limit',
789
- defaultMessage: 'The file exceeds the maximum allowed size of {fileSizeLimit} MB'
749
+ id: "DeleteResourcesModal.sizeExceededDescription",
750
+ defaultMessage: "The file exceeds the maximum allowed size of {fileSizeLimit} MB"
790
751
  },
791
752
  rowLimitExceededTitle: {
792
- id: 'DeleteResourcesModal.rowLimitExceededTitle',
793
- defaultMessage: 'Row limit exceeded'
753
+ id: "DeleteResourcesModal.rowLimitExceededTitle",
754
+ defaultMessage: "Row limit exceeded"
794
755
  },
795
756
  rowLimitExceededDescription: {
796
- id: 'DeleteResourcesModal.rowLimitExceededDescription',
797
- description: 'Error description when the file contains more rows than the allowable maximum',
798
- defaultMessage: 'The file contains more than the allowable maximum of {rowLimit} rows'
757
+ id: "DeleteResourcesModal.rowLimitExceededDescription",
758
+ defaultMessage: "The file contains more than the allowable maximum of {rowLimit} rows"
799
759
  },
800
760
  dropAreaNotEnoughRowsTitle: {
801
- id: 'DeleteResourcesModal.dropAreaNotEnoughRowsTitle',
802
- description: 'Error title shown when the uploaded CSV file does not contain a header and at least one row of data',
803
- defaultMessage: 'Invalid CSV file'
761
+ id: "DeleteResourcesModal.dropAreaNotEnoughRowsTitle",
762
+ defaultMessage: "Invalid CSV file"
804
763
  },
805
764
  dropAreaNotEnoughRowsDescription: {
806
- id: 'DeleteResourcesModal.dropAreaNotEnoughRowsDescription',
807
- description: 'Error description shown when the uploaded CSV file does not contain a header and at least one row of data',
808
- defaultMessage: 'Make sure the file contains a header and at least one row of data'
765
+ id: "DeleteResourcesModal.dropAreaNotEnoughRowsDescription",
766
+ defaultMessage: "Make sure the file contains a header and at least one row of data"
809
767
  },
810
768
  unexpectedError: {
811
- id: 'DeleteResourcesModal.unexpectedError',
812
- description: 'Generic notification message when file upload fails',
813
- defaultMessage: 'An unexpected error occurred during the file upload. Please try again, or contact support if this error occurs again.'
769
+ id: "DeleteResourcesModal.unexpectedError",
770
+ defaultMessage: "An unexpected error occurred during the file upload. Please try again, or contact support if this error occurs again."
814
771
  },
815
772
  missingRequiredField: {
816
- id: 'DeleteResourcesModal.missingRequiredField',
817
- description: 'Error message displayed when a required field is missing',
818
- defaultMessage: 'Missing required field'
773
+ id: "DeleteResourcesModal.missingRequiredField",
774
+ defaultMessage: "Missing required field"
819
775
  },
820
776
  missingKeyError: {
821
- id: 'DeleteResourcesModal.missingKeyError',
822
- description: 'Error message displayed when the uploaded file is missing the key field',
777
+ id: "DeleteResourcesModal.missingKeyError",
823
778
  defaultMessage: "The 'key' field is missing or incomplete in some rows. Please ensure every row has a 'key' value."
824
779
  },
825
780
  csvFormatErrorTitle: {
826
- id: 'DeleteResourcesModal.csvFormatErrorTitle',
827
- description: 'Error title shown when the uploaded CSV file is not formatted correctly',
828
- defaultMessage: 'Invalid CSV file'
781
+ id: "DeleteResourcesModal.csvFormatErrorTitle",
782
+ defaultMessage: "Invalid CSV file"
829
783
  },
830
784
  csvFormatErrorDescription: {
831
- id: 'FileUpload.csvFormatErrorDescription',
832
- description: 'Error message displayed when the CSV file is not formatted correctly',
785
+ id: "FileUpload.csvFormatErrorDescription",
833
786
  defaultMessage: "Your CSV file is not formatted correctly. Make sure the file contains only one column named 'key', which includes the product keys"
834
787
  }
835
788
  });
@@ -1136,19 +1089,16 @@ const FileDropArea = () => {
1136
1089
 
1137
1090
  var messages$2 = reactIntl.defineMessages({
1138
1091
  fileUploadInstruction: {
1139
- id: 'DeleteResourcesModal.fileUploadInstruction',
1140
- description: 'Instructions for uploading a CSV file with resource keys to delete',
1092
+ id: "DeleteResourcesModal.fileUploadInstruction",
1141
1093
  defaultMessage: "The CSV file must contain the {resourceType} keys to be deleted under the header 'key'."
1142
1094
  },
1143
1095
  fileUploadInstructionForMaxFileSize: {
1144
- id: 'DeleteResourcesModal.fileUploadInstructionForMaxFileSize',
1145
- description: 'Instructions for uploading a CSV file with a max file size',
1146
- defaultMessage: 'Maximum file size is {maxFileSize} MB with a limit of {maxRowCount} rows. Download <csvTemplateLink>the CSV template</csvTemplateLink> or refer to <documentationLink>the documentation</documentationLink>.'
1096
+ id: "DeleteResourcesModal.fileUploadInstructionForMaxFileSize",
1097
+ defaultMessage: "Maximum file size is {maxFileSize} MB with a limit of {maxRowCount} rows. Download <csvTemplateLink>the CSV template</csvTemplateLink> or refer to <documentationLink>the documentation</documentationLink>."
1147
1098
  },
1148
1099
  unpublishNote: {
1149
- id: 'DeleteResourcesModal.unpublishNote',
1150
- description: 'Note to unpublish products before deleting them',
1151
- defaultMessage: 'Please note that published products <b>must be unpublished</b> before they can be deleted.'
1100
+ id: "DeleteResourcesModal.unpublishNote",
1101
+ defaultMessage: "Please note that published products <b>must be unpublished</b> before they can be deleted."
1152
1102
  }
1153
1103
  });
1154
1104
 
@@ -1309,23 +1259,20 @@ const Uploading = () => {
1309
1259
 
1310
1260
  var messages$1 = reactIntl.defineMessages({
1311
1261
  uploadNewFile: {
1312
- id: 'DeleteResourcesModal.uploadNewFile',
1313
- defaultMessage: 'Upload new file'
1262
+ id: "DeleteResourcesModal.uploadNewFile",
1263
+ defaultMessage: "Upload new file"
1314
1264
  },
1315
1265
  uploadErrorDescription: {
1316
- id: 'DeleteResourcesModal.uploadError',
1317
- description: 'Title when errors detected while uploading file',
1318
- defaultMessage: 'There {errorsCount, plural, one {is <b>1</b> error} other {are <b>{errorsCount}</b> errors}} detected while uploading the file "{fileName}".'
1266
+ id: "DeleteResourcesModal.uploadError",
1267
+ defaultMessage: "There {errorsCount, plural, one {is <b>1</b> error} other {are <b>{errorsCount}</b> errors}} detected while uploading the file \"{fileName}\"."
1319
1268
  },
1320
1269
  errorType: {
1321
- id: 'DeleteResourcesModal.errorType',
1322
- description: 'Error type" column',
1323
- defaultMessage: 'Error type'
1270
+ id: "DeleteResourcesModal.errorType",
1271
+ defaultMessage: "Error type"
1324
1272
  },
1325
1273
  details: {
1326
- id: 'DeleteResourcesModal.details',
1327
- description: '"Details" column',
1328
- defaultMessage: 'Details'
1274
+ id: "DeleteResourcesModal.details",
1275
+ defaultMessage: "Details"
1329
1276
  }
1330
1277
  });
1331
1278
 
@@ -1435,44 +1382,36 @@ function getBold$2(msg) {
1435
1382
 
1436
1383
  var messages = reactIntl.defineMessages({
1437
1384
  continue: {
1438
- id: 'DeleteResourcesModal.continue',
1439
- description: 'Continue button',
1440
- defaultMessage: 'Continue'
1385
+ id: "DeleteResourcesModal.continue",
1386
+ defaultMessage: "Continue"
1441
1387
  },
1442
1388
  heresAPreview: {
1443
- id: 'DeleteResourcesModal.heresAPreview',
1444
- description: 'Here is a preview',
1389
+ id: "DeleteResourcesModal.heresAPreview",
1445
1390
  defaultMessage: "Here's a preview:"
1446
1391
  },
1447
1392
  resourcesToBeDeleted: {
1448
- id: 'DeleteResourcesModal.resourcesToBeDeleted',
1449
- description: 'Resources to be deleted',
1450
- defaultMessage: '{count, plural, one {<b>{count}</b> {resourceType} to be deleted} other {<b>{count}</b> {resourceTypePlural} to be deleted}}'
1393
+ id: "DeleteResourcesModal.resourcesToBeDeleted",
1394
+ defaultMessage: "{count, plural, one {<b>{count}</b> {resourceType} to be deleted} other {<b>{count}</b> {resourceTypePlural} to be deleted}}"
1451
1395
  },
1452
1396
  confirmationQuestion: {
1453
- id: 'DeleteResourcesModal.confirmationQuestion',
1454
- description: 'Confirmation question',
1455
- defaultMessage: 'Are you sure you want to delete the {resourceTypePlural}? '
1397
+ id: "DeleteResourcesModal.confirmationQuestion",
1398
+ defaultMessage: "Are you sure you want to delete the {resourceTypePlural}?"
1456
1399
  },
1457
1400
  confirmationText: {
1458
- id: 'DeleteResourcesModal.confirmationText',
1459
- description: 'Confirmation text',
1460
- defaultMessage: '{count, plural, one {You are about to delete <b>{count}</b> {resourceType} in the project: <b>{projectName}</b>.} other {You are about to deleted <b>{count}</b> {resourceTypePlural} in the project: <b>{projectName}</b>.}}'
1401
+ id: "DeleteResourcesModal.confirmationText",
1402
+ defaultMessage: "{count, plural, one {You are about to delete <b>{count}</b> {resourceType} in the project: <b>{projectName}</b>.} other {You are about to deleted <b>{count}</b> {resourceTypePlural} in the project: <b>{projectName}</b>.}}"
1461
1403
  },
1462
1404
  cannotBeUndoneNote: {
1463
- id: 'DeleteResourcesModal.cannotBeUndoneNote',
1464
- description: 'Cannot be undone note in the confirmation dialog',
1465
- defaultMessage: 'This action cannot be undone.'
1405
+ id: "DeleteResourcesModal.cannotBeUndoneNote",
1406
+ defaultMessage: "This action cannot be undone."
1466
1407
  },
1467
1408
  importStarted: {
1468
- id: 'DeleteResourcesModal.importStarted',
1469
- description: 'Import started',
1470
- defaultMessage: '<b>Your import for bulk delete has started.</b><newline></newline>Go to <logsLink>Import logs</logsLink> to view the progress.'
1409
+ id: "DeleteResourcesModal.importStarted",
1410
+ defaultMessage: "<b>Your import for bulk delete has started.</b><newline></newline>Go to <logsLink>Import logs</logsLink> to view the progress."
1471
1411
  },
1472
1412
  preparingImport: {
1473
- id: 'DeleteResourcesModal.preparingImport',
1474
- description: 'Preparing import',
1475
- defaultMessage: '<b>Prepare bulk delete.</b><newline></newline>Once preparation is complete, you can track the progress <logsLink>in the Import logs</logsLink>. The data will be deleted after the import is finalized.'
1413
+ id: "DeleteResourcesModal.preparingImport",
1414
+ defaultMessage: "<b>Prepare bulk delete.</b><newline></newline>Once preparation is complete, you can track the progress <logsLink>in the Import logs</logsLink>. The data will be deleted after the import is finalized."
1476
1415
  }
1477
1416
  });
1478
1417
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-frontend-extensions/delete-resources-modal",
3
3
  "description": "Shared import modal for deleting resources",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "license": "BSD-3-Clause",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -18,7 +18,7 @@
18
18
  "@babel/runtime": "7.26.0",
19
19
  "@babel/runtime-corejs3": "7.26.0",
20
20
  "@commercetools-frontend/fullstory": "2.5.1",
21
- "@commercetools-frontend/permissions": "22.36.0",
21
+ "@commercetools-frontend/permissions": "22.38.1",
22
22
  "@commercetools/importapi-sdk": "5.18.0",
23
23
  "@emotion/react": "11.14.0",
24
24
  "@emotion/styled": "11.14.0",
@@ -38,15 +38,15 @@
38
38
  "react-dropzone": "14.3.5"
39
39
  },
40
40
  "devDependencies": {
41
- "@commercetools-frontend/actions-global": "22.36.0",
42
- "@commercetools-frontend/application-components": "22.36.0",
43
- "@commercetools-frontend/application-shell": "22.36.0",
44
- "@commercetools-frontend/application-shell-connectors": "22.36.0",
45
- "@commercetools-frontend/constants": "22.36.0",
46
- "@commercetools-frontend/i18n": "22.36.0",
47
- "@commercetools-frontend/jest-preset-mc-app": "22.36.0",
48
- "@commercetools-frontend/sdk": "22.36.0",
49
- "@commercetools-frontend/sentry": "22.36.0",
41
+ "@commercetools-frontend/actions-global": "22.38.1",
42
+ "@commercetools-frontend/application-components": "22.38.1",
43
+ "@commercetools-frontend/application-shell": "22.38.1",
44
+ "@commercetools-frontend/application-shell-connectors": "22.38.1",
45
+ "@commercetools-frontend/constants": "22.38.1",
46
+ "@commercetools-frontend/i18n": "22.38.1",
47
+ "@commercetools-frontend/jest-preset-mc-app": "22.38.1",
48
+ "@commercetools-frontend/sdk": "22.38.1",
49
+ "@commercetools-frontend/sentry": "22.38.1",
50
50
  "@commercetools-frontend/ui-kit": "19.20.1",
51
51
  "@commercetools-uikit/data-table": "19.20.1",
52
52
  "@commercetools-uikit/design-system": "19.20.1",