@commercetools-frontend/experimental-components 6.2.1 → 6.2.2

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.
@@ -42,10 +42,7 @@ import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringif
42
42
  import { transformLocalizedFieldToLocalizedString, formatLocalizedString, applyTransformedLocalizedFields, transformLocalizedStringToLocalizedField } from '@commercetools-frontend/l10n';
43
43
  import _Object$values from '@babel/runtime-corejs3/core-js-stable/object/values';
44
44
  import { useLazyQuery, useQuery as useQuery$2 } from '@apollo/client/react/hooks';
45
- import { graphql } from 'msw';
46
45
  import _sortInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/sort';
47
- import _lastIndexOfInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/last-index-of';
48
- import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
49
46
  import camelCase from 'lodash/camelCase';
50
47
  import get from 'lodash/get';
51
48
  import { useFormikContext, Field, Formik, getIn, FastField } from 'formik';
@@ -56,6 +53,7 @@ import _findInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instanc
56
53
  import pick from 'lodash/pick';
57
54
  import oneLine from 'common-tags/lib/oneLine';
58
55
  import moment from 'moment';
56
+ import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
59
57
  import _someInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/some';
60
58
  import moment$1 from 'moment-timezone';
61
59
  import isNil$1 from 'lodash/isNil';
@@ -78,6 +76,7 @@ import _Promise from '@babel/runtime-corejs3/core-js-stable/promise';
78
76
  import keyBy from 'lodash/keyBy';
79
77
  import { ErrorMessage } from '@commercetools-frontend/ui-kit/';
80
78
  import omitBy from 'lodash/omitBy';
79
+ import _lastIndexOfInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/last-index-of';
81
80
  import merge from 'lodash/merge';
82
81
  import set from 'lodash/set';
83
82
  import times from 'lodash/times';
@@ -93,7 +92,7 @@ import { filterDataAttributes as filterDataAttributes$1, filterAriaAttributes }
93
92
  import { oneLineTrim } from 'common-tags';
94
93
  import has from 'lodash/has';
95
94
  import warning from 'tiny-warning';
96
- import { graphql as graphql$1, withApollo } from '@apollo/client/react/hoc';
95
+ import { graphql, withApollo } from '@apollo/client/react/hoc';
97
96
  import flatten from 'lodash/flatten';
98
97
  import uniqBy from 'lodash/uniqBy';
99
98
  import invariant from 'tiny-invariant';
@@ -1687,42 +1686,6 @@ const useIsFieldDuplicated = () => {
1687
1686
  };
1688
1687
  };
1689
1688
 
