@intlayer/core 9.0.0-canary.2 → 9.0.0-canary.20

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.
Files changed (513) hide show
  1. package/dist/cjs/deepTransformPlugins/getEditedContent.cjs +2 -1
  2. package/dist/cjs/deepTransformPlugins/getEditedContent.cjs.map +1 -1
  3. package/dist/cjs/deepTransformPlugins/getFilterMissingTranslationsContent.cjs.map +1 -1
  4. package/dist/cjs/deepTransformPlugins/getFilterTranslationsOnlyContent.cjs.map +1 -1
  5. package/dist/cjs/deepTransformPlugins/getFilteredLocalesContent.cjs.map +1 -1
  6. package/dist/cjs/deepTransformPlugins/getLocalizedContent.cjs.map +1 -1
  7. package/dist/cjs/deepTransformPlugins/getMaskContent.cjs.map +1 -1
  8. package/dist/cjs/deepTransformPlugins/getMissingLocalesContent.cjs.map +1 -1
  9. package/dist/cjs/deepTransformPlugins/getMultilingualDictionary.cjs.map +1 -1
  10. package/dist/cjs/deepTransformPlugins/getReplacedValuesContent.cjs.map +1 -1
  11. package/dist/cjs/deepTransformPlugins/getSplittedContent.cjs +1 -1
  12. package/dist/cjs/deepTransformPlugins/getSplittedContent.cjs.map +1 -1
  13. package/dist/cjs/deepTransformPlugins/insertContentInDictionary.cjs.map +1 -1
  14. package/dist/cjs/dictionaryManipulator/editDictionaryByKeyPath.cjs.map +1 -1
  15. package/dist/cjs/dictionaryManipulator/getContentNodeByKeyPath.cjs.map +1 -1
  16. package/dist/cjs/dictionaryManipulator/getDefaultNode.cjs.map +1 -1
  17. package/dist/cjs/dictionaryManipulator/getEmptyNode.cjs.map +1 -1
  18. package/dist/cjs/dictionaryManipulator/getNodeChildren.cjs.map +1 -1
  19. package/dist/cjs/dictionaryManipulator/getNodeType.cjs.map +1 -1
  20. package/dist/cjs/dictionaryManipulator/index.cjs +4 -3
  21. package/dist/cjs/dictionaryManipulator/mergeDictionaries.cjs +1 -2
  22. package/dist/cjs/dictionaryManipulator/mergeDictionaries.cjs.map +1 -1
  23. package/dist/cjs/dictionaryManipulator/mergeQualifiedDictionaries.cjs +9 -12
  24. package/dist/cjs/dictionaryManipulator/mergeQualifiedDictionaries.cjs.map +1 -1
  25. package/dist/cjs/dictionaryManipulator/normalizeDictionary.cjs.map +1 -1
  26. package/dist/cjs/dictionaryManipulator/orderDictionaries.cjs +0 -1
  27. package/dist/cjs/dictionaryManipulator/orderDictionaries.cjs.map +1 -1
  28. package/dist/cjs/dictionaryManipulator/qualifiedDictionary.cjs +116 -101
  29. package/dist/cjs/dictionaryManipulator/qualifiedDictionary.cjs.map +1 -1
  30. package/dist/cjs/dictionaryManipulator/removeContentNodeByKeyPath.cjs.map +1 -1
  31. package/dist/cjs/dictionaryManipulator/renameContentNodeByKeyPath.cjs.map +1 -1
  32. package/dist/cjs/dictionaryManipulator/updateNodeChildren.cjs.map +1 -1
  33. package/dist/cjs/formatters/compact.cjs +1 -2
  34. package/dist/cjs/formatters/compact.cjs.map +1 -1
  35. package/dist/cjs/formatters/currency.cjs +1 -2
  36. package/dist/cjs/formatters/currency.cjs.map +1 -1
  37. package/dist/cjs/formatters/date.cjs +1 -3
  38. package/dist/cjs/formatters/date.cjs.map +1 -1
  39. package/dist/cjs/formatters/list.cjs +1 -2
  40. package/dist/cjs/formatters/list.cjs.map +1 -1
  41. package/dist/cjs/formatters/number.cjs +1 -2
  42. package/dist/cjs/formatters/number.cjs.map +1 -1
  43. package/dist/cjs/formatters/percentage.cjs +1 -2
  44. package/dist/cjs/formatters/percentage.cjs.map +1 -1
  45. package/dist/cjs/formatters/relativeTime.cjs +1 -2
  46. package/dist/cjs/formatters/relativeTime.cjs.map +1 -1
  47. package/dist/cjs/formatters/units.cjs +1 -2
  48. package/dist/cjs/formatters/units.cjs.map +1 -1
  49. package/dist/cjs/index.cjs +14 -3
  50. package/dist/cjs/interpreter/getCondition.cjs.map +1 -1
  51. package/dist/cjs/interpreter/getContent/deepTransform.cjs +3 -2
  52. package/dist/cjs/interpreter/getContent/deepTransform.cjs.map +1 -1
  53. package/dist/cjs/interpreter/getContent/getContent.cjs +0 -1
  54. package/dist/cjs/interpreter/getContent/getContent.cjs.map +1 -1
  55. package/dist/cjs/interpreter/getContent/plugins.cjs +12 -10
  56. package/dist/cjs/interpreter/getContent/plugins.cjs.map +1 -1
  57. package/dist/cjs/interpreter/getDictionary.cjs +5 -5
  58. package/dist/cjs/interpreter/getDictionary.cjs.map +1 -1
  59. package/dist/cjs/interpreter/getEnumeration.cjs.map +1 -1
  60. package/dist/cjs/interpreter/getGender.cjs.map +1 -1
  61. package/dist/cjs/interpreter/getHTML.cjs.map +1 -1
  62. package/dist/cjs/interpreter/getInsertion.cjs.map +1 -1
  63. package/dist/cjs/interpreter/getIntlayer.cjs +4 -4
  64. package/dist/cjs/interpreter/getIntlayer.cjs.map +1 -1
  65. package/dist/cjs/interpreter/getNesting.cjs.map +1 -1
  66. package/dist/cjs/interpreter/getPlural.cjs +1 -1
  67. package/dist/cjs/interpreter/getPlural.cjs.map +1 -1
  68. package/dist/cjs/interpreter/getTranslation.cjs.map +1 -1
  69. package/dist/cjs/interpreter/splitAndJoinInsertion.cjs.map +1 -1
  70. package/dist/cjs/localization/comparePaths.cjs +75 -0
  71. package/dist/cjs/localization/comparePaths.cjs.map +1 -0
  72. package/dist/cjs/localization/domainUtils.cjs +82 -0
  73. package/dist/cjs/localization/domainUtils.cjs.map +1 -0
  74. package/dist/cjs/localization/generateSitemap.cjs +2 -1
  75. package/dist/cjs/localization/generateSitemap.cjs.map +1 -1
  76. package/dist/cjs/localization/getBrowserLocale.cjs +7 -4
  77. package/dist/cjs/localization/getBrowserLocale.cjs.map +1 -1
  78. package/dist/cjs/localization/getHTMLTextDir.cjs.map +1 -1
  79. package/dist/cjs/localization/getLocale.cjs +0 -1
  80. package/dist/cjs/localization/getLocale.cjs.map +1 -1
  81. package/dist/cjs/localization/getLocaleFromPath.cjs.map +1 -1
  82. package/dist/cjs/localization/getLocaleLang.cjs.map +1 -1
  83. package/dist/cjs/localization/getLocaleName.cjs.map +1 -1
  84. package/dist/cjs/localization/getLocalizedUrl.cjs +7 -15
  85. package/dist/cjs/localization/getLocalizedUrl.cjs.map +1 -1
  86. package/dist/cjs/localization/getMultilingualUrls.cjs.map +1 -1
  87. package/dist/cjs/localization/getPathWithoutLocale.cjs +2 -3
  88. package/dist/cjs/localization/getPathWithoutLocale.cjs.map +1 -1
  89. package/dist/cjs/localization/getPrefix.cjs +6 -11
  90. package/dist/cjs/localization/getPrefix.cjs.map +1 -1
  91. package/dist/cjs/localization/index.cjs +8 -0
  92. package/dist/cjs/localization/localeDetector.cjs +2 -1
  93. package/dist/cjs/localization/localeDetector.cjs.map +1 -1
  94. package/dist/cjs/localization/localeMapper.cjs +0 -1
  95. package/dist/cjs/localization/localeMapper.cjs.map +1 -1
  96. package/dist/cjs/localization/localeResolver.cjs +0 -1
  97. package/dist/cjs/localization/localeResolver.cjs.map +1 -1
  98. package/dist/cjs/localization/rewriteUtils.cjs +3 -2
  99. package/dist/cjs/localization/rewriteUtils.cjs.map +1 -1
  100. package/dist/cjs/localization/validatePrefix.cjs +2 -2
  101. package/dist/cjs/localization/validatePrefix.cjs.map +1 -1
  102. package/dist/cjs/markdown/compiler.cjs +2 -1
  103. package/dist/cjs/markdown/compiler.cjs.map +1 -1
  104. package/dist/cjs/markdown/constants.cjs.map +1 -1
  105. package/dist/cjs/markdown/parser.cjs.map +1 -1
  106. package/dist/cjs/markdown/renderer.cjs.map +1 -1
  107. package/dist/cjs/markdown/utils.cjs.map +1 -1
  108. package/dist/cjs/messageFormat/ICU.cjs +15 -9
  109. package/dist/cjs/messageFormat/ICU.cjs.map +1 -1
  110. package/dist/cjs/messageFormat/i18next.cjs +12 -7
  111. package/dist/cjs/messageFormat/i18next.cjs.map +1 -1
  112. package/dist/cjs/messageFormat/index.cjs +2 -0
  113. package/dist/cjs/messageFormat/navigatePath.cjs +38 -0
  114. package/dist/cjs/messageFormat/navigatePath.cjs.map +1 -0
  115. package/dist/cjs/messageFormat/po.cjs.map +1 -1
  116. package/dist/cjs/messageFormat/resolveMessage.cjs +11 -8
  117. package/dist/cjs/messageFormat/resolveMessage.cjs.map +1 -1
  118. package/dist/cjs/messageFormat/verify-icu-format.cjs.map +1 -1
  119. package/dist/cjs/messageFormat/vue-i18n.cjs +2 -1
  120. package/dist/cjs/messageFormat/vue-i18n.cjs.map +1 -1
  121. package/dist/cjs/transpiler/condition/condition.cjs +0 -1
  122. package/dist/cjs/transpiler/condition/condition.cjs.map +1 -1
  123. package/dist/cjs/transpiler/enumeration/enumeration.cjs +0 -1
  124. package/dist/cjs/transpiler/enumeration/enumeration.cjs.map +1 -1
  125. package/dist/cjs/transpiler/file/file.cjs +2 -2
  126. package/dist/cjs/transpiler/file/file.cjs.map +1 -1
  127. package/dist/cjs/transpiler/file/fileBrowser.cjs.map +1 -1
  128. package/dist/cjs/transpiler/gender/gender.cjs +0 -1
  129. package/dist/cjs/transpiler/gender/gender.cjs.map +1 -1
  130. package/dist/cjs/transpiler/html/getHTMLCustomComponents.cjs.map +1 -1
  131. package/dist/cjs/transpiler/html/html.cjs +0 -1
  132. package/dist/cjs/transpiler/html/html.cjs.map +1 -1
  133. package/dist/cjs/transpiler/html/htmlTags.cjs.map +1 -1
  134. package/dist/cjs/transpiler/html/validateHTML.cjs +1 -1
  135. package/dist/cjs/transpiler/html/validateHTML.cjs.map +1 -1
  136. package/dist/cjs/transpiler/insertion/getInsertionValues.cjs.map +1 -1
  137. package/dist/cjs/transpiler/insertion/insertion.cjs +0 -1
  138. package/dist/cjs/transpiler/insertion/insertion.cjs.map +1 -1
  139. package/dist/cjs/transpiler/markdown/getMarkdownMetadata.cjs.map +1 -1
  140. package/dist/cjs/transpiler/markdown/markdown.cjs +0 -1
  141. package/dist/cjs/transpiler/markdown/markdown.cjs.map +1 -1
  142. package/dist/cjs/transpiler/markdown/validateMarkdown.cjs.map +1 -1
  143. package/dist/cjs/transpiler/nesting/nesting.cjs +0 -1
  144. package/dist/cjs/transpiler/nesting/nesting.cjs.map +1 -1
  145. package/dist/cjs/transpiler/plural/plural.cjs +0 -1
  146. package/dist/cjs/transpiler/plural/plural.cjs.map +1 -1
  147. package/dist/cjs/transpiler/translation/translation.cjs +0 -1
  148. package/dist/cjs/transpiler/translation/translation.cjs.map +1 -1
  149. package/dist/cjs/utils/checkIsURLAbsolute.cjs.map +1 -1
  150. package/dist/cjs/utils/cookieExpiry.cjs.map +1 -1
  151. package/dist/cjs/utils/getCookie.cjs.map +1 -1
  152. package/dist/cjs/utils/intl.cjs +101 -26
  153. package/dist/cjs/utils/intl.cjs.map +1 -1
  154. package/dist/cjs/utils/isSameKeyPath.cjs.map +1 -1
  155. package/dist/cjs/utils/localeStorage.cjs +4 -5
  156. package/dist/cjs/utils/localeStorage.cjs.map +1 -1
  157. package/dist/cjs/utils/parseYaml.cjs +1 -1
  158. package/dist/cjs/utils/parseYaml.cjs.map +1 -1
  159. package/dist/cjs/utils/stringifyYaml.cjs +1 -1
  160. package/dist/cjs/utils/stringifyYaml.cjs.map +1 -1
  161. package/dist/esm/deepTransformPlugins/getEditedContent.mjs +2 -1
  162. package/dist/esm/deepTransformPlugins/getEditedContent.mjs.map +1 -1
  163. package/dist/esm/deepTransformPlugins/getFilterMissingTranslationsContent.mjs.map +1 -1
  164. package/dist/esm/deepTransformPlugins/getFilterTranslationsOnlyContent.mjs.map +1 -1
  165. package/dist/esm/deepTransformPlugins/getFilteredLocalesContent.mjs.map +1 -1
  166. package/dist/esm/deepTransformPlugins/getLocalizedContent.mjs.map +1 -1
  167. package/dist/esm/deepTransformPlugins/getMaskContent.mjs.map +1 -1
  168. package/dist/esm/deepTransformPlugins/getMissingLocalesContent.mjs.map +1 -1
  169. package/dist/esm/deepTransformPlugins/getMultilingualDictionary.mjs.map +1 -1
  170. package/dist/esm/deepTransformPlugins/getReplacedValuesContent.mjs.map +1 -1
  171. package/dist/esm/deepTransformPlugins/getSplittedContent.mjs +1 -1
  172. package/dist/esm/deepTransformPlugins/getSplittedContent.mjs.map +1 -1
  173. package/dist/esm/deepTransformPlugins/insertContentInDictionary.mjs.map +1 -1
  174. package/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.mjs.map +1 -1
  175. package/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.mjs.map +1 -1
  176. package/dist/esm/dictionaryManipulator/getDefaultNode.mjs.map +1 -1
  177. package/dist/esm/dictionaryManipulator/getEmptyNode.mjs.map +1 -1
  178. package/dist/esm/dictionaryManipulator/getNodeChildren.mjs.map +1 -1
  179. package/dist/esm/dictionaryManipulator/getNodeType.mjs.map +1 -1
  180. package/dist/esm/dictionaryManipulator/index.mjs +2 -2
  181. package/dist/esm/dictionaryManipulator/mergeDictionaries.mjs +1 -1
  182. package/dist/esm/dictionaryManipulator/mergeDictionaries.mjs.map +1 -1
  183. package/dist/esm/dictionaryManipulator/mergeQualifiedDictionaries.mjs +10 -12
  184. package/dist/esm/dictionaryManipulator/mergeQualifiedDictionaries.mjs.map +1 -1
  185. package/dist/esm/dictionaryManipulator/normalizeDictionary.mjs.map +1 -1
  186. package/dist/esm/dictionaryManipulator/orderDictionaries.mjs.map +1 -1
  187. package/dist/esm/dictionaryManipulator/qualifiedDictionary.mjs +113 -99
  188. package/dist/esm/dictionaryManipulator/qualifiedDictionary.mjs.map +1 -1
  189. package/dist/esm/dictionaryManipulator/removeContentNodeByKeyPath.mjs.map +1 -1
  190. package/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.mjs.map +1 -1
  191. package/dist/esm/dictionaryManipulator/updateNodeChildren.mjs.map +1 -1
  192. package/dist/esm/formatters/compact.mjs +1 -1
  193. package/dist/esm/formatters/compact.mjs.map +1 -1
  194. package/dist/esm/formatters/currency.mjs +1 -1
  195. package/dist/esm/formatters/currency.mjs.map +1 -1
  196. package/dist/esm/formatters/date.mjs +1 -2
  197. package/dist/esm/formatters/date.mjs.map +1 -1
  198. package/dist/esm/formatters/list.mjs +1 -1
  199. package/dist/esm/formatters/list.mjs.map +1 -1
  200. package/dist/esm/formatters/number.mjs +1 -1
  201. package/dist/esm/formatters/number.mjs.map +1 -1
  202. package/dist/esm/formatters/percentage.mjs +1 -1
  203. package/dist/esm/formatters/percentage.mjs.map +1 -1
  204. package/dist/esm/formatters/relativeTime.mjs +1 -1
  205. package/dist/esm/formatters/relativeTime.mjs.map +1 -1
  206. package/dist/esm/formatters/units.mjs +1 -1
  207. package/dist/esm/formatters/units.mjs.map +1 -1
  208. package/dist/esm/index.mjs +5 -2
  209. package/dist/esm/interpreter/getCondition.mjs.map +1 -1
  210. package/dist/esm/interpreter/getContent/deepTransform.mjs +3 -2
  211. package/dist/esm/interpreter/getContent/deepTransform.mjs.map +1 -1
  212. package/dist/esm/interpreter/getContent/getContent.mjs.map +1 -1
  213. package/dist/esm/interpreter/getContent/plugins.mjs +12 -10
  214. package/dist/esm/interpreter/getContent/plugins.mjs.map +1 -1
  215. package/dist/esm/interpreter/getDictionary.mjs +5 -5
  216. package/dist/esm/interpreter/getDictionary.mjs.map +1 -1
  217. package/dist/esm/interpreter/getEnumeration.mjs.map +1 -1
  218. package/dist/esm/interpreter/getGender.mjs.map +1 -1
  219. package/dist/esm/interpreter/getHTML.mjs.map +1 -1
  220. package/dist/esm/interpreter/getInsertion.mjs.map +1 -1
  221. package/dist/esm/interpreter/getIntlayer.mjs +4 -3
  222. package/dist/esm/interpreter/getIntlayer.mjs.map +1 -1
  223. package/dist/esm/interpreter/getNesting.mjs.map +1 -1
  224. package/dist/esm/interpreter/getPlural.mjs +1 -1
  225. package/dist/esm/interpreter/getPlural.mjs.map +1 -1
  226. package/dist/esm/interpreter/getTranslation.mjs.map +1 -1
  227. package/dist/esm/interpreter/splitAndJoinInsertion.mjs.map +1 -1
  228. package/dist/esm/localization/comparePaths.mjs +73 -0
  229. package/dist/esm/localization/comparePaths.mjs.map +1 -0
  230. package/dist/esm/localization/domainUtils.mjs +77 -0
  231. package/dist/esm/localization/domainUtils.mjs.map +1 -0
  232. package/dist/esm/localization/generateSitemap.mjs +2 -1
  233. package/dist/esm/localization/generateSitemap.mjs.map +1 -1
  234. package/dist/esm/localization/getBrowserLocale.mjs +7 -3
  235. package/dist/esm/localization/getBrowserLocale.mjs.map +1 -1
  236. package/dist/esm/localization/getHTMLTextDir.mjs.map +1 -1
  237. package/dist/esm/localization/getLocale.mjs.map +1 -1
  238. package/dist/esm/localization/getLocaleFromPath.mjs.map +1 -1
  239. package/dist/esm/localization/getLocaleLang.mjs.map +1 -1
  240. package/dist/esm/localization/getLocaleName.mjs.map +1 -1
  241. package/dist/esm/localization/getLocalizedUrl.mjs +7 -14
  242. package/dist/esm/localization/getLocalizedUrl.mjs.map +1 -1
  243. package/dist/esm/localization/getMultilingualUrls.mjs.map +1 -1
  244. package/dist/esm/localization/getPathWithoutLocale.mjs +2 -2
  245. package/dist/esm/localization/getPathWithoutLocale.mjs.map +1 -1
  246. package/dist/esm/localization/getPrefix.mjs +6 -10
  247. package/dist/esm/localization/getPrefix.mjs.map +1 -1
  248. package/dist/esm/localization/index.mjs +3 -1
  249. package/dist/esm/localization/localeDetector.mjs +2 -1
  250. package/dist/esm/localization/localeDetector.mjs.map +1 -1
  251. package/dist/esm/localization/localeMapper.mjs.map +1 -1
  252. package/dist/esm/localization/localeResolver.mjs.map +1 -1
  253. package/dist/esm/localization/rewriteUtils.mjs +3 -2
  254. package/dist/esm/localization/rewriteUtils.mjs.map +1 -1
  255. package/dist/esm/localization/validatePrefix.mjs +2 -2
  256. package/dist/esm/localization/validatePrefix.mjs.map +1 -1
  257. package/dist/esm/markdown/compiler.mjs +2 -1
  258. package/dist/esm/markdown/compiler.mjs.map +1 -1
  259. package/dist/esm/markdown/constants.mjs.map +1 -1
  260. package/dist/esm/markdown/parser.mjs.map +1 -1
  261. package/dist/esm/markdown/renderer.mjs.map +1 -1
  262. package/dist/esm/markdown/utils.mjs.map +1 -1
  263. package/dist/esm/messageFormat/ICU.mjs +15 -9
  264. package/dist/esm/messageFormat/ICU.mjs.map +1 -1
  265. package/dist/esm/messageFormat/i18next.mjs +12 -7
  266. package/dist/esm/messageFormat/i18next.mjs.map +1 -1
  267. package/dist/esm/messageFormat/index.mjs +2 -1
  268. package/dist/esm/messageFormat/navigatePath.mjs +36 -0
  269. package/dist/esm/messageFormat/navigatePath.mjs.map +1 -0
  270. package/dist/esm/messageFormat/po.mjs.map +1 -1
  271. package/dist/esm/messageFormat/resolveMessage.mjs +11 -8
  272. package/dist/esm/messageFormat/resolveMessage.mjs.map +1 -1
  273. package/dist/esm/messageFormat/verify-icu-format.mjs.map +1 -1
  274. package/dist/esm/messageFormat/vue-i18n.mjs +2 -1
  275. package/dist/esm/messageFormat/vue-i18n.mjs.map +1 -1
  276. package/dist/esm/transpiler/condition/condition.mjs.map +1 -1
  277. package/dist/esm/transpiler/enumeration/enumeration.mjs.map +1 -1
  278. package/dist/esm/transpiler/file/file.mjs +2 -1
  279. package/dist/esm/transpiler/file/file.mjs.map +1 -1
  280. package/dist/esm/transpiler/file/fileBrowser.mjs.map +1 -1
  281. package/dist/esm/transpiler/gender/gender.mjs.map +1 -1
  282. package/dist/esm/transpiler/html/getHTMLCustomComponents.mjs.map +1 -1
  283. package/dist/esm/transpiler/html/html.mjs.map +1 -1
  284. package/dist/esm/transpiler/html/htmlTags.mjs.map +1 -1
  285. package/dist/esm/transpiler/html/validateHTML.mjs +1 -1
  286. package/dist/esm/transpiler/html/validateHTML.mjs.map +1 -1
  287. package/dist/esm/transpiler/insertion/getInsertionValues.mjs.map +1 -1
  288. package/dist/esm/transpiler/insertion/insertion.mjs.map +1 -1
  289. package/dist/esm/transpiler/markdown/getMarkdownMetadata.mjs.map +1 -1
  290. package/dist/esm/transpiler/markdown/markdown.mjs.map +1 -1
  291. package/dist/esm/transpiler/markdown/validateMarkdown.mjs.map +1 -1
  292. package/dist/esm/transpiler/nesting/nesting.mjs.map +1 -1
  293. package/dist/esm/transpiler/plural/plural.mjs.map +1 -1
  294. package/dist/esm/transpiler/translation/translation.mjs.map +1 -1
  295. package/dist/esm/utils/checkIsURLAbsolute.mjs.map +1 -1
  296. package/dist/esm/utils/cookieExpiry.mjs.map +1 -1
  297. package/dist/esm/utils/getCookie.mjs.map +1 -1
  298. package/dist/esm/utils/intl.mjs +100 -25
  299. package/dist/esm/utils/intl.mjs.map +1 -1
  300. package/dist/esm/utils/isSameKeyPath.mjs.map +1 -1
  301. package/dist/esm/utils/localeStorage.mjs +4 -4
  302. package/dist/esm/utils/localeStorage.mjs.map +1 -1
  303. package/dist/esm/utils/parseYaml.mjs +1 -1
  304. package/dist/esm/utils/parseYaml.mjs.map +1 -1
  305. package/dist/esm/utils/stringifyYaml.mjs +1 -1
  306. package/dist/esm/utils/stringifyYaml.mjs.map +1 -1
  307. package/dist/types/deepTransformPlugins/getEditedContent.d.ts +0 -1
  308. package/dist/types/deepTransformPlugins/getEditedContent.d.ts.map +1 -1
  309. package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts +12 -14
  310. package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts.map +1 -1
  311. package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts +12 -14
  312. package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts.map +1 -1
  313. package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts +12 -14
  314. package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts.map +1 -1
  315. package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts +1 -1
  316. package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts.map +1 -1
  317. package/dist/types/deepTransformPlugins/getMaskContent.d.ts +1 -1
  318. package/dist/types/deepTransformPlugins/getMaskContent.d.ts.map +1 -1
  319. package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts +1 -1
  320. package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts.map +1 -1
  321. package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts +0 -1
  322. package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts.map +1 -1
  323. package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts +1 -1
  324. package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts.map +1 -1
  325. package/dist/types/deepTransformPlugins/getSplittedContent.d.ts +1 -2
  326. package/dist/types/deepTransformPlugins/getSplittedContent.d.ts.map +1 -1
  327. package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts +1 -2
  328. package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts.map +1 -1
  329. package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts +0 -1
  330. package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts.map +1 -1
  331. package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts +0 -1
  332. package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts.map +1 -1
  333. package/dist/types/dictionaryManipulator/getDefaultNode.d.ts +0 -1
  334. package/dist/types/dictionaryManipulator/getDefaultNode.d.ts.map +1 -1
  335. package/dist/types/dictionaryManipulator/getEmptyNode.d.ts +0 -1
  336. package/dist/types/dictionaryManipulator/getEmptyNode.d.ts.map +1 -1
  337. package/dist/types/dictionaryManipulator/getNodeChildren.d.ts +0 -1
  338. package/dist/types/dictionaryManipulator/getNodeChildren.d.ts.map +1 -1
  339. package/dist/types/dictionaryManipulator/getNodeType.d.ts +0 -1
  340. package/dist/types/dictionaryManipulator/getNodeType.d.ts.map +1 -1
  341. package/dist/types/dictionaryManipulator/index.d.ts +2 -2
  342. package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts +0 -1
  343. package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts.map +1 -1
  344. package/dist/types/dictionaryManipulator/mergeQualifiedDictionaries.d.ts +1 -2
  345. package/dist/types/dictionaryManipulator/mergeQualifiedDictionaries.d.ts.map +1 -1
  346. package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts +0 -1
  347. package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts.map +1 -1
  348. package/dist/types/dictionaryManipulator/orderDictionaries.d.ts +1 -2
  349. package/dist/types/dictionaryManipulator/orderDictionaries.d.ts.map +1 -1
  350. package/dist/types/dictionaryManipulator/qualifiedDictionary.d.ts +59 -36
  351. package/dist/types/dictionaryManipulator/qualifiedDictionary.d.ts.map +1 -1
  352. package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts +0 -1
  353. package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts.map +1 -1
  354. package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts +1 -2
  355. package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts.map +1 -1
  356. package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts +0 -1
  357. package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts.map +1 -1
  358. package/dist/types/formatters/compact.d.ts +0 -1
  359. package/dist/types/formatters/compact.d.ts.map +1 -1
  360. package/dist/types/formatters/currency.d.ts +0 -1
  361. package/dist/types/formatters/currency.d.ts.map +1 -1
  362. package/dist/types/formatters/date.d.ts +0 -1
  363. package/dist/types/formatters/date.d.ts.map +1 -1
  364. package/dist/types/formatters/index.d.ts +2 -2
  365. package/dist/types/formatters/list.d.ts +0 -1
  366. package/dist/types/formatters/list.d.ts.map +1 -1
  367. package/dist/types/formatters/number.d.ts +1 -5
  368. package/dist/types/formatters/number.d.ts.map +1 -1
  369. package/dist/types/formatters/percentage.d.ts +1 -5
  370. package/dist/types/formatters/percentage.d.ts.map +1 -1
  371. package/dist/types/formatters/relativeTime.d.ts +0 -1
  372. package/dist/types/formatters/relativeTime.d.ts.map +1 -1
  373. package/dist/types/formatters/units.d.ts +0 -1
  374. package/dist/types/formatters/units.d.ts.map +1 -1
  375. package/dist/types/index.d.ts +15 -3
  376. package/dist/types/interpreter/getCondition.d.ts +1 -0
  377. package/dist/types/interpreter/getCondition.d.ts.map +1 -1
  378. package/dist/types/interpreter/getContent/deepTransform.d.ts +0 -1
  379. package/dist/types/interpreter/getContent/deepTransform.d.ts.map +1 -1
  380. package/dist/types/interpreter/getContent/getContent.d.ts +0 -1
  381. package/dist/types/interpreter/getContent/getContent.d.ts.map +1 -1
  382. package/dist/types/interpreter/getContent/plugins.d.ts +4 -4
  383. package/dist/types/interpreter/getContent/plugins.d.ts.map +1 -1
  384. package/dist/types/interpreter/getDictionary.d.ts +6 -6
  385. package/dist/types/interpreter/getDictionary.d.ts.map +1 -1
  386. package/dist/types/interpreter/getEnumeration.d.ts +1 -0
  387. package/dist/types/interpreter/getEnumeration.d.ts.map +1 -1
  388. package/dist/types/interpreter/getGender.d.ts +1 -0
  389. package/dist/types/interpreter/getGender.d.ts.map +1 -1
  390. package/dist/types/interpreter/getHTML.d.ts.map +1 -1
  391. package/dist/types/interpreter/getInsertion.d.ts +2 -1
  392. package/dist/types/interpreter/getInsertion.d.ts.map +1 -1
  393. package/dist/types/interpreter/getIntlayer.d.ts +2 -2
  394. package/dist/types/interpreter/getIntlayer.d.ts.map +1 -1
  395. package/dist/types/interpreter/getNesting.d.ts +2 -1
  396. package/dist/types/interpreter/getNesting.d.ts.map +1 -1
  397. package/dist/types/interpreter/getPlural.d.ts +0 -1
  398. package/dist/types/interpreter/getPlural.d.ts.map +1 -1
  399. package/dist/types/interpreter/getTranslation.d.ts +0 -1
  400. package/dist/types/interpreter/getTranslation.d.ts.map +1 -1
  401. package/dist/types/interpreter/index.d.ts +1 -0
  402. package/dist/types/interpreter/splitAndJoinInsertion.d.ts.map +1 -1
  403. package/dist/types/localization/comparePaths.d.ts +65 -0
  404. package/dist/types/localization/comparePaths.d.ts.map +1 -0
  405. package/dist/types/localization/domainUtils.d.ts +69 -0
  406. package/dist/types/localization/domainUtils.d.ts.map +1 -0
  407. package/dist/types/localization/generateSitemap.d.ts +6 -4
  408. package/dist/types/localization/generateSitemap.d.ts.map +1 -1
  409. package/dist/types/localization/getBrowserLocale.d.ts +0 -1
  410. package/dist/types/localization/getBrowserLocale.d.ts.map +1 -1
  411. package/dist/types/localization/getHTMLTextDir.d.ts +0 -1
  412. package/dist/types/localization/getHTMLTextDir.d.ts.map +1 -1
  413. package/dist/types/localization/getLocale.d.ts +0 -1
  414. package/dist/types/localization/getLocale.d.ts.map +1 -1
  415. package/dist/types/localization/getLocaleFromPath.d.ts +0 -1
  416. package/dist/types/localization/getLocaleFromPath.d.ts.map +1 -1
  417. package/dist/types/localization/getLocaleLang.d.ts +0 -1
  418. package/dist/types/localization/getLocaleLang.d.ts.map +1 -1
  419. package/dist/types/localization/getLocaleName.d.ts +0 -1
  420. package/dist/types/localization/getLocaleName.d.ts.map +1 -1
  421. package/dist/types/localization/getLocalizedUrl.d.ts +0 -1
  422. package/dist/types/localization/getLocalizedUrl.d.ts.map +1 -1
  423. package/dist/types/localization/getMultilingualUrls.d.ts +0 -1
  424. package/dist/types/localization/getMultilingualUrls.d.ts.map +1 -1
  425. package/dist/types/localization/getPathWithoutLocale.d.ts +0 -1
  426. package/dist/types/localization/getPathWithoutLocale.d.ts.map +1 -1
  427. package/dist/types/localization/getPrefix.d.ts +2 -3
  428. package/dist/types/localization/getPrefix.d.ts.map +1 -1
  429. package/dist/types/localization/index.d.ts +3 -1
  430. package/dist/types/localization/localeDetector.d.ts +0 -1
  431. package/dist/types/localization/localeDetector.d.ts.map +1 -1
  432. package/dist/types/localization/localeMapper.d.ts +3 -4
  433. package/dist/types/localization/localeMapper.d.ts.map +1 -1
  434. package/dist/types/localization/localeResolver.d.ts +0 -1
  435. package/dist/types/localization/localeResolver.d.ts.map +1 -1
  436. package/dist/types/localization/rewriteUtils.d.ts +2 -3
  437. package/dist/types/localization/rewriteUtils.d.ts.map +1 -1
  438. package/dist/types/localization/validatePrefix.d.ts +0 -1
  439. package/dist/types/localization/validatePrefix.d.ts.map +1 -1
  440. package/dist/types/markdown/compiler.d.ts +0 -1
  441. package/dist/types/markdown/compiler.d.ts.map +1 -1
  442. package/dist/types/markdown/constants.d.ts +48 -38
  443. package/dist/types/markdown/constants.d.ts.map +1 -1
  444. package/dist/types/markdown/index.d.ts +2 -1
  445. package/dist/types/markdown/parser.d.ts +0 -1
  446. package/dist/types/markdown/parser.d.ts.map +1 -1
  447. package/dist/types/markdown/renderer.d.ts +0 -1
  448. package/dist/types/markdown/renderer.d.ts.map +1 -1
  449. package/dist/types/markdown/types.d.ts +44 -24
  450. package/dist/types/markdown/types.d.ts.map +1 -1
  451. package/dist/types/markdown/utils.d.ts +3 -4
  452. package/dist/types/markdown/utils.d.ts.map +1 -1
  453. package/dist/types/messageFormat/ICU.d.ts +2 -3
  454. package/dist/types/messageFormat/ICU.d.ts.map +1 -1
  455. package/dist/types/messageFormat/i18next.d.ts +2 -3
  456. package/dist/types/messageFormat/i18next.d.ts.map +1 -1
  457. package/dist/types/messageFormat/index.d.ts +2 -1
  458. package/dist/types/messageFormat/navigatePath.d.ts +22 -0
  459. package/dist/types/messageFormat/navigatePath.d.ts.map +1 -0
  460. package/dist/types/messageFormat/po.d.ts +2 -3
  461. package/dist/types/messageFormat/po.d.ts.map +1 -1
  462. package/dist/types/messageFormat/resolveMessage.d.ts +0 -1
  463. package/dist/types/messageFormat/resolveMessage.d.ts.map +1 -1
  464. package/dist/types/messageFormat/verify-icu-format.d.ts +1 -1
  465. package/dist/types/messageFormat/vue-i18n.d.ts +2 -3
  466. package/dist/types/messageFormat/vue-i18n.d.ts.map +1 -1
  467. package/dist/types/transpiler/condition/condition.d.ts +0 -1
  468. package/dist/types/transpiler/condition/condition.d.ts.map +1 -1
  469. package/dist/types/transpiler/enumeration/enumeration.d.ts +0 -1
  470. package/dist/types/transpiler/enumeration/enumeration.d.ts.map +1 -1
  471. package/dist/types/transpiler/file/file.d.ts +0 -1
  472. package/dist/types/transpiler/file/file.d.ts.map +1 -1
  473. package/dist/types/transpiler/file/fileBrowser.d.ts +0 -1
  474. package/dist/types/transpiler/file/fileBrowser.d.ts.map +1 -1
  475. package/dist/types/transpiler/gender/gender.d.ts +0 -1
  476. package/dist/types/transpiler/gender/gender.d.ts.map +1 -1
  477. package/dist/types/transpiler/html/getHTMLCustomComponents.d.ts.map +1 -1
  478. package/dist/types/transpiler/html/html.d.ts +0 -1
  479. package/dist/types/transpiler/html/html.d.ts.map +1 -1
  480. package/dist/types/transpiler/html/htmlTags.d.ts +1 -1
  481. package/dist/types/transpiler/html/htmlTags.d.ts.map +1 -1
  482. package/dist/types/transpiler/html/validateHTML.d.ts.map +1 -1
  483. package/dist/types/transpiler/index.d.ts +11 -1
  484. package/dist/types/transpiler/insertion/getInsertionValues.d.ts.map +1 -1
  485. package/dist/types/transpiler/insertion/insertion.d.ts +0 -1
  486. package/dist/types/transpiler/insertion/insertion.d.ts.map +1 -1
  487. package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts.map +1 -1
  488. package/dist/types/transpiler/markdown/index.d.ts +1 -1
  489. package/dist/types/transpiler/markdown/markdown.d.ts +0 -1
  490. package/dist/types/transpiler/markdown/markdown.d.ts.map +1 -1
  491. package/dist/types/transpiler/markdown/validateMarkdown.d.ts +0 -1
  492. package/dist/types/transpiler/markdown/validateMarkdown.d.ts.map +1 -1
  493. package/dist/types/transpiler/nesting/nesting.d.ts +4 -4
  494. package/dist/types/transpiler/nesting/nesting.d.ts.map +1 -1
  495. package/dist/types/transpiler/plural/plural.d.ts +0 -1
  496. package/dist/types/transpiler/plural/plural.d.ts.map +1 -1
  497. package/dist/types/transpiler/translation/translation.d.ts +0 -1
  498. package/dist/types/transpiler/translation/translation.d.ts.map +1 -1
  499. package/dist/types/utils/checkIsURLAbsolute.d.ts.map +1 -1
  500. package/dist/types/utils/cookieExpiry.d.ts +1 -2
  501. package/dist/types/utils/cookieExpiry.d.ts.map +1 -1
  502. package/dist/types/utils/getCookie.d.ts.map +1 -1
  503. package/dist/types/utils/index.d.ts +2 -2
  504. package/dist/types/utils/intl.d.ts +49 -5
  505. package/dist/types/utils/intl.d.ts.map +1 -1
  506. package/dist/types/utils/isSameKeyPath.d.ts +0 -1
  507. package/dist/types/utils/isSameKeyPath.d.ts.map +1 -1
  508. package/dist/types/utils/isValidReactElement.d.ts.map +1 -1
  509. package/dist/types/utils/localeStorage.d.ts +1 -2
  510. package/dist/types/utils/localeStorage.d.ts.map +1 -1
  511. package/dist/types/utils/parseYaml.d.ts.map +1 -1
  512. package/dist/types/utils/stringifyYaml.d.ts.map +1 -1
  513. package/package.json +10 -10
