@lokalise/harmony 1.26.1 → 1.26.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 +65 -43
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +37 -15
- package/dist/harmony.mjs.map +1 -1
- package/dist/harmony100.cjs +60 -12
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +60 -12
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +88 -36
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +88 -36
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +19 -29
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +18 -28
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +95 -12
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +95 -12
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +11 -13
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +11 -13
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +13 -15
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +13 -15
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +36 -7
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +36 -7
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +27 -56
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +27 -56
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +6 -59
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +6 -59
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +57 -18
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +56 -17
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +60 -11
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +60 -11
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +19 -17
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +18 -16
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +12 -20
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +12 -20
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +13 -10
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +13 -10
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +16 -46
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +16 -46
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +12 -13
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +11 -12
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +15 -5
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +15 -5
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +20 -11
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +20 -11
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +10 -30
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +10 -30
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +46 -14
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +46 -14
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +15 -0
- package/dist/harmony120.cjs.map +1 -0
- package/dist/harmony120.mjs +15 -0
- package/dist/harmony120.mjs.map +1 -0
- package/dist/harmony121.cjs +9 -0
- package/dist/harmony121.cjs.map +1 -0
- package/dist/harmony121.mjs +9 -0
- package/dist/harmony121.mjs.map +1 -0
- package/dist/harmony122.cjs +15 -0
- package/dist/harmony122.cjs.map +1 -0
- package/dist/harmony122.mjs +15 -0
- package/dist/harmony122.mjs.map +1 -0
- package/dist/harmony123.cjs +35 -0
- package/dist/harmony123.cjs.map +1 -0
- package/dist/harmony123.mjs +35 -0
- package/dist/harmony123.mjs.map +1 -0
- package/dist/harmony124.cjs +17 -0
- package/dist/harmony124.cjs.map +1 -0
- package/dist/harmony124.mjs +17 -0
- package/dist/harmony124.mjs.map +1 -0
- package/dist/harmony15.cjs +1 -1
- package/dist/harmony15.mjs +1 -1
- package/dist/harmony20.cjs +1 -1
- package/dist/harmony20.mjs +1 -1
- package/dist/harmony21.cjs +1 -1
- package/dist/harmony21.mjs +1 -1
- package/dist/harmony22.cjs +2 -2
- package/dist/harmony22.mjs +2 -2
- package/dist/harmony23.cjs +1 -1
- package/dist/harmony23.mjs +1 -1
- package/dist/harmony24.cjs +1 -1
- package/dist/harmony24.mjs +1 -1
- package/dist/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 +10 -37
- package/dist/harmony28.cjs.map +1 -1
- package/dist/harmony28.mjs +10 -37
- package/dist/harmony28.mjs.map +1 -1
- package/dist/harmony29.cjs +37 -9
- package/dist/harmony29.cjs.map +1 -1
- package/dist/harmony29.mjs +37 -9
- package/dist/harmony29.mjs.map +1 -1
- package/dist/harmony3.cjs +3 -3
- package/dist/harmony3.mjs +3 -3
- package/dist/harmony30.cjs +10 -13
- package/dist/harmony30.cjs.map +1 -1
- package/dist/harmony30.mjs +10 -13
- package/dist/harmony30.mjs.map +1 -1
- package/dist/harmony31.cjs +10 -80
- package/dist/harmony31.cjs.map +1 -1
- package/dist/harmony31.mjs +9 -79
- package/dist/harmony31.mjs.map +1 -1
- package/dist/harmony32.cjs +13 -109
- package/dist/harmony32.cjs.map +1 -1
- package/dist/harmony32.mjs +12 -108
- package/dist/harmony32.mjs.map +1 -1
- package/dist/harmony33.cjs +14 -8
- package/dist/harmony33.cjs.map +1 -1
- package/dist/harmony33.mjs +14 -8
- package/dist/harmony33.mjs.map +1 -1
- package/dist/harmony34.cjs +14 -56
- package/dist/harmony34.cjs.map +1 -1
- package/dist/harmony34.mjs +14 -56
- package/dist/harmony34.mjs.map +1 -1
- package/dist/harmony35.cjs +13 -24
- package/dist/harmony35.cjs.map +1 -1
- package/dist/harmony35.mjs +13 -24
- package/dist/harmony35.mjs.map +1 -1
- package/dist/harmony36.cjs +17 -18
- package/dist/harmony36.cjs.map +1 -1
- package/dist/harmony36.mjs +17 -18
- package/dist/harmony36.mjs.map +1 -1
- package/dist/harmony37.cjs +14 -20
- package/dist/harmony37.cjs.map +1 -1
- package/dist/harmony37.mjs +14 -20
- package/dist/harmony37.mjs.map +1 -1
- package/dist/harmony38.cjs +13 -11
- package/dist/harmony38.cjs.map +1 -1
- package/dist/harmony38.mjs +14 -12
- package/dist/harmony38.mjs.map +1 -1
- package/dist/harmony39.cjs +9 -9
- package/dist/harmony39.cjs.map +1 -1
- package/dist/harmony39.mjs +9 -9
- package/dist/harmony39.mjs.map +1 -1
- package/dist/harmony4.cjs +10 -10
- package/dist/harmony4.mjs +10 -10
- package/dist/harmony40.cjs +14 -12
- package/dist/harmony40.cjs.map +1 -1
- package/dist/harmony40.mjs +15 -13
- package/dist/harmony40.mjs.map +1 -1
- package/dist/harmony42.cjs +1 -1
- package/dist/harmony42.mjs +1 -1
- package/dist/harmony44.cjs +1 -1
- package/dist/harmony44.mjs +1 -1
- package/dist/harmony45.cjs +1 -1
- package/dist/harmony45.mjs +1 -1
- package/dist/harmony46.cjs +56 -14
- package/dist/harmony46.cjs.map +1 -1
- package/dist/harmony46.mjs +56 -14
- package/dist/harmony46.mjs.map +1 -1
- package/dist/harmony47.cjs +79 -16
- package/dist/harmony47.cjs.map +1 -1
- package/dist/harmony47.mjs +79 -16
- package/dist/harmony47.mjs.map +1 -1
- package/dist/harmony48.cjs +21 -16
- package/dist/harmony48.cjs.map +1 -1
- package/dist/harmony48.mjs +20 -15
- package/dist/harmony48.mjs.map +1 -1
- package/dist/harmony49.cjs +111 -19
- package/dist/harmony49.cjs.map +1 -1
- package/dist/harmony49.mjs +110 -18
- package/dist/harmony49.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony50.cjs +22 -62
- package/dist/harmony50.cjs.map +1 -1
- package/dist/harmony50.mjs +21 -61
- package/dist/harmony50.mjs.map +1 -1
- package/dist/harmony51.cjs +27 -7
- package/dist/harmony51.cjs.map +1 -1
- package/dist/harmony51.mjs +26 -6
- package/dist/harmony51.mjs.map +1 -1
- package/dist/harmony52.cjs +8 -9
- package/dist/harmony52.cjs.map +1 -1
- package/dist/harmony52.mjs +8 -9
- package/dist/harmony52.mjs.map +1 -1
- package/dist/harmony53.cjs +24 -18
- package/dist/harmony53.cjs.map +1 -1
- package/dist/harmony53.mjs +24 -18
- package/dist/harmony53.mjs.map +1 -1
- package/dist/harmony54.cjs +18 -23
- package/dist/harmony54.cjs.map +1 -1
- package/dist/harmony54.mjs +18 -23
- package/dist/harmony54.mjs.map +1 -1
- package/dist/harmony55.cjs +16 -6
- package/dist/harmony55.cjs.map +1 -1
- package/dist/harmony55.mjs +15 -5
- package/dist/harmony55.mjs.map +1 -1
- package/dist/harmony56.cjs +18 -32
- package/dist/harmony56.cjs.map +1 -1
- package/dist/harmony56.mjs +17 -31
- package/dist/harmony56.mjs.map +1 -1
- package/dist/harmony57.cjs +61 -32
- package/dist/harmony57.cjs.map +1 -1
- package/dist/harmony57.mjs +60 -31
- package/dist/harmony57.mjs.map +1 -1
- package/dist/harmony58.cjs +6 -19
- package/dist/harmony58.cjs.map +1 -1
- package/dist/harmony58.mjs +5 -18
- package/dist/harmony58.mjs.map +1 -1
- package/dist/harmony59.cjs +8 -30
- package/dist/harmony59.cjs.map +1 -1
- package/dist/harmony59.mjs +9 -31
- package/dist/harmony59.mjs.map +1 -1
- package/dist/harmony6.cjs +4 -4
- package/dist/harmony6.mjs +4 -4
- package/dist/harmony60.cjs +13 -54
- package/dist/harmony60.cjs.map +1 -1
- package/dist/harmony60.mjs +15 -56
- package/dist/harmony60.mjs.map +1 -1
- package/dist/harmony61.cjs +23 -9
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +22 -8
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony62.cjs +4 -7
- package/dist/harmony62.cjs.map +1 -1
- package/dist/harmony62.mjs +5 -8
- package/dist/harmony62.mjs.map +1 -1
- package/dist/harmony63.cjs +30 -27
- package/dist/harmony63.cjs.map +1 -1
- package/dist/harmony63.mjs +32 -29
- package/dist/harmony63.mjs.map +1 -1
- package/dist/harmony64.cjs +32 -3
- package/dist/harmony64.cjs.map +1 -1
- package/dist/harmony64.mjs +32 -3
- package/dist/harmony64.mjs.map +1 -1
- package/dist/harmony65.cjs +19 -6
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.mjs +18 -5
- package/dist/harmony65.mjs.map +1 -1
- package/dist/harmony66.cjs +31 -9
- package/dist/harmony66.cjs.map +1 -1
- package/dist/harmony66.mjs +30 -8
- package/dist/harmony66.mjs.map +1 -1
- package/dist/harmony67.cjs +60 -10
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs +59 -9
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony68.cjs +9 -57
- package/dist/harmony68.cjs.map +1 -1
- package/dist/harmony68.mjs +8 -56
- package/dist/harmony68.mjs.map +1 -1
- package/dist/harmony69.cjs +7 -31
- package/dist/harmony69.cjs.map +1 -1
- package/dist/harmony69.mjs +8 -32
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony70.cjs +28 -4
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs +29 -5
- package/dist/harmony70.mjs.map +1 -1
- package/dist/harmony71.cjs +4 -10
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +3 -9
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony72.cjs +12 -25
- package/dist/harmony72.cjs.map +1 -1
- package/dist/harmony72.mjs +11 -24
- package/dist/harmony72.mjs.map +1 -1
- package/dist/harmony73.cjs +20 -5
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs +20 -5
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +6 -21
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +5 -20
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs +6 -9
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs +6 -9
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony76.cjs +10 -12
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +9 -11
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +57 -21
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +56 -20
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +32 -18
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +32 -18
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +5 -14
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +5 -14
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony80.cjs +10 -27
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +9 -26
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +25 -12
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +24 -11
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +6 -99
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +5 -81
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +21 -21
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +20 -20
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +12 -5
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +11 -4
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +18 -132
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +18 -132
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +14 -12
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +13 -11
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +16 -5
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +16 -5
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +21 -40
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +20 -39
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +4 -59
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +4 -59
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +98 -6
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +81 -6
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +132 -6
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +131 -5
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +12 -5
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +12 -5
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +6 -6
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +5 -5
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +40 -16
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +40 -16
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +57 -59
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +57 -59
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +6 -87
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +6 -87
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +3 -15
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +3 -15
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +6 -97
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +5 -96
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +6 -14
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +5 -13
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/features/publicApi/node.d.ts +16 -9
- package/package.json +1 -1
package/dist/harmony118.mjs
CHANGED
@@ -1,35 +1,15 @@
|
|
1
|
-
|
2
|
-
var
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
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];
|
25
|
-
}
|
26
|
-
}
|
27
|
-
return result;
|
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";
|
28
8
|
}
|
29
|
-
|
30
|
-
return
|
9
|
+
isObjectLike_1 = isObjectLike;
|
10
|
+
return isObjectLike_1;
|
31
11
|
}
|
32
12
|
export {
|
33
|
-
|
13
|
+
requireIsObjectLike as __require
|
34
14
|
};
|
35
15
|
//# sourceMappingURL=harmony118.mjs.map
|
package/dist/harmony118.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony118.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony118.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/harmony119.cjs
CHANGED
@@ -1,17 +1,49 @@
|
|
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
|
-
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
4
|
+
const louis = require("@lokalise/louis");
|
5
|
+
const React = require("react");
|
6
|
+
const TasksContext = require("./harmony93.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
|
+
] });
|
47
|
+
};
|
48
|
+
exports.TaskLanguageCompleted = TaskLanguageCompleted;
|
17
49
|
//# sourceMappingURL=harmony119.cjs.map
|
package/dist/harmony119.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony119.cjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony119.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/harmony119.mjs
CHANGED
@@ -1,17 +1,49 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
return
|
13
|
-
|
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 "./harmony93.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
|
+
] });
|
45
|
+
};
|
14
46
|
export {
|
15
|
-
|
47
|
+
TaskLanguageCompleted
|
16
48
|
};
|
17
49
|
//# sourceMappingURL=harmony119.mjs.map
|
package/dist/harmony119.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony119.mjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony119.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=harmony120.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony120.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=harmony120.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony120.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
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;
|
9
|
+
//# sourceMappingURL=harmony121.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony121.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
@@ -0,0 +1,9 @@
|
|
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
|
+
}
|
5
|
+
export {
|
6
|
+
commonjsGlobal,
|
7
|
+
getDefaultExportFromCjs
|
8
|
+
};
|
9
|
+
//# sourceMappingURL=harmony121.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony121.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
+
const _root = require("./harmony112.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;
|
15
|
+
//# sourceMappingURL=harmony122.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony122.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]}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { __require as require_root } from "./harmony112.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
|
+
}
|
12
|
+
export {
|
13
|
+
require_Symbol as __require
|
14
|
+
};
|
15
|
+
//# sourceMappingURL=harmony122.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony122.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]}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
+
const _Symbol = require("./harmony122.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];
|
27
|
+
}
|
28
|
+
}
|
29
|
+
return result;
|
30
|
+
}
|
31
|
+
_getRawTag = getRawTag;
|
32
|
+
return _getRawTag;
|
33
|
+
}
|
34
|
+
exports.__require = require_getRawTag;
|
35
|
+
//# sourceMappingURL=harmony123.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony123.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]}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { __require as require_Symbol } from "./harmony122.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];
|
25
|
+
}
|
26
|
+
}
|
27
|
+
return result;
|
28
|
+
}
|
29
|
+
_getRawTag = getRawTag;
|
30
|
+
return _getRawTag;
|
31
|
+
}
|
32
|
+
export {
|
33
|
+
require_getRawTag as __require
|
34
|
+
};
|
35
|
+
//# sourceMappingURL=harmony123.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony123.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]}
|
@@ -0,0 +1,17 @@
|
|
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;
|
17
|
+
//# sourceMappingURL=harmony124.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony124.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]}
|
@@ -0,0 +1,17 @@
|
|
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
|
+
}
|
14
|
+
export {
|
15
|
+
require_objectToString as __require
|
16
|
+
};
|
17
|
+
//# sourceMappingURL=harmony124.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"harmony124.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/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("./harmony85.cjs");
|
4
4
|
function parseJwtTokenPayload(token) {
|
5
5
|
try {
|
6
6
|
const payload = token.split(".")[1];
|
package/dist/harmony15.mjs
CHANGED
package/dist/harmony20.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const headerBuilder = require("./harmony18.cjs");
|
4
4
|
const UnauthorizedError = require("./harmony14.cjs");
|
5
|
-
const userToken = require("./
|
5
|
+
const userToken = require("./harmony32.cjs");
|
6
6
|
const frontendHttpClient = require("@lokalise/frontend-http-client");
|
7
7
|
function generateTokenFromClassicSession(authenticationProvider, getCsrfToken, getTeamId) {
|
8
8
|
return async () => {
|
package/dist/harmony20.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { HeaderBuilder } from "./harmony18.mjs";
|
2
2
|
import { UnauthorizedError } from "./harmony14.mjs";
|
3
|
-
import { getUserToken } from "./
|
3
|
+
import { getUserToken } from "./harmony32.mjs";
|
4
4
|
import { sendByPayloadRoute } from "@lokalise/frontend-http-client";
|
5
5
|
function generateTokenFromClassicSession(authenticationProvider, getCsrfToken, getTeamId) {
|
6
6
|
return async () => {
|
package/dist/harmony21.cjs
CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const headerBuilder = require("./harmony18.cjs");
|
4
4
|
const jwtTokenPayload = require("./harmony15.cjs");
|
5
5
|
const UnauthorizedError = require("./harmony14.cjs");
|
6
|
-
const userToken = require("./
|
6
|
+
const userToken = require("./harmony32.cjs");
|
7
7
|
const frontendHttpClient = require("@lokalise/frontend-http-client");
|
8
8
|
function refreshExpiredToken(authenticationProvider) {
|
9
9
|
return async ({ accessToken, refreshToken }) => {
|
package/dist/harmony21.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { HeaderBuilder } from "./harmony18.mjs";
|
2
2
|
import { parseJwtTokenPayload } from "./harmony15.mjs";
|
3
3
|
import { UnauthorizedError } from "./harmony14.mjs";
|
4
|
-
import { getUserToken } from "./
|
4
|
+
import { getUserToken } from "./harmony32.mjs";
|
5
5
|
import { sendByPayloadRoute } from "@lokalise/frontend-http-client";
|
6
6
|
function refreshExpiredToken(authenticationProvider) {
|
7
7
|
return async ({ accessToken, refreshToken }) => {
|
package/dist/harmony22.cjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const useGetUserTokenQuery = require("./
|
3
|
+
const useGetUserTokenQuery = require("./harmony38.cjs");
|
4
4
|
const React = require("react");
|
5
|
-
const NewJwtIssuedEvent = require("./
|
5
|
+
const NewJwtIssuedEvent = require("./harmony86.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
|
-
import { useGetUserTokenQuery, getUserTokenKey } from "./
|
1
|
+
import { useGetUserTokenQuery, getUserTokenKey } from "./harmony38.mjs";
|
2
2
|
import { useRef, useEffect } from "react";
|
3
|
-
import { NewJwtIssuedEvent } from "./
|
3
|
+
import { NewJwtIssuedEvent } from "./harmony86.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("./harmony86.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 "./harmony86.mjs";
|
4
4
|
import { getJwtTokenFromCookie } from "./harmony16.mjs";
|
5
5
|
function useAuthenticatedSessionPayload() {
|
6
6
|
const [payload, setPayload] = useState();
|
package/dist/harmony24.cjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const useGetTeamUsersQuery = require("./
|
3
|
+
const useGetTeamUsersQuery = require("./harmony37.cjs");
|
4
4
|
const useAuthenticatedSessionPayload = require("./harmony23.cjs");
|
5
5
|
function useAuthenticatedUser(wretchClient, headers) {
|
6
6
|
const payload = useAuthenticatedSessionPayload.useAuthenticatedSessionPayload();
|
package/dist/harmony24.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { useGetTeamUsersQuery, getTeamUsersQueryKey } from "./
|
1
|
+
import { useGetTeamUsersQuery, getTeamUsersQueryKey } from "./harmony37.mjs";
|
2
2
|
import { useAuthenticatedSessionPayload } from "./harmony23.mjs";
|
3
3
|
function useAuthenticatedUser(wretchClient, headers) {
|
4
4
|
const payload = useAuthenticatedSessionPayload();
|
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("./harmony46.cjs");
|
4
|
+
const sharedTypes = require("./harmony51.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 "./harmony46.mjs";
|
2
|
+
import { BASE_API_ENDPOINT_HEADER_SCHEMA } from "./harmony51.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("./harmony47.cjs");
|
4
|
+
const sharedTypes = require("./harmony51.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 "./harmony47.mjs";
|
2
|
+
import { BASE_API_ENDPOINT_HEADER_SCHEMA } from "./harmony51.mjs";
|
3
3
|
import { buildGetRoute, buildPayloadRoute } from "@lokalise/api-contracts";
|
4
4
|
const listProjectLanguages = buildGetRoute({
|
5
5
|
description: "List of project languages",
|