@commercetools-frontend-extensions/unpublish-products-modal 1.1.9 → 1.2.0

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 (46) hide show
  1. package/dist/{active-drag-drop-area-76561453.cjs.dev.js → active-drag-drop-area-2b23a825.cjs.prod.js} +1 -2
  2. package/dist/{active-drag-drop-area-fc38d754.esm.js → active-drag-drop-area-5709c481.esm.js} +1 -2
  3. package/dist/{active-drag-drop-area-0fd690f1.cjs.prod.js → active-drag-drop-area-dfc9a24c.cjs.dev.js} +1 -2
  4. package/dist/commercetools-frontend-extensions-unpublish-products-modal.cjs.dev.js +1 -2
  5. package/dist/commercetools-frontend-extensions-unpublish-products-modal.cjs.prod.js +1 -2
  6. package/dist/commercetools-frontend-extensions-unpublish-products-modal.esm.js +1 -2
  7. package/dist/de-003f2859.cjs.prod.js +150 -0
  8. package/dist/de-985804ff.esm.js +148 -0
  9. package/dist/de-d3d76e3c.cjs.dev.js +150 -0
  10. package/dist/en-5727e1f9.esm.js +148 -0
  11. package/dist/en-b170969b.cjs.dev.js +150 -0
  12. package/dist/en-da1bb187.cjs.prod.js +150 -0
  13. package/dist/{enabled-drop-area-79821080.cjs.dev.js → enabled-drop-area-755a9ef6.cjs.dev.js} +1 -2
  14. package/dist/{enabled-drop-area-be9f12e6.cjs.prod.js → enabled-drop-area-9209d2ac.cjs.prod.js} +1 -2
  15. package/dist/{enabled-drop-area-b3baf8c9.esm.js → enabled-drop-area-a1d62139.esm.js} +1 -2
  16. package/dist/es-040a89ab.cjs.prod.js +150 -0
  17. package/dist/es-4955e68e.cjs.dev.js +150 -0
  18. package/dist/es-ddb13dad.esm.js +148 -0
  19. package/dist/{file-dropped-area-82dc8dd6.esm.js → file-dropped-area-0f0a223c.esm.js} +1 -2
  20. package/dist/{file-dropped-area-fe292b15.cjs.dev.js → file-dropped-area-ca26707f.cjs.prod.js} +1 -2
  21. package/dist/{file-dropped-area-4749e851.cjs.prod.js → file-dropped-area-f44849bb.cjs.dev.js} +1 -2
  22. package/dist/fr-FR-01187000.cjs.dev.js +150 -0
  23. package/dist/fr-FR-9ed02ab8.cjs.prod.js +150 -0
  24. package/dist/fr-FR-ef84bd8b.esm.js +148 -0
  25. package/dist/{index-e479383b.cjs.dev.js → index-46884b7c.cjs.dev.js} +9 -11
  26. package/dist/{index-f4643bb1.cjs.prod.js → index-85708701.cjs.prod.js} +9 -11
  27. package/dist/{index-4a29e111.esm.js → index-a2de9e0c.esm.js} +9 -10
  28. package/dist/pt-BR-46c4eaae.cjs.prod.js +150 -0
  29. package/dist/pt-BR-872a8cea.cjs.dev.js +150 -0
  30. package/dist/pt-BR-f693f646.esm.js +148 -0
  31. package/package.json +41 -39
  32. package/dist/de-a34c5dd4.cjs.dev.js +0 -6
  33. package/dist/de-cd6c45d3.esm.js +0 -4
  34. package/dist/de-d954fe3d.cjs.prod.js +0 -6
  35. package/dist/en-3a9aa2d4.esm.js +0 -4
  36. package/dist/en-6b3694f6.cjs.dev.js +0 -6
  37. package/dist/en-c7757448.cjs.prod.js +0 -6
  38. package/dist/es-042343bd.cjs.prod.js +0 -6
  39. package/dist/es-8b3ecab1.cjs.dev.js +0 -6
  40. package/dist/es-e544023d.esm.js +0 -4
  41. package/dist/fr-FR-9d9081ee.esm.js +0 -4
  42. package/dist/fr-FR-e7126fcc.cjs.dev.js +0 -6
  43. package/dist/fr-FR-fce1ca96.cjs.prod.js +0 -6
  44. package/dist/pt-BR-b37d730b.esm.js +0 -4
  45. package/dist/pt-BR-ea6b3251.cjs.dev.js +0 -6
  46. package/dist/pt-BR-ec2a1a11.cjs.prod.js +0 -6
