@commercetools-frontend/i18n 22.7.0 → 22.8.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.
@@ -335,12 +335,6 @@
335
335
  "value": "Update"
336
336
  }
337
337
  ],
338
- "Components.CustomViewLoader.error.load": [
339
- {
340
- "type": 0,
341
- "value": "We could not load the Custom View. Please contact your administrator to check its configuration."
342
- }
343
- ],
344
338
  "Components.ModalPage.TopBar.Back": [
345
339
  {
346
340
  "type": 0,
@@ -353,6 +347,12 @@
353
347
  "value": "Close Modal Page"
354
348
  }
355
349
  ],
350
+ "CustomViewLoader.error.load": [
351
+ {
352
+ "type": 0,
353
+ "value": "We could not load the Custom View. Please contact your administrator to check its configuration."
354
+ }
355
+ ],
356
356
  "ErrorApologizer.notifiedTeam": [
357
357
  {
358
358
  "type": 0,
@@ -132,7 +132,7 @@
132
132
  "ApiError.InvalidSlug": [
133
133
  {
134
134
  "type": 0,
135
- "value": "Os slugs podem conter apenas caracteres alfanuméricos (0-9A-Z), sublinhados e hífens e devem ter um comprimento entre 2 e 256 caracteres."
135
+ "value": "Os slugs podem conter apenas caracteres alfanuméricos (0-9A-Z), sublinhados e hifens e devem ter um comprimento entre 2 e 256 caracteres."
136
136
  }
137
137
  ],
138
138
  "ApiError.MaxResourceLimitExceeded": [
@@ -242,7 +242,7 @@
242
242
  "AppKit.Shared.add": [
243
243
  {
244
244
  "type": 0,
245
- "value": "Adcionar"
245
+ "value": "Adicionar"
246
246
  }
247
247
  ],
248
248
  "AppKit.Shared.cancel": [
@@ -335,12 +335,6 @@
335
335
  "value": "Atualizar"
336
336
  }
337
337
  ],
338
- "Components.CustomViewLoader.error.load": [
339
- {
340
- "type": 0,
341
- "value": "Não foi possível carregar a Exibição personalizada. Entre em contato com seu administrador para verificar sua configuração."
342
- }
343
- ],
344
338
  "Components.ModalPage.TopBar.Back": [
345
339
  {
346
340
  "type": 0,
@@ -353,6 +347,12 @@
353
347
  "value": "Fechar Página modal"
354
348
  }
355
349
  ],
350
+ "CustomViewLoader.error.load": [
351
+ {
352
+ "type": 0,
353
+ "value": "Não foi possível carregar a Exibição personalizada. Entre em contato com seu administrador para verificar sua configuração."
354
+ }
355
+ ],
356
356
  "ErrorApologizer.notifiedTeam": [
357
357
  {
358
358
  "type": 0,
@@ -59,7 +59,7 @@ var _Object$assign__default = /*#__PURE__*/_interopDefault(_Object$assign);
59
59
  var _startsWithInstanceProperty__default = /*#__PURE__*/_interopDefault(_startsWithInstanceProperty);
60
60
 
61
61
  // NOTE: This string will be replaced on build time with the package version.
62
- var version = "22.7.0";
62
+ var version = "22.8.0";
63
63
 
64
64
  // @ts-nocheck
65
65
  /* THIS IS A GENERATED FILE */
@@ -193,8 +193,8 @@ async function loadMomentLocales(locale) {
193
193
  }
194
194
  }
195
195
 
196
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
197
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context2, _context3; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(source), !0)).call(_context2, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(source))).call(_context3, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
196
+ function ownKeys(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; }
197
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
198
198
  const extractLanguageTagFromLocale = locale => _includesInstanceProperty__default["default"](locale).call(locale, '-') ? locale.split('-')[0] : locale;
199
199
  const isStructuredJson = message => (message === null || message === void 0 ? void 0 : message.string) !== undefined;
200
200
  const parseChunkImport = chunkImport => {
@@ -254,7 +254,7 @@ const getAppKitChunkImport = locale => {
254
254
  case 'fr-FR':
255
255
  return Promise.resolve().then(function () { return require( /* webpackChunkName: "i18n-app-kit-locale-fr-FR" */'./fr-FR-398bae77.cjs.dev.js'); });
256
256
  case 'pt-BR':
257
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "i18n-app-kit-locale-pt-BR" */'./pt-BR-b34669a9.cjs.dev.js'); });
257
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "i18n-app-kit-locale-pt-BR" */'./pt-BR-e62f0a3a.cjs.dev.js'); });
258
258
  case 'zh-CN':
