@intlayer/editor-react 7.1.3 → 7.1.5
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/README.md +0 -3
- package/dist/types/ConfigurationContext.d.ts +2 -2
- package/dist/types/EditorEnabledContext.d.ts +2 -2
- package/dist/types/useEditorLocale.d.ts +2 -2
- package/package.json +6 -6
- package/dist/cjs/FocusDictionaryContext copy.cjs +0 -57
- package/dist/cjs/FocusDictionaryContext copy.cjs.map +0 -1
- package/dist/cjs/FocusDictionaryServerContext.cjs +0 -24
- package/dist/cjs/FocusDictionaryServerContext.cjs.map +0 -1
- package/dist/cjs/FocusDictionaryUnmergedContext.cjs +0 -102
- package/dist/cjs/FocusDictionaryUnmergedContext.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/_virtual/rolldown_runtime.cjs +0 -10
- package/dist/cjs/config/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/built.cjs +0 -8
- package/dist/cjs/config/dist/esm/built.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/configFile/buildConfigurationFields.cjs +0 -119
- package/dist/cjs/config/dist/esm/configFile/buildConfigurationFields.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/configFile/getConfiguration.cjs +0 -69
- package/dist/cjs/config/dist/esm/configFile/getConfiguration.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/configFile/loadConfigurationFile.cjs +0 -26
- package/dist/cjs/config/dist/esm/configFile/loadConfigurationFile.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/configFile/searchConfigurationFile.cjs +0 -51
- package/dist/cjs/config/dist/esm/configFile/searchConfigurationFile.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/build.cjs +0 -15
- package/dist/cjs/config/dist/esm/defaultValues/build.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/content.cjs +0 -54
- package/dist/cjs/config/dist/esm/defaultValues/content.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/dictionary.cjs +0 -7
- package/dist/cjs/config/dist/esm/defaultValues/dictionary.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/editor.cjs +0 -23
- package/dist/cjs/config/dist/esm/defaultValues/editor.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/internationalization.cjs +0 -14
- package/dist/cjs/config/dist/esm/defaultValues/internationalization.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/log.cjs +0 -10
- package/dist/cjs/config/dist/esm/defaultValues/log.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/routing.cjs +0 -11
- package/dist/cjs/config/dist/esm/defaultValues/routing.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/loadEnvFile.cjs +0 -26
- package/dist/cjs/config/dist/esm/loadEnvFile.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/loadExternalFile/bundleFile.cjs +0 -23
- package/dist/cjs/config/dist/esm/loadExternalFile/bundleFile.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/loadExternalFile/loadExternalFile.cjs +0 -47
- package/dist/cjs/config/dist/esm/loadExternalFile/loadExternalFile.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/loadExternalFile/parseFileContent.cjs +0 -65
- package/dist/cjs/config/dist/esm/loadExternalFile/parseFileContent.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs +0 -45
- package/dist/cjs/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/logger.cjs +0 -47
- package/dist/cjs/config/dist/esm/logger.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/config/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/utils/ESMxCJSHelpers.cjs +0 -27
- package/dist/cjs/config/dist/esm/utils/ESMxCJSHelpers.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/utils/cache.cjs +0 -261
- package/dist/cjs/config/dist/esm/utils/cache.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/utils/getPackageJsonPath.cjs +0 -34
- package/dist/cjs/config/dist/esm/utils/getPackageJsonPath.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/utils/normalizePath.cjs +0 -17
- package/dist/cjs/config/dist/esm/utils/normalizePath.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.cjs +0 -60
- package/dist/cjs/core/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.cjs +0 -17
- package/dist/cjs/core/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.cjs +0 -38
- package/dist/cjs/core/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/types/dist/esm/nodeType.cjs +0 -25
- package/dist/cjs/core/dist/esm/types/dist/esm/nodeType.cjs.map +0 -1
- package/dist/cjs/editor/dist/esm/compareUrls.cjs +0 -39
- package/dist/cjs/editor/dist/esm/compareUrls.cjs.map +0 -1
- package/dist/cjs/editor/dist/esm/mergeIframeClick.cjs +0 -22
- package/dist/cjs/editor/dist/esm/mergeIframeClick.cjs.map +0 -1
- package/dist/cjs/editor/dist/esm/messagesKeys.cjs +0 -19
- package/dist/cjs/editor/dist/esm/messagesKeys.cjs.map +0 -1
- package/dist/cjs/types/dist/esm/nodeType.cjs +0 -25
- package/dist/cjs/types/dist/esm/nodeType.cjs.map +0 -1
- package/dist/esm/FocusDictionaryContext copy.mjs +0 -51
- package/dist/esm/FocusDictionaryContext copy.mjs.map +0 -1
- package/dist/esm/FocusDictionaryServerContext.mjs +0 -21
- package/dist/esm/FocusDictionaryServerContext.mjs.map +0 -1
- package/dist/esm/FocusDictionaryUnmergedContext.mjs +0 -93
- package/dist/esm/FocusDictionaryUnmergedContext.mjs.map +0 -1
- package/dist/esm/_virtual/rolldown_runtime.mjs +0 -8
- package/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/config/dist/esm/built.mjs +0 -8
- package/dist/esm/config/dist/esm/built.mjs.map +0 -1
- package/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs +0 -118
- package/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs.map +0 -1
- package/dist/esm/config/dist/esm/configFile/getConfiguration.mjs +0 -67
- package/dist/esm/config/dist/esm/configFile/getConfiguration.mjs.map +0 -1
- package/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs +0 -26
- package/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs.map +0 -1
- package/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs +0 -50
- package/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/build.mjs +0 -10
- package/dist/esm/config/dist/esm/defaultValues/build.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/content.mjs +0 -40
- package/dist/esm/config/dist/esm/defaultValues/content.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/dictionary.mjs +0 -6
- package/dist/esm/config/dist/esm/defaultValues/dictionary.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/editor.mjs +0 -14
- package/dist/esm/config/dist/esm/defaultValues/editor.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/internationalization.mjs +0 -11
- package/dist/esm/config/dist/esm/defaultValues/internationalization.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/log.mjs +0 -9
- package/dist/esm/config/dist/esm/defaultValues/log.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/routing.mjs +0 -8
- package/dist/esm/config/dist/esm/defaultValues/routing.mjs.map +0 -1
- package/dist/esm/config/dist/esm/loadEnvFile.mjs +0 -24
- package/dist/esm/config/dist/esm/loadEnvFile.mjs.map +0 -1
- package/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs +0 -23
- package/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs.map +0 -1
- package/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs +0 -47
- package/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs.map +0 -1
- package/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs +0 -63
- package/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs.map +0 -1
- package/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs +0 -44
- package/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs.map +0 -1
- package/dist/esm/config/dist/esm/logger.mjs +0 -45
- package/dist/esm/config/dist/esm/logger.mjs.map +0 -1
- package/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/config/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/config/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs +0 -25
- package/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs.map +0 -1
- package/dist/esm/config/dist/esm/utils/cache.mjs +0 -263
- package/dist/esm/config/dist/esm/utils/cache.mjs.map +0 -1
- package/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs +0 -33
- package/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs.map +0 -1
- package/dist/esm/config/dist/esm/utils/normalizePath.mjs +0 -16
- package/dist/esm/config/dist/esm/utils/normalizePath.mjs.map +0 -1
- package/dist/esm/core/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.mjs +0 -60
- package/dist/esm/core/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.mjs.map +0 -1
- package/dist/esm/core/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.mjs +0 -17
- package/dist/esm/core/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.mjs.map +0 -1
- package/dist/esm/core/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.mjs +0 -38
- package/dist/esm/core/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.mjs.map +0 -1
- package/dist/esm/core/dist/esm/types/dist/esm/nodeType.mjs +0 -24
- package/dist/esm/core/dist/esm/types/dist/esm/nodeType.mjs.map +0 -1
- package/dist/esm/editor/dist/esm/compareUrls.mjs +0 -38
- package/dist/esm/editor/dist/esm/compareUrls.mjs.map +0 -1
- package/dist/esm/editor/dist/esm/mergeIframeClick.mjs +0 -21
- package/dist/esm/editor/dist/esm/mergeIframeClick.mjs.map +0 -1
- package/dist/esm/editor/dist/esm/messagesKeys.mjs +0 -18
- package/dist/esm/editor/dist/esm/messagesKeys.mjs.map +0 -1
- package/dist/esm/types/dist/esm/nodeType.mjs +0 -24
- package/dist/esm/types/dist/esm/nodeType.mjs.map +0 -1
- package/dist/types/FocusDictionaryContext copy.d.ts +0 -23
- package/dist/types/FocusDictionaryContext copy.d.ts.map +0 -1
- package/dist/types/FocusDictionaryServerContext.d.ts +0 -9
- package/dist/types/FocusDictionaryServerContext.d.ts.map +0 -1
- package/dist/types/FocusDictionaryUnmergedContext.d.ts +0 -43
- package/dist/types/FocusDictionaryUnmergedContext.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { NodeType } from "../types/dist/esm/nodeType.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../core/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.mjs
|
|
4
|
-
const renameContentNodeByKeyPath = (dictionaryContent, newKey, keyPath) => {
|
|
5
|
-
let currentValue = dictionaryContent;
|
|
6
|
-
let parentValue = null;
|
|
7
|
-
let lastKey = null;
|
|
8
|
-
for (const keyObj of keyPath) {
|
|
9
|
-
parentValue = currentValue;
|
|
10
|
-
if (keyObj.type === NodeType.Object || keyObj.type === NodeType.Array) {
|
|
11
|
-
lastKey = keyObj.key;
|
|
12
|
-
currentValue = currentValue[keyObj.key];
|
|
13
|
-
}
|
|
14
|
-
if (keyObj.type === NodeType.Translation || keyObj.type === NodeType.Enumeration || keyObj.type === NodeType.Condition) {
|
|
15
|
-
lastKey = keyObj.type;
|
|
16
|
-
currentValue = currentValue[keyObj.type][keyObj.key];
|
|
17
|
-
}
|
|
18
|
-
if (keyObj.type === NodeType.Markdown || keyObj.type === NodeType.ReactNode || keyObj.type === NodeType.Insertion || keyObj.type === NodeType.File) {
|
|
19
|
-
lastKey = keyObj.type;
|
|
20
|
-
currentValue = currentValue[keyObj.type];
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
if (parentValue && lastKey !== null) if (Array.isArray(parentValue)) parentValue[lastKey] = currentValue;
|
|
24
|
-
else {
|
|
25
|
-
const newParentValue = {};
|
|
26
|
-
for (const key of Object.keys(parentValue)) if (key === lastKey && typeof newKey !== "undefined") newParentValue[newKey] = currentValue;
|
|
27
|
-
else newParentValue[key] = parentValue[key];
|
|
28
|
-
Object.keys(parentValue).forEach((key) => {
|
|
29
|
-
delete parentValue[key];
|
|
30
|
-
});
|
|
31
|
-
Object.assign(parentValue, newParentValue);
|
|
32
|
-
}
|
|
33
|
-
return dictionaryContent;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
//#endregion
|
|
37
|
-
export { renameContentNodeByKeyPath };
|
|
38
|
-
//# sourceMappingURL=renameContentNodeByKeyPath.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renameContentNodeByKeyPath.mjs","names":[],"sources":["../../../../../../../core/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.mjs"],"sourcesContent":["import { NodeType } from \"../types/dist/esm/nodeType.mjs\";\n\n//#region src/dictionaryManipulator/renameContentNodeByKeyPath.ts\nconst renameContentNodeByKeyPath = (dictionaryContent, newKey, keyPath) => {\n\tlet currentValue = dictionaryContent;\n\tlet parentValue = null;\n\tlet lastKey = null;\n\tfor (const keyObj of keyPath) {\n\t\tparentValue = currentValue;\n\t\tif (keyObj.type === NodeType.Object || keyObj.type === NodeType.Array) {\n\t\t\tlastKey = keyObj.key;\n\t\t\tcurrentValue = currentValue[keyObj.key];\n\t\t}\n\t\tif (keyObj.type === NodeType.Translation || keyObj.type === NodeType.Enumeration || keyObj.type === NodeType.Condition) {\n\t\t\tlastKey = keyObj.type;\n\t\t\tcurrentValue = currentValue[keyObj.type][keyObj.key];\n\t\t}\n\t\tif (keyObj.type === NodeType.Markdown || keyObj.type === NodeType.ReactNode || keyObj.type === NodeType.Insertion || keyObj.type === NodeType.File) {\n\t\t\tlastKey = keyObj.type;\n\t\t\tcurrentValue = currentValue[keyObj.type];\n\t\t}\n\t}\n\tif (parentValue && lastKey !== null) if (Array.isArray(parentValue)) parentValue[lastKey] = currentValue;\n\telse {\n\t\tconst newParentValue = {};\n\t\tfor (const key of Object.keys(parentValue)) if (key === lastKey && typeof newKey !== \"undefined\") newParentValue[newKey] = currentValue;\n\t\telse newParentValue[key] = parentValue[key];\n\t\tObject.keys(parentValue).forEach((key) => {\n\t\t\tdelete parentValue[key];\n\t\t});\n\t\tObject.assign(parentValue, newParentValue);\n\t}\n\treturn dictionaryContent;\n};\n\n//#endregion\nexport { renameContentNodeByKeyPath };\n//# sourceMappingURL=renameContentNodeByKeyPath.mjs.map"],"mappings":";;;AAGA,MAAM,8BAA8B,mBAAmB,QAAQ,YAAY;CAC1E,IAAI,eAAe;CACnB,IAAI,cAAc;CAClB,IAAI,UAAU;AACd,MAAK,MAAM,UAAU,SAAS;AAC7B,gBAAc;AACd,MAAI,OAAO,SAAS,SAAS,UAAU,OAAO,SAAS,SAAS,OAAO;AACtE,aAAU,OAAO;AACjB,kBAAe,aAAa,OAAO;;AAEpC,MAAI,OAAO,SAAS,SAAS,eAAe,OAAO,SAAS,SAAS,eAAe,OAAO,SAAS,SAAS,WAAW;AACvH,aAAU,OAAO;AACjB,kBAAe,aAAa,OAAO,MAAM,OAAO;;AAEjD,MAAI,OAAO,SAAS,SAAS,YAAY,OAAO,SAAS,SAAS,aAAa,OAAO,SAAS,SAAS,aAAa,OAAO,SAAS,SAAS,MAAM;AACnJ,aAAU,OAAO;AACjB,kBAAe,aAAa,OAAO;;;AAGrC,KAAI,eAAe,YAAY,KAAM,KAAI,MAAM,QAAQ,YAAY,CAAE,aAAY,WAAW;MACvF;EACJ,MAAM,iBAAiB,EAAE;AACzB,OAAK,MAAM,OAAO,OAAO,KAAK,YAAY,CAAE,KAAI,QAAQ,WAAW,OAAO,WAAW,YAAa,gBAAe,UAAU;MACtH,gBAAe,OAAO,YAAY;AACvC,SAAO,KAAK,YAAY,CAAC,SAAS,QAAQ;AACzC,UAAO,YAAY;IAClB;AACF,SAAO,OAAO,aAAa,eAAe;;AAE3C,QAAO"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region ../core/dist/esm/types/dist/esm/nodeType.mjs
|
|
2
|
-
let NodeType = /* @__PURE__ */ function(NodeType$1) {
|
|
3
|
-
NodeType$1["Translation"] = "translation";
|
|
4
|
-
NodeType$1["Enumeration"] = "enumeration";
|
|
5
|
-
NodeType$1["Condition"] = "condition";
|
|
6
|
-
NodeType$1["Insertion"] = "insertion";
|
|
7
|
-
NodeType$1["File"] = "file";
|
|
8
|
-
NodeType$1["Object"] = "object";
|
|
9
|
-
NodeType$1["Array"] = "array";
|
|
10
|
-
NodeType$1["Nested"] = "nested";
|
|
11
|
-
NodeType$1["ReactNode"] = "reactNode";
|
|
12
|
-
NodeType$1["Markdown"] = "markdown";
|
|
13
|
-
NodeType$1["Text"] = "text";
|
|
14
|
-
NodeType$1["Number"] = "number";
|
|
15
|
-
NodeType$1["Boolean"] = "boolean";
|
|
16
|
-
NodeType$1["Gender"] = "gender";
|
|
17
|
-
NodeType$1["Null"] = "null";
|
|
18
|
-
NodeType$1["Unknown"] = "unknown";
|
|
19
|
-
return NodeType$1;
|
|
20
|
-
}({});
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
export { NodeType };
|
|
24
|
-
//# sourceMappingURL=nodeType.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nodeType.mjs","names":[],"sources":["../../../../../../../../../core/dist/esm/types/dist/esm/nodeType.mjs"],"sourcesContent":["//#region ../types/dist/esm/nodeType.mjs\nlet NodeType = /* @__PURE__ */ function(NodeType$1) {\n\tNodeType$1[\"Translation\"] = \"translation\";\n\tNodeType$1[\"Enumeration\"] = \"enumeration\";\n\tNodeType$1[\"Condition\"] = \"condition\";\n\tNodeType$1[\"Insertion\"] = \"insertion\";\n\tNodeType$1[\"File\"] = \"file\";\n\tNodeType$1[\"Object\"] = \"object\";\n\tNodeType$1[\"Array\"] = \"array\";\n\tNodeType$1[\"Nested\"] = \"nested\";\n\tNodeType$1[\"ReactNode\"] = \"reactNode\";\n\tNodeType$1[\"Markdown\"] = \"markdown\";\n\tNodeType$1[\"Text\"] = \"text\";\n\tNodeType$1[\"Number\"] = \"number\";\n\tNodeType$1[\"Boolean\"] = \"boolean\";\n\tNodeType$1[\"Gender\"] = \"gender\";\n\tNodeType$1[\"Null\"] = \"null\";\n\tNodeType$1[\"Unknown\"] = \"unknown\";\n\treturn NodeType$1;\n}({});\nconst formatNodeType = (nodeType, content, additionalAttributes) => ({\n\t...additionalAttributes,\n\tnodeType,\n\t[nodeType]: content\n});\n\n//#endregion\nexport { NodeType, formatNodeType };\n//# sourceMappingURL=nodeType.mjs.map"],"mappings":";AACA,IAAI,WAA2B,yBAAS,YAAY;AACnD,YAAW,iBAAiB;AAC5B,YAAW,iBAAiB;AAC5B,YAAW,eAAe;AAC1B,YAAW,eAAe;AAC1B,YAAW,UAAU;AACrB,YAAW,YAAY;AACvB,YAAW,WAAW;AACtB,YAAW,YAAY;AACvB,YAAW,eAAe;AAC1B,YAAW,cAAc;AACzB,YAAW,UAAU;AACrB,YAAW,YAAY;AACvB,YAAW,aAAa;AACxB,YAAW,YAAY;AACvB,YAAW,UAAU;AACrB,YAAW,aAAa;AACxB,QAAO;EACN,EAAE,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
//#region ../editor/dist/esm/compareUrls.mjs
|
|
2
|
-
/**
|
|
3
|
-
* Compare two URLs for equality.
|
|
4
|
-
* This function is used to determine if a message originates from the same origin.
|
|
5
|
-
*
|
|
6
|
-
* ```js
|
|
7
|
-
* // Example usage
|
|
8
|
-
* console.log(compareUrls("http://localhost:5173/", "http://localhost:5173")); // true
|
|
9
|
-
* console.log(compareUrls("http://localhost:5173", "http://localhost:5173?myParam=true")); // true
|
|
10
|
-
* console.log(compareUrls("http://localhost:5173/subpath", "http://localhost:5173")); // true
|
|
11
|
-
* console.log(compareUrls("http://localhost:5172", "http://localhost:5173")); // false
|
|
12
|
-
* ```
|
|
13
|
-
*
|
|
14
|
-
* @param url1 - The first URL to compare.
|
|
15
|
-
* @param url2 - The second URL to compare.
|
|
16
|
-
* @returns Whether the two URLs are equal.
|
|
17
|
-
*/
|
|
18
|
-
const compareUrls = (url1, url2) => {
|
|
19
|
-
try {
|
|
20
|
-
const parsedUrl1 = new URL(url1);
|
|
21
|
-
const parsedUrl2 = new URL(url2);
|
|
22
|
-
if (parsedUrl1.protocol !== parsedUrl2.protocol || parsedUrl1.hostname !== parsedUrl2.hostname || parsedUrl1.port !== parsedUrl2.port) return false;
|
|
23
|
-
const path1 = parsedUrl1.pathname.replace(/\/$/, "");
|
|
24
|
-
const path2 = parsedUrl2.pathname.replace(/\/$/, "");
|
|
25
|
-
if (path1 !== "" && path2 !== "" && path1 !== path2) return false;
|
|
26
|
-
return true;
|
|
27
|
-
} catch (error) {
|
|
28
|
-
console.error("Invalid URL(s)", error, {
|
|
29
|
-
url1,
|
|
30
|
-
url2
|
|
31
|
-
});
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
//#endregion
|
|
37
|
-
export { compareUrls };
|
|
38
|
-
//# sourceMappingURL=compareUrls.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compareUrls.mjs","names":[],"sources":["../../../../../../editor/dist/esm/compareUrls.mjs"],"sourcesContent":["//#region src/compareUrls.ts\n/**\n* Compare two URLs for equality.\n* This function is used to determine if a message originates from the same origin.\n*\n* ```js\n* // Example usage\n* console.log(compareUrls(\"http://localhost:5173/\", \"http://localhost:5173\")); // true\n* console.log(compareUrls(\"http://localhost:5173\", \"http://localhost:5173?myParam=true\")); // true\n* console.log(compareUrls(\"http://localhost:5173/subpath\", \"http://localhost:5173\")); // true\n* console.log(compareUrls(\"http://localhost:5172\", \"http://localhost:5173\")); // false\n* ```\n*\n* @param url1 - The first URL to compare.\n* @param url2 - The second URL to compare.\n* @returns Whether the two URLs are equal.\n*/\nconst compareUrls = (url1, url2) => {\n\ttry {\n\t\tconst parsedUrl1 = new URL(url1);\n\t\tconst parsedUrl2 = new URL(url2);\n\t\tif (parsedUrl1.protocol !== parsedUrl2.protocol || parsedUrl1.hostname !== parsedUrl2.hostname || parsedUrl1.port !== parsedUrl2.port) return false;\n\t\tconst path1 = parsedUrl1.pathname.replace(/\\/$/, \"\");\n\t\tconst path2 = parsedUrl2.pathname.replace(/\\/$/, \"\");\n\t\tif (path1 !== \"\" && path2 !== \"\" && path1 !== path2) return false;\n\t\treturn true;\n\t} catch (error) {\n\t\tconsole.error(\"Invalid URL(s)\", error, {\n\t\t\turl1,\n\t\t\turl2\n\t\t});\n\t\treturn false;\n\t}\n};\n\n//#endregion\nexport { compareUrls };\n//# sourceMappingURL=compareUrls.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;AAiBA,MAAM,eAAe,MAAM,SAAS;AACnC,KAAI;EACH,MAAM,aAAa,IAAI,IAAI,KAAK;EAChC,MAAM,aAAa,IAAI,IAAI,KAAK;AAChC,MAAI,WAAW,aAAa,WAAW,YAAY,WAAW,aAAa,WAAW,YAAY,WAAW,SAAS,WAAW,KAAM,QAAO;EAC9I,MAAM,QAAQ,WAAW,SAAS,QAAQ,OAAO,GAAG;EACpD,MAAM,QAAQ,WAAW,SAAS,QAAQ,OAAO,GAAG;AACpD,MAAI,UAAU,MAAM,UAAU,MAAM,UAAU,MAAO,QAAO;AAC5D,SAAO;UACC,OAAO;AACf,UAAQ,MAAM,kBAAkB,OAAO;GACtC;GACA;GACA,CAAC;AACF,SAAO"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//#region ../editor/dist/esm/mergeIframeClick.mjs
|
|
2
|
-
const mergeIframeClick = (event) => {
|
|
3
|
-
const simulatedMouseDownEvent = new MouseEvent("mousedown", {
|
|
4
|
-
bubbles: true,
|
|
5
|
-
cancelable: true,
|
|
6
|
-
view: window
|
|
7
|
-
});
|
|
8
|
-
const simulatedClickEvent = new MouseEvent("click", {
|
|
9
|
-
bubbles: true,
|
|
10
|
-
cancelable: true,
|
|
11
|
-
view: window
|
|
12
|
-
});
|
|
13
|
-
Object.assign(simulatedClickEvent, { iframeData: event });
|
|
14
|
-
Object.assign(simulatedMouseDownEvent, { iframeData: event });
|
|
15
|
-
window.dispatchEvent(simulatedClickEvent);
|
|
16
|
-
window.dispatchEvent(simulatedMouseDownEvent);
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
export { mergeIframeClick };
|
|
21
|
-
//# sourceMappingURL=mergeIframeClick.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mergeIframeClick.mjs","names":[],"sources":["../../../../../../editor/dist/esm/mergeIframeClick.mjs"],"sourcesContent":["//#region src/mergeIframeClick.ts\nconst mergeIframeClick = (event) => {\n\tconst simulatedMouseDownEvent = new MouseEvent(\"mousedown\", {\n\t\tbubbles: true,\n\t\tcancelable: true,\n\t\tview: window\n\t});\n\tconst simulatedClickEvent = new MouseEvent(\"click\", {\n\t\tbubbles: true,\n\t\tcancelable: true,\n\t\tview: window\n\t});\n\tObject.assign(simulatedClickEvent, { iframeData: event });\n\tObject.assign(simulatedMouseDownEvent, { iframeData: event });\n\twindow.dispatchEvent(simulatedClickEvent);\n\twindow.dispatchEvent(simulatedMouseDownEvent);\n};\n\n//#endregion\nexport { mergeIframeClick };\n//# sourceMappingURL=mergeIframeClick.mjs.map"],"mappings":";AACA,MAAM,oBAAoB,UAAU;CACnC,MAAM,0BAA0B,IAAI,WAAW,aAAa;EAC3D,SAAS;EACT,YAAY;EACZ,MAAM;EACN,CAAC;CACF,MAAM,sBAAsB,IAAI,WAAW,SAAS;EACnD,SAAS;EACT,YAAY;EACZ,MAAM;EACN,CAAC;AACF,QAAO,OAAO,qBAAqB,EAAE,YAAY,OAAO,CAAC;AACzD,QAAO,OAAO,yBAAyB,EAAE,YAAY,OAAO,CAAC;AAC7D,QAAO,cAAc,oBAAoB;AACzC,QAAO,cAAc,wBAAwB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//#region ../editor/dist/esm/messagesKeys.mjs
|
|
2
|
-
let MessageKey = /* @__PURE__ */ function(MessageKey$1) {
|
|
3
|
-
MessageKey$1["INTLAYER_CONFIGURATION"] = "INTLAYER_CONFIGURATION";
|
|
4
|
-
MessageKey$1["INTLAYER_CURRENT_LOCALE"] = "INTLAYER_CURRENT_LOCALE";
|
|
5
|
-
MessageKey$1["INTLAYER_EDITOR_ENABLED"] = "INTLAYER_EDITOR_ENABLED";
|
|
6
|
-
MessageKey$1["INTLAYER_URL_CHANGE"] = "INTLAYER_URL_CHANGE";
|
|
7
|
-
MessageKey$1["INTLAYER_HOVERED_CONTENT_CHANGED"] = "INTLAYER_HOVERED_CONTENT_CHANGED";
|
|
8
|
-
MessageKey$1["INTLAYER_FOCUSED_CONTENT_CHANGED"] = "INTLAYER_FOCUSED_CONTENT_CHANGED";
|
|
9
|
-
MessageKey$1["INTLAYER_LOCALE_DICTIONARIES_CHANGED"] = "INTLAYER_LOCALE_DICTIONARIES_CHANGED";
|
|
10
|
-
MessageKey$1["INTLAYER_DISTANT_DICTIONARIES_CHANGED"] = "INTLAYER_DISTANT_DICTIONARIES_CHANGED";
|
|
11
|
-
MessageKey$1["INTLAYER_EDITED_CONTENT_CHANGED"] = "INTLAYER_EDITED_CONTENT_CHANGED";
|
|
12
|
-
MessageKey$1["INTLAYER_IFRAME_CLICKED"] = "INTLAYER_IFRAME_CLICKED";
|
|
13
|
-
return MessageKey$1;
|
|
14
|
-
}({});
|
|
15
|
-
|
|
16
|
-
//#endregion
|
|
17
|
-
export { MessageKey };
|
|
18
|
-
//# sourceMappingURL=messagesKeys.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messagesKeys.mjs","names":[],"sources":["../../../../../../editor/dist/esm/messagesKeys.mjs"],"sourcesContent":["//#region src/messagesKeys.ts\nlet MessageKey = /* @__PURE__ */ function(MessageKey$1) {\n\tMessageKey$1[\"INTLAYER_CONFIGURATION\"] = \"INTLAYER_CONFIGURATION\";\n\tMessageKey$1[\"INTLAYER_CURRENT_LOCALE\"] = \"INTLAYER_CURRENT_LOCALE\";\n\tMessageKey$1[\"INTLAYER_EDITOR_ENABLED\"] = \"INTLAYER_EDITOR_ENABLED\";\n\tMessageKey$1[\"INTLAYER_URL_CHANGE\"] = \"INTLAYER_URL_CHANGE\";\n\tMessageKey$1[\"INTLAYER_HOVERED_CONTENT_CHANGED\"] = \"INTLAYER_HOVERED_CONTENT_CHANGED\";\n\tMessageKey$1[\"INTLAYER_FOCUSED_CONTENT_CHANGED\"] = \"INTLAYER_FOCUSED_CONTENT_CHANGED\";\n\tMessageKey$1[\"INTLAYER_LOCALE_DICTIONARIES_CHANGED\"] = \"INTLAYER_LOCALE_DICTIONARIES_CHANGED\";\n\tMessageKey$1[\"INTLAYER_DISTANT_DICTIONARIES_CHANGED\"] = \"INTLAYER_DISTANT_DICTIONARIES_CHANGED\";\n\tMessageKey$1[\"INTLAYER_EDITED_CONTENT_CHANGED\"] = \"INTLAYER_EDITED_CONTENT_CHANGED\";\n\tMessageKey$1[\"INTLAYER_IFRAME_CLICKED\"] = \"INTLAYER_IFRAME_CLICKED\";\n\treturn MessageKey$1;\n}({});\n\n//#endregion\nexport { MessageKey };\n//# sourceMappingURL=messagesKeys.mjs.map"],"mappings":";AACA,IAAI,aAA6B,yBAAS,cAAc;AACvD,cAAa,4BAA4B;AACzC,cAAa,6BAA6B;AAC1C,cAAa,6BAA6B;AAC1C,cAAa,yBAAyB;AACtC,cAAa,sCAAsC;AACnD,cAAa,sCAAsC;AACnD,cAAa,0CAA0C;AACvD,cAAa,2CAA2C;AACxD,cAAa,qCAAqC;AAClD,cAAa,6BAA6B;AAC1C,QAAO;EACN,EAAE,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region ../types/dist/esm/nodeType.mjs
|
|
2
|
-
let NodeType = /* @__PURE__ */ function(NodeType$1) {
|
|
3
|
-
NodeType$1["Translation"] = "translation";
|
|
4
|
-
NodeType$1["Enumeration"] = "enumeration";
|
|
5
|
-
NodeType$1["Condition"] = "condition";
|
|
6
|
-
NodeType$1["Insertion"] = "insertion";
|
|
7
|
-
NodeType$1["File"] = "file";
|
|
8
|
-
NodeType$1["Object"] = "object";
|
|
9
|
-
NodeType$1["Array"] = "array";
|
|
10
|
-
NodeType$1["Nested"] = "nested";
|
|
11
|
-
NodeType$1["ReactNode"] = "reactNode";
|
|
12
|
-
NodeType$1["Markdown"] = "markdown";
|
|
13
|
-
NodeType$1["Text"] = "text";
|
|
14
|
-
NodeType$1["Number"] = "number";
|
|
15
|
-
NodeType$1["Boolean"] = "boolean";
|
|
16
|
-
NodeType$1["Gender"] = "gender";
|
|
17
|
-
NodeType$1["Null"] = "null";
|
|
18
|
-
NodeType$1["Unknown"] = "unknown";
|
|
19
|
-
return NodeType$1;
|
|
20
|
-
}({});
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
export { NodeType };
|
|
24
|
-
//# sourceMappingURL=nodeType.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nodeType.mjs","names":[],"sources":["../../../../../../types/dist/esm/nodeType.mjs"],"sourcesContent":["//#region src/nodeType.ts\nlet NodeType = /* @__PURE__ */ function(NodeType$1) {\n\tNodeType$1[\"Translation\"] = \"translation\";\n\tNodeType$1[\"Enumeration\"] = \"enumeration\";\n\tNodeType$1[\"Condition\"] = \"condition\";\n\tNodeType$1[\"Insertion\"] = \"insertion\";\n\tNodeType$1[\"File\"] = \"file\";\n\tNodeType$1[\"Object\"] = \"object\";\n\tNodeType$1[\"Array\"] = \"array\";\n\tNodeType$1[\"Nested\"] = \"nested\";\n\tNodeType$1[\"ReactNode\"] = \"reactNode\";\n\tNodeType$1[\"Markdown\"] = \"markdown\";\n\tNodeType$1[\"Text\"] = \"text\";\n\tNodeType$1[\"Number\"] = \"number\";\n\tNodeType$1[\"Boolean\"] = \"boolean\";\n\tNodeType$1[\"Gender\"] = \"gender\";\n\tNodeType$1[\"Null\"] = \"null\";\n\tNodeType$1[\"Unknown\"] = \"unknown\";\n\treturn NodeType$1;\n}({});\nconst formatNodeType = (nodeType, content, additionalAttributes) => ({\n\t...additionalAttributes,\n\tnodeType,\n\t[nodeType]: content\n});\n\n//#endregion\nexport { NodeType, formatNodeType };\n//# sourceMappingURL=nodeType.mjs.map"],"mappings":";AACA,IAAI,WAA2B,yBAAS,YAAY;AACnD,YAAW,iBAAiB;AAC5B,YAAW,iBAAiB;AAC5B,YAAW,eAAe;AAC1B,YAAW,eAAe;AAC1B,YAAW,UAAU;AACrB,YAAW,YAAY;AACvB,YAAW,WAAW;AACtB,YAAW,YAAY;AACvB,YAAW,eAAe;AAC1B,YAAW,cAAc;AACzB,YAAW,UAAU;AACrB,YAAW,YAAY;AACvB,YAAW,aAAa;AACxB,YAAW,YAAY;AACvB,YAAW,UAAU;AACrB,YAAW,aAAa;AACxB,QAAO;EACN,EAAE,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Dispatch, FC, PropsWithChildren, SetStateAction } from "react";
|
|
2
|
-
import { KeyPath } from "@intlayer/types";
|
|
3
|
-
|
|
4
|
-
//#region src/FocusDictionaryContext copy.d.ts
|
|
5
|
-
type FileContent = {
|
|
6
|
-
dictionaryKey: string;
|
|
7
|
-
dictionaryLocalId?: string;
|
|
8
|
-
keyPath?: KeyPath[];
|
|
9
|
-
};
|
|
10
|
-
type FocusDictionaryActions = {
|
|
11
|
-
setFocusedContent: Dispatch<SetStateAction<FileContent | null>>;
|
|
12
|
-
setFocusedContentKeyPath: (keyPath: KeyPath[]) => void;
|
|
13
|
-
};
|
|
14
|
-
declare const FocusDictionaryProvider: FC<PropsWithChildren>;
|
|
15
|
-
declare const useFocusDictionaryActions: () => FocusDictionaryActions;
|
|
16
|
-
declare const useFocusDictionary: () => {
|
|
17
|
-
setFocusedContent: Dispatch<SetStateAction<FileContent | null>>;
|
|
18
|
-
setFocusedContentKeyPath: (keyPath: KeyPath[]) => void;
|
|
19
|
-
focusedContent: FileContent | null;
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
export { FileContent, FocusDictionaryProvider, useFocusDictionary, useFocusDictionaryActions };
|
|
23
|
-
//# sourceMappingURL=FocusDictionaryContext copy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FocusDictionaryContext copy.d.ts","names":[],"sources":["../../src/FocusDictionaryContext copy.tsx"],"sourcesContent":[],"mappings":";;;;KAcY,WAAA;;EAAA,iBAAW,CAAA,EAAA,MAGX;EAOP,OAAA,CAAA,EAPO,OAOP,EAAA;CACwC;KADxC,sBAAA,GACyB;EAAT,iBAAA,EAAA,QAAA,CAAS,cAAT,CAAwB,WAAxB,GAAA,IAAA,CAAA,CAAA;EACiB,wBAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,EAAA,GAAA,IAAA;CAAO;AAUhC,cAAA,uBAA4B,EAAH,EAAG,CAAA,iBAAD,CAAA;AA6B3B,cAAA,yBAAyB,EAAA,GAAA,GAAA,sBAQrC;AAEY,cAAA,kBAWZ,EAAA,GAAA,GAAA;EA7D4C,iBAAA,EAAxB,QAAwB,CAAf,cAAe,CAAA,WAAA,GAAA,IAAA,CAAA,CAAA;EAAf,wBAAA,EAAA,CAAA,OAAA,EACQ,OADR,EAAA,EAAA,GAAA,IAAA;EAAT,cAAA,EAJH,WAIG,GAAA,IAAA;CACiB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { KeyPath } from "@intlayer/types";
|
|
2
|
-
|
|
3
|
-
//#region src/FocusDictionaryServerContext.d.ts
|
|
4
|
-
declare const useFocusUnmergedDictionary: () => {
|
|
5
|
-
focusedContent: KeyPath[];
|
|
6
|
-
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { useFocusUnmergedDictionary };
|
|
9
|
-
//# sourceMappingURL=FocusDictionaryServerContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FocusDictionaryServerContext.d.ts","names":[],"sources":["../../src/FocusDictionaryServerContext.tsx"],"sourcesContent":[],"mappings":";;;cAgDa;kBAYZ;AAZD,CAAA"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { FileContent } from "./FocusDictionaryContext.js";
|
|
2
|
-
import { Dispatch, FC, PropsWithChildren, SetStateAction } from "react";
|
|
3
|
-
import { Dictionary, KeyPath } from "@intlayer/types";
|
|
4
|
-
|
|
5
|
-
//#region src/FocusDictionaryUnmergedContext.d.ts
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Transforms a keypath from unmerged dictionary format to merged dictionary format.
|
|
9
|
-
* In merged format, translation keys come first.
|
|
10
|
-
*
|
|
11
|
-
* Example:
|
|
12
|
-
* Unmerged: [{ type: 'object', key: 'title' }, { type: 'translation', key: 'fr' }]
|
|
13
|
-
* Merged: [{ type: 'translation', key: 'fr' }, { type: 'object', key: 'title' }]
|
|
14
|
-
*/
|
|
15
|
-
declare const unmergedKeyPathToMergedKeyPath: (keyPath: KeyPath[]) => KeyPath[];
|
|
16
|
-
/**
|
|
17
|
-
* Transforms a keypath from merged dictionary format to unmerged dictionary format.
|
|
18
|
-
* In unmerged format, translation keys are placed at the appropriate nesting level.
|
|
19
|
-
*
|
|
20
|
-
* Example:
|
|
21
|
-
* Merged: [{ type: 'translation', key: 'fr' }, { type: 'object', key: 'title' }]
|
|
22
|
-
* Unmerged: [{ type: 'object', key: 'title' }, { type: 'translation', key: 'fr' }]
|
|
23
|
-
*/
|
|
24
|
-
declare const mergedKeyPathToUnmergedKeyPath: (keyPath: KeyPath[], dictionary?: Dictionary) => KeyPath[];
|
|
25
|
-
type FocusDictionaryUnmergedState = {
|
|
26
|
-
focusedContent: FileContent | null;
|
|
27
|
-
focusedUnmergedKeyPath: KeyPath[] | undefined;
|
|
28
|
-
};
|
|
29
|
-
type FocusDictionaryUnmergedActions = {
|
|
30
|
-
setFocusedContent: Dispatch<SetStateAction<FileContent | null>>;
|
|
31
|
-
setFocusedUnmergedKeyPath: (keyPath: KeyPath[]) => void;
|
|
32
|
-
};
|
|
33
|
-
declare const FocusDictionaryUnmergedProvider: FC<PropsWithChildren>;
|
|
34
|
-
declare const useFocusDictionaryUnmergedActions: () => FocusDictionaryUnmergedActions;
|
|
35
|
-
declare const useFocusDictionaryUnmerged: () => {
|
|
36
|
-
setFocusedContent: Dispatch<SetStateAction<FileContent | null>>;
|
|
37
|
-
setFocusedUnmergedKeyPath: (keyPath: KeyPath[]) => void;
|
|
38
|
-
focusedContent: FileContent | null;
|
|
39
|
-
focusedUnmergedKeyPath: KeyPath[] | undefined;
|
|
40
|
-
};
|
|
41
|
-
//#endregion
|
|
42
|
-
export { FocusDictionaryUnmergedActions, FocusDictionaryUnmergedProvider, FocusDictionaryUnmergedState, mergedKeyPathToUnmergedKeyPath, unmergedKeyPathToMergedKeyPath, useFocusDictionaryUnmerged, useFocusDictionaryUnmergedActions };
|
|
43
|
-
//# sourceMappingURL=FocusDictionaryUnmergedContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FocusDictionaryUnmergedContext.d.ts","names":[],"sources":["../../src/FocusDictionaryUnmergedContext.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAkBkC;AAUkC;;;;;AAwEpE,cAxEM,8BAwEkC,EAAA,CACtB,OAAA,EAzE+B,OA0EvB,EAAA,EAAA,GA1EmC,OA0E5B,EAAA;AAGjC;;;;;;AAaA;AAkCA;AAUA,cA5GM,8BAuHL,EAAA,CAAA,OAAA,EAtHU,OAsHV,EAAA,EAAA,UAAA,CAAA,EArHc,UAqHd,EAAA,GApHE,OAoHF,EAAA;AAnE4C,KANjC,4BAAA,GAMiC;EAAf,cAAA,EALZ,WAKY,GAAA,IAAA;EAAT,sBAAA,EAJK,OAIL,EAAA,GAAA,SAAA;CACkB;AANrB,KAIN,8BAAA,GAJM;EACQ,iBAAA,EAIL,QAJK,CAII,cAJJ,CAImB,WAJnB,GAAA,IAAA,CAAA,CAAA;EAAO,yBAAA,EAAA,CAAA,OAAA,EAKM,OALN,EAAA,EAAA,GAAA,IAAA;;cAgBpB,iCAAiC,GAAG;cAkCpC,yCAAiC;cAUjC;qBAxDQ,SAAS,eAAe;uCACN;kBANrB;0BACQ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC"}
|