@@ -0,0 +1,148 @@
1
+ var ptBR = {
2
+ "UnpublishProductsModal.browseFile": {
3
+ string: "Procurar arquivo"
4
+ },
5
+ "UnpublishProductsModal.cancel": {
6
+ developer_comment: "The label for the cancel button",
7
+ string: "Cancelar"
8
+ },
9
+ "UnpublishProductsModal.chooseFile": {
10
+ developer_comment: "Label for a button on the file upload page, shown on ready to upload state",
11
+ string: "Escolher arquivo"
12
+ },
13
+ "UnpublishProductsModal.confirmationQuestion": {
14
+ developer_comment: "Confirmation question",
15
+ string: "Tem certeza de que deseja cancelar a publicação dos produtos?"
16
+ },
17
+ "UnpublishProductsModal.confirmationText": {
18
+ developer_comment: "Confirmation text",
19
+ string: "{count, plural, one {Você está prestes a cancelar a publicação de <b>{count}</b> produto no projeto: <b>{projectName}</b>.} many {Você está prestes a cancelar a publicação de <b>{count}</b> produtos no projeto: <b>{projectName}</b>.} other {Você está prestes a cancelar a publicação de <b>{count}</b> produtos no projeto: <b>{projectName}</b>.}}"
20
+ },
21
+ "UnpublishProductsModal.continue": {
22
+ developer_comment: "Continue button",
23
+ string: "Continuar"
24
+ },
25
+ "UnpublishProductsModal.csvFormatErrorDescription": {
26
+ developer_comment: "Error message displayed when the CSV file is not formatted correctly",
27
+ string: "Your CSV file is not formatted correctly. Make sure the file contains only one column named 'key', which includes the product keys"
28
+ },
29
+ "UnpublishProductsModal.csvFormatErrorTitle": {
30
+ developer_comment: "Error title shown when the uploaded CSV file is not formatted correctly",
31
+ string: "Arquivo CSV inválido"
32
+ },
33
+ "UnpublishProductsModal.dataType": {
34
+ developer_comment: "Label for the data type selection dropdown",
35
+ string: "Tipo de dados"
36
+ },
37
+ "UnpublishProductsModal.details": {
38
+ developer_comment: "\"Details\" column",
39
+ string: "Detalhes"
40
+ },
41
+ "UnpublishProductsModal.dragAndDropCSV": {
42
+ developer_comment: "The message telling the user to drag and drop CSV file in the file drop area",
43
+ string: "Arraste e solte o CSV"
44
+ },
45
+ "UnpublishProductsModal.dropAreaNotEnoughRowsDescription": {
46
+ developer_comment: "Error description shown when the uploaded CSV file does not contain a header and at least one row of data",
47
+ string: "Certifique-se de que o arquivo tenha um cabeçalho e pelo menos uma linha de dados"
48
+ },
49
+ "UnpublishProductsModal.dropAreaNotEnoughRowsTitle": {
50
+ developer_comment: "Error title shown when the uploaded CSV file does not contain a header and at least one row of data",
51
+ string: "Arquivo CSV inválido"
52
+ },
53
+ "UnpublishProductsModal.errorType": {
54
+ developer_comment: "Error type\" column",
55
+ string: "Tipo de erro"
56
+ },
57
+ "UnpublishProductsModal.fileFormatNotSupported": {
58
+ developer_comment: "Error message displayed when a user drags and drops a non-CSV file",
59
+ string: "Formato de arquivo inválido: o arquivo não está no formato CSV e não pode ser processado."
60
+ },
61
+ "UnpublishProductsModal.fileUploadFailed": {
62
+ developer_comment: "A title on the file upload page, shown on file upload error state",
63
+ string: "Falha ao carregar o arquivo"
64
+ },
65
+ "UnpublishProductsModal.fileUploadInstructions": {
66
+ developer_comment: "Instructions for uploading a CSV file with product keys to unpublish",
67
+ string: "O arquivo CSV deve conter as chaves do produto a terem a publicação cancelada com o cabeçalho 'chave'. O tamanho máximo do arquivo é {maxFileSize} MB com um limite de {maxRowCount} linhas. Baixe <csvTemplateLink>o modelo CSV</csvTemplateLink> ou consulte <documentationLink>a documentação</documentationLink>."
68
+ },
69
+ "UnpublishProductsModal.genericError": {
70
+ developer_comment: "Default error message for unexpected file upload issues (for unhandled cases)",
71
+ string: "Ocorreu um erro: tente enviar o arquivo novamente ou entre em contato com nossa equipe de suporte para obter assistência."
72
+ },
73
+ "UnpublishProductsModal.heresAPreview": {
74
+ developer_comment: "Here is a preview",
75
+ string: "Aqui está uma prévia:"
76
+ },
77
+ "UnpublishProductsModal.importStarted": {
78
+ developer_comment: "Import started",
79
+ string: "<b>Sua importação para cancelamento de publicação em massa foi iniciada.</b><newline></newline>Vá para <logsLink>Logs de importação</logsLink> para visualizar o progresso."
80
+ },
81
+ "UnpublishProductsModal.instructions": {
82
+ developer_comment: "Label for the instructions section",
83
+ string: "Instruções"
84
+ },
85
+ "UnpublishProductsModal.missingKeyError": {
86
+ developer_comment: "Error message displayed when the uploaded file is missing the key field",
87
+ string: "O campo \"chave\" está ausente ou incompleto em algumas linhas. Certifique-se de que cada linha tenha um valor de \"chave\"."
88
+ },
89
+ "UnpublishProductsModal.missingRequiredField": {
90
+ developer_comment: "Error message displayed when a required field is missing",
91
+ string: "Campo obrigatório ausente"
92
+ },
93
+ "UnpublishProductsModal.or": {
94
+ developer_comment: "The word \"or\" in the drag and drop message",
95
+ string: "ou"
96
+ },
97
+ "UnpublishProductsModal.preparingImport": {
98
+ developer_comment: "Preparing import",
99
+ string: "<b>Preparar o cancelamento de publicação em massa.</b><newline></newline>Após a conclusão da preparação, você pode acompanhar o progresso <logsLink>nos Logs de importação</logsLink>. Os dados serão cancelados após a importação ser finalizada."
100
+ },
101
+ "UnpublishProductsModal.productsToBeUnpublished": {
102
+ developer_comment: "Products to be unpublished",
103
+ string: "{count, plural, one {<b>{count}</b> produto terá a publicação cancelada} many {<b>{count}</b> produtos terão a publicação cancelada} other {<b>{count}</b> produtos terão a publicação cancelada}}"
104
+ },
105
+ "UnpublishProductsModal.rowLimitExceededDescription": {
106
+ developer_comment: "Error description when the file contains more rows than the allowable maximum",
107
+ string: "O arquivo contém mais do que o máximo de {rowLimit} linhas permitidas"
108
+ },
109
+ "UnpublishProductsModal.rowLimitExceededTitle": {
110
+ string: "Limite de linhas excedido"
111
+ },
112
+ "UnpublishProductsModal.sizeExceededDescription": {
113
+ developer_comment: "Error description when the file size exceeds the allowable limit",
114
+ string: "O arquivo excede o tamanho máximo permitido de {fileSizeLimit} MB"
115
+ },
116
+ "UnpublishProductsModal.sizeExceededTitle": {
117
+ string: "Tamanho de arquivo excedido"
118
+ },
119
+ "UnpublishProductsModal.startBulkUnpublish": {
120
+ developer_comment: "Start bulk unpublish button",
121
+ string: "Iniciar cancelamento de publicação em massa"
122
+ },
123
+ "UnpublishProductsModal.tooManyFilesError": {
124
+ developer_comment: "Error message displayed when a user drags and drops multiple files at once",
125
+ string: "Vários arquivos detectados: você só pode arrastar e soltar um arquivo por vez."
126
+ },
127
+ "UnpublishProductsModal.unexpectedError": {
128
+ developer_comment: "Generic notification message when file upload fails",
129
+ string: "Um erro inesperado ocorreu durante o carregamento do arquivo. Tente novamente ou entre em contato com o suporte se o problema continuar ocorrendo."
130
+ },
131
+ "UnpublishProductsModal.unpublishModalTitle": {
132
+ developer_comment: "The title of the modal",
133
+ string: "Cancelar publicação em massa via CSV"
134
+ },
135
+ "UnpublishProductsModal.uploadAndPreview": {
136
+ developer_comment: "Label for the button that uploads the file and shows the preview",
137
+ string: "Carregar e visualizar"
138
+ },
139
+ "UnpublishProductsModal.uploadError": {
140
+ developer_comment: "Title when errors detected while uploading file",
141
+ string: "Há {errorsCount, plural, one {<b>1</b> erro detectado} other {<b>{errorsCount}</b> erros detectados}} ao carregar o arquivo \"{fileName}\"."
142
+ },
143
+ "UnpublishProductsModal.uploadNewFile": {
144
+ string: "Carregar novo arquivo"
145
+ }
146
+ };
147
+
148
+ export { ptBR as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-frontend-extensions/unpublish-products-modal",
3
3
  "description": "Shared import modal for unpublishing products",
4
- "version": "1.1.9",
4
+ "version": "1.2.0",
5
5
  "license": "BSD-3-Clause",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -15,14 +15,12 @@
15
15
  "README.md"
16
16
  ],
