@lokalise/harmony 1.33.0 → 1.33.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/harmony100.cjs +21 -99
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +20 -81
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +6 -18
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +6 -18
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +130 -12
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +130 -12
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +12 -132
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +11 -131
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +6 -13
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +5 -12
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +40 -5
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +40 -5
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +53 -33
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +54 -34
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +6 -59
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +6 -59
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +98 -6
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +81 -6
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +19 -22
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +18 -21
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +13 -5
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +13 -5
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony112.cjs +63 -6
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +62 -5
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +89 -6
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +88 -5
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +19 -63
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +18 -62
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +6 -89
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +5 -88
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +5 -18
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +5 -18
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony119.cjs +1 -1
- package/dist/harmony119.mjs +1 -1
- package/dist/harmony120.cjs +2 -2
- package/dist/harmony120.mjs +2 -2
- package/dist/harmony122.cjs +7 -13
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +7 -13
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +57 -15
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +57 -15
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +59 -15
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +59 -15
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +18 -7
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +17 -6
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +13 -57
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +13 -57
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +14 -59
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +14 -59
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +17 -19
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +16 -18
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +1 -1
- package/dist/harmony129.mjs +1 -1
- package/dist/harmony131.cjs +3 -3
- package/dist/harmony131.mjs +3 -3
- package/dist/harmony133.cjs +46 -6
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +46 -6
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +13 -13
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +12 -12
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +5 -31
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +5 -31
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +11 -13
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +11 -13
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +31 -45
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +31 -45
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony138.cjs +15 -13
- package/dist/harmony138.cjs.map +1 -1
- package/dist/harmony138.mjs +14 -12
- package/dist/harmony138.mjs.map +1 -1
- package/dist/harmony16.cjs +1 -1
- package/dist/harmony16.mjs +1 -1
- package/dist/harmony23.cjs +1 -1
- package/dist/harmony23.mjs +1 -1
- package/dist/harmony24.cjs +1 -1
- package/dist/harmony24.mjs +1 -1
- package/dist/harmony50.cjs.map +1 -1
- package/dist/harmony50.mjs.map +1 -1
- package/dist/harmony69.cjs +1 -1
- package/dist/harmony69.mjs +1 -1
- package/dist/harmony79.cjs +6 -6
- package/dist/harmony79.mjs +6 -6
- package/dist/harmony88.cjs +1 -1
- package/dist/harmony88.mjs +1 -1
- package/dist/harmony89.cjs +1 -1
- package/dist/harmony89.mjs +1 -1
- package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +2 -2
- package/package.json +1 -1
package/dist/harmony137.mjs
CHANGED
@@ -1,49 +1,35 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
fetchTasks();
|
26
|
-
},
|
27
|
-
children: /* @__PURE__ */ jsxs(Alert, { status: "info", children: [
|
28
|
-
"Make sure you are finished and ",
|
29
|
-
/* @__PURE__ */ jsx("strong", { children: "mark it as done" }),
|
30
|
-
" to notify your team admin. This action cannot be undone, and the language might no longer be available for you to edit."
|
31
|
-
] })
|
1
|
+
import { __require as require_Symbol } from "./harmony136.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];
|
32
25
|
}
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
setIsMarkAsDonePromptShown(true);
|
40
|
-
},
|
41
|
-
children: "Mark as done"
|
42
|
-
}
|
43
|
-
)
|
44
|
-
] });
|
45
|
-
};
|
26
|
+
}
|
27
|
+
return result;
|
28
|
+
}
|
29
|
+
_getRawTag = getRawTag;
|
30
|
+
return _getRawTag;
|
31
|
+
}
|
46
32
|
export {
|
47
|
-
|
33
|
+
require_getRawTag as __require
|
48
34
|
};
|
49
35
|
//# sourceMappingURL=harmony137.mjs.map
|
package/dist/harmony137.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony137.mjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony137.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/harmony138.cjs
CHANGED
@@ -1,15 +1,17 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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;
|
15
17
|
//# sourceMappingURL=harmony138.cjs.map
|
package/dist/harmony138.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony138.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony138.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/harmony138.mjs
CHANGED
@@ -1,15 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
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
|
+
}
|
9
14
|
export {
|
10
|
-
|
11
|
-
langCellSecondary,
|
12
|
-
langRowCompleted,
|
13
|
-
langStatus
|
15
|
+
require_objectToString as __require
|
14
16
|
};
|
15
17
|
//# sourceMappingURL=harmony138.mjs.map
|
package/dist/harmony138.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony138.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony138.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/harmony16.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("./harmony109.cjs");
|
4
4
|
function parseJwtTokenPayload(token) {
|
5
5
|
try {
|
6
6
|
const payload = token.split(".")[1];
|
package/dist/harmony16.mjs
CHANGED
package/dist/harmony23.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const useGetUserTokenQuery = require("./harmony44.cjs");
|
4
4
|
const React = require("react");
|
5
|
-
const NewJwtIssuedEvent = require("./
|
5
|
+
const NewJwtIssuedEvent = require("./harmony110.cjs");
|
6
6
|
const cookieTokenUtils = require("./harmony17.cjs");
|
7
7
|
function useGetPromotedClassicSessionJwtQuery(wretchClient, headers, teamId) {
|
8
8
|
const csrf = cookieTokenUtils.getCsrfTokenFromCookie();
|
package/dist/harmony23.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useGetUserTokenQuery, getUserTokenKey } from "./harmony44.mjs";
|
2
2
|
import { useRef, useEffect } from "react";
|
3
|
-
import { NewJwtIssuedEvent } from "./
|
3
|
+
import { NewJwtIssuedEvent } from "./harmony110.mjs";
|
4
4
|
import { getCsrfTokenFromCookie } from "./harmony17.mjs";
|
5
5
|
function useGetPromotedClassicSessionJwtQuery(wretchClient, headers, teamId) {
|
6
6
|
const csrf = getCsrfTokenFromCookie();
|
package/dist/harmony24.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("./harmony16.cjs");
|
5
|
-
const NewJwtIssuedEvent = require("./
|
5
|
+
const NewJwtIssuedEvent = require("./harmony110.cjs");
|
6
6
|
const cookieTokenUtils = require("./harmony17.cjs");
|
7
7
|
function useAuthenticatedSessionPayload() {
|
8
8
|
const [payload, setPayload] = React.useState();
|
package/dist/harmony24.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useState, useEffect } from "react";
|
2
2
|
import { parseJwtTokenPayload } from "./harmony16.mjs";
|
3
|
-
import { NewJwtIssuedEvent } from "./
|
3
|
+
import { NewJwtIssuedEvent } from "./harmony110.mjs";
|
4
4
|
import { getJwtTokenFromCookie } from "./harmony17.mjs";
|
5
5
|
function useAuthenticatedSessionPayload() {
|
6
6
|
const [payload, setPayload] = useState();
|
package/dist/harmony50.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony50.cjs","sources":["../src/features/publicApi/hooks/useListTeamUsersQuery.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport type { ProjectApiBaseHeaders } from '@features/publicApi/types/projectTypes'\nimport type {
|
1
|
+
{"version":3,"file":"harmony50.cjs","sources":["../src/features/publicApi/hooks/useListTeamUsersQuery.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport type { ProjectApiBaseHeaders } from '@features/publicApi/types/projectTypes'\nimport type { ListTeamUsersResponse, TeamPathParams } from '@features/publicApi/types/teamUserTypes'\nimport { sendByGetRoute } from '@lokalise/frontend-http-client'\nimport { useQuery } from '@tanstack/react-query'\nimport type { ApiQueryOverrides } from '@utils/types/apiQueryOverrides'\nimport type { Wretch } from 'wretch'\nimport { listTeamUsers } from '../teamUsers'\n\n/**\n * Factory for the listTeamUsers public API endpoint key\n */\nexport const listTeamUsersKey = {\n\tparamsKey: (params: TeamPathParams) => ['listTeamUsers', params] as const,\n}\n\n/**\n * A react-router wrapper about the listTeamUsers public API endpoint\n *\n * @param wretchClient - Wretch instance configured to a public API instance.\n * @param headers - A header builder instance to resolve the headers.\n * @param overrides - Additional options to pass to the query.\n */\nexport function useListTeamUsersQuery<T>(\n\twretchClient: Wretch<T>,\n\theaders: HeaderBuilder<ProjectApiBaseHeaders>,\n\toverrides: ApiQueryOverrides<ListTeamUsersResponse, typeof listTeamUsersKey>,\n) {\n\treturn useQuery({\n\t\t...overrides,\n\t\tqueryFn: async ({ queryKey: [_, params] }) =>\n\t\t\tsendByGetRoute(wretchClient, listTeamUsers, {\n\t\t\t\theaders: await headers.resolve(),\n\t\t\t\tpathParams: params,\n\t\t\t}),\n\t})\n}\n"],"names":["useQuery","sendByGetRoute","listTeamUsers"],"mappings":";;;;;AAYO,MAAM,mBAAmB;AAAA,EAC/B,WAAW,CAAC,WAA2B,CAAC,iBAAiB,MAAM;AAChE;AASgB,SAAA,sBACf,cACA,SACA,WACC;AACD,SAAOA,oBAAS;AAAA,IACf,GAAG;AAAA,IACH,SAAS,OAAO,EAAE,UAAU,CAAC,GAAG,MAAM,QACrCC,mBAAAA,eAAe,cAAcC,yBAAe;AAAA,MAC3C,SAAS,MAAM,QAAQ,QAAQ;AAAA,MAC/B,YAAY;AAAA,IACZ,CAAA;AAAA,EAAA,CACF;AACF;;;"}
|
package/dist/harmony50.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony50.mjs","sources":["../src/features/publicApi/hooks/useListTeamUsersQuery.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport type { ProjectApiBaseHeaders } from '@features/publicApi/types/projectTypes'\nimport type {
|
1
|
+
{"version":3,"file":"harmony50.mjs","sources":["../src/features/publicApi/hooks/useListTeamUsersQuery.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport type { ProjectApiBaseHeaders } from '@features/publicApi/types/projectTypes'\nimport type { ListTeamUsersResponse, TeamPathParams } from '@features/publicApi/types/teamUserTypes'\nimport { sendByGetRoute } from '@lokalise/frontend-http-client'\nimport { useQuery } from '@tanstack/react-query'\nimport type { ApiQueryOverrides } from '@utils/types/apiQueryOverrides'\nimport type { Wretch } from 'wretch'\nimport { listTeamUsers } from '../teamUsers'\n\n/**\n * Factory for the listTeamUsers public API endpoint key\n */\nexport const listTeamUsersKey = {\n\tparamsKey: (params: TeamPathParams) => ['listTeamUsers', params] as const,\n}\n\n/**\n * A react-router wrapper about the listTeamUsers public API endpoint\n *\n * @param wretchClient - Wretch instance configured to a public API instance.\n * @param headers - A header builder instance to resolve the headers.\n * @param overrides - Additional options to pass to the query.\n */\nexport function useListTeamUsersQuery<T>(\n\twretchClient: Wretch<T>,\n\theaders: HeaderBuilder<ProjectApiBaseHeaders>,\n\toverrides: ApiQueryOverrides<ListTeamUsersResponse, typeof listTeamUsersKey>,\n) {\n\treturn useQuery({\n\t\t...overrides,\n\t\tqueryFn: async ({ queryKey: [_, params] }) =>\n\t\t\tsendByGetRoute(wretchClient, listTeamUsers, {\n\t\t\t\theaders: await headers.resolve(),\n\t\t\t\tpathParams: params,\n\t\t\t}),\n\t})\n}\n"],"names":[],"mappings":";;;AAYO,MAAM,mBAAmB;AAAA,EAC/B,WAAW,CAAC,WAA2B,CAAC,iBAAiB,MAAM;AAChE;AASgB,SAAA,sBACf,cACA,SACA,WACC;AACD,SAAO,SAAS;AAAA,IACf,GAAG;AAAA,IACH,SAAS,OAAO,EAAE,UAAU,CAAC,GAAG,MAAM,QACrC,eAAe,cAAc,eAAe;AAAA,MAC3C,SAAS,MAAM,QAAQ,QAAQ;AAAA,MAC/B,YAAY;AAAA,IACZ,CAAA;AAAA,EAAA,CACF;AACF;"}
|
package/dist/harmony69.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const React = require("react");
|
4
|
-
const utils = require("./
|
4
|
+
const utils = require("./harmony108.cjs");
|
5
5
|
function useResizeDetector({ skipOnMount = false, refreshMode, refreshRate = 1e3, refreshOptions, handleWidth = true, handleHeight = true, targetRef, observerOptions, onResize } = {}) {
|
6
6
|
const skipResize = React.useRef(skipOnMount);
|
7
7
|
const onResizeRef = utils.useCallbackRef(onResize);
|
package/dist/harmony69.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useRef, useState, useCallback, useEffect } from "react";
|
2
|
-
import { useCallbackRef, useRefProxy, getDimensions, patchResizeCallback } from "./
|
2
|
+
import { useCallbackRef, useRefProxy, getDimensions, patchResizeCallback } from "./harmony108.mjs";
|
3
3
|
function useResizeDetector({ skipOnMount = false, refreshMode, refreshRate = 1e3, refreshOptions, handleWidth = true, handleHeight = true, targetRef, observerOptions, onResize } = {}) {
|
4
4
|
const skipResize = useRef(skipOnMount);
|
5
5
|
const onResizeRef = useCallbackRef(onResize);
|
package/dist/harmony79.cjs
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
|
-
const floatingUi_core = require("./
|
4
|
+
const floatingUi_core = require("./harmony102.cjs");
|
5
5
|
const louis = require("@lokalise/louis");
|
6
6
|
const useEffectOnce = require("./harmony12.cjs");
|
7
7
|
const clsx = require("./harmony67.cjs");
|
8
8
|
const React = require("react");
|
9
|
-
const Tasks_module = require("./
|
10
|
-
const TasksContext = require("./
|
11
|
-
const TasksPopover = require("./
|
12
|
-
const TasksProvider = require("./
|
13
|
-
const taskEvents = require("./
|
9
|
+
const Tasks_module = require("./harmony103.cjs");
|
10
|
+
const TasksContext = require("./harmony104.cjs");
|
11
|
+
const TasksPopover = require("./harmony105.cjs");
|
12
|
+
const TasksProvider = require("./harmony106.cjs");
|
13
|
+
const taskEvents = require("./harmony107.cjs");
|
14
14
|
const Tasks = TasksProvider.withTasksContext(() => {
|
15
15
|
const [open, setOpen] = React.useState(false);
|
16
16
|
const { tasksCount } = TasksContext.useTasks();
|
package/dist/harmony79.mjs
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
2
|
-
import { shift } from "./
|
2
|
+
import { shift } from "./harmony102.mjs";
|
3
3
|
import { Tooltip, Popover, Button, JobIcon } from "@lokalise/louis";
|
4
4
|
import { useEffectOnce } from "./harmony12.mjs";
|
5
5
|
import { clsx } from "./harmony67.mjs";
|
6
6
|
import { useState } from "react";
|
7
|
-
import styles from "./
|
8
|
-
import { useTasks } from "./
|
9
|
-
import { TasksPopover } from "./
|
10
|
-
import { withTasksContext } from "./
|
11
|
-
import { TaskEvents } from "./
|
7
|
+
import styles from "./harmony103.mjs";
|
8
|
+
import { useTasks } from "./harmony104.mjs";
|
9
|
+
import { TasksPopover } from "./harmony105.mjs";
|
10
|
+
import { withTasksContext } from "./harmony106.mjs";
|
11
|
+
import { TaskEvents } from "./harmony107.mjs";
|
12
12
|
const Tasks = withTasksContext(() => {
|
13
13
|
const [open, setOpen] = useState(false);
|
14
14
|
const { tasksCount } = useTasks();
|
package/dist/harmony88.cjs
CHANGED
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const louis = require("@lokalise/louis");
|
5
5
|
const clsx = require("./harmony67.cjs");
|
6
6
|
const UpgradeIcon = require("./harmony94.cjs");
|
7
|
-
const ProfileMenuContent_module = require("./
|
7
|
+
const ProfileMenuContent_module = require("./harmony100.cjs");
|
8
8
|
const ProfileMenuContext = require("./harmony90.cjs");
|
9
9
|
const ProfileMenuContent = ({ children }) => {
|
10
10
|
const {
|
package/dist/harmony88.mjs
CHANGED
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Menu, MenuList, UserIcon } from "@lokalise/louis";
|
3
3
|
import { clsx } from "./harmony67.mjs";
|
4
4
|
import { UpgradeIcon } from "./harmony94.mjs";
|
5
|
-
import styles from "./
|
5
|
+
import styles from "./harmony100.mjs";
|
6
6
|
import { useProfileMenu } from "./harmony90.mjs";
|
7
7
|
const ProfileMenuContent = ({ children }) => {
|
8
8
|
const {
|
package/dist/harmony89.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
4
|
const plan = require("./harmony8.cjs");
|
5
|
-
const types = require("./
|
5
|
+
const types = require("./harmony101.cjs");
|
6
6
|
const ProfileMenuContext = require("./harmony90.cjs");
|
7
7
|
const billingRoles = [
|
8
8
|
types.SidebarTeamRoles.biller,
|
package/dist/harmony89.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
2
2
|
import { isFreePlan, isTrialPlan } from "./harmony8.mjs";
|
3
|
-
import { SidebarTeamRoles } from "./
|
3
|
+
import { SidebarTeamRoles } from "./harmony101.mjs";
|
4
4
|
import { ProfileMenuContext } from "./harmony90.mjs";
|
5
5
|
const billingRoles = [
|
6
6
|
SidebarTeamRoles.biller,
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { HeaderBuilder } from '../../auth/core/headers/headerBuilder';
|
2
2
|
import { ProjectApiBaseHeaders } from '../types/projectTypes';
|
3
|
-
import { ListTeamUsersResponse,
|
3
|
+
import { ListTeamUsersResponse, TeamPathParams } from '../types/teamUserTypes';
|
4
4
|
import { ApiQueryOverrides } from '../../../utils/types/apiQueryOverrides';
|
5
5
|
import { Wretch } from 'wretch';
|
6
6
|
/**
|
7
7
|
* Factory for the listTeamUsers public API endpoint key
|
8
8
|
*/
|
9
9
|
export declare const listTeamUsersKey: {
|
10
|
-
paramsKey: (params:
|
10
|
+
paramsKey: (params: TeamPathParams) => readonly ["listTeamUsers", {
|
11
11
|
userId: number;
|
12
12
|
teamId: number;
|
13
13
|
}];
|