@commercetools-frontend-extensions/change-history 8.8.0 → 8.10.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 (22) hide show
  1. package/dist/commercetools-frontend-extensions-change-history.cjs.dev.js +24 -21
  2. package/dist/commercetools-frontend-extensions-change-history.cjs.prod.js +24 -21
  3. package/dist/commercetools-frontend-extensions-change-history.esm.js +24 -21
  4. package/dist/{de-e69a4211.esm.js → de-83324d82.esm.js} +214 -2
  5. package/dist/{de-6a7b26d8.cjs.dev.js → de-aac902ce.cjs.prod.js} +214 -2
  6. package/dist/{de-d70f9b96.cjs.prod.js → de-e6e817a7.cjs.dev.js} +214 -2
  7. package/dist/{en-e2763825.esm.js → en-a2f8e36b.esm.js} +99 -1
  8. package/dist/{en-7c749286.cjs.dev.js → en-a3c547c6.cjs.prod.js} +99 -1
  9. package/dist/{en-6265186f.cjs.prod.js → en-f1437d08.cjs.dev.js} +99 -1
  10. package/dist/{es-011c2169.esm.js → es-06808334.esm.js} +138 -7
  11. package/dist/{es-a64635cd.cjs.dev.js → es-51a34c2e.cjs.prod.js} +138 -7
  12. package/dist/{es-c50215e5.cjs.prod.js → es-d2ba49e5.cjs.dev.js} +138 -7
  13. package/dist/{fr-FR-12bc457b.cjs.dev.js → fr-FR-2010eee8.cjs.dev.js} +135 -4
  14. package/dist/{fr-FR-f25acf37.cjs.prod.js → fr-FR-5c2b073c.cjs.prod.js} +135 -4
  15. package/dist/{fr-FR-d5859448.esm.js → fr-FR-5e18bd86.esm.js} +135 -4
  16. package/dist/{pt-BR-e0fe15fc.cjs.dev.js → pt-BR-79469167.cjs.dev.js} +9 -2
  17. package/dist/{pt-BR-1164f35c.esm.js → pt-BR-c1cd433c.esm.js} +9 -2
  18. package/dist/{pt-BR-0258a984.cjs.prod.js → pt-BR-de5460f1.cjs.prod.js} +9 -2
  19. package/dist/{zh-CN-d603c674.cjs.dev.js → zh-CN-27c1cb9a.cjs.prod.js} +100 -2
  20. package/dist/{zh-CN-b0b78d37.cjs.prod.js → zh-CN-84b9fbc9.cjs.dev.js} +100 -2
  21. package/dist/{zh-CN-c6de78b6.esm.js → zh-CN-ea777970.esm.js} +100 -2
  22. package/package.json +20 -20
@@ -151,7 +151,7 @@ var debounce__default$1 = /*#__PURE__*/_interopDefault(debounce$1);
151
151
  var kebabCase__default = /*#__PURE__*/_interopDefault(kebabCase);
152
152
 
153
153
  // NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
154
- var version = "8.8.0";
154
+ var version = "8.10.0";
155
155
 
156
156
  const ChangeHistoryContext = /*#__PURE__*/react.createContext({});
157
157
  const ChangeHistoryContextProvider = ChangeHistoryContext.Provider;