@@ -1,8 +1,7 @@
1
1
  import { DeepTransformContent, NodeProps, Plugins } from "../interpreter/getContent/plugins.js";
2
+ import "../interpreter/index.js";
2
3
  import { ContentNode, Dictionary } from "@intlayer/types/dictionary";
3
4
  import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
4
- import * as _$_intlayer_types0 from "@intlayer/types";
5
-
6
5
  //#region src/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts
7
6
  /** Translation plugin. Replaces node with a locale string if nodeType = Translation. */
8
7
  declare const filterTranslationsOnlyPlugin: (locale: LocalesValues, fallback?: LocalesValues) => Plugins;
@@ -14,14 +13,13 @@ declare const filterTranslationsOnlyPlugin: (locale: LocalesValues, fallback?: L
14
13
  */
15
14
  declare const getFilterTranslationsOnlyContent: <T extends ContentNode, L extends LocalesValues = DeclaredLocales>(node: T, locale: L, nodeProps: NodeProps, fallback?: LocalesValues) => DeepTransformContent<T>;
16
15
  declare const getFilterTranslationsOnlyDictionary: (dictionary: Dictionary, locale?: LocalesValues, fallback?: LocalesValues) => {
17
- content: any;
18
16
  $schema?: "https://intlayer.org/schema.json";
19
- id?: _$_intlayer_types0.DictionaryId;
17
+ id?: import("@intlayer/types").DictionaryId;
20
18
  projectIds?: string[];
21
- localId?: _$_intlayer_types0.LocalDictionaryId;
22
- localIds?: _$_intlayer_types0.LocalDictionaryId[];
23
- format?: _$_intlayer_types0.DictionaryFormat;
24
- key: _$_intlayer_types0.DictionaryKey;
19
+ localId?: import("@intlayer/types").LocalDictionaryId;
20
+ localIds?: import("@intlayer/types").LocalDictionaryId[];
21
+ format?: import("@intlayer/types").DictionaryFormat;
22
+ key: import("@intlayer/types").DictionaryKey;
25
23
  title?: string;
26
24
  description?: string;
27
25
  versions?: string[];
@@ -29,16 +27,16 @@ declare const getFilterTranslationsOnlyDictionary: (dictionary: Dictionary, loca
29
27
  filePath?: string;
30
28
  tags?: string[];
31
29
  item?: number;
32
- variant?: string;
33
- meta?: _$_intlayer_types0.DictionaryMeta;
30
+ variant?: import("@intlayer/types").DictionaryVariantValue | import("@intlayer/types").DictionaryVariantValue[];
34
31
  locale?: LocalesValues;
35
- contentAutoTransformation?: _$_intlayer_types0.ContentAutoTransformation;
36
- fill?: _$_intlayer_types0.Fill;
32
+ contentAutoTransformation?: import("@intlayer/types").ContentAutoTransformation;
33
+ fill?: import("@intlayer/types").Fill;
37
34
  filled?: true;
38
35
  priority?: number;
39
- importMode?: _$_intlayer_types0.ImportMode;
40
- location?: _$_intlayer_types0.DictionaryLocation;
36
+ importMode?: import("@intlayer/types").ImportMode;
37
+ location?: import("@intlayer/types").DictionaryLocation;
41
38
  schema: undefined;
39
+ content: any;
42
40
  };
43
41
  //#endregion
44
42
  export { filterTranslationsOnlyPlugin, getFilterTranslationsOnlyContent, getFilterTranslationsOnlyDictionary };
@@ -1 +1 @@
1
- {"version":3,"file":"getFilterTranslationsOnlyContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getFilterTranslationsOnlyContent.ts"],"mappings":";;;;;;;cAqCa,4BAAA,GACX,MAAA,EAAQ,aAAA,EACR,QAAA,GAAW,aAAA,KACV,OAAA;;;AAHH;;;;cAuFa,gCAAA,aACD,WAAA,YACA,aAAA,GAAgB,eAAA,EAE1B,IAAA,EAAM,CAAA,EACN,MAAA,EAAQ,CAAA,EAER,SAAA,EAAW,SAAA,EACX,QAAA,GAAW,aAAA,KAUL,oBAAA,CAAqB,CAAA;AAAA,cAGhB,mCAAA,GACX,UAAA,EAAY,UAAA,EACZ,MAAA,GAAQ,aAAA,EAER,QAAA,GAAW,aAAA;;;OAAa,kBAAA,CAAA,YAAA"}
1
+ {"version":3,"file":"getFilterTranslationsOnlyContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getFilterTranslationsOnlyContent.ts"],"mappings":";;;;;;cAqCa,+BAA4B,QAC/B,eAAa,WACV,kBACV;;;;;;;cAoFU,mCACX,UAAU,aACV,UAAU,gBAAgB,iBAAe,MAEnC,GAAC,QACC,GAAC,WAEE,WAAS,WACT,kBAUL,qBAAqB;cAGhB,sCAAmC,YAClC,YAAU,SACd,eAAa,WAEV"}
@@ -1,19 +1,17 @@
1
1
  import { NodeProps } from "../interpreter/getContent/plugins.js";
