@lokalise/harmony 1.29.5-exp-teamSwitch.1 → 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 +15 -13
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +15 -13
- package/dist/harmony.mjs.map +1 -1
- package/dist/harmony100.cjs +130 -12
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +130 -12
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +12 -132
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +11 -131
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +6 -13
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +5 -12
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +40 -5
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +40 -5
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +53 -33
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +54 -34
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +6 -59
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +6 -59
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +6 -7
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +5 -6
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +5 -6
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +5 -6
- 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 +12 -12
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +12 -12
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +13 -14
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +13 -14
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +34 -14
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +34 -14
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +28 -62
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +27 -61
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +6 -87
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +6 -87
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +57 -18
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +56 -17
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +60 -11
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +60 -11
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +19 -17
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +18 -16
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +12 -20
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +12 -20
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +13 -10
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +13 -10
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +15 -5
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +15 -5
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +10 -11
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +10 -11
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +13 -29
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +13 -29
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +19 -12
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +19 -12
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +12 -7
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +12 -7
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +6 -57
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +6 -57
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +12 -60
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +12 -60
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +33 -19
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +32 -18
- 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/harmony15.cjs +1 -1
- package/dist/harmony15.mjs +1 -1
- package/dist/harmony22.cjs +1 -1
- package/dist/harmony22.mjs +1 -1
- package/dist/harmony23.cjs +1 -1
- package/dist/harmony23.mjs +1 -1
- 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 +1 -1
- package/dist/harmony31.mjs +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 -88
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +6 -88
- 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 +7 -16
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony70.cjs +13 -18
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs +13 -18
- 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 +27 -27
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +25 -12
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +25 -12
- 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 +3 -11
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +3 -11
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +12 -22
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +11 -21
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +20 -5
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +20 -5
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +3 -6
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +3 -6
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +6 -6
- package/dist/harmony85.mjs +6 -6
- package/dist/harmony86.cjs +9 -57
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +8 -56
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +51 -36
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +52 -37
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +42 -5
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +42 -5
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +6 -10
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +5 -9
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +6 -21
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +6 -21
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +21 -3
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +21 -3
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +6 -21
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +5 -20
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +21 -12
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +20 -11
- 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 +19 -22
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +18 -21
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +13 -5
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +13 -5
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +100 -6
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +82 -5
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +21 -5
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +21 -5
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +6 -18
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +6 -18
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/features/publicApi/node.d.ts +1 -0
- package/dist/types/src/features/publicApi/team.d.ts +1 -1
- package/dist/types/src/features/publicApi/types/teamTypes.d.ts +1 -1
- package/package.json +1 -1
package/dist/harmony131.cjs
CHANGED
@@ -1,49 +1,17 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
return
|
15
|
-
|
16
|
-
|
17
|
-
{
|
18
|
-
opened: true,
|
19
|
-
loading,
|
20
|
-
title: `Are you finished with ${language.name}?`,
|
21
|
-
confirmText: "Mark as done",
|
22
|
-
closeText: "Cancel",
|
23
|
-
onClose: closePrompt,
|
24
|
-
onConfirm: async () => {
|
25
|
-
setLoading(true);
|
26
|
-
await onLanguageCompleteConfirm({ task, language, closePrompt });
|
27
|
-
fetchTasks();
|
28
|
-
},
|
29
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(louis.Alert, { status: "info", children: [
|
30
|
-
"Make sure you are finished and ",
|
31
|
-
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "mark it as done" }),
|
32
|
-
" to notify your team admin. This action cannot be undone, and the language might no longer be available for you to edit."
|
33
|
-
] })
|
34
|
-
}
|
35
|
-
),
|
36
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
37
|
-
louis.Link,
|
38
|
-
{
|
39
|
-
disabled: loading,
|
40
|
-
onClick: () => {
|
41
|
-
setIsMarkAsDonePromptShown(true);
|
42
|
-
},
|
43
|
-
children: "Mark as done"
|
44
|
-
}
|
45
|
-
)
|
46
|
-
] });
|
47
|
-
};
|
48
|
-
exports.TaskLanguageCompleted = TaskLanguageCompleted;
|
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;
|
49
17
|
//# sourceMappingURL=harmony131.cjs.map
|
package/dist/harmony131.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony131.cjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony131.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/harmony131.mjs
CHANGED
@@ -1,49 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
return
|
13
|
-
|
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
|
-
] })
|
32
|
-
}
|
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
|
-
};
|
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
|
+
}
|
46
14
|
export {
|
47
|
-
|
15
|
+
require_objectToString as __require
|
48
16
|
};
|
49
17
|
//# sourceMappingURL=harmony131.mjs.map
|
package/dist/harmony131.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony131.mjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony131.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/harmony132.cjs
CHANGED
@@ -1,15 +1,49 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
const
|
7
|
-
|
8
|
-
|
9
|
-
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
4
|
+
const louis = require("@lokalise/louis");
|
5
|
+
const React = require("react");
|
6
|
+
const TasksContext = require("./harmony102.cjs");
|
7
|
+
const TaskLanguageCompleted = ({ task, language }) => {
|
8
|
+
const [loading, setLoading] = React.useState(false);
|
9
|
+
const [isMarkAsDonePromptShown, setIsMarkAsDonePromptShown] = React.useState(false);
|
10
|
+
const { onLanguageCompleteConfirm, fetchTasks } = TasksContext.useTasks();
|
11
|
+
const closePrompt = () => {
|
12
|
+
setIsMarkAsDonePromptShown(false);
|
13
|
+
};
|
14
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
15
|
+
isMarkAsDonePromptShown && /* @__PURE__ */ jsxRuntime.jsx(
|
16
|
+
louis.ConfirmModal,
|
17
|
+
{
|
18
|
+
opened: true,
|
19
|
+
loading,
|
20
|
+
title: `Are you finished with ${language.name}?`,
|
21
|
+
confirmText: "Mark as done",
|
22
|
+
closeText: "Cancel",
|
23
|
+
onClose: closePrompt,
|
24
|
+
onConfirm: async () => {
|
25
|
+
setLoading(true);
|
26
|
+
await onLanguageCompleteConfirm({ task, language, closePrompt });
|
27
|
+
fetchTasks();
|
28
|
+
},
|
29
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(louis.Alert, { status: "info", children: [
|
30
|
+
"Make sure you are finished and ",
|
31
|
+
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "mark it as done" }),
|
32
|
+
" to notify your team admin. This action cannot be undone, and the language might no longer be available for you to edit."
|
33
|
+
] })
|
34
|
+
}
|
35
|
+
),
|
36
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
37
|
+
louis.Link,
|
38
|
+
{
|
39
|
+
disabled: loading,
|
40
|
+
onClick: () => {
|
41
|
+
setIsMarkAsDonePromptShown(true);
|
42
|
+
},
|
43
|
+
children: "Mark as done"
|
44
|
+
}
|
45
|
+
)
|
46
|
+
] });
|
10
47
|
};
|
11
|
-
exports.
|
12
|
-
exports.langCellSecondary = langCellSecondary;
|
13
|
-
exports.langRowCompleted = langRowCompleted;
|
14
|
-
exports.langStatus = langStatus;
|
48
|
+
exports.TaskLanguageCompleted = TaskLanguageCompleted;
|
15
49
|
//# sourceMappingURL=harmony132.cjs.map
|
package/dist/harmony132.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony132.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony132.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/harmony132.mjs
CHANGED
@@ -1,15 +1,49 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
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 "./harmony102.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
|
+
] })
|
32
|
+
}
|
33
|
+
),
|
34
|
+
/* @__PURE__ */ jsx(
|
35
|
+
Link,
|
36
|
+
{
|
37
|
+
disabled: loading,
|
38
|
+
onClick: () => {
|
39
|
+
setIsMarkAsDonePromptShown(true);
|
40
|
+
},
|
41
|
+
children: "Mark as done"
|
42
|
+
}
|
43
|
+
)
|
44
|
+
] });
|
8
45
|
};
|
9
46
|
export {
|
10
|
-
|
11
|
-
langCellSecondary,
|
12
|
-
langRowCompleted,
|
13
|
-
langStatus
|
47
|
+
TaskLanguageCompleted
|
14
48
|
};
|
15
49
|
//# sourceMappingURL=harmony132.mjs.map
|
package/dist/harmony132.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony132.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony132.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;"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
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;
|
15
|
+
//# sourceMappingURL=harmony133.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony133.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
@@ -0,0 +1,15 @@
|
|
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
|
+
};
|
9
|
+
export {
|
10
|
+
styles as default,
|
11
|
+
langCellSecondary,
|
12
|
+
langRowCompleted,
|
13
|
+
langStatus
|
14
|
+
};
|
15
|
+
//# sourceMappingURL=harmony133.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony133.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony15.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("./harmony95.cjs");
|
4
4
|
function parseJwtTokenPayload(token) {
|
5
5
|
try {
|
6
6
|
const payload = token.split(".")[1];
|
package/dist/harmony15.mjs
CHANGED
package/dist/harmony22.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const useGetUserTokenQuery = require("./harmony42.cjs");
|
4
4
|
const React = require("react");
|
5
|
-
const NewJwtIssuedEvent = require("./
|
5
|
+
const NewJwtIssuedEvent = require("./harmony96.cjs");
|
6
6
|
const cookieTokenUtils = require("./harmony16.cjs");
|
7
7
|
function useGetPromotedClassicSessionJwtQuery(wretchClient, headers, teamId) {
|
8
8
|
const csrf = cookieTokenUtils.getCsrfTokenFromCookie();
|
package/dist/harmony22.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useGetUserTokenQuery, getUserTokenKey } from "./harmony42.mjs";
|
2
2
|
import { useRef, useEffect } from "react";
|
3
|
-
import { NewJwtIssuedEvent } from "./
|
3
|
+
import { NewJwtIssuedEvent } from "./harmony96.mjs";
|
4
4
|
import { getCsrfTokenFromCookie } from "./harmony16.mjs";
|
5
5
|
function useGetPromotedClassicSessionJwtQuery(wretchClient, headers, teamId) {
|
6
6
|
const csrf = getCsrfTokenFromCookie();
|
package/dist/harmony23.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("./harmony15.cjs");
|
5
|
-
const NewJwtIssuedEvent = require("./
|
5
|
+
const NewJwtIssuedEvent = require("./harmony96.cjs");
|
6
6
|
const cookieTokenUtils = require("./harmony16.cjs");
|
7
7
|
function useAuthenticatedSessionPayload() {
|
8
8
|
const [payload, setPayload] = React.useState();
|
package/dist/harmony23.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useState, useEffect } from "react";
|
2
2
|
import { parseJwtTokenPayload } from "./harmony15.mjs";
|
3
|
-
import { NewJwtIssuedEvent } from "./
|
3
|
+
import { NewJwtIssuedEvent } from "./harmony96.mjs";
|
4
4
|
import { getJwtTokenFromCookie } from "./harmony16.mjs";
|
5
5
|
function useAuthenticatedSessionPayload() {
|
6
6
|
const [payload, setPayload] = useState();
|
package/dist/harmony26.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const contributorTypes = require("./
|
4
|
-
const sharedTypes = require("./
|
3
|
+
const contributorTypes = require("./harmony53.cjs");
|
4
|
+
const sharedTypes = require("./harmony60.cjs");
|
5
5
|
const apiContracts = require("@lokalise/api-contracts");
|
6
6
|
const resolveContributorTargetPath = (contributor) => {
|
7
7
|
if ("authenticatedUser" in contributor) return "me";
|
package/dist/harmony26.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { LIST_CONTRIBUTORS_RESPONSE_SCHEMA, LIST_CONTRIBUTORS_PATH_PARAMS_SCHEMA, RETRIEVE_CONTRIBUTOR_RESPONSE_SCHEMA, RETRIEVE_CONTRIBUTOR_PATH_PARAMS_SCHEMA } from "./
|
2
|
-
import { BASE_API_ENDPOINT_HEADER_SCHEMA } from "./
|
1
|
+
import { LIST_CONTRIBUTORS_RESPONSE_SCHEMA, LIST_CONTRIBUTORS_PATH_PARAMS_SCHEMA, RETRIEVE_CONTRIBUTOR_RESPONSE_SCHEMA, RETRIEVE_CONTRIBUTOR_PATH_PARAMS_SCHEMA } from "./harmony53.mjs";
|
2
|
+
import { BASE_API_ENDPOINT_HEADER_SCHEMA } from "./harmony60.mjs";
|
3
3
|
import { buildGetRoute } from "@lokalise/api-contracts";
|
4
4
|
const resolveContributorTargetPath = (contributor) => {
|
5
5
|
if ("authenticatedUser" in contributor) return "me";
|
package/dist/harmony27.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const languageTypes = require("./
|
4
|
-
const sharedTypes = require("./
|
3
|
+
const languageTypes = require("./harmony54.cjs");
|
4
|
+
const sharedTypes = require("./harmony60.cjs");
|
5
5
|
const apiContracts = require("@lokalise/api-contracts");
|
6
6
|
const listProjectLanguages = apiContracts.buildGetRoute({
|
7
7
|
description: "List of project languages",
|
package/dist/harmony27.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { LIST_PROJECT_LANGUAGES_RESPONSE_SCHEMA, LIST_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA, ADD_LANGUAGES_TO_PROJECT_RESPONSE_SCHEMA, ADD_LANGUAGES_TO_PROJECT_REQUEST_BODY_SCHEMA, ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_RESPONSE_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_REQUEST_BODY_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA } from "./
|
2
|
-
import { BASE_API_ENDPOINT_HEADER_SCHEMA } from "./
|
1
|
+
import { LIST_PROJECT_LANGUAGES_RESPONSE_SCHEMA, LIST_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA, ADD_LANGUAGES_TO_PROJECT_RESPONSE_SCHEMA, ADD_LANGUAGES_TO_PROJECT_REQUEST_BODY_SCHEMA, ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_RESPONSE_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_REQUEST_BODY_SCHEMA, BULK_UPDATE_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA } from "./harmony54.mjs";
|
2
|
+
import { BASE_API_ENDPOINT_HEADER_SCHEMA } from "./harmony60.mjs";
|
3
3
|
import { buildGetRoute, buildPayloadRoute } from "@lokalise/api-contracts";
|
4
4
|
const listProjectLanguages = buildGetRoute({
|
5
5
|
description: "List of project languages",
|
package/dist/harmony28.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const permissionTemplateTypes = require("./
|
4
|
-
const sharedTypes = require("./
|
3
|
+
const permissionTemplateTypes = require("./harmony56.cjs");
|
4
|
+
const sharedTypes = require("./harmony60.cjs");
|
5
5
|
const apiContracts = require("@lokalise/api-contracts");
|
6
6
|
const listPermissionTemplates = apiContracts.buildGetRoute({
|
7
7
|
description: "List permission templates for a team",
|
package/dist/harmony28.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { LIST_PERMISSION_TEMPLATES_RESPONSE, LIST_PERMISSION_TEMPLATES_PATH_PARAMS } from "./
|
2
|
-
import { BASE_API_ENDPOINT_HEADER_SCHEMA } from "./
|
1
|
+
import { LIST_PERMISSION_TEMPLATES_RESPONSE, LIST_PERMISSION_TEMPLATES_PATH_PARAMS } from "./harmony56.mjs";
|
2
|
+
import { BASE_API_ENDPOINT_HEADER_SCHEMA } from "./harmony60.mjs";
|
3
3
|
import { buildGetRoute } from "@lokalise/api-contracts";
|
4
4
|
const listPermissionTemplates = buildGetRoute({
|
5
5
|
description: "List permission templates for a team",
|
package/dist/harmony29.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const apiContracts = require("@lokalise/api-contracts");
|
4
|
-
const projectTypes = require("./
|
4
|
+
const projectTypes = require("./harmony58.cjs");
|
5
5
|
const createProject = apiContracts.buildPayloadRoute({
|
6
6
|
description: "Create a new project",
|
7
7
|
requestHeaderSchema: projectTypes.PROJECT_API_BASE_HEADERS_SCHEMA,
|
package/dist/harmony29.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { buildPayloadRoute, buildGetRoute, buildDeleteRoute } from "@lokalise/api-contracts";
|
2
|
-
import { PROJECT_SCHEMA, CREATE_PROJECT_REQUEST_BODY_SCHEMA, PROJECT_API_BASE_HEADERS_SCHEMA, LIST_PROJECTS_SUCCESS_RESPONSE_BODY, LIST_PROJECTS_REQUEST_QUERY_SCHEMA, PROJECT_ID_PATH_PARAM_SCHEMA, UPDATE_PROJECT_REQUEST_BODY_SCHEMA, GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA, DELETE_PROJECT_RESPONSE_SCHEMA } from "./
|
2
|
+
import { PROJECT_SCHEMA, CREATE_PROJECT_REQUEST_BODY_SCHEMA, PROJECT_API_BASE_HEADERS_SCHEMA, LIST_PROJECTS_SUCCESS_RESPONSE_BODY, LIST_PROJECTS_REQUEST_QUERY_SCHEMA, PROJECT_ID_PATH_PARAM_SCHEMA, UPDATE_PROJECT_REQUEST_BODY_SCHEMA, GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA, DELETE_PROJECT_RESPONSE_SCHEMA } from "./harmony58.mjs";
|
3
3
|
const createProject = buildPayloadRoute({
|
4
4
|
description: "Create a new project",
|
5
5
|
requestHeaderSchema: PROJECT_API_BASE_HEADERS_SCHEMA,
|
package/dist/harmony3.cjs
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
4
|
const React = require("react");
|
5
|
-
const clsx = require("./
|
6
|
-
const styles_module = require("./
|
7
|
-
const useResizeDetector = require("./
|
5
|
+
const clsx = require("./harmony65.cjs");
|
6
|
+
const styles_module = require("./harmony66.cjs");
|
7
|
+
const useResizeDetector = require("./harmony67.cjs");
|
8
8
|
const DEFAULT_HEADER_HEIGHT = 77;
|
9
9
|
const NavigationPanel = ({ sticky, children }) => {
|
10
10
|
const { ref: headerRef, height } = useResizeDetector.default({
|
package/dist/harmony3.mjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
2
2
|
import { useState, useEffect } from "react";
|
3
|
-
import { clsx } from "./
|
4
|
-
import classes from "./
|
5
|
-
import useResizeDetector from "./
|
3
|
+
import { clsx } from "./harmony65.mjs";
|
4
|
+
import classes from "./harmony66.mjs";
|
5
|
+
import useResizeDetector from "./harmony67.mjs";
|
6
6
|
const DEFAULT_HEADER_HEIGHT = 77;
|
7
7
|
const NavigationPanel = ({ sticky, children }) => {
|
8
8
|
const { ref: headerRef, height } = useResizeDetector({
|
package/dist/harmony30.cjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const apiContracts = require("@lokalise/api-contracts");
|
4
|
-
const scoreTypes = require("./
|
5
|
-
const sharedTypes = require("./
|
4
|
+
const scoreTypes = require("./harmony59.cjs");
|
5
|
+
const sharedTypes = require("./harmony60.cjs");
|
6
6
|
const getScore = apiContracts.buildGetRoute({
|
7
7
|
description: "Generate translation quality score",
|
8
8
|
requestHeaderSchema: sharedTypes.BASE_API_ENDPOINT_HEADER_SCHEMA,
|
package/dist/harmony30.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { buildGetRoute, buildDeleteRoute } from "@lokalise/api-contracts";
|
2
|
-
import { GET_SCORE_RESPONSE_SCHEMA, GET_SCORE_REQUEST_QUERY_SCHEMA, DELETE_SCORE_RESPONSE_SCHEMA, DELETE_SCORE_PATH_PARAMS_SCHEMA } from "./
|
3
|
-
import { BASE_API_ENDPOINT_HEADER_SCHEMA } from "./
|
2
|
+
import { GET_SCORE_RESPONSE_SCHEMA, GET_SCORE_REQUEST_QUERY_SCHEMA, DELETE_SCORE_RESPONSE_SCHEMA, DELETE_SCORE_PATH_PARAMS_SCHEMA } from "./harmony59.mjs";
|
3
|
+
import { BASE_API_ENDPOINT_HEADER_SCHEMA } from "./harmony60.mjs";
|
4
4
|
const getScore = buildGetRoute({
|
5
5
|
description: "Generate translation quality score",
|
6
6
|
requestHeaderSchema: BASE_API_ENDPOINT_HEADER_SCHEMA,
|
package/dist/harmony31.cjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const teamTypes = require("./
|
3
|
+
const teamTypes = require("./harmony62.cjs");
|
4
4
|
const apiContracts = require("@lokalise/api-contracts");
|
5
5
|
const listTeams = apiContracts.buildGetRoute({
|
6
6
|
description: "List all teams available for the user",
|
package/dist/harmony31.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { LIST_TEAMS_RESPONSE_SCHEMA, LIST_TEAMS_QUERY_SCHEMA, TEAM_API_BASE_HEADERS_SCHEMA, RETRIEVE_TEAM_RESPONSE_SCHEMA, RETRIEVE_TEAM_PATH_PARAMS_SCHEMA, SWITCH_TEAM_RESPONSE_SCHEMA, SWITCH_TEAM_REQUEST_BODY_SCHEMA } from "./
|
1
|
+
import { LIST_TEAMS_RESPONSE_SCHEMA, LIST_TEAMS_QUERY_SCHEMA, TEAM_API_BASE_HEADERS_SCHEMA, RETRIEVE_TEAM_RESPONSE_SCHEMA, RETRIEVE_TEAM_PATH_PARAMS_SCHEMA, SWITCH_TEAM_RESPONSE_SCHEMA, SWITCH_TEAM_REQUEST_BODY_SCHEMA } from "./harmony62.mjs";
|
2
2
|
import { buildGetRoute, buildPayloadRoute } from "@lokalise/api-contracts";
|
3
3
|
const listTeams = buildGetRoute({
|
4
4
|
description: "List all teams available for the user",
|
package/dist/harmony32.cjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const teamUserTypes = require("./
|
3
|
+
const teamUserTypes = require("./harmony63.cjs");
|
4
4
|
const apiContracts = require("@lokalise/api-contracts");
|
5
5
|
const getTeamUser = apiContracts.buildGetRoute({
|
6
6
|
description: "Get the details of a team user",
|
package/dist/harmony32.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { TEAM_USER_RESPONSE_SCHEMA, TEAM_USER_PATH_PARAMS_SCHEMA, TEAM_USER_API_BASE_HEADERS_SCHEMA } from "./
|
1
|
+
import { TEAM_USER_RESPONSE_SCHEMA, TEAM_USER_PATH_PARAMS_SCHEMA, TEAM_USER_API_BASE_HEADERS_SCHEMA } from "./harmony63.mjs";
|
2
2
|
import { buildGetRoute } from "@lokalise/api-contracts";
|
3
3
|
const getTeamUser = buildGetRoute({
|
4
4
|
description: "Get the details of a team user",
|
package/dist/harmony33.cjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const userTokenTypes = require("./
|
3
|
+
const userTokenTypes = require("./harmony64.cjs");
|
4
4
|
const apiContracts = require("@lokalise/api-contracts");
|
5
5
|
const zod = require("zod");
|
6
6
|
const getUserToken = apiContracts.buildPayloadRoute({
|
package/dist/harmony33.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { JWT_TOKEN_SCHEMA, USER_TOKEN_REQUEST_HEADER_SCHEMA } from "./
|
1
|
+
import { JWT_TOKEN_SCHEMA, USER_TOKEN_REQUEST_HEADER_SCHEMA } from "./harmony64.mjs";
|
2
2
|
import { buildPayloadRoute } from "@lokalise/api-contracts";
|
3
3
|
import { z } from "zod";
|
4
4
|
const getUserToken = buildPayloadRoute({
|
package/dist/harmony4.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 Sidebar_module = require("./
|
5
|
-
const Avatar = require("./
|
6
|
-
const IconLink = require("./
|
7
|
-
const Menu = require("./
|
8
|
-
const ProfileMenu = require("./
|
9
|
-
const ProfileSettingsMenuItem = require("./
|
10
|
-
const TeamMenuItem = require("./
|
11
|
-
const TeamSwitch = require("./
|
12
|
-
const UpgradeMenuItem = require("./
|
13
|
-
const Tasks = require("./
|
4
|
+
const Sidebar_module = require("./harmony68.cjs");
|
5
|
+
const Avatar = require("./harmony69.cjs");
|
6
|
+
const IconLink = require("./harmony70.cjs");
|
7
|
+
const Menu = require("./harmony71.cjs");
|
8
|
+
const ProfileMenu = require("./harmony72.cjs");
|
9
|
+
const ProfileSettingsMenuItem = require("./harmony73.cjs");
|
10
|
+
const TeamMenuItem = require("./harmony74.cjs");
|
11
|
+
const TeamSwitch = require("./harmony75.cjs");
|
12
|
+
const UpgradeMenuItem = require("./harmony76.cjs");
|
13
|
+
const Tasks = require("./harmony77.cjs");
|
14
14
|
const Sidebar = ({ children, ...navProps }) => /* @__PURE__ */ jsxRuntime.jsx("nav", { ...navProps, className: Sidebar_module.default.sidebarContainer, children });
|
15
15
|
const Top = ({ children }) => /* @__PURE__ */ jsxRuntime.jsx("div", { children });
|
16
16
|
Sidebar.Top = Top;
|