@lokalise/harmony 1.33.1 → 1.33.3-exp-louis-27.1.1.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 +99 -21
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +81 -20
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +18 -6
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +18 -6
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +12 -130
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +12 -130
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +18 -9
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +18 -9
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +6 -5
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +6 -5
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +129 -37
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +129 -37
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +12 -60
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +11 -59
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +5 -7
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +5 -7
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +36 -95
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +36 -78
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +60 -18
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +60 -18
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +6 -13
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +6 -13
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony112.cjs +6 -63
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +5 -62
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +6 -89
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +5 -88
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +63 -19
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +62 -18
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +89 -6
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +88 -5
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +18 -5
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +18 -5
- 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 +13 -7
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +13 -7
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +15 -57
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +15 -57
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +15 -59
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +15 -59
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +7 -18
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +6 -17
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +57 -13
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +57 -13
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +59 -14
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +59 -14
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +19 -17
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +18 -16
- 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 +6 -46
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +6 -46
- 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 +31 -5
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +31 -5
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +13 -11
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +13 -11
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +45 -31
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +45 -31
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony138.cjs +13 -15
- package/dist/harmony138.cjs.map +1 -1
- package/dist/harmony138.mjs +12 -14
- 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/harmony39.cjs +1 -0
- package/dist/harmony39.cjs.map +1 -1
- package/dist/harmony39.mjs +1 -0
- package/dist/harmony39.mjs.map +1 -1
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.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 +0 -1
- package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +1 -1
- package/package.json +2 -2
package/dist/harmony137.cjs
CHANGED
@@ -1,35 +1,49 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
4
|
+
const louis = require("@lokalise/louis");
|
5
|
+
const React = require("react");
|
6
|
+
const TasksContext = require("./harmony107.cjs");
|
7
|
+
const TaskLanguageCompleted = ({ task, language }) => {
|
8
|
+
const [loading, setLoading] = React.useState(false);
|
9
|
+
const [isMarkAsDonePromptShown, setIsMarkAsDonePromptShown] = React.useState(false);
|
10
|
+
const { onLanguageCompleteConfirm, fetchTasks } = TasksContext.useTasks();
|
11
|
+
const closePrompt = () => {
|
12
|
+
setIsMarkAsDonePromptShown(false);
|
13
|
+
};
|
14
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
15
|
+
isMarkAsDonePromptShown && /* @__PURE__ */ jsxRuntime.jsx(
|
16
|
+
louis.ConfirmModal,
|
17
|
+
{
|
18
|
+
opened: true,
|
19
|
+
loading,
|
20
|
+
title: `Are you finished with ${language.name}?`,
|
21
|
+
confirmText: "Mark as done",
|
22
|
+
closeText: "Cancel",
|
23
|
+
onClose: closePrompt,
|
24
|
+
onConfirm: async () => {
|
25
|
+
setLoading(true);
|
26
|
+
await onLanguageCompleteConfirm({ task, language, closePrompt });
|
27
|
+
fetchTasks();
|
28
|
+
},
|
29
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(louis.Alert, { status: "info", children: [
|
30
|
+
"Make sure you are finished and ",
|
31
|
+
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "mark it as done" }),
|
32
|
+
" to notify your team admin. This action cannot be undone, and the language might no longer be available for you to edit."
|
33
|
+
] })
|
27
34
|
}
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
+
),
|
36
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
37
|
+
louis.Link,
|
38
|
+
{
|
39
|
+
disabled: loading,
|
40
|
+
onClick: () => {
|
41
|
+
setIsMarkAsDonePromptShown(true);
|
42
|
+
},
|
43
|
+
children: "Mark as done"
|
44
|
+
}
|
45
|
+
)
|
46
|
+
] });
|
47
|
+
};
|
48
|
+
exports.TaskLanguageCompleted = TaskLanguageCompleted;
|
35
49
|
//# sourceMappingURL=harmony137.cjs.map
|
package/dist/harmony137.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony137.cjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony137.cjs","sources":["../src/components/Sidebar/Widgets/Tasks/TaskLanguageCompleted/TaskLanguageCompleted.tsx"],"sourcesContent":["import { Alert, ConfirmModal, Link } from '@lokalise/louis'\nimport { useState } from 'react'\nimport { useTasks } from '../TasksContext'\nimport type { SidebarTask, SidebarTaskLanguage } from '../types'\n\ntype TaskLanguageCompletedProps = {\n\ttask: SidebarTask\n\tlanguage: SidebarTaskLanguage\n}\n\nexport const TaskLanguageCompleted = ({ task, language }: TaskLanguageCompletedProps) => {\n\tconst [loading, setLoading] = useState(false)\n\n\tconst [isMarkAsDonePromptShown, setIsMarkAsDonePromptShown] = useState(false)\n\n\tconst { onLanguageCompleteConfirm, fetchTasks } = useTasks()\n\n\tconst closePrompt = () => {\n\t\tsetIsMarkAsDonePromptShown(false)\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t{isMarkAsDonePromptShown && (\n\t\t\t\t<ConfirmModal\n\t\t\t\t\topened\n\t\t\t\t\tloading={loading}\n\t\t\t\t\ttitle={`Are you finished with ${language.name}?`}\n\t\t\t\t\tconfirmText=\"Mark as done\"\n\t\t\t\t\tcloseText=\"Cancel\"\n\t\t\t\t\tonClose={closePrompt}\n\t\t\t\t\tonConfirm={async () => {\n\t\t\t\t\t\tsetLoading(true)\n\t\t\t\t\t\tawait onLanguageCompleteConfirm({ task, language, closePrompt })\n\t\t\t\t\t\tfetchTasks()\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<Alert status=\"info\">\n\t\t\t\t\t\tMake sure you are finished and <strong>mark it as done</strong> to notify your team\n\t\t\t\t\t\tadmin. This action cannot be undone, and the language might no longer be available for\n\t\t\t\t\t\tyou to edit.\n\t\t\t\t\t</Alert>\n\t\t\t\t</ConfirmModal>\n\t\t\t)}\n\t\t\t<Link\n\t\t\t\tdisabled={loading}\n\t\t\t\tonClick={() => {\n\t\t\t\t\tsetIsMarkAsDonePromptShown(true)\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\tMark as done\n\t\t\t</Link>\n\t\t</>\n\t)\n}\n"],"names":["useState","useTasks","jsxs","Fragment","jsx","ConfirmModal","Alert","Link"],"mappings":";;;;;;AAUO,MAAM,wBAAwB,CAAC,EAAE,MAAM,eAA2C;AACxF,QAAM,CAAC,SAAS,UAAU,IAAIA,MAAAA,SAAS,KAAK;AAE5C,QAAM,CAAC,yBAAyB,0BAA0B,IAAIA,MAAAA,SAAS,KAAK;AAE5E,QAAM,EAAE,2BAA2B,WAAW,IAAIC,sBAAS;AAE3D,QAAM,cAAc,MAAM;AACzB,+BAA2B,KAAK;AAAA,EACjC;AAEA,SAEGC,2BAAA,KAAAC,qBAAA,EAAA,UAAA;AAAA,IACA,2BAAAC,2BAAA;AAAA,MAACC,MAAA;AAAA,MAAA;AAAA,QACA,QAAM;AAAA,QACN;AAAA,QACA,OAAO,yBAAyB,SAAS,IAAI;AAAA,QAC7C,aAAY;AAAA,QACZ,WAAU;AAAA,QACV,SAAS;AAAA,QACT,WAAW,YAAY;AACtB,qBAAW,IAAI;AACf,gBAAM,0BAA0B,EAAE,MAAM,UAAU,aAAa;AACpD,qBAAA;AAAA,QACZ;AAAA,QAEA,UAAAH,2BAAA,KAACI,MAAM,OAAA,EAAA,QAAO,QAAO,UAAA;AAAA,UAAA;AAAA,UACWF,2BAAAA,IAAC,YAAO,UAAe,kBAAA,CAAA;AAAA,UAAS;AAAA,QAAA,EAGhE,CAAA;AAAA,MAAA;AAAA,IACD;AAAA,IAEDA,2BAAA;AAAA,MAACG,MAAA;AAAA,MAAA;AAAA,QACA,UAAU;AAAA,QACV,SAAS,MAAM;AACd,qCAA2B,IAAI;AAAA,QAChC;AAAA,QACA,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAED,GACD;AAEF;;"}
|
package/dist/harmony137.mjs
CHANGED
@@ -1,35 +1,49 @@
|
|
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
|
-
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
2
|
+
import { ConfirmModal, Alert, Link } from "@lokalise/louis";
|
3
|
+
import { useState } from "react";
|
4
|
+
import { useTasks } from "./harmony107.mjs";
|
5
|
+
const TaskLanguageCompleted = ({ task, language }) => {
|
6
|
+
const [loading, setLoading] = useState(false);
|
7
|
+
const [isMarkAsDonePromptShown, setIsMarkAsDonePromptShown] = useState(false);
|
8
|
+
const { onLanguageCompleteConfirm, fetchTasks } = useTasks();
|
9
|
+
const closePrompt = () => {
|
10
|
+
setIsMarkAsDonePromptShown(false);
|
11
|
+
};
|
12
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
13
|
+
isMarkAsDonePromptShown && /* @__PURE__ */ jsx(
|
14
|
+
ConfirmModal,
|
15
|
+
{
|
16
|
+
opened: true,
|
17
|
+
loading,
|
18
|
+
title: `Are you finished with ${language.name}?`,
|
19
|
+
confirmText: "Mark as done",
|
20
|
+
closeText: "Cancel",
|
21
|
+
onClose: closePrompt,
|
22
|
+
onConfirm: async () => {
|
23
|
+
setLoading(true);
|
24
|
+
await onLanguageCompleteConfirm({ task, language, closePrompt });
|
25
|
+
fetchTasks();
|
26
|
+
},
|
27
|
+
children: /* @__PURE__ */ jsxs(Alert, { status: "info", children: [
|
28
|
+
"Make sure you are finished and ",
|
29
|
+
/* @__PURE__ */ jsx("strong", { children: "mark it as done" }),
|
30
|
+
" to notify your team admin. This action cannot be undone, and the language might no longer be available for you to edit."
|
31
|
+
] })
|
25
32
|
}
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
33
|
+
),
|
34
|
+
/* @__PURE__ */ jsx(
|
35
|
+
Link,
|
36
|
+
{
|
37
|
+
disabled: loading,
|
38
|
+
onClick: () => {
|
39
|
+
setIsMarkAsDonePromptShown(true);
|
40
|
+
},
|
41
|
+
children: "Mark as done"
|
42
|
+
}
|
43
|
+
)
|
44
|
+
] });
|
45
|
+
};
|
32
46
|
export {
|
33
|
-
|
47
|
+
TaskLanguageCompleted
|
34
48
|
};
|
35
49
|
//# 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":["../src/components/Sidebar/Widgets/Tasks/TaskLanguageCompleted/TaskLanguageCompleted.tsx"],"sourcesContent":["import { Alert, ConfirmModal, Link } from '@lokalise/louis'\nimport { useState } from 'react'\nimport { useTasks } from '../TasksContext'\nimport type { SidebarTask, SidebarTaskLanguage } from '../types'\n\ntype TaskLanguageCompletedProps = {\n\ttask: SidebarTask\n\tlanguage: SidebarTaskLanguage\n}\n\nexport const TaskLanguageCompleted = ({ task, language }: TaskLanguageCompletedProps) => {\n\tconst [loading, setLoading] = useState(false)\n\n\tconst [isMarkAsDonePromptShown, setIsMarkAsDonePromptShown] = useState(false)\n\n\tconst { onLanguageCompleteConfirm, fetchTasks } = useTasks()\n\n\tconst closePrompt = () => {\n\t\tsetIsMarkAsDonePromptShown(false)\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t{isMarkAsDonePromptShown && (\n\t\t\t\t<ConfirmModal\n\t\t\t\t\topened\n\t\t\t\t\tloading={loading}\n\t\t\t\t\ttitle={`Are you finished with ${language.name}?`}\n\t\t\t\t\tconfirmText=\"Mark as done\"\n\t\t\t\t\tcloseText=\"Cancel\"\n\t\t\t\t\tonClose={closePrompt}\n\t\t\t\t\tonConfirm={async () => {\n\t\t\t\t\t\tsetLoading(true)\n\t\t\t\t\t\tawait onLanguageCompleteConfirm({ task, language, closePrompt })\n\t\t\t\t\t\tfetchTasks()\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<Alert status=\"info\">\n\t\t\t\t\t\tMake sure you are finished and <strong>mark it as done</strong> to notify your team\n\t\t\t\t\t\tadmin. This action cannot be undone, and the language might no longer be available for\n\t\t\t\t\t\tyou to edit.\n\t\t\t\t\t</Alert>\n\t\t\t\t</ConfirmModal>\n\t\t\t)}\n\t\t\t<Link\n\t\t\t\tdisabled={loading}\n\t\t\t\tonClick={() => {\n\t\t\t\t\tsetIsMarkAsDonePromptShown(true)\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\tMark as done\n\t\t\t</Link>\n\t\t</>\n\t)\n}\n"],"names":[],"mappings":";;;;AAUO,MAAM,wBAAwB,CAAC,EAAE,MAAM,eAA2C;AACxF,QAAM,CAAC,SAAS,UAAU,IAAI,SAAS,KAAK;AAE5C,QAAM,CAAC,yBAAyB,0BAA0B,IAAI,SAAS,KAAK;AAE5E,QAAM,EAAE,2BAA2B,WAAW,IAAI,SAAS;AAE3D,QAAM,cAAc,MAAM;AACzB,+BAA2B,KAAK;AAAA,EACjC;AAEA,SAEG,qBAAA,UAAA,EAAA,UAAA;AAAA,IACA,2BAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACA,QAAM;AAAA,QACN;AAAA,QACA,OAAO,yBAAyB,SAAS,IAAI;AAAA,QAC7C,aAAY;AAAA,QACZ,WAAU;AAAA,QACV,SAAS;AAAA,QACT,WAAW,YAAY;AACtB,qBAAW,IAAI;AACf,gBAAM,0BAA0B,EAAE,MAAM,UAAU,aAAa;AACpD,qBAAA;AAAA,QACZ;AAAA,QAEA,UAAA,qBAAC,OAAM,EAAA,QAAO,QAAO,UAAA;AAAA,UAAA;AAAA,UACW,oBAAC,YAAO,UAAe,kBAAA,CAAA;AAAA,UAAS;AAAA,QAAA,EAGhE,CAAA;AAAA,MAAA;AAAA,IACD;AAAA,IAED;AAAA,MAAC;AAAA,MAAA;AAAA,QACA,UAAU;AAAA,QACV,SAAS,MAAM;AACd,qCAA2B,IAAI;AAAA,QAChC;AAAA,QACA,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAED,GACD;AAEF;"}
|
package/dist/harmony138.cjs
CHANGED
@@ -1,17 +1,15 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
}
|
16
|
-
exports.__require = require_objectToString;
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const langRowCompleted = "_langRowCompleted_vpgdi_1";
|
4
|
+
const langCellSecondary = "_langCellSecondary_vpgdi_15";
|
5
|
+
const langStatus = "_langStatus_vpgdi_20";
|
6
|
+
const styles = {
|
7
|
+
langRowCompleted,
|
8
|
+
langCellSecondary,
|
9
|
+
langStatus
|
10
|
+
};
|
11
|
+
exports.default = styles;
|
12
|
+
exports.langCellSecondary = langCellSecondary;
|
13
|
+
exports.langRowCompleted = langRowCompleted;
|
14
|
+
exports.langStatus = langStatus;
|
17
15
|
//# sourceMappingURL=harmony138.cjs.map
|
package/dist/harmony138.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony138.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony138.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/harmony138.mjs
CHANGED
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
return nativeObjectToString.call(value);
|
10
|
-
}
|
11
|
-
_objectToString = objectToString;
|
12
|
-
return _objectToString;
|
13
|
-
}
|
1
|
+
const langRowCompleted = "_langRowCompleted_vpgdi_1";
|
2
|
+
const langCellSecondary = "_langCellSecondary_vpgdi_15";
|
3
|
+
const langStatus = "_langStatus_vpgdi_20";
|
4
|
+
const styles = {
|
5
|
+
langRowCompleted,
|
6
|
+
langCellSecondary,
|
7
|
+
langStatus
|
8
|
+
};
|
14
9
|
export {
|
15
|
-
|
10
|
+
styles as default,
|
11
|
+
langCellSecondary,
|
12
|
+
langRowCompleted,
|
13
|
+
langStatus
|
16
14
|
};
|
17
15
|
//# sourceMappingURL=harmony138.mjs.map
|
package/dist/harmony138.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony138.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony138.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
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("./harmony101.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("./harmony102.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 "./harmony102.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("./harmony102.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 "./harmony102.mjs";
|
4
4
|
import { getJwtTokenFromCookie } from "./harmony17.mjs";
|
5
5
|
function useAuthenticatedSessionPayload() {
|
6
6
|
const [payload, setPayload] = useState();
|
package/dist/harmony39.cjs
CHANGED
@@ -17,6 +17,7 @@ function useDeleteScoreMutation(wretchClient, headers, overrides = {}) {
|
|
17
17
|
* https://github.com/TanStack/query/discussions/4964
|
18
18
|
* https://github.com/TanStack/query/discussions/6380
|
19
19
|
**/
|
20
|
+
// @ts-expect-error react-query requires non-undefined return
|
20
21
|
onSuccess: () => null
|
21
22
|
});
|
22
23
|
}
|
package/dist/harmony39.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony39.cjs","sources":["../src/features/publicApi/hooks/useDeleteScoreMutation.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport { sendByDeleteRoute } from '@lokalise/frontend-http-client'\nimport { useMutation } from '@tanstack/react-query'\nimport type { ApiMutationOverrides } from '@utils/types/apiMutationOverrides'\nimport type { Wretch } from 'wretch'\nimport { deleteScore } from '../score'\nimport type { DeleteScorePathParms, DeleteScoreResponseBody } from '../types/scoreTypes'\nimport type { BaseApiEndpointHeader } from '../types/sharedTypes'\n\n/**\n * A react-router wrapper about the deleteScore API endpoint\n *\n * @param wretchClient - Wretch instance configured to a public API instance.\n * @param headers - Instance of the header builder for the public API.\n * @param overrides - Additional options to pass to the mutation.\n */\nexport function useDeleteScoreMutation<T>(\n\twretchClient: Wretch<T>,\n\theaders: HeaderBuilder<BaseApiEndpointHeader>,\n\toverrides: ApiMutationOverrides<DeleteScoreResponseBody, DeleteScorePathParms> = {},\n) {\n\treturn useMutation({\n\t\t...overrides,\n\t\tmutationFn: async (variables) =>\n\t\t\tsendByDeleteRoute(wretchClient, deleteScore, {\n\t\t\t\theaders: await headers.resolve(),\n\t\t\t\tpathParams: variables,\n\t\t\t}),\n\t\t/**\n\t\t * When the request is successful, we expect to receive a 204 with no response body (i.e undefined)\n\t\t * react-query doesn't allow for undefined to be returned, so we need to return null instead\n\t\t * See references for more information:\n\t\t * https://github.com/TanStack/query/discussions/4964\n\t\t * https://github.com/TanStack/query/discussions/6380\n\t\t **/\n\t\tonSuccess: () => null,\n\t})\n}\n"],"names":["useMutation","sendByDeleteRoute","deleteScore"],"mappings":";;;;;AAgBO,SAAS,uBACf,cACA,SACA,YAAiF,CAAA,GAChF;AACD,SAAOA,uBAAY;AAAA,IAClB,GAAG;AAAA,IACH,YAAY,OAAO,cAClBC,qCAAkB,cAAcC,MAAAA,aAAa;AAAA,MAC5C,SAAS,MAAM,QAAQ,QAAQ;AAAA,MAC/B,YAAY;AAAA,IAAA,CACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,
|
1
|
+
{"version":3,"file":"harmony39.cjs","sources":["../src/features/publicApi/hooks/useDeleteScoreMutation.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport { sendByDeleteRoute } from '@lokalise/frontend-http-client'\nimport { useMutation } from '@tanstack/react-query'\nimport type { ApiMutationOverrides } from '@utils/types/apiMutationOverrides'\nimport type { Wretch } from 'wretch'\nimport { deleteScore } from '../score'\nimport type { DeleteScorePathParms, DeleteScoreResponseBody } from '../types/scoreTypes'\nimport type { BaseApiEndpointHeader } from '../types/sharedTypes'\n\n/**\n * A react-router wrapper about the deleteScore API endpoint\n *\n * @param wretchClient - Wretch instance configured to a public API instance.\n * @param headers - Instance of the header builder for the public API.\n * @param overrides - Additional options to pass to the mutation.\n */\nexport function useDeleteScoreMutation<T>(\n\twretchClient: Wretch<T>,\n\theaders: HeaderBuilder<BaseApiEndpointHeader>,\n\toverrides: ApiMutationOverrides<DeleteScoreResponseBody, DeleteScorePathParms> = {},\n) {\n\treturn useMutation({\n\t\t...overrides,\n\t\tmutationFn: async (variables) =>\n\t\t\tsendByDeleteRoute(wretchClient, deleteScore, {\n\t\t\t\theaders: await headers.resolve(),\n\t\t\t\tpathParams: variables,\n\t\t\t}),\n\t\t/**\n\t\t * When the request is successful, we expect to receive a 204 with no response body (i.e undefined)\n\t\t * react-query doesn't allow for undefined to be returned, so we need to return null instead\n\t\t * See references for more information:\n\t\t * https://github.com/TanStack/query/discussions/4964\n\t\t * https://github.com/TanStack/query/discussions/6380\n\t\t **/\n\t\t// @ts-expect-error react-query requires non-undefined return\n\t\tonSuccess: () => null,\n\t})\n}\n"],"names":["useMutation","sendByDeleteRoute","deleteScore"],"mappings":";;;;;AAgBO,SAAS,uBACf,cACA,SACA,YAAiF,CAAA,GAChF;AACD,SAAOA,uBAAY;AAAA,IAClB,GAAG;AAAA,IACH,YAAY,OAAO,cAClBC,qCAAkB,cAAcC,MAAAA,aAAa;AAAA,MAC5C,SAAS,MAAM,QAAQ,QAAQ;AAAA,MAC/B,YAAY;AAAA,IAAA,CACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASF,WAAW,MAAM;AAAA,EAAA,CACjB;AACF;;"}
|
package/dist/harmony39.mjs
CHANGED
@@ -15,6 +15,7 @@ function useDeleteScoreMutation(wretchClient, headers, overrides = {}) {
|
|
15
15
|
* https://github.com/TanStack/query/discussions/4964
|
16
16
|
* https://github.com/TanStack/query/discussions/6380
|
17
17
|
**/
|
18
|
+
// @ts-expect-error react-query requires non-undefined return
|
18
19
|
onSuccess: () => null
|
19
20
|
});
|
20
21
|
}
|
package/dist/harmony39.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony39.mjs","sources":["../src/features/publicApi/hooks/useDeleteScoreMutation.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport { sendByDeleteRoute } from '@lokalise/frontend-http-client'\nimport { useMutation } from '@tanstack/react-query'\nimport type { ApiMutationOverrides } from '@utils/types/apiMutationOverrides'\nimport type { Wretch } from 'wretch'\nimport { deleteScore } from '../score'\nimport type { DeleteScorePathParms, DeleteScoreResponseBody } from '../types/scoreTypes'\nimport type { BaseApiEndpointHeader } from '../types/sharedTypes'\n\n/**\n * A react-router wrapper about the deleteScore API endpoint\n *\n * @param wretchClient - Wretch instance configured to a public API instance.\n * @param headers - Instance of the header builder for the public API.\n * @param overrides - Additional options to pass to the mutation.\n */\nexport function useDeleteScoreMutation<T>(\n\twretchClient: Wretch<T>,\n\theaders: HeaderBuilder<BaseApiEndpointHeader>,\n\toverrides: ApiMutationOverrides<DeleteScoreResponseBody, DeleteScorePathParms> = {},\n) {\n\treturn useMutation({\n\t\t...overrides,\n\t\tmutationFn: async (variables) =>\n\t\t\tsendByDeleteRoute(wretchClient, deleteScore, {\n\t\t\t\theaders: await headers.resolve(),\n\t\t\t\tpathParams: variables,\n\t\t\t}),\n\t\t/**\n\t\t * When the request is successful, we expect to receive a 204 with no response body (i.e undefined)\n\t\t * react-query doesn't allow for undefined to be returned, so we need to return null instead\n\t\t * See references for more information:\n\t\t * https://github.com/TanStack/query/discussions/4964\n\t\t * https://github.com/TanStack/query/discussions/6380\n\t\t **/\n\t\tonSuccess: () => null,\n\t})\n}\n"],"names":[],"mappings":";;;AAgBO,SAAS,uBACf,cACA,SACA,YAAiF,CAAA,GAChF;AACD,SAAO,YAAY;AAAA,IAClB,GAAG;AAAA,IACH,YAAY,OAAO,cAClB,kBAAkB,cAAc,aAAa;AAAA,MAC5C,SAAS,MAAM,QAAQ,QAAQ;AAAA,MAC/B,YAAY;AAAA,IAAA,CACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,
|
1
|
+
{"version":3,"file":"harmony39.mjs","sources":["../src/features/publicApi/hooks/useDeleteScoreMutation.ts"],"sourcesContent":["import type { HeaderBuilder } from '@features/auth/core/headers/headerBuilder'\nimport { sendByDeleteRoute } from '@lokalise/frontend-http-client'\nimport { useMutation } from '@tanstack/react-query'\nimport type { ApiMutationOverrides } from '@utils/types/apiMutationOverrides'\nimport type { Wretch } from 'wretch'\nimport { deleteScore } from '../score'\nimport type { DeleteScorePathParms, DeleteScoreResponseBody } from '../types/scoreTypes'\nimport type { BaseApiEndpointHeader } from '../types/sharedTypes'\n\n/**\n * A react-router wrapper about the deleteScore API endpoint\n *\n * @param wretchClient - Wretch instance configured to a public API instance.\n * @param headers - Instance of the header builder for the public API.\n * @param overrides - Additional options to pass to the mutation.\n */\nexport function useDeleteScoreMutation<T>(\n\twretchClient: Wretch<T>,\n\theaders: HeaderBuilder<BaseApiEndpointHeader>,\n\toverrides: ApiMutationOverrides<DeleteScoreResponseBody, DeleteScorePathParms> = {},\n) {\n\treturn useMutation({\n\t\t...overrides,\n\t\tmutationFn: async (variables) =>\n\t\t\tsendByDeleteRoute(wretchClient, deleteScore, {\n\t\t\t\theaders: await headers.resolve(),\n\t\t\t\tpathParams: variables,\n\t\t\t}),\n\t\t/**\n\t\t * When the request is successful, we expect to receive a 204 with no response body (i.e undefined)\n\t\t * react-query doesn't allow for undefined to be returned, so we need to return null instead\n\t\t * See references for more information:\n\t\t * https://github.com/TanStack/query/discussions/4964\n\t\t * https://github.com/TanStack/query/discussions/6380\n\t\t **/\n\t\t// @ts-expect-error react-query requires non-undefined return\n\t\tonSuccess: () => null,\n\t})\n}\n"],"names":[],"mappings":";;;AAgBO,SAAS,uBACf,cACA,SACA,YAAiF,CAAA,GAChF;AACD,SAAO,YAAY;AAAA,IAClB,GAAG;AAAA,IACH,YAAY,OAAO,cAClB,kBAAkB,cAAc,aAAa;AAAA,MAC5C,SAAS,MAAM,QAAQ,QAAQ;AAAA,MAC/B,YAAY;AAAA,IAAA,CACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASF,WAAW,MAAM;AAAA,EAAA,CACjB;AACF;"}
|
package/dist/harmony65.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony65.cjs","sources":["../src/features/publicApi/types/teamUserTypes.ts"],"sourcesContent":["import { BASE_API_ENDPOINT_HEADER_SCHEMA } from '@features/publicApi/types/sharedTypes'\nimport { TEAM_ROLE_SCHEMA } from '@features/publicApi/types/teamRoleTypes'\nimport { z } from 'zod'\n\nexport const TEAM_USER_API_BASE_HEADERS_SCHEMA = BASE_API_ENDPOINT_HEADER_SCHEMA\n\nexport type TeamUserApiBaseHeaders = z.infer<typeof TEAM_USER_API_BASE_HEADERS_SCHEMA>\n\nexport const TEAM_USER_SCHEMA = z.object({\n\tuser_id: z.number(),\n\temail: z.string().email(),\n\tfullname: z.string(),\n\tcreated_at: z.string(),\n\tcreated_at_timestamp: z.number(),\n\trole: TEAM_ROLE_SCHEMA,\n})\n\nexport type TeamUser = z.infer<typeof TEAM_USER_SCHEMA>\n\nexport const TEAM_USER_PATH_PARAMS_SCHEMA = z.object({\n\tteamId: z.number(),\n\tuserId: z.number(),\n})\n\nexport type TeamUserPathParams = z.infer<typeof TEAM_USER_PATH_PARAMS_SCHEMA>\n\nexport const TEAM_PATH_PARAMS_SCHEMA = z.object({\n\tteamId: z.number(),\n})\n\nexport type TeamPathParams = z.infer<typeof
|
1
|
+
{"version":3,"file":"harmony65.cjs","sources":["../src/features/publicApi/types/teamUserTypes.ts"],"sourcesContent":["import { BASE_API_ENDPOINT_HEADER_SCHEMA } from '@features/publicApi/types/sharedTypes'\nimport { TEAM_ROLE_SCHEMA } from '@features/publicApi/types/teamRoleTypes'\nimport { z } from 'zod'\n\nexport const TEAM_USER_API_BASE_HEADERS_SCHEMA = BASE_API_ENDPOINT_HEADER_SCHEMA\n\nexport type TeamUserApiBaseHeaders = z.infer<typeof TEAM_USER_API_BASE_HEADERS_SCHEMA>\n\nexport const TEAM_USER_SCHEMA = z.object({\n\tuser_id: z.number(),\n\temail: z.string().email(),\n\tfullname: z.string(),\n\tcreated_at: z.string(),\n\tcreated_at_timestamp: z.number(),\n\trole: TEAM_ROLE_SCHEMA,\n})\n\nexport type TeamUser = z.infer<typeof TEAM_USER_SCHEMA>\n\nexport const TEAM_USER_PATH_PARAMS_SCHEMA = z.object({\n\tteamId: z.number(),\n\tuserId: z.number(),\n})\n\nexport type TeamUserPathParams = z.infer<typeof TEAM_USER_PATH_PARAMS_SCHEMA>\n\nexport const TEAM_PATH_PARAMS_SCHEMA = z.object({\n\tteamId: z.number(),\n})\n\nexport type TeamPathParams = z.infer<typeof TEAM_PATH_PARAMS_SCHEMA>\n\nexport const TEAM_USER_RESPONSE_SCHEMA = z.object({\n\tteam_id: z.number(),\n\tteam_user: TEAM_USER_SCHEMA,\n})\n\nexport type TeamUserResponse = z.infer<typeof TEAM_USER_RESPONSE_SCHEMA>\n\nexport const LIST_TEAM_USERS_RESPONSE_SCHEMA = z.object({\n\tteam_id: z.number(),\n\tteam_users: z.array(TEAM_USER_SCHEMA),\n})\n\nexport type ListTeamUsersResponse = z.infer<typeof LIST_TEAM_USERS_RESPONSE_SCHEMA>\n"],"names":["BASE_API_ENDPOINT_HEADER_SCHEMA","z","TEAM_ROLE_SCHEMA"],"mappings":";;;;;AAIO,MAAM,oCAAoCA,YAAAA;AAIpC,MAAA,mBAAmBC,MAAE,OAAO;AAAA,EACxC,SAASA,MAAE,OAAO;AAAA,EAClB,OAAOA,IAAA,EAAE,OAAO,EAAE,MAAM;AAAA,EACxB,UAAUA,MAAE,OAAO;AAAA,EACnB,YAAYA,MAAE,OAAO;AAAA,EACrB,sBAAsBA,MAAE,OAAO;AAAA,EAC/B,MAAMC,cAAAA;AACP,CAAC;AAIY,MAAA,+BAA+BD,MAAE,OAAO;AAAA,EACpD,QAAQA,MAAE,OAAO;AAAA,EACjB,QAAQA,MAAE,OAAO;AAClB,CAAC;AAIY,MAAA,0BAA0BA,MAAE,OAAO;AAAA,EAC/C,QAAQA,MAAE,OAAO;AAClB,CAAC;AAIY,MAAA,4BAA4BA,MAAE,OAAO;AAAA,EACjD,SAASA,MAAE,OAAO;AAAA,EAClB,WAAW;AACZ,CAAC;AAIY,MAAA,kCAAkCA,MAAE,OAAO;AAAA,EACvD,SAASA,MAAE,OAAO;AAAA,EAClB,YAAYA,IAAAA,EAAE,MAAM,gBAAgB;AACrC,CAAC;;;;;;;"}
|
package/dist/harmony65.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony65.mjs","sources":["../src/features/publicApi/types/teamUserTypes.ts"],"sourcesContent":["import { BASE_API_ENDPOINT_HEADER_SCHEMA } from '@features/publicApi/types/sharedTypes'\nimport { TEAM_ROLE_SCHEMA } from '@features/publicApi/types/teamRoleTypes'\nimport { z } from 'zod'\n\nexport const TEAM_USER_API_BASE_HEADERS_SCHEMA = BASE_API_ENDPOINT_HEADER_SCHEMA\n\nexport type TeamUserApiBaseHeaders = z.infer<typeof TEAM_USER_API_BASE_HEADERS_SCHEMA>\n\nexport const TEAM_USER_SCHEMA = z.object({\n\tuser_id: z.number(),\n\temail: z.string().email(),\n\tfullname: z.string(),\n\tcreated_at: z.string(),\n\tcreated_at_timestamp: z.number(),\n\trole: TEAM_ROLE_SCHEMA,\n})\n\nexport type TeamUser = z.infer<typeof TEAM_USER_SCHEMA>\n\nexport const TEAM_USER_PATH_PARAMS_SCHEMA = z.object({\n\tteamId: z.number(),\n\tuserId: z.number(),\n})\n\nexport type TeamUserPathParams = z.infer<typeof TEAM_USER_PATH_PARAMS_SCHEMA>\n\nexport const TEAM_PATH_PARAMS_SCHEMA = z.object({\n\tteamId: z.number(),\n})\n\nexport type TeamPathParams = z.infer<typeof
|
1
|
+
{"version":3,"file":"harmony65.mjs","sources":["../src/features/publicApi/types/teamUserTypes.ts"],"sourcesContent":["import { BASE_API_ENDPOINT_HEADER_SCHEMA } from '@features/publicApi/types/sharedTypes'\nimport { TEAM_ROLE_SCHEMA } from '@features/publicApi/types/teamRoleTypes'\nimport { z } from 'zod'\n\nexport const TEAM_USER_API_BASE_HEADERS_SCHEMA = BASE_API_ENDPOINT_HEADER_SCHEMA\n\nexport type TeamUserApiBaseHeaders = z.infer<typeof TEAM_USER_API_BASE_HEADERS_SCHEMA>\n\nexport const TEAM_USER_SCHEMA = z.object({\n\tuser_id: z.number(),\n\temail: z.string().email(),\n\tfullname: z.string(),\n\tcreated_at: z.string(),\n\tcreated_at_timestamp: z.number(),\n\trole: TEAM_ROLE_SCHEMA,\n})\n\nexport type TeamUser = z.infer<typeof TEAM_USER_SCHEMA>\n\nexport const TEAM_USER_PATH_PARAMS_SCHEMA = z.object({\n\tteamId: z.number(),\n\tuserId: z.number(),\n})\n\nexport type TeamUserPathParams = z.infer<typeof TEAM_USER_PATH_PARAMS_SCHEMA>\n\nexport const TEAM_PATH_PARAMS_SCHEMA = z.object({\n\tteamId: z.number(),\n})\n\nexport type TeamPathParams = z.infer<typeof TEAM_PATH_PARAMS_SCHEMA>\n\nexport const TEAM_USER_RESPONSE_SCHEMA = z.object({\n\tteam_id: z.number(),\n\tteam_user: TEAM_USER_SCHEMA,\n})\n\nexport type TeamUserResponse = z.infer<typeof TEAM_USER_RESPONSE_SCHEMA>\n\nexport const LIST_TEAM_USERS_RESPONSE_SCHEMA = z.object({\n\tteam_id: z.number(),\n\tteam_users: z.array(TEAM_USER_SCHEMA),\n})\n\nexport type ListTeamUsersResponse = z.infer<typeof LIST_TEAM_USERS_RESPONSE_SCHEMA>\n"],"names":[],"mappings":";;;AAIO,MAAM,oCAAoC;AAIpC,MAAA,mBAAmB,EAAE,OAAO;AAAA,EACxC,SAAS,EAAE,OAAO;AAAA,EAClB,OAAO,EAAE,OAAO,EAAE,MAAM;AAAA,EACxB,UAAU,EAAE,OAAO;AAAA,EACnB,YAAY,EAAE,OAAO;AAAA,EACrB,sBAAsB,EAAE,OAAO;AAAA,EAC/B,MAAM;AACP,CAAC;AAIY,MAAA,+BAA+B,EAAE,OAAO;AAAA,EACpD,QAAQ,EAAE,OAAO;AAAA,EACjB,QAAQ,EAAE,OAAO;AAClB,CAAC;AAIY,MAAA,0BAA0B,EAAE,OAAO;AAAA,EAC/C,QAAQ,EAAE,OAAO;AAClB,CAAC;AAIY,MAAA,4BAA4B,EAAE,OAAO;AAAA,EACjD,SAAS,EAAE,OAAO;AAAA,EAClB,WAAW;AACZ,CAAC;AAIY,MAAA,kCAAkC,EAAE,OAAO;AAAA,EACvD,SAAS,EAAE,OAAO;AAAA,EAClB,YAAY,EAAE,MAAM,gBAAgB;AACrC,CAAC;"}
|
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("./harmony100.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 "./harmony100.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("./harmony105.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("./harmony106.cjs");
|
10
|
+
const TasksContext = require("./harmony107.cjs");
|
11
|
+
const TasksPopover = require("./harmony108.cjs");
|
12
|
+
const TasksProvider = require("./harmony109.cjs");
|
13
|
+
const taskEvents = require("./harmony110.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 "./harmony105.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 "./harmony106.mjs";
|
8
|
+
import { useTasks } from "./harmony107.mjs";
|
9
|
+
import { TasksPopover } from "./harmony108.mjs";
|
10
|
+
import { withTasksContext } from "./harmony109.mjs";
|
11
|
+
import { TaskEvents } from "./harmony110.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("./harmony103.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 "./harmony103.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("./harmony104.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 "./harmony104.mjs";
|
4
4
|
import { ProfileMenuContext } from "./harmony90.mjs";
|
5
5
|
const billingRoles = [
|
6
6
|
SidebarTeamRoles.biller,
|
@@ -96,7 +96,7 @@ export declare const TEAM_PATH_PARAMS_SCHEMA: z.ZodObject<{
|
|
96
96
|
}, {
|
97
97
|
teamId: number;
|
98
98
|
}>;
|
99
|
-
export type TeamPathParams = z.infer<typeof
|
99
|
+
export type TeamPathParams = z.infer<typeof TEAM_PATH_PARAMS_SCHEMA>;
|
100
100
|
export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
|
101
101
|
team_id: z.ZodNumber;
|
102
102
|
team_user: z.ZodObject<{
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lokalise/harmony",
|
3
|
-
"version": "1.33.1",
|
3
|
+
"version": "1.33.3-exp-louis-27.1.1.1",
|
4
4
|
"author": {
|
5
5
|
"name": "Lokalise",
|
6
6
|
"url": "https://lokalise.com/"
|
@@ -31,7 +31,7 @@
|
|
31
31
|
"@date-fns/tz": "^1.2.0",
|
32
32
|
"@lokalise/api-contracts": ">=4.3.0",
|
33
33
|
"@lokalise/frontend-http-client": ">=3.2.1",
|
34
|
-
"@lokalise/louis": ">=
|
34
|
+
"@lokalise/louis": ">=27.1.1",
|
35
35
|
"@lokalise/token-dictionary": ">=2.42.1",
|
36
36
|
"@tanstack/react-query": ">=5.66.9",
|
37
37
|
"@tanstack/react-table": ">=8.21.3",
|