2
+ import "../interpreter/index.js";
2
3
  import { ContentNode, Dictionary } from "@intlayer/types/dictionary";
3
4
  import { LocalesValues } from "@intlayer/types/module_augmentation";
4
- import * as _$_intlayer_types0 from "@intlayer/types";
5
-
6
5
  //#region src/deepTransformPlugins/getFilteredLocalesContent.d.ts
7
6
  declare const getFilteredLocalesContent: (node: ContentNode, locales: LocalesValues | LocalesValues[], nodeProps: NodeProps) => any;
8
7
  declare const getFilteredLocalesDictionary: (dictionary: Dictionary, locale: LocalesValues | LocalesValues[]) => {
9
- content: any;
10
8
  $schema?: "https://intlayer.org/schema.json";
11
- id?: _$_intlayer_types0.DictionaryId;
9
+ id?: import("@intlayer/types").DictionaryId;
12
10
  projectIds?: string[];
13
- localId?: _$_intlayer_types0.LocalDictionaryId;
14
- localIds?: _$_intlayer_types0.LocalDictionaryId[];
15
- format?: _$_intlayer_types0.DictionaryFormat;
16
- key: _$_intlayer_types0.DictionaryKey;
11
+ localId?: import("@intlayer/types").LocalDictionaryId;
12
+ localIds?: import("@intlayer/types").LocalDictionaryId[];
13
+ format?: import("@intlayer/types").DictionaryFormat;
14
+ key: import("@intlayer/types").DictionaryKey;
17
15
  title?: string;
18
16
  description?: string;
19
17
  versions?: string[];
@@ -21,16 +19,16 @@ declare const getFilteredLocalesDictionary: (dictionary: Dictionary, locale: Loc
21
19
  filePath?: string;
22
20
  tags?: string[];
23
21
  item?: number;
24
- variant?: string;
25
- meta?: _$_intlayer_types0.DictionaryMeta;
22
+ variant?: import("@intlayer/types").DictionaryVariantValue | import("@intlayer/types").DictionaryVariantValue[];
26
23
  locale?: LocalesValues;
27
- contentAutoTransformation?: _$_intlayer_types0.ContentAutoTransformation;
28
- fill?: _$_intlayer_types0.Fill;
24
+ contentAutoTransformation?: import("@intlayer/types").ContentAutoTransformation;
25
+ fill?: import("@intlayer/types").Fill;
29
26
  filled?: true;
30
27
  priority?: number;
31
- importMode?: _$_intlayer_types0.ImportMode;
32
- location?: _$_intlayer_types0.DictionaryLocation;
28
+ importMode?: import("@intlayer/types").ImportMode;
29
+ location?: import("@intlayer/types").DictionaryLocation;
33
30
  schema: undefined;
31
+ content: any;
34
32
  };
35
33
  //#endregion
36
34
  export { getFilteredLocalesContent, getFilteredLocalesDictionary };
@@ -1 +1 @@
1
- {"version":3,"file":"getFilteredLocalesContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getFilteredLocalesContent.ts"],"mappings":";;;;;;cAuCa,yBAAA,GACX,IAAA,EAAM,WAAA,EACN,OAAA,EAAS,aAAA,GAAgB,aAAA,IACzB,SAAA,EAAW,SAAA;AAAA,cAwBA,4BAAA,GACX,UAAA,EAAY,UAAA,EACZ,MAAA,EAAQ,aAAA,GAAgB,aAAA;;;OAAa,kBAAA,CAAA,YAAA"}
1
+ {"version":3,"file":"getFilteredLocalesContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getFilteredLocalesContent.ts"],"mappings":";;;;;cAuCa,4BAAyB,MAC9B,aAAW,SACR,gBAAgB,iBAAe,WAC7B;cAwBA,+BAA4B,YAC3B,YAAU,QACd,gBAAgB"}
@@ -1,7 +1,7 @@
1
1
  import { DeepTransformContent, NodeProps } from "../interpreter/getContent/plugins.js";
