@commercetools-frontend-extensions/delete-resources-modal 1.0.5 → 1.0.7

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,116 +255,144 @@ let UnexpectedResourceTypeError = /*#__PURE__*/function (_Error) {
255
255
 
256
256
  var sharedMessages = reactIntl.defineMessages({
257
257
  deleteModalTitle: {
258
- id: "DeleteResourcesModal.deleteModalTitle",
259
- defaultMessage: "Bulk delete via CSV"
258
+ id: 'DeleteResourcesModal.deleteModalTitle',
259
+ description: 'The title of the modal',
260
+ defaultMessage: 'Bulk delete via CSV'
260
261
  },
261
262
  startBulkDelete: {
262
- id: "DeleteResourcesModal.startBulkDelete",
263
- defaultMessage: "Start bulk delete"
263
+ id: 'DeleteResourcesModal.startBulkDelete',
264
+ description: 'Start bulk delete button',
265
+ defaultMessage: 'Start bulk delete'
264
266
  },
265
267
  cancel: {
266
- id: "DeleteResourcesModal.cancel",
267
- defaultMessage: "Cancel"
268
+ id: 'DeleteResourcesModal.cancel',
269
+ description: 'The label for the cancel button',
270
+ defaultMessage: 'Cancel'
268
271
  },
269
272
  product: {
270
- id: "DeleteResourcesModal.product",
271
- defaultMessage: "product"
273
+ id: 'DeleteResourcesModal.product',
274
+ description: 'Label for the product resource type',
275
+ defaultMessage: 'product'
272
276
  },
273
277
  products: {
274
- id: "DeleteResourcesModal.products",
275
- defaultMessage: "products"
278
+ id: 'DeleteResourcesModal.products',
279
+ description: 'Plural form of product',
280
+ defaultMessage: 'products'
276
281
  },
277
282
  inventory: {
278
- id: "DeleteResourcesModal.inventory",
279
- defaultMessage: "inventory entry"
283
+ id: 'DeleteResourcesModal.inventory',
284
+ description: 'Label for the inventory entry resource type',
285
+ defaultMessage: 'inventory entry'
280
286
  },
281
287
  inventories: {
282
- id: "DeleteResourcesModal.inventories",
283
- defaultMessage: "inventory entries"
288
+ id: 'DeleteResourcesModal.inventories',
289
+ description: 'Plural form of inventory entry',
290
+ defaultMessage: 'inventory entries'
284
291
  },
285
292
  category: {
286
- id: "DeleteResourcesModal.category",
287
- defaultMessage: "category"
293
+ id: 'DeleteResourcesModal.category',
294
+ description: 'Label for the category resource type',
295
+ defaultMessage: 'category'
288
296
  },
289
297
  categories: {
290
- id: "DeleteResourcesModal.categories",
291
- defaultMessage: "categories"
298
+ id: 'DeleteResourcesModal.categories',
299
+ description: 'Plural form of category',
300
+ defaultMessage: 'categories'
292
301
  },
293
302
  customer: {
294
- id: "DeleteResourcesModal.customer",
295
- defaultMessage: "customer"
303
+ id: 'DeleteResourcesModal.customer',
304
+ description: 'Label for the customer resource type',
305
+ defaultMessage: 'customer'
296
306
  },
297
307
  customers: {
298
- id: "DeleteResourcesModal.customers",
299
- defaultMessage: "customers"
308
+ id: 'DeleteResourcesModal.customers',
309
+ description: 'Plural form of customer',
310
+ defaultMessage: 'customers'
300
311
  },
301
312
  order: {
302
- id: "DeleteResourcesModal.order",
303
- defaultMessage: "order"
313
+ id: 'DeleteResourcesModal.order',
314
+ description: 'Label for the order resource type',
315
+ defaultMessage: 'order'
304
316
  },
305
317
  orders: {
306
- id: "DeleteResourcesModal.orders",
307
- defaultMessage: "orders"
318
+ id: 'DeleteResourcesModal.orders',
319
+ description: 'Plural form of order',
320
+ defaultMessage: 'orders'
308
321
  },
309
322
  price: {
310
- id: "DeleteResourcesModal.price",
311
- defaultMessage: "price"
323
+ id: 'DeleteResourcesModal.price',
324
+ description: 'Label for the price resource type',
325
+ defaultMessage: 'price'
312
326
  },
313
327
  prices: {
314
- id: "DeleteResourcesModal.prices",
315
- defaultMessage: "prices"
328
+ id: 'DeleteResourcesModal.prices',
329
+ description: 'Plural form of price',
330
+ defaultMessage: 'prices'
316
331
  },
317
332
  'product-draft': {
318
- id: "DeleteResourcesModal.product-draft",
319
- defaultMessage: "product draft"
333
+ id: 'DeleteResourcesModal.product-draft',
334
+ description: 'Label for the product-draft resource type',
335
+ defaultMessage: 'product draft'
320
336
  },
321
337
  'product-drafts': {
322
- id: "DeleteResourcesModal.product-drafts",
323
- defaultMessage: "product drafts"
338
+ id: 'DeleteResourcesModal.product-drafts',
339
+ description: 'Plural form of product draft',
340
+ defaultMessage: 'product drafts'
324
341
  },
325
342
  'product-type': {
326
- id: "DeleteResourcesModal.product-type",
327
- defaultMessage: "product type"
343
+ id: 'DeleteResourcesModal.product-type',
344
+ description: 'Label for the product-type resource type',
345
+ defaultMessage: 'product type'
328
346
  },
329
347
  'product-types': {
330
- id: "DeleteResourcesModal.product-types",
331
- defaultMessage: "product types"
348
+ id: 'DeleteResourcesModal.product-types',
349
+ description: 'Plural form of product type',
350
+ defaultMessage: 'product types'
332
351
  },
333
352
  'product-variant': {
334
- id: "DeleteResourcesModal.product-variant",
335
- defaultMessage: "product variant"
353
+ id: 'DeleteResourcesModal.product-variant',
354
+ description: 'Label for the product-variant resource type',
355
+ defaultMessage: 'product variant'
336
356
  },
337
357
  'product-variants': {
338
- id: "DeleteResourcesModal.product-variants",
339
- defaultMessage: "product variants"
358
+ id: 'DeleteResourcesModal.product-variants',
359
+ description: 'Plural form of product variant',
360
+ defaultMessage: 'product variants'
340
361
  },
341
362
  'product-variant-patch': {
342
- id: "DeleteResourcesModal.product-variant-patch",
343
- defaultMessage: "product variant patch"
363
+ id: 'DeleteResourcesModal.product-variant-patch',
364
+ description: 'Label for the product-variant-patch resource type',
365
+ defaultMessage: 'product variant patch'
344
366
  },
345
367
  'product-variant-patches': {
346
- id: "DeleteResourcesModal.product-variant-patches",
347
- defaultMessage: "product variant patches"
368
+ id: 'DeleteResourcesModal.product-variant-patches',
369
+ description: 'Plural form of product variant patch',
370
+ defaultMessage: 'product variant patches'
348
371
  },
349
372
  'standalone-price': {
350
- id: "DeleteResourcesModal.standalone-price",
351
- defaultMessage: "standalone price"
373
+ id: 'DeleteResourcesModal.standalone-price',
374
+ description: 'Label for the standalone-price resource type',
375
+ defaultMessage: 'standalone price'
352
376
  },
353
377
  'standalone-prices': {
354
- id: "DeleteResourcesModal.standalone-prices",
355
- defaultMessage: "standalone prices"
378
+ id: 'DeleteResourcesModal.standalone-prices',
379
+ description: 'Plural form of standalone price',
380
+ defaultMessage: 'standalone prices'
356
381
  },
357
382
  'discount-code': {
358
- id: "DeleteResourcesModal.discount-code",
359
- defaultMessage: "discount code"
383
+ id: 'DeleteResourcesModal.discount-code',
384
+ description: 'Label for the discount-code resource type',
385
+ defaultMessage: 'discount code'
360
386
  },
361
387
  'discount-codes': {
362
- id: "DeleteResourcesModal.discount-codes",
363
- defaultMessage: "discount codes"
388
+ id: 'DeleteResourcesModal.discount-codes',
389
+ description: 'Plural form of discount code',
390
+ defaultMessage: 'discount codes'
364
391
  },
365
392
  unknownResourceType: {
366
- id: "DeleteResourcesModal.unknown-resource-type",
367
- defaultMessage: "unknown resource type"
393
+ id: 'DeleteResourcesModal.unknown-resource-type',
394
+ description: 'Label for the unknown resource type',
395
+ defaultMessage: 'unknown resource type'
368
396
  }
369
397
  });
370
398
 
@@ -650,11 +678,11 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
650
678
  return /*#__PURE__*/react.css("" , "" );
651
679
  }
