@lokalise/harmony 1.40.2 → 1.40.3-exp-epic2x.1
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 +8 -11
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +8 -11
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +47 -12
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +46 -11
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +6 -3
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +6 -3
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +99 -9
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +81 -8
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +14 -9
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +13 -8
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +20 -57
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +20 -57
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +9 -42
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +8 -41
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +14 -5
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +14 -5
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +17 -9
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +16 -8
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +21 -24
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +20 -23
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +10 -6
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +9 -5
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +22 -14
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +24 -16
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +14 -12
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +13 -11
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +35 -12
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +35 -12
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +14 -18
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +14 -18
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +19 -96
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +19 -79
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +33 -85
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +33 -85
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +22 -31
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +21 -30
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +21 -21
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +20 -20
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +6 -6
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +5 -5
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +15 -132
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +14 -131
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +87 -12
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +86 -11
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +30 -5
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +30 -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 +6 -61
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +5 -60
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +96 -7
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +96 -7
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +14 -7
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +13 -6
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +15 -6
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +14 -5
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +37 -6
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +36 -5
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +28 -10
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +28 -10
- package/dist/harmony129.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 +10 -28
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +10 -28
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony138.cjs +1 -1
- package/dist/harmony138.mjs +1 -1
- package/dist/harmony139.cjs +1 -1
- package/dist/harmony139.mjs +1 -1
- package/dist/harmony14.cjs +1 -1
- package/dist/harmony14.mjs +1 -1
- package/dist/harmony140.cjs +2 -2
- package/dist/harmony140.mjs +2 -2
- package/dist/harmony141.cjs +11 -7
- package/dist/harmony141.cjs.map +1 -1
- package/dist/harmony141.mjs +11 -7
- package/dist/harmony141.mjs.map +1 -1
- package/dist/harmony142.cjs +15 -56
- package/dist/harmony142.cjs.map +1 -1
- package/dist/harmony142.mjs +15 -56
- package/dist/harmony142.mjs.map +1 -1
- package/dist/harmony143.cjs +20 -59
- package/dist/harmony143.cjs.map +1 -1
- package/dist/harmony143.mjs +20 -59
- package/dist/harmony143.mjs.map +1 -1
- package/dist/harmony144.cjs +13 -19
- package/dist/harmony144.cjs.map +1 -1
- package/dist/harmony144.mjs +12 -18
- package/dist/harmony144.mjs.map +1 -1
- package/dist/harmony145.cjs +5 -10
- package/dist/harmony145.cjs.map +1 -1
- package/dist/harmony145.mjs +5 -10
- package/dist/harmony145.mjs.map +1 -1
- package/dist/harmony146.cjs +11 -15
- package/dist/harmony146.cjs.map +1 -1
- package/dist/harmony146.mjs +11 -15
- package/dist/harmony146.mjs.map +1 -1
- package/dist/harmony147.cjs +28 -17
- package/dist/harmony147.cjs.map +1 -1
- package/dist/harmony147.mjs +28 -17
- package/dist/harmony147.mjs.map +1 -1
- package/dist/harmony148.cjs +12 -10
- package/dist/harmony148.cjs.map +1 -1
- package/dist/harmony148.mjs +12 -10
- package/dist/harmony148.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 +15 -24
- package/dist/harmony4.cjs.map +1 -1
- package/dist/harmony4.mjs +15 -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 +51 -6
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +50 -5
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +38 -8
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +38 -8
- 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 +10 -27
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +11 -28
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +13 -4
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +12 -3
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +9 -31
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +10 -32
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +22 -44
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +21 -43
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +160 -23
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +160 -23
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +41 -63
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +41 -63
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +25 -13
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +26 -14
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +3 -3
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +3 -3
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +16 -9
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +18 -11
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +75 -21
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +74 -20
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +9 -163
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +10 -164
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +30 -44
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +30 -44
- 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 +72 -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 +2 -2
- package/dist/types/src/features/publicApi/hooks/useGetTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/permissionTemplates.d.ts +4 -4
- package/dist/types/src/features/publicApi/projects.d.ts +8 -8
- package/dist/types/src/features/publicApi/teamUsers.d.ts +8 -8
- package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +6 -6
- package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +2 -2
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +12 -12
- 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 +19 -0
- package/dist/types/tests/utils/sidebar.d.ts +4 -0
- package/package.json +1 -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
@@ -13,14 +13,14 @@ export declare const listTeamUsers: import('@lokalise/api-contracts').GetRouteDe
|
|
13
13
|
created_at_timestamp: import('zod').ZodNumber;
|
14
14
|
role: import('zod').ZodUnion<[import('zod').ZodLiteral<"owner">, import('zod').ZodLiteral<"admin">, import('zod').ZodLiteral<"biller">, import('zod').ZodLiteral<"member">]>;
|
15
15
|
}, "strip", import('zod').ZodTypeAny, {
|
16
|
-
role: "
|
16
|
+
role: "owner" | "admin" | "biller" | "member";
|
17
17
|
email: string;
|
18
18
|
user_id: number;
|
19
19
|
fullname: string;
|
20
20
|
created_at: string;
|
21
21
|
created_at_timestamp: number;
|
22
22
|
}, {
|
23
|
-
role: "
|
23
|
+
role: "owner" | "admin" | "biller" | "member";
|
24
24
|
email: string;
|
25
25
|
user_id: number;
|
26
26
|
fullname: string;
|
@@ -30,7 +30,7 @@ export declare const listTeamUsers: import('@lokalise/api-contracts').GetRouteDe
|
|
30
30
|
}, "strip", import('zod').ZodTypeAny, {
|
31
31
|
team_id: number;
|
32
32
|
team_users: {
|
33
|
-
role: "
|
33
|
+
role: "owner" | "admin" | "biller" | "member";
|
34
34
|
email: string;
|
35
35
|
user_id: number;
|
36
36
|
fullname: string;
|
@@ -40,7 +40,7 @@ export declare const listTeamUsers: import('@lokalise/api-contracts').GetRouteDe
|
|
40
40
|
}, {
|
41
41
|
team_id: number;
|
42
42
|
team_users: {
|
43
|
-
role: "
|
43
|
+
role: "owner" | "admin" | "biller" | "member";
|
44
44
|
email: string;
|
45
45
|
user_id: number;
|
46
46
|
fullname: string;
|
@@ -124,14 +124,14 @@ export declare const getTeamUser: import('@lokalise/api-contracts').GetRouteDefi
|
|
124
124
|
created_at_timestamp: import('zod').ZodNumber;
|
125
125
|
role: import('zod').ZodUnion<[import('zod').ZodLiteral<"owner">, import('zod').ZodLiteral<"admin">, import('zod').ZodLiteral<"biller">, import('zod').ZodLiteral<"member">]>;
|
126
126
|
}, "strip", import('zod').ZodTypeAny, {
|
127
|
-
role: "
|
127
|
+
role: "owner" | "admin" | "biller" | "member";
|
128
128
|
email: string;
|
129
129
|
user_id: number;
|
130
130
|
fullname: string;
|
131
131
|
created_at: string;
|
132
132
|
created_at_timestamp: number;
|
133
133
|
}, {
|
134
|
-
role: "
|
134
|
+
role: "owner" | "admin" | "biller" | "member";
|
135
135
|
email: string;
|
136
136
|
user_id: number;
|
137
137
|
fullname: string;
|
@@ -141,7 +141,7 @@ export declare const getTeamUser: import('@lokalise/api-contracts').GetRouteDefi
|
|
141
141
|
}, "strip", import('zod').ZodTypeAny, {
|
142
142
|
team_id: number;
|
143
143
|
team_user: {
|
144
|
-
role: "
|
144
|
+
role: "owner" | "admin" | "biller" | "member";
|
145
145
|
email: string;
|
146
146
|
user_id: number;
|
147
147
|
fullname: string;
|
@@ -151,7 +151,7 @@ export declare const getTeamUser: import('@lokalise/api-contracts').GetRouteDefi
|
|
151
151
|
}, {
|
152
152
|
team_id: number;
|
153
153
|
team_user: {
|
154
|
-
role: "
|
154
|
+
role: "owner" | "admin" | "biller" | "member";
|
155
155
|
email: string;
|
156
156
|
user_id: number;
|
157
157
|
fullname: string;
|
@@ -14,8 +14,8 @@ export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
15
15
|
role: string;
|
16
16
|
id: string;
|
17
|
-
tag: string | null;
|
18
17
|
description: string | null;
|
18
|
+
tag: string | null;
|
19
19
|
permissions: string[];
|
20
20
|
tagColor: string | null;
|
21
21
|
tagInfo: string | null;
|
@@ -24,8 +24,8 @@ export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
|
|
24
24
|
}, {
|
25
25
|
role: string;
|
26
26
|
id: string;
|
27
|
-
tag: string | null;
|
28
27
|
description: string | null;
|
28
|
+
tag: string | null;
|
29
29
|
permissions: string[];
|
30
30
|
tagColor: string | null;
|
31
31
|
tagInfo: string | null;
|
@@ -55,8 +55,8 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
56
56
|
role: string;
|
57
57
|
id: string;
|
58
|
-
tag: string | null;
|
59
58
|
description: string | null;
|
59
|
+
tag: string | null;
|
60
60
|
permissions: string[];
|
61
61
|
tagColor: string | null;
|
62
62
|
tagInfo: string | null;
|
@@ -65,8 +65,8 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
65
65
|
}, {
|
66
66
|
role: string;
|
67
67
|
id: string;
|
68
|
-
tag: string | null;
|
69
68
|
description: string | null;
|
69
|
+
tag: string | null;
|
70
70
|
permissions: string[];
|
71
71
|
tagColor: string | null;
|
72
72
|
tagInfo: string | null;
|
@@ -77,8 +77,8 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
77
77
|
roles: {
|
78
78
|
role: string;
|
79
79
|
id: string;
|
80
|
-
tag: string | null;
|
81
80
|
description: string | null;
|
81
|
+
tag: string | null;
|
82
82
|
permissions: string[];
|
83
83
|
tagColor: string | null;
|
84
84
|
tagInfo: string | null;
|
@@ -89,8 +89,8 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
89
89
|
roles: {
|
90
90
|
role: string;
|
91
91
|
id: string;
|
92
|
-
tag: string | null;
|
93
92
|
description: string | null;
|
93
|
+
tag: string | null;
|
94
94
|
permissions: string[];
|
95
95
|
tagColor: string | null;
|
96
96
|
tagInfo: string | null;
|
@@ -17,7 +17,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
|
|
17
17
|
title: string;
|
18
18
|
id: string;
|
19
19
|
group: string;
|
20
|
-
scope: "team" | "
|
20
|
+
scope: "team" | "user" | "project";
|
21
21
|
description: string | null;
|
22
22
|
new_permission: boolean;
|
23
23
|
does_set_all_read_only_languages: boolean;
|
@@ -26,7 +26,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
|
|
26
26
|
title: string;
|
27
27
|
id: string;
|
28
28
|
group: string;
|
29
|
-
scope: "team" | "
|
29
|
+
scope: "team" | "user" | "project";
|
30
30
|
description: string | null;
|
31
31
|
new_permission: boolean;
|
32
32
|
does_set_all_read_only_languages: boolean;
|
@@ -1172,7 +1172,7 @@ declare const PROJECT_PERMISSION_DETAILS_META_SCHEMA: z.ZodObject<{
|
|
1172
1172
|
title: string;
|
1173
1173
|
id: string;
|
1174
1174
|
group: string;
|
1175
|
-
scope: "team" | "
|
1175
|
+
scope: "team" | "user" | "project";
|
1176
1176
|
description: string | null;
|
1177
1177
|
doesSetAllReadOnlyLanguages: boolean;
|
1178
1178
|
dependentPermissions?: string[] | undefined;
|
@@ -1182,7 +1182,7 @@ declare const PROJECT_PERMISSION_DETAILS_META_SCHEMA: z.ZodObject<{
|
|
1182
1182
|
title: string;
|
1183
1183
|
id: string;
|
1184
1184
|
group: string;
|
1185
|
-
scope: "team" | "
|
1185
|
+
scope: "team" | "user" | "project";
|
1186
1186
|
description: string | null;
|
1187
1187
|
doesSetAllReadOnlyLanguages: boolean;
|
1188
1188
|
dependentPermissions?: string[] | undefined;
|
@@ -1203,8 +1203,8 @@ declare const PROJECT_PERMISSION_TEMPLATE_DETAILS_META_SCHEMA: z.ZodObject<{
|
|
1203
1203
|
}, "strip", z.ZodTypeAny, {
|
1204
1204
|
role: string;
|
1205
1205
|
id: number;
|
1206
|
-
tag: string | null;
|
1207
1206
|
description: string | null;
|
1207
|
+
tag: string | null;
|
1208
1208
|
permissions: string[];
|
1209
1209
|
tagColor: string | null;
|
1210
1210
|
tagInfo: string | null;
|
@@ -1213,8 +1213,8 @@ declare const PROJECT_PERMISSION_TEMPLATE_DETAILS_META_SCHEMA: z.ZodObject<{
|
|
1213
1213
|
}, {
|
1214
1214
|
role: string;
|
1215
1215
|
id: number;
|
1216
|
-
tag: string | null;
|
1217
1216
|
description: string | null;
|
1217
|
+
tag: string | null;
|
1218
1218
|
permissions: string[];
|
1219
1219
|
tagColor: string | null;
|
1220
1220
|
tagInfo: string | null;
|
@@ -1239,7 +1239,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1239
1239
|
title: string;
|
1240
1240
|
id: string;
|
1241
1241
|
group: string;
|
1242
|
-
scope: "team" | "
|
1242
|
+
scope: "team" | "user" | "project";
|
1243
1243
|
description: string | null;
|
1244
1244
|
doesSetAllReadOnlyLanguages: boolean;
|
1245
1245
|
dependentPermissions?: string[] | undefined;
|
@@ -1249,7 +1249,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1249
1249
|
title: string;
|
1250
1250
|
id: string;
|
1251
1251
|
group: string;
|
1252
|
-
scope: "team" | "
|
1252
|
+
scope: "team" | "user" | "project";
|
1253
1253
|
description: string | null;
|
1254
1254
|
doesSetAllReadOnlyLanguages: boolean;
|
1255
1255
|
dependentPermissions?: string[] | undefined;
|
@@ -1269,8 +1269,8 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1269
1269
|
}, "strip", z.ZodTypeAny, {
|
1270
1270
|
role: string;
|
1271
1271
|
id: number;
|
1272
|
-
tag: string | null;
|
1273
1272
|
description: string | null;
|
1273
|
+
tag: string | null;
|
1274
1274
|
permissions: string[];
|
1275
1275
|
tagColor: string | null;
|
1276
1276
|
tagInfo: string | null;
|
@@ -1279,8 +1279,8 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1279
1279
|
}, {
|
1280
1280
|
role: string;
|
1281
1281
|
id: number;
|
1282
|
-
tag: string | null;
|
1283
1282
|
description: string | null;
|
1283
|
+
tag: string | null;
|
1284
1284
|
permissions: string[];
|
1285
1285
|
tagColor: string | null;
|
1286
1286
|
tagInfo: string | null;
|
@@ -1292,7 +1292,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1292
1292
|
title: string;
|
1293
1293
|
id: string;
|
1294
1294
|
group: string;
|
1295
|
-
scope: "team" | "
|
1295
|
+
scope: "team" | "user" | "project";
|
1296
1296
|
description: string | null;
|
1297
1297
|
doesSetAllReadOnlyLanguages: boolean;
|
1298
1298
|
dependentPermissions?: string[] | undefined;
|
@@ -1304,8 +1304,8 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1304
1304
|
roles: {
|
1305
1305
|
role: string;
|
1306
1306
|
id: number;
|
1307
|
-
tag: string | null;
|
1308
1307
|
description: string | null;
|
1308
|
+
tag: string | null;
|
1309
1309
|
permissions: string[];
|
1310
1310
|
tagColor: string | null;
|
1311
1311
|
tagInfo: string | null;
|
@@ -1317,7 +1317,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1317
1317
|
title: string;
|
1318
1318
|
id: string;
|
1319
1319
|
group: string;
|
1320
|
-
scope: "team" | "
|
1320
|
+
scope: "team" | "user" | "project";
|
1321
1321
|
description: string | null;
|
1322
1322
|
doesSetAllReadOnlyLanguages: boolean;
|
1323
1323
|
dependentPermissions?: string[] | undefined;
|
@@ -1329,8 +1329,8 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
1329
1329
|
roles: {
|
1330
1330
|
role: string;
|
1331
1331
|
id: number;
|
1332
|
-
tag: string | null;
|
1333
1332
|
description: string | null;
|
1333
|
+
tag: string | null;
|
1334
1334
|
permissions: string[];
|
1335
1335
|
tagColor: string | null;
|
1336
1336
|
tagInfo: string | null;
|
@@ -63,14 +63,14 @@ export declare const TEAM_USER_SCHEMA: z.ZodObject<{
|
|
63
63
|
created_at_timestamp: z.ZodNumber;
|
64
64
|
role: z.ZodUnion<[z.ZodLiteral<"owner">, z.ZodLiteral<"admin">, z.ZodLiteral<"biller">, z.ZodLiteral<"member">]>;
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
66
|
-
role: "
|
66
|
+
role: "owner" | "admin" | "biller" | "member";
|
67
67
|
email: string;
|
68
68
|
user_id: number;
|
69
69
|
fullname: string;
|
70
70
|
created_at: string;
|
71
71
|
created_at_timestamp: number;
|
72
72
|
}, {
|
73
|
-
role: "
|
73
|
+
role: "owner" | "admin" | "biller" | "member";
|
74
74
|
email: string;
|
75
75
|
user_id: number;
|
76
76
|
fullname: string;
|
@@ -107,14 +107,14 @@ export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
|
|
107
107
|
created_at_timestamp: z.ZodNumber;
|
108
108
|
role: z.ZodUnion<[z.ZodLiteral<"owner">, z.ZodLiteral<"admin">, z.ZodLiteral<"biller">, z.ZodLiteral<"member">]>;
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
110
|
-
role: "
|
110
|
+
role: "owner" | "admin" | "biller" | "member";
|
111
111
|
email: string;
|
112
112
|
user_id: number;
|
113
113
|
fullname: string;
|
114
114
|
created_at: string;
|
115
115
|
created_at_timestamp: number;
|
116
116
|
}, {
|
117
|
-
role: "
|
117
|
+
role: "owner" | "admin" | "biller" | "member";
|
118
118
|
email: string;
|
119
119
|
user_id: number;
|
120
120
|
fullname: string;
|
@@ -124,7 +124,7 @@ export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
125
125
|
team_id: number;
|
126
126
|
team_user: {
|
127
|
-
role: "
|
127
|
+
role: "owner" | "admin" | "biller" | "member";
|
128
128
|
email: string;
|
129
129
|
user_id: number;
|
130
130
|
fullname: string;
|
@@ -134,7 +134,7 @@ export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
|
|
134
134
|
}, {
|
135
135
|
team_id: number;
|
136
136
|
team_user: {
|
137
|
-
role: "
|
137
|
+
role: "owner" | "admin" | "biller" | "member";
|
138
138
|
email: string;
|
139
139
|
user_id: number;
|
140
140
|
fullname: string;
|
@@ -153,14 +153,14 @@ export declare const LIST_TEAM_USERS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
153
153
|
created_at_timestamp: z.ZodNumber;
|
154
154
|
role: z.ZodUnion<[z.ZodLiteral<"owner">, z.ZodLiteral<"admin">, z.ZodLiteral<"biller">, z.ZodLiteral<"member">]>;
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
156
|
-
role: "
|
156
|
+
role: "owner" | "admin" | "biller" | "member";
|
157
157
|
email: string;
|
158
158
|
user_id: number;
|
159
159
|
fullname: string;
|
160
160
|
created_at: string;
|
161
161
|
created_at_timestamp: number;
|
162
162
|
}, {
|
163
|
-
role: "
|
163
|
+
role: "owner" | "admin" | "biller" | "member";
|
164
164
|
email: string;
|
165
165
|
user_id: number;
|
166
166
|
fullname: string;
|
@@ -170,7 +170,7 @@ export declare const LIST_TEAM_USERS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
171
171
|
team_id: number;
|
172
172
|
team_users: {
|
173
|
-
role: "
|
173
|
+
role: "owner" | "admin" | "biller" | "member";
|
174
174
|
email: string;
|
175
175
|
user_id: number;
|
176
176
|
fullname: string;
|
@@ -180,7 +180,7 @@ export declare const LIST_TEAM_USERS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
180
180
|
}, {
|
181
181
|
team_id: number;
|
182
182
|
team_users: {
|
183
|
-
role: "
|
183
|
+
role: "owner" | "admin" | "biller" | "member";
|
184
184
|
email: string;
|
185
185
|
user_id: number;
|
186
186
|
fullname: string;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { JwtTokenPayload } from '../../features/auth/core/types/jwtTokenPayload';
|
2
|
+
export declare const canAccessStyleGuide: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
3
|
+
export declare const canAccessReporting: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
4
|
+
export declare const canAccessTeamSettings: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
5
|
+
export declare const canCreateTeam: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
6
|
+
export declare const canUpgradePlan: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
7
|
+
export declare const canChangeBilling: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
8
|
+
export declare const canAccessProviderDashboard: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
9
|
+
export declare const canAccessProfileSettings: (jwtPayload: JwtTokenPayload | null | undefined) => boolean;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { SidebarConfig, SidebarTeam, SidebarTeamExtended, SidebarWidgetsConfig } from '../../../src/components/Sidebar/types';
|
2
|
+
import { JwtTokenPayload } from '../../../src/features/auth/core/types/jwtTokenPayload';
|
3
|
+
export declare const buildPromisePayload: <T>(payload: T, timeout?: number) => Promise<T>;
|
4
|
+
export declare const createValidJwt: (overrides?: Partial<JwtTokenPayload>) => JwtTokenPayload;
|
5
|
+
type SidebarConfigOverrides = {
|
6
|
+
widgets: Partial<SidebarWidgetsConfig>;
|
7
|
+
jwtPayload: Partial<JwtTokenPayload> | null;
|
8
|
+
currentTeam: Partial<SidebarTeamExtended> | null;
|
9
|
+
userTeams: SidebarTeam[] | null;
|
10
|
+
};
|
11
|
+
type CreateValidSidebarConfigReturnProps = {
|
12
|
+
config: SidebarConfig;
|
13
|
+
jwtPayload: JwtTokenPayload;
|
14
|
+
currentTeam: SidebarTeamExtended;
|
15
|
+
userTeams: SidebarTeam[];
|
16
|
+
otherTeams: SidebarTeam[];
|
17
|
+
};
|
18
|
+
export declare const createValidSidebarConfig: (overrides?: Partial<SidebarConfigOverrides>) => CreateValidSidebarConfigReturnProps;
|
19
|
+
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/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
|