2
+ import "../interpreter/index.js";
2
3
  import { ContentNode, Dictionary } from "@intlayer/types/dictionary";
3
4
  import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
4
-
5
5
  //#region src/deepTransformPlugins/getLocalizedContent.d.ts
6
6
  /**
7
7
  * Transforms a node in a single pass, applying each plugin as needed.
@@ -1 +1 @@
1
- {"version":3,"file":"getLocalizedContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getLocalizedContent.ts"],"mappings":";;;;;;;;AAqBA;;;;;cAAa,mBAAA,aACD,WAAA,YACA,aAAA,GAAgB,eAAA,EAE1B,IAAA,EAAM,CAAA,EACN,MAAA,EAAQ,CAAA,EACR,SAAA,EAAW,SAAA,EACX,QAAA,GAAW,aAAA,KAUL,oBAAA,CAAqB,CAAA;AAAA,cAGhB,sBAAA,aACD,UAAA,YACA,aAAA,EAEV,UAAA,EAAY,CAAA,EACZ,MAAA,EAAQ,CAAA,EACR,QAAA,GAAW,aAAA,KACV,UAAA"}
1
+ {"version":3,"file":"getLocalizedContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getLocalizedContent.ts"],"mappings":";;;;;;;;;;;;;cAqBa,sBACX,UAAU,aACV,UAAU,gBAAgB,iBAAe,MAEnC,GAAC,QACC,GAAC,WACE,WAAS,WACT,kBAUL,qBAAqB;cAGhB,yBACX,UAAU,YACV,UAAU,eAAa,YAEX,GAAC,QACL,GAAC,WACE,kBACV"}
@@ -1,6 +1,6 @@
1
1
  import { Plugins } from "../interpreter/getContent/plugins.js";
2
+ import "../interpreter/index.js";
2
3
  import { Dictionary } from "@intlayer/types/dictionary";
3
-
4
4
  //#region src/deepTransformPlugins/getMaskContent.d.ts
5
5
  /** Translation plugin. Replaces node with a locale string if nodeType = Translation. */
