@commercetools-frontend/application-components 22.11.0 → 22.12.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.
@@ -84,7 +84,7 @@ var FailedAuthorizationSVG__default = /*#__PURE__*/_interopDefault(FailedAuthori
84
84
  var useResizeObserver__default = /*#__PURE__*/_interopDefault(useResizeObserver);
85
85
 
86
86
  // NOTE: This string will be replaced on build time with the package version.
87
- var version = "22.11.0";
87
+ var version = "22.12.0";
88
88
 
89
89
  var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9;
90
90
  const appKitSpacing55 = '40px';
@@ -1911,7 +1911,7 @@ TabularDetailPage.PageHeaderTitle = PageHeaderTitle;
1911
1911
  // This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
1912
1912
  TabularDetailPage.Intl = i18n.sharedMessages;
1913
1913
 
1914
- const PublicPageLayout = /*#__PURE__*/react$1.lazy(() => Promise.resolve().then(function () { return require('./public-page-layout-27a5ab82.cjs.dev.js' /* webpackChunkName: "public-page-layout" */); }));
1914
+ const PublicPageLayout = /*#__PURE__*/react$1.lazy(() => Promise.resolve().then(function () { return require('./public-page-layout-4e26387d.cjs.dev.js' /* webpackChunkName: "public-page-layout" */); }));
1915
1915
 
1916
1916
  const MainPageContainer = /*#__PURE__*/_styled__default["default"]("div", process.env.NODE_ENV === "production" ? {
1917
1917
  target: "ev8m2jf2"
@@ -83,7 +83,7 @@ var FailedAuthorizationSVG__default = /*#__PURE__*/_interopDefault(FailedAuthori
83
83
  var useResizeObserver__default = /*#__PURE__*/_interopDefault(useResizeObserver);
84
84
 
85
85
  // NOTE: This string will be replaced on build time with the package version.
86
- var version = "22.11.0";
86
+ var version = "22.12.0";
87
87
 
88
88
  var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9;
89
89
  const appKitSpacing55 = '40px';
@@ -1428,7 +1428,7 @@ TabularDetailPage.PageHeaderTitle = PageHeaderTitle;
1428
1428
  // This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
1429
1429
  TabularDetailPage.Intl = i18n.sharedMessages;
1430
1430
 
1431
- const PublicPageLayout = /*#__PURE__*/react$1.lazy(() => Promise.resolve().then(function () { return require('./public-page-layout-e73cb2ac.cjs.prod.js' /* webpackChunkName: "public-page-layout" */); }));
1431
+ const PublicPageLayout = /*#__PURE__*/react$1.lazy(() => Promise.resolve().then(function () { return require('./public-page-layout-0e1daa2e.cjs.prod.js' /* webpackChunkName: "public-page-layout" */); }));
1432
1432
 
1433
1433
  const MainPageContainer = /*#__PURE__*/_styled__default["default"]("div", {
1434
1434
  target: "ev8m2jf2"
@@ -47,7 +47,7 @@ import useResizeObserver from '@react-hook/resize-observer';
47
47
  import { useMutationObserver } from '@commercetools-uikit/hooks';
48
48
 
49
49
  // NOTE: This string will be replaced on build time with the package version.
50
- var version = "22.11.0";
50
+ var version = "22.12.0";
51
51
 
52
52
  var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9;
53
53
  const appKitSpacing55 = '40px';
@@ -1874,7 +1874,7 @@ TabularDetailPage.PageHeaderTitle = PageHeaderTitle;
1874
1874
  // This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
1875
1875
  TabularDetailPage.Intl = sharedMessages;
1876
1876
 
1877
- const PublicPageLayout = /*#__PURE__*/lazy(() => import('./public-page-layout-3a970c93.esm.js' /* webpackChunkName: "public-page-layout" */));
1877
+ const PublicPageLayout = /*#__PURE__*/lazy(() => import('./public-page-layout-82978d93.esm.js' /* webpackChunkName: "public-page-layout" */));
1878
1878
 
1879
1879
  const MainPageContainer = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
1880
1880
  target: "ev8m2jf2"
@@ -596,6 +596,7 @@ export type TMutation = {
596
596
  activateCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
597
597
  activateDashboardView?: Maybe<TDashboardView>;
598
598
  activateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
599
+ activateOrderDetailView?: Maybe<TOrderDetailView>;
599
600
  activateOrdersListView?: Maybe<TOrdersListView>;
600
601
  activateOrganizationExtensionOidcSsoConfig?: Maybe<TOrganizationExtension>;
601
602
  activatePimSearchListView?: Maybe<TPimSearchListView>;
@@ -613,6 +614,7 @@ export type TMutation = {
613
614
  createCustomersSearchListMyView: TCustomersSearchListMyView;
614
615
  createDashboardView: TDashboardView;
615
616
  createDiscountCodesCustomView: TDiscountsCustomView;
617
+ createOrderDetailView: TOrderDetailView;
616
618
  createOrdersListView: TOrdersListView;
617
619
  createPimSearchListView: TPimSearchListView;
618
620
  createProductDiscountsCustomView: TDiscountsCustomView;
@@ -625,6 +627,7 @@ export type TMutation = {
625
627
  deactivateCustomersSearchListMyView?: Maybe<TOrdersListView>;
626
628
  deactivateDashboardView?: Maybe<TDashboardView>;
627
629
  deactivateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
630
+ deactivateOrderDetailView?: Maybe<TOrderDetailView>;
628
631
  deactivateOrdersListView?: Maybe<TOrdersListView>;
629
632
  deactivateOrganizationExtensionOidcSsoConfig?: Maybe<TOrganizationExtension>;
630
633
  deactivatePimSearchListView?: Maybe<TPimSearchListView>;
@@ -632,6 +635,7 @@ export type TMutation = {
632
635
  deactivateProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
633
636
  deactivateProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
634
637
  deleteAllDashboardViews: Array<TDashboardView>;
638
+ deleteAllOrderDetailViews: Array<TOrderDetailView>;
635
639
  deleteAllOrdersListViews: Array<TOrdersListView>;
636
640
  deleteBusinessUnitsListMyView?: Maybe<TBusinessUnitsListMyView>;
637
641
  deleteCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
@@ -642,6 +646,7 @@ export type TMutation = {
642
646
  deleteCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
643
647
  deleteDashboardView?: Maybe<TDashboardView>;
644
648
  deleteDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
649
+ deleteOrderDetailView?: Maybe<TOrderDetailView>;
645
650
  deleteOrdersListView?: Maybe<TOrdersListView>;
646
651
  deletePimSearchListView?: Maybe<TPimSearchListView>;
647
652
  deleteProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
@@ -671,6 +676,7 @@ export type TMutation = {
671
676
  updateCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
672
677
  updateDashboardView?: Maybe<TDashboardView>;
673
678
  updateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
679
+ updateOrderDetailView?: Maybe<TOrderDetailView>;
674
680
  updateOrdersListView?: Maybe<TOrdersListView>;
675
681
  updatePimSearchListView?: Maybe<TPimSearchListView>;
676
682
  updateProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
@@ -698,6 +704,9 @@ export type TMutation_ActivateDashboardViewArgs = {
698
704
  export type TMutation_ActivateDiscountCodesCustomViewArgs = {
699
705
  id: Scalars['ID'];
700
706
  };
707
+ export type TMutation_ActivateOrderDetailViewArgs = {
708
+ id: Scalars['ID'];
709
+ };
701
710
  export type TMutation_ActivateOrdersListViewArgs = {
702
711
  id: Scalars['ID'];
703
712
  };
@@ -759,6 +768,9 @@ export type TMutation_CreateDashboardViewArgs = {
759
768
  export type TMutation_CreateDiscountCodesCustomViewArgs = {
760
769
  data: TDiscountsCustomViewInput;
761
770
  };
771
+ export type TMutation_CreateOrderDetailViewArgs = {
772
+ data: TOrderDetailViewInput;
773
+ };
762
774
  export type TMutation_CreateOrdersListViewArgs = {
763
775
  data: TOrdersListViewInput;
764
776
  };
@@ -795,6 +807,9 @@ export type TMutation_DeactivateDashboardViewArgs = {
795
807
  export type TMutation_DeactivateDiscountCodesCustomViewArgs = {
796
808
  id: Scalars['ID'];
797
809
  };
810
+ export type TMutation_DeactivateOrderDetailViewArgs = {
811
+ id: Scalars['ID'];
812
+ };
798
813
  export type TMutation_DeactivateOrdersListViewArgs = {
799
814
  id: Scalars['ID'];
800
815
  };
@@ -843,6 +858,9 @@ export type TMutation_DeleteDashboardViewArgs = {
843
858
  export type TMutation_DeleteDiscountCodesCustomViewArgs = {
844
859
  id: Scalars['ID'];
845
860
  };
861
+ export type TMutation_DeleteOrderDetailViewArgs = {
862
+ id: Scalars['ID'];
863
+ };
846
864
  export type TMutation_DeleteOrdersListViewArgs = {
847
865
  id: Scalars['ID'];
848
866
  };
@@ -954,6 +972,10 @@ export type TMutation_UpdateDiscountCodesCustomViewArgs = {
954
972
  data: TDiscountsCustomViewInput;
955
973
  id: Scalars['ID'];
956
974
  };
975
+ export type TMutation_UpdateOrderDetailViewArgs = {
976
+ data: TOrderDetailViewInput;
977
+ id: Scalars['ID'];
978
+ };
957
979
  export type TMutation_UpdateOrdersListViewArgs = {
958
980
  data: TOrdersListViewInput;
959
981
  id: Scalars['ID'];
@@ -1082,6 +1104,24 @@ export type TOidcSsoConfigDataInput = {
1082
1104
  sessionTokenExpTimeSeconds?: InputMaybe<Scalars['Int']>;
1083
1105
  teamIdForNewUsers: Scalars['String'];
1084
1106
  };
1107
+ export type TOrderDetailView = {
1108
+ __typename?: 'OrderDetailView';
1109
+ createdAt: Scalars['DateTime'];
1110
+ id: Scalars['ID'];
1111
+ isActive?: Maybe<Scalars['Boolean']>;
1112
+ nameAllLocales?: Maybe<Array<TLocalizedField>>;
1113
+ projectKey: Scalars['String'];
1114
+ table?: Maybe<TTable>;
1115
+ updatedAt: Scalars['DateTime'];
1116
+ userId: Scalars['String'];
1117
+ };
1118
+ export type TOrderDetailViewInput = {
1119
+ nameAllLocales: Array<TLocalizedFieldCreateInput>;
1120
+ table?: InputMaybe<TOrderDetailViewTableInput>;
1121
+ };
1122
+ export type TOrderDetailViewTableInput = {
1123
+ visibleColumns: Array<Scalars['String']>;
1124
+ };
1085
1125
  export declare enum TOrderStatesVisibility {
1086
1126
  HideOrderState = "HideOrderState",
1087
1127
  HidePaymentState = "HidePaymentState",
@@ -1149,6 +1189,13 @@ export type TOrganizationExtensionForCustomApplication = {
1149
1189
  organizationId: Scalars['String'];
1150
1190
  organizationName?: Maybe<Scalars['String']>;
1151
1191
  };
1192
+ export type TOrganizationExtensionForCustomView = {
1193
+ __typename?: 'OrganizationExtensionForCustomView';
1194
+ customView?: Maybe<TRestrictedCustomViewForOrganization>;
1195
+ id: Scalars['ID'];
1196
+ organizationId: Scalars['String'];
1197
+ organizationName?: Maybe<Scalars['String']>;
1198
+ };
1152
1199
  export type TPimSearchListView = {
1153
1200
  __typename?: 'PimSearchListView';
1154
1201
  createdAt: Scalars['DateTime'];
@@ -1270,6 +1317,7 @@ export type TQuery = {
1270
1317
  activeCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
1271
1318
  activeDashboardView?: Maybe<TDashboardView>;
1272
1319
  activeDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
1320
+ activeOrderDetailView?: Maybe<TOrderDetailView>;
1273
1321
  activeOrdersListView?: Maybe<TOrdersListView>;
1274
1322
  activePimSearchListView?: Maybe<TPimSearchListView>;
1275
1323
  activeProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
@@ -1300,10 +1348,13 @@ export type TQuery = {
1300
1348
  discountCodesCustomViews: Array<Maybe<TDiscountsCustomView>>;
1301
1349
  globalOrganizationExtension?: Maybe<TOrganizationExtension>;
1302
1350
  myCustomApplications: Array<TMyCustomApplication>;
1351
+ orderDetailView?: Maybe<TOrderDetailView>;
1352
+ orderDetailViews: Array<Maybe<TOrderDetailView>>;
1303
1353
  ordersListView?: Maybe<TOrdersListView>;
1304
1354
  ordersListViews: Array<Maybe<TOrdersListView>>;
1305
1355
  organizationExtension?: Maybe<TOrganizationExtension>;
1306
1356
  organizationExtensionForCustomApplication?: Maybe<TOrganizationExtensionForCustomApplication>;
1357
+ organizationExtensionForCustomView?: Maybe<TOrganizationExtensionForCustomView>;
1307
1358
  pimSearchListView?: Maybe<TPimSearchListView>;
1308
1359
  pimSearchListViews: Array<Maybe<TPimSearchListView>>;
1309
1360
  productDiscountsCustomView?: Maybe<TDiscountsCustomView>;
@@ -1373,6 +1424,9 @@ export type TQuery_GlobalOrganizationExtensionArgs = {
1373
1424
  export type TQuery_MyCustomApplicationsArgs = {
1374
1425
  params?: InputMaybe<TMyCustomApplicationQueryInput>;
1375
1426
  };
1427
+ export type TQuery_OrderDetailViewArgs = {
1428
+ id: Scalars['ID'];
1429
+ };
1376
1430
  export type TQuery_OrdersListViewArgs = {
1377
1431
  id: Scalars['ID'];
1378
1432
  };
@@ -1382,6 +1436,9 @@ export type TQuery_OrganizationExtensionArgs = {
1382
1436
  export type TQuery_OrganizationExtensionForCustomApplicationArgs = {
1383
1437
  entryPointUriPath: Scalars['String'];
1384
1438
  };
1439
+ export type TQuery_OrganizationExtensionForCustomViewArgs = {
1440
+ customViewId: Scalars['String'];
1441
+ };
1385
1442
  export type TQuery_PimSearchListViewArgs = {
1386
1443
  id: Scalars['ID'];
1387
1444
  };
@@ -1587,7 +1644,8 @@ export type TSampleDataImportMetadata = {
1587
1644
  dataset?: Maybe<TSampleDatasets>;
1588
1645
  };
1589
1646
  export declare enum TSampleDatasets {
1590
- Fashion = "FASHION"
1647
+ Fashion = "FASHION",
1648
+ Goodstore = "GOODSTORE"
1591
1649
  }
1592
1650
  export type TSort = {
1593
1651
  __typename?: 'Sort';
@@ -1773,6 +1831,17 @@ export type TCreateCustomApplicationFromCliMutation = {
1773
1831
  id: string;
1774
1832
  } | null;
1775
1833
  };
1834
+ export type TCreateCustomViewFromCliMutationVariables = Exact<{
1835
+ organizationId: Scalars['String'];
1836
+ data: TCustomViewDraftDataInput;
1837
+ }>;
1838
+ export type TCreateCustomViewFromCliMutation = {
1839
+ __typename?: 'Mutation';
1840
+ createCustomView?: {
1841
+ __typename?: 'RestrictedCustomViewForOrganization';
1842
+ id: string;
1843
+ } | null;
1844
+ };
1776
1845
  export type TFetchCustomApplicationFromCliQueryVariables = Exact<{
1777
1846
  entryPointUriPath: Scalars['String'];
1778
1847
  }>;
@@ -1818,6 +1887,38 @@ export type TFetchCustomApplicationFromCliQuery = {
1818
1887
  };
1819
1888
  } | null;
1820
1889
  };
1890
+ export type TFetchCustomViewFromCliQueryVariables = Exact<{
1891
+ customViewId: Scalars['String'];
1892
+ }>;
1893
+ export type TFetchCustomViewFromCliQuery = {
1894
+ __typename?: 'Query';
1895
+ organizationExtensionForCustomView?: {
1896
+ __typename?: 'OrganizationExtensionForCustomView';
1897
+ organizationId: string;
1898
+ customView?: {
1899
+ __typename?: 'RestrictedCustomViewForOrganization';
1900
+ id: string;
1901
+ defaultLabel: string;
1902
+ url: string;
1903
+ type: TCustomViewType;
1904
+ locators: Array<string>;
1905
+ labelAllLocales: Array<{
1906
+ __typename?: 'LocalizedField';
1907
+ locale: string;
1908
+ value: string;
1909
+ }>;
1910
+ typeSettings?: {
1911
+ __typename?: 'CustomViewTypeSettings';
1912
+ size?: TCustomViewSize | null;
1913
+ } | null;
1914
+ permissions: Array<{
1915
+ __typename?: 'CustomViewPermission';
1916
+ name: string;
1917
+ oAuthScopes: Array<string>;
1918
+ }>;
1919
+ } | null;
1920
+ } | null;
1921
+ };
1821
1922
  export type TUpdateCustomApplicationFromCliMutationVariables = Exact<{
1822
1923
  organizationId: Scalars['String'];
1823
1924
  data: TCustomApplicationDraftDataInput;
@@ -1830,3 +1931,15 @@ export type TUpdateCustomApplicationFromCliMutation = {
1830
1931
  id: string;
1831
1932
  } | null;
1832
1933
  };
1934
+ export type TUpdateCustomViewFromCliMutationVariables = Exact<{
1935
+ organizationId: Scalars['String'];
1936
+ data: TCustomViewDraftDataInput;
1937
+ customViewId: Scalars['String'];
1938
+ }>;
1939
+ export type TUpdateCustomViewFromCliMutation = {
1940
+ __typename?: 'Mutation';
1941
+ updateCustomView?: {
1942
+ __typename?: 'RestrictedCustomViewForOrganization';
1943
+ id: string;
1944
+ } | null;
1945
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-components",
3
- "version": "22.11.0",
3
+ "version": "22.12.0",
4
4
  "description": "Generic components for building Merchant Center applications",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -36,14 +36,14 @@
36
36
  "dependencies": {
37
37
  "@babel/runtime": "^7.22.15",
38
38
  "@babel/runtime-corejs3": "^7.22.15",
39
- "@commercetools-frontend/actions-global": "22.11.0",
40
- "@commercetools-frontend/application-config": "22.11.0",
41
- "@commercetools-frontend/application-shell-connectors": "22.11.0",
42
- "@commercetools-frontend/assets": "22.11.0",
43
- "@commercetools-frontend/constants": "22.11.0",
44
- "@commercetools-frontend/i18n": "22.11.0",
45
- "@commercetools-frontend/l10n": "22.11.0",
46
- "@commercetools-frontend/sentry": "22.11.0",
39
+ "@commercetools-frontend/actions-global": "22.12.0",
40
+ "@commercetools-frontend/application-config": "22.12.0",
41
+ "@commercetools-frontend/application-shell-connectors": "22.12.0",
42
+ "@commercetools-frontend/assets": "22.12.0",
43
+ "@commercetools-frontend/constants": "22.12.0",
44
+ "@commercetools-frontend/i18n": "22.12.0",
45
+ "@commercetools-frontend/l10n": "22.12.0",
46
+ "@commercetools-frontend/sentry": "22.12.0",
47
47
  "@commercetools-uikit/card": "^16.7.3",
48
48
  "@commercetools-uikit/constraints": "^16.7.3",
49
49
  "@commercetools-uikit/design-system": "^16.7.3",
@@ -61,7 +61,7 @@
61
61
  "@commercetools-uikit/utils": "^16.7.3",
62
62
  "@emotion/react": "11.11.0",
63
63
  "@emotion/styled": "11.11.0",
64
- "@flopflip/react-broadcast": "13.1.5",
64
+ "@flopflip/react-broadcast": "13.1.7",
65
65
  "@react-hook/latest": "1.0.3",
66
66
  "@react-hook/resize-observer": "1.2.6",
67
67
  "@types/history": "^4.7.11",