@commercetools-frontend/application-components 22.10.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.
- package/dist/commercetools-frontend-application-components.cjs.dev.js +7 -4
- package/dist/commercetools-frontend-application-components.cjs.prod.js +7 -4
- package/dist/commercetools-frontend-application-components.esm.js +8 -5
- package/dist/declarations/src/types/generated/settings.d.ts +114 -1
- package/dist/{public-page-layout-e13f8cb7.cjs.prod.js → public-page-layout-0e1daa2e.cjs.prod.js} +1 -0
- package/dist/{public-page-layout-890c2dd3.cjs.dev.js → public-page-layout-4e26387d.cjs.dev.js} +1 -0
- package/dist/{public-page-layout-b0606764.esm.js → public-page-layout-82978d93.esm.js} +1 -0
- package/package.json +10 -9
|
@@ -40,6 +40,7 @@ var sentry = require('@commercetools-frontend/sentry');
|
|
|
40
40
|
var Constraints = require('@commercetools-uikit/constraints');
|
|
41
41
|
var actionsGlobal = require('@commercetools-frontend/actions-global');
|
|
42
42
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
43
|
+
var reactBroadcast = require('@flopflip/react-broadcast');
|
|
43
44
|
var FlatButton = require('@commercetools-uikit/flat-button');
|
|
44
45
|
var IconButton = require('@commercetools-uikit/icon-button');
|
|
45
46
|
var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
@@ -83,7 +84,7 @@ var FailedAuthorizationSVG__default = /*#__PURE__*/_interopDefault(FailedAuthori
|
|
|
83
84
|
var useResizeObserver__default = /*#__PURE__*/_interopDefault(useResizeObserver);
|
|
84
85
|
|
|
85
86
|
// NOTE: This string will be replaced on build time with the package version.
|
|
86
|
-
var version = "22.
|
|
87
|
+
var version = "22.12.0";
|
|
87
88
|
|
|
88
89
|
var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9;
|
|
89
90
|
const appKitSpacing55 = '40px';
|
|
@@ -880,13 +881,15 @@ var FetchCustomViewsQuery = { kind: "Document", definitions: [{ kind: "Operation
|
|
|
880
881
|
const useCustomViewsConnector = _ref => {
|
|
881
882
|
var _data$allCustomViewsI;
|
|
882
883
|
let customViewLocatorCode = _ref.customViewLocatorCode;
|
|
884
|
+
const areCustomViewsEnabled = reactBroadcast.useFeatureToggle(constants.featureFlags.CUSTOM_VIEWS) && process.env.DISABLE_CUSTOM_VIEWS_FEATURE !== 'true';
|
|
883
885
|
const _useMcQuery = applicationShellConnectors.useMcQuery(FetchCustomViewsQuery, {
|
|
884
886
|
variables: {
|
|
885
887
|
customViewLocatorCode
|
|
886
888
|
},
|
|
887
889
|
context: {
|
|
888
890
|
target: constants.GRAPHQL_TARGETS.SETTINGS_SERVICE
|
|
889
|
-
}
|
|
891
|
+
},
|
|
892
|
+
skip: !areCustomViewsEnabled
|
|
890
893
|
}),
|
|
891
894
|
data = _useMcQuery.data,
|
|
892
895
|
error = _useMcQuery.error,
|
|
@@ -1518,7 +1521,7 @@ const useCustomViewLocatorSelector = function () {
|
|
|
1518
1521
|
return reactRouterDom.matchPath(location.pathname, {
|
|
1519
1522
|
// strip the search, otherwise the path won't match
|
|
1520
1523
|
path: pathWithoutSearch(locator),
|
|
1521
|
-
exact:
|
|
1524
|
+
exact: true,
|
|
1522
1525
|
strict: false
|
|
1523
1526
|
});
|
|
1524
1527
|
});
|
|
@@ -1908,7 +1911,7 @@ TabularDetailPage.PageHeaderTitle = PageHeaderTitle;
|
|
|
1908
1911
|
// This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
|
|
1909
1912
|
TabularDetailPage.Intl = i18n.sharedMessages;
|
|
1910
1913
|
|
|
1911
|
-
const PublicPageLayout = /*#__PURE__*/react$1.lazy(() => Promise.resolve().then(function () { return require('./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" */); }));
|
|
1912
1915
|
|
|
1913
1916
|
const MainPageContainer = /*#__PURE__*/_styled__default["default"]("div", process.env.NODE_ENV === "production" ? {
|
|
1914
1917
|
target: "ev8m2jf2"
|
|
@@ -40,6 +40,7 @@ var sentry = require('@commercetools-frontend/sentry');
|
|
|
40
40
|
var Constraints = require('@commercetools-uikit/constraints');
|
|
41
41
|
var actionsGlobal = require('@commercetools-frontend/actions-global');
|
|
42
42
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
43
|
+
var reactBroadcast = require('@flopflip/react-broadcast');
|
|
43
44
|
var FlatButton = require('@commercetools-uikit/flat-button');
|
|
44
45
|
var IconButton = require('@commercetools-uikit/icon-button');
|
|
45
46
|
var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
@@ -82,7 +83,7 @@ var FailedAuthorizationSVG__default = /*#__PURE__*/_interopDefault(FailedAuthori
|
|
|
82
83
|
var useResizeObserver__default = /*#__PURE__*/_interopDefault(useResizeObserver);
|
|
83
84
|
|
|
84
85
|
// NOTE: This string will be replaced on build time with the package version.
|
|
85
|
-
var version = "22.
|
|
86
|
+
var version = "22.12.0";
|
|
86
87
|
|
|
87
88
|
var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9;
|
|
88
89
|
const appKitSpacing55 = '40px';
|
|
@@ -705,13 +706,15 @@ var FetchCustomViewsQuery = { kind: "Document", definitions: [{ kind: "Operation
|
|
|
705
706
|
const useCustomViewsConnector = _ref => {
|
|
706
707
|
var _data$allCustomViewsI;
|
|
707
708
|
let customViewLocatorCode = _ref.customViewLocatorCode;
|
|
709
|
+
const areCustomViewsEnabled = reactBroadcast.useFeatureToggle(constants.featureFlags.CUSTOM_VIEWS) && process.env.DISABLE_CUSTOM_VIEWS_FEATURE !== 'true';
|
|
708
710
|
const _useMcQuery = applicationShellConnectors.useMcQuery(FetchCustomViewsQuery, {
|
|
709
711
|
variables: {
|
|
710
712
|
customViewLocatorCode
|
|
711
713
|
},
|
|
712
714
|
context: {
|
|
713
715
|
target: constants.GRAPHQL_TARGETS.SETTINGS_SERVICE
|
|
714
|
-
}
|
|
716
|
+
},
|
|
717
|
+
skip: !areCustomViewsEnabled
|
|
715
718
|
}),
|
|
716
719
|
data = _useMcQuery.data,
|
|
717
720
|
error = _useMcQuery.error,
|
|
@@ -1161,7 +1164,7 @@ const useCustomViewLocatorSelector = function () {
|
|
|
1161
1164
|
return reactRouterDom.matchPath(location.pathname, {
|
|
1162
1165
|
// strip the search, otherwise the path won't match
|
|
1163
1166
|
path: pathWithoutSearch(locator),
|
|
1164
|
-
exact:
|
|
1167
|
+
exact: true,
|
|
1165
1168
|
strict: false
|
|
1166
1169
|
});
|
|
1167
1170
|
});
|
|
@@ -1425,7 +1428,7 @@ TabularDetailPage.PageHeaderTitle = PageHeaderTitle;
|
|
|
1425
1428
|
// This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
|
|
1426
1429
|
TabularDetailPage.Intl = i18n.sharedMessages;
|
|
1427
1430
|
|
|
1428
|
-
const PublicPageLayout = /*#__PURE__*/react$1.lazy(() => Promise.resolve().then(function () { return require('./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" */); }));
|
|
1429
1432
|
|
|
1430
1433
|
const MainPageContainer = /*#__PURE__*/_styled__default["default"]("div", {
|
|
1431
1434
|
target: "ev8m2jf2"
|
|
@@ -19,7 +19,7 @@ import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
|
|
|
19
19
|
import { isValidElement, useRef, useCallback, useEffect, useState, cloneElement, lazy, Children, forwardRef } from 'react';
|
|
20
20
|
import _styled from '@emotion/styled/base';
|
|
21
21
|
import Modal from 'react-modal';
|
|
22
|
-
import { PORTALS_CONTAINER_ID, DOMAINS, NOTIFICATION_KINDS_PAGE, CUSTOM_VIEWS_EVENTS_NAMES, CUSTOM_VIEWS_EVENTS_META, GRAPHQL_TARGETS, SUPPORT_PORTAL_URL } from '@commercetools-frontend/constants';
|
|
22
|
+
import { PORTALS_CONTAINER_ID, DOMAINS, NOTIFICATION_KINDS_PAGE, CUSTOM_VIEWS_EVENTS_NAMES, CUSTOM_VIEWS_EVENTS_META, featureFlags, GRAPHQL_TARGETS, SUPPORT_PORTAL_URL } from '@commercetools-frontend/constants';
|
|
23
23
|
import Card from '@commercetools-uikit/card';
|
|
24
24
|
import { CloseIcon, SidebarCollapseIcon, AngleLeftIcon, BinLinearIcon, ListIcon } from '@commercetools-uikit/icons';
|
|
25
25
|
import SecondaryIconButton from '@commercetools-uikit/secondary-icon-button';
|
|
@@ -36,6 +36,7 @@ import { reportErrorToSentry } from '@commercetools-frontend/sentry';
|
|
|
36
36
|
import Constraints from '@commercetools-uikit/constraints';
|
|
37
37
|
import { useShowNotification } from '@commercetools-frontend/actions-global';
|
|
38
38
|
import { useApplicationContext, useMcQuery } from '@commercetools-frontend/application-shell-connectors';
|
|
39
|
+
import { useFeatureToggle } from '@flopflip/react-broadcast';
|
|
39
40
|
import FlatButton from '@commercetools-uikit/flat-button';
|
|
40
41
|
import IconButton from '@commercetools-uikit/icon-button';
|
|
41
42
|
import _findInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
@@ -46,7 +47,7 @@ import useResizeObserver from '@react-hook/resize-observer';
|
|
|
46
47
|
import { useMutationObserver } from '@commercetools-uikit/hooks';
|
|
47
48
|
|
|
48
49
|
// NOTE: This string will be replaced on build time with the package version.
|
|
49
|
-
var version = "22.
|
|
50
|
+
var version = "22.12.0";
|
|
50
51
|
|
|
51
52
|
var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9;
|
|
52
53
|
const appKitSpacing55 = '40px';
|
|
@@ -843,13 +844,15 @@ var FetchCustomViewsQuery = { kind: "Document", definitions: [{ kind: "Operation
|
|
|
843
844
|
const useCustomViewsConnector = _ref => {
|
|
844
845
|
var _data$allCustomViewsI;
|
|
845
846
|
let customViewLocatorCode = _ref.customViewLocatorCode;
|
|
847
|
+
const areCustomViewsEnabled = useFeatureToggle(featureFlags.CUSTOM_VIEWS) && process.env.DISABLE_CUSTOM_VIEWS_FEATURE !== 'true';
|
|
846
848
|
const _useMcQuery = useMcQuery(FetchCustomViewsQuery, {
|
|
847
849
|
variables: {
|
|
848
850
|
customViewLocatorCode
|
|
849
851
|
},
|
|
850
852
|
context: {
|
|
851
853
|
target: GRAPHQL_TARGETS.SETTINGS_SERVICE
|
|
852
|
-
}
|
|
854
|
+
},
|
|
855
|
+
skip: !areCustomViewsEnabled
|
|
853
856
|
}),
|
|
854
857
|
data = _useMcQuery.data,
|
|
855
858
|
error = _useMcQuery.error,
|
|
@@ -1481,7 +1484,7 @@ const useCustomViewLocatorSelector = function () {
|
|
|
1481
1484
|
return matchPath(location.pathname, {
|
|
1482
1485
|
// strip the search, otherwise the path won't match
|
|
1483
1486
|
path: pathWithoutSearch(locator),
|
|
1484
|
-
exact:
|
|
1487
|
+
exact: true,
|
|
1485
1488
|
strict: false
|
|
1486
1489
|
});
|
|
1487
1490
|
});
|
|
@@ -1871,7 +1874,7 @@ TabularDetailPage.PageHeaderTitle = PageHeaderTitle;
|
|
|
1871
1874
|
// This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
|
|
1872
1875
|
TabularDetailPage.Intl = sharedMessages;
|
|
1873
1876
|
|
|
1874
|
-
const PublicPageLayout = /*#__PURE__*/lazy(() => import('./public-page-layout-
|
|
1877
|
+
const PublicPageLayout = /*#__PURE__*/lazy(() => import('./public-page-layout-82978d93.esm.js' /* webpackChunkName: "public-page-layout" */));
|
|
1875
1878
|
|
|
1876
1879
|
const MainPageContainer = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
1877
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/dist/{public-page-layout-e13f8cb7.cjs.prod.js → public-page-layout-0e1daa2e.cjs.prod.js}
RENAMED
|
@@ -40,6 +40,7 @@ require('@commercetools-frontend/sentry');
|
|
|
40
40
|
require('@commercetools-uikit/constraints');
|
|
41
41
|
require('@commercetools-frontend/actions-global');
|
|
42
42
|
require('@commercetools-frontend/application-shell-connectors');
|
|
43
|
+
require('@flopflip/react-broadcast');
|
|
43
44
|
require('@commercetools-uikit/flat-button');
|
|
44
45
|
require('@commercetools-uikit/icon-button');
|
|
45
46
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
package/dist/{public-page-layout-890c2dd3.cjs.dev.js → public-page-layout-4e26387d.cjs.dev.js}
RENAMED
|
@@ -40,6 +40,7 @@ require('@commercetools-frontend/sentry');
|
|
|
40
40
|
require('@commercetools-uikit/constraints');
|
|
41
41
|
require('@commercetools-frontend/actions-global');
|
|
42
42
|
require('@commercetools-frontend/application-shell-connectors');
|
|
43
|
+
require('@flopflip/react-broadcast');
|
|
43
44
|
require('@commercetools-uikit/flat-button');
|
|
44
45
|
require('@commercetools-uikit/icon-button');
|
|
45
46
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
@@ -38,6 +38,7 @@ import '@commercetools-frontend/sentry';
|
|
|
38
38
|
import '@commercetools-uikit/constraints';
|
|
39
39
|
import '@commercetools-frontend/actions-global';
|
|
40
40
|
import '@commercetools-frontend/application-shell-connectors';
|
|
41
|
+
import '@flopflip/react-broadcast';
|
|
41
42
|
import '@commercetools-uikit/flat-button';
|
|
42
43
|
import '@commercetools-uikit/icon-button';
|
|
43
44
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-components",
|
|
3
|
-
"version": "22.
|
|
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.
|
|
40
|
-
"@commercetools-frontend/application-config": "22.
|
|
41
|
-
"@commercetools-frontend/application-shell-connectors": "22.
|
|
42
|
-
"@commercetools-frontend/assets": "22.
|
|
43
|
-
"@commercetools-frontend/constants": "22.
|
|
44
|
-
"@commercetools-frontend/i18n": "22.
|
|
45
|
-
"@commercetools-frontend/l10n": "22.
|
|
46
|
-
"@commercetools-frontend/sentry": "22.
|
|
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,6 +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.7",
|
|
64
65
|
"@react-hook/latest": "1.0.3",
|
|
65
66
|
"@react-hook/resize-observer": "1.2.6",
|
|
66
67
|
"@types/history": "^4.7.11",
|