@lokalise/harmony 1.40.2 → 1.40.3-exp-epic2x.2
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/harmony.css +110 -317
- package/dist/harmony100.cjs +9 -10
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +11 -12
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +20 -11
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +20 -11
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +99 -6
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +81 -5
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +14 -9
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +13 -8
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +21 -10
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +20 -9
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +85 -55
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +85 -55
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +29 -41
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +29 -41
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +10 -6
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +9 -5
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +12 -9
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +11 -8
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +15 -24
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +14 -23
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +19 -6
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +18 -5
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +7 -18
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +9 -20
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +27 -12
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +26 -11
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +10 -12
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +10 -12
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +38 -18
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +38 -18
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +11 -98
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +11 -81
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +19 -84
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +19 -84
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +35 -29
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +35 -29
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony119.cjs +20 -5
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +20 -5
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +6 -132
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +5 -131
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +12 -9
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +12 -9
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +6 -6
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +5 -5
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +6 -41
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +5 -40
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +96 -60
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +96 -60
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +13 -7
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +13 -7
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +15 -7
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +14 -6
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +37 -6
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +36 -5
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +29 -6
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +28 -5
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony130.cjs +10 -63
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +9 -62
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +6 -88
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +5 -87
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +6 -15
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +6 -15
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +25 -97
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +24 -96
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +7 -14
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +6 -13
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +13 -15
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +12 -14
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +7 -37
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +6 -36
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +12 -27
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +12 -27
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony138.cjs +14 -12
- package/dist/harmony138.cjs.map +1 -1
- package/dist/harmony138.mjs +14 -12
- package/dist/harmony138.mjs.map +1 -1
- package/dist/harmony139.cjs +14 -13
- package/dist/harmony139.cjs.map +1 -1
- package/dist/harmony139.mjs +14 -13
- package/dist/harmony139.mjs.map +1 -1
- package/dist/harmony14.cjs +1 -1
- package/dist/harmony14.mjs +1 -1
- package/dist/harmony140.cjs +10 -15
- package/dist/harmony140.cjs.map +1 -1
- package/dist/harmony140.mjs +10 -15
- package/dist/harmony140.mjs.map +1 -1
- package/dist/harmony141.cjs +16 -7
- package/dist/harmony141.cjs.map +1 -1
- package/dist/harmony141.mjs +16 -7
- package/dist/harmony141.mjs.map +1 -1
- package/dist/harmony142.cjs +20 -56
- package/dist/harmony142.cjs.map +1 -1
- package/dist/harmony142.mjs +20 -56
- package/dist/harmony142.mjs.map +1 -1
- package/dist/harmony143.cjs +11 -59
- package/dist/harmony143.cjs.map +1 -1
- package/dist/harmony143.mjs +11 -59
- package/dist/harmony143.mjs.map +1 -1
- package/dist/harmony144.cjs +7 -19
- package/dist/harmony144.cjs.map +1 -1
- package/dist/harmony144.mjs +6 -18
- package/dist/harmony144.mjs.map +1 -1
- package/dist/harmony145.cjs +11 -10
- package/dist/harmony145.cjs.map +1 -1
- package/dist/harmony145.mjs +11 -10
- package/dist/harmony145.mjs.map +1 -1
- package/dist/harmony146.cjs +29 -13
- package/dist/harmony146.cjs.map +1 -1
- package/dist/harmony146.mjs +29 -13
- package/dist/harmony146.mjs.map +1 -1
- package/dist/harmony147.cjs +12 -19
- package/dist/harmony147.cjs.map +1 -1
- package/dist/harmony147.mjs +12 -19
- package/dist/harmony147.mjs.map +1 -1
- package/dist/harmony17.cjs +1 -1
- package/dist/harmony17.mjs +1 -1
- package/dist/harmony25.cjs +1 -1
- package/dist/harmony25.mjs +1 -1
- package/dist/harmony26.cjs +1 -1
- package/dist/harmony26.mjs +1 -1
- package/dist/harmony4.cjs +5 -24
- package/dist/harmony4.cjs.map +1 -1
- package/dist/harmony4.mjs +5 -24
- package/dist/harmony4.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony6.cjs +3 -3
- package/dist/harmony6.mjs +3 -3
- package/dist/harmony7.cjs +1 -1
- package/dist/harmony7.mjs +1 -1
- package/dist/harmony75.cjs +1 -1
- package/dist/harmony75.mjs +1 -1
- package/dist/harmony76.cjs +39 -6
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +38 -5
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +36 -8
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +37 -9
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +9 -18
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +8 -17
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +6 -21
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +8 -23
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony8.cjs +5 -5
- package/dist/harmony8.mjs +5 -5
- package/dist/harmony80.cjs +28 -4
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +28 -4
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +3 -32
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +3 -32
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +30 -29
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +31 -30
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +43 -19
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +43 -19
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +27 -29
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +27 -29
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +64 -57
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +64 -57
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +15 -9
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +14 -8
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +3 -8
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +3 -8
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +163 -26
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +164 -27
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +44 -3
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +44 -3
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +9 -30
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +11 -32
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +13 -44
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +12 -43
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +2 -28
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +3 -29
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +15 -63
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +15 -63
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +74 -13
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +75 -14
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +12 -3
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +12 -3
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +30 -11
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +30 -11
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +10 -22
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +9 -21
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +44 -163
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +44 -163
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +9 -44
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +8 -43
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/components/Sidebar/Sidebar.d.ts +15 -49
- package/dist/types/src/components/Sidebar/SidebarContent/SidebarContent.d.ts +7 -0
- package/dist/types/src/components/Sidebar/SidebarContext.d.ts +3 -0
- package/dist/types/src/components/Sidebar/SidebarProvider.d.ts +3 -0
- package/dist/types/src/components/Sidebar/Widgets/Avatar/Avatar.d.ts +5 -0
- package/dist/types/src/components/Sidebar/Widgets/HelpMenu/HelpMenu.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/HelpMenu/HelpMenu.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/IconLink/IconLink.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/Menu/Menu.d.ts +3 -2
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/BillingMenuItem/BillingMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeam/CreateNewTeam.d.ts +17 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeam/CreateNewTeam.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeamPlaceholder/CreateNewTeamPlaceholder.d.ts +17 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeamPlaceholder/CreateNewTeamPlaceholder.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/DarkModeToggle/DarkModeToggle.d.ts +18 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenu.d.ts +11 -24
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenu.stories.d.ts +3 -5
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileSettingsMenuItem/ProfileSettingsMenuItem.d.ts +10 -35
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileSettingsMenuItem/ProfileSettingsMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProviderMenuItem/ProviderMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProviderMenuItem/ProviderMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamMenuItem/TeamMenuItem.d.ts +1 -3
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamMenuItem/TeamMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSettingsMenuItem/TeamSettingsMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSettingsMenuItem/TeamSettingsMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSwitch/TeamSwitch.d.ts +5 -7
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSwitch/TeamSwitch.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/UpgradeMenuItem/UpgradeMenuItem.d.ts +6 -9
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/UpgradeMenuItem/UpgradeMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/Tasks/utils/content.d.ts +4 -0
- package/dist/types/src/components/Sidebar/hooks/useSidebar.d.ts +1 -0
- package/dist/types/src/components/Sidebar/hooks/useSidebarDataLoader.d.ts +5 -0
- package/dist/types/src/components/Sidebar/types.d.ts +70 -0
- package/dist/types/src/features/auth/core/types/jwtTokenPayload.d.ts +16 -10
- package/dist/types/src/features/auth/core/types/jwtTokenPayload.fixture.d.ts +15 -11
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedSessionPayload.d.ts +7 -5
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedUser.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +3 -3
- package/dist/types/src/features/publicApi/hooks/useGetTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +2 -2
- package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/permissionTemplates.d.ts +8 -8
- package/dist/types/src/features/publicApi/projects.d.ts +12 -12
- package/dist/types/src/features/publicApi/teamUsers.d.ts +8 -8
- package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +12 -12
- package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +2 -2
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +18 -18
- package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +10 -10
- package/dist/types/src/utils/user/permissions.d.ts +9 -0
- package/dist/types/src/utils/user/permissions.test.d.ts +1 -0
- package/dist/types/tests/mocks/sidebar/sidebar.d.ts +14 -0
- package/dist/types/tests/utils/sidebar.d.ts +4 -0
- package/package.json +1 -1
- package/dist/harmony148.cjs +0 -15
- package/dist/harmony148.cjs.map +0 -1
- package/dist/harmony148.mjs +0 -15
- package/dist/harmony148.mjs.map +0 -1
- package/dist/harmony149.cjs +0 -9
- package/dist/harmony149.cjs.map +0 -1
- package/dist/harmony149.mjs +0 -9
- package/dist/harmony149.mjs.map +0 -1
- package/dist/harmony150.cjs +0 -15
- package/dist/harmony150.cjs.map +0 -1
- package/dist/harmony150.mjs +0 -15
- package/dist/harmony150.mjs.map +0 -1
- package/dist/harmony151.cjs +0 -35
- package/dist/harmony151.cjs.map +0 -1
- package/dist/harmony151.mjs +0 -35
- package/dist/harmony151.mjs.map +0 -1
- package/dist/harmony152.cjs +0 -17
- package/dist/harmony152.cjs.map +0 -1
- package/dist/harmony152.mjs +0 -17
- package/dist/harmony152.mjs.map +0 -1
- package/dist/harmony153.cjs +0 -49
- package/dist/harmony153.cjs.map +0 -1
- package/dist/harmony153.mjs +0 -49
- package/dist/harmony153.mjs.map +0 -1
- package/dist/harmony154.cjs +0 -15
- package/dist/harmony154.cjs.map +0 -1
- package/dist/harmony154.mjs +0 -15
- package/dist/harmony154.mjs.map +0 -1
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuContent.d.ts +0 -6
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuContext.d.ts +0 -3
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuProvider.d.ts +0 -7
- package/dist/types/src/components/Sidebar/utils/index.d.ts +0 -4
- /package/dist/types/src/components/Sidebar/Widgets/{ProfileMenu/ProfileMenu.test.d.ts → Avatar/Avatar.test.d.ts} +0 -0
- /package/dist/types/src/components/Sidebar/{UpgradeIcon → Widgets/ProfileMenu/UpgradeIcon}/UpgradeIcon.d.ts +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { SidebarConfig, SidebarDataItem, SidebarTeam, SidebarTeamExtended } from '../../../src/components/Sidebar/types';
|
2
|
+
import { JwtTokenPayload } from '../../../src/features/auth/core/types/jwtTokenPayload';
|
3
|
+
import { DeepPartial } from '../../../src/utils/testing/deepOverride';
|
4
|
+
export declare const buildLoaderData: <T>(result: T, statusOverrides?: Partial<Pick<SidebarDataItem<T>, "loading" | "error">>) => SidebarDataItem<T>;
|
5
|
+
export declare const createValidJwt: (overrides?: Partial<JwtTokenPayload>) => JwtTokenPayload;
|
6
|
+
export declare const createValidSidebarConfig: (overrides?: DeepPartial<SidebarConfig>) => SidebarConfig;
|
7
|
+
type DataResults = {
|
8
|
+
jwt: JwtTokenPayload | null;
|
9
|
+
currentTeam: SidebarTeamExtended | null;
|
10
|
+
userTeams: SidebarTeam[] | null;
|
11
|
+
otherTeams: SidebarTeam[];
|
12
|
+
};
|
13
|
+
export declare const getDataResultsFromConfig: (config: SidebarConfig) => DataResults;
|
14
|
+
export {};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { SidebarContentProps } from '../../src/components/Sidebar/SidebarContent/SidebarContent';
|
2
|
+
import { SidebarConfig } from '../../src/components/Sidebar/types';
|
3
|
+
export declare const renderOpenedProfileMenu: (config: SidebarConfig, children?: SidebarContentProps["children"]) => Promise<void>;
|
4
|
+
export declare const ensurePayloadExist: <T>(payload: T | null | undefined) => void;
|
package/package.json
CHANGED
package/dist/harmony148.cjs
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
var isObjectLike_1;
|
4
|
-
var hasRequiredIsObjectLike;
|
5
|
-
function requireIsObjectLike() {
|
6
|
-
if (hasRequiredIsObjectLike) return isObjectLike_1;
|
7
|
-
hasRequiredIsObjectLike = 1;
|
8
|
-
function isObjectLike(value) {
|
9
|
-
return value != null && typeof value == "object";
|
10
|
-
}
|
11
|
-
isObjectLike_1 = isObjectLike;
|
12
|
-
return isObjectLike_1;
|
13
|
-
}
|
14
|
-
exports.__require = requireIsObjectLike;
|
15
|
-
//# sourceMappingURL=harmony148.cjs.map
|
package/dist/harmony148.cjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony148.cjs","sources":["../node_modules/lodash/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n"],"names":[],"mappings":";;;;;;;AAwBA,WAAS,aAAa,OAAO;AAC3B,WAAO,SAAS,QAAQ,OAAO,SAAS;AAAA,EAC1C;AAEA,mBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony148.mjs
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
var isObjectLike_1;
|
2
|
-
var hasRequiredIsObjectLike;
|
3
|
-
function requireIsObjectLike() {
|
4
|
-
if (hasRequiredIsObjectLike) return isObjectLike_1;
|
5
|
-
hasRequiredIsObjectLike = 1;
|
6
|
-
function isObjectLike(value) {
|
7
|
-
return value != null && typeof value == "object";
|
8
|
-
}
|
9
|
-
isObjectLike_1 = isObjectLike;
|
10
|
-
return isObjectLike_1;
|
11
|
-
}
|
12
|
-
export {
|
13
|
-
requireIsObjectLike as __require
|
14
|
-
};
|
15
|
-
//# sourceMappingURL=harmony148.mjs.map
|
package/dist/harmony148.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony148.mjs","sources":["../node_modules/lodash/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n"],"names":[],"mappings":";;;;;AAwBA,WAAS,aAAa,OAAO;AAC3B,WAAO,SAAS,QAAQ,OAAO,SAAS;AAAA,EAC1C;AAEA,mBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony149.cjs
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
4
|
-
function getDefaultExportFromCjs(x) {
|
5
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
6
|
-
}
|
7
|
-
exports.commonjsGlobal = commonjsGlobal;
|
8
|
-
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
9
|
-
//# sourceMappingURL=harmony149.cjs.map
|
package/dist/harmony149.cjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony149.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony149.mjs
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
2
|
-
function getDefaultExportFromCjs(x) {
|
3
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
4
|
-
}
|
5
|
-
export {
|
6
|
-
commonjsGlobal,
|
7
|
-
getDefaultExportFromCjs
|
8
|
-
};
|
9
|
-
//# sourceMappingURL=harmony149.mjs.map
|
package/dist/harmony149.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony149.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony150.cjs
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const _root = require("./harmony138.cjs");
|
4
|
-
var _Symbol;
|
5
|
-
var hasRequired_Symbol;
|
6
|
-
function require_Symbol() {
|
7
|
-
if (hasRequired_Symbol) return _Symbol;
|
8
|
-
hasRequired_Symbol = 1;
|
9
|
-
var root = _root.__require();
|
10
|
-
var Symbol2 = root.Symbol;
|
11
|
-
_Symbol = Symbol2;
|
12
|
-
return _Symbol;
|
13
|
-
}
|
14
|
-
exports.__require = require_Symbol;
|
15
|
-
//# sourceMappingURL=harmony150.cjs.map
|
package/dist/harmony150.cjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony150.cjs","sources":["../node_modules/lodash/_Symbol.js"],"sourcesContent":["var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n"],"names":["require$$0","Symbol"],"mappings":";;;;;;;;AAAA,MAAI,OAAOA,MAAAA,UAAkB;AAG7B,MAAIC,UAAS,KAAK;AAElB,YAAiBA;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony150.mjs
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
import { __require as require_root } from "./harmony138.mjs";
|
2
|
-
var _Symbol;
|
3
|
-
var hasRequired_Symbol;
|
4
|
-
function require_Symbol() {
|
5
|
-
if (hasRequired_Symbol) return _Symbol;
|
6
|
-
hasRequired_Symbol = 1;
|
7
|
-
var root = require_root();
|
8
|
-
var Symbol = root.Symbol;
|
9
|
-
_Symbol = Symbol;
|
10
|
-
return _Symbol;
|
11
|
-
}
|
12
|
-
export {
|
13
|
-
require_Symbol as __require
|
14
|
-
};
|
15
|
-
//# sourceMappingURL=harmony150.mjs.map
|
package/dist/harmony150.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony150.mjs","sources":["../node_modules/lodash/_Symbol.js"],"sourcesContent":["var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n"],"names":["require$$0"],"mappings":";;;;;;AAAA,MAAI,OAAOA,aAAkB;AAG7B,MAAI,SAAS,KAAK;AAElB,YAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony151.cjs
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const _Symbol = require("./harmony150.cjs");
|
4
|
-
var _getRawTag;
|
5
|
-
var hasRequired_getRawTag;
|
6
|
-
function require_getRawTag() {
|
7
|
-
if (hasRequired_getRawTag) return _getRawTag;
|
8
|
-
hasRequired_getRawTag = 1;
|
9
|
-
var Symbol2 = _Symbol.__require();
|
10
|
-
var objectProto = Object.prototype;
|
11
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
12
|
-
var nativeObjectToString = objectProto.toString;
|
13
|
-
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
14
|
-
function getRawTag(value) {
|
15
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
|
16
|
-
try {
|
17
|
-
value[symToStringTag] = void 0;
|
18
|
-
var unmasked = true;
|
19
|
-
} catch (e) {
|
20
|
-
}
|
21
|
-
var result = nativeObjectToString.call(value);
|
22
|
-
if (unmasked) {
|
23
|
-
if (isOwn) {
|
24
|
-
value[symToStringTag] = tag;
|
25
|
-
} else {
|
26
|
-
delete value[symToStringTag];
|
27
|
-
}
|
28
|
-
}
|
29
|
-
return result;
|
30
|
-
}
|
31
|
-
_getRawTag = getRawTag;
|
32
|
-
return _getRawTag;
|
33
|
-
}
|
34
|
-
exports.__require = require_getRawTag;
|
35
|
-
//# sourceMappingURL=harmony151.cjs.map
|
package/dist/harmony151.cjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony151.cjs","sources":["../node_modules/lodash/_getRawTag.js"],"sourcesContent":["var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n"],"names":["Symbol","require$$0"],"mappings":";;;;;;;;AAAA,MAAIA,UAASC,QAAAA,UAAoB;AAGjC,MAAI,cAAc,OAAO;AAGzB,MAAI,iBAAiB,YAAY;AAOjC,MAAI,uBAAuB,YAAY;AAGvC,MAAI,iBAAiBD,UAASA,QAAO,cAAc;AASnD,WAAS,UAAU,OAAO;AACxB,QAAI,QAAQ,eAAe,KAAK,OAAO,cAAc,GACjD,MAAM,MAAM,cAAc;AAE9B,QAAI;AACF,YAAM,cAAc,IAAI;AACxB,UAAI,WAAW;AAAA,IAChB,SAAQ,GAAG;AAAA,IAAA;AAEZ,QAAI,SAAS,qBAAqB,KAAK,KAAK;AAC5C,QAAI,UAAU;AACZ,UAAI,OAAO;AACT,cAAM,cAAc,IAAI;AAAA,MAC9B,OAAW;AACL,eAAO,MAAM,cAAc;AAAA,MACjC;AAAA,IACA;AACE,WAAO;AAAA,EACT;AAEA,eAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony151.mjs
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
import { __require as require_Symbol } from "./harmony150.mjs";
|
2
|
-
var _getRawTag;
|
3
|
-
var hasRequired_getRawTag;
|
4
|
-
function require_getRawTag() {
|
5
|
-
if (hasRequired_getRawTag) return _getRawTag;
|
6
|
-
hasRequired_getRawTag = 1;
|
7
|
-
var Symbol = require_Symbol();
|
8
|
-
var objectProto = Object.prototype;
|
9
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
10
|
-
var nativeObjectToString = objectProto.toString;
|
11
|
-
var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
|
12
|
-
function getRawTag(value) {
|
13
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
|
14
|
-
try {
|
15
|
-
value[symToStringTag] = void 0;
|
16
|
-
var unmasked = true;
|
17
|
-
} catch (e) {
|
18
|
-
}
|
19
|
-
var result = nativeObjectToString.call(value);
|
20
|
-
if (unmasked) {
|
21
|
-
if (isOwn) {
|
22
|
-
value[symToStringTag] = tag;
|
23
|
-
} else {
|
24
|
-
delete value[symToStringTag];
|
25
|
-
}
|
26
|
-
}
|
27
|
-
return result;
|
28
|
-
}
|
29
|
-
_getRawTag = getRawTag;
|
30
|
-
return _getRawTag;
|
31
|
-
}
|
32
|
-
export {
|
33
|
-
require_getRawTag as __require
|
34
|
-
};
|
35
|
-
//# sourceMappingURL=harmony151.mjs.map
|
package/dist/harmony151.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony151.mjs","sources":["../node_modules/lodash/_getRawTag.js"],"sourcesContent":["var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n"],"names":["require$$0"],"mappings":";;;;;;AAAA,MAAI,SAASA,eAAoB;AAGjC,MAAI,cAAc,OAAO;AAGzB,MAAI,iBAAiB,YAAY;AAOjC,MAAI,uBAAuB,YAAY;AAGvC,MAAI,iBAAiB,SAAS,OAAO,cAAc;AASnD,WAAS,UAAU,OAAO;AACxB,QAAI,QAAQ,eAAe,KAAK,OAAO,cAAc,GACjD,MAAM,MAAM,cAAc;AAE9B,QAAI;AACF,YAAM,cAAc,IAAI;AACxB,UAAI,WAAW;AAAA,IAChB,SAAQ,GAAG;AAAA,IAAA;AAEZ,QAAI,SAAS,qBAAqB,KAAK,KAAK;AAC5C,QAAI,UAAU;AACZ,UAAI,OAAO;AACT,cAAM,cAAc,IAAI;AAAA,MAC9B,OAAW;AACL,eAAO,MAAM,cAAc;AAAA,MACjC;AAAA,IACA;AACE,WAAO;AAAA,EACT;AAEA,eAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony152.cjs
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
var _objectToString;
|
4
|
-
var hasRequired_objectToString;
|
5
|
-
function require_objectToString() {
|
6
|
-
if (hasRequired_objectToString) return _objectToString;
|
7
|
-
hasRequired_objectToString = 1;
|
8
|
-
var objectProto = Object.prototype;
|
9
|
-
var nativeObjectToString = objectProto.toString;
|
10
|
-
function objectToString(value) {
|
11
|
-
return nativeObjectToString.call(value);
|
12
|
-
}
|
13
|
-
_objectToString = objectToString;
|
14
|
-
return _objectToString;
|
15
|
-
}
|
16
|
-
exports.__require = require_objectToString;
|
17
|
-
//# sourceMappingURL=harmony152.cjs.map
|
package/dist/harmony152.cjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony152.cjs","sources":["../node_modules/lodash/_objectToString.js"],"sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n"],"names":[],"mappings":";;;;;;;AACA,MAAI,cAAc,OAAO;AAOzB,MAAI,uBAAuB,YAAY;AASvC,WAAS,eAAe,OAAO;AAC7B,WAAO,qBAAqB,KAAK,KAAK;AAAA,EACxC;AAEA,oBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony152.mjs
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
var _objectToString;
|
2
|
-
var hasRequired_objectToString;
|
3
|
-
function require_objectToString() {
|
4
|
-
if (hasRequired_objectToString) return _objectToString;
|
5
|
-
hasRequired_objectToString = 1;
|
6
|
-
var objectProto = Object.prototype;
|
7
|
-
var nativeObjectToString = objectProto.toString;
|
8
|
-
function objectToString(value) {
|
9
|
-
return nativeObjectToString.call(value);
|
10
|
-
}
|
11
|
-
_objectToString = objectToString;
|
12
|
-
return _objectToString;
|
13
|
-
}
|
14
|
-
export {
|
15
|
-
require_objectToString as __require
|
16
|
-
};
|
17
|
-
//# sourceMappingURL=harmony152.mjs.map
|
package/dist/harmony152.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony152.mjs","sources":["../node_modules/lodash/_objectToString.js"],"sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n"],"names":[],"mappings":";;;;;AACA,MAAI,cAAc,OAAO;AAOzB,MAAI,uBAAuB,YAAY;AASvC,WAAS,eAAe,OAAO;AAC7B,WAAO,qBAAqB,KAAK,KAAK;AAAA,EACxC;AAEA,oBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony153.cjs
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
4
|
-
const louis = require("@lokalise/louis");
|
5
|
-
const React = require("react");
|
6
|
-
const TasksContext = require("./harmony122.cjs");
|
7
|
-
const TaskLanguageCompleted = ({ task, language }) => {
|
8
|
-
const [loading, setLoading] = React.useState(false);
|
9
|
-
const [isMarkAsDonePromptShown, setIsMarkAsDonePromptShown] = React.useState(false);
|
10
|
-
const { onLanguageCompleteConfirm, fetchTasks } = TasksContext.useTasks();
|
11
|
-
const closePrompt = () => {
|
12
|
-
setIsMarkAsDonePromptShown(false);
|
13
|
-
};
|
14
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
15
|
-
isMarkAsDonePromptShown && /* @__PURE__ */ jsxRuntime.jsx(
|
16
|
-
louis.ConfirmModal,
|
17
|
-
{
|
18
|
-
opened: true,
|
19
|
-
loading,
|
20
|
-
title: `Are you finished with ${language.name}?`,
|
21
|
-
confirmText: "Mark as done",
|
22
|
-
closeText: "Cancel",
|
23
|
-
onClose: closePrompt,
|
24
|
-
onConfirm: async () => {
|
25
|
-
setLoading(true);
|
26
|
-
await onLanguageCompleteConfirm({ task, language, closePrompt });
|
27
|
-
fetchTasks();
|
28
|
-
},
|
29
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(louis.Alert, { status: "info", children: [
|
30
|
-
"Make sure you are finished and ",
|
31
|
-
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "mark it as done" }),
|
32
|
-
" to notify your team admin. This action cannot be undone, and the language might no longer be available for you to edit."
|
33
|
-
] })
|
34
|
-
}
|
35
|
-
),
|
36
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
37
|
-
louis.Link,
|
38
|
-
{
|
39
|
-
disabled: loading,
|
40
|
-
onClick: () => {
|
41
|
-
setIsMarkAsDonePromptShown(true);
|
42
|
-
},
|
43
|
-
children: "Mark as done"
|
44
|
-
}
|
45
|
-
)
|
46
|
-
] });
|
47
|
-
};
|
48
|
-
exports.TaskLanguageCompleted = TaskLanguageCompleted;
|
49
|
-
//# sourceMappingURL=harmony153.cjs.map
|
package/dist/harmony153.cjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony153.cjs","sources":["../src/components/Sidebar/Widgets/Tasks/TaskLanguageCompleted/TaskLanguageCompleted.tsx"],"sourcesContent":["import { Alert, ConfirmModal, Link } from '@lokalise/louis'\nimport { useState } from 'react'\nimport { useTasks } from '../TasksContext'\nimport type { SidebarTask, SidebarTaskLanguage } from '../types'\n\ntype TaskLanguageCompletedProps = {\n\ttask: SidebarTask\n\tlanguage: SidebarTaskLanguage\n}\n\nexport const TaskLanguageCompleted = ({ task, language }: TaskLanguageCompletedProps) => {\n\tconst [loading, setLoading] = useState(false)\n\n\tconst [isMarkAsDonePromptShown, setIsMarkAsDonePromptShown] = useState(false)\n\n\tconst { onLanguageCompleteConfirm, fetchTasks } = useTasks()\n\n\tconst closePrompt = () => {\n\t\tsetIsMarkAsDonePromptShown(false)\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t{isMarkAsDonePromptShown && (\n\t\t\t\t<ConfirmModal\n\t\t\t\t\topened\n\t\t\t\t\tloading={loading}\n\t\t\t\t\ttitle={`Are you finished with ${language.name}?`}\n\t\t\t\t\tconfirmText=\"Mark as done\"\n\t\t\t\t\tcloseText=\"Cancel\"\n\t\t\t\t\tonClose={closePrompt}\n\t\t\t\t\tonConfirm={async () => {\n\t\t\t\t\t\tsetLoading(true)\n\t\t\t\t\t\tawait onLanguageCompleteConfirm({ task, language, closePrompt })\n\t\t\t\t\t\tfetchTasks()\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<Alert status=\"info\">\n\t\t\t\t\t\tMake sure you are finished and <strong>mark it as done</strong> to notify your team\n\t\t\t\t\t\tadmin. This action cannot be undone, and the language might no longer be available for\n\t\t\t\t\t\tyou to edit.\n\t\t\t\t\t</Alert>\n\t\t\t\t</ConfirmModal>\n\t\t\t)}\n\t\t\t<Link\n\t\t\t\tdisabled={loading}\n\t\t\t\tonClick={() => {\n\t\t\t\t\tsetIsMarkAsDonePromptShown(true)\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\tMark as done\n\t\t\t</Link>\n\t\t</>\n\t)\n}\n"],"names":["useState","useTasks","jsxs","Fragment","jsx","ConfirmModal","Alert","Link"],"mappings":";;;;;;AAUO,MAAM,wBAAwB,CAAC,EAAE,MAAM,eAA2C;AACxF,QAAM,CAAC,SAAS,UAAU,IAAIA,MAAAA,SAAS,KAAK;AAE5C,QAAM,CAAC,yBAAyB,0BAA0B,IAAIA,MAAAA,SAAS,KAAK;AAE5E,QAAM,EAAE,2BAA2B,WAAW,IAAIC,sBAAS;AAE3D,QAAM,cAAc,MAAM;AACzB,+BAA2B,KAAK;AAAA,EACjC;AAEA,SAEGC,2BAAA,KAAAC,qBAAA,EAAA,UAAA;AAAA,IACA,2BAAAC,2BAAA;AAAA,MAACC,MAAA;AAAA,MAAA;AAAA,QACA,QAAM;AAAA,QACN;AAAA,QACA,OAAO,yBAAyB,SAAS,IAAI;AAAA,QAC7C,aAAY;AAAA,QACZ,WAAU;AAAA,QACV,SAAS;AAAA,QACT,WAAW,YAAY;AACtB,qBAAW,IAAI;AACf,gBAAM,0BAA0B,EAAE,MAAM,UAAU,aAAa;AACpD,qBAAA;AAAA,QACZ;AAAA,QAEA,UAAAH,2BAAA,KAACI,MAAM,OAAA,EAAA,QAAO,QAAO,UAAA;AAAA,UAAA;AAAA,UACWF,2BAAAA,IAAC,YAAO,UAAe,kBAAA,CAAA;AAAA,UAAS;AAAA,QAAA,EAGhE,CAAA;AAAA,MAAA;AAAA,IACD;AAAA,IAEDA,2BAAA;AAAA,MAACG,MAAA;AAAA,MAAA;AAAA,QACA,UAAU;AAAA,QACV,SAAS,MAAM;AACd,qCAA2B,IAAI;AAAA,QAChC;AAAA,QACA,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAED,GACD;AAEF;;"}
|
package/dist/harmony153.mjs
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
2
|
-
import { ConfirmModal, Alert, Link } from "@lokalise/louis";
|
3
|
-
import { useState } from "react";
|
4
|
-
import { useTasks } from "./harmony122.mjs";
|
5
|
-
const TaskLanguageCompleted = ({ task, language }) => {
|
6
|
-
const [loading, setLoading] = useState(false);
|
7
|
-
const [isMarkAsDonePromptShown, setIsMarkAsDonePromptShown] = useState(false);
|
8
|
-
const { onLanguageCompleteConfirm, fetchTasks } = useTasks();
|
9
|
-
const closePrompt = () => {
|
10
|
-
setIsMarkAsDonePromptShown(false);
|
11
|
-
};
|
12
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
13
|
-
isMarkAsDonePromptShown && /* @__PURE__ */ jsx(
|
14
|
-
ConfirmModal,
|
15
|
-
{
|
16
|
-
opened: true,
|
17
|
-
loading,
|
18
|
-
title: `Are you finished with ${language.name}?`,
|
19
|
-
confirmText: "Mark as done",
|
20
|
-
closeText: "Cancel",
|
21
|
-
onClose: closePrompt,
|
22
|
-
onConfirm: async () => {
|
23
|
-
setLoading(true);
|
24
|
-
await onLanguageCompleteConfirm({ task, language, closePrompt });
|
25
|
-
fetchTasks();
|
26
|
-
},
|
27
|
-
children: /* @__PURE__ */ jsxs(Alert, { status: "info", children: [
|
28
|
-
"Make sure you are finished and ",
|
29
|
-
/* @__PURE__ */ jsx("strong", { children: "mark it as done" }),
|
30
|
-
" to notify your team admin. This action cannot be undone, and the language might no longer be available for you to edit."
|
31
|
-
] })
|
32
|
-
}
|
33
|
-
),
|
34
|
-
/* @__PURE__ */ jsx(
|
35
|
-
Link,
|
36
|
-
{
|
37
|
-
disabled: loading,
|
38
|
-
onClick: () => {
|
39
|
-
setIsMarkAsDonePromptShown(true);
|
40
|
-
},
|
41
|
-
children: "Mark as done"
|
42
|
-
}
|
43
|
-
)
|
44
|
-
] });
|
45
|
-
};
|
46
|
-
export {
|
47
|
-
TaskLanguageCompleted
|
48
|
-
};
|
49
|
-
//# sourceMappingURL=harmony153.mjs.map
|
package/dist/harmony153.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony153.mjs","sources":["../src/components/Sidebar/Widgets/Tasks/TaskLanguageCompleted/TaskLanguageCompleted.tsx"],"sourcesContent":["import { Alert, ConfirmModal, Link } from '@lokalise/louis'\nimport { useState } from 'react'\nimport { useTasks } from '../TasksContext'\nimport type { SidebarTask, SidebarTaskLanguage } from '../types'\n\ntype TaskLanguageCompletedProps = {\n\ttask: SidebarTask\n\tlanguage: SidebarTaskLanguage\n}\n\nexport const TaskLanguageCompleted = ({ task, language }: TaskLanguageCompletedProps) => {\n\tconst [loading, setLoading] = useState(false)\n\n\tconst [isMarkAsDonePromptShown, setIsMarkAsDonePromptShown] = useState(false)\n\n\tconst { onLanguageCompleteConfirm, fetchTasks } = useTasks()\n\n\tconst closePrompt = () => {\n\t\tsetIsMarkAsDonePromptShown(false)\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t{isMarkAsDonePromptShown && (\n\t\t\t\t<ConfirmModal\n\t\t\t\t\topened\n\t\t\t\t\tloading={loading}\n\t\t\t\t\ttitle={`Are you finished with ${language.name}?`}\n\t\t\t\t\tconfirmText=\"Mark as done\"\n\t\t\t\t\tcloseText=\"Cancel\"\n\t\t\t\t\tonClose={closePrompt}\n\t\t\t\t\tonConfirm={async () => {\n\t\t\t\t\t\tsetLoading(true)\n\t\t\t\t\t\tawait onLanguageCompleteConfirm({ task, language, closePrompt })\n\t\t\t\t\t\tfetchTasks()\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<Alert status=\"info\">\n\t\t\t\t\t\tMake sure you are finished and <strong>mark it as done</strong> to notify your team\n\t\t\t\t\t\tadmin. This action cannot be undone, and the language might no longer be available for\n\t\t\t\t\t\tyou to edit.\n\t\t\t\t\t</Alert>\n\t\t\t\t</ConfirmModal>\n\t\t\t)}\n\t\t\t<Link\n\t\t\t\tdisabled={loading}\n\t\t\t\tonClick={() => {\n\t\t\t\t\tsetIsMarkAsDonePromptShown(true)\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\tMark as done\n\t\t\t</Link>\n\t\t</>\n\t)\n}\n"],"names":[],"mappings":";;;;AAUO,MAAM,wBAAwB,CAAC,EAAE,MAAM,eAA2C;AACxF,QAAM,CAAC,SAAS,UAAU,IAAI,SAAS,KAAK;AAE5C,QAAM,CAAC,yBAAyB,0BAA0B,IAAI,SAAS,KAAK;AAE5E,QAAM,EAAE,2BAA2B,WAAW,IAAI,SAAS;AAE3D,QAAM,cAAc,MAAM;AACzB,+BAA2B,KAAK;AAAA,EACjC;AAEA,SAEG,qBAAA,UAAA,EAAA,UAAA;AAAA,IACA,2BAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACA,QAAM;AAAA,QACN;AAAA,QACA,OAAO,yBAAyB,SAAS,IAAI;AAAA,QAC7C,aAAY;AAAA,QACZ,WAAU;AAAA,QACV,SAAS;AAAA,QACT,WAAW,YAAY;AACtB,qBAAW,IAAI;AACf,gBAAM,0BAA0B,EAAE,MAAM,UAAU,aAAa;AACpD,qBAAA;AAAA,QACZ;AAAA,QAEA,UAAA,qBAAC,OAAM,EAAA,QAAO,QAAO,UAAA;AAAA,UAAA;AAAA,UACW,oBAAC,YAAO,UAAe,kBAAA,CAAA;AAAA,UAAS;AAAA,QAAA,EAGhE,CAAA;AAAA,MAAA;AAAA,IACD;AAAA,IAED;AAAA,MAAC;AAAA,MAAA;AAAA,QACA,UAAU;AAAA,QACV,SAAS,MAAM;AACd,qCAA2B,IAAI;AAAA,QAChC;AAAA,QACA,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAED,GACD;AAEF;"}
|
package/dist/harmony154.cjs
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const langRowCompleted = "_langRowCompleted_vpgdi_1";
|
4
|
-
const langCellSecondary = "_langCellSecondary_vpgdi_15";
|
5
|
-
const langStatus = "_langStatus_vpgdi_20";
|
6
|
-
const styles = {
|
7
|
-
langRowCompleted,
|
8
|
-
langCellSecondary,
|
9
|
-
langStatus
|
10
|
-
};
|
11
|
-
exports.default = styles;
|
12
|
-
exports.langCellSecondary = langCellSecondary;
|
13
|
-
exports.langRowCompleted = langRowCompleted;
|
14
|
-
exports.langStatus = langStatus;
|
15
|
-
//# sourceMappingURL=harmony154.cjs.map
|
package/dist/harmony154.cjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony154.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/harmony154.mjs
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
const langRowCompleted = "_langRowCompleted_vpgdi_1";
|
2
|
-
const langCellSecondary = "_langCellSecondary_vpgdi_15";
|
3
|
-
const langStatus = "_langStatus_vpgdi_20";
|
4
|
-
const styles = {
|
5
|
-
langRowCompleted,
|
6
|
-
langCellSecondary,
|
7
|
-
langStatus
|
8
|
-
};
|
9
|
-
export {
|
10
|
-
styles as default,
|
11
|
-
langCellSecondary,
|
12
|
-
langRowCompleted,
|
13
|
-
langStatus
|
14
|
-
};
|
15
|
-
//# sourceMappingURL=harmony154.mjs.map
|
package/dist/harmony154.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"harmony154.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
2
|
-
import { SidebarProfileMenuRenderProps } from './types';
|
3
|
-
export type ProfileMenuContentProps = {
|
4
|
-
children: (props: SidebarProfileMenuRenderProps) => ReactNode;
|
5
|
-
};
|
6
|
-
export declare const ProfileMenuContent: ({ children }: ProfileMenuContentProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
2
|
-
import { SidebarProfileMenuConfig } from './types';
|
3
|
-
type ProfileMenuProviderProps = PropsWithChildren<{
|
4
|
-
config: SidebarProfileMenuConfig;
|
5
|
-
}>;
|
6
|
-
export declare const ProfileMenuProvider: ({ children, config }: ProfileMenuProviderProps) => import("react/jsx-runtime").JSX.Element;
|
7
|
-
export {};
|
File without changes
|
File without changes
|