@intlayer/core 6.1.6 → 7.0.0-canary.0
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 +25 -0
- package/dist/cjs/deepTransformPlugins/getFilterMissingTranslationsContent.cjs +213 -0
- package/dist/cjs/deepTransformPlugins/getFilterMissingTranslationsContent.cjs.map +1 -0
- package/dist/cjs/deepTransformPlugins/getFilterTranslationsOnlyContent.cjs +95 -0
- package/dist/cjs/deepTransformPlugins/getFilterTranslationsOnlyContent.cjs.map +1 -0
- package/dist/cjs/deepTransformPlugins/getFilteredLocalesContent.cjs +46 -0
- package/dist/cjs/deepTransformPlugins/getFilteredLocalesContent.cjs.map +1 -0
- package/dist/cjs/deepTransformPlugins/getLocalizedContent.cjs +33 -0
- package/dist/cjs/deepTransformPlugins/getLocalizedContent.cjs.map +1 -0
- package/dist/cjs/deepTransformPlugins/getMaskContent.cjs +27 -0
- package/dist/cjs/deepTransformPlugins/getMaskContent.cjs.map +1 -0
- package/dist/cjs/deepTransformPlugins/getMissingLocalesContent.cjs +45 -0
- package/dist/cjs/deepTransformPlugins/getMissingLocalesContent.cjs.map +1 -0
- package/dist/cjs/deepTransformPlugins/getReplacedValuesContent.cjs +60 -0
- package/dist/cjs/deepTransformPlugins/getReplacedValuesContent.cjs.map +1 -0
- package/dist/cjs/deepTransformPlugins/index.cjs +25 -0
- package/dist/cjs/deepTransformPlugins/insertContentInDictionary.cjs +107 -0
- package/dist/cjs/deepTransformPlugins/insertContentInDictionary.cjs.map +1 -0
- package/dist/cjs/dictionaryManipulator/editDictionaryByKeyPath.cjs +59 -91
- package/dist/cjs/dictionaryManipulator/editDictionaryByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getContentNodeByKeyPath.cjs +13 -39
- package/dist/cjs/dictionaryManipulator/getContentNodeByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getDefaultNode.cjs +48 -94
- package/dist/cjs/dictionaryManipulator/getDefaultNode.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getEmptyNode.cjs +24 -68
- package/dist/cjs/dictionaryManipulator/getEmptyNode.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getNodeChildren.cjs +21 -56
- package/dist/cjs/dictionaryManipulator/getNodeChildren.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getNodeType.cjs +32 -49
- package/dist/cjs/dictionaryManipulator/getNodeType.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getUnmergedDictionaryByKeyPath.cjs +18 -50
- package/dist/cjs/dictionaryManipulator/getUnmergedDictionaryByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/index.cjs +28 -41
- package/dist/cjs/dictionaryManipulator/mergeDictionaries.cjs +69 -0
- package/dist/cjs/dictionaryManipulator/mergeDictionaries.cjs.map +1 -0
- package/dist/cjs/dictionaryManipulator/normalizeDictionary.cjs +30 -0
- package/dist/cjs/dictionaryManipulator/normalizeDictionary.cjs.map +1 -0
- package/dist/cjs/dictionaryManipulator/orderDictionaries.cjs +48 -0
- package/dist/cjs/dictionaryManipulator/orderDictionaries.cjs.map +1 -0
- package/dist/cjs/dictionaryManipulator/removeContentNodeByKeyPath.cjs +29 -54
- package/dist/cjs/dictionaryManipulator/removeContentNodeByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/renameContentNodeByKeyPath.cjs +37 -63
- package/dist/cjs/dictionaryManipulator/renameContentNodeByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/updateNodeChildren.cjs +36 -76
- package/dist/cjs/dictionaryManipulator/updateNodeChildren.cjs.map +1 -1
- package/dist/cjs/formatters/compact.cjs +24 -46
- package/dist/cjs/formatters/compact.cjs.map +1 -1
- package/dist/cjs/formatters/currency.cjs +28 -50
- package/dist/cjs/formatters/currency.cjs.map +1 -1
- package/dist/cjs/formatters/date.cjs +56 -79
- package/dist/cjs/formatters/date.cjs.map +1 -1
- package/dist/cjs/formatters/index.cjs +17 -37
- package/dist/cjs/formatters/list.cjs +29 -47
- package/dist/cjs/formatters/list.cjs.map +1 -1
- package/dist/cjs/formatters/number.cjs +17 -43
- package/dist/cjs/formatters/number.cjs.map +1 -1
- package/dist/cjs/formatters/percentage.cjs +22 -51
- package/dist/cjs/formatters/percentage.cjs.map +1 -1
- package/dist/cjs/formatters/relativeTime.cjs +28 -70
- package/dist/cjs/formatters/relativeTime.cjs.map +1 -1
- package/dist/cjs/formatters/units.cjs +22 -48
- package/dist/cjs/formatters/units.cjs.map +1 -1
- package/dist/cjs/getStorageAttributes.cjs +116 -0
- package/dist/cjs/getStorageAttributes.cjs.map +1 -0
- package/dist/cjs/index.cjs +154 -45
- package/dist/cjs/interpreter/getCondition.cjs +30 -30
- package/dist/cjs/interpreter/getCondition.cjs.map +1 -1
- package/dist/cjs/interpreter/getContent/deepTransform.cjs +38 -63
- package/dist/cjs/interpreter/getContent/deepTransform.cjs.map +1 -1
- package/dist/cjs/interpreter/getContent/getContent.cjs +31 -54
- package/dist/cjs/interpreter/getContent/getContent.cjs.map +1 -1
- package/dist/cjs/interpreter/getContent/index.cjs +13 -27
- package/dist/cjs/interpreter/getContent/plugins.cjs +135 -175
- package/dist/cjs/interpreter/getContent/plugins.cjs.map +1 -1
- package/dist/cjs/interpreter/getDictionary.cjs +21 -39
- package/dist/cjs/interpreter/getDictionary.cjs.map +1 -1
- package/dist/cjs/interpreter/getEnumeration.cjs +69 -42
- package/dist/cjs/interpreter/getEnumeration.cjs.map +1 -1
- package/dist/cjs/interpreter/getGender.cjs +33 -34
- package/dist/cjs/interpreter/getGender.cjs.map +1 -1
- package/dist/cjs/interpreter/getInsertion.cjs +18 -27
- package/dist/cjs/interpreter/getInsertion.cjs.map +1 -1
- package/dist/cjs/interpreter/getIntlayer.cjs +13 -48
- package/dist/cjs/interpreter/getIntlayer.cjs.map +1 -1
- package/dist/cjs/interpreter/getNesting.cjs +26 -41
- package/dist/cjs/interpreter/getNesting.cjs.map +1 -1
- package/dist/cjs/interpreter/getTranslation.cjs +29 -32
- package/dist/cjs/interpreter/getTranslation.cjs.map +1 -1
- package/dist/cjs/interpreter/index.cjs +26 -39
- package/dist/cjs/localization/getBrowserLocale.cjs +144 -0
- package/dist/cjs/localization/getBrowserLocale.cjs.map +1 -0
- package/dist/cjs/localization/getHTMLTextDir.cjs +49 -255
- package/dist/cjs/localization/getHTMLTextDir.cjs.map +1 -1
- package/dist/cjs/localization/getLocaleFromPath.cjs +40 -56
- package/dist/cjs/localization/getLocaleFromPath.cjs.map +1 -1
- package/dist/cjs/localization/getLocaleLang.cjs +18 -27
- package/dist/cjs/localization/getLocaleLang.cjs.map +1 -1
- package/dist/cjs/localization/getLocaleName.cjs +7 -32
- package/dist/cjs/localization/getLocaleName.cjs.map +1 -1
- package/dist/cjs/localization/getLocalizedUrl.cjs +46 -47
- package/dist/cjs/localization/getLocalizedUrl.cjs.map +1 -1
- package/dist/cjs/localization/getMultilingualUrls.cjs +69 -65
- package/dist/cjs/localization/getMultilingualUrls.cjs.map +1 -1
- package/dist/cjs/localization/getPathWithoutLocale.cjs +53 -61
- package/dist/cjs/localization/getPathWithoutLocale.cjs.map +1 -1
- package/dist/cjs/localization/index.cjs +26 -63
- package/dist/cjs/localization/localeDetector.cjs +108 -39
- package/dist/cjs/localization/localeDetector.cjs.map +1 -1
- package/dist/cjs/localization/localeMapper.cjs +118 -72
- package/dist/cjs/localization/localeMapper.cjs.map +1 -1
- package/dist/cjs/localization/localeResolver.cjs +26 -61
- package/dist/cjs/localization/localeResolver.cjs.map +1 -1
- package/dist/cjs/transpiler/condition/condition.cjs +26 -29
- package/dist/cjs/transpiler/condition/condition.cjs.map +1 -1
- package/dist/cjs/transpiler/condition/index.cjs +3 -23
- package/dist/cjs/transpiler/enumeration/enumeration.cjs +28 -29
- package/dist/cjs/transpiler/enumeration/enumeration.cjs.map +1 -1
- package/dist/cjs/transpiler/enumeration/index.cjs +3 -23
- package/dist/cjs/transpiler/file/file.cjs +52 -71
- package/dist/cjs/transpiler/file/file.cjs.map +1 -1
- package/dist/cjs/transpiler/file/fileBrowser.cjs +24 -33
- package/dist/cjs/transpiler/file/fileBrowser.cjs.map +1 -1
- package/dist/cjs/transpiler/file/index.cjs +4 -23
- package/dist/cjs/transpiler/gender/gender.cjs +26 -29
- package/dist/cjs/transpiler/gender/gender.cjs.map +1 -1
- package/dist/cjs/transpiler/gender/index.cjs +3 -23
- package/dist/cjs/transpiler/index.cjs +19 -35
- package/dist/cjs/transpiler/insertion/getInsertionValues.cjs +8 -31
- package/dist/cjs/transpiler/insertion/getInsertionValues.cjs.map +1 -1
- package/dist/cjs/transpiler/insertion/index.cjs +5 -25
- package/dist/cjs/transpiler/insertion/insertion.cjs +34 -51
- package/dist/cjs/transpiler/insertion/insertion.cjs.map +1 -1
- package/dist/cjs/transpiler/markdown/getMarkdownMetadata.cjs +53 -86
- package/dist/cjs/transpiler/markdown/getMarkdownMetadata.cjs.map +1 -1
- package/dist/cjs/transpiler/markdown/index.cjs +5 -25
- package/dist/cjs/transpiler/markdown/markdown.cjs +33 -52
- package/dist/cjs/transpiler/markdown/markdown.cjs.map +1 -1
- package/dist/cjs/transpiler/nesting/index.cjs +3 -23
- package/dist/cjs/transpiler/nesting/nesting.cjs +26 -31
- package/dist/cjs/transpiler/nesting/nesting.cjs.map +1 -1
- package/dist/cjs/transpiler/translation/index.cjs +3 -23
- package/dist/cjs/transpiler/translation/translation.cjs +29 -29
- package/dist/cjs/transpiler/translation/translation.cjs.map +1 -1
- package/dist/cjs/utils/checkIsURLAbsolute.cjs +5 -27
- package/dist/cjs/utils/checkIsURLAbsolute.cjs.map +1 -1
- package/dist/cjs/utils/intl.cjs +48 -74
- package/dist/cjs/utils/intl.cjs.map +1 -1
- package/dist/cjs/utils/isSameKeyPath.cjs +6 -30
- package/dist/cjs/utils/isSameKeyPath.cjs.map +1 -1
- package/dist/cjs/utils/isValidReactElement.cjs +12 -27
- package/dist/cjs/utils/isValidReactElement.cjs.map +1 -1
- package/dist/cjs/utils/localeStorage.cjs +143 -0
- package/dist/cjs/utils/localeStorage.cjs.map +1 -0
- package/dist/cjs/utils/parseYaml.cjs +185 -55
- package/dist/cjs/utils/parseYaml.cjs.map +1 -1
- package/dist/esm/deepTransformPlugins/getFilterMissingTranslationsContent.mjs +208 -0
- package/dist/esm/deepTransformPlugins/getFilterMissingTranslationsContent.mjs.map +1 -0
- package/dist/esm/deepTransformPlugins/getFilterTranslationsOnlyContent.mjs +90 -0
- package/dist/esm/deepTransformPlugins/getFilterTranslationsOnlyContent.mjs.map +1 -0
- package/dist/esm/deepTransformPlugins/getFilteredLocalesContent.mjs +43 -0
- package/dist/esm/deepTransformPlugins/getFilteredLocalesContent.mjs.map +1 -0
- package/dist/esm/deepTransformPlugins/getLocalizedContent.mjs +32 -0
- package/dist/esm/deepTransformPlugins/getLocalizedContent.mjs.map +1 -0
- package/dist/esm/deepTransformPlugins/getMaskContent.mjs +26 -0
- package/dist/esm/deepTransformPlugins/getMaskContent.mjs.map +1 -0
- package/dist/esm/deepTransformPlugins/getMissingLocalesContent.mjs +41 -0
- package/dist/esm/deepTransformPlugins/getMissingLocalesContent.mjs.map +1 -0
- package/dist/esm/deepTransformPlugins/getReplacedValuesContent.mjs +60 -0
- package/dist/esm/deepTransformPlugins/getReplacedValuesContent.mjs.map +1 -0
- package/dist/esm/deepTransformPlugins/index.mjs +10 -0
- package/dist/esm/deepTransformPlugins/insertContentInDictionary.mjs +105 -0
- package/dist/esm/deepTransformPlugins/insertContentInDictionary.mjs.map +1 -0
- package/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.mjs +57 -67
- package/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.mjs +11 -15
- package/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/getDefaultNode.mjs +46 -70
- package/dist/esm/dictionaryManipulator/getDefaultNode.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/getEmptyNode.mjs +22 -44
- package/dist/esm/dictionaryManipulator/getEmptyNode.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/getNodeChildren.mjs +19 -32
- package/dist/esm/dictionaryManipulator/getNodeChildren.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/getNodeType.mjs +31 -26
- package/dist/esm/dictionaryManipulator/getNodeType.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/getUnmergedDictionaryByKeyPath.mjs +14 -15
- package/dist/esm/dictionaryManipulator/getUnmergedDictionaryByKeyPath.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/index.mjs +15 -11
- package/dist/esm/dictionaryManipulator/mergeDictionaries.mjs +66 -0
- package/dist/esm/dictionaryManipulator/mergeDictionaries.mjs.map +1 -0
- package/dist/esm/dictionaryManipulator/normalizeDictionary.mjs +29 -0
- package/dist/esm/dictionaryManipulator/normalizeDictionary.mjs.map +1 -0
- package/dist/esm/dictionaryManipulator/orderDictionaries.mjs +46 -0
- package/dist/esm/dictionaryManipulator/orderDictionaries.mjs.map +1 -0
- package/dist/esm/dictionaryManipulator/removeContentNodeByKeyPath.mjs +27 -30
- package/dist/esm/dictionaryManipulator/removeContentNodeByKeyPath.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.mjs +35 -39
- package/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/updateNodeChildren.mjs +34 -52
- package/dist/esm/dictionaryManipulator/updateNodeChildren.mjs.map +1 -1
- package/dist/esm/formatters/compact.mjs +21 -11
- package/dist/esm/formatters/compact.mjs.map +1 -1
- package/dist/esm/formatters/currency.mjs +25 -15
- package/dist/esm/formatters/currency.mjs.map +1 -1
- package/dist/esm/formatters/date.mjs +53 -44
- package/dist/esm/formatters/date.mjs.map +1 -1
- package/dist/esm/formatters/index.mjs +10 -9
- package/dist/esm/formatters/list.mjs +26 -12
- package/dist/esm/formatters/list.mjs.map +1 -1
- package/dist/esm/formatters/number.mjs +14 -8
- package/dist/esm/formatters/number.mjs.map +1 -1
- package/dist/esm/formatters/percentage.mjs +19 -16
- package/dist/esm/formatters/percentage.mjs.map +1 -1
- package/dist/esm/formatters/relativeTime.mjs +25 -35
- package/dist/esm/formatters/relativeTime.mjs.map +1 -1
- package/dist/esm/formatters/units.mjs +19 -13
- package/dist/esm/formatters/units.mjs.map +1 -1
- package/dist/esm/getStorageAttributes.mjs +114 -0
- package/dist/esm/getStorageAttributes.mjs.map +1 -0
- package/dist/esm/index.mjs +67 -13
- package/dist/esm/interpreter/getCondition.mjs +29 -6
- package/dist/esm/interpreter/getCondition.mjs.map +1 -1
- package/dist/esm/interpreter/getContent/deepTransform.mjs +36 -39
- package/dist/esm/interpreter/getContent/deepTransform.mjs.map +1 -1
- package/dist/esm/interpreter/getContent/getContent.mjs +28 -26
- package/dist/esm/interpreter/getContent/getContent.mjs.map +1 -1
- package/dist/esm/interpreter/getContent/index.mjs +5 -4
- package/dist/esm/interpreter/getContent/plugins.mjs +121 -139
- package/dist/esm/interpreter/getContent/plugins.mjs.map +1 -1
- package/dist/esm/interpreter/getDictionary.mjs +20 -14
- package/dist/esm/interpreter/getDictionary.mjs.map +1 -1
- package/dist/esm/interpreter/getEnumeration.mjs +67 -17
- package/dist/esm/interpreter/getEnumeration.mjs.map +1 -1
- package/dist/esm/interpreter/getGender.mjs +32 -10
- package/dist/esm/interpreter/getGender.mjs.map +1 -1
- package/dist/esm/interpreter/getInsertion.mjs +17 -3
- package/dist/esm/interpreter/getInsertion.mjs.map +1 -1
- package/dist/esm/interpreter/getIntlayer.mjs +10 -13
- package/dist/esm/interpreter/getIntlayer.mjs.map +1 -1
- package/dist/esm/interpreter/getNesting.mjs +25 -16
- package/dist/esm/interpreter/getNesting.mjs.map +1 -1
- package/dist/esm/interpreter/getTranslation.mjs +28 -8
- package/dist/esm/interpreter/getTranslation.mjs.map +1 -1
- package/dist/esm/interpreter/index.mjs +11 -10
- package/dist/esm/localization/getBrowserLocale.mjs +139 -0
- package/dist/esm/localization/getBrowserLocale.mjs.map +1 -0
- package/dist/esm/localization/getHTMLTextDir.mjs +47 -231
- package/dist/esm/localization/getHTMLTextDir.mjs.map +1 -1
- package/dist/esm/localization/getLocaleFromPath.mjs +36 -21
- package/dist/esm/localization/getLocaleFromPath.mjs.map +1 -1
- package/dist/esm/localization/getLocaleLang.mjs +17 -3
- package/dist/esm/localization/getLocaleLang.mjs.map +1 -1
- package/dist/esm/localization/getLocaleName.mjs +7 -8
- package/dist/esm/localization/getLocaleName.mjs.map +1 -1
- package/dist/esm/localization/getLocalizedUrl.mjs +43 -12
- package/dist/esm/localization/getLocalizedUrl.mjs.map +1 -1
- package/dist/esm/localization/getMultilingualUrls.mjs +65 -29
- package/dist/esm/localization/getMultilingualUrls.mjs.map +1 -1
- package/dist/esm/localization/getPathWithoutLocale.mjs +50 -26
- package/dist/esm/localization/getPathWithoutLocale.mjs.map +1 -1
- package/dist/esm/localization/index.mjs +7 -21
- package/dist/esm/localization/localeDetector.mjs +109 -6
- package/dist/esm/localization/localeDetector.mjs.map +1 -1
- package/dist/esm/localization/localeMapper.mjs +112 -35
- package/dist/esm/localization/localeMapper.mjs.map +1 -1
- package/dist/esm/localization/localeResolver.mjs +23 -26
- package/dist/esm/localization/localeResolver.mjs.map +1 -1
- package/dist/esm/transpiler/condition/condition.mjs +23 -7
- package/dist/esm/transpiler/condition/condition.mjs.map +1 -1
- package/dist/esm/transpiler/condition/index.mjs +3 -2
- package/dist/esm/transpiler/enumeration/enumeration.mjs +25 -7
- package/dist/esm/transpiler/enumeration/enumeration.mjs.map +1 -1
- package/dist/esm/transpiler/enumeration/index.mjs +3 -2
- package/dist/esm/transpiler/file/file.mjs +46 -40
- package/dist/esm/transpiler/file/file.mjs.map +1 -1
- package/dist/esm/transpiler/file/fileBrowser.mjs +22 -9
- package/dist/esm/transpiler/file/fileBrowser.mjs.map +1 -1
- package/dist/esm/transpiler/file/index.mjs +3 -2
- package/dist/esm/transpiler/gender/gender.mjs +23 -7
- package/dist/esm/transpiler/gender/gender.mjs.map +1 -1
- package/dist/esm/transpiler/gender/index.mjs +3 -2
- package/dist/esm/transpiler/index.mjs +11 -8
- package/dist/esm/transpiler/insertion/getInsertionValues.mjs +7 -7
- package/dist/esm/transpiler/insertion/getInsertionValues.mjs.map +1 -1
- package/dist/esm/transpiler/insertion/index.mjs +4 -3
- package/dist/esm/transpiler/insertion/insertion.mjs +31 -29
- package/dist/esm/transpiler/insertion/insertion.mjs.map +1 -1
- package/dist/esm/transpiler/markdown/getMarkdownMetadata.mjs +52 -61
- package/dist/esm/transpiler/markdown/getMarkdownMetadata.mjs.map +1 -1
- package/dist/esm/transpiler/markdown/index.mjs +4 -3
- package/dist/esm/transpiler/markdown/markdown.mjs +29 -29
- package/dist/esm/transpiler/markdown/markdown.mjs.map +1 -1
- package/dist/esm/transpiler/nesting/index.mjs +3 -2
- package/dist/esm/transpiler/nesting/nesting.mjs +23 -9
- package/dist/esm/transpiler/nesting/nesting.mjs.map +1 -1
- package/dist/esm/transpiler/translation/index.mjs +3 -2
- package/dist/esm/transpiler/translation/translation.mjs +26 -7
- package/dist/esm/transpiler/translation/translation.mjs.map +1 -1
- package/dist/esm/utils/checkIsURLAbsolute.mjs +4 -3
- package/dist/esm/utils/checkIsURLAbsolute.mjs.map +1 -1
- package/dist/esm/utils/intl.mjs +44 -49
- package/dist/esm/utils/intl.mjs.map +1 -1
- package/dist/esm/utils/isSameKeyPath.mjs +5 -6
- package/dist/esm/utils/isSameKeyPath.mjs.map +1 -1
- package/dist/esm/utils/isValidReactElement.mjs +11 -3
- package/dist/esm/utils/isValidReactElement.mjs.map +1 -1
- package/dist/esm/utils/localeStorage.mjs +139 -0
- package/dist/esm/utils/localeStorage.mjs.map +1 -0
- package/dist/esm/utils/parseYaml.mjs +184 -31
- package/dist/esm/utils/parseYaml.mjs.map +1 -1
- package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts +46 -0
- package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts.map +1 -0
- package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts +38 -0
- package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts.map +1 -0
- package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts +30 -0
- package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts.map +1 -0
- package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts +18 -0
- package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts.map +1 -0
- package/dist/types/deepTransformPlugins/getMaskContent.d.ts +10 -0
- package/dist/types/deepTransformPlugins/getMaskContent.d.ts.map +1 -0
- package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts +16 -0
- package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts.map +1 -0
- package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts +8 -0
- package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts.map +1 -0
- package/dist/types/deepTransformPlugins/index.d.ts +9 -0
- package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts +25 -0
- package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts.map +1 -0
- package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts +6 -3
- package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts +6 -3
- package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/getDefaultNode.d.ts +6 -3
- package/dist/types/dictionaryManipulator/getDefaultNode.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/getEmptyNode.d.ts +6 -2
- package/dist/types/dictionaryManipulator/getEmptyNode.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/getNodeChildren.d.ts +6 -2
- package/dist/types/dictionaryManipulator/getNodeChildren.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/getNodeType.d.ts +6 -3
- package/dist/types/dictionaryManipulator/getNodeType.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/getUnmergedDictionaryByKeyPath.d.ts +8 -3
- package/dist/types/dictionaryManipulator/getUnmergedDictionaryByKeyPath.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/index.d.ts +14 -11
- package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts +7 -0
- package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts.map +1 -0
- package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts +8 -0
- package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts.map +1 -0
- package/dist/types/dictionaryManipulator/orderDictionaries.d.ts +16 -0
- package/dist/types/dictionaryManipulator/orderDictionaries.d.ts.map +1 -0
- package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts +6 -3
- package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts +6 -3
- package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts +6 -2
- package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts.map +1 -1
- package/dist/types/formatters/compact.d.ts +8 -3
- package/dist/types/formatters/compact.d.ts.map +1 -1
- package/dist/types/formatters/currency.d.ts +8 -3
- package/dist/types/formatters/currency.d.ts.map +1 -1
- package/dist/types/formatters/date.d.ts +8 -3
- package/dist/types/formatters/date.d.ts.map +1 -1
- package/dist/types/formatters/index.d.ts +9 -9
- package/dist/types/formatters/list.d.ts +8 -3
- package/dist/types/formatters/list.d.ts.map +1 -1
- package/dist/types/formatters/number.d.ts +8 -3
- package/dist/types/formatters/number.d.ts.map +1 -1
- package/dist/types/formatters/percentage.d.ts +8 -3
- package/dist/types/formatters/percentage.d.ts.map +1 -1
- package/dist/types/formatters/relativeTime.d.ts +8 -5
- package/dist/types/formatters/relativeTime.d.ts.map +1 -1
- package/dist/types/formatters/units.d.ts +8 -3
- package/dist/types/formatters/units.d.ts.map +1 -1
- package/dist/types/getStorageAttributes.d.ts +25 -0
- package/dist/types/getStorageAttributes.d.ts.map +1 -0
- package/dist/types/index.d.ts +67 -13
- package/dist/types/interpreter/getCondition.d.ts +7 -2
- package/dist/types/interpreter/getCondition.d.ts.map +1 -1
- package/dist/types/interpreter/getContent/deepTransform.d.ts +7 -2
- package/dist/types/interpreter/getContent/deepTransform.d.ts.map +1 -1
- package/dist/types/interpreter/getContent/getContent.d.ts +8 -4
- package/dist/types/interpreter/getContent/getContent.d.ts.map +1 -1
- package/dist/types/interpreter/getContent/index.d.ts +4 -4
- package/dist/types/interpreter/getContent/plugins.d.ts +68 -66
- package/dist/types/interpreter/getContent/plugins.d.ts.map +1 -1
- package/dist/types/interpreter/getDictionary.d.ts +8 -4
- package/dist/types/interpreter/getDictionary.d.ts.map +1 -1
- package/dist/types/interpreter/getEnumeration.d.ts +8 -3
- package/dist/types/interpreter/getEnumeration.d.ts.map +1 -1
- package/dist/types/interpreter/getGender.d.ts +7 -4
- package/dist/types/interpreter/getGender.d.ts.map +1 -1
- package/dist/types/interpreter/getInsertion.d.ts +7 -2
- package/dist/types/interpreter/getInsertion.d.ts.map +1 -1
- package/dist/types/interpreter/getIntlayer.d.ts +7 -5
- package/dist/types/interpreter/getIntlayer.d.ts.map +1 -1
- package/dist/types/interpreter/getNesting.d.ts +9 -6
- package/dist/types/interpreter/getNesting.d.ts.map +1 -1
- package/dist/types/interpreter/getTranslation.d.ts +7 -3
- package/dist/types/interpreter/getTranslation.d.ts.map +1 -1
- package/dist/types/interpreter/index.d.ts +10 -10
- package/dist/types/localization/getBrowserLocale.d.ts +35 -0
- package/dist/types/localization/getBrowserLocale.d.ts.map +1 -0
- package/dist/types/localization/getHTMLTextDir.d.ts +6 -3
- package/dist/types/localization/getHTMLTextDir.d.ts.map +1 -1
- package/dist/types/localization/getLocaleFromPath.d.ts +7 -2
- package/dist/types/localization/getLocaleFromPath.d.ts.map +1 -1
- package/dist/types/localization/getLocaleLang.d.ts +7 -2
- package/dist/types/localization/getLocaleLang.d.ts.map +1 -1
- package/dist/types/localization/getLocaleName.d.ts +6 -2
- package/dist/types/localization/getLocaleName.d.ts.map +1 -1
- package/dist/types/localization/getLocalizedUrl.d.ts +30 -17
- package/dist/types/localization/getLocalizedUrl.d.ts.map +1 -1
- package/dist/types/localization/getMultilingualUrls.d.ts +28 -12
- package/dist/types/localization/getMultilingualUrls.d.ts.map +1 -1
- package/dist/types/localization/getPathWithoutLocale.d.ts +11 -3
- package/dist/types/localization/getPathWithoutLocale.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +12 -12
- package/dist/types/localization/localeDetector.d.ts +7 -2
- package/dist/types/localization/localeDetector.d.ts.map +1 -1
- package/dist/types/localization/localeMapper.d.ts +23 -19
- package/dist/types/localization/localeMapper.d.ts.map +1 -1
- package/dist/types/localization/localeResolver.d.ts +7 -2
- package/dist/types/localization/localeResolver.d.ts.map +1 -1
- package/dist/types/transpiler/condition/condition.d.ts +8 -5
- package/dist/types/transpiler/condition/condition.d.ts.map +1 -1
- package/dist/types/transpiler/condition/index.d.ts +2 -2
- package/dist/types/transpiler/enumeration/enumeration.d.ts +9 -6
- package/dist/types/transpiler/enumeration/enumeration.d.ts.map +1 -1
- package/dist/types/transpiler/enumeration/index.d.ts +2 -2
- package/dist/types/transpiler/file/file.d.ts +11 -6
- package/dist/types/transpiler/file/file.d.ts.map +1 -1
- package/dist/types/transpiler/file/fileBrowser.d.ts +7 -2
- package/dist/types/transpiler/file/fileBrowser.d.ts.map +1 -1
- package/dist/types/transpiler/file/index.d.ts +2 -2
- package/dist/types/transpiler/gender/gender.d.ts +9 -6
- package/dist/types/transpiler/gender/gender.d.ts.map +1 -1
- package/dist/types/transpiler/gender/index.d.ts +2 -2
- package/dist/types/transpiler/index.d.ts +11 -9
- package/dist/types/transpiler/insertion/getInsertionValues.d.ts +4 -1
- package/dist/types/transpiler/insertion/getInsertionValues.d.ts.map +1 -1
- package/dist/types/transpiler/insertion/index.d.ts +3 -3
- package/dist/types/transpiler/insertion/insertion.d.ts +8 -5
- package/dist/types/transpiler/insertion/insertion.d.ts.map +1 -1
- package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts +4 -1
- package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts.map +1 -1
- package/dist/types/transpiler/markdown/index.d.ts +3 -3
- package/dist/types/transpiler/markdown/markdown.d.ts +8 -5
- package/dist/types/transpiler/markdown/markdown.d.ts.map +1 -1
- package/dist/types/transpiler/nesting/index.d.ts +2 -2
- package/dist/types/transpiler/nesting/nesting.d.ts +24 -25
- package/dist/types/transpiler/nesting/nesting.d.ts.map +1 -1
- package/dist/types/transpiler/translation/index.d.ts +2 -2
- package/dist/types/transpiler/translation/translation.d.ts +9 -6
- package/dist/types/transpiler/translation/translation.d.ts.map +1 -1
- package/dist/types/utils/checkIsURLAbsolute.d.ts +4 -1
- package/dist/types/utils/checkIsURLAbsolute.d.ts.map +1 -1
- package/dist/types/utils/intl.d.ts +9 -10
- package/dist/types/utils/intl.d.ts.map +1 -1
- package/dist/types/utils/isSameKeyPath.d.ts +6 -2
- package/dist/types/utils/isSameKeyPath.d.ts.map +1 -1
- package/dist/types/utils/isValidReactElement.d.ts +4 -1
- package/dist/types/utils/isValidReactElement.d.ts.map +1 -1
- package/dist/types/utils/localeStorage.d.ts +105 -0
- package/dist/types/utils/localeStorage.d.ts.map +1 -0
- package/dist/types/utils/parseYaml.d.ts +4 -1
- package/dist/types/utils/parseYaml.d.ts.map +1 -1
- package/package.json +36 -121
- package/LICENSE +0 -202
- package/dist/cjs/deepTranformPlugins/getFilterTranslationsOnlyContent.cjs +0 -130
- package/dist/cjs/deepTranformPlugins/getFilterTranslationsOnlyContent.cjs.map +0 -1
- package/dist/cjs/deepTranformPlugins/getFilteredLocalesContent.cjs +0 -62
- package/dist/cjs/deepTranformPlugins/getFilteredLocalesContent.cjs.map +0 -1
- package/dist/cjs/deepTranformPlugins/getLocalisedContent.cjs +0 -51
- package/dist/cjs/deepTranformPlugins/getLocalisedContent.cjs.map +0 -1
- package/dist/cjs/deepTranformPlugins/getMaskContent.cjs +0 -49
- package/dist/cjs/deepTranformPlugins/getMaskContent.cjs.map +0 -1
- package/dist/cjs/deepTranformPlugins/getMissingLocalesContent.cjs +0 -78
- package/dist/cjs/deepTranformPlugins/getMissingLocalesContent.cjs.map +0 -1
- package/dist/cjs/deepTranformPlugins/getReplacedValuesContent.cjs +0 -82
- package/dist/cjs/deepTranformPlugins/getReplacedValuesContent.cjs.map +0 -1
- package/dist/cjs/deepTranformPlugins/index.cjs +0 -33
- package/dist/cjs/deepTranformPlugins/index.cjs.map +0 -1
- package/dist/cjs/dictionaryManipulator/index.cjs.map +0 -1
- package/dist/cjs/formatters/index.cjs.map +0 -1
- package/dist/cjs/index.cjs.map +0 -1
- package/dist/cjs/interpreter/getContent/index.cjs.map +0 -1
- package/dist/cjs/interpreter/getIntlayerAsync.cjs +0 -37
- package/dist/cjs/interpreter/getIntlayerAsync.cjs.map +0 -1
- package/dist/cjs/interpreter/index.cjs.map +0 -1
- package/dist/cjs/localization/index.cjs.map +0 -1
- package/dist/cjs/localization/localeList.cjs +0 -256
- package/dist/cjs/localization/localeList.cjs.map +0 -1
- package/dist/cjs/transpiler/condition/index.cjs.map +0 -1
- package/dist/cjs/transpiler/enumeration/index.cjs.map +0 -1
- package/dist/cjs/transpiler/file/index.cjs.map +0 -1
- package/dist/cjs/transpiler/gender/index.cjs.map +0 -1
- package/dist/cjs/transpiler/index.cjs.map +0 -1
- package/dist/cjs/transpiler/insertion/index.cjs.map +0 -1
- package/dist/cjs/transpiler/markdown/index.cjs.map +0 -1
- package/dist/cjs/transpiler/nesting/index.cjs.map +0 -1
- package/dist/cjs/transpiler/translation/index.cjs.map +0 -1
- package/dist/cjs/types/dictionary.cjs +0 -17
- package/dist/cjs/types/dictionary.cjs.map +0 -1
- package/dist/cjs/types/index.cjs +0 -29
- package/dist/cjs/types/index.cjs.map +0 -1
- package/dist/cjs/types/intlayer.cjs +0 -35
- package/dist/cjs/types/intlayer.cjs.map +0 -1
- package/dist/cjs/types/keyPath.cjs +0 -17
- package/dist/cjs/types/keyPath.cjs.map +0 -1
- package/dist/cjs/types/nodeType.cjs +0 -53
- package/dist/cjs/types/nodeType.cjs.map +0 -1
- package/dist/cjs/types/translation.cjs +0 -17
- package/dist/cjs/types/translation.cjs.map +0 -1
- package/dist/esm/deepTranformPlugins/getFilterTranslationsOnlyContent.mjs +0 -95
- package/dist/esm/deepTranformPlugins/getFilterTranslationsOnlyContent.mjs.map +0 -1
- package/dist/esm/deepTranformPlugins/getFilteredLocalesContent.mjs +0 -40
- package/dist/esm/deepTranformPlugins/getFilteredLocalesContent.mjs.map +0 -1
- package/dist/esm/deepTranformPlugins/getLocalisedContent.mjs +0 -19
- package/dist/esm/deepTranformPlugins/getLocalisedContent.mjs.map +0 -1
- package/dist/esm/deepTranformPlugins/getMaskContent.mjs +0 -24
- package/dist/esm/deepTranformPlugins/getMaskContent.mjs.map +0 -1
- package/dist/esm/deepTranformPlugins/getMissingLocalesContent.mjs +0 -43
- package/dist/esm/deepTranformPlugins/getMissingLocalesContent.mjs.map +0 -1
- package/dist/esm/deepTranformPlugins/getReplacedValuesContent.mjs +0 -60
- package/dist/esm/deepTranformPlugins/getReplacedValuesContent.mjs.map +0 -1
- package/dist/esm/deepTranformPlugins/index.mjs +0 -7
- package/dist/esm/deepTranformPlugins/index.mjs.map +0 -1
- package/dist/esm/dictionaryManipulator/index.mjs.map +0 -1
- package/dist/esm/formatters/index.mjs.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/interpreter/getContent/index.mjs.map +0 -1
- package/dist/esm/interpreter/getIntlayerAsync.mjs +0 -13
- package/dist/esm/interpreter/getIntlayerAsync.mjs.map +0 -1
- package/dist/esm/interpreter/index.mjs.map +0 -1
- package/dist/esm/localization/index.mjs.map +0 -1
- package/dist/esm/localization/localeList.mjs +0 -232
- package/dist/esm/localization/localeList.mjs.map +0 -1
- package/dist/esm/transpiler/condition/index.mjs.map +0 -1
- package/dist/esm/transpiler/enumeration/index.mjs.map +0 -1
- package/dist/esm/transpiler/file/index.mjs.map +0 -1
- package/dist/esm/transpiler/gender/index.mjs.map +0 -1
- package/dist/esm/transpiler/index.mjs.map +0 -1
- package/dist/esm/transpiler/insertion/index.mjs.map +0 -1
- package/dist/esm/transpiler/markdown/index.mjs.map +0 -1
- package/dist/esm/transpiler/nesting/index.mjs.map +0 -1
- package/dist/esm/transpiler/translation/index.mjs.map +0 -1
- package/dist/esm/types/dictionary.mjs +0 -1
- package/dist/esm/types/dictionary.mjs.map +0 -1
- package/dist/esm/types/index.mjs +0 -5
- package/dist/esm/types/index.mjs.map +0 -1
- package/dist/esm/types/intlayer.mjs +0 -13
- package/dist/esm/types/intlayer.mjs.map +0 -1
- package/dist/esm/types/keyPath.mjs +0 -1
- package/dist/esm/types/keyPath.mjs.map +0 -1
- package/dist/esm/types/nodeType.mjs +0 -28
- package/dist/esm/types/nodeType.mjs.map +0 -1
- package/dist/esm/types/translation.mjs +0 -1
- package/dist/esm/types/translation.mjs.map +0 -1
- package/dist/types/deepTranformPlugins/getFilterTranslationsOnlyContent.d.ts +0 -13
- package/dist/types/deepTranformPlugins/getFilterTranslationsOnlyContent.d.ts.map +0 -1
- package/dist/types/deepTranformPlugins/getFilteredLocalesContent.d.ts +0 -5
- package/dist/types/deepTranformPlugins/getFilteredLocalesContent.d.ts.map +0 -1
- package/dist/types/deepTranformPlugins/getLocalisedContent.d.ts +0 -13
- package/dist/types/deepTranformPlugins/getLocalisedContent.d.ts.map +0 -1
- package/dist/types/deepTranformPlugins/getMaskContent.d.ts +0 -6
- package/dist/types/deepTranformPlugins/getMaskContent.d.ts.map +0 -1
- package/dist/types/deepTranformPlugins/getMissingLocalesContent.d.ts +0 -13
- package/dist/types/deepTranformPlugins/getMissingLocalesContent.d.ts.map +0 -1
- package/dist/types/deepTranformPlugins/getReplacedValuesContent.d.ts +0 -4
- package/dist/types/deepTranformPlugins/getReplacedValuesContent.d.ts.map +0 -1
- package/dist/types/deepTranformPlugins/index.d.ts +0 -7
- package/dist/types/deepTranformPlugins/index.d.ts.map +0 -1
- package/dist/types/dictionaryManipulator/index.d.ts.map +0 -1
- package/dist/types/formatters/index.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/interpreter/getContent/index.d.ts.map +0 -1
- package/dist/types/interpreter/getIntlayerAsync.d.ts +0 -13
- package/dist/types/interpreter/getIntlayerAsync.d.ts.map +0 -1
- package/dist/types/interpreter/index.d.ts.map +0 -1
- package/dist/types/localization/index.d.ts.map +0 -1
- package/dist/types/localization/localeList.d.ts +0 -3
- package/dist/types/localization/localeList.d.ts.map +0 -1
- package/dist/types/transpiler/condition/index.d.ts.map +0 -1
- package/dist/types/transpiler/enumeration/index.d.ts.map +0 -1
- package/dist/types/transpiler/file/index.d.ts.map +0 -1
- package/dist/types/transpiler/gender/index.d.ts.map +0 -1
- package/dist/types/transpiler/index.d.ts.map +0 -1
- package/dist/types/transpiler/insertion/index.d.ts.map +0 -1
- package/dist/types/transpiler/markdown/index.d.ts.map +0 -1
- package/dist/types/transpiler/nesting/index.d.ts.map +0 -1
- package/dist/types/transpiler/translation/index.d.ts.map +0 -1
- package/dist/types/types/dictionary.d.ts +0 -307
- package/dist/types/types/dictionary.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -5
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/types/intlayer.d.ts +0 -5
- package/dist/types/types/intlayer.d.ts.map +0 -1
- package/dist/types/types/keyPath.d.ts +0 -47
- package/dist/types/types/keyPath.d.ts.map +0 -1
- package/dist/types/types/nodeType.d.ts +0 -30
- package/dist/types/types/nodeType.d.ts.map +0 -1
- package/dist/types/types/translation.d.ts +0 -25
- package/dist/types/types/translation.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/deepTranformPlugins/getLocalisedContent.ts"],"sourcesContent":["import configuration from '@intlayer/config/built';\nimport type { Locales, LocalesValues } from '@intlayer/config/client';\nimport { deepTransformNode } from '../interpreter/getContent/deepTransform';\nimport {\n translationPlugin,\n type DeepTransformContent,\n type NodeProps,\n type Plugins,\n} from '../interpreter/getContent/plugins';\nimport type { ContentNode } from '../types';\n\n/**\n * Transforms a node in a single pass, applying each plugin as needed.\n * In comparison to `getContent`, this function will only apply the translation plugin.\n * It will not transform enumerations, insertions, or other content types.\n *\n * @param node The node to transform.\n * @param locale The locale to use if your transformers need it (e.g. for translations).\n */\nexport const getLocalisedContent = <\n T extends ContentNode,\n L extends LocalesValues = Locales,\n>(\n node: T,\n locale: L = configuration?.internationalization.defaultLocale as L,\n nodeProps: NodeProps,\n fallback?: LocalesValues // fallback mean that if field is not translated, it will use the default locale\n) => {\n const plugins: Plugins[] = [\n translationPlugin(locale, fallback),\n ...(nodeProps.plugins ?? []),\n ];\n\n return deepTransformNode(node, {\n ...nodeProps,\n plugins,\n }) as DeepTransformContent<T>;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA0B;AAE1B,2BAAkC;AAClC,qBAKO;AAWA,MAAM,sBAAsB,CAIjC,MACA,SAAY,aAAAA,SAAe,qBAAqB,eAChD,WACA,aACG;AACH,QAAM,UAAqB;AAAA,QACzB,kCAAkB,QAAQ,QAAQ;AAAA,IAClC,GAAI,UAAU,WAAW,CAAC;AAAA,EAC5B;AAEA,aAAO,wCAAkB,MAAM;AAAA,IAC7B,GAAG;AAAA,IACH;AAAA,EACF,CAAC;AACH;","names":["configuration"]}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getMaskContent_exports = {};
|
|
20
|
-
__export(getMaskContent_exports, {
|
|
21
|
-
buildMaskPlugin: () => buildMaskPlugin,
|
|
22
|
-
getMaskContent: () => getMaskContent
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(getMaskContent_exports);
|
|
25
|
-
var import_interpreter = require('../interpreter/index.cjs');
|
|
26
|
-
const passTypedNodePlugin = {
|
|
27
|
-
id: "pass-typed-node-plugin",
|
|
28
|
-
canHandle: (node) => typeof node === "object" && typeof node?.nodeType === "string",
|
|
29
|
-
transform: (node, props, deepTransformNode2) => deepTransformNode2(node[node.nodeType], props)
|
|
30
|
-
};
|
|
31
|
-
const buildMaskPlugin = {
|
|
32
|
-
id: "build-mask-plugin",
|
|
33
|
-
canHandle: (node) => typeof node === "string" || typeof node === "number",
|
|
34
|
-
transform: () => true
|
|
35
|
-
};
|
|
36
|
-
const getMaskContent = (source) => ({
|
|
37
|
-
...source,
|
|
38
|
-
content: (0, import_interpreter.deepTransformNode)(source.content, {
|
|
39
|
-
dictionaryKey: source.key,
|
|
40
|
-
keyPath: [],
|
|
41
|
-
plugins: [passTypedNodePlugin, buildMaskPlugin]
|
|
42
|
-
})
|
|
43
|
-
});
|
|
44
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
45
|
-
0 && (module.exports = {
|
|
46
|
-
buildMaskPlugin,
|
|
47
|
-
getMaskContent
|
|
48
|
-
});
|
|
49
|
-
//# sourceMappingURL=getMaskContent.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/deepTranformPlugins/getMaskContent.ts"],"sourcesContent":["import { deepTransformNode, type Plugins } from '../interpreter';\nimport { type Dictionary } from '../types';\n\nconst passTypedNodePlugin: Plugins = {\n id: 'pass-typed-node-plugin',\n canHandle: (node) =>\n typeof node === 'object' && typeof node?.nodeType === 'string',\n transform: (node, props, deepTransformNode) =>\n deepTransformNode(node[node.nodeType], props),\n};\n\n/** Translation plugin. Replaces node with a locale string if nodeType = Translation. */\nexport const buildMaskPlugin: Plugins = {\n id: 'build-mask-plugin',\n canHandle: (node) => typeof node === 'string' || typeof node === 'number',\n transform: () => true,\n};\n\nexport const getMaskContent = (source: Dictionary): any => ({\n ...source,\n content: deepTransformNode(source.content, {\n dictionaryKey: source.key,\n keyPath: [],\n plugins: [passTypedNodePlugin, buildMaskPlugin],\n }),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAgD;AAGhD,MAAM,sBAA+B;AAAA,EACnC,IAAI;AAAA,EACJ,WAAW,CAAC,SACV,OAAO,SAAS,YAAY,OAAO,MAAM,aAAa;AAAA,EACxD,WAAW,CAAC,MAAM,OAAOA,uBACvBA,mBAAkB,KAAK,KAAK,QAAQ,GAAG,KAAK;AAChD;AAGO,MAAM,kBAA2B;AAAA,EACtC,IAAI;AAAA,EACJ,WAAW,CAAC,SAAS,OAAO,SAAS,YAAY,OAAO,SAAS;AAAA,EACjE,WAAW,MAAM;AACnB;AAEO,MAAM,iBAAiB,CAAC,YAA6B;AAAA,EAC1D,GAAG;AAAA,EACH,aAAS,sCAAkB,OAAO,SAAS;AAAA,IACzC,eAAe,OAAO;AAAA,IACtB,SAAS,CAAC;AAAA,IACV,SAAS,CAAC,qBAAqB,eAAe;AAAA,EAChD,CAAC;AACH;","names":["deepTransformNode"]}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var getMissingLocalesContent_exports = {};
|
|
30
|
-
__export(getMissingLocalesContent_exports, {
|
|
31
|
-
checkMissingLocalesPlugin: () => checkMissingLocalesPlugin,
|
|
32
|
-
getMissingLocalesContent: () => getMissingLocalesContent
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(getMissingLocalesContent_exports);
|
|
35
|
-
var import_built = __toESM(require("@intlayer/config/built"));
|
|
36
|
-
var import_deepTransform = require('../interpreter/getContent/deepTransform.cjs');
|
|
37
|
-
var import_types = require('../types/index.cjs');
|
|
38
|
-
const checkMissingLocalesPlugin = (locales, onMissingLocale) => ({
|
|
39
|
-
id: "check-missing-locales-plugin",
|
|
40
|
-
canHandle: (node) => typeof node === "object" && node?.nodeType === import_types.NodeType.Translation,
|
|
41
|
-
transform: (node, props, deepTransformNode2) => {
|
|
42
|
-
for (const locale of locales) {
|
|
43
|
-
if (!node[import_types.NodeType.Translation][locale]) {
|
|
44
|
-
onMissingLocale(locale);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
const translations = node[import_types.NodeType.Translation];
|
|
48
|
-
for (const key in translations) {
|
|
49
|
-
const child = translations[key];
|
|
50
|
-
deepTransformNode2(child, {
|
|
51
|
-
...props,
|
|
52
|
-
children: child
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
return node;
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
const getMissingLocalesContent = (node, locales = import_built.default?.internationalization.locales, nodeProps) => {
|
|
59
|
-
const missingLocales = /* @__PURE__ */ new Set();
|
|
60
|
-
const plugins = [
|
|
61
|
-
checkMissingLocalesPlugin(
|
|
62
|
-
locales,
|
|
63
|
-
(locale) => missingLocales.add(locale)
|
|
64
|
-
),
|
|
65
|
-
...nodeProps.plugins ?? []
|
|
66
|
-
];
|
|
67
|
-
(0, import_deepTransform.deepTransformNode)(node, {
|
|
68
|
-
...nodeProps,
|
|
69
|
-
plugins
|
|
70
|
-
});
|
|
71
|
-
return Array.from(missingLocales);
|
|
72
|
-
};
|
|
73
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
74
|
-
0 && (module.exports = {
|
|
75
|
-
checkMissingLocalesPlugin,
|
|
76
|
-
getMissingLocalesContent
|
|
77
|
-
});
|
|
78
|
-
//# sourceMappingURL=getMissingLocalesContent.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/deepTranformPlugins/getMissingLocalesContent.ts"],"sourcesContent":["import configuration from '@intlayer/config/built';\nimport type { Locales, LocalesValues } from '@intlayer/config/client';\nimport { deepTransformNode } from '../interpreter/getContent/deepTransform';\nimport {\n type DeepTransformContent,\n type NodeProps,\n type Plugins,\n} from '../interpreter/getContent/plugins';\nimport { TranslationContent } from '../transpiler';\nimport { NodeType, type ContentNode } from '../types';\n\n/** Translation plugin. Replaces node with a locale string if nodeType = Translation. */\nexport const checkMissingLocalesPlugin = (\n locales: Locales[],\n onMissingLocale: (locale: Locales) => void\n): Plugins => ({\n id: 'check-missing-locales-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.Translation,\n transform: (node: TranslationContent, props, deepTransformNode) => {\n for (const locale of locales) {\n if (\n !node[NodeType.Translation][\n locale as keyof (typeof node)[NodeType.Translation]\n ]\n ) {\n onMissingLocale(locale);\n }\n }\n\n // Continue traversal inside the translation values, but avoid re-applying this plugin on the same node\n const translations = node[NodeType.Translation] as Record<string, any>;\n for (const key in translations) {\n const child = translations[key];\n deepTransformNode(child, {\n ...props,\n children: child,\n });\n }\n\n // Return the original node; the return value is ignored by the caller\n return node;\n },\n});\n\n/**\n * Return the content of a node with only the translation plugin.\n *\n * @param node The node to transform.\n * @param locales The locales to check for missing translations.\n */\nexport const getMissingLocalesContent = <T extends ContentNode>(\n node: T,\n locales: LocalesValues[] = configuration?.internationalization.locales,\n nodeProps: NodeProps\n): Locales[] => {\n const missingLocales = new Set<Locales>();\n\n const plugins: Plugins[] = [\n checkMissingLocalesPlugin(locales as Locales[], (locale) =>\n missingLocales.add(locale)\n ),\n ...(nodeProps.plugins ?? []),\n ];\n\n deepTransformNode(node, {\n ...nodeProps,\n plugins,\n }) as DeepTransformContent<T>;\n\n return Array.from(missingLocales);\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA0B;AAE1B,2BAAkC;AAOlC,mBAA2C;AAGpC,MAAM,4BAA4B,CACvC,SACA,qBACa;AAAA,EACb,IAAI;AAAA,EACJ,WAAW,CAAC,SACV,OAAO,SAAS,YAAY,MAAM,aAAa,sBAAS;AAAA,EAC1D,WAAW,CAAC,MAA0B,OAAOA,uBAAsB;AACjE,eAAW,UAAU,SAAS;AAC5B,UACE,CAAC,KAAK,sBAAS,WAAW,EACxB,MACF,GACA;AACA,wBAAgB,MAAM;AAAA,MACxB;AAAA,IACF;AAGA,UAAM,eAAe,KAAK,sBAAS,WAAW;AAC9C,eAAW,OAAO,cAAc;AAC9B,YAAM,QAAQ,aAAa,GAAG;AAC9B,MAAAA,mBAAkB,OAAO;AAAA,QACvB,GAAG;AAAA,QACH,UAAU;AAAA,MACZ,CAAC;AAAA,IACH;AAGA,WAAO;AAAA,EACT;AACF;AAQO,MAAM,2BAA2B,CACtC,MACA,UAA2B,aAAAC,SAAe,qBAAqB,SAC/D,cACc;AACd,QAAM,iBAAiB,oBAAI,IAAa;AAExC,QAAM,UAAqB;AAAA,IACzB;AAAA,MAA0B;AAAA,MAAsB,CAAC,WAC/C,eAAe,IAAI,MAAM;AAAA,IAC3B;AAAA,IACA,GAAI,UAAU,WAAW,CAAC;AAAA,EAC5B;AAEA,8CAAkB,MAAM;AAAA,IACtB,GAAG;AAAA,IACH;AAAA,EACF,CAAC;AAED,SAAO,MAAM,KAAK,cAAc;AAClC;","names":["deepTransformNode","configuration"]}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getReplacedValuesContent_exports = {};
|
|
20
|
-
__export(getReplacedValuesContent_exports, {
|
|
21
|
-
getReplacedValuesContent: () => getReplacedValuesContent
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getReplacedValuesContent_exports);
|
|
24
|
-
var import_interpreter = require('../interpreter/index.cjs');
|
|
25
|
-
const replaceValuesPlugin = (value) => ({
|
|
26
|
-
id: "replace-values-plugin",
|
|
27
|
-
canHandle: (node) => typeof node === "string" || typeof node === "number" || typeof node === "boolean",
|
|
28
|
-
transform: () => value
|
|
29
|
-
});
|
|
30
|
-
const skipTypedNodePlugin = {
|
|
31
|
-
id: "skip-typed-node-plugin",
|
|
32
|
-
canHandle: (node) => typeof node === "object" && typeof node?.nodeType === "string",
|
|
33
|
-
transform: (node, props, deepTransformNode2) => {
|
|
34
|
-
const nodeType = node.nodeType;
|
|
35
|
-
const result = structuredClone(
|
|
36
|
-
node[nodeType]
|
|
37
|
-
);
|
|
38
|
-
if (typeof result !== "object" || result === null) {
|
|
39
|
-
const transformedResult = deepTransformNode2(result, {
|
|
40
|
-
...props,
|
|
41
|
-
children: result,
|
|
42
|
-
keyPath: [
|
|
43
|
-
...props.keyPath,
|
|
44
|
-
{ type: nodeType, key: nodeType }
|
|
45
|
-
]
|
|
46
|
-
});
|
|
47
|
-
return {
|
|
48
|
-
...node,
|
|
49
|
-
[nodeType]: transformedResult
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
for (const key in result) {
|
|
53
|
-
const childProps = {
|
|
54
|
-
...props,
|
|
55
|
-
children: result[key],
|
|
56
|
-
keyPath: [...props.keyPath, { type: nodeType, key }]
|
|
57
|
-
};
|
|
58
|
-
result[key] = deepTransformNode2(
|
|
59
|
-
result[key],
|
|
60
|
-
childProps
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
return { ...node, [nodeType]: result };
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
const getReplacedValuesContent = (node, value, nodeProps) => {
|
|
67
|
-
const plugins = [
|
|
68
|
-
skipTypedNodePlugin,
|
|
69
|
-
replaceValuesPlugin(value),
|
|
70
|
-
...nodeProps.plugins ?? []
|
|
71
|
-
];
|
|
72
|
-
const JSONNode = JSON.parse(JSON.stringify(node));
|
|
73
|
-
return (0, import_interpreter.deepTransformNode)(JSONNode, {
|
|
74
|
-
...nodeProps,
|
|
75
|
-
plugins
|
|
76
|
-
});
|
|
77
|
-
};
|
|
78
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
79
|
-
0 && (module.exports = {
|
|
80
|
-
getReplacedValuesContent
|
|
81
|
-
});
|
|
82
|
-
//# sourceMappingURL=getReplacedValuesContent.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/deepTranformPlugins/getReplacedValuesContent.ts"],"sourcesContent":["import {\n deepTransformNode,\n type NodeProps,\n type Plugins,\n} from '../interpreter';\nimport { KeyPath, NodeType, TypedNode, type ContentNode } from '../types';\n\nconst replaceValuesPlugin = (value: string | number | boolean): Plugins => ({\n id: 'replace-values-plugin',\n canHandle: (node) =>\n typeof node === 'string' ||\n typeof node === 'number' ||\n typeof node === 'boolean',\n transform: () => value,\n});\n\nconst skipTypedNodePlugin: Plugins = {\n id: 'skip-typed-node-plugin',\n canHandle: (node) =>\n typeof node === 'object' && typeof node?.nodeType === 'string',\n transform: (node: TypedNode, props, deepTransformNode) => {\n const nodeType = node.nodeType as NodeType;\n const result = structuredClone(\n node[nodeType as unknown as keyof TypedNode] as any\n );\n\n // If the result is a primitive value (string, number, boolean),\n // we need to transform it directly instead of iterating over its properties\n if (typeof result !== 'object' || result === null) {\n const transformedResult = deepTransformNode(result, {\n ...props,\n children: result,\n keyPath: [\n ...props.keyPath,\n { type: nodeType, key: nodeType } as KeyPath,\n ],\n });\n return {\n ...node,\n [nodeType as unknown as keyof TypedNode]: transformedResult,\n };\n }\n\n // For objects and arrays, iterate over their properties\n for (const key in result) {\n const childProps = {\n ...props,\n children: result[key as unknown as keyof typeof result],\n keyPath: [...props.keyPath, { type: nodeType, key } as KeyPath],\n };\n result[key as unknown as keyof typeof result] = deepTransformNode(\n result[key as unknown as keyof typeof result],\n childProps\n );\n }\n\n return { ...node, [nodeType as unknown as keyof TypedNode]: result };\n },\n};\n\nexport const getReplacedValuesContent = (\n node: ContentNode,\n value: string | number | boolean,\n nodeProps: NodeProps\n) => {\n const plugins: Plugins[] = [\n skipTypedNodePlugin,\n replaceValuesPlugin(value),\n ...(nodeProps.plugins ?? []),\n ];\n\n const JSONNode = JSON.parse(JSON.stringify(node));\n\n return deepTransformNode(JSONNode, {\n ...nodeProps,\n plugins,\n });\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAIO;AAGP,MAAM,sBAAsB,CAAC,WAA+C;AAAA,EAC1E,IAAI;AAAA,EACJ,WAAW,CAAC,SACV,OAAO,SAAS,YAChB,OAAO,SAAS,YAChB,OAAO,SAAS;AAAA,EAClB,WAAW,MAAM;AACnB;AAEA,MAAM,sBAA+B;AAAA,EACnC,IAAI;AAAA,EACJ,WAAW,CAAC,SACV,OAAO,SAAS,YAAY,OAAO,MAAM,aAAa;AAAA,EACxD,WAAW,CAAC,MAAiB,OAAOA,uBAAsB;AACxD,UAAM,WAAW,KAAK;AACtB,UAAM,SAAS;AAAA,MACb,KAAK,QAAsC;AAAA,IAC7C;AAIA,QAAI,OAAO,WAAW,YAAY,WAAW,MAAM;AACjD,YAAM,oBAAoBA,mBAAkB,QAAQ;AAAA,QAClD,GAAG;AAAA,QACH,UAAU;AAAA,QACV,SAAS;AAAA,UACP,GAAG,MAAM;AAAA,UACT,EAAE,MAAM,UAAU,KAAK,SAAS;AAAA,QAClC;AAAA,MACF,CAAC;AACD,aAAO;AAAA,QACL,GAAG;AAAA,QACH,CAAC,QAAsC,GAAG;AAAA,MAC5C;AAAA,IACF;AAGA,eAAW,OAAO,QAAQ;AACxB,YAAM,aAAa;AAAA,QACjB,GAAG;AAAA,QACH,UAAU,OAAO,GAAqC;AAAA,QACtD,SAAS,CAAC,GAAG,MAAM,SAAS,EAAE,MAAM,UAAU,IAAI,CAAY;AAAA,MAChE;AACA,aAAO,GAAqC,IAAIA;AAAA,QAC9C,OAAO,GAAqC;AAAA,QAC5C;AAAA,MACF;AAAA,IACF;AAEA,WAAO,EAAE,GAAG,MAAM,CAAC,QAAsC,GAAG,OAAO;AAAA,EACrE;AACF;AAEO,MAAM,2BAA2B,CACtC,MACA,OACA,cACG;AACH,QAAM,UAAqB;AAAA,IACzB;AAAA,IACA,oBAAoB,KAAK;AAAA,IACzB,GAAI,UAAU,WAAW,CAAC;AAAA,EAC5B;AAEA,QAAM,WAAW,KAAK,MAAM,KAAK,UAAU,IAAI,CAAC;AAEhD,aAAO,sCAAkB,UAAU;AAAA,IACjC,GAAG;AAAA,IACH;AAAA,EACF,CAAC;AACH;","names":["deepTransformNode"]}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
-
var deepTranformPlugins_exports = {};
|
|
17
|
-
module.exports = __toCommonJS(deepTranformPlugins_exports);
|
|
18
|
-
__reExport(deepTranformPlugins_exports, require('./getFilteredLocalesContent.cjs'), module.exports);
|
|
19
|
-
__reExport(deepTranformPlugins_exports, require('./getFilterTranslationsOnlyContent.cjs'), module.exports);
|
|
20
|
-
__reExport(deepTranformPlugins_exports, require('./getLocalisedContent.cjs'), module.exports);
|
|
21
|
-
__reExport(deepTranformPlugins_exports, require('./getMaskContent.cjs'), module.exports);
|
|
22
|
-
__reExport(deepTranformPlugins_exports, require('./getMissingLocalesContent.cjs'), module.exports);
|
|
23
|
-
__reExport(deepTranformPlugins_exports, require('./getReplacedValuesContent.cjs'), module.exports);
|
|
24
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
-
0 && (module.exports = {
|
|
26
|
-
...require('./getFilteredLocalesContent.cjs'),
|
|
27
|
-
...require('./getFilterTranslationsOnlyContent.cjs'),
|
|
28
|
-
...require('./getLocalisedContent.cjs'),
|
|
29
|
-
...require('./getMaskContent.cjs'),
|
|
30
|
-
...require('./getMissingLocalesContent.cjs'),
|
|
31
|
-
...require('./getReplacedValuesContent.cjs')
|
|
32
|
-
});
|
|
33
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/deepTranformPlugins/index.ts"],"sourcesContent":["export * from './getFilteredLocalesContent';\nexport * from './getFilterTranslationsOnlyContent';\nexport * from './getLocalisedContent';\nexport * from './getMaskContent';\nexport * from './getMissingLocalesContent';\nexport * from './getReplacedValuesContent';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wCAAc,wCAAd;AACA,wCAAc,+CADd;AAEA,wCAAc,kCAFd;AAGA,wCAAc,6BAHd;AAIA,wCAAc,uCAJd;AAKA,wCAAc,uCALd;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/dictionaryManipulator/index.ts"],"sourcesContent":["export * from './editDictionaryByKeyPath';\nexport * from './getContentNodeByKeyPath';\nexport * from './getDefaultNode';\nexport * from './getEmptyNode';\nexport * from './getNodeChildren';\nexport * from './getNodeType';\nexport * from './getUnmergedDictionaryByKeyPath';\nexport * from './removeContentNodeByKeyPath';\nexport * from './renameContentNodeByKeyPath';\nexport * from './updateNodeChildren';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,0CAAc,sCAAd;AACA,0CAAc,sCADd;AAEA,0CAAc,6BAFd;AAGA,0CAAc,2BAHd;AAIA,0CAAc,8BAJd;AAKA,0CAAc,0BALd;AAMA,0CAAc,6CANd;AAOA,0CAAc,yCAPd;AAQA,0CAAc,yCARd;AASA,0CAAc,iCATd;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/formatters/index.ts"],"sourcesContent":["export * from './compact';\nexport * from './currency';\nexport * from './date';\nexport * from './list';\nexport * from './number';\nexport * from './percentage';\nexport * from './relativeTime';\nexport * from './units';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,+BAAc,sBAAd;AACA,+BAAc,uBADd;AAEA,+BAAc,mBAFd;AAGA,+BAAc,mBAHd;AAIA,+BAAc,qBAJd;AAKA,+BAAc,yBALd;AAMA,+BAAc,2BANd;AAOA,+BAAc,oBAPd;","names":[]}
|
package/dist/cjs/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './deepTranformPlugins';\nexport * from './dictionaryManipulator/index';\nexport * from './formatters/index';\nexport * from './interpreter/index';\nexport * from './localization/index';\nexport * from './transpiler/index';\nexport * from './types/index';\nexport * from './utils/checkIsURLAbsolute';\nexport * from './utils/intl';\nexport * from './utils/isSameKeyPath';\nexport * from './utils/isValidReactElement';\nexport * from './utils/parseYaml';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,kCAAd;AACA,0BAAc,0CADd;AAEA,0BAAc,+BAFd;AAGA,0BAAc,gCAHd;AAIA,0BAAc,iCAJd;AAKA,0BAAc,+BALd;AAMA,0BAAc,0BANd;AAOA,0BAAc,uCAPd;AAQA,0BAAc,yBARd;AASA,0BAAc,kCATd;AAUA,0BAAc,wCAVd;AAWA,0BAAc,8BAXd;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/interpreter/getContent/index.ts"],"sourcesContent":["export * from './deepTransform';\nexport * from './getContent';\nexport * from './plugins';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,+BAAc,4BAAd;AACA,+BAAc,yBADd;AAEA,+BAAc,sBAFd;","names":[]}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getIntlayerAsync_exports = {};
|
|
20
|
-
__export(getIntlayerAsync_exports, {
|
|
21
|
-
getIntlayerAsync: () => getIntlayerAsync
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getIntlayerAsync_exports);
|
|
24
|
-
var import_api = require("@intlayer/api");
|
|
25
|
-
var import_getDictionary = require('./getDictionary.cjs');
|
|
26
|
-
const getIntlayerAsync = async (key, locale, plugins) => {
|
|
27
|
-
const jsonDistantDictionary = await (0, import_api.fetchDistantDictionary)(key);
|
|
28
|
-
if (jsonDistantDictionary) {
|
|
29
|
-
return (0, import_getDictionary.getDictionary)(jsonDistantDictionary, locale, plugins);
|
|
30
|
-
}
|
|
31
|
-
return null;
|
|
32
|
-
};
|
|
33
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
-
0 && (module.exports = {
|
|
35
|
-
getIntlayerAsync
|
|
36
|
-
});
|
|
37
|
-
//# sourceMappingURL=getIntlayerAsync.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/interpreter/getIntlayerAsync.ts"],"sourcesContent":["import { fetchDistantDictionary } from '@intlayer/api';\nimport type { LocalesValues } from '@intlayer/config/client';\nimport type { DictionaryKeys } from '../types';\nimport type { Plugins } from './getContent';\nimport { getDictionary } from './getDictionary';\n\n/**\n * On the client side, Hook that picking one dictionary by its key and return the content\n *\n * This hook will prerender the locale dictionary and fetch simultaneously the distant dictionaries to hydrate it.\n *\n *\n * If the locale is not provided, it will use the locale from the client context\n */\nexport const getIntlayerAsync = async <\n T extends DictionaryKeys,\n L extends LocalesValues,\n>(\n key: T,\n locale?: L,\n plugins?: Plugins[]\n) => {\n const jsonDistantDictionary = await fetchDistantDictionary(key as string);\n\n if (jsonDistantDictionary) {\n return getDictionary(jsonDistantDictionary, locale, plugins);\n }\n\n return null;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAuC;AAIvC,2BAA8B;AAUvB,MAAM,mBAAmB,OAI9B,KACA,QACA,YACG;AACH,QAAM,wBAAwB,UAAM,mCAAuB,GAAa;AAExE,MAAI,uBAAuB;AACzB,eAAO,oCAAc,uBAAuB,QAAQ,OAAO;AAAA,EAC7D;AAEA,SAAO;AACT;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/interpreter/index.ts"],"sourcesContent":["export * from './getContent/index';\nexport * from './getNesting';\nexport * from './getEnumeration';\nexport * from './getIntlayer';\nexport * from './getDictionary';\nexport * from './getIntlayerAsync';\nexport * from './getTranslation';\nexport * from './getCondition';\nexport * from './getContent/index';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,gCAAc,+BAAd;AACA,gCAAc,yBADd;AAEA,gCAAc,6BAFd;AAGA,gCAAc,0BAHd;AAIA,gCAAc,4BAJd;AAKA,gCAAc,+BALd;AAMA,gCAAc,6BANd;AAOA,gCAAc,2BAPd;AAQA,gCAAc,+BARd;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/localization/index.ts"],"sourcesContent":["export { getHTMLTextDir } from './getHTMLTextDir';\nexport { getLocaleFromPath } from './getLocaleFromPath';\nexport { getLocaleLang } from './getLocaleLang';\nexport { getLocaleName } from './getLocaleName';\nexport { getLocalizedUrl } from './getLocalizedUrl';\nexport { getMultilingualUrls } from './getMultilingualUrls';\nexport { getPathWithoutLocale } from './getPathWithoutLocale';\nexport { localeDetector } from './localeDetector';\nexport { localeList } from './localeList';\nexport { localeFlatMap, localeMap, localeRecord } from './localeMapper';\nexport { localeResolver } from './localeResolver';\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAA+B;AAC/B,+BAAkC;AAClC,2BAA8B;AAC9B,2BAA8B;AAC9B,6BAAgC;AAChC,iCAAoC;AACpC,kCAAqC;AACrC,4BAA+B;AAC/B,wBAA2B;AAC3B,0BAAuD;AACvD,4BAA+B;","names":[]}
|
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var localeList_exports = {};
|
|
20
|
-
__export(localeList_exports, {
|
|
21
|
-
localeList: () => localeList
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(localeList_exports);
|
|
24
|
-
var import_client = require("@intlayer/config/client");
|
|
25
|
-
const localeList = [
|
|
26
|
-
import_client.Locales.AFRIKAANS,
|
|
27
|
-
import_client.Locales.AFRIKAANS_SOUTH_AFRICA,
|
|
28
|
-
import_client.Locales.ARABIC,
|
|
29
|
-
import_client.Locales.ARABIC_UNITED_ARAB_EMIRATES,
|
|
30
|
-
import_client.Locales.ARABIC_BAHRAIN,
|
|
31
|
-
import_client.Locales.ARABIC_ALGERIA,
|
|
32
|
-
import_client.Locales.ARABIC_EGYPT,
|
|
33
|
-
import_client.Locales.ARABIC_IRAQ,
|
|
34
|
-
import_client.Locales.ARABIC_JORDAN,
|
|
35
|
-
import_client.Locales.ARABIC_KUWAIT,
|
|
36
|
-
import_client.Locales.ARABIC_LEBANON,
|
|
37
|
-
import_client.Locales.ARABIC_LIBYA,
|
|
38
|
-
import_client.Locales.ARABIC_MOROCCO,
|
|
39
|
-
import_client.Locales.ARABIC_OMAN,
|
|
40
|
-
import_client.Locales.ARABIC_QATAR,
|
|
41
|
-
import_client.Locales.ARABIC_SAUDI_ARABIA,
|
|
42
|
-
import_client.Locales.ARABIC_SYRIA,
|
|
43
|
-
import_client.Locales.ARABIC_TUNISIA,
|
|
44
|
-
import_client.Locales.ARABIC_YEMEN,
|
|
45
|
-
import_client.Locales.AZERI_LATIN,
|
|
46
|
-
import_client.Locales.AZERI_LATIN_AZERBAIJAN,
|
|
47
|
-
import_client.Locales.BELARUSIAN,
|
|
48
|
-
import_client.Locales.BELARUSIAN_BELARUS,
|
|
49
|
-
import_client.Locales.BULGARIAN,
|
|
50
|
-
import_client.Locales.BULGARIAN_BULGARIA,
|
|
51
|
-
import_client.Locales.BOSNIAN_BOSNIA_AND_HERZEGOVINA,
|
|
52
|
-
import_client.Locales.CATALAN,
|
|
53
|
-
import_client.Locales.CATALAN_SPAIN,
|
|
54
|
-
import_client.Locales.CZECH,
|
|
55
|
-
import_client.Locales.CZECH_CZECH_REPUBLIC,
|
|
56
|
-
import_client.Locales.WELSH,
|
|
57
|
-
import_client.Locales.WELSH_UNITED_KINGDOM,
|
|
58
|
-
import_client.Locales.DANISH,
|
|
59
|
-
import_client.Locales.DANISH_DENMARK,
|
|
60
|
-
import_client.Locales.GERMAN,
|
|
61
|
-
import_client.Locales.GERMAN_AUSTRIA,
|
|
62
|
-
import_client.Locales.GERMAN_SWITZERLAND,
|
|
63
|
-
import_client.Locales.GERMAN_GERMANY,
|
|
64
|
-
import_client.Locales.GERMAN_LIECHTENSTEIN,
|
|
65
|
-
import_client.Locales.GERMAN_LUXEMBOURG,
|
|
66
|
-
import_client.Locales.DIVEHI,
|
|
67
|
-
import_client.Locales.DIVEHI_MALDIVES,
|
|
68
|
-
import_client.Locales.GREEK,
|
|
69
|
-
import_client.Locales.GREEK_GREECE,
|
|
70
|
-
import_client.Locales.ENGLISH,
|
|
71
|
-
import_client.Locales.ENGLISH_AUSTRALIA,
|
|
72
|
-
import_client.Locales.ENGLISH_BELIZE,
|
|
73
|
-
import_client.Locales.ENGLISH_CANADA,
|
|
74
|
-
import_client.Locales.ENGLISH_CARIBBEAN,
|
|
75
|
-
import_client.Locales.ENGLISH_UNITED_KINGDOM,
|
|
76
|
-
import_client.Locales.ENGLISH_IRELAND,
|
|
77
|
-
import_client.Locales.ENGLISH_JAMAICA,
|
|
78
|
-
import_client.Locales.ENGLISH_NEW_ZEALAND,
|
|
79
|
-
import_client.Locales.ENGLISH_PHILIPPINES,
|
|
80
|
-
import_client.Locales.ENGLISH_TRINIDAD_AND_TOBAGO,
|
|
81
|
-
import_client.Locales.ENGLISH_UNITED_STATES,
|
|
82
|
-
import_client.Locales.ENGLISH_SOUTH_AFRICA,
|
|
83
|
-
import_client.Locales.ENGLISH_ZIMBABWE,
|
|
84
|
-
import_client.Locales.ESPERANTO,
|
|
85
|
-
import_client.Locales.SPANISH,
|
|
86
|
-
import_client.Locales.SPANISH_ARGENTINA,
|
|
87
|
-
import_client.Locales.SPANISH_BOLIVIA,
|
|
88
|
-
import_client.Locales.SPANISH_CHILE,
|
|
89
|
-
import_client.Locales.SPANISH_COLOMBIA,
|
|
90
|
-
import_client.Locales.SPANISH_COSTA_RICA,
|
|
91
|
-
import_client.Locales.SPANISH_DOMINICAN_REPUBLIC,
|
|
92
|
-
import_client.Locales.SPANISH_ECUADOR,
|
|
93
|
-
import_client.Locales.SPANISH_SPAIN,
|
|
94
|
-
import_client.Locales.SPANISH_GUATEMALA,
|
|
95
|
-
import_client.Locales.SPANISH_HONDURAS,
|
|
96
|
-
import_client.Locales.SPANISH_MEXICO,
|
|
97
|
-
import_client.Locales.SPANISH_NICARAGUA,
|
|
98
|
-
import_client.Locales.SPANISH_PANAMA,
|
|
99
|
-
import_client.Locales.SPANISH_PERU,
|
|
100
|
-
import_client.Locales.SPANISH_PUERTO_RICO,
|
|
101
|
-
import_client.Locales.SPANISH_PARAGUAY,
|
|
102
|
-
import_client.Locales.SPANISH_EL_SALVADOR,
|
|
103
|
-
import_client.Locales.SPANISH_URUGUAY,
|
|
104
|
-
import_client.Locales.SPANISH_VENEZUELA,
|
|
105
|
-
import_client.Locales.ESTONIAN,
|
|
106
|
-
import_client.Locales.ESTONIAN_ESTONIA,
|
|
107
|
-
import_client.Locales.BASQUE,
|
|
108
|
-
import_client.Locales.BASQUE_SPAIN,
|
|
109
|
-
import_client.Locales.FARSI,
|
|
110
|
-
import_client.Locales.FARSI_IRAN,
|
|
111
|
-
import_client.Locales.FINNISH,
|
|
112
|
-
import_client.Locales.FINNISH_FINLAND,
|
|
113
|
-
import_client.Locales.FAROESE,
|
|
114
|
-
import_client.Locales.FAROESE_FAROE_ISLANDS,
|
|
115
|
-
import_client.Locales.FRENCH,
|
|
116
|
-
import_client.Locales.FRENCH_BELGIUM,
|
|
117
|
-
import_client.Locales.FRENCH_CANADA,
|
|
118
|
-
import_client.Locales.FRENCH_SWITZERLAND,
|
|
119
|
-
import_client.Locales.FRENCH_FRANCE,
|
|
120
|
-
import_client.Locales.FRENCH_LUXEMBOURG,
|
|
121
|
-
import_client.Locales.FRENCH_PRINCIPALITY_OF_MONACO,
|
|
122
|
-
import_client.Locales.GALICIAN,
|
|
123
|
-
import_client.Locales.GALICIAN_SPAIN,
|
|
124
|
-
import_client.Locales.GUJARATI,
|
|
125
|
-
import_client.Locales.GUJARATI_INDIA,
|
|
126
|
-
import_client.Locales.HEBREW,
|
|
127
|
-
import_client.Locales.HEBREW_ISRAEL,
|
|
128
|
-
import_client.Locales.HINDI,
|
|
129
|
-
import_client.Locales.HINDI_INDIA,
|
|
130
|
-
import_client.Locales.CROATIAN,
|
|
131
|
-
import_client.Locales.CROATIAN_BOSNIA_AND_HERZEGOVINA,
|
|
132
|
-
import_client.Locales.CROATIAN_CROATIA,
|
|
133
|
-
import_client.Locales.HUNGARIAN,
|
|
134
|
-
import_client.Locales.HUNGARIAN_HUNGARY,
|
|
135
|
-
import_client.Locales.ARMENIAN,
|
|
136
|
-
import_client.Locales.ARMENIAN_ARMENIA,
|
|
137
|
-
import_client.Locales.INDONESIAN,
|
|
138
|
-
import_client.Locales.INDONESIAN_INDONESIA,
|
|
139
|
-
import_client.Locales.ICELANDIC,
|
|
140
|
-
import_client.Locales.ICELANDIC_ICELAND,
|
|
141
|
-
import_client.Locales.ITALIAN,
|
|
142
|
-
import_client.Locales.ITALIAN_SWITZERLAND,
|
|
143
|
-
import_client.Locales.ITALIAN_ITALY,
|
|
144
|
-
import_client.Locales.JAPANESE,
|
|
145
|
-
import_client.Locales.JAPANESE_JAPAN,
|
|
146
|
-
import_client.Locales.GEORGIAN,
|
|
147
|
-
import_client.Locales.GEORGIAN_GEORGIA,
|
|
148
|
-
import_client.Locales.KAZAKH,
|
|
149
|
-
import_client.Locales.KAZAKH_KAZAKHSTAN,
|
|
150
|
-
import_client.Locales.KANNADA,
|
|
151
|
-
import_client.Locales.KANNADA_INDIA,
|
|
152
|
-
import_client.Locales.KOREAN,
|
|
153
|
-
import_client.Locales.KOREAN_KOREA,
|
|
154
|
-
import_client.Locales.KONKANI,
|
|
155
|
-
import_client.Locales.KONKANI_INDIA,
|
|
156
|
-
import_client.Locales.KYRGYZ,
|
|
157
|
-
import_client.Locales.KYRGYZ_KYRGYZSTAN,
|
|
158
|
-
import_client.Locales.LITHUANIAN,
|
|
159
|
-
import_client.Locales.LITHUANIAN_LITHUANIA,
|
|
160
|
-
import_client.Locales.LATVIAN,
|
|
161
|
-
import_client.Locales.LATVIAN_LATVIA,
|
|
162
|
-
import_client.Locales.MAORI,
|
|
163
|
-
import_client.Locales.MAORI_NEW_ZEALAND,
|
|
164
|
-
import_client.Locales.FYRO_MACEDONIAN,
|
|
165
|
-
import_client.Locales.FYRO_MACEDONIAN_MACEDONIA,
|
|
166
|
-
import_client.Locales.MONGOLIAN,
|
|
167
|
-
import_client.Locales.MONGOLIAN_MONGOLIA,
|
|
168
|
-
import_client.Locales.MARATHI,
|
|
169
|
-
import_client.Locales.MARATHI_INDIA,
|
|
170
|
-
import_client.Locales.MALAY,
|
|
171
|
-
import_client.Locales.MALAY_BRUNEI_DARUSSALAM,
|
|
172
|
-
import_client.Locales.MALAY_MALAYSIA,
|
|
173
|
-
import_client.Locales.MALTESE,
|
|
174
|
-
import_client.Locales.MALTESE_MALTA,
|
|
175
|
-
import_client.Locales.NORWEGIAN_BOKMAL,
|
|
176
|
-
import_client.Locales.NORWEGIAN_BOKMAL_NORWAY,
|
|
177
|
-
import_client.Locales.DUTCH,
|
|
178
|
-
import_client.Locales.DUTCH_BELGIUM,
|
|
179
|
-
import_client.Locales.DUTCH_NETHERLANDS,
|
|
180
|
-
import_client.Locales.NORWEGIAN_NYNORSK_NORWAY,
|
|
181
|
-
import_client.Locales.NORTHERN_SOTHO,
|
|
182
|
-
import_client.Locales.NORTHERN_SOTHO_SOUTH_AFRICA,
|
|
183
|
-
import_client.Locales.PUNJABI,
|
|
184
|
-
import_client.Locales.PUNJABI_INDIA,
|
|
185
|
-
import_client.Locales.POLISH,
|
|
186
|
-
import_client.Locales.POLISH_POLAND,
|
|
187
|
-
import_client.Locales.PASHTO,
|
|
188
|
-
import_client.Locales.PASHTO_AFGHANISTAN,
|
|
189
|
-
import_client.Locales.PORTUGUESE,
|
|
190
|
-
import_client.Locales.PORTUGUESE_BRAZIL,
|
|
191
|
-
import_client.Locales.PORTUGUESE_PORTUGAL,
|
|
192
|
-
import_client.Locales.QUECHUA,
|
|
193
|
-
import_client.Locales.QUECHUA_BOLIVIA,
|
|
194
|
-
import_client.Locales.QUECHUA_ECUADOR,
|
|
195
|
-
import_client.Locales.QUECHUA_PERU,
|
|
196
|
-
import_client.Locales.ROMANIAN,
|
|
197
|
-
import_client.Locales.ROMANIAN_ROMANIA,
|
|
198
|
-
import_client.Locales.RUSSIAN,
|
|
199
|
-
import_client.Locales.RUSSIAN_RUSSIA,
|
|
200
|
-
import_client.Locales.SANSKRIT,
|
|
201
|
-
import_client.Locales.SANSKRIT_INDIA,
|
|
202
|
-
import_client.Locales.SAMI_NORTHERN,
|
|
203
|
-
import_client.Locales.SAMI_NORTHERN_FINLAND,
|
|
204
|
-
import_client.Locales.SAMI_NORTHERN_NORWAY,
|
|
205
|
-
import_client.Locales.SAMI_NORTHERN_SWEDEN,
|
|
206
|
-
import_client.Locales.SLOVAK,
|
|
207
|
-
import_client.Locales.SLOVAK_SLOVAKIA,
|
|
208
|
-
import_client.Locales.SLOVENIAN,
|
|
209
|
-
import_client.Locales.SLOVENIAN_SLOVENIA,
|
|
210
|
-
import_client.Locales.ALBANIAN,
|
|
211
|
-
import_client.Locales.ALBANIAN_ALBANIA,
|
|
212
|
-
import_client.Locales.SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA,
|
|
213
|
-
import_client.Locales.SERBIAN_LATIN_SERBIA_AND_MONTENEGRO,
|
|
214
|
-
import_client.Locales.SWEDISH,
|
|
215
|
-
import_client.Locales.SWEDISH_FINLAND,
|
|
216
|
-
import_client.Locales.SWEDISH_SWEDEN,
|
|
217
|
-
import_client.Locales.SWAHILI_KENYA,
|
|
218
|
-
import_client.Locales.SYRIAC_SYRIA,
|
|
219
|
-
import_client.Locales.TAMIL,
|
|
220
|
-
import_client.Locales.TAMIL_INDIA,
|
|
221
|
-
import_client.Locales.TELUGU,
|
|
222
|
-
import_client.Locales.TELUGU_INDIA,
|
|
223
|
-
import_client.Locales.THAI,
|
|
224
|
-
import_client.Locales.THAI_THAILAND,
|
|
225
|
-
import_client.Locales.TAGALOG,
|
|
226
|
-
import_client.Locales.TAGALOG_PHILIPPINES,
|
|
227
|
-
import_client.Locales.TSWANA,
|
|
228
|
-
import_client.Locales.TSWANA_SOUTH_AFRICA,
|
|
229
|
-
import_client.Locales.TURKISH,
|
|
230
|
-
import_client.Locales.TURKISH_TURKEY,
|
|
231
|
-
import_client.Locales.TATAR,
|
|
232
|
-
import_client.Locales.TATAR_RUSSIA,
|
|
233
|
-
import_client.Locales.TSOGA,
|
|
234
|
-
import_client.Locales.UKRAINIAN,
|
|
235
|
-
import_client.Locales.UKRAINIAN_UKRAINE,
|
|
236
|
-
import_client.Locales.URDU,
|
|
237
|
-
import_client.Locales.URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN,
|
|
238
|
-
import_client.Locales.UZBEK_LATIN,
|
|
239
|
-
import_client.Locales.UZBEK_LATIN_UZBEKISTAN,
|
|
240
|
-
import_client.Locales.VIETNAMESE,
|
|
241
|
-
import_client.Locales.VIETNAMESE_VIET_NAM,
|
|
242
|
-
import_client.Locales.XHOSA,
|
|
243
|
-
import_client.Locales.XHOSA_SOUTH_AFRICA,
|
|
244
|
-
import_client.Locales.CHINESE,
|
|
245
|
-
import_client.Locales.CHINESE_SIMPLIFIED,
|
|
246
|
-
import_client.Locales.CHINESE_HONG_KONG,
|
|
247
|
-
import_client.Locales.CHINESE_MACAU,
|
|
248
|
-
import_client.Locales.CHINESE_SINGAPORE,
|
|
249
|
-
import_client.Locales.CHINESE_TRADITIONAL,
|
|
250
|
-
import_client.Locales.ZULU_SOUTH_AFRICA
|
|
251
|
-
];
|
|
252
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
253
|
-
0 && (module.exports = {
|
|
254
|
-
localeList
|
|
255
|
-
});
|
|
256
|
-
//# sourceMappingURL=localeList.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/localization/localeList.ts"],"sourcesContent":["import { Locales } from '@intlayer/config/client';\n\nexport const localeList: Locales[] = [\n Locales.AFRIKAANS,\n Locales.AFRIKAANS_SOUTH_AFRICA,\n Locales.ARABIC,\n Locales.ARABIC_UNITED_ARAB_EMIRATES,\n Locales.ARABIC_BAHRAIN,\n Locales.ARABIC_ALGERIA,\n Locales.ARABIC_EGYPT,\n Locales.ARABIC_IRAQ,\n Locales.ARABIC_JORDAN,\n Locales.ARABIC_KUWAIT,\n Locales.ARABIC_LEBANON,\n Locales.ARABIC_LIBYA,\n Locales.ARABIC_MOROCCO,\n Locales.ARABIC_OMAN,\n Locales.ARABIC_QATAR,\n Locales.ARABIC_SAUDI_ARABIA,\n Locales.ARABIC_SYRIA,\n Locales.ARABIC_TUNISIA,\n Locales.ARABIC_YEMEN,\n Locales.AZERI_LATIN,\n Locales.AZERI_LATIN_AZERBAIJAN,\n Locales.BELARUSIAN,\n Locales.BELARUSIAN_BELARUS,\n Locales.BULGARIAN,\n Locales.BULGARIAN_BULGARIA,\n Locales.BOSNIAN_BOSNIA_AND_HERZEGOVINA,\n Locales.CATALAN,\n Locales.CATALAN_SPAIN,\n Locales.CZECH,\n Locales.CZECH_CZECH_REPUBLIC,\n Locales.WELSH,\n Locales.WELSH_UNITED_KINGDOM,\n Locales.DANISH,\n Locales.DANISH_DENMARK,\n Locales.GERMAN,\n Locales.GERMAN_AUSTRIA,\n Locales.GERMAN_SWITZERLAND,\n Locales.GERMAN_GERMANY,\n Locales.GERMAN_LIECHTENSTEIN,\n Locales.GERMAN_LUXEMBOURG,\n Locales.DIVEHI,\n Locales.DIVEHI_MALDIVES,\n Locales.GREEK,\n Locales.GREEK_GREECE,\n Locales.ENGLISH,\n Locales.ENGLISH_AUSTRALIA,\n Locales.ENGLISH_BELIZE,\n Locales.ENGLISH_CANADA,\n Locales.ENGLISH_CARIBBEAN,\n Locales.ENGLISH_UNITED_KINGDOM,\n Locales.ENGLISH_IRELAND,\n Locales.ENGLISH_JAMAICA,\n Locales.ENGLISH_NEW_ZEALAND,\n Locales.ENGLISH_PHILIPPINES,\n Locales.ENGLISH_TRINIDAD_AND_TOBAGO,\n Locales.ENGLISH_UNITED_STATES,\n Locales.ENGLISH_SOUTH_AFRICA,\n Locales.ENGLISH_ZIMBABWE,\n Locales.ESPERANTO,\n Locales.SPANISH,\n Locales.SPANISH_ARGENTINA,\n Locales.SPANISH_BOLIVIA,\n Locales.SPANISH_CHILE,\n Locales.SPANISH_COLOMBIA,\n Locales.SPANISH_COSTA_RICA,\n Locales.SPANISH_DOMINICAN_REPUBLIC,\n Locales.SPANISH_ECUADOR,\n Locales.SPANISH_SPAIN,\n Locales.SPANISH_GUATEMALA,\n Locales.SPANISH_HONDURAS,\n Locales.SPANISH_MEXICO,\n Locales.SPANISH_NICARAGUA,\n Locales.SPANISH_PANAMA,\n Locales.SPANISH_PERU,\n Locales.SPANISH_PUERTO_RICO,\n Locales.SPANISH_PARAGUAY,\n Locales.SPANISH_EL_SALVADOR,\n Locales.SPANISH_URUGUAY,\n Locales.SPANISH_VENEZUELA,\n Locales.ESTONIAN,\n Locales.ESTONIAN_ESTONIA,\n Locales.BASQUE,\n Locales.BASQUE_SPAIN,\n Locales.FARSI,\n Locales.FARSI_IRAN,\n Locales.FINNISH,\n Locales.FINNISH_FINLAND,\n Locales.FAROESE,\n Locales.FAROESE_FAROE_ISLANDS,\n Locales.FRENCH,\n Locales.FRENCH_BELGIUM,\n Locales.FRENCH_CANADA,\n Locales.FRENCH_SWITZERLAND,\n Locales.FRENCH_FRANCE,\n Locales.FRENCH_LUXEMBOURG,\n Locales.FRENCH_PRINCIPALITY_OF_MONACO,\n Locales.GALICIAN,\n Locales.GALICIAN_SPAIN,\n Locales.GUJARATI,\n Locales.GUJARATI_INDIA,\n Locales.HEBREW,\n Locales.HEBREW_ISRAEL,\n Locales.HINDI,\n Locales.HINDI_INDIA,\n Locales.CROATIAN,\n Locales.CROATIAN_BOSNIA_AND_HERZEGOVINA,\n Locales.CROATIAN_CROATIA,\n Locales.HUNGARIAN,\n Locales.HUNGARIAN_HUNGARY,\n Locales.ARMENIAN,\n Locales.ARMENIAN_ARMENIA,\n Locales.INDONESIAN,\n Locales.INDONESIAN_INDONESIA,\n Locales.ICELANDIC,\n Locales.ICELANDIC_ICELAND,\n Locales.ITALIAN,\n Locales.ITALIAN_SWITZERLAND,\n Locales.ITALIAN_ITALY,\n Locales.JAPANESE,\n Locales.JAPANESE_JAPAN,\n Locales.GEORGIAN,\n Locales.GEORGIAN_GEORGIA,\n Locales.KAZAKH,\n Locales.KAZAKH_KAZAKHSTAN,\n Locales.KANNADA,\n Locales.KANNADA_INDIA,\n Locales.KOREAN,\n Locales.KOREAN_KOREA,\n Locales.KONKANI,\n Locales.KONKANI_INDIA,\n Locales.KYRGYZ,\n Locales.KYRGYZ_KYRGYZSTAN,\n Locales.LITHUANIAN,\n Locales.LITHUANIAN_LITHUANIA,\n Locales.LATVIAN,\n Locales.LATVIAN_LATVIA,\n Locales.MAORI,\n Locales.MAORI_NEW_ZEALAND,\n Locales.FYRO_MACEDONIAN,\n Locales.FYRO_MACEDONIAN_MACEDONIA,\n Locales.MONGOLIAN,\n Locales.MONGOLIAN_MONGOLIA,\n Locales.MARATHI,\n Locales.MARATHI_INDIA,\n Locales.MALAY,\n Locales.MALAY_BRUNEI_DARUSSALAM,\n Locales.MALAY_MALAYSIA,\n Locales.MALTESE,\n Locales.MALTESE_MALTA,\n Locales.NORWEGIAN_BOKMAL,\n Locales.NORWEGIAN_BOKMAL_NORWAY,\n Locales.DUTCH,\n Locales.DUTCH_BELGIUM,\n Locales.DUTCH_NETHERLANDS,\n Locales.NORWEGIAN_NYNORSK_NORWAY,\n Locales.NORTHERN_SOTHO,\n Locales.NORTHERN_SOTHO_SOUTH_AFRICA,\n Locales.PUNJABI,\n Locales.PUNJABI_INDIA,\n Locales.POLISH,\n Locales.POLISH_POLAND,\n Locales.PASHTO,\n Locales.PASHTO_AFGHANISTAN,\n Locales.PORTUGUESE,\n Locales.PORTUGUESE_BRAZIL,\n Locales.PORTUGUESE_PORTUGAL,\n Locales.QUECHUA,\n Locales.QUECHUA_BOLIVIA,\n Locales.QUECHUA_ECUADOR,\n Locales.QUECHUA_PERU,\n Locales.ROMANIAN,\n Locales.ROMANIAN_ROMANIA,\n Locales.RUSSIAN,\n Locales.RUSSIAN_RUSSIA,\n Locales.SANSKRIT,\n Locales.SANSKRIT_INDIA,\n Locales.SAMI_NORTHERN,\n Locales.SAMI_NORTHERN_FINLAND,\n Locales.SAMI_NORTHERN_NORWAY,\n Locales.SAMI_NORTHERN_SWEDEN,\n Locales.SLOVAK,\n Locales.SLOVAK_SLOVAKIA,\n Locales.SLOVENIAN,\n Locales.SLOVENIAN_SLOVENIA,\n Locales.ALBANIAN,\n Locales.ALBANIAN_ALBANIA,\n Locales.SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA,\n Locales.SERBIAN_LATIN_SERBIA_AND_MONTENEGRO,\n Locales.SWEDISH,\n Locales.SWEDISH_FINLAND,\n Locales.SWEDISH_SWEDEN,\n Locales.SWAHILI_KENYA,\n Locales.SYRIAC_SYRIA,\n Locales.TAMIL,\n Locales.TAMIL_INDIA,\n Locales.TELUGU,\n Locales.TELUGU_INDIA,\n Locales.THAI,\n Locales.THAI_THAILAND,\n Locales.TAGALOG,\n Locales.TAGALOG_PHILIPPINES,\n Locales.TSWANA,\n Locales.TSWANA_SOUTH_AFRICA,\n Locales.TURKISH,\n Locales.TURKISH_TURKEY,\n Locales.TATAR,\n Locales.TATAR_RUSSIA,\n Locales.TSOGA,\n Locales.UKRAINIAN,\n Locales.UKRAINIAN_UKRAINE,\n Locales.URDU,\n Locales.URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN,\n Locales.UZBEK_LATIN,\n Locales.UZBEK_LATIN_UZBEKISTAN,\n Locales.VIETNAMESE,\n Locales.VIETNAMESE_VIET_NAM,\n Locales.XHOSA,\n Locales.XHOSA_SOUTH_AFRICA,\n Locales.CHINESE,\n Locales.CHINESE_SIMPLIFIED,\n Locales.CHINESE_HONG_KONG,\n Locales.CHINESE_MACAU,\n Locales.CHINESE_SINGAPORE,\n Locales.CHINESE_TRADITIONAL,\n Locales.ZULU_SOUTH_AFRICA,\n];\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAwB;AAEjB,MAAM,aAAwB;AAAA,EACnC,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AAAA,EACR,sBAAQ;AACV;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/transpiler/condition/index.ts"],"sourcesContent":["export * from './condition';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,8BAAc,wBAAd;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/transpiler/enumeration/index.ts"],"sourcesContent":["export * from './enumeration';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,gCAAc,0BAAd;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/transpiler/file/index.ts"],"sourcesContent":["export * from './file';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,mBAAd;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/transpiler/gender/index.ts"],"sourcesContent":["export * from './gender';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,2BAAc,qBAAd;","names":[]}
|