@angular/localize 15.2.0-next.0 → 15.2.0-next.2
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/esm2020/index.mjs +1 -1
- package/esm2020/src/utils/src/messages.mjs +5 -3
- package/fesm2015/init.mjs +1 -1
- package/fesm2015/localize.mjs +525 -5
- package/fesm2015/localize.mjs.map +1 -1
- package/fesm2020/init.mjs +1 -1
- package/fesm2020/localize.mjs +525 -5
- package/fesm2020/localize.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/init/index.d.ts +1 -1
- package/localize/index.d.ts +478 -0
- package/package.json +4 -4
- package/schematics/ng-add/ng_add_bundle.js +2 -2
- package/schematics/ng-add/ng_add_bundle.js.map +1 -1
- package/tools/bundles/{chunk-MIRZ3NBF.js → chunk-3TQ7D6V2.js} +18 -18
- package/tools/bundles/{chunk-MIRZ3NBF.js.map → chunk-3TQ7D6V2.js.map} +0 -0
- package/tools/bundles/{chunk-ICJ4LFWD.js → chunk-IHTOM4VK.js} +18 -18
- package/tools/bundles/{chunk-ICJ4LFWD.js.map → chunk-IHTOM4VK.js.map} +0 -0
- package/tools/bundles/{chunk-DTYQ3TT5.js → chunk-SOWE44E4.js} +3 -3
- package/tools/bundles/{chunk-DTYQ3TT5.js.map → chunk-SOWE44E4.js.map} +0 -0
- package/tools/bundles/index.js +4 -4
- package/tools/bundles/src/extract/cli.js +5 -5
- package/tools/bundles/src/migrate/cli.js +5 -5
- package/tools/bundles/src/translate/cli.js +11 -11
- package/tools/bundles_metadata.json +1 -1
- package/localize.d.ts +0 -10
- package/private.d.ts +0 -9
- package/schematics/ng-add/ng_add_bundle_metadata.json +0 -1
- package/src/localize/index.d.ts +0 -9
- package/src/localize/src/global.d.ts +0 -16
- package/src/localize/src/localize.d.ts +0 -138
- package/src/translate.d.ts +0 -61
- package/src/utils/index.d.ts +0 -10
- package/src/utils/src/constants.d.ts +0 -57
- package/src/utils/src/messages.d.ts +0 -239
- package/src/utils/src/translations.d.ts +0 -58
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs":{"bytes":5389,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs":{"bytes":54941,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs":{"bytes":7026,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs":{"bytes":4644,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs":{"bytes":6414,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs":{"bytes":16609,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs":{"bytes":8404,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs":{"bytes":10933,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs":{"bytes":3374,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs":{"bytes":5351,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs":{"bytes":5222,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs":{"bytes":20328,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs":{"bytes":9339,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs":{"bytes":28295,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs":{"bytes":28477,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs":{"bytes":15548,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs":{"bytes":6567,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs":{"bytes":6126,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs":{"bytes":12044,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs":{"bytes":8371,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs":{"bytes":9510,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs":{"bytes":2396,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs":{"bytes":3507,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs":{"bytes":18490,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs":{"bytes":12319,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs":{"bytes":6780,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs":{"bytes":3680,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs":{"bytes":17253,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs":{"bytes":17591,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs":{"bytes":13368,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/index.mjs":{"bytes":7332,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/index.mjs":{"bytes":12788,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs":{"bytes":13116,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/index.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs":{"bytes":2964,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs":{"bytes":4899,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs":{"bytes":5580,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs":{"bytes":2977,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs":{"bytes":5487,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs":{"bytes":15205,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs":{"bytes":17983,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs":{"bytes":7657,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/index.mjs":{"bytes":11639,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs":{"bytes":15353,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/index.mjs","kind":"import-statement"}]}},"outputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":212},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/index.js":{"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-ICJ4LFWD.js","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-MIRZ3NBF.js","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-DTYQ3TT5.js","kind":"import-statement"}],"exports":["ArbTranslationParser","ArbTranslationSerializer","Diagnostics","LegacyMessageIdMigrationSerializer","MessageExtractor","SimpleJsonTranslationParser","SimpleJsonTranslationSerializer","Xliff1TranslationParser","Xliff1TranslationSerializer","Xliff2TranslationParser","Xliff2TranslationSerializer","XmbTranslationSerializer","XtbTranslationParser","buildLocalizeReplacement","checkDuplicateMessages","isGlobalIdentifier","makeEs2015TranslatePlugin","makeEs5TranslatePlugin","makeLocalePlugin","translate","unwrapExpressionsFromTemplateLiteral","unwrapMessagePartsFromLocalizeCall","unwrapMessagePartsFromTemplateLiteral","unwrapSubstitutionsFromLocalizeCall"],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/index.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/index.mjs":{"bytesInOutput":129}},"bytes":2058},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/extract/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":2788},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/extract/cli.js":{"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-ICJ4LFWD.js","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-DTYQ3TT5.js","kind":"import-statement"}],"exports":[],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs":{"bytesInOutput":3053},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/index.mjs":{"bytesInOutput":2103}},"bytes":6133},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-ICJ4LFWD.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":19266},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-ICJ4LFWD.js":{"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-DTYQ3TT5.js","kind":"import-statement"}],"exports":["ArbTranslationSerializer","LegacyMessageIdMigrationSerializer","MessageExtractor","SimpleJsonTranslationSerializer","Xliff1TranslationSerializer","Xliff2TranslationSerializer","XmbTranslationSerializer","checkDuplicateMessages","parseFormatOptions"],"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs":{"bytesInOutput":1244},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs":{"bytesInOutput":3116},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs":{"bytesInOutput":836},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs":{"bytesInOutput":1123},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs":{"bytesInOutput":1180},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs":{"bytesInOutput":1945},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs":{"bytesInOutput":412},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs":{"bytesInOutput":925},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs":{"bytesInOutput":760},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs":{"bytesInOutput":5337},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs":{"bytesInOutput":2268},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs":{"bytesInOutput":1984},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs":{"bytesInOutput":5552},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs":{"bytesInOutput":2772}},"bytes":32290},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/migrate/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":1636},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/migrate/cli.js":{"imports":[],"exports":[],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs":{"bytesInOutput":1154},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs":{"bytesInOutput":829},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs":{"bytesInOutput":405}},"bytes":3206},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/translate/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":8008},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/translate/cli.js":{"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-MIRZ3NBF.js","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-DTYQ3TT5.js","kind":"import-statement"}],"exports":[],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs":{"bytesInOutput":3502},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs":{"bytesInOutput":259},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/index.mjs":{"bytesInOutput":1423},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs":{"bytesInOutput":978},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs":{"bytesInOutput":3064},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs":{"bytesInOutput":3415},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs":{"bytesInOutput":884}},"bytes":15127},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-MIRZ3NBF.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":16271},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-MIRZ3NBF.js":{"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-DTYQ3TT5.js","kind":"import-statement"}],"exports":["ArbTranslationParser","SimpleJsonTranslationParser","Xliff1TranslationParser","Xliff2TranslationParser","XtbTranslationParser","makeEs2015TranslatePlugin","makeEs5TranslatePlugin","makeLocalePlugin"],"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs":{"bytesInOutput":926},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs":{"bytesInOutput":1021},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs":{"bytesInOutput":1717},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs":{"bytesInOutput":1143},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs":{"bytesInOutput":1819},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs":{"bytesInOutput":3504},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs":{"bytesInOutput":289},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs":{"bytesInOutput":2396},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs":{"bytesInOutput":558},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs":{"bytesInOutput":3101},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs":{"bytesInOutput":1284},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs":{"bytesInOutput":428},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs":{"bytesInOutput":3551},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs":{"bytesInOutput":2481}},"bytes":27292},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-DTYQ3TT5.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7120},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-DTYQ3TT5.js":{"imports":[],"exports":["Diagnostics","buildCodeFrameError","buildLocalizeReplacement","getLocation","isBabelParseError","isGlobalIdentifier","isLocalize","isNamedIdentifier","serializeLocationPosition","translate","unwrapExpressionsFromTemplateLiteral","unwrapMessagePartsFromLocalizeCall","unwrapMessagePartsFromTemplateLiteral","unwrapSubstitutionsFromLocalizeCall"],"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs":{"bytesInOutput":906},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs":{"bytesInOutput":10399}},"bytes":12228}}}
|
|
1
|
+
{"inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs":{"bytes":5389,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs":{"bytes":54941,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs":{"bytes":7026,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs":{"bytes":4644,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs":{"bytes":6414,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs":{"bytes":16609,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs":{"bytes":8404,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs":{"bytes":10933,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs":{"bytes":3374,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs":{"bytes":5351,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs":{"bytes":5222,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs":{"bytes":20328,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs":{"bytes":9339,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs":{"bytes":28295,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs":{"bytes":28477,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs":{"bytes":15548,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs":{"bytes":6567,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs":{"bytes":6126,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs":{"bytes":12044,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs":{"bytes":8371,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs":{"bytes":9510,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs":{"bytes":2396,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs":{"bytes":3507,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs":{"bytes":18490,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs":{"bytes":12319,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs":{"bytes":6780,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs":{"bytes":3680,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs":{"bytes":17253,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs":{"bytes":17591,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs":{"bytes":13368,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/index.mjs":{"bytes":7332,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/index.mjs":{"bytes":12788,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs":{"bytes":13116,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/index.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs":{"bytes":2964,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs":{"bytes":4899,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs":{"bytes":5580,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs":{"bytes":2977,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs":{"bytes":5487,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs":{"bytes":15205,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs":{"bytes":17983,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs":{"bytes":7657,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/index.mjs":{"bytes":11639,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs":{"bytes":15353,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/index.mjs","kind":"import-statement"}]}},"outputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":212},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/index.js":{"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-IHTOM4VK.js","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-3TQ7D6V2.js","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-SOWE44E4.js","kind":"import-statement"}],"exports":["ArbTranslationParser","ArbTranslationSerializer","Diagnostics","LegacyMessageIdMigrationSerializer","MessageExtractor","SimpleJsonTranslationParser","SimpleJsonTranslationSerializer","Xliff1TranslationParser","Xliff1TranslationSerializer","Xliff2TranslationParser","Xliff2TranslationSerializer","XmbTranslationSerializer","XtbTranslationParser","buildLocalizeReplacement","checkDuplicateMessages","isGlobalIdentifier","makeEs2015TranslatePlugin","makeEs5TranslatePlugin","makeLocalePlugin","translate","unwrapExpressionsFromTemplateLiteral","unwrapMessagePartsFromLocalizeCall","unwrapMessagePartsFromTemplateLiteral","unwrapSubstitutionsFromLocalizeCall"],"entryPoint":"bazel-out/k8-fastbuild/bin/packages/localize/tools/index.mjs","inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/index.mjs":{"bytesInOutput":129}},"bytes":2048},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/extract/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":2788},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/extract/cli.js":{"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-IHTOM4VK.js","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-SOWE44E4.js","kind":"import-statement"}],"exports":[],"entryPoint":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs","inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs":{"bytesInOutput":3053},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/index.mjs":{"bytesInOutput":2103}},"bytes":6103},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-IHTOM4VK.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":19266},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-IHTOM4VK.js":{"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-SOWE44E4.js","kind":"import-statement"}],"exports":["ArbTranslationSerializer","LegacyMessageIdMigrationSerializer","MessageExtractor","SimpleJsonTranslationSerializer","Xliff1TranslationSerializer","Xliff2TranslationSerializer","XmbTranslationSerializer","checkDuplicateMessages","parseFormatOptions"],"inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs":{"bytesInOutput":1244},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs":{"bytesInOutput":3116},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs":{"bytesInOutput":836},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs":{"bytesInOutput":1123},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs":{"bytesInOutput":1180},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs":{"bytesInOutput":1945},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs":{"bytesInOutput":412},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs":{"bytesInOutput":925},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs":{"bytesInOutput":760},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs":{"bytesInOutput":5337},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs":{"bytesInOutput":2268},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs":{"bytesInOutput":1984},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs":{"bytesInOutput":5552},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs":{"bytesInOutput":2772}},"bytes":32130},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/migrate/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":1636},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/migrate/cli.js":{"imports":[],"exports":[],"entryPoint":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs","inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs":{"bytesInOutput":1154},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs":{"bytesInOutput":829},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs":{"bytesInOutput":405}},"bytes":3156},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/translate/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":8008},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/translate/cli.js":{"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-3TQ7D6V2.js","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-SOWE44E4.js","kind":"import-statement"}],"exports":[],"entryPoint":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs","inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs":{"bytesInOutput":3502},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs":{"bytesInOutput":259},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/index.mjs":{"bytesInOutput":1423},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs":{"bytesInOutput":978},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs":{"bytesInOutput":3064},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs":{"bytesInOutput":3415},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs":{"bytesInOutput":884}},"bytes":15037},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-3TQ7D6V2.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":16271},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-3TQ7D6V2.js":{"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-SOWE44E4.js","kind":"import-statement"}],"exports":["ArbTranslationParser","SimpleJsonTranslationParser","Xliff1TranslationParser","Xliff2TranslationParser","XtbTranslationParser","makeEs2015TranslatePlugin","makeEs5TranslatePlugin","makeLocalePlugin"],"inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs":{"bytesInOutput":926},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs":{"bytesInOutput":1021},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs":{"bytesInOutput":1717},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs":{"bytesInOutput":1143},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs":{"bytesInOutput":1819},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs":{"bytesInOutput":3504},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs":{"bytesInOutput":289},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs":{"bytesInOutput":2396},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs":{"bytesInOutput":558},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs":{"bytesInOutput":3101},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs":{"bytesInOutput":1284},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs":{"bytesInOutput":428},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs":{"bytesInOutput":3551},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs":{"bytesInOutput":2481}},"bytes":27132},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-SOWE44E4.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7120},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-SOWE44E4.js":{"imports":[],"exports":["Diagnostics","buildCodeFrameError","buildLocalizeReplacement","getLocation","isBabelParseError","isGlobalIdentifier","isLocalize","isNamedIdentifier","serializeLocationPosition","translate","unwrapExpressionsFromTemplateLiteral","unwrapMessagePartsFromLocalizeCall","unwrapMessagePartsFromTemplateLiteral","unwrapSubstitutionsFromLocalizeCall"],"inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs":{"bytesInOutput":906},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs":{"bytesInOutput":10399}},"bytes":12208}}}
|
package/localize.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
export { clearTranslations, loadTranslations } from './src/translate';
|
|
9
|
-
export { MessageId, TargetMessage } from './src/utils';
|
|
10
|
-
export * from './private';
|
package/private.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
export { $localize as ɵ$localize, _global as ɵ_global, LocalizeFn as ɵLocalizeFn, TranslateFn as ɵTranslateFn } from './src/localize';
|
|
9
|
-
export { computeMsgId as ɵcomputeMsgId, findEndOfBlock as ɵfindEndOfBlock, isMissingTranslationError as ɵisMissingTranslationError, makeParsedTranslation as ɵmakeParsedTranslation, makeTemplateObject as ɵmakeTemplateObject, MissingTranslationError as ɵMissingTranslationError, ParsedMessage as ɵParsedMessage, ParsedTranslation as ɵParsedTranslation, ParsedTranslations as ɵParsedTranslations, parseMessage as ɵparseMessage, parseMetadata as ɵparseMetadata, parseTranslation as ɵparseTranslation, SourceLocation as ɵSourceLocation, SourceMessage as ɵSourceMessage, splitBlock as ɵsplitBlock, translate as ɵtranslate } from './src/utils';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/schematics/ng-add/index.mjs":{"bytes":14312,"imports":[]}},"outputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/schematics/ng-add/ng_add_bundle.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":6092},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/schematics/ng-add/ng_add_bundle.js":{"imports":[],"exports":[],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/schematics/ng-add/index.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/schematics/ng-add/index.mjs":{"bytesInOutput":3618}},"bytes":5445}}}
|
package/src/localize/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
export { _global } from './src/global';
|
|
9
|
-
export { $localize, LocalizeFn, TranslateFn } from './src/localize';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
declare global {
|
|
9
|
-
interface WorkerGlobalScope extends EventTarget, WindowOrWorkerGlobalScope {
|
|
10
|
-
}
|
|
11
|
-
var WorkerGlobalScope: {
|
|
12
|
-
prototype: WorkerGlobalScope;
|
|
13
|
-
new (): WorkerGlobalScope;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export declare const _global: any;
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
/** @nodoc */
|
|
9
|
-
export interface LocalizeFn {
|
|
10
|
-
(messageParts: TemplateStringsArray, ...expressions: readonly any[]): string;
|
|
11
|
-
/**
|
|
12
|
-
* A function that converts an input "message with expressions" into a translated "message with
|
|
13
|
-
* expressions".
|
|
14
|
-
*
|
|
15
|
-
* The conversion may be done in place, modifying the array passed to the function, so
|
|
16
|
-
* don't assume that this has no side-effects.
|
|
17
|
-
*
|
|
18
|
-
* The expressions must be passed in since it might be they need to be reordered for
|
|
19
|
-
* different translations.
|
|
20
|
-
*/
|
|
21
|
-
translate?: TranslateFn;
|
|
22
|
-
/**
|
|
23
|
-
* The current locale of the translated messages.
|
|
24
|
-
*
|
|
25
|
-
* The compile-time translation inliner is able to replace the following code:
|
|
26
|
-
*
|
|
27
|
-
* ```
|
|
28
|
-
* typeof $localize !== "undefined" && $localize.locale
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* with a string literal of the current locale. E.g.
|
|
32
|
-
*
|
|
33
|
-
* ```
|
|
34
|
-
* "fr"
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
locale?: string;
|
|
38
|
-
}
|
|
39
|
-
/** @nodoc */
|
|
40
|
-
export interface TranslateFn {
|
|
41
|
-
(messageParts: TemplateStringsArray, expressions: readonly any[]): [TemplateStringsArray, readonly any[]];
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Tag a template literal string for localization.
|
|
45
|
-
*
|
|
46
|
-
* For example:
|
|
47
|
-
*
|
|
48
|
-
* ```ts
|
|
49
|
-
* $localize `some string to localize`
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* **Providing meaning, description and id**
|
|
53
|
-
*
|
|
54
|
-
* You can optionally specify one or more of `meaning`, `description` and `id` for a localized
|
|
55
|
-
* string by pre-pending it with a colon delimited block of the form:
|
|
56
|
-
*
|
|
57
|
-
* ```ts
|
|
58
|
-
* $localize`:meaning|description@@id:source message text`;
|
|
59
|
-
*
|
|
60
|
-
* $localize`:meaning|:source message text`;
|
|
61
|
-
* $localize`:description:source message text`;
|
|
62
|
-
* $localize`:@@id:source message text`;
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
* This format is the same as that used for `i18n` markers in Angular templates. See the
|
|
66
|
-
* [Angular i18n guide](guide/i18n-common-prepare#mark-text-in-component-template).
|
|
67
|
-
*
|
|
68
|
-
* **Naming placeholders**
|
|
69
|
-
*
|
|
70
|
-
* If the template literal string contains expressions, then the expressions will be automatically
|
|
71
|
-
* associated with placeholder names for you.
|
|
72
|
-
*
|
|
73
|
-
* For example:
|
|
74
|
-
*
|
|
75
|
-
* ```ts
|
|
76
|
-
* $localize `Hi ${name}! There are ${items.length} items.`;
|
|
77
|
-
* ```
|
|
78
|
-
*
|
|
79
|
-
* will generate a message-source of `Hi {$PH}! There are {$PH_1} items`.
|
|
80
|
-
*
|
|
81
|
-
* The recommended practice is to name the placeholder associated with each expression though.
|
|
82
|
-
*
|
|
83
|
-
* Do this by providing the placeholder name wrapped in `:` characters directly after the
|
|
84
|
-
* expression. These placeholder names are stripped out of the rendered localized string.
|
|
85
|
-
*
|
|
86
|
-
* For example, to name the `items.length` expression placeholder `itemCount` you write:
|
|
87
|
-
*
|
|
88
|
-
* ```ts
|
|
89
|
-
* $localize `There are ${items.length}:itemCount: items`;
|
|
90
|
-
* ```
|
|
91
|
-
*
|
|
92
|
-
* **Escaping colon markers**
|
|
93
|
-
*
|
|
94
|
-
* If you need to use a `:` character directly at the start of a tagged string that has no
|
|
95
|
-
* metadata block, or directly after a substitution expression that has no name you must escape
|
|
96
|
-
* the `:` by preceding it with a backslash:
|
|
97
|
-
*
|
|
98
|
-
* For example:
|
|
99
|
-
*
|
|
100
|
-
* ```ts
|
|
101
|
-
* // message has a metadata block so no need to escape colon
|
|
102
|
-
* $localize `:some description::this message starts with a colon (:)`;
|
|
103
|
-
* // no metadata block so the colon must be escaped
|
|
104
|
-
* $localize `\:this message starts with a colon (:)`;
|
|
105
|
-
* ```
|
|
106
|
-
*
|
|
107
|
-
* ```ts
|
|
108
|
-
* // named substitution so no need to escape colon
|
|
109
|
-
* $localize `${label}:label:: ${}`
|
|
110
|
-
* // anonymous substitution so colon must be escaped
|
|
111
|
-
* $localize `${label}\: ${}`
|
|
112
|
-
* ```
|
|
113
|
-
*
|
|
114
|
-
* **Processing localized strings:**
|
|
115
|
-
*
|
|
116
|
-
* There are three scenarios:
|
|
117
|
-
*
|
|
118
|
-
* * **compile-time inlining**: the `$localize` tag is transformed at compile time by a
|
|
119
|
-
* transpiler, removing the tag and replacing the template literal string with a translated
|
|
120
|
-
* literal string from a collection of translations provided to the transpilation tool.
|
|
121
|
-
*
|
|
122
|
-
* * **run-time evaluation**: the `$localize` tag is a run-time function that replaces and
|
|
123
|
-
* reorders the parts (static strings and expressions) of the template literal string with strings
|
|
124
|
-
* from a collection of translations loaded at run-time.
|
|
125
|
-
*
|
|
126
|
-
* * **pass-through evaluation**: the `$localize` tag is a run-time function that simply evaluates
|
|
127
|
-
* the original template literal string without applying any translations to the parts. This
|
|
128
|
-
* version is used during development or where there is no need to translate the localized
|
|
129
|
-
* template literals.
|
|
130
|
-
*
|
|
131
|
-
* @param messageParts a collection of the static parts of the template string.
|
|
132
|
-
* @param expressions a collection of the values of each placeholder in the template string.
|
|
133
|
-
* @returns the translated string, with the `messageParts` and `expressions` interleaved together.
|
|
134
|
-
*
|
|
135
|
-
* @globalApi
|
|
136
|
-
* @publicApi
|
|
137
|
-
*/
|
|
138
|
-
export declare const $localize: LocalizeFn;
|
package/src/translate.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { MessageId, TargetMessage } from './utils';
|
|
2
|
-
/**
|
|
3
|
-
* Load translations for use by `$localize`, if doing runtime translation.
|
|
4
|
-
*
|
|
5
|
-
* If the `$localize` tagged strings are not going to be replaced at compiled time, it is possible
|
|
6
|
-
* to load a set of translations that will be applied to the `$localize` tagged strings at runtime,
|
|
7
|
-
* in the browser.
|
|
8
|
-
*
|
|
9
|
-
* Loading a new translation will overwrite a previous translation if it has the same `MessageId`.
|
|
10
|
-
*
|
|
11
|
-
* Note that `$localize` messages are only processed once, when the tagged string is first
|
|
12
|
-
* encountered, and does not provide dynamic language changing without refreshing the browser.
|
|
13
|
-
* Loading new translations later in the application life-cycle will not change the translated text
|
|
14
|
-
* of messages that have already been translated.
|
|
15
|
-
*
|
|
16
|
-
* The message IDs and translations are in the same format as that rendered to "simple JSON"
|
|
17
|
-
* translation files when extracting messages. In particular, placeholders in messages are rendered
|
|
18
|
-
* using the `{$PLACEHOLDER_NAME}` syntax. For example the message from the following template:
|
|
19
|
-
*
|
|
20
|
-
* ```html
|
|
21
|
-
* <div i18n>pre<span>inner-pre<b>bold</b>inner-post</span>post</div>
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* would have the following form in the `translations` map:
|
|
25
|
-
*
|
|
26
|
-
* ```ts
|
|
27
|
-
* {
|
|
28
|
-
* "2932901491976224757":
|
|
29
|
-
* "pre{$START_TAG_SPAN}inner-pre{$START_BOLD_TEXT}bold{$CLOSE_BOLD_TEXT}inner-post{$CLOSE_TAG_SPAN}post"
|
|
30
|
-
* }
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @param translations A map from message ID to translated message.
|
|
34
|
-
*
|
|
35
|
-
* These messages are processed and added to a lookup based on their `MessageId`.
|
|
36
|
-
*
|
|
37
|
-
* @see `clearTranslations()` for removing translations loaded using this function.
|
|
38
|
-
* @see `$localize` for tagging messages as needing to be translated.
|
|
39
|
-
* @publicApi
|
|
40
|
-
*/
|
|
41
|
-
export declare function loadTranslations(translations: Record<MessageId, TargetMessage>): void;
|
|
42
|
-
/**
|
|
43
|
-
* Remove all translations for `$localize`, if doing runtime translation.
|
|
44
|
-
*
|
|
45
|
-
* All translations that had been loading into memory using `loadTranslations()` will be removed.
|
|
46
|
-
*
|
|
47
|
-
* @see `loadTranslations()` for loading translations at runtime.
|
|
48
|
-
* @see `$localize` for tagging messages as needing to be translated.
|
|
49
|
-
*
|
|
50
|
-
* @publicApi
|
|
51
|
-
*/
|
|
52
|
-
export declare function clearTranslations(): void;
|
|
53
|
-
/**
|
|
54
|
-
* Translate the text of the given message, using the loaded translations.
|
|
55
|
-
*
|
|
56
|
-
* This function may reorder (or remove) substitutions as indicated in the matching translation.
|
|
57
|
-
*/
|
|
58
|
-
export declare function translate(messageParts: TemplateStringsArray, substitutions: readonly any[]): [
|
|
59
|
-
TemplateStringsArray,
|
|
60
|
-
readonly any[]
|
|
61
|
-
];
|
package/src/utils/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
export * from './src/constants';
|
|
9
|
-
export * from './src/messages';
|
|
10
|
-
export * from './src/translations';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* The character used to mark the start and end of a "block" in a `$localize` tagged string.
|
|
10
|
-
* A block can indicate metadata about the message or specify a name of a placeholder for a
|
|
11
|
-
* substitution expressions.
|
|
12
|
-
*
|
|
13
|
-
* For example:
|
|
14
|
-
*
|
|
15
|
-
* ```ts
|
|
16
|
-
* $localize`Hello, ${title}:title:!`;
|
|
17
|
-
* $localize`:meaning|description@@id:source message text`;
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export declare const BLOCK_MARKER = ":";
|
|
21
|
-
/**
|
|
22
|
-
* The marker used to separate a message's "meaning" from its "description" in a metadata block.
|
|
23
|
-
*
|
|
24
|
-
* For example:
|
|
25
|
-
*
|
|
26
|
-
* ```ts
|
|
27
|
-
* $localize `:correct|Indicates that the user got the answer correct: Right!`;
|
|
28
|
-
* $localize `:movement|Button label for moving to the right: Right!`;
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
export declare const MEANING_SEPARATOR = "|";
|
|
32
|
-
/**
|
|
33
|
-
* The marker used to separate a message's custom "id" from its "description" in a metadata block.
|
|
34
|
-
*
|
|
35
|
-
* For example:
|
|
36
|
-
*
|
|
37
|
-
* ```ts
|
|
38
|
-
* $localize `:A welcome message on the home page@@myApp-homepage-welcome: Welcome!`;
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
export declare const ID_SEPARATOR = "@@";
|
|
42
|
-
/**
|
|
43
|
-
* The marker used to separate legacy message ids from the rest of a metadata block.
|
|
44
|
-
*
|
|
45
|
-
* For example:
|
|
46
|
-
*
|
|
47
|
-
* ```ts
|
|
48
|
-
* $localize `:@@custom-id␟2df64767cd895a8fabe3e18b94b5b6b6f9e2e3f0: Welcome!`;
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* Note that this character is the "symbol for the unit separator" (␟) not the "unit separator
|
|
52
|
-
* character" itself, since that has no visual representation. See https://graphemica.com/%E2%90%9F.
|
|
53
|
-
*
|
|
54
|
-
* Here is some background for the original "unit separator character":
|
|
55
|
-
* https://stackoverflow.com/questions/8695118/whats-the-file-group-record-unit-separator-control-characters-and-its-usage
|
|
56
|
-
*/
|
|
57
|
-
export declare const LEGACY_ID_INDICATOR = "\u241F";
|