profinansy-ui-lib 4.0.73 → 4.0.74
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/components/blocks/headerV2/components/Burger/Burger.d.ts +2 -1
- package/dist/components/blocks/headerV2/components/Burger/components/Menu/Menu.d.ts +2 -1
- package/dist/components/blocks/headerV2/components/HeaderRight/HeaderRight.d.ts +2 -1
- package/dist/components/blocks/headerV2/components/LinksList/LinksList.d.ts +2 -1
- package/dist/components/blocks/headerV2/components/userMenu/UserMenuDesktop.d.ts +2 -1
- package/dist/components/blocks/headerV2/components/userMenu/UserMenuMobile.d.ts +2 -1
- package/dist/components/blocks/headerV2/components/userMenu/userMenu.d.ts +2 -1
- package/dist/components/blocks/headerV2/components/versions/HeaderDesktop.d.ts +2 -1
- package/dist/components/blocks/headerV2/components/versions/HeaderMobile.d.ts +2 -1
- package/dist/components/blocks/headerV2/contstants/linksV2.d.ts +1 -1
- package/dist/components/blocks/headerV2/headerV2.util.d.ts +3 -0
- package/dist/components/blocks/sideMenuV2/SideMenuV2.d.ts +1 -1
- package/dist/components/blocks/sideMenuV2/SideModalV2.const.d.ts +1 -1
- package/dist/components/blocks/sideMenuV2/SideModalV2.typed.d.ts +1 -0
- package/dist/profinansy-ui-lib.cjs.js +625 -625
- package/dist/profinansy-ui-lib.cjs.js.map +1 -1
- package/dist/profinansy-ui-lib.es.js +3942 -3885
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/urls/productsV2/about/about.d.ts +22 -4
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
interface IProps {
|
|
2
2
|
isLeaderboardPermission: boolean;
|
|
3
|
+
isEmployee?: boolean;
|
|
3
4
|
}
|
|
4
|
-
declare const Burger: ({ isLeaderboardPermission }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const Burger: ({ isLeaderboardPermission, isEmployee }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export { Burger };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
interface IProps {
|
|
2
2
|
isLeaderboardPermission: boolean;
|
|
3
3
|
isOpenSearch: boolean;
|
|
4
|
+
isEmployee?: boolean;
|
|
4
5
|
}
|
|
5
|
-
declare const BurgerMenu: ({ isLeaderboardPermission, isOpenSearch }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const BurgerMenu: ({ isLeaderboardPermission, isOpenSearch, isEmployee }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export { BurgerMenu };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
interface IProps {
|
|
2
2
|
isPossibleTrial: boolean;
|
|
3
3
|
onLogout: () => void;
|
|
4
|
+
isEmployee?: boolean;
|
|
4
5
|
}
|
|
5
|
-
declare const HeaderRight: ({ isPossibleTrial, onLogout }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const HeaderRight: ({ isPossibleTrial, onLogout, isEmployee }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export { HeaderRight };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
interface IProps {
|
|
2
2
|
leaderBoardPermission: boolean;
|
|
3
3
|
isOpenSearch: boolean;
|
|
4
|
+
isEmployee?: boolean;
|
|
4
5
|
}
|
|
5
|
-
declare const LinksList: ({ leaderBoardPermission, isOpenSearch }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const LinksList: ({ leaderBoardPermission, isOpenSearch, isEmployee }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export { LinksList };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
interface IProps {
|
|
2
2
|
isPossibleTrial: boolean;
|
|
3
3
|
onLogout: () => void;
|
|
4
|
+
isEmployee?: boolean;
|
|
4
5
|
}
|
|
5
|
-
export declare const UserMenuDesktop: ({ isPossibleTrial, onLogout }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const UserMenuDesktop: ({ isPossibleTrial, onLogout, isEmployee }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
interface IProps {
|
|
2
2
|
onLogout: () => void;
|
|
3
|
+
isEmployee?: boolean;
|
|
3
4
|
}
|
|
4
|
-
declare const UserMenuMobile: ({ onLogout }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const UserMenuMobile: ({ onLogout, isEmployee }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export { UserMenuMobile };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
interface IProps {
|
|
2
2
|
onLogout: () => void;
|
|
3
3
|
isPossibleTrial: boolean;
|
|
4
|
+
isEmployee?: boolean;
|
|
4
5
|
}
|
|
5
|
-
export declare const UserMenu: ({ onLogout, isPossibleTrial }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const UserMenu: ({ onLogout, isPossibleTrial, isEmployee }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -2,6 +2,7 @@ interface IProps {
|
|
|
2
2
|
leaderBoardPermission: boolean;
|
|
3
3
|
isPossibleTrial: boolean;
|
|
4
4
|
onLogout: () => void;
|
|
5
|
+
isEmployee?: boolean;
|
|
5
6
|
}
|
|
6
|
-
declare const HeaderDesktop: ({ leaderBoardPermission, isPossibleTrial, onLogout }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const HeaderDesktop: ({ leaderBoardPermission, isPossibleTrial, onLogout, isEmployee }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export { HeaderDesktop };
|
|
@@ -2,6 +2,7 @@ interface IProps {
|
|
|
2
2
|
leaderBoardPermission: boolean;
|
|
3
3
|
isPossibleTrial: boolean;
|
|
4
4
|
onLogout: () => void;
|
|
5
|
+
isEmployee?: boolean;
|
|
5
6
|
}
|
|
6
|
-
declare const HeaderMobile: ({ leaderBoardPermission, isPossibleTrial, onLogout }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const HeaderMobile: ({ leaderBoardPermission, isPossibleTrial, onLogout, isEmployee }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export { HeaderMobile };
|
|
@@ -46,4 +46,4 @@ export type THeaderLinksV2 = {
|
|
|
46
46
|
href?: string;
|
|
47
47
|
config: HeaderDropdownConfig;
|
|
48
48
|
};
|
|
49
|
-
export declare const useGetMainLinksV2: (hostname: string, hostnameLenta: string, hostnameLMS: string, leaderBoardPermission: boolean, userRole: UserRole, userType: number, isMobile?: boolean) => THeaderLinksV2[];
|
|
49
|
+
export declare const useGetMainLinksV2: (hostname: string, hostnameLenta: string, hostnameLMS: string, leaderBoardPermission: boolean, userRole: UserRole, userType: number, isMobile?: boolean, isEmployee?: boolean) => THeaderLinksV2[];
|
|
@@ -4,3 +4,6 @@ export declare const getTrial: (rights: Record<string, number | string>, purchas
|
|
|
4
4
|
isPossibleTrial: any;
|
|
5
5
|
};
|
|
6
6
|
export declare const getDropdownsLinksColor: (theme: TTheme, isActive: boolean, isLocked: boolean) => string;
|
|
7
|
+
export declare const getEmployee: (rights: Record<string, number | string>) => {
|
|
8
|
+
isEmployee: boolean;
|
|
9
|
+
};
|
|
@@ -5,5 +5,5 @@ export declare const SideMenuV2Context: React.Context<{
|
|
|
5
5
|
setShowQuiz: any;
|
|
6
6
|
LinkWrapper: any;
|
|
7
7
|
}>;
|
|
8
|
-
declare const SideMenuV2: ({ banners, category, isLeaderboardPermission, userRole, apiSettings, footerSlot, LinkWrapper, isBurgerMode, excludePages, isHoverMode }: ISideModal) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const SideMenuV2: ({ banners, category, isLeaderboardPermission, userRole, apiSettings, footerSlot, LinkWrapper, isBurgerMode, excludePages, isHoverMode, isEmployee }: ISideModal) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export { SideMenuV2 };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TSideMenuCategory } from './SideModalV2.typed';
|
|
2
2
|
import { UserRole } from '../../../common.types';
|
|
3
|
-
export declare const getSideMenuData: (category: TSideMenuCategory, hostname: string, hostnameLenta: string, hostnameLMS: string, userRole: UserRole, isLeaderboardPermission: boolean) => any;
|
|
3
|
+
export declare const getSideMenuData: (category: TSideMenuCategory, hostname: string, hostnameLenta: string, hostnameLMS: string, userRole: UserRole, isLeaderboardPermission: boolean, isEmployee?: boolean) => any;
|