@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
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ContentNode, Dictionary } from "@intlayer/types/dictionary";
|
|
2
|
+
import { DeclaredLocales } from "@intlayer/types/module_augmentation";
|
|
3
|
+
|
|
4
|
+
//#region src/deepTransformPlugins/getSplittedContent.d.ts
|
|
5
|
+
type SplittedContentOutput<T = ContentNode> = Record<DeclaredLocales, T> & {
|
|
6
|
+
common: T;
|
|
7
|
+
};
|
|
8
|
+
declare const getSplittedContent: (content: ContentNode) => SplittedContentOutput;
|
|
9
|
+
/**
|
|
10
|
+
* Splits the `content` field of a Dictionary into "common" and per-locale buckets.
|
|
11
|
+
*
|
|
12
|
+
* Given a dictionary like:
|
|
13
|
+
* ```js
|
|
14
|
+
* {
|
|
15
|
+
* key: "my-key",
|
|
16
|
+
* content: {
|
|
17
|
+
* commonContent: "common content",
|
|
18
|
+
* multilingualContent: t({
|
|
19
|
+
* en: "english content",
|
|
20
|
+
* fr: "french content",
|
|
21
|
+
* de: "german content",
|
|
22
|
+
* }),
|
|
23
|
+
* },
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* It produces:
|
|
28
|
+
* ```js
|
|
29
|
+
* {
|
|
30
|
+
* common: { commonContent: "common content" },
|
|
31
|
+
* en: { multilingualContent: "english content" },
|
|
32
|
+
* fr: { multilingualContent: "french content" },
|
|
33
|
+
* de: { multilingualContent: "german content" },
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @param dictionary - The input dictionary object with possible multilingual or common content.
|
|
38
|
+
* @returns An object mapping "common" and each locale to their corresponding content subtrees.
|
|
39
|
+
*/
|
|
40
|
+
declare const getSplittedDictionaryContent: (dictionary: Dictionary) => SplittedContentOutput<Dictionary["content"]>;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { getSplittedDictionaryContent as n, getSplittedContent as t };
|
|
43
|
+
//# sourceMappingURL=getSplittedContent-YD4JDMfB.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSplittedContent-YD4JDMfB.d.ts","names":[],"sources":["../../src/deepTransformPlugins/getSplittedContent.ts"],"mappings":";;;;KAIK,qBAAA,KAA0B,WAAA,IAAe,MAAA,CAAO,eAAA,EAAiB,CAAA;EACpE,MAAA,EAAQ,CAAA;AAAA;AAAA,cAsKG,kBAAA,GACX,OAAA,EAAS,WAAA,KACR,qBAAA;;;;;;;;;;;;;;;;;;AAFH;;;;;;;;;AAoDA;;;;;cAAa,4BAAA,GACX,UAAA,EAAY,UAAA,KACX,qBAAA,CAAsB,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CookiesAttributes, IntlayerConfig } from "@intlayer/types/config";
|
|
2
|
+
|
|
3
|
+
//#region src/getStorageAttributes.d.ts
|
|
4
|
+
type CookieEntry = {
|
|
5
|
+
name: string;
|
|
6
|
+
attributes: Omit<CookiesAttributes, 'type' | 'name'>;
|
|
7
|
+
};
|
|
8
|
+
type WebStorageEntry = {
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
11
|
+
type HeaderEntry = {
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
type ProcessedStorageAttributes = {
|
|
15
|
+
cookies: CookieEntry[];
|
|
16
|
+
localStorage: WebStorageEntry[];
|
|
17
|
+
sessionStorage: WebStorageEntry[];
|
|
18
|
+
headers: HeaderEntry[];
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Extracts and normalizes storage configuration into separate arrays for each storage type
|
|
22
|
+
*
|
|
23
|
+
* @param options - The storage configuration from IntlayerConfig
|
|
24
|
+
* @returns An object containing arrays for cookies, localStorage, and sessionStorage
|
|
25
|
+
*/
|
|
26
|
+
declare const getStorageAttributes: (options: IntlayerConfig["routing"]["storage"]) => ProcessedStorageAttributes;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { getStorageAttributes as n, ProcessedStorageAttributes as t };
|
|
29
|
+
//# sourceMappingURL=getStorageAttributes-CIO2xWqQ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStorageAttributes-CIO2xWqQ.d.ts","names":[],"sources":["../../src/getStorageAttributes.ts"],"mappings":";;;KAOK,WAAA;EACH,IAAA;EACA,UAAA,EAAY,IAAA,CAAK,iBAAA;AAAA;AAAA,KAGd,eAAA;EACH,IAAA;AAAA;AAAA,KAGG,WAAA;EACH,IAAA;AAAA;AAAA,KAGU,0BAAA;EACV,OAAA,EAAS,WAAA;EACT,YAAA,EAAc,eAAA;EACd,cAAA,EAAgB,eAAA;EAChB,OAAA,EAAS,WAAA;AAAA;;AAXL;;;;;cAkMO,oBAAA,GACX,OAAA,EAAS,cAAA,2BACR,0BAAA"}
|
|
@@ -1,29 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/getStorageAttributes.d.ts
|
|
4
|
-
type CookieEntry = {
|
|
5
|
-
name: string;
|
|
6
|
-
attributes: Omit<CookiesAttributes, 'type' | 'name'>;
|
|
7
|
-
};
|
|
8
|
-
type WebStorageEntry = {
|
|
9
|
-
name: string;
|
|
10
|
-
};
|
|
11
|
-
type HeaderEntry = {
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
type ProcessedStorageAttributes = {
|
|
15
|
-
cookies: CookieEntry[];
|
|
16
|
-
localStorage: WebStorageEntry[];
|
|
17
|
-
sessionStorage: WebStorageEntry[];
|
|
18
|
-
headers: HeaderEntry[];
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Extracts and normalizes storage configuration into separate arrays for each storage type
|
|
22
|
-
*
|
|
23
|
-
* @param options - The storage configuration from IntlayerConfig
|
|
24
|
-
* @returns An object containing arrays for cookies, localStorage, and sessionStorage
|
|
25
|
-
*/
|
|
26
|
-
declare const getStorageAttributes: (options: IntlayerConfig["routing"]["storage"]) => ProcessedStorageAttributes;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { ProcessedStorageAttributes, getStorageAttributes };
|
|
29
|
-
//# sourceMappingURL=getStorageAttributes.d.ts.map
|
|
1
|
+
import { n as getStorageAttributes, t as ProcessedStorageAttributes } from "./getStorageAttributes-CIO2xWqQ.js";
|
|
2
|
+
export { ProcessedStorageAttributes, getStorageAttributes };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
|
|
2
|
+
|
|
3
|
+
//#region src/interpreter/getTranslation.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Picks the appropriate content from a locale map based on the provided locale.
|
|
6
|
+
*
|
|
7
|
+
* It handles:
|
|
8
|
+
* 1. Exact locale match (e.g., 'en-US').
|
|
9
|
+
* 2. Generic locale fallback (e.g., 'en' if 'en-US' is not found).
|
|
10
|
+
* 3. Explicit fallback locale.
|
|
11
|
+
* 4. Deep merging of objects to ensure partial translations are complemented by fallbacks.
|
|
12
|
+
*
|
|
13
|
+
* @param languageContent - A map of locales to content.
|
|
14
|
+
* @param locale - The target locale to retrieve.
|
|
15
|
+
* @param fallback - Optional fallback locale if the target is not found.
|
|
16
|
+
* @returns The translated content.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* const content = getTranslation({
|
|
21
|
+
* en: 'Hello',
|
|
22
|
+
* fr: 'Bonjour',
|
|
23
|
+
* }, 'fr');
|
|
24
|
+
* // 'Bonjour'
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
declare const getTranslation: <Content = string>(languageContent: StrictModeLocaleMap<Content>, locale: LocalesValues, fallback?: LocalesValues) => Content;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { getTranslation as t };
|
|
30
|
+
//# sourceMappingURL=getTranslation-BG2Wg-af.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTranslation-BG2Wg-af.d.ts","names":[],"sources":["../../src/interpreter/getTranslation.ts"],"mappings":";;;;;AAsHA;;;;;;;;;;;;;;;;;;;;;cAAa,cAAA,qBACX,eAAA,EAAiB,mBAAA,CAAoB,OAAA,GACrC,MAAA,EAAQ,aAAA,EACR,QAAA,GAAW,aAAA,KACV,OAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { NodeType, TypedNodeModel } from "@intlayer/types/nodeType";
|
|
2
|
+
|
|
3
|
+
//#region src/transpiler/html/html.d.ts
|
|
4
|
+
type PropsType = 'number' | 'string' | 'node';
|
|
5
|
+
type ComponentName = string;
|
|
6
|
+
type HTMLContentConstructor<Content = unknown, T extends Record<string, any> = {}> = TypedNodeModel<NodeType.HTML, Content, T>;
|
|
7
|
+
type HTMLContent<Content = unknown, Components extends Record<ComponentName, PropsType> = Record<ComponentName, PropsType>> = HTMLContentConstructor<Content, {
|
|
8
|
+
tags: string[] | Components;
|
|
9
|
+
}>;
|
|
10
|
+
/**
|
|
11
|
+
* Function intended to be used to build intlayer dictionaries.
|
|
12
|
+
*
|
|
13
|
+
* Allow to parse HTML/JSX-like strings and replace tags with components during interpretation.
|
|
14
|
+
*
|
|
15
|
+
* Usage:
|
|
16
|
+
*
|
|
17
|
+
* ```ts
|
|
18
|
+
* html('Hello <b>World</b>')
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
declare const html: <Components extends Record<string, any> = Record<string, any>, Content = unknown>(content: Content, components?: Components) => HTMLContent<Content, Components>;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { HTMLContentConstructor as n, html as r, HTMLContent as t };
|
|
25
|
+
//# sourceMappingURL=html-Dn6KrpJ3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-Dn6KrpJ3.d.ts","names":[],"sources":["../../src/transpiler/html/html.ts"],"mappings":";;;KAKK,SAAA;AAAA,KAEA,aAAA;AAAA,KAEO,sBAAA,8BAEA,MAAA,sBACR,cAAA,CAAe,QAAA,CAAS,IAAA,EAAM,OAAA,EAAS,CAAA;AAAA,KAE/B,WAAA,uCAES,MAAA,CAAO,aAAA,EAAe,SAAA,IAAa,MAAA,CACpD,aAAA,EACA,SAAA,KAEA,sBAAA,CACF,OAAA;EAEE,IAAA,aAAiB,UAAA;AAAA;AAlBP;;;;;AAId;;;;;;;AAJc,cAkCD,IAAA,sBACQ,MAAA,gBAAsB,MAAA,kCAGzC,OAAA,EAAS,OAAA,EACT,UAAA,GAAa,UAAA,KACZ,WAAA,CAAY,OAAA,EAAS,UAAA"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
//#region src/transpiler/html/htmlTags.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* List of standard HTML tags to provide as default components.
|
|
4
|
+
* These allow users to use standard HTML tags in their html() content
|
|
5
|
+
* without having to pass them explicitly.
|
|
6
|
+
*
|
|
7
|
+
* Used by framework-specific plugins (react-intlayer, vue-intlayer, etc.)
|
|
8
|
+
* to create default HTML tag components.
|
|
9
|
+
*/
|
|
10
|
+
declare const HTML_TAGS: readonly ["html", "head", "body", "main", "header", "footer", "nav", "aside", "article", "section", "div", "span", "h1", "h2", "h3", "h4", "h5", "h6", "p", "a", "strong", "b", "em", "i", "u", "s", "del", "ins", "mark", "small", "sub", "sup", "code", "pre", "blockquote", "q", "cite", "abbr", "address", "time", "kbd", "samp", "var", "ul", "ol", "li", "dl", "dt", "dd", "table", "thead", "tbody", "tfoot", "tr", "th", "td", "caption", "colgroup", "col", "form", "input", "textarea", "button", "select", "option", "optgroup", "label", "fieldset", "legend", "datalist", "output", "progress", "meter", "img", "video", "audio", "source", "track", "picture", "figure", "figcaption", "iframe", "embed", "object", "canvas", "svg", "details", "summary", "dialog", "br", "hr", "wbr", "ruby", "rt", "rp", "bdi", "bdo", "data", "template", "slot"];
|
|
11
|
+
type HTMLTagsType = {
|
|
12
|
+
html: HTMLHtmlElement;
|
|
13
|
+
head: HTMLHeadElement;
|
|
14
|
+
body: HTMLBodyElement;
|
|
15
|
+
main: HTMLElement;
|
|
16
|
+
header: HTMLElement;
|
|
17
|
+
footer: HTMLElement;
|
|
18
|
+
nav: HTMLElement;
|
|
19
|
+
aside: HTMLElement;
|
|
20
|
+
article: HTMLElement;
|
|
21
|
+
section: HTMLElement;
|
|
22
|
+
div: HTMLDivElement;
|
|
23
|
+
span: HTMLSpanElement;
|
|
24
|
+
h1: HTMLHeadingElement;
|
|
25
|
+
h2: HTMLHeadingElement;
|
|
26
|
+
h3: HTMLHeadingElement;
|
|
27
|
+
h4: HTMLHeadingElement;
|
|
28
|
+
h5: HTMLHeadingElement;
|
|
29
|
+
h6: HTMLHeadingElement;
|
|
30
|
+
p: HTMLParagraphElement;
|
|
31
|
+
a: HTMLAnchorElement;
|
|
32
|
+
strong: HTMLElement;
|
|
33
|
+
b: HTMLElement;
|
|
34
|
+
em: HTMLElement;
|
|
35
|
+
i: HTMLElement;
|
|
36
|
+
u: HTMLElement;
|
|
37
|
+
s: HTMLElement;
|
|
38
|
+
del: HTMLModElement;
|
|
39
|
+
ins: HTMLModElement;
|
|
40
|
+
mark: HTMLElement;
|
|
41
|
+
small: HTMLElement;
|
|
42
|
+
sub: HTMLElement;
|
|
43
|
+
sup: HTMLElement;
|
|
44
|
+
code: HTMLElement;
|
|
45
|
+
pre: HTMLPreElement;
|
|
46
|
+
blockquote: HTMLQuoteElement;
|
|
47
|
+
q: HTMLQuoteElement;
|
|
48
|
+
cite: HTMLElement;
|
|
49
|
+
abbr: HTMLElement;
|
|
50
|
+
address: HTMLElement;
|
|
51
|
+
time: HTMLTimeElement;
|
|
52
|
+
kbd: HTMLElement;
|
|
53
|
+
samp: HTMLElement;
|
|
54
|
+
var: HTMLElement;
|
|
55
|
+
ul: HTMLUListElement;
|
|
56
|
+
ol: HTMLOListElement;
|
|
57
|
+
li: HTMLLIElement;
|
|
58
|
+
dl: HTMLDListElement;
|
|
59
|
+
dt: HTMLElement;
|
|
60
|
+
dd: HTMLElement;
|
|
61
|
+
table: HTMLTableElement;
|
|
62
|
+
thead: HTMLTableSectionElement;
|
|
63
|
+
tbody: HTMLTableSectionElement;
|
|
64
|
+
tfoot: HTMLTableSectionElement;
|
|
65
|
+
tr: HTMLTableRowElement;
|
|
66
|
+
th: HTMLTableCellElement;
|
|
67
|
+
td: HTMLTableCellElement;
|
|
68
|
+
caption: HTMLTableCaptionElement;
|
|
69
|
+
colgroup: HTMLTableColElement;
|
|
70
|
+
col: HTMLTableColElement;
|
|
71
|
+
form: HTMLFormElement;
|
|
72
|
+
input: HTMLInputElement;
|
|
73
|
+
textarea: HTMLTextAreaElement;
|
|
74
|
+
button: HTMLButtonElement;
|
|
75
|
+
select: HTMLSelectElement;
|
|
76
|
+
option: HTMLOptionElement;
|
|
77
|
+
optgroup: HTMLOptGroupElement;
|
|
78
|
+
label: HTMLLabelElement;
|
|
79
|
+
fieldset: HTMLFieldSetElement;
|
|
80
|
+
legend: HTMLLegendElement;
|
|
81
|
+
datalist: HTMLDataListElement;
|
|
82
|
+
output: HTMLOutputElement;
|
|
83
|
+
progress: HTMLProgressElement;
|
|
84
|
+
meter: HTMLMeterElement;
|
|
85
|
+
img: HTMLImageElement;
|
|
86
|
+
video: HTMLVideoElement;
|
|
87
|
+
audio: HTMLAudioElement;
|
|
88
|
+
source: HTMLSourceElement;
|
|
89
|
+
track: HTMLTrackElement;
|
|
90
|
+
picture: HTMLPictureElement;
|
|
91
|
+
figure: HTMLElement;
|
|
92
|
+
figcaption: HTMLElement;
|
|
93
|
+
iframe: HTMLIFrameElement;
|
|
94
|
+
embed: HTMLEmbedElement;
|
|
95
|
+
object: HTMLObjectElement;
|
|
96
|
+
canvas: HTMLCanvasElement;
|
|
97
|
+
svg: SVGSVGElement;
|
|
98
|
+
details: HTMLDetailsElement;
|
|
99
|
+
summary: HTMLElement;
|
|
100
|
+
dialog: HTMLDialogElement;
|
|
101
|
+
br: HTMLBRElement;
|
|
102
|
+
hr: HTMLHRElement;
|
|
103
|
+
wbr: HTMLElement;
|
|
104
|
+
ruby: HTMLElement;
|
|
105
|
+
rt: HTMLElement;
|
|
106
|
+
rp: HTMLElement;
|
|
107
|
+
bdi: HTMLElement;
|
|
108
|
+
bdo: HTMLElement;
|
|
109
|
+
data: HTMLDataElement;
|
|
110
|
+
template: HTMLTemplateElement;
|
|
111
|
+
slot: HTMLSlotElement;
|
|
112
|
+
};
|
|
113
|
+
//#endregion
|
|
114
|
+
export { HTML_TAGS as n, HTMLTagsType as t };
|
|
115
|
+
//# sourceMappingURL=htmlTags-YxTtVUx6.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"htmlTags-YxTtVUx6.d.ts","names":[],"sources":["../../src/transpiler/html/htmlTags.ts"],"mappings":";;AAQA;;;;;AAgHA;;cAhHa,SAAA;AAAA,KAgHD,YAAA;EAEV,IAAA,EAAM,eAAA;EACN,IAAA,EAAM,eAAA;EACN,IAAA,EAAM,eAAA;EACN,IAAA,EAAM,WAAA;EACN,MAAA,EAAQ,WAAA;EACR,MAAA,EAAQ,WAAA;EACR,GAAA,EAAK,WAAA;EACL,KAAA,EAAO,WAAA;EACP,OAAA,EAAS,WAAA;EACT,OAAA,EAAS,WAAA;EACT,GAAA,EAAK,cAAA;EACL,IAAA,EAAM,eAAA;EAGN,EAAA,EAAI,kBAAA;EACJ,EAAA,EAAI,kBAAA;EACJ,EAAA,EAAI,kBAAA;EACJ,EAAA,EAAI,kBAAA;EACJ,EAAA,EAAI,kBAAA;EACJ,EAAA,EAAI,kBAAA;EAGJ,CAAA,EAAG,oBAAA;EACH,CAAA,EAAG,iBAAA;EACH,MAAA,EAAQ,WAAA;EACR,CAAA,EAAG,WAAA;EACH,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AK,gBAAA;EACL,KAAA,EAAO,gBAAA;EACP,KAAA,EAAO,gBAAA;EACP,MAAA,EAAQ,iBAAA;EACR,KAAA,EAAO,gBAAA;EACP,OAAA,EAAS,kBAAA;EACT,MAAA,EAAQ,WAAA;EACR,UAAA,EAAY,WAAA;EACZ,MAAA,EAAQ,iBAAA;EACR,KAAA,EAAO,gBAAA;EACP,MAAA,EAAQ,iBAAA;EACR,MAAA,EAAQ,iBAAA;EACR,GAAA,EAAK,aAAA;EAGL,OAAA,EAAS,kBAAA;EACT,OAAA,EAAS,WAAA;EACT,MAAA,EAAQ,iBAAA;EAGR,EAAA,EAAI,aAAA;EACJ,EAAA,EAAI,aAAA;EACJ,GAAA,EAAK,WAAA;EACL,IAAA,EAAM,WAAA;EACN,EAAA,EAAI,WAAA;EACJ,EAAA,EAAI,WAAA;EACJ,GAAA,EAAK,WAAA;EACL,GAAA,EAAK,WAAA;EACL,IAAA,EAAM,eAAA;EACN,QAAA,EAAU,mBAAA;EACV,IAAA,EAAM,eAAA;AAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as JsonValue } from "./ICU-tA3ZHN5U.js";
|
|
2
|
+
import { Dictionary } from "@intlayer/types/dictionary";
|
|
3
|
+
|
|
4
|
+
//#region src/messageFormat/i18next.d.ts
|
|
5
|
+
declare const intlayerToI18nextFormatter: (message: Dictionary["content"]) => JsonValue;
|
|
6
|
+
declare const i18nextToIntlayerFormatter: (message: JsonValue) => Dictionary["content"];
|
|
7
|
+
//#endregion
|
|
8
|
+
export { intlayerToI18nextFormatter as n, i18nextToIntlayerFormatter as t };
|
|
9
|
+
//# sourceMappingURL=i18next-qY0AixrB.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18next-qY0AixrB.d.ts","names":[],"sources":["../../src/messageFormat/i18next.ts"],"mappings":";;;;cAqfa,0BAAA,GACX,OAAA,EAAS,UAAA,gBACR,SAAA;AAAA,cAQU,0BAAA,GACX,OAAA,EAAS,SAAA,KACR,UAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
import { n as ConditionContentStates } from "./condition-BDUtoh_1.js";
|
|
2
|
+
import { r as EnumerationContentState, t as EnterFormat } from "./enumeration-CtuvB5Zz.js";
|
|
3
|
+
import { t as Gender } from "./gender-Dd39Ijmf.js";
|
|
4
|
+
import { ContentNode, Dictionary, GetSubPath } from "@intlayer/types/dictionary";
|
|
5
|
+
import { DeclaredLocales, DictionaryKeys, DictionaryRegistryContent, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
6
|
+
import { NodeType, TypedNodeModel } from "@intlayer/types/nodeType";
|
|
7
|
+
import { Locale } from "@intlayer/types/allLocales";
|
|
8
|
+
import { KeyPath } from "@intlayer/types/keyPath";
|
|
9
|
+
|
|
10
|
+
//#region src/transpiler/nesting/nesting.d.ts
|
|
11
|
+
/**
|
|
12
|
+
* Recursively builds dot-notation strings for all valid paths in T.
|
|
13
|
+
* Example:
|
|
14
|
+
* type X = { a: { b: { c: string }}, d: number };
|
|
15
|
+
* DotPath<X> = "a" | "a.b" | "a.b.c" | "d"
|
|
16
|
+
*/
|
|
17
|
+
type DotPath<T> = T extends object ? { [K in keyof T & (string | number)]: T[K] extends object ? // Either just K, or K + '.' + deeper path
|
|
18
|
+
`${K}` | `${K}.${DotPath<T[K]>}` : `${K}` }[keyof T & (string | number)] : never;
|
|
19
|
+
type DeepReplace<T, From, To> = T extends From ? To : T extends object ? { [K in keyof T]: DeepReplace<T[K], From, To> } : T;
|
|
20
|
+
/** Build all valid dot-notation strings for a dictionary entry. */
|
|
21
|
+
type ValidDotPathsFor<K extends DictionaryKeys> = DotPath<DeepReplace<DeepTransformContent<DictionaryRegistryContent<K>>, {
|
|
22
|
+
type: any;
|
|
23
|
+
props: any;
|
|
24
|
+
key: any;
|
|
25
|
+
}, string>>;
|
|
26
|
+
type NestedContentState<K extends DictionaryKeys> = {
|
|
27
|
+
dictionaryKey: K;
|
|
28
|
+
/**
|
|
29
|
+
* Path must match existing keys in DictionaryRegistryContent<K>.
|
|
30
|
+
* Can be either:
|
|
31
|
+
* - "dot.dot.dot" format
|
|
32
|
+
*/
|
|
33
|
+
path?: ValidDotPathsFor<K>;
|
|
34
|
+
};
|
|
35
|
+
type NestedContent<K extends DictionaryKeys = never> = TypedNodeModel<NodeType.Nested, NestedContentState<K>>;
|
|
36
|
+
/**
|
|
37
|
+
* Function intended to be used to build intlayer dictionaries.
|
|
38
|
+
*
|
|
39
|
+
* Allow to extract the content of another dictionary and nest it in the current dictionary.
|
|
40
|
+
*
|
|
41
|
+
* Usage:
|
|
42
|
+
*
|
|
43
|
+
* ```ts
|
|
44
|
+
* nest("dictionaryKey");
|
|
45
|
+
* nest("dictionaryKey", "path.to.content");
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* The order of the keys will define the priority of the content.
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
declare const nesting: <K extends DictionaryKeys>(dictionaryKey: K, path?: ValidDotPathsFor<K>) => NestedContent<K>;
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/interpreter/getCondition.d.ts
|
|
54
|
+
/**
|
|
55
|
+
* Picks content based on a boolean condition.
|
|
56
|
+
*
|
|
57
|
+
* @param conditionContent - A map with 'true', 'false', and optionally 'fallback' keys.
|
|
58
|
+
* @param state - The boolean state to match.
|
|
59
|
+
* @returns The matching content.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const content = getCondition({
|
|
64
|
+
* 'true': 'The condition is validated',
|
|
65
|
+
* 'false': 'The condition is not validated',
|
|
66
|
+
* }, true);
|
|
67
|
+
* // 'The condition is validated'
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
declare const getCondition: <Content>(conditionContent: ConditionContentStates<Content>, state?: boolean) => Content;
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/interpreter/getNesting.d.ts
|
|
73
|
+
type GetNestingResult<K extends DictionaryKeys, P = undefined, S = IInterpreterPluginState> = GetSubPath<DeepTransformContent<DictionaryRegistryContent<K>, S>, P>;
|
|
74
|
+
/**
|
|
75
|
+
* Extracts content from another dictionary by its key and an optional path.
|
|
76
|
+
*
|
|
77
|
+
* This allows for reusing content across different dictionaries.
|
|
78
|
+
*
|
|
79
|
+
* @param dictionaryKey - The key of the dictionary to nest.
|
|
80
|
+
* @param path - Optional dot-separated path to a specific field within the nested dictionary.
|
|
81
|
+
* @param props - Optional properties like locale and plugins.
|
|
82
|
+
* @returns The nested content.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```ts
|
|
86
|
+
* const content = getNesting("common", "buttons.save");
|
|
87
|
+
* // 'Save'
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
declare const getNesting: <K extends DictionaryKeys, P>(dictionaryKey: K, path?: P extends ValidDotPathsFor<K> ? P : never, props?: NodeProps) => GetNestingResult<K, P>;
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region src/interpreter/getContent/plugins.d.ts
|
|
93
|
+
/** ---------------------------------------------
|
|
94
|
+
* PLUGIN DEFINITION
|
|
95
|
+
* --------------------------------------------- */
|
|
96
|
+
/**
|
|
97
|
+
* A plugin/transformer that can optionally transform a node during a single DFS pass.
|
|
98
|
+
* - `canHandle` decides if the node is transformable by this plugin.
|
|
99
|
+
* - `transform` returns the transformed node (and does not recurse further).
|
|
100
|
+
*
|
|
101
|
+
* > `transformFn` is a function that can be used to deeply transform inside the plugin.
|
|
102
|
+
*/
|
|
103
|
+
type Plugins = {
|
|
104
|
+
id: string;
|
|
105
|
+
canHandle: (node: any) => boolean;
|
|
106
|
+
transform: (node: any, props: NodeProps, transformFn: (node: any, props: NodeProps) => any) => any;
|
|
107
|
+
};
|
|
108
|
+
/** ---------------------------------------------
|
|
109
|
+
* TRANSLATION PLUGIN
|
|
110
|
+
* --------------------------------------------- */
|
|
111
|
+
type UnionKeys<T> = T extends unknown ? keyof T : never;
|
|
112
|
+
type ValueAtKey<T, K> = T extends unknown ? K extends keyof T ? T[K] : never : never;
|
|
113
|
+
type TranslationCond<T, S, L extends LocalesValues> = T extends {
|
|
114
|
+
nodeType: NodeType | string;
|
|
115
|
+
[NodeType.Translation]: infer U;
|
|
116
|
+
} ? U extends Record<PropertyKey, unknown> ? U[keyof U] extends Record<PropertyKey, unknown> ? { [K in UnionKeys<U[keyof U]>]: L extends keyof U ? K extends keyof U[L] ? U[L][K] : ValueAtKey<U[keyof U], K> : ValueAtKey<U[keyof U], K> } extends infer Content ? DeepTransformContent<Content, S> : never : (L extends keyof U ? U[L] : U[keyof U]) extends infer Content ? DeepTransformContent<Content, S> : never : never : never;
|
|
117
|
+
/** Translation plugin. Replaces node with a locale string if nodeType = Translation. */
|
|
118
|
+
declare const translationPlugin: (locale: LocalesValues, fallback?: LocalesValues) => Plugins;
|
|
119
|
+
/** ---------------------------------------------
|
|
120
|
+
* ENUMERATION PLUGIN
|
|
121
|
+
* --------------------------------------------- */
|
|
122
|
+
type EnumerationCond<T, S, _L> = T extends {
|
|
123
|
+
nodeType: NodeType | string;
|
|
124
|
+
[NodeType.Enumeration]: object;
|
|
125
|
+
} ? (quantity: number) => DeepTransformContent<T[NodeType.Enumeration][keyof T[NodeType.Enumeration]], S> : never;
|
|
126
|
+
/** Enumeration plugin. Replaces node with a function that takes quantity => string. */
|
|
127
|
+
declare const enumerationPlugin: Plugins;
|
|
128
|
+
/** ---------------------------------------------
|
|
129
|
+
* CONDITION PLUGIN
|
|
130
|
+
* --------------------------------------------- */
|
|
131
|
+
type ConditionCond<T, S, _L> = T extends {
|
|
132
|
+
nodeType: NodeType | string;
|
|
133
|
+
[NodeType.Condition]: object;
|
|
134
|
+
} ? (value: boolean | {
|
|
135
|
+
value: boolean;
|
|
136
|
+
}) => DeepTransformContent<T[NodeType.Condition][keyof T[NodeType.Condition]], S> : never;
|
|
137
|
+
/** Condition plugin. Replaces node with a function that takes boolean => string. */
|
|
138
|
+
declare const conditionPlugin: Plugins;
|
|
139
|
+
/** ---------------------------------------------
|
|
140
|
+
* INSERTION PLUGIN
|
|
141
|
+
* --------------------------------------------- */
|
|
142
|
+
type InsertionCond<T, S, _L> = T extends {
|
|
143
|
+
nodeType: NodeType | string;
|
|
144
|
+
[NodeType.Insertion]: string;
|
|
145
|
+
fields: readonly string[];
|
|
146
|
+
} ? (values: { [K in T['fields'][number]]: string | number }) => DeepTransformContent<string, S> : never;
|
|
147
|
+
/** Insertion plugin. Replaces node with a function that takes quantity => string. */
|
|
148
|
+
declare const insertionPlugin: Plugins;
|
|
149
|
+
/** ---------------------------------------------
|
|
150
|
+
* GENDER PLUGIN
|
|
151
|
+
* --------------------------------------------- */
|
|
152
|
+
type GenderCond<T, S, _L> = T extends {
|
|
153
|
+
nodeType: NodeType | string;
|
|
154
|
+
[NodeType.Gender]: object;
|
|
155
|
+
} ? (value: Gender) => DeepTransformContent<T[NodeType.Gender][keyof T[NodeType.Gender]], S> : never;
|
|
156
|
+
/** Gender plugin. Replaces node with a function that takes gender => string. */
|
|
157
|
+
declare const genderPlugin: Plugins;
|
|
158
|
+
/** ---------------------------------------------
|
|
159
|
+
* NESTED PLUGIN
|
|
160
|
+
* --------------------------------------------- */
|
|
161
|
+
type NestedCond<T, S, _L> = T extends {
|
|
162
|
+
nodeType: NodeType | string;
|
|
163
|
+
[NodeType.Nested]: infer U;
|
|
164
|
+
} ? U extends {
|
|
165
|
+
dictionaryKey: infer K extends DictionaryKeys;
|
|
166
|
+
path?: infer P;
|
|
167
|
+
} ? GetNestingResult<K, P, S> : never : never;
|
|
168
|
+
/** Nested plugin. Replaces node with the result of `getNesting`. */
|
|
169
|
+
declare const nestedPlugin: (locale?: LocalesValues) => Plugins;
|
|
170
|
+
/** ---------------------------------------------
|
|
171
|
+
* FILE PLUGIN
|
|
172
|
+
* --------------------------------------------- */
|
|
173
|
+
type FileCond<T> = T extends {
|
|
174
|
+
nodeType: NodeType | string;
|
|
175
|
+
[NodeType.File]: string;
|
|
176
|
+
content?: string;
|
|
177
|
+
} ? string : never;
|
|
178
|
+
/** File plugin. Replaces node with the result of `getNesting`. */
|
|
179
|
+
declare const filePlugin: Plugins;
|
|
180
|
+
/**
|
|
181
|
+
* PLUGIN RESULT
|
|
182
|
+
*/
|
|
183
|
+
/**
|
|
184
|
+
* Interface that defines the properties of a node.
|
|
185
|
+
* This interface can be augmented in other packages, such as `react-intlayer`.
|
|
186
|
+
*/
|
|
187
|
+
interface NodeProps {
|
|
188
|
+
dictionaryKey: string;
|
|
189
|
+
keyPath: KeyPath[];
|
|
190
|
+
plugins?: Plugins[];
|
|
191
|
+
locale?: Locale;
|
|
192
|
+
dictionaryPath?: string;
|
|
193
|
+
children?: any;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Interface that defines the plugins that can be used to transform a node.
|
|
197
|
+
* This interface can be augmented in other packages, such as `react-intlayer`.
|
|
198
|
+
*/
|
|
199
|
+
interface IInterpreterPlugin<T, S, L extends LocalesValues> {
|
|
200
|
+
translation: TranslationCond<T, S, L>;
|
|
201
|
+
enumeration: EnumerationCond<T, S, L>;
|
|
202
|
+
condition: ConditionCond<T, S, L>;
|
|
203
|
+
insertion: InsertionCond<T, S, L>;
|
|
204
|
+
gender: GenderCond<T, S, L>;
|
|
205
|
+
nested: NestedCond<T, S, L>;
|
|
206
|
+
file: FileCond<T>;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Allow to avoid overwriting import from `intlayer` package when `IInterpreterPlugin<T>` interface is augmented in another package, such as `react-intlayer`.
|
|
210
|
+
*/
|
|
211
|
+
type IInterpreterPluginState = {
|
|
212
|
+
translation: true;
|
|
213
|
+
enumeration: true;
|
|
214
|
+
condition: true;
|
|
215
|
+
insertion: true;
|
|
216
|
+
gender: true;
|
|
217
|
+
nested: true;
|
|
218
|
+
file: true;
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* Utility type to check if a plugin can be applied to a node.
|
|
222
|
+
*/
|
|
223
|
+
type CheckApplyPlugin<T, K extends keyof IInterpreterPlugin<T, S, L>, S, L extends LocalesValues = DeclaredLocales> = K extends keyof S ? S[K] extends true ? IInterpreterPlugin<T, S, L>[K] extends never ? never : IInterpreterPlugin<T, S, L>[K] : never : never;
|
|
224
|
+
/**
|
|
225
|
+
* Traverse recursively through an object or array, applying each plugin as needed.
|
|
226
|
+
*/
|
|
227
|
+
type Traverse<T, S, L extends LocalesValues = DeclaredLocales> = T extends ReadonlyArray<infer U> ? Array<DeepTransformContent<U, S, L>> : T extends object ? { [K in keyof T]: DeepTransformContent<T[K], S, L> } : T;
|
|
228
|
+
type IsAny<T> = 0 extends 1 & T ? true : false;
|
|
229
|
+
/**
|
|
230
|
+
* Traverse recursively through an object or array, applying each plugin as needed.
|
|
231
|
+
*/
|
|
232
|
+
type DeepTransformContent<T, S = IInterpreterPluginState, L extends LocalesValues = DeclaredLocales> = IsAny<T> extends true ? T : CheckApplyPlugin<T, keyof IInterpreterPlugin<T, S, L>, S, L> extends never ? Traverse<T, S, L> : CheckApplyPlugin<T, keyof IInterpreterPlugin<T, S, L>, S, L>;
|
|
233
|
+
//#endregion
|
|
234
|
+
//#region src/interpreter/getContent/deepTransform.d.ts
|
|
235
|
+
/**
|
|
236
|
+
* Recursively traverses a node (object/array/primitive).
|
|
237
|
+
* Applies the *first* plugin that can transform a node, then stops descending further.
|
|
238
|
+
* If no plugin transforms it, it recurses into its children.
|
|
239
|
+
*/
|
|
240
|
+
declare const deepTransformNode: (node: any, props: NodeProps) => any;
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region src/interpreter/getContent/getContent.d.ts
|
|
243
|
+
declare const getBasePlugins: (locale?: LocalesValues, fallback?: boolean) => Plugins[];
|
|
244
|
+
/**
|
|
245
|
+
* Transforms a node in a single pass, applying each plugin as needed.
|
|
246
|
+
*
|
|
247
|
+
* @param node The node to transform.
|
|
248
|
+
* @param locale The locale to use if your transformers need it (e.g. for translations).
|
|
249
|
+
*/
|
|
250
|
+
declare const getContent: <T extends ContentNode, L extends LocalesValues = DeclaredLocales>(node: T, nodeProps: NodeProps, plugins?: Plugins[]) => DeepTransformContent<T, IInterpreterPluginState, L>;
|
|
251
|
+
//#endregion
|
|
252
|
+
//#region src/interpreter/getDictionary.d.ts
|
|
253
|
+
/**
|
|
254
|
+
* Transforms a dictionary in a single pass, applying each plugin as needed.
|
|
255
|
+
*
|
|
256
|
+
* @param dictionary The dictionary to transform.
|
|
257
|
+
* @param locale The locale to use if your transformers need it (e.g. for translations).
|
|
258
|
+
* @param additionalPlugins An array of NodeTransformer that define how to transform recognized nodes.
|
|
259
|
+
* If omitted, we’ll use a default set of plugins.
|
|
260
|
+
*/
|
|
261
|
+
declare const getDictionary: <T extends Dictionary, L extends LocalesValues = DeclaredLocales>(dictionary: T, locale?: L, plugins?: Plugins[]) => DeepTransformContent<T["content"], IInterpreterPluginState, L>;
|
|
262
|
+
//#endregion
|
|
263
|
+
//#region src/interpreter/getEnumeration.d.ts
|
|
264
|
+
/**
|
|
265
|
+
* Find the matching condition for a quantity.
|
|
266
|
+
*
|
|
267
|
+
* Usage:
|
|
268
|
+
*
|
|
269
|
+
* ```ts
|
|
270
|
+
* const key = findMatchingCondition({
|
|
271
|
+
* '<=-2.3': 'You have less than -2.3',
|
|
272
|
+
* '<1': 'You have less than one',
|
|
273
|
+
* '2': 'You have two',
|
|
274
|
+
* '>=3': 'You have three or more',
|
|
275
|
+
* }, 2);
|
|
276
|
+
* // '2'
|
|
277
|
+
* ```
|
|
278
|
+
*
|
|
279
|
+
* The order of the keys will define the priority of the content.
|
|
280
|
+
*
|
|
281
|
+
* ```ts
|
|
282
|
+
* const key = findMatchingCondition({
|
|
283
|
+
* '<4': 'You have less than four',
|
|
284
|
+
* '2': 'You have two',
|
|
285
|
+
* }, 2);
|
|
286
|
+
* // '<4'
|
|
287
|
+
* ```
|
|
288
|
+
*
|
|
289
|
+
* If no keys match, the default key is '1'.
|
|
290
|
+
*/
|
|
291
|
+
declare const findMatchingCondition: <Content>(enumerationContent: EnumerationContentState<Content>, quantity: number) => EnterFormat | undefined;
|
|
292
|
+
/**
|
|
293
|
+
* Picks content from an enumeration map based on a provided quantity.
|
|
294
|
+
*
|
|
295
|
+
* Supported keys in the enumeration map:
|
|
296
|
+
* - Specific numbers: '0', '1', '2'
|
|
297
|
+
* - Comparison operators: '<5', '>=10', '<=2'
|
|
298
|
+
* - Fallback: 'fallback'
|
|
299
|
+
*
|
|
300
|
+
* The first matching key in the object's iteration order will be selected.
|
|
301
|
+
*
|
|
302
|
+
* @param enumerationContent - A map of conditions/quantities to content.
|
|
303
|
+
* @param quantity - The number to match against the conditions.
|
|
304
|
+
* @returns The matching content.
|
|
305
|
+
*
|
|
306
|
+
* @example
|
|
307
|
+
* ```ts
|
|
308
|
+
* const content = getEnumeration({
|
|
309
|
+
* '0': 'No items',
|
|
310
|
+
* '1': 'One item',
|
|
311
|
+
* '>1': 'Many items',
|
|
312
|
+
* }, 5);
|
|
313
|
+
* // 'Many items'
|
|
314
|
+
* ```
|
|
315
|
+
*/
|
|
316
|
+
declare const getEnumeration: <Content>(enumerationContent: EnumerationContentState<Content>, quantity: number) => Content;
|
|
317
|
+
//#endregion
|
|
318
|
+
//#region src/interpreter/getIntlayer.d.ts
|
|
319
|
+
declare const getIntlayer: <T extends DictionaryKeys, L extends LocalesValues = DeclaredLocales>(key: T, locale?: L, plugins?: Plugins[]) => DeepTransformContent<DictionaryRegistryContent<T>, IInterpreterPluginState, L>;
|
|
320
|
+
//#endregion
|
|
321
|
+
export { GetNestingResult as A, conditionPlugin as C, insertionPlugin as D, genderPlugin as E, NestedContentState as F, ValidDotPathsFor as I, nesting as L, getCondition as M, DotPath as N, nestedPlugin as O, NestedContent as P, ValueAtKey as S, filePlugin as T, NestedCond as _, getBasePlugins as a, TranslationCond as b, ConditionCond as c, FileCond as d, GenderCond as f, IsAny as g, InsertionCond as h, getDictionary as i, getNesting as j, translationPlugin as k, DeepTransformContent as l, IInterpreterPluginState as m, findMatchingCondition as n, getContent as o, IInterpreterPlugin as p, getEnumeration as r, deepTransformNode as s, getIntlayer as t, EnumerationCond as u, NodeProps as v, enumerationPlugin as w, UnionKeys as x, Plugins as y };
|
|
322
|
+
//# sourceMappingURL=index-BnEeKNKW.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BnEeKNKW.d.ts","names":[],"sources":["../../src/transpiler/nesting/nesting.ts","../../src/interpreter/getCondition.ts","../../src/interpreter/getNesting.ts","../../src/interpreter/getContent/plugins.ts","../../src/interpreter/getContent/deepTransform.ts","../../src/interpreter/getContent/getContent.ts","../../src/interpreter/getDictionary.ts","../../src/interpreter/getEnumeration.ts","../../src/interpreter/getIntlayer.ts"],"mappings":";;;;;;;;;;;;;;;AAYA;KAAY,OAAA,MAAa,CAAA,gCAEP,CAAA,uBAAwB,CAAA,CAAE,CAAA;AAAA,GAE/B,CAAA,QAAS,CAAA,IAAK,OAAA,CAAQ,CAAA,CAAE,CAAA,UACxB,CAAA,WACD,CAAA;AAAA,KAGP,WAAA,gBAA2B,CAAA,SAAU,IAAA,GACtC,EAAA,GACA,CAAA,gCACgB,CAAA,GAAI,WAAA,CAAY,CAAA,CAAE,CAAA,GAAI,IAAA,EAAM,EAAA,MAC1C,CAAA;;KAGM,gBAAA,WAA2B,cAAA,IAAkB,OAAA,CACvD,WAAA,CACE,oBAAA,CAAqB,yBAAA,CAA0B,CAAA;EAG7C,IAAA;EACA,KAAA;EACA,GAAA;AAAA;AAAA,KAMM,kBAAA,WAA6B,cAAA;EACvC,aAAA,EAAe,CAAA;EA9BG;;;;;EAqClB,IAAA,GAAO,gBAAA,CAAiB,CAAA;AAAA;AAAA,KAGd,aAAA,WAAwB,cAAA,YAA0B,cAAA,CAC5D,QAAA,CAAS,MAAA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