6
6
  declare const buildMaskPlugin: Plugins;
@@ -1 +1 @@
1
- {"version":3,"file":"getMaskContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getMaskContent.ts"],"mappings":";;;;;cAYa,eAAA,EAAiB,OAAA;AAAA,cAMjB,cAAA,GAAkB,MAAA,EAAQ,UAAA"}
1
+ {"version":3,"file":"getMaskContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getMaskContent.ts"],"mappings":";;;;;cAYa,iBAAiB;cAMjB,iBAAc,QAAY"}
@@ -1,8 +1,8 @@
1
1
  import { NodeProps, Plugins } from "../interpreter/getContent/plugins.js";
2
+ import "../interpreter/index.js";
2
3
  import { ContentNode, Dictionary } from "@intlayer/types/dictionary";
3
4
  import { LocalesValues } from "@intlayer/types/module_augmentation";
4
5
  import { Locale } from "@intlayer/types/allLocales";
5
-
6
6
  //#region src/deepTransformPlugins/getMissingLocalesContent.d.ts
7
7
  /** Translation plugin. Replaces node with a locale string if nodeType = Translation. */
8
8
  declare const checkMissingLocalesPlugin: (locales: Locale[], onMissingLocale: (locale: Locale) => void) => Plugins;
@@ -1 +1 @@
1
- {"version":3,"file":"getMissingLocalesContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getMissingLocalesContent.ts"],"mappings":";;;;;;;cAiGa,yBAAA,GACX,OAAA,EAAS,MAAA,IACT,eAAA,GAAkB,MAAA,EAAQ,MAAA,cACzB,OAAA;;AAHH;;;;;cA0Ga,wBAAA,aAAsC,WAAA,EACjD,IAAA,EAAM,CAAA,EACN,OAAA,EAAS,aAAA,IAET,SAAA,EAAW,SAAA,KACV,MAAA;AAAA,cAuBU,sCAAA,GACX,UAAA,EAAY,UAAA,EACZ,OAAA,GAAS,aAAA,OAA+C,MAAA"}
1
+ {"version":3,"file":"getMissingLocalesContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getMissingLocalesContent.ts"],"mappings":";;;;;;;cAiGa,4BAAyB,SAC3B,UAAQ,kBACC,QAAQ,oBACzB;;;;;;;cAuGU,2BAA4B,UAAU,aAAW,MACtD,GAAC,SACE,iBAAe,WAEb,cACV;cAuBU,yCAAsC,YACrC,YAAU,UACb,oBAAe"}
@@ -1,5 +1,4 @@
1
1
  import { Dictionary } from "@intlayer/types/dictionary";
2
-
3
2
  //#region src/deepTransformPlugins/getMultilingualDictionary.d.ts
4
3
  /**
5
4
  * Transform a per-locale dictionary into a multilingual dictionary.
@@ -1 +1 @@
1
- {"version":3,"file":"getMultilingualDictionary.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getMultilingualDictionary.ts"],"mappings":";;;;;AAmCA;;;;;;;;;;;;;;;;;;;;;;;cAAa,yBAAA,GACX,UAAA,EAAY,UAAA,KACX,UAAA"}
1
+ {"version":3,"file":"getMultilingualDictionary.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getMultilingualDictionary.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCa,4BAAyB,YACxB,eACX"}
@@ -1,6 +1,6 @@
1
1
  import { NodeProps } from "../interpreter/getContent/plugins.js";
2
+ import "../interpreter/index.js";
2
3
  import { ContentNode } from "@intlayer/types/dictionary";
3
-
4
4
  //#region src/deepTransformPlugins/getReplacedValuesContent.d.ts
5
5
  declare const getReplacedValuesContent: (node: ContentNode, value: string | number | boolean, nodeProps: NodeProps) => any;
6
6
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"getReplacedValuesContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getReplacedValuesContent.ts"],"mappings":";;;;cA8Da,wBAAA,GACX,IAAA,EAAM,WAAA,EACN,KAAA,6BACA,SAAA,EAAW,SAAA"}
1
+ {"version":3,"file":"getReplacedValuesContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getReplacedValuesContent.ts"],"mappings":";;;;cA8Da,2BAAwB,MAC7B,aAAW,kCACe,WACrB"}
@@ -1,6 +1,5 @@
1
1
  import { ContentNode, Dictionary } from "@intlayer/types/dictionary";
2
2
  import { DeclaredLocales } from "@intlayer/types/module_augmentation";
3
-
4
3
  //#region src/deepTransformPlugins/getSplittedContent.d.ts
5
4
  type SplittedContentOutput<T = ContentNode> = Record<DeclaredLocales, T> & {
6
5
  common: T;
@@ -37,7 +36,7 @@ declare const getSplittedContent: (content: ContentNode) => SplittedContentOutpu
37
36
  * @param dictionary - The input dictionary object with possible multilingual or common content.
38
37
  * @returns An object mapping "common" and each locale to their corresponding content subtrees.
39
38
  */
40
- declare const getSplittedDictionaryContent: (dictionary: Dictionary) => SplittedContentOutput<Dictionary["content"]>;
39
+ declare const getSplittedDictionaryContent: (dictionary: Dictionary) => SplittedContentOutput<Dictionary['content']>;
41
40
  //#endregion
42
41
  export { getSplittedContent, getSplittedDictionaryContent };
43
42
  //# sourceMappingURL=getSplittedContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSplittedContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getSplittedContent.ts"],"mappings":";;;;KAIK,qBAAA,KAA0B,WAAA,IAAe,MAAA,CAAO,eAAA,EAAiB,CAAA;EACpE,MAAA,EAAQ,CAAA;AAAA;AAAA,cAsKG,kBAAA,GACX,OAAA,EAAS,WAAA,KACR,qBAAA;;;;;;;;;;;;;;;;;;AAFH;;;;;;;;;AAoDA;;;;;cAAa,4BAAA,GACX,UAAA,EAAY,UAAA,KACX,qBAAA,CAAsB,UAAA"}