259
259
  return Promise.resolve().then(function () { return require( /* webpackChunkName: "i18n-app-kit-locale-zh-CN" */'./zh-CN-b1ea3588.cjs.dev.js'); });
260
260
  default:
@@ -59,7 +59,7 @@ var _Object$assign__default = /*#__PURE__*/_interopDefault(_Object$assign);
59
59
  var _startsWithInstanceProperty__default = /*#__PURE__*/_interopDefault(_startsWithInstanceProperty);
60
60
 
61
61
  // NOTE: This string will be replaced on build time with the package version.
62
- var version = "22.7.0";
62
+ var version = "22.8.0";
63
63
 
64
64
  // @ts-nocheck
65
65
  /* THIS IS A GENERATED FILE */
@@ -193,8 +193,8 @@ async function loadMomentLocales(locale) {
193
193
  }
194
194
  }
195
195
 
196
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
197
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context2, _context3; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(source), !0)).call(_context2, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(source))).call(_context3, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
196
+ function ownKeys(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; }
197
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
198
198
  const extractLanguageTagFromLocale = locale => _includesInstanceProperty__default["default"](locale).call(locale, '-') ? locale.split('-')[0] : locale;
199
199
  const isStructuredJson = message => (message === null || message === void 0 ? void 0 : message.string) !== undefined;
200
200
  const parseChunkImport = chunkImport => {
@@ -254,7 +254,7 @@ const getAppKitChunkImport = locale => {
254
254
  case 'fr-FR':
255
255
  return Promise.resolve().then(function () { return require( /* webpackChunkName: "i18n-app-kit-locale-fr-FR" */'./fr-FR-c5a88750.cjs.prod.js'); });
256
256
  case 'pt-BR':
257
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "i18n-app-kit-locale-pt-BR" */'./pt-BR-0eedad10.cjs.prod.js'); });
257
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "i18n-app-kit-locale-pt-BR" */'./pt-BR-650b5533.cjs.prod.js'); });
258
258
  case 'zh-CN':
259
259
  return Promise.resolve().then(function () { return require( /* webpackChunkName: "i18n-app-kit-locale-zh-CN" */'./zh-CN-0abd9a06.cjs.prod.js'); });
260
260
  default:
@@ -20,7 +20,7 @@ import { jsx, Fragment } from '@emotion/react/jsx-runtime';
20
20
  import { defineMessages } from 'react-intl';
21
21
 
22
22
  // NOTE: This string will be replaced on build time with the package version.
23
- var version = "22.7.0";
23
+ var version = "22.8.0";
24
24
 
25
25
  // @ts-nocheck
26
26
  /* THIS IS A GENERATED FILE */
@@ -154,8 +154,8 @@ async function loadMomentLocales(locale) {
154
154
  }
155
155
  }
156
156
 
