preact-intlayer 7.1.4 → 7.1.6
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/UI/ContentSelector.cjs +1 -1
- package/dist/cjs/UI/ContentSelector.cjs.map +1 -1
- package/dist/cjs/editor/ContentSelectorWrapper.cjs +1 -1
- package/dist/cjs/editor/ContentSelectorWrapper.cjs.map +1 -1
- package/dist/cjs/editor/EditorProvider.cjs +1 -1
- package/dist/cjs/editor/EditorProvider.cjs.map +1 -1
- package/dist/cjs/plugins.cjs +3 -3
- package/dist/cjs/plugins.cjs.map +1 -1
- package/dist/esm/UI/ContentSelector.mjs +1 -1
- package/dist/esm/UI/ContentSelector.mjs.map +1 -1
- package/dist/esm/editor/ContentSelectorWrapper.mjs +1 -1
- package/dist/esm/editor/ContentSelectorWrapper.mjs.map +1 -1
- package/dist/esm/editor/EditorProvider.mjs +1 -1
- package/dist/esm/editor/EditorProvider.mjs.map +1 -1
- package/dist/esm/plugins.mjs +3 -3
- package/dist/esm/plugins.mjs.map +1 -1
- package/dist/types/client/format/useCompact.d.ts +2 -2
- package/dist/types/client/format/useCompact.d.ts.map +1 -1
- package/dist/types/client/format/useCurrency.d.ts +2 -2
- package/dist/types/client/format/useCurrency.d.ts.map +1 -1
- package/dist/types/client/format/useList.d.ts +2 -2
- package/dist/types/client/format/useList.d.ts.map +1 -1
- package/dist/types/client/format/useNumber.d.ts +2 -2
- package/dist/types/client/format/useNumber.d.ts.map +1 -1
- package/dist/types/client/format/usePercentage.d.ts +2 -2
- package/dist/types/client/format/usePercentage.d.ts.map +1 -1
- package/dist/types/client/format/useRelativeTime.d.ts +2 -2
- package/dist/types/client/format/useRelativeTime.d.ts.map +1 -1
- package/dist/types/client/format/useUnit.d.ts +2 -2
- package/dist/types/client/format/useUnit.d.ts.map +1 -1
- package/dist/types/client/useContent.d.ts +2 -2
- package/dist/types/client/useContent.d.ts.map +1 -1
- package/dist/types/client/useDictionary.d.ts +2 -2
- package/dist/types/client/useDictionary.d.ts.map +1 -1
- package/dist/types/client/useDictionaryDynamic.d.ts +2 -2
- package/dist/types/client/useDictionaryDynamic.d.ts.map +1 -1
- package/dist/types/client/useLocale.d.ts +3 -3
- package/dist/types/client/useLocaleBase.d.ts +5 -5
- package/dist/types/client/useLocaleBase.d.ts.map +1 -1
- package/dist/types/client/useLocaleStorage.d.ts +5 -5
- package/dist/types/client/useLocaleStorage.d.ts.map +1 -1
- package/dist/types/editor/EditorEnabledContext.d.ts +2 -2
- package/dist/types/editor/useCrossURLPathState.d.ts +3 -3
- package/dist/types/plugins.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/cjs/@intlayer/config/dist/esm/_virtual/rolldown_runtime.cjs +0 -10
- package/dist/cjs/@intlayer/config/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/built.cjs +0 -8
- package/dist/cjs/@intlayer/config/dist/esm/built.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/configFile/buildConfigurationFields.cjs +0 -119
- package/dist/cjs/@intlayer/config/dist/esm/configFile/buildConfigurationFields.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/configFile/getConfiguration.cjs +0 -69
- package/dist/cjs/@intlayer/config/dist/esm/configFile/getConfiguration.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/configFile/loadConfigurationFile.cjs +0 -26
- package/dist/cjs/@intlayer/config/dist/esm/configFile/loadConfigurationFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/configFile/searchConfigurationFile.cjs +0 -51
- package/dist/cjs/@intlayer/config/dist/esm/configFile/searchConfigurationFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/build.cjs +0 -15
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/build.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/content.cjs +0 -54
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/content.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/dictionary.cjs +0 -7
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/dictionary.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/editor.cjs +0 -23
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/editor.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/internationalization.cjs +0 -14
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/internationalization.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/log.cjs +0 -10
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/log.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/routing.cjs +0 -11
- package/dist/cjs/@intlayer/config/dist/esm/defaultValues/routing.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/loadEnvFile.cjs +0 -26
- package/dist/cjs/@intlayer/config/dist/esm/loadEnvFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/loadExternalFile/bundleFile.cjs +0 -23
- package/dist/cjs/@intlayer/config/dist/esm/loadExternalFile/bundleFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/loadExternalFile/loadExternalFile.cjs +0 -47
- package/dist/cjs/@intlayer/config/dist/esm/loadExternalFile/loadExternalFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/loadExternalFile/parseFileContent.cjs +0 -65
- package/dist/cjs/@intlayer/config/dist/esm/loadExternalFile/parseFileContent.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs +0 -45
- package/dist/cjs/@intlayer/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/logger.cjs +0 -47
- package/dist/cjs/@intlayer/config/dist/esm/logger.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/@intlayer/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/@intlayer/config/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/utils/ESMxCJSHelpers.cjs +0 -27
- package/dist/cjs/@intlayer/config/dist/esm/utils/ESMxCJSHelpers.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/utils/cache.cjs +0 -261
- package/dist/cjs/@intlayer/config/dist/esm/utils/cache.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/utils/clearModuleCache.cjs +0 -26
- package/dist/cjs/@intlayer/config/dist/esm/utils/clearModuleCache.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/utils/getPackageJsonPath.cjs +0 -34
- package/dist/cjs/@intlayer/config/dist/esm/utils/getPackageJsonPath.cjs.map +0 -1
- package/dist/cjs/@intlayer/config/dist/esm/utils/normalizePath.cjs +0 -17
- package/dist/cjs/@intlayer/config/dist/esm/utils/normalizePath.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/_virtual/rolldown_runtime.cjs +0 -10
- package/dist/cjs/@intlayer/core/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs +0 -21
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/built.cjs +0 -8
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/built.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs +0 -119
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/configFile/getConfiguration.cjs +0 -69
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/configFile/getConfiguration.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs +0 -26
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs +0 -51
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/build.cjs +0 -24
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/build.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/content.cjs +0 -78
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/content.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/dictionary.cjs +0 -7
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/dictionary.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/editor.cjs +0 -36
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/editor.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/index.cjs +0 -21
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/index.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/internationalization.cjs +0 -22
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/internationalization.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/log.cjs +0 -16
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/log.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/routing.cjs +0 -26
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/defaultValues/routing.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/loadEnvFile.cjs +0 -26
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/loadEnvFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs +0 -23
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs +0 -47
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs +0 -65
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs +0 -45
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/logger.cjs +0 -47
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/logger.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs +0 -27
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/utils/cache.cjs +0 -261
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/utils/cache.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs +0 -34
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/utils/normalizePath.cjs +0 -17
- package/dist/cjs/@intlayer/core/dist/esm/config/dist/esm/utils/normalizePath.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/_virtual/rolldown_runtime.cjs +0 -11
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs +0 -11
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/built.cjs +0 -8
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/built.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs +0 -119
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.cjs +0 -69
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs +0 -26
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs +0 -51
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.cjs +0 -15
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.cjs +0 -54
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.cjs +0 -7
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.cjs +0 -23
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.cjs +0 -14
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.cjs +0 -10
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.cjs +0 -11
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.cjs +0 -26
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs +0 -23
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs +0 -47
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs +0 -65
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs +0 -45
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/logger.cjs +0 -47
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/logger.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs +0 -27
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/cache.cjs +0 -261
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/cache.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs +0 -34
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.cjs +0 -17
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/index.cjs +0 -27
- package/dist/cjs/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/index.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.cjs +0 -60
- package/dist/cjs/@intlayer/core/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.cjs +0 -17
- package/dist/cjs/@intlayer/core/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.cjs +0 -38
- package/dist/cjs/@intlayer/core/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/formatters/compact.cjs +0 -23
- package/dist/cjs/@intlayer/core/dist/esm/formatters/compact.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/formatters/currency.cjs +0 -27
- package/dist/cjs/@intlayer/core/dist/esm/formatters/currency.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/formatters/date.cjs +0 -58
- package/dist/cjs/@intlayer/core/dist/esm/formatters/date.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/formatters/list.cjs +0 -28
- package/dist/cjs/@intlayer/core/dist/esm/formatters/list.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/formatters/number.cjs +0 -16
- package/dist/cjs/@intlayer/core/dist/esm/formatters/number.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/formatters/percentage.cjs +0 -23
- package/dist/cjs/@intlayer/core/dist/esm/formatters/percentage.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/formatters/relativeTime.cjs +0 -31
- package/dist/cjs/@intlayer/core/dist/esm/formatters/relativeTime.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/formatters/units.cjs +0 -21
- package/dist/cjs/@intlayer/core/dist/esm/formatters/units.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/getStorageAttributes.cjs +0 -133
- package/dist/cjs/@intlayer/core/dist/esm/getStorageAttributes.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getCondition.cjs +0 -33
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getCondition.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getContent/deepTransform.cjs +0 -39
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getContent/deepTransform.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getContent/getContent.cjs +0 -31
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getContent/getContent.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getContent/plugins.cjs +0 -126
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getContent/plugins.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getDictionary.cjs +0 -24
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getDictionary.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getEnumeration.cjs +0 -73
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getEnumeration.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getInsertion.cjs +0 -20
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getInsertion.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getIntlayer.cjs +0 -14
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getIntlayer.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getNesting.cjs +0 -29
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getNesting.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getTranslation.cjs +0 -32
- package/dist/cjs/@intlayer/core/dist/esm/interpreter/getTranslation.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/localization/getBrowserLocale.cjs +0 -25
- package/dist/cjs/@intlayer/core/dist/esm/localization/getBrowserLocale.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/localization/localeResolver.cjs +0 -26
- package/dist/cjs/@intlayer/core/dist/esm/localization/localeResolver.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/transpiler/markdown/getMarkdownMetadata.cjs +0 -23
- package/dist/cjs/@intlayer/core/dist/esm/transpiler/markdown/getMarkdownMetadata.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/@intlayer/core/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/@intlayer/core/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/types/dist/esm/nodeType.cjs +0 -25
- package/dist/cjs/@intlayer/core/dist/esm/types/dist/esm/nodeType.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/utils/intl.cjs +0 -49
- package/dist/cjs/@intlayer/core/dist/esm/utils/intl.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/utils/isSameKeyPath.cjs +0 -7
- package/dist/cjs/@intlayer/core/dist/esm/utils/isSameKeyPath.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/utils/localeStorage.cjs +0 -154
- package/dist/cjs/@intlayer/core/dist/esm/utils/localeStorage.cjs.map +0 -1
- package/dist/cjs/@intlayer/core/dist/esm/utils/parseYaml.cjs +0 -322
- package/dist/cjs/@intlayer/core/dist/esm/utils/parseYaml.cjs.map +0 -1
- package/dist/cjs/@intlayer/editor/dist/esm/compareUrls.cjs +0 -39
- package/dist/cjs/@intlayer/editor/dist/esm/compareUrls.cjs.map +0 -1
- package/dist/cjs/@intlayer/editor/dist/esm/mergeIframeClick.cjs +0 -22
- package/dist/cjs/@intlayer/editor/dist/esm/mergeIframeClick.cjs.map +0 -1
- package/dist/cjs/@intlayer/editor/dist/esm/messagesKeys.cjs +0 -19
- package/dist/cjs/@intlayer/editor/dist/esm/messagesKeys.cjs.map +0 -1
- package/dist/cjs/@intlayer/types/dist/esm/nodeType.cjs +0 -25
- package/dist/cjs/@intlayer/types/dist/esm/nodeType.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.cjs +0 -10
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs +0 -11
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/built.cjs +0 -8
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/built.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs +0 -119
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.cjs +0 -69
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs +0 -26
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs +0 -51
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.cjs +0 -15
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.cjs +0 -54
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.cjs +0 -7
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.cjs +0 -23
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.cjs +0 -14
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.cjs +0 -10
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.cjs +0 -11
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.cjs +0 -26
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs +0 -23
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs +0 -47
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs +0 -65
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs +0 -45
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/logger.cjs +0 -47
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/logger.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs +0 -27
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.cjs +0 -261
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs +0 -34
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.cjs +0 -17
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.cjs.map +0 -1
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/index.cjs +0 -27
- package/dist/cjs/@intlayer/unmerged-dictionaries-entry/dist/esm/index.cjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/@intlayer/config/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/built.mjs +0 -8
- package/dist/esm/@intlayer/config/dist/esm/built.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/configFile/buildConfigurationFields.mjs +0 -118
- package/dist/esm/@intlayer/config/dist/esm/configFile/buildConfigurationFields.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/configFile/getConfiguration.mjs +0 -67
- package/dist/esm/@intlayer/config/dist/esm/configFile/getConfiguration.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/configFile/loadConfigurationFile.mjs +0 -26
- package/dist/esm/@intlayer/config/dist/esm/configFile/loadConfigurationFile.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/configFile/searchConfigurationFile.mjs +0 -50
- package/dist/esm/@intlayer/config/dist/esm/configFile/searchConfigurationFile.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/build.mjs +0 -10
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/build.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/content.mjs +0 -40
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/content.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/dictionary.mjs +0 -6
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/dictionary.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/editor.mjs +0 -14
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/editor.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/internationalization.mjs +0 -11
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/internationalization.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/log.mjs +0 -9
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/log.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/routing.mjs +0 -8
- package/dist/esm/@intlayer/config/dist/esm/defaultValues/routing.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/loadEnvFile.mjs +0 -24
- package/dist/esm/@intlayer/config/dist/esm/loadEnvFile.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/loadExternalFile/bundleFile.mjs +0 -23
- package/dist/esm/@intlayer/config/dist/esm/loadExternalFile/bundleFile.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/loadExternalFile/loadExternalFile.mjs +0 -47
- package/dist/esm/@intlayer/config/dist/esm/loadExternalFile/loadExternalFile.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/loadExternalFile/parseFileContent.mjs +0 -63
- package/dist/esm/@intlayer/config/dist/esm/loadExternalFile/parseFileContent.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs +0 -44
- package/dist/esm/@intlayer/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/logger.mjs +0 -45
- package/dist/esm/@intlayer/config/dist/esm/logger.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/@intlayer/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/@intlayer/config/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/utils/ESMxCJSHelpers.mjs +0 -25
- package/dist/esm/@intlayer/config/dist/esm/utils/ESMxCJSHelpers.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/utils/cache.mjs +0 -263
- package/dist/esm/@intlayer/config/dist/esm/utils/cache.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/utils/getPackageJsonPath.mjs +0 -33
- package/dist/esm/@intlayer/config/dist/esm/utils/getPackageJsonPath.mjs.map +0 -1
- package/dist/esm/@intlayer/config/dist/esm/utils/normalizePath.mjs +0 -16
- package/dist/esm/@intlayer/config/dist/esm/utils/normalizePath.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/@intlayer/core/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs +0 -20
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/built.mjs +0 -8
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/built.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs +0 -118
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/configFile/getConfiguration.mjs +0 -67
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/configFile/getConfiguration.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs +0 -26
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs +0 -50
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/build.mjs +0 -19
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/build.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/content.mjs +0 -64
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/content.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/dictionary.mjs +0 -6
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/dictionary.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/editor.mjs +0 -27
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/editor.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/index.mjs +0 -21
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/index.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/internationalization.mjs +0 -18
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/internationalization.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/log.mjs +0 -14
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/log.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/routing.mjs +0 -23
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/defaultValues/routing.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/loadEnvFile.mjs +0 -24
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/loadEnvFile.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs +0 -23
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs +0 -47
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs +0 -63
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs +0 -44
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/logger.mjs +0 -45
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/logger.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs +0 -25
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/utils/cache.mjs +0 -263
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/utils/cache.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs +0 -33
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/utils/normalizePath.mjs +0 -16
- package/dist/esm/@intlayer/core/dist/esm/config/dist/esm/utils/normalizePath.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/built.mjs +0 -8
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/built.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs +0 -118
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.mjs +0 -67
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs +0 -26
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs +0 -50
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.mjs +0 -10
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.mjs +0 -40
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.mjs +0 -6
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.mjs +0 -14
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.mjs +0 -11
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.mjs +0 -9
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.mjs +0 -8
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.mjs +0 -24
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs +0 -23
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs +0 -47
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs +0 -63
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs +0 -44
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/logger.mjs +0 -45
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/logger.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs +0 -25
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/cache.mjs +0 -263
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/cache.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs +0 -33
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.mjs +0 -16
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/index.mjs +0 -25
- package/dist/esm/@intlayer/core/dist/esm/dictionaries-entry/dist/esm/index.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.mjs +0 -60
- package/dist/esm/@intlayer/core/dist/esm/dictionaryManipulator/editDictionaryByKeyPath.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.mjs +0 -17
- package/dist/esm/@intlayer/core/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.mjs +0 -38
- package/dist/esm/@intlayer/core/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/formatters/compact.mjs +0 -23
- package/dist/esm/@intlayer/core/dist/esm/formatters/compact.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/formatters/currency.mjs +0 -27
- package/dist/esm/@intlayer/core/dist/esm/formatters/currency.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/formatters/date.mjs +0 -58
- package/dist/esm/@intlayer/core/dist/esm/formatters/date.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/formatters/list.mjs +0 -28
- package/dist/esm/@intlayer/core/dist/esm/formatters/list.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/formatters/number.mjs +0 -16
- package/dist/esm/@intlayer/core/dist/esm/formatters/number.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/formatters/percentage.mjs +0 -23
- package/dist/esm/@intlayer/core/dist/esm/formatters/percentage.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/formatters/relativeTime.mjs +0 -31
- package/dist/esm/@intlayer/core/dist/esm/formatters/relativeTime.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/formatters/units.mjs +0 -21
- package/dist/esm/@intlayer/core/dist/esm/formatters/units.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/getStorageAttributes.mjs +0 -133
- package/dist/esm/@intlayer/core/dist/esm/getStorageAttributes.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getCondition.mjs +0 -32
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getCondition.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getContent/deepTransform.mjs +0 -39
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getContent/deepTransform.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getContent/getContent.mjs +0 -31
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getContent/getContent.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getContent/plugins.mjs +0 -121
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getContent/plugins.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getDictionary.mjs +0 -24
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getDictionary.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getEnumeration.mjs +0 -72
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getEnumeration.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getInsertion.mjs +0 -19
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getInsertion.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getIntlayer.mjs +0 -14
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getIntlayer.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getNesting.mjs +0 -29
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getNesting.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getTranslation.mjs +0 -31
- package/dist/esm/@intlayer/core/dist/esm/interpreter/getTranslation.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/localization/getBrowserLocale.mjs +0 -24
- package/dist/esm/@intlayer/core/dist/esm/localization/getBrowserLocale.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/localization/localeResolver.mjs +0 -26
- package/dist/esm/@intlayer/core/dist/esm/localization/localeResolver.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/transpiler/markdown/getMarkdownMetadata.mjs +0 -23
- package/dist/esm/@intlayer/core/dist/esm/transpiler/markdown/getMarkdownMetadata.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/@intlayer/core/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/@intlayer/core/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/types/dist/esm/nodeType.mjs +0 -24
- package/dist/esm/@intlayer/core/dist/esm/types/dist/esm/nodeType.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/utils/intl.mjs +0 -49
- package/dist/esm/@intlayer/core/dist/esm/utils/intl.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/utils/isSameKeyPath.mjs +0 -6
- package/dist/esm/@intlayer/core/dist/esm/utils/isSameKeyPath.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/utils/localeStorage.mjs +0 -152
- package/dist/esm/@intlayer/core/dist/esm/utils/localeStorage.mjs.map +0 -1
- package/dist/esm/@intlayer/core/dist/esm/utils/parseYaml.mjs +0 -321
- package/dist/esm/@intlayer/core/dist/esm/utils/parseYaml.mjs.map +0 -1
- package/dist/esm/@intlayer/editor/dist/esm/compareUrls.mjs +0 -38
- package/dist/esm/@intlayer/editor/dist/esm/compareUrls.mjs.map +0 -1
- package/dist/esm/@intlayer/editor/dist/esm/mergeIframeClick.mjs +0 -21
- package/dist/esm/@intlayer/editor/dist/esm/mergeIframeClick.mjs.map +0 -1
- package/dist/esm/@intlayer/editor/dist/esm/messagesKeys.mjs +0 -18
- package/dist/esm/@intlayer/editor/dist/esm/messagesKeys.mjs.map +0 -1
- package/dist/esm/@intlayer/types/dist/esm/nodeType.mjs +0 -24
- package/dist/esm/@intlayer/types/dist/esm/nodeType.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/built.mjs +0 -8
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/built.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs +0 -118
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.mjs +0 -67
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs +0 -26
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs +0 -50
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.mjs +0 -10
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.mjs +0 -40
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.mjs +0 -6
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.mjs +0 -14
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.mjs +0 -11
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.mjs +0 -9
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.mjs +0 -8
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.mjs +0 -24
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs +0 -23
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs +0 -47
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs +0 -63
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs +0 -44
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/logger.mjs +0 -45
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/logger.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs +0 -25
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.mjs +0 -263
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs +0 -33
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.mjs +0 -16
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.mjs.map +0 -1
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/index.mjs +0 -25
- package/dist/esm/@intlayer/unmerged-dictionaries-entry/dist/esm/index.mjs.map +0 -1
- package/dist/esm/_virtual/rolldown_runtime.mjs +0 -8
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { getCondition } from "../getCondition.mjs";
|
|
2
|
-
import { NodeType } from "../../types/dist/esm/nodeType.mjs";
|
|
3
|
-
import { getEnumeration } from "../getEnumeration.mjs";
|
|
4
|
-
import { getInsertion } from "../getInsertion.mjs";
|
|
5
|
-
import { getNesting } from "../getNesting.mjs";
|
|
6
|
-
import { getTranslation } from "../getTranslation.mjs";
|
|
7
|
-
|
|
8
|
-
//#region ../@intlayer/core/dist/esm/interpreter/getContent/plugins.mjs
|
|
9
|
-
/** Translation plugin. Replaces node with a locale string if nodeType = Translation. */
|
|
10
|
-
const translationPlugin = (locale, fallback) => ({
|
|
11
|
-
id: "translation-plugin",
|
|
12
|
-
canHandle: (node) => typeof node === "object" && node?.nodeType === NodeType.Translation,
|
|
13
|
-
transform: (node, props, deepTransformNode) => {
|
|
14
|
-
const result = structuredClone(node[NodeType.Translation]);
|
|
15
|
-
for (const key in result) {
|
|
16
|
-
const childProps = {
|
|
17
|
-
...props,
|
|
18
|
-
children: result[key],
|
|
19
|
-
keyPath: [...props.keyPath, {
|
|
20
|
-
type: NodeType.Translation,
|
|
21
|
-
key
|
|
22
|
-
}]
|
|
23
|
-
};
|
|
24
|
-
result[key] = deepTransformNode(result[key], childProps);
|
|
25
|
-
}
|
|
26
|
-
return getTranslation(result, locale, fallback);
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
/** Enumeration plugin. Replaces node with a function that takes quantity => string. */
|
|
30
|
-
const enumerationPlugin = {
|
|
31
|
-
id: "enumeration-plugin",
|
|
32
|
-
canHandle: (node) => typeof node === "object" && node?.nodeType === NodeType.Enumeration,
|
|
33
|
-
transform: (node, props, deepTransformNode) => {
|
|
34
|
-
const result = structuredClone(node[NodeType.Enumeration]);
|
|
35
|
-
for (const key in result) {
|
|
36
|
-
const child = result[key];
|
|
37
|
-
result[key] = deepTransformNode(child, {
|
|
38
|
-
...props,
|
|
39
|
-
children: child,
|
|
40
|
-
keyPath: [...props.keyPath, {
|
|
41
|
-
type: NodeType.Enumeration,
|
|
42
|
-
key
|
|
43
|
-
}]
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
return (quantity) => getEnumeration(result, quantity);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
/** Condition plugin. Replaces node with a function that takes boolean => string. */
|
|
50
|
-
const conditionPlugin = {
|
|
51
|
-
id: "condition-plugin",
|
|
52
|
-
canHandle: (node) => typeof node === "object" && node?.nodeType === NodeType.Condition,
|
|
53
|
-
transform: (node, props, deepTransformNode) => {
|
|
54
|
-
const result = structuredClone(node[NodeType.Condition]);
|
|
55
|
-
for (const key in result) {
|
|
56
|
-
const child = result[key];
|
|
57
|
-
result[key] = deepTransformNode(child, {
|
|
58
|
-
...props,
|
|
59
|
-
children: child,
|
|
60
|
-
keyPath: [...props.keyPath, {
|
|
61
|
-
type: NodeType.Condition,
|
|
62
|
-
key
|
|
63
|
-
}]
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
return (value) => getCondition(result, value);
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
const insertionPlugin = {
|
|
70
|
-
id: "insertion-plugin",
|
|
71
|
-
canHandle: (node) => typeof node === "object" && node?.nodeType === NodeType.Insertion,
|
|
72
|
-
transform: (node, props, deepTransformNode) => {
|
|
73
|
-
const newKeyPath = [...props.keyPath, { type: NodeType.Insertion }];
|
|
74
|
-
const children = node[NodeType.Insertion];
|
|
75
|
-
/** Insertion string plugin. Replaces string node with a component that render the insertion. */
|
|
76
|
-
const insertionStringPlugin = {
|
|
77
|
-
id: "insertion-string-plugin",
|
|
78
|
-
canHandle: (node$1) => typeof node$1 === "string",
|
|
79
|
-
transform: (node$1, subProps, deepTransformNode$1) => {
|
|
80
|
-
const transformedResult = deepTransformNode$1(node$1, {
|
|
81
|
-
...subProps,
|
|
82
|
-
children: node$1,
|
|
83
|
-
plugins: [...(props.plugins ?? []).filter((plugin) => plugin.id !== "intlayer-node-plugin")]
|
|
84
|
-
});
|
|
85
|
-
return (values) => {
|
|
86
|
-
const children$1 = getInsertion(transformedResult, values);
|
|
87
|
-
return deepTransformNode$1(children$1, {
|
|
88
|
-
...subProps,
|
|
89
|
-
plugins: props.plugins,
|
|
90
|
-
children: children$1
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
return deepTransformNode(children, {
|
|
96
|
-
...props,
|
|
97
|
-
children,
|
|
98
|
-
keyPath: newKeyPath,
|
|
99
|
-
plugins: [insertionStringPlugin, ...props.plugins ?? []]
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
};
|
|
103
|
-
/** Nested plugin. Replaces node with the result of `getNesting`. */
|
|
104
|
-
const nestedPlugin = {
|
|
105
|
-
id: "nested-plugin",
|
|
106
|
-
canHandle: (node) => typeof node === "object" && node?.nodeType === NodeType.Nested,
|
|
107
|
-
transform: (node, props) => getNesting(node.nested.dictionaryKey, node.nested.path, props)
|
|
108
|
-
};
|
|
109
|
-
/** File plugin. Replaces node with the result of `getNesting`. */
|
|
110
|
-
const filePlugin = {
|
|
111
|
-
id: "file-plugin",
|
|
112
|
-
canHandle: (node) => typeof node === "object" && node?.nodeType === NodeType.File,
|
|
113
|
-
transform: (node, props, deepTransform) => deepTransform(node.content, {
|
|
114
|
-
...props,
|
|
115
|
-
children: node.content
|
|
116
|
-
})
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
//#endregion
|
|
120
|
-
export { conditionPlugin, enumerationPlugin, filePlugin, insertionPlugin, nestedPlugin, translationPlugin };
|
|
121
|
-
//# sourceMappingURL=plugins.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.mjs","names":[],"sources":["../../../../../../../../../@intlayer/core/dist/esm/interpreter/getContent/plugins.mjs"],"sourcesContent":["import { NodeType } from \"../../types/dist/esm/nodeType.mjs\";\nimport { getCondition } from \"../getCondition.mjs\";\nimport { getEnumeration } from \"../getEnumeration.mjs\";\nimport { getGender } from \"../getGender.mjs\";\nimport { getInsertion } from \"../getInsertion.mjs\";\nimport { getNesting } from \"../getNesting.mjs\";\nimport { getTranslation } from \"../getTranslation.mjs\";\n\n//#region src/interpreter/getContent/plugins.ts\n/** Translation plugin. Replaces node with a locale string if nodeType = Translation. */\nconst translationPlugin = (locale, fallback) => ({\n\tid: \"translation-plugin\",\n\tcanHandle: (node) => typeof node === \"object\" && node?.nodeType === NodeType.Translation,\n\ttransform: (node, props, deepTransformNode) => {\n\t\tconst result = structuredClone(node[NodeType.Translation]);\n\t\tfor (const key in result) {\n\t\t\tconst childProps = {\n\t\t\t\t...props,\n\t\t\t\tchildren: result[key],\n\t\t\t\tkeyPath: [...props.keyPath, {\n\t\t\t\t\ttype: NodeType.Translation,\n\t\t\t\t\tkey\n\t\t\t\t}]\n\t\t\t};\n\t\t\tresult[key] = deepTransformNode(result[key], childProps);\n\t\t}\n\t\treturn getTranslation(result, locale, fallback);\n\t}\n});\n/** Enumeration plugin. Replaces node with a function that takes quantity => string. */\nconst enumerationPlugin = {\n\tid: \"enumeration-plugin\",\n\tcanHandle: (node) => typeof node === \"object\" && node?.nodeType === NodeType.Enumeration,\n\ttransform: (node, props, deepTransformNode) => {\n\t\tconst result = structuredClone(node[NodeType.Enumeration]);\n\t\tfor (const key in result) {\n\t\t\tconst child = result[key];\n\t\t\tresult[key] = deepTransformNode(child, {\n\t\t\t\t...props,\n\t\t\t\tchildren: child,\n\t\t\t\tkeyPath: [...props.keyPath, {\n\t\t\t\t\ttype: NodeType.Enumeration,\n\t\t\t\t\tkey\n\t\t\t\t}]\n\t\t\t});\n\t\t}\n\t\treturn (quantity) => getEnumeration(result, quantity);\n\t}\n};\n/** Condition plugin. Replaces node with a function that takes boolean => string. */\nconst conditionPlugin = {\n\tid: \"condition-plugin\",\n\tcanHandle: (node) => typeof node === \"object\" && node?.nodeType === NodeType.Condition,\n\ttransform: (node, props, deepTransformNode) => {\n\t\tconst result = structuredClone(node[NodeType.Condition]);\n\t\tfor (const key in result) {\n\t\t\tconst child = result[key];\n\t\t\tresult[key] = deepTransformNode(child, {\n\t\t\t\t...props,\n\t\t\t\tchildren: child,\n\t\t\t\tkeyPath: [...props.keyPath, {\n\t\t\t\t\ttype: NodeType.Condition,\n\t\t\t\t\tkey\n\t\t\t\t}]\n\t\t\t});\n\t\t}\n\t\treturn (value) => getCondition(result, value);\n\t}\n};\n/** Gender plugin. Replaces node with a function that takes gender => string. */\nconst genderPlugin = {\n\tid: \"gender-plugin\",\n\tcanHandle: (node) => typeof node === \"object\" && node?.nodeType === NodeType.Gender,\n\ttransform: (node, props, deepTransformNode) => {\n\t\tconst result = structuredClone(node[NodeType.Gender]);\n\t\tfor (const key in result) {\n\t\t\tconst child = result[key];\n\t\t\tresult[key] = deepTransformNode(child, {\n\t\t\t\t...props,\n\t\t\t\tchildren: child,\n\t\t\t\tkeyPath: [...props.keyPath, {\n\t\t\t\t\ttype: NodeType.Gender,\n\t\t\t\t\tkey\n\t\t\t\t}]\n\t\t\t});\n\t\t}\n\t\treturn (value) => getGender(result, value);\n\t}\n};\nconst insertionPlugin = {\n\tid: \"insertion-plugin\",\n\tcanHandle: (node) => typeof node === \"object\" && node?.nodeType === NodeType.Insertion,\n\ttransform: (node, props, deepTransformNode) => {\n\t\tconst newKeyPath = [...props.keyPath, { type: NodeType.Insertion }];\n\t\tconst children = node[NodeType.Insertion];\n\t\t/** Insertion string plugin. Replaces string node with a component that render the insertion. */\n\t\tconst insertionStringPlugin = {\n\t\t\tid: \"insertion-string-plugin\",\n\t\t\tcanHandle: (node$1) => typeof node$1 === \"string\",\n\t\t\ttransform: (node$1, subProps, deepTransformNode$1) => {\n\t\t\t\tconst transformedResult = deepTransformNode$1(node$1, {\n\t\t\t\t\t...subProps,\n\t\t\t\t\tchildren: node$1,\n\t\t\t\t\tplugins: [...(props.plugins ?? []).filter((plugin) => plugin.id !== \"intlayer-node-plugin\")]\n\t\t\t\t});\n\t\t\t\treturn (values) => {\n\t\t\t\t\tconst children$1 = getInsertion(transformedResult, values);\n\t\t\t\t\treturn deepTransformNode$1(children$1, {\n\t\t\t\t\t\t...subProps,\n\t\t\t\t\t\tplugins: props.plugins,\n\t\t\t\t\t\tchildren: children$1\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t\treturn deepTransformNode(children, {\n\t\t\t...props,\n\t\t\tchildren,\n\t\t\tkeyPath: newKeyPath,\n\t\t\tplugins: [insertionStringPlugin, ...props.plugins ?? []]\n\t\t});\n\t}\n};\n/** Nested plugin. Replaces node with the result of `getNesting`. */\nconst nestedPlugin = {\n\tid: \"nested-plugin\",\n\tcanHandle: (node) => typeof node === \"object\" && node?.nodeType === NodeType.Nested,\n\ttransform: (node, props) => getNesting(node.nested.dictionaryKey, node.nested.path, props)\n};\n/** File plugin. Replaces node with the result of `getNesting`. */\nconst filePlugin = {\n\tid: \"file-plugin\",\n\tcanHandle: (node) => typeof node === \"object\" && node?.nodeType === NodeType.File,\n\ttransform: (node, props, deepTransform) => deepTransform(node.content, {\n\t\t...props,\n\t\tchildren: node.content\n\t})\n};\n\n//#endregion\nexport { conditionPlugin, enumerationPlugin, filePlugin, genderPlugin, insertionPlugin, nestedPlugin, translationPlugin };\n//# sourceMappingURL=plugins.mjs.map"],"mappings":";;;;;;;;;AAUA,MAAM,qBAAqB,QAAQ,cAAc;CAChD,IAAI;CACJ,YAAY,SAAS,OAAO,SAAS,YAAY,MAAM,aAAa,SAAS;CAC7E,YAAY,MAAM,OAAO,sBAAsB;EAC9C,MAAM,SAAS,gBAAgB,KAAK,SAAS,aAAa;AAC1D,OAAK,MAAM,OAAO,QAAQ;GACzB,MAAM,aAAa;IAClB,GAAG;IACH,UAAU,OAAO;IACjB,SAAS,CAAC,GAAG,MAAM,SAAS;KAC3B,MAAM,SAAS;KACf;KACA,CAAC;IACF;AACD,UAAO,OAAO,kBAAkB,OAAO,MAAM,WAAW;;AAEzD,SAAO,eAAe,QAAQ,QAAQ,SAAS;;CAEhD;;AAED,MAAM,oBAAoB;CACzB,IAAI;CACJ,YAAY,SAAS,OAAO,SAAS,YAAY,MAAM,aAAa,SAAS;CAC7E,YAAY,MAAM,OAAO,sBAAsB;EAC9C,MAAM,SAAS,gBAAgB,KAAK,SAAS,aAAa;AAC1D,OAAK,MAAM,OAAO,QAAQ;GACzB,MAAM,QAAQ,OAAO;AACrB,UAAO,OAAO,kBAAkB,OAAO;IACtC,GAAG;IACH,UAAU;IACV,SAAS,CAAC,GAAG,MAAM,SAAS;KAC3B,MAAM,SAAS;KACf;KACA,CAAC;IACF,CAAC;;AAEH,UAAQ,aAAa,eAAe,QAAQ,SAAS;;CAEtD;;AAED,MAAM,kBAAkB;CACvB,IAAI;CACJ,YAAY,SAAS,OAAO,SAAS,YAAY,MAAM,aAAa,SAAS;CAC7E,YAAY,MAAM,OAAO,sBAAsB;EAC9C,MAAM,SAAS,gBAAgB,KAAK,SAAS,WAAW;AACxD,OAAK,MAAM,OAAO,QAAQ;GACzB,MAAM,QAAQ,OAAO;AACrB,UAAO,OAAO,kBAAkB,OAAO;IACtC,GAAG;IACH,UAAU;IACV,SAAS,CAAC,GAAG,MAAM,SAAS;KAC3B,MAAM,SAAS;KACf;KACA,CAAC;IACF,CAAC;;AAEH,UAAQ,UAAU,aAAa,QAAQ,MAAM;;CAE9C;AAqBD,MAAM,kBAAkB;CACvB,IAAI;CACJ,YAAY,SAAS,OAAO,SAAS,YAAY,MAAM,aAAa,SAAS;CAC7E,YAAY,MAAM,OAAO,sBAAsB;EAC9C,MAAM,aAAa,CAAC,GAAG,MAAM,SAAS,EAAE,MAAM,SAAS,WAAW,CAAC;EACnE,MAAM,WAAW,KAAK,SAAS;;EAE/B,MAAM,wBAAwB;GAC7B,IAAI;GACJ,YAAY,WAAW,OAAO,WAAW;GACzC,YAAY,QAAQ,UAAU,wBAAwB;IACrD,MAAM,oBAAoB,oBAAoB,QAAQ;KACrD,GAAG;KACH,UAAU;KACV,SAAS,CAAC,IAAI,MAAM,WAAW,EAAE,EAAE,QAAQ,WAAW,OAAO,OAAO,uBAAuB,CAAC;KAC5F,CAAC;AACF,YAAQ,WAAW;KAClB,MAAM,aAAa,aAAa,mBAAmB,OAAO;AAC1D,YAAO,oBAAoB,YAAY;MACtC,GAAG;MACH,SAAS,MAAM;MACf,UAAU;MACV,CAAC;;;GAGJ;AACD,SAAO,kBAAkB,UAAU;GAClC,GAAG;GACH;GACA,SAAS;GACT,SAAS,CAAC,uBAAuB,GAAG,MAAM,WAAW,EAAE,CAAC;GACxD,CAAC;;CAEH;;AAED,MAAM,eAAe;CACpB,IAAI;CACJ,YAAY,SAAS,OAAO,SAAS,YAAY,MAAM,aAAa,SAAS;CAC7E,YAAY,MAAM,UAAU,WAAW,KAAK,OAAO,eAAe,KAAK,OAAO,MAAM,MAAM;CAC1F;;AAED,MAAM,aAAa;CAClB,IAAI;CACJ,YAAY,SAAS,OAAO,SAAS,YAAY,MAAM,aAAa,SAAS;CAC7E,YAAY,MAAM,OAAO,kBAAkB,cAAc,KAAK,SAAS;EACtE,GAAG;EACH,UAAU,KAAK;EACf,CAAC;CACF"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { getContent } from "./getContent/getContent.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../@intlayer/core/dist/esm/interpreter/getDictionary.mjs
|
|
4
|
-
/**
|
|
5
|
-
* Transforms a dictionary in a single pass, applying each plugin as needed.
|
|
6
|
-
*
|
|
7
|
-
* @param dictionary The dictionary to transform.
|
|
8
|
-
* @param locale The locale to use if your transformers need it (e.g. for translations).
|
|
9
|
-
* @param additionalPlugins An array of NodeTransformer that define how to transform recognized nodes.
|
|
10
|
-
* If omitted, we’ll use a default set of plugins.
|
|
11
|
-
*/
|
|
12
|
-
const getDictionary = (dictionary, locale, plugins) => {
|
|
13
|
-
const props = {
|
|
14
|
-
dictionaryKey: dictionary.key,
|
|
15
|
-
dictionaryPath: dictionary.filePath,
|
|
16
|
-
keyPath: [],
|
|
17
|
-
plugins
|
|
18
|
-
};
|
|
19
|
-
return getContent(dictionary.content, props, locale);
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
export { getDictionary };
|
|
24
|
-
//# sourceMappingURL=getDictionary.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getDictionary.mjs","names":[],"sources":["../../../../../../../../@intlayer/core/dist/esm/interpreter/getDictionary.mjs"],"sourcesContent":["import { getContent } from \"./getContent/getContent.mjs\";\n\n//#region src/interpreter/getDictionary.ts\n/**\n* Transforms a dictionary in a single pass, applying each plugin as needed.\n*\n* @param dictionary The dictionary to transform.\n* @param locale The locale to use if your transformers need it (e.g. for translations).\n* @param additionalPlugins An array of NodeTransformer that define how to transform recognized nodes.\n* If omitted, we’ll use a default set of plugins.\n*/\nconst getDictionary = (dictionary, locale, plugins) => {\n\tconst props = {\n\t\tdictionaryKey: dictionary.key,\n\t\tdictionaryPath: dictionary.filePath,\n\t\tkeyPath: [],\n\t\tplugins\n\t};\n\treturn getContent(dictionary.content, props, locale);\n};\n\n//#endregion\nexport { getDictionary };\n//# sourceMappingURL=getDictionary.mjs.map"],"mappings":";;;;;;;;;;;AAWA,MAAM,iBAAiB,YAAY,QAAQ,YAAY;CACtD,MAAM,QAAQ;EACb,eAAe,WAAW;EAC1B,gBAAgB,WAAW;EAC3B,SAAS,EAAE;EACX;EACA;AACD,QAAO,WAAW,WAAW,SAAS,OAAO,OAAO"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
//#region ../@intlayer/core/dist/esm/interpreter/getEnumeration.mjs
|
|
2
|
-
/**
|
|
3
|
-
* Find the matching condition for a quantity.
|
|
4
|
-
*
|
|
5
|
-
* Usage:
|
|
6
|
-
*
|
|
7
|
-
* ```ts
|
|
8
|
-
* const key = findMatchingCondition({
|
|
9
|
-
* '<=-2.3': 'You have less than -2.3',
|
|
10
|
-
* '<1': 'You have less than one',
|
|
11
|
-
* '2': 'You have two',
|
|
12
|
-
* '>=3': 'You have three or more',
|
|
13
|
-
* }, 2);
|
|
14
|
-
* // '2'
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* The order of the keys will define the priority of the content.
|
|
18
|
-
*
|
|
19
|
-
* ```ts
|
|
20
|
-
* const key = findMatchingCondition({
|
|
21
|
-
* '<4': 'You have less than four',
|
|
22
|
-
* '2': 'You have two',
|
|
23
|
-
* }, 2);
|
|
24
|
-
* // '<4'
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* If no keys match, the default key is '1'.
|
|
28
|
-
*/
|
|
29
|
-
const findMatchingCondition = (enumerationContent, quantity) => {
|
|
30
|
-
const numericKeys = Object.keys(enumerationContent);
|
|
31
|
-
for (const key of numericKeys) {
|
|
32
|
-
const isEqual = !key.startsWith(">") && !key.startsWith("<") && !key.startsWith("=") && parseFloat(key) === quantity || key.startsWith("=") && parseFloat(key.slice(1)) === quantity;
|
|
33
|
-
const isSuperior = key.startsWith(">") && quantity > parseFloat(key.slice(1));
|
|
34
|
-
const isSuperiorOrEqual = key.startsWith(">=") && quantity >= parseFloat(key.slice(2));
|
|
35
|
-
const isInferior = key.startsWith("<") && quantity < parseFloat(key.slice(1));
|
|
36
|
-
const isInferiorOrEqual = key.startsWith("<=") && quantity <= parseFloat(key.slice(2));
|
|
37
|
-
if (isEqual || isSuperior || isSuperiorOrEqual || isInferior || isInferiorOrEqual) return key;
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Allow to pick a content based on a quantity.
|
|
42
|
-
*
|
|
43
|
-
* Usage:
|
|
44
|
-
*
|
|
45
|
-
* ```ts
|
|
46
|
-
* const content = getEnumeration({
|
|
47
|
-
* '<=-2.3': 'You have less than -2.3',
|
|
48
|
-
* '<1': 'You have less than one',
|
|
49
|
-
* '2': 'You have two',
|
|
50
|
-
* '>=3': 'You have three or more',
|
|
51
|
-
* }, 2);
|
|
52
|
-
* // 'You have two'
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* The order of the keys will define the priority of the content.
|
|
56
|
-
*
|
|
57
|
-
* ```ts
|
|
58
|
-
* const content = getEnumeration({
|
|
59
|
-
* '<4': 'You have less than four',
|
|
60
|
-
* '2': 'You have two',
|
|
61
|
-
* }, 2);
|
|
62
|
-
* // 'You have less than four'
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
const getEnumeration = (enumerationContent, quantity) => {
|
|
67
|
-
return enumerationContent[findMatchingCondition(enumerationContent, quantity) ?? "fallback"];
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
//#endregion
|
|
71
|
-
export { getEnumeration };
|
|
72
|
-
//# sourceMappingURL=getEnumeration.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getEnumeration.mjs","names":[],"sources":["../../../../../../../../@intlayer/core/dist/esm/interpreter/getEnumeration.mjs"],"sourcesContent":["//#region src/interpreter/getEnumeration.ts\n/**\n* Find the matching condition for a quantity.\n*\n* Usage:\n*\n* ```ts\n* const key = findMatchingCondition({\n* '<=-2.3': 'You have less than -2.3',\n* '<1': 'You have less than one',\n* '2': 'You have two',\n* '>=3': 'You have three or more',\n* }, 2);\n* // '2'\n* ```\n*\n* The order of the keys will define the priority of the content.\n*\n* ```ts\n* const key = findMatchingCondition({\n* '<4': 'You have less than four',\n* '2': 'You have two',\n* }, 2);\n* // '<4'\n* ```\n*\n* If no keys match, the default key is '1'.\n*/\nconst findMatchingCondition = (enumerationContent, quantity) => {\n\tconst numericKeys = Object.keys(enumerationContent);\n\tfor (const key of numericKeys) {\n\t\tconst isEqual = !key.startsWith(\">\") && !key.startsWith(\"<\") && !key.startsWith(\"=\") && parseFloat(key) === quantity || key.startsWith(\"=\") && parseFloat(key.slice(1)) === quantity;\n\t\tconst isSuperior = key.startsWith(\">\") && quantity > parseFloat(key.slice(1));\n\t\tconst isSuperiorOrEqual = key.startsWith(\">=\") && quantity >= parseFloat(key.slice(2));\n\t\tconst isInferior = key.startsWith(\"<\") && quantity < parseFloat(key.slice(1));\n\t\tconst isInferiorOrEqual = key.startsWith(\"<=\") && quantity <= parseFloat(key.slice(2));\n\t\tif (isEqual || isSuperior || isSuperiorOrEqual || isInferior || isInferiorOrEqual) return key;\n\t}\n};\n/**\n* Allow to pick a content based on a quantity.\n*\n* Usage:\n*\n* ```ts\n* const content = getEnumeration({\n* '<=-2.3': 'You have less than -2.3',\n* '<1': 'You have less than one',\n* '2': 'You have two',\n* '>=3': 'You have three or more',\n* }, 2);\n* // 'You have two'\n* ```\n*\n* The order of the keys will define the priority of the content.\n*\n* ```ts\n* const content = getEnumeration({\n* '<4': 'You have less than four',\n* '2': 'You have two',\n* }, 2);\n* // 'You have less than four'\n* ```\n*\n*/\nconst getEnumeration = (enumerationContent, quantity) => {\n\treturn enumerationContent[findMatchingCondition(enumerationContent, quantity) ?? \"fallback\"];\n};\n\n//#endregion\nexport { findMatchingCondition, getEnumeration };\n//# sourceMappingURL=getEnumeration.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,MAAM,yBAAyB,oBAAoB,aAAa;CAC/D,MAAM,cAAc,OAAO,KAAK,mBAAmB;AACnD,MAAK,MAAM,OAAO,aAAa;EAC9B,MAAM,UAAU,CAAC,IAAI,WAAW,IAAI,IAAI,CAAC,IAAI,WAAW,IAAI,IAAI,CAAC,IAAI,WAAW,IAAI,IAAI,WAAW,IAAI,KAAK,YAAY,IAAI,WAAW,IAAI,IAAI,WAAW,IAAI,MAAM,EAAE,CAAC,KAAK;EAC5K,MAAM,aAAa,IAAI,WAAW,IAAI,IAAI,WAAW,WAAW,IAAI,MAAM,EAAE,CAAC;EAC7E,MAAM,oBAAoB,IAAI,WAAW,KAAK,IAAI,YAAY,WAAW,IAAI,MAAM,EAAE,CAAC;EACtF,MAAM,aAAa,IAAI,WAAW,IAAI,IAAI,WAAW,WAAW,IAAI,MAAM,EAAE,CAAC;EAC7E,MAAM,oBAAoB,IAAI,WAAW,KAAK,IAAI,YAAY,WAAW,IAAI,MAAM,EAAE,CAAC;AACtF,MAAI,WAAW,cAAc,qBAAqB,cAAc,kBAAmB,QAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6B5F,MAAM,kBAAkB,oBAAoB,aAAa;AACxD,QAAO,mBAAmB,sBAAsB,oBAAoB,SAAS,IAAI"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
//#region ../@intlayer/core/dist/esm/interpreter/getInsertion.mjs
|
|
2
|
-
/**
|
|
3
|
-
* Allow to insert values in a string.
|
|
4
|
-
*
|
|
5
|
-
* Usage:
|
|
6
|
-
*
|
|
7
|
-
* ```ts
|
|
8
|
-
* const content = getInsertion('Hello {{name}}!', {
|
|
9
|
-
* name: 'John',
|
|
10
|
-
* });
|
|
11
|
-
* // 'Hello John!'
|
|
12
|
-
* ```
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
const getInsertion = (content, values) => content.replace(/\{\{(.*?)\}\}/g, (_, key) => (values[key] ?? "").toString());
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
export { getInsertion };
|
|
19
|
-
//# sourceMappingURL=getInsertion.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getInsertion.mjs","names":[],"sources":["../../../../../../../../@intlayer/core/dist/esm/interpreter/getInsertion.mjs"],"sourcesContent":["//#region src/interpreter/getInsertion.ts\n/**\n* Allow to insert values in a string.\n*\n* Usage:\n*\n* ```ts\n* const content = getInsertion('Hello {{name}}!', {\n* name: 'John',\n* });\n* // 'Hello John!'\n* ```\n*\n*/\nconst getInsertion = (content, values) => content.replace(/\\{\\{(.*?)\\}\\}/g, (_, key) => (values[key] ?? \"\").toString());\n\n//#endregion\nexport { getInsertion };\n//# sourceMappingURL=getInsertion.mjs.map"],"mappings":";;;;;;;;;;;;;;AAcA,MAAM,gBAAgB,SAAS,WAAW,QAAQ,QAAQ,mBAAmB,GAAG,SAAS,OAAO,QAAQ,IAAI,UAAU,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { getDictionaries } from "../dictionaries-entry/dist/esm/index.mjs";
|
|
2
|
-
import { getDictionary } from "./getDictionary.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../@intlayer/core/dist/esm/interpreter/getIntlayer.mjs
|
|
5
|
-
const getIntlayer = (key, locale, plugins) => {
|
|
6
|
-
const dictionaries = getDictionaries();
|
|
7
|
-
const dictionary = dictionaries[key];
|
|
8
|
-
if (!dictionary) throw new Error(`Dictionary ${key} not found`, dictionaries);
|
|
9
|
-
return getDictionary(dictionary, locale, plugins);
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { getIntlayer };
|
|
14
|
-
//# sourceMappingURL=getIntlayer.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getIntlayer.mjs","names":[],"sources":["../../../../../../../../@intlayer/core/dist/esm/interpreter/getIntlayer.mjs"],"sourcesContent":["import { getDictionaries } from \"../dictionaries-entry/dist/esm/index.mjs\";\nimport { getDictionary } from \"./getDictionary.mjs\";\n\n//#region src/interpreter/getIntlayer.ts\nconst getIntlayer = (key, locale, plugins) => {\n\tconst dictionaries = getDictionaries();\n\tconst dictionary = dictionaries[key];\n\tif (!dictionary) throw new Error(`Dictionary ${key} not found`, dictionaries);\n\treturn getDictionary(dictionary, locale, plugins);\n};\n\n//#endregion\nexport { getIntlayer };\n//# sourceMappingURL=getIntlayer.mjs.map"],"mappings":";;;;AAIA,MAAM,eAAe,KAAK,QAAQ,YAAY;CAC7C,MAAM,eAAe,iBAAiB;CACtC,MAAM,aAAa,aAAa;AAChC,KAAI,CAAC,WAAY,OAAM,IAAI,MAAM,cAAc,IAAI,aAAa,aAAa;AAC7E,QAAO,cAAc,YAAY,QAAQ,QAAQ"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { getIntlayer } from "./getIntlayer.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../@intlayer/core/dist/esm/interpreter/getNesting.mjs
|
|
4
|
-
/**
|
|
5
|
-
* Allow to extract the content of another dictionary.
|
|
6
|
-
*
|
|
7
|
-
* Usage:
|
|
8
|
-
* ```ts
|
|
9
|
-
* const content = getNesting("dictionaryKey", "path.to.content");
|
|
10
|
-
* // 'Example content'
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
const getNesting = (dictionaryKey, path, props) => {
|
|
14
|
-
const dictionary = getIntlayer(dictionaryKey, props?.locale, props?.plugins);
|
|
15
|
-
if (typeof path === "string") {
|
|
16
|
-
const pathArray = path.split(".");
|
|
17
|
-
let current = dictionary;
|
|
18
|
-
for (const key of pathArray) {
|
|
19
|
-
current = current?.[key];
|
|
20
|
-
if (current === void 0) return dictionary;
|
|
21
|
-
}
|
|
22
|
-
return current;
|
|
23
|
-
}
|
|
24
|
-
return dictionary;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export { getNesting };
|
|
29
|
-
//# sourceMappingURL=getNesting.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getNesting.mjs","names":[],"sources":["../../../../../../../../@intlayer/core/dist/esm/interpreter/getNesting.mjs"],"sourcesContent":["import { getIntlayer } from \"./getIntlayer.mjs\";\n\n//#region src/interpreter/getNesting.ts\n/**\n* Allow to extract the content of another dictionary.\n*\n* Usage:\n* ```ts\n* const content = getNesting(\"dictionaryKey\", \"path.to.content\");\n* // 'Example content'\n* ```\n*/\nconst getNesting = (dictionaryKey, path, props) => {\n\tconst dictionary = getIntlayer(dictionaryKey, props?.locale, props?.plugins);\n\tif (typeof path === \"string\") {\n\t\tconst pathArray = path.split(\".\");\n\t\tlet current = dictionary;\n\t\tfor (const key of pathArray) {\n\t\t\tcurrent = current?.[key];\n\t\t\tif (current === void 0) return dictionary;\n\t\t}\n\t\treturn current;\n\t}\n\treturn dictionary;\n};\n\n//#endregion\nexport { getNesting };\n//# sourceMappingURL=getNesting.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,MAAM,cAAc,eAAe,MAAM,UAAU;CAClD,MAAM,aAAa,YAAY,eAAe,OAAO,QAAQ,OAAO,QAAQ;AAC5E,KAAI,OAAO,SAAS,UAAU;EAC7B,MAAM,YAAY,KAAK,MAAM,IAAI;EACjC,IAAI,UAAU;AACd,OAAK,MAAM,OAAO,WAAW;AAC5B,aAAU,UAAU;AACpB,OAAI,YAAY,KAAK,EAAG,QAAO;;AAEhC,SAAO;;AAER,QAAO"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
//#region ../@intlayer/core/dist/esm/interpreter/getTranslation.mjs
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Allow to pick a content based on a locale.
|
|
5
|
-
* If not locale found, it will return the content related to the default locale.
|
|
6
|
-
*
|
|
7
|
-
* Return either the content editor, or the content itself depending on the configuration.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
*
|
|
11
|
-
* ```ts
|
|
12
|
-
* const content = getTranslation<string>({
|
|
13
|
-
* en: 'Hello',
|
|
14
|
-
* fr: 'Bonjour',
|
|
15
|
-
* }, 'fr');
|
|
16
|
-
* // 'Bonjour'
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* Using TypeScript:
|
|
20
|
-
* - this function will require each locale to be defined if defined in the project configuration.
|
|
21
|
-
* - If a locale is missing, it will make each existing locale optional and raise an error if the locale is not found.
|
|
22
|
-
*/
|
|
23
|
-
const getTranslation = (languageContent, locale, fallback) => {
|
|
24
|
-
let result = languageContent[locale];
|
|
25
|
-
if (fallback && !result) result = languageContent[fallback];
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
//#endregion
|
|
30
|
-
export { getTranslation };
|
|
31
|
-
//# sourceMappingURL=getTranslation.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTranslation.mjs","names":[],"sources":["../../../../../../../../@intlayer/core/dist/esm/interpreter/getTranslation.mjs"],"sourcesContent":["//#region src/interpreter/getTranslation.ts\n/**\n*\n* Allow to pick a content based on a locale.\n* If not locale found, it will return the content related to the default locale.\n*\n* Return either the content editor, or the content itself depending on the configuration.\n*\n* Usage:\n*\n* ```ts\n* const content = getTranslation<string>({\n* en: 'Hello',\n* fr: 'Bonjour',\n* }, 'fr');\n* // 'Bonjour'\n* ```\n*\n* Using TypeScript:\n* - this function will require each locale to be defined if defined in the project configuration.\n* - If a locale is missing, it will make each existing locale optional and raise an error if the locale is not found.\n*/\nconst getTranslation = (languageContent, locale, fallback) => {\n\tlet result = languageContent[locale];\n\tif (fallback && !result) result = languageContent[fallback];\n\treturn result;\n};\n\n//#endregion\nexport { getTranslation };\n//# sourceMappingURL=getTranslation.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAsBA,MAAM,kBAAkB,iBAAiB,QAAQ,aAAa;CAC7D,IAAI,SAAS,gBAAgB;AAC7B,KAAI,YAAY,CAAC,OAAQ,UAAS,gBAAgB;AAClD,QAAO"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region ../@intlayer/core/dist/esm/localization/getBrowserLocale.mjs
|
|
2
|
-
const localeStorageOptions = {
|
|
3
|
-
getCookie: (name) => document.cookie.split(";").find((c) => c.trim().startsWith(`${name}=`))?.split("=")[1],
|
|
4
|
-
getLocaleStorage: (name) => localStorage.getItem(name),
|
|
5
|
-
getSessionStorage: (name) => sessionStorage.getItem(name),
|
|
6
|
-
isCookieEnabled: true,
|
|
7
|
-
setCookieStore: (name, value, attributes) => cookieStore.set({
|
|
8
|
-
name,
|
|
9
|
-
value,
|
|
10
|
-
path: attributes.path,
|
|
11
|
-
domain: attributes.domain,
|
|
12
|
-
expires: attributes.expires,
|
|
13
|
-
sameSite: attributes.sameSite
|
|
14
|
-
}),
|
|
15
|
-
setCookieString: (cookie) => {
|
|
16
|
-
document.cookie = cookie;
|
|
17
|
-
},
|
|
18
|
-
setSessionStorage: (name, value) => sessionStorage.setItem(name, value),
|
|
19
|
-
setLocaleStorage: (name, value) => localStorage.setItem(name, value)
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
export { localeStorageOptions };
|
|
24
|
-
//# sourceMappingURL=getBrowserLocale.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getBrowserLocale.mjs","names":[],"sources":["../../../../../../../../@intlayer/core/dist/esm/localization/getBrowserLocale.mjs"],"sourcesContent":["import { locales_exports } from \"../types/dist/esm/locales.mjs\";\nimport { built_default } from \"../config/dist/esm/built.mjs\";\nimport { getLocaleFromStorage } from \"../utils/localeStorage.mjs\";\nimport { localeDetector } from \"./localeDetector.mjs\";\n\n//#region src/localization/getBrowserLocale.tsx\nlet LanguageDetector = /* @__PURE__ */ function(LanguageDetector$1) {\n\tLanguageDetector$1[\"Querystring\"] = \"querystring\";\n\tLanguageDetector$1[\"Storage\"] = \"storage\";\n\tLanguageDetector$1[\"Navigator\"] = \"navigator\";\n\tLanguageDetector$1[\"HtmlTag\"] = \"htmlTag\";\n\treturn LanguageDetector$1;\n}({});\nconst localeStorageOptions = {\n\tgetCookie: (name) => document.cookie.split(\";\").find((c) => c.trim().startsWith(`${name}=`))?.split(\"=\")[1],\n\tgetLocaleStorage: (name) => localStorage.getItem(name),\n\tgetSessionStorage: (name) => sessionStorage.getItem(name),\n\tisCookieEnabled: true,\n\tsetCookieStore: (name, value, attributes) => cookieStore.set({\n\t\tname,\n\t\tvalue,\n\t\tpath: attributes.path,\n\t\tdomain: attributes.domain,\n\t\texpires: attributes.expires,\n\t\tsameSite: attributes.sameSite\n\t}),\n\tsetCookieString: (cookie) => {\n\t\tdocument.cookie = cookie;\n\t},\n\tsetSessionStorage: (name, value) => sessionStorage.setItem(name, value),\n\tsetLocaleStorage: (name, value) => localStorage.setItem(name, value)\n};\nconst getDefaultsOptions = () => {\n\treturn {\n\t\torder: [\n\t\t\tLanguageDetector.Querystring,\n\t\t\tLanguageDetector.Storage,\n\t\t\tLanguageDetector.Navigator,\n\t\t\tLanguageDetector.HtmlTag\n\t\t],\n\t\tlookupQuerystring: \"locale\",\n\t\thtmlTag: typeof document !== \"undefined\" ? document.documentElement : null\n\t};\n};\nconst detectLanguage = (order, options) => {\n\tconst detected = {};\n\tconst queryStringDetector = () => {\n\t\tif (typeof window === \"undefined\") return;\n\t\tconst search = window.location.search || \"\";\n\t\tconst value = new URLSearchParams(search).get(options.lookupQuerystring ?? \"\");\n\t\tif (value) detected[LanguageDetector.Querystring] = value;\n\t};\n\tconst storageDetector = () => {\n\t\tif (typeof window === \"undefined\") return;\n\t\tconst locale = getLocaleFromStorage({\n\t\t\tgetCookie: (name) => {\n\t\t\t\ttry {\n\t\t\t\t\tconst cookies = document.cookie.split(\";\");\n\t\t\t\t\tconst cookieName = `${name}=`;\n\t\t\t\t\tconst cookie = cookies.find((c) => c.trim().startsWith(cookieName));\n\t\t\t\t\tif (cookie) return cookie.split(\"=\")[1].trim();\n\t\t\t\t} catch {}\n\t\t\t},\n\t\t\tgetSessionStorage: (name) => {\n\t\t\t\ttry {\n\t\t\t\t\treturn window.sessionStorage.getItem(name) ?? void 0;\n\t\t\t\t} catch {}\n\t\t\t},\n\t\t\tgetLocaleStorage: (name) => {\n\t\t\t\ttry {\n\t\t\t\t\treturn window.localStorage.getItem(name) ?? void 0;\n\t\t\t\t} catch {}\n\t\t\t}\n\t\t});\n\t\tif (locale) detected[LanguageDetector.Storage] = locale;\n\t};\n\tconst navigatorDetector = () => {\n\t\tif (typeof navigator === \"undefined\") return;\n\t\tconst { internationalization } = built_default;\n\t\tconst languages = navigator.languages ?? [navigator.language];\n\t\tconst locale = localeDetector({ \"accept-language\": languages.join(\",\") }, internationalization.locales, internationalization.defaultLocale);\n\t\tif (locale) detected[LanguageDetector.Navigator] = locale;\n\t};\n\tconst htmlTagDetector = () => {\n\t\tconst htmlTag = options.htmlTag;\n\t\tif (htmlTag && typeof htmlTag.getAttribute === \"function\") {\n\t\t\tconst lang = htmlTag.getAttribute(\"lang\");\n\t\t\tif (lang) {\n\t\t\t\tconst { internationalization } = built_default;\n\t\t\t\tconst locale = localeDetector({ \"accept-language\": lang }, internationalization.locales, internationalization.defaultLocale);\n\t\t\t\tdetected[LanguageDetector.HtmlTag] = locale;\n\t\t\t}\n\t\t}\n\t};\n\tconst detectors = {\n\t\t[LanguageDetector.Querystring]: queryStringDetector,\n\t\t[LanguageDetector.Storage]: storageDetector,\n\t\t[LanguageDetector.Navigator]: navigatorDetector,\n\t\t[LanguageDetector.HtmlTag]: htmlTagDetector\n\t};\n\torder.forEach((detectorName) => {\n\t\tdetectors[detectorName]?.();\n\t});\n\treturn detected;\n};\nconst getFirstAvailableLocale = (locales, order) => {\n\tconst { internationalization } = built_default;\n\tfor (const detector of order) {\n\t\tconst locale = locales[detector];\n\t\tif (locale && internationalization.locales.includes(locale)) return locale;\n\t}\n\treturn internationalization?.defaultLocale ?? locales_exports.ENGLISH;\n};\n/**\n* Core language detector function for browser environments.\n*\n* Detects the user's preferred locale by checking multiple sources in order:\n* 1. Query string parameter\n* 2. Storage (cookies, localStorage, sessionStorage) - uses getLocaleFromStorage\n* 3. Navigator languages - uses localeDetector\n* 4. HTML lang attribute - uses localeDetector\n*\n* @param userOptions - Optional configuration for detection order and lookup keys\n* @returns The detected locale or the default locale\n*\n* @example\n* const locale = getBrowserLocale({ order: [LanguageDetector.Storage, LanguageDetector.Navigator] });\n*/\nconst getBrowserLocale = (userOptions = {}) => {\n\tconst options = {\n\t\t...getDefaultsOptions(),\n\t\t...userOptions\n\t};\n\treturn getFirstAvailableLocale(detectLanguage(options.order ?? [], options), options.order ?? []);\n};\n\n//#endregion\nexport { LanguageDetector, getBrowserLocale, localeStorageOptions };\n//# sourceMappingURL=getBrowserLocale.mjs.map"],"mappings":";AAaA,MAAM,uBAAuB;CAC5B,YAAY,SAAS,SAAS,OAAO,MAAM,IAAI,CAAC,MAAM,MAAM,EAAE,MAAM,CAAC,WAAW,GAAG,KAAK,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;CACzG,mBAAmB,SAAS,aAAa,QAAQ,KAAK;CACtD,oBAAoB,SAAS,eAAe,QAAQ,KAAK;CACzD,iBAAiB;CACjB,iBAAiB,MAAM,OAAO,eAAe,YAAY,IAAI;EAC5D;EACA;EACA,MAAM,WAAW;EACjB,QAAQ,WAAW;EACnB,SAAS,WAAW;EACpB,UAAU,WAAW;EACrB,CAAC;CACF,kBAAkB,WAAW;AAC5B,WAAS,SAAS;;CAEnB,oBAAoB,MAAM,UAAU,eAAe,QAAQ,MAAM,MAAM;CACvE,mBAAmB,MAAM,UAAU,aAAa,QAAQ,MAAM,MAAM;CACpE"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { built_default } from "../config/dist/esm/built.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../@intlayer/core/dist/esm/localization/localeResolver.mjs
|
|
4
|
-
/**
|
|
5
|
-
* Resolves the most specific locale from a user-provided list,
|
|
6
|
-
* or falls back to the default locale if no match is found.
|
|
7
|
-
*/
|
|
8
|
-
const localeResolver = (selectedLocale, locales = built_default?.internationalization?.locales, defaultLocale = built_default?.internationalization?.defaultLocale) => {
|
|
9
|
-
const requestedLocales = [selectedLocale].flat();
|
|
10
|
-
const normalize = (locale) => locale.trim().toLowerCase();
|
|
11
|
-
try {
|
|
12
|
-
for (const requested of requestedLocales) {
|
|
13
|
-
const normalizedRequested = normalize(requested);
|
|
14
|
-
const exactMatch = locales.find((loc) => normalize(loc) === normalizedRequested);
|
|
15
|
-
if (exactMatch) return exactMatch;
|
|
16
|
-
const [requestedLang] = normalizedRequested.split("-");
|
|
17
|
-
const partialMatch = locales.find((loc) => normalize(loc).split("-")[0] === requestedLang);
|
|
18
|
-
if (partialMatch) return partialMatch;
|
|
19
|
-
}
|
|
20
|
-
} catch (_error) {}
|
|
21
|
-
return defaultLocale;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
//#endregion
|
|
25
|
-
export { localeResolver };
|
|
26
|
-
//# sourceMappingURL=localeResolver.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"localeResolver.mjs","names":[],"sources":["../../../../../../../../@intlayer/core/dist/esm/localization/localeResolver.mjs"],"sourcesContent":["import { built_default } from \"../config/dist/esm/built.mjs\";\n\n//#region src/localization/localeResolver.ts\n/**\n* Resolves the most specific locale from a user-provided list,\n* or falls back to the default locale if no match is found.\n*/\nconst localeResolver = (selectedLocale, locales = built_default?.internationalization?.locales, defaultLocale = built_default?.internationalization?.defaultLocale) => {\n\tconst requestedLocales = [selectedLocale].flat();\n\tconst normalize = (locale) => locale.trim().toLowerCase();\n\ttry {\n\t\tfor (const requested of requestedLocales) {\n\t\t\tconst normalizedRequested = normalize(requested);\n\t\t\tconst exactMatch = locales.find((loc) => normalize(loc) === normalizedRequested);\n\t\t\tif (exactMatch) return exactMatch;\n\t\t\tconst [requestedLang] = normalizedRequested.split(\"-\");\n\t\t\tconst partialMatch = locales.find((loc) => normalize(loc).split(\"-\")[0] === requestedLang);\n\t\t\tif (partialMatch) return partialMatch;\n\t\t}\n\t} catch (_error) {}\n\treturn defaultLocale;\n};\n\n//#endregion\nexport { localeResolver };\n//# sourceMappingURL=localeResolver.mjs.map"],"mappings":";;;;;;;AAOA,MAAM,kBAAkB,gBAAgB,UAAU,eAAe,sBAAsB,SAAS,gBAAgB,eAAe,sBAAsB,kBAAkB;CACtK,MAAM,mBAAmB,CAAC,eAAe,CAAC,MAAM;CAChD,MAAM,aAAa,WAAW,OAAO,MAAM,CAAC,aAAa;AACzD,KAAI;AACH,OAAK,MAAM,aAAa,kBAAkB;GACzC,MAAM,sBAAsB,UAAU,UAAU;GAChD,MAAM,aAAa,QAAQ,MAAM,QAAQ,UAAU,IAAI,KAAK,oBAAoB;AAChF,OAAI,WAAY,QAAO;GACvB,MAAM,CAAC,iBAAiB,oBAAoB,MAAM,IAAI;GACtD,MAAM,eAAe,QAAQ,MAAM,QAAQ,UAAU,IAAI,CAAC,MAAM,IAAI,CAAC,OAAO,cAAc;AAC1F,OAAI,aAAc,QAAO;;UAElB,QAAQ;AACjB,QAAO"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { parseYaml } from "../../utils/parseYaml.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../@intlayer/core/dist/esm/transpiler/markdown/getMarkdownMetadata.mjs
|
|
4
|
-
const getMarkdownMetadata = (markdown) => {
|
|
5
|
-
try {
|
|
6
|
-
const lines = markdown.split(/\r?\n/);
|
|
7
|
-
const firstNonEmptyLine = lines.find((line) => line.trim() !== "");
|
|
8
|
-
if (!firstNonEmptyLine || firstNonEmptyLine.trim() !== "---") return {};
|
|
9
|
-
let metadataEndIndex = -1;
|
|
10
|
-
for (let i = 1; i < lines.length; i++) if (lines[i].trim() === "---") {
|
|
11
|
-
metadataEndIndex = i;
|
|
12
|
-
break;
|
|
13
|
-
}
|
|
14
|
-
if (metadataEndIndex === -1) return {};
|
|
15
|
-
return parseYaml(lines.slice(1, metadataEndIndex).join("\n")) ?? {};
|
|
16
|
-
} catch (_e) {
|
|
17
|
-
return {};
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
//#endregion
|
|
22
|
-
export { getMarkdownMetadata };
|
|
23
|
-
//# sourceMappingURL=getMarkdownMetadata.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getMarkdownMetadata.mjs","names":[],"sources":["../../../../../../../../../@intlayer/core/dist/esm/transpiler/markdown/getMarkdownMetadata.mjs"],"sourcesContent":["import { parseYaml } from \"../../utils/parseYaml.mjs\";\n\n//#region src/transpiler/markdown/getMarkdownMetadata.ts\nconst getMarkdownMetadata = (markdown) => {\n\ttry {\n\t\tconst lines = markdown.split(/\\r?\\n/);\n\t\tconst firstNonEmptyLine = lines.find((line) => line.trim() !== \"\");\n\t\tif (!firstNonEmptyLine || firstNonEmptyLine.trim() !== \"---\") return {};\n\t\tlet metadataEndIndex = -1;\n\t\tfor (let i = 1; i < lines.length; i++) if (lines[i].trim() === \"---\") {\n\t\t\tmetadataEndIndex = i;\n\t\t\tbreak;\n\t\t}\n\t\tif (metadataEndIndex === -1) return {};\n\t\treturn parseYaml(lines.slice(1, metadataEndIndex).join(\"\\n\")) ?? {};\n\t} catch (_e) {\n\t\treturn {};\n\t}\n};\n\n//#endregion\nexport { getMarkdownMetadata };\n//# sourceMappingURL=getMarkdownMetadata.mjs.map"],"mappings":";;;AAGA,MAAM,uBAAuB,aAAa;AACzC,KAAI;EACH,MAAM,QAAQ,SAAS,MAAM,QAAQ;EACrC,MAAM,oBAAoB,MAAM,MAAM,SAAS,KAAK,MAAM,KAAK,GAAG;AAClE,MAAI,CAAC,qBAAqB,kBAAkB,MAAM,KAAK,MAAO,QAAO,EAAE;EACvE,IAAI,mBAAmB;AACvB,OAAK,IAAI,IAAI,GAAG,IAAI,MAAM,QAAQ,IAAK,KAAI,MAAM,GAAG,MAAM,KAAK,OAAO;AACrE,sBAAmB;AACnB;;AAED,MAAI,qBAAqB,GAAI,QAAO,EAAE;AACtC,SAAO,UAAU,MAAM,MAAM,GAAG,iBAAiB,CAAC,KAAK,KAAK,CAAC,IAAI,EAAE;UAC3D,IAAI;AACZ,SAAO,EAAE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
//#region ../@intlayer/core/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __export = (all) => {
|
|
4
|
-
let target = {};
|
|
5
|
-
for (var name in all) __defProp(target, name, {
|
|
6
|
-
get: all[name],
|
|
7
|
-
enumerable: true
|
|
8
|
-
});
|
|
9
|
-
return target;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { __export };
|
|
14
|
-
//# sourceMappingURL=rolldown_runtime.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rolldown_runtime.mjs","names":[],"sources":["../../../../../../../../../../../@intlayer/core/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs"],"sourcesContent":["//#region ../types/dist/esm/_virtual/rolldown_runtime.mjs\nvar __defProp = Object.defineProperty;\nvar __export = (all) => {\n\tlet target = {};\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n\treturn target;\n};\n\n//#endregion\nexport { __export };\n//# sourceMappingURL=rolldown_runtime.mjs.map"],"mappings":";AACA,IAAI,YAAY,OAAO;AACvB,IAAI,YAAY,QAAQ;CACvB,IAAI,SAAS,EAAE;AACf,MAAK,IAAI,QAAQ,IAAK,WAAU,QAAQ,MAAM;EAC7C,KAAK,IAAI;EACT,YAAY;EACZ,CAAC;AACF,QAAO"}
|