1690
- const graphqlQueries = {
1691
- ASSOCIATE_ROLE: 'associateRoles',
1692
- ATTRIBUTE_GROUP: 'attributeGroups',
1693
- BUSINESS_UNIT: 'businessUnits',
1694
- CART: 'carts',
1695
- CART_DISCOUNT: 'cartDiscounts',
1696
- CATEGORY: 'categories',
1697
- CHANNEL: 'channels',
1698
- CUSTOMER: 'customers',
1699
- CUSTOMER_GROUP: 'customerGroups',
1700
- DISCOUNT_CODE: 'discountCodes',
1701
- INVENTORY_ENTRY: 'inventoryEntries',
1702
- ORDER: 'orders',
1703
- PAYMENT: 'payments',
1704
- PRODUCT: 'products',
1705
- PRODUCT_DISCOUNT: 'productDiscounts',
1706
- PRODUCT_SELECTION: 'productSelections',
1707
- PRODUCT_TYPE: 'productTypes',
1708
- SHIPPING_METHOD: 'shippingMethods',
1709
- STORE: 'stores',
1710
- TAX_CATEGORY: 'taxCategories',
1711
- ZONE: 'zones'
1712
- };
1713
- const handlers$6 = {
1714
- DuplicatedField: {
1715
- total: (total, resourceType) => graphql.query('FetchResourceTypeDuplicatedField', (req, res, ctx) => {
1716
- if (!graphqlQueries[resourceType]) return res(ctx.data({}));
1717
- return res(ctx.data({
1718
- [graphqlQueries[resourceType]]: {
1719
- total
1720
- }
1721
- }));
1722
- })
1723
- }
1724
- };
1725
-
1726
1689
  const usePrevious = value => {
1727
1690
  const ref = useRef();
1728
1691
  useEffect(() => {
@@ -1798,59 +1761,6 @@ const useStoresListFetcher = props => {
1798
1761
  };
1799
1762
  };
1800
1763
 
1801
- const extractKeysFromWherePredicateClause = function () {
1802
- let whereClause = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
1803
- return whereClause.substring(_lastIndexOfInstanceProperty(whereClause).call(whereClause, '("') + 1, _lastIndexOfInstanceProperty(whereClause).call(whereClause, '")')).replace(/["]/g, '').split(', ');
1804
- };
1805
- const handlers$5 = {
1806
- StoresList: {
1807
- all: stores => graphql.query('FetchStoresQuery', (req, res, ctx) => {
1808
- // GIVEN req.variables.where is specified
1809
- // THEN return only stores that are being requested (filtering stores based on IDs)
1810
- // ELSE return all the stores (without filtering any)
1811
- if (req.variables.where) {
1812
- var _context;
1813
- const requestedStoreKeys = extractKeysFromWherePredicateClause(req.variables.where);
1814
- const filteredStoreResults = _filterInstanceProperty(_context = stores.results).call(_context, store => _includesInstanceProperty(requestedStoreKeys).call(requestedStoreKeys, store.key));
1815
- return res(ctx.data({
1816
- stores: {
1817
- offset: 0,
1818
- total: filteredStoreResults.length,
1819
- count: filteredStoreResults.length,
1820
- results: filteredStoreResults,
1821
- __typename: 'StoresQueryResult'
1822
- }
1823
- }));
1824
- }
1825
- return res(ctx.data({
1826
- stores
1827
- }));
1828
- }),
1829
- withProductSelections: stores => graphql.query('FetchStoresQuery', (req, res, ctx) => {
1830
- // GIVEN req.variables.where is specified
1831
- // THEN return only stores that are being requested (filtering stores based on IDs)
1832
- // ELSE return all the stores (without filtering any)
1833
- if (req.variables.where) {
1834
- var _context2;
1835
- const requestedStoreKeys = extractKeysFromWherePredicateClause(req.variables.where);
1836
- const filteredStoreResults = _filterInstanceProperty(_context2 = stores.results).call(_context2, store => _includesInstanceProperty(requestedStoreKeys).call(requestedStoreKeys, store.key));
1837
- return res(ctx.data({
1838
- stores: {
1839
- offset: 0,
1840
- total: filteredStoreResults.length,
1841
- count: filteredStoreResults.length,
1842
- results: filteredStoreResults,
1843
- __typename: 'StoresQueryResult'
1844
- }
1845
- }));
1846
- }
1847
- return res(ctx.data({
1848
- stores
1849
- }));
1850
- })
1851
- }
1852
- };
1853
-
1854
1764
  const toPermission = (permission, resourceName) => camelCase(`can ${permission} ${resourceName}`);
1855
1765
  const createPermissionsComposePath = permission =>
1856
1766
  // e.g applicationContext.permissions?.canViewOrders
@@ -2304,17 +2214,6 @@ const useProductSelectionsTotalFetcher = props => {
2304
2214
  };
2305
2215
  };
2306
2216
 
2307
- const handlers$4 = {
2308
- ProductSelections: {
2309
- total: total => graphql.query('FetchProductSelectionsTotal', (req, res, ctx) => res(ctx.data({
2310
- productSelections: {
2311
- total,
2312
- __typename: 'ProductSelectionQueryResult'
2313
- }
2314
- })))
2315
- }
2316
- };
2317
-
2318
2217
  function ownKeys$17(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; }
2319
2218
  function _objectSpread$17(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$17(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$17(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
2320
2219
 
@@ -2363,14 +2262,6 @@ const useProductSelectionsFetcher = props => {
2363
2262
  };
2364
2263
  };
2365
2264
 
2366
- const handlers$3 = {
2367
- ProductSelections: {
2368
- all: productSelections => graphql.query('FetchProductSelections', (req, res, ctx) => res(ctx.data({
2369
- productSelections
2370
- })))
2371
- }
2372
- };
2373
-
2374
2265
  const setToArray = function () {
2375
2266
  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
2376
2267
  return `id in (${_mapInstanceProperty(values).call(values, value => `"${value}"`).join(', ')})`;
@@ -6361,7 +6252,7 @@ const convertTypeValuesToOptions$1 = defaultMemoize(typeValues => _mapInstancePr
6361
6252
  function CustomEnumInput(props) {
6362
6253
  const options = convertTypeValuesToOptions$1(_valuesInstanceProperty(props.fieldDefinition.type));
6363
6254
  const handleChange = makeChangeHandler(rawValue => {
6364
- props.setFieldValue(props.name, rawValue);
6255
+ props.setFieldValue(props.name, !rawValue ? undefined : rawValue);
6365
6256
  props.renderWarnings && props.handleWarningChange(props.name, props.fieldDefinition, rawValue);
6366
6257
  });
6367
6258
  const tooltipTitle = props.value ? _findInstanceProperty(options).call(options, option => option.value === props.value)?.label ?? '' : '';
@@ -6577,7 +6468,7 @@ function CustomMoneyInput(props) {
6577
6468
  CustomMoneyInput.displayName = 'CustomMoneyInput';
6578
6469
 
6579
6470
  function ownKeys$R(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; }
6580
- function _objectSpread$R(e) { for (var r = 1; r < arguments.length; r++) { var _context6, _context7; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context6 = ownKeys$R(Object(t), !0)).call(_context6, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context7 = ownKeys$R(Object(t))).call(_context7, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
6471
+ function _objectSpread$R(e) { for (var r = 1; r < arguments.length; r++) { var _context5, _context6; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context5 = ownKeys$R(Object(t), !0)).call(_context5, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context6 = ownKeys$R(Object(t))).call(_context6, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
6581
6472
  var FetchProductTypeQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchProductTypeQuery" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "productType" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "id" }, value: { kind: "Variable", name: { kind: "Name", value: "id" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "attributeDefinitions" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "limit" }, value: { kind: "IntValue", value: "100" } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "isRequired" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "inputHint" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "inputTipAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SetAttributeDefinitionType" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "elementType" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "NestedAttributeDefinitionType" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "typeRef" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EnumAttributeDefinitionType" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "values" }, arguments: [], 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: "label" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "LocalizableEnumAttributeDefinitionType" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "values" }, arguments: [], 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: "labelAllLocales" }, 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: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ReferenceAttributeDefinitionType" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "referenceTypeId" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ReferenceAttributeDefinitionType" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "referenceTypeId" }, arguments: [], directives: [] }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "NestedAttributeDefinitionType" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "typeRef" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EnumAttributeDefinitionType" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "values" }, arguments: [], 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: "label" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "LocalizableEnumAttributeDefinitionType" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "values" }, arguments: [], 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: "labelAllLocales" }, 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: 1905, source: { body: "query FetchProductTypeQuery($id: String!) {\n productType(id: $id) {\n name\n attributeDefinitions(limit: 100) {\n results {\n name\n isRequired\n inputHint\n inputTipAllLocales {\n value\n locale\n }\n labelAllLocales {\n value\n locale\n }\n type {\n name\n ... on SetAttributeDefinitionType {\n elementType {\n name\n ... on NestedAttributeDefinitionType {\n typeRef {\n id\n }\n }\n ... on EnumAttributeDefinitionType {\n values {\n results {\n key\n label\n }\n }\n }\n ... on LocalizableEnumAttributeDefinitionType {\n values {\n results {\n key\n labelAllLocales {\n locale\n value\n }\n }\n }\n }\n ... on ReferenceAttributeDefinitionType {\n referenceTypeId\n }\n }\n }\n ... on ReferenceAttributeDefinitionType {\n referenceTypeId\n }\n ... on NestedAttributeDefinitionType {\n typeRef {\n id\n }\n }\n ... on EnumAttributeDefinitionType {\n values {\n results {\n key\n label\n }\n }\n }\n ... on LocalizableEnumAttributeDefinitionType {\n values {\n results {\n key\n labelAllLocales {\n locale\n value\n }\n }\n }\n }\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
6582
6473
  const mapAttributeDefinition = definition => {
6583
6474
  var _context, _context2, _context3, _context4;
@@ -6616,15 +6507,14 @@ function useNestedProductType(fieldDefinition) {
6616
6507
  loading = _useQuery.loading,
6617
6508
  error = _useQuery.error;
6618
6509
  if (!loading && !error) {
6619
- var _context5;
6620
- const attributeDefinitions = _mapInstanceProperty(_context5 = data.productType.attributeDefinitions.results).call(_context5, mapAttributeDefinition);
6510
+ const attributeDefinitions = data.productType?.attributeDefinitions.results.map(mapAttributeDefinition);
6621
6511
  return {
6622
6512
  loading: false,
6623
6513
  error: false,
6624
- productType: {
6514
+ productType: data.productType ? {
6625
6515
  name: data.productType.name,
6626
6516
  attributeDefinitions
6627
- }
6517
+ } : null
6628
6518
  };
6629
6519
  }
6630
6520
  return {
@@ -8881,18 +8771,6 @@ const useTotalNumberOfStoresFetcher = projectKey => {
8881
8771
  };
8882
8772
  };
8883
8773
 
8884
- const handlers$2 = {
8885
- TotalNumberOfStores: {
8886
- all: total => graphql.query('TotalNumberOfStores', (req, res, ctx) => {
8887
- return res(ctx.data({
8888
- totalNumberOfStores: {
8889
- total
8890
- }
8891
- }));
8892
- })
8893
- }
8894
- };
8895
-
8896
8774
  var FetchStoresByField = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchStoresByField" }, 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: "excludeProductSelections" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } } }, 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", alias: { kind: "Name", value: "storesByField" }, 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: "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: "excludeProductSelections" } } }] }], 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: 473, source: { body: "query FetchStoresByField(\n $where: String!\n $excludeProductSelections: Boolean!\n $limit: Int\n) {\n storesByField: stores(where: $where, limit: $limit) {\n results {\n id\n key\n nameAllLocales {\n locale\n value\n }\n productSelections @skip(if: $excludeProductSelections) {\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 } } } };
8897
8775
  const createQueryVariables$2 = (stores, predicateField, shouldFetchProductSelections) => ({
8898
8776
  where: `${predicateField} in (${_mapInstanceProperty(stores).call(stores, store => `"${store}"`).join(', ')})`,
@@ -9570,21 +9448,13 @@ const mapDataToProps = _ref => {
9570
9448
  fetchTypeDefinitionsQuery
9571
9449
  };
9572
9450
  };
9573
- var customFieldDefinitionsConnector = flowRight(graphql$1(FetchTypeDefinitionsQuery, {
9451
+ var customFieldDefinitionsConnector = flowRight(graphql(FetchTypeDefinitionsQuery, {
9574
9452
  skip: ownProps => ownProps.isDisabled,
9575
9453
  name: 'fetchTypeDefinitionsQuery',
9576
9454
  options: mapPropsToOptions,
9577
9455
  props: mapDataToProps
9578
9456
  }))(CustomFieldDefinitionsConnector);
9579
9457
 
9580
- const handlers$1 = {
9581
- TypeDefinitions: {
9582
- all: typeDefinitions => graphql.query('FetchTypeDefinitionsQuery', (req, res, ctx) => res(ctx.data({
9583
- typeDefinitions
9584
- })))
9585
- }
9586
- };
9587
-
9588
9458
  function ownKeys$x(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; }
9589
9459
  function _objectSpread$x(e) { for (var r = 1; r < arguments.length; r++) { var _context4, _context5; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context4 = ownKeys$x(Object(t), !0)).call(_context4, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context5 = ownKeys$x(Object(t))).call(_context5, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
9590
9460
  const restDocToForm = customFieldsFromRestResponse => {
@@ -9712,7 +9582,7 @@ const createGraphQlOptions = ownProps => {
9712
9582
  }
9713
9583
  };
9714
9584
  };
9715
- var CustomFieldTypeDefinitionsConnector$1 = hoistNonReactStatics(graphql$1(FetchTypeDefinitionsWithNamesQuery, {
9585
+ var CustomFieldTypeDefinitionsConnector$1 = hoistNonReactStatics(graphql(FetchTypeDefinitionsWithNamesQuery, {
9716
9586
  name: 'fetchTypeDefinitionsQuery',
9717
9587
  skip: ownProps => ownProps.isDisabled,
9718
9588
  options: createGraphQlOptions
@@ -10472,9 +10342,9 @@ var pimIndexerProvider = flowRight(withApplicationContext(applicationContext =>
10472
10342
  projectKey: applicationContext.project.key
10473
10343
  })), connect(null, {
10474
10344
  fetchPimIndexStatus
10475
- }), graphql$1(RefreshProductIndices, {
10345
+ }), graphql(RefreshProductIndices, {
10476
10346
  name: 'refreshProductIndicesByIds'
10477
- }), graphql$1(IndexProject, {
10347
+ }), graphql(IndexProject, {
10478
10348
  name: 'indexProject'
10479
10349
  }), withApollo, injectIntl, injectNotifications())(PimIndexerProvider);
10480
10350
 
@@ -11856,14 +11726,6 @@ const injectCustomerGroupsPlatformLimits = () => WrappedComponent => {
11856
11726
  return WithCustomerGroupsPlatformLimits;
11857
11727
  };
11858
11728
 
11859
- const handlers = {
11860
- PlatformLimits: {
11861
- all: platformLimiits => graphql.query('PlatformLimitsFetcherQuery', (req, res, ctx) => res(ctx.data({
11862
- limits: platformLimiits
11863
- })))
11864
- }
11865
- };
11866
-
11867
11729
  var messages$8 = defineMessages({
11868
11730
  yes: {
11869
11731
  id: 'BooleanField.yes',
@@ -13602,4 +13464,4 @@ function withPendingRequests() {
13602
13464
 
13603
13465
  var CategorySearchPickerOptionFragment = { kind: "Document", definitions: [{ kind: "FragmentDefinition", name: { kind: "Name", value: "CategorySearchPickerOptionFragment" }, typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CategorySearch" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "externalId" }, 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: "slugAllLocales" }, 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: "parent" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ 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: "ancestors" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ 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: 685, source: { body: "query SearchCategoryReference($locale: Locale!, $text: String!) {\n categories: categoryAutocomplete(locale: $locale, text: $text) {\n results {\n ...CategorySearchPickerOptionFragment\n }\n }\n}\n\nquery FetchCategoriesByIds($where: String!) {\n categories(where: $where) {\n results {\n id\n nameAllLocales {\n locale\n value\n }\n }\n }\n}\n\nfragment CategorySearchPickerOptionFragment on CategorySearch {\n id\n externalId\n nameAllLocales {\n locale\n value\n }\n slugAllLocales {\n locale\n value\n }\n parent {\n nameAllLocales {\n locale\n value\n }\n }\n ancestors {\n nameAllLocales {\n locale\n value\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
13604
13466
 
13605
- export { booleanField as BooleanField, Button, CartDiscountReferenceSearch, CategoryReferenceSearch, CategorySearchPickerOptionFragment, CenteredLoadingSpinner, ChannelPickerInput, CountriesPicker, customFieldDefinitionsConnector as CustomFieldDefinitionsConnector, CustomFieldTooltip, CustomFieldTypeDefinitionsConnector$1 as CustomFieldTypeDefinitionsConnector, CustomFields, CustomFieldsErrorTextNotification, CustomFieldsFormField, CustomerGroupPickerInput, DefaultPageSizes, Divider, EMAIL_REGEX, FileInput, FormattedDateTime$1 as FormattedDateTime, LabelRange, MC_RESOURCES_WITH_KEYS, MissingValueField, MultiValueSearchInput, numericFormatInput as NumericFormatInput, Option$2 as Option, PRECISION_TYPES, pimIndexerProvider as PimIndexerProvider, ProductAttributeInput, ProductAttributes, ProductPickerInput, ProductSelectionsPicker as ProductSelectionPicker, RequestCache, RequiredIndicator, ScrollToFieldError, searchInput as SearchInput, SelectableFieldSearchInput, StoreSelectField, StoreSelectInput, ThrottledField, VALIDATOR_INTEGER, VALIDATOR_NUMERIC, VALIDATOR_REQUIRED, WithPimIndexer, allowedProperties, and, attributesMapToNameValuePairs, base64ToString, messages$8 as booleanMessages, buildSearchQuery, businessRoleConstants, messages$4 as businessRoleMessages, businessRoleKeys as businessRoles, capitalizeFirst, clone, coerceToInteger, computedProperties, convertApolloNetworkStatusToLoadingState, convertApolloQueryDataToConnectorData, convertProductSelectionFromGraphQl, convertRatioToPercentage, createGraphQlUpdateActions, createNextSortDefinition, createReducer, createResourceReducer, handlers$1 as customFieldDefinitionsMockHanders, customFields as customFieldsTransformer, dateTransformer$1 as dateTransformer, exact, exists, extractErrorFromGraphQlResponse, filterCustomTypeUpdateActionValues, filterDataAttributes, filterEmptyValues, formatCustomField, formatCustomerAddress, formatCustomerName, formatDateRangeValue, formatDateTime$1 as formatDateTime, formatDiscount, formatMoney$2 as formatMoney, formatMoneyRangeValue, formatMoneyValue, formatPercentage, formatAttribute as formatProductAttribute, getAncestors, getAttributeValueByType, getAttributeValueType, getBottomOption, getBulkNotification, getCategoryLevel, getCountsFromBulkSummary, getDiscountValue, getDisplayName, getFractionedAmount, getIndexesOfInvalidValues, getMinimumPricesByCurrencyCode, getNetUnitPrice, getPathName, getPrefixSearchBounds, getPriceChannelName, getReferenceTypeId, getSelectedPrice, getTimeZoneId, getTimeZoneLabel, getTypeNameOfType, graphqlCategoryLevelTransformer, dateTransformer as graphqlDateTransformer, missingLocaleTransformer as graphqlMissingLocaleTransformer, missingTransformer as graphqlMissingTransformer, numberTransformer as graphqlNumberTransformer, graphqlQueryBuilder, referenceTransformer as graphqlReferenceTransformer, textTransformer as graphqlTextTransformer, hasInvalidInputError, hasSemanticError, injectCustomerGroupsPlatformLimits, injectCustomersPlatformLimits, injectDataTablePaginationState, injectModalState$1 as injectModalState, injectNotifications, injectPimIndexer, injectShippingMethodsPlatformLimits, injectStorage, injectTaxCategoriesPlatformLimits, injectModalState as injectToggleState, injectZonesPlatformLimits, isEmptyFilter as isEmpty, isEmptyValue, handlers$6 as isFieldDuplicatedMockHandlers, isUUID, isValidISODate, isValidISODateTime, isValidISOTime, keepDisplayName, mapStoresToOptions, mapTimeZonesToOptions, minusify, messages$6 as missingValueMessages, nameValuePairsToMap, normalizeProductSettings, not, omitDeep, omitSetsOfSets, or, pickerMessages$1 as pickerMessages, handlers as platformLimitsMockHandlers, handlers$3 as productSelectionsFetcherMockHandler, handlers$4 as productSelectionsTotalFetcherMockHandler, range, reorderArrayItems, resolveStatusType, safelyAddFallback, sanitize, searchCategories, messages$G as searchInputMessages, setDisplayName, setToArray, shallowEqual, shouldUpdateAttributeInput, slugify, sortDataByIdsArray, sortRequiresLanguage, splitVariantAttributesByConstraint, handlers$5 as storesListConnectorMockHandlers, stringToBase64, swapArrayItems, transformAllToProperNounCase, transformCustomFieldsRawToCustomFields, transformLocalizedFieldsForCategory, truncate, unique, uniqueObjects, useCachedCategoryOptions, useCurrentOption, useDnDContext as useCustomFieldsDnDContext, useCustomerGroupsPlatformLimits, useCustomersPlatformLimits, useDebouncedPromiseCallback, useFormatLocalizedFieldToString, useIsFieldDuplicated, useLoadOptions, useLocalizedKeyFallback, usePendingRequests, usePersistedTableConfiguration, usePimIndexer, usePrevious, useProductSelectionsFetcher, useProductSelectionsTotalFetcher, useRoleNotificationEffect, useShippingMethodsLimits as useShippingMethodsPlatformLimits, useStorage, useStoreKeysInDataFences, useStoresListFetcher, useTaxCategoriesLimits as useTaxCategoriesPlatformLimits, useTotalNumberOfStoresFetcher, handlers$2 as useTotalNumberOfStoresFetcherHandlers, validateFilter$2 as validateCustomField, validations as validateCustomFields, validateFilter$1 as validateDate, validateMultiOptionEnum, validateFilter as validateNumber, validateSingleOptionEnum, validateText, validatedInput, messages$C as validationMessages, withPendingRequests, withProps, withRedirectTo, withoutEmptyErrorsByField, wrapDisplayName };
13467
+ export { booleanField as BooleanField, Button, CartDiscountReferenceSearch, CategoryReferenceSearch, CategorySearchPickerOptionFragment, CenteredLoadingSpinner, ChannelPickerInput, CountriesPicker, customFieldDefinitionsConnector as CustomFieldDefinitionsConnector, CustomFieldTooltip, CustomFieldTypeDefinitionsConnector$1 as CustomFieldTypeDefinitionsConnector, CustomFields, CustomFieldsErrorTextNotification, CustomFieldsFormField, CustomerGroupPickerInput, DefaultPageSizes, Divider, EMAIL_REGEX, FileInput, FormattedDateTime$1 as FormattedDateTime, LabelRange, MC_RESOURCES_WITH_KEYS, MissingValueField, MultiValueSearchInput, numericFormatInput as NumericFormatInput, Option$2 as Option, PRECISION_TYPES, pimIndexerProvider as PimIndexerProvider, ProductAttributeInput, ProductAttributes, ProductPickerInput, ProductSelectionsPicker as ProductSelectionPicker, RequestCache, RequiredIndicator, ScrollToFieldError, searchInput as SearchInput, SelectableFieldSearchInput, StoreSelectField, StoreSelectInput, ThrottledField, VALIDATOR_INTEGER, VALIDATOR_NUMERIC, VALIDATOR_REQUIRED, WithPimIndexer, allowedProperties, and, attributesMapToNameValuePairs, base64ToString, messages$8 as booleanMessages, buildSearchQuery, businessRoleConstants, messages$4 as businessRoleMessages, businessRoleKeys as businessRoles, capitalizeFirst, clone, coerceToInteger, computedProperties, convertApolloNetworkStatusToLoadingState, convertApolloQueryDataToConnectorData, convertProductSelectionFromGraphQl, convertRatioToPercentage, createGraphQlUpdateActions, createNextSortDefinition, createReducer, createResourceReducer, customFields as customFieldsTransformer, dateTransformer$1 as dateTransformer, exact, exists, extractErrorFromGraphQlResponse, filterCustomTypeUpdateActionValues, filterDataAttributes, filterEmptyValues, formatCustomField, formatCustomerAddress, formatCustomerName, formatDateRangeValue, formatDateTime$1 as formatDateTime, formatDiscount, formatMoney$2 as formatMoney, formatMoneyRangeValue, formatMoneyValue, formatPercentage, formatAttribute as formatProductAttribute, getAncestors, getAttributeValueByType, getAttributeValueType, getBottomOption, getBulkNotification, getCategoryLevel, getCountsFromBulkSummary, getDiscountValue, getDisplayName, getFractionedAmount, getIndexesOfInvalidValues, getMinimumPricesByCurrencyCode, getNetUnitPrice, getPathName, getPrefixSearchBounds, getPriceChannelName, getReferenceTypeId, getSelectedPrice, getTimeZoneId, getTimeZoneLabel, getTypeNameOfType, graphqlCategoryLevelTransformer, dateTransformer as graphqlDateTransformer, missingLocaleTransformer as graphqlMissingLocaleTransformer, missingTransformer as graphqlMissingTransformer, numberTransformer as graphqlNumberTransformer, graphqlQueryBuilder, referenceTransformer as graphqlReferenceTransformer, textTransformer as graphqlTextTransformer, hasInvalidInputError, hasSemanticError, injectCustomerGroupsPlatformLimits, injectCustomersPlatformLimits, injectDataTablePaginationState, injectModalState$1 as injectModalState, injectNotifications, injectPimIndexer, injectShippingMethodsPlatformLimits, injectStorage, injectTaxCategoriesPlatformLimits, injectModalState as injectToggleState, injectZonesPlatformLimits, isEmptyFilter as isEmpty, isEmptyValue, isUUID, isValidISODate, isValidISODateTime, isValidISOTime, keepDisplayName, mapStoresToOptions, mapTimeZonesToOptions, minusify, messages$6 as missingValueMessages, nameValuePairsToMap, normalizeProductSettings, not, omitDeep, omitSetsOfSets, or, pickerMessages$1 as pickerMessages, range, reorderArrayItems, resolveStatusType, safelyAddFallback, sanitize, searchCategories, messages$G as searchInputMessages, setDisplayName, setToArray, shallowEqual, shouldUpdateAttributeInput, slugify, sortDataByIdsArray, sortRequiresLanguage, splitVariantAttributesByConstraint, stringToBase64, swapArrayItems, transformAllToProperNounCase, transformCustomFieldsRawToCustomFields, transformLocalizedFieldsForCategory, truncate, unique, uniqueObjects, useCachedCategoryOptions, useCurrentOption, useDnDContext as useCustomFieldsDnDContext, useCustomerGroupsPlatformLimits, useCustomersPlatformLimits, useDebouncedPromiseCallback, useFormatLocalizedFieldToString, useIsFieldDuplicated, useLoadOptions, useLocalizedKeyFallback, usePendingRequests, usePersistedTableConfiguration, usePimIndexer, usePrevious, useProductSelectionsFetcher, useProductSelectionsTotalFetcher, useRoleNotificationEffect, useShippingMethodsLimits as useShippingMethodsPlatformLimits, useStorage, useStoreKeysInDataFences, useStoresListFetcher, useTaxCategoriesLimits as useTaxCategoriesPlatformLimits, useTotalNumberOfStoresFetcher, validateFilter$2 as validateCustomField, validations as validateCustomFields, validateFilter$1 as validateDate, validateMultiOptionEnum, validateFilter as validateNumber, validateSingleOptionEnum, validateText, validatedInput, messages$C as validationMessages, withPendingRequests, withProps, withRedirectTo, withoutEmptyErrorsByField, wrapDisplayName };
package/dist/styles.css CHANGED
@@ -505,15 +505,6 @@
505
505
  width: 1px;
506
506
  height: 1px;
507
507
  }
508
- /* imported from centered-loading-spinner.module.css */
509
-
510
- .centered-loading-spinner-module__loading-container___3_9-h {
511
- height: 100%;
512
- display: flex;
513
- flex-grow: 1;
514
- align-items: center;
515
- justify-content: center;
516
- }
517
508
  /* imported from divider.module.css */
518
509
 
519
510
  .divider-module__divider___4-vdy {
@@ -541,6 +532,15 @@
541
532
  .divider-module__divider-dashed___2Em8A {
542
533
  border-style: dashed;
543
534
  }
535
+ /* imported from centered-loading-spinner.module.css */
536
+
537
+ .centered-loading-spinner-module__loading-container___3_9-h {
538
+ height: 100%;
539
+ display: flex;
540
+ flex-grow: 1;
541
+ align-items: center;
542
+ justify-content: center;
543
+ }
544
544
  /* imported from reference-search.module.css */
545
545
 
546
546
  .reference-search-module__container___3-iK3 {
@@ -589,9 +589,14 @@
589
589
  .set-buttons-module__gap___38Qr0 {
590
590
  padding: 20px;
591
591
  }
592
- /* imported from platform-limits-customer-groups-combined.module.css */
592
+ /* imported from platform-limits-customers-status.module.css */
593
593
 
594
- .platform-limits-customer-groups-combined-module__combined___WjRoI {
594
+ .platform-limits-customers-status-module__status___3rXYM {
595
+ min-width: max-content;
596
+ }
597
+ /* imported from platform-limits-customers-combined.module.css */
598
+
599
+ .platform-limits-customers-combined-module__combined___OszDd {
595
600
  margin-bottom: var(--spacing-s);
596
601
  }
597
602
  /* imported from platform-limits-customer-groups-status.module.css */
@@ -599,13 +604,8 @@
599
604
  .platform-limits-customer-groups-status-module__status___6099G {
600
605
  min-width: max-content;
601
606
  }
602
- /* imported from platform-limits-customers-status.module.css */
603
-
604
- .platform-limits-customers-status-module__status___3rXYM {
605
- min-width: max-content;
606
- }
607
- /* imported from platform-limits-customers-combined.module.css */
607
+ /* imported from platform-limits-customer-groups-combined.module.css */
608
608
 
609
- .platform-limits-customers-combined-module__combined___OszDd {
609
+ .platform-limits-customer-groups-combined-module__combined___WjRoI {
610
610
  margin-bottom: var(--spacing-s);
611
611
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/experimental-components",
3
- "version": "6.2.1",
3
+ "version": "6.2.2",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,20 +12,27 @@
12
12
  "files": [
13
13
  "dist",
14
14
  "package.json",
15
- "README.md"
15
+ "README.md",
16
+ "test-utils"
16
17
  ],
18
+ "preconstruct": {
19
+ "entrypoints": [
20
+ "index.js",
21
+ "test-utils.js"
22
+ ]
23
+ },
17
24
  "dependencies": {
18
25
  "@babel/core": "^7.22.11",
19
26
  "@babel/runtime": "^7.21.0",
20
27
  "@babel/runtime-corejs3": "^7.21.0",
21
- "@commercetools-frontend/actions-global": "npm:@commercetools-frontend/actions-global@^22.32.2",
22
- "@commercetools-frontend/application-components": "npm:@commercetools-frontend/application-components@^22.32.2",
23
- "@commercetools-frontend/application-shell": "npm:@commercetools-frontend/application-shell@^22.32.2",
24
- "@commercetools-frontend/application-shell-connectors": "npm:@commercetools-frontend/application-shell-connectors@^22.32.2",
25
- "@commercetools-frontend/constants": "npm:@commercetools-frontend/constants@^22.32.2",
26
- "@commercetools-frontend/l10n": "npm:@commercetools-frontend/l10n@^22.32.2",
27
- "@commercetools-frontend/sdk": "npm:@commercetools-frontend/sdk@^22.32.2",
28
- "@commercetools-frontend/sentry": "npm:@commercetools-frontend/sentry@^22.32.2",
28
+ "@commercetools-frontend/actions-global": "npm:@commercetools-frontend/actions-global@^22.33.0",
29
+ "@commercetools-frontend/application-components": "npm:@commercetools-frontend/application-components@^22.33.0",
30
+ "@commercetools-frontend/application-shell": "npm:@commercetools-frontend/application-shell@^22.33.0",
31
+ "@commercetools-frontend/application-shell-connectors": "npm:@commercetools-frontend/application-shell-connectors@^22.33.0",
32
+ "@commercetools-frontend/constants": "npm:@commercetools-frontend/constants@^22.33.0",
33
+ "@commercetools-frontend/l10n": "npm:@commercetools-frontend/l10n@^22.33.0",
34
+ "@commercetools-frontend/sdk": "npm:@commercetools-frontend/sdk@^22.33.0",
35
+ "@commercetools-frontend/sentry": "npm:@commercetools-frontend/sentry@^22.33.0",
29
36
  "@commercetools-frontend/ui-kit": "npm:@commercetools-frontend/ui-kit@^19.11.0",
30
37
  "@commercetools-uikit/design-system": "npm:@commercetools-uikit/design-system@^19.11.0",
31
38
  "@commercetools-uikit/select-utils": "npm:@commercetools-uikit/select-utils@^19.11.0",
@@ -53,11 +60,11 @@
53
60
  },
54
61
  "devDependencies": {
55
62
  "@apollo/client": "3.7.10",
56
- "@commercetools-test-data/channel": "10.7.0",
57
- "@commercetools-test-data/commons": "10.7.0",
58
- "@commercetools-test-data/core": "10.7.0",
59
- "@commercetools-test-data/product-selection": "10.7.0",
60
- "@commercetools-test-data/store": "10.7.0",
63
+ "@commercetools-test-data/channel": "10.7.1",
64
+ "@commercetools-test-data/commons": "10.7.1",
65
+ "@commercetools-test-data/core": "10.7.1",
66
+ "@commercetools-test-data/product-selection": "10.7.1",
67
+ "@commercetools-test-data/store": "10.7.1",
61
68
  "@testing-library/react": "12.1.5",
62
69
  "@testing-library/react-hooks": "8.0.1",
63
70
  "formik": "2.4.6",