652
680
 
653
- var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-87974335.cjs.prod.js' /* webpackChunkName: "active-drag-drop-area" */); }));
681
+ var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-53e0b16b.cjs.prod.js' /* webpackChunkName: "active-drag-drop-area" */); }));
654
682
 
655
- var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-d9d086a3.cjs.prod.js' /* webpackChunkName: "enabled-drop-area" */); }));
683
+ var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-87c9471e.cjs.prod.js' /* webpackChunkName: "enabled-drop-area" */); }));
656
684
 
657
- var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-a4cafec7.cjs.prod.js' /* webpackChunkName: "filed-dropped-area" */); }));
685
+ var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-75383fe9.cjs.prod.js' /* webpackChunkName: "filed-dropped-area" */); }));
658
686
 
659
687
  function getDropArea(_ref) {
660
688
  let dropAreaState = _ref.dropAreaState,
@@ -687,48 +715,58 @@ function getDropAreaState(flags) {
687
715
 
688
716
  var messages$4 = reactIntl.defineMessages({
689
717
  dragAndDropCSV: {
690
- id: "DeleteResourcesModal.dragAndDropCSV",
691
- defaultMessage: "Drag and drop CSV"
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'
692
721
  },
693
722
  or: {
694
- id: "DeleteResourcesModal.or",
695
- defaultMessage: "or"
723
+ id: 'DeleteResourcesModal.or',
724
+ description: 'The word "or" in the drag and drop message',
725
+ defaultMessage: 'or'
696
726
  },
697
727
  browseButton: {
698
- id: "DeleteResourcesModal.browseFile",
699
- defaultMessage: "Browse file"
728
+ id: 'DeleteResourcesModal.browseFile',
729
+ defaultMessage: 'Browse file'
700
730
  },
701
731
  uploadAndPreview: {
702
- id: "DeleteResourcesModal.uploadAndPreview",
703
- defaultMessage: "Upload and preview"
732
+ id: 'DeleteResourcesModal.uploadAndPreview',
733
+ description: 'Label for the button that uploads the file and shows the preview',
734
+ defaultMessage: 'Upload and preview'
704
735
  },
705
736
  chooseFile: {
706
- id: "DeleteResourcesModal.chooseFile",
707
- defaultMessage: "Choose file"
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'
708
740
  },
709
741
  fileUploadFailed: {
710
- id: "DeleteResourcesModal.fileUploadFailed",
711
- defaultMessage: "File upload failed"
742
+ id: 'DeleteResourcesModal.fileUploadFailed',
743
+ description: 'A title on the file upload page, shown on file upload error state',
744
+ defaultMessage: 'File upload failed'
712
745
  },
713
746
  fileFormatNotSupported: {
714
- id: "DeleteResourcesModal.fileFormatNotSupported",
715
- defaultMessage: "Invalid file format: The file is not in CSV format and cannot be processed."
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.'
716
750
  },
717
751
  tooManyFilesError: {
718
- id: "DeleteResourcesModal.tooManyFilesError",
719
- defaultMessage: "Multiple files detected: You can only drag and drop one file at a time."
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.'
720
755
  },
721
756
  genericError: {
722
- id: "DeleteResourcesModal.genericError",
723
- defaultMessage: "Error occurred: Please try uploading the file again or contact our support team for assistance."
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.'
724
760
  },
725
761
  dataType: {
726
- id: "DeleteResourcesModal.dataType",
727
- defaultMessage: "Data type"
762
+ id: 'DeleteResourcesModal.dataType',
763
+ description: 'Label for the data type selection dropdown',
764
+ defaultMessage: 'Data type'
728
765
  },
729
766
  instructions: {
730
- id: "DeleteResourcesModal.instructions",
731
- defaultMessage: "Instructions"
767
+ id: 'DeleteResourcesModal.instructions',
768
+ description: 'Label for the instructions section',
769
+ defaultMessage: 'Instructions'
732
770
  }
733
771
  });
734
772
 
@@ -742,47 +780,56 @@ const useDeleteResourcesContext = () => {
742
780
 
743
781
  var messages$3 = reactIntl.defineMessages({
744
782
  fileSizeExceededTitle: {
745
- id: "DeleteResourcesModal.sizeExceededTitle",
746
- defaultMessage: "File size exceeded"
783
+ id: 'DeleteResourcesModal.sizeExceededTitle',
784
+ defaultMessage: 'File size exceeded'
747
785
  },
748
786
  fileSizeExceededDescription: {
749
- id: "DeleteResourcesModal.sizeExceededDescription",
750
- defaultMessage: "The file exceeds the maximum allowed size of {fileSizeLimit} MB"
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'
751
790
  },
752
791
  rowLimitExceededTitle: {
753
- id: "DeleteResourcesModal.rowLimitExceededTitle",
754
- defaultMessage: "Row limit exceeded"
792
+ id: 'DeleteResourcesModal.rowLimitExceededTitle',
793
+ defaultMessage: 'Row limit exceeded'
755
794
  },
756
795
  rowLimitExceededDescription: {
757
- id: "DeleteResourcesModal.rowLimitExceededDescription",
758
- defaultMessage: "The file contains more than the allowable maximum of {rowLimit} rows"
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'
759
799
  },
760
800
  dropAreaNotEnoughRowsTitle: {
761
- id: "DeleteResourcesModal.dropAreaNotEnoughRowsTitle",
762
- defaultMessage: "Invalid CSV file"
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'
763
804
  },
764
805
  dropAreaNotEnoughRowsDescription: {
765
- id: "DeleteResourcesModal.dropAreaNotEnoughRowsDescription",
766
- defaultMessage: "Make sure the file contains a header and at least one row of data"
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'
767
809
  },
768
810
  unexpectedError: {
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."
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.'
771
814
  },
772
815
  missingRequiredField: {
773
- id: "DeleteResourcesModal.missingRequiredField",
774
- defaultMessage: "Missing required field"
816
+ id: 'DeleteResourcesModal.missingRequiredField',
817
+ description: 'Error message displayed when a required field is missing',
818
+ defaultMessage: 'Missing required field'
775
819
  },
776
820
  missingKeyError: {
777
- id: "DeleteResourcesModal.missingKeyError",
821
+ id: 'DeleteResourcesModal.missingKeyError',
822
+ description: 'Error message displayed when the uploaded file is missing the key field',
778
823
  defaultMessage: "The 'key' field is missing or incomplete in some rows. Please ensure every row has a 'key' value."
779
824
  },
780
825
  csvFormatErrorTitle: {
781
- id: "DeleteResourcesModal.csvFormatErrorTitle",
782
- defaultMessage: "Invalid CSV file"
826
+ id: 'DeleteResourcesModal.csvFormatErrorTitle',
827
+ description: 'Error title shown when the uploaded CSV file is not formatted correctly',
828
+ defaultMessage: 'Invalid CSV file'
783
829
  },
784
830
  csvFormatErrorDescription: {
785
- id: "UnpublishProductsModal.csvFormatErrorDescription",
831
+ id: 'UnpublishProductsModal.csvFormatErrorDescription',
832
+ description: 'Error message displayed when the CSV file is not formatted correctly',
786
833
  defaultMessage: "Your CSV file is not formatted correctly. Make sure the file contains only one column named 'key', which includes the product keys"
787
834
  }
788
835
  });
@@ -1089,16 +1136,19 @@ const FileDropArea = () => {
1089
1136
 
1090
1137
  var messages$2 = reactIntl.defineMessages({
1091
1138
  fileUploadInstruction: {
1092
- id: "DeleteResourcesModal.fileUploadInstruction",
1139
+ id: 'DeleteResourcesModal.fileUploadInstruction',
1140
+ description: 'Instructions for uploading a CSV file with resource keys to delete',
1093
1141
  defaultMessage: "The CSV file must contain the {resourceType} keys to be deleted under the header 'key'."
1094
1142
  },
1095
1143
  fileUploadInstructionForMaxFileSize: {
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>."
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>.'
1098
1147
  },
1099
1148
  unpublishNote: {
1100
- id: "DeleteResourcesModal.unpublishNote",
1101
- defaultMessage: "Please note that published products <b>must be unpublished</b> before they can be deleted."
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.'
1102
1152
  }
1103
1153
  });
1104
1154
 
@@ -1118,7 +1168,7 @@ const Instructions = () => {
1118
1168
  }), ' ', intl.formatMessage(messages$2.unpublishNote, {
1119
1169
  b: msg => jsxRuntime.jsx("b", {
1120
1170
  children: msg
1121
- })
1171
+ }, "bold")
1122
1172
  })]