157
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
158
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context2, _context3; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context2 = ownKeys(Object(source), !0)).call(_context2, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context3 = ownKeys(Object(source))).call(_context3, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
157
+ function ownKeys(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; }
158
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
159
159
  const extractLanguageTagFromLocale = locale => _includesInstanceProperty(locale).call(locale, '-') ? locale.split('-')[0] : locale;
160
160
  const isStructuredJson = message => (message === null || message === void 0 ? void 0 : message.string) !== undefined;
161
161
  const parseChunkImport = chunkImport => {
@@ -215,7 +215,7 @@ const getAppKitChunkImport = locale => {
215
215
  case 'fr-FR':
216
216
  return import( /* webpackChunkName: "i18n-app-kit-locale-fr-FR" */'./fr-FR-f69eb330.esm.js');
217
217
  case 'pt-BR':
218
- return import( /* webpackChunkName: "i18n-app-kit-locale-pt-BR" */'./pt-BR-3049107a.esm.js');
218
+ return import( /* webpackChunkName: "i18n-app-kit-locale-pt-BR" */'./pt-BR-9d1741cc.esm.js');
219
219
  case 'zh-CN':
220
220
  return import( /* webpackChunkName: "i18n-app-kit-locale-zh-CN" */'./zh-CN-0f904080.esm.js');
221
221
  default:
@@ -134,7 +134,7 @@ var ptBR = {
134
134
  "ApiError.InvalidSlug": [
135
135
  {
136
136
  type: 0,
137
- value: "Os slugs podem conter apenas caracteres alfanuméricos (0-9A-Z), sublinhados e hífens e devem ter um comprimento entre 2 e 256 caracteres."
137
+ value: "Os slugs podem conter apenas caracteres alfanuméricos (0-9A-Z), sublinhados e hifens e devem ter um comprimento entre 2 e 256 caracteres."
138
138
  }
139
139
  ],
140
140
  "ApiError.MaxResourceLimitExceeded": [
@@ -244,7 +244,7 @@ var ptBR = {
244
244
  "AppKit.Shared.add": [
245
245
  {
246
246
  type: 0,
247
- value: "Adcionar"
247
+ value: "Adicionar"
248
248
  }
249
249
  ],
250
250
  "AppKit.Shared.cancel": [
@@ -337,12 +337,6 @@ var ptBR = {
337
337
  value: "Atualizar"
338
338
  }
339
339
  ],
340
- "Components.CustomViewLoader.error.load": [
341
- {
342
- type: 0,
343
- value: "Não foi possível carregar a Exibição personalizada. Entre em contato com seu administrador para verificar sua configuração."
344
- }
345
- ],
346
340
  "Components.ModalPage.TopBar.Back": [
347
341
  {
348
342
  type: 0,
@@ -355,6 +349,12 @@ var ptBR = {
355
349
  value: "Fechar Página modal"
356
350
  }
357
351
  ],
352
+ "CustomViewLoader.error.load": [
353
+ {
354
+ type: 0,
355
+ value: "Não foi possível carregar a Exibição personalizada. Entre em contato com seu administrador para verificar sua configuração."
356
+ }
357
+ ],
358
358
  "ErrorApologizer.notifiedTeam": [
359
359
  {
360
360
  type: 0,
@@ -132,7 +132,7 @@ var ptBR = {
132
132
  "ApiError.InvalidSlug": [
133
133
  {
134
134
  type: 0,
135
- value: "Os slugs podem conter apenas caracteres alfanuméricos (0-9A-Z), sublinhados e hífens e devem ter um comprimento entre 2 e 256 caracteres."
135
+ value: "Os slugs podem conter apenas caracteres alfanuméricos (0-9A-Z), sublinhados e hifens e devem ter um comprimento entre 2 e 256 caracteres."
136
136
  }
137
137
  ],
138
138
  "ApiError.MaxResourceLimitExceeded": [
@@ -242,7 +242,7 @@ var ptBR = {
242
242
  "AppKit.Shared.add": [
243
243
  {
244
244
  type: 0,
245
- value: "Adcionar"
245
+ value: "Adicionar"
246
246
  }
247
247
  ],
248
248
  "AppKit.Shared.cancel": [
@@ -335,12 +335,6 @@ var ptBR = {
335
335
  value: "Atualizar"
336
336
  }
337
337
  ],
338
- "Components.CustomViewLoader.error.load": [
339
- {
340
- type: 0,
341
- value: "Não foi possível carregar a Exibição personalizada. Entre em contato com seu administrador para verificar sua configuração."
342
- }
343
- ],
344
338
  "Components.ModalPage.TopBar.Back": [
345
339
  {
346
340
  type: 0,
@@ -353,6 +347,12 @@ var ptBR = {
353
347
  value: "Fechar Página modal"
354
348
  }
355
349
  ],
350
+ "CustomViewLoader.error.load": [
351
+ {
352
+ type: 0,
353
+ value: "Não foi possível carregar a Exibição personalizada. Entre em contato com seu administrador para verificar sua configuração."
354
+ }
355
+ ],
356
356
  "ErrorApologizer.notifiedTeam": [
357
357
  {
358
358
  type: 0,
@@ -134,7 +134,7 @@ var ptBR = {
134
134
  "ApiError.InvalidSlug": [
135
135
  {
136
136
  type: 0,
137
- value: "Os slugs podem conter apenas caracteres alfanuméricos (0-9A-Z), sublinhados e hífens e devem ter um comprimento entre 2 e 256 caracteres."
137
+ value: "Os slugs podem conter apenas caracteres alfanuméricos (0-9A-Z), sublinhados e hifens e devem ter um comprimento entre 2 e 256 caracteres."
138
138
  }
139
139
  ],
140
140
  "ApiError.MaxResourceLimitExceeded": [
@@ -244,7 +244,7 @@ var ptBR = {
244
244
  "AppKit.Shared.add": [
245
245
  {
246
246
  type: 0,
247
- value: "Adcionar"
247
+ value: "Adicionar"
248
248
  }
249
249
  ],
250
250
  "AppKit.Shared.cancel": [
@@ -337,12 +337,6 @@ var ptBR = {
337
337
  value: "Atualizar"
338
338
  }
339
339
  ],
340
- "Components.CustomViewLoader.error.load": [
341
- {
342
- type: 0,
343
- value: "Não foi possível carregar a Exibição personalizada. Entre em contato com seu administrador para verificar sua configuração."
344
- }
345
- ],
346
340
  "Components.ModalPage.TopBar.Back": [
347
341
  {
348
342
  type: 0,
@@ -355,6 +349,12 @@ var ptBR = {
355
349
  value: "Fechar Página modal"
356
350
  }
357
351
  ],
352
+ "CustomViewLoader.error.load": [
353
+ {
354
+ type: 0,
355
+ value: "Não foi possível carregar a Exibição personalizada. Entre em contato com seu administrador para verificar sua configuração."
356
+ }
357
+ ],
358
358
  "ErrorApologizer.notifiedTeam": [
359
359
  {
360
360
  type: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/i18n",
3
- "version": "22.7.0",
3
+ "version": "22.8.0",
4
4
  "description": "MC i18n messages",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -29,24 +29,24 @@
29
29
  "README.md"
30
30
  ],
31
31
  "dependencies": {
32
- "@babel/runtime": "^7.20.13",
33
- "@babel/runtime-corejs3": "^7.20.13",
32
+ "@babel/runtime": "^7.22.15",
33
+ "@babel/runtime-corejs3": "^7.22.15",
34
34
  "@commercetools-community-kit/i18n": "^0.3.0",
35
- "@commercetools-frontend/sentry": "22.7.0",
36
- "@commercetools-uikit/i18n": "^16.7.0",
35
+ "@commercetools-frontend/sentry": "22.8.0",
36
+ "@commercetools-uikit/i18n": "^16.7.3",
37
37
  "@emotion/react": "11.11.0",
38
38
  "@formatjs/icu-messageformat-parser": "2.4.0",
39
39
  "@types/prop-types": "^15.7.5",
40
- "@types/react": "^17.0.53",
40
+ "@types/react": "^17.0.56",
41
41
  "moment": "^2.29.4",
42
42
  "prop-types": "15.8.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@formatjs/cli": "6.1.1",
46
- "@types/jest": "^29.5.1",
46
+ "@types/jest": "^29.5.4",
47
47
  "jest-mock": "29.5.0",
48
48
  "react": "17.0.2",
49
- "react-intl": "^6.4.2"
49
+ "react-intl": "^6.4.5"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": "17.x",