@intlayer/core 8.4.0-canary.0 → 8.4.1

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 (533) hide show
  1. package/dist/cjs/{_virtual/_rolldown/runtime.cjs → chunk-Bmb41Sf3.cjs} +1 -1
  2. package/dist/cjs/deepTransformPlugins/getFilterMissingTranslationsContent.cjs +1 -1
  3. package/dist/cjs/deepTransformPlugins/getFilterMissingTranslationsContent.cjs.map +1 -1
  4. package/dist/cjs/deepTransformPlugins/getFilterTranslationsOnlyContent.cjs +1 -1
  5. package/dist/cjs/deepTransformPlugins/getFilterTranslationsOnlyContent.cjs.map +1 -1
  6. package/dist/cjs/deepTransformPlugins/getFilteredLocalesContent.cjs +1 -1
  7. package/dist/cjs/deepTransformPlugins/getFilteredLocalesContent.cjs.map +1 -1
  8. package/dist/cjs/deepTransformPlugins/getLocalizedContent.cjs +1 -1
  9. package/dist/cjs/deepTransformPlugins/getLocalizedContent.cjs.map +1 -1
  10. package/dist/cjs/deepTransformPlugins/getMissingLocalesContent.cjs +1 -1
  11. package/dist/cjs/deepTransformPlugins/getMissingLocalesContent.cjs.map +1 -1
  12. package/dist/cjs/deepTransformPlugins/getSplittedContent.cjs +1 -1
  13. package/dist/cjs/deepTransformPlugins/getSplittedContent.cjs.map +1 -1
  14. package/dist/cjs/deepTransformPlugins/insertContentInDictionary.cjs +1 -1
  15. package/dist/cjs/deepTransformPlugins/insertContentInDictionary.cjs.map +1 -1
  16. package/dist/cjs/dictionaryManipulator/editDictionaryByKeyPath.cjs +1 -1
  17. package/dist/cjs/dictionaryManipulator/editDictionaryByKeyPath.cjs.map +1 -1
  18. package/dist/cjs/dictionaryManipulator/getContentNodeByKeyPath.cjs +1 -1
  19. package/dist/cjs/dictionaryManipulator/getContentNodeByKeyPath.cjs.map +1 -1
  20. package/dist/cjs/dictionaryManipulator/getDefaultNode.cjs +1 -1
  21. package/dist/cjs/dictionaryManipulator/getDefaultNode.cjs.map +1 -1
  22. package/dist/cjs/dictionaryManipulator/getEmptyNode.cjs +1 -1
  23. package/dist/cjs/dictionaryManipulator/getEmptyNode.cjs.map +1 -1
  24. package/dist/cjs/dictionaryManipulator/getNodeChildren.cjs +1 -1
  25. package/dist/cjs/dictionaryManipulator/getNodeChildren.cjs.map +1 -1
  26. package/dist/cjs/dictionaryManipulator/getNodeType.cjs +1 -1
  27. package/dist/cjs/dictionaryManipulator/getNodeType.cjs.map +1 -1
  28. package/dist/cjs/dictionaryManipulator/mergeDictionaries.cjs +1 -1
  29. package/dist/cjs/dictionaryManipulator/mergeDictionaries.cjs.map +1 -1
  30. package/dist/cjs/dictionaryManipulator/orderDictionaries.cjs +1 -1
  31. package/dist/cjs/dictionaryManipulator/orderDictionaries.cjs.map +1 -1
  32. package/dist/cjs/dictionaryManipulator/removeContentNodeByKeyPath.cjs +1 -1
  33. package/dist/cjs/dictionaryManipulator/removeContentNodeByKeyPath.cjs.map +1 -1
  34. package/dist/cjs/dictionaryManipulator/renameContentNodeByKeyPath.cjs +1 -1
  35. package/dist/cjs/dictionaryManipulator/renameContentNodeByKeyPath.cjs.map +1 -1
  36. package/dist/cjs/dictionaryManipulator/updateNodeChildren.cjs +1 -1
  37. package/dist/cjs/dictionaryManipulator/updateNodeChildren.cjs.map +1 -1
  38. package/dist/cjs/formatters/compact.cjs +1 -1
  39. package/dist/cjs/formatters/compact.cjs.map +1 -1
  40. package/dist/cjs/formatters/currency.cjs +1 -1
  41. package/dist/cjs/formatters/currency.cjs.map +1 -1
  42. package/dist/cjs/formatters/date.cjs +1 -1
  43. package/dist/cjs/formatters/date.cjs.map +1 -1
  44. package/dist/cjs/formatters/list.cjs +1 -1
  45. package/dist/cjs/formatters/list.cjs.map +1 -1
  46. package/dist/cjs/formatters/number.cjs +1 -1
  47. package/dist/cjs/formatters/number.cjs.map +1 -1
  48. package/dist/cjs/formatters/percentage.cjs +1 -1
  49. package/dist/cjs/formatters/percentage.cjs.map +1 -1
  50. package/dist/cjs/formatters/relativeTime.cjs +1 -1
  51. package/dist/cjs/formatters/relativeTime.cjs.map +1 -1
  52. package/dist/cjs/formatters/units.cjs +1 -1
  53. package/dist/cjs/formatters/units.cjs.map +1 -1
  54. package/dist/cjs/getContent-DrqM8pqO.cjs +2 -0
  55. package/dist/cjs/getContent-DrqM8pqO.cjs.map +1 -0
  56. package/dist/cjs/getStorageAttributes.cjs +1 -1
  57. package/dist/cjs/getStorageAttributes.cjs.map +1 -1
  58. package/dist/cjs/html-CZ1N-VL0.cjs +2 -0
  59. package/dist/cjs/html-CZ1N-VL0.cjs.map +1 -0
  60. package/dist/cjs/index.cjs +1 -1
  61. package/dist/cjs/interpreter/getContent/deepTransform.cjs +1 -1
  62. package/dist/cjs/interpreter/getContent/deepTransform.cjs.map +1 -1
  63. package/dist/cjs/interpreter/getContent/getContent.cjs +1 -2
  64. package/dist/cjs/interpreter/getContent/index.cjs +1 -1
  65. package/dist/cjs/interpreter/getContent/plugins.cjs +1 -2
  66. package/dist/cjs/interpreter/getDictionary.cjs +1 -2
  67. package/dist/cjs/interpreter/getIntlayer.cjs +1 -2
  68. package/dist/cjs/interpreter/getNesting.cjs +1 -2
  69. package/dist/cjs/interpreter/index.cjs +1 -1
  70. package/dist/cjs/localization/getBrowserLocale.cjs +1 -1
  71. package/dist/cjs/localization/getBrowserLocale.cjs.map +1 -1
  72. package/dist/cjs/localization/getHTMLTextDir.cjs +1 -1
  73. package/dist/cjs/localization/getHTMLTextDir.cjs.map +1 -1
  74. package/dist/cjs/localization/getLocale.cjs +1 -1
  75. package/dist/cjs/localization/getLocale.cjs.map +1 -1
  76. package/dist/cjs/localization/getLocaleFromPath.cjs +1 -1
  77. package/dist/cjs/localization/getLocaleFromPath.cjs.map +1 -1
  78. package/dist/cjs/localization/getLocalizedUrl.cjs +1 -1
  79. package/dist/cjs/localization/getLocalizedUrl.cjs.map +1 -1
  80. package/dist/cjs/localization/getMultilingualUrls.cjs +1 -1
  81. package/dist/cjs/localization/getMultilingualUrls.cjs.map +1 -1
  82. package/dist/cjs/localization/getPathWithoutLocale.cjs +1 -1
  83. package/dist/cjs/localization/getPathWithoutLocale.cjs.map +1 -1
  84. package/dist/cjs/localization/getPrefix.cjs +1 -1
  85. package/dist/cjs/localization/getPrefix.cjs.map +1 -1
  86. package/dist/cjs/localization/localeMapper.cjs +1 -1
  87. package/dist/cjs/localization/localeMapper.cjs.map +1 -1
  88. package/dist/cjs/localization/localeResolver.cjs +1 -1
  89. package/dist/cjs/localization/localeResolver.cjs.map +1 -1
  90. package/dist/cjs/localization/validatePrefix.cjs +1 -1
  91. package/dist/cjs/localization/validatePrefix.cjs.map +1 -1
  92. package/dist/cjs/messageFormat/ICU.cjs +1 -1
  93. package/dist/cjs/messageFormat/ICU.cjs.map +1 -1
  94. package/dist/cjs/messageFormat/i18next.cjs +1 -1
  95. package/dist/cjs/messageFormat/i18next.cjs.map +1 -1
  96. package/dist/cjs/messageFormat/vue-i18n.cjs +1 -1
  97. package/dist/cjs/messageFormat/vue-i18n.cjs.map +1 -1
  98. package/dist/cjs/transpiler/condition/condition.cjs +1 -1
  99. package/dist/cjs/transpiler/condition/condition.cjs.map +1 -1
  100. package/dist/cjs/transpiler/enumeration/enumeration.cjs +1 -1
  101. package/dist/cjs/transpiler/enumeration/enumeration.cjs.map +1 -1
  102. package/dist/cjs/transpiler/file/file.cjs +1 -1
  103. package/dist/cjs/transpiler/file/file.cjs.map +1 -1
  104. package/dist/cjs/transpiler/gender/gender.cjs +1 -1
  105. package/dist/cjs/transpiler/gender/gender.cjs.map +1 -1
  106. package/dist/cjs/transpiler/html/getHTMLCustomComponents.cjs +1 -2
  107. package/dist/cjs/transpiler/html/html.cjs +1 -2
  108. package/dist/cjs/transpiler/html/index.cjs +1 -1
  109. package/dist/cjs/transpiler/index.cjs +1 -1
  110. package/dist/cjs/transpiler/insertion/insertion.cjs +1 -1
  111. package/dist/cjs/transpiler/insertion/insertion.cjs.map +1 -1
  112. package/dist/cjs/transpiler/markdown/markdown.cjs +1 -1
  113. package/dist/cjs/transpiler/markdown/markdown.cjs.map +1 -1
  114. package/dist/cjs/transpiler/nesting/nesting.cjs +1 -1
  115. package/dist/cjs/transpiler/nesting/nesting.cjs.map +1 -1
  116. package/dist/cjs/transpiler/translation/translation.cjs +1 -1
  117. package/dist/cjs/transpiler/translation/translation.cjs.map +1 -1
  118. package/dist/cjs/utils/intl.cjs +1 -1
  119. package/dist/cjs/utils/intl.cjs.map +1 -1
  120. package/dist/cjs/utils/localeStorage.cjs +1 -1
  121. package/dist/cjs/utils/localeStorage.cjs.map +1 -1
  122. package/dist/esm/deepTransformPlugins/getLocalizedContent.mjs +1 -1
  123. package/dist/esm/deepTransformPlugins/getLocalizedContent.mjs.map +1 -1
  124. package/dist/esm/formatters/list.mjs.map +1 -1
  125. package/dist/esm/getContent-DKqtIZGL.mjs +2 -0
  126. package/dist/esm/getContent-DKqtIZGL.mjs.map +1 -0
  127. package/dist/esm/html-3bo80xzx.mjs +2 -0
  128. package/dist/esm/html-3bo80xzx.mjs.map +1 -0
  129. package/dist/esm/index.mjs +1 -1
  130. package/dist/esm/interpreter/getContent/getContent.mjs +1 -2
  131. package/dist/esm/interpreter/getContent/index.mjs +1 -1
  132. package/dist/esm/interpreter/getContent/plugins.mjs +1 -2
  133. package/dist/esm/interpreter/getDictionary.mjs +1 -2
  134. package/dist/esm/interpreter/getIntlayer.mjs +1 -2
  135. package/dist/esm/interpreter/getNesting.mjs +1 -2
  136. package/dist/esm/interpreter/index.mjs +1 -1
  137. package/dist/esm/localization/getBrowserLocale.mjs +1 -1
  138. package/dist/esm/localization/getBrowserLocale.mjs.map +1 -1
  139. package/dist/esm/localization/getHTMLTextDir.mjs +1 -1
  140. package/dist/esm/localization/getHTMLTextDir.mjs.map +1 -1
  141. package/dist/esm/localization/localeMapper.mjs.map +1 -1
  142. package/dist/esm/messageFormat/ICU.mjs +1 -1
  143. package/dist/esm/messageFormat/ICU.mjs.map +1 -1
  144. package/dist/esm/messageFormat/i18next.mjs +1 -1
  145. package/dist/esm/messageFormat/i18next.mjs.map +1 -1
  146. package/dist/esm/transpiler/html/getHTMLCustomComponents.mjs +1 -2
  147. package/dist/esm/transpiler/html/html.mjs +1 -2
  148. package/dist/esm/transpiler/html/index.mjs +1 -1
  149. package/dist/esm/transpiler/index.mjs +1 -1
  150. package/dist/esm/transpiler/markdown/markdown.mjs +1 -1
  151. package/dist/esm/transpiler/markdown/markdown.mjs.map +1 -1
  152. package/dist/esm/utils/intl.mjs +1 -1
  153. package/dist/esm/utils/intl.mjs.map +1 -1
  154. package/dist/types/ICU-tA3ZHN5U.d.ts +11 -0
  155. package/dist/types/ICU-tA3ZHN5U.d.ts.map +1 -0
  156. package/dist/types/checkIsURLAbsolute-CTf3JFU6.d.ts +5 -0
  157. package/dist/types/checkIsURLAbsolute-CTf3JFU6.d.ts.map +1 -0
  158. package/dist/types/compact-IHXcM4pT.d.ts +20 -0
  159. package/dist/types/compact-IHXcM4pT.d.ts.map +1 -0
  160. package/dist/types/compiler-DFiAsUdH.d.ts +9 -0
  161. package/dist/types/compiler-DFiAsUdH.d.ts.map +1 -0
  162. package/dist/types/condition-BDUtoh_1.d.ts +28 -0
  163. package/dist/types/condition-BDUtoh_1.d.ts.map +1 -0
  164. package/dist/types/constants-CI_D82B1.d.ts +177 -0
  165. package/dist/types/constants-CI_D82B1.d.ts.map +1 -0
  166. package/dist/types/currency-PbMCnHep.d.ts +20 -0
  167. package/dist/types/currency-PbMCnHep.d.ts.map +1 -0
  168. package/dist/types/date-C-PI8KqU.d.ts +20 -0
  169. package/dist/types/date-C-PI8KqU.d.ts.map +1 -0
  170. package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts +2 -50
  171. package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts +2 -42
  172. package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts +2 -34
  173. package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts +2 -18
  174. package/dist/types/deepTransformPlugins/getMaskContent.d.ts +2 -10
  175. package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts +2 -19
  176. package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts +2 -32
  177. package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts +2 -8
  178. package/dist/types/deepTransformPlugins/getSplittedContent.d.ts +2 -43
  179. package/dist/types/deepTransformPlugins/index.d.ts +10 -10
  180. package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts +2 -25
  181. package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts +2 -8
  182. package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts +2 -9
  183. package/dist/types/dictionaryManipulator/getDefaultNode.d.ts +2 -9
  184. package/dist/types/dictionaryManipulator/getEmptyNode.d.ts +2 -7
  185. package/dist/types/dictionaryManipulator/getNodeChildren.d.ts +2 -7
  186. package/dist/types/dictionaryManipulator/getNodeType.d.ts +2 -8
  187. package/dist/types/dictionaryManipulator/index.d.ts +12 -12
  188. package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts +2 -7
  189. package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts +2 -9
  190. package/dist/types/dictionaryManipulator/orderDictionaries.d.ts +2 -15
  191. package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts +2 -8
  192. package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts +2 -8
  193. package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts +2 -7
  194. package/dist/types/editDictionaryByKeyPath-BYIHcsyf.d.ts +8 -0
  195. package/dist/types/editDictionaryByKeyPath-BYIHcsyf.d.ts.map +1 -0
  196. package/dist/types/enumeration-CtuvB5Zz.d.ts +40 -0
  197. package/dist/types/enumeration-CtuvB5Zz.d.ts.map +1 -0
  198. package/dist/types/file-C3q8xvQb.d.ts +28 -0
  199. package/dist/types/file-C3q8xvQb.d.ts.map +1 -0
  200. package/dist/types/formatters/compact.d.ts +2 -20
  201. package/dist/types/formatters/currency.d.ts +2 -20
  202. package/dist/types/formatters/date.d.ts +2 -20
  203. package/dist/types/formatters/index.d.ts +10 -10
  204. package/dist/types/formatters/list.d.ts +2 -24
  205. package/dist/types/formatters/number.d.ts +2 -16
  206. package/dist/types/formatters/percentage.d.ts +2 -16
  207. package/dist/types/formatters/relativeTime.d.ts +2 -11
  208. package/dist/types/formatters/units.d.ts +2 -16
  209. package/dist/types/gender-Dd39Ijmf.d.ts +29 -0
  210. package/dist/types/gender-Dd39Ijmf.d.ts.map +1 -0
  211. package/dist/types/getBrowserLocale-RD_Mwv1t.d.ts +35 -0
  212. package/dist/types/getBrowserLocale-RD_Mwv1t.d.ts.map +1 -0
  213. package/dist/types/getContentNodeByKeyPath-B0Tdi5mj.d.ts +9 -0
  214. package/dist/types/getContentNodeByKeyPath-B0Tdi5mj.d.ts.map +1 -0
  215. package/dist/types/getCookie-DPOvVv_h.d.ts +11 -0
  216. package/dist/types/getCookie-DPOvVv_h.d.ts.map +1 -0
  217. package/dist/types/getDefaultNode-DQNsje2D.d.ts +9 -0
  218. package/dist/types/getDefaultNode-DQNsje2D.d.ts.map +1 -0
  219. package/dist/types/getEmptyNode-DW27TTBj.d.ts +7 -0
  220. package/dist/types/getEmptyNode-DW27TTBj.d.ts.map +1 -0
  221. package/dist/types/getFilterMissingTranslationsContent-CDNQqoy1.d.ts +50 -0
  222. package/dist/types/getFilterMissingTranslationsContent-CDNQqoy1.d.ts.map +1 -0
  223. package/dist/types/getFilterTranslationsOnlyContent-D2YgBkHn.d.ts +42 -0
  224. package/dist/types/getFilterTranslationsOnlyContent-D2YgBkHn.d.ts.map +1 -0
  225. package/dist/types/getFilteredLocalesContent-D0GP-uEg.d.ts +34 -0
  226. package/dist/types/getFilteredLocalesContent-D0GP-uEg.d.ts.map +1 -0
  227. package/dist/types/getHTML-CP6OXtdo.d.ts +32 -0
  228. package/dist/types/getHTML-CP6OXtdo.d.ts.map +1 -0
  229. package/dist/types/getHTMLTextDir-4Zh8J3x7.d.ts +21 -0
  230. package/dist/types/getHTMLTextDir-4Zh8J3x7.d.ts.map +1 -0
  231. package/dist/types/getInsertionValues-Cu9IdbuE.d.ts +5 -0
  232. package/dist/types/getInsertionValues-Cu9IdbuE.d.ts.map +1 -0
  233. package/dist/types/getLocale-B9dECUM_.d.ts +11 -0
  234. package/dist/types/getLocale-B9dECUM_.d.ts.map +1 -0
  235. package/dist/types/getLocaleFromPath-621W32QA.d.ts +26 -0
  236. package/dist/types/getLocaleFromPath-621W32QA.d.ts.map +1 -0
  237. package/dist/types/getLocaleLang-Bcan1gS4.d.ts +20 -0
  238. package/dist/types/getLocaleLang-Bcan1gS4.d.ts.map +1 -0
  239. package/dist/types/getLocaleName-CfRAD9Hc.d.ts +7 -0
  240. package/dist/types/getLocaleName-CfRAD9Hc.d.ts.map +1 -0
  241. package/dist/types/getLocalizedContent-DOncZd-0.d.ts +18 -0
  242. package/dist/types/getLocalizedContent-DOncZd-0.d.ts.map +1 -0
  243. package/dist/types/getLocalizedUrl-BbqeA3-W.d.ts +49 -0
  244. package/dist/types/getLocalizedUrl-BbqeA3-W.d.ts.map +1 -0
  245. package/dist/types/getMarkdownMetadata-Bf1S1NQ0.d.ts +5 -0
  246. package/dist/types/getMarkdownMetadata-Bf1S1NQ0.d.ts.map +1 -0
  247. package/dist/types/getMaskContent-BwLFqp7v.d.ts +10 -0
  248. package/dist/types/getMaskContent-BwLFqp7v.d.ts.map +1 -0
  249. package/dist/types/getMissingLocalesContent-BYffYcdx.d.ts +19 -0
  250. package/dist/types/getMissingLocalesContent-BYffYcdx.d.ts.map +1 -0
  251. package/dist/types/getMultilingualDictionary-DO3i1MFs.d.ts +32 -0
  252. package/dist/types/getMultilingualDictionary-DO3i1MFs.d.ts.map +1 -0
  253. package/dist/types/getMultilingualUrls-CUxYYfA4.d.ts +47 -0
  254. package/dist/types/getMultilingualUrls-CUxYYfA4.d.ts.map +1 -0
  255. package/dist/types/getNodeChildren-OT7Liqke.d.ts +7 -0
  256. package/dist/types/getNodeChildren-OT7Liqke.d.ts.map +1 -0
  257. package/dist/types/getNodeType-Cp765I26.d.ts +8 -0
  258. package/dist/types/getNodeType-Cp765I26.d.ts.map +1 -0
  259. package/dist/types/getPathWithoutLocale-B_aIR7O0.d.ts +31 -0
  260. package/dist/types/getPathWithoutLocale-B_aIR7O0.d.ts.map +1 -0
  261. package/dist/types/getPrefix-X9XKkrZD.d.ts +68 -0
  262. package/dist/types/getPrefix-X9XKkrZD.d.ts.map +1 -0
  263. package/dist/types/getReplacedValuesContent-BvL25pdt.d.ts +8 -0
  264. package/dist/types/getReplacedValuesContent-BvL25pdt.d.ts.map +1 -0
  265. package/dist/types/getSplittedContent-YD4JDMfB.d.ts +43 -0
  266. package/dist/types/getSplittedContent-YD4JDMfB.d.ts.map +1 -0
  267. package/dist/types/getStorageAttributes-CIO2xWqQ.d.ts +29 -0
  268. package/dist/types/getStorageAttributes-CIO2xWqQ.d.ts.map +1 -0
  269. package/dist/types/getStorageAttributes.d.ts +2 -29
  270. package/dist/types/getTranslation-BG2Wg-af.d.ts +30 -0
  271. package/dist/types/getTranslation-BG2Wg-af.d.ts.map +1 -0
  272. package/dist/types/html-Dn6KrpJ3.d.ts +25 -0
  273. package/dist/types/html-Dn6KrpJ3.d.ts.map +1 -0
  274. package/dist/types/htmlTags-YxTtVUx6.d.ts +115 -0
  275. package/dist/types/htmlTags-YxTtVUx6.d.ts.map +1 -0
  276. package/dist/types/i18next-qY0AixrB.d.ts +9 -0
  277. package/dist/types/i18next-qY0AixrB.d.ts.map +1 -0
  278. package/dist/types/index-1CTsSKEn.d.ts +1 -0
  279. package/dist/types/index-B8xF2zGo.d.ts +1 -0
  280. package/dist/types/index-BcsOTSQF.d.ts +1 -0
  281. package/dist/types/index-BnEeKNKW.d.ts +322 -0
  282. package/dist/types/index-BnEeKNKW.d.ts.map +1 -0
  283. package/dist/types/index-Cf8zm5QQ.d.ts +1 -0
  284. package/dist/types/index-CfvILin8.d.ts +1 -0
  285. package/dist/types/index-DK_kKFOF.d.ts +1 -0
  286. package/dist/types/index-DeJa0xZp.d.ts +1 -0
  287. package/dist/types/index-Vlqtiwjx.d.ts +1 -0
  288. package/dist/types/index.d.ts +80 -88
  289. package/dist/types/insertContentInDictionary-DZ3UzG4K.d.ts +25 -0
  290. package/dist/types/insertContentInDictionary-DZ3UzG4K.d.ts.map +1 -0
  291. package/dist/types/insertion-M5fwK-29.d.ts +23 -0
  292. package/dist/types/insertion-M5fwK-29.d.ts.map +1 -0
  293. package/dist/types/interpreter/getCondition.d.ts +2 -22
  294. package/dist/types/interpreter/getContent/deepTransform.d.ts +2 -12
  295. package/dist/types/interpreter/getContent/getContent.d.ts +2 -16
  296. package/dist/types/interpreter/getContent/index.d.ts +1 -3
  297. package/dist/types/interpreter/getContent/plugins.d.ts +2 -151
  298. package/dist/types/interpreter/getDictionary.d.ts +2 -17
  299. package/dist/types/interpreter/getEnumeration.d.ts +2 -58
  300. package/dist/types/interpreter/getGender.d.ts +1 -1
  301. package/dist/types/interpreter/getGender.d.ts.map +1 -1
  302. package/dist/types/interpreter/getHTML.d.ts +2 -32
  303. package/dist/types/interpreter/getInsertion.d.ts +1 -1
  304. package/dist/types/interpreter/getInsertion.d.ts.map +1 -1
  305. package/dist/types/interpreter/getIntlayer.d.ts +2 -8
  306. package/dist/types/interpreter/getNesting.d.ts +2 -27
  307. package/dist/types/interpreter/getTranslation.d.ts +2 -30
  308. package/dist/types/interpreter/index.d.ts +4 -11
  309. package/dist/types/interpreter/splitAndJoinInsertion.d.ts +2 -25
  310. package/dist/types/intl-B2Ap8I5x.d.ts +33 -0
  311. package/dist/types/intl-B2Ap8I5x.d.ts.map +1 -0
  312. package/dist/types/isSameKeyPath-CkH8NdJh.d.ts +7 -0
  313. package/dist/types/isSameKeyPath-CkH8NdJh.d.ts.map +1 -0
  314. package/dist/types/isValidReactElement-BsoJ01oP.d.ts +12 -0
  315. package/dist/types/isValidReactElement-BsoJ01oP.d.ts.map +1 -0
  316. package/dist/types/list-BdjJM2Gx.d.ts +30 -0
  317. package/dist/types/list-BdjJM2Gx.d.ts.map +1 -0
  318. package/dist/types/localeDetector-BWNCQRiZ.d.ts +18 -0
  319. package/dist/types/localeDetector-BWNCQRiZ.d.ts.map +1 -0
  320. package/dist/types/localeMapper-DoAnasqf.d.ts +92 -0
  321. package/dist/types/localeMapper-DoAnasqf.d.ts.map +1 -0
  322. package/dist/types/localeResolver-bb7AWQNX.d.ts +12 -0
  323. package/dist/types/localeResolver-bb7AWQNX.d.ts.map +1 -0
  324. package/dist/types/localeStorage-CZHwY0u3.d.ts +108 -0
  325. package/dist/types/localeStorage-CZHwY0u3.d.ts.map +1 -0
  326. package/dist/types/localization/getBrowserLocale.d.ts +2 -35
  327. package/dist/types/localization/getHTMLTextDir.d.ts +2 -21
  328. package/dist/types/localization/getLocale.d.ts +2 -11
  329. package/dist/types/localization/getLocaleFromPath.d.ts +2 -26
  330. package/dist/types/localization/getLocaleLang.d.ts +2 -20
  331. package/dist/types/localization/getLocaleName.d.ts +2 -7
  332. package/dist/types/localization/getLocalizedUrl.d.ts +2 -49
  333. package/dist/types/localization/getMultilingualUrls.d.ts +2 -47
  334. package/dist/types/localization/getPathWithoutLocale.d.ts +2 -31
  335. package/dist/types/localization/getPrefix.d.ts +2 -68
  336. package/dist/types/localization/index.d.ts +16 -16
  337. package/dist/types/localization/localeDetector.d.ts +2 -18
  338. package/dist/types/localization/localeMapper.d.ts +2 -92
  339. package/dist/types/localization/localeResolver.d.ts +2 -12
  340. package/dist/types/localization/rewriteUtils.d.ts +2 -34
  341. package/dist/types/localization/validatePrefix.d.ts +2 -38
  342. package/dist/types/markdown/compiler.d.ts +2 -9
  343. package/dist/types/markdown/constants.d.ts +2 -177
  344. package/dist/types/markdown/index.d.ts +10 -10
  345. package/dist/types/markdown/parser.d.ts +2 -16
  346. package/dist/types/markdown/renderer.d.ts +2 -22
  347. package/dist/types/markdown/types.d.ts +2 -333
  348. package/dist/types/markdown/utils.d.ts +2 -140
  349. package/dist/types/markdown-MzfikrI1.d.ts +26 -0
  350. package/dist/types/markdown-MzfikrI1.d.ts.map +1 -0
  351. package/dist/types/mergeDictionaries-D6WUMQN5.d.ts +7 -0
  352. package/dist/types/mergeDictionaries-D6WUMQN5.d.ts.map +1 -0
  353. package/dist/types/messageFormat/ICU.d.ts +2 -11
  354. package/dist/types/messageFormat/i18next.d.ts +2 -9
  355. package/dist/types/messageFormat/index.d.ts +3 -3
  356. package/dist/types/messageFormat/vue-i18n.d.ts +2 -9
  357. package/dist/types/normalizeDictionary-coviIGTW.d.ts +9 -0
  358. package/dist/types/normalizeDictionary-coviIGTW.d.ts.map +1 -0
  359. package/dist/types/number-C8izkCmU.d.ts +16 -0
  360. package/dist/types/number-C8izkCmU.d.ts.map +1 -0
  361. package/dist/types/orderDictionaries-SSCMY6qG.d.ts +15 -0
  362. package/dist/types/orderDictionaries-SSCMY6qG.d.ts.map +1 -0
  363. package/dist/types/parseYaml-D5gxutvA.d.ts +5 -0
  364. package/dist/types/parseYaml-D5gxutvA.d.ts.map +1 -0
  365. package/dist/types/parser-BVwR6Tjw.d.ts +16 -0
  366. package/dist/types/parser-BVwR6Tjw.d.ts.map +1 -0
  367. package/dist/types/percentage-BqsvW0Zw.d.ts +16 -0
  368. package/dist/types/percentage-BqsvW0Zw.d.ts.map +1 -0
  369. package/dist/types/relativeTime-mJaYEq7H.d.ts +11 -0
  370. package/dist/types/relativeTime-mJaYEq7H.d.ts.map +1 -0
  371. package/dist/types/removeContentNodeByKeyPath-CotCOOsD.d.ts +8 -0
  372. package/dist/types/removeContentNodeByKeyPath-CotCOOsD.d.ts.map +1 -0
  373. package/dist/types/renameContentNodeByKeyPath-BuyH5gOr.d.ts +8 -0
  374. package/dist/types/renameContentNodeByKeyPath-BuyH5gOr.d.ts.map +1 -0
  375. package/dist/types/renderer-C06x2Orf.d.ts +22 -0
  376. package/dist/types/renderer-C06x2Orf.d.ts.map +1 -0
  377. package/dist/types/rewriteUtils-Bd82NiGR.d.ts +34 -0
  378. package/dist/types/rewriteUtils-Bd82NiGR.d.ts.map +1 -0
  379. package/dist/types/splitAndJoinInsertion-bkuLa7o2.d.ts +25 -0
  380. package/dist/types/splitAndJoinInsertion-bkuLa7o2.d.ts.map +1 -0
  381. package/dist/types/translation-CiC-Avxc.d.ts +33 -0
  382. package/dist/types/translation-CiC-Avxc.d.ts.map +1 -0
  383. package/dist/types/transpiler/condition/condition.d.ts +2 -28
  384. package/dist/types/transpiler/condition/index.d.ts +1 -1
  385. package/dist/types/transpiler/enumeration/enumeration.d.ts +2 -40
  386. package/dist/types/transpiler/enumeration/index.d.ts +1 -1
  387. package/dist/types/transpiler/file/file.d.ts +2 -28
  388. package/dist/types/transpiler/file/fileBrowser.d.ts +1 -1
  389. package/dist/types/transpiler/file/index.d.ts +1 -1
  390. package/dist/types/transpiler/gender/gender.d.ts +2 -29
  391. package/dist/types/transpiler/gender/index.d.ts +1 -1
  392. package/dist/types/transpiler/html/html.d.ts +2 -25
  393. package/dist/types/transpiler/html/htmlTags.d.ts +2 -115
  394. package/dist/types/transpiler/html/index.d.ts +3 -3
  395. package/dist/types/transpiler/html/validateHTML.d.ts +2 -21
  396. package/dist/types/transpiler/index.d.ts +15 -15
  397. package/dist/types/transpiler/insertion/getInsertionValues.d.ts +2 -5
  398. package/dist/types/transpiler/insertion/index.d.ts +2 -2
  399. package/dist/types/transpiler/insertion/insertion.d.ts +2 -23
  400. package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts +2 -5
  401. package/dist/types/transpiler/markdown/index.d.ts +4 -4
  402. package/dist/types/transpiler/markdown/markdown.d.ts +2 -26
  403. package/dist/types/transpiler/markdown/validateMarkdown.d.ts +3 -18
  404. package/dist/types/transpiler/nesting/index.d.ts +1 -1
  405. package/dist/types/transpiler/nesting/nesting.d.ts +2 -49
  406. package/dist/types/transpiler/translation/index.d.ts +1 -1
  407. package/dist/types/transpiler/translation/translation.d.ts +2 -33
  408. package/dist/types/types-C2Om0aEM.d.ts +333 -0
  409. package/dist/types/types-C2Om0aEM.d.ts.map +1 -0
  410. package/dist/types/units-CouGqa8j.d.ts +16 -0
  411. package/dist/types/units-CouGqa8j.d.ts.map +1 -0
  412. package/dist/types/updateNodeChildren-B5Tu1UBZ.d.ts +7 -0
  413. package/dist/types/updateNodeChildren-B5Tu1UBZ.d.ts.map +1 -0
  414. package/dist/types/utils/checkIsURLAbsolute.d.ts +2 -5
  415. package/dist/types/utils/getCookie.d.ts +2 -11
  416. package/dist/types/utils/index.d.ts +8 -8
  417. package/dist/types/utils/intl.d.ts +2 -33
  418. package/dist/types/utils/isSameKeyPath.d.ts +2 -7
  419. package/dist/types/utils/isValidReactElement.d.ts +2 -12
  420. package/dist/types/utils/localeStorage.d.ts +2 -108
  421. package/dist/types/utils/parseYaml.d.ts +2 -5
  422. package/dist/types/utils-Dcmgh_80.d.ts +140 -0
  423. package/dist/types/utils-Dcmgh_80.d.ts.map +1 -0
  424. package/dist/types/validateHTML-U7UKTtFd.d.ts +21 -0
  425. package/dist/types/validateHTML-U7UKTtFd.d.ts.map +1 -0
  426. package/dist/types/validateMarkdown-BUaTDDIu.d.ts +18 -0
  427. package/dist/types/validateMarkdown-BUaTDDIu.d.ts.map +1 -0
  428. package/dist/types/validatePrefix-Dtmg7QLq.d.ts +38 -0
  429. package/dist/types/validatePrefix-Dtmg7QLq.d.ts.map +1 -0
  430. package/dist/types/vue-i18n-JtUB7N_m.d.ts +9 -0
  431. package/dist/types/vue-i18n-JtUB7N_m.d.ts.map +1 -0
  432. package/package.json +6 -6
  433. package/dist/cjs/interpreter/getContent/getContent.cjs.map +0 -1
  434. package/dist/cjs/interpreter/getContent/plugins.cjs.map +0 -1
  435. package/dist/cjs/interpreter/getDictionary.cjs.map +0 -1
  436. package/dist/cjs/interpreter/getIntlayer.cjs.map +0 -1
  437. package/dist/cjs/interpreter/getNesting.cjs.map +0 -1
  438. package/dist/cjs/transpiler/html/getHTMLCustomComponents.cjs.map +0 -1
  439. package/dist/cjs/transpiler/html/html.cjs.map +0 -1
  440. package/dist/esm/interpreter/getContent/getContent.mjs.map +0 -1
  441. package/dist/esm/interpreter/getContent/plugins.mjs.map +0 -1
  442. package/dist/esm/interpreter/getDictionary.mjs.map +0 -1
  443. package/dist/esm/interpreter/getIntlayer.mjs.map +0 -1
  444. package/dist/esm/interpreter/getNesting.mjs.map +0 -1
  445. package/dist/esm/transpiler/html/getHTMLCustomComponents.mjs.map +0 -1
  446. package/dist/esm/transpiler/html/html.mjs.map +0 -1
  447. package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts.map +0 -1
  448. package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts.map +0 -1
  449. package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts.map +0 -1
  450. package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts.map +0 -1
  451. package/dist/types/deepTransformPlugins/getMaskContent.d.ts.map +0 -1
  452. package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts.map +0 -1
  453. package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts.map +0 -1
  454. package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts.map +0 -1
  455. package/dist/types/deepTransformPlugins/getSplittedContent.d.ts.map +0 -1
  456. package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts.map +0 -1
  457. package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts.map +0 -1
  458. package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts.map +0 -1
  459. package/dist/types/dictionaryManipulator/getDefaultNode.d.ts.map +0 -1
  460. package/dist/types/dictionaryManipulator/getEmptyNode.d.ts.map +0 -1
  461. package/dist/types/dictionaryManipulator/getNodeChildren.d.ts.map +0 -1
  462. package/dist/types/dictionaryManipulator/getNodeType.d.ts.map +0 -1
  463. package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts.map +0 -1
  464. package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts.map +0 -1
  465. package/dist/types/dictionaryManipulator/orderDictionaries.d.ts.map +0 -1
  466. package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts.map +0 -1
  467. package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts.map +0 -1
  468. package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts.map +0 -1
  469. package/dist/types/formatters/compact.d.ts.map +0 -1
  470. package/dist/types/formatters/currency.d.ts.map +0 -1
  471. package/dist/types/formatters/date.d.ts.map +0 -1
  472. package/dist/types/formatters/list.d.ts.map +0 -1
  473. package/dist/types/formatters/number.d.ts.map +0 -1
  474. package/dist/types/formatters/percentage.d.ts.map +0 -1
  475. package/dist/types/formatters/relativeTime.d.ts.map +0 -1
  476. package/dist/types/formatters/units.d.ts.map +0 -1
  477. package/dist/types/getStorageAttributes.d.ts.map +0 -1
  478. package/dist/types/interpreter/getCondition.d.ts.map +0 -1
  479. package/dist/types/interpreter/getContent/deepTransform.d.ts.map +0 -1
  480. package/dist/types/interpreter/getContent/getContent.d.ts.map +0 -1
  481. package/dist/types/interpreter/getContent/plugins.d.ts.map +0 -1
  482. package/dist/types/interpreter/getDictionary.d.ts.map +0 -1
  483. package/dist/types/interpreter/getEnumeration.d.ts.map +0 -1
  484. package/dist/types/interpreter/getHTML.d.ts.map +0 -1
  485. package/dist/types/interpreter/getIntlayer.d.ts.map +0 -1
  486. package/dist/types/interpreter/getNesting.d.ts.map +0 -1
  487. package/dist/types/interpreter/getTranslation.d.ts.map +0 -1
  488. package/dist/types/interpreter/splitAndJoinInsertion.d.ts.map +0 -1
  489. package/dist/types/localization/getBrowserLocale.d.ts.map +0 -1
  490. package/dist/types/localization/getHTMLTextDir.d.ts.map +0 -1
  491. package/dist/types/localization/getLocale.d.ts.map +0 -1
  492. package/dist/types/localization/getLocaleFromPath.d.ts.map +0 -1
  493. package/dist/types/localization/getLocaleLang.d.ts.map +0 -1
  494. package/dist/types/localization/getLocaleName.d.ts.map +0 -1
  495. package/dist/types/localization/getLocalizedUrl.d.ts.map +0 -1
  496. package/dist/types/localization/getMultilingualUrls.d.ts.map +0 -1
  497. package/dist/types/localization/getPathWithoutLocale.d.ts.map +0 -1
  498. package/dist/types/localization/getPrefix.d.ts.map +0 -1
  499. package/dist/types/localization/localeDetector.d.ts.map +0 -1
  500. package/dist/types/localization/localeMapper.d.ts.map +0 -1
  501. package/dist/types/localization/localeResolver.d.ts.map +0 -1
  502. package/dist/types/localization/rewriteUtils.d.ts.map +0 -1
  503. package/dist/types/localization/validatePrefix.d.ts.map +0 -1
  504. package/dist/types/markdown/compiler.d.ts.map +0 -1
  505. package/dist/types/markdown/constants.d.ts.map +0 -1
  506. package/dist/types/markdown/parser.d.ts.map +0 -1
  507. package/dist/types/markdown/renderer.d.ts.map +0 -1
  508. package/dist/types/markdown/types.d.ts.map +0 -1
  509. package/dist/types/markdown/utils.d.ts.map +0 -1
  510. package/dist/types/messageFormat/ICU.d.ts.map +0 -1
  511. package/dist/types/messageFormat/i18next.d.ts.map +0 -1
  512. package/dist/types/messageFormat/vue-i18n.d.ts.map +0 -1
  513. package/dist/types/transpiler/condition/condition.d.ts.map +0 -1
  514. package/dist/types/transpiler/enumeration/enumeration.d.ts.map +0 -1
  515. package/dist/types/transpiler/file/file.d.ts.map +0 -1
  516. package/dist/types/transpiler/gender/gender.d.ts.map +0 -1
  517. package/dist/types/transpiler/html/html.d.ts.map +0 -1
  518. package/dist/types/transpiler/html/htmlTags.d.ts.map +0 -1
  519. package/dist/types/transpiler/html/validateHTML.d.ts.map +0 -1
  520. package/dist/types/transpiler/insertion/getInsertionValues.d.ts.map +0 -1
  521. package/dist/types/transpiler/insertion/insertion.d.ts.map +0 -1
  522. package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts.map +0 -1
  523. package/dist/types/transpiler/markdown/markdown.d.ts.map +0 -1
  524. package/dist/types/transpiler/markdown/validateMarkdown.d.ts.map +0 -1
  525. package/dist/types/transpiler/nesting/nesting.d.ts.map +0 -1
  526. package/dist/types/transpiler/translation/translation.d.ts.map +0 -1
  527. package/dist/types/utils/checkIsURLAbsolute.d.ts.map +0 -1
  528. package/dist/types/utils/getCookie.d.ts.map +0 -1
  529. package/dist/types/utils/intl.d.ts.map +0 -1
  530. package/dist/types/utils/isSameKeyPath.d.ts.map +0 -1
  531. package/dist/types/utils/isValidReactElement.d.ts.map +0 -1
  532. package/dist/types/utils/localeStorage.d.ts.map +0 -1
  533. package/dist/types/utils/parseYaml.d.ts.map +0 -1