17
17
  "dependencies": {
18
- "@babel/runtime": "7.26.0",
19
- "@babel/runtime-corejs3": "7.26.0",
20
- "@commercetools-frontend/fullstory": "2.5.1",
21
- "@commercetools-frontend/permissions": "22.42.1",
18
+ "@babel/runtime": "7.26.9",
19
+ "@babel/runtime-corejs3": "7.26.9",
22
20
  "@commercetools/importapi-sdk": "5.20.0",
23
21
  "@emotion/react": "11.14.0",
24
22
  "@emotion/styled": "11.14.0",
25
- "@formatjs/cli": "6.4.3",
23
+ "@formatjs/cli": "6.6.1",
26
24
  "babel-plugin-inline-react-svg": "^2.0.2",
27
25
  "babel-plugin-module-resolver": "^5.0.2",
28
26
  "jest": "29.7.0",
@@ -30,53 +28,57 @@
30
28
  "lodash.truncate": "4.4.2",
31
29
  "moment": "2.30.1",
32
30
  "omit-empty-es": "^1.1.3",
33
- "papaparse": "5.5.1",
31
+ "papaparse": "5.5.2",
34
32
  "pluralize": "8.0.0",
35
33
  "prop-types": "15.8.1",
36
34
  "ramda": "^0.30.0",
37
- "react": "17.0.2",
38
- "react-dropzone": "14.3.5"
35
+ "react-dropzone": "14.3.8"
39
36
  },
