@commercetools-frontend/application-shell 22.41.0 → 22.42.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-654951a6.cjs.prod.js → application-entry-point-25a893ee.cjs.prod.js} +1 -1
- package/dist/{application-entry-point-83140459.cjs.dev.js → application-entry-point-66e4e42e.cjs.dev.js} +1 -1
- package/dist/{application-entry-point-bf13611d.esm.js → application-entry-point-87fc1d21.esm.js} +1 -1
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +2 -2
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +2 -2
- package/dist/commercetools-frontend-application-shell.esm.js +2 -2
- package/dist/{custom-view-dev-host-25fa9b32.cjs.dev.js → custom-view-dev-host-8cba1b4f.cjs.dev.js} +2 -2
- package/dist/{custom-view-dev-host-8b6d255d.cjs.prod.js → custom-view-dev-host-a3cabc4c.cjs.prod.js} +2 -2
- package/dist/{custom-view-dev-host-1a076246.esm.js → custom-view-dev-host-cbb8ba3b.esm.js} +2 -2
- package/dist/declarations/src/components/app-bar/app-bar.d.ts +1 -1
- package/dist/declarations/src/components/application-entry-point/application-entry-point.d.ts +1 -1
- package/dist/declarations/src/components/application-loader/application-loader.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/application-shell.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/global-styles.d.ts +1 -1
- package/dist/declarations/src/components/application-shell-authenticated/application-shell-authenticated.d.ts +1 -1
- package/dist/declarations/src/components/application-shell-provider/application-shell-provider.d.ts +1 -1
- package/dist/declarations/src/components/authenticated/am-i-logged-in.d.ts +1 -1
- package/dist/declarations/src/components/authenticated/authenticated.d.ts +1 -1
- package/dist/declarations/src/components/authenticated/oidc-callback-error-page.d.ts +1 -1
- package/dist/declarations/src/components/authenticated/oidc-callback.async.d.ts +1 -1
- package/dist/declarations/src/components/authenticated/oidc-callback.d.ts +1 -1
- package/dist/declarations/src/components/back-to-project/back-to-project.d.ts +1 -1
- package/dist/declarations/src/components/configure-intl-provider/configure-intl-provider.d.ts +1 -1
- package/dist/declarations/src/components/custom-view-dev-host/custom-view-dev-host.d.ts +1 -1
- package/dist/declarations/src/components/custom-view-dev-host/index.d.ts +1 -1
- package/dist/declarations/src/components/custom-view-flop-flip-provider/custom-view-flop-flip-provider.d.ts +1 -1
- package/dist/declarations/src/components/custom-view-shell/custom-view-shell.d.ts +1 -1
- package/dist/declarations/src/components/custom-view-shell-authenticated/custom-view-shell-authenticated.d.ts +1 -1
- package/dist/declarations/src/components/error-apologizer/error-apologizer.d.ts +1 -1
- package/dist/declarations/src/components/error-apologizer/index.d.ts +1 -1
- package/dist/declarations/src/components/error-boundary/error-boundary.d.ts +1 -1
- package/dist/declarations/src/components/fetch-project/fetch-project.d.ts +1 -1
- package/dist/declarations/src/components/fetch-user/fetch-user.d.ts +1 -1
- package/dist/declarations/src/components/inject-reducers/inject-reducers.d.ts +1 -1
- package/dist/declarations/src/components/locale-switcher/locale-switcher.d.ts +2 -2
- package/dist/declarations/src/components/navbar/index.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/box.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/cart.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/connected-square.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/gear.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/heart.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/list-with-search.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/paperclip.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/plugin.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/rocket.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/speedometer.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/star.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/tag-multi.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/tree-structure.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/user-filled.d.ts +1 -1
- package/dist/declarations/src/components/navbar/legacy-icons/world.d.ts +1 -1
- package/dist/declarations/src/components/navbar/menu-items.d.ts +7 -7
- package/dist/declarations/src/components/navbar/navbar-skeleton.d.ts +1 -1
- package/dist/declarations/src/components/navbar/navbar-skeleton.styles.d.ts +1 -1
- package/dist/declarations/src/components/navbar/navbar.d.ts +2 -2
- package/dist/declarations/src/components/project-container/index.d.ts +1 -1
- package/dist/declarations/src/components/project-container/project-container.d.ts +1 -1
- package/dist/declarations/src/components/project-data-locale/project-data-locale.d.ts +1 -1
- package/dist/declarations/src/components/project-expired/index.d.ts +1 -1
- package/dist/declarations/src/components/project-expired/project-expired.d.ts +1 -1
- package/dist/declarations/src/components/project-not-found/index.d.ts +1 -1
- package/dist/declarations/src/components/project-not-found/project-not-found.d.ts +1 -1
- package/dist/declarations/src/components/project-not-initialized/index.d.ts +1 -1
- package/dist/declarations/src/components/project-not-initialized/project-not-initialized.d.ts +1 -1
- package/dist/declarations/src/components/project-suspended/index.d.ts +1 -1
- package/dist/declarations/src/components/project-suspended/project-suspended.d.ts +1 -1
- package/dist/declarations/src/components/project-switcher/project-switcher.d.ts +3 -3
- package/dist/declarations/src/components/quick-access/butler/butler.d.ts +1 -1
- package/dist/declarations/src/components/quick-access/butler-command/butler-command.d.ts +1 -1
- package/dist/declarations/src/components/quick-access/index.d.ts +1 -1
- package/dist/declarations/src/components/quick-access/quick-access.d.ts +1 -1
- package/dist/declarations/src/components/redirect-to-logout/index.d.ts +1 -1
- package/dist/declarations/src/components/redirect-to-logout/redirect-to-logout.d.ts +1 -1
- package/dist/declarations/src/components/redirect-to-project-create/index.d.ts +1 -1
- package/dist/declarations/src/components/redirect-to-project-create/redirect-to-project-create.d.ts +1 -1
- package/dist/declarations/src/components/route-catch-all/index.d.ts +1 -1
- package/dist/declarations/src/components/route-catch-all/route-catch-all.d.ts +1 -1
- package/dist/declarations/src/components/service-page-project-switcher/service-page-project-switcher.d.ts +1 -1
- package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts +1 -1
- package/dist/declarations/src/components/suspended-route/suspended-route.d.ts +1 -1
- package/dist/declarations/src/components/theme-switcher/theme-switcher.d.ts +1 -1
- package/dist/declarations/src/components/user-settings-menu/index.d.ts +1 -1
- package/dist/declarations/src/components/user-settings-menu/user-settings-menu.d.ts +3 -3
- package/dist/{index-b1476d46.cjs.dev.js → index-0459c0f4.cjs.dev.js} +2 -2
- package/dist/{index-b6081c20.esm.js → index-a5d2d010.esm.js} +2 -2
- package/dist/{index-91985d64.cjs.prod.js → index-b76590b3.cjs.prod.js} +2 -2
- package/dist/{index-514ff122.cjs.dev.js → index-c1ab39be.cjs.dev.js} +22 -33
- package/dist/{index-6172ab5f.esm.js → index-c87bac8c.esm.js} +22 -33
- package/dist/{index-c64b43a5.cjs.prod.js → index-c915c7df.cjs.prod.js} +9 -9
- package/dist/{navbar-89151faf.cjs.dev.js → navbar-362b1d3e.cjs.dev.js} +10 -20
- package/dist/{navbar-2ed5f379.esm.js → navbar-8df97694.esm.js} +10 -20
- package/dist/{oidc-callback-9f6d9ebc.cjs.dev.js → oidc-callback-706a8916.cjs.dev.js} +2 -2
- package/dist/{oidc-callback-84111585.cjs.prod.js → oidc-callback-b2997a6c.cjs.prod.js} +2 -2
- package/dist/{oidc-callback-d2853632.esm.js → oidc-callback-d3422d3f.esm.js} +2 -2
- package/dist/{project-container-553d0fc4.esm.js → project-container-0e5e9982.esm.js} +7 -7
- package/dist/{project-container-de39b8cc.cjs.prod.js → project-container-3e4a692a.cjs.prod.js} +7 -7
- package/dist/{project-container-9f9b6c9b.cjs.dev.js → project-container-57f4cdea.cjs.dev.js} +7 -7
- package/dist/{project-expired-5968daae.cjs.prod.js → project-expired-0a2fb86f.cjs.prod.js} +3 -3
- package/dist/{project-expired-2779847b.esm.js → project-expired-8169c1d4.esm.js} +3 -3
- package/dist/{project-expired-6e265773.cjs.dev.js → project-expired-d466ee47.cjs.dev.js} +3 -3
- package/dist/{project-not-found-4a089503.cjs.prod.js → project-not-found-781ca562.cjs.prod.js} +3 -3
- package/dist/{project-not-found-6065128e.esm.js → project-not-found-9e56654c.esm.js} +3 -3
- package/dist/{project-not-found-f1335266.cjs.dev.js → project-not-found-ea5eb61b.cjs.dev.js} +3 -3
- package/dist/{project-not-initialized-ba0a2f8f.cjs.prod.js → project-not-initialized-5170b8e8.cjs.prod.js} +3 -3
- package/dist/{project-not-initialized-67bfaea7.cjs.dev.js → project-not-initialized-5773b30e.cjs.dev.js} +3 -3
- package/dist/{project-not-initialized-62af0df0.esm.js → project-not-initialized-c5058944.esm.js} +3 -3
- package/dist/{project-suspended-8bc7b733.esm.js → project-suspended-3d9f7f29.esm.js} +3 -3
- package/dist/{project-suspended-f357e4aa.cjs.prod.js → project-suspended-7576d979.cjs.prod.js} +3 -3
- package/dist/{project-suspended-d829c27b.cjs.dev.js → project-suspended-e2099aad.cjs.dev.js} +3 -3
- package/dist/{quick-access-2be07c72.cjs.prod.js → quick-access-cd1d0689.cjs.prod.js} +2 -2
- package/dist/{quick-access-e3d6b1b3.esm.js → quick-access-e1423a23.esm.js} +5 -8
- package/dist/{quick-access-e971c562.cjs.dev.js → quick-access-f8ed8f7b.cjs.dev.js} +5 -8
- package/dist/{redirect-to-logout-f7314e8b.cjs.dev.js → redirect-to-logout-3483b4b5.cjs.dev.js} +2 -2
- package/dist/{redirect-to-logout-076de118.esm.js → redirect-to-logout-9be028f6.esm.js} +2 -2
- package/dist/{redirect-to-logout-40570b13.cjs.prod.js → redirect-to-logout-feb12a30.cjs.prod.js} +2 -2
- package/dist/{requests-in-flight-loader-2b426c07.cjs.dev.js → requests-in-flight-loader-9cf0c072.cjs.dev.js} +2 -2
- package/dist/{requests-in-flight-loader-094596d8.esm.js → requests-in-flight-loader-d1157c0b.esm.js} +2 -2
- package/dist/{requests-in-flight-loader-ef1092fd.cjs.prod.js → requests-in-flight-loader-f35d0c2c.cjs.prod.js} +2 -2
- package/dist/{service-page-project-switcher-bcaa888c.cjs.prod.js → service-page-project-switcher-3c39c207.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-4ff31118.cjs.dev.js → service-page-project-switcher-799ba921.cjs.dev.js} +2 -3
- package/dist/service-page-project-switcher-b9c86228.esm.js +39 -0
- package/dist/{user-settings-menu-dc94ceb2.esm.js → user-settings-menu-1977193f.esm.js} +2 -4
- package/dist/{user-settings-menu-a0813186.cjs.dev.js → user-settings-menu-d5bab46b.cjs.dev.js} +2 -4
- package/package.json +33 -33
- 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
- package/dist/service-page-project-switcher-48e97042.esm.js +0 -40
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const ProjectNotFound: import("react").LazyExoticComponent<{
|
|
3
|
-
(): import("@emotion/react/
|
|
3
|
+
(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
}>;
|
|
6
6
|
export default ProjectNotFound;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const ProjectNotInitialized: import("react").LazyExoticComponent<{
|
|
3
|
-
(): import("@emotion/react/
|
|
3
|
+
(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
}>;
|
|
6
6
|
export default ProjectNotInitialized;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
declare const ProjectSuspended: import("react").LazyExoticComponent<{
|
|
3
3
|
(props: {
|
|
4
4
|
isTemporary?: boolean | undefined;
|
|
5
|
-
}): import("@emotion/react/
|
|
5
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
}>;
|
|
8
8
|
export default ProjectSuspended;
|
|
@@ -2,7 +2,7 @@ type Props = {
|
|
|
2
2
|
isTemporary?: boolean;
|
|
3
3
|
};
|
|
4
4
|
declare const ProjectSuspended: {
|
|
5
|
-
(props: Props): import("@emotion/react/
|
|
5
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
8
8
|
export default ProjectSuspended;
|
|
@@ -2,10 +2,10 @@ import type { OptionProps, ValueContainerProps } from 'react-select';
|
|
|
2
2
|
type Props = {
|
|
3
3
|
projectKey?: string;
|
|
4
4
|
};
|
|
5
|
-
export declare const ValueContainer: ({ children, ...restProps }: ValueContainerProps) => import("@emotion/react/
|
|
6
|
-
export declare const ProjectSwitcherOption: (props: OptionProps) => import("@emotion/react/
|
|
5
|
+
export declare const ValueContainer: ({ children, ...restProps }: ValueContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const ProjectSwitcherOption: (props: OptionProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare const ProjectSwitcher: {
|
|
8
|
-
(props: Props): import("@emotion/react/
|
|
8
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
export default ProjectSwitcher;
|
|
@@ -10,5 +10,5 @@ type Props = {
|
|
|
10
10
|
onClose: () => void;
|
|
11
11
|
classNameShakeAnimation: string;
|
|
12
12
|
};
|
|
13
|
-
declare const ButlerWithAnimation: (props: Omit<Props, 'classNameShakeAnimation'>) => import("@emotion/react/
|
|
13
|
+
declare const ButlerWithAnimation: (props: Omit<Props, 'classNameShakeAnimation'>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
14
|
export default ButlerWithAnimation;
|
|
@@ -7,7 +7,7 @@ type Props = {
|
|
|
7
7
|
onMouseEnter: MouseEventHandler<HTMLDivElement>;
|
|
8
8
|
};
|
|
9
9
|
declare const ButlerCommand: {
|
|
10
|
-
(props: Props): import("@emotion/react/
|
|
10
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
13
13
|
export default ButlerCommand;
|
|
@@ -2,7 +2,7 @@ type TQuickAccessProps = {
|
|
|
2
2
|
onChangeProjectDataLocale?: (locale: string) => void;
|
|
3
3
|
};
|
|
4
4
|
declare const QuickAccessTrigger: {
|
|
5
|
-
(props: TQuickAccessProps): import("@emotion/react/
|
|
5
|
+
(props: TQuickAccessProps): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
8
8
|
export default QuickAccessTrigger;
|
|
@@ -6,7 +6,7 @@ type Props = {
|
|
|
6
6
|
onChangeProjectDataLocale?: (locale: string) => void;
|
|
7
7
|
};
|
|
8
8
|
declare const QuickAccess: {
|
|
9
|
-
(props: Props): import("@emotion/react/
|
|
9
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
export default QuickAccess;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const RedirectToLogout: import("react").LazyExoticComponent<(props: {
|
|
3
3
|
reason?: "user" | "unauthorized" | "invalid" | "deleted" | "no-projects" | undefined;
|
|
4
|
-
}) => import("@emotion/react/
|
|
4
|
+
}) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default RedirectToLogout;
|
|
@@ -2,5 +2,5 @@ import { LOGOUT_REASONS } from '@commercetools-frontend/constants';
|
|
|
2
2
|
type Props = {
|
|
3
3
|
reason?: (typeof LOGOUT_REASONS)[keyof typeof LOGOUT_REASONS];
|
|
4
4
|
};
|
|
5
|
-
declare const RedirectToLogout: (props: Props) => import("@emotion/react/
|
|
5
|
+
declare const RedirectToLogout: (props: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default RedirectToLogout;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const RedirectToProjectCreate: import("react").LazyExoticComponent<{
|
|
3
|
-
(): import("@emotion/react/
|
|
3
|
+
(): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
4
4
|
displayName: string;
|
|
5
5
|
}>;
|
|
6
6
|
export default RedirectToProjectCreate;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const RouteCatchAll: import("react").LazyExoticComponent<() => import("@emotion/react/
|
|
2
|
+
declare const RouteCatchAll: import("react").LazyExoticComponent<() => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
3
3
|
export default RouteCatchAll;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const RouteCatchAll: () => import("@emotion/react/
|
|
1
|
+
declare const RouteCatchAll: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default RouteCatchAll;
|
package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ type TSetupFlopFlipProviderProps = {
|
|
|
11
11
|
shouldDeferAdapterConfiguration?: boolean;
|
|
12
12
|
};
|
|
13
13
|
export declare const SetupFlopFlipProvider: {
|
|
14
|
-
(props: TSetupFlopFlipProviderProps): import("@emotion/react/
|
|
14
|
+
(props: TSetupFlopFlipProviderProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
15
15
|
displayName: string;
|
|
16
16
|
};
|
|
17
17
|
export default SetupFlopFlipProvider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type RouteProps } from 'react-router-dom';
|
|
2
2
|
declare const SuspendedRoute: {
|
|
3
|
-
(props: RouteProps): import("@emotion/react/
|
|
3
|
+
(props: RouteProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default SuspendedRoute;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const ThemeSwitcher: () => import("@emotion/react/
|
|
1
|
+
declare const ThemeSwitcher: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default ThemeSwitcher;
|
|
@@ -6,7 +6,7 @@ declare const UserSettingsMenu: import("react").LazyExoticComponent<{
|
|
|
6
6
|
email: string;
|
|
7
7
|
language: string;
|
|
8
8
|
gravatarHash: string;
|
|
9
|
-
}): import("@emotion/react/
|
|
9
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
}>;
|
|
12
12
|
export default UserSettingsMenu;
|
|
@@ -5,15 +5,15 @@ type MenuBodyProps = Props & {
|
|
|
5
5
|
downshiftProps: ControllerStateAndHelpers<{}>;
|
|
6
6
|
};
|
|
7
7
|
declare const UserAvatar: {
|
|
8
|
-
(props: Pick<Props, 'firstName' | 'lastName' | 'gravatarHash'>): import("@emotion/react/
|
|
8
|
+
(props: Pick<Props, 'firstName' | 'lastName' | 'gravatarHash'>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
declare const UserSettingsMenuBody: {
|
|
12
|
-
(props: MenuBodyProps): import("@emotion/react/
|
|
12
|
+
(props: MenuBodyProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
declare const UserSettingsMenu: {
|
|
16
|
-
(props: Props): import("@emotion/react/
|
|
16
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
export default UserSettingsMenu;
|
|
@@ -57,7 +57,7 @@ const excludeFirstOccurrence = (list, item) => {
|
|
|
57
57
|
const index = _indexOfInstanceProperty__default["default"](list).call(list, item);
|
|
58
58
|
return [..._sliceInstanceProperty__default["default"](list).call(list, 0, index), ..._sliceInstanceProperty__default["default"](list).call(list, index + 1)];
|
|
59
59
|
};
|
|
60
|
-
var requestsInFlightReducer = (
|
|
60
|
+
var requestsInFlightReducer = (requestsInFlight, action) => {
|
|
61
61
|
if (!requestsInFlight || !action) return [];
|
|
62
62
|
if (isShowRequestInFlightAction(action)) return [...requestsInFlight, action.payload];
|
|
63
63
|
if (isHideRequestInFlightAction(action)) {
|
|
@@ -69,7 +69,7 @@ var requestsInFlightReducer = ((requestsInFlight, action) => {
|
|
|
69
69
|
return excludeFirstOccurrence(requestsInFlight, action.payload);
|
|
70
70
|
}
|
|
71
71
|
return requestsInFlight;
|
|
72
|
-
}
|
|
72
|
+
};
|
|
73
73
|
|
|
74
74
|
const isAddNotificationErrorAction = action => {
|
|
75
75
|
const errorAction = action;
|
|
@@ -34,7 +34,7 @@ const excludeFirstOccurrence = (list, item) => {
|
|
|
34
34
|
const index = _indexOfInstanceProperty(list).call(list, item);
|
|
35
35
|
return [..._sliceInstanceProperty(list).call(list, 0, index), ..._sliceInstanceProperty(list).call(list, index + 1)];
|
|
36
36
|
};
|
|
37
|
-
var requestsInFlightReducer = (
|
|
37
|
+
var requestsInFlightReducer = (requestsInFlight, action) => {
|
|
38
38
|
if (!requestsInFlight || !action) return [];
|
|
39
39
|
if (isShowRequestInFlightAction(action)) return [...requestsInFlight, action.payload];
|
|
40
40
|
if (isHideRequestInFlightAction(action)) {
|
|
@@ -46,7 +46,7 @@ var requestsInFlightReducer = ((requestsInFlight, action) => {
|
|
|
46
46
|
return excludeFirstOccurrence(requestsInFlight, action.payload);
|
|
47
47
|
}
|
|
48
48
|
return requestsInFlight;
|
|
49
|
-
}
|
|
49
|
+
};
|
|
50
50
|
|
|
51
51
|
const isAddNotificationErrorAction = action => {
|
|
52
52
|
const errorAction = action;
|
|
@@ -57,7 +57,7 @@ const excludeFirstOccurrence = (list, item) => {
|
|
|
57
57
|
const index = _indexOfInstanceProperty__default["default"](list).call(list, item);
|
|
58
58
|
return [..._sliceInstanceProperty__default["default"](list).call(list, 0, index), ..._sliceInstanceProperty__default["default"](list).call(list, index + 1)];
|
|
59
59
|
};
|
|
60
|
-
var requestsInFlightReducer = (
|
|
60
|
+
var requestsInFlightReducer = (requestsInFlight, action) => {
|
|
61
61
|
if (!requestsInFlight || !action) return [];
|
|
62
62
|
if (isShowRequestInFlightAction(action)) return [...requestsInFlight, action.payload];
|
|
63
63
|
if (isHideRequestInFlightAction(action)) {
|
|
@@ -69,7 +69,7 @@ var requestsInFlightReducer = ((requestsInFlight, action) => {
|
|
|
69
69
|
return excludeFirstOccurrence(requestsInFlight, action.payload);
|
|
70
70
|
}
|
|
71
71
|
return requestsInFlight;
|
|
72
|
-
}
|
|
72
|
+
};
|
|
73
73
|
|
|
74
74
|
const isAddNotificationErrorAction = action => {
|
|
75
75
|
const errorAction = action;
|