@angular/compiler-cli 15.1.0-next.3 → 15.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-V5JWXGQQ.js → chunk-47D45K5K.js} +65 -65
- package/bundles/chunk-47D45K5K.js.map +6 -0
- package/bundles/{chunk-EFL37X7Q.js → chunk-64X67E3N.js} +31 -32
- package/bundles/chunk-64X67E3N.js.map +6 -0
- package/bundles/{chunk-OUTDZGN7.js → chunk-6ZJFIQBG.js} +7 -8
- package/bundles/chunk-6ZJFIQBG.js.map +6 -0
- package/bundles/{chunk-DLVFMDSC.js → chunk-7DUI3BSX.js} +2 -3
- package/bundles/chunk-7DUI3BSX.js.map +6 -0
- package/bundles/{chunk-3X2TSQ2D.js → chunk-DCKTQM63.js} +101 -108
- package/bundles/chunk-DCKTQM63.js.map +6 -0
- package/bundles/{chunk-E7DPJFUS.js → chunk-EC5K6QPP.js} +10 -11
- package/bundles/chunk-EC5K6QPP.js.map +6 -0
- package/bundles/{chunk-Y6OF4IE7.js → chunk-HRV5BIYU.js} +5 -6
- package/bundles/chunk-HRV5BIYU.js.map +6 -0
- package/bundles/{chunk-3S7MERES.js → chunk-LHX5X4GY.js} +72 -76
- package/bundles/chunk-LHX5X4GY.js.map +6 -0
- package/bundles/{chunk-MAF2KC4N.js → chunk-NJMZRTB6.js} +5 -6
- package/bundles/chunk-NJMZRTB6.js.map +6 -0
- package/bundles/{chunk-OHYTYUA4.js → chunk-O4JLZZWJ.js} +9 -14
- package/bundles/chunk-O4JLZZWJ.js.map +6 -0
- package/bundles/{chunk-Y6MBLTIR.js → chunk-Q6W3UCXI.js} +32 -34
- package/bundles/chunk-Q6W3UCXI.js.map +6 -0
- package/bundles/{chunk-OFXSI6E3.js → chunk-SBDNBITT.js} +3 -4
- package/bundles/chunk-SBDNBITT.js.map +6 -0
- package/bundles/{chunk-NDREJTCS.js → chunk-SRFZMXHZ.js} +1 -2
- package/bundles/{chunk-NDREJTCS.js.map → chunk-SRFZMXHZ.js.map} +0 -0
- package/bundles/{chunk-QVO57CDR.js → chunk-YRDMG3GM.js} +4 -5
- package/bundles/chunk-YRDMG3GM.js.map +6 -0
- package/bundles/{chunk-UN4WV3U4.js → chunk-Z534TW2O.js} +174 -138
- package/bundles/chunk-Z534TW2O.js.map +6 -0
- package/bundles/{chunk-I4VIIB6S.js → chunk-ZPQIVD3E.js} +106 -112
- package/bundles/chunk-ZPQIVD3E.js.map +6 -0
- package/bundles/index.js +13 -15
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +89 -99
- package/bundles/linker/babel/index.js.map +3 -3
- package/bundles/linker/index.js +5 -7
- package/bundles/ngcc/index.js +14 -17
- package/bundles/ngcc/index.js.map +1 -1
- package/bundles/ngcc/main-ngcc.js +14 -16
- package/bundles/ngcc/main-ngcc.js.map +1 -1
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -16
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +5 -6
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js.map +1 -1
- package/bundles/private/bazel.js +2 -3
- package/bundles/private/localize.js +4 -5
- package/bundles/private/migrations.js +6 -8
- package/bundles/private/tooling.js +3 -5
- package/bundles/src/bin/ng_xi18n.js +11 -13
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +9 -11
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/index.d.ts +0 -1
- package/linker/babel/index.d.ts +0 -1
- package/linker/babel/src/ast/babel_ast_factory.d.ts +8 -2
- package/linker/babel/src/ast/babel_ast_host.d.ts +1 -2
- package/linker/babel/src/babel_declaration_scope.d.ts +1 -2
- package/linker/babel/src/babel_plugin.d.ts +8 -2
- package/linker/babel/src/es2015_linker_plugin.d.ts +1 -2
- package/linker/babel/src/linker_plugin_options.d.ts +0 -1
- package/linker/index.d.ts +0 -1
- package/linker/src/ast/ast_host.d.ts +0 -1
- package/linker/src/ast/ast_value.d.ts +0 -1
- package/linker/src/ast/typescript/typescript_ast_host.d.ts +0 -1
- package/linker/src/ast/utils.d.ts +0 -1
- package/linker/src/fatal_linker_error.d.ts +0 -1
- package/linker/src/file_linker/declaration_scope.d.ts +0 -1
- package/linker/src/file_linker/emit_scopes/emit_scope.d.ts +0 -1
- package/linker/src/file_linker/emit_scopes/local_emit_scope.d.ts +0 -1
- package/linker/src/file_linker/file_linker.d.ts +0 -1
- package/linker/src/file_linker/get_source_file.d.ts +0 -1
- package/linker/src/file_linker/linker_environment.d.ts +0 -1
- package/linker/src/file_linker/linker_options.d.ts +0 -1
- package/linker/src/file_linker/needs_linking.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/partial_component_linker_1.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/partial_directive_linker_1.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/partial_factory_linker_1.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/partial_injector_linker_1.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/partial_linker.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/partial_linker_selector.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +0 -1
- package/linker/src/file_linker/translator.d.ts +0 -1
- package/linker/src/linker_import_generator.d.ts +0 -1
- package/ngcc/index.d.ts +0 -2
- package/ngcc/main-ngcc.d.ts +0 -1
- package/ngcc/src/analysis/decoration_analyzer.d.ts +0 -1
- package/ngcc/src/analysis/migration_host.d.ts +0 -1
- package/ngcc/src/analysis/module_with_providers_analyzer.d.ts +0 -1
- package/ngcc/src/analysis/ngcc_references_registry.d.ts +0 -1
- package/ngcc/src/analysis/ngcc_trait_compiler.d.ts +0 -1
- package/ngcc/src/analysis/private_declarations_analyzer.d.ts +0 -1
- package/ngcc/src/analysis/types.d.ts +0 -1
- package/ngcc/src/analysis/util.d.ts +0 -1
- package/ngcc/src/command_line_options.d.ts +0 -1
- package/ngcc/src/constants.d.ts +0 -1
- package/ngcc/src/dependencies/commonjs_dependency_host.d.ts +0 -1
- package/ngcc/src/dependencies/dependency_host.d.ts +0 -1
- package/ngcc/src/dependencies/dependency_resolver.d.ts +0 -1
- package/ngcc/src/dependencies/dts_dependency_host.d.ts +0 -1
- package/ngcc/src/dependencies/esm_dependency_host.d.ts +0 -1
- package/ngcc/src/dependencies/module_resolver.d.ts +0 -1
- package/ngcc/src/dependencies/umd_dependency_host.d.ts +0 -1
- package/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.d.ts +0 -1
- package/ngcc/src/entry_point_finder/entry_point_collector.d.ts +0 -1
- package/ngcc/src/entry_point_finder/interface.d.ts +0 -1
- package/ngcc/src/entry_point_finder/program_based_entry_point_finder.d.ts +0 -1
- package/ngcc/src/entry_point_finder/targeted_entry_point_finder.d.ts +0 -1
- package/ngcc/src/entry_point_finder/tracing_entry_point_finder.d.ts +0 -1
- package/ngcc/src/entry_point_finder/utils.d.ts +0 -1
- package/ngcc/src/execution/analyze_entry_points.d.ts +0 -1
- package/ngcc/src/execution/api.d.ts +0 -1
- package/ngcc/src/execution/cluster/api.d.ts +0 -1
- package/ngcc/src/execution/cluster/executor.d.ts +0 -1
- package/ngcc/src/execution/cluster/master.d.ts +4 -3
- package/ngcc/src/execution/cluster/ngcc_cluster_worker.d.ts +0 -1
- package/ngcc/src/execution/cluster/package_json_updater.d.ts +0 -1
- package/ngcc/src/execution/cluster/utils.d.ts +0 -1
- package/ngcc/src/execution/cluster/worker.d.ts +0 -1
- package/ngcc/src/execution/create_compile_function.d.ts +0 -1
- package/ngcc/src/execution/single_process_executor.d.ts +0 -1
- package/ngcc/src/execution/tasks/api.d.ts +0 -1
- package/ngcc/src/execution/tasks/completion.d.ts +0 -1
- package/ngcc/src/execution/tasks/queues/base_task_queue.d.ts +0 -1
- package/ngcc/src/execution/tasks/queues/parallel_task_queue.d.ts +0 -1
- package/ngcc/src/execution/tasks/queues/serial_task_queue.d.ts +0 -1
- package/ngcc/src/execution/tasks/utils.d.ts +0 -1
- package/ngcc/src/host/commonjs_host.d.ts +0 -1
- package/ngcc/src/host/commonjs_umd_utils.d.ts +0 -1
- package/ngcc/src/host/delegating_host.d.ts +0 -1
- package/ngcc/src/host/esm2015_host.d.ts +0 -1
- package/ngcc/src/host/esm5_host.d.ts +0 -1
- package/ngcc/src/host/ngcc_host.d.ts +0 -1
- package/ngcc/src/host/umd_host.d.ts +0 -1
- package/ngcc/src/host/utils.d.ts +0 -1
- package/ngcc/src/locking/async_locker.d.ts +0 -1
- package/ngcc/src/locking/lock_file.d.ts +4 -2
- package/ngcc/src/locking/lock_file_with_child_process/index.d.ts +4 -3
- package/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.d.ts +0 -1
- package/ngcc/src/locking/lock_file_with_child_process/util.d.ts +0 -1
- package/ngcc/src/locking/sync_locker.d.ts +0 -1
- package/ngcc/src/main.d.ts +0 -1
- package/ngcc/src/migrations/migration.d.ts +0 -1
- package/ngcc/src/migrations/missing_injectable_migration.d.ts +0 -1
- package/ngcc/src/migrations/undecorated_child_migration.d.ts +0 -1
- package/ngcc/src/migrations/undecorated_parent_migration.d.ts +0 -1
- package/ngcc/src/migrations/utils.d.ts +0 -1
- package/ngcc/src/ngcc_options.d.ts +0 -1
- package/ngcc/src/packages/adjust_cjs_umd_exports.d.ts +0 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -2
- package/ngcc/src/packages/bundle_program.d.ts +0 -1
- package/ngcc/src/packages/configuration.d.ts +0 -1
- package/ngcc/src/packages/entry_point.d.ts +0 -1
- package/ngcc/src/packages/entry_point_bundle.d.ts +0 -1
- package/ngcc/src/packages/entry_point_manifest.d.ts +0 -1
- package/ngcc/src/packages/ngcc_compiler_host.d.ts +0 -1
- package/ngcc/src/packages/patch_ts_expando_initializer.d.ts +0 -1
- package/ngcc/src/packages/source_file_cache.d.ts +0 -1
- package/ngcc/src/packages/transformer.d.ts +0 -1
- package/ngcc/src/path_mappings.d.ts +0 -1
- package/ngcc/src/rendering/commonjs_rendering_formatter.d.ts +0 -1
- package/ngcc/src/rendering/dts_renderer.d.ts +0 -1
- package/ngcc/src/rendering/esm5_rendering_formatter.d.ts +0 -1
- package/ngcc/src/rendering/esm_rendering_formatter.d.ts +0 -1
- package/ngcc/src/rendering/ngcc_import_rewriter.d.ts +0 -1
- package/ngcc/src/rendering/renderer.d.ts +0 -1
- package/ngcc/src/rendering/rendering_formatter.d.ts +0 -1
- package/ngcc/src/rendering/source_maps.d.ts +0 -1
- package/ngcc/src/rendering/umd_rendering_formatter.d.ts +0 -1
- package/ngcc/src/rendering/utils.d.ts +0 -1
- package/ngcc/src/utils.d.ts +0 -1
- package/ngcc/src/writing/cleaning/cleaning_strategies.d.ts +0 -1
- package/ngcc/src/writing/cleaning/package_cleaner.d.ts +0 -1
- package/ngcc/src/writing/cleaning/utils.d.ts +0 -1
- package/ngcc/src/writing/file_writer.d.ts +0 -1
- package/ngcc/src/writing/in_place_file_writer.d.ts +0 -1
- package/ngcc/src/writing/new_entry_point_file_writer.d.ts +0 -1
- package/ngcc/src/writing/package_json_updater.d.ts +0 -1
- package/package.json +3 -3
- package/private/bazel.d.ts +0 -1
- package/private/localize.d.ts +0 -1
- package/private/migrations.d.ts +0 -1
- package/private/tooling.d.ts +0 -1
- package/src/bin/ng_xi18n.d.ts +0 -1
- package/src/bin/ngc.d.ts +0 -1
- package/src/extract_i18n.d.ts +0 -1
- package/src/main.d.ts +0 -1
- package/src/ngtsc/annotations/common/index.d.ts +0 -1
- package/src/ngtsc/annotations/common/src/api.d.ts +0 -1
- package/src/ngtsc/annotations/common/src/di.d.ts +0 -1
- package/src/ngtsc/annotations/common/src/diagnostics.d.ts +0 -1
- package/src/ngtsc/annotations/common/src/evaluation.d.ts +0 -1
- package/src/ngtsc/annotations/common/src/factory.d.ts +0 -1
- package/src/ngtsc/annotations/common/src/injectable_registry.d.ts +0 -1
- package/src/ngtsc/annotations/common/src/metadata.d.ts +0 -1
- package/src/ngtsc/annotations/common/src/references_registry.d.ts +0 -1
- package/src/ngtsc/annotations/common/src/schema.d.ts +0 -1
- package/src/ngtsc/annotations/common/src/util.d.ts +0 -1
- package/src/ngtsc/annotations/component/index.d.ts +0 -1
- package/src/ngtsc/annotations/component/src/diagnostics.d.ts +0 -1
- package/src/ngtsc/annotations/component/src/handler.d.ts +0 -1
- package/src/ngtsc/annotations/component/src/metadata.d.ts +0 -1
- package/src/ngtsc/annotations/component/src/resources.d.ts +0 -1
- package/src/ngtsc/annotations/component/src/symbol.d.ts +0 -1
- package/src/ngtsc/annotations/component/src/util.d.ts +0 -1
- package/src/ngtsc/annotations/directive/index.d.ts +0 -1
- package/src/ngtsc/annotations/directive/src/handler.d.ts +0 -1
- package/src/ngtsc/annotations/directive/src/shared.d.ts +0 -1
- package/src/ngtsc/annotations/directive/src/symbol.d.ts +0 -1
- package/src/ngtsc/annotations/index.d.ts +0 -1
- package/src/ngtsc/annotations/ng_module/index.d.ts +0 -1
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +0 -1
- package/src/ngtsc/annotations/ng_module/src/module_with_providers.d.ts +0 -1
- package/src/ngtsc/annotations/src/injectable.d.ts +0 -1
- package/src/ngtsc/annotations/src/pipe.d.ts +0 -1
- package/src/ngtsc/core/api/index.d.ts +0 -1
- package/src/ngtsc/core/api/src/adapter.d.ts +0 -1
- package/src/ngtsc/core/api/src/interfaces.d.ts +0 -1
- package/src/ngtsc/core/api/src/options.d.ts +0 -1
- package/src/ngtsc/core/api/src/public_options.d.ts +0 -1
- package/src/ngtsc/core/index.d.ts +0 -1
- package/src/ngtsc/core/src/compiler.d.ts +0 -1
- package/src/ngtsc/core/src/host.d.ts +1 -2
- package/src/ngtsc/cycles/index.d.ts +0 -1
- package/src/ngtsc/cycles/src/analyzer.d.ts +0 -1
- package/src/ngtsc/cycles/src/imports.d.ts +0 -1
- package/src/ngtsc/diagnostics/index.d.ts +0 -1
- package/src/ngtsc/diagnostics/src/docs.d.ts +0 -1
- package/src/ngtsc/diagnostics/src/error.d.ts +0 -1
- package/src/ngtsc/diagnostics/src/error_code.d.ts +0 -1
- package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +0 -1
- package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +0 -1
- package/src/ngtsc/diagnostics/src/util.d.ts +0 -1
- package/src/ngtsc/entry_point/index.d.ts +0 -1
- package/src/ngtsc/entry_point/src/generator.d.ts +0 -1
- package/src/ngtsc/entry_point/src/logic.d.ts +0 -1
- package/src/ngtsc/entry_point/src/private_export_checker.d.ts +0 -1
- package/src/ngtsc/entry_point/src/reference_graph.d.ts +0 -1
- package/src/ngtsc/file_system/index.d.ts +0 -1
- package/src/ngtsc/file_system/src/compiler_host.d.ts +0 -1
- package/src/ngtsc/file_system/src/helpers.d.ts +0 -1
- package/src/ngtsc/file_system/src/invalid_file_system.d.ts +0 -1
- package/src/ngtsc/file_system/src/logical.d.ts +0 -1
- package/src/ngtsc/file_system/src/node_js_file_system.d.ts +0 -1
- package/src/ngtsc/file_system/src/types.d.ts +0 -1
- package/src/ngtsc/file_system/src/util.d.ts +0 -1
- package/src/ngtsc/imports/index.d.ts +0 -1
- package/src/ngtsc/imports/src/alias.d.ts +0 -1
- package/src/ngtsc/imports/src/core.d.ts +0 -1
- package/src/ngtsc/imports/src/default.d.ts +0 -1
- package/src/ngtsc/imports/src/emitter.d.ts +0 -1
- package/src/ngtsc/imports/src/find_export.d.ts +0 -1
- package/src/ngtsc/imports/src/reexport.d.ts +0 -1
- package/src/ngtsc/imports/src/references.d.ts +0 -1
- package/src/ngtsc/imports/src/resolver.d.ts +0 -1
- package/src/ngtsc/incremental/api.d.ts +0 -1
- package/src/ngtsc/incremental/index.d.ts +0 -1
- package/src/ngtsc/incremental/semantic_graph/index.d.ts +0 -1
- package/src/ngtsc/incremental/semantic_graph/src/api.d.ts +0 -1
- package/src/ngtsc/incremental/semantic_graph/src/graph.d.ts +1 -2
- package/src/ngtsc/incremental/semantic_graph/src/type_parameters.d.ts +0 -1
- package/src/ngtsc/incremental/semantic_graph/src/util.d.ts +0 -1
- package/src/ngtsc/incremental/src/dependency_tracking.d.ts +0 -1
- package/src/ngtsc/incremental/src/incremental.d.ts +0 -1
- package/src/ngtsc/incremental/src/noop.d.ts +0 -1
- package/src/ngtsc/incremental/src/state.d.ts +0 -1
- package/src/ngtsc/incremental/src/strategy.d.ts +0 -1
- package/src/ngtsc/indexer/index.d.ts +0 -1
- package/src/ngtsc/indexer/src/api.d.ts +0 -1
- package/src/ngtsc/indexer/src/context.d.ts +0 -1
- package/src/ngtsc/indexer/src/template.d.ts +0 -1
- package/src/ngtsc/indexer/src/transform.d.ts +0 -1
- package/src/ngtsc/logging/index.d.ts +0 -1
- package/src/ngtsc/logging/src/console_logger.d.ts +0 -1
- package/src/ngtsc/logging/src/logger.d.ts +0 -1
- package/src/ngtsc/metadata/index.d.ts +0 -1
- package/src/ngtsc/metadata/src/api.d.ts +0 -1
- package/src/ngtsc/metadata/src/dts.d.ts +0 -1
- package/src/ngtsc/metadata/src/host_directives_resolver.d.ts +0 -1
- package/src/ngtsc/metadata/src/inheritance.d.ts +0 -1
- package/src/ngtsc/metadata/src/property_mapping.d.ts +0 -1
- package/src/ngtsc/metadata/src/registry.d.ts +0 -1
- package/src/ngtsc/metadata/src/resource_registry.d.ts +0 -1
- package/src/ngtsc/metadata/src/util.d.ts +0 -1
- package/src/ngtsc/partial_evaluator/index.d.ts +0 -1
- package/src/ngtsc/partial_evaluator/src/builtin.d.ts +0 -1
- package/src/ngtsc/partial_evaluator/src/diagnostics.d.ts +0 -1
- package/src/ngtsc/partial_evaluator/src/dynamic.d.ts +0 -1
- package/src/ngtsc/partial_evaluator/src/interface.d.ts +0 -1
- package/src/ngtsc/partial_evaluator/src/interpreter.d.ts +0 -1
- package/src/ngtsc/partial_evaluator/src/known_declaration.d.ts +0 -1
- package/src/ngtsc/partial_evaluator/src/result.d.ts +0 -1
- package/src/ngtsc/partial_evaluator/src/synthetic.d.ts +0 -1
- package/src/ngtsc/partial_evaluator/src/ts_helpers.d.ts +0 -1
- package/src/ngtsc/perf/index.d.ts +0 -1
- package/src/ngtsc/perf/src/api.d.ts +0 -1
- package/src/ngtsc/perf/src/clock.d.ts +0 -1
- package/src/ngtsc/perf/src/noop.d.ts +0 -1
- package/src/ngtsc/perf/src/recorder.d.ts +0 -1
- package/src/ngtsc/program.d.ts +0 -1
- package/src/ngtsc/program_driver/index.d.ts +0 -1
- package/src/ngtsc/program_driver/src/api.d.ts +0 -1
- package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +0 -1
- package/src/ngtsc/reflection/index.d.ts +0 -1
- package/src/ngtsc/reflection/src/host.d.ts +0 -1
- package/src/ngtsc/reflection/src/type_to_value.d.ts +0 -1
- package/src/ngtsc/reflection/src/typescript.d.ts +0 -1
- package/src/ngtsc/reflection/src/util.d.ts +0 -1
- package/src/ngtsc/resource/index.d.ts +0 -1
- package/src/ngtsc/resource/src/loader.d.ts +0 -1
- package/src/ngtsc/scope/index.d.ts +0 -1
- package/src/ngtsc/scope/src/api.d.ts +0 -1
- package/src/ngtsc/scope/src/component_scope.d.ts +0 -1
- package/src/ngtsc/scope/src/dependency.d.ts +0 -1
- package/src/ngtsc/scope/src/local.d.ts +0 -1
- package/src/ngtsc/scope/src/standalone.d.ts +0 -1
- package/src/ngtsc/scope/src/typecheck.d.ts +0 -1
- package/src/ngtsc/scope/src/util.d.ts +0 -1
- package/src/ngtsc/shims/api.d.ts +0 -1
- package/src/ngtsc/shims/index.d.ts +0 -1
- package/src/ngtsc/shims/src/adapter.d.ts +0 -1
- package/src/ngtsc/shims/src/expando.d.ts +0 -1
- package/src/ngtsc/shims/src/factory_generator.d.ts +0 -1
- package/src/ngtsc/shims/src/reference_tagger.d.ts +0 -1
- package/src/ngtsc/shims/src/summary_generator.d.ts +0 -1
- package/src/ngtsc/shims/src/util.d.ts +0 -1
- package/src/ngtsc/sourcemaps/index.d.ts +0 -1
- package/src/ngtsc/sourcemaps/src/content_origin.d.ts +0 -1
- package/src/ngtsc/sourcemaps/src/raw_source_map.d.ts +0 -1
- package/src/ngtsc/sourcemaps/src/segment_marker.d.ts +0 -1
- package/src/ngtsc/sourcemaps/src/source_file.d.ts +0 -1
- package/src/ngtsc/sourcemaps/src/source_file_loader.d.ts +0 -1
- package/src/ngtsc/transform/index.d.ts +0 -1
- package/src/ngtsc/transform/src/alias.d.ts +0 -1
- package/src/ngtsc/transform/src/api.d.ts +0 -1
- package/src/ngtsc/transform/src/compilation.d.ts +0 -1
- package/src/ngtsc/transform/src/declaration.d.ts +0 -1
- package/src/ngtsc/transform/src/trait.d.ts +0 -1
- package/src/ngtsc/transform/src/transform.d.ts +0 -1
- package/src/ngtsc/transform/src/utils.d.ts +0 -1
- package/src/ngtsc/translator/index.d.ts +0 -1
- package/src/ngtsc/translator/src/api/ast_factory.d.ts +0 -1
- package/src/ngtsc/translator/src/api/import_generator.d.ts +0 -1
- package/src/ngtsc/translator/src/context.d.ts +0 -1
- package/src/ngtsc/translator/src/import_manager.d.ts +0 -1
- package/src/ngtsc/translator/src/translator.d.ts +0 -1
- package/src/ngtsc/translator/src/type_translator.d.ts +0 -1
- package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +0 -1
- package/src/ngtsc/translator/src/typescript_translator.d.ts +0 -1
- package/src/ngtsc/ts_compatibility/index.d.ts +0 -1
- package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +2 -145
- package/src/ngtsc/tsc_plugin.d.ts +0 -1
- package/src/ngtsc/typecheck/api/api.d.ts +0 -1
- package/src/ngtsc/typecheck/api/checker.d.ts +0 -1
- package/src/ngtsc/typecheck/api/completion.d.ts +0 -1
- package/src/ngtsc/typecheck/api/context.d.ts +0 -1
- package/src/ngtsc/typecheck/api/index.d.ts +0 -1
- package/src/ngtsc/typecheck/api/scope.d.ts +0 -1
- package/src/ngtsc/typecheck/api/symbols.d.ts +0 -1
- package/src/ngtsc/typecheck/diagnostics/index.d.ts +0 -1
- package/src/ngtsc/typecheck/diagnostics/src/diagnostic.d.ts +0 -1
- package/src/ngtsc/typecheck/diagnostics/src/id.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/api/api.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/api/extended_template_checker.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/api/index.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/index.d.ts +0 -1
- package/src/ngtsc/typecheck/extended/src/extended_template_checker.d.ts +0 -1
- package/src/ngtsc/typecheck/index.d.ts +0 -1
- package/src/ngtsc/typecheck/src/checker.d.ts +0 -1
- package/src/ngtsc/typecheck/src/comments.d.ts +0 -1
- package/src/ngtsc/typecheck/src/completion.d.ts +0 -1
- package/src/ngtsc/typecheck/src/context.d.ts +0 -1
- package/src/ngtsc/typecheck/src/diagnostics.d.ts +0 -1
- package/src/ngtsc/typecheck/src/dom.d.ts +0 -1
- package/src/ngtsc/typecheck/src/environment.d.ts +0 -1
- package/src/ngtsc/typecheck/src/expression.d.ts +0 -1
- package/src/ngtsc/typecheck/src/line_mappings.d.ts +0 -1
- package/src/ngtsc/typecheck/src/oob.d.ts +0 -1
- package/src/ngtsc/typecheck/src/shim.d.ts +0 -1
- package/src/ngtsc/typecheck/src/source.d.ts +0 -1
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +0 -1
- package/src/ngtsc/typecheck/src/template_semantics.d.ts +0 -1
- package/src/ngtsc/typecheck/src/template_symbol_builder.d.ts +0 -1
- package/src/ngtsc/typecheck/src/ts_util.d.ts +0 -1
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +0 -1
- package/src/ngtsc/typecheck/src/type_check_file.d.ts +0 -1
- package/src/ngtsc/typecheck/src/type_constructor.d.ts +0 -1
- package/src/ngtsc/typecheck/src/type_emitter.d.ts +0 -1
- package/src/ngtsc/typecheck/src/type_parameter_emitter.d.ts +0 -1
- package/src/ngtsc/util/src/path.d.ts +0 -1
- package/src/ngtsc/util/src/typescript.d.ts +0 -1
- package/src/ngtsc/util/src/visitor.d.ts +0 -1
- package/src/ngtsc/xi18n/index.d.ts +0 -1
- package/src/ngtsc/xi18n/src/context.d.ts +0 -1
- package/src/perform_compile.d.ts +0 -1
- package/src/perform_watch.d.ts +0 -1
- package/src/transformers/api.d.ts +0 -1
- package/src/transformers/compiler_host.d.ts +0 -1
- package/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.d.ts +0 -1
- package/src/transformers/downlevel_decorators_transform/index.d.ts +0 -1
- package/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.d.ts +0 -1
- package/src/transformers/entry_points.d.ts +0 -1
- package/src/transformers/i18n.d.ts +0 -1
- package/src/transformers/program.d.ts +0 -1
- package/src/transformers/util.d.ts +0 -1
- package/src/typescript_support.d.ts +0 -1
- package/src/version.d.ts +0 -1
- package/src/version_helpers.d.ts +0 -1
- package/bundles/chunk-3S7MERES.js.map +0 -6
- package/bundles/chunk-3X2TSQ2D.js.map +0 -6
- package/bundles/chunk-DLVFMDSC.js.map +0 -6
- package/bundles/chunk-E7DPJFUS.js.map +0 -6
- package/bundles/chunk-EFL37X7Q.js.map +0 -6
- package/bundles/chunk-I4VIIB6S.js.map +0 -6
- package/bundles/chunk-IZN5U2AM.js +0 -103
- package/bundles/chunk-IZN5U2AM.js.map +0 -6
- package/bundles/chunk-MAF2KC4N.js.map +0 -6
- package/bundles/chunk-OFXSI6E3.js.map +0 -6
- package/bundles/chunk-OHYTYUA4.js.map +0 -6
- package/bundles/chunk-OUTDZGN7.js.map +0 -6
- package/bundles/chunk-QVO57CDR.js.map +0 -6
- package/bundles/chunk-UN4WV3U4.js.map +0 -6
- package/bundles/chunk-V5JWXGQQ.js.map +0 -6
- package/bundles/chunk-Y6MBLTIR.js.map +0 -6
- package/bundles/chunk-Y6OF4IE7.js.map +0 -6
- package/import_meta_url.d.ts +0 -14
- package/linker/babel/src/babel_core.d.ts +0 -37
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import {createRequire as __cjsCompatRequire} from 'module';
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
|
-
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
4
|
|
|
6
5
|
import {
|
|
7
6
|
ClassMemberKind,
|
|
@@ -13,7 +12,7 @@ import {
|
|
|
13
12
|
reflectObjectLiteral,
|
|
14
13
|
reflectTypeEntityToDeclaration,
|
|
15
14
|
typeNodeToValueExpr
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-O4JLZZWJ.js";
|
|
17
16
|
import {
|
|
18
17
|
ErrorCode,
|
|
19
18
|
FatalDiagnosticError,
|
|
@@ -22,6 +21,7 @@ import {
|
|
|
22
21
|
Reference,
|
|
23
22
|
assertSuccessfulReferenceEmit,
|
|
24
23
|
attachDefaultImportDeclaration,
|
|
24
|
+
createImportDeclaration,
|
|
25
25
|
getDefaultImportDeclaration,
|
|
26
26
|
getSourceFile,
|
|
27
27
|
identifierOfNode,
|
|
@@ -34,32 +34,18 @@ import {
|
|
|
34
34
|
translateExpression,
|
|
35
35
|
translateStatement,
|
|
36
36
|
translateType
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import {
|
|
39
|
-
combineModifiers,
|
|
40
|
-
createImportDeclaration,
|
|
41
|
-
createPropertyDeclaration,
|
|
42
|
-
getDecorators,
|
|
43
|
-
getModifiers,
|
|
44
|
-
updateClassDeclaration,
|
|
45
|
-
updateConstructorDeclaration,
|
|
46
|
-
updateGetAccessorDeclaration,
|
|
47
|
-
updateMethodDeclaration,
|
|
48
|
-
updateParameterDeclaration,
|
|
49
|
-
updatePropertyDeclaration,
|
|
50
|
-
updateSetAccessorDeclaration
|
|
51
|
-
} from "./chunk-IZN5U2AM.js";
|
|
37
|
+
} from "./chunk-Z534TW2O.js";
|
|
52
38
|
import {
|
|
53
39
|
absoluteFrom,
|
|
54
40
|
absoluteFromSourceFile,
|
|
55
41
|
relative
|
|
56
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-EC5K6QPP.js";
|
|
57
43
|
import {
|
|
58
44
|
PerfEvent,
|
|
59
45
|
PerfPhase
|
|
60
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-NJMZRTB6.js";
|
|
61
47
|
|
|
62
|
-
// bazel-out/
|
|
48
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
63
49
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
64
50
|
import ts from "typescript";
|
|
65
51
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -298,7 +284,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
298
284
|
return clazz.modifiers !== void 0 && clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword);
|
|
299
285
|
}
|
|
300
286
|
|
|
301
|
-
// bazel-out/
|
|
287
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
302
288
|
var DynamicValue = class {
|
|
303
289
|
constructor(node, reason, code) {
|
|
304
290
|
this.node = node;
|
|
@@ -388,10 +374,10 @@ var DynamicValue = class {
|
|
|
388
374
|
}
|
|
389
375
|
};
|
|
390
376
|
|
|
391
|
-
// bazel-out/
|
|
377
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
392
378
|
import ts2 from "typescript";
|
|
393
379
|
|
|
394
|
-
// bazel-out/
|
|
380
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
395
381
|
var ResolvedModule = class {
|
|
396
382
|
constructor(exports, evaluate) {
|
|
397
383
|
this.exports = exports;
|
|
@@ -421,7 +407,7 @@ var EnumValue = class {
|
|
|
421
407
|
var KnownFn = class {
|
|
422
408
|
};
|
|
423
409
|
|
|
424
|
-
// bazel-out/
|
|
410
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
425
411
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
426
412
|
constructor(lhs) {
|
|
427
413
|
super();
|
|
@@ -492,7 +478,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
492
478
|
}
|
|
493
479
|
};
|
|
494
480
|
|
|
495
|
-
// bazel-out/
|
|
481
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
496
482
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
497
483
|
};
|
|
498
484
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -545,7 +531,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
545
531
|
}
|
|
546
532
|
};
|
|
547
533
|
|
|
548
|
-
// bazel-out/
|
|
534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
549
535
|
var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
550
536
|
var assignTsHelperFn = new AssignHelperFn();
|
|
551
537
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -569,14 +555,14 @@ function resolveKnownDeclaration(decl) {
|
|
|
569
555
|
}
|
|
570
556
|
}
|
|
571
557
|
|
|
572
|
-
// bazel-out/
|
|
558
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
573
559
|
var SyntheticValue = class {
|
|
574
560
|
constructor(value) {
|
|
575
561
|
this.value = value;
|
|
576
562
|
}
|
|
577
563
|
};
|
|
578
564
|
|
|
579
|
-
// bazel-out/
|
|
565
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
580
566
|
function literalBinaryOp(op) {
|
|
581
567
|
return { op, literal: true };
|
|
582
568
|
}
|
|
@@ -1148,7 +1134,7 @@ function isVariableDeclarationDeclared(node) {
|
|
|
1148
1134
|
return false;
|
|
1149
1135
|
}
|
|
1150
1136
|
const varStmt = declList.parent;
|
|
1151
|
-
const modifiers = getModifiers(varStmt);
|
|
1137
|
+
const modifiers = ts2.getModifiers(varStmt);
|
|
1152
1138
|
return modifiers !== void 0 && modifiers.some((mod) => mod.kind === ts2.SyntaxKind.DeclareKeyword);
|
|
1153
1139
|
}
|
|
1154
1140
|
var EMPTY = {};
|
|
@@ -1177,7 +1163,7 @@ function owningModule(context, override = null) {
|
|
|
1177
1163
|
}
|
|
1178
1164
|
}
|
|
1179
1165
|
|
|
1180
|
-
// bazel-out/
|
|
1166
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1181
1167
|
var PartialEvaluator = class {
|
|
1182
1168
|
constructor(host, checker, dependencyTracker) {
|
|
1183
1169
|
this.host = host;
|
|
@@ -1197,7 +1183,7 @@ var PartialEvaluator = class {
|
|
|
1197
1183
|
}
|
|
1198
1184
|
};
|
|
1199
1185
|
|
|
1200
|
-
// bazel-out/
|
|
1186
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1201
1187
|
import ts3 from "typescript";
|
|
1202
1188
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1203
1189
|
var _a, _b;
|
|
@@ -1327,7 +1313,7 @@ function getContainerNode(node) {
|
|
|
1327
1313
|
return node.getSourceFile();
|
|
1328
1314
|
}
|
|
1329
1315
|
|
|
1330
|
-
// bazel-out/
|
|
1316
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1331
1317
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1332
1318
|
import ts4 from "typescript";
|
|
1333
1319
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1471,10 +1457,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1471
1457
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1472
1458
|
}
|
|
1473
1459
|
|
|
1474
|
-
// bazel-out/
|
|
1460
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1475
1461
|
import ts7 from "typescript";
|
|
1476
1462
|
|
|
1477
|
-
// bazel-out/
|
|
1463
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1478
1464
|
var MetaKind;
|
|
1479
1465
|
(function(MetaKind2) {
|
|
1480
1466
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1487,10 +1473,10 @@ var MatchSource;
|
|
|
1487
1473
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
1488
1474
|
})(MatchSource || (MatchSource = {}));
|
|
1489
1475
|
|
|
1490
|
-
// bazel-out/
|
|
1476
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1491
1477
|
import ts6 from "typescript";
|
|
1492
1478
|
|
|
1493
|
-
// bazel-out/
|
|
1479
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1494
1480
|
var ClassPropertyMapping = class {
|
|
1495
1481
|
constructor(forwardMap) {
|
|
1496
1482
|
this.forwardMap = forwardMap;
|
|
@@ -1566,7 +1552,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1566
1552
|
return reverseMap;
|
|
1567
1553
|
}
|
|
1568
1554
|
|
|
1569
|
-
// bazel-out/
|
|
1555
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1570
1556
|
import ts5 from "typescript";
|
|
1571
1557
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1572
1558
|
if (!ts5.isTupleTypeNode(def)) {
|
|
@@ -1673,7 +1659,7 @@ function extractDirectiveTypeCheckMeta(node, inputs, reflector) {
|
|
|
1673
1659
|
};
|
|
1674
1660
|
}
|
|
1675
1661
|
function isRestricted(node) {
|
|
1676
|
-
const modifiers = getModifiers(node);
|
|
1662
|
+
const modifiers = ts5.canHaveModifiers(node) ? ts5.getModifiers(node) : void 0;
|
|
1677
1663
|
return modifiers !== void 0 && modifiers.some(({ kind }) => {
|
|
1678
1664
|
return kind === ts5.SyntaxKind.PrivateKeyword || kind === ts5.SyntaxKind.ProtectedKeyword || kind === ts5.SyntaxKind.ReadonlyKeyword;
|
|
1679
1665
|
});
|
|
@@ -1748,7 +1734,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
1748
1734
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
1749
1735
|
}
|
|
1750
1736
|
|
|
1751
|
-
// bazel-out/
|
|
1737
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1752
1738
|
var DtsMetadataReader = class {
|
|
1753
1739
|
constructor(checker, reflector) {
|
|
1754
1740
|
this.checker = checker;
|
|
@@ -1887,7 +1873,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1887
1873
|
return result.length > 0 ? result : null;
|
|
1888
1874
|
}
|
|
1889
1875
|
|
|
1890
|
-
// bazel-out/
|
|
1876
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1891
1877
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1892
1878
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1893
1879
|
if (topMeta === null) {
|
|
@@ -1945,7 +1931,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1945
1931
|
};
|
|
1946
1932
|
}
|
|
1947
1933
|
|
|
1948
|
-
// bazel-out/
|
|
1934
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
1949
1935
|
var LocalMetadataRegistry = class {
|
|
1950
1936
|
constructor() {
|
|
1951
1937
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -2002,7 +1988,7 @@ var CompoundMetadataRegistry = class {
|
|
|
2002
1988
|
}
|
|
2003
1989
|
};
|
|
2004
1990
|
|
|
2005
|
-
// bazel-out/
|
|
1991
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2006
1992
|
var ResourceRegistry = class {
|
|
2007
1993
|
constructor() {
|
|
2008
1994
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2067,7 +2053,7 @@ var ResourceRegistry = class {
|
|
|
2067
2053
|
}
|
|
2068
2054
|
};
|
|
2069
2055
|
|
|
2070
|
-
// bazel-out/
|
|
2056
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2071
2057
|
var EMPTY_ARRAY = [];
|
|
2072
2058
|
var HostDirectivesResolver = class {
|
|
2073
2059
|
constructor(metaReader) {
|
|
@@ -2118,7 +2104,7 @@ var HostDirectivesResolver = class {
|
|
|
2118
2104
|
}
|
|
2119
2105
|
};
|
|
2120
2106
|
|
|
2121
|
-
// bazel-out/
|
|
2107
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
2122
2108
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
2123
2109
|
const context = [];
|
|
2124
2110
|
for (const decl of data) {
|
|
@@ -2293,7 +2279,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
2293
2279
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
2294
2280
|
}
|
|
2295
2281
|
|
|
2296
|
-
// bazel-out/
|
|
2282
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
2297
2283
|
import ts8 from "typescript";
|
|
2298
2284
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
2299
2285
|
let resolved = null;
|
|
@@ -2326,7 +2312,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
2326
2312
|
return meta;
|
|
2327
2313
|
}
|
|
2328
2314
|
|
|
2329
|
-
// bazel-out/
|
|
2315
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
2330
2316
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
2331
2317
|
function compileNgFactoryDefField(metadata) {
|
|
2332
2318
|
const res = compileFactoryFunction(metadata);
|
|
@@ -2337,7 +2323,7 @@ function compileDeclareFactory(metadata) {
|
|
|
2337
2323
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
2338
2324
|
}
|
|
2339
2325
|
|
|
2340
|
-
// bazel-out/
|
|
2326
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
2341
2327
|
var InjectableClassRegistry = class {
|
|
2342
2328
|
constructor(host, isCore) {
|
|
2343
2329
|
this.host = host;
|
|
@@ -2363,7 +2349,7 @@ var InjectableClassRegistry = class {
|
|
|
2363
2349
|
}
|
|
2364
2350
|
};
|
|
2365
2351
|
|
|
2366
|
-
// bazel-out/
|
|
2352
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
2367
2353
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
2368
2354
|
import ts9 from "typescript";
|
|
2369
2355
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -2450,13 +2436,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
2450
2436
|
return result.transformed[0];
|
|
2451
2437
|
}
|
|
2452
2438
|
|
|
2453
|
-
// bazel-out/
|
|
2439
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
2454
2440
|
var NoopReferencesRegistry = class {
|
|
2455
2441
|
add(source, ...references) {
|
|
2456
2442
|
}
|
|
2457
2443
|
};
|
|
2458
2444
|
|
|
2459
|
-
// bazel-out/
|
|
2445
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
2460
2446
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
2461
2447
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
2462
2448
|
const schemas = [];
|
|
@@ -2486,11 +2472,11 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
2486
2472
|
return schemas;
|
|
2487
2473
|
}
|
|
2488
2474
|
|
|
2489
|
-
// bazel-out/
|
|
2475
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
2490
2476
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector as CssSelector2, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher2, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
2491
2477
|
import ts24 from "typescript";
|
|
2492
2478
|
|
|
2493
|
-
// bazel-out/
|
|
2479
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
2494
2480
|
import ts10 from "typescript";
|
|
2495
2481
|
var SemanticSymbol = class {
|
|
2496
2482
|
constructor(decl) {
|
|
@@ -2506,7 +2492,7 @@ function getSymbolIdentifier(decl) {
|
|
|
2506
2492
|
return decl.name.text;
|
|
2507
2493
|
}
|
|
2508
2494
|
|
|
2509
|
-
// bazel-out/
|
|
2495
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
2510
2496
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
2511
2497
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
2512
2498
|
isPublicApiAffected() {
|
|
@@ -2649,10 +2635,10 @@ function getImportPath(expr) {
|
|
|
2649
2635
|
}
|
|
2650
2636
|
}
|
|
2651
2637
|
|
|
2652
|
-
// bazel-out/
|
|
2638
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2653
2639
|
import ts11 from "typescript";
|
|
2654
2640
|
|
|
2655
|
-
// bazel-out/
|
|
2641
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
2656
2642
|
function isSymbolEqual(a, b) {
|
|
2657
2643
|
if (a.decl === b.decl) {
|
|
2658
2644
|
return true;
|
|
@@ -2702,7 +2688,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
2702
2688
|
return true;
|
|
2703
2689
|
}
|
|
2704
2690
|
|
|
2705
|
-
// bazel-out/
|
|
2691
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2706
2692
|
function extractSemanticTypeParameters(node) {
|
|
2707
2693
|
if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
2708
2694
|
return null;
|
|
@@ -2722,14 +2708,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
2722
2708
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
2723
2709
|
}
|
|
2724
2710
|
|
|
2725
|
-
// bazel-out/
|
|
2711
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
2726
2712
|
var ComponentScopeKind;
|
|
2727
2713
|
(function(ComponentScopeKind2) {
|
|
2728
2714
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
2729
2715
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
2730
2716
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
2731
2717
|
|
|
2732
|
-
// bazel-out/
|
|
2718
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
2733
2719
|
var CompoundComponentScopeReader = class {
|
|
2734
2720
|
constructor(readers) {
|
|
2735
2721
|
this.readers = readers;
|
|
@@ -2754,7 +2740,7 @@ var CompoundComponentScopeReader = class {
|
|
|
2754
2740
|
}
|
|
2755
2741
|
};
|
|
2756
2742
|
|
|
2757
|
-
// bazel-out/
|
|
2743
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
2758
2744
|
var MetadataDtsModuleScopeResolver = class {
|
|
2759
2745
|
constructor(dtsMetaReader, aliasingHost) {
|
|
2760
2746
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -2830,11 +2816,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
2830
2816
|
}
|
|
2831
2817
|
};
|
|
2832
2818
|
|
|
2833
|
-
// bazel-out/
|
|
2819
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2834
2820
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
2835
2821
|
import ts12 from "typescript";
|
|
2836
2822
|
|
|
2837
|
-
// bazel-out/
|
|
2823
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
2838
2824
|
function getDiagnosticNode(ref, rawExpr) {
|
|
2839
2825
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
2840
2826
|
}
|
|
@@ -2857,7 +2843,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
2857
2843
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
2858
2844
|
}
|
|
2859
2845
|
|
|
2860
|
-
// bazel-out/
|
|
2846
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2861
2847
|
var LocalModuleScopeRegistry = class {
|
|
2862
2848
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
2863
2849
|
this.localReader = localReader;
|
|
@@ -3196,7 +3182,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
3196
3182
|
]);
|
|
3197
3183
|
}
|
|
3198
3184
|
|
|
3199
|
-
// bazel-out/
|
|
3185
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
3200
3186
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
3201
3187
|
import ts13 from "typescript";
|
|
3202
3188
|
var TypeCheckScopeRegistry = class {
|
|
@@ -3265,7 +3251,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
3265
3251
|
}
|
|
3266
3252
|
};
|
|
3267
3253
|
|
|
3268
|
-
// bazel-out/
|
|
3254
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
3269
3255
|
var CompilationMode;
|
|
3270
3256
|
(function(CompilationMode2) {
|
|
3271
3257
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -3283,10 +3269,10 @@ var HandlerFlags;
|
|
|
3283
3269
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
3284
3270
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
3285
3271
|
|
|
3286
|
-
// bazel-out/
|
|
3272
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
3287
3273
|
import ts14 from "typescript";
|
|
3288
3274
|
function aliasTransformFactory(exportStatements) {
|
|
3289
|
-
return (
|
|
3275
|
+
return () => {
|
|
3290
3276
|
return (file) => {
|
|
3291
3277
|
if (ts14.isBundle(file) || !exportStatements.has(file.fileName)) {
|
|
3292
3278
|
return file;
|
|
@@ -3294,10 +3280,9 @@ function aliasTransformFactory(exportStatements) {
|
|
|
3294
3280
|
const statements = [...file.statements];
|
|
3295
3281
|
exportStatements.get(file.fileName).forEach(([moduleName, symbolName], aliasName) => {
|
|
3296
3282
|
const stmt = ts14.factory.createExportDeclaration(
|
|
3297
|
-
void 0,
|
|
3298
3283
|
void 0,
|
|
3299
3284
|
false,
|
|
3300
|
-
ts14.createNamedExports([ts14.factory.createExportSpecifier(false, symbolName, aliasName)]),
|
|
3285
|
+
ts14.factory.createNamedExports([ts14.factory.createExportSpecifier(false, symbolName, aliasName)]),
|
|
3301
3286
|
ts14.factory.createStringLiteral(moduleName)
|
|
3302
3287
|
);
|
|
3303
3288
|
statements.push(stmt);
|
|
@@ -3307,10 +3292,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
3307
3292
|
};
|
|
3308
3293
|
}
|
|
3309
3294
|
|
|
3310
|
-
// bazel-out/
|
|
3295
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3311
3296
|
import ts15 from "typescript";
|
|
3312
3297
|
|
|
3313
|
-
// bazel-out/
|
|
3298
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
3314
3299
|
var TraitState;
|
|
3315
3300
|
(function(TraitState2) {
|
|
3316
3301
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -3365,7 +3350,7 @@ var TraitImpl = class {
|
|
|
3365
3350
|
}
|
|
3366
3351
|
};
|
|
3367
3352
|
|
|
3368
|
-
// bazel-out/
|
|
3353
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3369
3354
|
var TraitCompiler = class {
|
|
3370
3355
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
3371
3356
|
this.handlers = handlers;
|
|
@@ -3809,10 +3794,10 @@ function containsErrors(diagnostics) {
|
|
|
3809
3794
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
|
|
3810
3795
|
}
|
|
3811
3796
|
|
|
3812
|
-
// bazel-out/
|
|
3797
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3813
3798
|
import ts17 from "typescript";
|
|
3814
3799
|
|
|
3815
|
-
// bazel-out/
|
|
3800
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
3816
3801
|
import ts16 from "typescript";
|
|
3817
3802
|
function addImports(importManager, sf, extraStatements = []) {
|
|
3818
3803
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -3848,7 +3833,7 @@ function isImportStatement(stmt) {
|
|
|
3848
3833
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3849
3834
|
}
|
|
3850
3835
|
|
|
3851
|
-
// bazel-out/
|
|
3836
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3852
3837
|
var DtsTransformRegistry = class {
|
|
3853
3838
|
constructor() {
|
|
3854
3839
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -3932,7 +3917,7 @@ var DtsTransformer = class {
|
|
|
3932
3917
|
}
|
|
3933
3918
|
}
|
|
3934
3919
|
if (elementsChanged && clazz === newClazz) {
|
|
3935
|
-
newClazz = updateClassDeclaration(
|
|
3920
|
+
newClazz = ts17.factory.updateClassDeclaration(
|
|
3936
3921
|
clazz,
|
|
3937
3922
|
clazz.modifiers,
|
|
3938
3923
|
clazz.name,
|
|
@@ -3970,7 +3955,7 @@ var IvyDeclarationDtsTransform = class {
|
|
|
3970
3955
|
const modifiers = [ts17.factory.createModifier(ts17.SyntaxKind.StaticKeyword)];
|
|
3971
3956
|
const typeRef = translateType(decl.type, imports);
|
|
3972
3957
|
markForEmitAsSingleLine(typeRef);
|
|
3973
|
-
return createPropertyDeclaration(
|
|
3958
|
+
return ts17.factory.createPropertyDeclaration(
|
|
3974
3959
|
modifiers,
|
|
3975
3960
|
decl.name,
|
|
3976
3961
|
void 0,
|
|
@@ -3978,7 +3963,7 @@ var IvyDeclarationDtsTransform = class {
|
|
|
3978
3963
|
void 0
|
|
3979
3964
|
);
|
|
3980
3965
|
});
|
|
3981
|
-
return updateClassDeclaration(
|
|
3966
|
+
return ts17.factory.updateClassDeclaration(
|
|
3982
3967
|
clazz,
|
|
3983
3968
|
clazz.modifiers,
|
|
3984
3969
|
clazz.name,
|
|
@@ -3993,11 +3978,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
3993
3978
|
ts17.forEachChild(node, markForEmitAsSingleLine);
|
|
3994
3979
|
}
|
|
3995
3980
|
|
|
3996
|
-
// bazel-out/
|
|
3981
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3997
3982
|
import { ConstantPool } from "@angular/compiler";
|
|
3998
3983
|
import ts19 from "typescript";
|
|
3999
3984
|
|
|
4000
|
-
// bazel-out/
|
|
3985
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
4001
3986
|
import ts18 from "typescript";
|
|
4002
3987
|
function visit(node, visitor, context) {
|
|
4003
3988
|
return visitor._visit(node, context);
|
|
@@ -4058,7 +4043,7 @@ var Visitor = class {
|
|
|
4058
4043
|
}
|
|
4059
4044
|
};
|
|
4060
4045
|
|
|
4061
|
-
// bazel-out/
|
|
4046
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
4062
4047
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
4063
4048
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
4064
4049
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -4107,7 +4092,7 @@ var IvyTransformationVisitor = class extends Visitor {
|
|
|
4107
4092
|
const members = [...node.members];
|
|
4108
4093
|
for (const field of this.classCompilationMap.get(node)) {
|
|
4109
4094
|
const exprNode = translateExpression(field.initializer, this.importManager, translateOptions);
|
|
4110
|
-
const property = createPropertyDeclaration([ts19.factory.createToken(ts19.SyntaxKind.StaticKeyword)], field.name, void 0, void 0, exprNode);
|
|
4095
|
+
const property = ts19.factory.createPropertyDeclaration([ts19.factory.createToken(ts19.SyntaxKind.StaticKeyword)], field.name, void 0, void 0, exprNode);
|
|
4111
4096
|
if (this.isClosureCompilerEnabled) {
|
|
4112
4097
|
ts19.addSyntheticLeadingComment(
|
|
4113
4098
|
property,
|
|
@@ -4119,10 +4104,15 @@ var IvyTransformationVisitor = class extends Visitor {
|
|
|
4119
4104
|
field.statements.map((stmt) => translateStatement(stmt, this.importManager, translateOptions)).forEach((stmt) => statements.push(stmt));
|
|
4120
4105
|
members.push(property);
|
|
4121
4106
|
}
|
|
4122
|
-
const filteredDecorators = maybeFilterDecorator(getDecorators(node), this.compilation.decoratorsFor(node));
|
|
4123
|
-
|
|
4107
|
+
const filteredDecorators = maybeFilterDecorator(ts19.getDecorators(node), this.compilation.decoratorsFor(node));
|
|
4108
|
+
const nodeModifiers = ts19.getModifiers(node);
|
|
4109
|
+
let updatedModifiers;
|
|
4110
|
+
if ((filteredDecorators == null ? void 0 : filteredDecorators.length) || (nodeModifiers == null ? void 0 : nodeModifiers.length)) {
|
|
4111
|
+
updatedModifiers = [...filteredDecorators || [], ...nodeModifiers || []];
|
|
4112
|
+
}
|
|
4113
|
+
node = ts19.factory.updateClassDeclaration(
|
|
4124
4114
|
node,
|
|
4125
|
-
|
|
4115
|
+
updatedModifiers,
|
|
4126
4116
|
node.name,
|
|
4127
4117
|
node.typeParameters,
|
|
4128
4118
|
node.heritageClauses || [],
|
|
@@ -4143,7 +4133,7 @@ var IvyTransformationVisitor = class extends Visitor {
|
|
|
4143
4133
|
}
|
|
4144
4134
|
}
|
|
4145
4135
|
_nonCoreDecoratorsOnly(node) {
|
|
4146
|
-
const decorators = getDecorators(node);
|
|
4136
|
+
const decorators = ts19.getDecorators(node);
|
|
4147
4137
|
if (decorators === void 0) {
|
|
4148
4138
|
return void 0;
|
|
4149
4139
|
}
|
|
@@ -4160,19 +4150,22 @@ var IvyTransformationVisitor = class extends Visitor {
|
|
|
4160
4150
|
return nodeArrayFromDecoratorsArray(filtered);
|
|
4161
4151
|
}
|
|
4162
4152
|
_stripAngularDecorators(node) {
|
|
4153
|
+
const modifiers = ts19.canHaveModifiers(node) ? ts19.getModifiers(node) : void 0;
|
|
4154
|
+
const nonCoreDecorators = ts19.canHaveDecorators(node) ? this._nonCoreDecoratorsOnly(node) : void 0;
|
|
4155
|
+
const combinedModifiers = [...nonCoreDecorators || [], ...modifiers || []];
|
|
4163
4156
|
if (ts19.isParameter(node)) {
|
|
4164
|
-
node = updateParameterDeclaration(node,
|
|
4165
|
-
} else if (ts19.isMethodDeclaration(node)
|
|
4166
|
-
node = updateMethodDeclaration(node,
|
|
4167
|
-
} else if (ts19.isPropertyDeclaration(node)
|
|
4168
|
-
node = updatePropertyDeclaration(node,
|
|
4157
|
+
node = ts19.factory.updateParameterDeclaration(node, combinedModifiers, node.dotDotDotToken, node.name, node.questionToken, node.type, node.initializer);
|
|
4158
|
+
} else if (ts19.isMethodDeclaration(node)) {
|
|
4159
|
+
node = ts19.factory.updateMethodDeclaration(node, combinedModifiers, node.asteriskToken, node.name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body);
|
|
4160
|
+
} else if (ts19.isPropertyDeclaration(node)) {
|
|
4161
|
+
node = ts19.factory.updatePropertyDeclaration(node, combinedModifiers, node.name, node.questionToken, node.type, node.initializer);
|
|
4169
4162
|
} else if (ts19.isGetAccessor(node)) {
|
|
4170
|
-
node = updateGetAccessorDeclaration(node,
|
|
4163
|
+
node = ts19.factory.updateGetAccessorDeclaration(node, combinedModifiers, node.name, node.parameters, node.type, node.body);
|
|
4171
4164
|
} else if (ts19.isSetAccessor(node)) {
|
|
4172
|
-
node = updateSetAccessorDeclaration(node,
|
|
4165
|
+
node = ts19.factory.updateSetAccessorDeclaration(node, combinedModifiers, node.name, node.parameters, node.body);
|
|
4173
4166
|
} else if (ts19.isConstructorDeclaration(node)) {
|
|
4174
4167
|
const parameters = node.parameters.map((param) => this._stripAngularDecorators(param));
|
|
4175
|
-
node = updateConstructorDeclaration(node,
|
|
4168
|
+
node = ts19.factory.updateConstructorDeclaration(node, modifiers, parameters, node.body);
|
|
4176
4169
|
}
|
|
4177
4170
|
return node;
|
|
4178
4171
|
}
|
|
@@ -4258,10 +4251,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
4258
4251
|
return array;
|
|
4259
4252
|
}
|
|
4260
4253
|
|
|
4261
|
-
// bazel-out/
|
|
4254
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4262
4255
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4263
4256
|
|
|
4264
|
-
// bazel-out/
|
|
4257
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4265
4258
|
import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
4266
4259
|
import ts20 from "typescript";
|
|
4267
4260
|
var EMPTY_OBJECT = {};
|
|
@@ -4678,7 +4671,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
|
|
|
4678
4671
|
};
|
|
4679
4672
|
}
|
|
4680
4673
|
|
|
4681
|
-
// bazel-out/
|
|
4674
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
4682
4675
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
4683
4676
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
4684
4677
|
super(decl);
|
|
@@ -4755,7 +4748,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
4755
4748
|
return isSymbolEqual(current, previous);
|
|
4756
4749
|
}
|
|
4757
4750
|
|
|
4758
|
-
// bazel-out/
|
|
4751
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4759
4752
|
var FIELD_DECORATORS = [
|
|
4760
4753
|
"Input",
|
|
4761
4754
|
"Output",
|
|
@@ -4914,11 +4907,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
4914
4907
|
}
|
|
4915
4908
|
};
|
|
4916
4909
|
|
|
4917
|
-
// bazel-out/
|
|
4910
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4918
4911
|
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr as FunctionExpr2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3SelectorScopeMode, ReturnStatement as ReturnStatement2, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
4919
4912
|
import ts22 from "typescript";
|
|
4920
4913
|
|
|
4921
|
-
// bazel-out/
|
|
4914
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
4922
4915
|
import ts21 from "typescript";
|
|
4923
4916
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
4924
4917
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -4985,7 +4978,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
4985
4978
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
4986
4979
|
}
|
|
4987
4980
|
|
|
4988
|
-
// bazel-out/
|
|
4981
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4989
4982
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
4990
4983
|
constructor() {
|
|
4991
4984
|
super(...arguments);
|
|
@@ -5489,7 +5482,7 @@ function isSyntheticReference(ref) {
|
|
|
5489
5482
|
return ref.synthetic;
|
|
5490
5483
|
}
|
|
5491
5484
|
|
|
5492
|
-
// bazel-out/
|
|
5485
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
5493
5486
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
5494
5487
|
const name = ref.debugName || "(unknown)";
|
|
5495
5488
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -5512,7 +5505,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
5512
5505
|
return null;
|
|
5513
5506
|
}
|
|
5514
5507
|
|
|
5515
|
-
// bazel-out/
|
|
5508
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
5516
5509
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
5517
5510
|
import ts23 from "typescript";
|
|
5518
5511
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -5825,7 +5818,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
5825
5818
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
5826
5819
|
}
|
|
5827
5820
|
|
|
5828
|
-
// bazel-out/
|
|
5821
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
5829
5822
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
5830
5823
|
constructor() {
|
|
5831
5824
|
super(...arguments);
|
|
@@ -5860,7 +5853,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
5860
5853
|
}
|
|
5861
5854
|
};
|
|
5862
5855
|
|
|
5863
|
-
// bazel-out/
|
|
5856
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
5864
5857
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
5865
5858
|
if (value instanceof Map) {
|
|
5866
5859
|
const name = value.get("name");
|
|
@@ -5936,7 +5929,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
5936
5929
|
return false;
|
|
5937
5930
|
}
|
|
5938
5931
|
|
|
5939
|
-
// bazel-out/
|
|
5932
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
5940
5933
|
var EMPTY_ARRAY2 = [];
|
|
5941
5934
|
var ComponentDecoratorHandler = class {
|
|
5942
5935
|
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
|
|
@@ -6580,7 +6573,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
|
|
|
6580
6573
|
return diagnostics;
|
|
6581
6574
|
}
|
|
6582
6575
|
|
|
6583
|
-
// bazel-out/
|
|
6576
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
6584
6577
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
6585
6578
|
import ts25 from "typescript";
|
|
6586
6579
|
var InjectableDecoratorHandler = class {
|
|
@@ -6797,7 +6790,7 @@ function getDep(dep, reflector) {
|
|
|
6797
6790
|
return meta;
|
|
6798
6791
|
}
|
|
6799
6792
|
|
|
6800
|
-
// bazel-out/
|
|
6793
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
6801
6794
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
6802
6795
|
import ts26 from "typescript";
|
|
6803
6796
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -6992,4 +6985,4 @@ export {
|
|
|
6992
6985
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6993
6986
|
* found in the LICENSE file at https://angular.io/license
|
|
6994
6987
|
*/
|
|
6995
|
-
//# sourceMappingURL=chunk-
|
|
6988
|
+
//# sourceMappingURL=chunk-DCKTQM63.js.map
|