@lokalise/harmony 1.27.3-exp-fixTeamsTypes.7 → 1.27.3-exp-fixTeamsTypes.8

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.
Files changed (237) hide show
  1. package/dist/harmony100.cjs +5 -5
  2. package/dist/harmony100.cjs.map +1 -1
  3. package/dist/harmony100.mjs +5 -5
  4. package/dist/harmony100.mjs.map +1 -1
  5. package/dist/harmony101.cjs +40 -18
  6. package/dist/harmony101.cjs.map +1 -1
  7. package/dist/harmony101.mjs +40 -18
  8. package/dist/harmony101.mjs.map +1 -1
  9. package/dist/harmony102.cjs +59 -13
  10. package/dist/harmony102.cjs.map +1 -1
  11. package/dist/harmony102.mjs +59 -13
  12. package/dist/harmony102.mjs.map +1 -1
  13. package/dist/harmony103.cjs +7 -6
  14. package/dist/harmony103.cjs.map +1 -1
  15. package/dist/harmony103.mjs +6 -5
  16. package/dist/harmony103.mjs.map +1 -1
  17. package/dist/harmony104.cjs +6 -17
  18. package/dist/harmony104.cjs.map +1 -1
  19. package/dist/harmony104.mjs +5 -16
  20. package/dist/harmony104.mjs.map +1 -1
  21. package/dist/harmony105.cjs +5 -5
  22. package/dist/harmony105.mjs +5 -5
  23. package/dist/harmony106.cjs +6 -5
  24. package/dist/harmony106.cjs.map +1 -1
  25. package/dist/harmony106.mjs +6 -5
  26. package/dist/harmony107.cjs +95 -61
  27. package/dist/harmony107.cjs.map +1 -1
  28. package/dist/harmony107.mjs +95 -61
  29. package/dist/harmony107.mjs.map +1 -1
  30. package/dist/harmony108.cjs +13 -88
  31. package/dist/harmony108.cjs.map +1 -1
  32. package/dist/harmony108.mjs +13 -88
  33. package/dist/harmony108.mjs.map +1 -1
  34. package/dist/harmony109.cjs +15 -19
  35. package/dist/harmony109.cjs.map +1 -1
  36. package/dist/harmony109.mjs +14 -18
  37. package/dist/harmony109.mjs.map +1 -1
  38. package/dist/harmony110.cjs +34 -94
  39. package/dist/harmony110.cjs.map +1 -1
  40. package/dist/harmony110.mjs +34 -94
  41. package/dist/harmony110.mjs.map +1 -1
  42. package/dist/harmony111.cjs +26 -11
  43. package/dist/harmony111.cjs.map +1 -1
  44. package/dist/harmony111.mjs +26 -11
  45. package/dist/harmony111.mjs.map +1 -1
  46. package/dist/harmony112.cjs +60 -12
  47. package/dist/harmony112.cjs.map +1 -1
  48. package/dist/harmony112.mjs +60 -12
  49. package/dist/harmony112.mjs.map +1 -1
  50. package/dist/harmony113.cjs +88 -36
  51. package/dist/harmony113.cjs.map +1 -1
  52. package/dist/harmony113.mjs +88 -36
  53. package/dist/harmony113.mjs.map +1 -1
  54. package/dist/harmony114.cjs +19 -29
  55. package/dist/harmony114.cjs.map +1 -1
  56. package/dist/harmony114.mjs +18 -28
  57. package/dist/harmony114.mjs.map +1 -1
  58. package/dist/harmony115.cjs +13 -7
  59. package/dist/harmony115.cjs.map +1 -1
  60. package/dist/harmony115.mjs +13 -7
  61. package/dist/harmony115.mjs.map +1 -1
  62. package/dist/harmony116.cjs +15 -57
  63. package/dist/harmony116.cjs.map +1 -1
  64. package/dist/harmony116.mjs +15 -57
  65. package/dist/harmony116.mjs.map +1 -1
  66. package/dist/harmony117.cjs +15 -59
  67. package/dist/harmony117.cjs.map +1 -1
  68. package/dist/harmony117.mjs +15 -59
  69. package/dist/harmony117.mjs.map +1 -1
  70. package/dist/harmony118.cjs +12 -19
  71. package/dist/harmony118.cjs.map +1 -1
  72. package/dist/harmony118.mjs +11 -18
  73. package/dist/harmony118.mjs.map +1 -1
  74. package/dist/harmony119.cjs +15 -12
  75. package/dist/harmony119.cjs.map +1 -1
  76. package/dist/harmony119.mjs +15 -12
  77. package/dist/harmony119.mjs.map +1 -1
  78. package/dist/harmony120.cjs +19 -13
  79. package/dist/harmony120.cjs.map +1 -1
  80. package/dist/harmony120.mjs +19 -13
  81. package/dist/harmony120.mjs.map +1 -1
  82. package/dist/harmony121.cjs +10 -14
  83. package/dist/harmony121.cjs.map +1 -1
  84. package/dist/harmony121.mjs +10 -14
  85. package/dist/harmony121.mjs.map +1 -1
  86. package/dist/harmony122.cjs +7 -11
  87. package/dist/harmony122.cjs.map +1 -1
  88. package/dist/harmony122.mjs +7 -11
  89. package/dist/harmony122.mjs.map +1 -1
  90. package/dist/harmony123.cjs +56 -15
  91. package/dist/harmony123.cjs.map +1 -1
  92. package/dist/harmony123.mjs +56 -15
  93. package/dist/harmony123.mjs.map +1 -1
  94. package/dist/harmony124.cjs +59 -20
  95. package/dist/harmony124.cjs.map +1 -1
  96. package/dist/harmony124.mjs +59 -20
  97. package/dist/harmony124.mjs.map +1 -1
  98. package/dist/harmony125.cjs +19 -13
  99. package/dist/harmony125.cjs.map +1 -1
  100. package/dist/harmony125.mjs +18 -12
  101. package/dist/harmony125.mjs.map +1 -1
  102. package/dist/harmony126.cjs +6 -46
  103. package/dist/harmony126.cjs.map +1 -1
  104. package/dist/harmony126.mjs +6 -46
  105. package/dist/harmony126.mjs.map +1 -1
  106. package/dist/harmony127.cjs +13 -13
  107. package/dist/harmony127.cjs.map +1 -1
  108. package/dist/harmony127.mjs +12 -12
  109. package/dist/harmony127.mjs.map +1 -1
  110. package/dist/harmony128.cjs +31 -5
  111. package/dist/harmony128.cjs.map +1 -1
  112. package/dist/harmony128.mjs +31 -5
  113. package/dist/harmony128.mjs.map +1 -1
  114. package/dist/harmony129.cjs +13 -11
  115. package/dist/harmony129.cjs.map +1 -1
  116. package/dist/harmony129.mjs +13 -11
  117. package/dist/harmony129.mjs.map +1 -1
  118. package/dist/harmony130.cjs +45 -31
  119. package/dist/harmony130.cjs.map +1 -1
  120. package/dist/harmony130.mjs +45 -31
  121. package/dist/harmony130.mjs.map +1 -1
  122. package/dist/harmony131.cjs +13 -15
  123. package/dist/harmony131.cjs.map +1 -1
  124. package/dist/harmony131.mjs +12 -14
  125. package/dist/harmony131.mjs.map +1 -1
  126. package/dist/harmony15.cjs +1 -1
  127. package/dist/harmony15.mjs +1 -1
  128. package/dist/harmony22.cjs +1 -1
  129. package/dist/harmony22.mjs +1 -1
  130. package/dist/harmony23.cjs +1 -1
  131. package/dist/harmony23.mjs +1 -1
  132. package/dist/harmony30.cjs +1 -1
  133. package/dist/harmony30.mjs +1 -1
  134. package/dist/harmony66.cjs +1 -1
  135. package/dist/harmony66.mjs +1 -1
  136. package/dist/harmony67.cjs +1 -1
  137. package/dist/harmony67.mjs +1 -1
  138. package/dist/harmony68.cjs +1 -1
  139. package/dist/harmony68.mjs +1 -1
  140. package/dist/harmony69.cjs +2 -2
  141. package/dist/harmony69.mjs +2 -2
  142. package/dist/harmony70.cjs +2 -2
  143. package/dist/harmony70.mjs +2 -2
  144. package/dist/harmony71.cjs +2 -2
  145. package/dist/harmony71.mjs +2 -2
  146. package/dist/harmony72.cjs +2 -2
  147. package/dist/harmony72.mjs +2 -2
  148. package/dist/harmony73.cjs +3 -3
  149. package/dist/harmony73.mjs +3 -3
  150. package/dist/harmony74.cjs +6 -6
  151. package/dist/harmony74.mjs +6 -6
  152. package/dist/harmony77.cjs +2 -2
  153. package/dist/harmony77.mjs +2 -2
  154. package/dist/harmony79.cjs +12 -7
  155. package/dist/harmony79.cjs.map +1 -1
  156. package/dist/harmony79.mjs +11 -6
  157. package/dist/harmony79.mjs.map +1 -1
  158. package/dist/harmony80.cjs +20 -8
  159. package/dist/harmony80.cjs.map +1 -1
  160. package/dist/harmony80.mjs +20 -8
  161. package/dist/harmony80.mjs.map +1 -1
  162. package/dist/harmony81.cjs +3 -6
  163. package/dist/harmony81.cjs.map +1 -1
  164. package/dist/harmony81.mjs +3 -6
  165. package/dist/harmony81.mjs.map +1 -1
  166. package/dist/harmony82.cjs +9 -57
  167. package/dist/harmony82.cjs.map +1 -1
  168. package/dist/harmony82.mjs +8 -56
  169. package/dist/harmony82.mjs.map +1 -1
  170. package/dist/harmony83.cjs +9 -32
  171. package/dist/harmony83.cjs.map +1 -1
  172. package/dist/harmony83.mjs +8 -31
  173. package/dist/harmony83.mjs.map +1 -1
  174. package/dist/harmony84.cjs +57 -5
  175. package/dist/harmony84.cjs.map +1 -1
  176. package/dist/harmony84.mjs +57 -5
  177. package/dist/harmony84.mjs.map +1 -1
  178. package/dist/harmony85.cjs +32 -9
  179. package/dist/harmony85.cjs.map +1 -1
  180. package/dist/harmony85.mjs +31 -8
  181. package/dist/harmony85.mjs.map +1 -1
  182. package/dist/harmony86.cjs +6 -25
  183. package/dist/harmony86.cjs.map +1 -1
  184. package/dist/harmony86.mjs +5 -24
  185. package/dist/harmony86.mjs.map +1 -1
  186. package/dist/harmony87.cjs +6 -3
  187. package/dist/harmony87.cjs.map +1 -1
  188. package/dist/harmony87.mjs +6 -3
  189. package/dist/harmony87.mjs.map +1 -1
  190. package/dist/harmony88.cjs +24 -21
  191. package/dist/harmony88.cjs.map +1 -1
  192. package/dist/harmony88.mjs +23 -20
  193. package/dist/harmony88.mjs.map +1 -1
  194. package/dist/harmony89.cjs +3 -9
  195. package/dist/harmony89.cjs.map +1 -1
  196. package/dist/harmony89.mjs +3 -9
  197. package/dist/harmony89.mjs.map +1 -1
  198. package/dist/harmony90.cjs +19 -9
  199. package/dist/harmony90.cjs.map +1 -1
  200. package/dist/harmony90.mjs +21 -11
  201. package/dist/harmony90.mjs.map +1 -1
  202. package/dist/harmony91.cjs +11 -20
  203. package/dist/harmony91.cjs.map +1 -1
  204. package/dist/harmony91.mjs +11 -20
  205. package/dist/harmony91.mjs.map +1 -1
  206. package/dist/harmony92.cjs +2 -2
  207. package/dist/harmony92.mjs +2 -2
  208. package/dist/harmony93.cjs +13 -129
  209. package/dist/harmony93.cjs.map +1 -1
  210. package/dist/harmony93.mjs +13 -129
  211. package/dist/harmony93.mjs.map +1 -1
  212. package/dist/harmony94.cjs +19 -13
  213. package/dist/harmony94.cjs.map +1 -1
  214. package/dist/harmony94.mjs +18 -12
  215. package/dist/harmony94.mjs.map +1 -1
  216. package/dist/harmony95.cjs +14 -5
  217. package/dist/harmony95.cjs.map +1 -1
  218. package/dist/harmony95.mjs +14 -5
  219. package/dist/harmony95.mjs.map +1 -1
  220. package/dist/harmony96.cjs +21 -40
  221. package/dist/harmony96.cjs.map +1 -1
  222. package/dist/harmony96.mjs +20 -39
  223. package/dist/harmony96.mjs.map +1 -1
  224. package/dist/harmony97.cjs +4 -59
  225. package/dist/harmony97.cjs.map +1 -1
  226. package/dist/harmony97.mjs +4 -59
  227. package/dist/harmony97.mjs.map +1 -1
  228. package/dist/harmony98.cjs +131 -6
  229. package/dist/harmony98.cjs.map +1 -1
  230. package/dist/harmony98.mjs +131 -6
  231. package/dist/harmony98.mjs.map +1 -1
  232. package/dist/harmony99.cjs +9 -18
  233. package/dist/harmony99.cjs.map +1 -1
  234. package/dist/harmony99.mjs +9 -18
  235. package/dist/harmony99.mjs.map +1 -1
  236. package/dist/types/src/components/Sidebar/types.d.ts +1 -1
  237. package/package.json +1 -1
