@commercetools-frontend/application-shell 22.27.0 → 22.29.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-fae074ef.esm.js → custom-view-dev-host-61000bf2.esm.js} +1 -1
- package/dist/{custom-view-dev-host-740ffe8f.cjs.dev.js → custom-view-dev-host-9c751d91.cjs.dev.js} +1 -1
- package/dist/{custom-view-dev-host-53b9b5a9.cjs.prod.js → custom-view-dev-host-b7de857f.cjs.prod.js} +1 -1
- package/dist/declarations/src/types/generated/ctp.d.ts +54 -4
- package/dist/declarations/src/types/generated/settings.d.ts +45 -0
- package/dist/{index-0c321c18.esm.js → index-38e0e6d5.esm.js} +14 -13
- package/dist/{index-f6d833f1.cjs.prod.js → index-66319133.cjs.prod.js} +13 -12
- package/dist/{index-4b70f04c.cjs.dev.js → index-67cb6439.cjs.dev.js} +13 -12
- package/dist/{oidc-callback-3abce368.cjs.prod.js → oidc-callback-1151ba7c.cjs.prod.js} +1 -1
- package/dist/{oidc-callback-7f2de816.cjs.dev.js → oidc-callback-7cf63c1a.cjs.dev.js} +1 -1
- package/dist/{oidc-callback-35d1c596.esm.js → oidc-callback-7ff43897.esm.js} +1 -1
- package/dist/{project-container-ea69ee50.cjs.prod.js → project-container-037fab53.cjs.prod.js} +5 -5
- package/dist/{project-container-5ec16e3d.esm.js → project-container-059dfa6d.esm.js} +5 -5
- package/dist/{project-container-b95e46a6.cjs.dev.js → project-container-577daca6.cjs.dev.js} +5 -5
- package/dist/{project-expired-dde9e78d.cjs.dev.js → project-expired-047e4478.cjs.dev.js} +2 -2
- package/dist/{project-expired-64c23c2c.cjs.prod.js → project-expired-140210d0.cjs.prod.js} +2 -2
- package/dist/{project-expired-5729f8ae.esm.js → project-expired-b5629301.esm.js} +2 -2
- package/dist/{project-not-found-0fe560d3.esm.js → project-not-found-3e1ddada.esm.js} +2 -2
- package/dist/{project-not-found-0f55a615.cjs.dev.js → project-not-found-889c6803.cjs.dev.js} +2 -2
- package/dist/{project-not-found-cc6cecdb.cjs.prod.js → project-not-found-98e29e9d.cjs.prod.js} +2 -2
- package/dist/{project-not-initialized-f691e8d8.esm.js → project-not-initialized-28d298bd.esm.js} +2 -2
- package/dist/{project-not-initialized-66442e62.cjs.prod.js → project-not-initialized-377ffd1d.cjs.prod.js} +2 -2
- package/dist/{project-not-initialized-ae070b3f.cjs.dev.js → project-not-initialized-4af97cc2.cjs.dev.js} +2 -2
- package/dist/{project-suspended-b34875fc.esm.js → project-suspended-4d2f2c86.esm.js} +2 -2
- package/dist/{project-suspended-13bee47c.cjs.dev.js → project-suspended-6189fc41.cjs.dev.js} +2 -2
- package/dist/{project-suspended-a2ef69de.cjs.prod.js → project-suspended-f8b870af.cjs.prod.js} +2 -2
- package/dist/{quick-access-37ed0019.cjs.dev.js → quick-access-05eed162.cjs.dev.js} +1 -1
- package/dist/{quick-access-225a3670.esm.js → quick-access-0f12518e.esm.js} +1 -1
- package/dist/{quick-access-056b3679.cjs.prod.js → quick-access-2444533f.cjs.prod.js} +1 -1
- package/dist/{redirect-to-logout-880d9cf2.esm.js → redirect-to-logout-0acfa006.esm.js} +1 -1
- package/dist/{redirect-to-logout-e2911a3e.cjs.dev.js → redirect-to-logout-c4292d9d.cjs.dev.js} +1 -1
- package/dist/{redirect-to-logout-8e578d56.cjs.prod.js → redirect-to-logout-c60dbf96.cjs.prod.js} +1 -1
- package/dist/{requests-in-flight-loader-ad161876.esm.js → requests-in-flight-loader-8b93d6a3.esm.js} +1 -1
- package/dist/{requests-in-flight-loader-77ec4325.cjs.dev.js → requests-in-flight-loader-937a45e1.cjs.dev.js} +1 -1
- package/dist/{requests-in-flight-loader-3de29cf8.cjs.prod.js → requests-in-flight-loader-b9c212e2.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-059aee39.cjs.prod.js → service-page-project-switcher-367b883c.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-7161c41e.esm.js → service-page-project-switcher-b7b03aad.esm.js} +1 -1
- package/dist/{service-page-project-switcher-ce0675b5.cjs.dev.js → service-page-project-switcher-f946a702.cjs.dev.js} +1 -1
- package/dist/{version-tracker-6a17d4da.esm.js → version-tracker-299602c7.esm.js} +1 -1
- package/dist/{version-tracker-69701fbd.cjs.prod.js → version-tracker-4e3db196.cjs.prod.js} +1 -1
- package/dist/{version-tracker-63b443e8.cjs.dev.js → version-tracker-d6f47fde.cjs.dev.js} +1 -1
- package/package.json +23 -23
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
5
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-67cb6439.cjs.dev.js');
|
|
6
6
|
var index = require('./index-37a25e51.cjs.dev.js');
|
|
7
7
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
8
8
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
5
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-66319133.cjs.prod.js');
|
|
6
6
|
var index = require('./index-6cd618cc.cjs.prod.js');
|
|
7
7
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
8
8
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { g as ApplicationPageTitle, A as ApplicationShell, f as ApplicationShellProvider, C as ConfigureIntlProvider, h as CustomViewShell, I as InjectReducers, S as SetupFlopFlipProvider, i as SuspendedRoute, s as setupGlobalErrorListener, u as useRoutesCreator, d as version } from './index-
|
|
1
|
+
export { g as ApplicationPageTitle, A as ApplicationShell, f as ApplicationShellProvider, C as ConfigureIntlProvider, h as CustomViewShell, I as InjectReducers, S as SetupFlopFlipProvider, i as SuspendedRoute, s as setupGlobalErrorListener, u as useRoutesCreator, d as version } from './index-38e0e6d5.esm.js';
|
|
2
2
|
export { R as RouteCatchAll, a as applyDefaultMiddlewares } from './index-89e5711a.esm.js';
|
|
3
3
|
export { buildApiUrl, createApolloClient, createApolloContextForProxyForwardTo, createHttpClientOptions, executeHttpClientRequest, getMcApiUrl, selectProjectKeyFromUrl, selectUserId, useMcLazyQuery, useMcMutation, useMcQuery } from '@commercetools-frontend/application-shell-connectors';
|
|
4
4
|
export { entryPointUriPathToPermissionKeys, entryPointUriPathToResourceAccesses } from '@commercetools-frontend/application-config/ssr';
|
|
@@ -10,7 +10,7 @@ import Constraints from '@commercetools-uikit/constraints';
|
|
|
10
10
|
import PrimaryButton from '@commercetools-uikit/primary-button';
|
|
11
11
|
import Spacings from '@commercetools-uikit/spacings';
|
|
12
12
|
import Text from '@commercetools-uikit/text';
|
|
13
|
-
import { A as ApplicationShell } from './index-
|
|
13
|
+
import { A as ApplicationShell } from './index-38e0e6d5.esm.js';
|
|
14
14
|
import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
|
|
15
15
|
import './index-89e5711a.esm.js';
|
|
16
16
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
package/dist/{custom-view-dev-host-740ffe8f.cjs.dev.js → custom-view-dev-host-9c751d91.cjs.dev.js}
RENAMED
|
@@ -12,7 +12,7 @@ var Constraints = require('@commercetools-uikit/constraints');
|
|
|
12
12
|
var PrimaryButton = require('@commercetools-uikit/primary-button');
|
|
13
13
|
var Spacings = require('@commercetools-uikit/spacings');
|
|
14
14
|
var Text = require('@commercetools-uikit/text');
|
|
15
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
15
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-67cb6439.cjs.dev.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('./index-37a25e51.cjs.dev.js');
|
|
18
18
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
package/dist/{custom-view-dev-host-53b9b5a9.cjs.prod.js → custom-view-dev-host-b7de857f.cjs.prod.js}
RENAMED
|
@@ -12,7 +12,7 @@ var Constraints = require('@commercetools-uikit/constraints');
|
|
|
12
12
|
var PrimaryButton = require('@commercetools-uikit/primary-button');
|
|
13
13
|
var Spacings = require('@commercetools-uikit/spacings');
|
|
14
14
|
var Text = require('@commercetools-uikit/text');
|
|
15
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
15
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-66319133.cjs.prod.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('./index-6cd618cc.cjs.prod.js');
|
|
18
18
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
@@ -1257,6 +1257,7 @@ export type TBusinessUnit = TReferenceExpandable & TVersioned & {
|
|
|
1257
1257
|
__typename?: 'BusinessUnit';
|
|
1258
1258
|
addresses: Array<TAddress>;
|
|
1259
1259
|
ancestors: Array<TBusinessUnit>;
|
|
1260
|
+
approvalRuleMode?: Maybe<TBusinessUnitApprovalRuleMode>;
|
|
1260
1261
|
associateMode: TBusinessUnitAssociateMode;
|
|
1261
1262
|
associates: Array<TAssociate>;
|
|
1262
1263
|
billingAddressIds: Array<Scalars['String']>;
|
|
@@ -1333,6 +1334,16 @@ export type TBusinessUnitAddressRemoved = TMessagePayload & {
|
|
|
1333
1334
|
address: TAddress;
|
|
1334
1335
|
type: Scalars['String'];
|
|
1335
1336
|
};
|
|
1337
|
+
export declare enum TBusinessUnitApprovalRuleMode {
|
|
1338
|
+
Explicit = "Explicit",
|
|
1339
|
+
ExplicitAndFromParent = "ExplicitAndFromParent"
|
|
1340
|
+
}
|
|
1341
|
+
export type TBusinessUnitApprovalRuleModeChanged = TMessagePayload & {
|
|
1342
|
+
__typename?: 'BusinessUnitApprovalRuleModeChanged';
|
|
1343
|
+
approvalRuleMode: TBusinessUnitApprovalRuleMode;
|
|
1344
|
+
oldApprovalRuleMode?: Maybe<TBusinessUnitApprovalRuleMode>;
|
|
1345
|
+
type: Scalars['String'];
|
|
1346
|
+
};
|
|
1336
1347
|
export type TBusinessUnitAssociateAdded = TMessagePayload & {
|
|
1337
1348
|
__typename?: 'BusinessUnitAssociateAdded';
|
|
1338
1349
|
associate: TAssociate;
|
|
@@ -1438,6 +1449,7 @@ export type TBusinessUnitDeleted = TMessagePayload & {
|
|
|
1438
1449
|
};
|
|
1439
1450
|
export type TBusinessUnitDraft = {
|
|
1440
1451
|
addresses?: InputMaybe<Array<TAddressInput>>;
|
|
1452
|
+
approvalRuleMode?: InputMaybe<TBusinessUnitApprovalRuleMode>;
|
|
1441
1453
|
associateMode?: InputMaybe<TBusinessUnitAssociateMode>;
|
|
1442
1454
|
associates?: InputMaybe<Array<TAssociateDraft>>;
|
|
1443
1455
|
billingAddresses?: InputMaybe<Array<Scalars['Int']>>;
|
|
@@ -1542,6 +1554,7 @@ export type TBusinessUnitUpdateAction = {
|
|
|
1542
1554
|
addShippingAddressId?: InputMaybe<TAddBusinessUnitShippingAddressId>;
|
|
1543
1555
|
addStore?: InputMaybe<TAddBusinessUnitStore>;
|
|
1544
1556
|
changeAddress?: InputMaybe<TChangeBusinessUnitAddress>;
|
|
1557
|
+
changeApprovalRuleMode?: InputMaybe<TChangeBusinessUnitApprovalRuleMode>;
|
|
1545
1558
|
changeAssociate?: InputMaybe<TChangeBusinessUnitAssociate>;
|
|
1546
1559
|
changeAssociateMode?: InputMaybe<TChangeBusinessUnitAssociateMode>;
|
|
1547
1560
|
changeName?: InputMaybe<TChangeBusinessUnitName>;
|
|
@@ -2162,6 +2175,9 @@ export type TChangeBusinessUnitAddress = {
|
|
|
2162
2175
|
addressId?: InputMaybe<Scalars['String']>;
|
|
2163
2176
|
addressKey?: InputMaybe<Scalars['String']>;
|
|
2164
2177
|
};
|
|
2178
|
+
export type TChangeBusinessUnitApprovalRuleMode = {
|
|
2179
|
+
approvalRuleMode: TBusinessUnitApprovalRuleMode;
|
|
2180
|
+
};
|
|
2165
2181
|
export type TChangeBusinessUnitAssociate = {
|
|
2166
2182
|
associate: TAssociateDraft;
|
|
2167
2183
|
};
|
|
@@ -2448,8 +2464,8 @@ export type TChangeQuoteRequestState = {
|
|
|
2448
2464
|
export type TChangeQuoteState = {
|
|
2449
2465
|
quoteState: TQuoteState;
|
|
2450
2466
|
};
|
|
2451
|
-
export type
|
|
2452
|
-
|
|
2467
|
+
export type TChangeShippingMethodActive = {
|
|
2468
|
+
active: Scalars['Boolean'];
|
|
2453
2469
|
};
|
|
2454
2470
|
export type TChangeShippingMethodIsDefault = {
|
|
2455
2471
|
isDefault: Scalars['Boolean'];
|
|
@@ -4213,11 +4229,15 @@ export type TInStore = TCartDiscountQueryInterface & TCartQueryInterface & TCust
|
|
|
4213
4229
|
productSelectionAssignments: TProductAssignmentQueryResult;
|
|
4214
4230
|
productTailoring?: Maybe<TProductTailoring>;
|
|
4215
4231
|
productTailoringList: TProductTailoringQueryResult;
|
|
4232
|
+
quote?: Maybe<TQuote>;
|
|
4216
4233
|
quoteRequest?: Maybe<TQuoteRequest>;
|
|
4217
4234
|
quoteRequests: TQuoteRequestQueryResult;
|
|
4235
|
+
quotes: TQuoteQueryResult;
|
|
4218
4236
|
shippingMethodsByCart: Array<TShippingMethod>;
|
|
4219
4237
|
shoppingList?: Maybe<TShoppingList>;
|
|
4220
4238
|
shoppingLists: TShoppingListQueryResult;
|
|
4239
|
+
stagedQuote?: Maybe<TStagedQuote>;
|
|
4240
|
+
stagedQuotes: TStagedQuoteQueryResult;
|
|
4221
4241
|
};
|
|
4222
4242
|
export type TInStore_CartArgs = {
|
|
4223
4243
|
id: Scalars['String'];
|
|
@@ -4289,6 +4309,10 @@ export type TInStore_ProductTailoringListArgs = {
|
|
|
4289
4309
|
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
4290
4310
|
where?: InputMaybe<Scalars['String']>;
|
|
4291
4311
|
};
|
|
4312
|
+
export type TInStore_QuoteArgs = {
|
|
4313
|
+
id?: InputMaybe<Scalars['String']>;
|
|
4314
|
+
key?: InputMaybe<Scalars['String']>;
|
|
4315
|
+
};
|
|
4292
4316
|
export type TInStore_QuoteRequestArgs = {
|
|
4293
4317
|
id?: InputMaybe<Scalars['String']>;
|
|
4294
4318
|
key?: InputMaybe<Scalars['String']>;
|
|
@@ -4299,6 +4323,12 @@ export type TInStore_QuoteRequestsArgs = {
|
|
|
4299
4323
|
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
4300
4324
|
where?: InputMaybe<Scalars['String']>;
|
|
4301
4325
|
};
|
|
4326
|
+
export type TInStore_QuotesArgs = {
|
|
4327
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
4328
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
4329
|
+
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
4330
|
+
where?: InputMaybe<Scalars['String']>;
|
|
4331
|
+
};
|
|
4302
4332
|
export type TInStore_ShippingMethodsByCartArgs = {
|
|
4303
4333
|
id: Scalars['String'];
|
|
4304
4334
|
};
|
|
@@ -4312,6 +4342,16 @@ export type TInStore_ShoppingListsArgs = {
|
|
|
4312
4342
|
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
4313
4343
|
where?: InputMaybe<Scalars['String']>;
|
|
4314
4344
|
};
|
|
4345
|
+
export type TInStore_StagedQuoteArgs = {
|
|
4346
|
+
id?: InputMaybe<Scalars['String']>;
|
|
4347
|
+
key?: InputMaybe<Scalars['String']>;
|
|
4348
|
+
};
|
|
4349
|
+
export type TInStore_StagedQuotesArgs = {
|
|
4350
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
4351
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
4352
|
+
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
4353
|
+
where?: InputMaybe<Scalars['String']>;
|
|
4354
|
+
};
|
|
4315
4355
|
export type TInStoreMe = TActiveCartInterface & TCartQueryInterface & TMeQueryInterface & TOrderQueryInterface & TShoppingListQueryInterface & {
|
|
4316
4356
|
__typename?: 'InStoreMe';
|
|
4317
4357
|
activeCart?: Maybe<TCart>;
|
|
@@ -5275,6 +5315,7 @@ export type TMutation_CreateOrderFromCartArgs = {
|
|
|
5275
5315
|
export type TMutation_CreateOrderFromQuoteArgs = {
|
|
5276
5316
|
asAssociate?: InputMaybe<TAsAssociateArgument>;
|
|
5277
5317
|
draft: TOrderQuoteCommand;
|
|
5318
|
+
storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
|
|
5278
5319
|
};
|
|
5279
5320
|
export type TMutation_CreatePaymentArgs = {
|
|
5280
5321
|
draft: TPaymentDraft;
|
|
@@ -5297,6 +5338,7 @@ export type TMutation_CreateProductTypeArgs = {
|
|
|
5297
5338
|
};
|
|
5298
5339
|
export type TMutation_CreateQuoteArgs = {
|
|
5299
5340
|
draft: TQuoteDraft;
|
|
5341
|
+
storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
|
|
5300
5342
|
};
|
|
5301
5343
|
export type TMutation_CreateQuoteRequestArgs = {
|
|
5302
5344
|
asAssociate?: InputMaybe<TAsAssociateArgument>;
|
|
@@ -5315,6 +5357,7 @@ export type TMutation_CreateShoppingListArgs = {
|
|
|
5315
5357
|
};
|
|
5316
5358
|
export type TMutation_CreateStagedQuoteArgs = {
|
|
5317
5359
|
draft: TStagedQuoteDraft;
|
|
5360
|
+
storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
|
|
5318
5361
|
};
|
|
5319
5362
|
export type TMutation_CreateStandalonePriceArgs = {
|
|
5320
5363
|
draft: TCreateStandalonePrice;
|
|
@@ -5544,6 +5587,7 @@ export type TMutation_DeleteQuoteArgs = {
|
|
|
5544
5587
|
id?: InputMaybe<Scalars['String']>;
|
|
5545
5588
|
key?: InputMaybe<Scalars['String']>;
|
|
5546
5589
|
personalDataErasure?: InputMaybe<Scalars['Boolean']>;
|
|
5590
|
+
storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
|
|
5547
5591
|
version: Scalars['Long'];
|
|
5548
5592
|
};
|
|
5549
5593
|
export type TMutation_DeleteQuoteRequestArgs = {
|
|
@@ -5575,6 +5619,7 @@ export type TMutation_DeleteStagedQuoteArgs = {
|
|
|
5575
5619
|
id?: InputMaybe<Scalars['String']>;
|
|
5576
5620
|
key?: InputMaybe<Scalars['String']>;
|
|
5577
5621
|
personalDataErasure?: InputMaybe<Scalars['Boolean']>;
|
|
5622
|
+
storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
|
|
5578
5623
|
version: Scalars['Long'];
|
|
5579
5624
|
};
|
|
5580
5625
|
export type TMutation_DeleteStandalonePriceArgs = {
|
|
@@ -5820,6 +5865,7 @@ export type TMutation_UpdateQuoteArgs = {
|
|
|
5820
5865
|
asAssociate?: InputMaybe<TAsAssociateArgument>;
|
|
5821
5866
|
id?: InputMaybe<Scalars['String']>;
|
|
5822
5867
|
key?: InputMaybe<Scalars['String']>;
|
|
5868
|
+
storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
|
|
5823
5869
|
version: Scalars['Long'];
|
|
5824
5870
|
};
|
|
5825
5871
|
export type TMutation_UpdateQuoteRequestArgs = {
|
|
@@ -5853,6 +5899,7 @@ export type TMutation_UpdateStagedQuoteArgs = {
|
|
|
5853
5899
|
actions: Array<TStagedQuoteUpdateAction>;
|
|
5854
5900
|
id?: InputMaybe<Scalars['String']>;
|
|
5855
5901
|
key?: InputMaybe<Scalars['String']>;
|
|
5902
|
+
storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
|
|
5856
5903
|
version: Scalars['Long'];
|
|
5857
5904
|
};
|
|
5858
5905
|
export type TMutation_UpdateStandalonePriceArgs = {
|
|
@@ -11930,11 +11977,11 @@ export type TShippingInfoImportDraft = {
|
|
|
11930
11977
|
};
|
|
11931
11978
|
export type TShippingMethod = TReferenceExpandable & TVersioned & {
|
|
11932
11979
|
__typename?: 'ShippingMethod';
|
|
11980
|
+
active: Scalars['Boolean'];
|
|
11933
11981
|
createdAt: Scalars['DateTime'];
|
|
11934
11982
|
createdBy?: Maybe<TInitiator>;
|
|
11935
11983
|
custom?: Maybe<TCustomFieldsType>;
|
|
11936
11984
|
id: Scalars['String'];
|
|
11937
|
-
isActive: Scalars['Boolean'];
|
|
11938
11985
|
isDefault: Scalars['Boolean'];
|
|
11939
11986
|
key?: Maybe<Scalars['String']>;
|
|
11940
11987
|
lastModifiedAt: Scalars['DateTime'];
|
|
@@ -11959,6 +12006,7 @@ export type TShippingMethod_LocalizedNameArgs = {
|
|
|
11959
12006
|
locale?: InputMaybe<Scalars['Locale']>;
|
|
11960
12007
|
};
|
|
11961
12008
|
export type TShippingMethodDraft = {
|
|
12009
|
+
active?: InputMaybe<Scalars['Boolean']>;
|
|
11962
12010
|
custom?: InputMaybe<TCustomFieldsDraft>;
|
|
11963
12011
|
description?: InputMaybe<Scalars['String']>;
|
|
11964
12012
|
isDefault: Scalars['Boolean'];
|
|
@@ -12007,7 +12055,7 @@ export type TShippingMethodTargetDraftType = {
|
|
|
12007
12055
|
export type TShippingMethodUpdateAction = {
|
|
12008
12056
|
addShippingRate?: InputMaybe<TAddShippingMethodShippingRate>;
|
|
12009
12057
|
addZone?: InputMaybe<TAddShippingMethodZone>;
|
|
12010
|
-
|
|
12058
|
+
changeActive?: InputMaybe<TChangeShippingMethodActive>;
|
|
12011
12059
|
changeIsDefault?: InputMaybe<TChangeShippingMethodIsDefault>;
|
|
12012
12060
|
changeName?: InputMaybe<TChangeShippingMethodName>;
|
|
12013
12061
|
changeTaxCategory?: InputMaybe<TChangeShippingMethodTaxCategory>;
|
|
@@ -12418,6 +12466,8 @@ export type TStagedQuote = TVersioned & {
|
|
|
12418
12466
|
stagedQuoteState: TStagedQuoteState;
|
|
12419
12467
|
state?: Maybe<TState>;
|
|
12420
12468
|
stateRef?: Maybe<TReference>;
|
|
12469
|
+
store?: Maybe<TStore>;
|
|
12470
|
+
storeRef?: Maybe<TKeyReference>;
|
|
12421
12471
|
validTo?: Maybe<Scalars['DateTime']>;
|
|
12422
12472
|
version: Scalars['Long'];
|
|
12423
12473
|
};
|
|
@@ -1924,6 +1924,20 @@ export type TFetchProjectExtensionsNavbarQuery = {
|
|
|
1924
1924
|
}>;
|
|
1925
1925
|
} | null;
|
|
1926
1926
|
};
|
|
1927
|
+
export type TCreateCustomApplicationDeploymentPreviewMutationVariables = Exact<{
|
|
1928
|
+
organizationId: Scalars['String'];
|
|
1929
|
+
applicationId: Scalars['ID'];
|
|
1930
|
+
data: TCustomApplicationDeploymentPreviewCreateInput;
|
|
1931
|
+
}>;
|
|
1932
|
+
export type TCreateCustomApplicationDeploymentPreviewMutation = {
|
|
1933
|
+
__typename?: 'Mutation';
|
|
1934
|
+
createCustomApplicationDeploymentPreview: {
|
|
1935
|
+
__typename?: 'CustomApplicationDeploymentPreview';
|
|
1936
|
+
id: string;
|
|
1937
|
+
alias?: string | null;
|
|
1938
|
+
url: string;
|
|
1939
|
+
};
|
|
1940
|
+
};
|
|
1927
1941
|
export type TCreateCustomApplicationFromCliMutationVariables = Exact<{
|
|
1928
1942
|
organizationId: Scalars['String'];
|
|
1929
1943
|
data: TCustomApplicationDraftDataInput;
|
|
@@ -1946,6 +1960,17 @@ export type TCreateCustomViewFromCliMutation = {
|
|
|
1946
1960
|
id: string;
|
|
1947
1961
|
} | null;
|
|
1948
1962
|
};
|
|
1963
|
+
export type TDeleteCustomApplicationDeploymentPreviewMutationVariables = Exact<{
|
|
1964
|
+
organizationId: Scalars['String'];
|
|
1965
|
+
deploymentId: Scalars['ID'];
|
|
1966
|
+
}>;
|
|
1967
|
+
export type TDeleteCustomApplicationDeploymentPreviewMutation = {
|
|
1968
|
+
__typename?: 'Mutation';
|
|
1969
|
+
deleteCustomApplicationDeploymentPreview: {
|
|
1970
|
+
__typename?: 'CustomApplicationDeploymentPreview';
|
|
1971
|
+
id: string;
|
|
1972
|
+
};
|
|
1973
|
+
};
|
|
1949
1974
|
export type TFetchCustomApplicationFromCliQueryVariables = Exact<{
|
|
1950
1975
|
entryPointUriPath: Scalars['String'];
|
|
1951
1976
|
}>;
|
|
@@ -1988,6 +2013,12 @@ export type TFetchCustomApplicationFromCliQuery = {
|
|
|
1988
2013
|
value: string;
|
|
1989
2014
|
}>;
|
|
1990
2015
|
}>;
|
|
2016
|
+
deployments: Array<{
|
|
2017
|
+
__typename?: 'CustomApplicationDeploymentPreview';
|
|
2018
|
+
id: string;
|
|
2019
|
+
url: string;
|
|
2020
|
+
alias?: string | null;
|
|
2021
|
+
}>;
|
|
1991
2022
|
};
|
|
1992
2023
|
} | null;
|
|
1993
2024
|
};
|
|
@@ -2023,6 +2054,20 @@ export type TFetchCustomViewFromCliQuery = {
|
|
|
2023
2054
|
} | null;
|
|
2024
2055
|
} | null;
|
|
2025
2056
|
};
|
|
2057
|
+
export type TUpdateCustomApplicationDeploymentPreviewMutationVariables = Exact<{
|
|
2058
|
+
organizationId: Scalars['String'];
|
|
2059
|
+
deploymentId: Scalars['ID'];
|
|
2060
|
+
data: TCustomApplicationDeploymentPreviewUpdateInput;
|
|
2061
|
+
}>;
|
|
2062
|
+
export type TUpdateCustomApplicationDeploymentPreviewMutation = {
|
|
2063
|
+
__typename?: 'Mutation';
|
|
2064
|
+
updateCustomApplicationDeploymentPreview: {
|
|
2065
|
+
__typename?: 'CustomApplicationDeploymentPreview';
|
|
2066
|
+
id: string;
|
|
2067
|
+
alias?: string | null;
|
|
2068
|
+
url: string;
|
|
2069
|
+
};
|
|
2070
|
+
};
|
|
2026
2071
|
export type TUpdateCustomApplicationFromCliMutationVariables = Exact<{
|
|
2027
2072
|
organizationId: Scalars['String'];
|
|
2028
2073
|
data: TCustomApplicationDraftDataInput;
|
|
@@ -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.29.0";
|
|
78
78
|
|
|
79
|
-
const RequestsInFlightLoader = /*#__PURE__*/lazy(() => import('./requests-in-flight-loader-
|
|
79
|
+
const RequestsInFlightLoader = /*#__PURE__*/lazy(() => import('./requests-in-flight-loader-8b93d6a3.esm.js' /* webpackChunkName: "requests-in-flight-loader" */));
|
|
80
80
|
|
|
81
81
|
// Attempt to load the `projectKey` from localStorage
|
|
82
82
|
function selectProjectKeyFromLocalStorage() {
|
|
@@ -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-059dfa6d.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-0f12518e.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-0acfa006.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-299602c7.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-7ff43897.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-61000bf2.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.29.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-b9c212e2.cjs.prod.js' /* webpackChunkName: "requests-in-flight-loader" */); }));
|
|
122
122
|
|
|
123
123
|
// Attempt to load the `projectKey` from localStorage
|
|
124
124
|
function selectProjectKeyFromLocalStorage() {
|
|
@@ -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-037fab53.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-2444533f.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-c60dbf96.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-4e3db196.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-1151ba7c.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-b7de857f.cjs.prod.js' /* webpackChunkName: "custom-view-dev-host" */); }));
|
|
1632
1633
|
|
|
1633
1634
|
function CustomViewFlopFlipProvider(props) {
|
|
1634
1635
|
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.29.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-937a45e1.cjs.dev.js' /* webpackChunkName: "requests-in-flight-loader" */); }));
|
|
122
122
|
|
|
123
123
|
// Attempt to load the `projectKey` from localStorage
|
|
124
124
|
function selectProjectKeyFromLocalStorage() {
|
|
@@ -616,7 +616,7 @@ FetchUser.displayName = 'FetchUser';
|
|
|
616
616
|
|
|
617
617
|
const Navbar = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./navbar-db5e99fc.cjs.dev.js' /* webpackChunkName: "navbar" */); }));
|
|
618
618
|
|
|
619
|
-
const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-
|
|
619
|
+
const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-577daca6.cjs.dev.js' /* webpackChunkName: "project-container" */); }));
|
|
620
620
|
|
|
621
621
|
const getSelectedDataLocaleForProject = projectLocales => {
|
|
622
622
|
const cachedDataLocale = window.localStorage.getItem(constants.STORAGE_KEYS.SELECTED_DATA_LOCALE);
|
|
@@ -740,7 +740,7 @@ var pimIndexerStates = {
|
|
|
740
740
|
NOT_INDEXED: 'NOT_INDEXED'
|
|
741
741
|
};
|
|
742
742
|
|
|
743
|
-
const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-
|
|
743
|
+
const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-05eed162.cjs.dev.js' /* webpackChunkName: "quick-access" */); }));
|
|
744
744
|
const QuickAccessTrigger = props => {
|
|
745
745
|
const _useState = react.useState(false),
|
|
746
746
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -828,7 +828,7 @@ QuickAccessTrigger.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
828
828
|
} : {};
|
|
829
829
|
QuickAccessTrigger.displayName = 'QuickAccessTrigger';
|
|
830
830
|
|
|
831
|
-
const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-
|
|
831
|
+
const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-c4292d9d.cjs.dev.js' /* webpackChunkName: "redirect-to-logout" */); }));
|
|
832
832
|
|
|
833
833
|
const RedirectToProjectCreate = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-project-create-426cbb52.cjs.dev.js' /* webpackChunkName: "redirect-to-project-create" */); }));
|
|
834
834
|
|
|
@@ -888,9 +888,10 @@ const parseFlags = fetchedFlags => {
|
|
|
888
888
|
reason: fetchedFlag.reason
|
|
889
889
|
}]));
|
|
890
890
|
};
|
|
891
|
-
const getCacheMode =
|
|
891
|
+
const getCacheMode = adapterIdentifier => {
|
|
892
|
+
if (
|
|
892
893
|
// @ts-ignore
|
|
893
|
-
|
|
894
|
+
typeof window.Cypress !== 'undefined' || adapterIdentifier === types.adapterIdentifiers.http) {
|
|
894
895
|
// Temporary workaround: when running in Cypress, do not use lazy mode
|
|
895
896
|
// as the flag is not being updated in time during the test run.
|
|
896
897
|
return types.cacheModes.eager;
|
|
@@ -918,7 +919,7 @@ const SetupFlopFlipProvider = props => {
|
|
|
918
919
|
},
|
|
919
920
|
launchdarkly: {
|
|
920
921
|
cacheIdentifier: types.cacheIdentifiers.local,
|
|
921
|
-
cacheMode: getCacheMode(),
|
|
922
|
+
cacheMode: getCacheMode(types.adapterIdentifiers.launchdarkly),
|
|
922
923
|
sdk: {
|
|
923
924
|
// Allow to overwrite the client ID, passed via the `additionalEnv` properties
|
|
924
925
|
// of the application config.
|
|
@@ -935,7 +936,7 @@ const SetupFlopFlipProvider = props => {
|
|
|
935
936
|
// polling interval set to 15 minutes
|
|
936
937
|
pollingIntervalMs: 1000 * 60 * 15,
|
|
937
938
|
cacheIdentifier: types.cacheIdentifiers.local,
|
|
938
|
-
cacheMode: getCacheMode(),
|
|
939
|
+
cacheMode: getCacheMode(types.adapterIdentifiers.http),
|
|
939
940
|
user: {
|
|
940
941
|
key: (_props$user2 = props.user) === null || _props$user2 === void 0 ? void 0 : _props$user2.id
|
|
941
942
|
},
|
|
@@ -1000,7 +1001,7 @@ const ThemeSwitcher = () => {
|
|
|
1000
1001
|
});
|
|
1001
1002
|
};
|
|
1002
1003
|
|
|
1003
|
-
const VersionTracker = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./version-tracker-
|
|
1004
|
+
const VersionTracker = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./version-tracker-d6f47fde.cjs.dev.js' /* webpackChunkName: "version-tracker" */); }));
|
|
1004
1005
|
|
|
1005
1006
|
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; }
|
|
1006
1007
|
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; }
|
|
@@ -1514,7 +1515,7 @@ const hasCachedAuthenticationState = () => {
|
|
|
1514
1515
|
return window.localStorage.getItem(constants.STORAGE_KEYS.IS_AUTHENTICATED) === 'true';
|
|
1515
1516
|
};
|
|
1516
1517
|
|
|
1517
|
-
const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-
|
|
1518
|
+
const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-7cf63c1a.cjs.dev.js' /* webpackChunkName: "oidc-callback" */); }));
|
|
1518
1519
|
|
|
1519
1520
|
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; }
|
|
1520
1521
|
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; }
|
|
@@ -1752,7 +1753,7 @@ ApplicationShell.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1752
1753
|
ApplicationShell.displayName = 'ApplicationShell';
|
|
1753
1754
|
ApplicationShell.version = applicationShellVersion;
|
|
1754
1755
|
|
|
1755
|
-
const CustomViewDevHost = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./custom-view-dev-host-
|
|
1756
|
+
const CustomViewDevHost = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./custom-view-dev-host-9c751d91.cjs.dev.js' /* webpackChunkName: "custom-view-dev-host" */); }));
|
|
1756
1757
|
|
|
1757
1758
|
function CustomViewFlopFlipProvider(props) {
|
|
1758
1759
|
var _props$user2;
|