1
+ {"version":3,"file":"getSplittedContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getSplittedContent.ts"],"mappings":";;;KAIK,sBAAsB,IAAI,eAAe,OAAO,iBAAiB;EACpE,QAAQ;;cAsKG,qBAAkB,SACpB,gBACR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkDU,+BAA4B,YAC3B,eACX,sBAAsB"}
@@ -1,6 +1,5 @@
1
1
  import { Dictionary } from "@intlayer/types/dictionary";
2
2
  import { LocalesValues } from "@intlayer/types/module_augmentation";
3
-
4
3
  //#region src/deepTransformPlugins/insertContentInDictionary.d.ts
5
4
  /**
6
5
  * Insert content into a dictionary with deep merge support
@@ -19,7 +18,7 @@ import { LocalesValues } from "@intlayer/types/module_augmentation";
19
18
  * // With locale - insert content for specific locale
20
19
  * insertContentInDictionary(dictionary, { title: 'このページ' }, 'ja')
21
20
  */
22
- declare const insertContentInDictionary: (dictionary: Dictionary, content: Dictionary["content"], locale?: LocalesValues) => Dictionary;
21
+ declare const insertContentInDictionary: (dictionary: Dictionary, content: Dictionary['content'], locale?: LocalesValues) => Dictionary;
23
22
  //#endregion
24
23
  export { insertContentInDictionary };
25
24
  //# sourceMappingURL=insertContentInDictionary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"insertContentInDictionary.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/insertContentInDictionary.ts"],"mappings":";;;;;;AAkQA;;;;;;;;;;;;;;;cAAa,yBAAA,GACX,UAAA,EAAY,UAAA,EACZ,OAAA,EAAS,UAAA,aACT,MAAA,GAAS,aAAA,KACR,UAAA"}
1
+ {"version":3,"file":"insertContentInDictionary.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/insertContentInDictionary.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;cAkQa,4BAAyB,YACxB,YAAU,SACb,uBAAqB,SACrB,kBACR"}
@@ -1,6 +1,5 @@
1
1
  import { ContentNode } from "@intlayer/types/dictionary";
2
2
  import { KeyPath } from "@intlayer/types/keyPath";
3
-
4
3
  //#region src/dictionaryManipulator/editDictionaryByKeyPath.d.ts
5
4
  declare const editDictionaryByKeyPath: (dictionaryContent: ContentNode, keyPath: KeyPath[], newValue: ContentNode) => ContentNode;
6
5
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"editDictionaryByKeyPath.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/editDictionaryByKeyPath.ts"],"mappings":";;;;cAMa,uBAAA,GACX,iBAAA,EAAmB,WAAA,EACnB,OAAA,EAAS,OAAA,IACT,QAAA,EAAU,WAAA,KACT,WAAA"}
1
+ {"version":3,"file":"editDictionaryByKeyPath.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/editDictionaryByKeyPath.ts"],"mappings":";;;cAMa,0BAAuB,mBACf,aAAW,SACrB,WAAS,UACR,gBACT"}
@@ -1,7 +1,6 @@
1
1
  import { ContentNode } from "@intlayer/types/dictionary";
2
2
  import { LocalesValues } from "@intlayer/types/module_augmentation";
3
3
  import { KeyPath } from "@intlayer/types/keyPath";
4
-
5
4
  //#region src/dictionaryManipulator/getContentNodeByKeyPath.d.ts
6
5
  declare const getContentNodeByKeyPath: (dictionaryContent: ContentNode, keyPath: KeyPath[], fallbackLocale?: LocalesValues) => ContentNode;
7
6
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"getContentNodeByKeyPath.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/getContentNodeByKeyPath.ts"],"mappings":";;;;;cAKa,uBAAA,GACX,iBAAA,EAAmB,WAAA,EACnB,OAAA,EAAS,OAAA,IACT,cAAA,GAAiB,aAAA,KAChB,WAAA"}
1
+ {"version":3,"file":"getContentNodeByKeyPath.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/getContentNodeByKeyPath.ts"],"mappings":";;;;cAKa,0BAAuB,mBACf,aAAW,SACrB,WAAS,iBACD,kBAChB"}
@@ -1,7 +1,6 @@
1
1
  import { ContentNode } from "@intlayer/types/dictionary";
2
2
  import { LocalesValues } from "@intlayer/types/module_augmentation";
3
3
  import { NodeType } from "@intlayer/types/nodeType";
4
-
5
4
  //#region src/dictionaryManipulator/getDefaultNode.d.ts
6
5
  declare const getDefaultNode: (nodeType: NodeType, locales: LocalesValues[], content?: ContentNode) => ContentNode;
7
6
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"getDefaultNode.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/getDefaultNode.ts"],"mappings":";;;;;cAMa,cAAA,GACX,QAAA,EAAU,QAAA,EACV,OAAA,EAAS,aAAA,IACT,OAAA,GAAU,WAAA,KACT,WAAA"}
1
+ {"version":3,"file":"getDefaultNode.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/getDefaultNode.ts"],"mappings":";;;;cAMa,iBAAc,UACf,UAAQ,SACT,iBAAe,UACd,gBACT"}
@@ -1,5 +1,4 @@
1
1
  import { ContentNode } from "@intlayer/types/dictionary";
2
-
3
2
  //#region src/dictionaryManipulator/getEmptyNode.d.ts
4
3
  declare const getEmptyNode: (section: ContentNode) => ContentNode;
5
4
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"getEmptyNode.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/getEmptyNode.ts"],"mappings":";;;cAIa,YAAA,GAAgB,OAAA,EAAS,WAAA,KAAc,WAAA"}
1
+ {"version":3,"file":"getEmptyNode.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/getEmptyNode.ts"],"mappings":";;cAIa,eAAY,SAAa,gBAAc"}
@@ -1,5 +1,4 @@
1
1
  import { ContentNode } from "@intlayer/types/dictionary";
2
-
3
2
  //#region src/dictionaryManipulator/getNodeChildren.d.ts
4
3
  declare const getNodeChildren: (section: ContentNode) => ContentNode;
5
4
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"getNodeChildren.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/getNodeChildren.ts"],"mappings":";;;cAIa,eAAA,GAAmB,OAAA,EAAS,WAAA,KAAc,WAAA"}
1
+ {"version":3,"file":"getNodeChildren.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/getNodeChildren.ts"],"mappings":";;cAIa,kBAAe,SAAa,gBAAc"}
@@ -1,6 +1,5 @@
1
1
  import { ContentNode } from "@intlayer/types/dictionary";
2
2
  import { NodeType } from "@intlayer/types/nodeType";
3
-
4
3
  //#region src/dictionaryManipulator/getNodeType.d.ts
5
4
  declare const getNodeType: (content: ContentNode) => NodeType;
6
5
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"getNodeType.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/getNodeType.ts"],"mappings":";;;;cA4Ca,WAAA,GAAe,OAAA,EAAS,WAAA,KAAc,QAAA"}
1
+ {"version":3,"file":"getNodeType.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/getNodeType.ts"],"mappings":";;;cA4Ca,cAAW,SAAa,gBAAc"}
@@ -8,8 +8,8 @@ import { mergeDictionaries } from "./mergeDictionaries.js";
8
8
  import { mergeQualifiedDictionaries } from "./mergeQualifiedDictionaries.js";
9
9
  import { normalizeDictionaries, normalizeDictionary } from "./normalizeDictionary.js";
10
10
  import { orderDictionaries } from "./orderDictionaries.js";
11
- import { COMPOSITE_ID_SEPARATOR, DynamicDictionaryLoader, QUALIFIER_DYNAMIC_TYPES_KEY, QUALIFIER_ORDER, QualifiedDynamicLoaderMap, QualifiedDynamicLoaderTree, getDictionaryCompositeId, getDictionaryQualifierId, getDictionaryQualifierSegments, getDictionaryQualifierTypes, getDictionarySelectorCacheKey, isQualifiedDictionaryGroup, isQualifiedDynamicLoaderMap, parseDictionarySelector, reconstructQualifiedEntry, resolveQualifiedDictionary, resolveQualifiedDynamicContent, resolveQualifiedDynamicContentAsync } from "./qualifiedDictionary.js";
11
+ import { COMPOSITE_ID_SEPARATOR, DynamicDictionaryLoader, QUALIFIER_DYNAMIC_TYPES_KEY, QUALIFIER_ORDER, QualifiedDynamicLoaderMap, QualifiedDynamicLoaderTree, getDictionaryCompositeIds, getDictionaryQualifierIds, getDictionaryQualifierTypes, getDictionarySelectorCacheKey, getVariantIds, isQualifiedDictionaryGroup, isQualifiedDynamicLoaderMap, parseDictionarySelector, reconstructQualifiedEntry, resolveQualifiedDictionary, resolveQualifiedDynamicContent, resolveQualifiedDynamicContentAsync, serializeVariant } from "./qualifiedDictionary.js";
12
12
  import { removeContentNodeByKeyPath } from "./removeContentNodeByKeyPath.js";
13
13
  import { renameContentNodeByKeyPath } from "./renameContentNodeByKeyPath.js";
14
14
  import { updateNodeChildren } from "./updateNodeChildren.js";
15
- export { COMPOSITE_ID_SEPARATOR, DynamicDictionaryLoader, QUALIFIER_DYNAMIC_TYPES_KEY, QUALIFIER_ORDER, QualifiedDynamicLoaderMap, QualifiedDynamicLoaderTree, editDictionaryByKeyPath, getContentNodeByKeyPath, getDefaultNode, getDictionaryCompositeId, getDictionaryQualifierId, getDictionaryQualifierSegments, getDictionaryQualifierTypes, getDictionarySelectorCacheKey, getEmptyNode, getNodeChildren, getNodeType, isQualifiedDictionaryGroup, isQualifiedDynamicLoaderMap, mergeDictionaries, mergeQualifiedDictionaries, normalizeDictionaries, normalizeDictionary, orderDictionaries, parseDictionarySelector, reconstructQualifiedEntry, removeContentNodeByKeyPath, renameContentNodeByKeyPath, resolveQualifiedDictionary, resolveQualifiedDynamicContent, resolveQualifiedDynamicContentAsync, updateNodeChildren };
15
+ export { COMPOSITE_ID_SEPARATOR, DynamicDictionaryLoader, QUALIFIER_DYNAMIC_TYPES_KEY, QUALIFIER_ORDER, QualifiedDynamicLoaderMap, QualifiedDynamicLoaderTree, editDictionaryByKeyPath, getContentNodeByKeyPath, getDefaultNode, getDictionaryCompositeIds, getDictionaryQualifierIds, getDictionaryQualifierTypes, getDictionarySelectorCacheKey, getEmptyNode, getNodeChildren, getNodeType, getVariantIds, isQualifiedDictionaryGroup, isQualifiedDynamicLoaderMap, mergeDictionaries, mergeQualifiedDictionaries, normalizeDictionaries, normalizeDictionary, orderDictionaries, parseDictionarySelector, reconstructQualifiedEntry, removeContentNodeByKeyPath, renameContentNodeByKeyPath, resolveQualifiedDictionary, resolveQualifiedDynamicContent, resolveQualifiedDynamicContentAsync, serializeVariant, updateNodeChildren };
@@ -1,5 +1,4 @@
1
1
  import { Dictionary } from "@intlayer/types/dictionary";
2
-
3
2
  //#region src/dictionaryManipulator/mergeDictionaries.d.ts
4
3
  declare const mergeDictionaries: (dictionaries: Dictionary[]) => Dictionary;