@@ -1,15 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const _root = require("./harmony119.cjs");
4
- var _Symbol;
5
- var hasRequired_Symbol;
6
- function require_Symbol() {
7
- if (hasRequired_Symbol) return _Symbol;
8
- hasRequired_Symbol = 1;
9
- var root = _root.__require();
10
- var Symbol2 = root.Symbol;
11
- _Symbol = Symbol2;
12
- return _Symbol;
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;
13
15
  }
14
- exports.__require = require_Symbol;
16
+ exports.__require = require_objectToString;
15
17
  //# sourceMappingURL=harmony129.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony129.cjs","sources":["../node_modules/lodash/_Symbol.js"],"sourcesContent":["var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n"],"names":["require$$0","Symbol"],"mappings":";;;;;;;;AAAA,MAAI,OAAOA,MAAAA,UAAkB;AAG7B,MAAIC,UAAS,KAAK;AAElB,YAAiBA;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"harmony129.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]}
@@ -1,15 +1,17 @@
1
- import { __require as require_root } from "./harmony119.mjs";
2
- var _Symbol;
3
- var hasRequired_Symbol;
4
- function require_Symbol() {
5
- if (hasRequired_Symbol) return _Symbol;
6
- hasRequired_Symbol = 1;
7
- var root = require_root();
8
- var Symbol = root.Symbol;
9
- _Symbol = Symbol;
10
- return _Symbol;
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;
11
13
  }