1123
1173
  }), jsxRuntime.jsx(uiKit.Text.Body, {
1124
1174
  intlMessage: _objectSpread$6(_objectSpread$6({}, messages$2.fileUploadInstructionForMaxFileSize), {}, {
@@ -1130,13 +1180,13 @@ const Instructions = () => {
1130
1180
  isExternal: true,
1131
1181
  to: documentTemplateLink,
1132
1182
  children: msg
1133
- }),
1183
+ }, "csvTemplateLink"),
1134
1184
  documentationLink: msg => jsxRuntime.jsx(uiKit.Link, {
1135
1185
  tone: "secondary",
1136
1186
  isExternal: true,
1137
1187
  to: documentationLink,
1138
1188
  children: msg
1139
- })
1189
+ }, "documentationLink")
1140
1190
  }
1141
1191
  })
1142
1192
  })]
@@ -1259,20 +1309,23 @@ const Uploading = () => {
1259
1309
 
1260
1310
  var messages$1 = reactIntl.defineMessages({
1261
1311
  uploadNewFile: {
1262
- id: "DeleteResourcesModal.uploadNewFile",
1263
- defaultMessage: "Upload new file"
1312
+ id: 'DeleteResourcesModal.uploadNewFile',
1313
+ defaultMessage: 'Upload new file'
1264
1314
  },
1265
1315
  uploadErrorDescription: {
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}\"."
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}".'
1268
1319
  },
1269
1320
  errorType: {
1270
- id: "DeleteResourcesModal.errorType",
1271
- defaultMessage: "Error type"
1321
+ id: 'DeleteResourcesModal.errorType',
1322
+ description: 'Error type" column',
1323
+ defaultMessage: 'Error type'
1272
1324
  },
1273
1325
  details: {
1274
- id: "DeleteResourcesModal.details",
1275
- defaultMessage: "Details"
1326
+ id: 'DeleteResourcesModal.details',
1327
+ description: '"Details" column',
1328
+ defaultMessage: 'Details'
1276
1329
  }
1277
1330
  });