5
4
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"mergeDictionaries.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/mergeDictionaries.ts"],"mappings":";;;cAqKa,iBAAA,GAAqB,YAAA,EAAc,UAAA,OAAe,UAAA"}
1
+ {"version":3,"file":"mergeDictionaries.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/mergeDictionaries.ts"],"mappings":";;cAqKa,oBAAiB,cAAkB,iBAAe"}
@@ -1,5 +1,4 @@
1
1
  import { Dictionary, QualifiedDictionaryGroup } from "@intlayer/types/dictionary";
2
-
3
2
  //#region src/dictionaryManipulator/mergeQualifiedDictionaries.d.ts
4
3
  /**
5
4
  * Merges sibling dictionaries sharing the same key, honouring qualifiers.
@@ -8,7 +7,7 @@ import { Dictionary, QualifiedDictionaryGroup } from "@intlayer/types/dictionary
8
7
  * `mergeDictionaries` (single merged dictionary).
9
8
  * - At least one dictionary declares a qualifier → the group's dimension set is
10
9
  * the union of every declared dimension (in canonical order
11
- * `variant → meta → item`). Dictionaries are grouped by their composite id
10
+ * `variant → item`). Dictionaries are grouped by their composite id
12
11
  * (one segment per dimension), merged within each group (locale completion /
13
12
  * priority overrides preserved), and a `QualifiedDictionaryGroup` is returned.
14
13
  * Unqualified siblings act as shared base content merged into every entry.
@@ -1 +1 @@
1
- {"version":3,"file":"mergeQualifiedDictionaries.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/mergeQualifiedDictionaries.ts"],"mappings":";;;;;AA8BA;;;;;;;;;;;;;cAAa,0BAAA,GACX,YAAA,EAAc,UAAA,OACb,UAAA,GAAa,wBAAA"}
1
+ {"version":3,"file":"mergeQualifiedDictionaries.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/mergeQualifiedDictionaries.ts"],"mappings":";;;;;;;;;;;;;;;;;cA6Ba,6BAA0B,cACvB,iBACb,aAAa"}
@@ -1,6 +1,5 @@
1
1
  import { Dictionary } from "@intlayer/types/dictionary";
2
2
  import { IntlayerConfig } from "@intlayer/types/config";
3
-
4
3
  //#region src/dictionaryManipulator/normalizeDictionary.d.ts
5
4
  declare const normalizeDictionary: (dictionary: Dictionary, configuration: IntlayerConfig) => Dictionary;
6
5
  declare const normalizeDictionaries: (dictionaries: Dictionary[], configuration: IntlayerConfig) => Dictionary[];
@@ -1 +1 @@
1
- {"version":3,"file":"normalizeDictionary.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/normalizeDictionary.ts"],"mappings":";;;;cAOa,mBAAA,GACX,UAAA,EAAY,UAAA,EACZ,aAAA,EAAe,cAAA,KACd,UAAA;AAAA,cAmCU,qBAAA,GACX,YAAA,EAAc,UAAA,IACd,aAAA,EAAe,cAAA,KACd,UAAA"}
1
+ {"version":3,"file":"normalizeDictionary.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/normalizeDictionary.ts"],"mappings":";;;cAOa,sBAAmB,YAClB,YAAU,eACP,mBACd;cAmCU,wBAAqB,cAClB,cAAY,eACX,mBACd"}
@@ -1,5 +1,4 @@
1
1
  import { Dictionary } from "@intlayer/types/dictionary";
2
-
3
2
  //#region src/dictionaryManipulator/orderDictionaries.d.ts
4
3
  /**
5
4
  * Orders dictionaries based on the dictionary priority strategy.
@@ -10,7 +9,7 @@ import { Dictionary } from "@intlayer/types/dictionary";
10
9
  */
11
10
  declare const orderDictionaries: (dictionaries: Dictionary[], config?: {
12
11
  editor: {
13
- dictionaryPriorityStrategy: "local_first" | "distant_first";
12
+ dictionaryPriorityStrategy: 'local_first' | 'distant_first';
14
13
  };
15
14
  }) => Dictionary[];
16
15
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"orderDictionaries.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/orderDictionaries.ts"],"mappings":";;;;;AAUA;;;;;cAAa,iBAAA,GACX,YAAA,EAAc,UAAA,IACd,MAAA;EACE,MAAA;IACE,0BAAA;EAAA;AAAA,MAGH,UAAA"}
1
+ {"version":3,"file":"orderDictionaries.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/orderDictionaries.ts"],"mappings":";;;;;;;;;cAUa,oBAAiB,cACd,cAAY;EAExB;IACE;;MAGH"}
@@ -1,44 +1,66 @@
1
- import { Dictionary, DictionaryQualifierType, DictionarySelector, QualifiedDictionaryGroup } from "@intlayer/types/dictionary";
1
+ import { Dictionary, DictionaryQualifierType, DictionarySelector, DictionaryVariantValue, QualifiedDictionaryGroup } from "@intlayer/types/dictionary";
2
2
  import { LocalesValues } from "@intlayer/types/module_augmentation";
3
-
4
3
  //#region src/dictionaryManipulator/qualifiedDictionary.d.ts
5
4
  /**
6
- * Canonical order of qualifier dimensions. A key that declares several
7
- * dimensions always nests them in this order, with `item` innermost so it can
8
- * act as the collection (array) axis.
5
+ * Canonical order of qualifier dimensions. A key that declares both dimensions
6
+ * always nests them in this order, with `item` innermost so it can act as the
7
+ * collection (array) axis.
9
8
  */
10
- declare const QUALIFIER_ORDER: readonly ["variant", "meta", "item"];
9
+ declare const QUALIFIER_ORDER: readonly ["variant", "item"];
11
10
  /**
12
11
  * Separator joining per-dimension ids into a composite entry id. Also used as
13
12
  * the chunk path separator in dynamic mode.
14
13
  */
15
14
  declare const COMPOSITE_ID_SEPARATOR = "/";
15
+ /**
16
+ * Canonical serialization of a single variant value into its identity string —
17
+ * the variant segment of a composite id, the chunk directory name in dynamic
18
+ * mode, and the runtime matching key.
19
+ *
20
+ * - `undefined` → `'default'` (the implicit fallback variant)
21
+ * - a string → the string itself (a named variant)
22
+ * - an object → its sorted `key=value` pairs joined by `&`
23
+ * (e.g. `{ userId: '123', id: 'abc' }` → `'id=abc&userId=123'`)
24
+ *
25
+ * Characters that are unsafe in file paths or generated code are
26
+ * percent-encoded (fixed-width `%XXXX` runs, injective). Common names —
27
+ * letters, digits, `-` `_` `.` — are left untouched. Both the declaration and
28
+ * the selector go through this function, so encoding never affects matching.
29
+ *
30
+ * Two variants resolve to the same entry iff their serializations are equal, so
31
+ * an object variant in a selector must equal the one declared on the dictionary.
32
+ */
33
+ declare const serializeVariant: (variant: DictionaryVariantValue | undefined) => string;
34
+ /**
35
+ * Normalizes the `variant` field of a dictionary into the list of variant ids
36
+ * the declaration registers under. A single value yields one id; an **array**
37
+ * fans out into one id per element (duplicates collapsed). Returns `undefined`
38
+ * when the dictionary does not declare the variant dimension (no `variant`
39
+ * field, or an empty array).
40
+ */
41
+ declare const getVariantIds: (variant: Dictionary['variant']) => string[] | undefined;
16
42
  /**
17
43
  * Returns the qualifier dimensions declared on a dictionary, in canonical
18
- * order (`variant → meta → item`). Empty when the dictionary is unqualified
44
+ * order (`variant → item`). Empty when the dictionary is unqualified
19
45
  * (plain dictionary or shared base content of a qualified group).
20
46
  */
21
47
  declare const getDictionaryQualifierTypes: (dictionary: Dictionary) => DictionaryQualifierType[];
22
48
  /**
23
- * Returns the qualifier identifier of a dictionary for the given qualifier
24
- * dimension — one segment of the composite entry id.
49
+ * Returns the qualifier identifiers of a dictionary for the given qualifier
50
+ * dimension — the candidate segments of the composite entry ids.
25
51
  *
26
- * - 'variant' → the variant name
27
- * - 'meta' → the `meta.id` discriminator
28
- * - 'item' → the item index as string
29
- */
30
- declare const getDictionaryQualifierId: (dictionary: Dictionary, qualifierType: DictionaryQualifierType) => string | undefined;
31
- /**
32
- * Returns the per-dimension id segments of a dictionary for the given ordered
33
- * dimension set, or `undefined` when the dictionary does not declare every
34
- * dimension of the set.
52
+ * - 'variant' → the serialized variant id(s); an array variant yields one id
53
+ * per element (declaration-side fan-out)
54
+ * - 'item' → the item index as a single-element list
35
55
  */
36
- declare const getDictionaryQualifierSegments: (dictionary: Dictionary, qualifierTypes: DictionaryQualifierType[]) => string[] | undefined;
56
+ declare const getDictionaryQualifierIds: (dictionary: Dictionary, qualifierType: DictionaryQualifierType) => string[] | undefined;
37
57
  /**
38
- * Builds the composite entry id of a dictionary — its per-dimension id segments
39
- * joined in canonical order. `undefined` when a dimension is missing.
58
+ * Builds every composite entry id of a dictionary — the cartesian product of
59
+ * its per-dimension id lists, joined in canonical order. A dictionary with a
60
+ * plain (non-array) variant yields exactly one id; an array variant fans out
61
+ * into one id per element. `undefined` when a dimension of the set is missing.
40
62
  */
41
- declare const getDictionaryCompositeId: (dictionary: Dictionary, qualifierTypes: DictionaryQualifierType[]) => string | undefined;
63
+ declare const getDictionaryCompositeIds: (dictionary: Dictionary, qualifierTypes: DictionaryQualifierType[]) => string[] | undefined;
42
64
  /**
43
65
  * Type guard discriminating a `QualifiedDictionaryGroup` (merge output of a
44
66
  * qualified key) from a plain `Dictionary`. Both carry a `content` field; only
@@ -48,12 +70,13 @@ declare const isQualifiedDictionaryGroup: (value: unknown) => value is Qualified
48
70
  /**
49
71
  * Reconstructs a resolvable {@link Dictionary} from a single entry of a
50
72
  * qualified group: the content node stored under its composite id, plus the
51
- * qualifier coordinates decoded from that id (`variant`, `item`) and the
52
- * preserved `meta` object for the meta dimension.
73
+ * qualifier coordinates decoded from that id (`variant`, `item`).
53
74
  *
54
- * This keeps the resolver's matching/transform code unchanged: it still sees a
55
- * `{ key, content, variant?, item?, meta? }` shape, even though the stored
56
- * format no longer duplicates those fields per entry.
75
+ * This keeps the resolver's transform code unchanged: it still sees a
76
+ * `{ key, content, variant?, item? }` shape, even though the stored format no
77
+ * longer duplicates those fields per entry. The `variant` coordinate stays in
78
+ * its serialized (encoded) form, e.g. `'id=abc&userId=123'` — matching happens
79
+ * on the composite id segments, never on this reconstructed field.
57
80
  */
58
81
  declare const reconstructQualifiedEntry: (group: QualifiedDictionaryGroup, compositeId: string) => Dictionary;
