@angular/core 20.3.9 → 20.3.11

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.
Files changed (71) hide show
  1. package/README.md +1 -2
  2. package/api.d.d.ts +1 -1
  3. package/chrome_dev_tools_performance.d.d.ts +1 -1
  4. package/discovery.d.d.ts +20 -7
  5. package/effect.d.d.ts +1 -1
  6. package/event_dispatcher.d.d.ts +1 -1
  7. package/fesm2022/attribute.mjs +1 -1
  8. package/fesm2022/attribute.mjs.map +1 -1
  9. package/fesm2022/core.mjs +1 -1
  10. package/fesm2022/core.mjs.map +1 -1
  11. package/fesm2022/debug_node.mjs +52 -17
  12. package/fesm2022/debug_node.mjs.map +1 -1
  13. package/fesm2022/effect.mjs +1 -1
  14. package/fesm2022/effect.mjs.map +1 -1
  15. package/fesm2022/not_found.mjs +1 -1
  16. package/fesm2022/not_found.mjs.map +1 -1
  17. package/fesm2022/primitives/di.mjs +1 -1
  18. package/fesm2022/primitives/di.mjs.map +1 -1
  19. package/fesm2022/primitives/event-dispatch.mjs +1 -1
  20. package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
  21. package/fesm2022/primitives/signals.mjs +1 -1
  22. package/fesm2022/primitives/signals.mjs.map +1 -1
  23. package/fesm2022/resource.mjs +1 -1
  24. package/fesm2022/resource.mjs.map +1 -1
  25. package/fesm2022/root_effect_scheduler.mjs +2 -2
  26. package/fesm2022/root_effect_scheduler.mjs.map +1 -1
  27. package/fesm2022/rxjs-interop.mjs +1 -1
  28. package/fesm2022/rxjs-interop.mjs.map +1 -1
  29. package/fesm2022/signal.mjs +1 -1
  30. package/fesm2022/signal.mjs.map +1 -1
  31. package/fesm2022/testing.mjs +1 -1
  32. package/fesm2022/testing.mjs.map +1 -1
  33. package/fesm2022/weak_ref.mjs +1 -1
  34. package/fesm2022/weak_ref.mjs.map +1 -1
  35. package/formatter.d.d.ts +2 -2
  36. package/index.d.ts +4 -4
  37. package/package.json +2 -2
  38. package/primitives/di/index.d.ts +1 -1
  39. package/primitives/event-dispatch/index.d.ts +1 -1
  40. package/primitives/signals/index.d.ts +6 -5
  41. package/rxjs-interop/index.d.ts +1 -1
  42. package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +5 -5
  43. package/schematics/bundles/{apply_import_manager-uyMcu5_H.cjs → apply_import_manager-CPOYeJ7t.cjs} +3 -3
  44. package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
  45. package/schematics/bundles/{compiler_host-BUlxIpWP.cjs → compiler_host-BGZcziuy.cjs} +2 -2
  46. package/schematics/bundles/control-flow-migration.cjs +4 -4
  47. package/schematics/bundles/document-core.cjs +5 -5
  48. package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
  49. package/schematics/bundles/{index-Cqmu1RX0.cjs → index-BXjkzENj.cjs} +12 -12
  50. package/schematics/bundles/{index-D_ZnW9ls.cjs → index-BmMfRg5d.cjs} +4 -4
  51. package/schematics/bundles/inject-flags.cjs +5 -5
  52. package/schematics/bundles/inject-migration.cjs +3 -3
  53. package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
  54. package/schematics/bundles/{migrate_ts_type_references-BhSLr3ZT.cjs → migrate_ts_type_references-7eTqUKA-.cjs} +5 -5
  55. package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
  56. package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
  57. package/schematics/bundles/output-migration.cjs +6 -6
  58. package/schematics/bundles/{project_paths-C69HW-da.cjs → project_paths-Dr30Du8j.cjs} +3 -3
  59. package/schematics/bundles/{project_tsconfig_paths-C1bhMy6X.cjs → project_tsconfig_paths-CaweCOep.cjs} +98 -48
  60. package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
  61. package/schematics/bundles/route-lazy-loading.cjs +3 -3
  62. package/schematics/bundles/router-current-navigation.cjs +4 -4
  63. package/schematics/bundles/self-closing-tags-migration.cjs +4 -4
  64. package/schematics/bundles/signal-input-migration.cjs +7 -7
  65. package/schematics/bundles/signal-queries-migration.cjs +7 -7
  66. package/schematics/bundles/signals.cjs +7 -7
  67. package/schematics/bundles/standalone-migration.cjs +4 -4
  68. package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
  69. package/schematics/bundles/test-bed-get.cjs +4 -4
  70. package/testing/index.d.ts +1 -1
  71. package/weak_ref.d.d.ts +1 -1
package/README.md CHANGED
@@ -1,5 +1,4 @@
1
- Angular
2
- =======
1
+ # Angular
3
2
 
