@commercetools-frontend/application-shell 22.26.0 → 22.28.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-shell.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-application-shell.esm.js +1 -1
- package/dist/{custom-view-dev-host-614781d6.cjs.prod.js → custom-view-dev-host-1e24e48d.cjs.prod.js} +1 -1
- package/dist/{custom-view-dev-host-d08dd1be.esm.js → custom-view-dev-host-47ea9757.esm.js} +1 -1
- package/dist/{custom-view-dev-host-9009d077.cjs.dev.js → custom-view-dev-host-5f08d97f.cjs.dev.js} +1 -1
- package/dist/declarations/src/components/project-container/index.d.ts +0 -1
- package/dist/declarations/src/types/generated/ctp.d.ts +385 -19
- package/dist/declarations/src/types/generated/mc.d.ts +7 -1
- package/dist/declarations/src/types/generated/settings.d.ts +50 -0
- package/dist/{index-237236f2.esm.js → index-01a99f98.esm.js} +15 -14
- package/dist/{index-6e65c41b.cjs.prod.js → index-4aac5e55.cjs.prod.js} +14 -13
- package/dist/{index-14e4ac2b.cjs.dev.js → index-e4b4e72d.cjs.dev.js} +14 -13
- package/dist/{oidc-callback-1e77c323.esm.js → oidc-callback-2530ca14.esm.js} +1 -1
- package/dist/{oidc-callback-824186d8.cjs.prod.js → oidc-callback-7c3a539b.cjs.prod.js} +1 -1
- package/dist/{oidc-callback-de41d5f9.cjs.dev.js → oidc-callback-f8ab60ee.cjs.dev.js} +1 -1
- package/dist/{project-container-f4f617c7.cjs.dev.js → project-container-263f1b20.cjs.dev.js} +5 -5
- package/dist/{project-container-e1b377c9.esm.js → project-container-4640bc09.esm.js} +5 -5
- package/dist/{project-container-a6e49635.cjs.prod.js → project-container-bda56304.cjs.prod.js} +5 -5
- package/dist/{project-expired-47d3594c.esm.js → project-expired-44c3e159.esm.js} +2 -2
- package/dist/{project-expired-bc90c562.cjs.dev.js → project-expired-54bfab66.cjs.dev.js} +2 -2
- package/dist/{project-expired-8f7897ec.cjs.prod.js → project-expired-f00ff430.cjs.prod.js} +2 -2
- package/dist/{project-not-found-7ed966aa.esm.js → project-not-found-71ca532c.esm.js} +2 -2
- package/dist/{project-not-found-bc861976.cjs.prod.js → project-not-found-8f89266c.cjs.prod.js} +2 -2
- package/dist/{project-not-found-58414678.cjs.dev.js → project-not-found-dadfbb10.cjs.dev.js} +2 -2
- package/dist/{project-not-initialized-036707fa.cjs.dev.js → project-not-initialized-105c98bd.cjs.dev.js} +2 -2
- package/dist/{project-not-initialized-1accc08e.cjs.prod.js → project-not-initialized-9d4412a3.cjs.prod.js} +2 -2
- package/dist/{project-not-initialized-028c5461.esm.js → project-not-initialized-d219a894.esm.js} +2 -2
- package/dist/{project-suspended-dcd4dfa6.cjs.prod.js → project-suspended-06921323.cjs.prod.js} +2 -2
- package/dist/{project-suspended-3f7055e5.cjs.dev.js → project-suspended-589ea9b7.cjs.dev.js} +2 -2
- package/dist/{project-suspended-7cefb993.esm.js → project-suspended-7ceb1da4.esm.js} +2 -2
- package/dist/{quick-access-14f38bc7.cjs.dev.js → quick-access-a2eb4d18.cjs.dev.js} +1 -1
- package/dist/{quick-access-ff8d0164.cjs.prod.js → quick-access-af32f8de.cjs.prod.js} +1 -1
- package/dist/{quick-access-18276693.esm.js → quick-access-f87a2150.esm.js} +1 -1
- package/dist/{redirect-to-logout-90a61ad6.cjs.dev.js → redirect-to-logout-314ce3cb.cjs.dev.js} +1 -1
- package/dist/{redirect-to-logout-fdcfd302.esm.js → redirect-to-logout-b77d7388.esm.js} +1 -1
- package/dist/{redirect-to-logout-4fcf9ccf.cjs.prod.js → redirect-to-logout-d1bf2a25.cjs.prod.js} +1 -1
- package/dist/{requests-in-flight-loader-e0444a55.cjs.prod.js → requests-in-flight-loader-1e6e82e0.cjs.prod.js} +1 -1
- package/dist/{requests-in-flight-loader-b8336fec.esm.js → requests-in-flight-loader-509f4e6c.esm.js} +1 -1
- package/dist/{requests-in-flight-loader-9815e9cc.cjs.dev.js → requests-in-flight-loader-595be161.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-7943c040.cjs.prod.js → service-page-project-switcher-54053057.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-a6ec4c2c.esm.js → service-page-project-switcher-8e07d215.esm.js} +1 -1
- package/dist/{service-page-project-switcher-bb8443c1.cjs.dev.js → service-page-project-switcher-c65b845b.cjs.dev.js} +1 -1
- package/dist/{version-tracker-e87325ea.cjs.dev.js → version-tracker-0f650d7c.cjs.dev.js} +1 -1
- package/dist/{version-tracker-d91778d3.cjs.prod.js → version-tracker-8c0df8c7.cjs.prod.js} +1 -1
- package/dist/{version-tracker-9ffda449.esm.js → version-tracker-91e01226.esm.js} +1 -1
- package/package.json +23 -23
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +0 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +0 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +0 -1
|
@@ -182,6 +182,7 @@ export type TMutation_DeleteOAuthClientArgs = {
|
|
|
182
182
|
id: Scalars['ID'];
|
|
183
183
|
};
|
|
184
184
|
export type TMutation_ImportSampleDataArgs = {
|
|
185
|
+
dataset?: InputMaybe<TSampleDatasets>;
|
|
185
186
|
projectKey: Scalars['String'];
|
|
186
187
|
};
|
|
187
188
|
export type TMutation_InviteArgs = {
|
|
@@ -276,6 +277,7 @@ export type TProject = TMetaData & {
|
|
|
276
277
|
expiry: TProjectExpiry;
|
|
277
278
|
initialized: Scalars['Boolean'];
|
|
278
279
|
isProductionProject: Scalars['Boolean'];
|
|
280
|
+
isUserAdminOfCurrentProject?: Maybe<Scalars['Boolean']>;
|
|
279
281
|
key: Scalars['String'];
|
|
280
282
|
languages: Array<Scalars['String']>;
|
|
281
283
|
lastModifiedAt: Scalars['String'];
|
|
@@ -437,6 +439,10 @@ export type TResetUser = {
|
|
|
437
439
|
__typename?: 'ResetUser';
|
|
438
440
|
id: Scalars['String'];
|
|
439
441
|
};
|
|
442
|
+
export declare enum TSampleDatasets {
|
|
443
|
+
B2B = "B2B",
|
|
444
|
+
Goodstore = "GOODSTORE"
|
|
445
|
+
}
|
|
440
446
|
export type TSetUserTimeZone = {
|
|
441
447
|
timeZone?: InputMaybe<Scalars['String']>;
|
|
442
448
|
};
|
|
@@ -573,6 +579,7 @@ export type TFetchProjectQuery = {
|
|
|
573
579
|
initialized: boolean;
|
|
574
580
|
isProductionProject: boolean;
|
|
575
581
|
sampleDataImportDataset?: string | null;
|
|
582
|
+
isUserAdminOfCurrentProject?: boolean | null;
|
|
576
583
|
expiry: {
|
|
577
584
|
__typename?: 'ProjectExpiry';
|
|
578
585
|
isActive: boolean;
|
|
@@ -654,7 +661,6 @@ export type TFetchLoggedInUserQuery = {
|
|
|
654
661
|
launchdarklyTrackingGroup: string;
|
|
655
662
|
launchdarklyTrackingSubgroup?: string | null;
|
|
656
663
|
launchdarklyTrackingTeam?: Array<string> | null;
|
|
657
|
-
launchdarklyTrackingTenant: string;
|
|
658
664
|
launchdarklyTrackingCloudEnvironment: string;
|
|
659
665
|
defaultProjectKey?: string | null;
|
|
660
666
|
businessRole?: string | null;
|
|
@@ -64,6 +64,11 @@ export type TAverageOrderValueConfiguration = {
|
|
|
64
64
|
export type TAverageOrderValueConfigurationInput = {
|
|
65
65
|
showPreviousTimeframe: Scalars['Boolean'];
|
|
66
66
|
};
|
|
67
|
+
export type TBatchProcessResult = {
|
|
68
|
+
__typename?: 'BatchProcessResult';
|
|
69
|
+
failed: Array<TTdlqMessageResult>;
|
|
70
|
+
successful: Array<TTdlqMessageResult>;
|
|
71
|
+
};
|
|
67
72
|
export declare enum TBestSellingLimit {
|
|
68
73
|
Fifteen = "FIFTEEN",
|
|
69
74
|
Five = "FIVE",
|
|
@@ -372,6 +377,9 @@ export type TCustomViewsPagedQueryResult = {
|
|
|
372
377
|
results: Array<TCustomView>;
|
|
373
378
|
total: Scalars['Int'];
|
|
374
379
|
};
|
|
380
|
+
export type TCustomerEmailValidationSettingsInput = {
|
|
381
|
+
isCustomerEmailValidationDisabled: Scalars['Boolean'];
|
|
382
|
+
};
|
|
375
383
|
export type TCustomersListView = {
|
|
376
384
|
__typename?: 'CustomersListView';
|
|
377
385
|
createdAt: Scalars['DateTime'];
|
|
@@ -594,6 +602,17 @@ export type TLocalizedFieldDataInput = {
|
|
|
594
602
|
locale: Scalars['String'];
|
|
595
603
|
value: Scalars['String'];
|
|
596
604
|
};
|
|
605
|
+
export type TMessage = {
|
|
606
|
+
__typename?: 'Message';
|
|
607
|
+
ackId: Scalars['String'];
|
|
608
|
+
data: Scalars['String'];
|
|
609
|
+
id: Scalars['ID'];
|
|
610
|
+
};
|
|
611
|
+
export type TMessageInput = {
|
|
612
|
+
ackId: Scalars['String'];
|
|
613
|
+
data: Scalars['String'];
|
|
614
|
+
id: Scalars['ID'];
|
|
615
|
+
};
|
|
597
616
|
export declare enum TMetricCardType {
|
|
598
617
|
AverageOrderValue = "AVERAGE_ORDER_VALUE",
|
|
599
618
|
OrderStatus = "ORDER_STATUS",
|
|
@@ -675,11 +694,14 @@ export type TMutation = {
|
|
|
675
694
|
deleteProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
|
|
676
695
|
installCustomApplication?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
|
|
677
696
|
installCustomView?: Maybe<TRestrictedCustomViewInstallationForOrganization>;
|
|
697
|
+
moveMessagesFromDeadLetterQueueToMainQueue?: Maybe<TBatchProcessResult>;
|
|
678
698
|
random: Scalars['String'];
|
|
699
|
+
removeMessagesFromDeadLetterQueue?: Maybe<TBatchProcessResult>;
|
|
679
700
|
sendLinkToVerifyCustomApplicationsMaintainerContactEmail?: Maybe<TCustomApplicationsMaintainerContactEmailVerificationRequest>;
|
|
680
701
|
setCustomApplicationsMaintainerContactInformation?: Maybe<TOrganizationExtension>;
|
|
681
702
|
setOrganizationExtensionOidcSsoConfig?: Maybe<TOrganizationExtension>;
|
|
682
703
|
setProjectExtensionCategoryRecommendation?: Maybe<TProjectExtension>;
|
|
704
|
+
setProjectExtensionCustomerEmailValidationSettings?: Maybe<TProjectExtension>;
|
|
683
705
|
setProjectExtensionImageRegex?: Maybe<TProjectExtension>;
|
|
684
706
|
setProjectExtensionImportSampleDataset?: Maybe<TProjectExtension>;
|
|
685
707
|
setProjectExtensionOrderStatesVisibility?: Maybe<TProjectExtension>;
|
|
@@ -907,9 +929,15 @@ export type TMutation_InstallCustomViewArgs = {
|
|
|
907
929
|
organizationId: Scalars['String'];
|
|
908
930
|
projectKeys?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
909
931
|
};
|
|
932
|
+
export type TMutation_MoveMessagesFromDeadLetterQueueToMainQueueArgs = {
|
|
933
|
+
messages: Array<TMessageInput>;
|
|
934
|
+
};
|
|
910
935
|
export type TMutation_RandomArgs = {
|
|
911
936
|
byteLength: Scalars['Int'];
|
|
912
937
|
};
|
|
938
|
+
export type TMutation_RemoveMessagesFromDeadLetterQueueArgs = {
|
|
939
|
+
messages: Array<TMessageInput>;
|
|
940
|
+
};
|
|
913
941
|
export type TMutation_SendLinkToVerifyCustomApplicationsMaintainerContactEmailArgs = {
|
|
914
942
|
organizationId: Scalars['String'];
|
|
915
943
|
};
|
|
@@ -924,6 +952,9 @@ export type TMutation_SetOrganizationExtensionOidcSsoConfigArgs = {
|
|
|
924
952
|
export type TMutation_SetProjectExtensionCategoryRecommendationArgs = {
|
|
925
953
|
data?: InputMaybe<TCategoryRecommendationSettingsDataInput>;
|
|
926
954
|
};
|
|
955
|
+
export type TMutation_SetProjectExtensionCustomerEmailValidationSettingsArgs = {
|
|
956
|
+
data?: InputMaybe<TCustomerEmailValidationSettingsInput>;
|
|
957
|
+
};
|
|
927
958
|
export type TMutation_SetProjectExtensionImageRegexArgs = {
|
|
928
959
|
data?: InputMaybe<TImageRegexDataInput>;
|
|
929
960
|
};
|
|
@@ -1098,6 +1129,13 @@ export type TNavbarSubmenu = {
|
|
|
1098
1129
|
updatedAt: Scalars['DateTime'];
|
|
1099
1130
|
uriPath: Scalars['String'];
|
|
1100
1131
|
};
|
|
1132
|
+
export type TNestedTable = {
|
|
1133
|
+
__typename?: 'NestedTable';
|
|
1134
|
+
visibleColumns?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1135
|
+
};
|
|
1136
|
+
export type TNestedTableInput = {
|
|
1137
|
+
visibleColumns?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
1138
|
+
};
|
|
1101
1139
|
export declare enum TOAuthScope {
|
|
1102
1140
|
ManageBusinessUnits = "ManageBusinessUnits",
|
|
1103
1141
|
ManageCartDiscounts = "ManageCartDiscounts",
|
|
@@ -1264,6 +1302,7 @@ export type TPimSearchListViewInput = {
|
|
|
1264
1302
|
table?: InputMaybe<TPimSearchListViewTableInput>;
|
|
1265
1303
|
};
|
|
1266
1304
|
export type TPimSearchListViewTableInput = {
|
|
1305
|
+
nestedTable?: InputMaybe<TNestedTableInput>;
|
|
1267
1306
|
visibleColumns: Array<Scalars['String']>;
|
|
1268
1307
|
};
|
|
1269
1308
|
export type TProductTypeAttributesView = {
|
|
@@ -1305,6 +1344,7 @@ export type TProjectExtension = {
|
|
|
1305
1344
|
imageRegex?: Maybe<TImageRegex>;
|
|
1306
1345
|
installedApplications: Array<TRestrictedCustomApplicationInstallationForProject>;
|
|
1307
1346
|
installedCustomViews: Array<TRestrictedCustomViewInstallationForProject>;
|
|
1347
|
+
isCustomerEmailValidationDisabled: Scalars['Boolean'];
|
|
1308
1348
|
isRichTextEditorEnabled: Scalars['Boolean'];
|
|
1309
1349
|
orderStatesVisibility: Array<TOrderStatesVisibility>;
|
|
1310
1350
|
projectKey: Scalars['String'];
|
|
@@ -1412,6 +1452,7 @@ export type TQuery = {
|
|
|
1412
1452
|
projectExtension?: Maybe<TProjectExtension>;
|
|
1413
1453
|
projectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
|
|
1414
1454
|
projectSettingsStoresViews: Array<Maybe<TProjectSettingsStoresView>>;
|
|
1455
|
+
readMessagesFromDeadLetterQueue: Array<TMessage>;
|
|
1415
1456
|
release?: Maybe<Scalars['String']>;
|
|
1416
1457
|
ruleBuilderQuickSelectionValues?: Maybe<Array<Maybe<TRuleBuilderQuickSelectionValues>>>;
|
|
1417
1458
|
variantPricesListViews: Array<Maybe<TVariantPricesListView>>;
|
|
@@ -1698,6 +1739,7 @@ export type TSampleDataImportMetadata = {
|
|
|
1698
1739
|
dataset?: Maybe<TSampleDatasets>;
|
|
1699
1740
|
};
|
|
1700
1741
|
export declare enum TSampleDatasets {
|
|
1742
|
+
B2B = "B2B",
|
|
1701
1743
|
Fashion = "FASHION",
|
|
1702
1744
|
Goodstore = "GOODSTORE"
|
|
1703
1745
|
}
|
|
@@ -1715,8 +1757,16 @@ export declare enum TSortOrder {
|
|
|
1715
1757
|
Asc = "Asc",
|
|
1716
1758
|
Desc = "Desc"
|
|
1717
1759
|
}
|
|
1760
|
+
export type TTdlqMessageResult = {
|
|
1761
|
+
__typename?: 'TDLQMessageResult';
|
|
1762
|
+
ackId: Scalars['String'];
|
|
1763
|
+
data: Scalars['String'];
|
|
1764
|
+
error?: Maybe<Scalars['String']>;
|
|
1765
|
+
id: Scalars['ID'];
|
|
1766
|
+
};
|
|
1718
1767
|
export type TTable = {
|
|
1719
1768
|
__typename?: 'Table';
|
|
1769
|
+
nestedTable?: Maybe<TNestedTable>;
|
|
1720
1770
|
visibleColumns: Array<Scalars['String']>;
|
|
1721
1771
|
};
|
|
1722
1772
|
export type TTopProductsConfiguration = {
|
|
@@ -60,7 +60,7 @@ import combineAdapters from '@flopflip/combine-adapters';
|
|
|
60
60
|
import httpAdapter from '@flopflip/http-adapter';
|
|
61
61
|
import ldAdapter from '@flopflip/launchdarkly-adapter';
|
|
62
62
|
import { ConfigureFlopFlip } from '@flopflip/react-broadcast';
|
|
63
|
-
import { cacheIdentifiers, cacheModes } from '@flopflip/types';
|
|
63
|
+
import { cacheIdentifiers, adapterIdentifiers, cacheModes } from '@flopflip/types';
|
|
64
64
|
import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
65
65
|
import { Provider, useStore } from 'react-redux';
|
|
66
66
|
import upperFirst from 'lodash/upperFirst';
|
|
@@ -74,9 +74,9 @@ import _someInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instanc
|
|
|
74
74
|
import { showUnexpectedErrorNotification } from '@commercetools-frontend/actions-global';
|
|
75
75
|
|
|
76
76
|
// NOTE: This string will be replaced on build time with the package version.
|
|
77
|
-
var applicationShellVersion = "22.
|
|
77
|
+
var applicationShellVersion = "22.28.0";
|
|
78
78
|
|
|
79
|
-
const RequestsInFlightLoader = /*#__PURE__*/lazy(() => import('./requests-in-flight-loader-
|
|
79
|
+
const RequestsInFlightLoader = /*#__PURE__*/lazy(() => import('./requests-in-flight-loader-509f4e6c.esm.js' /* webpackChunkName: "requests-in-flight-loader" */));
|
|
80
80
|
|
|
81
81
|
// Attempt to load the `projectKey` from localStorage
|
|
82
82
|
function selectProjectKeyFromLocalStorage() {
|
|
@@ -518,7 +518,7 @@ ConfigureIntlProvider.displayName = 'ConfigureIntlProvider';
|
|
|
518
518
|
|
|
519
519
|
const ErrorApologizer = /*#__PURE__*/lazy(() => import('./error-apologizer-76f087f4.esm.js' /* webpackChunkName: "error-apologizer" */));
|
|
520
520
|
|
|
521
|
-
var ProjectQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchProject" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "projectKey" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "project" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "key" }, value: { kind: "Variable", name: { kind: "Name", value: "projectKey" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "countries" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "currencies" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "initialized" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "expiry" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "daysLeft" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "suspension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "isProductionProject" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "allPermissionsForAllApplications" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedMenuVisibilities" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "Field", name: { kind: "Name", value: "owner" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "sampleDataImportDataset" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end:
|
|
521
|
+
var ProjectQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchProject" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "projectKey" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "project" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "key" }, value: { kind: "Variable", name: { kind: "Name", value: "projectKey" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "countries" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "currencies" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "initialized" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "expiry" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "daysLeft" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "suspension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "isProductionProject" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "allPermissionsForAllApplications" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedMenuVisibilities" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "Field", name: { kind: "Name", value: "owner" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "sampleDataImportDataset" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "isUserAdminOfCurrentProject" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 1081, source: { body: "query FetchProject($projectKey: String) {\n project(key: $projectKey) {\n key\n version\n name\n countries\n currencies\n languages\n initialized\n expiry {\n isActive\n daysLeft\n }\n suspension {\n isActive\n reason\n }\n isProductionProject\n allAppliedPermissions {\n name\n value\n }\n allAppliedActionRights {\n group\n name\n value\n }\n allAppliedDataFences {\n ... on StoreDataFence {\n type\n name\n value\n group\n __typename\n }\n }\n allPermissionsForAllApplications {\n allAppliedPermissions {\n name\n value\n }\n allAppliedActionRights {\n group\n name\n value\n }\n allAppliedMenuVisibilities {\n name\n value\n }\n allAppliedDataFences {\n ... on StoreDataFence {\n type\n name\n value\n group\n __typename\n }\n }\n }\n owner {\n id\n name\n }\n sampleDataImportDataset\n isUserAdminOfCurrentProject\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
522
522
|
const FetchProject = props => {
|
|
523
523
|
const _useMcQuery = useMcQuery(ProjectQuery, {
|
|
524
524
|
onError: reportErrorToSentry,
|
|
@@ -574,7 +574,7 @@ FetchUser.displayName = 'FetchUser';
|
|
|
574
574
|
|
|
575
575
|
const Navbar = /*#__PURE__*/lazy(() => import('./navbar-8c94b919.esm.js' /* webpackChunkName: "navbar" */));
|
|
576
576
|
|
|
577
|
-
const ProjectContainer = /*#__PURE__*/lazy(() => import('./project-container-
|
|
577
|
+
const ProjectContainer = /*#__PURE__*/lazy(() => import('./project-container-4640bc09.esm.js' /* webpackChunkName: "project-container" */));
|
|
578
578
|
|
|
579
579
|
const getSelectedDataLocaleForProject = projectLocales => {
|
|
580
580
|
const cachedDataLocale = window.localStorage.getItem(STORAGE_KEYS.SELECTED_DATA_LOCALE);
|
|
@@ -698,7 +698,7 @@ var pimIndexerStates = {
|
|
|
698
698
|
NOT_INDEXED: 'NOT_INDEXED'
|
|
699
699
|
};
|
|
700
700
|
|
|
701
|
-
const QuickAccess = /*#__PURE__*/lazy(() => import('./quick-access-
|
|
701
|
+
const QuickAccess = /*#__PURE__*/lazy(() => import('./quick-access-f87a2150.esm.js' /* webpackChunkName: "quick-access" */));
|
|
702
702
|
const QuickAccessTrigger = props => {
|
|
703
703
|
const _useState = useState(false),
|
|
704
704
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -786,7 +786,7 @@ QuickAccessTrigger.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
786
786
|
} : {};
|
|
787
787
|
QuickAccessTrigger.displayName = 'QuickAccessTrigger';
|
|
788
788
|
|
|
789
|
-
const RedirectToLogout = /*#__PURE__*/lazy(() => import('./redirect-to-logout-
|
|
789
|
+
const RedirectToLogout = /*#__PURE__*/lazy(() => import('./redirect-to-logout-b77d7388.esm.js' /* webpackChunkName: "redirect-to-logout" */));
|
|
790
790
|
|
|
791
791
|
const RedirectToProjectCreate = /*#__PURE__*/lazy(() => import('./redirect-to-project-create-a407c70e.esm.js' /* webpackChunkName: "redirect-to-project-create" */));
|
|
792
792
|
|
|
@@ -846,9 +846,10 @@ const parseFlags = fetchedFlags => {
|
|
|
846
846
|
reason: fetchedFlag.reason
|
|
847
847
|
}]));
|
|
848
848
|
};
|
|
849
|
-
const getCacheMode =
|
|
849
|
+
const getCacheMode = adapterIdentifier => {
|
|
850
|
+
if (
|
|
850
851
|
// @ts-ignore
|
|
851
|
-
|
|
852
|
+
typeof window.Cypress !== 'undefined' || adapterIdentifier === adapterIdentifiers.http) {
|
|
852
853
|
// Temporary workaround: when running in Cypress, do not use lazy mode
|
|
853
854
|
// as the flag is not being updated in time during the test run.
|
|
854
855
|
return cacheModes.eager;
|
|
@@ -876,7 +877,7 @@ const SetupFlopFlipProvider = props => {
|
|
|
876
877
|
},
|
|
877
878
|
launchdarkly: {
|
|
878
879
|
cacheIdentifier: cacheIdentifiers.local,
|
|
879
|
-
cacheMode: getCacheMode(),
|
|
880
|
+
cacheMode: getCacheMode(adapterIdentifiers.launchdarkly),
|
|
880
881
|
sdk: {
|
|
881
882
|
// Allow to overwrite the client ID, passed via the `additionalEnv` properties
|
|
882
883
|
// of the application config.
|
|
@@ -893,7 +894,7 @@ const SetupFlopFlipProvider = props => {
|
|
|
893
894
|
// polling interval set to 15 minutes
|
|
894
895
|
pollingIntervalMs: 1000 * 60 * 15,
|
|
895
896
|
cacheIdentifier: cacheIdentifiers.local,
|
|
896
|
-
cacheMode: getCacheMode(),
|
|
897
|
+
cacheMode: getCacheMode(adapterIdentifiers.http),
|
|
897
898
|
user: {
|
|
898
899
|
key: (_props$user2 = props.user) === null || _props$user2 === void 0 ? void 0 : _props$user2.id
|
|
899
900
|
},
|
|
@@ -958,7 +959,7 @@ const ThemeSwitcher = () => {
|
|
|
958
959
|
});
|
|
959
960
|
};
|
|
960
961
|
|
|
961
|
-
const VersionTracker = /*#__PURE__*/lazy(() => import('./version-tracker-
|
|
962
|
+
const VersionTracker = /*#__PURE__*/lazy(() => import('./version-tracker-91e01226.esm.js' /* webpackChunkName: "version-tracker" */));
|
|
962
963
|
|
|
963
964
|
function ownKeys$6(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; }
|
|
964
965
|
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$6(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$6(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -1472,7 +1473,7 @@ const hasCachedAuthenticationState = () => {
|
|
|
1472
1473
|
return window.localStorage.getItem(STORAGE_KEYS.IS_AUTHENTICATED) === 'true';
|
|
1473
1474
|
};
|
|
1474
1475
|
|
|
1475
|
-
const OidcCallback = /*#__PURE__*/lazy(() => import('./oidc-callback-
|
|
1476
|
+
const OidcCallback = /*#__PURE__*/lazy(() => import('./oidc-callback-2530ca14.esm.js' /* webpackChunkName: "oidc-callback" */));
|
|
1476
1477
|
|
|
1477
1478
|
function ownKeys$4(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; }
|
|
1478
1479
|
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$4(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$4(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -1710,7 +1711,7 @@ ApplicationShell.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1710
1711
|
ApplicationShell.displayName = 'ApplicationShell';
|
|
1711
1712
|
ApplicationShell.version = applicationShellVersion;
|
|
1712
1713
|
|
|
1713
|
-
const CustomViewDevHost = /*#__PURE__*/lazy(() => import('./custom-view-dev-host-
|
|
1714
|
+
const CustomViewDevHost = /*#__PURE__*/lazy(() => import('./custom-view-dev-host-47ea9757.esm.js' /* webpackChunkName: "custom-view-dev-host" */));
|
|
1714
1715
|
|
|
1715
1716
|
function CustomViewFlopFlipProvider(props) {
|
|
1716
1717
|
var _props$user2;
|
|
@@ -116,9 +116,9 @@ var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
|
116
116
|
var _someInstanceProperty__default = /*#__PURE__*/_interopDefault(_someInstanceProperty);
|
|
117
117
|
|
|
118
118
|
// NOTE: This string will be replaced on build time with the package version.
|
|
119
|
-
var applicationShellVersion = "22.
|
|
119
|
+
var applicationShellVersion = "22.28.0";
|
|
120
120
|
|
|
121
|
-
const RequestsInFlightLoader = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./requests-in-flight-loader-
|
|
121
|
+
const RequestsInFlightLoader = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./requests-in-flight-loader-1e6e82e0.cjs.prod.js' /* webpackChunkName: "requests-in-flight-loader" */); }));
|
|
122
122
|
|
|
123
123
|
// Attempt to load the `projectKey` from localStorage
|
|
124
124
|
function selectProjectKeyFromLocalStorage() {
|
|
@@ -532,7 +532,7 @@ ConfigureIntlProvider.displayName = 'ConfigureIntlProvider';
|
|
|
532
532
|
|
|
533
533
|
const ErrorApologizer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./error-apologizer-84dc825c.cjs.prod.js' /* webpackChunkName: "error-apologizer" */); }));
|
|
534
534
|
|
|
535
|
-
var ProjectQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchProject" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "projectKey" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "project" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "key" }, value: { kind: "Variable", name: { kind: "Name", value: "projectKey" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "countries" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "currencies" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "initialized" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "expiry" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "daysLeft" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "suspension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "isProductionProject" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "allPermissionsForAllApplications" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedMenuVisibilities" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "Field", name: { kind: "Name", value: "owner" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "sampleDataImportDataset" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end:
|
|
535
|
+
var ProjectQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchProject" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "projectKey" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "project" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "key" }, value: { kind: "Variable", name: { kind: "Name", value: "projectKey" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "countries" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "currencies" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "initialized" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "expiry" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "daysLeft" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "suspension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "isProductionProject" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "allPermissionsForAllApplications" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedMenuVisibilities" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "Field", name: { kind: "Name", value: "owner" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "sampleDataImportDataset" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "isUserAdminOfCurrentProject" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 1081, source: { body: "query FetchProject($projectKey: String) {\n project(key: $projectKey) {\n key\n version\n name\n countries\n currencies\n languages\n initialized\n expiry {\n isActive\n daysLeft\n }\n suspension {\n isActive\n reason\n }\n isProductionProject\n allAppliedPermissions {\n name\n value\n }\n allAppliedActionRights {\n group\n name\n value\n }\n allAppliedDataFences {\n ... on StoreDataFence {\n type\n name\n value\n group\n __typename\n }\n }\n allPermissionsForAllApplications {\n allAppliedPermissions {\n name\n value\n }\n allAppliedActionRights {\n group\n name\n value\n }\n allAppliedMenuVisibilities {\n name\n value\n }\n allAppliedDataFences {\n ... on StoreDataFence {\n type\n name\n value\n group\n __typename\n }\n }\n }\n owner {\n id\n name\n }\n sampleDataImportDataset\n isUserAdminOfCurrentProject\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
536
536
|
const FetchProject = props => {
|
|
537
537
|
const _useMcQuery = applicationShellConnectors.useMcQuery(ProjectQuery, {
|
|
538
538
|
onError: sentry.reportErrorToSentry,
|
|
@@ -588,7 +588,7 @@ FetchUser.displayName = 'FetchUser';
|
|
|
588
588
|
|
|
589
589
|
const Navbar = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./navbar-3649f5c8.cjs.prod.js' /* webpackChunkName: "navbar" */); }));
|
|
590
590
|
|
|
591
|
-
const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-
|
|
591
|
+
const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-bda56304.cjs.prod.js' /* webpackChunkName: "project-container" */); }));
|
|
592
592
|
|
|
593
593
|
const getSelectedDataLocaleForProject = projectLocales => {
|
|
594
594
|
const cachedDataLocale = window.localStorage.getItem(constants.STORAGE_KEYS.SELECTED_DATA_LOCALE);
|
|
@@ -700,7 +700,7 @@ var pimIndexerStates = {
|
|
|
700
700
|
NOT_INDEXED: 'NOT_INDEXED'
|
|
701
701
|
};
|
|
702
702
|
|
|
703
|
-
const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-
|
|
703
|
+
const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-af32f8de.cjs.prod.js' /* webpackChunkName: "quick-access" */); }));
|
|
704
704
|
const QuickAccessTrigger = props => {
|
|
705
705
|
const _useState = react.useState(false),
|
|
706
706
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -786,7 +786,7 @@ const QuickAccessTrigger = props => {
|
|
|
786
786
|
QuickAccessTrigger.propTypes = {};
|
|
787
787
|
QuickAccessTrigger.displayName = 'QuickAccessTrigger';
|
|
788
788
|
|
|
789
|
-
const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-
|
|
789
|
+
const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-d1bf2a25.cjs.prod.js' /* webpackChunkName: "redirect-to-logout" */); }));
|
|
790
790
|
|
|
791
791
|
const RedirectToProjectCreate = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-project-create-fade33c5.cjs.prod.js' /* webpackChunkName: "redirect-to-project-create" */); }));
|
|
792
792
|
|
|
@@ -846,9 +846,10 @@ const parseFlags = fetchedFlags => {
|
|
|
846
846
|
reason: fetchedFlag.reason
|
|
847
847
|
}]));
|
|
848
848
|
};
|
|
849
|
-
const getCacheMode =
|
|
849
|
+
const getCacheMode = adapterIdentifier => {
|
|
850
|
+
if (
|
|
850
851
|
// @ts-ignore
|
|
851
|
-
|
|
852
|
+
typeof window.Cypress !== 'undefined' || adapterIdentifier === types.adapterIdentifiers.http) {
|
|
852
853
|
// Temporary workaround: when running in Cypress, do not use lazy mode
|
|
853
854
|
// as the flag is not being updated in time during the test run.
|
|
854
855
|
return types.cacheModes.eager;
|
|
@@ -876,7 +877,7 @@ const SetupFlopFlipProvider = props => {
|
|
|
876
877
|
},
|
|
877
878
|
launchdarkly: {
|
|
878
879
|
cacheIdentifier: types.cacheIdentifiers.local,
|
|
879
|
-
cacheMode: getCacheMode(),
|
|
880
|
+
cacheMode: getCacheMode(types.adapterIdentifiers.launchdarkly),
|
|
880
881
|
sdk: {
|
|
881
882
|
// Allow to overwrite the client ID, passed via the `additionalEnv` properties
|
|
882
883
|
// of the application config.
|
|
@@ -893,7 +894,7 @@ const SetupFlopFlipProvider = props => {
|
|
|
893
894
|
// polling interval set to 15 minutes
|
|
894
895
|
pollingIntervalMs: 1000 * 60 * 15,
|
|
895
896
|
cacheIdentifier: types.cacheIdentifiers.local,
|
|
896
|
-
cacheMode: getCacheMode(),
|
|
897
|
+
cacheMode: getCacheMode(types.adapterIdentifiers.http),
|
|
897
898
|
user: {
|
|
898
899
|
key: (_props$user2 = props.user) === null || _props$user2 === void 0 ? void 0 : _props$user2.id
|
|
899
900
|
},
|
|
@@ -934,7 +935,7 @@ const ThemeSwitcher = () => {
|
|
|
934
935
|
});
|
|
935
936
|
};
|
|
936
937
|
|
|
937
|
-
const VersionTracker = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./version-tracker-
|
|
938
|
+
const VersionTracker = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./version-tracker-8c0df8c7.cjs.prod.js' /* webpackChunkName: "version-tracker" */); }));
|
|
938
939
|
|
|
939
940
|
function ownKeys$6(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
940
941
|
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys$6(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys$6(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
@@ -1412,7 +1413,7 @@ const hasCachedAuthenticationState = () => {
|
|
|
1412
1413
|
return window.localStorage.getItem(constants.STORAGE_KEYS.IS_AUTHENTICATED) === 'true';
|
|
1413
1414
|
};
|
|
1414
1415
|
|
|
1415
|
-
const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-
|
|
1416
|
+
const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-7c3a539b.cjs.prod.js' /* webpackChunkName: "oidc-callback" */); }));
|
|
1416
1417
|
|
|
1417
1418
|
function ownKeys$4(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1418
1419
|
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$4(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$4(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
@@ -1628,7 +1629,7 @@ ApplicationShell.propTypes = {};
|
|
|
1628
1629
|
ApplicationShell.displayName = 'ApplicationShell';
|
|
1629
1630
|
ApplicationShell.version = applicationShellVersion;
|
|
1630
1631
|
|
|
1631
|
-
const CustomViewDevHost = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./custom-view-dev-host-
|
|
1632
|
+
const CustomViewDevHost = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./custom-view-dev-host-1e24e48d.cjs.prod.js' /* webpackChunkName: "custom-view-dev-host" */); }));
|
|
1632
1633
|
|
|
1633
1634
|
function CustomViewFlopFlipProvider(props) {
|
|
1634
1635
|
var _props$user2;
|