@angular/compiler-cli 19.0.0-next.1 → 19.0.0-next.10
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/bundles/{chunk-WR7TUJ7M.js → chunk-3Z25BX6N.js} +8 -8
- package/bundles/{chunk-QJ5A7O7J.js → chunk-5AXLJZ3D.js} +367 -186
- package/bundles/chunk-5AXLJZ3D.js.map +6 -0
- package/bundles/{chunk-CNPXFKGI.js → chunk-CE344QNW.js} +4 -4
- package/bundles/{chunk-UWZBW4E4.js → chunk-EJZF542V.js} +7 -7
- package/bundles/chunk-EJZF542V.js.map +6 -0
- package/bundles/{chunk-5DVL3S3Z.js → chunk-O2RMLJTP.js} +79 -52
- package/bundles/chunk-O2RMLJTP.js.map +6 -0
- package/bundles/{chunk-VNKFV2MZ.js → chunk-Q4DA5WRV.js} +514 -247
- package/bundles/chunk-Q4DA5WRV.js.map +6 -0
- package/bundles/{chunk-SBDNBITT.js → chunk-RT2QTF73.js} +4 -4
- package/bundles/{chunk-XNL3EK5H.js → chunk-UJ2J6WV4.js} +43 -9
- package/bundles/{chunk-XNL3EK5H.js.map → chunk-UJ2J6WV4.js.map} +3 -3
- package/bundles/{chunk-B4ZOGV3N.js → chunk-WIYBGC3E.js} +55 -48
- package/bundles/chunk-WIYBGC3E.js.map +6 -0
- package/bundles/{chunk-DK2K5DIA.js → chunk-WO73PLUB.js} +13 -13
- package/bundles/{chunk-DK2K5DIA.js.map → chunk-WO73PLUB.js.map} +1 -1
- package/bundles/{chunk-THQF5ZZE.js → chunk-XSNUHRLJ.js} +6 -6
- package/bundles/index.js +15 -13
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +14 -14
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +2 -2
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +6 -4
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +6 -6
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/linker/babel/index.d.ts +1 -1
- package/linker/babel/src/ast/babel_ast_factory.d.ts +3 -3
- package/linker/babel/src/ast/babel_ast_host.d.ts +1 -1
- package/linker/babel/src/babel_declaration_scope.d.ts +1 -1
- package/linker/babel/src/babel_plugin.d.ts +1 -1
- package/linker/babel/src/es2015_linker_plugin.d.ts +1 -1
- package/linker/babel/src/linker_plugin_options.d.ts +1 -1
- package/linker/index.d.ts +1 -1
- package/linker/src/ast/ast_host.d.ts +1 -1
- package/linker/src/ast/ast_value.d.ts +1 -1
- package/linker/src/ast/typescript/typescript_ast_host.d.ts +1 -1
- package/linker/src/fatal_linker_error.d.ts +1 -1
- package/linker/src/file_linker/declaration_scope.d.ts +1 -1
- package/linker/src/file_linker/emit_scopes/emit_scope.d.ts +1 -1
- package/linker/src/file_linker/emit_scopes/local_emit_scope.d.ts +1 -1
- package/linker/src/file_linker/get_source_file.d.ts +1 -1
- package/linker/src/file_linker/linker_environment.d.ts +1 -1
- package/linker/src/file_linker/linker_options.d.ts +1 -1
- package/linker/src/file_linker/needs_linking.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_class_metadata_async_linker_1.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_component_linker_1.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_directive_linker_1.d.ts +3 -3
- package/linker/src/file_linker/partial_linkers/partial_factory_linker_1.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_injector_linker_1.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_linker.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_linker_selector.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.d.ts +3 -3
- package/linker/src/file_linker/partial_linkers/util.d.ts +3 -2
- package/linker/src/file_linker/translator.d.ts +1 -1
- package/linker/src/linker_import_generator.d.ts +1 -1
- package/ngcc/index.d.ts +1 -1
- package/package.json +4 -4
- package/private/babel.d.ts +1 -1
- package/private/bazel.d.ts +1 -1
- package/private/localize.d.ts +1 -1
- package/private/migrations.d.ts +2 -1
- package/private/tooling.d.ts +1 -1
- package/src/bin/ng_xi18n.d.ts +1 -1
- package/src/bin/ngc.d.ts +1 -1
- package/src/extract_i18n.d.ts +1 -1
- package/src/main.d.ts +1 -1
- package/src/ngtsc/annotations/common/index.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/api.d.ts +15 -1
- package/src/ngtsc/annotations/common/src/debug_info.d.ts +3 -2
- package/src/ngtsc/annotations/common/src/di.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/diagnostics.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/evaluation.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/factory.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/injectable_registry.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/input_transforms.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/jit_declaration_registry.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/metadata.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/references_registry.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/schema.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/standalone-default-value.d.ts +12 -0
- package/src/ngtsc/annotations/common/src/util.d.ts +2 -2
- package/src/ngtsc/annotations/component/index.d.ts +1 -1
- package/src/ngtsc/annotations/component/src/diagnostics.d.ts +1 -1
- package/src/ngtsc/annotations/component/src/handler.d.ts +11 -4
- package/src/ngtsc/annotations/component/src/metadata.d.ts +1 -1
- package/src/ngtsc/annotations/component/src/resources.d.ts +5 -4
- package/src/ngtsc/annotations/component/src/symbol.d.ts +1 -1
- package/src/ngtsc/annotations/component/src/util.d.ts +1 -1
- package/src/ngtsc/annotations/directive/index.d.ts +1 -1
- package/src/ngtsc/annotations/directive/src/handler.d.ts +3 -2
- package/src/ngtsc/annotations/directive/src/initializer_function_access.d.ts +1 -1
- package/src/ngtsc/annotations/directive/src/initializer_functions.d.ts +1 -1
- package/src/ngtsc/annotations/directive/src/input_function.d.ts +1 -1
- package/src/ngtsc/annotations/directive/src/input_output_parse_options.d.ts +1 -1
- package/src/ngtsc/annotations/directive/src/model_function.d.ts +1 -1
- package/src/ngtsc/annotations/directive/src/output_function.d.ts +1 -1
- package/src/ngtsc/annotations/directive/src/query_functions.d.ts +1 -1
- package/src/ngtsc/annotations/directive/src/shared.d.ts +2 -2
- package/src/ngtsc/annotations/directive/src/symbol.d.ts +1 -1
- package/src/ngtsc/annotations/index.d.ts +1 -1
- package/src/ngtsc/annotations/ng_module/index.d.ts +1 -1
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +1 -1
- package/src/ngtsc/annotations/ng_module/src/module_with_providers.d.ts +1 -1
- package/src/ngtsc/annotations/src/injectable.d.ts +1 -1
- package/src/ngtsc/annotations/src/pipe.d.ts +3 -2
- package/src/ngtsc/core/api/index.d.ts +1 -1
- package/src/ngtsc/core/api/src/adapter.d.ts +1 -1
- package/src/ngtsc/core/api/src/interfaces.d.ts +15 -1
- package/src/ngtsc/core/api/src/options.d.ts +1 -1
- package/src/ngtsc/core/api/src/public_options.d.ts +12 -1
- package/src/ngtsc/core/index.d.ts +1 -1
- package/src/ngtsc/core/src/compiler.d.ts +13 -2
- package/src/ngtsc/core/src/core_version.d.ts +1 -1
- package/src/ngtsc/core/src/feature_detection.d.ts +1 -1
- package/src/ngtsc/core/src/host.d.ts +1 -1
- package/src/ngtsc/cycles/index.d.ts +1 -1
- package/src/ngtsc/cycles/src/analyzer.d.ts +1 -1
- package/src/ngtsc/cycles/src/imports.d.ts +1 -1
- package/src/ngtsc/diagnostics/index.d.ts +1 -1
- package/src/ngtsc/diagnostics/src/docs.d.ts +1 -1
- package/src/ngtsc/diagnostics/src/error.d.ts +2 -2
- package/src/ngtsc/diagnostics/src/error_code.d.ts +9 -1
- package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +1 -1
- package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +3 -2
- package/src/ngtsc/diagnostics/src/util.d.ts +1 -1
- package/src/ngtsc/docs/index.d.ts +1 -1
- package/src/ngtsc/docs/src/class_extractor.d.ts +1 -1
- package/src/ngtsc/docs/src/constant_extractor.d.ts +1 -1
- package/src/ngtsc/docs/src/decorator_extractor.d.ts +1 -1
- package/src/ngtsc/docs/src/entities.d.ts +10 -1
- package/src/ngtsc/docs/src/enum_extractor.d.ts +1 -1
- package/src/ngtsc/docs/src/extractor.d.ts +5 -2
- package/src/ngtsc/docs/src/filters.d.ts +1 -1
- package/src/ngtsc/docs/src/function_extractor.d.ts +1 -1
- package/src/ngtsc/docs/src/generics_extractor.d.ts +1 -1
- package/src/ngtsc/docs/src/import_extractor.d.ts +14 -0
- package/src/ngtsc/docs/src/initializer_api_function_extractor.d.ts +1 -1
- package/src/ngtsc/docs/src/internal.d.ts +1 -1
- package/src/ngtsc/docs/src/jsdoc_extractor.d.ts +1 -1
- package/src/ngtsc/docs/src/type_alias_extractor.d.ts +1 -1
- package/src/ngtsc/docs/src/type_extractor.d.ts +1 -1
- package/src/ngtsc/entry_point/index.d.ts +1 -1
- package/src/ngtsc/entry_point/src/generator.d.ts +1 -1
- package/src/ngtsc/entry_point/src/logic.d.ts +1 -1
- package/src/ngtsc/entry_point/src/private_export_checker.d.ts +1 -1
- package/src/ngtsc/entry_point/src/reference_graph.d.ts +1 -1
- package/src/ngtsc/file_system/index.d.ts +2 -1
- package/src/ngtsc/file_system/src/compiler_host.d.ts +1 -1
- package/src/ngtsc/file_system/src/invalid_file_system.d.ts +1 -1
- package/src/ngtsc/file_system/src/logical.d.ts +1 -1
- package/src/ngtsc/file_system/src/ts_read_directory.d.ts +21 -0
- package/src/ngtsc/file_system/src/types.d.ts +1 -1
- package/src/ngtsc/file_system/src/util.d.ts +1 -1
- package/src/ngtsc/hmr/index.d.ts +9 -0
- package/src/ngtsc/hmr/src/extract_locals.d.ts +20 -0
- package/src/ngtsc/hmr/src/metadata.d.ts +23 -0
- package/src/ngtsc/hmr/src/update_declaration.d.ts +17 -0
- package/src/ngtsc/imports/index.d.ts +1 -1
- package/src/ngtsc/imports/src/alias.d.ts +1 -1
- package/src/ngtsc/imports/src/core.d.ts +7 -1
- package/src/ngtsc/imports/src/default.d.ts +1 -1
- package/src/ngtsc/imports/src/deferred_symbol_tracker.d.ts +1 -1
- package/src/ngtsc/imports/src/emitter.d.ts +1 -1
- package/src/ngtsc/imports/src/find_export.d.ts +1 -1
- package/src/ngtsc/imports/src/imported_symbols_tracker.d.ts +1 -1
- package/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.d.ts +1 -1
- package/src/ngtsc/imports/src/patch_alias_reference_resolution.d.ts +1 -1
- package/src/ngtsc/imports/src/reexport.d.ts +1 -1
- package/src/ngtsc/imports/src/references.d.ts +1 -1
- package/src/ngtsc/imports/src/resolver.d.ts +1 -1
- package/src/ngtsc/incremental/api.d.ts +1 -1
- package/src/ngtsc/incremental/index.d.ts +1 -1
- package/src/ngtsc/incremental/semantic_graph/index.d.ts +1 -1
- package/src/ngtsc/incremental/semantic_graph/src/graph.d.ts +1 -1
- package/src/ngtsc/incremental/semantic_graph/src/util.d.ts +1 -1
- package/src/ngtsc/incremental/src/dependency_tracking.d.ts +1 -1
- package/src/ngtsc/incremental/src/incremental.d.ts +1 -1
- package/src/ngtsc/incremental/src/noop.d.ts +1 -1
- package/src/ngtsc/incremental/src/state.d.ts +1 -1
- package/src/ngtsc/incremental/src/strategy.d.ts +1 -1
- package/src/ngtsc/indexer/index.d.ts +1 -1
- package/src/ngtsc/indexer/src/api.d.ts +1 -1
- package/src/ngtsc/indexer/src/context.d.ts +1 -1
- package/src/ngtsc/indexer/src/template.d.ts +1 -1
- package/src/ngtsc/indexer/src/transform.d.ts +1 -1
- package/src/ngtsc/logging/index.d.ts +1 -1
- package/src/ngtsc/logging/src/console_logger.d.ts +1 -1
- package/src/ngtsc/logging/src/logger.d.ts +1 -1
- package/src/ngtsc/metadata/index.d.ts +1 -1
- package/src/ngtsc/metadata/src/api.d.ts +5 -1
- package/src/ngtsc/metadata/src/dts.d.ts +1 -1
- package/src/ngtsc/metadata/src/host_directives_resolver.d.ts +1 -1
- package/src/ngtsc/metadata/src/inheritance.d.ts +1 -1
- package/src/ngtsc/metadata/src/ng_module_index.d.ts +1 -1
- package/src/ngtsc/metadata/src/property_mapping.d.ts +1 -1
- package/src/ngtsc/metadata/src/providers.d.ts +1 -1
- package/src/ngtsc/metadata/src/registry.d.ts +1 -1
- package/src/ngtsc/metadata/src/resource_registry.d.ts +1 -1
- package/src/ngtsc/metadata/src/util.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/index.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/src/builtin.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/src/diagnostics.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/src/dynamic.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/src/interface.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/src/interpreter.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/src/result.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/src/synthetic.d.ts +1 -1
- package/src/ngtsc/perf/index.d.ts +1 -1
- package/src/ngtsc/perf/src/api.d.ts +1 -1
- package/src/ngtsc/perf/src/clock.d.ts +1 -1
- package/src/ngtsc/perf/src/noop.d.ts +1 -1
- package/src/ngtsc/perf/src/recorder.d.ts +1 -1
- package/src/ngtsc/program.d.ts +5 -2
- package/src/ngtsc/program_driver/index.d.ts +1 -1
- package/src/ngtsc/program_driver/src/api.d.ts +1 -1
- package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +1 -1
- package/src/ngtsc/reflection/index.d.ts +1 -1
- package/src/ngtsc/reflection/src/host.d.ts +1 -1
- package/src/ngtsc/reflection/src/type_to_value.d.ts +1 -1
- package/src/ngtsc/reflection/src/typescript.d.ts +1 -1
- package/src/ngtsc/reflection/src/util.d.ts +1 -1
- package/src/ngtsc/resource/index.d.ts +1 -1
- package/src/ngtsc/resource/src/loader.d.ts +1 -1
- package/src/ngtsc/scope/index.d.ts +1 -1
- package/src/ngtsc/scope/src/api.d.ts +1 -1
- package/src/ngtsc/scope/src/component_scope.d.ts +1 -1
- package/src/ngtsc/scope/src/dependency.d.ts +1 -1
- package/src/ngtsc/scope/src/local.d.ts +1 -1
- package/src/ngtsc/scope/src/standalone.d.ts +1 -1
- package/src/ngtsc/scope/src/typecheck.d.ts +1 -1
- package/src/ngtsc/scope/src/util.d.ts +1 -1
- package/src/ngtsc/shims/api.d.ts +1 -1
- package/src/ngtsc/shims/index.d.ts +1 -1
- package/src/ngtsc/shims/src/adapter.d.ts +1 -1
- package/src/ngtsc/shims/src/expando.d.ts +1 -1
- package/src/ngtsc/shims/src/reference_tagger.d.ts +1 -1
- package/src/ngtsc/shims/src/util.d.ts +1 -1
- package/src/ngtsc/sourcemaps/index.d.ts +1 -1
- package/src/ngtsc/sourcemaps/src/content_origin.d.ts +1 -1
- package/src/ngtsc/sourcemaps/src/raw_source_map.d.ts +1 -1
- package/src/ngtsc/sourcemaps/src/segment_marker.d.ts +1 -1
- package/src/ngtsc/transform/index.d.ts +1 -1
- package/src/ngtsc/transform/jit/index.d.ts +1 -1
- package/src/ngtsc/transform/jit/src/downlevel_decorators_transform.d.ts +1 -1
- package/src/ngtsc/transform/jit/src/index.d.ts +1 -1
- package/src/ngtsc/transform/jit/src/initializer_api_transforms/input_function.d.ts +1 -1
- package/src/ngtsc/transform/jit/src/initializer_api_transforms/model_function.d.ts +1 -1
- package/src/ngtsc/transform/jit/src/initializer_api_transforms/output_function.d.ts +1 -1
- package/src/ngtsc/transform/jit/src/initializer_api_transforms/query_functions.d.ts +1 -1
- package/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.d.ts +1 -1
- package/src/ngtsc/transform/jit/src/initializer_api_transforms/transform_api.d.ts +1 -1
- package/src/ngtsc/transform/src/alias.d.ts +1 -1
- package/src/ngtsc/transform/src/api.d.ts +5 -1
- package/src/ngtsc/transform/src/compilation.d.ts +2 -1
- package/src/ngtsc/transform/src/declaration.d.ts +1 -1
- package/src/ngtsc/transform/src/trait.d.ts +1 -1
- package/src/ngtsc/transform/src/transform.d.ts +1 -1
- package/src/ngtsc/translator/index.d.ts +1 -1
- package/src/ngtsc/translator/src/api/ast_factory.d.ts +3 -3
- package/src/ngtsc/translator/src/api/import_generator.d.ts +1 -1
- package/src/ngtsc/translator/src/context.d.ts +1 -1
- package/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.d.ts +1 -1
- package/src/ngtsc/translator/src/import_manager/import_manager.d.ts +1 -1
- package/src/ngtsc/translator/src/import_manager/import_typescript_transform.d.ts +1 -1
- package/src/ngtsc/translator/src/import_manager/reuse_generated_imports.d.ts +1 -1
- package/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.d.ts +1 -1
- package/src/ngtsc/translator/src/translator.d.ts +1 -1
- package/src/ngtsc/translator/src/ts_util.d.ts +1 -1
- package/src/ngtsc/translator/src/type_emitter.d.ts +1 -1
- package/src/ngtsc/translator/src/type_translator.d.ts +1 -1
- package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +3 -3
- package/src/ngtsc/translator/src/typescript_translator.d.ts +1 -1
- package/src/ngtsc/tsc_plugin.d.ts +1 -1
- package/src/ngtsc/typecheck/api/api.d.ts +7 -1
- package/src/ngtsc/typecheck/api/checker.d.ts +2 -2
- package/src/ngtsc/typecheck/api/completion.d.ts +1 -1
- package/src/ngtsc/typecheck/api/context.d.ts +1 -1
- package/src/ngtsc/typecheck/api/index.d.ts +1 -1
- package/src/ngtsc/typecheck/api/scope.d.ts +1 -1
- package/src/ngtsc/typecheck/api/symbols.d.ts +1 -1
- package/src/ngtsc/typecheck/diagnostics/index.d.ts +1 -1
- package/src/ngtsc/typecheck/diagnostics/src/diagnostic.d.ts +1 -1
- package/src/ngtsc/typecheck/diagnostics/src/id.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/api/api.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/api/extended_template_checker.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/api/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/index.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/src/extended_template_checker.d.ts +1 -1
- package/src/ngtsc/typecheck/index.d.ts +1 -1
- package/src/ngtsc/typecheck/src/checker.d.ts +2 -2
- package/src/ngtsc/typecheck/src/comments.d.ts +1 -1
- package/src/ngtsc/typecheck/src/completion.d.ts +1 -1
- package/src/ngtsc/typecheck/src/context.d.ts +1 -1
- package/src/ngtsc/typecheck/src/diagnostics.d.ts +1 -1
- package/src/ngtsc/typecheck/src/dom.d.ts +1 -1
- package/src/ngtsc/typecheck/src/environment.d.ts +1 -1
- package/src/ngtsc/typecheck/src/expression.d.ts +1 -1
- package/src/ngtsc/typecheck/src/line_mappings.d.ts +1 -1
- package/src/ngtsc/typecheck/src/oob.d.ts +1 -1
- package/src/ngtsc/typecheck/src/reference_emit_environment.d.ts +1 -1
- package/src/ngtsc/typecheck/src/shim.d.ts +1 -1
- package/src/ngtsc/typecheck/src/source.d.ts +1 -1
- package/src/ngtsc/typecheck/src/symbol_util.d.ts +1 -1
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
- package/src/ngtsc/typecheck/src/template_symbol_builder.d.ts +1 -1
- package/src/ngtsc/typecheck/src/ts_util.d.ts +1 -1
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +1 -1
- package/src/ngtsc/typecheck/src/type_check_file.d.ts +1 -1
- package/src/ngtsc/typecheck/src/type_constructor.d.ts +1 -1
- package/src/ngtsc/typecheck/src/type_parameter_emitter.d.ts +1 -1
- package/src/ngtsc/typecheck/template_semantics/api/api.d.ts +1 -1
- package/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.d.ts +1 -1
- package/src/ngtsc/util/src/path.d.ts +9 -0
- package/src/ngtsc/util/src/typescript.d.ts +1 -1
- package/src/ngtsc/util/src/visitor.d.ts +1 -1
- package/src/ngtsc/validation/index.d.ts +1 -1
- package/src/ngtsc/validation/src/config.d.ts +12 -0
- package/src/ngtsc/validation/src/rules/api.d.ts +1 -1
- package/src/ngtsc/validation/src/rules/initializer_api_usage_rule.d.ts +1 -1
- package/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.d.ts +29 -0
- package/src/ngtsc/validation/src/source_file_validator.d.ts +3 -2
- package/src/ngtsc/xi18n/index.d.ts +1 -1
- package/src/ngtsc/xi18n/src/context.d.ts +1 -1
- package/src/perform_compile.d.ts +2 -2
- package/src/perform_watch.d.ts +1 -1
- package/src/transformers/api.d.ts +1 -1
- package/src/transformers/compiler_host.d.ts +1 -1
- package/src/transformers/entry_points.d.ts +1 -1
- package/src/transformers/i18n.d.ts +1 -1
- package/src/transformers/program.d.ts +1 -1
- package/src/transformers/util.d.ts +1 -1
- package/src/version.d.ts +1 -1
- package/src/version_helpers.d.ts +1 -1
- package/bundles/chunk-5DVL3S3Z.js.map +0 -6
- package/bundles/chunk-B4ZOGV3N.js.map +0 -6
- package/bundles/chunk-QJ5A7O7J.js.map +0 -6
- package/bundles/chunk-UWZBW4E4.js.map +0 -6
- package/bundles/chunk-VNKFV2MZ.js.map +0 -6
- /package/bundles/{chunk-WR7TUJ7M.js.map → chunk-3Z25BX6N.js.map} +0 -0
- /package/bundles/{chunk-CNPXFKGI.js.map → chunk-CE344QNW.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-RT2QTF73.js.map} +0 -0
- /package/bundles/{chunk-THQF5ZZE.js.map → chunk-XSNUHRLJ.js.map} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { ClassDeclaration, ClassMemberAccessLevel } from './host';
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export { AdapterResourceLoader } from './src/loader';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { ResourceLoader, ResourceLoaderContext } from '../../annotations';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export { ComponentScopeKind, ComponentScopeReader, ExportScope, LocalModuleScope, ScopeData, StandaloneScope, } from './src/api';
|
|
9
9
|
export { CompoundComponentScopeReader } from './src/component_scope';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { SchemaMetadata } from '@angular/compiler';
|
|
9
9
|
import { Reexport, Reference } from '../../imports';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { ClassDeclaration } from '../../reflection';
|
|
9
9
|
import { ComponentScope, ComponentScopeReader, RemoteScope } from './api';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { AliasingHost, Reference } from '../../imports';
|
|
9
9
|
import { MetadataReader } from '../../metadata';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { AliasingHost, Reference, ReferenceEmitter } from '../../imports';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { MetadataReader } from '../../metadata';
|
|
9
9
|
import { ClassDeclaration } from '../../reflection';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { SchemaMetadata, SelectorMatcher } from '@angular/compiler';
|
|
9
9
|
import { Reference } from '../../imports';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { Reference } from '../../imports';
|
package/src/ngtsc/shims/api.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { AbsoluteFsPath } from '../file_system';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export { ShimAdapter } from './src/adapter';
|
|
9
9
|
export { copyFileShimData, isShim, retagAllTsFiles, retagTsFile, sfExtensionData, untagAllTsFiles, untagTsFile, } from './src/expando';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { AbsoluteFsPath } from '../../file_system';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { AbsoluteFsPath } from '../../file_system';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { AbsoluteFsPath } from '../../file_system';
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export { ContentOrigin } from './src/content_origin';
|
|
9
9
|
export { MapAndPath, RawSourceMap } from './src/raw_source_map';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* From where the content for a source file or source-map came.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { AbsoluteFsPath } from '../../file_system';
|
|
9
9
|
import { ContentOrigin } from './content_origin';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* A marker that indicates the start of a segment in a mapping.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export * from './src/api';
|
|
9
9
|
export { aliasTransformFactory } from './src/alias';
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export { angularJitApplicationTransform, getDownlevelDecoratorsTransform, getInitializerApiJitTransform, } from './src/index';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { ReflectionHost } from '../../../reflection';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
export { getDownlevelDecoratorsTransform } from './downlevel_decorators_transform';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { PropertyTransform } from './transform_api';
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { PropertyTransform } from './transform_api';
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { PropertyTransform } from './transform_api';
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { PropertyTransform } from './transform_api';
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { ImportedSymbolsTracker } from '../../../../imports';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { ImportedSymbolsTracker } from '../../../../imports';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
export declare function aliasTransformFactory(exportStatements: Map<string, Map<string, [string, string]>>): ts.TransformerFactory<ts.SourceFile>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { ConstantPool, Expression, Statement, Type } from '@angular/compiler';
|
|
9
9
|
import ts from 'typescript';
|
|
@@ -165,6 +165,10 @@ export interface DecoratorHandler<D, A, S extends SemanticSymbol | null, R> {
|
|
|
165
165
|
* `compileFull` is.
|
|
166
166
|
*/
|
|
167
167
|
compilePartial?(node: ClassDeclaration, analysis: Readonly<A>, resolution: Readonly<R>): CompileResult | CompileResult[];
|
|
168
|
+
/**
|
|
169
|
+
* Generates the function that will update a class' metadata at runtime during HMR.
|
|
170
|
+
*/
|
|
171
|
+
compileHmrUpdateDeclaration?(node: ClassDeclaration, analysis: Readonly<A>, resolution: Readonly<R>): ts.FunctionDeclaration | null;
|
|
168
172
|
/**
|
|
169
173
|
* Generates code based on each individual source file without using its
|
|
170
174
|
* dependencies (suitable for local dev edit/refresh workflow)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { ConstantPool } from '@angular/compiler';
|
|
9
9
|
import ts from 'typescript';
|
|
@@ -114,6 +114,7 @@ export declare class TraitCompiler implements ProgramTypeCheckAdapter {
|
|
|
114
114
|
xi18n(bundle: Xi18nContext): void;
|
|
115
115
|
updateResources(clazz: DeclarationNode): void;
|
|
116
116
|
compile(clazz: DeclarationNode, constantPool: ConstantPool): CompileResult[] | null;
|
|
117
|
+
compileHmrUpdateCallback(clazz: DeclarationNode): ts.FunctionDeclaration | null;
|
|
117
118
|
decoratorsFor(node: ts.Declaration): ts.Decorator[];
|
|
118
119
|
get diagnostics(): ReadonlyArray<ts.Diagnostic>;
|
|
119
120
|
get exportStatements(): Map<string, Map<string, [string, string]>>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Type } from '@angular/compiler';
|
|
9
9
|
import ts from 'typescript';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { SemanticSymbol } from '../../incremental/semantic_graph';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { DefaultImportTracker, ImportRewriter, LocalCompilationExtraImportsTracker } from '../../imports';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export { AstFactory, BinaryOperator, LeadingComment, ObjectLiteralProperty, SourceMapLocation, SourceMapRange, TemplateElement, TemplateLiteral, UnaryOperator, VariableDeclarationType, } from './src/api/ast_factory';
|
|
9
9
|
export { ImportGenerator, ImportRequest } from './src/api/import_generator';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Used to create transpiler specific AST nodes from Angular Output AST nodes in an abstract way.
|
|
@@ -19,7 +19,7 @@ export interface AstFactory<TStatement, TExpression> {
|
|
|
19
19
|
* @param statement the statement where the comments are to be attached.
|
|
20
20
|
* @param leadingComments the comments to attach.
|
|
21
21
|
*/
|
|
22
|
-
attachComments(statement: TStatement, leadingComments: LeadingComment[]): void;
|
|
22
|
+
attachComments(statement: TStatement | TExpression, leadingComments: LeadingComment[]): void;
|
|
23
23
|
/**
|
|
24
24
|
* Create a literal array expression (e.g. `[expr1, expr2]`).
|
|
25
25
|
*
|
|
@@ -107,7 +107,7 @@ export interface AstFactory<TStatement, TExpression> {
|
|
|
107
107
|
*
|
|
108
108
|
* @param url the URL that should by used in the dynamic import
|
|
109
109
|
*/
|
|
110
|
-
createDynamicImport(url: string): TExpression;
|
|
110
|
+
createDynamicImport(url: string | TExpression): TExpression;
|
|
111
111
|
/**
|
|
112
112
|
* Create an identifier.
|
|
113
113
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* A request to import a given symbol from the given module.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* The current context of a translator visitor as it traverses the AST tree.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import type { ImportManagerConfig } from './import_manager';
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { AliasImportDeclaration, ImportRewriter } from '../../../imports';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import type { ImportManager } from './import_manager';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { ImportRequest } from '../api/import_generator';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { AliasImportDeclaration } from '../../../imports';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import * as o from '@angular/compiler';
|
|
9
9
|
import { AstFactory } from './api/ast_factory';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import * as o from '@angular/compiler';
|
|
9
9
|
import ts from 'typescript';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { AstFactory, BinaryOperator, LeadingComment, ObjectLiteralProperty, SourceMapRange, TemplateLiteral, UnaryOperator, VariableDeclarationType } from './api/ast_factory';
|
|
@@ -23,7 +23,7 @@ export declare class TypeScriptAstFactory implements AstFactory<ts.Statement, ts
|
|
|
23
23
|
createConditional(condition: ts.Expression, whenTrue: ts.Expression, whenFalse: ts.Expression): ts.Expression;
|
|
24
24
|
createElementAccess: (expression: ts.Expression, index: number | ts.Expression) => ts.ElementAccessExpression;
|
|
25
25
|
createExpressionStatement: (expression: ts.Expression) => ts.ExpressionStatement;
|
|
26
|
-
createDynamicImport(url: string): ts.CallExpression;
|
|
26
|
+
createDynamicImport(url: string | ts.Expression): ts.CallExpression;
|
|
27
27
|
createFunctionDeclaration(functionName: string, parameters: string[], body: ts.Statement): ts.Statement;
|
|
28
28
|
createFunctionExpression(functionName: string | null, parameters: string[], body: ts.Statement): ts.Expression;
|
|
29
29
|
createArrowFunctionExpression(parameters: string[], body: ts.Statement | ts.Expression): ts.Expression;
|
|
@@ -50,4 +50,4 @@ export declare function createTemplateTail(cooked: string, raw: string): ts.Temp
|
|
|
50
50
|
* @param statement The statement that will have comments attached.
|
|
51
51
|
* @param leadingComments The comments to attach to the statement.
|
|
52
52
|
*/
|
|
53
|
-
export declare function attachComments(statement: ts.Statement, leadingComments: LeadingComment[]): void;
|
|
53
|
+
export declare function attachComments(statement: ts.Statement | ts.Expression, leadingComments: LeadingComment[]): void;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import * as o from '@angular/compiler';
|
|
9
9
|
import ts from 'typescript';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { NgCompiler } from './core';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { AbsoluteSourceSpan, BoundTarget, DirectiveMeta, ParseSourceSpan, SchemaMetadata } from '@angular/compiler';
|
|
9
9
|
import ts from 'typescript';
|
|
@@ -25,6 +25,8 @@ export interface TypeCheckableDirectiveMeta extends DirectiveMeta, DirectiveType
|
|
|
25
25
|
hostDirectives: HostDirectiveMeta[] | null;
|
|
26
26
|
decorator: ts.Decorator | null;
|
|
27
27
|
isExplicitlyDeferred: boolean;
|
|
28
|
+
imports: Reference<ClassDeclaration>[] | null;
|
|
29
|
+
rawImports: ts.Expression | null;
|
|
28
30
|
}
|
|
29
31
|
export type TemplateId = string & {
|
|
30
32
|
__brand: 'TemplateId';
|
|
@@ -247,6 +249,10 @@ export interface TypeCheckingConfig {
|
|
|
247
249
|
* Whether to check if control flow syntax will prevent a node from being projected.
|
|
248
250
|
*/
|
|
249
251
|
controlFlowPreventingContentProjection: 'error' | 'warning' | 'suppress';
|
|
252
|
+
/**
|
|
253
|
+
* Whether to check if `@Component.imports` contains unused symbols.
|
|
254
|
+
*/
|
|
255
|
+
unusedStandaloneImports: 'error' | 'warning' | 'suppress';
|
|
250
256
|
/**
|
|
251
257
|
* Whether to use any generic types of the context component.
|
|
252
258
|
*
|