@commercetools-frontend/application-shell 21.12.0 → 21.14.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/{application-entry-point-01424eb5.esm.js → application-entry-point-0de0fed2.esm.js} +13 -3
- package/dist/{application-entry-point-a9aa0d45.cjs.dev.js → application-entry-point-379ddfbf.cjs.dev.js} +13 -3
- package/dist/{application-entry-point-93ad5f12.cjs.prod.js → application-entry-point-d7ed60b0.cjs.prod.js} +13 -3
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +5 -4
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +5 -4
- package/dist/commercetools-frontend-application-shell.esm.js +5 -4
- package/dist/{constants-a3c850be.esm.js → constants-0d48a7ae.esm.js} +1 -0
- package/dist/{constants-c2c238ff.cjs.prod.js → constants-41338dec.cjs.dev.js} +1 -0
- package/dist/{constants-d9a5241e.cjs.dev.js → constants-9ffc458b.cjs.prod.js} +1 -0
- package/dist/declarations/src/components/application-page-title/application-page-title.d.ts +9 -0
- package/dist/declarations/src/components/application-page-title/index.d.ts +1 -0
- package/dist/declarations/src/components/navbar/navbar.d.ts +1 -1
- package/dist/declarations/src/constants.d.ts +1 -0
- package/dist/declarations/src/types/generated/settings.d.ts +108 -84
- package/dist/declarations/src/utils/http-client.d.ts +2 -0
- package/dist/{index-f0bd3232.cjs.prod.js → index-23885269.cjs.prod.js} +74 -25
- package/dist/{index-424de814.esm.js → index-aee304c6.esm.js} +73 -26
- package/dist/{index-149f53ec.cjs.dev.js → index-bf785dc5.cjs.dev.js} +75 -26
- package/dist/{oidc-5cae2dba.esm.js → oidc-4c509f49.esm.js} +1 -1
- package/dist/{oidc-9134face.cjs.dev.js → oidc-a2126dac.cjs.dev.js} +1 -1
- package/dist/{oidc-5b507512.cjs.prod.js → oidc-d13fc045.cjs.prod.js} +1 -1
- package/dist/{project-expired-457db600.esm.js → project-expired-6dd19ac5.esm.js} +6 -5
- package/dist/{project-expired-18373b37.cjs.dev.js → project-expired-884349ac.cjs.dev.js} +6 -5
- package/dist/{project-expired-de826ba3.cjs.prod.js → project-expired-b70d0be4.cjs.prod.js} +6 -5
- package/dist/{project-not-found-fa0e524c.cjs.prod.js → project-not-found-1bb414bd.cjs.prod.js} +6 -5
- package/dist/{project-not-found-0c6fe7f5.esm.js → project-not-found-5c5d8978.esm.js} +6 -5
- package/dist/{project-not-found-5c0fe8a1.cjs.dev.js → project-not-found-f4588a92.cjs.dev.js} +6 -5
- package/dist/{project-not-initialized-dc38f9f9.esm.js → project-not-initialized-4ffa6dfd.esm.js} +6 -5
- package/dist/{project-not-initialized-da0fad06.cjs.prod.js → project-not-initialized-730e8f66.cjs.prod.js} +6 -5
- package/dist/{project-not-initialized-a1bf95fd.cjs.dev.js → project-not-initialized-e14aec3c.cjs.dev.js} +6 -5
- package/dist/{project-suspended-cbad48d9.cjs.prod.js → project-suspended-021b826a.cjs.prod.js} +6 -5
- package/dist/{project-suspended-32b5b5b2.esm.js → project-suspended-4586252a.esm.js} +6 -5
- package/dist/{project-suspended-92518e78.cjs.dev.js → project-suspended-9dc74eb9.cjs.dev.js} +6 -5
- package/dist/{quick-access-feca5530.cjs.prod.js → quick-access-06faafe4.cjs.prod.js} +5 -4
- package/dist/{quick-access-9dc493d3.cjs.dev.js → quick-access-529bfe5e.cjs.dev.js} +5 -4
- package/dist/{quick-access-793ccbe9.esm.js → quick-access-7e849881.esm.js} +5 -4
- package/dist/{service-page-project-switcher-15a90544.cjs.prod.js → service-page-project-switcher-38236d62.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-5f17d0e5.esm.js → service-page-project-switcher-3faeb457.esm.js} +1 -1
- package/dist/{service-page-project-switcher-b9c66554.cjs.dev.js → service-page-project-switcher-5c01b213.cjs.dev.js} +1 -1
- package/package.json +26 -26
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +2 -2
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +2 -2
- package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +2 -2
|
@@ -149,18 +149,6 @@ export declare enum TBestSellingLimit {
|
|
|
149
149
|
Five = "FIVE",
|
|
150
150
|
Ten = "TEN"
|
|
151
151
|
}
|
|
152
|
-
export declare type TCartDiscountsListView = {
|
|
153
|
-
__typename?: 'CartDiscountsListView';
|
|
154
|
-
createdAt: Scalars['DateTime'];
|
|
155
|
-
id: Scalars['ID'];
|
|
156
|
-
projectKey: Scalars['String'];
|
|
157
|
-
updatedAt: Scalars['DateTime'];
|
|
158
|
-
userId: Scalars['String'];
|
|
159
|
-
visibleColumns: Array<Scalars['String']>;
|
|
160
|
-
};
|
|
161
|
-
export declare type TCartDiscountsListViewInput = {
|
|
162
|
-
visibleColumns: Array<Scalars['String']>;
|
|
163
|
-
};
|
|
164
152
|
export declare enum TCategoryRecommendationSearchProperty {
|
|
165
153
|
Attribute = "Attribute",
|
|
166
154
|
MachineLearning = "MachineLearning",
|
|
@@ -402,18 +390,6 @@ export declare enum TDateFilterType {
|
|
|
402
390
|
Week = "WEEK",
|
|
403
391
|
Year = "YEAR"
|
|
404
392
|
}
|
|
405
|
-
export declare type TDiscountCodesListView = {
|
|
406
|
-
__typename?: 'DiscountCodesListView';
|
|
407
|
-
createdAt: Scalars['DateTime'];
|
|
408
|
-
id: Scalars['ID'];
|
|
409
|
-
projectKey: Scalars['String'];
|
|
410
|
-
updatedAt: Scalars['DateTime'];
|
|
411
|
-
userId: Scalars['String'];
|
|
412
|
-
visibleColumns: Array<Scalars['String']>;
|
|
413
|
-
};
|
|
414
|
-
export declare type TDiscountCodesListViewInput = {
|
|
415
|
-
visibleColumns: Array<Scalars['String']>;
|
|
416
|
-
};
|
|
417
393
|
export declare enum TDiscountType {
|
|
418
394
|
CartDiscount = "CartDiscount",
|
|
419
395
|
DiscountCode = "DiscountCode",
|
|
@@ -616,6 +592,7 @@ export declare type TLayoutCard_NameAllLocalesArgs = {
|
|
|
616
592
|
export declare type TLayoutCardInput = {
|
|
617
593
|
averageOrderValueConfiguration?: InputMaybe<TAverageOrderValueConfigurationInput>;
|
|
618
594
|
height: Scalars['Int'];
|
|
595
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
619
596
|
key: TMetricCardType;
|
|
620
597
|
maxHeight?: InputMaybe<Scalars['Int']>;
|
|
621
598
|
maxWidth?: InputMaybe<Scalars['Int']>;
|
|
@@ -938,16 +915,13 @@ export declare type TMutation = {
|
|
|
938
915
|
activateProjectExtensionApplication?: Maybe<TProjectExtension>;
|
|
939
916
|
changeCustomApplicationStatus?: Maybe<TRestrictedCustomApplicationForOrganization>;
|
|
940
917
|
createCartDiscountsCustomView: TDiscountsCustomView;
|
|
941
|
-
createCartDiscountsListView?: Maybe<TCartDiscountsListView>;
|
|
942
918
|
createCustomApplication?: Maybe<TRestrictedCustomApplicationForOrganization>;
|
|
943
919
|
createCustomersListView: TCustomersListView;
|
|
944
920
|
createDashboardView: TDashboardView;
|
|
945
921
|
createDiscountCodesCustomView: TDiscountsCustomView;
|
|
946
|
-
createDiscountCodesListView?: Maybe<TDiscountCodesListView>;
|
|
947
922
|
createOrdersListView: TOrdersListView;
|
|
948
923
|
createPimSearchListView: TPimSearchListView;
|
|
949
924
|
createProductDiscountsCustomView: TDiscountsCustomView;
|
|
950
|
-
createProductDiscountsListView?: Maybe<TProductDiscountsListView>;
|
|
951
925
|
createProductTypeAttributesView: TProductTypeAttributesView;
|
|
952
926
|
createVariantPricesListView?: Maybe<TVariantPricesListView>;
|
|
953
927
|
deactivateCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
@@ -974,10 +948,23 @@ export declare type TMutation = {
|
|
|
974
948
|
deleteProjectExtensionApplication?: Maybe<TProjectExtension>;
|
|
975
949
|
installCustomApplication?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
|
|
976
950
|
migrateCustomersListViews?: Maybe<TMigrationResult>;
|
|
951
|
+
migrateDashboardViews?: Maybe<TMigrationResult>;
|
|
952
|
+
migrateDiscountsListViews?: Maybe<TMigrationResult>;
|
|
977
953
|
migrateOrdersListViews?: Maybe<TMigrationResult>;
|
|
954
|
+
migrateOrganizationExtensionsOidcSsoConfig: TMigrationResult;
|
|
955
|
+
migratePimSearchListViews?: Maybe<TMigrationResult>;
|
|
956
|
+
migrateProductTypeAttributesViews?: Maybe<TMigrationResult>;
|
|
978
957
|
migrateProjectExtensions: TMigrationResult;
|
|
979
|
-
|
|
980
|
-
|
|
958
|
+
migrateRuleBuilderQuickSelectionValues?: Maybe<TMigrationResult>;
|
|
959
|
+
migrateVariantPricesListViews?: Maybe<TMigrationResult>;
|
|
960
|
+
revertCustomersListViewsMigration: TReversionResult;
|
|
961
|
+
revertDashboardViewsMigration: TReversionResult;
|
|
962
|
+
revertDiscountsListViewsMigration: TReversionResult;
|
|
963
|
+
revertOrdersListViewsMigration: TReversionResult;
|
|
964
|
+
revertPimSearchListViewsMigration: TReversionResult;
|
|
965
|
+
revertProductTypeAttributesViewsMigration: TReversionResult;
|
|
966
|
+
revertRuleBuilderQuickSelectionValuesMigration: TReversionResult;
|
|
967
|
+
revertVariantPricesListViewsMigration: TReversionResult;
|
|
981
968
|
sendLinkToVerifyCustomApplicationsMaintainerContactEmail?: Maybe<TCustomApplicationsMaintainerContactEmailVerificationRequest>;
|
|
982
969
|
setCustomApplicationsMaintainerContactInformation?: Maybe<TOrganizationExtension>;
|
|
983
970
|
setOrganizationExtensionOidcSsoConfig?: Maybe<TOrganizationExtension>;
|
|
@@ -986,17 +973,14 @@ export declare type TMutation = {
|
|
|
986
973
|
setProjectExtensionOrderStatesVisibility?: Maybe<TProjectExtension>;
|
|
987
974
|
uninstallCustomApplication?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
|
|
988
975
|
updateCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
989
|
-
updateCartDiscountsListView?: Maybe<TCartDiscountsListView>;
|
|
990
976
|
updateCustomApplication?: Maybe<TRestrictedCustomApplicationForOrganization>;
|
|
991
977
|
updateCustomApplicationProjectsInstallation?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
|
|
992
978
|
updateCustomersListView?: Maybe<TCustomersListView>;
|
|
993
979
|
updateDashboardView?: Maybe<TDashboardView>;
|
|
994
980
|
updateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
|
|
995
|
-
updateDiscountCodesListView?: Maybe<TDiscountCodesListView>;
|
|
996
981
|
updateOrdersListView?: Maybe<TOrdersListView>;
|
|
997
982
|
updatePimSearchListView?: Maybe<TPimSearchListView>;
|
|
998
983
|
updateProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
999
|
-
updateProductDiscountsListView?: Maybe<TProductDiscountsListView>;
|
|
1000
984
|
updateProductTypeAttributesView: TProductTypeAttributesView;
|
|
1001
985
|
updateProjectExtensionApplication?: Maybe<TProjectExtension>;
|
|
1002
986
|
updateRuleBuilderQuickSelectionValues?: Maybe<TRuleBuilderQuickSelectionValues>;
|
|
@@ -1043,9 +1027,6 @@ export declare type TMutation_ChangeCustomApplicationStatusArgs = {
|
|
|
1043
1027
|
export declare type TMutation_CreateCartDiscountsCustomViewArgs = {
|
|
1044
1028
|
data: TDiscountsCustomViewInput;
|
|
1045
1029
|
};
|
|
1046
|
-
export declare type TMutation_CreateCartDiscountsListViewArgs = {
|
|
1047
|
-
data: TCartDiscountsListViewInput;
|
|
1048
|
-
};
|
|
1049
1030
|
export declare type TMutation_CreateCustomApplicationArgs = {
|
|
1050
1031
|
data: TCustomApplicationDraftDataInput;
|
|
1051
1032
|
organizationId: Scalars['String'];
|
|
@@ -1059,9 +1040,6 @@ export declare type TMutation_CreateDashboardViewArgs = {
|
|
|
1059
1040
|
export declare type TMutation_CreateDiscountCodesCustomViewArgs = {
|
|
1060
1041
|
data: TDiscountsCustomViewInput;
|
|
1061
1042
|
};
|
|
1062
|
-
export declare type TMutation_CreateDiscountCodesListViewArgs = {
|
|
1063
|
-
data: TDiscountCodesListViewInput;
|
|
1064
|
-
};
|
|
1065
1043
|
export declare type TMutation_CreateOrdersListViewArgs = {
|
|
1066
1044
|
data: TOrdersListViewInput;
|
|
1067
1045
|
};
|
|
@@ -1071,9 +1049,6 @@ export declare type TMutation_CreatePimSearchListViewArgs = {
|
|
|
1071
1049
|
export declare type TMutation_CreateProductDiscountsCustomViewArgs = {
|
|
1072
1050
|
data: TDiscountsCustomViewInput;
|
|
1073
1051
|
};
|
|
1074
|
-
export declare type TMutation_CreateProductDiscountsListViewArgs = {
|
|
1075
|
-
data: TProductDiscountsListViewInput;
|
|
1076
|
-
};
|
|
1077
1052
|
export declare type TMutation_CreateProductTypeAttributesViewArgs = {
|
|
1078
1053
|
data: TProductTypeAttributesViewInput;
|
|
1079
1054
|
};
|
|
@@ -1147,19 +1122,94 @@ export declare type TMutation_InstallCustomApplicationArgs = {
|
|
|
1147
1122
|
projectKeys?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
1148
1123
|
};
|
|
1149
1124
|
export declare type TMutation_MigrateCustomersListViewsArgs = {
|
|
1125
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1126
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1127
|
+
userEmail: Scalars['String'];
|
|
1128
|
+
};
|
|
1129
|
+
export declare type TMutation_MigrateDashboardViewsArgs = {
|
|
1130
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1150
1131
|
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1132
|
+
userEmail: Scalars['String'];
|
|
1133
|
+
};
|
|
1134
|
+
export declare type TMutation_MigrateDiscountsListViewsArgs = {
|
|
1135
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1136
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1137
|
+
userEmail: Scalars['String'];
|
|
1151
1138
|
};
|
|
1152
1139
|
export declare type TMutation_MigrateOrdersListViewsArgs = {
|
|
1140
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1141
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1142
|
+
userEmail: Scalars['String'];
|
|
1143
|
+
};
|
|
1144
|
+
export declare type TMutation_MigrateOrganizationExtensionsOidcSsoConfigArgs = {
|
|
1145
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1153
1146
|
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1147
|
+
userEmail: Scalars['String'];
|
|
1148
|
+
};
|
|
1149
|
+
export declare type TMutation_MigratePimSearchListViewsArgs = {
|
|
1150
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1151
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1152
|
+
userEmail: Scalars['String'];
|
|
1153
|
+
};
|
|
1154
|
+
export declare type TMutation_MigrateProductTypeAttributesViewsArgs = {
|
|
1155
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1156
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1157
|
+
userEmail: Scalars['String'];
|
|
1154
1158
|
};
|
|
1155
1159
|
export declare type TMutation_MigrateProjectExtensionsArgs = {
|
|
1160
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1156
1161
|
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1162
|
+
userEmail: Scalars['String'];
|
|
1163
|
+
};
|
|
1164
|
+
export declare type TMutation_MigrateRuleBuilderQuickSelectionValuesArgs = {
|
|
1165
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1166
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1167
|
+
userEmail: Scalars['String'];
|
|
1168
|
+
};
|
|
1169
|
+
export declare type TMutation_MigrateVariantPricesListViewsArgs = {
|
|
1170
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1171
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1172
|
+
userEmail: Scalars['String'];
|
|
1157
1173
|
};
|
|
1158
1174
|
export declare type TMutation_RevertCustomersListViewsMigrationArgs = {
|
|
1175
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1159
1176
|
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1177
|
+
userEmail: Scalars['String'];
|
|
1178
|
+
};
|
|
1179
|
+
export declare type TMutation_RevertDashboardViewsMigrationArgs = {
|
|
1180
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1181
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1182
|
+
userEmail: Scalars['String'];
|
|
1183
|
+
};
|
|
1184
|
+
export declare type TMutation_RevertDiscountsListViewsMigrationArgs = {
|
|
1185
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1186
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1187
|
+
userEmail: Scalars['String'];
|
|
1160
1188
|
};
|
|
1161
1189
|
export declare type TMutation_RevertOrdersListViewsMigrationArgs = {
|
|
1190
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1191
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1192
|
+
userEmail: Scalars['String'];
|
|
1193
|
+
};
|
|
1194
|
+
export declare type TMutation_RevertPimSearchListViewsMigrationArgs = {
|
|
1195
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1196
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1197
|
+
userEmail: Scalars['String'];
|
|
1198
|
+
};
|
|
1199
|
+
export declare type TMutation_RevertProductTypeAttributesViewsMigrationArgs = {
|
|
1200
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1201
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1202
|
+
userEmail: Scalars['String'];
|
|
1203
|
+
};
|
|
1204
|
+
export declare type TMutation_RevertRuleBuilderQuickSelectionValuesMigrationArgs = {
|
|
1205
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1162
1206
|
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1207
|
+
userEmail: Scalars['String'];
|
|
1208
|
+
};
|
|
1209
|
+
export declare type TMutation_RevertVariantPricesListViewsMigrationArgs = {
|
|
1210
|
+
dryRun?: InputMaybe<Scalars['Boolean']>;
|
|
1211
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1212
|
+
userEmail: Scalars['String'];
|
|
1163
1213
|
};
|
|
1164
1214
|
export declare type TMutation_SendLinkToVerifyCustomApplicationsMaintainerContactEmailArgs = {
|
|
1165
1215
|
organizationId: Scalars['String'];
|
|
@@ -1189,10 +1239,6 @@ export declare type TMutation_UpdateCartDiscountsCustomViewArgs = {
|
|
|
1189
1239
|
data: TDiscountsCustomViewInput;
|
|
1190
1240
|
id: Scalars['ID'];
|
|
1191
1241
|
};
|
|
1192
|
-
export declare type TMutation_UpdateCartDiscountsListViewArgs = {
|
|
1193
|
-
data: TCartDiscountsListViewInput;
|
|
1194
|
-
id: Scalars['ID'];
|
|
1195
|
-
};
|
|
1196
1242
|
export declare type TMutation_UpdateCustomApplicationArgs = {
|
|
1197
1243
|
applicationId: Scalars['ID'];
|
|
1198
1244
|
data: TCustomApplicationDraftDataInput;
|
|
@@ -1215,10 +1261,6 @@ export declare type TMutation_UpdateDiscountCodesCustomViewArgs = {
|
|
|
1215
1261
|
data: TDiscountsCustomViewInput;
|
|
1216
1262
|
id: Scalars['ID'];
|
|
1217
1263
|
};
|
|
1218
|
-
export declare type TMutation_UpdateDiscountCodesListViewArgs = {
|
|
1219
|
-
data: TDiscountCodesListViewInput;
|
|
1220
|
-
id: Scalars['ID'];
|
|
1221
|
-
};
|
|
1222
1264
|
export declare type TMutation_UpdateOrdersListViewArgs = {
|
|
1223
1265
|
data: TOrdersListViewInput;
|
|
1224
1266
|
id: Scalars['ID'];
|
|
@@ -1231,10 +1273,6 @@ export declare type TMutation_UpdateProductDiscountsCustomViewArgs = {
|
|
|
1231
1273
|
data: TDiscountsCustomViewInput;
|
|
1232
1274
|
id: Scalars['ID'];
|
|
1233
1275
|
};
|
|
1234
|
-
export declare type TMutation_UpdateProductDiscountsListViewArgs = {
|
|
1235
|
-
data: TProductDiscountsListViewInput;
|
|
1236
|
-
id: Scalars['ID'];
|
|
1237
|
-
};
|
|
1238
1276
|
export declare type TMutation_UpdateProductTypeAttributesViewArgs = {
|
|
1239
1277
|
data: TProductTypeAttributesViewUpdateInput;
|
|
1240
1278
|
id: Scalars['ID'];
|
|
@@ -1664,18 +1702,6 @@ export declare type TPimSearchListViewInput = {
|
|
|
1664
1702
|
export declare type TPimSearchListViewTableInput = {
|
|
1665
1703
|
visibleColumns: Array<Scalars['String']>;
|
|
1666
1704
|
};
|
|
1667
|
-
export declare type TProductDiscountsListView = {
|
|
1668
|
-
__typename?: 'ProductDiscountsListView';
|
|
1669
|
-
createdAt: Scalars['DateTime'];
|
|
1670
|
-
id: Scalars['ID'];
|
|
1671
|
-
projectKey: Scalars['String'];
|
|
1672
|
-
updatedAt: Scalars['DateTime'];
|
|
1673
|
-
userId: Scalars['String'];
|
|
1674
|
-
visibleColumns: Array<Scalars['String']>;
|
|
1675
|
-
};
|
|
1676
|
-
export declare type TProductDiscountsListViewInput = {
|
|
1677
|
-
visibleColumns: Array<Scalars['String']>;
|
|
1678
|
-
};
|
|
1679
1705
|
export declare type TProductTypeAttributesView = {
|
|
1680
1706
|
__typename?: 'ProductTypeAttributesView';
|
|
1681
1707
|
createdAt: Scalars['DateTime'];
|
|
@@ -1754,7 +1780,6 @@ export declare type TQuery = {
|
|
|
1754
1780
|
allProjectExtensions: Array<TProjectExtension>;
|
|
1755
1781
|
cartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
1756
1782
|
cartDiscountsCustomViews: Array<Maybe<TDiscountsCustomView>>;
|
|
1757
|
-
cartDiscountsListView?: Maybe<TCartDiscountsListView>;
|
|
1758
1783
|
customApplication?: Maybe<TCustomApplication>;
|
|
1759
1784
|
customersListView?: Maybe<TCustomersListView>;
|
|
1760
1785
|
customersListViews: Array<Maybe<TCustomersListView>>;
|
|
@@ -1762,7 +1787,6 @@ export declare type TQuery = {
|
|
|
1762
1787
|
dashboardViews: Array<Maybe<TDashboardView>>;
|
|
1763
1788
|
discountCodesCustomView?: Maybe<TDiscountsCustomView>;
|
|
1764
1789
|
discountCodesCustomViews: Array<Maybe<TDiscountsCustomView>>;
|
|
1765
|
-
discountCodesListView?: Maybe<TDiscountCodesListView>;
|
|
1766
1790
|
globalOrganizationExtension?: Maybe<TOrganizationExtension>;
|
|
1767
1791
|
legacyCustomApplication?: Maybe<TLegacyCustomApplication>;
|
|
1768
1792
|
legacyCustomApplicationsMigrationReport: Array<TLegacyCustomApplicationsMigrationReport>;
|
|
@@ -1775,7 +1799,6 @@ export declare type TQuery = {
|
|
|
1775
1799
|
pimSearchListViews: Array<Maybe<TPimSearchListView>>;
|
|
1776
1800
|
productDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
1777
1801
|
productDiscountsCustomViews: Array<Maybe<TDiscountsCustomView>>;
|
|
1778
|
-
productDiscountsListView?: Maybe<TProductDiscountsListView>;
|
|
1779
1802
|
productTypeAttributesView?: Maybe<TProductTypeAttributesView>;
|
|
1780
1803
|
productTypeAttributesViews?: Maybe<Array<Maybe<TProductTypeAttributesView>>>;
|
|
1781
1804
|
projectExtension?: Maybe<TProjectExtension>;
|
|
@@ -1954,9 +1977,10 @@ export declare type TRestrictedCustomApplicationInstallationForProject = {
|
|
|
1954
1977
|
installInAllProjects: Scalars['Boolean'];
|
|
1955
1978
|
updatedAt: Scalars['DateTime'];
|
|
1956
1979
|
};
|
|
1957
|
-
export declare type
|
|
1958
|
-
__typename?: '
|
|
1980
|
+
export declare type TReversionResult = {
|
|
1981
|
+
__typename?: 'ReversionResult';
|
|
1959
1982
|
revertedIds?: Maybe<Array<Scalars['ID']>>;
|
|
1983
|
+
skipped?: Maybe<Scalars['Int']>;
|
|
1960
1984
|
};
|
|
1961
1985
|
export declare type TRuleBuilderQuickSelectCreatefunctionsInput = {
|
|
1962
1986
|
set?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -2369,10 +2393,10 @@ export declare type TFetchProjectExtensionsNavbarQuery = {
|
|
|
2369
2393
|
__typename?: 'RestrictedCustomApplicationForProject';
|
|
2370
2394
|
id: string;
|
|
2371
2395
|
entryPointUriPath: string;
|
|
2372
|
-
|
|
2396
|
+
icon: string;
|
|
2397
|
+
mainMenuLink: {
|
|
2373
2398
|
__typename?: 'CustomApplicationMenuLink';
|
|
2374
2399
|
id: string;
|
|
2375
|
-
icon: string;
|
|
2376
2400
|
permissions: Array<string>;
|
|
2377
2401
|
defaultLabel: string;
|
|
2378
2402
|
labelAllLocales: Array<{
|
|
@@ -2380,19 +2404,19 @@ export declare type TFetchProjectExtensionsNavbarQuery = {
|
|
|
2380
2404
|
locale: string;
|
|
2381
2405
|
value: string;
|
|
2382
2406
|
}>;
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2407
|
+
};
|
|
2408
|
+
submenuLinks: Array<{
|
|
2409
|
+
__typename?: 'CustomApplicationSubmenuLink';
|
|
2410
|
+
id: string;
|
|
2411
|
+
uriPath: string;
|
|
2412
|
+
permissions: Array<string>;
|
|
2413
|
+
defaultLabel: string;
|
|
2414
|
+
labelAllLocales: Array<{
|
|
2415
|
+
__typename?: 'LocalizedField';
|
|
2416
|
+
locale: string;
|
|
2417
|
+
value: string;
|
|
2394
2418
|
}>;
|
|
2395
|
-
}
|
|
2419
|
+
}>;
|
|
2396
2420
|
};
|
|
2397
2421
|
}> | null;
|
|
2398
2422
|
} | null;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export declare type THeaders = Record<string, string>;
|
|
2
2
|
export declare type TForwardToAudiencePolicy = 'forward-url-full-path' | 'forward-url-origin';
|
|
3
|
+
export declare type TForwardToExchangeTokenClaim = 'permissions';
|
|
3
4
|
export declare type TForwardToConfigVersion = 'v1' | 'v2';
|
|
4
5
|
export declare type TForwardToConfig = {
|
|
5
6
|
uri: string;
|
|
6
7
|
headers?: THeaders;
|
|
7
8
|
audiencePolicy?: TForwardToAudiencePolicy;
|
|
9
|
+
includeUserPermissions?: boolean;
|
|
8
10
|
version?: TForwardToConfigVersion;
|
|
9
11
|
};
|
|
10
12
|
export declare type TConfig = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
3
|
+
var applicationEntryPoint = require('./application-entry-point-d7ed60b0.cjs.prod.js');
|
|
4
4
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
5
5
|
var _styled = require('@emotion/styled/base');
|
|
6
6
|
var _pt = require('prop-types');
|
|
@@ -24,7 +24,7 @@ var applicationShellConnectors = require('@commercetools-frontend/application-sh
|
|
|
24
24
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
25
25
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
26
26
|
var i18n = require('@commercetools-frontend/i18n');
|
|
27
|
-
var constants = require('./constants-
|
|
27
|
+
var constants = require('./constants-9ffc458b.cjs.prod.js');
|
|
28
28
|
var uuid = require('uuid');
|
|
29
29
|
var _URL = require('@babel/runtime-corejs3/core-js-stable/url');
|
|
30
30
|
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
@@ -38,7 +38,7 @@ var reactRedux = require('react-redux');
|
|
|
38
38
|
var history = require('@commercetools-frontend/browser-history');
|
|
39
39
|
var reactIntl = require('react-intl');
|
|
40
40
|
var _startsWithInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
41
|
-
var oidc = require('./oidc-
|
|
41
|
+
var oidc = require('./oidc-d13fc045.cjs.prod.js');
|
|
42
42
|
var qss = require('qss');
|
|
43
43
|
var jwtDecode = require('jwt-decode');
|
|
44
44
|
var FailedAuthenticationSVG = require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -49,6 +49,10 @@ var Card = require('@commercetools-uikit/card');
|
|
|
49
49
|
var Text = require('@commercetools-uikit/text');
|
|
50
50
|
var FlatButton = require('@commercetools-uikit/flat-button');
|
|
51
51
|
var icons = require('@commercetools-uikit/icons');
|
|
52
|
+
var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
53
|
+
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
54
|
+
var _sliceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/slice');
|
|
55
|
+
var upperFirst = require('lodash/upperFirst');
|
|
52
56
|
var LoadingSpinner = require('@commercetools-uikit/loading-spinner');
|
|
53
57
|
var CTLogoSVG = require('@commercetools-frontend/assets/images/ct-logo.svg');
|
|
54
58
|
var _Reflect$construct = require('@babel/runtime-corejs3/core-js-stable/reflect/construct');
|
|
@@ -64,7 +68,6 @@ var sdk = require('@commercetools-frontend/sdk');
|
|
|
64
68
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
65
69
|
var LogoSVG = require('@commercetools-frontend/assets/images/logo.svg');
|
|
66
70
|
var _trimInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/trim');
|
|
67
|
-
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
68
71
|
var Downshift = require('downshift');
|
|
69
72
|
var reactBroadcast = require('@flopflip/react-broadcast');
|
|
70
73
|
var Avatar = require('@commercetools-uikit/avatar');
|
|
@@ -83,9 +86,7 @@ var _flagsInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/inst
|
|
|
83
86
|
var ldAdapter = require('@flopflip/launchdarkly-adapter');
|
|
84
87
|
var httpAdapter = require('@flopflip/http-adapter');
|
|
85
88
|
var combineAdapters = require('@flopflip/combine-adapters');
|
|
86
|
-
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
87
89
|
require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
88
|
-
require('@babel/runtime-corejs3/core-js-stable/instance/slice');
|
|
89
90
|
var _everyInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/every');
|
|
90
91
|
var _Array$from = require('@babel/runtime-corejs3/core-js-stable/array/from');
|
|
91
92
|
var classnames = require('classnames');
|
|
@@ -126,6 +127,9 @@ var Spacings__default = /*#__PURE__*/_interopDefault(Spacings);
|
|
|
126
127
|
var Card__default = /*#__PURE__*/_interopDefault(Card);
|
|
127
128
|
var Text__default = /*#__PURE__*/_interopDefault(Text);
|
|
128
129
|
var FlatButton__default = /*#__PURE__*/_interopDefault(FlatButton);
|
|
130
|
+
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
131
|
+
var _sliceInstanceProperty__default = /*#__PURE__*/_interopDefault(_sliceInstanceProperty);
|
|
132
|
+
var upperFirst__default = /*#__PURE__*/_interopDefault(upperFirst);
|
|
129
133
|
var LoadingSpinner__default = /*#__PURE__*/_interopDefault(LoadingSpinner);
|
|
130
134
|
var CTLogoSVG__default = /*#__PURE__*/_interopDefault(CTLogoSVG);
|
|
131
135
|
var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construct);
|
|
@@ -134,7 +138,6 @@ var _reduceInstanceProperty__default = /*#__PURE__*/_interopDefault(_reduceInsta
|
|
|
134
138
|
var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
135
139
|
var LogoSVG__default = /*#__PURE__*/_interopDefault(LogoSVG);
|
|
136
140
|
var _trimInstanceProperty__default = /*#__PURE__*/_interopDefault(_trimInstanceProperty);
|
|
137
|
-
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
138
141
|
var Downshift__default = /*#__PURE__*/_interopDefault(Downshift);
|
|
139
142
|
var Avatar__default = /*#__PURE__*/_interopDefault(Avatar);
|
|
140
143
|
var AccessibleHidden__default = /*#__PURE__*/_interopDefault(AccessibleHidden);
|
|
@@ -1044,6 +1047,53 @@ GtmBooter.propTypes = {
|
|
|
1044
1047
|
};
|
|
1045
1048
|
GtmBooter.displayName = 'GtmBooter';
|
|
1046
1049
|
|
|
1050
|
+
var maxTitleCharLength = 24;
|
|
1051
|
+
var staticPaths = ['account', 'login'];
|
|
1052
|
+
var defaultProps$1 = {
|
|
1053
|
+
additionalParts: []
|
|
1054
|
+
};
|
|
1055
|
+
|
|
1056
|
+
var usePageTitle = function usePageTitle(props) {
|
|
1057
|
+
var _context, _context3;
|
|
1058
|
+
|
|
1059
|
+
var location = reactRouterDom.useLocation();
|
|
1060
|
+
|
|
1061
|
+
var _location$pathname$sp = location.pathname.split('/'),
|
|
1062
|
+
_location$pathname$sp2 = _slicedToArray(_location$pathname$sp, 3),
|
|
1063
|
+
projectKeyOrStaticPath = _location$pathname$sp2[1],
|
|
1064
|
+
entryPointUriPath = _location$pathname$sp2[2];
|
|
1065
|
+
|
|
1066
|
+
var customTitleParts = _mapInstanceProperty__default["default"](_context = props.additionalParts).call(_context, function (titlePart) {
|
|
1067
|
+
if (titlePart.length <= maxTitleCharLength) {
|
|
1068
|
+
return titlePart;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
return [_sliceInstanceProperty__default["default"](titlePart).call(titlePart, 0, maxTitleCharLength / 2), _sliceInstanceProperty__default["default"](titlePart).call(titlePart, titlePart.length - maxTitleCharLength / 2)].join('...');
|
|
1072
|
+
});
|
|
1073
|
+
|
|
1074
|
+
if (_includesInstanceProperty__default["default"](staticPaths).call(staticPaths, projectKeyOrStaticPath)) {
|
|
1075
|
+
var _context2;
|
|
1076
|
+
|
|
1077
|
+
return _concatInstanceProperty__default["default"](_context2 = []).call(_context2, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](projectKeyOrStaticPath), 'Merchant Center']).join(' - ');
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
return _concatInstanceProperty__default["default"](_context3 = []).call(_context3, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](entryPointUriPath), projectKeyOrStaticPath, 'Merchant Center']).join(' - ');
|
|
1081
|
+
};
|
|
1082
|
+
|
|
1083
|
+
var ApplicationPageTitle = function ApplicationPageTitle(props) {
|
|
1084
|
+
var pageTitle = usePageTitle(props);
|
|
1085
|
+
react.useLayoutEffect(function () {
|
|
1086
|
+
document.title = pageTitle;
|
|
1087
|
+
}, [pageTitle]);
|
|
1088
|
+
return null;
|
|
1089
|
+
};
|
|
1090
|
+
|
|
1091
|
+
ApplicationPageTitle.propTypes = {
|
|
1092
|
+
additionalParts: _pt__default["default"].arrayOf(_pt__default["default"].string).isRequired
|
|
1093
|
+
};
|
|
1094
|
+
ApplicationPageTitle.displayName = 'ApplicationPageTitle';
|
|
1095
|
+
ApplicationPageTitle.defaultProps = defaultProps$1;
|
|
1096
|
+
|
|
1047
1097
|
var ApplicationLoader = function ApplicationLoader(props) {
|
|
1048
1098
|
return jsxRuntime.jsxs("div", {
|
|
1049
1099
|
css: /*#__PURE__*/react$2.css("display:flex;align-items:center;justify-content:center;flex:1;flex-direction:column;height:100vh;padding:", designSystem.customProperties.spacingL, ";>*+*{margin:", designSystem.customProperties.spacingL, " 0 0;}" + ("" ), "" ),
|
|
@@ -1253,9 +1303,9 @@ var ApplicationShellProvider = function ApplicationShellProvider(props) {
|
|
|
1253
1303
|
fallback: jsxRuntime.jsx(ApplicationLoader, {}),
|
|
1254
1304
|
children: jsxRuntime.jsx(reactRouterDom.Router, {
|
|
1255
1305
|
history: ApplicationShellProvider.history,
|
|
1256
|
-
children: jsxRuntime.
|
|
1306
|
+
children: jsxRuntime.jsxs(GtmBooter, {
|
|
1257
1307
|
trackingEventList: props.trackingEventList || {},
|
|
1258
|
-
children: jsxRuntime.jsx(AuthenticationRoutes, {
|
|
1308
|
+
children: [jsxRuntime.jsx(ApplicationPageTitle, {}), jsxRuntime.jsx(AuthenticationRoutes, {
|
|
1259
1309
|
locale: browserLocale,
|
|
1260
1310
|
applicationMessages: props.applicationMessages,
|
|
1261
1311
|
render: function render(_ref) {
|
|
@@ -1279,7 +1329,7 @@ var ApplicationShellProvider = function ApplicationShellProvider(props) {
|
|
|
1279
1329
|
}
|
|
1280
1330
|
});
|
|
1281
1331
|
}
|
|
1282
|
-
})
|
|
1332
|
+
})]
|
|
1283
1333
|
})
|
|
1284
1334
|
})
|
|
1285
1335
|
})
|
|
@@ -2354,19 +2404,19 @@ var LocaleSwitcher = function LocaleSwitcher(props) {
|
|
|
2354
2404
|
LocaleSwitcher.propTypes = {};
|
|
2355
2405
|
|
|
2356
2406
|
var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
|
|
2357
|
-
return Promise.resolve().then(function () { return require('./project-not-found-
|
|
2407
|
+
return Promise.resolve().then(function () { return require('./project-not-found-1bb414bd.cjs.prod.js'
|
|
2358
2408
|
/* webpackChunkName: "project-not-found" */
|
|
2359
2409
|
); });
|
|
2360
2410
|
});
|
|
2361
2411
|
|
|
2362
2412
|
var ProjectExpired = /*#__PURE__*/react.lazy(function () {
|
|
2363
|
-
return Promise.resolve().then(function () { return require('./project-expired-
|
|
2413
|
+
return Promise.resolve().then(function () { return require('./project-expired-b70d0be4.cjs.prod.js'
|
|
2364
2414
|
/* webpackChunkName: "project-expired" */
|
|
2365
2415
|
); });
|
|
2366
2416
|
});
|
|
2367
2417
|
|
|
2368
2418
|
var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
|
|
2369
|
-
return Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
2419
|
+
return Promise.resolve().then(function () { return require('./project-not-initialized-730e8f66.cjs.prod.js'
|
|
2370
2420
|
/* webpackChunkName: "project-not-initialized" */
|
|
2371
2421
|
); });
|
|
2372
2422
|
});
|
|
@@ -2413,7 +2463,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2413
2463
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2414
2464
|
|
|
2415
2465
|
var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
|
|
2416
|
-
return Promise.resolve().then(function () { return require('./project-suspended-
|
|
2466
|
+
return Promise.resolve().then(function () { return require('./project-suspended-021b826a.cjs.prod.js'
|
|
2417
2467
|
/* webpackChunkName: "project-suspended" */
|
|
2418
2468
|
); });
|
|
2419
2469
|
});
|
|
@@ -2795,7 +2845,7 @@ function nonNullable(value) {
|
|
|
2795
2845
|
function ownKeys$4(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2796
2846
|
|
|
2797
2847
|
function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var _context9, _context10; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context9 = ownKeys$4(Object(source), !0)).call(_context9, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context10 = ownKeys$4(Object(source))).call(_context10, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
|
|
2798
|
-
var FetchProjectExtensionsNavbar = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchProjectExtensionsNavbar" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "projectExtension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "applications" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "ObjectValue", fields: [{ kind: "ObjectField", name: { kind: "Name", value: "isActive" }, value: { kind: "BooleanValue", value: true } }] } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "navbarMenu" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "icon" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "featureToggle" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "submenu" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "featureToggle" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "Field", name: { kind: "Name", value: "installedApplications" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "application" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "entryPointUriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "
|
|
2848
|
+
var FetchProjectExtensionsNavbar = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchProjectExtensionsNavbar" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "projectExtension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "applications" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "ObjectValue", fields: [{ kind: "ObjectField", name: { kind: "Name", value: "isActive" }, value: { kind: "BooleanValue", value: true } }] } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "navbarMenu" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "icon" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "featureToggle" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "submenu" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "featureToggle" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "Field", name: { kind: "Name", value: "installedApplications" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "application" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "entryPointUriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "icon" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "mainMenuLink" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "defaultLabel" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "submenuLinks" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "defaultLabel" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }] } }], loc: { start: 0, end: 984, source: { body: "query FetchProjectExtensionsNavbar {\n projectExtension {\n id\n applications(where: { isActive: true }) {\n id\n navbarMenu {\n id\n key\n uriPath\n icon\n labelAllLocales {\n locale\n value\n }\n featureToggle\n permissions\n submenu {\n id\n key\n uriPath\n labelAllLocales {\n locale\n value\n }\n permissions\n featureToggle\n }\n }\n }\n installedApplications {\n application {\n id\n entryPointUriPath\n icon\n mainMenuLink {\n id\n permissions\n defaultLabel\n labelAllLocales {\n locale\n value\n }\n }\n submenuLinks {\n id\n uriPath\n permissions\n defaultLabel\n labelAllLocales {\n locale\n value\n }\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
2799
2849
|
|
|
2800
2850
|
var getInitialState = function getInitialState(isForcedMenuOpen) {
|
|
2801
2851
|
return {
|
|
@@ -2905,20 +2955,19 @@ var useNavbarStateManager = function useNavbarStateManager(props) {
|
|
|
2905
2955
|
// config and the custom apps config, thus allowing them to be
|
|
2906
2956
|
// concatenated and rendered the same way.
|
|
2907
2957
|
|
|
2908
|
-
if (!application.menuLinks) return;
|
|
2909
2958
|
return {
|
|
2910
2959
|
key: application.id,
|
|
2911
2960
|
uriPath: application.entryPointUriPath,
|
|
2912
|
-
labelAllLocales: application.
|
|
2913
|
-
icon: application.
|
|
2914
|
-
permissions: application.
|
|
2915
|
-
defaultLabel: application.
|
|
2961
|
+
labelAllLocales: application.mainMenuLink.labelAllLocales || [],
|
|
2962
|
+
icon: application.icon,
|
|
2963
|
+
permissions: application.mainMenuLink.permissions,
|
|
2964
|
+
defaultLabel: application.mainMenuLink.defaultLabel,
|
|
2916
2965
|
featureToggle: undefined,
|
|
2917
2966
|
menuVisibility: undefined,
|
|
2918
2967
|
actionRights: undefined,
|
|
2919
2968
|
dataFences: undefined,
|
|
2920
2969
|
shouldRenderDivider: false,
|
|
2921
|
-
submenu: _mapInstanceProperty__default["default"](_context6 = application.
|
|
2970
|
+
submenu: _mapInstanceProperty__default["default"](_context6 = application.submenuLinks || []).call(_context6, function (submenuLink) {
|
|
2922
2971
|
return {
|
|
2923
2972
|
key: submenuLink.id,
|
|
2924
2973
|
uriPath: submenuLink.uriPath,
|
|
@@ -3196,8 +3245,8 @@ var MenuGroup = function MenuGroup(props) {
|
|
|
3196
3245
|
var isSublistActiveWhileIsMenuExpanded = props.level === 2 && props.isActive && props.isExpanded;
|
|
3197
3246
|
var isSublistActiveWhileIsMenuCollapsed = props.level === 2 && props.isActive && !props.isExpanded;
|
|
3198
3247
|
return jsxRuntime.jsx("ul", {
|
|
3199
|
-
id: "".concat(props.id
|
|
3200
|
-
"data-testid": "".concat(props.id
|
|
3248
|
+
id: "group-".concat(props.id),
|
|
3249
|
+
"data-testid": "group-".concat(props.id),
|
|
3201
3250
|
role: "menu",
|
|
3202
3251
|
"aria-expanded": isSublistActiveWhileIsMenuExpanded || isSublistActiveWhileIsMenuCollapsed,
|
|
3203
3252
|
className: classnames__default["default"](_defineProperty({}, styles.list, props.level === 1), _defineProperty({}, styles.sublist, props.level === 2), _defineProperty({}, styles['sublist-no-children'], props.level === 2 && !props.children), _defineProperty({}, styles['sublist-expanded__active'], isSublistActiveWhileIsMenuExpanded), _defineProperty({}, styles['sublist-collapsed__active'], isSublistActiveWhileIsMenuCollapsed), _defineProperty({}, styles.sublist__inactive, !isSublistActiveWhileIsMenuCollapsed)),
|
|
@@ -3429,7 +3478,7 @@ var ApplicationMenu = function ApplicationMenu(props) {
|
|
|
3429
3478
|
})
|
|
3430
3479
|
}), jsxRuntime.jsx("div", {
|
|
3431
3480
|
className: styles.title,
|
|
3432
|
-
"aria-owns": "".concat(props.menu.key
|
|
3481
|
+
"aria-owns": "group-".concat(props.menu.key),
|
|
3433
3482
|
children: jsxRuntime.jsx(MenuLabel, {
|
|
3434
3483
|
labelAllLocales: props.menu.labelAllLocales,
|
|
3435
3484
|
defaultLabel: props.menu.defaultLabel,
|
|
@@ -3659,7 +3708,7 @@ var pimIndexerStates = {
|
|
|
3659
3708
|
};
|
|
3660
3709
|
|
|
3661
3710
|
var QuickAccess = /*#__PURE__*/react.lazy(function () {
|
|
3662
|
-
return Promise.resolve().then(function () { return require('./quick-access-
|
|
3711
|
+
return Promise.resolve().then(function () { return require('./quick-access-06faafe4.cjs.prod.js'
|
|
3663
3712
|
/* webpackChunkName: "quick-access" */
|
|
3664
3713
|
); });
|
|
3665
3714
|
});
|