1278
1331
 
@@ -1377,51 +1430,59 @@ function getBold$2(msg) {
1377
1430
  as: "span",
1378
1431
  isBold: true,
1379
1432
  children: msg
1380
- });
1433
+ }, crypto.randomUUID());
1381
1434
  }
1382
1435
 
1383
1436
  var messages = reactIntl.defineMessages({
1384
1437
  continue: {
1385
- id: "DeleteResourcesModal.continue",
1386
- defaultMessage: "Continue"
1438
+ id: 'DeleteResourcesModal.continue',
1439
+ description: 'Continue button',
1440
+ defaultMessage: 'Continue'
1387
1441
  },
1388
1442
  heresAPreview: {
1389
- id: "DeleteResourcesModal.heresAPreview",
1443
+ id: 'DeleteResourcesModal.heresAPreview',
1444
+ description: 'Here is a preview',
1390
1445
  defaultMessage: "Here's a preview:"
1391
1446
  },
1392
1447
  resourcesToBeDeleted: {
1393
- id: "DeleteResourcesModal.resourcesToBeDeleted",
1394
- defaultMessage: "{count, plural, one {<b>{count}</b> {resourceType} to be deleted} other {<b>{count}</b> {resourceTypePlural} to be deleted}}"
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}}'
1395
1451
  },
