@lokalise/harmony 1.29.4 → 1.29.5-exp-teamSwitch.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/harmony.cjs +3 -0
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +5 -2
- package/dist/harmony100.cjs +12 -130
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +12 -130
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +132 -12
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +131 -11
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +13 -6
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +12 -5
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +5 -40
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +5 -40
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +33 -53
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +34 -54
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +59 -6
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +59 -6
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +8 -6
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +7 -5
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +6 -5
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +6 -5
- package/dist/harmony110.cjs +1 -1
- package/dist/harmony110.mjs +1 -1
- package/dist/harmony111.cjs +2 -2
- package/dist/harmony111.mjs +2 -2
- package/dist/harmony113.cjs +13 -62
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +12 -61
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +15 -88
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +15 -88
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +17 -19
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +16 -18
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +62 -13
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +61 -12
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +88 -15
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +88 -15
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +19 -17
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +18 -16
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +10 -15
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +10 -15
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +13 -18
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +13 -18
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +19 -10
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +19 -10
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +11 -10
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +11 -10
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +6 -7
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +6 -7
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +12 -57
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +12 -57
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +30 -58
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +30 -58
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +15 -19
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +14 -18
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +7 -12
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +7 -12
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +56 -31
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +56 -31
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +59 -13
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +59 -13
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +19 -7
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +18 -6
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +1 -1
- package/dist/harmony131.mjs +1 -1
- 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/harmony31.cjs +9 -0
- package/dist/harmony31.cjs.map +1 -1
- package/dist/harmony31.mjs +12 -3
- package/dist/harmony31.mjs.map +1 -1
- package/dist/harmony61.cjs +7 -1
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +7 -1
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony68.cjs +1 -1
- package/dist/harmony68.mjs +1 -1
- package/dist/harmony69.cjs +1 -1
- package/dist/harmony69.mjs +1 -1
- package/dist/harmony70.cjs +1 -1
- package/dist/harmony70.mjs +1 -1
- package/dist/harmony71.cjs +2 -2
- package/dist/harmony71.mjs +2 -2
- package/dist/harmony72.cjs +2 -2
- package/dist/harmony72.mjs +2 -2
- package/dist/harmony73.cjs +2 -2
- package/dist/harmony73.mjs +2 -2
- package/dist/harmony74.cjs +2 -2
- package/dist/harmony74.mjs +2 -2
- package/dist/harmony75.cjs +3 -3
- package/dist/harmony75.mjs +3 -3
- package/dist/harmony76.cjs +6 -6
- package/dist/harmony76.mjs +6 -6
- package/dist/harmony79.cjs +2 -2
- package/dist/harmony79.mjs +2 -2
- package/dist/harmony81.cjs +12 -7
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +11 -6
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +20 -8
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +20 -8
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +3 -6
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +3 -6
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +9 -57
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +8 -56
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +9 -42
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +8 -41
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +57 -5
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +57 -5
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +42 -9
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +41 -8
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +6 -25
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +5 -24
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +6 -3
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +6 -3
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +24 -21
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +23 -20
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +3 -9
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +3 -9
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +19 -9
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +21 -11
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +11 -20
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +11 -20
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +2 -2
- package/dist/harmony94.mjs +2 -2
- package/dist/harmony95.cjs +22 -19
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +21 -18
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +5 -13
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +5 -13
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +5 -21
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +5 -21
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +6 -7
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +5 -6
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +19 -7
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +18 -6
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/features/publicApi/hooks/useSwitchTeamMutation.d.ts +15 -0
- package/dist/types/src/features/publicApi/hooks/useSwitchTeamMutation.test.d.ts +1 -0
- package/dist/types/src/features/publicApi/team.d.ts +61 -0
- package/dist/types/src/features/publicApi/types/teamTypes.d.ts +10 -0
- package/dist/types/tests/utils/apiHelpers.d.ts +1 -0
- package/package.json +1 -1
package/dist/harmony120.mjs
CHANGED
@@ -1,24 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
11
|
-
var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
|
12
|
-
function baseGetTag(value) {
|
13
|
-
if (value == null) {
|
14
|
-
return value === void 0 ? undefinedTag : nullTag;
|
1
|
+
var _trimmedEndIndex;
|
2
|
+
var hasRequired_trimmedEndIndex;
|
3
|
+
function require_trimmedEndIndex() {
|
4
|
+
if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
|
5
|
+
hasRequired_trimmedEndIndex = 1;
|
6
|
+
var reWhitespace = /\s/;
|
7
|
+
function trimmedEndIndex(string) {
|
8
|
+
var index = string.length;
|
9
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
15
10
|
}
|
16
|
-
return
|
11
|
+
return index;
|
17
12
|
}
|
18
|
-
|
19
|
-
return
|
13
|
+
_trimmedEndIndex = trimmedEndIndex;
|
14
|
+
return _trimmedEndIndex;
|
20
15
|
}
|
21
16
|
export {
|
22
|
-
|
17
|
+
require_trimmedEndIndex as __require
|
23
18
|
};
|
24
19
|
//# sourceMappingURL=harmony120.mjs.map
|
package/dist/harmony120.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony120.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony120.mjs","sources":["../node_modules/lodash/_trimmedEndIndex.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n"],"names":[],"mappings":";;;;;AACA,MAAI,eAAe;AAUnB,WAAS,gBAAgB,QAAQ;AAC/B,QAAI,QAAQ,OAAO;AAEnB,WAAO,WAAW,aAAa,KAAK,OAAO,OAAO,KAAK,CAAC,GAAG;AAAA,IAAA;AAC3D,WAAO;AAAA,EACT;AAEA,qBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony121.cjs
CHANGED
@@ -1,15 +1,24 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
const _Symbol = require("./harmony124.cjs");
|
4
|
+
const _getRawTag = require("./harmony125.cjs");
|
5
|
+
const _objectToString = require("./harmony126.cjs");
|
6
|
+
var _baseGetTag;
|
7
|
+
var hasRequired_baseGetTag;
|
8
|
+
function require_baseGetTag() {
|
9
|
+
if (hasRequired_baseGetTag) return _baseGetTag;
|
10
|
+
hasRequired_baseGetTag = 1;
|
11
|
+
var Symbol2 = _Symbol.__require(), getRawTag = _getRawTag.__require(), objectToString = _objectToString.__require();
|
12
|
+
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
13
|
+
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
14
|
+
function baseGetTag(value) {
|
15
|
+
if (value == null) {
|
16
|
+
return value === void 0 ? undefinedTag : nullTag;
|
17
|
+
}
|
18
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
10
19
|
}
|
11
|
-
|
12
|
-
return
|
20
|
+
_baseGetTag = baseGetTag;
|
21
|
+
return _baseGetTag;
|
13
22
|
}
|
14
|
-
exports.__require =
|
23
|
+
exports.__require = require_baseGetTag;
|
15
24
|
//# sourceMappingURL=harmony121.cjs.map
|
package/dist/harmony121.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony121.cjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony121.cjs","sources":["../node_modules/lodash/_baseGetTag.js"],"sourcesContent":["var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n"],"names":["Symbol","require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;AAAA,MAAIA,UAASC,QAAAA,UAAoB,GAC7B,YAAYC,WAAAA,UAAuB,GACnC,iBAAiBC,gBAAAA,UAA4B;AAGjD,MAAI,UAAU,iBACV,eAAe;AAGnB,MAAI,iBAAiBH,UAASA,QAAO,cAAc;AASnD,WAAS,WAAW,OAAO;AACzB,QAAI,SAAS,MAAM;AACjB,aAAO,UAAU,SAAY,eAAe;AAAA,IAChD;AACE,WAAQ,kBAAkB,kBAAkB,OAAO,KAAK,IACpD,UAAU,KAAK,IACf,eAAe,KAAK;AAAA,EAC1B;AAEA,gBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony121.mjs
CHANGED
@@ -1,15 +1,24 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
import { __require as require_Symbol } from "./harmony124.mjs";
|
2
|
+
import { __require as require_getRawTag } from "./harmony125.mjs";
|
3
|
+
import { __require as require_objectToString } from "./harmony126.mjs";
|
4
|
+
var _baseGetTag;
|
5
|
+
var hasRequired_baseGetTag;
|
6
|
+
function require_baseGetTag() {
|
7
|
+
if (hasRequired_baseGetTag) return _baseGetTag;
|
8
|
+
hasRequired_baseGetTag = 1;
|
9
|
+
var Symbol = require_Symbol(), getRawTag = require_getRawTag(), objectToString = require_objectToString();
|
10
|
+
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
11
|
+
var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
|
12
|
+
function baseGetTag(value) {
|
13
|
+
if (value == null) {
|
14
|
+
return value === void 0 ? undefinedTag : nullTag;
|
15
|
+
}
|
16
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
8
17
|
}
|
9
|
-
|
10
|
-
return
|
18
|
+
_baseGetTag = baseGetTag;
|
19
|
+
return _baseGetTag;
|
11
20
|
}
|
12
21
|
export {
|
13
|
-
|
22
|
+
require_baseGetTag as __require
|
14
23
|
};
|
15
24
|
//# sourceMappingURL=harmony121.mjs.map
|
package/dist/harmony121.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony121.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony121.mjs","sources":["../node_modules/lodash/_baseGetTag.js"],"sourcesContent":["var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;AAAA,MAAI,SAASA,eAAoB,GAC7B,YAAYC,kBAAuB,GACnC,iBAAiBC,uBAA4B;AAGjD,MAAI,UAAU,iBACV,eAAe;AAGnB,MAAI,iBAAiB,SAAS,OAAO,cAAc;AASnD,WAAS,WAAW,OAAO;AACzB,QAAI,SAAS,MAAM;AACjB,aAAO,UAAU,SAAY,eAAe;AAAA,IAChD;AACE,WAAQ,kBAAkB,kBAAkB,OAAO,KAAK,IACpD,UAAU,KAAK,IACf,eAAe,KAAK;AAAA,EAC1B;AAEA,gBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony122.cjs
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
var
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
var isObjectLike_1;
|
4
|
+
var hasRequiredIsObjectLike;
|
5
|
+
function requireIsObjectLike() {
|
6
|
+
if (hasRequiredIsObjectLike) return isObjectLike_1;
|
7
|
+
hasRequiredIsObjectLike = 1;
|
8
|
+
function isObjectLike(value) {
|
9
|
+
return value != null && typeof value == "object";
|
10
|
+
}
|
11
|
+
isObjectLike_1 = isObjectLike;
|
12
|
+
return isObjectLike_1;
|
12
13
|
}
|
13
|
-
exports.__require =
|
14
|
+
exports.__require = requireIsObjectLike;
|
14
15
|
//# sourceMappingURL=harmony122.cjs.map
|
package/dist/harmony122.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony122.cjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony122.cjs","sources":["../node_modules/lodash/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n"],"names":[],"mappings":";;;;;;;AAwBA,WAAS,aAAa,OAAO;AAC3B,WAAO,SAAS,QAAQ,OAAO,SAAS;AAAA,EAC1C;AAEA,mBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony122.mjs
CHANGED
@@ -1,14 +1,15 @@
|
|
1
|
-
|
2
|
-
var
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
var isObjectLike_1;
|
2
|
+
var hasRequiredIsObjectLike;
|
3
|
+
function requireIsObjectLike() {
|
4
|
+
if (hasRequiredIsObjectLike) return isObjectLike_1;
|
5
|
+
hasRequiredIsObjectLike = 1;
|
6
|
+
function isObjectLike(value) {
|
7
|
+
return value != null && typeof value == "object";
|
8
|
+
}
|
9
|
+
isObjectLike_1 = isObjectLike;
|
10
|
+
return isObjectLike_1;
|
10
11
|
}
|
11
12
|
export {
|
12
|
-
|
13
|
+
requireIsObjectLike as __require
|
13
14
|
};
|
14
15
|
//# sourceMappingURL=harmony122.mjs.map
|
package/dist/harmony122.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony122.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony122.mjs","sources":["../node_modules/lodash/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n"],"names":[],"mappings":";;;;;AAwBA,WAAS,aAAa,OAAO;AAC3B,WAAO,SAAS,QAAQ,OAAO,SAAS;AAAA,EAC1C;AAEA,mBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony123.cjs
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
exports.splitFileName = splitFileName;
|
3
|
+
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
4
|
+
function getDefaultExportFromCjs(x) {
|
5
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
6
|
+
}
|
7
|
+
exports.commonjsGlobal = commonjsGlobal;
|
8
|
+
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
10
9
|
//# sourceMappingURL=harmony123.cjs.map
|
package/dist/harmony123.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony123.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony123.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony123.mjs
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
return { name, extension };
|
6
|
-
};
|
1
|
+
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
2
|
+
function getDefaultExportFromCjs(x) {
|
3
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
4
|
+
}
|
7
5
|
export {
|
8
|
-
|
6
|
+
commonjsGlobal,
|
7
|
+
getDefaultExportFromCjs
|
9
8
|
};
|
10
9
|
//# sourceMappingURL=harmony123.mjs.map
|
package/dist/harmony123.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony123.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony123.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony124.cjs
CHANGED
@@ -1,60 +1,15 @@
|
|
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
|
-
const languageProgressCompleted = content.isLanguageProgressCompleted(task, language);
|
16
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
17
|
-
"tr",
|
18
|
-
{
|
19
|
-
className: clsx.clsx({
|
20
|
-
[TaskLanguage_module.default.langRowCompleted]: languageProgressCompleted
|
21
|
-
}),
|
22
|
-
children: [
|
23
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { children: /* @__PURE__ */ jsxRuntime.jsx(louis.Tooltip, { tooltip: "Open in bilingual view", children: /* @__PURE__ */ jsxRuntime.jsx(
|
24
|
-
louis.Link,
|
25
|
-
{
|
26
|
-
href: getProjectUrl({ task, language }),
|
27
|
-
onClick: () => {
|
28
|
-
langNameOnClick == null ? void 0 : langNameOnClick({ task, language });
|
29
|
-
},
|
30
|
-
children: language.name
|
31
|
-
}
|
32
|
-
) }) }),
|
33
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { className: TaskLanguage_module.default.langCellSecondary, children: languageProgressCompleted || isLanguageCompleted ? "0" : /* @__PURE__ */ jsxRuntime.jsx(louis.Tooltip, { tooltip: "Open uncompleted items", children: /* @__PURE__ */ jsxRuntime.jsx(
|
34
|
-
louis.Link,
|
35
|
-
{
|
36
|
-
href: getProjectUrl({ task, language, taskUncompleted: true }),
|
37
|
-
onClick: () => {
|
38
|
-
langProgressOnClick == null ? void 0 : langProgressOnClick({ task, language });
|
39
|
-
},
|
40
|
-
children: language.base_words_total - language.base_words_done
|
41
|
-
}
|
42
|
-
) }) }),
|
43
|
-
/* @__PURE__ */ jsxRuntime.jsxs("td", { children: [
|
44
|
-
progressValue,
|
45
|
-
"%"
|
46
|
-
] }),
|
47
|
-
/* @__PURE__ */ jsxRuntime.jsx("td", { children: languageProgressCompleted ? /* @__PURE__ */ jsxRuntime.jsx(TaskLanguageCompleted.TaskLanguageCompleted, { task, language }) : /* @__PURE__ */ jsxRuntime.jsx(
|
48
|
-
"span",
|
49
|
-
{
|
50
|
-
className: `${TaskLanguage_module.default.langStatus} flex-row items-center justify-start`,
|
51
|
-
"data-status": language.status,
|
52
|
-
children: content.getStatusText(language.status, progressValue)
|
53
|
-
}
|
54
|
-
) })
|
55
|
-
]
|
56
|
-
}
|
57
|
-
);
|
58
|
-
};
|
59
|
-
exports.TaskLanguage = TaskLanguage;
|
3
|
+
const _root = require("./harmony113.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;
|
13
|
+
}
|
14
|
+
exports.__require = require_Symbol;
|
60
15
|
//# sourceMappingURL=harmony124.cjs.map
|
package/dist/harmony124.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony124.cjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony124.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]}
|
package/dist/harmony124.mjs
CHANGED
@@ -1,60 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
const isLanguageCompleted = language.status === SidebarTaskLanguageStatuses.Completed;
|
13
|
-
const languageProgressCompleted = isLanguageProgressCompleted(task, language);
|
14
|
-
return /* @__PURE__ */ jsxs(
|
15
|
-
"tr",
|
16
|
-
{
|
17
|
-
className: clsx({
|
18
|
-
[styles.langRowCompleted]: languageProgressCompleted
|
19
|
-
}),
|
20
|
-
children: [
|
21
|
-
/* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Tooltip, { tooltip: "Open in bilingual view", children: /* @__PURE__ */ jsx(
|
22
|
-
Link,
|
23
|
-
{
|
24
|
-
href: getProjectUrl({ task, language }),
|
25
|
-
onClick: () => {
|
26
|
-
langNameOnClick == null ? void 0 : langNameOnClick({ task, language });
|
27
|
-
},
|
28
|
-
children: language.name
|
29
|
-
}
|
30
|
-
) }) }),
|
31
|
-
/* @__PURE__ */ jsx("td", { className: styles.langCellSecondary, children: languageProgressCompleted || isLanguageCompleted ? "0" : /* @__PURE__ */ jsx(Tooltip, { tooltip: "Open uncompleted items", children: /* @__PURE__ */ jsx(
|
32
|
-
Link,
|
33
|
-
{
|
34
|
-
href: getProjectUrl({ task, language, taskUncompleted: true }),
|
35
|
-
onClick: () => {
|
36
|
-
langProgressOnClick == null ? void 0 : langProgressOnClick({ task, language });
|
37
|
-
},
|
38
|
-
children: language.base_words_total - language.base_words_done
|
39
|
-
}
|
40
|
-
) }) }),
|
41
|
-
/* @__PURE__ */ jsxs("td", { children: [
|
42
|
-
progressValue,
|
43
|
-
"%"
|
44
|
-
] }),
|
45
|
-
/* @__PURE__ */ jsx("td", { children: languageProgressCompleted ? /* @__PURE__ */ jsx(TaskLanguageCompleted, { task, language }) : /* @__PURE__ */ jsx(
|
46
|
-
"span",
|
47
|
-
{
|
48
|
-
className: `${styles.langStatus} flex-row items-center justify-start`,
|
49
|
-
"data-status": language.status,
|
50
|
-
children: getStatusText(language.status, progressValue)
|
51
|
-
}
|
52
|
-
) })
|
53
|
-
]
|
54
|
-
}
|
55
|
-
);
|
56
|
-
};
|
1
|
+
import { __require as require_root } from "./harmony113.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;
|
11
|
+
}
|
57
12
|
export {
|
58
|
-
|
13
|
+
require_Symbol as __require
|
59
14
|
};
|
60
15
|
//# sourceMappingURL=harmony124.mjs.map
|
package/dist/harmony124.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony124.mjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony124.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]}
|
package/dist/harmony125.cjs
CHANGED
@@ -1,63 +1,35 @@
|
|
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
|
-
const resolveStatus = (language) => {
|
21
|
-
const progress = language.progress ?? 0;
|
22
|
-
if (language.status === types.SidebarTaskLanguageStatuses.Created && progress > 0) {
|
23
|
-
return types.SidebarTaskLanguageStatuses.InProgress;
|
24
|
-
}
|
25
|
-
return language.status;
|
26
|
-
};
|
27
|
-
const tagColor = {
|
28
|
-
[types.SidebarTaskTypeOptions.translation]: "#0891B2",
|
29
|
-
[types.SidebarTaskTypeOptions.review]: "#16922D",
|
30
|
-
[types.SidebarTaskTypeOptions.lqa_by_ai]: "#8B5CF6",
|
31
|
-
[types.SidebarTaskTypeOptions.automatic_translation]: "#60A5FA"
|
32
|
-
};
|
33
|
-
const getTaskLanguages = (langs) => {
|
34
|
-
const statusSortOrder = [
|
35
|
-
types.SidebarTaskLanguageStatuses.InProgress,
|
36
|
-
types.SidebarTaskLanguageStatuses.Created,
|
37
|
-
types.SidebarTaskLanguageStatuses.Completed
|
38
|
-
];
|
39
|
-
return langs.filter((language) => language.status !== "queued").map((lang) => ({ ...lang, status: resolveStatus(lang) })).sort((a, b) => {
|
40
|
-
if (a.status === types.SidebarTaskLanguageStatuses.InProgress && a.progress === 100) {
|
41
|
-
return -1;
|
3
|
+
const _Symbol = require("./harmony124.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) {
|
42
20
|
}
|
43
|
-
|
44
|
-
|
21
|
+
var result = nativeObjectToString.call(value);
|
22
|
+
if (unmasked) {
|
23
|
+
if (isOwn) {
|
24
|
+
value[symToStringTag] = tag;
|
25
|
+
} else {
|
26
|
+
delete value[symToStringTag];
|
27
|
+
}
|
45
28
|
}
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
const isInProgressOrCreated = (status) => {
|
53
|
-
return [types.SidebarTaskStatuses.InProgress, types.SidebarTaskStatuses.Created].includes(status);
|
54
|
-
};
|
55
|
-
const isLanguageProgressCompleted = (task, language) => {
|
56
|
-
return isInProgressOrCreated(task.status) && isInProgressOrCreated(language.status) && (language.progress ?? 0) >= 100;
|
57
|
-
};
|
58
|
-
exports.getStatusText = getStatusText;
|
59
|
-
exports.getTaskLanguages = getTaskLanguages;
|
60
|
-
exports.isLanguageProgressCompleted = isLanguageProgressCompleted;
|
61
|
-
exports.resolveStatus = resolveStatus;
|
62
|
-
exports.tagColor = tagColor;
|
29
|
+
return result;
|
30
|
+
}
|
31
|
+
_getRawTag = getRawTag;
|
32
|
+
return _getRawTag;
|
33
|
+
}
|
34
|
+
exports.__require = require_getRawTag;
|
63
35
|
//# sourceMappingURL=harmony125.cjs.map
|
package/dist/harmony125.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony125.cjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony125.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]}
|