12
14
  export {
13
- require_Symbol as __require
15
+ require_objectToString as __require
14
16
  };
15
17
  //# sourceMappingURL=harmony129.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony129.mjs","sources":["../node_modules/lodash/_Symbol.js"],"sourcesContent":["var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n"],"names":["require$$0"],"mappings":";;;;;;AAAA,MAAI,OAAOA,aAAkB;AAG7B,MAAI,SAAS,KAAK;AAElB,YAAiB;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"harmony129.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]}
@@ -1,35 +1,49 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const _Symbol = require("./harmony129.cjs");
4
- var _getRawTag;
5
- var hasRequired_getRawTag;
6
- function require_getRawTag() {
7
- if (hasRequired_getRawTag) return _getRawTag;
8
- hasRequired_getRawTag = 1;
9
- var Symbol2 = _Symbol.__require();
10
- var objectProto = Object.prototype;
11
- var hasOwnProperty = objectProto.hasOwnProperty;
12
- var nativeObjectToString = objectProto.toString;
13
- var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
14
- function getRawTag(value) {
15
- var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
16
- try {
17
- value[symToStringTag] = void 0;
18
- var unmasked = true;
19
- } catch (e) {
20
- }
21
- var result = nativeObjectToString.call(value);
22
- if (unmasked) {
23
- if (isOwn) {
24
- value[symToStringTag] = tag;
25
- } else {
26
- delete value[symToStringTag];
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const louis = require("@lokalise/louis");
5
+ const React = require("react");
6
+ const TasksContext = require("./harmony100.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
- return result;
30
- }
31
- _getRawTag = getRawTag;
32
- return _getRawTag;
33
- }
34
- exports.__require = require_getRawTag;
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=harmony130.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony130.cjs","sources":["../node_modules/lodash/_getRawTag.js"],"sourcesContent":["var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n"],"names":["Symbol","require$$0"],"mappings":";;;;;;;;AAAA,MAAIA,UAASC,QAAAA,UAAoB;AAGjC,MAAI,cAAc,OAAO;AAGzB,MAAI,iBAAiB,YAAY;AAOjC,MAAI,uBAAuB,YAAY;AAGvC,MAAI,iBAAiBD,UAASA,QAAO,cAAc;AASnD,WAAS,UAAU,OAAO;AACxB,QAAI,QAAQ,eAAe,KAAK,OAAO,cAAc,GACjD,MAAM,MAAM,cAAc;AAE9B,QAAI;AACF,YAAM,cAAc,IAAI;AACxB,UAAI,WAAW;AAAA,IAChB,SAAQ,GAAG;AAAA,IAAA;AAEZ,QAAI,SAAS,qBAAqB,KAAK,KAAK;AAC5C,QAAI,UAAU;AACZ,UAAI,OAAO;AACT,cAAM,cAAc,IAAI;AAAA,MAC9B,OAAW;AACL,eAAO,MAAM,cAAc;AAAA,MACjC;AAAA,IACA;AACE,WAAO;AAAA,EACT;AAEA,eAAiB;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"harmony130.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;;"}
@@ -1,35 +1,49 @@
1
- import { __require as require_Symbol } from "./harmony129.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];
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 "./harmony100.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
- return result;
28
- }
29
- _getRawTag = getRawTag;
30
- return _getRawTag;
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
- require_getRawTag as __require
47
+ TaskLanguageCompleted
34
48
  };
