@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.
- package/dist/cjs/{_virtual/_rolldown/runtime.cjs → chunk-Bmb41Sf3.cjs} +1 -1
- package/dist/cjs/deepTransformPlugins/getFilterMissingTranslationsContent.cjs +1 -1
- package/dist/cjs/deepTransformPlugins/getFilterMissingTranslationsContent.cjs.map +1 -1
- package/dist/cjs/deepTransformPlugins/getFilterTranslationsOnlyContent.cjs +1 -1
- package/dist/cjs/deepTransformPlugins/getFilterTranslationsOnlyContent.cjs.map +1 -1
- package/dist/cjs/deepTransformPlugins/getFilteredLocalesContent.cjs +1 -1
- package/dist/cjs/deepTransformPlugins/getFilteredLocalesContent.cjs.map +1 -1
- package/dist/cjs/deepTransformPlugins/getLocalizedContent.cjs +1 -1
- package/dist/cjs/deepTransformPlugins/getLocalizedContent.cjs.map +1 -1
- package/dist/cjs/deepTransformPlugins/getMissingLocalesContent.cjs +1 -1
- package/dist/cjs/deepTransformPlugins/getMissingLocalesContent.cjs.map +1 -1
- package/dist/cjs/deepTransformPlugins/getSplittedContent.cjs +1 -1
- package/dist/cjs/deepTransformPlugins/getSplittedContent.cjs.map +1 -1
- package/dist/cjs/deepTransformPlugins/insertContentInDictionary.cjs +1 -1
- package/dist/cjs/deepTransformPlugins/insertContentInDictionary.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/editDictionaryByKeyPath.cjs +1 -1
- package/dist/cjs/dictionaryManipulator/editDictionaryByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getContentNodeByKeyPath.cjs +1 -1
- package/dist/cjs/dictionaryManipulator/getContentNodeByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getDefaultNode.cjs +1 -1
- package/dist/cjs/dictionaryManipulator/getDefaultNode.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getEmptyNode.cjs +1 -1
- package/dist/cjs/dictionaryManipulator/getEmptyNode.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getNodeChildren.cjs +1 -1
- package/dist/cjs/dictionaryManipulator/getNodeChildren.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getNodeType.cjs +1 -1
- package/dist/cjs/dictionaryManipulator/getNodeType.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/mergeDictionaries.cjs +1 -1
- package/dist/cjs/dictionaryManipulator/mergeDictionaries.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/orderDictionaries.cjs +1 -1
- package/dist/cjs/dictionaryManipulator/orderDictionaries.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/removeContentNodeByKeyPath.cjs +1 -1
- package/dist/cjs/dictionaryManipulator/removeContentNodeByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/renameContentNodeByKeyPath.cjs +1 -1
- package/dist/cjs/dictionaryManipulator/renameContentNodeByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/updateNodeChildren.cjs +1 -1
- package/dist/cjs/dictionaryManipulator/updateNodeChildren.cjs.map +1 -1
- package/dist/cjs/formatters/compact.cjs +1 -1
- package/dist/cjs/formatters/compact.cjs.map +1 -1
- package/dist/cjs/formatters/currency.cjs +1 -1
- package/dist/cjs/formatters/currency.cjs.map +1 -1
- package/dist/cjs/formatters/date.cjs +1 -1
- package/dist/cjs/formatters/date.cjs.map +1 -1
- package/dist/cjs/formatters/list.cjs +1 -1
- package/dist/cjs/formatters/list.cjs.map +1 -1
- package/dist/cjs/formatters/number.cjs +1 -1
- package/dist/cjs/formatters/number.cjs.map +1 -1
- package/dist/cjs/formatters/percentage.cjs +1 -1
- package/dist/cjs/formatters/percentage.cjs.map +1 -1
- package/dist/cjs/formatters/relativeTime.cjs +1 -1
- package/dist/cjs/formatters/relativeTime.cjs.map +1 -1
- package/dist/cjs/formatters/units.cjs +1 -1
- package/dist/cjs/formatters/units.cjs.map +1 -1
- package/dist/cjs/getContent-DrqM8pqO.cjs +2 -0
- package/dist/cjs/getContent-DrqM8pqO.cjs.map +1 -0
- package/dist/cjs/getStorageAttributes.cjs +1 -1
- package/dist/cjs/getStorageAttributes.cjs.map +1 -1
- package/dist/cjs/html-CZ1N-VL0.cjs +2 -0
- package/dist/cjs/html-CZ1N-VL0.cjs.map +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/interpreter/getContent/deepTransform.cjs +1 -1
- package/dist/cjs/interpreter/getContent/deepTransform.cjs.map +1 -1
- package/dist/cjs/interpreter/getContent/getContent.cjs +1 -2
- package/dist/cjs/interpreter/getContent/index.cjs +1 -1
- package/dist/cjs/interpreter/getContent/plugins.cjs +1 -2
- package/dist/cjs/interpreter/getDictionary.cjs +1 -2
- package/dist/cjs/interpreter/getIntlayer.cjs +1 -2
- package/dist/cjs/interpreter/getNesting.cjs +1 -2
- package/dist/cjs/interpreter/index.cjs +1 -1
- package/dist/cjs/localization/getBrowserLocale.cjs +1 -1
- package/dist/cjs/localization/getBrowserLocale.cjs.map +1 -1
- package/dist/cjs/localization/getHTMLTextDir.cjs +1 -1
- package/dist/cjs/localization/getHTMLTextDir.cjs.map +1 -1
- package/dist/cjs/localization/getLocale.cjs +1 -1
- package/dist/cjs/localization/getLocale.cjs.map +1 -1
- package/dist/cjs/localization/getLocaleFromPath.cjs +1 -1
- package/dist/cjs/localization/getLocaleFromPath.cjs.map +1 -1
- package/dist/cjs/localization/getLocalizedUrl.cjs +1 -1
- package/dist/cjs/localization/getLocalizedUrl.cjs.map +1 -1
- package/dist/cjs/localization/getMultilingualUrls.cjs +1 -1
- package/dist/cjs/localization/getMultilingualUrls.cjs.map +1 -1
- package/dist/cjs/localization/getPathWithoutLocale.cjs +1 -1
- package/dist/cjs/localization/getPathWithoutLocale.cjs.map +1 -1
- package/dist/cjs/localization/getPrefix.cjs +1 -1
- package/dist/cjs/localization/getPrefix.cjs.map +1 -1
- package/dist/cjs/localization/localeMapper.cjs +1 -1
- package/dist/cjs/localization/localeMapper.cjs.map +1 -1
- package/dist/cjs/localization/localeResolver.cjs +1 -1
- package/dist/cjs/localization/localeResolver.cjs.map +1 -1
- package/dist/cjs/localization/validatePrefix.cjs +1 -1
- package/dist/cjs/localization/validatePrefix.cjs.map +1 -1
- package/dist/cjs/messageFormat/ICU.cjs +1 -1
- package/dist/cjs/messageFormat/ICU.cjs.map +1 -1
- package/dist/cjs/messageFormat/i18next.cjs +1 -1
- package/dist/cjs/messageFormat/i18next.cjs.map +1 -1
- package/dist/cjs/messageFormat/vue-i18n.cjs +1 -1
- package/dist/cjs/messageFormat/vue-i18n.cjs.map +1 -1
- package/dist/cjs/transpiler/condition/condition.cjs +1 -1
- package/dist/cjs/transpiler/condition/condition.cjs.map +1 -1
- package/dist/cjs/transpiler/enumeration/enumeration.cjs +1 -1
- package/dist/cjs/transpiler/enumeration/enumeration.cjs.map +1 -1
- package/dist/cjs/transpiler/file/file.cjs +1 -1
- package/dist/cjs/transpiler/file/file.cjs.map +1 -1
- package/dist/cjs/transpiler/gender/gender.cjs +1 -1
- package/dist/cjs/transpiler/gender/gender.cjs.map +1 -1
- package/dist/cjs/transpiler/html/getHTMLCustomComponents.cjs +1 -2
- package/dist/cjs/transpiler/html/html.cjs +1 -2
- package/dist/cjs/transpiler/html/index.cjs +1 -1
- package/dist/cjs/transpiler/index.cjs +1 -1
- package/dist/cjs/transpiler/insertion/insertion.cjs +1 -1
- package/dist/cjs/transpiler/insertion/insertion.cjs.map +1 -1
- package/dist/cjs/transpiler/markdown/markdown.cjs +1 -1
- package/dist/cjs/transpiler/markdown/markdown.cjs.map +1 -1
- package/dist/cjs/transpiler/nesting/nesting.cjs +1 -1
- package/dist/cjs/transpiler/nesting/nesting.cjs.map +1 -1
- package/dist/cjs/transpiler/translation/translation.cjs +1 -1
- package/dist/cjs/transpiler/translation/translation.cjs.map +1 -1
- package/dist/cjs/utils/intl.cjs +1 -1
- package/dist/cjs/utils/intl.cjs.map +1 -1
- package/dist/cjs/utils/localeStorage.cjs +1 -1
- package/dist/cjs/utils/localeStorage.cjs.map +1 -1
- package/dist/esm/deepTransformPlugins/getLocalizedContent.mjs +1 -1
- package/dist/esm/deepTransformPlugins/getLocalizedContent.mjs.map +1 -1
- package/dist/esm/formatters/list.mjs.map +1 -1
- package/dist/esm/getContent-DKqtIZGL.mjs +2 -0
- package/dist/esm/getContent-DKqtIZGL.mjs.map +1 -0
- package/dist/esm/html-3bo80xzx.mjs +2 -0
- package/dist/esm/html-3bo80xzx.mjs.map +1 -0
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/interpreter/getContent/getContent.mjs +1 -2
- package/dist/esm/interpreter/getContent/index.mjs +1 -1
- package/dist/esm/interpreter/getContent/plugins.mjs +1 -2
- package/dist/esm/interpreter/getDictionary.mjs +1 -2
- package/dist/esm/interpreter/getIntlayer.mjs +1 -2
- package/dist/esm/interpreter/getNesting.mjs +1 -2
- package/dist/esm/interpreter/index.mjs +1 -1
- package/dist/esm/localization/getBrowserLocale.mjs +1 -1
- package/dist/esm/localization/getBrowserLocale.mjs.map +1 -1
- package/dist/esm/localization/getHTMLTextDir.mjs +1 -1
- package/dist/esm/localization/getHTMLTextDir.mjs.map +1 -1
- package/dist/esm/localization/localeMapper.mjs.map +1 -1
- package/dist/esm/messageFormat/ICU.mjs +1 -1
- package/dist/esm/messageFormat/ICU.mjs.map +1 -1
- package/dist/esm/messageFormat/i18next.mjs +1 -1
- package/dist/esm/messageFormat/i18next.mjs.map +1 -1
- package/dist/esm/transpiler/html/getHTMLCustomComponents.mjs +1 -2
- package/dist/esm/transpiler/html/html.mjs +1 -2
- package/dist/esm/transpiler/html/index.mjs +1 -1
- package/dist/esm/transpiler/index.mjs +1 -1
- package/dist/esm/transpiler/markdown/markdown.mjs +1 -1
- package/dist/esm/transpiler/markdown/markdown.mjs.map +1 -1
- package/dist/esm/utils/intl.mjs +1 -1
- package/dist/esm/utils/intl.mjs.map +1 -1
- package/dist/types/ICU-tA3ZHN5U.d.ts +11 -0
- package/dist/types/ICU-tA3ZHN5U.d.ts.map +1 -0
- package/dist/types/checkIsURLAbsolute-CTf3JFU6.d.ts +5 -0
- package/dist/types/checkIsURLAbsolute-CTf3JFU6.d.ts.map +1 -0
- package/dist/types/compact-IHXcM4pT.d.ts +20 -0
- package/dist/types/compact-IHXcM4pT.d.ts.map +1 -0
- package/dist/types/compiler-DFiAsUdH.d.ts +9 -0
- package/dist/types/compiler-DFiAsUdH.d.ts.map +1 -0
- package/dist/types/condition-BDUtoh_1.d.ts +28 -0
- package/dist/types/condition-BDUtoh_1.d.ts.map +1 -0
- package/dist/types/constants-CI_D82B1.d.ts +177 -0
- package/dist/types/constants-CI_D82B1.d.ts.map +1 -0
- package/dist/types/currency-PbMCnHep.d.ts +20 -0
- package/dist/types/currency-PbMCnHep.d.ts.map +1 -0
- package/dist/types/date-C-PI8KqU.d.ts +20 -0
- package/dist/types/date-C-PI8KqU.d.ts.map +1 -0
- package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts +2 -50
- package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts +2 -42
- package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts +2 -34
- package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts +2 -18
- package/dist/types/deepTransformPlugins/getMaskContent.d.ts +2 -10
- package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts +2 -19
- package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts +2 -32
- package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts +2 -8
- package/dist/types/deepTransformPlugins/getSplittedContent.d.ts +2 -43
- package/dist/types/deepTransformPlugins/index.d.ts +10 -10
- package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts +2 -25
- package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts +2 -8
- package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts +2 -9
- package/dist/types/dictionaryManipulator/getDefaultNode.d.ts +2 -9
- package/dist/types/dictionaryManipulator/getEmptyNode.d.ts +2 -7
- package/dist/types/dictionaryManipulator/getNodeChildren.d.ts +2 -7
- package/dist/types/dictionaryManipulator/getNodeType.d.ts +2 -8
- package/dist/types/dictionaryManipulator/index.d.ts +12 -12
- package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts +2 -7
- package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts +2 -9
- package/dist/types/dictionaryManipulator/orderDictionaries.d.ts +2 -15
- package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts +2 -8
- package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts +2 -8
- package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts +2 -7
- package/dist/types/editDictionaryByKeyPath-BYIHcsyf.d.ts +8 -0
- package/dist/types/editDictionaryByKeyPath-BYIHcsyf.d.ts.map +1 -0
- package/dist/types/enumeration-CtuvB5Zz.d.ts +40 -0
- package/dist/types/enumeration-CtuvB5Zz.d.ts.map +1 -0
- package/dist/types/file-C3q8xvQb.d.ts +28 -0
- package/dist/types/file-C3q8xvQb.d.ts.map +1 -0
- package/dist/types/formatters/compact.d.ts +2 -20
- package/dist/types/formatters/currency.d.ts +2 -20
- package/dist/types/formatters/date.d.ts +2 -20
- package/dist/types/formatters/index.d.ts +10 -10
- package/dist/types/formatters/list.d.ts +2 -24
- package/dist/types/formatters/number.d.ts +2 -16
- package/dist/types/formatters/percentage.d.ts +2 -16
- package/dist/types/formatters/relativeTime.d.ts +2 -11
- package/dist/types/formatters/units.d.ts +2 -16
- package/dist/types/gender-Dd39Ijmf.d.ts +29 -0
- package/dist/types/gender-Dd39Ijmf.d.ts.map +1 -0
- package/dist/types/getBrowserLocale-RD_Mwv1t.d.ts +35 -0
- package/dist/types/getBrowserLocale-RD_Mwv1t.d.ts.map +1 -0
- package/dist/types/getContentNodeByKeyPath-B0Tdi5mj.d.ts +9 -0
- package/dist/types/getContentNodeByKeyPath-B0Tdi5mj.d.ts.map +1 -0
- package/dist/types/getCookie-DPOvVv_h.d.ts +11 -0
- package/dist/types/getCookie-DPOvVv_h.d.ts.map +1 -0
- package/dist/types/getDefaultNode-DQNsje2D.d.ts +9 -0
- package/dist/types/getDefaultNode-DQNsje2D.d.ts.map +1 -0
- package/dist/types/getEmptyNode-DW27TTBj.d.ts +7 -0
- package/dist/types/getEmptyNode-DW27TTBj.d.ts.map +1 -0
- package/dist/types/getFilterMissingTranslationsContent-CDNQqoy1.d.ts +50 -0
- package/dist/types/getFilterMissingTranslationsContent-CDNQqoy1.d.ts.map +1 -0
- package/dist/types/getFilterTranslationsOnlyContent-D2YgBkHn.d.ts +42 -0
- package/dist/types/getFilterTranslationsOnlyContent-D2YgBkHn.d.ts.map +1 -0
- package/dist/types/getFilteredLocalesContent-D0GP-uEg.d.ts +34 -0
- package/dist/types/getFilteredLocalesContent-D0GP-uEg.d.ts.map +1 -0
- package/dist/types/getHTML-CP6OXtdo.d.ts +32 -0
- package/dist/types/getHTML-CP6OXtdo.d.ts.map +1 -0
- package/dist/types/getHTMLTextDir-4Zh8J3x7.d.ts +21 -0
- package/dist/types/getHTMLTextDir-4Zh8J3x7.d.ts.map +1 -0
- package/dist/types/getInsertionValues-Cu9IdbuE.d.ts +5 -0
- package/dist/types/getInsertionValues-Cu9IdbuE.d.ts.map +1 -0
- package/dist/types/getLocale-B9dECUM_.d.ts +11 -0
- package/dist/types/getLocale-B9dECUM_.d.ts.map +1 -0
- package/dist/types/getLocaleFromPath-621W32QA.d.ts +26 -0
- package/dist/types/getLocaleFromPath-621W32QA.d.ts.map +1 -0
- package/dist/types/getLocaleLang-Bcan1gS4.d.ts +20 -0
- package/dist/types/getLocaleLang-Bcan1gS4.d.ts.map +1 -0
- package/dist/types/getLocaleName-CfRAD9Hc.d.ts +7 -0
- package/dist/types/getLocaleName-CfRAD9Hc.d.ts.map +1 -0
- package/dist/types/getLocalizedContent-DOncZd-0.d.ts +18 -0
- package/dist/types/getLocalizedContent-DOncZd-0.d.ts.map +1 -0
- package/dist/types/getLocalizedUrl-BbqeA3-W.d.ts +49 -0
- package/dist/types/getLocalizedUrl-BbqeA3-W.d.ts.map +1 -0
- package/dist/types/getMarkdownMetadata-Bf1S1NQ0.d.ts +5 -0
- package/dist/types/getMarkdownMetadata-Bf1S1NQ0.d.ts.map +1 -0
- package/dist/types/getMaskContent-BwLFqp7v.d.ts +10 -0
- package/dist/types/getMaskContent-BwLFqp7v.d.ts.map +1 -0
- package/dist/types/getMissingLocalesContent-BYffYcdx.d.ts +19 -0
- package/dist/types/getMissingLocalesContent-BYffYcdx.d.ts.map +1 -0
- package/dist/types/getMultilingualDictionary-DO3i1MFs.d.ts +32 -0
- package/dist/types/getMultilingualDictionary-DO3i1MFs.d.ts.map +1 -0
- package/dist/types/getMultilingualUrls-CUxYYfA4.d.ts +47 -0
- package/dist/types/getMultilingualUrls-CUxYYfA4.d.ts.map +1 -0
- package/dist/types/getNodeChildren-OT7Liqke.d.ts +7 -0
- package/dist/types/getNodeChildren-OT7Liqke.d.ts.map +1 -0
- package/dist/types/getNodeType-Cp765I26.d.ts +8 -0
- package/dist/types/getNodeType-Cp765I26.d.ts.map +1 -0
- package/dist/types/getPathWithoutLocale-B_aIR7O0.d.ts +31 -0
- package/dist/types/getPathWithoutLocale-B_aIR7O0.d.ts.map +1 -0
- package/dist/types/getPrefix-X9XKkrZD.d.ts +68 -0
- package/dist/types/getPrefix-X9XKkrZD.d.ts.map +1 -0
- package/dist/types/getReplacedValuesContent-BvL25pdt.d.ts +8 -0
- package/dist/types/getReplacedValuesContent-BvL25pdt.d.ts.map +1 -0
- package/dist/types/getSplittedContent-YD4JDMfB.d.ts +43 -0
- package/dist/types/getSplittedContent-YD4JDMfB.d.ts.map +1 -0
- package/dist/types/getStorageAttributes-CIO2xWqQ.d.ts +29 -0
- package/dist/types/getStorageAttributes-CIO2xWqQ.d.ts.map +1 -0
- package/dist/types/getStorageAttributes.d.ts +2 -29
- package/dist/types/getTranslation-BG2Wg-af.d.ts +30 -0
- package/dist/types/getTranslation-BG2Wg-af.d.ts.map +1 -0
- package/dist/types/html-Dn6KrpJ3.d.ts +25 -0
- package/dist/types/html-Dn6KrpJ3.d.ts.map +1 -0
- package/dist/types/htmlTags-YxTtVUx6.d.ts +115 -0
- package/dist/types/htmlTags-YxTtVUx6.d.ts.map +1 -0
- package/dist/types/i18next-qY0AixrB.d.ts +9 -0
- package/dist/types/i18next-qY0AixrB.d.ts.map +1 -0
- package/dist/types/index-1CTsSKEn.d.ts +1 -0
- package/dist/types/index-B8xF2zGo.d.ts +1 -0
- package/dist/types/index-BcsOTSQF.d.ts +1 -0
- package/dist/types/index-BnEeKNKW.d.ts +322 -0
- package/dist/types/index-BnEeKNKW.d.ts.map +1 -0
- package/dist/types/index-Cf8zm5QQ.d.ts +1 -0
- package/dist/types/index-CfvILin8.d.ts +1 -0
- package/dist/types/index-DK_kKFOF.d.ts +1 -0
- package/dist/types/index-DeJa0xZp.d.ts +1 -0
- package/dist/types/index-Vlqtiwjx.d.ts +1 -0
- package/dist/types/index.d.ts +80 -88
- package/dist/types/insertContentInDictionary-DZ3UzG4K.d.ts +25 -0
- package/dist/types/insertContentInDictionary-DZ3UzG4K.d.ts.map +1 -0
- package/dist/types/insertion-M5fwK-29.d.ts +23 -0
- package/dist/types/insertion-M5fwK-29.d.ts.map +1 -0
- package/dist/types/interpreter/getCondition.d.ts +2 -22
- package/dist/types/interpreter/getContent/deepTransform.d.ts +2 -12
- package/dist/types/interpreter/getContent/getContent.d.ts +2 -16
- package/dist/types/interpreter/getContent/index.d.ts +1 -3
- package/dist/types/interpreter/getContent/plugins.d.ts +2 -151
- package/dist/types/interpreter/getDictionary.d.ts +2 -17
- package/dist/types/interpreter/getEnumeration.d.ts +2 -58
- package/dist/types/interpreter/getGender.d.ts +1 -1
- package/dist/types/interpreter/getGender.d.ts.map +1 -1
- package/dist/types/interpreter/getHTML.d.ts +2 -32
- package/dist/types/interpreter/getInsertion.d.ts +1 -1
- package/dist/types/interpreter/getInsertion.d.ts.map +1 -1
- package/dist/types/interpreter/getIntlayer.d.ts +2 -8
- package/dist/types/interpreter/getNesting.d.ts +2 -27
- package/dist/types/interpreter/getTranslation.d.ts +2 -30
- package/dist/types/interpreter/index.d.ts +4 -11
- package/dist/types/interpreter/splitAndJoinInsertion.d.ts +2 -25
- package/dist/types/intl-B2Ap8I5x.d.ts +33 -0
- package/dist/types/intl-B2Ap8I5x.d.ts.map +1 -0
- package/dist/types/isSameKeyPath-CkH8NdJh.d.ts +7 -0
- package/dist/types/isSameKeyPath-CkH8NdJh.d.ts.map +1 -0
- package/dist/types/isValidReactElement-BsoJ01oP.d.ts +12 -0
- package/dist/types/isValidReactElement-BsoJ01oP.d.ts.map +1 -0
- package/dist/types/list-BdjJM2Gx.d.ts +30 -0
- package/dist/types/list-BdjJM2Gx.d.ts.map +1 -0
- package/dist/types/localeDetector-BWNCQRiZ.d.ts +18 -0
- package/dist/types/localeDetector-BWNCQRiZ.d.ts.map +1 -0
- package/dist/types/localeMapper-DoAnasqf.d.ts +92 -0
- package/dist/types/localeMapper-DoAnasqf.d.ts.map +1 -0
- package/dist/types/localeResolver-bb7AWQNX.d.ts +12 -0
- package/dist/types/localeResolver-bb7AWQNX.d.ts.map +1 -0
- package/dist/types/localeStorage-CZHwY0u3.d.ts +108 -0
- package/dist/types/localeStorage-CZHwY0u3.d.ts.map +1 -0
- package/dist/types/localization/getBrowserLocale.d.ts +2 -35
- package/dist/types/localization/getHTMLTextDir.d.ts +2 -21
- package/dist/types/localization/getLocale.d.ts +2 -11
- package/dist/types/localization/getLocaleFromPath.d.ts +2 -26
- package/dist/types/localization/getLocaleLang.d.ts +2 -20
- package/dist/types/localization/getLocaleName.d.ts +2 -7
- package/dist/types/localization/getLocalizedUrl.d.ts +2 -49
- package/dist/types/localization/getMultilingualUrls.d.ts +2 -47
- package/dist/types/localization/getPathWithoutLocale.d.ts +2 -31
- package/dist/types/localization/getPrefix.d.ts +2 -68
- package/dist/types/localization/index.d.ts +16 -16
- package/dist/types/localization/localeDetector.d.ts +2 -18
- package/dist/types/localization/localeMapper.d.ts +2 -92
- package/dist/types/localization/localeResolver.d.ts +2 -12
- package/dist/types/localization/rewriteUtils.d.ts +2 -34
- package/dist/types/localization/validatePrefix.d.ts +2 -38
- package/dist/types/markdown/compiler.d.ts +2 -9
- package/dist/types/markdown/constants.d.ts +2 -177
- package/dist/types/markdown/index.d.ts +10 -10
- package/dist/types/markdown/parser.d.ts +2 -16
- package/dist/types/markdown/renderer.d.ts +2 -22
- package/dist/types/markdown/types.d.ts +2 -333
- package/dist/types/markdown/utils.d.ts +2 -140
- package/dist/types/markdown-MzfikrI1.d.ts +26 -0
- package/dist/types/markdown-MzfikrI1.d.ts.map +1 -0
- package/dist/types/mergeDictionaries-D6WUMQN5.d.ts +7 -0
- package/dist/types/mergeDictionaries-D6WUMQN5.d.ts.map +1 -0
- package/dist/types/messageFormat/ICU.d.ts +2 -11
- package/dist/types/messageFormat/i18next.d.ts +2 -9
- package/dist/types/messageFormat/index.d.ts +3 -3
- package/dist/types/messageFormat/vue-i18n.d.ts +2 -9
- package/dist/types/normalizeDictionary-coviIGTW.d.ts +9 -0
- package/dist/types/normalizeDictionary-coviIGTW.d.ts.map +1 -0
- package/dist/types/number-C8izkCmU.d.ts +16 -0
- package/dist/types/number-C8izkCmU.d.ts.map +1 -0
- package/dist/types/orderDictionaries-SSCMY6qG.d.ts +15 -0
- package/dist/types/orderDictionaries-SSCMY6qG.d.ts.map +1 -0
- package/dist/types/parseYaml-D5gxutvA.d.ts +5 -0
- package/dist/types/parseYaml-D5gxutvA.d.ts.map +1 -0
- package/dist/types/parser-BVwR6Tjw.d.ts +16 -0
- package/dist/types/parser-BVwR6Tjw.d.ts.map +1 -0
- package/dist/types/percentage-BqsvW0Zw.d.ts +16 -0
- package/dist/types/percentage-BqsvW0Zw.d.ts.map +1 -0
- package/dist/types/relativeTime-mJaYEq7H.d.ts +11 -0
- package/dist/types/relativeTime-mJaYEq7H.d.ts.map +1 -0
- package/dist/types/removeContentNodeByKeyPath-CotCOOsD.d.ts +8 -0
- package/dist/types/removeContentNodeByKeyPath-CotCOOsD.d.ts.map +1 -0
- package/dist/types/renameContentNodeByKeyPath-BuyH5gOr.d.ts +8 -0
- package/dist/types/renameContentNodeByKeyPath-BuyH5gOr.d.ts.map +1 -0
- package/dist/types/renderer-C06x2Orf.d.ts +22 -0
- package/dist/types/renderer-C06x2Orf.d.ts.map +1 -0
- package/dist/types/rewriteUtils-Bd82NiGR.d.ts +34 -0
- package/dist/types/rewriteUtils-Bd82NiGR.d.ts.map +1 -0
- package/dist/types/splitAndJoinInsertion-bkuLa7o2.d.ts +25 -0
- package/dist/types/splitAndJoinInsertion-bkuLa7o2.d.ts.map +1 -0
- package/dist/types/translation-CiC-Avxc.d.ts +33 -0
- package/dist/types/translation-CiC-Avxc.d.ts.map +1 -0
- package/dist/types/transpiler/condition/condition.d.ts +2 -28
- package/dist/types/transpiler/condition/index.d.ts +1 -1
- package/dist/types/transpiler/enumeration/enumeration.d.ts +2 -40
- package/dist/types/transpiler/enumeration/index.d.ts +1 -1
- package/dist/types/transpiler/file/file.d.ts +2 -28
- package/dist/types/transpiler/file/fileBrowser.d.ts +1 -1
- package/dist/types/transpiler/file/index.d.ts +1 -1
- package/dist/types/transpiler/gender/gender.d.ts +2 -29
- package/dist/types/transpiler/gender/index.d.ts +1 -1
- package/dist/types/transpiler/html/html.d.ts +2 -25
- package/dist/types/transpiler/html/htmlTags.d.ts +2 -115
- package/dist/types/transpiler/html/index.d.ts +3 -3
- package/dist/types/transpiler/html/validateHTML.d.ts +2 -21
- package/dist/types/transpiler/index.d.ts +15 -15
- package/dist/types/transpiler/insertion/getInsertionValues.d.ts +2 -5
- package/dist/types/transpiler/insertion/index.d.ts +2 -2
- package/dist/types/transpiler/insertion/insertion.d.ts +2 -23
- package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts +2 -5
- package/dist/types/transpiler/markdown/index.d.ts +4 -4
- package/dist/types/transpiler/markdown/markdown.d.ts +2 -26
- package/dist/types/transpiler/markdown/validateMarkdown.d.ts +3 -18
- package/dist/types/transpiler/nesting/index.d.ts +1 -1
- package/dist/types/transpiler/nesting/nesting.d.ts +2 -49
- package/dist/types/transpiler/translation/index.d.ts +1 -1
- package/dist/types/transpiler/translation/translation.d.ts +2 -33
- package/dist/types/types-C2Om0aEM.d.ts +333 -0
- package/dist/types/types-C2Om0aEM.d.ts.map +1 -0
- package/dist/types/units-CouGqa8j.d.ts +16 -0
- package/dist/types/units-CouGqa8j.d.ts.map +1 -0
- package/dist/types/updateNodeChildren-B5Tu1UBZ.d.ts +7 -0
- package/dist/types/updateNodeChildren-B5Tu1UBZ.d.ts.map +1 -0
- package/dist/types/utils/checkIsURLAbsolute.d.ts +2 -5
- package/dist/types/utils/getCookie.d.ts +2 -11
- package/dist/types/utils/index.d.ts +8 -8
- package/dist/types/utils/intl.d.ts +2 -33
- package/dist/types/utils/isSameKeyPath.d.ts +2 -7
- package/dist/types/utils/isValidReactElement.d.ts +2 -12
- package/dist/types/utils/localeStorage.d.ts +2 -108
- package/dist/types/utils/parseYaml.d.ts +2 -5
- package/dist/types/utils-Dcmgh_80.d.ts +140 -0
- package/dist/types/utils-Dcmgh_80.d.ts.map +1 -0
- package/dist/types/validateHTML-U7UKTtFd.d.ts +21 -0
- package/dist/types/validateHTML-U7UKTtFd.d.ts.map +1 -0
- package/dist/types/validateMarkdown-BUaTDDIu.d.ts +18 -0
- package/dist/types/validateMarkdown-BUaTDDIu.d.ts.map +1 -0
- package/dist/types/validatePrefix-Dtmg7QLq.d.ts +38 -0
- package/dist/types/validatePrefix-Dtmg7QLq.d.ts.map +1 -0
- package/dist/types/vue-i18n-JtUB7N_m.d.ts +9 -0
- package/dist/types/vue-i18n-JtUB7N_m.d.ts.map +1 -0
- package/package.json +6 -6
- package/dist/cjs/interpreter/getContent/getContent.cjs.map +0 -1
- package/dist/cjs/interpreter/getContent/plugins.cjs.map +0 -1
- package/dist/cjs/interpreter/getDictionary.cjs.map +0 -1
- package/dist/cjs/interpreter/getIntlayer.cjs.map +0 -1
- package/dist/cjs/interpreter/getNesting.cjs.map +0 -1
- package/dist/cjs/transpiler/html/getHTMLCustomComponents.cjs.map +0 -1
- package/dist/cjs/transpiler/html/html.cjs.map +0 -1
- package/dist/esm/interpreter/getContent/getContent.mjs.map +0 -1
- package/dist/esm/interpreter/getContent/plugins.mjs.map +0 -1
- package/dist/esm/interpreter/getDictionary.mjs.map +0 -1
- package/dist/esm/interpreter/getIntlayer.mjs.map +0 -1
- package/dist/esm/interpreter/getNesting.mjs.map +0 -1
- package/dist/esm/transpiler/html/getHTMLCustomComponents.mjs.map +0 -1
- package/dist/esm/transpiler/html/html.mjs.map +0 -1
- package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts.map +0 -1
- package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts.map +0 -1
- package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts.map +0 -1
- package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts.map +0 -1
- package/dist/types/deepTransformPlugins/getMaskContent.d.ts.map +0 -1
- package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts.map +0 -1
- package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts.map +0 -1
- package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts.map +0 -1
- package/dist/types/deepTransformPlugins/getSplittedContent.d.ts.map +0 -1
- package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/getDefaultNode.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/getEmptyNode.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/getNodeChildren.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/getNodeType.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/orderDictionaries.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts.map +0 -1
- package/dist/types/formatters/compact.d.ts.map +0 -1
- package/dist/types/formatters/currency.d.ts.map +0 -1
- package/dist/types/formatters/date.d.ts.map +0 -1
- package/dist/types/formatters/list.d.ts.map +0 -1
- package/dist/types/formatters/number.d.ts.map +0 -1
- package/dist/types/formatters/percentage.d.ts.map +0 -1
- package/dist/types/formatters/relativeTime.d.ts.map +0 -1
- package/dist/types/formatters/units.d.ts.map +0 -1
- package/dist/types/getStorageAttributes.d.ts.map +0 -1
- package/dist/types/interpreter/getCondition.d.ts.map +0 -1
- package/dist/types/interpreter/getContent/deepTransform.d.ts.map +0 -1
- package/dist/types/interpreter/getContent/getContent.d.ts.map +0 -1
- package/dist/types/interpreter/getContent/plugins.d.ts.map +0 -1
- package/dist/types/interpreter/getDictionary.d.ts.map +0 -1
- package/dist/types/interpreter/getEnumeration.d.ts.map +0 -1
- package/dist/types/interpreter/getHTML.d.ts.map +0 -1
- package/dist/types/interpreter/getIntlayer.d.ts.map +0 -1
- package/dist/types/interpreter/getNesting.d.ts.map +0 -1
- package/dist/types/interpreter/getTranslation.d.ts.map +0 -1
- package/dist/types/interpreter/splitAndJoinInsertion.d.ts.map +0 -1
- package/dist/types/localization/getBrowserLocale.d.ts.map +0 -1
- package/dist/types/localization/getHTMLTextDir.d.ts.map +0 -1
- package/dist/types/localization/getLocale.d.ts.map +0 -1
- package/dist/types/localization/getLocaleFromPath.d.ts.map +0 -1
- package/dist/types/localization/getLocaleLang.d.ts.map +0 -1
- package/dist/types/localization/getLocaleName.d.ts.map +0 -1
- package/dist/types/localization/getLocalizedUrl.d.ts.map +0 -1
- package/dist/types/localization/getMultilingualUrls.d.ts.map +0 -1
- package/dist/types/localization/getPathWithoutLocale.d.ts.map +0 -1
- package/dist/types/localization/getPrefix.d.ts.map +0 -1
- package/dist/types/localization/localeDetector.d.ts.map +0 -1
- package/dist/types/localization/localeMapper.d.ts.map +0 -1
- package/dist/types/localization/localeResolver.d.ts.map +0 -1
- package/dist/types/localization/rewriteUtils.d.ts.map +0 -1
- package/dist/types/localization/validatePrefix.d.ts.map +0 -1
- package/dist/types/markdown/compiler.d.ts.map +0 -1
- package/dist/types/markdown/constants.d.ts.map +0 -1
- package/dist/types/markdown/parser.d.ts.map +0 -1
- package/dist/types/markdown/renderer.d.ts.map +0 -1
- package/dist/types/markdown/types.d.ts.map +0 -1
- package/dist/types/markdown/utils.d.ts.map +0 -1
- package/dist/types/messageFormat/ICU.d.ts.map +0 -1
- package/dist/types/messageFormat/i18next.d.ts.map +0 -1
- package/dist/types/messageFormat/vue-i18n.d.ts.map +0 -1
- package/dist/types/transpiler/condition/condition.d.ts.map +0 -1
- package/dist/types/transpiler/enumeration/enumeration.d.ts.map +0 -1
- package/dist/types/transpiler/file/file.d.ts.map +0 -1
- package/dist/types/transpiler/gender/gender.d.ts.map +0 -1
- package/dist/types/transpiler/html/html.d.ts.map +0 -1
- package/dist/types/transpiler/html/htmlTags.d.ts.map +0 -1
- package/dist/types/transpiler/html/validateHTML.d.ts.map +0 -1
- package/dist/types/transpiler/insertion/getInsertionValues.d.ts.map +0 -1
- package/dist/types/transpiler/insertion/insertion.d.ts.map +0 -1
- package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts.map +0 -1
- package/dist/types/transpiler/markdown/markdown.d.ts.map +0 -1
- package/dist/types/transpiler/markdown/validateMarkdown.d.ts.map +0 -1
- package/dist/types/transpiler/nesting/nesting.d.ts.map +0 -1
- package/dist/types/transpiler/translation/translation.d.ts.map +0 -1
- package/dist/types/utils/checkIsURLAbsolute.d.ts.map +0 -1
- package/dist/types/utils/getCookie.d.ts.map +0 -1
- package/dist/types/utils/intl.d.ts.map +0 -1
- package/dist/types/utils/isSameKeyPath.d.ts.map +0 -1
- package/dist/types/utils/isValidReactElement.d.ts.map +0 -1
- package/dist/types/utils/localeStorage.d.ts.map +0 -1
- package/dist/types/utils/parseYaml.d.ts.map +0 -1
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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 "
|
|
2
|
-
import { getContentNodeByKeyPath } from "
|
|
3
|
-
import { getDefaultNode } from "
|
|
4
|
-
import { getEmptyNode } from "
|
|
5
|
-
import { getNodeChildren } from "
|
|
6
|
-
import { getNodeType } from "
|
|
7
|
-
import { mergeDictionaries } from "
|
|
8
|
-
import {
|
|
9
|
-
import { orderDictionaries } from "
|
|
10
|
-
import { removeContentNodeByKeyPath } from "
|
|
11
|
-
import { renameContentNodeByKeyPath } from "
|
|
12
|
-
import { updateNodeChildren } from "
|
|
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 {
|
|
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 {
|
|
2
|
-
|
|
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 {
|
|
2
|
-
|
|
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 {
|
|
2
|
-
|
|
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 {
|
|
2
|
-
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 "
|
|
2
|
-
import { currency } from "
|
|
3
|
-
import { date } from "
|
|
4
|
-
import {
|
|
5
|
-
import { list } from "
|
|
6
|
-
import { number } from "
|
|
7
|
-
import { percentage } from "
|
|
8
|
-
import { relativeTime } from "
|
|
9
|
-
import { units } from "
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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"}
|