1396
1452
  confirmationQuestion: {
1397
- id: "DeleteResourcesModal.confirmationQuestion",
1398
- defaultMessage: "Are you sure you want to delete the {resourceTypePlural}?"
1453
+ id: 'DeleteResourcesModal.confirmationQuestion',
1454
+ description: 'Confirmation question',
1455
+ defaultMessage: 'Are you sure you want to delete the {resourceTypePlural}? '
1399
1456
  },
1400
1457
  confirmationText: {
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>.}}"
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>.}}'
1403
1461
  },
1404
1462
  cannotBeUndoneNote: {
1405
- id: "DeleteResourcesModal.cannotBeUndoneNote",
1406
- defaultMessage: "This action cannot be undone."
1463
+ id: 'DeleteResourcesModal.cannotBeUndoneNote',
1464
+ description: 'Cannot be undone note in the confirmation dialog',
1465
+ defaultMessage: 'This action cannot be undone.'
1407
1466
  },
1408
1467
  importStarted: {
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."
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.'
1411
1471
  },
1412
1472
  preparingImport: {
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."
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.'
1415
1476
  }
1416
1477
  });
1417
1478
 
1418
1479
  function ownKeys$2(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
1419
1480
  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__default["default"](_context = ownKeys$2(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$2(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
1420
- const getNewLine = () => jsxRuntime.jsx("br", {});
1481
+ const getNewLine = () => jsxRuntime.jsx("br", {}, "break");
1421
1482
  const getImportLogsLink = (msg, projectKey) => jsxRuntime.jsx(uiKit.Link, {
1422
1483
  to: `/${projectKey}/operations/import/logs`,
1423
1484
  children: msg
1424
- });
1485
+ }, "link");
1425
1486
  var _ref2 = {
1426
1487
  name: "1vs9i7r",
1427
1488
  styles: "width:360px"
@@ -1575,7 +1636,7 @@ function getBold$1(msg) {
1575
1636
  as: "span",
1576
1637
  isBold: true,
1577
1638
  children: msg
1578
- });
1639
+ }, crypto.randomUUID());
1579
1640
  }
1580
1641
 
1581
1642
  function ownKeys$1(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -1633,7 +1694,7 @@ function getBold(msg) {
1633
1694
  as: "span",
1634
1695
  isBold: true,
1635
1696
  children: msg
1636
- });
1697
+ }, `bold-${msg}`);
1637
1698
  }
1638
1699
 
1639
1700
  const steps = {