40
37
  "devDependencies": {
41
- "@commercetools-frontend/actions-global": "22.42.1",
42
- "@commercetools-frontend/application-components": "22.42.1",
43
- "@commercetools-frontend/application-shell": "22.42.1",
44
- "@commercetools-frontend/application-shell-connectors": "22.42.1",
45
- "@commercetools-frontend/constants": "22.42.1",
46
- "@commercetools-frontend/i18n": "22.42.1",
47
- "@commercetools-frontend/jest-preset-mc-app": "22.42.1",
48
- "@commercetools-frontend/sdk": "22.42.1",
49
- "@commercetools-frontend/sentry": "22.42.1",
50
- "@commercetools-frontend/ui-kit": "19.22.5",
51
- "@commercetools-uikit/data-table": "19.22.5",
52
- "@commercetools-uikit/design-system": "19.22.5",
53
- "@commercetools-uikit/icons": "19.22.5",
54
- "@commercetools-uikit/select-field": "19.22.5",
55
- "@preconstruct/cli": "2.8.10",
38
+ "@commercetools-frontend/actions-global": "fec-156-react19",
39
+ "@commercetools-frontend/application-components": "fec-156-react19",
40
+ "@commercetools-frontend/application-shell": "fec-156-react19",
41
+ "@commercetools-frontend/application-shell-connectors": "fec-156-react19",
42
+ "@commercetools-frontend/constants": "fec-156-react19",
43
+ "@commercetools-frontend/fullstory": "react-19-migration",
44
+ "@commercetools-frontend/i18n": "fec-156-react19",
45
+ "@commercetools-frontend/jest-preset-mc-app": "fec-156-react19",
46
+ "@commercetools-frontend/permissions": "fec-156-react19",
47
+ "@commercetools-frontend/sdk": "fec-156-react19",
48
+ "@commercetools-frontend/sentry": "fec-156-react19",
49
+ "@commercetools-frontend/ui-kit": "fec-155-react-19",
50
+ "@commercetools-uikit/data-table": "fec-155-react-19",
51
+ "@commercetools-uikit/design-system": "fec-155-react-19",
52
+ "@commercetools-uikit/icons": "fec-155-react-19",
53
+ "@commercetools-uikit/select-field": "fec-155-react-19",
54
+ "@preconstruct/cli": "2.8.11",
56
55
  "@types/jest": "29.5.14",
57
56
  "@types/lodash.truncate": "^4.4.7",
58
57
  "@types/testing-library__jest-dom": "^5.14.5",
59
58
  "msw": "1.3.5",
60
- "react-intl": "6.6.8",
59
+ "react": "19.0.0",
60
+ "react-intl": "7.1.4",
61
61
  "react-redux": "7.2.9",
62
62
  "redux": "4.2.1",
63
63
  "rimraf": "6.0.1"
64
64
  },