4
3
  The sources for this package are in the main [Angular](https://github.com/angular/angular) repo. Please file issues and pull requests against that repo.
5
4
 
package/api.d.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.3.9
2
+ * @license Angular v20.3.11
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.3.9
2
+ * @license Angular v20.3.11
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
package/discovery.d.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.3.9
2
+ * @license Angular v20.3.11
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -67,16 +67,29 @@ declare const MAX_ANIMATION_TIMEOUT: InjectionToken<number>;
67
67
  * @publicApi 20.2
68
68
  */
69
69
  type AnimationFunction = (event: AnimationCallbackEvent) => void;
70
- interface NodeAnimations {
71
- animateFns: Function[];
70
+ type RunEnterAnimationFn = VoidFunction;
71
+ type RunLeaveAnimationFn = () => {
72
+ promise: Promise<void>;
73
+ resolve: VoidFunction;
74
+ };
75
+ interface EnterNodeAnimations {
76
+ animateFns: RunEnterAnimationFn[];
77
+ resolvers?: VoidFunction[];
78
+ }
79
+ interface LeaveNodeAnimations {
80
+ animateFns: RunLeaveAnimationFn[];
72
81
  resolvers?: VoidFunction[];
73
82
  }
74
83
  interface AnimationLViewData {
75
- enter?: Map<number, NodeAnimations>;
76
- leave?: Map<number, NodeAnimations>;
84
+ enter?: Map<number, EnterNodeAnimations>;
85
+ leave?: Map<number, LeaveNodeAnimations>;
77
86
  running?: Promise<unknown>;
78
- skipLeaveAnimations?: boolean;
87
+ detachedLeaveAnimationFns?: VoidFunction[];
79
88
  }
89
+ /**
90
+ * Function that returns the class or class list binded to the animate instruction
91
+ */
92
+ type AnimationClassBindingFn = () => string | string[];
80
93
 
81
94
  declare const enum NotificationSource {
82
95
  MarkAncestorsForTraversal = 0,
@@ -7437,4 +7450,4 @@ interface DeferBlockDetails extends DehydratedDeferBlock {
7437
7450
  declare function getDeferBlocks(lView: LView, deferBlocks: DeferBlockDetails[]): void;
7438
7451
 
7439
7452
  export { ANIMATIONS_DISABLED, APP_BOOTSTRAP_LISTENER, AfterRenderManager, AnimationRendererType, ApplicationRef, AttributeMarker, COMPILER_OPTIONS, CONTAINER_HEADER_OFFSET, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionScheduler, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory, ComponentFactoryResolver, ComponentRef, DebugElement, DebugEventListener, DebugNode, DeferBlockBehavior, DeferBlockState, Directive, EffectScheduler, ElementRef, EmbeddedViewRef, EnvironmentInjector, EventEmitter, HostBinding, HostListener, INJECTOR_SCOPE, Input, InputFlags, MAX_ANIMATION_TIMEOUT, ModuleWithComponentFactories, NG_INJ_DEF, NG_PROV_DEF, NO_ERRORS_SCHEMA, NavigateEvent, Navigation, NavigationCurrentEntryChangeEvent, NavigationDestination, NavigationHistoryEntry, NavigationTransition, NgModule, NgModuleFactory, NgModuleRef, NgProbeToken, NgZone, NoopNgZone, NotificationSource, Output, Pipe, PlatformRef, QueryFlags, QueryList, R3Injector, RenderFlags, Renderer2, RendererFactory2, RendererStyleFlags2, Sanitizer, SecurityContext, TDeferDetailsFlags, TracingAction, TracingService, ViewEncapsulation, ViewRef, ZONELESS_ENABLED, asNativeElements, defineInjectable, effect, getDebugNode, getDeferBlocks, getInjectableDef, injectChangeDetectorRef, inputBinding, isBoundToModule, isInjectable, outputBinding, twoWayBinding, ɵɵdefineInjectable, ɵɵdefineInjector };
7440
- export type { AfterRenderRef, AnimationCallbackEvent, AnimationFunction, Binding, BootstrapOptions, ClassDebugInfo, CompilerOptions, ComponentDecorator, ComponentDef, ComponentDefFeature, ComponentTemplate, ComponentType, ContentQueriesFunction, CreateEffectOptions, CssSelectorList, DeferBlockConfig, DeferBlockDependencyInterceptor, DeferBlockDetails, DehydratedDeferBlock, DependencyResolverFn, DependencyTypeList, DirectiveDecorator, DirectiveDef, DirectiveDefFeature, DirectiveType, DirectiveWithBindings, EffectCleanupFn, EffectCleanupRegisterFn, EffectRef, GlobalTargetResolver, HostBindingDecorator, HostBindingsFunction, HostDirectiveConfig, HostListenerDecorator, InjectableType, InjectorType, InputDecorator, InputSignalNode, InputTransformFunction, InternalNgModuleRef, LContainer, LView, ListenerOptions, LocalRefExtractor, NavigationInterceptOptions, NavigationNavigateOptions, NavigationOptions, NavigationReloadOptions, NavigationResult, NavigationTypeString, NavigationUpdateCurrentEntryOptions, NgModuleDecorator, NgModuleScopeInfoFromDecorator, OpaqueViewState, OutputDecorator, PipeDecorator, PipeDef, PipeType, Predicate, ProjectionSlots, RElement, RNode, RawScopeInfoFromDecorator, RendererType2, SanitizerFn, SchemaMetadata, TAttributes, TConstantsOrFactory, TDeferBlockDetails, TNode, TView, TracingSnapshot, TrustedHTML, TrustedScript, TrustedScriptURL, TypeDecorator, TypeOrFactory, ViewQueriesFunction, ɵɵComponentDeclaration, ɵɵDirectiveDeclaration, ɵɵFactoryDeclaration, ɵɵInjectableDeclaration, ɵɵInjectorDeclaration, ɵɵInjectorDef, ɵɵNgModuleDeclaration, ɵɵPipeDeclaration };
7453
+ export type { AfterRenderRef, AnimationCallbackEvent, AnimationClassBindingFn, AnimationFunction, Binding, BootstrapOptions, ClassDebugInfo, CompilerOptions, ComponentDecorator, ComponentDef, ComponentDefFeature, ComponentTemplate, ComponentType, ContentQueriesFunction, CreateEffectOptions, CssSelectorList, DeferBlockConfig, DeferBlockDependencyInterceptor, DeferBlockDetails, DehydratedDeferBlock, DependencyResolverFn, DependencyTypeList, DirectiveDecorator, DirectiveDef, DirectiveDefFeature, DirectiveType, DirectiveWithBindings, EffectCleanupFn, EffectCleanupRegisterFn, EffectRef, GlobalTargetResolver, HostBindingDecorator, HostBindingsFunction, HostDirectiveConfig, HostListenerDecorator, InjectableType, InjectorType, InputDecorator, InputSignalNode, InputTransformFunction, InternalNgModuleRef, LContainer, LView, ListenerOptions, LocalRefExtractor, NavigationInterceptOptions, NavigationNavigateOptions, NavigationOptions, NavigationReloadOptions, NavigationResult, NavigationTypeString, NavigationUpdateCurrentEntryOptions, NgModuleDecorator, NgModuleScopeInfoFromDecorator, OpaqueViewState, OutputDecorator, PipeDecorator, PipeDef, PipeType, Predicate, ProjectionSlots, RElement, RNode, RawScopeInfoFromDecorator, RendererType2, SanitizerFn, SchemaMetadata, TAttributes, TConstantsOrFactory, TDeferBlockDetails, TNode, TView, TracingSnapshot, TrustedHTML, TrustedScript, TrustedScriptURL, TypeDecorator, TypeOrFactory, ViewQueriesFunction, ɵɵComponentDeclaration, ɵɵDirectiveDeclaration, ɵɵFactoryDeclaration, ɵɵInjectableDeclaration, ɵɵInjectorDeclaration, ɵɵInjectorDef, ɵɵNgModuleDeclaration, ɵɵPipeDeclaration };
package/effect.d.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.3.9
2
+ * @license Angular v20.3.11
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.3.9
2
+ * @license Angular v20.3.11
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.3.9
2
+ * @license Angular v20.3.11
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"attribute.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/packages/core/primitives/event-dispatch/src/attribute.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nexport const Attribute = {\n /**\n * The jsaction attribute defines a mapping of a DOM event to a\n * generic event (aka jsaction), to which the actual event handlers\n * that implement the behavior of the application are bound. The\n * value is a semicolon separated list of colon separated pairs of\n * an optional DOM event name and a jsaction name. If the optional\n * DOM event name is omitted, 'click' is assumed. The jsaction names\n * are dot separated pairs of a namespace and a simple jsaction\n * name.\n *\n * See grammar in README.md for expected syntax in the attribute value.\n */\n JSACTION: 'jsaction' as const,\n};\n"],"names":[],"mappings":";;;;;;AAQa,MAAA,SAAS,GAAG;AACvB;;;;;;;;;;;AAWG;AACH,IAAA,QAAQ,EAAE,UAAmB;;;;;"}
1
+ {"version":3,"file":"attribute.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/packages/core/primitives/event-dispatch/src/attribute.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nexport const Attribute = {\n /**\n * The jsaction attribute defines a mapping of a DOM event to a\n * generic event (aka jsaction), to which the actual event handlers\n * that implement the behavior of the application are bound. The\n * value is a semicolon separated list of colon separated pairs of\n * an optional DOM event name and a jsaction name. If the optional\n * DOM event name is omitted, 'click' is assumed. The jsaction names\n * are dot separated pairs of a namespace and a simple jsaction\n * name.\n *\n * See grammar in README.md for expected syntax in the attribute value.\n */\n JSACTION: 'jsaction' as const,\n};\n"],"names":[],"mappings":";;;;;;AAQa,MAAA,SAAS,GAAG;AACvB;;;;;;;;;;;AAWG;AACH,IAAA,QAAQ,EAAE,UAAmB;;;;;"}
package/fesm2022/core.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.3.9
2
+ * @license Angular v20.3.11
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */