@lokalise/harmony 1.32.3 → 1.32.4-exp-expertJWTSidebar.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 +48 -46
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +48 -46
- package/dist/harmony.mjs.map +1 -1
- package/dist/harmony100.cjs +99 -18
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +82 -18
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +18 -14
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +18 -14
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony111.cjs +1 -1
- package/dist/harmony111.mjs +1 -1
- package/dist/harmony112.cjs +1 -1
- package/dist/harmony112.mjs +1 -1
- package/dist/harmony114.cjs +4 -4
- package/dist/harmony114.mjs +4 -4
- package/dist/harmony121.cjs +1 -1
- package/dist/harmony121.mjs +1 -1
- package/dist/harmony122.cjs +1 -1
- package/dist/harmony122.mjs +1 -1
- package/dist/harmony123.cjs +2 -2
- package/dist/harmony123.mjs +2 -2
- package/dist/harmony124.cjs +16 -7
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +16 -7
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +20 -56
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +20 -56
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +11 -59
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +11 -59
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +12 -19
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +11 -18
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +7 -11
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +7 -11
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +56 -15
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +56 -15
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony13.cjs +8 -1
- package/dist/harmony13.cjs.map +1 -1
- package/dist/harmony13.mjs +8 -1
- package/dist/harmony13.mjs.map +1 -1
- package/dist/harmony130.cjs +59 -20
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +59 -20
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +19 -13
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +18 -12
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +11 -5
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +11 -5
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +31 -11
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +31 -11
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +10 -28
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +10 -28
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +5 -13
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +5 -13
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony16.cjs +1 -1
- package/dist/harmony16.mjs +1 -1
- package/dist/harmony20.cjs +12 -12
- package/dist/harmony20.cjs.map +1 -1
- package/dist/harmony20.mjs +12 -12
- package/dist/harmony20.mjs.map +1 -1
- package/dist/harmony21.cjs +13 -16
- package/dist/harmony21.cjs.map +1 -1
- package/dist/harmony21.mjs +13 -16
- package/dist/harmony21.mjs.map +1 -1
- package/dist/harmony22.cjs +8 -9
- package/dist/harmony22.cjs.map +1 -1
- package/dist/harmony22.mjs +8 -9
- package/dist/harmony22.mjs.map +1 -1
- package/dist/harmony23.cjs +16 -18
- package/dist/harmony23.cjs.map +1 -1
- package/dist/harmony23.mjs +16 -18
- package/dist/harmony23.mjs.map +1 -1
- package/dist/harmony24.cjs +16 -16
- package/dist/harmony24.cjs.map +1 -1
- package/dist/harmony24.mjs +18 -18
- package/dist/harmony24.mjs.map +1 -1
- package/dist/harmony25.cjs +19 -9
- package/dist/harmony25.cjs.map +1 -1
- package/dist/harmony25.mjs +19 -9
- package/dist/harmony25.mjs.map +1 -1
- package/dist/harmony26.cjs +7 -8
- package/dist/harmony26.cjs.map +1 -1
- package/dist/harmony26.mjs +7 -8
- package/dist/harmony26.mjs.map +1 -1
- package/dist/harmony27.cjs +11 -27
- package/dist/harmony27.cjs.map +1 -1
- package/dist/harmony27.mjs +11 -27
- package/dist/harmony27.mjs.map +1 -1
- package/dist/harmony28.cjs +22 -26
- package/dist/harmony28.cjs.map +1 -1
- package/dist/harmony28.mjs +23 -27
- package/dist/harmony28.mjs.map +1 -1
- package/dist/harmony29.cjs +28 -8
- package/dist/harmony29.cjs.map +1 -1
- package/dist/harmony29.mjs +29 -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 -54
- package/dist/harmony30.cjs.map +1 -1
- package/dist/harmony30.mjs +10 -54
- package/dist/harmony30.mjs.map +1 -1
- package/dist/harmony31.cjs +50 -25
- package/dist/harmony31.cjs.map +1 -1
- package/dist/harmony31.mjs +51 -26
- package/dist/harmony31.mjs.map +1 -1
- package/dist/harmony32.cjs +27 -15
- package/dist/harmony32.cjs.map +1 -1
- package/dist/harmony32.mjs +28 -16
- package/dist/harmony32.mjs.map +1 -1
- package/dist/harmony33.cjs +16 -8
- package/dist/harmony33.cjs.map +1 -1
- package/dist/harmony33.mjs +16 -8
- package/dist/harmony33.mjs.map +1 -1
- package/dist/harmony34.cjs +8 -12
- package/dist/harmony34.cjs.map +1 -1
- package/dist/harmony34.mjs +9 -13
- package/dist/harmony34.mjs.map +1 -1
- package/dist/harmony35.cjs +14 -14
- package/dist/harmony35.cjs.map +1 -1
- package/dist/harmony35.mjs +14 -14
- package/dist/harmony35.mjs.map +1 -1
- package/dist/harmony36.cjs +4 -4
- package/dist/harmony36.cjs.map +1 -1
- package/dist/harmony36.mjs +4 -4
- package/dist/harmony36.mjs.map +1 -1
- package/dist/harmony37.cjs +6 -6
- package/dist/harmony37.cjs.map +1 -1
- package/dist/harmony37.mjs +6 -6
- package/dist/harmony37.mjs.map +1 -1
- package/dist/harmony38.cjs +6 -5
- package/dist/harmony38.cjs.map +1 -1
- package/dist/harmony38.mjs +6 -5
- package/dist/harmony38.mjs.map +1 -1
- package/dist/harmony39.cjs +6 -14
- package/dist/harmony39.cjs.map +1 -1
- package/dist/harmony39.mjs +7 -15
- package/dist/harmony39.mjs.map +1 -1
- package/dist/harmony4.cjs +10 -10
- package/dist/harmony4.mjs +10 -10
- package/dist/harmony40.cjs +15 -7
- package/dist/harmony40.cjs.map +1 -1
- package/dist/harmony40.mjs +15 -7
- package/dist/harmony40.mjs.map +1 -1
- package/dist/harmony41.cjs +7 -11
- package/dist/harmony41.cjs.map +1 -1
- package/dist/harmony41.mjs +9 -13
- package/dist/harmony41.mjs.map +1 -1
- package/dist/harmony42.cjs +8 -8
- package/dist/harmony42.cjs.map +1 -1
- package/dist/harmony42.mjs +8 -8
- package/dist/harmony42.mjs.map +1 -1
- package/dist/harmony43.cjs +14 -12
- package/dist/harmony43.cjs.map +1 -1
- package/dist/harmony43.mjs +14 -12
- package/dist/harmony43.mjs.map +1 -1
- package/dist/harmony44.cjs +8 -8
- package/dist/harmony44.cjs.map +1 -1
- package/dist/harmony44.mjs +9 -9
- package/dist/harmony44.mjs.map +1 -1
- package/dist/harmony45.cjs +9 -9
- package/dist/harmony45.cjs.map +1 -1
- package/dist/harmony45.mjs +10 -10
- package/dist/harmony45.mjs.map +1 -1
- package/dist/harmony46.cjs +12 -14
- package/dist/harmony46.cjs.map +1 -1
- package/dist/harmony46.mjs +12 -14
- package/dist/harmony46.mjs.map +1 -1
- package/dist/harmony47.cjs +10 -10
- package/dist/harmony47.cjs.map +1 -1
- package/dist/harmony47.mjs +10 -10
- package/dist/harmony47.mjs.map +1 -1
- package/dist/harmony48.cjs +8 -8
- package/dist/harmony48.cjs.map +1 -1
- package/dist/harmony48.mjs +8 -8
- package/dist/harmony48.mjs.map +1 -1
- package/dist/harmony49.cjs +7 -7
- package/dist/harmony49.cjs.map +1 -1
- package/dist/harmony49.mjs +7 -7
- package/dist/harmony49.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony50.cjs +14 -12
- package/dist/harmony50.cjs.map +1 -1
- package/dist/harmony50.mjs +14 -12
- package/dist/harmony50.mjs.map +1 -1
- package/dist/harmony51.cjs +12 -14
- package/dist/harmony51.cjs.map +1 -1
- package/dist/harmony51.mjs +12 -14
- package/dist/harmony51.mjs.map +1 -1
- package/dist/harmony52.cjs +8 -8
- package/dist/harmony52.cjs.map +1 -1
- package/dist/harmony52.mjs +8 -8
- package/dist/harmony52.mjs.map +1 -1
- package/dist/harmony53.cjs +10 -7
- package/dist/harmony53.cjs.map +1 -1
- package/dist/harmony53.mjs +12 -9
- package/dist/harmony53.mjs.map +1 -1
- package/dist/harmony54.cjs +14 -56
- package/dist/harmony54.cjs.map +1 -1
- package/dist/harmony54.mjs +14 -56
- package/dist/harmony54.mjs.map +1 -1
- package/dist/harmony55.cjs +48 -74
- package/dist/harmony55.cjs.map +1 -1
- package/dist/harmony55.mjs +47 -73
- package/dist/harmony55.mjs.map +1 -1
- package/dist/harmony56.cjs +80 -4
- package/dist/harmony56.cjs.map +1 -1
- package/dist/harmony56.mjs +80 -4
- package/dist/harmony56.mjs.map +1 -1
- package/dist/harmony57.cjs +4 -21
- package/dist/harmony57.cjs.map +1 -1
- package/dist/harmony57.mjs +4 -21
- package/dist/harmony57.mjs.map +1 -1
- package/dist/harmony58.cjs +20 -17
- package/dist/harmony58.cjs.map +1 -1
- package/dist/harmony58.mjs +20 -17
- package/dist/harmony58.mjs.map +1 -1
- package/dist/harmony59.cjs +14 -137
- package/dist/harmony59.cjs.map +1 -1
- package/dist/harmony59.mjs +12 -135
- package/dist/harmony59.mjs.map +1 -1
- package/dist/harmony6.cjs +4 -4
- package/dist/harmony6.mjs +4 -4
- package/dist/harmony60.cjs +142 -46
- package/dist/harmony60.cjs.map +1 -1
- package/dist/harmony60.mjs +141 -45
- package/dist/harmony60.mjs.map +1 -1
- package/dist/harmony61.cjs +46 -25
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +46 -25
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony62.cjs +24 -6
- package/dist/harmony62.cjs.map +1 -1
- package/dist/harmony62.mjs +24 -6
- package/dist/harmony62.mjs.map +1 -1
- package/dist/harmony63.cjs +6 -82
- package/dist/harmony63.cjs.map +1 -1
- package/dist/harmony63.mjs +6 -82
- package/dist/harmony63.mjs.map +1 -1
- package/dist/harmony64.cjs +80 -20
- package/dist/harmony64.cjs.map +1 -1
- package/dist/harmony64.mjs +80 -20
- package/dist/harmony64.mjs.map +1 -1
- package/dist/harmony65.cjs +22 -16
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.mjs +22 -16
- package/dist/harmony65.mjs.map +1 -1
- package/dist/harmony66.cjs +19 -16
- package/dist/harmony66.cjs.map +1 -1
- package/dist/harmony66.mjs +18 -15
- package/dist/harmony66.mjs.map +1 -1
- package/dist/harmony67.cjs +15 -18
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs +15 -18
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony68.cjs +18 -61
- package/dist/harmony68.cjs.map +1 -1
- package/dist/harmony68.mjs +18 -61
- package/dist/harmony68.mjs.map +1 -1
- package/dist/harmony69.cjs +61 -6
- package/dist/harmony69.cjs.map +1 -1
- package/dist/harmony69.mjs +61 -6
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony7.cjs +1 -1
- package/dist/harmony7.mjs +1 -1
- package/dist/harmony70.cjs +7 -10
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs +6 -9
- package/dist/harmony70.mjs.map +1 -1
- package/dist/harmony71.cjs +8 -17
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +7 -16
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony72.cjs +13 -18
- package/dist/harmony72.cjs.map +1 -1
- package/dist/harmony72.mjs +13 -18
- package/dist/harmony72.mjs.map +1 -1
- package/dist/harmony73.cjs +22 -4
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs +22 -4
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +4 -31
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +5 -32
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs +26 -26
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs +27 -27
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony76.cjs +25 -12
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +25 -12
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +12 -24
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +13 -25
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +27 -55
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +29 -57
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +60 -10
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +59 -9
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony80.cjs +10 -9
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +9 -8
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +5 -26
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +8 -29
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +29 -3
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +29 -3
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +3 -40
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +3 -40
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +40 -6
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +39 -5
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +3 -6
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +3 -6
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +6 -6
- package/dist/harmony86.mjs +6 -6
- package/dist/harmony87.cjs +9 -57
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +8 -56
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +51 -36
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +52 -37
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +42 -5
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +42 -5
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +6 -10
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +5 -9
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +6 -21
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +6 -21
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +21 -3
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +21 -3
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +6 -21
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +5 -20
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +21 -12
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +20 -11
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +12 -12
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +11 -11
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +12 -12
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +11 -11
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +13 -12
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +12 -11
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +12 -22
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +11 -21
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +21 -99
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +20 -81
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/features/auth/node.d.ts +1 -0
- package/package.json +1 -1
package/dist/harmony111.cjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const _commonjsHelpers = require("./
|
3
|
+
const _commonjsHelpers = require("./harmony135.cjs");
|
4
4
|
const debounce$1 = require("./harmony116.cjs");
|
5
5
|
var debounceExports = debounce$1.__require();
|
6
6
|
const debounce = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(debounceExports);
|
package/dist/harmony111.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { getDefaultExportFromCjs } from "./
|
1
|
+
import { getDefaultExportFromCjs } from "./harmony135.mjs";
|
2
2
|
import { __require as requireDebounce } from "./harmony116.mjs";
|
3
3
|
var debounceExports = requireDebounce();
|
4
4
|
const debounce = /* @__PURE__ */ getDefaultExportFromCjs(debounceExports);
|
package/dist/harmony112.cjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const _commonjsHelpers = require("./
|
3
|
+
const _commonjsHelpers = require("./harmony135.cjs");
|
4
4
|
const throttle$1 = require("./harmony120.cjs");
|
5
5
|
var throttleExports = throttle$1.__require();
|
6
6
|
const throttle = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(throttleExports);
|
package/dist/harmony112.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { getDefaultExportFromCjs } from "./
|
1
|
+
import { getDefaultExportFromCjs } from "./harmony135.mjs";
|
2
2
|
import { __require as requireThrottle } from "./harmony120.mjs";
|
3
3
|
var throttleExports = requireThrottle();
|
4
4
|
const throttle = /* @__PURE__ */ getDefaultExportFromCjs(throttleExports);
|
package/dist/harmony114.cjs
CHANGED
@@ -6,11 +6,11 @@ const text = require("./harmony9.cjs");
|
|
6
6
|
const url = require("./harmony10.cjs");
|
7
7
|
const date = require("./harmony11.cjs");
|
8
8
|
const dateFns = require("date-fns");
|
9
|
-
const index = require("./
|
10
|
-
const TaskLanguage = require("./
|
9
|
+
const index = require("./harmony128.cjs");
|
10
|
+
const TaskLanguage = require("./harmony129.cjs");
|
11
11
|
const TasksContext = require("./harmony106.cjs");
|
12
|
-
const content = require("./
|
13
|
-
const TaskOverview_module = require("./
|
12
|
+
const content = require("./harmony130.cjs");
|
13
|
+
const TaskOverview_module = require("./harmony131.cjs");
|
14
14
|
const TaskOverview = ({ task }) => {
|
15
15
|
const { getProjectUrl, taskTitleOnClick } = TasksContext.useTasks();
|
16
16
|
const taskLanguages = content.getTaskLanguages(task.langs);
|
package/dist/harmony114.mjs
CHANGED
@@ -4,11 +4,11 @@ import { convertNewLineToBreakTag } from "./harmony9.mjs";
|
|
4
4
|
import { makeUrlClickable } from "./harmony10.mjs";
|
5
5
|
import { formatDate } from "./harmony11.mjs";
|
6
6
|
import { parseISO } from "date-fns";
|
7
|
-
import { splitFileName } from "./
|
8
|
-
import { TaskLanguage } from "./
|
7
|
+
import { splitFileName } from "./harmony128.mjs";
|
8
|
+
import { TaskLanguage } from "./harmony129.mjs";
|
9
9
|
import { useTasks } from "./harmony106.mjs";
|
10
|
-
import { getTaskLanguages, tagColor } from "./
|
11
|
-
import styles from "./
|
10
|
+
import { getTaskLanguages, tagColor } from "./harmony130.mjs";
|
11
|
+
import styles from "./harmony131.mjs";
|
12
12
|
const TaskOverview = ({ task }) => {
|
13
13
|
const { getProjectUrl, taskTitleOnClick } = useTasks();
|
14
14
|
const taskLanguages = getTaskLanguages(task.langs);
|
package/dist/harmony121.cjs
CHANGED
package/dist/harmony121.mjs
CHANGED
package/dist/harmony122.cjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const _trimmedEndIndex = require("./
|
3
|
+
const _trimmedEndIndex = require("./harmony124.cjs");
|
4
4
|
var _baseTrim;
|
5
5
|
var hasRequired_baseTrim;
|
6
6
|
function require_baseTrim() {
|
package/dist/harmony122.mjs
CHANGED
package/dist/harmony123.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const _baseGetTag = require("./
|
4
|
-
const isObjectLike = require("./
|
3
|
+
const _baseGetTag = require("./harmony125.cjs");
|
4
|
+
const isObjectLike = require("./harmony126.cjs");
|
5
5
|
var isSymbol_1;
|
6
6
|
var hasRequiredIsSymbol;
|
7
7
|
function requireIsSymbol() {
|
package/dist/harmony123.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { __require as require_baseGetTag } from "./
|
2
|
-
import { __require as requireIsObjectLike } from "./
|
1
|
+
import { __require as require_baseGetTag } from "./harmony125.mjs";
|
2
|
+
import { __require as requireIsObjectLike } from "./harmony126.mjs";
|
3
3
|
var isSymbol_1;
|
4
4
|
var hasRequiredIsSymbol;
|
5
5
|
function requireIsSymbol() {
|
package/dist/harmony124.cjs
CHANGED
@@ -1,10 +1,19 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
var _trimmedEndIndex;
|
4
|
+
var hasRequired_trimmedEndIndex;
|
5
|
+
function require_trimmedEndIndex() {
|
6
|
+
if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
|
7
|
+
hasRequired_trimmedEndIndex = 1;
|
8
|
+
var reWhitespace = /\s/;
|
9
|
+
function trimmedEndIndex(string) {
|
10
|
+
var index = string.length;
|
11
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
12
|
+
}
|
13
|
+
return index;
|
14
|
+
}
|
15
|
+
_trimmedEndIndex = trimmedEndIndex;
|
16
|
+
return _trimmedEndIndex;
|
17
|
+
}
|
18
|
+
exports.__require = require_trimmedEndIndex;
|
10
19
|
//# 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/_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/harmony124.mjs
CHANGED
@@ -1,10 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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))) {
|
10
|
+
}
|
11
|
+
return index;
|
12
|
+
}
|
13
|
+
_trimmedEndIndex = trimmedEndIndex;
|
14
|
+
return _trimmedEndIndex;
|
15
|
+
}
|
7
16
|
export {
|
8
|
-
|
17
|
+
require_trimmedEndIndex as __require
|
9
18
|
};
|
10
19
|
//# 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/_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/harmony125.cjs
CHANGED
@@ -1,60 +1,24 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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
|
-
]
|
3
|
+
const _Symbol = require("./harmony132.cjs");
|
4
|
+
const _getRawTag = require("./harmony133.cjs");
|
5
|
+
const _objectToString = require("./harmony134.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;
|
56
17
|
}
|
57
|
-
|
58
|
-
}
|
59
|
-
|
18
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
19
|
+
}
|
20
|
+
_baseGetTag = baseGetTag;
|
21
|
+
return _baseGetTag;
|
22
|
+
}
|
23
|
+
exports.__require = require_baseGetTag;
|
60
24
|
//# 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/_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/harmony125.mjs
CHANGED
@@ -1,60 +1,24 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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
|
-
]
|
1
|
+
import { __require as require_Symbol } from "./harmony132.mjs";
|
2
|
+
import { __require as require_getRawTag } from "./harmony133.mjs";
|
3
|
+
import { __require as require_objectToString } from "./harmony134.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;
|
54
15
|
}
|
55
|
-
|
56
|
-
}
|
16
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
17
|
+
}
|
18
|
+
_baseGetTag = baseGetTag;
|
19
|
+
return _baseGetTag;
|
20
|
+
}
|
57
21
|
export {
|
58
|
-
|
22
|
+
require_baseGetTag as __require
|
59
23
|
};
|
60
24
|
//# sourceMappingURL=harmony125.mjs.map
|
package/dist/harmony125.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony125.mjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony125.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/harmony126.cjs
CHANGED
@@ -1,63 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
case types.SidebarTaskLanguageStatuses.InProgress:
|
11
|
-
return "In progress";
|
12
|
-
case types.SidebarTaskLanguageStatuses.Queued:
|
13
|
-
return "Queued";
|
14
|
-
case types.SidebarTaskLanguageStatuses.NotStarted:
|
15
|
-
return "Not started";
|
16
|
-
default:
|
17
|
-
return "-";
|
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";
|
18
10
|
}
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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;
|
42
|
-
}
|
43
|
-
if (b.status === types.SidebarTaskLanguageStatuses.InProgress && b.progress === 100) {
|
44
|
-
return 1;
|
45
|
-
}
|
46
|
-
if (a.status === b.status) {
|
47
|
-
return a.name < b.name ? 1 : -1;
|
48
|
-
}
|
49
|
-
return statusSortOrder.indexOf(a.status) - statusSortOrder.indexOf(b.status);
|
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;
|
11
|
+
isObjectLike_1 = isObjectLike;
|
12
|
+
return isObjectLike_1;
|
13
|
+
}
|
14
|
+
exports.__require = requireIsObjectLike;
|
63
15
|
//# sourceMappingURL=harmony126.cjs.map
|
package/dist/harmony126.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony126.cjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony126.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/harmony126.mjs
CHANGED
@@ -1,63 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
case SidebarTaskLanguageStatuses.InProgress:
|
9
|
-
return "In progress";
|
10
|
-
case SidebarTaskLanguageStatuses.Queued:
|
11
|
-
return "Queued";
|
12
|
-
case SidebarTaskLanguageStatuses.NotStarted:
|
13
|
-
return "Not started";
|
14
|
-
default:
|
15
|
-
return "-";
|
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";
|
16
8
|
}
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
if (language.status === SidebarTaskLanguageStatuses.Created && progress > 0) {
|
21
|
-
return SidebarTaskLanguageStatuses.InProgress;
|
22
|
-
}
|
23
|
-
return language.status;
|
24
|
-
};
|
25
|
-
const tagColor = {
|
26
|
-
[SidebarTaskTypeOptions.translation]: "#0891B2",
|
27
|
-
[SidebarTaskTypeOptions.review]: "#16922D",
|
28
|
-
[SidebarTaskTypeOptions.lqa_by_ai]: "#8B5CF6",
|
29
|
-
[SidebarTaskTypeOptions.automatic_translation]: "#60A5FA"
|
30
|
-
};
|
31
|
-
const getTaskLanguages = (langs) => {
|
32
|
-
const statusSortOrder = [
|
33
|
-
SidebarTaskLanguageStatuses.InProgress,
|
34
|
-
SidebarTaskLanguageStatuses.Created,
|
35
|
-
SidebarTaskLanguageStatuses.Completed
|
36
|
-
];
|
37
|
-
return langs.filter((language) => language.status !== "queued").map((lang) => ({ ...lang, status: resolveStatus(lang) })).sort((a, b) => {
|
38
|
-
if (a.status === SidebarTaskLanguageStatuses.InProgress && a.progress === 100) {
|
39
|
-
return -1;
|
40
|
-
}
|
41
|
-
if (b.status === SidebarTaskLanguageStatuses.InProgress && b.progress === 100) {
|
42
|
-
return 1;
|
43
|
-
}
|
44
|
-
if (a.status === b.status) {
|
45
|
-
return a.name < b.name ? 1 : -1;
|
46
|
-
}
|
47
|
-
return statusSortOrder.indexOf(a.status) - statusSortOrder.indexOf(b.status);
|
48
|
-
});
|
49
|
-
};
|
50
|
-
const isInProgressOrCreated = (status) => {
|
51
|
-
return [SidebarTaskStatuses.InProgress, SidebarTaskStatuses.Created].includes(status);
|
52
|
-
};
|
53
|
-
const isLanguageProgressCompleted = (task, language) => {
|
54
|
-
return isInProgressOrCreated(task.status) && isInProgressOrCreated(language.status) && (language.progress ?? 0) >= 100;
|
55
|
-
};
|
9
|
+
isObjectLike_1 = isObjectLike;
|
10
|
+
return isObjectLike_1;
|
11
|
+
}
|
56
12
|
export {
|
57
|
-
|
58
|
-
getTaskLanguages,
|
59
|
-
isLanguageProgressCompleted,
|
60
|
-
resolveStatus,
|
61
|
-
tagColor
|
13
|
+
requireIsObjectLike as __require
|
62
14
|
};
|
63
15
|
//# sourceMappingURL=harmony126.mjs.map
|
package/dist/harmony126.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony126.mjs","sources":["../
|
1
|
+
{"version":3,"file":"harmony126.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]}
|