@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
package/dist/harmony143.mjs
CHANGED
@@ -1,63 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
case SidebarTaskLanguageStatuses.InProgress:
|
9
|
-
return "In progress";
|
10
|
-
case SidebarTaskLanguageStatuses.Queued:
|
11
|
-
return "Queued";
|
12
|
-
case SidebarTaskLanguageStatuses.NotStarted:
|
13
|
-
return "Not started";
|
14
|
-
default:
|
15
|
-
return "-";
|
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";
|
16
8
|
}
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
if (language.status === SidebarTaskLanguageStatuses.Created && progress > 0) {
|
21
|
-
return SidebarTaskLanguageStatuses.InProgress;
|
22
|
-
}
|
23
|
-
return language.status;
|
24
|
-
};
|
25
|
-
const tagColor = {
|
26
|
-
[SidebarTaskTypeOptions.translation]: "#0891B2",
|
27
|
-
[SidebarTaskTypeOptions.review]: "#16922D",
|
28
|
-
[SidebarTaskTypeOptions.lqa_by_ai]: "#8B5CF6",
|
29
|
-
[SidebarTaskTypeOptions.automatic_translation]: "#60A5FA"
|
30
|
-
};
|
31
|
-
const getTaskLanguages = (langs) => {
|
32
|
-
const statusSortOrder = [
|
33
|
-
SidebarTaskLanguageStatuses.InProgress,
|
34
|
-
SidebarTaskLanguageStatuses.Created,
|
35
|
-
SidebarTaskLanguageStatuses.Completed
|
36
|
-
];
|
37
|
-
return langs.filter((language) => language.status !== "queued").map((lang) => ({ ...lang, status: resolveStatus(lang) })).sort((a, b) => {
|
38
|
-
if (a.status === SidebarTaskLanguageStatuses.InProgress && a.progress === 100) {
|
39
|
-
return -1;
|
40
|
-
}
|
41
|
-
if (b.status === SidebarTaskLanguageStatuses.InProgress && b.progress === 100) {
|
42
|
-
return 1;
|
43
|
-
}
|
44
|
-
if (a.status === b.status) {
|
45
|
-
return a.name < b.name ? 1 : -1;
|
46
|
-
}
|
47
|
-
return statusSortOrder.indexOf(a.status) - statusSortOrder.indexOf(b.status);
|
48
|
-
});
|
49
|
-
};
|
50
|
-
const isInProgressOrCreated = (status) => {
|
51
|
-
return [SidebarTaskStatuses.InProgress, SidebarTaskStatuses.Created].includes(status);
|
52
|
-
};
|
53
|
-
const isLanguageProgressCompleted = (task, language) => {
|
54
|
-
return isInProgressOrCreated(task.status) && isInProgressOrCreated(language.status) && (language.progress ?? 0) >= 100;
|
55
|
-
};
|
9
|
+
isObjectLike_1 = isObjectLike;
|
10
|
+
return isObjectLike_1;
|
11
|
+
}
|
56
12
|
export {
|
57
|
-
|
58
|
-
getTaskLanguages,
|
59
|
-
isLanguageProgressCompleted,
|
60
|
-
resolveStatus,
|
61
|
-
tagColor
|
13
|
+
requireIsObjectLike as __require
|
62
14
|
};
|
63
15
|
//# sourceMappingURL=harmony143.mjs.map
|
package/dist/harmony143.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony143.mjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony143.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/harmony144.cjs
CHANGED
@@ -1,21 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
taskContainer,
|
10
|
-
taskTitle,
|
11
|
-
taskDescription,
|
12
|
-
languagesTable,
|
13
|
-
metadata
|
14
|
-
};
|
15
|
-
exports.default = styles;
|
16
|
-
exports.languagesTable = languagesTable;
|
17
|
-
exports.metadata = metadata;
|
18
|
-
exports.taskContainer = taskContainer;
|
19
|
-
exports.taskDescription = taskDescription;
|
20
|
-
exports.taskTitle = taskTitle;
|
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;
|
21
9
|
//# sourceMappingURL=harmony144.cjs.map
|
package/dist/harmony144.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony144.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony144.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony144.mjs
CHANGED
@@ -1,21 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
const metadata = "_metadata_mt2or_87";
|
6
|
-
const styles = {
|
7
|
-
taskContainer,
|
8
|
-
taskTitle,
|
9
|
-
taskDescription,
|
10
|
-
languagesTable,
|
11
|
-
metadata
|
12
|
-
};
|
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
|
+
}
|
13
5
|
export {
|
14
|
-
|
15
|
-
|
16
|
-
metadata,
|
17
|
-
taskContainer,
|
18
|
-
taskDescription,
|
19
|
-
taskTitle
|
6
|
+
commonjsGlobal,
|
7
|
+
getDefaultExportFromCjs
|
20
8
|
};
|
21
9
|
//# sourceMappingURL=harmony144.mjs.map
|
package/dist/harmony144.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony144.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony144.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony145.cjs
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const
|
4
|
-
var
|
5
|
-
var
|
6
|
-
function
|
7
|
-
if (
|
8
|
-
|
9
|
-
var
|
10
|
-
|
11
|
-
|
3
|
+
const _root = require("./harmony137.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;
|
12
13
|
}
|
13
|
-
exports.__require =
|
14
|
+
exports.__require = require_Symbol;
|
14
15
|
//# sourceMappingURL=harmony145.cjs.map
|
package/dist/harmony145.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony145.cjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony145.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/harmony145.mjs
CHANGED
@@ -1,14 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
var
|
3
|
-
var
|
4
|
-
function
|
5
|
-
if (
|
6
|
-
|
7
|
-
var
|
8
|
-
|
9
|
-
|
1
|
+
import { __require as require_root } from "./harmony137.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;
|
10
11
|
}
|
11
12
|
export {
|
12
|
-
|
13
|
+
require_Symbol as __require
|
13
14
|
};
|
14
15
|
//# sourceMappingURL=harmony145.mjs.map
|
package/dist/harmony145.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony145.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony145.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/harmony146.cjs
CHANGED
@@ -1,19 +1,35 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
var
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
const _Symbol = require("./harmony145.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) {
|
12
20
|
}
|
13
|
-
|
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;
|
14
30
|
}
|
15
|
-
|
16
|
-
return
|
31
|
+
_getRawTag = getRawTag;
|
32
|
+
return _getRawTag;
|
17
33
|
}
|
18
|
-
exports.__require =
|
34
|
+
exports.__require = require_getRawTag;
|
19
35
|
//# sourceMappingURL=harmony146.cjs.map
|
package/dist/harmony146.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony146.cjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony146.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/harmony146.mjs
CHANGED
@@ -1,19 +1,35 @@
|
|
1
|
-
|
2
|
-
var
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
import { __require as require_Symbol } from "./harmony145.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) {
|
10
18
|
}
|
11
|
-
|
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;
|
12
28
|
}
|
13
|
-
|
14
|
-
return
|
29
|
+
_getRawTag = getRawTag;
|
30
|
+
return _getRawTag;
|
15
31
|
}
|
16
32
|
export {
|
17
|
-
|
33
|
+
require_getRawTag as __require
|
18
34
|
};
|
19
35
|
//# sourceMappingURL=harmony146.mjs.map
|
package/dist/harmony146.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony146.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony146.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/harmony147.cjs
CHANGED
@@ -1,24 +1,17 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
13
|
-
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
14
|
-
function baseGetTag(value) {
|
15
|
-
if (value == null) {
|
16
|
-
return value === void 0 ? undefinedTag : nullTag;
|
17
|
-
}
|
18
|
-
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
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);
|
19
12
|
}
|
20
|
-
|
21
|
-
return
|
13
|
+
_objectToString = objectToString;
|
14
|
+
return _objectToString;
|
22
15
|
}
|
23
|
-
exports.__require =
|
16
|
+
exports.__require = require_objectToString;
|
24
17
|
//# sourceMappingURL=harmony147.cjs.map
|
package/dist/harmony147.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony147.cjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony147.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/harmony147.mjs
CHANGED
@@ -1,24 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
11
|
-
var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
|
12
|
-
function baseGetTag(value) {
|
13
|
-
if (value == null) {
|
14
|
-
return value === void 0 ? undefinedTag : nullTag;
|
15
|
-
}
|
16
|
-
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
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);
|
17
10
|
}
|
18
|
-
|
19
|
-
return
|
11
|
+
_objectToString = objectToString;
|
12
|
+
return _objectToString;
|
20
13
|
}
|
21
14
|
export {
|
22
|
-
|
15
|
+
require_objectToString as __require
|
23
16
|
};
|
24
17
|
//# sourceMappingURL=harmony147.mjs.map
|
package/dist/harmony147.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony147.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony147.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/harmony17.cjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const jwtTokenPayload = require("./
|
3
|
+
const jwtTokenPayload = require("./harmony104.cjs");
|
4
4
|
function parseJwtTokenPayload(token) {
|
5
5
|
try {
|
6
6
|
const payload = token.split(".")[1];
|
package/dist/harmony17.mjs
CHANGED
package/dist/harmony25.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const useGetUserTokenQuery = require("./harmony48.cjs");
|
4
4
|
const React = require("react");
|
5
|
-
const NewJwtIssuedEvent = require("./
|
5
|
+
const NewJwtIssuedEvent = require("./harmony103.cjs");
|
6
6
|
const cookieTokenUtils = require("./harmony18.cjs");
|
7
7
|
function useGetPromotedClassicSessionJwtQuery(wretchClient, headers, teamId) {
|
8
8
|
const csrf = cookieTokenUtils.getCsrfTokenFromCookie();
|
package/dist/harmony25.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useGetUserTokenQuery, getUserTokenKey } from "./harmony48.mjs";
|
2
2
|
import { useRef, useEffect } from "react";
|
3
|
-
import { NewJwtIssuedEvent } from "./
|
3
|
+
import { NewJwtIssuedEvent } from "./harmony103.mjs";
|
4
4
|
import { getCsrfTokenFromCookie } from "./harmony18.mjs";
|
5
5
|
function useGetPromotedClassicSessionJwtQuery(wretchClient, headers, teamId) {
|
6
6
|
const csrf = getCsrfTokenFromCookie();
|
package/dist/harmony26.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const React = require("react");
|
4
4
|
const jwtTokenPayload = require("./harmony17.cjs");
|
5
|
-
const NewJwtIssuedEvent = require("./
|
5
|
+
const NewJwtIssuedEvent = require("./harmony103.cjs");
|
6
6
|
const cookieTokenUtils = require("./harmony18.cjs");
|
7
7
|
function useAuthenticatedSessionPayload() {
|
8
8
|
const [payload, setPayload] = React.useState();
|
package/dist/harmony26.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useState, useEffect } from "react";
|
2
2
|
import { parseJwtTokenPayload } from "./harmony17.mjs";
|
3
|
-
import { NewJwtIssuedEvent } from "./
|
3
|
+
import { NewJwtIssuedEvent } from "./harmony103.mjs";
|
4
4
|
import { getJwtTokenFromCookie } from "./harmony18.mjs";
|
5
5
|
function useAuthenticatedSessionPayload() {
|
6
6
|
const [payload, setPayload] = useState();
|
package/dist/harmony4.cjs
CHANGED
@@ -1,29 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
|
-
const
|
5
|
-
const
|
6
|
-
const
|
7
|
-
|
8
|
-
|
9
|
-
const ProfileSettingsMenuItem = require("./harmony81.cjs");
|
10
|
-
const TeamMenuItem = require("./harmony82.cjs");
|
11
|
-
const TeamSwitch = require("./harmony83.cjs");
|
12
|
-
const UpgradeMenuItem = require("./harmony84.cjs");
|
13
|
-
const Tasks = require("./harmony85.cjs");
|
14
|
-
const Sidebar = ({ children, ...navProps }) => /* @__PURE__ */ jsxRuntime.jsx("nav", { ...navProps, className: Sidebar_module.default.sidebarContainer, children });
|
15
|
-
const Top = ({ children }) => /* @__PURE__ */ jsxRuntime.jsx("div", { children });
|
16
|
-
Sidebar.Top = Top;
|
17
|
-
const Bottom = ({ children }) => /* @__PURE__ */ jsxRuntime.jsx("div", { children });
|
18
|
-
Sidebar.Bottom = Bottom;
|
19
|
-
Sidebar.Avatar = Avatar.Avatar;
|
20
|
-
Sidebar.IconLink = IconLink.IconLink;
|
21
|
-
Sidebar.Menu = Menu.Menu;
|
22
|
-
Sidebar.ProfileMenu = ProfileMenu.ProfileMenu;
|
23
|
-
Sidebar.TeamSwitch = TeamSwitch.TeamSwitch;
|
24
|
-
Sidebar.TeamMenuItem = TeamMenuItem.TeamMenuItem;
|
25
|
-
Sidebar.UpgradeMenuItem = UpgradeMenuItem.UpgradeMenuItem;
|
26
|
-
Sidebar.ProfileSettingsMenuItem = ProfileSettingsMenuItem.ProfileSettingsMenuItem;
|
27
|
-
Sidebar.Tasks = Tasks.Tasks;
|
4
|
+
const SidebarProvider = require("./harmony76.cjs");
|
5
|
+
const SidebarContent = require("./harmony77.cjs");
|
6
|
+
const Sidebar = ({ config, children, ...navProps }) => {
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SidebarProvider.SidebarProvider, { data: config.data, jwt: config.jwt, children: /* @__PURE__ */ jsxRuntime.jsx(SidebarContent.SidebarContent, { widgetsConfig: config.widgets, ...navProps, children }) });
|
8
|
+
};
|
28
9
|
exports.Sidebar = Sidebar;
|
29
10
|
//# sourceMappingURL=harmony4.cjs.map
|
package/dist/harmony4.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony4.cjs","sources":["../src/components/Sidebar/Sidebar.tsx"],"sourcesContent":["import
|
1
|
+
{"version":3,"file":"harmony4.cjs","sources":["../src/components/Sidebar/Sidebar.tsx"],"sourcesContent":["import { SidebarProvider } from '@components/Sidebar/SidebarProvider'\nimport type { HTMLProps } from 'react'\nimport { SidebarContent, type SidebarContentProps } from './SidebarContent/SidebarContent'\nimport type { SidebarConfig } from './types'\n\ntype SidebarProps = HTMLProps<HTMLElement> & {\n\tconfig: SidebarConfig\n\tchildren?: SidebarContentProps['children']\n}\n\n/**\n * The main Sidebar component. Wraps children with SidebarProvider and renders SidebarContent.\n *\n * @example\n * ```\n * <Sidebar config={sidebarConfig}>\n * <YourAppContent />\n * </Sidebar>\n * ```\n */\n\nexport const Sidebar = ({ config, children, ...navProps }: SidebarProps) => {\n\treturn (\n\t\t<SidebarProvider data={config.data} jwt={config.jwt}>\n\t\t\t<SidebarContent widgetsConfig={config.widgets} {...navProps}>\n\t\t\t\t{children}\n\t\t\t</SidebarContent>\n\t\t</SidebarProvider>\n\t)\n}\n"],"names":["SidebarProvider","jsx","SidebarContent"],"mappings":";;;;;AAqBO,MAAM,UAAU,CAAC,EAAE,QAAQ,UAAU,GAAG,eAA6B;AAC3E,wCACEA,gBAAgB,iBAAA,EAAA,MAAM,OAAO,MAAM,KAAK,OAAO,KAC/C,UAACC,2BAAAA,IAAAC,eAAA,gBAAA,EAAe,eAAe,OAAO,SAAU,GAAG,UACjD,SACF,CAAA,GACD;AAEF;;"}
|
package/dist/harmony4.mjs
CHANGED
@@ -1,28 +1,9 @@
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
2
|
-
import
|
3
|
-
import {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
import { ProfileSettingsMenuItem } from "./harmony81.mjs";
|
8
|
-
import { TeamMenuItem } from "./harmony82.mjs";
|
9
|
-
import { TeamSwitch } from "./harmony83.mjs";
|
10
|
-
import { UpgradeMenuItem } from "./harmony84.mjs";
|
11
|
-
import { Tasks } from "./harmony85.mjs";
|
12
|
-
const Sidebar = ({ children, ...navProps }) => /* @__PURE__ */ jsx("nav", { ...navProps, className: styles.sidebarContainer, children });
|
13
|
-
const Top = ({ children }) => /* @__PURE__ */ jsx("div", { children });
|
14
|
-
Sidebar.Top = Top;
|
15
|
-
const Bottom = ({ children }) => /* @__PURE__ */ jsx("div", { children });
|
16
|
-
Sidebar.Bottom = Bottom;
|
17
|
-
Sidebar.Avatar = Avatar;
|
18
|
-
Sidebar.IconLink = IconLink;
|
19
|
-
Sidebar.Menu = Menu;
|
20
|
-
Sidebar.ProfileMenu = ProfileMenu;
|
21
|
-
Sidebar.TeamSwitch = TeamSwitch;
|
22
|
-
Sidebar.TeamMenuItem = TeamMenuItem;
|
23
|
-
Sidebar.UpgradeMenuItem = UpgradeMenuItem;
|
24
|
-
Sidebar.ProfileSettingsMenuItem = ProfileSettingsMenuItem;
|
25
|
-
Sidebar.Tasks = Tasks;
|
2
|
+
import { SidebarProvider } from "./harmony76.mjs";
|
3
|
+
import { SidebarContent } from "./harmony77.mjs";
|
4
|
+
const Sidebar = ({ config, children, ...navProps }) => {
|
5
|
+
return /* @__PURE__ */ jsx(SidebarProvider, { data: config.data, jwt: config.jwt, children: /* @__PURE__ */ jsx(SidebarContent, { widgetsConfig: config.widgets, ...navProps, children }) });
|
6
|
+
};
|
26
7
|
export {
|
27
8
|
Sidebar
|
28
9
|
};
|