@@ -1,8 +1,2 @@
1
- import { ContentNode } from "@intlayer/types/dictionary";
2
- import { NodeType } from "@intlayer/types/nodeType";
3
-
4
- //#region src/dictionaryManipulator/getNodeType.d.ts
5
- declare const getNodeType: (content: ContentNode) => NodeType;
6
- //#endregion
7
- export { getNodeType };
8
- //# sourceMappingURL=getNodeType.d.ts.map
1
+ import { t as getNodeType } from "../getNodeType-Cp765I26.js";
2
+ export { getNodeType };
@@ -1,13 +1,13 @@
1
- import { editDictionaryByKeyPath } from "./editDictionaryByKeyPath.js";
2
- import { getContentNodeByKeyPath } from "./getContentNodeByKeyPath.js";
3
- import { getDefaultNode } from "./getDefaultNode.js";
4
- import { getEmptyNode } from "./getEmptyNode.js";
5
- import { getNodeChildren } from "./getNodeChildren.js";
6
- import { getNodeType } from "./getNodeType.js";
7
- import { mergeDictionaries } from "./mergeDictionaries.js";
8
- import { normalizeDictionaries, normalizeDictionary } from "./normalizeDictionary.js";
9
- import { orderDictionaries } from "./orderDictionaries.js";
10
- import { removeContentNodeByKeyPath } from "./removeContentNodeByKeyPath.js";
11
- import { renameContentNodeByKeyPath } from "./renameContentNodeByKeyPath.js";
12
- import { updateNodeChildren } from "./updateNodeChildren.js";
1
+ import { t as editDictionaryByKeyPath } from "../editDictionaryByKeyPath-BYIHcsyf.js";
2
+ import { t as getContentNodeByKeyPath } from "../getContentNodeByKeyPath-B0Tdi5mj.js";
3
+ import { t as getDefaultNode } from "../getDefaultNode-DQNsje2D.js";
4
+ import { t as getEmptyNode } from "../getEmptyNode-DW27TTBj.js";
5
+ import { t as getNodeChildren } from "../getNodeChildren-OT7Liqke.js";
6
+ import { t as getNodeType } from "../getNodeType-Cp765I26.js";
7
+ import { t as mergeDictionaries } from "../mergeDictionaries-D6WUMQN5.js";
8
+ import { n as normalizeDictionary, t as normalizeDictionaries } from "../normalizeDictionary-coviIGTW.js";
9
+ import { t as orderDictionaries } from "../orderDictionaries-SSCMY6qG.js";
10
+ import { t as removeContentNodeByKeyPath } from "../removeContentNodeByKeyPath-CotCOOsD.js";
11
+ import { t as renameContentNodeByKeyPath } from "../renameContentNodeByKeyPath-BuyH5gOr.js";
12
+ import { t as updateNodeChildren } from "../updateNodeChildren-B5Tu1UBZ.js";
13
13
  export { editDictionaryByKeyPath, getContentNodeByKeyPath, getDefaultNode, getEmptyNode, getNodeChildren, getNodeType, mergeDictionaries, normalizeDictionaries, normalizeDictionary, orderDictionaries, removeContentNodeByKeyPath, renameContentNodeByKeyPath, updateNodeChildren };