@@ -13336,7 +13336,7 @@ const useStoreKeysInDataFences = _ref => {
13336
13336
 
13337
13337
  function ownKeys$M(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; }
13338
13338
  function _objectSpread$M(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$M(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$M(Object(source))).call(_context3, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
13339
- var FetchStoresQuery$1 = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchStoresQuery" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "limit" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "offset" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "sort" } }, type: { kind: "ListType", type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "where" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "stores" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "limit" }, value: { kind: "Variable", name: { kind: "Name", value: "limit" } } }, { kind: "Argument", name: { kind: "Name", value: "offset" }, value: { kind: "Variable", name: { kind: "Name", value: "offset" } } }, { kind: "Argument", name: { kind: "Name", value: "sort" }, value: { kind: "Variable", name: { kind: "Name", value: "sort" } } }, { kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "Variable", name: { kind: "Name", value: "where" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "total" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "count" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "offset" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "createdAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "lastModifiedAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }] }, { kind: "Field", name: { kind: "Name", value: "distributionChannelsRef" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "distributionChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "supplyChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "productSelections" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "active" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "productSelection" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }] } }], loc: { start: 0, end: 1034, source: { body: "query FetchStoresQuery(\n $limit: Int\n $offset: Int\n $sort: [String!]\n $where: String\n $excludeExtendedStoresList: Boolean!\n) {\n stores(limit: $limit, offset: $offset, sort: $sort, where: $where) {\n total\n count\n offset\n results {\n id\n key\n version\n nameAllLocales {\n locale\n value\n }\n createdAt\n lastModifiedAt\n languages @skip(if: $excludeExtendedStoresList)\n distributionChannelsRef {\n id\n }\n distributionChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n supplyChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n productSelections @skip(if: $excludeExtendedStoresList) {\n active\n productSelection {\n id\n nameAllLocales {\n locale\n value\n }\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
13339
+ var FetchStoresListQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchStoresListQuery" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "limit" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "offset" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "sort" } }, type: { kind: "ListType", type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "where" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "stores" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "limit" }, value: { kind: "Variable", name: { kind: "Name", value: "limit" } } }, { kind: "Argument", name: { kind: "Name", value: "offset" }, value: { kind: "Variable", name: { kind: "Name", value: "offset" } } }, { kind: "Argument", name: { kind: "Name", value: "sort" }, value: { kind: "Variable", name: { kind: "Name", value: "sort" } } }, { kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "Variable", name: { kind: "Name", value: "where" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "total" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "count" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "offset" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "createdAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "lastModifiedAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }] }, { kind: "Field", name: { kind: "Name", value: "distributionChannelsRef" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "distributionChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "supplyChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "productSelections" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "active" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "productSelection" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }] } }], loc: { start: 0, end: 1038, source: { body: "query FetchStoresListQuery(\n $limit: Int\n $offset: Int\n $sort: [String!]\n $where: String\n $excludeExtendedStoresList: Boolean!\n) {\n stores(limit: $limit, offset: $offset, sort: $sort, where: $where) {\n total\n count\n offset\n results {\n id\n key\n version\n nameAllLocales {\n locale\n value\n }\n createdAt\n lastModifiedAt\n languages @skip(if: $excludeExtendedStoresList)\n distributionChannelsRef {\n id\n }\n distributionChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n supplyChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n productSelections @skip(if: $excludeExtendedStoresList) {\n active\n productSelection {\n id\n nameAllLocales {\n locale\n value\n }\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
13340
13340
  const createQueryVariables$5 = ownProps => {
13341
13341
  var _context;
13342
13342
  return _objectSpread$M(_objectSpread$M({
@@ -13359,7 +13359,7 @@ const useStoresListFetcher = props => {
13359
13359
  stores: props.stores,
13360
13360
  excludeExtendedStoresList
13361
13361
  });
13362
- const storesGraphqlQuery = FetchStoresQuery$1;
13362
+ const storesGraphqlQuery = FetchStoresListQuery;
13363
13363
  const _useQuery = react$2.useQuery(storesGraphqlQuery, {
13364
13364
  variables: queryVariables,
13365
13365
  context: {
@@ -13376,7 +13376,7 @@ const useStoresListFetcher = props => {
13376
13376
  refetch,
13377
13377
  stores: data === null || data === void 0 ? void 0 : data.stores,
13378
13378
  refetchQuery: {
13379
- query: FetchStoresQuery$1,
13379
+ query: FetchStoresListQuery,
13380
13380
  variables: queryVariables,
13381
13381
  context: {
13382
13382
  target: constants.GRAPHQL_TARGETS.COMMERCETOOLS_PLATFORM
@@ -16031,13 +16031,16 @@ var FetchCurrentRecords = { kind: "Document", definitions: [{ kind: "OperationDe
16031
16031
  var FetchStoresQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchStoresQuery" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "where" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "limit" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "stores" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "Variable", name: { kind: "Name", value: "where" } } }, { kind: "Argument", name: { kind: "Name", value: "limit" }, value: { kind: "Variable", name: { kind: "Name", value: "limit" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }], loc: { start: 0, end: 192, source: { body: "query FetchStoresQuery($where: String!, $limit: Int) {\n stores(where: $where, limit: $limit) {\n results {\n key\n nameAllLocales {\n locale\n value\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
16032
16032
  function ChangeHistoryListConnector(props) {
16033
16033
  var _filters$stores$, _context, _storesData$stores;
16034
- const _useApplicationContex = applicationShellConnectors.useApplicationContext(applicationContext => ({
16035
- organizationId: applicationContext.project && applicationContext.project.ownerId,
16036
- language: applicationContext.dataLocale,
16037
- languages: applicationContext.project && applicationContext.project.languages,
16038
- locale: applicationContext.dataLocale,
16039
- timeZone: applicationContext.user.timeZone
16040
- })),
16034
+ const _useApplicationContex = applicationShellConnectors.useApplicationContext(applicationContext => {
16035
+ var _applicationContext$u;
16036
+ return {
16037
+ organizationId: applicationContext.project && applicationContext.project.ownerId,
16038
+ language: applicationContext.dataLocale,
16039
+ languages: applicationContext.project && applicationContext.project.languages,
16040
+ locale: applicationContext.dataLocale,
16041
+ timeZone: (_applicationContext$u = applicationContext.user) === null || _applicationContext$u === void 0 ? void 0 : _applicationContext$u.timeZone
16042
+ };
16043
+ }),
16041
16044
  organizationId = _useApplicationContex.organizationId,
16042
16045
  locale = _useApplicationContex.locale,
16043
16046
  timeZone = _useApplicationContex.timeZone;
@@ -16085,7 +16088,7 @@ function ChangeHistoryListConnector(props) {
16085
16088
  variables: _objectSpread$C({
16086
16089
  limit: props.searchQuery.perPage,
16087
16090
  offset: (props.searchQuery.page - 1) * props.searchQuery.perPage,
16088
- // By default the FE wants expanded changes
16091
+ // By default, the FE wants expanded changes
16089
16092
  expand: true
16090
16093
  }, changeHistoryFilters)
16091
16094
  }),
@@ -16099,7 +16102,7 @@ function ChangeHistoryListConnector(props) {
16099
16102
  projectKey: props.projectKey
16100
16103
  },
16101
16104
  variables: {
16102
- where: storeKeysWhere,
16105
+ where: storeKeysWhere || '',
16103
16106
  // the limit is 500 - this is the max allowed by API,
16104
16107
  // handling more than 500 store names will be implemented
16105
16108
  // along with the filter by store feature
@@ -16116,7 +16119,7 @@ function ChangeHistoryListConnector(props) {
16116
16119
  projectKey: props.projectKey
16117
16120
  },
16118
16121
  variables: {
16119
- where: entityLabelCustomerDataWhere
16122
+ where: entityLabelCustomerDataWhere || ''
16120
16123
  },
16121
16124
  skip: !entityLabelCustomerDataWhere
16122
16125
  }),
@@ -16134,7 +16137,7 @@ function ChangeHistoryListConnector(props) {
16134
16137
  projectKey: props.projectKey
16135
16138
  },
16136
16139
  variables: {
16137
- organizationId
16140
+ organizationId: organizationId || ''
16138
16141
  }
16139
16142
  }),
16140
16143
  isUserDataLoading = _useMcQuery5.loading,
@@ -22209,17 +22212,17 @@ const loadMessages = locale => {
22209
22212
  const intlLocale = i18n.mapLocaleToIntlLocale(locale);
22210
22213
  switch (intlLocale) {
22211
22214
  case 'de':
22212
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-de" */'./de-6a7b26d8.cjs.dev.js'); });
22215
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-de" */'./de-e6e817a7.cjs.dev.js'); });
22213
22216
  case 'es':
22214
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-es" */'./es-a64635cd.cjs.dev.js'); });
22217
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-es" */'./es-d2ba49e5.cjs.dev.js'); });
22215
22218
  case 'fr-FR':
22216
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-fr-FR" */'./fr-FR-12bc457b.cjs.dev.js'); });
22219
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-fr-FR" */'./fr-FR-2010eee8.cjs.dev.js'); });
22217
22220
  case 'pt-BR':
22218
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-e0fe15fc.cjs.dev.js'); });
22221
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-79469167.cjs.dev.js'); });
22219
22222
  case 'zh-CN':
22220
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-zh-CN" */'./zh-CN-d603c674.cjs.dev.js'); });
22223
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-zh-CN" */'./zh-CN-84b9fbc9.cjs.dev.js'); });
22221
22224
  default:
22222
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-en" */'./en-7c749286.cjs.dev.js'); });
22225
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-en" */'./en-f1437d08.cjs.dev.js'); });
22223
22226
  }
22224
22227
  };
22225
22228
 
@@ -151,7 +151,7 @@ var debounce__default$1 = /*#__PURE__*/_interopDefault(debounce$1);
151
151
  var kebabCase__default = /*#__PURE__*/_interopDefault(kebabCase);
152
152
 
153
153
  // NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
154
- var version = "8.8.0";
154
+ var version = "8.10.0";
155
155
 
156
156
  const ChangeHistoryContext = /*#__PURE__*/react.createContext({});
157
157
  const ChangeHistoryContextProvider = ChangeHistoryContext.Provider;
@@ -12834,7 +12834,7 @@ const useStoreKeysInDataFences = _ref => {
12834
12834
 
12835
12835
  function ownKeys$M(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; }
12836
12836
  function _objectSpread$M(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$M(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$M(Object(source))).call(_context3, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
12837
- var FetchStoresQuery$1 = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchStoresQuery" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "limit" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "offset" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "sort" } }, type: { kind: "ListType", type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "where" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "stores" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "limit" }, value: { kind: "Variable", name: { kind: "Name", value: "limit" } } }, { kind: "Argument", name: { kind: "Name", value: "offset" }, value: { kind: "Variable", name: { kind: "Name", value: "offset" } } }, { kind: "Argument", name: { kind: "Name", value: "sort" }, value: { kind: "Variable", name: { kind: "Name", value: "sort" } } }, { kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "Variable", name: { kind: "Name", value: "where" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "total" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "count" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "offset" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "createdAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "lastModifiedAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }] }, { kind: "Field", name: { kind: "Name", value: "distributionChannelsRef" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "distributionChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "supplyChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "productSelections" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "active" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "productSelection" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }] } }], loc: { start: 0, end: 1034, source: { body: "query FetchStoresQuery(\n $limit: Int\n $offset: Int\n $sort: [String!]\n $where: String\n $excludeExtendedStoresList: Boolean!\n) {\n stores(limit: $limit, offset: $offset, sort: $sort, where: $where) {\n total\n count\n offset\n results {\n id\n key\n version\n nameAllLocales {\n locale\n value\n }\n createdAt\n lastModifiedAt\n languages @skip(if: $excludeExtendedStoresList)\n distributionChannelsRef {\n id\n }\n distributionChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n supplyChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n productSelections @skip(if: $excludeExtendedStoresList) {\n active\n productSelection {\n id\n nameAllLocales {\n locale\n value\n }\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
12837
+ var FetchStoresListQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchStoresListQuery" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "limit" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "offset" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "sort" } }, type: { kind: "ListType", type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "where" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "stores" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "limit" }, value: { kind: "Variable", name: { kind: "Name", value: "limit" } } }, { kind: "Argument", name: { kind: "Name", value: "offset" }, value: { kind: "Variable", name: { kind: "Name", value: "offset" } } }, { kind: "Argument", name: { kind: "Name", value: "sort" }, value: { kind: "Variable", name: { kind: "Name", value: "sort" } } }, { kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "Variable", name: { kind: "Name", value: "where" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "total" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "count" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "offset" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "createdAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "lastModifiedAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }] }, { kind: "Field", name: { kind: "Name", value: "distributionChannelsRef" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "distributionChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "supplyChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "productSelections" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "active" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "productSelection" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }] } }], loc: { start: 0, end: 1038, source: { body: "query FetchStoresListQuery(\n $limit: Int\n $offset: Int\n $sort: [String!]\n $where: String\n $excludeExtendedStoresList: Boolean!\n) {\n stores(limit: $limit, offset: $offset, sort: $sort, where: $where) {\n total\n count\n offset\n results {\n id\n key\n version\n nameAllLocales {\n locale\n value\n }\n createdAt\n lastModifiedAt\n languages @skip(if: $excludeExtendedStoresList)\n distributionChannelsRef {\n id\n }\n distributionChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n supplyChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n productSelections @skip(if: $excludeExtendedStoresList) {\n active\n productSelection {\n id\n nameAllLocales {\n locale\n value\n }\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
12838
12838
  const createQueryVariables$5 = ownProps => {
12839
12839
  var _context;
12840
12840
  return _objectSpread$M(_objectSpread$M({
@@ -12857,7 +12857,7 @@ const useStoresListFetcher = props => {
12857
12857
  stores: props.stores,
12858
12858
  excludeExtendedStoresList
12859
12859
  });
12860
- const storesGraphqlQuery = FetchStoresQuery$1;
12860
+ const storesGraphqlQuery = FetchStoresListQuery;
12861
12861
  const _useQuery = react$2.useQuery(storesGraphqlQuery, {
12862
12862
  variables: queryVariables,
12863
12863
  context: {
@@ -12874,7 +12874,7 @@ const useStoresListFetcher = props => {
12874
12874
  refetch,
12875
12875
  stores: data === null || data === void 0 ? void 0 : data.stores,
12876
12876
  refetchQuery: {
12877
- query: FetchStoresQuery$1,
12877
+ query: FetchStoresListQuery,
12878
12878
  variables: queryVariables,
12879
12879
  context: {
12880
12880
  target: constants.GRAPHQL_TARGETS.COMMERCETOOLS_PLATFORM
@@ -15180,13 +15180,16 @@ var FetchCurrentRecords = { kind: "Document", definitions: [{ kind: "OperationDe
15180
15180
  var FetchStoresQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchStoresQuery" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "where" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "limit" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "stores" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "Variable", name: { kind: "Name", value: "where" } } }, { kind: "Argument", name: { kind: "Name", value: "limit" }, value: { kind: "Variable", name: { kind: "Name", value: "limit" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }], loc: { start: 0, end: 192, source: { body: "query FetchStoresQuery($where: String!, $limit: Int) {\n stores(where: $where, limit: $limit) {\n results {\n key\n nameAllLocales {\n locale\n value\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
15181
15181
  function ChangeHistoryListConnector(props) {
15182
15182
  var _filters$stores$, _context, _storesData$stores;
15183
- const _useApplicationContex = applicationShellConnectors.useApplicationContext(applicationContext => ({
15184
- organizationId: applicationContext.project && applicationContext.project.ownerId,
15185
- language: applicationContext.dataLocale,
15186
- languages: applicationContext.project && applicationContext.project.languages,
15187
- locale: applicationContext.dataLocale,
15188
- timeZone: applicationContext.user.timeZone
15189
- })),
15183
+ const _useApplicationContex = applicationShellConnectors.useApplicationContext(applicationContext => {
15184
+ var _applicationContext$u;
15185
+ return {
15186
+ organizationId: applicationContext.project && applicationContext.project.ownerId,
15187
+ language: applicationContext.dataLocale,
15188
+ languages: applicationContext.project && applicationContext.project.languages,
15189
+ locale: applicationContext.dataLocale,
15190
+ timeZone: (_applicationContext$u = applicationContext.user) === null || _applicationContext$u === void 0 ? void 0 : _applicationContext$u.timeZone
15191
+ };
15192
+ }),
15190
15193
  organizationId = _useApplicationContex.organizationId,
15191
15194
  locale = _useApplicationContex.locale,
15192
15195
  timeZone = _useApplicationContex.timeZone;
@@ -15234,7 +15237,7 @@ function ChangeHistoryListConnector(props) {
15234
15237
  variables: _objectSpread$C({
15235
15238
  limit: props.searchQuery.perPage,
15236
15239
  offset: (props.searchQuery.page - 1) * props.searchQuery.perPage,
15237
- // By default the FE wants expanded changes
15240
+ // By default, the FE wants expanded changes
15238
15241
  expand: true
15239
15242
  }, changeHistoryFilters)
15240
15243
  }),
@@ -15248,7 +15251,7 @@ function ChangeHistoryListConnector(props) {
15248
15251
  projectKey: props.projectKey
15249
15252
  },
15250
15253
  variables: {
15251
- where: storeKeysWhere,
15254
+ where: storeKeysWhere || '',
15252
15255
  // the limit is 500 - this is the max allowed by API,
15253
15256
  // handling more than 500 store names will be implemented
15254
15257
  // along with the filter by store feature
@@ -15265,7 +15268,7 @@ function ChangeHistoryListConnector(props) {
15265
15268
  projectKey: props.projectKey
15266
15269
  },
15267
15270
  variables: {
15268
- where: entityLabelCustomerDataWhere
15271
+ where: entityLabelCustomerDataWhere || ''
15269
15272
  },
15270
15273
  skip: !entityLabelCustomerDataWhere
15271
15274
  }),
@@ -15283,7 +15286,7 @@ function ChangeHistoryListConnector(props) {
15283
15286
  projectKey: props.projectKey
15284
15287
  },
15285
15288
  variables: {
15286
- organizationId
15289
+ organizationId: organizationId || ''
15287
15290
  }
15288
15291
  }),
15289
15292
  isUserDataLoading = _useMcQuery5.loading,
@@ -20667,17 +20670,17 @@ const loadMessages = locale => {
20667
20670
  const intlLocale = i18n.mapLocaleToIntlLocale(locale);
20668
20671
  switch (intlLocale) {
20669
20672
  case 'de':
20670
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-de" */'./de-d70f9b96.cjs.prod.js'); });
20673
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-de" */'./de-aac902ce.cjs.prod.js'); });
20671
20674
  case 'es':
20672
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-es" */'./es-c50215e5.cjs.prod.js'); });
20675
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-es" */'./es-51a34c2e.cjs.prod.js'); });
20673
20676
  case 'fr-FR':
20674
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-fr-FR" */'./fr-FR-f25acf37.cjs.prod.js'); });
20677
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-fr-FR" */'./fr-FR-5c2b073c.cjs.prod.js'); });
20675
20678
  case 'pt-BR':
20676
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-0258a984.cjs.prod.js'); });
20679
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-de5460f1.cjs.prod.js'); });
20677
20680
  case 'zh-CN':
20678
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-zh-CN" */'./zh-CN-b0b78d37.cjs.prod.js'); });
20681
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-zh-CN" */'./zh-CN-27c1cb9a.cjs.prod.js'); });
20679
20682
  default:
20680
- return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-en" */'./en-6265186f.cjs.prod.js'); });
20683
+ return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-en" */'./en-a3c547c6.cjs.prod.js'); });
20681
20684
  }
20682
20685
  };
20683
20686
 
@@ -90,7 +90,7 @@ import kebabCase from 'lodash/kebabCase';
90
90
  import { parseChunkImport, mapLocaleToIntlLocale } from '@commercetools-frontend/i18n';
91
91
 
92
92
  // NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
93
- var version = "8.8.0";
93
+ var version = "8.10.0";
94
94
 
95
95
  const ChangeHistoryContext = /*#__PURE__*/createContext({});
96
96
  const ChangeHistoryContextProvider = ChangeHistoryContext.Provider;
@@ -13275,7 +13275,7 @@ const useStoreKeysInDataFences = _ref => {
13275
13275
 
13276
13276
  function ownKeys$M(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; }
13277
13277
  function _objectSpread$M(target) { for (var i = 1; i < arguments.length; i++) { var _context2, _context3; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context2 = ownKeys$M(Object(source), !0)).call(_context2, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context3 = ownKeys$M(Object(source))).call(_context3, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
13278
- var FetchStoresQuery$1 = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchStoresQuery" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "limit" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "offset" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "sort" } }, type: { kind: "ListType", type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "where" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "stores" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "limit" }, value: { kind: "Variable", name: { kind: "Name", value: "limit" } } }, { kind: "Argument", name: { kind: "Name", value: "offset" }, value: { kind: "Variable", name: { kind: "Name", value: "offset" } } }, { kind: "Argument", name: { kind: "Name", value: "sort" }, value: { kind: "Variable", name: { kind: "Name", value: "sort" } } }, { kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "Variable", name: { kind: "Name", value: "where" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "total" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "count" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "offset" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "createdAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "lastModifiedAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }] }, { kind: "Field", name: { kind: "Name", value: "distributionChannelsRef" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "distributionChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "supplyChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "productSelections" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "active" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "productSelection" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }] } }], loc: { start: 0, end: 1034, source: { body: "query FetchStoresQuery(\n $limit: Int\n $offset: Int\n $sort: [String!]\n $where: String\n $excludeExtendedStoresList: Boolean!\n) {\n stores(limit: $limit, offset: $offset, sort: $sort, where: $where) {\n total\n count\n offset\n results {\n id\n key\n version\n nameAllLocales {\n locale\n value\n }\n createdAt\n lastModifiedAt\n languages @skip(if: $excludeExtendedStoresList)\n distributionChannelsRef {\n id\n }\n distributionChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n supplyChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n productSelections @skip(if: $excludeExtendedStoresList) {\n active\n productSelection {\n id\n nameAllLocales {\n locale\n value\n }\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
13278
+ var FetchStoresListQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchStoresListQuery" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "limit" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "offset" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "sort" } }, type: { kind: "ListType", type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "where" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "stores" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "limit" }, value: { kind: "Variable", name: { kind: "Name", value: "limit" } } }, { kind: "Argument", name: { kind: "Name", value: "offset" }, value: { kind: "Variable", name: { kind: "Name", value: "offset" } } }, { kind: "Argument", name: { kind: "Name", value: "sort" }, value: { kind: "Variable", name: { kind: "Name", value: "sort" } } }, { kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "Variable", name: { kind: "Name", value: "where" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "total" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "count" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "offset" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "createdAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "lastModifiedAt" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }] }, { kind: "Field", name: { kind: "Name", value: "distributionChannelsRef" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "distributionChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "supplyChannels" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "productSelections" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeExtendedStoresList" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "active" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "productSelection" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }] } }], loc: { start: 0, end: 1038, source: { body: "query FetchStoresListQuery(\n $limit: Int\n $offset: Int\n $sort: [String!]\n $where: String\n $excludeExtendedStoresList: Boolean!\n) {\n stores(limit: $limit, offset: $offset, sort: $sort, where: $where) {\n total\n count\n offset\n results {\n id\n key\n version\n nameAllLocales {\n locale\n value\n }\n createdAt\n lastModifiedAt\n languages @skip(if: $excludeExtendedStoresList)\n distributionChannelsRef {\n id\n }\n distributionChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n supplyChannels @skip(if: $excludeExtendedStoresList) {\n id\n key\n nameAllLocales {\n locale\n value\n }\n }\n productSelections @skip(if: $excludeExtendedStoresList) {\n active\n productSelection {\n id\n nameAllLocales {\n locale\n value\n }\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
13279
13279
  const createQueryVariables$5 = ownProps => {
13280
13280
  var _context;
13281
13281
  return _objectSpread$M(_objectSpread$M({
@@ -13298,7 +13298,7 @@ const useStoresListFetcher = props => {
13298
13298
  stores: props.stores,
13299
13299
  excludeExtendedStoresList
13300
13300
  });
13301
- const storesGraphqlQuery = FetchStoresQuery$1;
13301
+ const storesGraphqlQuery = FetchStoresListQuery;
13302
13302
  const _useQuery = useQuery$1(storesGraphqlQuery, {
13303
13303
  variables: queryVariables,
13304
13304
  context: {
@@ -13315,7 +13315,7 @@ const useStoresListFetcher = props => {
13315
13315
  refetch,
13316
13316
  stores: data === null || data === void 0 ? void 0 : data.stores,
13317
13317
  refetchQuery: {
13318
- query: FetchStoresQuery$1,
13318
+ query: FetchStoresListQuery,
13319
13319
  variables: queryVariables,
13320
13320
  context: {
13321
13321
  target: GRAPHQL_TARGETS.COMMERCETOOLS_PLATFORM
@@ -15970,13 +15970,16 @@ var FetchCurrentRecords = { kind: "Document", definitions: [{ kind: "OperationDe
15970
15970
  var FetchStoresQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchStoresQuery" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "where" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "limit" } }, type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "stores" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "Variable", name: { kind: "Name", value: "where" } } }, { kind: "Argument", name: { kind: "Name", value: "limit" }, value: { kind: "Variable", name: { kind: "Name", value: "limit" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }], loc: { start: 0, end: 192, source: { body: "query FetchStoresQuery($where: String!, $limit: Int) {\n stores(where: $where, limit: $limit) {\n results {\n key\n nameAllLocales {\n locale\n value\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
15971
15971
  function ChangeHistoryListConnector(props) {
15972
15972
  var _filters$stores$, _context, _storesData$stores;
15973
- const _useApplicationContex = useApplicationContext(applicationContext => ({
15974
- organizationId: applicationContext.project && applicationContext.project.ownerId,
15975
- language: applicationContext.dataLocale,
15976
- languages: applicationContext.project && applicationContext.project.languages,
15977
- locale: applicationContext.dataLocale,
15978
- timeZone: applicationContext.user.timeZone
15979
- })),
15973
+ const _useApplicationContex = useApplicationContext(applicationContext => {
15974
+ var _applicationContext$u;
15975
+ return {
15976
+ organizationId: applicationContext.project && applicationContext.project.ownerId,
15977
+ language: applicationContext.dataLocale,
15978
+ languages: applicationContext.project && applicationContext.project.languages,
15979
+ locale: applicationContext.dataLocale,
15980
+ timeZone: (_applicationContext$u = applicationContext.user) === null || _applicationContext$u === void 0 ? void 0 : _applicationContext$u.timeZone
15981
+ };
15982
+ }),
15980
15983
  organizationId = _useApplicationContex.organizationId,
15981
15984
  locale = _useApplicationContex.locale,
15982
15985
  timeZone = _useApplicationContex.timeZone;
@@ -16024,7 +16027,7 @@ function ChangeHistoryListConnector(props) {
16024
16027
  variables: _objectSpread$C({
16025
16028
  limit: props.searchQuery.perPage,
16026
16029
  offset: (props.searchQuery.page - 1) * props.searchQuery.perPage,
16027
- // By default the FE wants expanded changes
16030
+ // By default, the FE wants expanded changes
16028
16031
  expand: true
16029
16032
  }, changeHistoryFilters)
16030
16033
  }),
@@ -16038,7 +16041,7 @@ function ChangeHistoryListConnector(props) {
16038
16041
  projectKey: props.projectKey
16039
16042
  },
16040
16043
  variables: {
16041
- where: storeKeysWhere,
16044
+ where: storeKeysWhere || '',
16042
16045
  // the limit is 500 - this is the max allowed by API,
16043
16046
  // handling more than 500 store names will be implemented
16044
16047
  // along with the filter by store feature
@@ -16055,7 +16058,7 @@ function ChangeHistoryListConnector(props) {
16055
16058
  projectKey: props.projectKey
16056
16059
  },
16057
16060
  variables: {
16058
- where: entityLabelCustomerDataWhere
16061
+ where: entityLabelCustomerDataWhere || ''
16059
16062
  },
16060
16063
  skip: !entityLabelCustomerDataWhere
16061
16064
  }),
@@ -16073,7 +16076,7 @@ function ChangeHistoryListConnector(props) {
16073
16076
  projectKey: props.projectKey
16074
16077
  },
16075
16078
  variables: {
16076
- organizationId
16079
+ organizationId: organizationId || ''
16077
16080
  }
16078
16081
  }),
16079
16082
  isUserDataLoading = _useMcQuery5.loading,
@@ -22148,17 +22151,17 @@ const loadMessages = locale => {
22148
22151
  const intlLocale = mapLocaleToIntlLocale(locale);
22149
22152
  switch (intlLocale) {
22150
22153
  case 'de':
22151
- return import( /* webpackChunkName: "change-history-i18n-de" */'./de-e69a4211.esm.js');
22154
+ return import( /* webpackChunkName: "change-history-i18n-de" */'./de-83324d82.esm.js');
22152
22155
  case 'es':
22153
- return import( /* webpackChunkName: "change-history-i18n-es" */'./es-011c2169.esm.js');
22156
+ return import( /* webpackChunkName: "change-history-i18n-es" */'./es-06808334.esm.js');
22154
22157
  case 'fr-FR':
22155
- return import( /* webpackChunkName: "change-history-i18n-fr-FR" */'./fr-FR-d5859448.esm.js');
22158
+ return import( /* webpackChunkName: "change-history-i18n-fr-FR" */'./fr-FR-5e18bd86.esm.js');
22156
22159
  case 'pt-BR':
22157
- return import( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-1164f35c.esm.js');
22160
+ return import( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-c1cd433c.esm.js');
22158
22161
  case 'zh-CN':
22159
- return import( /* webpackChunkName: "change-history-i18n-zh-CN" */'./zh-CN-c6de78b6.esm.js');
22162
+ return import( /* webpackChunkName: "change-history-i18n-zh-CN" */'./zh-CN-ea777970.esm.js');
22160
22163
  default:
22161
- return import( /* webpackChunkName: "change-history-i18n-en" */'./en-e2763825.esm.js');
22164
+ return import( /* webpackChunkName: "change-history-i18n-en" */'./en-a2f8e36b.esm.js');
22162
22165
  }
22163
22166
  };
22164
22167