65
65
  "peerDependencies": {
66
- "@commercetools-frontend/actions-global": "22.x",
67
- "@commercetools-frontend/application-components": "22.x",
68
- "@commercetools-frontend/application-shell": "22.x",
69
- "@commercetools-frontend/application-shell-connectors": "22.x",
70
- "@commercetools-frontend/constants": "22.x",
71
- "@commercetools-frontend/i18n": "22.x",
72
- "@commercetools-frontend/jest-preset-mc-app": "22.x",
73
- "@commercetools-frontend/sdk": "22.x",
74
- "@commercetools-frontend/sentry": "22.x",
75
- "@commercetools-frontend/ui-kit": "19.x",
76
- "@commercetools-uikit/data-table": "19.x",
77
- "@commercetools-uikit/design-system": "19.x",
78
- "@commercetools-uikit/icons": "19.x",
79
- "react-intl": "6.x",
66
+ "@commercetools-frontend/actions-global": "23.x || fec-156-react19",
67
+ "@commercetools-frontend/application-components": "23.x || fec-156-react19",
68
+ "@commercetools-frontend/application-shell": "23.x || fec-156-react19",
69
+ "@commercetools-frontend/application-shell-connectors": "23.x || fec-156-react19",
70
+ "@commercetools-frontend/constants": "23.x || fec-156-react19",
71
+ "@commercetools-frontend/fullstory": "2.x || react-19-migration",
72
+ "@commercetools-frontend/i18n": "23.x || fec-156-react19",
73
+ "@commercetools-frontend/jest-preset-mc-app": "23.x || fec-156-react19",
74
+ "@commercetools-frontend/permissions": "23.x || fec-156-react19",
75
+ "@commercetools-frontend/sdk": "23.x || fec-156-react19",
76
+ "@commercetools-frontend/sentry": "23.x || fec-156-react19",
77
+ "@commercetools-frontend/ui-kit": "19.x || fec-155-react-19",
78
+ "@commercetools-uikit/design-system": "19.x || fec-155-react-19",
79
+ "@commercetools-uikit/icons": "19.x || fec-155-react-19",
80
+ "react": "17.x || 19.x",
81
+ "react-intl": "6.x || 7.x",
80
82
  "react-redux": "7.x",
81
83
  "redux": "4.x"
82
84
  },
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var de = {
4
- };
5
-
6
- exports["default"] = de;
@@ -1,4 +0,0 @@
1
- var de = {
2
- };
3
-
4
- export { de as default };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var de = {
4
- };
5
-
6
- exports["default"] = de;
@@ -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;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var es = {
4
- };
5
-
6
- exports["default"] = es;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var es = {
4
- };
5
-
6
- exports["default"] = es;
@@ -1,4 +0,0 @@
1
- var es = {
2
- };
3
-
4
- export { es as default };
@@ -1,4 +0,0 @@
1
- var frFR = {
2
- };
3
-
4
- export { frFR as default };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var frFR = {
4
- };
5
-
6
- exports["default"] = frFR;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var frFR = {
4
- };
5
-
6
- exports["default"] = frFR;
@@ -1,4 +0,0 @@
1
- var ptBR = {
2
- };
3
-
4
- export { ptBR as default };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var ptBR = {
4
- };
5
-
6
- exports["default"] = ptBR;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var ptBR = {
4
- };
5
-
6
- exports["default"] = ptBR;