@lokalise/harmony 1.29.4 → 1.29.5-exp-teamSwitch.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.cjs +18 -13
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +19 -14
- package/dist/harmony.mjs.map +1 -1
- package/dist/harmony100.cjs +1 -1
- package/dist/harmony100.mjs +1 -1
- package/dist/harmony103.cjs +2 -2
- package/dist/harmony103.mjs +2 -2
- package/dist/harmony106.cjs +6 -5
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +6 -5
- package/dist/harmony107.cjs +5 -5
- package/dist/harmony107.mjs +5 -5
- package/dist/harmony108.cjs +6 -97
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +5 -96
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +62 -13
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +61 -12
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +87 -13
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +87 -13
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +19 -37
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +18 -36
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +87 -19
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +87 -19
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +13 -62
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +12 -61
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +13 -87
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +13 -87
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +37 -19
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +36 -18
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +27 -12
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +27 -12
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +7 -15
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +7 -15
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +57 -16
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +57 -16
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +59 -15
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +59 -15
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +19 -22
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +18 -21
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +12 -11
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +12 -11
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +14 -10
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +14 -10
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +16 -7
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +16 -7
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +11 -57
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +11 -57
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +15 -59
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +15 -59
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +22 -19
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +21 -18
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +11 -11
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +11 -11
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +5 -31
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +5 -31
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +11 -13
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +11 -13
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +31 -5
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +31 -5
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +14 -46
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +14 -46
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +46 -12
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +45 -11
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +15 -0
- package/dist/harmony133.cjs.map +1 -0
- package/dist/harmony133.mjs +15 -0
- package/dist/harmony133.mjs.map +1 -0
- package/dist/harmony26.cjs +2 -2
- package/dist/harmony26.mjs +2 -2
- package/dist/harmony27.cjs +2 -2
- package/dist/harmony27.mjs +2 -2
- package/dist/harmony28.cjs +2 -2
- package/dist/harmony28.mjs +2 -2
- package/dist/harmony29.cjs +1 -1
- package/dist/harmony29.mjs +1 -1
- package/dist/harmony3.cjs +3 -3
- package/dist/harmony3.mjs +3 -3
- package/dist/harmony30.cjs +2 -2
- package/dist/harmony30.mjs +2 -2
- package/dist/harmony31.cjs +10 -1
- package/dist/harmony31.cjs.map +1 -1
- package/dist/harmony31.mjs +12 -3
- package/dist/harmony31.mjs.map +1 -1
- package/dist/harmony32.cjs +1 -1
- package/dist/harmony32.mjs +1 -1
- package/dist/harmony33.cjs +1 -1
- package/dist/harmony33.mjs +1 -1
- package/dist/harmony4.cjs +10 -10
- package/dist/harmony4.mjs +10 -10
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony51.cjs +5 -6
- package/dist/harmony51.cjs.map +1 -1
- package/dist/harmony51.mjs +5 -6
- package/dist/harmony51.mjs.map +1 -1
- package/dist/harmony52.cjs +14 -56
- package/dist/harmony52.cjs.map +1 -1
- package/dist/harmony52.mjs +14 -56
- package/dist/harmony52.mjs.map +1 -1
- package/dist/harmony53.cjs +48 -72
- package/dist/harmony53.cjs.map +1 -1
- package/dist/harmony53.mjs +47 -71
- package/dist/harmony53.mjs.map +1 -1
- package/dist/harmony54.cjs +78 -4
- package/dist/harmony54.cjs.map +1 -1
- package/dist/harmony54.mjs +78 -4
- package/dist/harmony54.mjs.map +1 -1
- package/dist/harmony55.cjs +4 -21
- package/dist/harmony55.cjs.map +1 -1
- package/dist/harmony55.mjs +4 -21
- package/dist/harmony55.mjs.map +1 -1
- package/dist/harmony56.cjs +20 -34
- package/dist/harmony56.cjs.map +1 -1
- package/dist/harmony56.mjs +20 -34
- package/dist/harmony56.mjs.map +1 -1
- package/dist/harmony57.cjs +35 -120
- package/dist/harmony57.cjs.map +1 -1
- package/dist/harmony57.mjs +34 -119
- package/dist/harmony57.mjs.map +1 -1
- package/dist/harmony58.cjs +121 -28
- package/dist/harmony58.cjs.map +1 -1
- package/dist/harmony58.mjs +121 -28
- package/dist/harmony58.mjs.map +1 -1
- package/dist/harmony59.cjs +28 -25
- package/dist/harmony59.cjs.map +1 -1
- package/dist/harmony59.mjs +28 -25
- package/dist/harmony59.mjs.map +1 -1
- package/dist/harmony6.cjs +4 -4
- package/dist/harmony6.mjs +4 -4
- package/dist/harmony60.cjs +24 -6
- package/dist/harmony60.cjs.map +1 -1
- package/dist/harmony60.mjs +24 -6
- package/dist/harmony60.mjs.map +1 -1
- package/dist/harmony61.cjs +6 -82
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +6 -82
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony62.cjs +86 -20
- package/dist/harmony62.cjs.map +1 -1
- package/dist/harmony62.mjs +86 -20
- package/dist/harmony62.mjs.map +1 -1
- package/dist/harmony63.cjs +22 -16
- package/dist/harmony63.cjs.map +1 -1
- package/dist/harmony63.mjs +22 -16
- package/dist/harmony63.mjs.map +1 -1
- package/dist/harmony64.cjs +19 -16
- package/dist/harmony64.cjs.map +1 -1
- package/dist/harmony64.mjs +18 -15
- package/dist/harmony64.mjs.map +1 -1
- package/dist/harmony65.cjs +15 -18
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.mjs +15 -18
- package/dist/harmony65.mjs.map +1 -1
- package/dist/harmony66.cjs +18 -61
- package/dist/harmony66.cjs.map +1 -1
- package/dist/harmony66.mjs +18 -61
- package/dist/harmony66.mjs.map +1 -1
- package/dist/harmony67.cjs +61 -6
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs +61 -6
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony68.cjs +7 -10
- package/dist/harmony68.cjs.map +1 -1
- package/dist/harmony68.mjs +6 -9
- package/dist/harmony68.mjs.map +1 -1
- package/dist/harmony69.cjs +8 -17
- package/dist/harmony69.cjs.map +1 -1
- package/dist/harmony69.mjs +8 -17
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony70.cjs +13 -18
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs +14 -19
- package/dist/harmony70.mjs.map +1 -1
- package/dist/harmony71.cjs +22 -4
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +22 -4
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony72.cjs +4 -31
- package/dist/harmony72.cjs.map +1 -1
- package/dist/harmony72.mjs +5 -32
- package/dist/harmony72.mjs.map +1 -1
- package/dist/harmony73.cjs +26 -26
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs +28 -28
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +25 -12
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +26 -13
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs +12 -24
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs +13 -25
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony76.cjs +27 -55
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +29 -57
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +60 -10
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +59 -9
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +10 -9
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +9 -8
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +5 -26
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +8 -29
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony80.cjs +29 -3
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +29 -3
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +4 -7
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +3 -6
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +12 -10
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +11 -9
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +20 -8
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +20 -8
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +6 -57
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +5 -56
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +9 -42
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +8 -41
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +10 -6
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +9 -5
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +57 -9
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +56 -8
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +42 -24
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +41 -23
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +6 -7
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +5 -6
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +9 -21
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +8 -20
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +21 -9
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +21 -9
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +7 -12
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +6 -11
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +21 -21
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +20 -20
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +12 -99
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +11 -81
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +1 -1
- package/dist/harmony95.mjs +1 -1
- package/dist/harmony97.cjs +99 -21
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +81 -20
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +21 -6
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +20 -5
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +6 -6
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +5 -5
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/features/publicApi/hooks/useSwitchTeamMutation.d.ts +15 -0
- package/dist/types/src/features/publicApi/hooks/useSwitchTeamMutation.test.d.ts +1 -0
- package/dist/types/src/features/publicApi/node.d.ts +1 -0
- package/dist/types/src/features/publicApi/team.d.ts +61 -0
- package/dist/types/src/features/publicApi/types/teamTypes.d.ts +10 -0
- package/dist/types/tests/utils/apiHelpers.d.ts +1 -0
- package/package.json +1 -1
package/dist/harmony.cjs
CHANGED
@@ -49,19 +49,20 @@ const useListTeamsQuery = require("./harmony47.cjs");
|
|
49
49
|
const useRetrieveContributorQuery = require("./harmony48.cjs");
|
50
50
|
const useRetrieveProjectQuery = require("./harmony49.cjs");
|
51
51
|
const useRetrieveTeamQuery = require("./harmony50.cjs");
|
52
|
-
const
|
53
|
-
const
|
54
|
-
const
|
55
|
-
const
|
56
|
-
const
|
57
|
-
const
|
58
|
-
const
|
59
|
-
const
|
60
|
-
const
|
61
|
-
const
|
62
|
-
const
|
63
|
-
const
|
64
|
-
const
|
52
|
+
const useSwitchTeamMutation = require("./harmony51.cjs");
|
53
|
+
const useUpdateProjectMutation = require("./harmony52.cjs");
|
54
|
+
const contributorTypes = require("./harmony53.cjs");
|
55
|
+
const languageTypes = require("./harmony54.cjs");
|
56
|
+
const paginationTypes = require("./harmony55.cjs");
|
57
|
+
const permissionTemplateTypes = require("./harmony56.cjs");
|
58
|
+
const permissionTypes = require("./harmony57.cjs");
|
59
|
+
const projectTypes = require("./harmony58.cjs");
|
60
|
+
const scoreTypes = require("./harmony59.cjs");
|
61
|
+
const sharedTypes = require("./harmony60.cjs");
|
62
|
+
const teamRoleTypes = require("./harmony61.cjs");
|
63
|
+
const teamTypes = require("./harmony62.cjs");
|
64
|
+
const teamUserTypes = require("./harmony63.cjs");
|
65
|
+
const userTokenTypes = require("./harmony64.cjs");
|
65
66
|
exports.SidebarTaskLanguageStatuses = types.SidebarTaskLanguageStatuses;
|
66
67
|
exports.SidebarTaskStatuses = types.SidebarTaskStatuses;
|
67
68
|
exports.SidebarTaskTypeOptions = types.SidebarTaskTypeOptions;
|
@@ -120,6 +121,7 @@ exports.deleteScore = score.deleteScore;
|
|
120
121
|
exports.getScore = score.getScore;
|
121
122
|
exports.listTeams = team.listTeams;
|
122
123
|
exports.retrieveTeam = team.retrieveTeam;
|
124
|
+
exports.switchTeam = team.switchTeam;
|
123
125
|
exports.getTeamUser = teamUsers.getTeamUser;
|
124
126
|
exports.getUserToken = userToken.getUserToken;
|
125
127
|
exports.useAddLanguagesToProjectMutation = useAddLanguagesToProjectMutation.useAddLanguagesToProjectMutation;
|
@@ -151,6 +153,7 @@ exports.retrieveProjectQueryKey = useRetrieveProjectQuery.retrieveProjectQueryKe
|
|
151
153
|
exports.useRetrieveProjectQuery = useRetrieveProjectQuery.useRetrieveProjectQuery;
|
152
154
|
exports.retrieveTeamQueryKey = useRetrieveTeamQuery.retrieveTeamQueryKey;
|
153
155
|
exports.useRetrieveTeamQuery = useRetrieveTeamQuery.useRetrieveTeamQuery;
|
156
|
+
exports.useSwitchTeamMutation = useSwitchTeamMutation.useSwitchTeamMutation;
|
154
157
|
exports.useUpdateProjectMutation = useUpdateProjectMutation.useUpdateProjectMutation;
|
155
158
|
exports.CONTRIBUTOR_API_BASE_HEADER_SCHEMA = contributorTypes.CONTRIBUTOR_API_BASE_HEADER_SCHEMA;
|
156
159
|
exports.CONTRIBUTOR_LANGUAGE_SCHEMA = contributorTypes.CONTRIBUTOR_LANGUAGE_SCHEMA;
|
@@ -208,6 +211,8 @@ exports.LIST_TEAMS_QUERY_SCHEMA = teamTypes.LIST_TEAMS_QUERY_SCHEMA;
|
|
208
211
|
exports.LIST_TEAMS_RESPONSE_SCHEMA = teamTypes.LIST_TEAMS_RESPONSE_SCHEMA;
|
209
212
|
exports.RETRIEVE_TEAM_PATH_PARAMS_SCHEMA = teamTypes.RETRIEVE_TEAM_PATH_PARAMS_SCHEMA;
|
210
213
|
exports.RETRIEVE_TEAM_RESPONSE_SCHEMA = teamTypes.RETRIEVE_TEAM_RESPONSE_SCHEMA;
|
214
|
+
exports.SWITCH_TEAM_REQUEST_BODY_SCHEMA = teamTypes.SWITCH_TEAM_REQUEST_BODY_SCHEMA;
|
215
|
+
exports.SWITCH_TEAM_RESPONSE_SCHEMA = teamTypes.SWITCH_TEAM_RESPONSE_SCHEMA;
|
211
216
|
exports.TEAMS_QUOTA_ALLOWED_SCHEMA = teamTypes.TEAMS_QUOTA_ALLOWED_SCHEMA;
|
212
217
|
exports.TEAMS_QUOTA_METRICS = teamTypes.TEAMS_QUOTA_METRICS;
|
213
218
|
exports.TEAMS_QUOTA_METRICS_SCHEMA = teamTypes.TEAMS_QUOTA_METRICS_SCHEMA;
|
package/dist/harmony.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony.mjs
CHANGED
@@ -27,7 +27,7 @@ import { addLanguagesToProject, bulkUpdateProjectLanguages, listProjectLanguages
|
|
27
27
|
import { listPermissionTemplates } from "./harmony28.mjs";
|
28
28
|
import { createProject, deleteProject, getProjectPermissionMeta, listProjects, retrieveProject, updateProject } from "./harmony29.mjs";
|
29
29
|
import { deleteScore, getScore } from "./harmony30.mjs";
|
30
|
-
import { listTeams, retrieveTeam } from "./harmony31.mjs";
|
30
|
+
import { listTeams, retrieveTeam, switchTeam } from "./harmony31.mjs";
|
31
31
|
import { getTeamUser } from "./harmony32.mjs";
|
32
32
|
import { getUserToken } from "./harmony33.mjs";
|
33
33
|
import { useAddLanguagesToProjectMutation } from "./harmony34.mjs";
|
@@ -47,19 +47,20 @@ import { listTeamsKey, useListTeamsQuery } from "./harmony47.mjs";
|
|
47
47
|
import { retrieveContributorKeys, useRetrieveContributorQuery } from "./harmony48.mjs";
|
48
48
|
import { retrieveProjectQueryKey, useRetrieveProjectQuery } from "./harmony49.mjs";
|
49
49
|
import { retrieveTeamQueryKey, useRetrieveTeamQuery } from "./harmony50.mjs";
|
50
|
-
import {
|
51
|
-
import {
|
52
|
-
import {
|
53
|
-
import {
|
54
|
-
import {
|
55
|
-
import {
|
56
|
-
import {
|
57
|
-
import {
|
58
|
-
import {
|
59
|
-
import {
|
60
|
-
import {
|
61
|
-
import {
|
62
|
-
import {
|
50
|
+
import { useSwitchTeamMutation } from "./harmony51.mjs";
|
51
|
+
import { useUpdateProjectMutation } from "./harmony52.mjs";
|
52
|
+
import { CONTRIBUTOR_API_BASE_HEADER_SCHEMA, CONTRIBUTOR_LANGUAGE_SCHEMA, CONTRIBUTOR_SCHEMA, LIST_CONTRIBUTORS_PATH_PARAMS_SCHEMA, LIST_CONTRIBUTORS_RESPONSE_SCHEMA, RETRIEVE_CONTRIBUTOR_PATH_PARAMS_SCHEMA, RETRIEVE_CONTRIBUTOR_RESPONSE_SCHEMA } from "./harmony53.mjs";
|
53
|
+
import { ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA, ADD_LANGUAGES_TO_PROJECT_REQUEST_BODY_SCHEMA, ADD_LANGUAGES_TO_PROJECT_RESPONSE_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_REQUEST_BODY_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_RESPONSE_SCHEMA, LANGUAGE_ISO_SCHEMA, LANGUAGE_SCHEMA, LANGUAGE_STATISTICS_SCHEMA, LIST_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA, LIST_PROJECT_LANGUAGES_RESPONSE_SCHEMA } from "./harmony54.mjs";
|
54
|
+
import { PAGINATION_QUERY_PARAMS_SCHEMA } from "./harmony55.mjs";
|
55
|
+
import { LIST_PERMISSION_TEMPLATES_PATH_PARAMS, LIST_PERMISSION_TEMPLATES_RESPONSE, PERMISSION_TEMPLATE_SCHEMA } from "./harmony56.mjs";
|
56
|
+
import { PERMISSION_DETAILS_SCHEMA, PERMISSION_ID_SCHEMA, PERMISSION_SCOPE_SCHEMA } from "./harmony57.mjs";
|
57
|
+
import { CREATE_PROJECT_REQUEST_BODY_SCHEMA, DELETE_PROJECT_RESPONSE_SCHEMA, GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA, LIST_PROJECTS_REQUEST_QUERY_SCHEMA, LIST_PROJECTS_SUCCESS_RESPONSE_BODY, PROJECT_API_BASE_HEADERS_SCHEMA, PROJECT_ID_OR_UUID_SCHEMA, PROJECT_ID_PATH_PARAM_SCHEMA, PROJECT_ID_SCHEMA, PROJECT_QA_ISSUES_SCHEMA, PROJECT_SCHEMA, PROJECT_SETTINGS_SCHEMA, PROJECT_STATISTICS_SCHEMA, PROJECT_TYPE_SCHEMA, UPDATE_PROJECT_REQUEST_BODY_SCHEMA } from "./harmony58.mjs";
|
58
|
+
import { DELETE_SCORE_PATH_PARAMS_SCHEMA, DELETE_SCORE_RESPONSE_SCHEMA, GET_SCORE_REQUEST_QUERY_SCHEMA, GET_SCORE_RESPONSE_SCHEMA, ISSUE_SCHEMA, SEVERITY_ENUM } from "./harmony59.mjs";
|
59
|
+
import { API_PLUGIN_HEADER_SCHEMA, APU_TOKEN_AUTH_HEADER_SCHEMA, AUTHENTICATION_HEADERS_SCHEMA, AUTHORIZATION_HEADER_SCHEMA, BASE_API_ENDPOINT_HEADER_SCHEMA } from "./harmony60.mjs";
|
60
|
+
import { TEAM_ROLE_SCHEMA } from "./harmony61.mjs";
|
61
|
+
import { LIST_TEAMS_QUERY_SCHEMA, LIST_TEAMS_RESPONSE_SCHEMA, RETRIEVE_TEAM_PATH_PARAMS_SCHEMA, RETRIEVE_TEAM_RESPONSE_SCHEMA, SWITCH_TEAM_REQUEST_BODY_SCHEMA, SWITCH_TEAM_RESPONSE_SCHEMA, TEAMS_QUOTA_ALLOWED_SCHEMA, TEAMS_QUOTA_METRICS, TEAMS_QUOTA_METRICS_SCHEMA, TEAMS_QUOTA_USAGE_SCHEMA, TEAM_API_BASE_HEADERS_SCHEMA, TEAM_QUOTA_ALLOWED_SCHEMA, TEAM_QUOTA_METRICS_SCHEMA, TEAM_QUOTA_USAGE_SCHEMA } from "./harmony62.mjs";
|
62
|
+
import { TEAM_USER_API_BASE_HEADERS_SCHEMA, TEAM_USER_PATH_PARAMS_SCHEMA, TEAM_USER_RESPONSE_SCHEMA, TEAM_USER_SCHEMA } from "./harmony63.mjs";
|
63
|
+
import { JWT_TOKEN_SCHEMA, USER_TOKEN_REQUEST_HEADER_SCHEMA } from "./harmony64.mjs";
|
63
64
|
export {
|
64
65
|
ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA,
|
65
66
|
ADD_LANGUAGES_TO_PROJECT_REQUEST_BODY_SCHEMA,
|
@@ -128,6 +129,8 @@ export {
|
|
128
129
|
RETRIEVE_TEAM_RESPONSE_SCHEMA,
|
129
130
|
SEVERITY_ENUM,
|
130
131
|
START_PLAN_IDS,
|
132
|
+
SWITCH_TEAM_REQUEST_BODY_SCHEMA,
|
133
|
+
SWITCH_TEAM_RESPONSE_SCHEMA,
|
131
134
|
Sidebar,
|
132
135
|
SidebarTaskLanguageStatuses,
|
133
136
|
SidebarTaskStatuses,
|
@@ -197,6 +200,7 @@ export {
|
|
197
200
|
retrieveProjectQueryKey,
|
198
201
|
retrieveTeam,
|
199
202
|
retrieveTeamQueryKey,
|
203
|
+
switchTeam,
|
200
204
|
updateProject,
|
201
205
|
useAddLanguagesToProjectMutation,
|
202
206
|
useAuthenticatedProjectContributor,
|
@@ -220,6 +224,7 @@ export {
|
|
220
224
|
useRetrieveContributorQuery,
|
221
225
|
useRetrieveProjectQuery,
|
222
226
|
useRetrieveTeamQuery,
|
227
|
+
useSwitchTeamMutation,
|
223
228
|
useUpdateProjectMutation
|
224
229
|
};
|
225
230
|
//# sourceMappingURL=harmony.mjs.map
|
package/dist/harmony.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/harmony100.cjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const floatingUi_utils = require("./
|
3
|
+
const floatingUi_utils = require("./harmony109.cjs");
|
4
4
|
async function detectOverflow(state, options) {
|
5
5
|
var _await$platform$isEle;
|
6
6
|
if (options === void 0) {
|
package/dist/harmony100.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { evaluate, getSideAxis, getSide, clamp, getPaddingObject, rectToClientRect, getOppositeAxis } from "./
|
1
|
+
import { evaluate, getSideAxis, getSide, clamp, getPaddingObject, rectToClientRect, getOppositeAxis } from "./harmony109.mjs";
|
2
2
|
async function detectOverflow(state, options) {
|
3
3
|
var _await$platform$isEle;
|
4
4
|
if (options === void 0) {
|
package/dist/harmony103.cjs
CHANGED
@@ -3,10 +3,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
4
|
const louis = require("@lokalise/louis");
|
5
5
|
const useEffectOnce = require("./harmony11.cjs");
|
6
|
-
const TaskOverview = require("./
|
6
|
+
const TaskOverview = require("./harmony110.cjs");
|
7
7
|
const TasksContext = require("./harmony102.cjs");
|
8
8
|
const taskEvents = require("./harmony105.cjs");
|
9
|
-
const TasksPopover_module = require("./
|
9
|
+
const TasksPopover_module = require("./harmony111.cjs");
|
10
10
|
const TasksPopover = () => {
|
11
11
|
const { tasks, onTasksWidgetOpen, loadingTasks, fetchTasks } = TasksContext.useTasks();
|
12
12
|
useEffectOnce.useEffectOnce(() => {
|
package/dist/harmony103.mjs
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
2
2
|
import { Loading, Link } from "@lokalise/louis";
|
3
3
|
import { useEffectOnce } from "./harmony11.mjs";
|
4
|
-
import { TaskOverview } from "./
|
4
|
+
import { TaskOverview } from "./harmony110.mjs";
|
5
5
|
import { useTasks } from "./harmony102.mjs";
|
6
6
|
import { TaskEvents } from "./harmony105.mjs";
|
7
|
-
import styles from "./
|
7
|
+
import styles from "./harmony111.mjs";
|
8
8
|
const TasksPopover = () => {
|
9
9
|
const { tasks, onTasksWidgetOpen, loadingTasks, fetchTasks } = useTasks();
|
10
10
|
useEffectOnce(() => {
|
package/dist/harmony106.cjs
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const
|
4
|
-
const
|
5
|
-
|
6
|
-
|
7
|
-
exports.default =
|
3
|
+
const iconContainer = "_iconContainer_nz34m_1";
|
4
|
+
const styles = {
|
5
|
+
iconContainer
|
6
|
+
};
|
7
|
+
exports.default = styles;
|
8
|
+
exports.iconContainer = iconContainer;
|
8
9
|
//# sourceMappingURL=harmony106.cjs.map
|
package/dist/harmony106.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony106.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony106.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony106.mjs
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
const iconContainer = "_iconContainer_nz34m_1";
|
2
|
+
const styles = {
|
3
|
+
iconContainer
|
4
|
+
};
|
5
5
|
export {
|
6
|
-
|
6
|
+
styles as default,
|
7
|
+
iconContainer
|
7
8
|
};
|
8
9
|
//# sourceMappingURL=harmony106.mjs.map
|
package/dist/harmony107.cjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const _commonjsHelpers = require("./
|
4
|
-
const
|
5
|
-
var
|
6
|
-
const
|
7
|
-
exports.default =
|
3
|
+
const _commonjsHelpers = require("./harmony128.cjs");
|
4
|
+
const debounce$1 = require("./harmony112.cjs");
|
5
|
+
var debounceExports = debounce$1.__require();
|
6
|
+
const debounce = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(debounceExports);
|
7
|
+
exports.default = debounce;
|
8
8
|
//# sourceMappingURL=harmony107.cjs.map
|
package/dist/harmony107.mjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { getDefaultExportFromCjs } from "./
|
2
|
-
import { __require as
|
3
|
-
var
|
4
|
-
const
|
1
|
+
import { getDefaultExportFromCjs } from "./harmony128.mjs";
|
2
|
+
import { __require as requireDebounce } from "./harmony112.mjs";
|
3
|
+
var debounceExports = requireDebounce();
|
4
|
+
const debounce = /* @__PURE__ */ getDefaultExportFromCjs(debounceExports);
|
5
5
|
export {
|
6
|
-
|
6
|
+
debounce as default
|
7
7
|
};
|
8
8
|
//# sourceMappingURL=harmony107.mjs.map
|
package/dist/harmony108.cjs
CHANGED
@@ -1,99 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
function requireDebounce() {
|
9
|
-
if (hasRequiredDebounce) return debounce_1;
|
10
|
-
hasRequiredDebounce = 1;
|
11
|
-
var isObject$1 = isObject.__require(), now$1 = now.__require(), toNumber$1 = toNumber.__require();
|
12
|
-
var FUNC_ERROR_TEXT = "Expected a function";
|
13
|
-
var nativeMax = Math.max, nativeMin = Math.min;
|
14
|
-
function debounce(func, wait, options) {
|
15
|
-
var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
|
16
|
-
if (typeof func != "function") {
|
17
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
18
|
-
}
|
19
|
-
wait = toNumber$1(wait) || 0;
|
20
|
-
if (isObject$1(options)) {
|
21
|
-
leading = !!options.leading;
|
22
|
-
maxing = "maxWait" in options;
|
23
|
-
maxWait = maxing ? nativeMax(toNumber$1(options.maxWait) || 0, wait) : maxWait;
|
24
|
-
trailing = "trailing" in options ? !!options.trailing : trailing;
|
25
|
-
}
|
26
|
-
function invokeFunc(time) {
|
27
|
-
var args = lastArgs, thisArg = lastThis;
|
28
|
-
lastArgs = lastThis = void 0;
|
29
|
-
lastInvokeTime = time;
|
30
|
-
result = func.apply(thisArg, args);
|
31
|
-
return result;
|
32
|
-
}
|
33
|
-
function leadingEdge(time) {
|
34
|
-
lastInvokeTime = time;
|
35
|
-
timerId = setTimeout(timerExpired, wait);
|
36
|
-
return leading ? invokeFunc(time) : result;
|
37
|
-
}
|
38
|
-
function remainingWait(time) {
|
39
|
-
var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
|
40
|
-
return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;
|
41
|
-
}
|
42
|
-
function shouldInvoke(time) {
|
43
|
-
var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;
|
44
|
-
return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
|
45
|
-
}
|
46
|
-
function timerExpired() {
|
47
|
-
var time = now$1();
|
48
|
-
if (shouldInvoke(time)) {
|
49
|
-
return trailingEdge(time);
|
50
|
-
}
|
51
|
-
timerId = setTimeout(timerExpired, remainingWait(time));
|
52
|
-
}
|
53
|
-
function trailingEdge(time) {
|
54
|
-
timerId = void 0;
|
55
|
-
if (trailing && lastArgs) {
|
56
|
-
return invokeFunc(time);
|
57
|
-
}
|
58
|
-
lastArgs = lastThis = void 0;
|
59
|
-
return result;
|
60
|
-
}
|
61
|
-
function cancel() {
|
62
|
-
if (timerId !== void 0) {
|
63
|
-
clearTimeout(timerId);
|
64
|
-
}
|
65
|
-
lastInvokeTime = 0;
|
66
|
-
lastArgs = lastCallTime = lastThis = timerId = void 0;
|
67
|
-
}
|
68
|
-
function flush() {
|
69
|
-
return timerId === void 0 ? result : trailingEdge(now$1());
|
70
|
-
}
|
71
|
-
function debounced() {
|
72
|
-
var time = now$1(), isInvoking = shouldInvoke(time);
|
73
|
-
lastArgs = arguments;
|
74
|
-
lastThis = this;
|
75
|
-
lastCallTime = time;
|
76
|
-
if (isInvoking) {
|
77
|
-
if (timerId === void 0) {
|
78
|
-
return leadingEdge(lastCallTime);
|
79
|
-
}
|
80
|
-
if (maxing) {
|
81
|
-
clearTimeout(timerId);
|
82
|
-
timerId = setTimeout(timerExpired, wait);
|
83
|
-
return invokeFunc(lastCallTime);
|
84
|
-
}
|
85
|
-
}
|
86
|
-
if (timerId === void 0) {
|
87
|
-
timerId = setTimeout(timerExpired, wait);
|
88
|
-
}
|
89
|
-
return result;
|
90
|
-
}
|
91
|
-
debounced.cancel = cancel;
|
92
|
-
debounced.flush = flush;
|
93
|
-
return debounced;
|
94
|
-
}
|
95
|
-
debounce_1 = debounce;
|
96
|
-
return debounce_1;
|
97
|
-
}
|
98
|
-
exports.__require = requireDebounce;
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const _commonjsHelpers = require("./harmony128.cjs");
|
4
|
+
const throttle$1 = require("./harmony116.cjs");
|
5
|
+
var throttleExports = throttle$1.__require();
|
6
|
+
const throttle = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(throttleExports);
|
7
|
+
exports.default = throttle;
|
99
8
|
//# sourceMappingURL=harmony108.cjs.map
|
package/dist/harmony108.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony108.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony108.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/dist/harmony108.mjs
CHANGED
@@ -1,99 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
import { __require as
|
3
|
-
|
4
|
-
|
5
|
-
var hasRequiredDebounce;
|
6
|
-
function requireDebounce() {
|
7
|
-
if (hasRequiredDebounce) return debounce_1;
|
8
|
-
hasRequiredDebounce = 1;
|
9
|
-
var isObject = requireIsObject(), now = requireNow(), toNumber = requireToNumber();
|
10
|
-
var FUNC_ERROR_TEXT = "Expected a function";
|
11
|
-
var nativeMax = Math.max, nativeMin = Math.min;
|
12
|
-
function debounce(func, wait, options) {
|
13
|
-
var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
|
14
|
-
if (typeof func != "function") {
|
15
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
16
|
-
}
|
17
|
-
wait = toNumber(wait) || 0;
|
18
|
-
if (isObject(options)) {
|
19
|
-
leading = !!options.leading;
|
20
|
-
maxing = "maxWait" in options;
|
21
|
-
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
22
|
-
trailing = "trailing" in options ? !!options.trailing : trailing;
|
23
|
-
}
|
24
|
-
function invokeFunc(time) {
|
25
|
-
var args = lastArgs, thisArg = lastThis;
|
26
|
-
lastArgs = lastThis = void 0;
|
27
|
-
lastInvokeTime = time;
|
28
|
-
result = func.apply(thisArg, args);
|
29
|
-
return result;
|
30
|
-
}
|
31
|
-
function leadingEdge(time) {
|
32
|
-
lastInvokeTime = time;
|
33
|
-
timerId = setTimeout(timerExpired, wait);
|
34
|
-
return leading ? invokeFunc(time) : result;
|
35
|
-
}
|
36
|
-
function remainingWait(time) {
|
37
|
-
var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
|
38
|
-
return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;
|
39
|
-
}
|
40
|
-
function shouldInvoke(time) {
|
41
|
-
var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;
|
42
|
-
return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
|
43
|
-
}
|
44
|
-
function timerExpired() {
|
45
|
-
var time = now();
|
46
|
-
if (shouldInvoke(time)) {
|
47
|
-
return trailingEdge(time);
|
48
|
-
}
|
49
|
-
timerId = setTimeout(timerExpired, remainingWait(time));
|
50
|
-
}
|
51
|
-
function trailingEdge(time) {
|
52
|
-
timerId = void 0;
|
53
|
-
if (trailing && lastArgs) {
|
54
|
-
return invokeFunc(time);
|
55
|
-
}
|
56
|
-
lastArgs = lastThis = void 0;
|
57
|
-
return result;
|
58
|
-
}
|
59
|
-
function cancel() {
|
60
|
-
if (timerId !== void 0) {
|
61
|
-
clearTimeout(timerId);
|
62
|
-
}
|
63
|
-
lastInvokeTime = 0;
|
64
|
-
lastArgs = lastCallTime = lastThis = timerId = void 0;
|
65
|
-
}
|
66
|
-
function flush() {
|
67
|
-
return timerId === void 0 ? result : trailingEdge(now());
|
68
|
-
}
|
69
|
-
function debounced() {
|
70
|
-
var time = now(), isInvoking = shouldInvoke(time);
|
71
|
-
lastArgs = arguments;
|
72
|
-
lastThis = this;
|
73
|
-
lastCallTime = time;
|
74
|
-
if (isInvoking) {
|
75
|
-
if (timerId === void 0) {
|
76
|
-
return leadingEdge(lastCallTime);
|
77
|
-
}
|
78
|
-
if (maxing) {
|
79
|
-
clearTimeout(timerId);
|
80
|
-
timerId = setTimeout(timerExpired, wait);
|
81
|
-
return invokeFunc(lastCallTime);
|
82
|
-
}
|
83
|
-
}
|
84
|
-
if (timerId === void 0) {
|
85
|
-
timerId = setTimeout(timerExpired, wait);
|
86
|
-
}
|
87
|
-
return result;
|
88
|
-
}
|
89
|
-
debounced.cancel = cancel;
|
90
|
-
debounced.flush = flush;
|
91
|
-
return debounced;
|
92
|
-
}
|
93
|
-
debounce_1 = debounce;
|
94
|
-
return debounce_1;
|
95
|
-
}
|
1
|
+
import { getDefaultExportFromCjs } from "./harmony128.mjs";
|
2
|
+
import { __require as requireThrottle } from "./harmony116.mjs";
|
3
|
+
var throttleExports = requireThrottle();
|
4
|
+
const throttle = /* @__PURE__ */ getDefaultExportFromCjs(throttleExports);
|
96
5
|
export {
|
97
|
-
|
6
|
+
throttle as default
|
98
7
|
};
|
99
8
|
//# sourceMappingURL=harmony108.mjs.map
|
package/dist/harmony108.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony108.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony108.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony109.cjs
CHANGED
@@ -1,16 +1,65 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
|
5
|
-
function
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
3
|
+
const min = Math.min;
|
4
|
+
const max = Math.max;
|
5
|
+
function clamp(start, value, end) {
|
6
|
+
return max(start, min(value, end));
|
7
|
+
}
|
8
|
+
function evaluate(value, param) {
|
9
|
+
return typeof value === "function" ? value(param) : value;
|
10
|
+
}
|
11
|
+
function getSide(placement) {
|
12
|
+
return placement.split("-")[0];
|
13
|
+
}
|
14
|
+
function getOppositeAxis(axis) {
|
15
|
+
return axis === "x" ? "y" : "x";
|
16
|
+
}
|
17
|
+
function getSideAxis(placement) {
|
18
|
+
return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
|
19
|
+
}
|
20
|
+
function expandPaddingObject(padding) {
|
21
|
+
return {
|
22
|
+
top: 0,
|
23
|
+
right: 0,
|
24
|
+
bottom: 0,
|
25
|
+
left: 0,
|
26
|
+
...padding
|
27
|
+
};
|
28
|
+
}
|
29
|
+
function getPaddingObject(padding) {
|
30
|
+
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
31
|
+
top: padding,
|
32
|
+
right: padding,
|
33
|
+
bottom: padding,
|
34
|
+
left: padding
|
35
|
+
};
|
36
|
+
}
|
37
|
+
function rectToClientRect(rect) {
|
38
|
+
const {
|
39
|
+
x,
|
40
|
+
y,
|
41
|
+
width,
|
42
|
+
height
|
43
|
+
} = rect;
|
44
|
+
return {
|
45
|
+
width,
|
46
|
+
height,
|
47
|
+
top: y,
|
48
|
+
left: x,
|
49
|
+
right: x + width,
|
50
|
+
bottom: y + height,
|
51
|
+
x,
|
52
|
+
y
|
53
|
+
};
|
54
|
+
}
|
55
|
+
exports.clamp = clamp;
|
56
|
+
exports.evaluate = evaluate;
|
57
|
+
exports.expandPaddingObject = expandPaddingObject;
|
58
|
+
exports.getOppositeAxis = getOppositeAxis;
|
59
|
+
exports.getPaddingObject = getPaddingObject;
|
60
|
+
exports.getSide = getSide;
|
61
|
+
exports.getSideAxis = getSideAxis;
|
62
|
+
exports.max = max;
|
63
|
+
exports.min = min;
|
64
|
+
exports.rectToClientRect = rectToClientRect;
|
16
65
|
//# sourceMappingURL=harmony109.cjs.map
|
package/dist/harmony109.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony109.cjs","sources":["../node_modules/
|
1
|
+
{"version":3,"file":"harmony109.cjs","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n const lr = ['left', 'right'];\n const rl = ['right', 'left'];\n const tb = ['top', 'bottom'];\n const bt = ['bottom', 'top'];\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rl : lr;\n return isStart ? lr : rl;\n case 'left':\n case 'right':\n return isStart ? tb : bt;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":[],"mappings":";;AAQK,MAAC,MAAM,KAAK;AACZ,MAAC,MAAM,KAAK;AAiBjB,SAAS,MAAM,OAAO,OAAO,KAAK;AAChC,SAAO,IAAI,OAAO,IAAI,OAAO,GAAG,CAAC;AACnC;AACA,SAAS,SAAS,OAAO,OAAO;AAC9B,SAAO,OAAO,UAAU,aAAa,MAAM,KAAK,IAAI;AACtD;AACA,SAAS,QAAQ,WAAW;AAC1B,SAAO,UAAU,MAAM,GAAG,EAAE,CAAC;AAC/B;AAIA,SAAS,gBAAgB,MAAM;AAC7B,SAAO,SAAS,MAAM,MAAM;AAC9B;AAIA,SAAS,YAAY,WAAW;AAC9B,SAAO,CAAC,OAAO,QAAQ,EAAE,SAAS,QAAQ,SAAS,CAAC,IAAI,MAAM;AAChE;AAuDA,SAAS,oBAAoB,SAAS;AACpC,SAAO;AAAA,IACL,KAAK;AAAA,IACL,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,GAAG;AAAA,EACJ;AACH;AACA,SAAS,iBAAiB,SAAS;AACjC,SAAO,OAAO,YAAY,WAAW,oBAAoB,OAAO,IAAI;AAAA,IAClE,KAAK;AAAA,IACL,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACP;AACH;AACA,SAAS,iBAAiB,MAAM;AAC9B,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ,IAAM;AACJ,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,KAAK;AAAA,IACL,MAAM;AAAA,IACN,OAAO,IAAI;AAAA,IACX,QAAQ,IAAI;AAAA,IACZ;AAAA,IACA;AAAA,EACD;AACH;;;;;;;;;;;","x_google_ignoreList":[0]}
|