@@ -1,7 +1,2 @@
1
- import { Dictionary } from "@intlayer/types/dictionary";
2
-
3
- //#region src/dictionaryManipulator/mergeDictionaries.d.ts
4
- declare const mergeDictionaries: (dictionaries: Dictionary[]) => Dictionary;
5
- //#endregion
6
- export { mergeDictionaries };
7
- //# sourceMappingURL=mergeDictionaries.d.ts.map
1
+ import { t as mergeDictionaries } from "../mergeDictionaries-D6WUMQN5.js";
2
+ export { mergeDictionaries };
@@ -1,9 +1,2 @@
1
- import { Dictionary } from "@intlayer/types/dictionary";
2
- import { IntlayerConfig } from "@intlayer/types/config";
3
-
4
- //#region src/dictionaryManipulator/normalizeDictionary.d.ts
5
- declare const normalizeDictionary: (dictionary: Dictionary, configuration: IntlayerConfig) => Dictionary;
6
- declare const normalizeDictionaries: (dictionaries: Dictionary[], configuration: IntlayerConfig) => Dictionary[];
7
- //#endregion
8
- export { normalizeDictionaries, normalizeDictionary };
9
- //# sourceMappingURL=normalizeDictionary.d.ts.map
1
+ import { n as normalizeDictionary, t as normalizeDictionaries } from "../normalizeDictionary-coviIGTW.js";
2
+ export { normalizeDictionaries, normalizeDictionary };
@@ -1,15 +1,2 @@
1
- import { Dictionary } from "@intlayer/types/dictionary";
2
- import * as _intlayer_types_config0 from "@intlayer/types/config";
3
-
4
- //#region src/dictionaryManipulator/orderDictionaries.d.ts
5
- /**
6
- * Orders dictionaries based on the dictionary priority strategy.
7
- *
8
- * @param dictionaries - Array of dictionaries to order
9
- * @param priorityStrategy - The priority strategy ('local_first' or 'distant_first')
10
- * @returns Ordered array of dictionaries
11
- */
12
- declare const orderDictionaries: (dictionaries: Dictionary[], configuration?: _intlayer_types_config0.IntlayerConfig) => Dictionary[];
13
- //#endregion
14
- export { orderDictionaries };
15
- //# sourceMappingURL=orderDictionaries.d.ts.map
1
+ import { t as orderDictionaries } from "../orderDictionaries-SSCMY6qG.js";
2
+ export { orderDictionaries };
@@ -1,8 +1,2 @@
1
- import { ContentNode } from "@intlayer/types/dictionary";
2
- import { KeyPath } from "@intlayer/types/keyPath";
3
-
4
- //#region src/dictionaryManipulator/removeContentNodeByKeyPath.d.ts
5
- declare const removeContentNodeByKeyPath: (dictionaryContent: ContentNode, keyPath: KeyPath[]) => ContentNode;
6
- //#endregion
7
- export { removeContentNodeByKeyPath };
8
- //# sourceMappingURL=removeContentNodeByKeyPath.d.ts.map
1
+ import { t as removeContentNodeByKeyPath } from "../removeContentNodeByKeyPath-CotCOOsD.js";
2
+ export { removeContentNodeByKeyPath };
@@ -1,8 +1,2 @@
1
- import { ContentNode } from "@intlayer/types/dictionary";
2
- import { KeyPath } from "@intlayer/types/keyPath";
3
-
4
- //#region src/dictionaryManipulator/renameContentNodeByKeyPath.d.ts
5
- declare const renameContentNodeByKeyPath: (dictionaryContent: ContentNode, newKey: KeyPath["key"], keyPath: KeyPath[]) => ContentNode;
6
- //#endregion
7
- export { renameContentNodeByKeyPath };
8
- //# sourceMappingURL=renameContentNodeByKeyPath.d.ts.map
1
+ import { t as renameContentNodeByKeyPath } from "../renameContentNodeByKeyPath-BuyH5gOr.js";
2
+ export { renameContentNodeByKeyPath };
@@ -1,7 +1,2 @@
1
- import { ContentNode } from "@intlayer/types/dictionary";
2
-
3
- //#region src/dictionaryManipulator/updateNodeChildren.d.ts
4
- declare const updateNodeChildren: <T extends ContentNode, U extends ContentNode>(section: T, newChildren: U) => ContentNode;
5
- //#endregion
6
- export { updateNodeChildren };
7
- //# sourceMappingURL=updateNodeChildren.d.ts.map
1
+ import { t as updateNodeChildren } from "../updateNodeChildren-B5Tu1UBZ.js";
2
+ export { updateNodeChildren };
@@ -0,0 +1,8 @@
1
+ import { ContentNode } from "@intlayer/types/dictionary";
2
+ import { KeyPath } from "@intlayer/types/keyPath";
3
+
4
+ //#region src/dictionaryManipulator/editDictionaryByKeyPath.d.ts
5
+ declare const editDictionaryByKeyPath: (dictionaryContent: ContentNode, keyPath: KeyPath[], newValue: ContentNode) => ContentNode;
6
+ //#endregion
7
+ export { editDictionaryByKeyPath as t };
8
+ //# sourceMappingURL=editDictionaryByKeyPath-BYIHcsyf.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editDictionaryByKeyPath-BYIHcsyf.d.ts","names":[],"sources":["../../src/dictionaryManipulator/editDictionaryByKeyPath.ts"],"mappings":";;;;cAOa,uBAAA,GACX,iBAAA,EAAmB,WAAA,EACnB,OAAA,EAAS,OAAA,IACT,QAAA,EAAU,WAAA,KACT,WAAA"}
@@ -0,0 +1,40 @@
1
+ import { NodeType, TypedNodeModel } from "@intlayer/types/nodeType";
2
+
3
+ //#region src/transpiler/enumeration/enumeration.d.ts
4
+ type Positive = number | `${number}`;
5
+ type Negative = `-${number}`;
6
+ type Numbers = Positive | Negative;
7
+ type Equal = Numbers;
8
+ type EqualString = `=${Numbers}`;
9
+ type Superior = `>${Numbers}`;
10
+ type SuperiorOrEqual = `>=${Numbers}`;
11
+ type Inferior = `<${Numbers}`;
12
+ type InferiorOrEqual = `<=${Numbers}`;
13
+ type EnterFormat = Equal | EqualString | Superior | SuperiorOrEqual | Inferior | InferiorOrEqual;
14
+ type EnumerationContentState<Content> = Partial<Record<EnterFormat, Content>> & {
15
+ fallback?: Content;
16
+ };
17
+ type EnumerationContent<Content = unknown> = TypedNodeModel<NodeType.Enumeration, EnumerationContentState<Content>>;
18
+ /**
19
+ * Function intended to be used to build intlayer dictionaries.
20
+ *
21
+ * Allow to pick a content based on a quantity.
22
+ *
23
+ * Usage:
24
+ *
25
+ * ```ts
26
+ * enu({
27
+ * '<=-2.3': 'You have less than -2.3',
28
+ * '<1': 'You have less than one',
29
+ * '2': 'You have two',
30
+ * '>=3': 'You have three or more',
31
+ * });
32
+ * ```
33
+ *
34
+ * > The order of the keys will define the priority of the content.
35
+ *
36
+ */
37
+ declare const enumeration: <Content = unknown>(content?: EnumerationContentState<Content>) => TypedNodeModel<NodeType.Enumeration, EnumerationContentState<Content>, {}>;
38
+ //#endregion
39
+ export { enumeration as i, EnumerationContent as n, EnumerationContentState as r, EnterFormat as t };
40
+ //# sourceMappingURL=enumeration-CtuvB5Zz.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enumeration-CtuvB5Zz.d.ts","names":[],"sources":["../../src/transpiler/enumeration/enumeration.ts"],"mappings":";;;KAGK,QAAA;AAAA,KACA,QAAA;AAAA,KACA,OAAA,GAAU,QAAA,GAAW,QAAA;AAAA,KAErB,KAAA,GAAQ,OAAA;AAAA,KACR,WAAA,OAAkB,OAAA;AAAA,KAClB,QAAA,OAAe,OAAA;AAAA,KACf,eAAA,QAAuB,OAAA;AAAA,KACvB,QAAA,OAAe,OAAA;AAAA,KACf,eAAA,QAAuB,OAAA;AAAA,KAEhB,WAAA,GACR,KAAA,GACA,WAAA,GACA,QAAA,GACA,eAAA,GACA,QAAA,GACA,eAAA;AAAA,KAEQ,uBAAA,YAAmC,OAAA,CAC7C,MAAA,CAAO,WAAA,EAAa,OAAA;EAEpB,QAAA,GAAW,OAAA;AAAA;AAAA,KAGD,kBAAA,sBAAwC,cAAA,CAClD,QAAA,CAAS,WAAA,EACT,uBAAA,CAAwB,OAAA;;;AAzBQ;;;;;AAEd;;;;;AACU;;;;;AACH;;cA2CrB,WAAA,sBACJ,OAAA,GAAU,uBAAA,CAAwB,OAAA,MAAQ,cAAA,CAAA,QAAA,CAAA,WAAA,EAAA,uBAAA,CAAA,OAAA"}
@@ -0,0 +1,28 @@
1
+ import { NodeType, TypedNodeModel } from "@intlayer/types/nodeType";
2
+
3
+ //#region src/transpiler/file/file.d.ts
4
+ type FileContentConstructor<T extends Record<string, any> = {}> = TypedNodeModel<NodeType.File, string, T>;
5
+ type FileContent = FileContentConstructor<{
6
+ content: string;
7
+ fixedPath?: string;
8
+ }>;
9
+ declare const fileContent: (path: string, callerDir: string, baseDir: string) => FileContent;
10
+ /**
11
+ * Function intended to be used to build intlayer dictionaries.
12
+ *
13
+ * Allow identify the usage of an external resource.
14
+ *
15
+ * Usage:
16
+ *
17
+ * ```ts
18
+ * file('/path/to/file.md') // absolute path
19
+ *
20
+ * // or
21
+ *
22
+ * file('path/to/file.md') // relative path
23
+ * ```
24
+ */
25
+ declare const file: (path: string) => FileContent;
26
+ //#endregion
27
+ export { fileContent as i, FileContentConstructor as n, file as r, FileContent as t };
28
+ //# sourceMappingURL=file-C3q8xvQb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-C3q8xvQb.d.ts","names":[],"sources":["../../src/transpiler/file/file.ts"],"mappings":";;;KAMY,sBAAA,WAAiC,MAAA,sBAC3C,cAAA,CAAe,QAAA,CAAS,IAAA,UAAc,CAAA;AAAA,KAE5B,WAAA,GAAc,sBAAA;EACxB,OAAA;EACA,SAAA;AAAA;AAAA,cAGW,WAAA,GACX,IAAA,UACA,SAAA,UACA,OAAA,aACC,WAAA;;;;;;;;;;;;;AATH;;;cAuEa,IAAA,GAAQ,IAAA,aAAe,WAAA"}
@@ -1,20 +1,2 @@
1
- import { LocalesValues } from "@intlayer/types/module_augmentation";
2
-
3
- //#region src/formatters/compact.d.ts
4
- /**
5
- * Formats a numeric value using compact notation (e.g., 1K, 1M, 1B)
6
- * based on locale and formatting options.
7
- *
8
- * @example
9
- * compact({ value: 1200 }); // "1.2K"
10
- *
11
- * @example
12
- * compact({ value: "1000000", locale: Locales.FRENCH, compactDisplay: "long" });
13
- * // "1 million"
14
- */
15
- declare const compact: (value: string | number, options?: Intl.NumberFormatOptions & {
16
- locale?: LocalesValues;
17
- }) => string;
18
- //#endregion
19
- export { compact };
20
- //# sourceMappingURL=compact.d.ts.map
1
+ import { t as compact } from "../compact-IHXcM4pT.js";
2
+ export { compact };
@@ -1,20 +1,2 @@
1
- import { LocalesValues } from "@intlayer/types/module_augmentation";
2
-
3
- //#region src/formatters/currency.d.ts
4
- /**
5
- * Formats a numeric or string value into a localized currency string using the Intl API.
6
- *
7
- * @example
8
- * currency({ value: 1234.5, currency: 'EUR' });
9
- * // "€1,234.50"
10
- *
11
- * @example
12
- * currency({ value: "5000", locale: Locales.FRENCH, currency: "CAD", currencyDisplay: "code" });
13
- * // "5 000,00 CAD"
14
- */
15
- declare const currency: (value: string | number, options?: Intl.NumberFormatOptions & {
16
- locale?: LocalesValues;
17
- }) => string;
18
- //#endregion
19
- export { currency };
20
- //# sourceMappingURL=currency.d.ts.map
1
+ import { t as currency } from "../currency-PbMCnHep.js";
2
+ export { currency };
@@ -1,20 +1,2 @@
1
- import { LocalesValues } from "@intlayer/types/module_augmentation";
2
-
3
- //#region src/formatters/date.d.ts
4
- /**
5
- * Formats a date/time value into a localized string using Intl.DateTimeFormat.
6
- *
7
- * @example
8
- * date({ date: new Date(), options: "short" });
9
- * // "08/02/25, 14:30"
10
- *
11
- * @example
12
- * date({ date: "2025-08-02T14:30:00Z", locale: Locales.FRENCH, options: { month: "long", day: "numeric" } });
13
- * // "2 août"
14
- */
15
- declare const date: (date: Date | string | number, options?: Intl.DateTimeFormatOptions & {
16
- locale?: LocalesValues;
17
- }) => string;
18
- //#endregion
19
- export { date };
20
- //# sourceMappingURL=date.d.ts.map
1
+ import { t as date } from "../date-C-PI8KqU.js";
2
+ export { date };
@@ -1,10 +1,10 @@
1
- import { compact } from "./compact.js";
2
- import { currency } from "./currency.js";
3
- import { date } from "./date.js";
4
- import { CachedIntl, bindIntl, createCachedIntl } from "../utils/intl.js";
5
- import { list } from "./list.js";
6
- import { number } from "./number.js";
7
- import { percentage } from "./percentage.js";
8
- import { relativeTime } from "./relativeTime.js";
9
- import { units } from "./units.js";
10
- export { CachedIntl, CachedIntl as Intl, bindIntl, compact, createCachedIntl, currency, date, list, number, percentage, relativeTime, units };
1
+ import { t as compact } from "../compact-IHXcM4pT.js";
2
+ import { t as currency } from "../currency-PbMCnHep.js";
3
+ import { t as date } from "../date-C-PI8KqU.js";
4
+ import { i as createCachedIntl, n as WrappedIntl, r as bindIntl, t as CachedIntl } from "../intl-B2Ap8I5x.js";
5
+ import { t as list } from "../list-BdjJM2Gx.js";
6
+ import { t as number } from "../number-C8izkCmU.js";
7
+ import { t as percentage } from "../percentage-BqsvW0Zw.js";
8
+ import { t as relativeTime } from "../relativeTime-mJaYEq7H.js";
9
+ import { t as units } from "../units-CouGqa8j.js";
10
+ export { CachedIntl, CachedIntl as Intl, WrappedIntl, bindIntl, compact, createCachedIntl, currency, date, list, number, percentage, relativeTime, units };
@@ -1,24 +1,2 @@
1
- import { LocalesValues } from "@intlayer/types/module_augmentation";
2
-
3
- //#region src/formatters/list.d.ts
4
- /**
5
- * Formats an array of values into a localized list string using the Intl API.
6
- *
7
- * @example
8
- * list(['apple', 'banana', 'orange']);
9
- * // "apple, banana, and orange"
10
- *
11
- * @example
12
- * list(['red', 'green', 'blue'], { locale: Locales.FRENCH, type: 'disjunction' });
13
- * // "rouge, vert ou bleu"
14
- *
15
- * @example
16
- * list([1, 2, 3], { type: 'unit' });
17
- * // "1, 2, 3"
18
- */
19
- declare const list: (values: (string | number)[], options?: Intl.ListFormatOptions & {
20
- locale?: LocalesValues;
21
- }) => string;
22
- //#endregion
23
- export { list };
24
- //# sourceMappingURL=list.d.ts.map
1
+ import { t as list } from "../list-BdjJM2Gx.js";
2
+ export { list };
@@ -1,16 +1,2 @@
1
- import { LocalesValues } from "@intlayer/types/module_augmentation";
2
-
3
- //#region src/formatters/number.d.ts
4
- /**
5
- * Formats a numeric value using locale-aware formatting.
6
- *
7
- * @example
8
- * number({ value: 123456.789 }); // "123,456.789"
9
- * number({ value: "1000000", locale: Locales.FRENCH }); // "1 000 000"
10
- */
11
- declare const number: (value: string | number, options?: Intl.NumberFormatOptions & {
12
- locale?: LocalesValues;
13
- }) => string;
14
- //#endregion
15
- export { number };
16
- //# sourceMappingURL=number.d.ts.map
1
+ import { t as number } from "../number-C8izkCmU.js";
2
+ export { number };
@@ -1,16 +1,2 @@
1
- import { LocalesValues } from "@intlayer/types/module_augmentation";
2
-
3
- //#region src/formatters/percentage.d.ts
4
- /**
5
- * Formats a number as a percentage string (e.g., 0.25 → "25%").
6
- *
7
- * @example
8
- * percentage({ value: 0.25 }) // "25%"
9
- * percentage({ value: 0.25, minimumFractionDigits: 2 }) // "25.00%"
10
- */
11
- declare const percentage: (value: string | number, options?: Intl.NumberFormatOptions & {
12
- locale?: LocalesValues;
13
- }) => string;
14
- //#endregion
15
- export { percentage };
16
- //# sourceMappingURL=percentage.d.ts.map
1
+ import { t as percentage } from "../percentage-BqsvW0Zw.js";
2
+ export { percentage };
@@ -1,11 +1,2 @@
1
- import { LocalesValues } from "@intlayer/types/module_augmentation";
2
-
3
- //#region src/formatters/relativeTime.d.ts
4
- type RelativeTimeUnit = Intl.RelativeTimeFormatUnit;
5
- declare const relativeTime: (from: Date | string | number, to?: Date | string | number, options?: Intl.RelativeTimeFormatOptions & {
6
- locale?: LocalesValues;
7
- unit?: RelativeTimeUnit;
8
- }) => string;
9
- //#endregion
10
- export { relativeTime };
11
- //# sourceMappingURL=relativeTime.d.ts.map
1
+ import { t as relativeTime } from "../relativeTime-mJaYEq7H.js";
2
+ export { relativeTime };
@@ -1,16 +1,2 @@
1
- import { LocalesValues } from "@intlayer/types/module_augmentation";
2
-
3
- //#region src/formatters/units.d.ts
4
- /**
5
- * Formats a numeric value as a localized unit string.
6
- *
7
- * @example
8
- * units({ value: 5, unit: "kilometer", unitDisplay: "long", locale: "en-GB" })
9
- * // "5 kilometers"
10
- */
11
- declare const units: (value: number | string, options?: Intl.NumberFormatOptions & {
12
- locale?: LocalesValues;
13
- }) => string;
14
- //#endregion
15
- export { units };
16
- //# sourceMappingURL=units.d.ts.map
1
+ import { t as units } from "../units-CouGqa8j.js";
2
+ export { units };
@@ -0,0 +1,29 @@
1
+ import { NodeType, TypedNodeModel } from "@intlayer/types/nodeType";
2
+
3
+ //#region src/transpiler/gender/gender.d.ts
4
+ type Gender = 'male' | 'female' | 'fallback';
5
+ type GenderContentStates<Content> = Record<`${Gender}`, Content> & {
6
+ fallback?: Content;
7
+ };
8
+ type GenderContent<Content = unknown> = TypedNodeModel<NodeType.Gender, GenderContentStates<Content>>;
9
+ /**
10
+ * Function intended to be used to build intlayer dictionaries.
11
+ *
12
+ * Allow to pick a content based on a gender.
13
+ *
14
+ * Usage:
15
+ *
16
+ * ```ts
17
+ * gender({
18
+ * 'true': 'The gender is validated',
19
+ * 'false': 'The gender is not validated',
20
+ * });
21
+ * ```
22
+ *
23
+ * The last key provided will be used as the fallback value.
24
+ *
25
+ */
26
+ declare const gender: <Content>(content?: GenderContentStates<Content>) => TypedNodeModel<NodeType.Gender, GenderContentStates<Content>, {}>;
27
+ //#endregion
28
+ export { gender as i, GenderContent as n, GenderContentStates as r, Gender as t };
29
+ //# sourceMappingURL=gender-Dd39Ijmf.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gender-Dd39Ijmf.d.ts","names":[],"sources":["../../src/transpiler/gender/gender.ts"],"mappings":";;;KAGY,MAAA;AAAA,KAEA,mBAAA,YAA+B,MAAA,IAAU,MAAA,IAAU,OAAA;EAC7D,QAAA,GAAW,OAAA;AAAA;AAAA,KAGD,aAAA,sBAAmC,cAAA,CAC7C,QAAA,CAAS,MAAA,EACT,mBAAA,CAAoB,OAAA;;AANtB;;;;;;;;;;;;;;;;cA0BM,MAAA,YAAmB,OAAA,GAAU,mBAAA,CAAoB,OAAA,MAAQ,cAAA,CAAA,QAAA,CAAA,MAAA,EAAA,mBAAA,CAAA,OAAA"}
@@ -0,0 +1,35 @@
1
+ import { n as LocaleStorageOptions } from "./localeStorage-CZHwY0u3.js";
2
+ import { Locale } from "@intlayer/types/allLocales";
3
+
4
+ //#region src/localization/getBrowserLocale.d.ts
5
+ declare enum LanguageDetector {
6
+ Querystring = "querystring",
7
+ Storage = "storage",
8
+ Navigator = "navigator",
9
+ HtmlTag = "htmlTag"
10
+ }
11
+ declare const localeStorageOptions: LocaleStorageOptions;
12
+ type LanguageDetectorOptions = {
13
+ order?: LanguageDetector[];
14
+ lookupQuerystring?: string;
15
+ htmlTag?: HTMLElement | null;
16
+ };
17
+ /**
18
+ * Core language detector function for browser environments.
19
+ *
20
+ * Detects the user's preferred locale by checking multiple sources in order:
21
+ * 1. Query string parameter
22
+ * 2. Storage (cookies, localStorage, sessionStorage) - uses getLocaleFromStorage
23
+ * 3. Navigator languages - uses localeDetector
24
+ * 4. HTML lang attribute - uses localeDetector
25
+ *
26
+ * @param userOptions - Optional configuration for detection order and lookup keys
27
+ * @returns The detected locale or the default locale
28
+ *
29
+ * @example
30
+ * const locale = getBrowserLocale({ order: [LanguageDetector.Storage, LanguageDetector.Navigator] });
31
+ */
32
+ declare const getBrowserLocale: (userOptions?: LanguageDetectorOptions | undefined) => Locale;
33
+ //#endregion
34
+ export { getBrowserLocale as n, localeStorageOptions as r, LanguageDetector as t };
35
+ //# sourceMappingURL=getBrowserLocale-RD_Mwv1t.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBrowserLocale-RD_Mwv1t.d.ts","names":[],"sources":["../../src/localization/getBrowserLocale.tsx"],"mappings":";;;;aASY,gBAAA;EACV,WAAA;EACA,OAAA;EACA,SAAA;EACA,OAAA;AAAA;AAAA,cAGW,oBAAA,EAAsB,oBAAA;AAAA,KA2B9B,uBAAA;EACH,KAAA,GAAQ,gBAAA;EACR,iBAAA;EACA,OAAA,GAAU,WAAA;AAAA;AA9BZ;;;;;AAwBE;;;;;;;;;;AAxBF,cA4La,gBAAA,GACX,WAAA,GAAa,uBAAA,iBACZ,MAAA"}
@@ -0,0 +1,9 @@
1
+ import { ContentNode } from "@intlayer/types/dictionary";
2
+ import { LocalesValues } from "@intlayer/types/module_augmentation";
3
+ import { KeyPath } from "@intlayer/types/keyPath";
4
+
5
+ //#region src/dictionaryManipulator/getContentNodeByKeyPath.d.ts
6
+ declare const getContentNodeByKeyPath: (dictionaryContent: ContentNode, keyPath: KeyPath[], fallbackLocale?: LocalesValues) => ContentNode;
7
+ //#endregion
8
+ export { getContentNodeByKeyPath as t };
9
+ //# sourceMappingURL=getContentNodeByKeyPath-B0Tdi5mj.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getContentNodeByKeyPath-B0Tdi5mj.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"}
@@ -0,0 +1,11 @@
1
+ //#region src/utils/getCookie.d.ts
2
+ /**
3
+ * Retrieves a cookie by name from a cookie string or document.cookie
4
+ * @param name - The name of the cookie to retrieve
5
+ * @param cookieString - Optional cookie string to parse (defaults to document.cookie in browser)
6
+ * @returns The cookie value or undefined if not found
7
+ */
8
+ declare const getCookie: (name: string, cookieString?: string) => string | undefined;
9
+ //#endregion
10
+ export { getCookie as t };
11
+ //# sourceMappingURL=getCookie-DPOvVv_h.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCookie-DPOvVv_h.d.ts","names":[],"sources":["../../src/utils/getCookie.ts"],"mappings":";;AAMA;;;;;cAAa,SAAA,GACX,IAAA,UACA,YAAA"}
@@ -0,0 +1,9 @@
1
+ import { ContentNode } from "@intlayer/types/dictionary";
2
+ import { LocalesValues } from "@intlayer/types/module_augmentation";
3
+ import { NodeType } from "@intlayer/types/nodeType";
4
+
5
+ //#region src/dictionaryManipulator/getDefaultNode.d.ts
6
+ declare const getDefaultNode: (nodeType: NodeType, locales: LocalesValues[], content?: ContentNode) => ContentNode;
7
+ //#endregion
8
+ export { getDefaultNode as t };
9
+ //# sourceMappingURL=getDefaultNode-DQNsje2D.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDefaultNode-DQNsje2D.d.ts","names":[],"sources":["../../src/dictionaryManipulator/getDefaultNode.ts"],"mappings":";;;;;cAIa,cAAA,GACX,QAAA,EAAU,QAAA,EACV,OAAA,EAAS,aAAA,IACT,OAAA,GAAU,WAAA,KACT,WAAA"}
@@ -0,0 +1,7 @@
1
+ import { ContentNode } from "@intlayer/types/dictionary";
2
+
3
+ //#region src/dictionaryManipulator/getEmptyNode.d.ts
4
+ declare const getEmptyNode: (section: ContentNode) => ContentNode;
5
+ //#endregion
6
+ export { getEmptyNode as t };
7
+ //# sourceMappingURL=getEmptyNode-DW27TTBj.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEmptyNode-DW27TTBj.d.ts","names":[],"sources":["../../src/dictionaryManipulator/getEmptyNode.ts"],"mappings":";;;cAGa,YAAA,GAAgB,OAAA,EAAS,WAAA,KAAc,WAAA"}
@@ -0,0 +1,50 @@
1
+ import { v as NodeProps, y as Plugins } from "./index-BnEeKNKW.js";
2
+ import * as _intlayer_types_dictionary0 from "@intlayer/types/dictionary";
3
+ import { ContentNode, Dictionary } from "@intlayer/types/dictionary";
4
+ import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
5
+
6
+ //#region src/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts
7
+ /** Translation plugin. Replaces node with a locale string if nodeType = Translation. */
8
+ declare const filterMissingTranslationsOnlyPlugin: (localeToCheck: LocalesValues) => Plugins;
9
+ /**
10
+ * For each translation node, it compare is both localeToCheck and baseLocale are present.
11
+ *
12
+ * If yes, it should remove the node from the content.
13
+ * If no, it should keep the node
14
+ *
15
+ * In complete mode, for large dictionaries, we want to filter all content that is already translated
16
+ *
17
+ * locale: fr
18
+ *
19
+ * { test1: t({ ar: 'Hello', en: 'Hello', fr: 'Bonjour' } }) -> {}
20
+ * { test2: t({ ar: 'Hello', en: 'Hello' }) } -> { test2: t({ ar: 'Hello', en: 'Hello' }) }
21
+ *
22
+ */
23
+ declare const getFilterMissingTranslationsContent: <T extends ContentNode, L extends LocalesValues = DeclaredLocales>(node: T, localeToCheck: L, nodeProps: NodeProps) => any;
24
+ declare const getFilterMissingTranslationsDictionary: (dictionary: Dictionary, localeToCheck: LocalesValues) => {
25
+ content: any;
26
+ $schema?: "https://intlayer.org/schema.json";
27
+ id?: _intlayer_types_dictionary0.DictionaryId;
28
+ projectIds?: string[];
29
+ localId?: _intlayer_types_dictionary0.LocalDictionaryId;
30
+ localIds?: _intlayer_types_dictionary0.LocalDictionaryId[];
31
+ format?: _intlayer_types_dictionary0.DictionaryFormat;
32
+ key: _intlayer_types_dictionary0.DictionaryKey;
33
+ title?: string;
34
+ description?: string;
35
+ versions?: string[];
36
+ version?: string;
37
+ filePath?: string;
38
+ tags?: string[];
39
+ locale?: LocalesValues;
40
+ contentAutoTransformation?: _intlayer_types_dictionary0.ContentAutoTransformation;
41
+ fill?: _intlayer_types_dictionary0.Fill;
42
+ filled?: true;
43
+ priority?: number;
44
+ importMode?: _intlayer_types_dictionary0.ImportMode;
45
+ location?: _intlayer_types_dictionary0.DictionaryLocation;
46
+ schema: undefined;
47
+ };
48
+ //#endregion
49
+ export { getFilterMissingTranslationsContent as n, getFilterMissingTranslationsDictionary as r, filterMissingTranslationsOnlyPlugin as t };
50
+ //# sourceMappingURL=getFilterMissingTranslationsContent-CDNQqoy1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFilterMissingTranslationsContent-CDNQqoy1.d.ts","names":[],"sources":["../../src/deepTransformPlugins/getFilterMissingTranslationsContent.ts"],"mappings":";;;;;;;cAoMa,mCAAA,GACX,aAAA,EAAe,aAAA,KACd,OAAA;;AAFH;;;;;;;;;AA8LA;;;;cAAa,mCAAA,aACD,WAAA,YACA,aAAA,GAAgB,eAAA,EAE1B,IAAA,EAAM,CAAA,EACN,aAAA,EAAe,CAAA,EACf,SAAA,EAAW,SAAA;AAAA,cAoBA,sCAAA,GACX,UAAA,EAAY,UAAA,EACZ,aAAA,EAAe,aAAA;;;OAAa,2BAAA,CAAA,YAAA"}