59
82
  /**
@@ -63,8 +86,8 @@ declare const reconstructQualifiedEntry: (group: QualifiedDictionaryGroup, compo
63
86
  * - Plain dictionary → returned as-is (selector ignored)
64
87
  * - `item` declared but not selected → every matching entry ordered by index
65
88
  * - `item` selected → the matching entry or null
66
- * - `variant` defaults to the `default` entry when not selected
67
- * - `meta` requires `{ id }` and every declared meta field to match
89
+ * - `variant` defaults to the `default` entry when not selected; an object
90
+ * variant resolves only when the selector provides an equal object
68
91
  *
69
92
  * Dimensions compose: e.g. a variant × item key with `{ variant: 'promo' }`
70
93
  * returns every promo item as an array; adding `{ item: 2 }` narrows to one.
@@ -119,7 +142,7 @@ type QualifiedDynamicLoaderMap = {
119
142
  };
120
143
  /**
121
144
  * Type guard discriminating a qualified dynamic loader map (collections /
122
- * variants / meta records, possibly combined) from a plain dynamic loader map.
145
+ * variants, possibly combined) from a plain dynamic loader map.
123
146
  */
124
147
  declare const isQualifiedDynamicLoaderMap: (value: unknown) => value is QualifiedDynamicLoaderMap;
125
148
  /**
@@ -127,11 +150,11 @@ declare const isQualifiedDynamicLoaderMap: (value: unknown) => value is Qualifie
127
150
  * loading only the chunk(s) the selector actually targets.
128
151
  *
129
152
  * Walks the nested loader tree one dimension at a time (canonical order
130
- * `variant → meta → item`): `variant` defaults to `default`, `meta` descends by
131
- * `id`, and `item` either narrows to the selected index or — when no item is
132
- * given — expands into every sibling chunk (the collection axis). Meta-equality
133
- * is verified on the loaded chunk. Semantics mirror
134
- * {@link resolveQualifiedDictionary} so dynamic and static modes behave alike.
153
+ * `variant → item`): `variant` defaults to `default` (or descends by the
154
+ * serialized object identity), and `item` either narrows to the selected index
155
+ * or — when no item is given — expands into every sibling chunk (the collection
156
+ * axis). Semantics mirror {@link resolveQualifiedDictionary} so dynamic and
157
+ * static modes behave alike.
135
158
  *
136
159
  * The Suspense mechanism is injected through `loadChunk` so the same logic
137
160
  * serves both the client (suspender cache) and the server (`react.use`). Every
@@ -172,5 +195,5 @@ declare const resolveQualifiedDynamicContentAsync: <Content>(params: {
172
195
  transform: (dictionary: Dictionary) => Content;
173
196
  }) => Promise<Content | Content[] | null>;
174
197
  //#endregion
175
- export { COMPOSITE_ID_SEPARATOR, DynamicDictionaryLoader, QUALIFIER_DYNAMIC_TYPES_KEY, QUALIFIER_ORDER, QualifiedDynamicLoaderMap, QualifiedDynamicLoaderTree, getDictionaryCompositeId, getDictionaryQualifierId, getDictionaryQualifierSegments, getDictionaryQualifierTypes, getDictionarySelectorCacheKey, isQualifiedDictionaryGroup, isQualifiedDynamicLoaderMap, parseDictionarySelector, reconstructQualifiedEntry, resolveQualifiedDictionary, resolveQualifiedDynamicContent, resolveQualifiedDynamicContentAsync };
198
+ export { COMPOSITE_ID_SEPARATOR, DynamicDictionaryLoader, QUALIFIER_DYNAMIC_TYPES_KEY, QUALIFIER_ORDER, QualifiedDynamicLoaderMap, QualifiedDynamicLoaderTree, getDictionaryCompositeIds, getDictionaryQualifierIds, getDictionaryQualifierTypes, getDictionarySelectorCacheKey, getVariantIds, isQualifiedDictionaryGroup, isQualifiedDynamicLoaderMap, parseDictionarySelector, reconstructQualifiedEntry, resolveQualifiedDictionary, resolveQualifiedDynamicContent, resolveQualifiedDynamicContentAsync, serializeVariant };
176
199
  //# sourceMappingURL=qualifiedDictionary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"qualifiedDictionary.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/qualifiedDictionary.ts"],"mappings":";;;;;;AAmBA;;;cAAa,eAAA;;AAUb;;;cAAa,sBAAA;;AAOb;;;;cAAa,2BAAA,GACX,UAAA,EAAY,UAAA,KACX,uBAAA;;;;;AAmBH;;;;cAAa,wBAAA,GACX,UAAA,EAAY,UAAA,EACZ,aAAA,EAAe,uBAAA;;;;;;cAeJ,8BAAA,GACX,UAAA,EAAY,UAAA,EACZ,cAAA,EAAgB,uBAAA;;;;;cAiBL,wBAAA,GACX,UAAA,EAAY,UAAA,EACZ,cAAA,EAAgB,uBAAA;;;;;AAFlB;cAgEa,0BAAA,GACX,KAAA,cACC,KAAA,IAAS,wBAAA;;;;;;;;;AAFZ;;cAmBa,yBAAA,GACX,KAAA,EAAO,wBAAA,EACP,WAAA,aACC,UAAA;;;;;;;AAHH;;;;;;;cAwCa,0BAAA,GACX,iBAAA,EAAmB,UAAA,GAAa,wBAAA,EAChC,QAAA,GAAW,kBAAA,KACV,UAAA,GAAa,UAAA;;;AAHhB;;cAqCa,uBAAA,aAAqC,aAAA,EAChD,gBAAA,GAAmB,CAAA,GAAI,kBAAA;EACpB,MAAA,GAAS,CAAA;EAAG,QAAA,GAAW,kBAAA;AAAA;;;;;cAef,6BAAA,GACX,QAAA,GAAW,kBAAA;;;;;;;cAiBA,2BAAA;;AAnCb;;KAwCY,uBAAA,SAAgC,OAAA,CAAQ,UAAA;;;;;KAMxC,0BAAA;EAAA,CACT,OAAA,WAAkB,0BAAA,GAA6B,uBAAA;AAAA;;;;;;;;;;;;AA9BlD;KA6CY,yBAAA;EAAA,CACT,2BAAA,GAA8B,uBAAA;EAAA,CAC9B,MAAA,WAAiB,0BAAA,GAA6B,uBAAA;AAAA;AA7BjD;;;;AAAA,cAoCa,2BAAA,GACX,KAAA,cACC,KAAA,IAAS,yBAAA;AAjCZ;;;;;AAMA;;;;;;;;;AAgBA;;;;;;;;;AAtBA,cAuLa,8BAAA,YAA2C,MAAA;EACtD,SAAA,EAAW,yBAAA;EACX,GAAA;EACA,MAAA;EACA,QAAA,EAAU,kBAAA;EACV,SAAA,GAAY,QAAA,UAAkB,OAAA,EAAS,OAAA,CAAQ,UAAA,MAAgB,UAAA;EAC/D,SAAA,GAAY,UAAA,EAAY,UAAA,KAAe,OAAA;AAAA,MACrC,OAAA,GAAU,OAAA;;;;;;;;;AAPd;;;cAyCa,mCAAA,YAAsD,MAAA;EACjE,SAAA,EAAW,yBAAA;EACX,GAAA;EACA,MAAA;EACA,QAAA,EAAU,kBAAA;EACV,SAAA,GAAY,UAAA,EAAY,UAAA,KAAe,OAAA;AAAA,MACrC,OAAA,CAAQ,OAAA,GAAU,OAAA"}
1
+ {"version":3,"file":"qualifiedDictionary.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/qualifiedDictionary.ts"],"mappings":";;;;;;;;cAca;;;;;cASA;;;;;;;;;;;;;;;;;;;cAqDA,mBAAgB,SAClB;;;;;;;;cAuBE,gBAAa,SACf;;;;;;cAeE,8BAA2B,YAC1B,eACX;;;;;;;;;cAmBU,4BAAyB,YACxB,YAAU,eACP;;;;;;;cAcJ,4BAAyB,YACxB,YAAU,gBACN;;;;;;cAiDL,6BAA0B,mBAEpC,SAAS;;;;;;;;;;;;cAkBC,4BAAyB,OAC7B,0BAAwB,wBAE9B;;;;;;;;;;;;;;cAgCU,6BAA0B,mBAClB,aAAa,0BAAwB,WAC7C,uBACV,aAAa;;;;;cA+BH,0BAA2B,UAAU,eAAa,mBAC1C,IAAI;EACpB,SAAS;EAAG,WAAW;;;;;;cAef,gCAA6B,WAC7B;;;;;;;cAwBA;;;;KAKD,gCAAgC,QAAQ;;;;;KAMxC;GACT,kBAAkB,6BAA6B;;;;;;;;;;;;;;KAetC;GACT,8BAA8B;GAC9B,iBAAiB,6BAA6B;;;;;;cAOpC,8BAA2B,mBAErC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;cA6GC,iCAAkC,SAAO;EACpD,WAAW;EACX;EACA;EACA,UAAU;EACV,YAAY,kBAAkB,SAAS,QAAQ,gBAAgB;EAC/D,YAAY,YAAY,eAAe;MACrC,UAAU;;;;;;;;;;;;cAkCD,sCAA6C,SAAO;EAC/D,WAAW;EACX;EACA;EACA,UAAU;EACV,YAAY,YAAY,eAAe;MACrC,QAAQ,UAAU"}
@@ -1,6 +1,5 @@
1
1
  import { ContentNode } from "@intlayer/types/dictionary";
2
2
  import { KeyPath } from "@intlayer/types/keyPath";
3
-
4
3
  //#region src/dictionaryManipulator/removeContentNodeByKeyPath.d.ts
5
4
  declare const removeContentNodeByKeyPath: (dictionaryContent: ContentNode, keyPath: KeyPath[]) => ContentNode;
6
5
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"removeContentNodeByKeyPath.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/removeContentNodeByKeyPath.ts"],"mappings":";;;;cAKa,0BAAA,GACX,iBAAA,EAAmB,WAAA,EACnB,OAAA,EAAS,OAAA,OACR,WAAA"}
1
+ {"version":3,"file":"removeContentNodeByKeyPath.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/removeContentNodeByKeyPath.ts"],"mappings":";;;cAKa,6BAA0B,mBAClB,aAAW,SACrB,cACR"}
@@ -1,8 +1,7 @@
1
1
  import { ContentNode } from "@intlayer/types/dictionary";
2
2
  import { KeyPath } from "@intlayer/types/keyPath";
3
-
4
3
  //#region src/dictionaryManipulator/renameContentNodeByKeyPath.d.ts
5
- declare const renameContentNodeByKeyPath: (dictionaryContent: ContentNode, newKey: KeyPath["key"], keyPath: KeyPath[]) => ContentNode;
4
+ declare const renameContentNodeByKeyPath: (dictionaryContent: ContentNode, newKey: KeyPath['key'], keyPath: KeyPath[]) => ContentNode;
6
5
  //#endregion
7
6
  export { renameContentNodeByKeyPath };
8
7
  //# sourceMappingURL=renameContentNodeByKeyPath.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"renameContentNodeByKeyPath.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/renameContentNodeByKeyPath.ts"],"mappings":";;;;cAKa,0BAAA,GACX,iBAAA,EAAmB,WAAA,EACnB,MAAA,EAAQ,OAAA,SACR,OAAA,EAAS,OAAA,OACR,WAAA"}
1
+ {"version":3,"file":"renameContentNodeByKeyPath.d.ts","names":[],"sources":["../../../src/dictionaryManipulator/renameContentNodeByKeyPath.ts"],"mappings":";;;cAKa,6BAA0B,mBAClB,aAAW,QACtB,gBAAc,SACb,cACR"}