35
49
  //# sourceMappingURL=harmony130.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony130.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]}
1
+ {"version":3,"file":"harmony130.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;"}
@@ -1,17 +1,15 @@
1
1
  "use strict";
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;
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=harmony131.cjs.map
@@ -1 +1 @@
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]}
1
+ {"version":3,"file":"harmony131.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -1,17 +1,15 @@
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
- }
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
- require_objectToString as __require
10
+ styles as default,
11
+ langCellSecondary,
12
+ langRowCompleted,
13
+ langStatus
16
14
  };
17
15
  //# sourceMappingURL=harmony131.mjs.map
@@ -1 +1 @@
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]}
1
+ {"version":3,"file":"harmony131.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const jwtTokenPayload = require("./harmony101.cjs");
3
+ const jwtTokenPayload = require("./harmony94.cjs");
4
4
  function parseJwtTokenPayload(token) {
5
5
  try {
6
6
  const payload = token.split(".")[1];
@@ -1,4 +1,4 @@
1
- import { JWT_TOKEN_PAYLOAD_SCHEMA } from "./harmony101.mjs";
1
+ import { JWT_TOKEN_PAYLOAD_SCHEMA } from "./harmony94.mjs";
2
2
  function parseJwtTokenPayload(token) {
3
3
  try {
4
4
  const payload = token.split(".")[1];
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const useGetUserTokenQuery = require("./harmony40.cjs");
4
4
  const React = require("react");
5
- const NewJwtIssuedEvent = require("./harmony102.cjs");
5
+ const NewJwtIssuedEvent = require("./harmony95.cjs");
6
6
  const cookieTokenUtils = require("./harmony16.cjs");
7
7
  function useGetPromotedClassicSessionJwtQuery(wretchClient, headers, teamId) {
8
8
  const csrf = cookieTokenUtils.getCsrfTokenFromCookie();
@@ -1,6 +1,6 @@
1
1
  import { useGetUserTokenQuery, getUserTokenKey } from "./harmony40.mjs";
2
2
  import { useRef, useEffect } from "react";
3
- import { NewJwtIssuedEvent } from "./harmony102.mjs";
3
+ import { NewJwtIssuedEvent } from "./harmony95.mjs";
4
4
  import { getCsrfTokenFromCookie } from "./harmony16.mjs";
5
5
  function useGetPromotedClassicSessionJwtQuery(wretchClient, headers, teamId) {
6
6
  const csrf = getCsrfTokenFromCookie();
@@ -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("./harmony102.cjs");
5
+ const NewJwtIssuedEvent = require("./harmony95.cjs");
6
6
  const cookieTokenUtils = require("./harmony16.cjs");
7
7
  function useAuthenticatedSessionPayload() {
8
8
  const [payload, setPayload] = React.useState();
@@ -1,6 +1,6 @@
1
1
  import { useState, useEffect } from "react";
2
2
  import { parseJwtTokenPayload } from "./harmony15.mjs";
3
- import { NewJwtIssuedEvent } from "./harmony102.mjs";
3
+ import { NewJwtIssuedEvent } from "./harmony95.mjs";
4
4
  import { getJwtTokenFromCookie } from "./harmony16.mjs";
5
5
  function useAuthenticatedSessionPayload() {
6
6
  const [payload, setPayload] = useState();
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const apiContracts = require("./harmony104.cjs");
3
+ const apiContracts = require("./harmony93.cjs");
4
4
  const scoreTypes = require("./harmony56.cjs");
5
5
  const sharedTypes = require("./harmony57.cjs");
6
6
  const getScore = apiContracts.buildGetRoute({
@@ -1,4 +1,4 @@
1
- import { buildGetRoute } from "./harmony104.mjs";
1
+ import { buildGetRoute } from "./harmony93.mjs";
2
2
  import { GET_SCORE_RESPONSE_SCHEMA, GET_SCORE_REQUEST_QUERY_SCHEMA } from "./harmony56.mjs";
3
3
  import { BASE_API_ENDPOINT_HEADER_SCHEMA } from "./harmony57.mjs";
4
4
  const getScore = buildGetRoute({
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
- const Avatar_module = require("./harmony79.cjs");
4
+ const Avatar_module = require("./harmony81.cjs");
5
5
  const Avatar = ({
6
6
  src,
7
7
  href = "/",
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import styles from "./harmony79.mjs";
2
+ import styles from "./harmony81.mjs";
3
3
  const Avatar = ({
4
4
  src,
5
5
  href = "/",
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const louis = require("@lokalise/louis");
5
5
  const clsx = require("./harmony62.cjs");
6
- const IconLink_module = require("./harmony80.cjs");
6
+ const IconLink_module = require("./harmony82.cjs");
7
7
  const IconLink = ({ label, to, icon: Icon }) => {
8
8
  return /* @__PURE__ */ jsxRuntime.jsx(louis.Tooltip, { placement: "right", tooltip: label, children: /* @__PURE__ */ jsxRuntime.jsx(
9
9
  louis.Link,
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { Tooltip, Link } from "@lokalise/louis";
3
3
  import { clsx } from "./harmony62.mjs";
4
- import styles from "./harmony80.mjs";
4
+ import styles from "./harmony82.mjs";
5
5
  const IconLink = ({ label, to, icon: Icon }) => {
6
6
  return /* @__PURE__ */ jsx(Tooltip, { placement: "right", tooltip: label, children: /* @__PURE__ */ jsx(
7
7
  Link,
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const louis = require("@lokalise/louis");
5
5
  const clsx = require("./harmony62.cjs");
6
- const Menu_module = require("./harmony81.cjs");
6
+ const Menu_module = require("./harmony83.cjs");
7
7
  const Menu = ({ children, icon: Icon }) => {
8
8
  return /* @__PURE__ */ jsxRuntime.jsx(
9
9
  louis.Menu,
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { Menu as Menu$1, MenuList, Tooltip } from "@lokalise/louis";
3
3
  import { clsx } from "./harmony62.mjs";
4
- import styles from "./harmony81.mjs";
4
+ import styles from "./harmony83.mjs";
5
5
  const Menu = ({ children, icon: Icon }) => {
6
6
  return /* @__PURE__ */ jsx(
7
7
  Menu$1,
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
- const ProfileMenuContent = require("./harmony82.cjs");
5
- const ProfileMenuProvider = require("./harmony83.cjs");
4
+ const ProfileMenuContent = require("./harmony84.cjs");
5
+ const ProfileMenuProvider = require("./harmony85.cjs");
6
6
  const ProfileMenu = ({ config, children }) => /* @__PURE__ */ jsxRuntime.jsx(ProfileMenuProvider.ProfileMenuProvider, { config, children: /* @__PURE__ */ jsxRuntime.jsx(ProfileMenuContent.ProfileMenuContent, { children }) });
7
7
  exports.ProfileMenu = ProfileMenu;
8
8
  //# sourceMappingURL=harmony69.cjs.map
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { ProfileMenuContent } from "./harmony82.mjs";
3
- import { ProfileMenuProvider } from "./harmony83.mjs";
2
+ import { ProfileMenuContent } from "./harmony84.mjs";
3
+ import { ProfileMenuProvider } from "./harmony85.mjs";
4
4
  const ProfileMenu = ({ config, children }) => /* @__PURE__ */ jsx(ProfileMenuProvider, { config, children: /* @__PURE__ */ jsx(ProfileMenuContent, { children }) });
5
5
  export {
6
6
  ProfileMenu
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const louis = require("@lokalise/louis");
5
- const ProfileMenuContext = require("./harmony84.cjs");
6
- const ProfileSettingsMenuItem_module = require("./harmony85.cjs");
5
+ const ProfileMenuContext = require("./harmony86.cjs");
6
+ const ProfileSettingsMenuItem_module = require("./harmony87.cjs");
7
7
  const ProfileSettingsMenuItem = ({
8
8
  href,
9
9
  onClick,
@@ -1,7 +1,7 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { MenuItem, MenuDivider } from "@lokalise/louis";
3
- import { useProfileMenu } from "./harmony84.mjs";
4
- import styles from "./harmony85.mjs";
3
+ import { useProfileMenu } from "./harmony86.mjs";
4
+ import styles from "./harmony87.mjs";
5
5
  const ProfileSettingsMenuItem = ({
6
6
  href,
7
7
  onClick,
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const louis = require("@lokalise/louis");
5
5
  const plan = require("./harmony7.cjs");
6
- const ProfileMenuContext = require("./harmony84.cjs");
7
- const TeamMenuItem_module = require("./harmony86.cjs");
6
+ const ProfileMenuContext = require("./harmony86.cjs");
7
+ const TeamMenuItem_module = require("./harmony88.cjs");
8
8
  const TeamMenuItem = ({ team, onClick, hidePlanLabel }) => {
9
9
  const { currentTeam, planId } = ProfileMenuContext.useProfileMenu();
10
10
  const contextTeam = team || currentTeam;
@@ -1,8 +1,8 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { MenuItem, UserIcon } from "@lokalise/louis";
3
3
  import { isFreePlan, isTrialPlan } from "./harmony7.mjs";
4
- import { useProfileMenu } from "./harmony84.mjs";
5
- import styles from "./harmony86.mjs";
4
+ import { useProfileMenu } from "./harmony86.mjs";
5
+ import styles from "./harmony88.mjs";
6
6
  const TeamMenuItem = ({ team, onClick, hidePlanLabel }) => {
7
7
  const { currentTeam, planId } = useProfileMenu();
8
8
  const contextTeam = team || currentTeam;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
- const ProfileMenuContext = require("./harmony84.cjs");
4
+ const ProfileMenuContext = require("./harmony86.cjs");
5
5
  const TeamMenuItem = require("./harmony71.cjs");
6
- const TeamSwitch_module = require("./harmony87.cjs");
6
+ const TeamSwitch_module = require("./harmony89.cjs");
7
7
  const TeamSwitch = ({ onSwitchTeam }) => {
8
8
  const { otherTeams } = ProfileMenuContext.useProfileMenu();
9
9
  if (otherTeams.length === 0) {
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { useProfileMenu } from "./harmony84.mjs";
2
+ import { useProfileMenu } from "./harmony86.mjs";
3
3
  import { TeamMenuItem } from "./harmony71.mjs";
4
- import styles from "./harmony87.mjs";
4
+ import styles from "./harmony89.mjs";
5
5
  const TeamSwitch = ({ onSwitchTeam }) => {
6
6
  const { otherTeams } = useProfileMenu();
7
7
  if (otherTeams.length === 0) {
@@ -3,9 +3,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const louis = require("@lokalise/louis");
5
5
  const plan = require("./harmony7.cjs");
6
- const UpgradeIcon = require("./harmony88.cjs");
7
- const ProfileMenuContext = require("./harmony84.cjs");
8
- const UpgradeMenuItem_module = require("./harmony89.cjs");
6
+ const UpgradeIcon = require("./harmony90.cjs");
7
+ const ProfileMenuContext = require("./harmony86.cjs");
8
+ const UpgradeMenuItem_module = require("./harmony91.cjs");
9
9
  const UpgradeMenuItem = ({ upgradeOptionHref }) => {
10
10
  const { planId, trialDaysLeft, showUpgradeCta } = ProfileMenuContext.useProfileMenu();
11
11
  if (!showUpgradeCta) {
@@ -1,9 +1,9 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { MenuItem } from "@lokalise/louis";
3
3
  import { isFreePlan } from "./harmony7.mjs";
4
- import { UpgradeIcon } from "./harmony88.mjs";
5
- import { useProfileMenu } from "./harmony84.mjs";
6
- import styles from "./harmony89.mjs";
4
+ import { UpgradeIcon } from "./harmony90.mjs";
5
+ import { useProfileMenu } from "./harmony86.mjs";
6
+ import styles from "./harmony91.mjs";
7
7
  const UpgradeMenuItem = ({ upgradeOptionHref }) => {
8
8
  const { planId, trialDaysLeft, showUpgradeCta } = useProfileMenu();
9
9
  if (!showUpgradeCta) {