@uipath/case-tool 1.206.0-preview.312 → 1.206.0-preview.354
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/THIRD-PARTY-NOTICES.md +3 -3
- package/dist/{authoring-w2c0k5hf.js → authoring-g2bbrymg.js} +6 -6
- package/dist/{bindings-v2-zfjc4tbc.js → bindings-v2-r4ned02h.js} +3 -3
- package/dist/{browser-strategy-627rrg7z.js → browser-strategy-qc6htsnf.js} +1 -1
- package/dist/{business-rule-export-xq6azsv2.js → business-rule-export-0ydx1rwr.js} +2 -2
- package/dist/{carry-forward-p1nhfnmy.js → carry-forward-8xsg7chv.js} +3 -3
- package/dist/{case-api-wx8t678s.js → case-api-vs5ew5es.js} +7 -7
- package/dist/{case-bindings-service-y01xj9rq.js → case-bindings-service-dvq46kp8.js} +4 -4
- package/dist/{case-debug-solution-projects-11tx0fmx.js → case-debug-solution-projects-xqjkdngn.js} +2 -2
- package/dist/{case-debug-studio-web-service-3nkmpj9x.js → case-debug-studio-web-service-pfd4r0xw.js} +6 -6
- package/dist/{case-described-io-service-vtrf5bqx.js → case-described-io-service-dnn8bshj.js} +3 -3
- package/dist/{case-event-trigger-bindings-sb2dh429.js → case-event-trigger-bindings-82atx06s.js} +4 -4
- package/dist/{case-format-service-4be7w2e4.js → case-format-service-63qk04vp.js} +2 -2
- package/dist/{case-pack-service-9qxt37e6.js → case-pack-service-rseb6fkm.js} +3 -3
- package/dist/{case-splice-service-8sv8md3c.js → case-splice-service-wc0ppb8a.js} +3 -3
- package/dist/{case-validate-service-4g3mzcvx.js → case-validate-service-qgbkschr.js} +9 -9
- package/dist/{connector-enrichment-service-v2zdcf35.js → connector-enrichment-service-xfdmytyx.js} +20 -20
- package/dist/{connector-lookup-service-thnawy9g.js → connector-lookup-service-t10cn6f4.js} +7 -7
- package/dist/{debug-service-yj8s783q.js → debug-service-c4txfjgg.js} +3 -3
- package/dist/{en-LAVDF7IQ-yzy20n6d.js → en-LAVDF7IQ-vsp9qhfq.js} +1 -1
- package/dist/{en-X6T4SP2Y-xm47mf18.js → en-X6T4SP2Y-4yqsas9z.js} +1 -1
- package/dist/{enrichment-service-bv5m6x2q.js → enrichment-service-xbpww8cc.js} +7 -7
- package/dist/{index-ja6a0vs7.js → index-6j5n8tqr.js} +7 -7
- package/dist/{index-nj3axvya.js → index-at94mehx.js} +3 -3
- package/dist/{index-21kns9qg.js → index-b3v23nvm.js} +1 -1
- package/dist/{index-z3zxqfbr.js → index-bpw47wpw.js} +10 -10
- package/dist/index-h7z87rh1.js +35 -0
- package/dist/{index-d3k35146.js → index-qvcx9ex3.js} +4 -4
- package/dist/index.js +9 -9
- package/dist/{init-entry-points-ht34zj5a.js → init-entry-points-cakn3336.js} +2 -2
- package/dist/input-reader-1z80mtq6.js +10 -0
- package/dist/{known-types-gak9by1w.js → known-types-ncvpw1gq.js} +2 -2
- package/dist/{localSolutionDiscovery-aa0btz7r.js → localSolutionDiscovery-86f6w9y0.js} +3 -3
- package/dist/{node-strategy-2mqzg36t.js → node-strategy-rrp7728p.js} +2 -2
- package/dist/{node-sync-service-hz595em5.js → node-sync-service-hvqrxbxx.js} +11 -11
- package/dist/{out-target-s88pw0a6.js → out-target-7zzqhxaw.js} +2 -2
- package/dist/{packager-tool-t2eaf58n.js → packager-tool-08f64kbc.js} +2 -2
- package/dist/{packager-tool-5t4n22fb.js → packager-tool-0ffnk0m7.js} +59 -59
- package/dist/{packager-tool-bg3tdpva.js → packager-tool-1hq5zyhz.js} +1 -1
- package/dist/{packager-tool-z070caqq.js → packager-tool-2fcdfxh4.js} +26 -6
- package/dist/{packager-tool-6d67s4bt.js → packager-tool-34a0v5zb.js} +2 -2
- package/dist/{packager-tool-pjgxayfj.js → packager-tool-34jqa1yr.js} +5 -5
- package/dist/{packager-tool-zm04v3t5.js → packager-tool-38emtvck.js} +2 -2
- package/dist/{packager-tool-vhy8cjqa.js → packager-tool-501g5pzn.js} +1 -1
- package/dist/{packager-tool-t4zycqpa.js → packager-tool-5282g2zk.js} +3 -3
- package/dist/{packager-tool-j2p4zwyp.js → packager-tool-5szy6w0j.js} +2 -2
- package/dist/{packager-tool-j3gd2d0d.js → packager-tool-64ff8awv.js} +1 -1
- package/dist/{packager-tool-pat47jzk.js → packager-tool-6px46qnn.js} +8 -8
- package/dist/{packager-tool-8jn7pjcf.js → packager-tool-6rvtfbe6.js} +2 -2
- package/dist/{packager-tool-y55d04pg.js → packager-tool-7tryjgva.js} +1 -1
- package/dist/{packager-tool-s1qy3xq9.js → packager-tool-92bc9ze8.js} +4 -4
- package/dist/{packager-tool-zq3e5v08.js → packager-tool-b00bx4t4.js} +1 -1
- package/dist/{packager-tool-gfdymz2g.js → packager-tool-b0t24ne0.js} +8 -8
- package/dist/{packager-tool-17b466mr.js → packager-tool-bszp8fak.js} +807 -717
- package/dist/{packager-tool-tymcd11p.js → packager-tool-bvec1pmv.js} +1 -1
- package/dist/{packager-tool-wkzzbsxx.js → packager-tool-cte9vj7e.js} +3 -3
- package/dist/{packager-tool-ffp1t60e.js → packager-tool-e3wa5dyb.js} +3 -3
- package/dist/{packager-tool-dn9d4ywm.js → packager-tool-f9ratvts.js} +51 -9
- package/dist/{packager-tool-rjdb24gy.js → packager-tool-fcsn1f8e.js} +1 -1
- package/dist/{packager-tool-0e17bxka.js → packager-tool-fnmr98hr.js} +1 -1
- package/dist/{packager-tool-ta8e5war.js → packager-tool-hbk1j92p.js} +3 -3
- package/dist/{packager-tool-q26hncjr.js → packager-tool-n3r5apbb.js} +4 -2
- package/dist/{packager-tool-ktqvdd90.js → packager-tool-nyskp550.js} +2 -2
- package/dist/{packager-tool-by1b95d3.js → packager-tool-p8hvytsm.js} +3 -3
- package/dist/{packager-tool-q8kvef5x.js → packager-tool-qtcjzf6g.js} +2 -2
- package/dist/{packager-tool-8zck9vk7.js → packager-tool-yfzc8s9f.js} +1 -1
- package/dist/{packager-tool-v11fx4dk.js → packager-tool-yx2mw71z.js} +1 -1
- package/dist/{packager-tool-70ctjqbm.js → packager-tool-z2se1xzt.js} +2 -2
- package/dist/{project-artifacts-6t1ntsd1.js → project-artifacts-78hafmtv.js} +1 -1
- package/dist/{resourcesSyncService-7x5246zh.js → resourcesSyncService-dvz9qcae.js} +19 -19
- package/dist/{rule-type-declaration-ae0sy3xh.js → rule-type-declaration-a0wxpxmn.js} +5 -5
- package/dist/{sdd-convert-service-dpqjb07n.js → sdd-convert-service-a43dypts.js} +6 -6
- package/dist/{sdd-lookup-r996veme.js → sdd-lookup-m159jdtv.js} +2 -2
- package/dist/{sdd-resolve-service-ng2mxsf9.js → sdd-resolve-service-99ww4cdx.js} +3 -3
- package/dist/{sdd-resolve-siblings-2dtzk3fy.js → sdd-resolve-siblings-m9b7wtjv.js} +4 -4
- package/dist/solution-auth-bmrmdyxf.js +11 -0
- package/dist/{solution-discovery-9bw0njy3.js → solution-discovery-2159x5x2.js} +4 -4
- package/dist/{strict-entry-points-4e3z89mf.js → strict-entry-points-4929gm2e.js} +5 -5
- package/dist/{strict-sdd-audit-b943ktpb.js → strict-sdd-audit-qwceyd6k.js} +5 -5
- package/dist/tool.js +9 -9
- package/dist/{trigger-enrichment-service-0gcyaezz.js → trigger-enrichment-service-av14dje8.js} +20 -20
- package/dist/{trigger-entry-point-id-rsbezjrf.js → trigger-entry-point-id-s3e49se7.js} +1 -1
- package/package.json +2 -2
- package/dist/index-92tnyqhj.js +0 -35
- package/dist/input-reader-d4fe26wp.js +0 -10
- package/dist/solution-auth-a1p22hq1.js +0 -11
|
@@ -13343,7 +13343,7 @@ function createI18nRegistrar(options) {
|
|
|
13343
13343
|
}
|
|
13344
13344
|
var globImport_locales_json = __glob({
|
|
13345
13345
|
"../../locales/de.json": () => import("./de-AI7ML6JM-km47f8k4.js"),
|
|
13346
|
-
"../../locales/en.json": () => import("./en-LAVDF7IQ-
|
|
13346
|
+
"../../locales/en.json": () => import("./en-LAVDF7IQ-vsp9qhfq.js"),
|
|
13347
13347
|
"../../locales/es-MX.json": () => import("./es-MX-7KJZPEQN-1fq0a9jr.js"),
|
|
13348
13348
|
"../../locales/es.json": () => import("./es-SPNKTD5Y-vw5cbgv5.js"),
|
|
13349
13349
|
"../../locales/fr.json": () => import("./fr-AXJGUT53-hdg3pmd4.js"),
|
|
@@ -19816,8 +19816,10 @@ var defer = () => {
|
|
|
19816
19816
|
var makeString = (object) => {
|
|
19817
19817
|
if (object == null)
|
|
19818
19818
|
return "";
|
|
19819
|
-
return
|
|
19819
|
+
return String(object);
|
|
19820
19820
|
};
|
|
19821
|
+
var isSafeLanguageCode = (code) => isString(code) && /^[A-Za-z0-9_@.-]{1,128}$/.test(code) && !code.includes("..") && !["__proto__", "constructor", "prototype"].includes(code);
|
|
19822
|
+
var callbackApiOf = (plugin) => plugin?.callbackApi ?? plugin?.constructor?.callbackApi;
|
|
19821
19823
|
var copy = (a, s, t) => {
|
|
19822
19824
|
a.forEach((m) => {
|
|
19823
19825
|
if (s[m])
|
|
@@ -19825,7 +19827,7 @@ var copy = (a, s, t) => {
|
|
|
19825
19827
|
});
|
|
19826
19828
|
};
|
|
19827
19829
|
var lastOfPathSeparatorRegExp = /###/g;
|
|
19828
|
-
var cleanKey = (key) => key && key.
|
|
19830
|
+
var cleanKey = (key) => key && key.includes("###") ? key.replace(lastOfPathSeparatorRegExp, ".") : key;
|
|
19829
19831
|
var canNotTraverseDeeper = (object) => !object || isString(object);
|
|
19830
19832
|
var getLastOfPath = (object, path, Empty) => {
|
|
19831
19833
|
const stack = !isString(path) ? path : path.split(".");
|
|
@@ -19866,7 +19868,7 @@ var setPath = (object, path, newValue) => {
|
|
|
19866
19868
|
e = `${p[p.length - 1]}.${e}`;
|
|
19867
19869
|
p = p.slice(0, p.length - 1);
|
|
19868
19870
|
last = getLastOfPath(object, p, Object);
|
|
19869
|
-
if (last
|
|
19871
|
+
if (last?.obj && typeof last.obj[`${last.k}.${e}`] !== "undefined") {
|
|
19870
19872
|
last.obj = undefined;
|
|
19871
19873
|
}
|
|
19872
19874
|
}
|
|
@@ -19887,6 +19889,8 @@ var getPath = (object, path) => {
|
|
|
19887
19889
|
} = getLastOfPath(object, path);
|
|
19888
19890
|
if (!obj)
|
|
19889
19891
|
return;
|
|
19892
|
+
if (!Object.prototype.hasOwnProperty.call(obj, k))
|
|
19893
|
+
return;
|
|
19890
19894
|
return obj[k];
|
|
19891
19895
|
};
|
|
19892
19896
|
var getPathWithDefaults = (data, defaultData, key) => {
|
|
@@ -19899,7 +19903,7 @@ var getPathWithDefaults = (data, defaultData, key) => {
|
|
|
19899
19903
|
var deepExtend = (target, source, overwrite) => {
|
|
19900
19904
|
for (const prop in source) {
|
|
19901
19905
|
if (prop !== "__proto__" && prop !== "constructor") {
|
|
19902
|
-
if (prop
|
|
19906
|
+
if (Object.prototype.hasOwnProperty.call(target, prop)) {
|
|
19903
19907
|
if (isString(target[prop]) || target[prop] instanceof String || isString(source[prop]) || source[prop] instanceof String) {
|
|
19904
19908
|
if (overwrite)
|
|
19905
19909
|
target[prop] = source[prop];
|
|
@@ -19954,7 +19958,7 @@ var looksLikeObjectPathRegExpCache = new RegExpCache(20);
|
|
|
19954
19958
|
var looksLikeObjectPath = (key, nsSeparator, keySeparator) => {
|
|
19955
19959
|
nsSeparator = nsSeparator || "";
|
|
19956
19960
|
keySeparator = keySeparator || "";
|
|
19957
|
-
const possibleChars = chars.filter((c) => nsSeparator.
|
|
19961
|
+
const possibleChars = chars.filter((c) => !nsSeparator.includes(c) && !keySeparator.includes(c));
|
|
19958
19962
|
if (possibleChars.length === 0)
|
|
19959
19963
|
return true;
|
|
19960
19964
|
const r = looksLikeObjectPathRegExpCache.getRegExp(`(${possibleChars.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
@@ -19967,12 +19971,14 @@ var looksLikeObjectPath = (key, nsSeparator, keySeparator) => {
|
|
|
19967
19971
|
}
|
|
19968
19972
|
return matched;
|
|
19969
19973
|
};
|
|
19970
|
-
var deepFind =
|
|
19971
|
-
let keySeparator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ".";
|
|
19974
|
+
var deepFind = (obj, path, keySeparator = ".") => {
|
|
19972
19975
|
if (!obj)
|
|
19973
19976
|
return;
|
|
19974
|
-
if (obj[path])
|
|
19977
|
+
if (obj[path]) {
|
|
19978
|
+
if (!Object.prototype.hasOwnProperty.call(obj, path))
|
|
19979
|
+
return;
|
|
19975
19980
|
return obj[path];
|
|
19981
|
+
}
|
|
19976
19982
|
const tokens = path.split(keySeparator);
|
|
19977
19983
|
let current = obj;
|
|
19978
19984
|
for (let i = 0;i < tokens.length; ) {
|
|
@@ -19987,8 +19993,11 @@ var deepFind = function(obj, path) {
|
|
|
19987
19993
|
}
|
|
19988
19994
|
nextPath += tokens[j];
|
|
19989
19995
|
next = current[nextPath];
|
|
19996
|
+
if ((typeof next === "function" || nextPath === "__proto__") && !Object.prototype.hasOwnProperty.call(current, nextPath)) {
|
|
19997
|
+
next = undefined;
|
|
19998
|
+
}
|
|
19990
19999
|
if (next !== undefined) {
|
|
19991
|
-
if (["string", "number", "boolean"].
|
|
20000
|
+
if (["string", "number", "boolean"].includes(typeof next) && j < tokens.length - 1) {
|
|
19992
20001
|
continue;
|
|
19993
20002
|
}
|
|
19994
20003
|
i += j - i + 1;
|
|
@@ -19999,7 +20008,7 @@ var deepFind = function(obj, path) {
|
|
|
19999
20008
|
}
|
|
20000
20009
|
return current;
|
|
20001
20010
|
};
|
|
20002
|
-
var getCleanedCode = (code) => code
|
|
20011
|
+
var getCleanedCode = (code) => code?.replace(/_/g, "-");
|
|
20003
20012
|
var consoleLogger = {
|
|
20004
20013
|
type: "logger",
|
|
20005
20014
|
log(args) {
|
|
@@ -20012,50 +20021,43 @@ var consoleLogger = {
|
|
|
20012
20021
|
this.output("error", args);
|
|
20013
20022
|
},
|
|
20014
20023
|
output(type, args) {
|
|
20015
|
-
|
|
20016
|
-
console[type].apply(console, args);
|
|
20024
|
+
console?.[type]?.apply?.(console, args);
|
|
20017
20025
|
}
|
|
20018
20026
|
};
|
|
20019
20027
|
|
|
20020
20028
|
class Logger {
|
|
20021
|
-
constructor(concreteLogger) {
|
|
20022
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
20029
|
+
constructor(concreteLogger, options = {}) {
|
|
20023
20030
|
this.init(concreteLogger, options);
|
|
20024
20031
|
}
|
|
20025
|
-
init(concreteLogger) {
|
|
20026
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
20032
|
+
init(concreteLogger, options = {}) {
|
|
20027
20033
|
this.prefix = options.prefix || "i18next:";
|
|
20028
20034
|
this.logger = concreteLogger || consoleLogger;
|
|
20029
20035
|
this.options = options;
|
|
20030
20036
|
this.debug = options.debug;
|
|
20037
|
+
this.seen = new Set;
|
|
20031
20038
|
}
|
|
20032
|
-
log() {
|
|
20033
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0;_key < _len; _key++) {
|
|
20034
|
-
args[_key] = arguments[_key];
|
|
20035
|
-
}
|
|
20039
|
+
log(...args) {
|
|
20036
20040
|
return this.forward(args, "log", "", true);
|
|
20037
20041
|
}
|
|
20038
|
-
warn() {
|
|
20039
|
-
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0;_key2 < _len2; _key2++) {
|
|
20040
|
-
args[_key2] = arguments[_key2];
|
|
20041
|
-
}
|
|
20042
|
+
warn(...args) {
|
|
20042
20043
|
return this.forward(args, "warn", "", true);
|
|
20043
20044
|
}
|
|
20044
|
-
error() {
|
|
20045
|
-
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0;_key3 < _len3; _key3++) {
|
|
20046
|
-
args[_key3] = arguments[_key3];
|
|
20047
|
-
}
|
|
20045
|
+
error(...args) {
|
|
20048
20046
|
return this.forward(args, "error", "");
|
|
20049
20047
|
}
|
|
20050
|
-
deprecate() {
|
|
20051
|
-
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0;_key4 < _len4; _key4++) {
|
|
20052
|
-
args[_key4] = arguments[_key4];
|
|
20053
|
-
}
|
|
20048
|
+
deprecate(...args) {
|
|
20054
20049
|
return this.forward(args, "warn", "WARNING DEPRECATED: ", true);
|
|
20055
20050
|
}
|
|
20051
|
+
once(key, lvl, ...args) {
|
|
20052
|
+
if (!this.debug || this.seen.has(key) || this.seen.size >= 1000)
|
|
20053
|
+
return null;
|
|
20054
|
+
this.seen.add(key);
|
|
20055
|
+
return this[lvl](...args);
|
|
20056
|
+
}
|
|
20056
20057
|
forward(args, lvl, prefix, debugOnly) {
|
|
20057
20058
|
if (debugOnly && !this.debug)
|
|
20058
20059
|
return null;
|
|
20060
|
+
args = args.map((a) => isString(a) ? a.replace(/[\r\n\x00-\x1F\x7F]/g, " ") : a);
|
|
20059
20061
|
if (isString(args[0]))
|
|
20060
20062
|
args[0] = `${prefix}${this.prefix} ${args[0]}`;
|
|
20061
20063
|
return this.logger[lvl](args);
|
|
@@ -20089,23 +20091,29 @@ class EventEmitter {
|
|
|
20089
20091
|
});
|
|
20090
20092
|
return this;
|
|
20091
20093
|
}
|
|
20092
|
-
off(
|
|
20093
|
-
|
|
20094
|
-
|
|
20095
|
-
|
|
20096
|
-
|
|
20097
|
-
|
|
20098
|
-
|
|
20099
|
-
|
|
20094
|
+
off(events, listener) {
|
|
20095
|
+
(typeof events === "string" ? events.split(" ") : [events]).forEach((event) => {
|
|
20096
|
+
if (!this.observers[event])
|
|
20097
|
+
return;
|
|
20098
|
+
if (!listener) {
|
|
20099
|
+
delete this.observers[event];
|
|
20100
|
+
return;
|
|
20101
|
+
}
|
|
20102
|
+
this.observers[event].delete(listener);
|
|
20103
|
+
});
|
|
20100
20104
|
}
|
|
20101
|
-
|
|
20102
|
-
|
|
20103
|
-
args
|
|
20104
|
-
|
|
20105
|
+
once(event, listener) {
|
|
20106
|
+
const wrapper = (...args) => {
|
|
20107
|
+
listener(...args);
|
|
20108
|
+
this.off(event, wrapper);
|
|
20109
|
+
};
|
|
20110
|
+
this.on(event, wrapper);
|
|
20111
|
+
return this;
|
|
20112
|
+
}
|
|
20113
|
+
emit(event, ...args) {
|
|
20105
20114
|
if (this.observers[event]) {
|
|
20106
20115
|
const cloned = Array.from(this.observers[event].entries());
|
|
20107
|
-
cloned.forEach((
|
|
20108
|
-
let [observer, numTimesAdded] = _ref;
|
|
20116
|
+
cloned.forEach(([observer, numTimesAdded]) => {
|
|
20109
20117
|
for (let i = 0;i < numTimesAdded; i++) {
|
|
20110
20118
|
observer(...args);
|
|
20111
20119
|
}
|
|
@@ -20113,25 +20121,25 @@ class EventEmitter {
|
|
|
20113
20121
|
}
|
|
20114
20122
|
if (this.observers["*"]) {
|
|
20115
20123
|
const cloned = Array.from(this.observers["*"].entries());
|
|
20116
|
-
cloned.forEach((
|
|
20117
|
-
let [observer, numTimesAdded] = _ref2;
|
|
20124
|
+
cloned.forEach(([observer, numTimesAdded]) => {
|
|
20118
20125
|
for (let i = 0;i < numTimesAdded; i++) {
|
|
20119
|
-
observer
|
|
20126
|
+
observer(event, ...args);
|
|
20120
20127
|
}
|
|
20121
20128
|
});
|
|
20122
20129
|
}
|
|
20123
20130
|
}
|
|
20124
20131
|
}
|
|
20132
|
+
var nonEmptyBundles = new WeakSet;
|
|
20125
20133
|
|
|
20126
20134
|
class ResourceStore extends EventEmitter {
|
|
20127
|
-
constructor(data
|
|
20128
|
-
|
|
20129
|
-
|
|
20130
|
-
|
|
20131
|
-
};
|
|
20135
|
+
constructor(data, options = {
|
|
20136
|
+
ns: ["translation"],
|
|
20137
|
+
defaultNS: "translation"
|
|
20138
|
+
}) {
|
|
20132
20139
|
super();
|
|
20133
20140
|
this.data = data || {};
|
|
20134
20141
|
this.options = options;
|
|
20142
|
+
this.logger = baseLogger.create("resourceStore");
|
|
20135
20143
|
if (this.options.keySeparator === undefined) {
|
|
20136
20144
|
this.options.keySeparator = ".";
|
|
20137
20145
|
}
|
|
@@ -20140,7 +20148,7 @@ class ResourceStore extends EventEmitter {
|
|
|
20140
20148
|
}
|
|
20141
20149
|
}
|
|
20142
20150
|
addNamespaces(ns) {
|
|
20143
|
-
if (this.options.ns.
|
|
20151
|
+
if (!this.options.ns.includes(ns)) {
|
|
20144
20152
|
this.options.ns.push(ns);
|
|
20145
20153
|
}
|
|
20146
20154
|
}
|
|
@@ -20150,12 +20158,15 @@ class ResourceStore extends EventEmitter {
|
|
|
20150
20158
|
this.options.ns.splice(index, 1);
|
|
20151
20159
|
}
|
|
20152
20160
|
}
|
|
20153
|
-
|
|
20154
|
-
|
|
20161
|
+
deprecateDottedLng(method) {
|
|
20162
|
+
this.logger.once(method, "deprecate", `${method}: a dotted language ('en.translation.key') that carries the namespace and key is removed in v27; pass language, namespace and key as separate arguments`);
|
|
20163
|
+
}
|
|
20164
|
+
getResource(lng, ns, key, options = {}) {
|
|
20155
20165
|
const keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator;
|
|
20156
20166
|
const ignoreJSONStructure = options.ignoreJSONStructure !== undefined ? options.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
20157
20167
|
let path;
|
|
20158
|
-
if (lng.
|
|
20168
|
+
if (lng.includes(".")) {
|
|
20169
|
+
this.deprecateDottedLng("getResource");
|
|
20159
20170
|
path = lng.split(".");
|
|
20160
20171
|
} else {
|
|
20161
20172
|
path = [lng, ns];
|
|
@@ -20170,24 +20181,24 @@ class ResourceStore extends EventEmitter {
|
|
|
20170
20181
|
}
|
|
20171
20182
|
}
|
|
20172
20183
|
const result = getPath(this.data, path);
|
|
20173
|
-
if (
|
|
20184
|
+
if (result == null && !ns && !key && lng.includes(".")) {
|
|
20174
20185
|
lng = path[0];
|
|
20175
20186
|
ns = path[1];
|
|
20176
20187
|
key = path.slice(2).join(".");
|
|
20177
20188
|
}
|
|
20178
|
-
if (result || !ignoreJSONStructure || !isString(key))
|
|
20189
|
+
if (result != null || !ignoreJSONStructure || !isString(key))
|
|
20179
20190
|
return result;
|
|
20180
|
-
return deepFind(this.data
|
|
20191
|
+
return deepFind(this.data?.[lng]?.[ns], key, keySeparator);
|
|
20181
20192
|
}
|
|
20182
|
-
addResource(lng, ns, key, value
|
|
20183
|
-
|
|
20184
|
-
|
|
20185
|
-
};
|
|
20193
|
+
addResource(lng, ns, key, value, options = {
|
|
20194
|
+
silent: false
|
|
20195
|
+
}) {
|
|
20186
20196
|
const keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator;
|
|
20187
20197
|
let path = [lng, ns];
|
|
20188
20198
|
if (key)
|
|
20189
20199
|
path = path.concat(keySeparator ? key.split(keySeparator) : key);
|
|
20190
|
-
if (lng.
|
|
20200
|
+
if (lng.includes(".")) {
|
|
20201
|
+
this.deprecateDottedLng("addResource");
|
|
20191
20202
|
path = lng.split(".");
|
|
20192
20203
|
value = ns;
|
|
20193
20204
|
ns = path[1];
|
|
@@ -20197,10 +20208,9 @@ class ResourceStore extends EventEmitter {
|
|
|
20197
20208
|
if (!options.silent)
|
|
20198
20209
|
this.emit("added", lng, ns, key, value);
|
|
20199
20210
|
}
|
|
20200
|
-
addResources(lng, ns, resources
|
|
20201
|
-
|
|
20202
|
-
|
|
20203
|
-
};
|
|
20211
|
+
addResources(lng, ns, resources, options = {
|
|
20212
|
+
silent: false
|
|
20213
|
+
}) {
|
|
20204
20214
|
for (const m in resources) {
|
|
20205
20215
|
if (isString(resources[m]) || Array.isArray(resources[m]))
|
|
20206
20216
|
this.addResource(lng, ns, m, resources[m], {
|
|
@@ -20210,13 +20220,13 @@ class ResourceStore extends EventEmitter {
|
|
|
20210
20220
|
if (!options.silent)
|
|
20211
20221
|
this.emit("added", lng, ns, resources);
|
|
20212
20222
|
}
|
|
20213
|
-
addResourceBundle(lng, ns, resources, deep, overwrite
|
|
20214
|
-
|
|
20215
|
-
|
|
20216
|
-
|
|
20217
|
-
};
|
|
20223
|
+
addResourceBundle(lng, ns, resources, deep, overwrite, options = {
|
|
20224
|
+
silent: false,
|
|
20225
|
+
skipCopy: false
|
|
20226
|
+
}) {
|
|
20218
20227
|
let path = [lng, ns];
|
|
20219
|
-
if (lng.
|
|
20228
|
+
if (lng.includes(".")) {
|
|
20229
|
+
this.deprecateDottedLng("addResourceBundle");
|
|
20220
20230
|
path = lng.split(".");
|
|
20221
20231
|
deep = resources;
|
|
20222
20232
|
resources = ns;
|
|
@@ -20251,11 +20261,6 @@ class ResourceStore extends EventEmitter {
|
|
|
20251
20261
|
getResourceBundle(lng, ns) {
|
|
20252
20262
|
if (!ns)
|
|
20253
20263
|
ns = this.options.defaultNS;
|
|
20254
|
-
if (this.options.compatibilityAPI === "v1")
|
|
20255
|
-
return {
|
|
20256
|
-
...{},
|
|
20257
|
-
...this.getResource(lng, ns)
|
|
20258
|
-
};
|
|
20259
20264
|
return this.getResource(lng, ns);
|
|
20260
20265
|
}
|
|
20261
20266
|
getDataByLanguage(lng) {
|
|
@@ -20264,7 +20269,16 @@ class ResourceStore extends EventEmitter {
|
|
|
20264
20269
|
hasLanguageSomeTranslations(lng) {
|
|
20265
20270
|
const data = this.getDataByLanguage(lng);
|
|
20266
20271
|
const n = data && Object.keys(data) || [];
|
|
20267
|
-
return !!n.find((v) =>
|
|
20272
|
+
return !!n.find((v) => {
|
|
20273
|
+
const bundle = data[v];
|
|
20274
|
+
if (nonEmptyBundles.has(bundle))
|
|
20275
|
+
return true;
|
|
20276
|
+
if (!bundle || Object.keys(bundle).length === 0)
|
|
20277
|
+
return false;
|
|
20278
|
+
if (typeof bundle === "object")
|
|
20279
|
+
nonEmptyBundles.add(bundle);
|
|
20280
|
+
return true;
|
|
20281
|
+
});
|
|
20268
20282
|
}
|
|
20269
20283
|
toJSON() {
|
|
20270
20284
|
return this.data;
|
|
@@ -20277,47 +20291,87 @@ var postProcessor = {
|
|
|
20277
20291
|
},
|
|
20278
20292
|
handle(processors, value, key, options, translator) {
|
|
20279
20293
|
processors.forEach((processor) => {
|
|
20280
|
-
|
|
20281
|
-
value = this.processors[processor].process(value, key, options, translator);
|
|
20294
|
+
value = this.processors[processor]?.process(value, key, options, translator) ?? value;
|
|
20282
20295
|
});
|
|
20283
20296
|
return value;
|
|
20284
20297
|
}
|
|
20285
20298
|
};
|
|
20286
|
-
var
|
|
20299
|
+
var PATH_KEY = Symbol("i18next/PATH_KEY");
|
|
20300
|
+
function createProxy() {
|
|
20301
|
+
const state = [];
|
|
20302
|
+
const handler = Object.create(null);
|
|
20303
|
+
let proxy;
|
|
20304
|
+
handler.get = (target, key) => {
|
|
20305
|
+
proxy?.revoke?.();
|
|
20306
|
+
if (key === PATH_KEY)
|
|
20307
|
+
return state;
|
|
20308
|
+
state.push(key);
|
|
20309
|
+
proxy = Proxy.revocable(target, handler);
|
|
20310
|
+
return proxy.proxy;
|
|
20311
|
+
};
|
|
20312
|
+
return Proxy.revocable(Object.create(null), handler).proxy;
|
|
20313
|
+
}
|
|
20314
|
+
function keysFromSelector(selector, opts) {
|
|
20315
|
+
const {
|
|
20316
|
+
[PATH_KEY]: path
|
|
20317
|
+
} = selector(createProxy());
|
|
20318
|
+
const keySeparator = opts?.keySeparator ?? ".";
|
|
20319
|
+
const nsSeparator = opts?.nsSeparator ?? ":";
|
|
20320
|
+
const strict = opts?.enableSelector === "strict";
|
|
20321
|
+
if (path.length > 1 && nsSeparator) {
|
|
20322
|
+
const ns = opts?.ns;
|
|
20323
|
+
const nsList = strict ? Array.isArray(ns) ? ns : ns ? [ns] : null : Array.isArray(ns) ? ns : null;
|
|
20324
|
+
if (nsList) {
|
|
20325
|
+
const candidates = strict ? nsList : nsList.length > 1 ? nsList.slice(1) : [];
|
|
20326
|
+
if (candidates.includes(path[0])) {
|
|
20327
|
+
return `${path[0]}${nsSeparator}${path.slice(1).join(keySeparator)}`;
|
|
20328
|
+
}
|
|
20329
|
+
}
|
|
20330
|
+
}
|
|
20331
|
+
return path.join(keySeparator);
|
|
20332
|
+
}
|
|
20333
|
+
var shouldHandleAsObject = (res) => !isString(res) && typeof res !== "boolean" && typeof res !== "number";
|
|
20287
20334
|
|
|
20288
20335
|
class Translator extends EventEmitter {
|
|
20289
|
-
constructor(services) {
|
|
20290
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
20336
|
+
constructor(services, options = {}) {
|
|
20291
20337
|
super();
|
|
20292
|
-
copy(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], services, this);
|
|
20338
|
+
copy(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils", "ownPostProcessors"], services, this);
|
|
20293
20339
|
this.options = options;
|
|
20294
20340
|
if (this.options.keySeparator === undefined) {
|
|
20295
20341
|
this.options.keySeparator = ".";
|
|
20296
20342
|
}
|
|
20297
20343
|
this.logger = baseLogger.create("translator");
|
|
20344
|
+
this.checkedLoadedFor = {};
|
|
20298
20345
|
}
|
|
20299
20346
|
changeLanguage(lng) {
|
|
20300
20347
|
if (lng)
|
|
20301
20348
|
this.language = lng;
|
|
20302
20349
|
}
|
|
20303
|
-
exists(key
|
|
20304
|
-
|
|
20305
|
-
|
|
20350
|
+
exists(key, o = {
|
|
20351
|
+
interpolation: {}
|
|
20352
|
+
}) {
|
|
20353
|
+
const opt = {
|
|
20354
|
+
...o
|
|
20306
20355
|
};
|
|
20307
|
-
if (key
|
|
20356
|
+
if (key == null)
|
|
20357
|
+
return false;
|
|
20358
|
+
const resolved = this.resolve(key, opt);
|
|
20359
|
+
if (resolved?.res === undefined)
|
|
20360
|
+
return false;
|
|
20361
|
+
const isObject = shouldHandleAsObject(resolved.res);
|
|
20362
|
+
if (opt.returnObjects === false && isObject) {
|
|
20308
20363
|
return false;
|
|
20309
20364
|
}
|
|
20310
|
-
|
|
20311
|
-
return resolved && resolved.res !== undefined;
|
|
20365
|
+
return true;
|
|
20312
20366
|
}
|
|
20313
|
-
extractFromKey(key,
|
|
20314
|
-
let nsSeparator =
|
|
20367
|
+
extractFromKey(key, opt) {
|
|
20368
|
+
let nsSeparator = opt.nsSeparator !== undefined ? opt.nsSeparator : this.options.nsSeparator;
|
|
20315
20369
|
if (nsSeparator === undefined)
|
|
20316
20370
|
nsSeparator = ":";
|
|
20317
|
-
const keySeparator =
|
|
20318
|
-
let namespaces =
|
|
20319
|
-
const wouldCheckForNsInKey = nsSeparator && key.
|
|
20320
|
-
const seemsNaturalLanguage = !this.options.userDefinedKeySeparator && !
|
|
20371
|
+
const keySeparator = opt.keySeparator !== undefined ? opt.keySeparator : this.options.keySeparator;
|
|
20372
|
+
let namespaces = opt.ns || this.options.defaultNS || [];
|
|
20373
|
+
const wouldCheckForNsInKey = nsSeparator && key.includes(nsSeparator);
|
|
20374
|
+
const seemsNaturalLanguage = !this.options.userDefinedKeySeparator && !opt.keySeparator && !this.options.userDefinedNsSeparator && !opt.nsSeparator && !looksLikeObjectPath(key, nsSeparator, keySeparator);
|
|
20321
20375
|
if (wouldCheckForNsInKey && !seemsNaturalLanguage) {
|
|
20322
20376
|
const m = key.match(this.interpolator.nestingRegexp);
|
|
20323
20377
|
if (m && m.length > 0) {
|
|
@@ -20327,7 +20381,7 @@ class Translator extends EventEmitter {
|
|
|
20327
20381
|
};
|
|
20328
20382
|
}
|
|
20329
20383
|
const parts = key.split(nsSeparator);
|
|
20330
|
-
if (nsSeparator !== keySeparator || nsSeparator === keySeparator && this.options.ns.
|
|
20384
|
+
if (nsSeparator !== keySeparator || nsSeparator === keySeparator && this.options.ns.includes(parts[0]))
|
|
20331
20385
|
namespaces = parts.shift();
|
|
20332
20386
|
key = parts.join(keySeparator);
|
|
20333
20387
|
}
|
|
@@ -20336,32 +20390,46 @@ class Translator extends EventEmitter {
|
|
|
20336
20390
|
namespaces: isString(namespaces) ? [namespaces] : namespaces
|
|
20337
20391
|
};
|
|
20338
20392
|
}
|
|
20339
|
-
translate(keys,
|
|
20340
|
-
|
|
20341
|
-
|
|
20393
|
+
translate(keys, o, lastKey) {
|
|
20394
|
+
let opt = typeof o === "object" ? {
|
|
20395
|
+
...o
|
|
20396
|
+
} : o;
|
|
20397
|
+
if (typeof opt !== "object" && this.options.overloadTranslationOptionHandler) {
|
|
20398
|
+
opt = this.options.overloadTranslationOptionHandler(arguments);
|
|
20342
20399
|
}
|
|
20343
|
-
if (typeof
|
|
20344
|
-
|
|
20345
|
-
...
|
|
20400
|
+
if (typeof opt === "object")
|
|
20401
|
+
opt = {
|
|
20402
|
+
...opt
|
|
20346
20403
|
};
|
|
20347
|
-
if (!
|
|
20348
|
-
|
|
20349
|
-
if (keys
|
|
20404
|
+
if (!opt)
|
|
20405
|
+
opt = {};
|
|
20406
|
+
if (keys == null)
|
|
20350
20407
|
return "";
|
|
20408
|
+
if (typeof keys === "function")
|
|
20409
|
+
keys = keysFromSelector(keys, {
|
|
20410
|
+
...this.options,
|
|
20411
|
+
...opt
|
|
20412
|
+
});
|
|
20351
20413
|
if (!Array.isArray(keys))
|
|
20352
20414
|
keys = [String(keys)];
|
|
20353
|
-
|
|
20354
|
-
|
|
20415
|
+
keys = keys.map((k) => typeof k === "function" ? keysFromSelector(k, {
|
|
20416
|
+
...this.options,
|
|
20417
|
+
...opt
|
|
20418
|
+
}) : String(k));
|
|
20419
|
+
const returnDetails = opt.returnDetails !== undefined ? opt.returnDetails : this.options.returnDetails;
|
|
20420
|
+
const keySeparator = opt.keySeparator !== undefined ? opt.keySeparator : this.options.keySeparator;
|
|
20355
20421
|
const {
|
|
20356
20422
|
key,
|
|
20357
20423
|
namespaces
|
|
20358
|
-
} = this.extractFromKey(keys[keys.length - 1],
|
|
20424
|
+
} = this.extractFromKey(keys[keys.length - 1], opt);
|
|
20359
20425
|
const namespace = namespaces[namespaces.length - 1];
|
|
20360
|
-
|
|
20361
|
-
|
|
20362
|
-
|
|
20426
|
+
let nsSeparator = opt.nsSeparator !== undefined ? opt.nsSeparator : this.options.nsSeparator;
|
|
20427
|
+
if (nsSeparator === undefined)
|
|
20428
|
+
nsSeparator = ":";
|
|
20429
|
+
const lng = opt.lng || this.language;
|
|
20430
|
+
const appendNamespaceToCIMode = opt.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
20431
|
+
if (lng?.toLowerCase() === "cimode") {
|
|
20363
20432
|
if (appendNamespaceToCIMode) {
|
|
20364
|
-
const nsSeparator = options.nsSeparator || this.options.nsSeparator;
|
|
20365
20433
|
if (returnDetails) {
|
|
20366
20434
|
return {
|
|
20367
20435
|
res: `${namespace}${nsSeparator}${key}`,
|
|
@@ -20369,7 +20437,7 @@ class Translator extends EventEmitter {
|
|
|
20369
20437
|
exactUsedKey: key,
|
|
20370
20438
|
usedLng: lng,
|
|
20371
20439
|
usedNS: namespace,
|
|
20372
|
-
usedParams: this.getUsedParamsDetails(
|
|
20440
|
+
usedParams: this.getUsedParamsDetails(opt)
|
|
20373
20441
|
};
|
|
20374
20442
|
}
|
|
20375
20443
|
return `${namespace}${nsSeparator}${key}`;
|
|
@@ -20381,52 +20449,76 @@ class Translator extends EventEmitter {
|
|
|
20381
20449
|
exactUsedKey: key,
|
|
20382
20450
|
usedLng: lng,
|
|
20383
20451
|
usedNS: namespace,
|
|
20384
|
-
usedParams: this.getUsedParamsDetails(
|
|
20452
|
+
usedParams: this.getUsedParamsDetails(opt)
|
|
20385
20453
|
};
|
|
20386
20454
|
}
|
|
20387
20455
|
return key;
|
|
20388
20456
|
}
|
|
20389
|
-
const resolved = this.resolve(keys,
|
|
20390
|
-
let res = resolved
|
|
20391
|
-
const resUsedKey = resolved
|
|
20392
|
-
const resExactUsedKey = resolved
|
|
20393
|
-
const resType = Object.prototype.toString.apply(res);
|
|
20457
|
+
const resolved = this.resolve(keys, opt);
|
|
20458
|
+
let res = resolved?.res;
|
|
20459
|
+
const resUsedKey = resolved?.usedKey || key;
|
|
20460
|
+
const resExactUsedKey = resolved?.exactUsedKey || key;
|
|
20394
20461
|
const noObject = ["[object Number]", "[object Function]", "[object RegExp]"];
|
|
20395
|
-
const joinArrays =
|
|
20462
|
+
const joinArrays = opt.joinArrays !== undefined ? opt.joinArrays : this.options.joinArrays;
|
|
20396
20463
|
const handleAsObjectInI18nFormat = !this.i18nFormat || this.i18nFormat.handleAsObject;
|
|
20397
|
-
const
|
|
20398
|
-
|
|
20399
|
-
|
|
20464
|
+
const needsPluralHandling = opt.count !== undefined && !isString(opt.count);
|
|
20465
|
+
const hasDefaultValue = Translator.hasDefaultValue(opt);
|
|
20466
|
+
const defaultValueSuffix = needsPluralHandling ? this.pluralResolver.getSuffix(lng, opt.count, opt) : "";
|
|
20467
|
+
const defaultValueSuffixOrdinalFallback = opt.ordinal && needsPluralHandling ? this.pluralResolver.getSuffix(lng, opt.count, {
|
|
20468
|
+
ordinal: false
|
|
20469
|
+
}) : "";
|
|
20470
|
+
const needsZeroSuffixLookup = needsPluralHandling && !opt.ordinal && opt.count === 0;
|
|
20471
|
+
const defaultValue = needsZeroSuffixLookup && opt[`defaultValue${this.options.pluralSeparator}zero`] || opt[`defaultValue${defaultValueSuffix}`] || opt[`defaultValue${defaultValueSuffixOrdinalFallback}`] || opt.defaultValue;
|
|
20472
|
+
let resForObjHndl = res;
|
|
20473
|
+
if (handleAsObjectInI18nFormat && !res && hasDefaultValue) {
|
|
20474
|
+
resForObjHndl = defaultValue;
|
|
20475
|
+
}
|
|
20476
|
+
const handleAsObject = shouldHandleAsObject(resForObjHndl);
|
|
20477
|
+
const resType = Object.prototype.toString.apply(resForObjHndl);
|
|
20478
|
+
if (handleAsObjectInI18nFormat && resForObjHndl && handleAsObject && !noObject.includes(resType) && !(isString(joinArrays) && Array.isArray(resForObjHndl))) {
|
|
20479
|
+
if (!opt.returnObjects && !this.options.returnObjects) {
|
|
20400
20480
|
if (!this.options.returnedObjectHandler) {
|
|
20401
20481
|
this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
20482
|
+
this.logger.once("returnedObject", "deprecate", "accessing an object without returnObjects returns a sentence about it today; from v27 t() returns the key, as for a missing key (returnedObjectHandler can keep today's text)");
|
|
20402
20483
|
}
|
|
20403
|
-
const r = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(resUsedKey,
|
|
20404
|
-
...
|
|
20484
|
+
const r = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(resUsedKey, resForObjHndl, {
|
|
20485
|
+
...opt,
|
|
20405
20486
|
ns: namespaces
|
|
20406
20487
|
}) : `key '${key} (${this.language})' returned an object instead of string.`;
|
|
20407
20488
|
if (returnDetails) {
|
|
20408
20489
|
resolved.res = r;
|
|
20409
|
-
resolved.usedParams = this.getUsedParamsDetails(
|
|
20490
|
+
resolved.usedParams = this.getUsedParamsDetails(opt);
|
|
20410
20491
|
return resolved;
|
|
20411
20492
|
}
|
|
20412
20493
|
return r;
|
|
20413
20494
|
}
|
|
20414
20495
|
if (keySeparator) {
|
|
20415
|
-
const resTypeIsArray = Array.isArray(
|
|
20496
|
+
const resTypeIsArray = Array.isArray(resForObjHndl);
|
|
20416
20497
|
const copy = resTypeIsArray ? [] : {};
|
|
20417
20498
|
const newKeyToUse = resTypeIsArray ? resExactUsedKey : resUsedKey;
|
|
20418
|
-
for (const m in
|
|
20419
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
20499
|
+
for (const m in resForObjHndl) {
|
|
20500
|
+
if (Object.prototype.hasOwnProperty.call(resForObjHndl, m)) {
|
|
20420
20501
|
const deepKey = `${newKeyToUse}${keySeparator}${m}`;
|
|
20421
|
-
|
|
20422
|
-
|
|
20423
|
-
|
|
20424
|
-
|
|
20425
|
-
|
|
20426
|
-
|
|
20427
|
-
|
|
20502
|
+
if (hasDefaultValue && !res) {
|
|
20503
|
+
copy[m] = this.translate(deepKey, {
|
|
20504
|
+
...opt,
|
|
20505
|
+
defaultValue: shouldHandleAsObject(defaultValue) ? defaultValue[m] : undefined,
|
|
20506
|
+
...{
|
|
20507
|
+
joinArrays: false,
|
|
20508
|
+
ns: namespaces
|
|
20509
|
+
}
|
|
20510
|
+
});
|
|
20511
|
+
} else {
|
|
20512
|
+
copy[m] = this.translate(deepKey, {
|
|
20513
|
+
...opt,
|
|
20514
|
+
...{
|
|
20515
|
+
joinArrays: false,
|
|
20516
|
+
ns: namespaces
|
|
20517
|
+
}
|
|
20518
|
+
});
|
|
20519
|
+
}
|
|
20428
20520
|
if (copy[m] === deepKey)
|
|
20429
|
-
copy[m] =
|
|
20521
|
+
copy[m] = resForObjHndl[m];
|
|
20430
20522
|
}
|
|
20431
20523
|
}
|
|
20432
20524
|
res = copy;
|
|
@@ -20434,18 +20526,10 @@ class Translator extends EventEmitter {
|
|
|
20434
20526
|
} else if (handleAsObjectInI18nFormat && isString(joinArrays) && Array.isArray(res)) {
|
|
20435
20527
|
res = res.join(joinArrays);
|
|
20436
20528
|
if (res)
|
|
20437
|
-
res = this.extendTranslation(res, keys,
|
|
20529
|
+
res = this.extendTranslation(res, keys, opt, resolved, lastKey);
|
|
20438
20530
|
} else {
|
|
20439
20531
|
let usedDefault = false;
|
|
20440
20532
|
let usedKey = false;
|
|
20441
|
-
const needsPluralHandling = options.count !== undefined && !isString(options.count);
|
|
20442
|
-
const hasDefaultValue = Translator.hasDefaultValue(options);
|
|
20443
|
-
const defaultValueSuffix = needsPluralHandling ? this.pluralResolver.getSuffix(lng, options.count, options) : "";
|
|
20444
|
-
const defaultValueSuffixOrdinalFallback = options.ordinal && needsPluralHandling ? this.pluralResolver.getSuffix(lng, options.count, {
|
|
20445
|
-
ordinal: false
|
|
20446
|
-
}) : "";
|
|
20447
|
-
const needsZeroSuffixLookup = needsPluralHandling && !options.ordinal && options.count === 0 && this.pluralResolver.shouldUseIntlApi();
|
|
20448
|
-
const defaultValue = needsZeroSuffixLookup && options[`defaultValue${this.options.pluralSeparator}zero`] || options[`defaultValue${defaultValueSuffix}`] || options[`defaultValue${defaultValueSuffixOrdinalFallback}`] || options.defaultValue;
|
|
20449
20533
|
if (!this.isValidLookup(res) && hasDefaultValue) {
|
|
20450
20534
|
usedDefault = true;
|
|
20451
20535
|
res = defaultValue;
|
|
@@ -20454,48 +20538,48 @@ class Translator extends EventEmitter {
|
|
|
20454
20538
|
usedKey = true;
|
|
20455
20539
|
res = key;
|
|
20456
20540
|
}
|
|
20457
|
-
const missingKeyNoValueFallbackToKey =
|
|
20541
|
+
const missingKeyNoValueFallbackToKey = opt.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey;
|
|
20458
20542
|
const resForMissing = missingKeyNoValueFallbackToKey && usedKey ? undefined : res;
|
|
20459
20543
|
const updateMissing = hasDefaultValue && defaultValue !== res && this.options.updateMissing;
|
|
20460
20544
|
if (usedKey || usedDefault || updateMissing) {
|
|
20461
|
-
this.logger.log(updateMissing ? "updateKey" : "missingKey", lng, namespace, key, updateMissing ? defaultValue : res);
|
|
20545
|
+
this.logger.log(updateMissing ? "updateKey" : "missingKey", lng, namespace, needsPluralHandling && !updateMissing ? `${key}${this.pluralResolver.getSuffix(lng, opt.count, opt)}` : key, updateMissing ? defaultValue : res);
|
|
20462
20546
|
if (keySeparator) {
|
|
20463
20547
|
const fk = this.resolve(key, {
|
|
20464
|
-
...
|
|
20548
|
+
...opt,
|
|
20465
20549
|
keySeparator: false
|
|
20466
20550
|
});
|
|
20467
20551
|
if (fk && fk.res)
|
|
20468
20552
|
this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
20469
20553
|
}
|
|
20470
20554
|
let lngs = [];
|
|
20471
|
-
const fallbackLngs = this.languageUtils.getFallbackCodes(this.options.fallbackLng,
|
|
20555
|
+
const fallbackLngs = this.languageUtils.getFallbackCodes(this.options.fallbackLng, opt.lng || this.language);
|
|
20472
20556
|
if (this.options.saveMissingTo === "fallback" && fallbackLngs && fallbackLngs[0]) {
|
|
20473
20557
|
for (let i = 0;i < fallbackLngs.length; i++) {
|
|
20474
20558
|
lngs.push(fallbackLngs[i]);
|
|
20475
20559
|
}
|
|
20476
20560
|
} else if (this.options.saveMissingTo === "all") {
|
|
20477
|
-
lngs = this.languageUtils.toResolveHierarchy(
|
|
20561
|
+
lngs = this.languageUtils.toResolveHierarchy(opt.lng || this.language);
|
|
20478
20562
|
} else {
|
|
20479
|
-
lngs.push(
|
|
20563
|
+
lngs.push(opt.lng || this.language);
|
|
20480
20564
|
}
|
|
20481
20565
|
const send = (l, k, specificDefaultValue) => {
|
|
20482
20566
|
const defaultForMissing = hasDefaultValue && specificDefaultValue !== res ? specificDefaultValue : resForMissing;
|
|
20483
20567
|
if (this.options.missingKeyHandler) {
|
|
20484
|
-
this.options.missingKeyHandler(l, namespace, k, defaultForMissing, updateMissing,
|
|
20485
|
-
} else if (this.backendConnector
|
|
20486
|
-
this.backendConnector.saveMissing(l, namespace, k, defaultForMissing, updateMissing,
|
|
20568
|
+
this.options.missingKeyHandler(l, namespace, k, defaultForMissing, updateMissing, opt);
|
|
20569
|
+
} else if (this.backendConnector?.saveMissing) {
|
|
20570
|
+
this.backendConnector.saveMissing(l, namespace, k, defaultForMissing, updateMissing, opt, undefined, this.utils?.hasLoadedNamespace);
|
|
20487
20571
|
}
|
|
20488
20572
|
this.emit("missingKey", l, namespace, k, res);
|
|
20489
20573
|
};
|
|
20490
20574
|
if (this.options.saveMissing) {
|
|
20491
20575
|
if (this.options.saveMissingPlurals && needsPluralHandling) {
|
|
20492
20576
|
lngs.forEach((language) => {
|
|
20493
|
-
const suffixes = this.pluralResolver.getSuffixes(language,
|
|
20494
|
-
if (needsZeroSuffixLookup &&
|
|
20577
|
+
const suffixes = this.pluralResolver.getSuffixes(language, opt);
|
|
20578
|
+
if (needsZeroSuffixLookup && opt[`defaultValue${this.options.pluralSeparator}zero`] && !suffixes.includes(`${this.options.pluralSeparator}zero`)) {
|
|
20495
20579
|
suffixes.push(`${this.options.pluralSeparator}zero`);
|
|
20496
20580
|
}
|
|
20497
20581
|
suffixes.forEach((suffix) => {
|
|
20498
|
-
send([language], key + suffix,
|
|
20582
|
+
send([language], key + suffix, opt[`defaultValue${suffix}`] || defaultValue);
|
|
20499
20583
|
});
|
|
20500
20584
|
});
|
|
20501
20585
|
} else {
|
|
@@ -20503,94 +20587,91 @@ class Translator extends EventEmitter {
|
|
|
20503
20587
|
}
|
|
20504
20588
|
}
|
|
20505
20589
|
}
|
|
20506
|
-
res = this.extendTranslation(res, keys,
|
|
20507
|
-
if (usedKey && res === key && this.options.appendNamespaceToMissingKey)
|
|
20508
|
-
res = `${namespace}
|
|
20590
|
+
res = this.extendTranslation(res, keys, opt, resolved, lastKey);
|
|
20591
|
+
if (usedKey && res === key && this.options.appendNamespaceToMissingKey) {
|
|
20592
|
+
res = `${namespace}${nsSeparator}${key}`;
|
|
20593
|
+
}
|
|
20509
20594
|
if ((usedKey || usedDefault) && this.options.parseMissingKeyHandler) {
|
|
20510
|
-
|
|
20511
|
-
res = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${namespace}:${key}` : key, usedDefault ? res : undefined);
|
|
20512
|
-
} else {
|
|
20513
|
-
res = this.options.parseMissingKeyHandler(res);
|
|
20514
|
-
}
|
|
20595
|
+
res = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${namespace}${nsSeparator}${key}` : key, usedDefault ? res : undefined, opt);
|
|
20515
20596
|
}
|
|
20516
20597
|
}
|
|
20517
20598
|
if (returnDetails) {
|
|
20518
20599
|
resolved.res = res;
|
|
20519
|
-
resolved.usedParams = this.getUsedParamsDetails(
|
|
20600
|
+
resolved.usedParams = this.getUsedParamsDetails(opt);
|
|
20520
20601
|
return resolved;
|
|
20521
20602
|
}
|
|
20522
20603
|
return res;
|
|
20523
20604
|
}
|
|
20524
|
-
extendTranslation(res, key,
|
|
20525
|
-
|
|
20526
|
-
if (this.i18nFormat && this.i18nFormat.parse) {
|
|
20605
|
+
extendTranslation(res, key, opt, resolved, lastKey) {
|
|
20606
|
+
if (this.i18nFormat?.parse) {
|
|
20527
20607
|
res = this.i18nFormat.parse(res, {
|
|
20528
20608
|
...this.options.interpolation.defaultVariables,
|
|
20529
|
-
...
|
|
20530
|
-
},
|
|
20609
|
+
...opt
|
|
20610
|
+
}, opt.lng || this.language || resolved.usedLng, resolved.usedNS, resolved.usedKey, {
|
|
20531
20611
|
resolved
|
|
20532
20612
|
});
|
|
20533
|
-
} else if (!
|
|
20534
|
-
if (
|
|
20613
|
+
} else if (!opt.skipInterpolation) {
|
|
20614
|
+
if (opt.interpolation)
|
|
20535
20615
|
this.interpolator.init({
|
|
20536
|
-
...
|
|
20616
|
+
...opt,
|
|
20537
20617
|
...{
|
|
20538
20618
|
interpolation: {
|
|
20539
20619
|
...this.options.interpolation,
|
|
20540
|
-
...
|
|
20620
|
+
...opt.interpolation
|
|
20541
20621
|
}
|
|
20542
20622
|
}
|
|
20543
20623
|
});
|
|
20544
|
-
const skipOnVariables = isString(res) && (
|
|
20624
|
+
const skipOnVariables = isString(res) && (opt?.interpolation?.skipOnVariables !== undefined ? opt.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
|
20545
20625
|
let nestBef;
|
|
20546
20626
|
if (skipOnVariables) {
|
|
20547
20627
|
const nb = res.match(this.interpolator.nestingRegexp);
|
|
20548
20628
|
nestBef = nb && nb.length;
|
|
20549
20629
|
}
|
|
20550
|
-
let data =
|
|
20630
|
+
let data = opt.replace && !isString(opt.replace) ? opt.replace : opt;
|
|
20551
20631
|
if (this.options.interpolation.defaultVariables)
|
|
20552
20632
|
data = {
|
|
20553
20633
|
...this.options.interpolation.defaultVariables,
|
|
20554
20634
|
...data
|
|
20555
20635
|
};
|
|
20556
|
-
res = this.interpolator.interpolate(res, data,
|
|
20636
|
+
res = this.interpolator.interpolate(res, data, opt.lng || this.language || resolved.usedLng, opt);
|
|
20557
20637
|
if (skipOnVariables) {
|
|
20558
20638
|
const na = res.match(this.interpolator.nestingRegexp);
|
|
20559
20639
|
const nestAft = na && na.length;
|
|
20560
20640
|
if (nestBef < nestAft)
|
|
20561
|
-
|
|
20562
|
-
}
|
|
20563
|
-
if (!
|
|
20564
|
-
|
|
20565
|
-
if (
|
|
20566
|
-
res = this.interpolator.nest(res,
|
|
20567
|
-
|
|
20568
|
-
args[
|
|
20569
|
-
}
|
|
20570
|
-
if (lastKey && lastKey[0] === args[0] && !options.context) {
|
|
20571
|
-
_this.logger.warn(`It seems you are nesting recursively key: ${args[0]} in key: ${key[0]}`);
|
|
20641
|
+
opt.nest = false;
|
|
20642
|
+
}
|
|
20643
|
+
if (!opt.lng && resolved && resolved.res)
|
|
20644
|
+
opt.lng = this.language || resolved.usedLng;
|
|
20645
|
+
if (opt.nest !== false)
|
|
20646
|
+
res = this.interpolator.nest(res, (...args) => {
|
|
20647
|
+
if (lastKey?.[0] === args[0] && !opt.context) {
|
|
20648
|
+
this.logger.warn(`It seems you are nesting recursively key: ${args[0]} in key: ${key[0]}`);
|
|
20572
20649
|
return null;
|
|
20573
20650
|
}
|
|
20574
|
-
return
|
|
20575
|
-
},
|
|
20576
|
-
if (
|
|
20651
|
+
return this.translate(...args, key);
|
|
20652
|
+
}, opt);
|
|
20653
|
+
if (opt.interpolation)
|
|
20577
20654
|
this.interpolator.reset();
|
|
20578
20655
|
}
|
|
20579
|
-
const postProcess =
|
|
20656
|
+
const postProcess = opt.postProcess || this.options.postProcess;
|
|
20580
20657
|
const postProcessorNames = isString(postProcess) ? [postProcess] : postProcess;
|
|
20581
|
-
if (res
|
|
20658
|
+
if (res != null && postProcessorNames?.length && opt.applyPostProcessor !== false) {
|
|
20659
|
+
postProcessorNames.forEach((name) => {
|
|
20660
|
+
if (this.logger.debug && postProcessor.processors[name] && this.ownPostProcessors && !this.ownPostProcessors.has(name)) {
|
|
20661
|
+
this.logger.once(name, "deprecate", `postProcess: '${name}' was registered with use() on another i18next instance; from v27 post-processors are per instance, so call use() with it on this instance too`);
|
|
20662
|
+
}
|
|
20663
|
+
});
|
|
20582
20664
|
res = postProcessor.handle(postProcessorNames, res, key, this.options && this.options.postProcessPassResolved ? {
|
|
20583
20665
|
i18nResolved: {
|
|
20584
20666
|
...resolved,
|
|
20585
|
-
usedParams: this.getUsedParamsDetails(
|
|
20667
|
+
usedParams: this.getUsedParamsDetails(opt)
|
|
20586
20668
|
},
|
|
20587
|
-
...
|
|
20588
|
-
} :
|
|
20669
|
+
...opt
|
|
20670
|
+
} : opt, this);
|
|
20589
20671
|
}
|
|
20590
20672
|
return res;
|
|
20591
20673
|
}
|
|
20592
|
-
resolve(keys) {
|
|
20593
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
20674
|
+
resolve(keys, opt = {}) {
|
|
20594
20675
|
let found;
|
|
20595
20676
|
let usedKey;
|
|
20596
20677
|
let exactUsedKey;
|
|
@@ -20598,25 +20679,30 @@ class Translator extends EventEmitter {
|
|
|
20598
20679
|
let usedNS;
|
|
20599
20680
|
if (isString(keys))
|
|
20600
20681
|
keys = [keys];
|
|
20682
|
+
if (Array.isArray(keys))
|
|
20683
|
+
keys = keys.map((k) => typeof k === "function" ? keysFromSelector(k, {
|
|
20684
|
+
...this.options,
|
|
20685
|
+
...opt
|
|
20686
|
+
}) : k);
|
|
20601
20687
|
keys.forEach((k) => {
|
|
20602
20688
|
if (this.isValidLookup(found))
|
|
20603
20689
|
return;
|
|
20604
|
-
const extracted = this.extractFromKey(k,
|
|
20690
|
+
const extracted = this.extractFromKey(k, opt);
|
|
20605
20691
|
const key = extracted.key;
|
|
20606
20692
|
usedKey = key;
|
|
20607
20693
|
let namespaces = extracted.namespaces;
|
|
20608
20694
|
if (this.options.fallbackNS)
|
|
20609
20695
|
namespaces = namespaces.concat(this.options.fallbackNS);
|
|
20610
|
-
const needsPluralHandling =
|
|
20611
|
-
const needsZeroSuffixLookup = needsPluralHandling && !
|
|
20612
|
-
const needsContextHandling =
|
|
20613
|
-
const codes =
|
|
20696
|
+
const needsPluralHandling = opt.count !== undefined && !isString(opt.count);
|
|
20697
|
+
const needsZeroSuffixLookup = needsPluralHandling && !opt.ordinal && opt.count === 0;
|
|
20698
|
+
const needsContextHandling = opt.context !== undefined && (isString(opt.context) || typeof opt.context === "number") && opt.context !== "";
|
|
20699
|
+
const codes = opt.lngs ? opt.lngs : this.languageUtils.toResolveHierarchy(opt.lng || this.language, opt.fallbackLng);
|
|
20614
20700
|
namespaces.forEach((ns) => {
|
|
20615
20701
|
if (this.isValidLookup(found))
|
|
20616
20702
|
return;
|
|
20617
20703
|
usedNS = ns;
|
|
20618
|
-
if (!checkedLoadedFor[`${codes[0]}-${ns}`] && this.utils
|
|
20619
|
-
checkedLoadedFor[`${codes[0]}-${ns}`] = true;
|
|
20704
|
+
if (!this.checkedLoadedFor[`${codes[0]}-${ns}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(usedNS)) {
|
|
20705
|
+
this.checkedLoadedFor[`${codes[0]}-${ns}`] = true;
|
|
20620
20706
|
this.logger.warn(`key "${usedKey}" for languages "${codes.join(", ")}" won't get resolved as namespace "${usedNS}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");
|
|
20621
20707
|
}
|
|
20622
20708
|
codes.forEach((code) => {
|
|
@@ -20624,31 +20710,31 @@ class Translator extends EventEmitter {
|
|
|
20624
20710
|
return;
|
|
20625
20711
|
usedLng = code;
|
|
20626
20712
|
const finalKeys = [key];
|
|
20627
|
-
if (this.i18nFormat
|
|
20628
|
-
this.i18nFormat.addLookupKeys(finalKeys, key, code, ns,
|
|
20713
|
+
if (this.i18nFormat?.addLookupKeys) {
|
|
20714
|
+
this.i18nFormat.addLookupKeys(finalKeys, key, code, ns, opt);
|
|
20629
20715
|
} else {
|
|
20630
20716
|
let pluralSuffix;
|
|
20631
20717
|
if (needsPluralHandling)
|
|
20632
|
-
pluralSuffix = this.pluralResolver.getSuffix(code,
|
|
20718
|
+
pluralSuffix = this.pluralResolver.getSuffix(code, opt.count, opt);
|
|
20633
20719
|
const zeroSuffix = `${this.options.pluralSeparator}zero`;
|
|
20634
20720
|
const ordinalPrefix = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
20635
20721
|
if (needsPluralHandling) {
|
|
20636
|
-
|
|
20637
|
-
if (options.ordinal && pluralSuffix.indexOf(ordinalPrefix) === 0) {
|
|
20722
|
+
if (opt.ordinal && pluralSuffix.startsWith(ordinalPrefix)) {
|
|
20638
20723
|
finalKeys.push(key + pluralSuffix.replace(ordinalPrefix, this.options.pluralSeparator));
|
|
20639
20724
|
}
|
|
20725
|
+
finalKeys.push(key + pluralSuffix);
|
|
20640
20726
|
if (needsZeroSuffixLookup) {
|
|
20641
20727
|
finalKeys.push(key + zeroSuffix);
|
|
20642
20728
|
}
|
|
20643
20729
|
}
|
|
20644
20730
|
if (needsContextHandling) {
|
|
20645
|
-
const contextKey = `${key}${this.options.contextSeparator}${
|
|
20731
|
+
const contextKey = `${key}${this.options.contextSeparator || "_"}${opt.context}`;
|
|
20646
20732
|
finalKeys.push(contextKey);
|
|
20647
20733
|
if (needsPluralHandling) {
|
|
20648
|
-
|
|
20649
|
-
if (options.ordinal && pluralSuffix.indexOf(ordinalPrefix) === 0) {
|
|
20734
|
+
if (opt.ordinal && pluralSuffix.startsWith(ordinalPrefix)) {
|
|
20650
20735
|
finalKeys.push(contextKey + pluralSuffix.replace(ordinalPrefix, this.options.pluralSeparator));
|
|
20651
20736
|
}
|
|
20737
|
+
finalKeys.push(contextKey + pluralSuffix);
|
|
20652
20738
|
if (needsZeroSuffixLookup) {
|
|
20653
20739
|
finalKeys.push(contextKey + zeroSuffix);
|
|
20654
20740
|
}
|
|
@@ -20659,7 +20745,7 @@ class Translator extends EventEmitter {
|
|
|
20659
20745
|
while (possibleKey = finalKeys.pop()) {
|
|
20660
20746
|
if (!this.isValidLookup(found)) {
|
|
20661
20747
|
exactUsedKey = possibleKey;
|
|
20662
|
-
found = this.getResource(code, ns, possibleKey,
|
|
20748
|
+
found = this.getResource(code, ns, possibleKey, opt);
|
|
20663
20749
|
}
|
|
20664
20750
|
}
|
|
20665
20751
|
});
|
|
@@ -20676,19 +20762,20 @@ class Translator extends EventEmitter {
|
|
|
20676
20762
|
isValidLookup(res) {
|
|
20677
20763
|
return res !== undefined && !(!this.options.returnNull && res === null) && !(!this.options.returnEmptyString && res === "");
|
|
20678
20764
|
}
|
|
20679
|
-
getResource(code, ns, key) {
|
|
20680
|
-
|
|
20681
|
-
if (this.i18nFormat && this.i18nFormat.getResource)
|
|
20765
|
+
getResource(code, ns, key, options = {}) {
|
|
20766
|
+
if (this.i18nFormat?.getResource)
|
|
20682
20767
|
return this.i18nFormat.getResource(code, ns, key, options);
|
|
20683
20768
|
return this.resourceStore.getResource(code, ns, key, options);
|
|
20684
20769
|
}
|
|
20685
|
-
getUsedParamsDetails() {
|
|
20686
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
20770
|
+
getUsedParamsDetails(options = {}) {
|
|
20687
20771
|
const optionsKeys = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"];
|
|
20688
20772
|
const useOptionsReplaceForData = options.replace && !isString(options.replace);
|
|
20689
20773
|
let data = useOptionsReplaceForData ? options.replace : options;
|
|
20690
20774
|
if (useOptionsReplaceForData && typeof options.count !== "undefined") {
|
|
20691
|
-
data
|
|
20775
|
+
data = {
|
|
20776
|
+
...data,
|
|
20777
|
+
count: options.count
|
|
20778
|
+
};
|
|
20692
20779
|
}
|
|
20693
20780
|
if (this.options.interpolation.defaultVariables) {
|
|
20694
20781
|
data = {
|
|
@@ -20709,24 +20796,27 @@ class Translator extends EventEmitter {
|
|
|
20709
20796
|
static hasDefaultValue(options) {
|
|
20710
20797
|
const prefix = "defaultValue";
|
|
20711
20798
|
for (const option in options) {
|
|
20712
|
-
if (Object.prototype.hasOwnProperty.call(options, option) &&
|
|
20799
|
+
if (Object.prototype.hasOwnProperty.call(options, option) && option.startsWith(prefix) && options[option] !== undefined) {
|
|
20713
20800
|
return true;
|
|
20714
20801
|
}
|
|
20715
20802
|
}
|
|
20716
20803
|
return false;
|
|
20717
20804
|
}
|
|
20718
20805
|
}
|
|
20719
|
-
var capitalize = (string) => string.charAt(0).toUpperCase() + string.slice(1);
|
|
20720
20806
|
|
|
20721
20807
|
class LanguageUtil {
|
|
20722
20808
|
constructor(options) {
|
|
20723
20809
|
this.options = options;
|
|
20724
20810
|
this.supportedLngs = this.options.supportedLngs || false;
|
|
20725
20811
|
this.logger = baseLogger.create("languageUtils");
|
|
20812
|
+
this.resolveHierarchyCache = {};
|
|
20813
|
+
}
|
|
20814
|
+
clearCache() {
|
|
20815
|
+
this.resolveHierarchyCache = {};
|
|
20726
20816
|
}
|
|
20727
20817
|
getScriptPartFromCode(code) {
|
|
20728
20818
|
code = getCleanedCode(code);
|
|
20729
|
-
if (!code || code.
|
|
20819
|
+
if (!code || !code.includes("-"))
|
|
20730
20820
|
return null;
|
|
20731
20821
|
const p = code.split("-");
|
|
20732
20822
|
if (p.length === 2)
|
|
@@ -20738,52 +20828,51 @@ class LanguageUtil {
|
|
|
20738
20828
|
}
|
|
20739
20829
|
getLanguagePartFromCode(code) {
|
|
20740
20830
|
code = getCleanedCode(code);
|
|
20741
|
-
if (!code || code.
|
|
20831
|
+
if (!code || !code.includes("-"))
|
|
20742
20832
|
return code;
|
|
20743
20833
|
const p = code.split("-");
|
|
20744
20834
|
return this.formatLanguageCode(p[0]);
|
|
20745
20835
|
}
|
|
20746
20836
|
formatLanguageCode(code) {
|
|
20747
|
-
if (isString(code) && code.
|
|
20748
|
-
|
|
20749
|
-
|
|
20750
|
-
|
|
20751
|
-
|
|
20752
|
-
|
|
20753
|
-
|
|
20754
|
-
if (formattedCode)
|
|
20755
|
-
return formattedCode;
|
|
20756
|
-
} catch (e) {}
|
|
20837
|
+
if (isString(code) && code.includes("-")) {
|
|
20838
|
+
let formattedCode;
|
|
20839
|
+
try {
|
|
20840
|
+
formattedCode = Intl.getCanonicalLocales(code)[0];
|
|
20841
|
+
} catch (e) {}
|
|
20842
|
+
if (formattedCode && this.options.lowerCaseLng) {
|
|
20843
|
+
formattedCode = formattedCode.toLowerCase();
|
|
20757
20844
|
}
|
|
20758
|
-
|
|
20759
|
-
|
|
20845
|
+
if (formattedCode)
|
|
20846
|
+
return formattedCode;
|
|
20760
20847
|
if (this.options.lowerCaseLng) {
|
|
20761
|
-
|
|
20762
|
-
}
|
|
20763
|
-
|
|
20764
|
-
|
|
20765
|
-
|
|
20766
|
-
|
|
20767
|
-
|
|
20768
|
-
|
|
20769
|
-
|
|
20770
|
-
|
|
20771
|
-
|
|
20772
|
-
|
|
20773
|
-
|
|
20774
|
-
|
|
20775
|
-
|
|
20776
|
-
|
|
20777
|
-
|
|
20778
|
-
|
|
20779
|
-
|
|
20780
|
-
|
|
20848
|
+
return code.toLowerCase();
|
|
20849
|
+
}
|
|
20850
|
+
return code;
|
|
20851
|
+
}
|
|
20852
|
+
const formatted = this.options.cleanCode || this.options.lowerCaseLng ? code.toLowerCase() : code;
|
|
20853
|
+
if (this.logger.debug && isString(code))
|
|
20854
|
+
this.deprecateBareCode(code, formatted);
|
|
20855
|
+
return formatted;
|
|
20856
|
+
}
|
|
20857
|
+
deprecateBareCode(code, formatted) {
|
|
20858
|
+
let canonical;
|
|
20859
|
+
try {
|
|
20860
|
+
canonical = Intl.getCanonicalLocales(code)[0];
|
|
20861
|
+
} catch (e) {
|
|
20862
|
+
return;
|
|
20863
|
+
}
|
|
20864
|
+
let v27 = canonical.toLowerCase() === code.toLowerCase() ? canonical : code.toLowerCase();
|
|
20865
|
+
if (this.options.lowerCaseLng)
|
|
20866
|
+
v27 = v27.toLowerCase();
|
|
20867
|
+
if (v27 === formatted)
|
|
20868
|
+
return;
|
|
20869
|
+
this.logger.once(code, "deprecate", `language code '${code}' is used as '${formatted}'; i18next v27 gives it the canonical casing '${v27}', use '${v27}' in lng, fallbackLng, supportedLngs and the resources`);
|
|
20781
20870
|
}
|
|
20782
20871
|
isSupportedCode(code) {
|
|
20783
20872
|
if (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) {
|
|
20784
20873
|
code = this.getLanguagePartFromCode(code);
|
|
20785
20874
|
}
|
|
20786
|
-
return !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.
|
|
20875
|
+
return !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.includes(code);
|
|
20787
20876
|
}
|
|
20788
20877
|
getBestMatchFromCodes(codes) {
|
|
20789
20878
|
if (!codes)
|
|
@@ -20800,18 +20889,20 @@ class LanguageUtil {
|
|
|
20800
20889
|
codes.forEach((code) => {
|
|
20801
20890
|
if (found)
|
|
20802
20891
|
return;
|
|
20892
|
+
const lngScOnly = this.getScriptPartFromCode(code);
|
|
20893
|
+
if (this.isSupportedCode(lngScOnly))
|
|
20894
|
+
return found = lngScOnly;
|
|
20803
20895
|
const lngOnly = this.getLanguagePartFromCode(code);
|
|
20804
20896
|
if (this.isSupportedCode(lngOnly))
|
|
20805
20897
|
return found = lngOnly;
|
|
20806
20898
|
found = this.options.supportedLngs.find((supportedLng) => {
|
|
20807
20899
|
if (supportedLng === lngOnly)
|
|
20808
|
-
return
|
|
20809
|
-
if (supportedLng.
|
|
20810
|
-
return;
|
|
20811
|
-
if (supportedLng.
|
|
20812
|
-
return
|
|
20813
|
-
|
|
20814
|
-
return supportedLng;
|
|
20900
|
+
return true;
|
|
20901
|
+
if (!supportedLng.includes("-") && !lngOnly.includes("-"))
|
|
20902
|
+
return false;
|
|
20903
|
+
if (supportedLng.includes("-") && !lngOnly.includes("-") && supportedLng.slice(0, supportedLng.indexOf("-")) === lngOnly)
|
|
20904
|
+
return true;
|
|
20905
|
+
return false;
|
|
20815
20906
|
});
|
|
20816
20907
|
});
|
|
20817
20908
|
}
|
|
@@ -20842,7 +20933,32 @@ class LanguageUtil {
|
|
|
20842
20933
|
return found || [];
|
|
20843
20934
|
}
|
|
20844
20935
|
toResolveHierarchy(code, fallbackCode) {
|
|
20845
|
-
const
|
|
20936
|
+
const fallbackLng = this.options.fallbackLng;
|
|
20937
|
+
const fallbackLngKey = Array.isArray(fallbackLng) ? fallbackLng.join("|") : fallbackLng;
|
|
20938
|
+
if (fallbackLngKey !== this._cachedFallbackLng) {
|
|
20939
|
+
this.resolveHierarchyCache = {};
|
|
20940
|
+
this._cachedFallbackLng = fallbackLngKey;
|
|
20941
|
+
}
|
|
20942
|
+
const hasCacheableFallback = fallbackCode === undefined || fallbackCode === false || isString(fallbackCode);
|
|
20943
|
+
const usesUncacheableOptionsFallback = fallbackCode === undefined && typeof this.options.fallbackLng === "function";
|
|
20944
|
+
const cacheable = isString(code) && hasCacheableFallback && !usesUncacheableOptionsFallback;
|
|
20945
|
+
let cacheKey = null;
|
|
20946
|
+
if (cacheable) {
|
|
20947
|
+
let fallbackCacheKey;
|
|
20948
|
+
if (fallbackCode === undefined)
|
|
20949
|
+
fallbackCacheKey = "undefined";
|
|
20950
|
+
else if (fallbackCode === false)
|
|
20951
|
+
fallbackCacheKey = "boolean:false";
|
|
20952
|
+
else
|
|
20953
|
+
fallbackCacheKey = `string:${fallbackCode}`;
|
|
20954
|
+
cacheKey = `${code.length}:${code}|${fallbackCacheKey}`;
|
|
20955
|
+
}
|
|
20956
|
+
if (cacheKey !== null) {
|
|
20957
|
+
const cached = this.resolveHierarchyCache[cacheKey];
|
|
20958
|
+
if (cached !== undefined)
|
|
20959
|
+
return cached.slice();
|
|
20960
|
+
}
|
|
20961
|
+
const fallbackCodes = this.getFallbackCodes((fallbackCode === false ? [] : fallbackCode) || this.options.fallbackLng || [], code);
|
|
20846
20962
|
const codes = [];
|
|
20847
20963
|
const addCode = (c) => {
|
|
20848
20964
|
if (!c)
|
|
@@ -20853,7 +20969,7 @@ class LanguageUtil {
|
|
|
20853
20969
|
this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`);
|
|
20854
20970
|
}
|
|
20855
20971
|
};
|
|
20856
|
-
if (isString(code) && (code.
|
|
20972
|
+
if (isString(code) && (code.includes("-") || code.includes("_"))) {
|
|
20857
20973
|
if (this.options.load !== "languageOnly")
|
|
20858
20974
|
addCode(this.formatLanguageCode(code));
|
|
20859
20975
|
if (this.options.load !== "languageOnly" && this.options.load !== "currentOnly")
|
|
@@ -20864,131 +20980,17 @@ class LanguageUtil {
|
|
|
20864
20980
|
addCode(this.formatLanguageCode(code));
|
|
20865
20981
|
}
|
|
20866
20982
|
fallbackCodes.forEach((fc) => {
|
|
20867
|
-
|
|
20868
|
-
|
|
20983
|
+
const formattedFc = this.formatLanguageCode(fc);
|
|
20984
|
+
if (!codes.includes(formattedFc))
|
|
20985
|
+
addCode(formattedFc);
|
|
20869
20986
|
});
|
|
20987
|
+
if (cacheKey !== null) {
|
|
20988
|
+
this.resolveHierarchyCache[cacheKey] = codes;
|
|
20989
|
+
return codes.slice();
|
|
20990
|
+
}
|
|
20870
20991
|
return codes;
|
|
20871
20992
|
}
|
|
20872
20993
|
}
|
|
20873
|
-
var sets = [{
|
|
20874
|
-
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
20875
|
-
nr: [1, 2],
|
|
20876
|
-
fc: 1
|
|
20877
|
-
}, {
|
|
20878
|
-
lngs: ["af", "an", "ast", "az", "bg", "bn", "ca", "da", "de", "dev", "el", "en", "eo", "es", "et", "eu", "fi", "fo", "fur", "fy", "gl", "gu", "ha", "hi", "hu", "hy", "ia", "it", "kk", "kn", "ku", "lb", "mai", "ml", "mn", "mr", "nah", "nap", "nb", "ne", "nl", "nn", "no", "nso", "pa", "pap", "pms", "ps", "pt-PT", "rm", "sco", "se", "si", "so", "son", "sq", "sv", "sw", "ta", "te", "tk", "ur", "yo"],
|
|
20879
|
-
nr: [1, 2],
|
|
20880
|
-
fc: 2
|
|
20881
|
-
}, {
|
|
20882
|
-
lngs: ["ay", "bo", "cgg", "fa", "ht", "id", "ja", "jbo", "ka", "km", "ko", "ky", "lo", "ms", "sah", "su", "th", "tt", "ug", "vi", "wo", "zh"],
|
|
20883
|
-
nr: [1],
|
|
20884
|
-
fc: 3
|
|
20885
|
-
}, {
|
|
20886
|
-
lngs: ["be", "bs", "cnr", "dz", "hr", "ru", "sr", "uk"],
|
|
20887
|
-
nr: [1, 2, 5],
|
|
20888
|
-
fc: 4
|
|
20889
|
-
}, {
|
|
20890
|
-
lngs: ["ar"],
|
|
20891
|
-
nr: [0, 1, 2, 3, 11, 100],
|
|
20892
|
-
fc: 5
|
|
20893
|
-
}, {
|
|
20894
|
-
lngs: ["cs", "sk"],
|
|
20895
|
-
nr: [1, 2, 5],
|
|
20896
|
-
fc: 6
|
|
20897
|
-
}, {
|
|
20898
|
-
lngs: ["csb", "pl"],
|
|
20899
|
-
nr: [1, 2, 5],
|
|
20900
|
-
fc: 7
|
|
20901
|
-
}, {
|
|
20902
|
-
lngs: ["cy"],
|
|
20903
|
-
nr: [1, 2, 3, 8],
|
|
20904
|
-
fc: 8
|
|
20905
|
-
}, {
|
|
20906
|
-
lngs: ["fr"],
|
|
20907
|
-
nr: [1, 2],
|
|
20908
|
-
fc: 9
|
|
20909
|
-
}, {
|
|
20910
|
-
lngs: ["ga"],
|
|
20911
|
-
nr: [1, 2, 3, 7, 11],
|
|
20912
|
-
fc: 10
|
|
20913
|
-
}, {
|
|
20914
|
-
lngs: ["gd"],
|
|
20915
|
-
nr: [1, 2, 3, 20],
|
|
20916
|
-
fc: 11
|
|
20917
|
-
}, {
|
|
20918
|
-
lngs: ["is"],
|
|
20919
|
-
nr: [1, 2],
|
|
20920
|
-
fc: 12
|
|
20921
|
-
}, {
|
|
20922
|
-
lngs: ["jv"],
|
|
20923
|
-
nr: [0, 1],
|
|
20924
|
-
fc: 13
|
|
20925
|
-
}, {
|
|
20926
|
-
lngs: ["kw"],
|
|
20927
|
-
nr: [1, 2, 3, 4],
|
|
20928
|
-
fc: 14
|
|
20929
|
-
}, {
|
|
20930
|
-
lngs: ["lt"],
|
|
20931
|
-
nr: [1, 2, 10],
|
|
20932
|
-
fc: 15
|
|
20933
|
-
}, {
|
|
20934
|
-
lngs: ["lv"],
|
|
20935
|
-
nr: [1, 2, 0],
|
|
20936
|
-
fc: 16
|
|
20937
|
-
}, {
|
|
20938
|
-
lngs: ["mk"],
|
|
20939
|
-
nr: [1, 2],
|
|
20940
|
-
fc: 17
|
|
20941
|
-
}, {
|
|
20942
|
-
lngs: ["mnk"],
|
|
20943
|
-
nr: [0, 1, 2],
|
|
20944
|
-
fc: 18
|
|
20945
|
-
}, {
|
|
20946
|
-
lngs: ["mt"],
|
|
20947
|
-
nr: [1, 2, 11, 20],
|
|
20948
|
-
fc: 19
|
|
20949
|
-
}, {
|
|
20950
|
-
lngs: ["or"],
|
|
20951
|
-
nr: [2, 1],
|
|
20952
|
-
fc: 2
|
|
20953
|
-
}, {
|
|
20954
|
-
lngs: ["ro"],
|
|
20955
|
-
nr: [1, 2, 20],
|
|
20956
|
-
fc: 20
|
|
20957
|
-
}, {
|
|
20958
|
-
lngs: ["sl"],
|
|
20959
|
-
nr: [5, 1, 2, 3],
|
|
20960
|
-
fc: 21
|
|
20961
|
-
}, {
|
|
20962
|
-
lngs: ["he", "iw"],
|
|
20963
|
-
nr: [1, 2, 20, 21],
|
|
20964
|
-
fc: 22
|
|
20965
|
-
}];
|
|
20966
|
-
var _rulesPluralsTypes = {
|
|
20967
|
-
1: (n) => Number(n > 1),
|
|
20968
|
-
2: (n) => Number(n != 1),
|
|
20969
|
-
3: (n) => 0,
|
|
20970
|
-
4: (n) => Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2),
|
|
20971
|
-
5: (n) => Number(n == 0 ? 0 : n == 1 ? 1 : n == 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5),
|
|
20972
|
-
6: (n) => Number(n == 1 ? 0 : n >= 2 && n <= 4 ? 1 : 2),
|
|
20973
|
-
7: (n) => Number(n == 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2),
|
|
20974
|
-
8: (n) => Number(n == 1 ? 0 : n == 2 ? 1 : n != 8 && n != 11 ? 2 : 3),
|
|
20975
|
-
9: (n) => Number(n >= 2),
|
|
20976
|
-
10: (n) => Number(n == 1 ? 0 : n == 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4),
|
|
20977
|
-
11: (n) => Number(n == 1 || n == 11 ? 0 : n == 2 || n == 12 ? 1 : n > 2 && n < 20 ? 2 : 3),
|
|
20978
|
-
12: (n) => Number(n % 10 != 1 || n % 100 == 11),
|
|
20979
|
-
13: (n) => Number(n !== 0),
|
|
20980
|
-
14: (n) => Number(n == 1 ? 0 : n == 2 ? 1 : n == 3 ? 2 : 3),
|
|
20981
|
-
15: (n) => Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2),
|
|
20982
|
-
16: (n) => Number(n % 10 == 1 && n % 100 != 11 ? 0 : n !== 0 ? 1 : 2),
|
|
20983
|
-
17: (n) => Number(n == 1 || n % 10 == 1 && n % 100 != 11 ? 0 : 1),
|
|
20984
|
-
18: (n) => Number(n == 0 ? 0 : n == 1 ? 1 : 2),
|
|
20985
|
-
19: (n) => Number(n == 1 ? 0 : n == 0 || n % 100 > 1 && n % 100 < 11 ? 1 : n % 100 > 10 && n % 100 < 20 ? 2 : 3),
|
|
20986
|
-
20: (n) => Number(n == 1 ? 0 : n == 0 || n % 100 > 0 && n % 100 < 20 ? 1 : 2),
|
|
20987
|
-
21: (n) => Number(n % 100 == 1 ? 1 : n % 100 == 2 ? 2 : n % 100 == 3 || n % 100 == 4 ? 3 : 0),
|
|
20988
|
-
22: (n) => Number(n == 1 ? 0 : n == 2 ? 1 : (n < 0 || n > 10) && n % 10 == 0 ? 2 : 3)
|
|
20989
|
-
};
|
|
20990
|
-
var nonIntlVersions = ["v1", "v2", "v3"];
|
|
20991
|
-
var intlVersions = ["v4"];
|
|
20992
20994
|
var suffixesOrder = {
|
|
20993
20995
|
zero: 0,
|
|
20994
20996
|
one: 1,
|
|
@@ -20997,152 +20999,95 @@ var suffixesOrder = {
|
|
|
20997
20999
|
many: 4,
|
|
20998
21000
|
other: 5
|
|
20999
21001
|
};
|
|
21000
|
-
var
|
|
21001
|
-
|
|
21002
|
-
|
|
21003
|
-
|
|
21004
|
-
|
|
21005
|
-
numbers: set.nr,
|
|
21006
|
-
plurals: _rulesPluralsTypes[set.fc]
|
|
21007
|
-
};
|
|
21008
|
-
});
|
|
21009
|
-
});
|
|
21010
|
-
return rules;
|
|
21002
|
+
var dummyRule = {
|
|
21003
|
+
select: (count) => count === 1 ? "one" : "other",
|
|
21004
|
+
resolvedOptions: () => ({
|
|
21005
|
+
pluralCategories: ["one", "other"]
|
|
21006
|
+
})
|
|
21011
21007
|
};
|
|
21012
21008
|
|
|
21013
21009
|
class PluralResolver {
|
|
21014
|
-
constructor(languageUtils) {
|
|
21015
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
21010
|
+
constructor(languageUtils, options = {}) {
|
|
21016
21011
|
this.languageUtils = languageUtils;
|
|
21017
21012
|
this.options = options;
|
|
21018
21013
|
this.logger = baseLogger.create("pluralResolver");
|
|
21019
|
-
if ((!this.options.compatibilityJSON || intlVersions.includes(this.options.compatibilityJSON)) && (typeof Intl === "undefined" || !Intl.PluralRules)) {
|
|
21020
|
-
this.options.compatibilityJSON = "v3";
|
|
21021
|
-
this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.");
|
|
21022
|
-
}
|
|
21023
|
-
this.rules = createRules();
|
|
21024
21014
|
this.pluralRulesCache = {};
|
|
21025
21015
|
}
|
|
21026
|
-
addRule(lng, obj) {
|
|
21027
|
-
this.rules[lng] = obj;
|
|
21028
|
-
}
|
|
21029
21016
|
clearCache() {
|
|
21030
21017
|
this.pluralRulesCache = {};
|
|
21031
21018
|
}
|
|
21032
|
-
getRule(code) {
|
|
21033
|
-
|
|
21034
|
-
|
|
21035
|
-
|
|
21036
|
-
|
|
21037
|
-
|
|
21038
|
-
|
|
21019
|
+
getRule(code, options = {}) {
|
|
21020
|
+
const cleanedCode = getCleanedCode(code === "dev" ? "en" : code);
|
|
21021
|
+
const type = options.ordinal ? "ordinal" : "cardinal";
|
|
21022
|
+
const cacheKey = JSON.stringify({
|
|
21023
|
+
cleanedCode,
|
|
21024
|
+
type
|
|
21025
|
+
});
|
|
21026
|
+
if (cacheKey in this.pluralRulesCache) {
|
|
21027
|
+
return this.pluralRulesCache[cacheKey];
|
|
21028
|
+
}
|
|
21029
|
+
let rule;
|
|
21030
|
+
try {
|
|
21031
|
+
rule = new Intl.PluralRules(cleanedCode, {
|
|
21039
21032
|
type
|
|
21040
21033
|
});
|
|
21041
|
-
|
|
21042
|
-
|
|
21043
|
-
|
|
21044
|
-
|
|
21045
|
-
try {
|
|
21046
|
-
rule = new Intl.PluralRules(cleanedCode, {
|
|
21047
|
-
type
|
|
21048
|
-
});
|
|
21049
|
-
} catch (err) {
|
|
21050
|
-
if (!code.match(/-|_/))
|
|
21051
|
-
return;
|
|
21052
|
-
const lngPart = this.languageUtils.getLanguagePartFromCode(code);
|
|
21053
|
-
rule = this.getRule(lngPart, options);
|
|
21034
|
+
} catch (err) {
|
|
21035
|
+
if (typeof Intl === "undefined") {
|
|
21036
|
+
this.logger.error("No Intl support, please use an Intl polyfill!");
|
|
21037
|
+
return dummyRule;
|
|
21054
21038
|
}
|
|
21055
|
-
|
|
21056
|
-
|
|
21039
|
+
if (!code.match(/-|_/))
|
|
21040
|
+
return dummyRule;
|
|
21041
|
+
const lngPart = this.languageUtils.getLanguagePartFromCode(code);
|
|
21042
|
+
rule = this.getRule(lngPart, options);
|
|
21057
21043
|
}
|
|
21058
|
-
|
|
21044
|
+
this.pluralRulesCache[cacheKey] = rule;
|
|
21045
|
+
return rule;
|
|
21059
21046
|
}
|
|
21060
|
-
needsPlural(code) {
|
|
21061
|
-
let
|
|
21062
|
-
|
|
21063
|
-
|
|
21064
|
-
|
|
21065
|
-
}
|
|
21066
|
-
return rule && rule.numbers.length > 1;
|
|
21047
|
+
needsPlural(code, options = {}) {
|
|
21048
|
+
let rule = this.getRule(code, options);
|
|
21049
|
+
if (!rule)
|
|
21050
|
+
rule = this.getRule("dev", options);
|
|
21051
|
+
return rule?.resolvedOptions().pluralCategories.length > 1;
|
|
21067
21052
|
}
|
|
21068
|
-
getPluralFormsOfKey(code, key) {
|
|
21069
|
-
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
21053
|
+
getPluralFormsOfKey(code, key, options = {}) {
|
|
21070
21054
|
return this.getSuffixes(code, options).map((suffix) => `${key}${suffix}`);
|
|
21071
21055
|
}
|
|
21072
|
-
getSuffixes(code) {
|
|
21073
|
-
let
|
|
21074
|
-
|
|
21075
|
-
|
|
21056
|
+
getSuffixes(code, options = {}) {
|
|
21057
|
+
let rule = this.getRule(code, options);
|
|
21058
|
+
if (!rule)
|
|
21059
|
+
rule = this.getRule("dev", options);
|
|
21060
|
+
if (!rule)
|
|
21076
21061
|
return [];
|
|
21077
|
-
}
|
|
21078
|
-
if (this.shouldUseIntlApi()) {
|
|
21079
|
-
return rule.resolvedOptions().pluralCategories.sort((pluralCategory1, pluralCategory2) => suffixesOrder[pluralCategory1] - suffixesOrder[pluralCategory2]).map((pluralCategory) => `${this.options.prepend}${options.ordinal ? `ordinal${this.options.prepend}` : ""}${pluralCategory}`);
|
|
21080
|
-
}
|
|
21081
|
-
return rule.numbers.map((number) => this.getSuffix(code, number, options));
|
|
21062
|
+
return rule.resolvedOptions().pluralCategories.sort((pluralCategory1, pluralCategory2) => suffixesOrder[pluralCategory1] - suffixesOrder[pluralCategory2]).map((pluralCategory) => `${this.options.prepend}${options.ordinal ? `ordinal${this.options.prepend}` : ""}${pluralCategory}`);
|
|
21082
21063
|
}
|
|
21083
|
-
getSuffix(code, count) {
|
|
21084
|
-
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
21064
|
+
getSuffix(code, count, options = {}) {
|
|
21085
21065
|
const rule = this.getRule(code, options);
|
|
21086
21066
|
if (rule) {
|
|
21087
|
-
|
|
21088
|
-
return `${this.options.prepend}${options.ordinal ? `ordinal${this.options.prepend}` : ""}${rule.select(count)}`;
|
|
21089
|
-
}
|
|
21090
|
-
return this.getSuffixRetroCompatible(rule, count);
|
|
21067
|
+
return `${this.options.prepend}${options.ordinal ? `ordinal${this.options.prepend}` : ""}${rule.select(count)}`;
|
|
21091
21068
|
}
|
|
21092
21069
|
this.logger.warn(`no plural rule found for: ${code}`);
|
|
21093
|
-
return "";
|
|
21094
|
-
}
|
|
21095
|
-
getSuffixRetroCompatible(rule, count) {
|
|
21096
|
-
const idx = rule.noAbs ? rule.plurals(count) : rule.plurals(Math.abs(count));
|
|
21097
|
-
let suffix = rule.numbers[idx];
|
|
21098
|
-
if (this.options.simplifyPluralSuffix && rule.numbers.length === 2 && rule.numbers[0] === 1) {
|
|
21099
|
-
if (suffix === 2) {
|
|
21100
|
-
suffix = "plural";
|
|
21101
|
-
} else if (suffix === 1) {
|
|
21102
|
-
suffix = "";
|
|
21103
|
-
}
|
|
21104
|
-
}
|
|
21105
|
-
const returnSuffix = () => this.options.prepend && suffix.toString() ? this.options.prepend + suffix.toString() : suffix.toString();
|
|
21106
|
-
if (this.options.compatibilityJSON === "v1") {
|
|
21107
|
-
if (suffix === 1)
|
|
21108
|
-
return "";
|
|
21109
|
-
if (typeof suffix === "number")
|
|
21110
|
-
return `_plural_${suffix.toString()}`;
|
|
21111
|
-
return returnSuffix();
|
|
21112
|
-
} else if (this.options.compatibilityJSON === "v2") {
|
|
21113
|
-
return returnSuffix();
|
|
21114
|
-
} else if (this.options.simplifyPluralSuffix && rule.numbers.length === 2 && rule.numbers[0] === 1) {
|
|
21115
|
-
return returnSuffix();
|
|
21116
|
-
}
|
|
21117
|
-
return this.options.prepend && idx.toString() ? this.options.prepend + idx.toString() : idx.toString();
|
|
21118
|
-
}
|
|
21119
|
-
shouldUseIntlApi() {
|
|
21120
|
-
return !nonIntlVersions.includes(this.options.compatibilityJSON);
|
|
21070
|
+
return this.getSuffix("dev", count, options);
|
|
21121
21071
|
}
|
|
21122
21072
|
}
|
|
21123
|
-
var deepFindWithDefaults =
|
|
21124
|
-
let keySeparator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ".";
|
|
21125
|
-
let ignoreJSONStructure = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
21073
|
+
var deepFindWithDefaults = (data, defaultData, key, keySeparator = ".", ignoreJSONStructure = true) => {
|
|
21126
21074
|
let path = getPathWithDefaults(data, defaultData, key);
|
|
21127
|
-
if (
|
|
21075
|
+
if (path == null && ignoreJSONStructure && isString(key)) {
|
|
21128
21076
|
path = deepFind(data, key, keySeparator);
|
|
21129
21077
|
if (path === undefined)
|
|
21130
21078
|
path = deepFind(defaultData, key, keySeparator);
|
|
21131
21079
|
}
|
|
21132
21080
|
return path;
|
|
21133
21081
|
};
|
|
21134
|
-
var regexSafe = (val) => val.replace(/\$/g, "$$$$");
|
|
21135
21082
|
|
|
21136
21083
|
class Interpolator {
|
|
21137
|
-
constructor() {
|
|
21138
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
21084
|
+
constructor(options = {}) {
|
|
21139
21085
|
this.logger = baseLogger.create("interpolator");
|
|
21140
21086
|
this.options = options;
|
|
21141
|
-
this.format = options
|
|
21087
|
+
this.format = options?.interpolation?.format || ((value) => value);
|
|
21142
21088
|
this.init(options);
|
|
21143
21089
|
}
|
|
21144
|
-
init() {
|
|
21145
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
21090
|
+
init(options = {}) {
|
|
21146
21091
|
if (!options.interpolation)
|
|
21147
21092
|
options.interpolation = {
|
|
21148
21093
|
escapeValue: true
|
|
@@ -21166,14 +21111,23 @@ class Interpolator {
|
|
|
21166
21111
|
maxReplaces,
|
|
21167
21112
|
alwaysFormat
|
|
21168
21113
|
} = options.interpolation;
|
|
21114
|
+
if (prefixEscaped || suffixEscaped || nestingPrefixEscaped || nestingSuffixEscaped) {
|
|
21115
|
+
const names = Object.entries({
|
|
21116
|
+
prefixEscaped,
|
|
21117
|
+
suffixEscaped,
|
|
21118
|
+
nestingPrefixEscaped,
|
|
21119
|
+
nestingSuffixEscaped
|
|
21120
|
+
}).filter(([, v]) => v).map(([k]) => k);
|
|
21121
|
+
this.logger.once(names.join(), "deprecate", `interpolation.${names.join(", interpolation.")}: the regex-escaped delimiter options are removed in v27; pass the literal delimiters as prefix, suffix, nestingPrefix and nestingSuffix`);
|
|
21122
|
+
}
|
|
21169
21123
|
this.escape = escape$1 !== undefined ? escape$1 : escape2;
|
|
21170
21124
|
this.escapeValue = escapeValue !== undefined ? escapeValue : true;
|
|
21171
21125
|
this.useRawValueToEscape = useRawValueToEscape !== undefined ? useRawValueToEscape : false;
|
|
21172
21126
|
this.prefix = prefix ? regexEscape(prefix) : prefixEscaped || "{{";
|
|
21173
21127
|
this.suffix = suffix ? regexEscape(suffix) : suffixEscaped || "}}";
|
|
21174
21128
|
this.formatSeparator = formatSeparator || ",";
|
|
21175
|
-
this.unescapePrefix = unescapeSuffix ? "" : unescapePrefix
|
|
21176
|
-
this.unescapeSuffix = this.unescapePrefix ? "" : unescapeSuffix
|
|
21129
|
+
this.unescapePrefix = unescapeSuffix ? "" : unescapePrefix ? regexEscape(unescapePrefix) : "-";
|
|
21130
|
+
this.unescapeSuffix = this.unescapePrefix ? "" : unescapeSuffix ? regexEscape(unescapeSuffix) : "";
|
|
21177
21131
|
this.nestingPrefix = nestingPrefix ? regexEscape(nestingPrefix) : nestingPrefixEscaped || regexEscape("$t(");
|
|
21178
21132
|
this.nestingSuffix = nestingSuffix ? regexEscape(nestingSuffix) : nestingSuffixEscaped || regexEscape(")");
|
|
21179
21133
|
this.nestingOptionsSeparator = nestingOptionsSeparator || ",";
|
|
@@ -21187,7 +21141,7 @@ class Interpolator {
|
|
|
21187
21141
|
}
|
|
21188
21142
|
resetRegExp() {
|
|
21189
21143
|
const getOrResetRegExp = (existingRegExp, pattern) => {
|
|
21190
|
-
if (existingRegExp
|
|
21144
|
+
if (existingRegExp?.source === pattern) {
|
|
21191
21145
|
existingRegExp.lastIndex = 0;
|
|
21192
21146
|
return existingRegExp;
|
|
21193
21147
|
}
|
|
@@ -21195,15 +21149,16 @@ class Interpolator {
|
|
|
21195
21149
|
};
|
|
21196
21150
|
this.regexp = getOrResetRegExp(this.regexp, `${this.prefix}(.+?)${this.suffix}`);
|
|
21197
21151
|
this.regexpUnescape = getOrResetRegExp(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`);
|
|
21198
|
-
this.nestingRegexp = getOrResetRegExp(this.nestingRegexp, `${this.nestingPrefix}(
|
|
21152
|
+
this.nestingRegexp = getOrResetRegExp(this.nestingRegexp, `${this.nestingPrefix}((?:[^()"']|"[^"]*"|'[^']*'|\\((?:[^()"']|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`);
|
|
21199
21153
|
}
|
|
21200
21154
|
interpolate(str, data, lng, options) {
|
|
21201
21155
|
let match;
|
|
21202
21156
|
let value;
|
|
21203
21157
|
let replaces;
|
|
21158
|
+
const original = str;
|
|
21204
21159
|
const defaultData = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
|
|
21205
21160
|
const handleFormat = (key) => {
|
|
21206
|
-
if (key.
|
|
21161
|
+
if (!key.includes(this.formatSeparator)) {
|
|
21207
21162
|
const path = deepFindWithDefaults(data, defaultData, key, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
21208
21163
|
return this.alwaysFormat ? this.format(path, undefined, lng, {
|
|
21209
21164
|
...options,
|
|
@@ -21221,18 +21176,36 @@ class Interpolator {
|
|
|
21221
21176
|
});
|
|
21222
21177
|
};
|
|
21223
21178
|
this.resetRegExp();
|
|
21224
|
-
|
|
21225
|
-
|
|
21179
|
+
if (!this.escapeValue && typeof str === "string" && /\$t\([^)]*\{[^}]*\{\{/.test(str)) {
|
|
21180
|
+
this.logger.warn("nesting options string contains interpolated variables with escapeValue: false — " + "if any of those values are attacker-controlled they can inject additional " + "nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing " + "it to t(), or keep escapeValue: true.");
|
|
21181
|
+
}
|
|
21182
|
+
const missingInterpolationHandler = options?.missingInterpolationHandler || this.options.missingInterpolationHandler;
|
|
21183
|
+
const skipOnVariables = options?.interpolation?.skipOnVariables !== undefined ? options.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
21226
21184
|
const todos = [{
|
|
21227
21185
|
regex: this.regexpUnescape,
|
|
21228
|
-
safeValue: (val) =>
|
|
21186
|
+
safeValue: (val) => val
|
|
21229
21187
|
}, {
|
|
21230
21188
|
regex: this.regexp,
|
|
21231
|
-
safeValue: (val) =>
|
|
21189
|
+
safeValue: (val) => {
|
|
21190
|
+
if (!this.escapeValue)
|
|
21191
|
+
return val;
|
|
21192
|
+
if (this.escape === escape2 && this.options?.interpolation?.escapeValue !== false && isString(val) && val.includes("/")) {
|
|
21193
|
+
this.logger.once("/", "deprecate", "escapeValue renders '/' in a value as '/' today; from v27 the default escape leaves '/' as it is");
|
|
21194
|
+
}
|
|
21195
|
+
return this.escape(val);
|
|
21196
|
+
}
|
|
21232
21197
|
}];
|
|
21198
|
+
const unescapedValues = [];
|
|
21199
|
+
let shift = 0;
|
|
21233
21200
|
todos.forEach((todo) => {
|
|
21234
21201
|
replaces = 0;
|
|
21235
21202
|
while (match = todo.regex.exec(str)) {
|
|
21203
|
+
const at = match.index - shift;
|
|
21204
|
+
const written = unescapedValues.find(([start, end]) => at >= start && at < end);
|
|
21205
|
+
if (written) {
|
|
21206
|
+
todo.regex.lastIndex = written[1] + shift;
|
|
21207
|
+
continue;
|
|
21208
|
+
}
|
|
21236
21209
|
const matchedVar = match[1].trim();
|
|
21237
21210
|
value = handleFormat(matchedVar);
|
|
21238
21211
|
if (value === undefined) {
|
|
@@ -21242,6 +21215,9 @@ class Interpolator {
|
|
|
21242
21215
|
} else if (options && Object.prototype.hasOwnProperty.call(options, matchedVar)) {
|
|
21243
21216
|
value = "";
|
|
21244
21217
|
} else if (skipOnVariables) {
|
|
21218
|
+
if (this.logger.debug) {
|
|
21219
|
+
this.logger.once(`${original}\x00${match[0]}`, "warn", `missed to pass in variable ${matchedVar} for interpolating ${original}`);
|
|
21220
|
+
}
|
|
21245
21221
|
value = match[0];
|
|
21246
21222
|
continue;
|
|
21247
21223
|
} else {
|
|
@@ -21251,10 +21227,15 @@ class Interpolator {
|
|
|
21251
21227
|
} else if (!isString(value) && !this.useRawValueToEscape) {
|
|
21252
21228
|
value = makeString(value);
|
|
21253
21229
|
}
|
|
21254
|
-
const safeValue = todo.safeValue(value);
|
|
21255
|
-
str = str.
|
|
21230
|
+
const safeValue = makeString(todo.safeValue(value));
|
|
21231
|
+
str = str.slice(0, match.index) + safeValue + str.slice(match.index + match[0].length);
|
|
21256
21232
|
if (skipOnVariables) {
|
|
21257
|
-
todo.regex
|
|
21233
|
+
if (todo.regex === this.regexpUnescape) {
|
|
21234
|
+
unescapedValues.push([match.index, match.index + safeValue.length]);
|
|
21235
|
+
} else {
|
|
21236
|
+
shift += safeValue.length - match[0].length;
|
|
21237
|
+
}
|
|
21238
|
+
todo.regex.lastIndex += safeValue.length;
|
|
21258
21239
|
todo.regex.lastIndex -= match[0].length;
|
|
21259
21240
|
} else {
|
|
21260
21241
|
todo.regex.lastIndex = 0;
|
|
@@ -21267,22 +21248,21 @@ class Interpolator {
|
|
|
21267
21248
|
});
|
|
21268
21249
|
return str;
|
|
21269
21250
|
}
|
|
21270
|
-
nest(str, fc) {
|
|
21271
|
-
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
21251
|
+
nest(str, fc, options = {}) {
|
|
21272
21252
|
let match;
|
|
21273
21253
|
let value;
|
|
21274
21254
|
let clonedOptions;
|
|
21275
21255
|
const handleHasOptions = (key, inheritedOptions) => {
|
|
21276
21256
|
const sep = this.nestingOptionsSeparator;
|
|
21277
|
-
if (key.
|
|
21257
|
+
if (!key.includes(sep))
|
|
21278
21258
|
return key;
|
|
21279
|
-
const c = key.split(new RegExp(`${sep}[ ]*{`));
|
|
21259
|
+
const c = key.split(new RegExp(`${regexEscape(sep)}[ ]*{`));
|
|
21280
21260
|
let optionsString = `{${c[1]}`;
|
|
21281
21261
|
key = c[0];
|
|
21282
21262
|
optionsString = this.interpolate(optionsString, clonedOptions);
|
|
21283
21263
|
const matchedSingleQuotes = optionsString.match(/'/g);
|
|
21284
21264
|
const matchedDoubleQuotes = optionsString.match(/"/g);
|
|
21285
|
-
if (matchedSingleQuotes
|
|
21265
|
+
if ((matchedSingleQuotes?.length ?? 0) % 2 === 0 && !matchedDoubleQuotes || (matchedDoubleQuotes?.length ?? 0) % 2 !== 0) {
|
|
21286
21266
|
optionsString = optionsString.replace(/'/g, '"');
|
|
21287
21267
|
}
|
|
21288
21268
|
try {
|
|
@@ -21296,11 +21276,14 @@ class Interpolator {
|
|
|
21296
21276
|
this.logger.warn(`failed parsing options string in nesting for key ${key}`, e);
|
|
21297
21277
|
return `${key}${sep}${optionsString}`;
|
|
21298
21278
|
}
|
|
21299
|
-
if (clonedOptions.defaultValue && clonedOptions.defaultValue.
|
|
21279
|
+
if (clonedOptions.defaultValue && clonedOptions.defaultValue.includes(this.prefix))
|
|
21300
21280
|
delete clonedOptions.defaultValue;
|
|
21301
21281
|
return key;
|
|
21302
21282
|
};
|
|
21303
|
-
|
|
21283
|
+
const nestingRegexp = new RegExp(this.nestingRegexp);
|
|
21284
|
+
let out = "";
|
|
21285
|
+
let lastEnd = 0;
|
|
21286
|
+
while (match = nestingRegexp.exec(str)) {
|
|
21304
21287
|
let formatters = [];
|
|
21305
21288
|
clonedOptions = {
|
|
21306
21289
|
...options
|
|
@@ -21308,12 +21291,10 @@ class Interpolator {
|
|
|
21308
21291
|
clonedOptions = clonedOptions.replace && !isString(clonedOptions.replace) ? clonedOptions.replace : clonedOptions;
|
|
21309
21292
|
clonedOptions.applyPostProcessor = false;
|
|
21310
21293
|
delete clonedOptions.defaultValue;
|
|
21311
|
-
|
|
21312
|
-
if (
|
|
21313
|
-
|
|
21314
|
-
match[1] =
|
|
21315
|
-
formatters = r;
|
|
21316
|
-
doReduce = true;
|
|
21294
|
+
const keyEndIndex = /{.*}/s.test(match[1]) ? match[1].lastIndexOf("}") + 1 : match[1].indexOf(this.formatSeparator);
|
|
21295
|
+
if (keyEndIndex !== -1) {
|
|
21296
|
+
formatters = match[1].slice(keyEndIndex).split(this.formatSeparator).map((elem) => elem.trim()).filter(Boolean);
|
|
21297
|
+
match[1] = match[1].slice(0, keyEndIndex);
|
|
21317
21298
|
}
|
|
21318
21299
|
value = fc(handleHasOptions.call(this, match[1].trim(), clonedOptions), clonedOptions);
|
|
21319
21300
|
if (value && match[0] === str && !isString(value))
|
|
@@ -21324,29 +21305,30 @@ class Interpolator {
|
|
|
21324
21305
|
this.logger.warn(`missed to resolve ${match[1]} for nesting ${str}`);
|
|
21325
21306
|
value = "";
|
|
21326
21307
|
}
|
|
21327
|
-
if (
|
|
21308
|
+
if (formatters.length) {
|
|
21328
21309
|
value = formatters.reduce((v, f) => this.format(v, f, options.lng, {
|
|
21329
21310
|
...options,
|
|
21330
21311
|
interpolationkey: match[1].trim()
|
|
21331
21312
|
}), value.trim());
|
|
21332
21313
|
}
|
|
21333
|
-
|
|
21314
|
+
out += str.slice(lastEnd, match.index) + makeString(value);
|
|
21315
|
+
lastEnd = nestingRegexp.lastIndex;
|
|
21334
21316
|
this.regexp.lastIndex = 0;
|
|
21335
21317
|
}
|
|
21336
|
-
return str;
|
|
21318
|
+
return lastEnd ? out + str.slice(lastEnd) : str;
|
|
21337
21319
|
}
|
|
21338
21320
|
}
|
|
21339
21321
|
var parseFormatStr = (formatStr) => {
|
|
21340
21322
|
let formatName = formatStr.toLowerCase().trim();
|
|
21341
21323
|
const formatOptions = {};
|
|
21342
|
-
if (formatStr.
|
|
21324
|
+
if (formatStr.includes("(")) {
|
|
21343
21325
|
const p = formatStr.split("(");
|
|
21344
21326
|
formatName = p[0].toLowerCase().trim();
|
|
21345
|
-
const optStr = p[1].
|
|
21346
|
-
if (formatName === "currency" && optStr.
|
|
21327
|
+
const optStr = p[1].slice(0, -1);
|
|
21328
|
+
if (formatName === "currency" && !optStr.includes(":")) {
|
|
21347
21329
|
if (!formatOptions.currency)
|
|
21348
21330
|
formatOptions.currency = optStr.trim();
|
|
21349
|
-
} else if (formatName === "relativetime" && optStr.
|
|
21331
|
+
} else if (formatName === "relativetime" && !optStr.includes(":")) {
|
|
21350
21332
|
if (!formatOptions.range)
|
|
21351
21333
|
formatOptions.range = optStr.trim();
|
|
21352
21334
|
} else {
|
|
@@ -21375,69 +21357,74 @@ var parseFormatStr = (formatStr) => {
|
|
|
21375
21357
|
};
|
|
21376
21358
|
var createCachedFormatter = (fn) => {
|
|
21377
21359
|
const cache = {};
|
|
21378
|
-
return (
|
|
21379
|
-
let optForCache =
|
|
21380
|
-
if (
|
|
21360
|
+
return (v, l, o) => {
|
|
21361
|
+
let optForCache = o;
|
|
21362
|
+
if (o && o.interpolationkey && o.formatParams && o.formatParams[o.interpolationkey] && o[o.interpolationkey]) {
|
|
21381
21363
|
optForCache = {
|
|
21382
21364
|
...optForCache,
|
|
21383
|
-
[
|
|
21365
|
+
[o.interpolationkey]: undefined
|
|
21384
21366
|
};
|
|
21385
21367
|
}
|
|
21386
|
-
|
|
21387
|
-
|
|
21388
|
-
|
|
21389
|
-
|
|
21390
|
-
|
|
21368
|
+
let key;
|
|
21369
|
+
try {
|
|
21370
|
+
key = l + JSON.stringify(optForCache);
|
|
21371
|
+
} catch (e) {
|
|
21372
|
+
return fn(getCleanedCode(l), o)(v);
|
|
21373
|
+
}
|
|
21374
|
+
let frm = cache[key];
|
|
21375
|
+
if (!frm) {
|
|
21376
|
+
frm = fn(getCleanedCode(l), o);
|
|
21377
|
+
cache[key] = frm;
|
|
21391
21378
|
}
|
|
21392
|
-
return
|
|
21379
|
+
return frm(v);
|
|
21393
21380
|
};
|
|
21394
21381
|
};
|
|
21382
|
+
var createNonCachedFormatter = (fn) => (v, l, o) => fn(getCleanedCode(l), o)(v);
|
|
21395
21383
|
|
|
21396
21384
|
class Formatter {
|
|
21397
|
-
constructor() {
|
|
21398
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
21385
|
+
constructor(options = {}) {
|
|
21399
21386
|
this.logger = baseLogger.create("formatter");
|
|
21400
21387
|
this.options = options;
|
|
21388
|
+
this.init(options);
|
|
21389
|
+
}
|
|
21390
|
+
init(services, options = {
|
|
21391
|
+
interpolation: {}
|
|
21392
|
+
}) {
|
|
21393
|
+
this.formatSeparator = options.interpolation.formatSeparator || ",";
|
|
21394
|
+
const cf = options.cacheInBuiltFormats ? createCachedFormatter : createNonCachedFormatter;
|
|
21401
21395
|
this.formats = {
|
|
21402
|
-
number:
|
|
21396
|
+
number: cf((lng, opt) => {
|
|
21403
21397
|
const formatter = new Intl.NumberFormat(lng, {
|
|
21404
21398
|
...opt
|
|
21405
21399
|
});
|
|
21406
21400
|
return (val) => formatter.format(val);
|
|
21407
21401
|
}),
|
|
21408
|
-
currency:
|
|
21402
|
+
currency: cf((lng, opt) => {
|
|
21409
21403
|
const formatter = new Intl.NumberFormat(lng, {
|
|
21410
21404
|
...opt,
|
|
21411
21405
|
style: "currency"
|
|
21412
21406
|
});
|
|
21413
21407
|
return (val) => formatter.format(val);
|
|
21414
21408
|
}),
|
|
21415
|
-
datetime:
|
|
21409
|
+
datetime: cf((lng, opt) => {
|
|
21416
21410
|
const formatter = new Intl.DateTimeFormat(lng, {
|
|
21417
21411
|
...opt
|
|
21418
21412
|
});
|
|
21419
21413
|
return (val) => formatter.format(val);
|
|
21420
21414
|
}),
|
|
21421
|
-
relativetime:
|
|
21415
|
+
relativetime: cf((lng, opt) => {
|
|
21422
21416
|
const formatter = new Intl.RelativeTimeFormat(lng, {
|
|
21423
21417
|
...opt
|
|
21424
21418
|
});
|
|
21425
21419
|
return (val) => formatter.format(val, opt.range || "day");
|
|
21426
21420
|
}),
|
|
21427
|
-
list:
|
|
21421
|
+
list: cf((lng, opt) => {
|
|
21428
21422
|
const formatter = new Intl.ListFormat(lng, {
|
|
21429
21423
|
...opt
|
|
21430
21424
|
});
|
|
21431
21425
|
return (val) => formatter.format(val);
|
|
21432
21426
|
})
|
|
21433
21427
|
};
|
|
21434
|
-
this.init(options);
|
|
21435
|
-
}
|
|
21436
|
-
init(services) {
|
|
21437
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
|
|
21438
|
-
interpolation: {}
|
|
21439
|
-
};
|
|
21440
|
-
this.formatSeparator = options.interpolation.formatSeparator || ",";
|
|
21441
21428
|
}
|
|
21442
21429
|
add(name, fc) {
|
|
21443
21430
|
this.formats[name.toLowerCase().trim()] = fc;
|
|
@@ -21445,12 +21432,19 @@ class Formatter {
|
|
|
21445
21432
|
addCached(name, fc) {
|
|
21446
21433
|
this.formats[name.toLowerCase().trim()] = createCachedFormatter(fc);
|
|
21447
21434
|
}
|
|
21448
|
-
format(value, format, lng) {
|
|
21449
|
-
|
|
21450
|
-
|
|
21451
|
-
if (
|
|
21452
|
-
|
|
21453
|
-
|
|
21435
|
+
format(value, format, lng, options = {}) {
|
|
21436
|
+
if (!format)
|
|
21437
|
+
return value;
|
|
21438
|
+
if (value == null)
|
|
21439
|
+
return value;
|
|
21440
|
+
const rawFormats = format.split(this.formatSeparator);
|
|
21441
|
+
const formats = [];
|
|
21442
|
+
for (let i = 0;i < rawFormats.length; i++) {
|
|
21443
|
+
let f = rawFormats[i];
|
|
21444
|
+
while (f.indexOf("(") > -1 && !f.includes(")") && i + 1 < rawFormats.length) {
|
|
21445
|
+
f = `${f}${this.formatSeparator}${rawFormats[++i]}`;
|
|
21446
|
+
}
|
|
21447
|
+
formats.push(f);
|
|
21454
21448
|
}
|
|
21455
21449
|
const result = formats.reduce((mem, f) => {
|
|
21456
21450
|
const {
|
|
@@ -21460,7 +21454,7 @@ class Formatter {
|
|
|
21460
21454
|
if (this.formats[formatName]) {
|
|
21461
21455
|
let formatted = mem;
|
|
21462
21456
|
try {
|
|
21463
|
-
const valOptions = options
|
|
21457
|
+
const valOptions = options?.formatParams?.[options.interpolationkey] || {};
|
|
21464
21458
|
const l = valOptions.locale || valOptions.lng || options.locale || options.lng || lng;
|
|
21465
21459
|
formatted = this.formats[formatName](mem, l, {
|
|
21466
21460
|
...formatOptions,
|
|
@@ -21487,8 +21481,7 @@ var removePending = (q, name) => {
|
|
|
21487
21481
|
};
|
|
21488
21482
|
|
|
21489
21483
|
class Connector extends EventEmitter {
|
|
21490
|
-
constructor(backend, store, services) {
|
|
21491
|
-
let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
21484
|
+
constructor(backend, store, services, options = {}) {
|
|
21492
21485
|
super();
|
|
21493
21486
|
this.backend = backend;
|
|
21494
21487
|
this.store = store;
|
|
@@ -21503,8 +21496,10 @@ class Connector extends EventEmitter {
|
|
|
21503
21496
|
this.retryTimeout = options.retryTimeout >= 1 ? options.retryTimeout : 350;
|
|
21504
21497
|
this.state = {};
|
|
21505
21498
|
this.queue = [];
|
|
21506
|
-
|
|
21507
|
-
|
|
21499
|
+
this.backend?.init?.(services, options.backend, options);
|
|
21500
|
+
this.callbackApi = callbackApiOf(this.backend);
|
|
21501
|
+
if (this.backend && this.callbackApi === undefined && (this.backend.read || this.backend.create)) {
|
|
21502
|
+
this.logger.deprecate("backend: set callbackApi to declare the calling convention (true: read(language, namespace, callback) and create(languages, namespace, key, fallbackValue, callback, options); false: both return a promise or a value); guessing it from the number of parameters is deprecated");
|
|
21508
21503
|
}
|
|
21509
21504
|
}
|
|
21510
21505
|
queueLoad(languages, namespaces, options, callback) {
|
|
@@ -21518,7 +21513,7 @@ class Connector extends EventEmitter {
|
|
|
21518
21513
|
const name = `${lng}|${ns}`;
|
|
21519
21514
|
if (!options.reload && this.store.hasResourceBundle(lng, ns)) {
|
|
21520
21515
|
this.state[name] = 2;
|
|
21521
|
-
} else if (this.state[name] < 0)
|
|
21516
|
+
} else if (!options.reload && this.state[name] < 0)
|
|
21522
21517
|
;
|
|
21523
21518
|
else if (this.state[name] === 1) {
|
|
21524
21519
|
if (pending[name] === undefined)
|
|
@@ -21596,10 +21591,7 @@ class Connector extends EventEmitter {
|
|
|
21596
21591
|
this.emit("loaded", loaded);
|
|
21597
21592
|
this.queue = this.queue.filter((q) => !q.done);
|
|
21598
21593
|
}
|
|
21599
|
-
read(lng, ns, fcName) {
|
|
21600
|
-
let tried = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
21601
|
-
let wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.retryTimeout;
|
|
21602
|
-
let callback = arguments.length > 5 ? arguments[5] : undefined;
|
|
21594
|
+
read(lng, ns, fcName, tried = 0, wait = this.retryTimeout, callback) {
|
|
21603
21595
|
if (!lng.length)
|
|
21604
21596
|
return callback(null, {});
|
|
21605
21597
|
if (this.readingCalls >= this.maxParallelReads) {
|
|
@@ -21622,14 +21614,14 @@ class Connector extends EventEmitter {
|
|
|
21622
21614
|
}
|
|
21623
21615
|
if (err && data && tried < this.maxRetries) {
|
|
21624
21616
|
setTimeout(() => {
|
|
21625
|
-
this.read
|
|
21617
|
+
this.read(lng, ns, fcName, tried + 1, wait * 2, callback);
|
|
21626
21618
|
}, wait);
|
|
21627
21619
|
return;
|
|
21628
21620
|
}
|
|
21629
21621
|
callback(err, data);
|
|
21630
21622
|
};
|
|
21631
21623
|
const fc = this.backend[fcName].bind(this.backend);
|
|
21632
|
-
if (fc.length === 2) {
|
|
21624
|
+
if (this.callbackApi === false || this.callbackApi === undefined && fc.length === 2) {
|
|
21633
21625
|
try {
|
|
21634
21626
|
const r = fc(lng, ns);
|
|
21635
21627
|
if (r && typeof r.then === "function") {
|
|
@@ -21644,9 +21636,7 @@ class Connector extends EventEmitter {
|
|
|
21644
21636
|
}
|
|
21645
21637
|
return fc(lng, ns, resolver);
|
|
21646
21638
|
}
|
|
21647
|
-
prepareLoading(languages, namespaces) {
|
|
21648
|
-
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
21649
|
-
let callback = arguments.length > 3 ? arguments[3] : undefined;
|
|
21639
|
+
prepareLoading(languages, namespaces, options = {}, callback) {
|
|
21650
21640
|
if (!this.backend) {
|
|
21651
21641
|
this.logger.warn("No backend was added via i18next.use. Will not load resources.");
|
|
21652
21642
|
return callback && callback();
|
|
@@ -21673,11 +21663,16 @@ class Connector extends EventEmitter {
|
|
|
21673
21663
|
reload: true
|
|
21674
21664
|
}, callback);
|
|
21675
21665
|
}
|
|
21676
|
-
|
|
21677
|
-
|
|
21666
|
+
noticeDevFallback(lng) {
|
|
21667
|
+
if (lng !== "dev" || !this.devIsDefaultFallback)
|
|
21668
|
+
return;
|
|
21669
|
+
this.logger.once("dev", "warn", "language 'dev' is requested because fallbackLng is not set (its default is ['dev']); i18next v27 defaults to fallbackLng: false and loads and saves missing keys in the requested language instead. Set fallbackLng to your source language, or to 'dev' to keep this behavior");
|
|
21670
|
+
}
|
|
21671
|
+
loadOne(name, prefix = "") {
|
|
21678
21672
|
const s = name.split("|");
|
|
21679
21673
|
const lng = s[0];
|
|
21680
21674
|
const ns = s[1];
|
|
21675
|
+
this.noticeDevFallback(lng);
|
|
21681
21676
|
this.read(lng, ns, "read", undefined, undefined, (err, data) => {
|
|
21682
21677
|
if (err)
|
|
21683
21678
|
this.logger.warn(`${prefix}loading namespace ${ns} for language ${lng} failed`, err);
|
|
@@ -21686,25 +21681,24 @@ class Connector extends EventEmitter {
|
|
|
21686
21681
|
this.loaded(name, err, data);
|
|
21687
21682
|
});
|
|
21688
21683
|
}
|
|
21689
|
-
saveMissing(languages, namespace, key, fallbackValue, isUpdate) {
|
|
21690
|
-
|
|
21691
|
-
let clb = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : () => {};
|
|
21692
|
-
if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(namespace)) {
|
|
21684
|
+
saveMissing(languages, namespace, key, fallbackValue, isUpdate, options = {}, clb = () => {}, hasLoadedNamespace = this.newestCloneHasLoadedNamespace || this.services?.utils?.hasLoadedNamespace) {
|
|
21685
|
+
if (hasLoadedNamespace && !hasLoadedNamespace(namespace)) {
|
|
21693
21686
|
this.logger.warn(`did not save key "${key}" as the namespace "${namespace}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");
|
|
21694
21687
|
return;
|
|
21695
21688
|
}
|
|
21696
21689
|
if (key === undefined || key === null || key === "")
|
|
21697
21690
|
return;
|
|
21698
|
-
if (this.backend
|
|
21691
|
+
if (this.backend?.create) {
|
|
21692
|
+
languages?.forEach?.((l) => this.noticeDevFallback(l));
|
|
21699
21693
|
const opts = {
|
|
21700
21694
|
...options,
|
|
21701
21695
|
isUpdate
|
|
21702
21696
|
};
|
|
21703
21697
|
const fc = this.backend.create.bind(this.backend);
|
|
21704
|
-
if (fc.length < 6) {
|
|
21698
|
+
if (this.callbackApi === false || this.callbackApi === undefined && fc.length < 6) {
|
|
21705
21699
|
try {
|
|
21706
21700
|
let r;
|
|
21707
|
-
if (fc.length === 5) {
|
|
21701
|
+
if (this.callbackApi === false || fc.length === 5) {
|
|
21708
21702
|
r = fc(languages, namespace, key, fallbackValue, opts);
|
|
21709
21703
|
} else {
|
|
21710
21704
|
r = fc(languages, namespace, key, fallbackValue);
|
|
@@ -21728,7 +21722,7 @@ class Connector extends EventEmitter {
|
|
|
21728
21722
|
}
|
|
21729
21723
|
var get = () => ({
|
|
21730
21724
|
debug: false,
|
|
21731
|
-
|
|
21725
|
+
initAsync: true,
|
|
21732
21726
|
ns: ["translation"],
|
|
21733
21727
|
defaultNS: ["translation"],
|
|
21734
21728
|
fallbackLng: ["dev"],
|
|
@@ -21737,11 +21731,11 @@ var get = () => ({
|
|
|
21737
21731
|
nonExplicitSupportedLngs: false,
|
|
21738
21732
|
load: "all",
|
|
21739
21733
|
preload: false,
|
|
21740
|
-
simplifyPluralSuffix: true,
|
|
21741
21734
|
keySeparator: ".",
|
|
21742
21735
|
nsSeparator: ":",
|
|
21743
21736
|
pluralSeparator: "_",
|
|
21744
21737
|
contextSeparator: "_",
|
|
21738
|
+
enableSelector: false,
|
|
21745
21739
|
partialBundledLanguages: false,
|
|
21746
21740
|
saveMissing: false,
|
|
21747
21741
|
updateMissing: false,
|
|
@@ -21777,7 +21771,6 @@ var get = () => ({
|
|
|
21777
21771
|
},
|
|
21778
21772
|
interpolation: {
|
|
21779
21773
|
escapeValue: true,
|
|
21780
|
-
format: (value) => value,
|
|
21781
21774
|
prefix: "{{",
|
|
21782
21775
|
suffix: "}}",
|
|
21783
21776
|
formatSeparator: ",",
|
|
@@ -21787,7 +21780,8 @@ var get = () => ({
|
|
|
21787
21780
|
nestingOptionsSeparator: ",",
|
|
21788
21781
|
maxReplaces: 1000,
|
|
21789
21782
|
skipOnVariables: true
|
|
21790
|
-
}
|
|
21783
|
+
},
|
|
21784
|
+
cacheInBuiltFormats: true
|
|
21791
21785
|
});
|
|
21792
21786
|
var transformOptions = (options) => {
|
|
21793
21787
|
if (isString(options.ns))
|
|
@@ -21796,12 +21790,13 @@ var transformOptions = (options) => {
|
|
|
21796
21790
|
options.fallbackLng = [options.fallbackLng];
|
|
21797
21791
|
if (isString(options.fallbackNS))
|
|
21798
21792
|
options.fallbackNS = [options.fallbackNS];
|
|
21799
|
-
if (options.supportedLngs && options.supportedLngs.
|
|
21793
|
+
if (options.supportedLngs && !options.supportedLngs.includes("cimode")) {
|
|
21800
21794
|
options.supportedLngs = options.supportedLngs.concat(["cimode"]);
|
|
21801
21795
|
}
|
|
21802
21796
|
return options;
|
|
21803
21797
|
};
|
|
21804
21798
|
var noop = () => {};
|
|
21799
|
+
var loggerOwner;
|
|
21805
21800
|
var bindMemberFunctions = (inst) => {
|
|
21806
21801
|
const mems = Object.getOwnPropertyNames(Object.getPrototypeOf(inst));
|
|
21807
21802
|
mems.forEach((mem) => {
|
|
@@ -21812,19 +21807,19 @@ var bindMemberFunctions = (inst) => {
|
|
|
21812
21807
|
};
|
|
21813
21808
|
|
|
21814
21809
|
class I18n extends EventEmitter {
|
|
21815
|
-
constructor() {
|
|
21816
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
21817
|
-
let callback = arguments.length > 1 ? arguments[1] : undefined;
|
|
21810
|
+
constructor(options = {}, callback) {
|
|
21818
21811
|
super();
|
|
21819
21812
|
this.options = transformOptions(options);
|
|
21820
|
-
this.services = {
|
|
21813
|
+
this.services = {
|
|
21814
|
+
ownPostProcessors: new Set
|
|
21815
|
+
};
|
|
21821
21816
|
this.logger = baseLogger;
|
|
21822
21817
|
this.modules = {
|
|
21823
21818
|
external: []
|
|
21824
21819
|
};
|
|
21825
21820
|
bindMemberFunctions(this);
|
|
21826
21821
|
if (callback && !this.isInitialized && !options.isClone) {
|
|
21827
|
-
if (!this.options.
|
|
21822
|
+
if (!this.options.initAsync) {
|
|
21828
21823
|
this.init(options, callback);
|
|
21829
21824
|
return this;
|
|
21830
21825
|
}
|
|
@@ -21833,40 +21828,39 @@ class I18n extends EventEmitter {
|
|
|
21833
21828
|
}, 0);
|
|
21834
21829
|
}
|
|
21835
21830
|
}
|
|
21836
|
-
init() {
|
|
21837
|
-
var _this = this;
|
|
21838
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
21839
|
-
let callback = arguments.length > 1 ? arguments[1] : undefined;
|
|
21831
|
+
init(options = {}, callback) {
|
|
21840
21832
|
this.isInitializing = true;
|
|
21841
21833
|
if (typeof options === "function") {
|
|
21842
21834
|
callback = options;
|
|
21843
21835
|
options = {};
|
|
21844
21836
|
}
|
|
21845
|
-
if (
|
|
21837
|
+
if (options.defaultNS == null && options.ns) {
|
|
21846
21838
|
if (isString(options.ns)) {
|
|
21847
21839
|
options.defaultNS = options.ns;
|
|
21848
|
-
} else if (options.ns.
|
|
21840
|
+
} else if (!options.ns.includes("translation")) {
|
|
21849
21841
|
options.defaultNS = options.ns[0];
|
|
21850
21842
|
}
|
|
21851
21843
|
}
|
|
21844
|
+
const fallbackLngIsDefault = options.fallbackLng === undefined && this.options.fallbackLng === undefined;
|
|
21852
21845
|
const defOpts = get();
|
|
21853
21846
|
this.options = {
|
|
21854
21847
|
...defOpts,
|
|
21855
21848
|
...this.options,
|
|
21856
21849
|
...transformOptions(options)
|
|
21857
21850
|
};
|
|
21858
|
-
|
|
21859
|
-
|
|
21860
|
-
|
|
21861
|
-
|
|
21862
|
-
};
|
|
21863
|
-
}
|
|
21851
|
+
this.options.interpolation = {
|
|
21852
|
+
...defOpts.interpolation,
|
|
21853
|
+
...this.options.interpolation
|
|
21854
|
+
};
|
|
21864
21855
|
if (options.keySeparator !== undefined) {
|
|
21865
21856
|
this.options.userDefinedKeySeparator = options.keySeparator;
|
|
21866
21857
|
}
|
|
21867
21858
|
if (options.nsSeparator !== undefined) {
|
|
21868
21859
|
this.options.userDefinedNsSeparator = options.nsSeparator;
|
|
21869
21860
|
}
|
|
21861
|
+
if (typeof this.options.overloadTranslationOptionHandler !== "function") {
|
|
21862
|
+
this.options.overloadTranslationOptionHandler = defOpts.overloadTranslationOptionHandler;
|
|
21863
|
+
}
|
|
21870
21864
|
const createClassOnDemand = (ClassOrObject) => {
|
|
21871
21865
|
if (!ClassOrObject)
|
|
21872
21866
|
return null;
|
|
@@ -21875,15 +21869,21 @@ class I18n extends EventEmitter {
|
|
|
21875
21869
|
return ClassOrObject;
|
|
21876
21870
|
};
|
|
21877
21871
|
if (!this.options.isClone) {
|
|
21872
|
+
if (loggerOwner && loggerOwner !== this && loggerOwner.modules.logger !== this.modules.logger) {
|
|
21873
|
+
baseLogger.deprecate("init: this init() replaces the logger another i18next instance set with use(), as the logger is shared in v26; from v27 each instance keeps its own logger");
|
|
21874
|
+
}
|
|
21875
|
+
loggerOwner = this.modules.logger ? this : undefined;
|
|
21878
21876
|
if (this.modules.logger) {
|
|
21879
21877
|
baseLogger.init(createClassOnDemand(this.modules.logger), this.options);
|
|
21880
21878
|
} else {
|
|
21881
21879
|
baseLogger.init(null, this.options);
|
|
21882
21880
|
}
|
|
21881
|
+
this.pendingWarnings?.forEach((msg) => this.logger.warn(msg));
|
|
21882
|
+
this.pendingWarnings = undefined;
|
|
21883
21883
|
let formatter;
|
|
21884
21884
|
if (this.modules.formatter) {
|
|
21885
21885
|
formatter = this.modules.formatter;
|
|
21886
|
-
} else
|
|
21886
|
+
} else {
|
|
21887
21887
|
formatter = Formatter;
|
|
21888
21888
|
}
|
|
21889
21889
|
const lu = new LanguageUtil(this.options);
|
|
@@ -21893,30 +21893,31 @@ class I18n extends EventEmitter {
|
|
|
21893
21893
|
s.resourceStore = this.store;
|
|
21894
21894
|
s.languageUtils = lu;
|
|
21895
21895
|
s.pluralResolver = new PluralResolver(lu, {
|
|
21896
|
-
prepend: this.options.pluralSeparator
|
|
21897
|
-
compatibilityJSON: this.options.compatibilityJSON,
|
|
21898
|
-
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
21896
|
+
prepend: this.options.pluralSeparator
|
|
21899
21897
|
});
|
|
21900
|
-
if (formatter
|
|
21898
|
+
if (formatter) {
|
|
21901
21899
|
s.formatter = createClassOnDemand(formatter);
|
|
21902
|
-
s.formatter.init
|
|
21900
|
+
if (s.formatter.init)
|
|
21901
|
+
s.formatter.init(s, this.options);
|
|
21903
21902
|
this.options.interpolation.format = s.formatter.format.bind(s.formatter);
|
|
21904
21903
|
}
|
|
21905
21904
|
s.interpolator = new Interpolator(this.options);
|
|
21906
21905
|
s.utils = {
|
|
21907
|
-
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
21906
|
+
hasLoadedNamespace: this.hasLoadedNamespace.bind(this),
|
|
21907
|
+
reloadResources: this.reloadResources.bind(this)
|
|
21908
21908
|
};
|
|
21909
21909
|
s.backendConnector = new Connector(createClassOnDemand(this.modules.backend), s.resourceStore, s, this.options);
|
|
21910
|
-
s.backendConnector.
|
|
21911
|
-
|
|
21912
|
-
|
|
21913
|
-
}
|
|
21914
|
-
_this.emit(event, ...args);
|
|
21910
|
+
s.backendConnector.devIsDefaultFallback = fallbackLngIsDefault;
|
|
21911
|
+
s.backendConnector.on("*", (event, ...args) => {
|
|
21912
|
+
this.emit(event, ...args);
|
|
21915
21913
|
});
|
|
21916
21914
|
if (this.modules.languageDetector) {
|
|
21917
21915
|
s.languageDetector = createClassOnDemand(this.modules.languageDetector);
|
|
21918
21916
|
if (s.languageDetector.init)
|
|
21919
21917
|
s.languageDetector.init(s, this.options.detection, this.options);
|
|
21918
|
+
if (s.languageDetector.async && callbackApiOf(s.languageDetector) === undefined) {
|
|
21919
|
+
this.logger.deprecate("languageDetector: set callbackApi to declare how the async detect() answers (true: detect(callback); false: detect() returns a promise); guessing it from the number of parameters is deprecated");
|
|
21920
|
+
}
|
|
21920
21921
|
}
|
|
21921
21922
|
if (this.modules.i18nFormat) {
|
|
21922
21923
|
s.i18nFormat = createClassOnDemand(this.modules.i18nFormat);
|
|
@@ -21924,11 +21925,8 @@ class I18n extends EventEmitter {
|
|
|
21924
21925
|
s.i18nFormat.init(this);
|
|
21925
21926
|
}
|
|
21926
21927
|
this.translator = new Translator(this.services, this.options);
|
|
21927
|
-
this.translator.on("*",
|
|
21928
|
-
|
|
21929
|
-
args[_key2 - 1] = arguments[_key2];
|
|
21930
|
-
}
|
|
21931
|
-
_this.emit(event, ...args);
|
|
21928
|
+
this.translator.on("*", (event, ...args) => {
|
|
21929
|
+
this.emit(event, ...args);
|
|
21932
21930
|
});
|
|
21933
21931
|
this.modules.external.forEach((m) => {
|
|
21934
21932
|
if (m.init)
|
|
@@ -21948,15 +21946,13 @@ class I18n extends EventEmitter {
|
|
|
21948
21946
|
}
|
|
21949
21947
|
const storeApi = ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"];
|
|
21950
21948
|
storeApi.forEach((fcName) => {
|
|
21951
|
-
this[fcName] =
|
|
21952
|
-
return _this.store[fcName](...arguments);
|
|
21953
|
-
};
|
|
21949
|
+
this[fcName] = (...args) => this.store[fcName](...args);
|
|
21954
21950
|
});
|
|
21955
21951
|
const storeApiChained = ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"];
|
|
21956
21952
|
storeApiChained.forEach((fcName) => {
|
|
21957
|
-
this[fcName] =
|
|
21958
|
-
|
|
21959
|
-
return
|
|
21953
|
+
this[fcName] = (...args) => {
|
|
21954
|
+
this.store[fcName](...args);
|
|
21955
|
+
return this;
|
|
21960
21956
|
};
|
|
21961
21957
|
});
|
|
21962
21958
|
const deferred = defer();
|
|
@@ -21972,25 +21968,24 @@ class I18n extends EventEmitter {
|
|
|
21972
21968
|
deferred.resolve(t);
|
|
21973
21969
|
callback(err, t);
|
|
21974
21970
|
};
|
|
21975
|
-
if (this.languages
|
|
21971
|
+
if ((this.languages || this.isLanguageChangingTo) && !this.isInitialized)
|
|
21976
21972
|
return finish(null, this.t.bind(this));
|
|
21977
21973
|
this.changeLanguage(this.options.lng, finish);
|
|
21978
21974
|
};
|
|
21979
|
-
if (this.options.resources || !this.options.
|
|
21975
|
+
if (this.options.resources || !this.options.initAsync) {
|
|
21980
21976
|
load();
|
|
21981
21977
|
} else {
|
|
21982
21978
|
setTimeout(load, 0);
|
|
21983
21979
|
}
|
|
21984
21980
|
return deferred;
|
|
21985
21981
|
}
|
|
21986
|
-
loadResources(language) {
|
|
21987
|
-
let callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;
|
|
21982
|
+
loadResources(language, callback = noop) {
|
|
21988
21983
|
let usedCallback = callback;
|
|
21989
21984
|
const usedLng = isString(language) ? language : this.language;
|
|
21990
21985
|
if (typeof language === "function")
|
|
21991
21986
|
usedCallback = language;
|
|
21992
21987
|
if (!this.options.resources || this.options.partialBundledLanguages) {
|
|
21993
|
-
if (usedLng
|
|
21988
|
+
if (usedLng?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0))
|
|
21994
21989
|
return usedCallback();
|
|
21995
21990
|
const toLoad = [];
|
|
21996
21991
|
const append = (lng) => {
|
|
@@ -22002,7 +21997,7 @@ class I18n extends EventEmitter {
|
|
|
22002
21997
|
lngs.forEach((l) => {
|
|
22003
21998
|
if (l === "cimode")
|
|
22004
21999
|
return;
|
|
22005
|
-
if (toLoad.
|
|
22000
|
+
if (!toLoad.includes(l))
|
|
22006
22001
|
toLoad.push(l);
|
|
22007
22002
|
});
|
|
22008
22003
|
};
|
|
@@ -22012,9 +22007,7 @@ class I18n extends EventEmitter {
|
|
|
22012
22007
|
} else {
|
|
22013
22008
|
append(usedLng);
|
|
22014
22009
|
}
|
|
22015
|
-
|
|
22016
|
-
this.options.preload.forEach((l) => append(l));
|
|
22017
|
-
}
|
|
22010
|
+
this.options.preload?.forEach?.((l) => append(l));
|
|
22018
22011
|
this.services.backendConnector.load(toLoad, this.options.ns, (e) => {
|
|
22019
22012
|
if (!e && !this.resolvedLanguage && this.language)
|
|
22020
22013
|
this.setResolvedLanguage(this.language);
|
|
@@ -22034,8 +22027,10 @@ class I18n extends EventEmitter {
|
|
|
22034
22027
|
callback = ns;
|
|
22035
22028
|
ns = undefined;
|
|
22036
22029
|
}
|
|
22037
|
-
if (!lngs)
|
|
22038
|
-
|
|
22030
|
+
if (!lngs) {
|
|
22031
|
+
const requested = Object.keys(this.services.backendConnector.state).map((name) => name.split("|")[0]);
|
|
22032
|
+
lngs = [...new Set([...this.languages || [], ...requested])].filter((l) => l !== "cimode");
|
|
22033
|
+
}
|
|
22039
22034
|
if (!ns)
|
|
22040
22035
|
ns = this.options.ns;
|
|
22041
22036
|
if (!callback)
|
|
@@ -22051,46 +22046,84 @@ class I18n extends EventEmitter {
|
|
|
22051
22046
|
throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
22052
22047
|
if (!module.type)
|
|
22053
22048
|
throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
22049
|
+
const setModule = (type) => {
|
|
22050
|
+
if (this.modules[type] && this.modules[type] !== module) {
|
|
22051
|
+
const msg = `use: this ${type} replaces the ${type} passed to an earlier use() call; only one ${type} is used per instance`;
|
|
22052
|
+
if (this.isInitializing || this.isInitialized)
|
|
22053
|
+
this.logger.warn(msg);
|
|
22054
|
+
else
|
|
22055
|
+
(this.pendingWarnings = this.pendingWarnings || []).push(msg);
|
|
22056
|
+
}
|
|
22057
|
+
this.modules[type] = module;
|
|
22058
|
+
};
|
|
22054
22059
|
if (module.type === "backend") {
|
|
22055
|
-
|
|
22060
|
+
setModule("backend");
|
|
22056
22061
|
}
|
|
22057
22062
|
if (module.type === "logger" || module.log && module.warn && module.error) {
|
|
22058
22063
|
this.modules.logger = module;
|
|
22059
22064
|
}
|
|
22060
22065
|
if (module.type === "languageDetector") {
|
|
22061
|
-
|
|
22066
|
+
setModule("languageDetector");
|
|
22062
22067
|
}
|
|
22063
22068
|
if (module.type === "i18nFormat") {
|
|
22064
|
-
|
|
22069
|
+
setModule("i18nFormat");
|
|
22065
22070
|
}
|
|
22066
22071
|
if (module.type === "postProcessor") {
|
|
22067
22072
|
postProcessor.addPostProcessor(module);
|
|
22073
|
+
this.services.ownPostProcessors?.add(module.name);
|
|
22068
22074
|
}
|
|
22069
22075
|
if (module.type === "formatter") {
|
|
22070
|
-
|
|
22076
|
+
setModule("formatter");
|
|
22071
22077
|
}
|
|
22072
22078
|
if (module.type === "3rdParty") {
|
|
22073
22079
|
this.modules.external.push(module);
|
|
22074
22080
|
}
|
|
22075
22081
|
return this;
|
|
22076
22082
|
}
|
|
22083
|
+
hydrate(resources, lng) {
|
|
22084
|
+
if (this.options.isClone)
|
|
22085
|
+
return this;
|
|
22086
|
+
if (!this.services.resourceStore) {
|
|
22087
|
+
this.logger.warn("hydrate: call init() first, the instance has no resource store yet");
|
|
22088
|
+
return this;
|
|
22089
|
+
}
|
|
22090
|
+
if (resources && !this.initializedStoreOnce) {
|
|
22091
|
+
this.services.resourceStore.data = resources;
|
|
22092
|
+
Object.values(resources).forEach((lngResources) => {
|
|
22093
|
+
Object.keys(lngResources).forEach((ns) => {
|
|
22094
|
+
if (!this.options.ns.includes(ns))
|
|
22095
|
+
this.options.ns.push(ns);
|
|
22096
|
+
});
|
|
22097
|
+
});
|
|
22098
|
+
this.initializedStoreOnce = true;
|
|
22099
|
+
this.isInitialized = true;
|
|
22100
|
+
}
|
|
22101
|
+
if (lng && !this.initializedLanguageOnce) {
|
|
22102
|
+
this.changeLanguage(lng);
|
|
22103
|
+
this.initializedLanguageOnce = true;
|
|
22104
|
+
}
|
|
22105
|
+
return this;
|
|
22106
|
+
}
|
|
22077
22107
|
setResolvedLanguage(l) {
|
|
22078
22108
|
if (!l || !this.languages)
|
|
22079
22109
|
return;
|
|
22080
|
-
if (["cimode", "dev"].
|
|
22110
|
+
if (["cimode", "dev"].includes(l))
|
|
22081
22111
|
return;
|
|
22082
22112
|
for (let li = 0;li < this.languages.length; li++) {
|
|
22083
22113
|
const lngInLngs = this.languages[li];
|
|
22084
|
-
if (["cimode", "dev"].
|
|
22114
|
+
if (["cimode", "dev"].includes(lngInLngs))
|
|
22085
22115
|
continue;
|
|
22086
22116
|
if (this.store.hasLanguageSomeTranslations(lngInLngs)) {
|
|
22087
22117
|
this.resolvedLanguage = lngInLngs;
|
|
22088
22118
|
break;
|
|
22089
22119
|
}
|
|
22090
22120
|
}
|
|
22121
|
+
if (!this.resolvedLanguage && !this.languages.includes(l) && this.store.hasLanguageSomeTranslations(l)) {
|
|
22122
|
+
this.resolvedLanguage = l;
|
|
22123
|
+
this.languages.unshift(l);
|
|
22124
|
+
}
|
|
22091
22125
|
}
|
|
22092
22126
|
changeLanguage(lng, callback) {
|
|
22093
|
-
var _this2 = this;
|
|
22094
22127
|
this.isLanguageChangingTo = lng;
|
|
22095
22128
|
const deferred = defer();
|
|
22096
22129
|
this.emit("languageChanging", lng);
|
|
@@ -22102,34 +22135,38 @@ class I18n extends EventEmitter {
|
|
|
22102
22135
|
};
|
|
22103
22136
|
const done = (err, l) => {
|
|
22104
22137
|
if (l) {
|
|
22105
|
-
|
|
22106
|
-
|
|
22107
|
-
|
|
22108
|
-
|
|
22109
|
-
|
|
22138
|
+
if (this.isLanguageChangingTo === lng) {
|
|
22139
|
+
setLngProps(l);
|
|
22140
|
+
this.translator.changeLanguage(l);
|
|
22141
|
+
this.isLanguageChangingTo = undefined;
|
|
22142
|
+
this.emit("languageChanged", l);
|
|
22143
|
+
this.logger.log("languageChanged", l);
|
|
22144
|
+
}
|
|
22110
22145
|
} else {
|
|
22111
22146
|
this.isLanguageChangingTo = undefined;
|
|
22112
22147
|
}
|
|
22113
|
-
deferred.resolve(
|
|
22114
|
-
return _this2.t(...arguments);
|
|
22115
|
-
});
|
|
22148
|
+
deferred.resolve((...args) => this.t(...args));
|
|
22116
22149
|
if (callback)
|
|
22117
|
-
callback(err,
|
|
22118
|
-
return _this2.t(...arguments);
|
|
22119
|
-
});
|
|
22150
|
+
callback(err, (...args) => this.t(...args));
|
|
22120
22151
|
};
|
|
22121
22152
|
const setLng = (lngs) => {
|
|
22122
22153
|
if (!lng && !lngs && this.services.languageDetector)
|
|
22123
22154
|
lngs = [];
|
|
22124
|
-
const
|
|
22155
|
+
const fl = isString(lngs) ? lngs : lngs && lngs[0];
|
|
22156
|
+
const l = this.store.hasLanguageSomeTranslations(fl) ? fl : this.services.languageUtils.getBestMatchFromCodes(isString(lngs) ? [lngs] : lngs);
|
|
22157
|
+
if (l && this.logger.debug && !isSafeLanguageCode(l)) {
|
|
22158
|
+
const configured = [].concat(this.options.supportedLngs || [], this.services.languageUtils.getFallbackCodes(this.options.fallbackLng, l), this.options.preload || []);
|
|
22159
|
+
if (!configured.includes(l) && !Object.prototype.hasOwnProperty.call(this.store.data, l)) {
|
|
22160
|
+
this.logger.once(`lng:${l}`, "deprecate", `changeLanguage: the language code '${l.slice(0, 64)}' comes from lng, changeLanguage() or the language detector and is not configured; from v27 such a code is refused unless it has only letters, digits, '-', '_', '@' and '.' (no '..'), at most 128 characters. Set supportedLngs, or check the code before passing it on`);
|
|
22161
|
+
}
|
|
22162
|
+
}
|
|
22125
22163
|
if (l) {
|
|
22126
22164
|
if (!this.language) {
|
|
22127
22165
|
setLngProps(l);
|
|
22128
22166
|
}
|
|
22129
22167
|
if (!this.translator.language)
|
|
22130
22168
|
this.translator.changeLanguage(l);
|
|
22131
|
-
|
|
22132
|
-
this.services.languageDetector.cacheUserLanguage(l);
|
|
22169
|
+
this.services.languageDetector?.cacheUserLanguage?.(l);
|
|
22133
22170
|
}
|
|
22134
22171
|
this.loadResources(l, (err) => {
|
|
22135
22172
|
done(err, l);
|
|
@@ -22138,7 +22175,8 @@ class I18n extends EventEmitter {
|
|
|
22138
22175
|
if (!lng && this.services.languageDetector && !this.services.languageDetector.async) {
|
|
22139
22176
|
setLng(this.services.languageDetector.detect());
|
|
22140
22177
|
} else if (!lng && this.services.languageDetector && this.services.languageDetector.async) {
|
|
22141
|
-
|
|
22178
|
+
const callbackApi = callbackApiOf(this.services.languageDetector);
|
|
22179
|
+
if (callbackApi === false || callbackApi === undefined && this.services.languageDetector.detect.length === 0) {
|
|
22142
22180
|
this.services.languageDetector.detect().then(setLng);
|
|
22143
22181
|
} else {
|
|
22144
22182
|
this.services.languageDetector.detect(setLng);
|
|
@@ -22148,33 +22186,45 @@ class I18n extends EventEmitter {
|
|
|
22148
22186
|
}
|
|
22149
22187
|
return deferred;
|
|
22150
22188
|
}
|
|
22151
|
-
getFixedT(lng, ns, keyPrefix) {
|
|
22152
|
-
|
|
22153
|
-
const fixedT =
|
|
22154
|
-
let
|
|
22189
|
+
getFixedT(lng, ns, keyPrefix, fixedOpts) {
|
|
22190
|
+
const scopeNs = fixedOpts?.scopeNs;
|
|
22191
|
+
const fixedT = (key, opts, ...rest) => {
|
|
22192
|
+
let o;
|
|
22155
22193
|
if (typeof opts !== "object") {
|
|
22156
|
-
|
|
22157
|
-
rest[_key3 - 2] = arguments[_key3];
|
|
22158
|
-
}
|
|
22159
|
-
options = _this3.options.overloadTranslationOptionHandler([key, opts].concat(rest));
|
|
22194
|
+
o = this.options.overloadTranslationOptionHandler([key, opts].concat(rest));
|
|
22160
22195
|
} else {
|
|
22161
|
-
|
|
22196
|
+
o = {
|
|
22162
22197
|
...opts
|
|
22163
22198
|
};
|
|
22164
22199
|
}
|
|
22165
|
-
|
|
22166
|
-
|
|
22167
|
-
|
|
22168
|
-
|
|
22169
|
-
|
|
22170
|
-
|
|
22200
|
+
o.lng = o.lng || fixedT.lng;
|
|
22201
|
+
o.lngs = o.lngs || fixedT.lngs;
|
|
22202
|
+
const explicitCallNs = o.ns !== undefined && o.ns !== null;
|
|
22203
|
+
o.ns = o.ns || fixedT.ns;
|
|
22204
|
+
if (o.keyPrefix !== "")
|
|
22205
|
+
o.keyPrefix = o.keyPrefix || keyPrefix || fixedT.keyPrefix;
|
|
22206
|
+
const selectorOpts = {
|
|
22207
|
+
...this.options,
|
|
22208
|
+
...o
|
|
22209
|
+
};
|
|
22210
|
+
if (Array.isArray(scopeNs) && !explicitCallNs)
|
|
22211
|
+
selectorOpts.ns = scopeNs;
|
|
22212
|
+
if (typeof o.keyPrefix === "function")
|
|
22213
|
+
o.keyPrefix = keysFromSelector(o.keyPrefix, selectorOpts);
|
|
22214
|
+
const keySeparator = this.options.keySeparator || ".";
|
|
22171
22215
|
let resultKey;
|
|
22172
|
-
if (
|
|
22173
|
-
resultKey = key.map((k) =>
|
|
22216
|
+
if (o.keyPrefix && Array.isArray(key)) {
|
|
22217
|
+
resultKey = key.map((k) => {
|
|
22218
|
+
if (typeof k === "function")
|
|
22219
|
+
k = keysFromSelector(k, selectorOpts);
|
|
22220
|
+
return `${o.keyPrefix}${keySeparator}${k}`;
|
|
22221
|
+
});
|
|
22174
22222
|
} else {
|
|
22175
|
-
|
|
22223
|
+
if (typeof key === "function")
|
|
22224
|
+
key = keysFromSelector(key, selectorOpts);
|
|
22225
|
+
resultKey = o.keyPrefix ? `${o.keyPrefix}${keySeparator}${key}` : key;
|
|
22176
22226
|
}
|
|
22177
|
-
return
|
|
22227
|
+
return this.t(resultKey, o);
|
|
22178
22228
|
};
|
|
22179
22229
|
if (isString(lng)) {
|
|
22180
22230
|
fixedT.lng = lng;
|
|
@@ -22185,17 +22235,20 @@ class I18n extends EventEmitter {
|
|
|
22185
22235
|
fixedT.keyPrefix = keyPrefix;
|
|
22186
22236
|
return fixedT;
|
|
22187
22237
|
}
|
|
22188
|
-
t() {
|
|
22189
|
-
|
|
22238
|
+
t(...args) {
|
|
22239
|
+
if (!this.translator) {
|
|
22240
|
+
this.logger.warn("t: called before init(); returning an empty string");
|
|
22241
|
+
return "";
|
|
22242
|
+
}
|
|
22243
|
+
return this.translator.translate(...args);
|
|
22190
22244
|
}
|
|
22191
|
-
exists() {
|
|
22192
|
-
return this.translator
|
|
22245
|
+
exists(...args) {
|
|
22246
|
+
return this.translator?.exists(...args);
|
|
22193
22247
|
}
|
|
22194
22248
|
setDefaultNamespace(ns) {
|
|
22195
22249
|
this.options.defaultNS = ns;
|
|
22196
22250
|
}
|
|
22197
|
-
hasLoadedNamespace(ns) {
|
|
22198
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
22251
|
+
hasLoadedNamespace(ns, options = {}) {
|
|
22199
22252
|
if (!this.isInitialized) {
|
|
22200
22253
|
this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages);
|
|
22201
22254
|
return false;
|
|
@@ -22222,7 +22275,11 @@ class I18n extends EventEmitter {
|
|
|
22222
22275
|
return true;
|
|
22223
22276
|
if (!this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages)
|
|
22224
22277
|
return true;
|
|
22225
|
-
|
|
22278
|
+
const {
|
|
22279
|
+
languageUtils
|
|
22280
|
+
} = this.services;
|
|
22281
|
+
const loadLng = !options.lng ? lng : languageUtils.isSupportedCode(lng) && languageUtils.toResolveHierarchy(lng, false)[0];
|
|
22282
|
+
if ((!loadLng || loadNotPending(loadLng, ns)) && (!fallbackLng || loadNotPending(lastLng, ns)))
|
|
22226
22283
|
return true;
|
|
22227
22284
|
return false;
|
|
22228
22285
|
}
|
|
@@ -22236,7 +22293,7 @@ class I18n extends EventEmitter {
|
|
|
22236
22293
|
if (isString(ns))
|
|
22237
22294
|
ns = [ns];
|
|
22238
22295
|
ns.forEach((n) => {
|
|
22239
|
-
if (this.options.ns.
|
|
22296
|
+
if (!this.options.ns.includes(n))
|
|
22240
22297
|
this.options.ns.push(n);
|
|
22241
22298
|
});
|
|
22242
22299
|
this.loadResources((err) => {
|
|
@@ -22251,7 +22308,7 @@ class I18n extends EventEmitter {
|
|
|
22251
22308
|
if (isString(lngs))
|
|
22252
22309
|
lngs = [lngs];
|
|
22253
22310
|
const preloaded = this.options.preload || [];
|
|
22254
|
-
const newLngs = lngs.filter((lng) => preloaded.
|
|
22311
|
+
const newLngs = lngs.filter((lng) => !preloaded.includes(lng) && this.services.languageUtils.isSupportedCode(lng));
|
|
22255
22312
|
if (!newLngs.length) {
|
|
22256
22313
|
if (callback)
|
|
22257
22314
|
callback();
|
|
@@ -22267,26 +22324,39 @@ class I18n extends EventEmitter {
|
|
|
22267
22324
|
}
|
|
22268
22325
|
dir(lng) {
|
|
22269
22326
|
if (!lng)
|
|
22270
|
-
lng = this.resolvedLanguage || (this.languages
|
|
22327
|
+
lng = this.resolvedLanguage || (this.languages?.length > 0 ? this.languages[0] : this.language);
|
|
22271
22328
|
if (!lng)
|
|
22272
|
-
return "
|
|
22329
|
+
return "ltr";
|
|
22330
|
+
try {
|
|
22331
|
+
const l = new Intl.Locale(lng);
|
|
22332
|
+
if (l && l.getTextInfo) {
|
|
22333
|
+
const ti = l.getTextInfo();
|
|
22334
|
+
if (ti && ti.direction)
|
|
22335
|
+
return ti.direction;
|
|
22336
|
+
}
|
|
22337
|
+
} catch (e) {}
|
|
22273
22338
|
const rtlLngs = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"];
|
|
22274
|
-
const languageUtils = this.services
|
|
22275
|
-
|
|
22339
|
+
const languageUtils = this.services?.languageUtils || new LanguageUtil(get());
|
|
22340
|
+
if (lng.toLowerCase().indexOf("-latn") > 1)
|
|
22341
|
+
return "ltr";
|
|
22342
|
+
return rtlLngs.includes(languageUtils.getLanguagePartFromCode(lng)) || lng.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
22276
22343
|
}
|
|
22277
|
-
static createInstance() {
|
|
22278
|
-
|
|
22279
|
-
|
|
22280
|
-
return
|
|
22344
|
+
static createInstance(options = {}, callback) {
|
|
22345
|
+
const instance = new I18n(options, callback);
|
|
22346
|
+
instance.createInstance = I18n.createInstance;
|
|
22347
|
+
return instance;
|
|
22281
22348
|
}
|
|
22282
|
-
cloneInstance() {
|
|
22283
|
-
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
22284
|
-
let callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;
|
|
22349
|
+
cloneInstance(options = {}, callback = noop) {
|
|
22285
22350
|
const forkResourceStore = options.forkResourceStore;
|
|
22286
|
-
if (forkResourceStore)
|
|
22351
|
+
if (forkResourceStore) {
|
|
22352
|
+
options = {
|
|
22353
|
+
...options
|
|
22354
|
+
};
|
|
22287
22355
|
delete options.forkResourceStore;
|
|
22356
|
+
}
|
|
22288
22357
|
const mergedOptions = {
|
|
22289
22358
|
...this.options,
|
|
22359
|
+
preload: false,
|
|
22290
22360
|
...options,
|
|
22291
22361
|
...{
|
|
22292
22362
|
isClone: true
|
|
@@ -22304,24 +22374,45 @@ class I18n extends EventEmitter {
|
|
|
22304
22374
|
...this.services
|
|
22305
22375
|
};
|
|
22306
22376
|
clone.services.utils = {
|
|
22307
|
-
|
|
22377
|
+
...clone.services.utils,
|
|
22378
|
+
hasLoadedNamespace: clone.hasLoadedNamespace.bind(clone),
|
|
22379
|
+
reloadResources: clone.reloadResources.bind(clone)
|
|
22308
22380
|
};
|
|
22309
22381
|
if (forkResourceStore) {
|
|
22310
|
-
|
|
22382
|
+
const copyData = (obj) => {
|
|
22383
|
+
const copied = Array.isArray(obj) ? [...obj] : {
|
|
22384
|
+
...obj
|
|
22385
|
+
};
|
|
22386
|
+
Object.keys(copied).forEach((k) => {
|
|
22387
|
+
if (copied[k] && typeof copied[k] === "object")
|
|
22388
|
+
copied[k] = copyData(copied[k]);
|
|
22389
|
+
});
|
|
22390
|
+
return copied;
|
|
22391
|
+
};
|
|
22392
|
+
const clonedData = copyData(this.store.data);
|
|
22393
|
+
clone.store = new ResourceStore(clonedData, mergedOptions);
|
|
22311
22394
|
clone.services.resourceStore = clone.store;
|
|
22312
22395
|
}
|
|
22396
|
+
if (options.interpolation) {
|
|
22397
|
+
const defOpts = get();
|
|
22398
|
+
const mergedInterpolation = {
|
|
22399
|
+
...defOpts.interpolation,
|
|
22400
|
+
...this.options.interpolation,
|
|
22401
|
+
...options.interpolation
|
|
22402
|
+
};
|
|
22403
|
+
const mergedForInterpolator = {
|
|
22404
|
+
...mergedOptions,
|
|
22405
|
+
interpolation: mergedInterpolation
|
|
22406
|
+
};
|
|
22407
|
+
clone.services.interpolator = new Interpolator(mergedForInterpolator);
|
|
22408
|
+
}
|
|
22313
22409
|
clone.translator = new Translator(clone.services, mergedOptions);
|
|
22314
|
-
clone.translator.on("*",
|
|
22315
|
-
for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1;_key4 < _len4; _key4++) {
|
|
22316
|
-
args[_key4 - 1] = arguments[_key4];
|
|
22317
|
-
}
|
|
22410
|
+
clone.translator.on("*", (event, ...args) => {
|
|
22318
22411
|
clone.emit(event, ...args);
|
|
22319
22412
|
});
|
|
22320
22413
|
clone.init(mergedOptions, callback);
|
|
22321
22414
|
clone.translator.options = mergedOptions;
|
|
22322
|
-
clone.translator.backendConnector.
|
|
22323
|
-
hasLoadedNamespace: clone.hasLoadedNamespace.bind(clone)
|
|
22324
|
-
};
|
|
22415
|
+
clone.translator.backendConnector.newestCloneHasLoadedNamespace = clone.hasLoadedNamespace.bind(clone);
|
|
22325
22416
|
return clone;
|
|
22326
22417
|
}
|
|
22327
22418
|
toJSON() {
|
|
@@ -22335,7 +22426,6 @@ class I18n extends EventEmitter {
|
|
|
22335
22426
|
}
|
|
22336
22427
|
}
|
|
22337
22428
|
var instance = I18n.createInstance();
|
|
22338
|
-
instance.createInstance = I18n.createInstance;
|
|
22339
22429
|
var createInstance = instance.createInstance;
|
|
22340
22430
|
var dir = instance.dir;
|
|
22341
22431
|
var init = instance.init;
|
|
@@ -33907,7 +33997,7 @@ var __export = (target, all) => {
|
|
|
33907
33997
|
// ../../node_modules/@uipath/flow-core/dist/chunk-HEDGKXJX.js
|
|
33908
33998
|
var globImport_locales_json2 = __glob2({
|
|
33909
33999
|
"../../locales/de.json": () => import("./de-2BEKRUMY-x4dx0nn9.js"),
|
|
33910
|
-
"../../locales/en.json": () => import("./en-X6T4SP2Y-
|
|
34000
|
+
"../../locales/en.json": () => import("./en-X6T4SP2Y-4yqsas9z.js"),
|
|
33911
34001
|
"../../locales/es-MX.json": () => import("./es-MX-IHGRIEWH-g63p0gb4.js"),
|
|
33912
34002
|
"../../locales/es.json": () => import("./es-7ZTQTGKN-11sj0yjx.js"),
|
|
33913
34003
|
"../../locales/fr.json": () => import("./fr-7ZDL4MVO-pd27vwh6.js"),
|
|
@@ -88832,4 +88922,4 @@ var ManifestClient = _ManifestClient;
|
|
|
88832
88922
|
|
|
88833
88923
|
export { agentDuplicateToolNames_duplicateName_message2, agentEmptyVar_unwrittenVariable_message2, agentFileNotAnalyzed_unconsumedFileVar_message2, agentInputRefs_ambiguousUnderscoreAsset_message2, agentInputRefs_ambiguousUnderscoreRoot_message2, agentInputRefs_normalizedNameCollision_message2, agentInputRefs_reservedAssetsRoot_message2, agentInputRefs_reservedMetadataRoot_message2, agentInputRefs_reservedNamespace_message2, agentInputRefs_unresolvedRef_message2, agenticSwitchDuplicateChoices_duplicateName_message2, conditionExpression_decisionWrapped_message2, conditionExpression_incomplete_message2, conditionExpression_invalid_message2, conditionExpression_required_message2, conversationTrigger_displayPromptRequired_message2, conversationalRequired_contextRequired_message2, conversationalRequired_conversationIdRequired_message2, conversationalVoiceEndCall_callContextInvalid_message2, conversationalVoice_callContextInvalid_message2, conversationalVoice_callContextRequired_message2, dataTransform_customScriptMissing_message2, dataTransform_filterMissingField_message2, dataTransform_filterNoConditions_message2, dataTransform_groupByAggMissingField_message2, dataTransform_groupByAggMissingOutputName_message2, dataTransform_groupByMissingField_message2, dataTransform_mapMissingField_message2, dataTransform_mapNoMappings_message2, dataTransform_missingCollection_message2, dataTransform_noOperations_message2, doWhile_limitOutOfRange_message2, entityQuery_emptyFilterExpression_message2, entityQuery_emptyFilterValueList_message2, entityQuery_incompleteSingleRecordRow_message2, entityQuery_invalidRecordLimit_message2, entityQuery_invalidRecordSkip_message2, entityQuery_uncarryableExpression_message2, entityQuery_uncarryableRelationPath_message2, entityQuery_unfilteredSingleRecord_message2, entityQuery_unresolvedRelation_message2, entitySchema_fieldMissing_message2, entityWrite_readNodeFilterless_message2, entityWrite_readNodeMissing_message2, entityWrite_readNodeMultiRecord_message2, entityWrite_readNodeNonNative_message2, entityWrite_readNodeUnusableFilter_message2, entityWrite_requiredFieldBlanked_message2, entityWrite_requiredFieldMissing_message2, errorHandlerPlacement_connected_message2, errorHandlerPlacement_duplicate_message2, errorHandlerPlacement_nested_message2, errorHandlerPlacement_subflow_message2, escalation_appRequired_message2, escalation_memoryArgumentRequired_message2, escalation_nameRequired_message2, escalation_quickFormDuplicateFieldLabel_message2, escalation_recipientRequired_message2, governance_hitlRequired_message2, governance_maxIterationsExceeded_message2, governance_maxTokensExceeded_message2, governance_modelNotAvailable_message2, governance_noAllowedModel_message2, governance_temperatureExceeded_message2, hitlDocClassification_processedDocumentRequired_message2, hitlDocValidation_extractionOutputRequired_message2, hitlDocValidation_extractionResultRequired_message2, hitlDocValidation_taxonomyRequired_message2, hitlQuickForm_emptySchema_message2, hitlQuickForm_fieldLabelRequired_message2, ixpSchemaDraft_invalidWithDetail_message2, ixpSchemaDraft_invalid_message2, ixpSchemaLimits_exceeded_message2, jevClassifier_instructionsMissing_message2, jevClassifier_instructionsVariableMissing_message2, jevClassifier_instructionsVariableType_message2, jevClassifier_levelTextMissing_message2, jevClassifier_levelsCount_message2, jevClassifier_modelMissing_message2, jevClassifier_optionNameDuplicate_message2, jevClassifier_optionNameMissing_message2, jevClassifier_optionsCount_message2, jevClassifier_questionFieldVariableMissing_message2, jevClassifier_questionFieldVariableType_message2, jevClassifier_questionNameDuplicate_message2, jevClassifier_questionNameInvalid_message2, jevClassifier_questionNameMissing_message2, jevClassifier_questionsMissing_message2, jevClassifier_questionsVariableMissing_message2, jevClassifier_questionsVariableType_message2, jevClassifier_stateJsonArray_message2, jevClassifier_stateJsonObject_message2, jevClassifier_statePropertiesMissing_message2, jevClassifier_statePropertyNameDuplicate_message2, jevClassifier_statePropertyNameInvalid_message2, jevClassifier_statePropertyNameMissing_message2, jevClassifier_statePropertyValueInvalid_message2, jevClassifier_statePropertyValueMissing_message2, jevClassifier_statePropertyVariableMissing_message2, jevClassifier_statePropertyVariableType_message2, jevClassifier_stateTextMissing_message2, jevClassifier_stateVariableMissing_message2, jevClassifier_stateVariableType_message2, nodeId_invalidFormat_message2, nodeId_reservedWord_message2, nodeMaxInstances_exceeded_message2, outputMapping_missing_message2, patternPlaceholder_step_message2, retry_durationInvalid_message2, retry_exponentialBaseInvalid_message2, retry_maxCountInvalid_message2, schemaValidator_genericKeyword_message2, schemaValidator_invalidEnum_message2, schemaValidator_invalidField_message2, schemaValidator_invalidPattern_message2, schemaValidator_outOfRange_message2, schemaValidator_required_message2, schemaValidator_typeMismatch_message2, schemaValidator_validation_genericError2, scriptBody_mustache_message2, singleConversationTrigger_message2, timeLimit_durationInvalid_message2, triggerRequired_message2, en_default, manifest_categorySection_dataFabric2, manifest_category_agentToolA2a_name2, manifest_category_agentToolAgent_name2, manifest_category_agentToolAgenticProcess_name2, manifest_category_agentToolApi_name2, manifest_category_agentToolBuiltIn_name2, manifest_category_agentToolClientSide_description2, manifest_category_agentToolClientSide_name2, manifest_category_agentToolConnector_name2, manifest_category_agentToolFlow_name2, manifest_category_agentToolFunction_name2, manifest_category_agentToolIxp_name2, manifest_category_agentToolMcp_name2, manifest_category_agentToolRpa_name2, manifest_category_agentTool_name2, manifest_category_agent_description2, manifest_category_agent_name2, manifest_category_agenticProcess_description2, manifest_category_agenticProcess_name2, manifest_category_apiWorkflow_description2, manifest_category_apiWorkflow_name2, manifest_category_caseManagement_description2, manifest_category_caseManagement_name2, manifest_category_connectorEvent_name2, manifest_category_connectorTrigger_name2, manifest_category_connector_description2, manifest_category_connector_name2, manifest_category_contextGroundingIndexes_description2, manifest_category_contextGroundingIndexes_name2, manifest_category_controlFlow_description2, manifest_category_controlFlow_name2, manifest_category_conversationalTools_description2, manifest_category_conversationalTools_name2, manifest_category_conversational_name2, manifest_category_data_description2, manifest_category_data_name2, manifest_category_documentExtraction_name2, manifest_category_documentProcessing_description2, manifest_category_documentProcessing_name2, manifest_category_externalAgent_description2, manifest_category_externalAgent_name2, manifest_category_flow_description2, manifest_category_flow_name2, manifest_category_function_name2, manifest_category_humanDecision_description2, manifest_category_humanDecision_name2, manifest_category_humanTask_description2, manifest_category_humanTask_name2, manifest_category_patterns_description2, manifest_category_patterns_name2, manifest_category_queueTools_description2, manifest_category_queueTools_name2, manifest_category_rpaWorkflow_description2, manifest_category_rpaWorkflow_name2, manifest_category_tool_description2, manifest_category_tool_name2, manifest_category_trigger_description2, manifest_category_trigger_name2, manifest_category_voiceTools_description2, manifest_category_voiceTools_name2, manifest_category_waitForEvent_description2, manifest_category_waitForEvent_name2, manifest_createNewNode_description2, manifest_createNewNode_label2, manifest_handle_agentTool_validationMessage2, manifest_handle_context_createNewAction_description2, manifest_handle_context_createNewAction_label2, manifest_handle_tool_createNewAction_label2, manifest_nodeBuilder_appProperties_actionCatalogName_label2, manifest_nodeBuilder_appProperties_actionCatalogName_placeholder2, manifest_nodeBuilder_appProperties_assignee_label2, manifest_nodeBuilder_appProperties_assignee_placeholder2, manifest_nodeBuilder_appProperties_enableActionableMessages_label2, manifest_nodeBuilder_appProperties_labels_label2, manifest_nodeBuilder_appProperties_labels_placeholder2, manifest_nodeBuilder_appProperties_priority_criticalOption2, manifest_nodeBuilder_appProperties_priority_highOption2, manifest_nodeBuilder_appProperties_priority_label2, manifest_nodeBuilder_appProperties_priority_lowOption2, manifest_nodeBuilder_appProperties_priority_mediumOption2, manifest_nodeBuilder_appProperties_priority_required2, manifest_nodeBuilder_appProperties_section_title2, manifest_nodeBuilder_appProperties_taskTitle_label2, manifest_nodeBuilder_appProperties_taskTitle_required2, manifest_nodeBuilder_conversationalAgentSettings_endExchange_description2, manifest_nodeBuilder_conversationalAgentSettings_endExchange_label2, manifest_nodeBuilder_conversationalAgentSettings_section_title2, manifest_nodeBuilder_humanTask_form_title2, manifest_nodeBuilder_inputs_section_title2, manifest_nodeBuilder_toolbar_open_label2, manifest_node_agentContext_form_indexSettings_section_title2, manifest_node_agentContext_form_title2, manifest_node_agentContext_handle_input_validationMessage2, manifest_node_agentContext_inputDefaults_query_promptValue_semantic2, manifest_node_agentContext_validation_outputColumns_itemDescription_required2, manifest_node_agentContext_validation_outputColumns_minItems2, manifest_node_agentContext_validation_query_required_batchtransform2, manifest_node_agentContext_validation_query_required_deeprag2, manifest_node_agentContext_validation_query_required_semantic2, manifest_node_agentMemory_handle_input_validationMessage2, manifest_node_agenticSwitch_description2, manifest_node_agenticSwitch_display_label2, manifest_node_agenticSwitch_form_advanced_inputApiKey_description2, manifest_node_agenticSwitch_form_advanced_inputApiKey_label2, manifest_node_agenticSwitch_form_advanced_title2, manifest_node_agenticSwitch_form_criteria_description2, manifest_node_agenticSwitch_form_criteria_inputCriteria_label2, manifest_node_agenticSwitch_form_criteria_title2, manifest_node_agenticSwitch_form_decision_inputConfidenceThreshold_description2, manifest_node_agenticSwitch_form_decision_inputConfidenceThreshold_label2, manifest_node_agenticSwitch_form_decision_inputInstructions_description2, manifest_node_agenticSwitch_form_decision_inputInstructions_label2, manifest_node_agenticSwitch_form_decision_inputInstructions_placeholder2, manifest_node_agenticSwitch_form_decision_inputState_description2, manifest_node_agenticSwitch_form_decision_inputState_label2, manifest_node_agenticSwitch_form_decision_inputState_placeholder2, manifest_node_agenticSwitch_form_title2, manifest_node_agenticSwitch_input_apiKey_errorMessage2, manifest_node_agenticSwitch_input_criteria_errorMessage2, manifest_node_agenticSwitch_input_instructions_errorMessage2, manifest_node_agenticSwitch_input_state_errorMessage2, manifest_node_agenticSwitch_output_output_description2, manifest_node_analyzeFilesTool_description2, manifest_node_analyzeFilesTool_display_description2, manifest_node_analyzeFilesTool_display_label2, manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputAnalysisTaskDescription_label2, manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputAnalysisTaskDescription_placeholder2, manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputAttachmentsDescription_label2, manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputAttachmentsDescription_placeholder2, manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputDescription_label2, manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputDescription_placeholder2, manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputItemsDescription_componentProps_addButtonLabel2, manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputItemsDescription_componentProps_placeholder2, manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputItemsDescription_label2, manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputItemsDescription_placeholder2, manifest_node_analyzeFilesTool_form_analyzefilesSettings_title2, manifest_node_analyzeFilesTool_form_simulationSettings_description2, manifest_node_analyzeFilesTool_form_simulationSettings_inputExampleCalls_componentProps_addButtonLabel2, manifest_node_analyzeFilesTool_form_simulationSettings_title2, manifest_node_analyzeFilesTool_form_title2, manifest_node_autonomousAgent_description2, manifest_node_autonomousAgent_display_label2, manifest_node_autonomousAgent_form_section1_inputMaxIterations_label2, manifest_node_autonomousAgent_form_section1_inputMaxTokenPerResponse_label2, manifest_node_autonomousAgent_form_section1_inputModel_label2, manifest_node_autonomousAgent_form_section1_inputSystemPrompt_componentProps_placeholder2, manifest_node_autonomousAgent_form_section1_inputSystemPrompt_label2, manifest_node_autonomousAgent_form_section1_inputTemperature_label2, manifest_node_autonomousAgent_form_section1_inputUserPrompt_componentProps_placeholder2, manifest_node_autonomousAgent_form_section1_inputUserPrompt_label2, manifest_node_autonomousAgent_form_section1_title2, manifest_node_autonomousAgent_form_sectionAdvanced_inputMaxIterations_label2, manifest_node_autonomousAgent_form_sectionAdvanced_inputMaxTokenPerResponse_label2, manifest_node_autonomousAgent_form_sectionAdvanced_inputModel_label2, manifest_node_autonomousAgent_form_sectionAdvanced_inputTemperature_label2, manifest_node_autonomousAgent_form_sectionAdvanced_title2, manifest_node_autonomousAgent_form_title2, manifest_node_autonomousAgent_handle_context_label2, manifest_node_autonomousAgent_handle_escalation_label2, manifest_node_autonomousAgent_handle_memory_label2, manifest_node_autonomousAgent_handle_tool_label2, manifest_node_autonomousAgent_input_systemPrompt_errorMessage2, manifest_node_autonomousAgent_input_userPrompt_errorMessage2, manifest_node_autonomousAgent_output_error_description2, manifest_node_autonomousAgent_output_output_content_description2, manifest_node_autonomousAgent_output_output_description2, manifest_node_batchTransformPattern_form_source_inputPrompt_componentProps_placeholder2, manifest_node_batchTransformPattern_form_source_inputPrompt_validation_required2, manifest_node_batchTransformPattern_output_error_description2, manifest_node_batchTransformTool_description2, manifest_node_batchTransformTool_display_description2, manifest_node_batchTransformTool_display_label2, manifest_node_batchTransformTool_form_batchtransformSettings_inputOutputColumns_label2, manifest_node_batchTransformTool_form_batchtransformSettings_inputQueryValue_label2, manifest_node_batchTransformTool_form_batchtransformSettings_inputQueryValue_placeholder2, manifest_node_batchTransformTool_form_batchtransformSettings_inputSource_label2, manifest_node_batchTransformTool_form_batchtransformSettings_inputSource_placeholder2, manifest_node_batchTransformTool_form_batchtransformSettings_inputWebSearchGroundingValue_label2, manifest_node_batchTransformTool_form_batchtransformSettings_inputWebSearchGroundingValue_option_disabled_label2, manifest_node_batchTransformTool_form_batchtransformSettings_inputWebSearchGroundingValue_option_enabled_label2, manifest_node_batchTransformTool_form_batchtransformSettings_title2, manifest_node_batchTransformTool_form_title2, manifest_node_batchTransformTool_input_outputColumns_errorMessage2, manifest_node_batchTransformTool_input_query_errorMessage2, manifest_node_batchTransform_description2, manifest_node_batchTransform_display_label2, manifest_node_batchTransform_form_outputColumns_inputOutputColumns_description2, manifest_node_batchTransform_form_outputColumns_title2, manifest_node_batchTransform_form_source_inputAttachment_description2, manifest_node_batchTransform_form_source_inputAttachment_label2, manifest_node_batchTransform_form_source_inputAttachment_validation_required2, manifest_node_batchTransform_form_source_inputEnableWebSearchGrounding_description2, manifest_node_batchTransform_form_source_inputEnableWebSearchGrounding_label2, manifest_node_batchTransform_form_source_inputPrompt_description2, manifest_node_batchTransform_form_source_inputPrompt_label2, manifest_node_batchTransform_form_source_title2, manifest_node_batchTransform_form_title2, manifest_node_classifyDocument_description2, manifest_node_classifyDocument_display_label2, manifest_node_classifyDocument_form_fileInput_inputFileRef_description2, manifest_node_classifyDocument_form_fileInput_inputFileRef_label2, manifest_node_classifyDocument_form_fileInput_inputFileRef_validation_required2, manifest_node_classifyDocument_form_fileInput_inputPageRange_description2, manifest_node_classifyDocument_form_fileInput_inputPageRange_label2, manifest_node_classifyDocument_form_fileInput_inputPageRange_placeholder2, manifest_node_classifyDocument_form_fileInput_inputSplitPages_description2, manifest_node_classifyDocument_form_fileInput_inputSplitPages_label2, manifest_node_classifyDocument_form_fileInput_title2, manifest_node_classifyDocument_form_modelConfig_title2, manifest_node_classifyDocument_form_title2, manifest_node_classifyDocument_output_error_description2, manifest_node_clientSideTool_description2, manifest_node_clientSideTool_display_description2, manifest_node_clientSideTool_display_label2, manifest_node_clientSideTool_form_inputSchema_label2, manifest_node_clientSideTool_form_outputSchema_label2, manifest_node_clientSideTool_form_settings_title2, manifest_node_clientSideTool_form_title2, manifest_node_conversationTrigger_description2, manifest_node_conversationTrigger_display_label2, manifest_node_conversationTrigger_form_appearance_inputAppearancePersonalWorkspaceConnectionsOnly_description2, manifest_node_conversationTrigger_form_appearance_inputAppearancePersonalWorkspaceConnectionsOnly_label2, manifest_node_conversationTrigger_form_appearance_inputAppearanceStartingPrompts_label2, manifest_node_conversationTrigger_form_appearance_inputAppearanceWelcomeDescription_label2, manifest_node_conversationTrigger_form_appearance_inputAppearanceWelcomeTitle_label2, manifest_node_conversationTrigger_form_appearance_title2, manifest_node_conversationTrigger_form_title2, manifest_node_conversationTrigger_output_output_description2, manifest_node_conversationalAgent_description2, manifest_node_conversationalAgent_display_label2, manifest_node_conversationalAgent_form_conversationalAgentSettings_inputCallContext_description2, manifest_node_conversationalAgent_form_conversationalAgentSettings_inputCallContext_label2, manifest_node_conversationalAgent_form_conversationalAgentSettings_inputEndExchange_description2, manifest_node_conversationalAgent_form_conversationalAgentSettings_inputEndExchange_label2, manifest_node_conversationalAgent_form_conversationalAgentSettings_title2, manifest_node_conversationalAgent_form_section1_inputMaxTokenPerResponse_label2, manifest_node_conversationalAgent_form_section1_inputModel_label2, manifest_node_conversationalAgent_form_section1_inputSystemPrompt_componentProps_placeholder2, manifest_node_conversationalAgent_form_section1_inputSystemPrompt_label2, manifest_node_conversationalAgent_form_section1_inputTemperature_label2, manifest_node_conversationalAgent_form_section1_inputVoiceModel_label2, manifest_node_conversationalAgent_form_section1_inputVoicePersona_label2, manifest_node_conversationalAgent_form_section1_inputWelcomeDescription_label2, manifest_node_conversationalAgent_form_section1_inputWelcomeTitle_label2, manifest_node_conversationalAgent_form_section1_title2, manifest_node_conversationalAgent_form_sectionAdvanced_inputMaxTokenPerResponse_label2, manifest_node_conversationalAgent_form_sectionAdvanced_inputModel_label2, manifest_node_conversationalAgent_form_sectionAdvanced_inputTemperature_label2, manifest_node_conversationalAgent_form_sectionAdvanced_inputVoiceMaxTokens_label2, manifest_node_conversationalAgent_form_sectionAdvanced_inputVoiceTemperature_label2, manifest_node_conversationalAgent_form_sectionAdvanced_title2, manifest_node_conversationalAgent_form_title2, manifest_node_conversationalAgent_handle_context_label2, manifest_node_conversationalAgent_handle_escalation_label2, manifest_node_conversationalAgent_handle_memory_label2, manifest_node_conversationalAgent_handle_tool_label2, manifest_node_conversationalAgent_input_callContext_description2, manifest_node_conversationalAgent_input_conversationalAgentSettings_description2, manifest_node_conversationalAgent_output_error_description2, manifest_node_conversationalAgent_output_output_description2, manifest_node_conversationalAgent_output_output_uipathAgentResponseMessages_description2, manifest_node_conversationalAgent_output_output_uipathVoiceCallContext_conversationId_description2, manifest_node_conversationalAgent_output_output_uipathVoiceCallContext_description2, manifest_node_conversationalAgent_output_output_uipathVoiceCallContext_id_description2, manifest_node_conversationalAgent_output_output_uipathVoiceCallContext_type_description2, manifest_node_conversationalAgent_output_output_uipathVoiceSession_callEnded_description2, manifest_node_conversationalAgent_output_output_uipathVoiceSession_description2, manifest_node_conversationalAgent_output_output_uipathVoiceSession_endedBy_description2, manifest_node_conversationalAgent_output_output_uipathVoiceSession_reason_description2, manifest_node_conversationalVoiceCreateOutgoingCall_description2, manifest_node_conversationalVoiceCreateOutgoingCall_display_label2, manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputFrom_description2, manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputFrom_label2, manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputFrom_validation_required2, manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputTo_description2, manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputTo_label2, manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputTo_validation_required2, manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_title2, manifest_node_conversationalVoiceCreateOutgoingCall_form_title2, manifest_node_conversationalVoiceCreateOutgoingCall_input_from_errorMessage2, manifest_node_conversationalVoiceCreateOutgoingCall_input_to_errorMessage2, manifest_node_conversationalVoiceCreateOutgoingCall_output_error_description2, manifest_node_conversationalVoiceCreateOutgoingCall_output_output_description2, manifest_node_conversationalVoiceEndCall_description2, manifest_node_conversationalVoiceEndCall_display_label2, manifest_node_conversationalVoiceEndCall_form_configuration_inputCallContext_description2, manifest_node_conversationalVoiceEndCall_form_configuration_inputCallContext_label2, manifest_node_conversationalVoiceEndCall_form_configuration_inputCallContext_placeholder2, manifest_node_conversationalVoiceEndCall_form_configuration_inputCallContext_validation_required2, manifest_node_conversationalVoiceEndCall_form_configuration_title2, manifest_node_conversationalVoiceEndCall_form_title2, manifest_node_conversationalVoiceEndCall_input_callContext_description2, manifest_node_conversationalVoiceEndCall_output_error_description2, manifest_node_conversationalVoiceEndCall_output_output_description2, manifest_node_createEntity_description2, manifest_node_createEntity_display_label2, manifest_node_createEntity_form_entityConfig_title2, manifest_node_createEntity_form_title2, manifest_node_createEntity_output_output_description2, manifest_node_createFileTool_description2, manifest_node_createFileTool_display_description2, manifest_node_createFileTool_display_label2, manifest_node_createFileTool_form_createfileSettings_inputContentDescription_label2, manifest_node_createFileTool_form_createfileSettings_inputDescription_label2, manifest_node_createFileTool_form_createfileSettings_inputDescription_placeholder2, manifest_node_createFileTool_form_createfileSettings_inputFileNameDescription_label2, manifest_node_createFileTool_form_createfileSettings_inputFilePathDescription_label2, manifest_node_createFileTool_form_createfileSettings_title2, manifest_node_createFileTool_form_simulationSettings_description2, manifest_node_createFileTool_form_simulationSettings_inputExampleCalls_componentProps_addButtonLabel2, manifest_node_createFileTool_form_simulationSettings_title2, manifest_node_createFileTool_form_title2, manifest_node_createFile_description2, manifest_node_createFile_display_label2, manifest_node_createFile_form_connection_inputConnectionId_description2, manifest_node_createFile_form_connection_inputConnectionId_label2, manifest_node_createFile_form_connection_inputConnectionId_validation_required2, manifest_node_createFile_form_connection_title2, manifest_node_createFile_form_file_inputContent_description2, manifest_node_createFile_form_file_inputContent_label2, manifest_node_createFile_form_file_inputContent_placeholder2, manifest_node_createFile_form_file_inputContent_validation_required2, manifest_node_createFile_form_file_inputFileName_description2, manifest_node_createFile_form_file_inputFileName_label2, manifest_node_createFile_form_file_inputFileName_placeholder2, manifest_node_createFile_form_file_inputFileName_validation_required2, manifest_node_createFile_form_file_inputMimeType_description2, manifest_node_createFile_form_file_inputMimeType_label2, manifest_node_createFile_form_file_inputMimeType_option_applicationJson_label2, manifest_node_createFile_form_file_inputMimeType_option_textCsv_label2, manifest_node_createFile_form_file_inputMimeType_option_textHtml_label2, manifest_node_createFile_form_file_inputMimeType_option_textMarkdown_label2, manifest_node_createFile_form_file_inputMimeType_option_textPlain_label2, manifest_node_createFile_form_file_inputMimeType_validation_required2, manifest_node_createFile_form_file_title2, manifest_node_createFile_form_title2, manifest_node_createFile_input_connectionId_errorMessage2, manifest_node_createFile_input_fileName_errorMessage2, manifest_node_createFile_input_mimeType_errorMessage2, manifest_node_createFile_output_error_description2, manifest_node_dataFabricEntitySet_description2, manifest_node_dataFabricEntitySet_display_description2, manifest_node_dataFabricEntitySet_display_label2, manifest_node_dataFabricEntitySet_form_title2, manifest_node_dataFabricEntitySet_inputDefaults_name2, manifest_node_decisionAuto_description2, manifest_node_decisionAuto_display_label2, manifest_node_decisionAuto_form_additionalProperties_inputLabels_label2, manifest_node_decisionAuto_form_additionalProperties_inputLabels_placeholder2, manifest_node_decisionAuto_form_additionalProperties_inputPriority_label2, manifest_node_decisionAuto_form_additionalProperties_inputPriority_option_high_label2, manifest_node_decisionAuto_form_additionalProperties_inputPriority_option_low_label2, manifest_node_decisionAuto_form_additionalProperties_inputPriority_option_medium_label2, manifest_node_decisionAuto_form_additionalProperties_inputTitle_label2, manifest_node_decisionAuto_form_additionalProperties_title2, manifest_node_decisionAuto_form_decision_inputRationaleBinding_label2, manifest_node_decisionAuto_form_decision_inputReason1DecisionBinding_label2, manifest_node_decisionAuto_form_decision_inputReason1DescriptionBinding_label2, manifest_node_decisionAuto_form_decision_inputReason1RelevanceBinding_label2, manifest_node_decisionAuto_form_decision_inputReason1TitleBinding_label2, manifest_node_decisionAuto_form_decision_inputReason2DecisionBinding_label2, manifest_node_decisionAuto_form_decision_inputReason2DescriptionBinding_label2, manifest_node_decisionAuto_form_decision_inputReason2RelevanceBinding_label2, manifest_node_decisionAuto_form_decision_inputReason2TitleBinding_label2, manifest_node_decisionAuto_form_decision_inputReason3DecisionBinding_label2, manifest_node_decisionAuto_form_decision_inputReason3DescriptionBinding_label2, manifest_node_decisionAuto_form_decision_inputReason3RelevanceBinding_label2, manifest_node_decisionAuto_form_decision_inputReason3TitleBinding_label2, manifest_node_decisionAuto_form_decision_inputResolutionBinding_label2, manifest_node_decisionAuto_form_decision_title2, manifest_node_decisionAuto_form_title2, manifest_node_decisionAuto_output_output_description2, manifest_node_decisionAuto_output_status_description2, manifest_node_decision_description2, manifest_node_decision_display_label2, manifest_node_decision_form_condition_inputExpression_componentProps_placeholder2, manifest_node_decision_form_condition_inputExpression_description2, manifest_node_decision_form_condition_inputExpression_label2, manifest_node_decision_form_condition_inputFalseLabel_description2, manifest_node_decision_form_condition_inputFalseLabel_label2, manifest_node_decision_form_condition_inputTrueLabel_description2, manifest_node_decision_form_condition_inputTrueLabel_label2, manifest_node_decision_form_condition_title2, manifest_node_decision_form_title2, manifest_node_decision_input_expression_errorMessage2, manifest_node_decision_output_matchedCaseId_description2, manifest_node_decision_output_matchedCase_description2, manifest_node_deepRagPattern_form_source_inputPrompt_componentProps_placeholder2, manifest_node_deepRagPattern_form_source_inputPrompt_validation_required2, manifest_node_deepRagPattern_output_error_description2, manifest_node_deepRag_description2, manifest_node_deepRag_display_label2, manifest_node_deepRag_form_citations_inputReturnCitations_description2, manifest_node_deepRag_form_citations_inputReturnCitations_label2, manifest_node_deepRag_form_citations_title2, manifest_node_deepRag_form_source_inputAttachment_description2, manifest_node_deepRag_form_source_inputAttachment_label2, manifest_node_deepRag_form_source_inputAttachment_validation_required2, manifest_node_deepRag_form_source_inputPrompt_description2, manifest_node_deepRag_form_source_inputPrompt_label2, manifest_node_deepRag_form_source_title2, manifest_node_deepRag_form_title2, manifest_node_delay_description2, manifest_node_delay_display_label2, manifest_node_delay_form_timer_inputTimerDate_description2, manifest_node_delay_form_timer_inputTimerDate_label2, manifest_node_delay_form_timer_inputTimerPreset_label2, manifest_node_delay_form_timer_inputTimerPreset_option_custom_label2, manifest_node_delay_form_timer_inputTimerPreset_option_p1d_label2, manifest_node_delay_form_timer_inputTimerPreset_option_p1w_label2, manifest_node_delay_form_timer_inputTimerPreset_option_pt12h_label2, manifest_node_delay_form_timer_inputTimerPreset_option_pt15m_label2, manifest_node_delay_form_timer_inputTimerPreset_option_pt15s_label2, manifest_node_delay_form_timer_inputTimerPreset_option_pt1h_label2, manifest_node_delay_form_timer_inputTimerPreset_option_pt1m_label2, manifest_node_delay_form_timer_inputTimerPreset_option_pt30m_label2, manifest_node_delay_form_timer_inputTimerPreset_option_pt30s_label2, manifest_node_delay_form_timer_inputTimerPreset_option_pt5m_label2, manifest_node_delay_form_timer_inputTimerPreset_option_pt5s_label2, manifest_node_delay_form_timer_inputTimerPreset_option_pt6h_label2, manifest_node_delay_form_timer_inputTimerType_label2, manifest_node_delay_form_timer_inputTimerType_option_date_label2, manifest_node_delay_form_timer_inputTimerType_option_duration_label2, manifest_node_delay_form_timer_inputTimerType_option_timeDate_label2, manifest_node_delay_form_timer_inputTimerType_option_timeDuration_label2, manifest_node_delay_form_timer_inputTimerValue_description2, manifest_node_delay_form_timer_inputTimerValue_label2, manifest_node_delay_form_timer_inputTimerValue_placeholder2, manifest_node_delay_form_timer_title2, manifest_node_delay_form_title2, manifest_node_delay_input_timerDate_errorMessage2, manifest_node_delay_input_timerPreset_errorMessage2, manifest_node_delay_input_timerType_errorMessage2, manifest_node_delay_input_timerValue_errorMessage2, manifest_node_deleteEntity_description2, manifest_node_deleteEntity_display_label2, manifest_node_deleteEntity_form_entityConfig_title2, manifest_node_deleteEntity_form_title2, manifest_node_dowhile_description2, manifest_node_dowhile_display_description2, manifest_node_dowhile_display_label2, manifest_node_dowhile_form_iteration_inputBreakEnabled_description2, manifest_node_dowhile_form_iteration_inputBreakEnabled_label2, manifest_node_dowhile_form_iteration_inputCondition_componentProps_placeholder2, manifest_node_dowhile_form_iteration_inputCondition_description2, manifest_node_dowhile_form_iteration_inputCondition_label2, manifest_node_dowhile_form_iteration_inputLimit_description2, manifest_node_dowhile_form_iteration_inputLimit_label2, manifest_node_dowhile_form_iteration_title2, manifest_node_dowhile_form_title2, manifest_node_dowhile_handle_break_label2, manifest_node_dowhile_handle_continue_label2, manifest_node_dowhile_handle_start_label2, manifest_node_dowhile_input_condition_errorMessage2, manifest_node_dowhile_input_limit_errorMessage2, manifest_node_dowhile_output_error_description2, manifest_node_dynamicExtract_description2, manifest_node_dynamicExtract_display_canvasLabel2, manifest_node_dynamicExtract_display_description2, manifest_node_dynamicExtract_display_label2, manifest_node_end_description2, manifest_node_end_display_label2, manifest_node_errorHandler_description2, manifest_node_errorHandler_display_description2, manifest_node_errorHandler_display_label2, manifest_node_errorHandler_handle_done_label2, manifest_node_errorHandler_handle_onError_label2, manifest_node_errorHandler_output_error_description2, manifest_node_escalationActionApp_description2, manifest_node_escalationActionApp_display_description2, manifest_node_escalationActionApp_display_label2, manifest_node_escalationActionApp_form_escalationSection_inputAgentMemory_description2, manifest_node_escalationActionApp_form_escalationSection_inputAgentMemory_label2, manifest_node_escalationActionApp_form_escalationSection_inputApp_label2, manifest_node_escalationActionApp_form_escalationSection_inputDescription_label2, manifest_node_escalationActionApp_form_escalationSection_inputDescription_placeholder2, manifest_node_escalationActionApp_form_escalationSection_inputMemorySearchMode_label2, manifest_node_escalationActionApp_form_escalationSection_inputMemorySearchMode_option_hybrid_label2, manifest_node_escalationActionApp_form_escalationSection_inputMemorySearchMode_option_semantic_label2, manifest_node_escalationActionApp_form_escalationSection_inputMemorySimilarity_description2, manifest_node_escalationActionApp_form_escalationSection_inputMemorySimilarity_label2, manifest_node_escalationActionApp_form_escalationSection_inputName_label2, manifest_node_escalationActionApp_form_escalationSection_title2, manifest_node_escalationActionApp_form_title2, manifest_node_escalationQuickForm_description2, manifest_node_escalationQuickForm_display_description2, manifest_node_escalationQuickForm_display_label2, manifest_node_escalationQuickForm_form_escalationSection_inputAgentMemory_description2, manifest_node_escalationQuickForm_form_escalationSection_inputAgentMemory_label2, manifest_node_escalationQuickForm_form_escalationSection_inputDescription_label2, manifest_node_escalationQuickForm_form_escalationSection_inputDescription_placeholder2, manifest_node_escalationQuickForm_form_escalationSection_inputMemorySearchMode_label2, manifest_node_escalationQuickForm_form_escalationSection_inputMemorySearchMode_option_hybrid_label2, manifest_node_escalationQuickForm_form_escalationSection_inputMemorySearchMode_option_semantic_label2, manifest_node_escalationQuickForm_form_escalationSection_inputMemorySimilarity_description2, manifest_node_escalationQuickForm_form_escalationSection_inputMemorySimilarity_label2, manifest_node_escalationQuickForm_form_escalationSection_inputName_label2, manifest_node_escalationQuickForm_form_escalationSection_title2, manifest_node_escalationQuickForm_form_title2, manifest_node_escalation_description2, manifest_node_escalation_display_description2, manifest_node_escalation_display_label2, manifest_node_escalation_form_escalationSection_inputAgentMemory_description2, manifest_node_escalation_form_escalationSection_inputAgentMemory_label2, manifest_node_escalation_form_escalationSection_inputApp_label2, manifest_node_escalation_form_escalationSection_inputDescription_label2, manifest_node_escalation_form_escalationSection_inputDescription_placeholder2, manifest_node_escalation_form_escalationSection_inputMemorySearchMode_label2, manifest_node_escalation_form_escalationSection_inputMemorySearchMode_option_hybrid_label2, manifest_node_escalation_form_escalationSection_inputMemorySearchMode_option_semantic_label2, manifest_node_escalation_form_escalationSection_inputMemorySimilarity_description2, manifest_node_escalation_form_escalationSection_inputMemorySimilarity_label2, manifest_node_escalation_form_escalationSection_inputName_label2, manifest_node_escalation_form_escalationSection_inputType_label2, manifest_node_escalation_form_escalationSection_inputType_option_appTask_label2, manifest_node_escalation_form_escalationSection_title2, manifest_node_escalation_form_title2, manifest_node_formTrigger_description2, manifest_node_formTrigger_display_label2, manifest_node_formTrigger_form_schema_inputSchema_description2, manifest_node_formTrigger_form_schema_inputSchema_label2, manifest_node_formTrigger_form_schema_title2, manifest_node_formTrigger_form_title2, manifest_node_formTrigger_output_output_description2, manifest_node_getConversationContext_description2, manifest_node_getConversationContext_display_label2, manifest_node_getConversationContext_form_configuration_inputConversationId_label2, manifest_node_getConversationContext_form_configuration_inputConversationId_placeholder2, manifest_node_getConversationContext_form_configuration_inputConversationId_validation_required2, manifest_node_getConversationContext_form_configuration_inputExchangeLimit_description2, manifest_node_getConversationContext_form_configuration_inputExchangeLimit_label2, manifest_node_getConversationContext_form_configuration_title2, manifest_node_getConversationContext_form_title2, manifest_node_getConversationContext_input_conversationId_errorMessage2, manifest_node_getConversationContext_output_error_description2, manifest_node_getConversationContext_output_output_description2, manifest_node_hitlCodedActionApp_description2, manifest_node_hitlCodedActionApp_display_label2, manifest_node_hitlCodedActionApp_form_additionalProperties_inputLabels_label2, manifest_node_hitlCodedActionApp_form_additionalProperties_inputLabels_placeholder2, manifest_node_hitlCodedActionApp_form_additionalProperties_inputPriority_label2, manifest_node_hitlCodedActionApp_form_additionalProperties_inputPriority_option_high_label2, manifest_node_hitlCodedActionApp_form_additionalProperties_inputPriority_option_low_label2, manifest_node_hitlCodedActionApp_form_additionalProperties_inputPriority_option_medium_label2, manifest_node_hitlCodedActionApp_form_additionalProperties_inputTitle_label2, manifest_node_hitlCodedActionApp_form_additionalProperties_inputTitle_placeholder2, manifest_node_hitlCodedActionApp_form_additionalProperties_title2, manifest_node_hitlCodedActionApp_form_app_inputAppInputBindings_description2, manifest_node_hitlCodedActionApp_form_app_inputAppInputBindings_label2, manifest_node_hitlCodedActionApp_form_app_inputApp_description2, manifest_node_hitlCodedActionApp_form_app_inputApp_label2, manifest_node_hitlCodedActionApp_form_app_title2, manifest_node_hitlCodedActionApp_form_assignment_title2, manifest_node_hitlCodedActionApp_form_decisionSchema_inputEnableDecisionSchema_description2, manifest_node_hitlCodedActionApp_form_decisionSchema_inputEnableDecisionSchema_label2, manifest_node_hitlCodedActionApp_form_decisionSchema_title2, manifest_node_hitlCodedActionApp_form_delivery_inputRecipient_description2, manifest_node_hitlCodedActionApp_form_delivery_inputRecipient_label2, manifest_node_hitlCodedActionApp_form_delivery_title2, manifest_node_hitlCodedActionApp_form_title2, manifest_node_hitlCodedActionApp_handle_completed_label2, manifest_node_hitlCodedActionApp_output_output_description2, manifest_node_hitlCodedActionApp_output_status_description2, manifest_node_hitlDocClassification_description2, manifest_node_hitlDocClassification_display_label2, manifest_node_hitlDocClassification_form_assignment_title2, manifest_node_hitlDocClassification_form_classificationOutput_inputProcessedDocument_description2, manifest_node_hitlDocClassification_form_classificationOutput_inputProcessedDocument_label2, manifest_node_hitlDocClassification_form_classificationOutput_inputProcessedDocument_placeholder2, manifest_node_hitlDocClassification_form_classificationOutput_inputProcessedDocument_validation_required2, manifest_node_hitlDocClassification_form_delivery_inputRecipient_description2, manifest_node_hitlDocClassification_form_delivery_inputRecipient_label2, manifest_node_hitlDocClassification_form_delivery_title2, manifest_node_hitlDocClassification_form_title2, manifest_node_hitlDocClassification_output_output_description2, manifest_node_hitlDocClassification_output_status_description2, manifest_node_hitlDocValidation_description2, manifest_node_hitlDocValidation_display_label2, manifest_node_hitlDocValidation_form_additionalProperties_inputLabels_label2, manifest_node_hitlDocValidation_form_additionalProperties_inputLabels_placeholder2, manifest_node_hitlDocValidation_form_additionalProperties_inputPriority_label2, manifest_node_hitlDocValidation_form_additionalProperties_inputPriority_option_high_label2, manifest_node_hitlDocValidation_form_additionalProperties_inputPriority_option_low_label2, manifest_node_hitlDocValidation_form_additionalProperties_inputPriority_option_medium_label2, manifest_node_hitlDocValidation_form_additionalProperties_inputTitle_label2, manifest_node_hitlDocValidation_form_additionalProperties_title2, manifest_node_hitlDocValidation_form_app_inputAppInputBindings_label2, manifest_node_hitlDocValidation_form_app_inputApp_description2, manifest_node_hitlDocValidation_form_app_inputApp_label2, manifest_node_hitlDocValidation_form_app_title2, manifest_node_hitlDocValidation_form_assignment_title2, manifest_node_hitlDocValidation_form_delivery_inputRecipient_description2, manifest_node_hitlDocValidation_form_delivery_inputRecipient_label2, manifest_node_hitlDocValidation_form_delivery_title2, manifest_node_hitlDocValidation_form_documentSource_inputExtractionResult_description2, manifest_node_hitlDocValidation_form_documentSource_inputExtractionResult_label2, manifest_node_hitlDocValidation_form_documentSource_inputExtractionResult_placeholder2, manifest_node_hitlDocValidation_form_documentSource_inputStorageBucket_label2, manifest_node_hitlDocValidation_form_documentSource_inputStorageBucket_placeholder2, manifest_node_hitlDocValidation_form_documentSource_inputTaxonomy_description2, manifest_node_hitlDocValidation_form_documentSource_inputTaxonomy_label2, manifest_node_hitlDocValidation_form_documentSource_inputTaxonomy_placeholder2, manifest_node_hitlDocValidation_form_documentSource_title2, manifest_node_hitlDocValidation_form_extractionOutput_inputProcessedDocument_description2, manifest_node_hitlDocValidation_form_extractionOutput_inputProcessedDocument_label2, manifest_node_hitlDocValidation_form_extractionOutput_inputProcessedDocument_placeholder2, manifest_node_hitlDocValidation_form_extractionOutput_inputProcessedDocument_validation_required2, manifest_node_hitlDocValidation_form_title2, manifest_node_hitlDocValidation_form_validationRender_inputValidationRenderType_label2, manifest_node_hitlDocValidation_form_validationRender_inputValidationRenderType_option_custom_label2, manifest_node_hitlDocValidation_form_validationRender_inputValidationRenderType_option_standard_label2, manifest_node_hitlDocValidation_form_validationRender_title2, manifest_node_hitlDocValidation_handle_completed_label2, manifest_node_hitlDocValidation_output_output_description2, manifest_node_hitlDocValidation_output_status_description2, manifest_node_hitlDocValidation_v1_4_description2, manifest_node_hitlDocValidation_v1_4_display_label2, manifest_node_hitlMemorySpace_description2, manifest_node_hitlMemorySpace_label2, manifest_node_hitlQuickForm_description2, manifest_node_hitlQuickForm_display_label2, manifest_node_hitlQuickForm_form_additionalProperties_inputLabels_label2, manifest_node_hitlQuickForm_form_additionalProperties_inputLabels_placeholder2, manifest_node_hitlQuickForm_form_additionalProperties_inputPriority_label2, manifest_node_hitlQuickForm_form_additionalProperties_inputPriority_option_high_label2, manifest_node_hitlQuickForm_form_additionalProperties_inputPriority_option_low_label2, manifest_node_hitlQuickForm_form_additionalProperties_inputPriority_option_medium_label2, manifest_node_hitlQuickForm_form_additionalProperties_inputTitle_label2, manifest_node_hitlQuickForm_form_additionalProperties_inputTitle_placeholder2, manifest_node_hitlQuickForm_form_additionalProperties_title2, manifest_node_hitlQuickForm_form_assignment_title2, manifest_node_hitlQuickForm_form_decisionSchema_inputEnableDecisionSchema_description2, manifest_node_hitlQuickForm_form_decisionSchema_inputEnableDecisionSchema_label2, manifest_node_hitlQuickForm_form_decisionSchema_title2, manifest_node_hitlQuickForm_form_delivery_inputRecipient_description2, manifest_node_hitlQuickForm_form_delivery_inputRecipient_label2, manifest_node_hitlQuickForm_form_delivery_title2, manifest_node_hitlQuickForm_form_schema_inputSchema_description2, manifest_node_hitlQuickForm_form_schema_inputSchema_label2, manifest_node_hitlQuickForm_form_schema_title2, manifest_node_hitlQuickForm_form_title2, manifest_node_hitlQuickForm_handle_completed_label2, manifest_node_hitlQuickForm_output_output_description2, manifest_node_hitlQuickForm_output_status_description2, manifest_node_hitlTask_description2, manifest_node_hitlTask_display_label2, manifest_node_hitlTask_form_additionalProperties_inputLabels_label2, manifest_node_hitlTask_form_additionalProperties_inputLabels_placeholder2, manifest_node_hitlTask_form_additionalProperties_inputPriority_label2, manifest_node_hitlTask_form_additionalProperties_inputPriority_option_high_label2, manifest_node_hitlTask_form_additionalProperties_inputPriority_option_low_label2, manifest_node_hitlTask_form_additionalProperties_inputPriority_option_medium_label2, manifest_node_hitlTask_form_additionalProperties_inputTitle_label2, manifest_node_hitlTask_form_additionalProperties_inputTitle_placeholder2, manifest_node_hitlTask_form_additionalProperties_title2, manifest_node_hitlTask_form_app_inputAppInputBindings_description2, manifest_node_hitlTask_form_app_inputAppInputBindings_label2, manifest_node_hitlTask_form_app_inputApp_description2, manifest_node_hitlTask_form_app_inputApp_label2, manifest_node_hitlTask_form_app_title2, manifest_node_hitlTask_form_assignment_title2, manifest_node_hitlTask_form_delivery_inputRecipient_description2, manifest_node_hitlTask_form_delivery_inputRecipient_label2, manifest_node_hitlTask_form_delivery_title2, manifest_node_hitlTask_form_schema_inputSchema_description2, manifest_node_hitlTask_form_schema_inputSchema_label2, manifest_node_hitlTask_form_schema_title2, manifest_node_hitlTask_form_taskType_inputType_label2, manifest_node_hitlTask_form_taskType_inputType_option_custom_label2, manifest_node_hitlTask_form_taskType_inputType_option_quick_label2, manifest_node_hitlTask_form_taskType_title2, manifest_node_hitlTask_form_title2, manifest_node_hitlTask_handle_completed_label2, manifest_node_hitlTask_handle_outcomeCompleted_label2, manifest_node_hitlTask_output_error_description2, manifest_node_hitlTask_output_output_description2, manifest_node_hitlTask_output_result_description2, manifest_node_hitlTask_output_status_description2, manifest_node_httpRequestTool_description2, manifest_node_httpRequestTool_display_description2, manifest_node_httpRequestTool_display_label2, manifest_node_httpRequestTool_form_advanced_inputTimeout_componentProps_placeholder2, manifest_node_httpRequestTool_form_advanced_inputTimeout_description2, manifest_node_httpRequestTool_form_advanced_inputTimeout_label2, manifest_node_httpRequestTool_form_advanced_title2, manifest_node_httpRequestTool_form_body_inputBody_componentProps_placeholder2, manifest_node_httpRequestTool_form_body_inputBody_label2, manifest_node_httpRequestTool_form_body_title2, manifest_node_httpRequestTool_form_headers_inputHeaders_componentProps_addButtonLabel2, manifest_node_httpRequestTool_form_headers_inputHeaders_componentProps_keyLabel2, manifest_node_httpRequestTool_form_headers_inputHeaders_componentProps_valueLabel2, manifest_node_httpRequestTool_form_headers_inputHeaders_label2, manifest_node_httpRequestTool_form_headers_title2, manifest_node_httpRequestTool_form_queryParameters_inputParams_componentProps_addButtonLabel2, manifest_node_httpRequestTool_form_queryParameters_inputParams_componentProps_keyLabel2, manifest_node_httpRequestTool_form_queryParameters_inputParams_componentProps_placeholder2, manifest_node_httpRequestTool_form_queryParameters_inputParams_componentProps_valueLabel2, manifest_node_httpRequestTool_form_queryParameters_inputParams_label2, manifest_node_httpRequestTool_form_queryParameters_title2, manifest_node_httpRequestTool_form_request_inputMethod_label2, manifest_node_httpRequestTool_form_request_inputUrl_componentProps_placeholder2, manifest_node_httpRequestTool_form_request_inputUrl_label2, manifest_node_httpRequestTool_form_request_title2, manifest_node_httpRequestTool_form_title2, manifest_node_httpRequestTool_form_toolDetails_inputDescription_label2, manifest_node_httpRequestTool_form_toolDetails_inputDescription_placeholder2, manifest_node_httpRequestTool_form_toolDetails_title2, manifest_node_httpV2_description2, manifest_node_httpV2_display_label2, manifest_node_httpV2_form_advanced_inputRetryCount_description2, manifest_node_httpV2_form_advanced_inputRetryCount_label2, manifest_node_httpV2_form_advanced_inputTimeout_description2, manifest_node_httpV2_form_advanced_inputTimeout_label2, manifest_node_httpV2_form_advanced_title2, manifest_node_httpV2_form_branches_inputBranches_description2, manifest_node_httpV2_form_branches_inputBranches_label2, manifest_node_httpV2_form_branches_title2, manifest_node_httpV2_form_httpConfig_title2, manifest_node_httpV2_form_tab_branching_title2, manifest_node_httpV2_form_title2, manifest_node_httpV2_handle_default_label2, manifest_node_httpV2_handle_input_label2, manifest_node_httpV2_input_timeout_errorMessage2, manifest_node_httpV2_output_error_description2, manifest_node_httpV2_output_output_description2, manifest_node_http_description2, manifest_node_http_display_label2, manifest_node_http_form_advanced_inputRetryCount_description2, manifest_node_http_form_advanced_inputRetryCount_label2, manifest_node_http_form_advanced_inputTimeout_description2, manifest_node_http_form_advanced_inputTimeout_label2, manifest_node_http_form_advanced_title2, manifest_node_http_form_body_inputBody_label2, manifest_node_http_form_body_inputContentType_label2, manifest_node_http_form_body_title2, manifest_node_http_form_branches_inputBranches_description2, manifest_node_http_form_branches_inputBranches_label2, manifest_node_http_form_branches_title2, manifest_node_http_form_headers_inputHeaders_componentProps_keyLabel2, manifest_node_http_form_headers_inputHeaders_componentProps_valueLabel2, manifest_node_http_form_headers_inputHeaders_label2, manifest_node_http_form_headers_title2, manifest_node_http_form_implementation_inputMethod_label2, manifest_node_http_form_implementation_inputMode_label2, manifest_node_http_form_implementation_inputMode_option_apiDefinition_label2, manifest_node_http_form_implementation_inputMode_option_manual_label2, manifest_node_http_form_implementation_title2, manifest_node_http_form_parameters_inputQueryParams_componentProps_keyLabel2, manifest_node_http_form_parameters_inputQueryParams_componentProps_valueLabel2, manifest_node_http_form_parameters_inputQueryParams_label2, manifest_node_http_form_parameters_title2, manifest_node_http_form_title2, manifest_node_http_handle_default_label2, manifest_node_http_input_method_errorMessage2, manifest_node_http_input_timeout_errorMessage2, manifest_node_http_input_url_errorMessage2, manifest_node_http_output_error_description2, manifest_node_http_output_output_body_description2, manifest_node_http_output_output_description2, manifest_node_http_output_output_headers_description2, manifest_node_http_output_output_statusCode_description2, manifest_node_ixpExtract_display_canvasLabel2, manifest_node_ixpExtract_form_ixpFileUpload_inputFileRef_label2, manifest_node_ixpExtract_form_ixpFileUpload_inputFileRef_placeholder2, manifest_node_ixpExtract_form_ixpFileUpload_inputPageRange_description2, manifest_node_ixpExtract_form_ixpFileUpload_inputPageRange_label2, manifest_node_ixpExtract_form_ixpFileUpload_inputPageRange_placeholder2, manifest_node_ixpExtract_form_ixpFileUpload_title2, manifest_node_ixpExtract_form_ixpModelConfig_title2, manifest_node_ixpExtract_form_ixpModel_title2, manifest_node_ixpExtract_form_schemaDefinition_title2, manifest_node_ixpExtract_form_title2, manifest_node_ixpExtract_input_fileRef_errorMessage2, manifest_node_jevClassifierTool_description2, manifest_node_jevClassifierTool_display_description2, manifest_node_jevClassifierTool_display_label2, manifest_node_jevClassifierTool_form_jevclassifierSettings_inputDescription_label2, manifest_node_jevClassifierTool_form_jevclassifierSettings_inputDescription_placeholder2, manifest_node_jevClassifierTool_form_jevclassifierSettings_inputModel_label2, manifest_node_jevClassifierTool_form_jevclassifierSettings_title2, manifest_node_jevClassifierTool_form_simulationSettings_description2, manifest_node_jevClassifierTool_form_simulationSettings_inputExampleCalls_componentProps_addButtonLabel2, manifest_node_jevClassifierTool_form_simulationSettings_title2, manifest_node_jevClassifierTool_form_title2, manifest_node_loop_description2, manifest_node_loop_display_description2, manifest_node_loop_display_label2, manifest_node_loop_form_iteration_inputBreakEnabled_description2, manifest_node_loop_form_iteration_inputBreakEnabled_label2, manifest_node_loop_form_iteration_inputCollection_componentProps_placeholder2, manifest_node_loop_form_iteration_inputCollection_description2, manifest_node_loop_form_iteration_inputCollection_label2, manifest_node_loop_form_iteration_inputCompletionCondition_componentProps_placeholder2, manifest_node_loop_form_iteration_inputCompletionCondition_description2, manifest_node_loop_form_iteration_inputCompletionCondition_label2, manifest_node_loop_form_iteration_inputParallel_description2, manifest_node_loop_form_iteration_inputParallel_label2, manifest_node_loop_form_iteration_title2, manifest_node_loop_form_title2, manifest_node_loop_handle_break_label2, manifest_node_loop_handle_continue_label2, manifest_node_loop_handle_output_label2, manifest_node_loop_handle_start_label2, manifest_node_loop_handle_success_label2, manifest_node_loop_input_collection_errorMessage2, manifest_node_loop_output_collection_description2, manifest_node_loop_output_currentIndex_description2, manifest_node_loop_output_currentItem_description2, manifest_node_loop_output_currentIteration_description2, manifest_node_loop_output_error_description2, manifest_node_loop_output_output_description2, manifest_node_manualTrigger_description2, manifest_node_manualTrigger_display_label2, manifest_node_manualTrigger_output_output_description2, manifest_node_merge_description2, manifest_node_merge_display_label2, manifest_node_mock_description2, manifest_node_mock_display_label2, manifest_node_mock_output_output_description2, manifest_node_queueBulkAdd_description2, manifest_node_queueBulkAdd_display_label2, manifest_node_queueBulkAdd_form_advanced_inputCommitStrategy_description2, manifest_node_queueBulkAdd_form_advanced_inputCommitStrategy_label2, manifest_node_queueBulkAdd_form_advanced_inputCommitStrategy_option_allOrNothing_label2, manifest_node_queueBulkAdd_form_advanced_inputCommitStrategy_option_processAllIndependently_label2, manifest_node_queueBulkAdd_form_advanced_inputCommitStrategy_option_stopOnFirstFailure_label2, manifest_node_queueBulkAdd_form_advanced_title2, manifest_node_queueBulkAdd_form_queueSelection_inputQueueItems_description2, manifest_node_queueBulkAdd_form_queueSelection_inputQueueItems_label2, manifest_node_queueBulkAdd_form_queueSelection_inputQueueItems_validation_required2, manifest_node_queueBulkAdd_form_queueSelection_inputQueue_description2, manifest_node_queueBulkAdd_form_queueSelection_inputQueue_label2, manifest_node_queueBulkAdd_form_queueSelection_inputQueue_validation_required2, manifest_node_queueBulkAdd_form_queueSelection_title2, manifest_node_queueBulkAdd_form_title2, manifest_node_queueBulkAdd_output_error_description2, manifest_node_queueBulkAdd_output_output_description2, manifest_node_queueCreateAndWait_description2, manifest_node_queueCreateAndWait_display_label2, manifest_node_queueCreateAndWait_form_advanced_inputDeferDate_description2, manifest_node_queueCreateAndWait_form_advanced_inputDeferDate_label2, manifest_node_queueCreateAndWait_form_advanced_inputDueDate_description2, manifest_node_queueCreateAndWait_form_advanced_inputDueDate_label2, manifest_node_queueCreateAndWait_form_advanced_inputPriority_description2, manifest_node_queueCreateAndWait_form_advanced_inputPriority_label2, manifest_node_queueCreateAndWait_form_advanced_inputPriority_option_high_label2, manifest_node_queueCreateAndWait_form_advanced_inputPriority_option_low_label2, manifest_node_queueCreateAndWait_form_advanced_inputPriority_option_normal_label2, manifest_node_queueCreateAndWait_form_advanced_inputReference_description2, manifest_node_queueCreateAndWait_form_advanced_inputReference_label2, manifest_node_queueCreateAndWait_form_advanced_title2, manifest_node_queueCreateAndWait_form_queueSelection_inputItemData_description2, manifest_node_queueCreateAndWait_form_queueSelection_inputItemData_label2, manifest_node_queueCreateAndWait_form_queueSelection_inputQueue_description2, manifest_node_queueCreateAndWait_form_queueSelection_inputQueue_label2, manifest_node_queueCreateAndWait_form_queueSelection_inputQueue_validation_required2, manifest_node_queueCreateAndWait_form_queueSelection_title2, manifest_node_queueCreateAndWait_form_title2, manifest_node_queueCreateAndWait_output_error_description2, manifest_node_queueCreateAndWait_output_output_description2, manifest_node_queueCreate_description2, manifest_node_queueCreate_display_label2, manifest_node_queueCreate_form_advanced_inputDeferDate_description2, manifest_node_queueCreate_form_advanced_inputDeferDate_label2, manifest_node_queueCreate_form_advanced_inputDueDate_description2, manifest_node_queueCreate_form_advanced_inputDueDate_label2, manifest_node_queueCreate_form_advanced_inputPriority_description2, manifest_node_queueCreate_form_advanced_inputPriority_label2, manifest_node_queueCreate_form_advanced_inputPriority_option_high_label2, manifest_node_queueCreate_form_advanced_inputPriority_option_low_label2, manifest_node_queueCreate_form_advanced_inputPriority_option_normal_label2, manifest_node_queueCreate_form_advanced_inputReference_description2, manifest_node_queueCreate_form_advanced_inputReference_label2, manifest_node_queueCreate_form_advanced_title2, manifest_node_queueCreate_form_queueSelection_inputItemData_description2, manifest_node_queueCreate_form_queueSelection_inputItemData_label2, manifest_node_queueCreate_form_queueSelection_inputQueue_description2, manifest_node_queueCreate_form_queueSelection_inputQueue_label2, manifest_node_queueCreate_form_queueSelection_inputQueue_validation_required2, manifest_node_queueCreate_form_queueSelection_title2, manifest_node_queueCreate_form_title2, manifest_node_queueCreate_output_error_description2, manifest_node_queueCreate_output_output_description2, manifest_node_queueDeleteItems_description2, manifest_node_queueDeleteItems_display_label2, manifest_node_queueDeleteItems_form_items_inputItems_description2, manifest_node_queueDeleteItems_form_items_inputItems_label2, manifest_node_queueDeleteItems_form_items_inputItems_validation_required2, manifest_node_queueDeleteItems_form_items_title2, manifest_node_queueDeleteItems_form_title2, manifest_node_queueDeleteItems_output_error_description2, manifest_node_queueDeleteItems_output_output_description2, manifest_node_queueGetItems_description2, manifest_node_queueGetItems_display_label2, manifest_node_queueGetItems_form_filters_inputCreatedFrom_description2, manifest_node_queueGetItems_form_filters_inputCreatedFrom_label2, manifest_node_queueGetItems_form_filters_inputCreatedTo_description2, manifest_node_queueGetItems_form_filters_inputCreatedTo_label2, manifest_node_queueGetItems_form_filters_inputFilterStrategy_description2, manifest_node_queueGetItems_form_filters_inputFilterStrategy_label2, manifest_node_queueGetItems_form_filters_inputFilterStrategy_option_equals_label2, manifest_node_queueGetItems_form_filters_inputFilterStrategy_option_startsWith_label2, manifest_node_queueGetItems_form_filters_inputPriority_description2, manifest_node_queueGetItems_form_filters_inputPriority_label2, manifest_node_queueGetItems_form_filters_inputPriority_option_any_label2, manifest_node_queueGetItems_form_filters_inputPriority_option_high_label2, manifest_node_queueGetItems_form_filters_inputPriority_option_low_label2, manifest_node_queueGetItems_form_filters_inputPriority_option_normal_label2, manifest_node_queueGetItems_form_filters_inputReference_description2, manifest_node_queueGetItems_form_filters_inputReference_label2, manifest_node_queueGetItems_form_filters_inputStatuses_description2, manifest_node_queueGetItems_form_filters_inputStatuses_label2, manifest_node_queueGetItems_form_filters_inputStatuses_option_abandoned_label2, manifest_node_queueGetItems_form_filters_inputStatuses_option_deleted_label2, manifest_node_queueGetItems_form_filters_inputStatuses_option_failed_label2, manifest_node_queueGetItems_form_filters_inputStatuses_option_inProgress_label2, manifest_node_queueGetItems_form_filters_inputStatuses_option_new_label2, manifest_node_queueGetItems_form_filters_inputStatuses_option_retried_label2, manifest_node_queueGetItems_form_filters_inputStatuses_option_successful_label2, manifest_node_queueGetItems_form_filters_inputStatuses_placeholder2, manifest_node_queueGetItems_form_filters_title2, manifest_node_queueGetItems_form_queueSelection_inputQueue_description2, manifest_node_queueGetItems_form_queueSelection_inputQueue_label2, manifest_node_queueGetItems_form_queueSelection_inputQueue_validation_required2, manifest_node_queueGetItems_form_queueSelection_title2, manifest_node_queueGetItems_form_title2, manifest_node_queueGetItems_output_error_description2, manifest_node_queueGetItems_output_output_description2, manifest_node_queuePostponeTransactionItem_description2, manifest_node_queuePostponeTransactionItem_display_label2, manifest_node_queuePostponeTransactionItem_form_title2, manifest_node_queuePostponeTransactionItem_form_transaction_inputDueDate_description2, manifest_node_queuePostponeTransactionItem_form_transaction_inputDueDate_label2, manifest_node_queuePostponeTransactionItem_form_transaction_inputPostponeDate_description2, manifest_node_queuePostponeTransactionItem_form_transaction_inputPostponeDate_label2, manifest_node_queuePostponeTransactionItem_form_transaction_inputPostponeDate_validation_required2, manifest_node_queuePostponeTransactionItem_form_transaction_inputTransactionItem_description2, manifest_node_queuePostponeTransactionItem_form_transaction_inputTransactionItem_label2, manifest_node_queuePostponeTransactionItem_form_transaction_inputTransactionItem_validation_required2, manifest_node_queuePostponeTransactionItem_form_transaction_title2, manifest_node_queuePostponeTransactionItem_output_error_description2, manifest_node_queueSetTransactionProgress_description2, manifest_node_queueSetTransactionProgress_display_label2, manifest_node_queueSetTransactionProgress_form_title2, manifest_node_queueSetTransactionProgress_form_transaction_inputProgress_description2, manifest_node_queueSetTransactionProgress_form_transaction_inputProgress_label2, manifest_node_queueSetTransactionProgress_form_transaction_inputProgress_validation_required2, manifest_node_queueSetTransactionProgress_form_transaction_inputTransactionItem_description2, manifest_node_queueSetTransactionProgress_form_transaction_inputTransactionItem_label2, manifest_node_queueSetTransactionProgress_form_transaction_inputTransactionItem_validation_required2, manifest_node_queueSetTransactionProgress_form_transaction_title2, manifest_node_queueSetTransactionProgress_output_error_description2, manifest_node_queueSetTransactionStatus_description2, manifest_node_queueSetTransactionStatus_display_label2, manifest_node_queueSetTransactionStatus_form_title2, manifest_node_queueSetTransactionStatus_form_transaction_inputErrorDetails_description2, manifest_node_queueSetTransactionStatus_form_transaction_inputErrorDetails_label2, manifest_node_queueSetTransactionStatus_form_transaction_inputErrorReason_description2, manifest_node_queueSetTransactionStatus_form_transaction_inputErrorReason_label2, manifest_node_queueSetTransactionStatus_form_transaction_inputErrorType_description2, manifest_node_queueSetTransactionStatus_form_transaction_inputErrorType_label2, manifest_node_queueSetTransactionStatus_form_transaction_inputErrorType_option_application_label2, manifest_node_queueSetTransactionStatus_form_transaction_inputErrorType_option_business_label2, manifest_node_queueSetTransactionStatus_form_transaction_inputStatus_description2, manifest_node_queueSetTransactionStatus_form_transaction_inputStatus_label2, manifest_node_queueSetTransactionStatus_form_transaction_inputStatus_option_failed_label2, manifest_node_queueSetTransactionStatus_form_transaction_inputStatus_option_successful_label2, manifest_node_queueSetTransactionStatus_form_transaction_inputStatus_validation_required2, manifest_node_queueSetTransactionStatus_form_transaction_inputTransactionItem_description2, manifest_node_queueSetTransactionStatus_form_transaction_inputTransactionItem_label2, manifest_node_queueSetTransactionStatus_form_transaction_inputTransactionItem_validation_required2, manifest_node_queueSetTransactionStatus_form_transaction_title2, manifest_node_queueSetTransactionStatus_output_error_description2, manifest_node_queueTrigger_description2, manifest_node_queueTrigger_display_label2, manifest_node_queueTrigger_form_queueSelection_inputQueue_description2, manifest_node_queueTrigger_form_queueSelection_inputQueue_label2, manifest_node_queueTrigger_form_queueSelection_inputQueue_validation_required2, manifest_node_queueTrigger_form_queueSelection_title2, manifest_node_queueTrigger_form_title2, manifest_node_queueTrigger_output_output_description2, manifest_node_readEntity_description2, manifest_node_readEntity_display_label2, manifest_node_readEntity_form_entityConfig_title2, manifest_node_readEntity_form_title2, manifest_node_readEntity_output_output_description2, manifest_node_readFile_description2, manifest_node_readFile_display_label2, manifest_node_readFile_form_connection_inputConnectionId_description2, manifest_node_readFile_form_connection_inputConnectionId_label2, manifest_node_readFile_form_connection_inputConnectionId_validation_required2, manifest_node_readFile_form_connection_title2, manifest_node_readFile_form_file_inputFile_description2, manifest_node_readFile_form_file_inputFile_label2, manifest_node_readFile_form_file_inputFile_validation_required2, manifest_node_readFile_form_file_title2, manifest_node_readFile_form_title2, manifest_node_readFile_input_connectionId_errorMessage2, manifest_node_readFile_input_file_errorMessage2, manifest_node_readFile_output_error_description2, manifest_node_response_description2, manifest_node_response_display_label2, manifest_node_response_form_outcome_inputMarkJobAsFailed_description2, manifest_node_response_form_outcome_inputMarkJobAsFailed_label2, manifest_node_response_form_outcome_title2, manifest_node_response_form_title2, manifest_node_scheduledTrigger_description2, manifest_node_scheduledTrigger_display_label2, manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_description2, manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_label2, manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_custom_label2, manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_daily_label2, manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_every12Hours_label2, manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_every15Minutes_label2, manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_every30Minutes_label2, manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_every5Minutes_label2, manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_every6Hours_label2, manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_everyHour_label2, manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_weekly_label2, manifest_node_scheduledTrigger_form_schedule_inputTimerValue_description2, manifest_node_scheduledTrigger_form_schedule_inputTimerValue_label2, manifest_node_scheduledTrigger_form_schedule_title2, manifest_node_scheduledTrigger_form_title2, manifest_node_scheduledTrigger_input_timerPreset_errorMessage2, manifest_node_scheduledTrigger_input_timerValue_errorMessage2, manifest_node_scriptTask_description2, manifest_node_scriptTask_display_label2, manifest_node_scriptTask_form_script_inputScript_componentProps_placeholder2, manifest_node_scriptTask_form_script_inputScript_description2, manifest_node_scriptTask_form_script_inputScript_label2, manifest_node_scriptTask_form_script_title2, manifest_node_scriptTask_form_title2, manifest_node_scriptTask_input_script_errorMessage2, manifest_node_scriptTask_output_error_description2, manifest_node_scriptTask_output_output_description2, manifest_node_sendConversationMessage_description2, manifest_node_sendConversationMessage_display_label2, manifest_node_sendConversationMessage_form_configuration_inputContent_description2, manifest_node_sendConversationMessage_form_configuration_inputContent_label2, manifest_node_sendConversationMessage_form_configuration_inputContent_validation_required2, manifest_node_sendConversationMessage_form_configuration_inputConversationId_label2, manifest_node_sendConversationMessage_form_configuration_inputConversationId_placeholder2, manifest_node_sendConversationMessage_form_configuration_inputConversationId_validation_required2, manifest_node_sendConversationMessage_form_configuration_inputEndExchange_label2, manifest_node_sendConversationMessage_form_configuration_inputExchangeId_description2, manifest_node_sendConversationMessage_form_configuration_inputExchangeId_label2, manifest_node_sendConversationMessage_form_configuration_inputExchangeId_placeholder2, manifest_node_sendConversationMessage_form_configuration_inputExchangeId_validation_required2, manifest_node_sendConversationMessage_form_configuration_inputMimeType_label2, manifest_node_sendConversationMessage_form_configuration_title2, manifest_node_sendConversationMessage_form_title2, manifest_node_sendConversationMessage_input_content_errorMessage2, manifest_node_sendConversationMessage_input_conversationId_errorMessage2, manifest_node_sendConversationMessage_input_exchangeId_errorMessage2, manifest_node_sendConversationMessage_output_error_description2, manifest_node_sendConversationMessage_output_output_description2, manifest_node_subflow_description2, manifest_node_subflow_display_label2, manifest_node_subflow_output_error_description2, manifest_node_summarizeTool_description2, manifest_node_summarizeTool_display_description2, manifest_node_summarizeTool_display_label2, manifest_node_summarizeTool_form_summarizeSettings_inputCitationModeValue_label2, manifest_node_summarizeTool_form_summarizeSettings_inputCitationModeValue_option_inline_label2, manifest_node_summarizeTool_form_summarizeSettings_inputCitationModeValue_option_skip_label2, manifest_node_summarizeTool_form_summarizeSettings_inputFileExtensionValue_label2, manifest_node_summarizeTool_form_summarizeSettings_inputQueryValue_label2, manifest_node_summarizeTool_form_summarizeSettings_inputQueryValue_placeholder2, manifest_node_summarizeTool_form_summarizeSettings_inputSource_label2, manifest_node_summarizeTool_form_summarizeSettings_inputSource_placeholder2, manifest_node_summarizeTool_form_summarizeSettings_title2, manifest_node_summarizeTool_form_title2, manifest_node_switch_description2, manifest_node_switch_display_label2, manifest_node_switch_form_cases_description2, manifest_node_switch_form_cases_inputCases_label2, manifest_node_switch_form_cases_inputHasDefault_description2, manifest_node_switch_form_cases_inputHasDefault_label2, manifest_node_switch_form_cases_title2, manifest_node_switch_form_title2, manifest_node_switch_handle_default_label2, manifest_node_switch_input_cases_errorMessage2, manifest_node_switch_output_matchedCaseId_description2, manifest_node_switch_output_matchedCase_description2, manifest_node_terminate_description2, manifest_node_terminate_display_label2, manifest_node_transformFilter_description2, manifest_node_transformFilter_display_label2, manifest_node_transformFilter_form_filterSection_inputs_label2, manifest_node_transformFilter_form_filterSection_title2, manifest_node_transformFilter_form_title2, manifest_node_transformFilter_output_error_description2, manifest_node_transformFilter_output_output_description2, manifest_node_transformGroupBy_description2, manifest_node_transformGroupBy_display_label2, manifest_node_transformGroupBy_form_groupBySection_inputs_label2, manifest_node_transformGroupBy_form_groupBySection_title2, manifest_node_transformGroupBy_form_title2, manifest_node_transformGroupBy_output_error_description2, manifest_node_transformGroupBy_output_output_description2, manifest_node_transformMap_description2, manifest_node_transformMap_display_label2, manifest_node_transformMap_form_mapSection_inputs_label2, manifest_node_transformMap_form_mapSection_title2, manifest_node_transformMap_form_title2, manifest_node_transformMap_output_error_description2, manifest_node_transformMap_output_output_description2, manifest_node_transform_description2, manifest_node_transform_display_label2, manifest_node_transform_form_title2, manifest_node_transform_form_transformSection_inputs_label2, manifest_node_transform_form_transformSection_title2, manifest_node_transform_output_error_description2, manifest_node_transform_output_output_description2, manifest_node_updateEntity_description2, manifest_node_updateEntity_display_label2, manifest_node_updateEntity_form_entityConfig_title2, manifest_node_updateEntity_form_title2, manifest_node_updateEntity_output_output_description2, manifest_node_voiceAgent_description2, manifest_node_voiceAgent_display_label2, manifest_node_voiceAgent_form_callSettings_inputCallContext_componentProps_placeholder2, manifest_node_voiceAgent_form_callSettings_inputCallContext_description2, manifest_node_voiceAgent_form_callSettings_inputCallContext_label2, manifest_node_voiceAgent_form_callSettings_title2, manifest_node_voiceAgent_form_section1_inputSystemPrompt_componentProps_placeholder2, manifest_node_voiceAgent_form_section1_inputSystemPrompt_label2, manifest_node_voiceAgent_form_section1_inputVoiceModel_label2, manifest_node_voiceAgent_form_section1_inputVoicePersona_label2, manifest_node_voiceAgent_form_section1_title2, manifest_node_voiceAgent_form_sectionAdvanced_inputVoiceAgentSpeaksFirst_description2, manifest_node_voiceAgent_form_sectionAdvanced_inputVoiceAgentSpeaksFirst_label2, manifest_node_voiceAgent_form_sectionAdvanced_inputVoiceMaxTokens_label2, manifest_node_voiceAgent_form_sectionAdvanced_inputVoiceTemperature_label2, manifest_node_voiceAgent_form_sectionAdvanced_inputVoiceTurnDetection_description2, manifest_node_voiceAgent_form_sectionAdvanced_inputVoiceTurnDetection_label2, manifest_node_voiceAgent_form_sectionAdvanced_title2, manifest_node_voiceAgent_form_title2, manifest_node_voiceAgent_handle_context_label2, manifest_node_voiceAgent_handle_escalation_label2, manifest_node_voiceAgent_handle_tool_label2, manifest_node_voiceAgent_input_callContext_description2, manifest_node_voiceAgent_output_error_description2, manifest_node_voiceAgent_output_output_description2, manifest_node_voiceAgent_output_output_uipathAgentResponseMessages_description2, manifest_node_voiceAgent_output_output_uipathVoiceCallContext_conversationId_description2, manifest_node_voiceAgent_output_output_uipathVoiceCallContext_description2, manifest_node_voiceAgent_output_output_uipathVoiceCallContext_id_description2, manifest_node_voiceAgent_output_output_uipathVoiceCallContext_type_description2, manifest_node_voiceAgent_output_output_uipathVoiceSession_callEnded_description2, manifest_node_voiceAgent_output_output_uipathVoiceSession_description2, manifest_node_voiceAgent_output_output_uipathVoiceSession_endedBy_description2, manifest_node_voiceAgent_output_output_uipathVoiceSession_reason_description2, manifest_node_voiceIncomingCall_description2, manifest_node_voiceIncomingCall_display_label2, manifest_node_voiceIncomingCall_output_output_description2, manifest_node_waitForMessage_description2, manifest_node_waitForMessage_display_label2, manifest_node_waitForMessage_form_configuration_inputConversationId_description2, manifest_node_waitForMessage_form_configuration_inputConversationId_label2, manifest_node_waitForMessage_form_configuration_inputConversationId_placeholder2, manifest_node_waitForMessage_form_configuration_inputConversationId_validation_required2, manifest_node_waitForMessage_form_configuration_inputExchangeLimit_description2, manifest_node_waitForMessage_form_configuration_inputExchangeLimit_label2, manifest_node_waitForMessage_form_configuration_inputFrom_description2, manifest_node_waitForMessage_form_configuration_inputFrom_label2, manifest_node_waitForMessage_form_configuration_inputFrom_option_user_label2, manifest_node_waitForMessage_form_configuration_inputNumExchanges_description2, manifest_node_waitForMessage_form_configuration_inputNumExchanges_label2, manifest_node_waitForMessage_form_configuration_title2, manifest_node_waitForMessage_form_title2, manifest_node_waitForMessage_input_conversationId_errorMessage2, manifest_node_waitForMessage_output_error_description2, manifest_node_waitForMessage_output_output_description2, manifest_pattern_aiDecisionHumanReview_asksForHelp_answerAgent_label2, manifest_pattern_aiDecisionHumanReview_asksForHelp_applyAction_label2, manifest_pattern_aiDecisionHumanReview_asksForHelp_description2, manifest_pattern_aiDecisionHumanReview_asksForHelp_endDone_label2, manifest_pattern_aiDecisionHumanReview_asksForHelp_endTakenOver_label2, manifest_pattern_aiDecisionHumanReview_asksForHelp_name2, manifest_pattern_aiDecisionHumanReview_asksForHelp_needsPerson_label2, manifest_pattern_aiDecisionHumanReview_asksForHelp_prepareAction_label2, manifest_pattern_aiDecisionHumanReview_asksForHelp_stickyNote_content2, manifest_pattern_aiDecisionHumanReview_description2, manifest_pattern_aiDecisionHumanReview_everyItemReviewed_applyAction_label2, manifest_pattern_aiDecisionHumanReview_everyItemReviewed_description2, manifest_pattern_aiDecisionHumanReview_everyItemReviewed_endApproved_label2, manifest_pattern_aiDecisionHumanReview_everyItemReviewed_endTakenOver_label2, manifest_pattern_aiDecisionHumanReview_everyItemReviewed_name2, manifest_pattern_aiDecisionHumanReview_everyItemReviewed_prepareAction_label2, manifest_pattern_aiDecisionHumanReview_everyItemReviewed_reviewAction_label2, manifest_pattern_aiDecisionHumanReview_everyItemReviewed_stickyNote_content2, manifest_pattern_aiDecisionHumanReview_humanFallback_analyzeItem_label2, manifest_pattern_aiDecisionHumanReview_humanFallback_applyDecision_label2, manifest_pattern_aiDecisionHumanReview_humanFallback_confidenceGate_label2, manifest_pattern_aiDecisionHumanReview_humanFallback_description2, manifest_pattern_aiDecisionHumanReview_humanFallback_endApplied_label2, manifest_pattern_aiDecisionHumanReview_humanFallback_endRejected_label2, manifest_pattern_aiDecisionHumanReview_humanFallback_name2, manifest_pattern_aiDecisionHumanReview_humanFallback_reviewDecision_label2, manifest_pattern_aiDecisionHumanReview_humanFallback_stickyNote_content2, manifest_pattern_aiDecisionHumanReview_name2, manifest_pattern_batchAi_description2, manifest_pattern_batchAi_name2, manifest_pattern_batchAi_perItem_description2, manifest_pattern_batchAi_perItem_endDone_label2, manifest_pattern_batchAi_perItem_loadItems_label2, manifest_pattern_batchAi_perItem_name2, manifest_pattern_batchAi_perItem_processBatch_label2, manifest_pattern_batchAi_perItem_processItem_label2, manifest_pattern_batchAi_perItem_stickyNote_content2, manifest_pattern_batchAi_sampleFirst_checkQuality_label2, manifest_pattern_batchAi_sampleFirst_description2, manifest_pattern_batchAi_sampleFirst_endDone_label2, manifest_pattern_batchAi_sampleFirst_endStopped_label2, manifest_pattern_batchAi_sampleFirst_loadItems_label2, manifest_pattern_batchAi_sampleFirst_name2, manifest_pattern_batchAi_sampleFirst_processBatch_label2, manifest_pattern_batchAi_sampleFirst_processItem_label2, manifest_pattern_batchAi_sampleFirst_processSample_label2, manifest_pattern_batchAi_sampleFirst_sampleBatch_label2, manifest_pattern_batchAi_sampleFirst_stickyNote_content2, manifest_pattern_batchAi_synthesize_description2, manifest_pattern_batchAi_synthesize_endDone_label2, manifest_pattern_batchAi_synthesize_loadItems_label2, manifest_pattern_batchAi_synthesize_name2, manifest_pattern_batchAi_synthesize_processBatch_label2, manifest_pattern_batchAi_synthesize_processItem_label2, manifest_pattern_batchAi_synthesize_stickyNote_content2, manifest_pattern_batchAi_synthesize_synthesize_label2, manifest_pattern_conversationalIntake_assistant_assistant_label2, manifest_pattern_conversationalIntake_assistant_conversationDone_label2, manifest_pattern_conversationalIntake_assistant_description2, manifest_pattern_conversationalIntake_assistant_endDone_label2, manifest_pattern_conversationalIntake_assistant_name2, manifest_pattern_conversationalIntake_assistant_start_label2, manifest_pattern_conversationalIntake_assistant_stickyNote_content2, manifest_pattern_conversationalIntake_assistant_waitForMessage_label2, manifest_pattern_conversationalIntake_description2, manifest_pattern_conversationalIntake_handoffToSpecialist_announceHandoff_label2, manifest_pattern_conversationalIntake_handoffToSpecialist_description2, manifest_pattern_conversationalIntake_handoffToSpecialist_endDone_label2, manifest_pattern_conversationalIntake_handoffToSpecialist_generalAgent_label2, manifest_pattern_conversationalIntake_handoffToSpecialist_name2, manifest_pattern_conversationalIntake_handoffToSpecialist_routeTurn_label2, manifest_pattern_conversationalIntake_handoffToSpecialist_specialistAgent_label2, manifest_pattern_conversationalIntake_handoffToSpecialist_specialistDone_label2, manifest_pattern_conversationalIntake_handoffToSpecialist_start_label2, manifest_pattern_conversationalIntake_handoffToSpecialist_stickyNote_content2, manifest_pattern_conversationalIntake_handoffToSpecialist_waitGeneral_label2, manifest_pattern_conversationalIntake_handoffToSpecialist_waitSpecialist_label2, manifest_pattern_conversationalIntake_name2, manifest_pattern_conversationalIntake_textIntake_description2, manifest_pattern_conversationalIntake_textIntake_endSubmitted_label2, manifest_pattern_conversationalIntake_textIntake_gatherRequest_label2, manifest_pattern_conversationalIntake_textIntake_intakeComplete_label2, manifest_pattern_conversationalIntake_textIntake_name2, manifest_pattern_conversationalIntake_textIntake_reportBack_label2, manifest_pattern_conversationalIntake_textIntake_startProcess_label2, manifest_pattern_conversationalIntake_textIntake_start_label2, manifest_pattern_conversationalIntake_textIntake_stickyNote_content2, manifest_pattern_conversationalIntake_textIntake_waitForMessage_label2, manifest_pattern_parallelAgents_consensus_adjudicate_label2, manifest_pattern_parallelAgents_consensus_attemptA_label2, manifest_pattern_parallelAgents_consensus_attemptB_label2, manifest_pattern_parallelAgents_consensus_attemptC_label2, manifest_pattern_parallelAgents_consensus_description2, manifest_pattern_parallelAgents_consensus_endDone_label2, manifest_pattern_parallelAgents_consensus_fanOut_label2, manifest_pattern_parallelAgents_consensus_joinAgents_label2, manifest_pattern_parallelAgents_consensus_name2, manifest_pattern_parallelAgents_consensus_stickyNote_content2, manifest_pattern_parallelAgents_description2, manifest_pattern_parallelAgents_name2, manifest_pattern_parallelAgents_perspectivePanel_description2, manifest_pattern_parallelAgents_perspectivePanel_endDone_label2, manifest_pattern_parallelAgents_perspectivePanel_fanOut_label2, manifest_pattern_parallelAgents_perspectivePanel_joinPerspectives_label2, manifest_pattern_parallelAgents_perspectivePanel_name2, manifest_pattern_parallelAgents_perspectivePanel_perspectiveA_label2, manifest_pattern_parallelAgents_perspectivePanel_perspectiveB_label2, manifest_pattern_parallelAgents_perspectivePanel_perspectiveC_label2, manifest_pattern_parallelAgents_perspectivePanel_stickyNote_content2, manifest_pattern_parallelAgents_perspectivePanel_synthesize_label2, manifest_pattern_parallelAgents_taskSectioning_assemble_label2, manifest_pattern_parallelAgents_taskSectioning_description2, manifest_pattern_parallelAgents_taskSectioning_endDone_label2, manifest_pattern_parallelAgents_taskSectioning_fanOut_label2, manifest_pattern_parallelAgents_taskSectioning_joinAgents_label2, manifest_pattern_parallelAgents_taskSectioning_name2, manifest_pattern_parallelAgents_taskSectioning_sectionA_label2, manifest_pattern_parallelAgents_taskSectioning_sectionB_label2, manifest_pattern_parallelAgents_taskSectioning_sectionC_label2, manifest_pattern_parallelAgents_taskSectioning_stickyNote_content2, manifest_pattern_routingTriage_ai_classifyItem_label2, manifest_pattern_routingTriage_ai_confidenceFloor_label2, manifest_pattern_routingTriage_ai_description2, manifest_pattern_routingTriage_ai_endAccount_label2, manifest_pattern_routingTriage_ai_endBilling_label2, manifest_pattern_routingTriage_ai_endTechnical_label2, manifest_pattern_routingTriage_ai_handleAccount_label2, manifest_pattern_routingTriage_ai_handleBilling_label2, manifest_pattern_routingTriage_ai_handleTechnical_label2, manifest_pattern_routingTriage_ai_name2, manifest_pattern_routingTriage_ai_pickCategory_label2, manifest_pattern_routingTriage_ai_routeByCategory_label2, manifest_pattern_routingTriage_ai_stickyNote_content2, manifest_pattern_routingTriage_description2, manifest_pattern_routingTriage_hybrid_classifyItem_label2, manifest_pattern_routingTriage_hybrid_confidenceFloor_label2, manifest_pattern_routingTriage_hybrid_description2, manifest_pattern_routingTriage_hybrid_endAccount_label2, manifest_pattern_routingTriage_hybrid_endBilling_label2, manifest_pattern_routingTriage_hybrid_endTechnical_label2, manifest_pattern_routingTriage_hybrid_handleAccount_label2, manifest_pattern_routingTriage_hybrid_handleBilling_label2, manifest_pattern_routingTriage_hybrid_handleTechnical_label2, manifest_pattern_routingTriage_hybrid_name2, manifest_pattern_routingTriage_hybrid_normalizeItem_label2, manifest_pattern_routingTriage_hybrid_pickCategory_label2, manifest_pattern_routingTriage_hybrid_routeByCategory_label2, manifest_pattern_routingTriage_hybrid_routeByRule_label2, manifest_pattern_routingTriage_hybrid_stickyNote_content2, manifest_pattern_routingTriage_name2, manifest_pattern_routingTriage_rule_description2, manifest_pattern_routingTriage_rule_endAccount_label2, manifest_pattern_routingTriage_rule_endBilling_label2, manifest_pattern_routingTriage_rule_endTechnical_label2, manifest_pattern_routingTriage_rule_handleAccount_label2, manifest_pattern_routingTriage_rule_handleBilling_label2, manifest_pattern_routingTriage_rule_handleTechnical_label2, manifest_pattern_routingTriage_rule_name2, manifest_pattern_routingTriage_rule_normalizeItem_label2, manifest_pattern_routingTriage_rule_pickCategory_label2, manifest_pattern_routingTriage_rule_routeByRule_label2, manifest_pattern_routingTriage_rule_stickyNote_content2, manifest_pattern_voiceAgents_description2, manifest_pattern_voiceAgents_handoff_description2, manifest_pattern_voiceAgents_handoff_endCall_label2, manifest_pattern_voiceAgents_handoff_endDone_label2, manifest_pattern_voiceAgents_handoff_fallbackAgent_label2, manifest_pattern_voiceAgents_handoff_name2, manifest_pattern_voiceAgents_handoff_placeCall_label2, manifest_pattern_voiceAgents_handoff_routeCall_label2, manifest_pattern_voiceAgents_handoff_specialistA_label2, manifest_pattern_voiceAgents_handoff_specialistB_label2, manifest_pattern_voiceAgents_handoff_stickyNote_content2, manifest_pattern_voiceAgents_handoff_triageAgent_label2, manifest_pattern_voiceAgents_incomingCall_description2, manifest_pattern_voiceAgents_incomingCall_endCall_label2, manifest_pattern_voiceAgents_incomingCall_endSubmitted_label2, manifest_pattern_voiceAgents_incomingCall_name2, manifest_pattern_voiceAgents_incomingCall_startProcess_label2, manifest_pattern_voiceAgents_incomingCall_start_label2, manifest_pattern_voiceAgents_incomingCall_stickyNote_content2, manifest_pattern_voiceAgents_incomingCall_voiceIntake_label2, manifest_pattern_voiceAgents_name2, manifest_pattern_voiceAgents_rememberCaller_description2, manifest_pattern_voiceAgents_rememberCaller_distillMemory_label2, manifest_pattern_voiceAgents_rememberCaller_endCall_label2, manifest_pattern_voiceAgents_rememberCaller_endDone_label2, manifest_pattern_voiceAgents_rememberCaller_name2, manifest_pattern_voiceAgents_rememberCaller_readConversation_label2, manifest_pattern_voiceAgents_rememberCaller_saveMemory_label2, manifest_pattern_voiceAgents_rememberCaller_start_label2, manifest_pattern_voiceAgents_rememberCaller_stickyNote_content2, manifest_pattern_voiceAgents_rememberCaller_voiceAgent_label2, manifest_section_allConnectors2, manifest_section_featured2, manifest_section_inThisSolution2, manifest_section_published2, manifest_triggerToolbar_changeTriggerType_label2, en_default2, getServiceType, ootbNodes, inlineAgentNodes, buildExtractDocumentBuilderNode, extractIOFromEntryPoints, taskDefinitionsToNodeManifests, withErrorHandles, MANIFEST_FEATURE_FLAGS, ManifestClient };
|
|
88834
88924
|
|
|
88835
|
-
//# debugId=
|
|
88925
|
+
//# debugId=1046C6794526FF4364756E2164756E21
|