@angular/core 20.0.0-next.9 → 20.0.0-rc.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/{api.d-B58KU5QT.d.ts → api.d-CRxC7NlU.d.ts} +4 -4
- package/{chrome_dev_tools_performance.d-qv7drdAl.d.ts → chrome_dev_tools_performance.d-B0FzTuRf.d.ts} +7 -1
- package/{discovery.d-BCmtv8-u.d.ts → discovery.d-CBxzK1ay.d.ts} +12 -2
- package/event_dispatcher.d-DlbccpYq.d.ts +1 -1
- package/fesm2022/attribute-BWp59EjE.mjs +1 -1
- package/fesm2022/core.mjs +31 -18
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{debug_node-sP8Ihhla.mjs → debug_node-3mmnD06K.mjs} +17 -17
- package/fesm2022/debug_node-3mmnD06K.mjs.map +1 -0
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +2 -2
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +7 -5
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/{resource-aJC_NNLX.mjs → resource-nrAenwIA.mjs} +7 -5
- package/fesm2022/resource-nrAenwIA.mjs.map +1 -0
- package/fesm2022/{root_effect_scheduler-C95A9imp.mjs → root_effect_scheduler-B_EWGyLU.mjs} +14 -9
- package/fesm2022/root_effect_scheduler-B_EWGyLU.mjs.map +1 -0
- package/fesm2022/rxjs-interop.mjs +10 -10
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/{signal-CVVPheSN.mjs → signal-ePSl6jXn.mjs} +3 -3
- package/fesm2022/{signal-CVVPheSN.mjs.map → signal-ePSl6jXn.mjs.map} +1 -1
- package/fesm2022/testing.mjs +32 -42
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/{untracked-BLZYODu2.mjs → untracked-2ouAFbCz.mjs} +4 -4
- package/fesm2022/untracked-2ouAFbCz.mjs.map +1 -0
- package/fesm2022/weak_ref-BaIq-pgY.mjs +1 -1
- package/graph.d-BcIOep_B.d.ts +1 -1
- package/index.d.ts +27 -30
- package/package.json +3 -3
- package/primitives/di/index.d.ts +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +10 -10
- package/schematics/bundles/{apply_import_manager-CxaTw_Wy.js → apply_import_manager-Coc7Hewu.js} +3 -3
- package/schematics/bundles/{change_tracker-CkPYZ_km.js → change_tracker-CDJPOAni.js} +3 -3
- package/schematics/bundles/{checker-Crz1jSZM.js → checker-BAl7CJ0l.js} +3 -3
- package/schematics/bundles/cleanup-unused-imports.js +6 -6
- package/schematics/bundles/{compiler-B4MK7BP9.js → compiler-BSv6JWRF.js} +11 -13
- package/schematics/bundles/compiler_host-CAfDJO3W.js +1 -1
- package/schematics/bundles/control-flow-migration.js +2 -2
- package/schematics/bundles/document-core.js +6 -6
- package/schematics/bundles/imports-CIX-JgAN.js +1 -1
- package/schematics/bundles/{index-BbZ6cSR1.js → index-CnKffIJ6.js} +5 -5
- package/schematics/bundles/{index-Bk_3geTg.js → index-CxuDmkeg.js} +13 -13
- package/schematics/bundles/inject-flags.js +6 -6
- package/schematics/bundles/inject-migration.js +4 -4
- package/schematics/bundles/leading_space-D9nQ8UQC.js +1 -1
- package/schematics/bundles/{migrate_ts_type_references-D6T3FlkH.js → migrate_ts_type_references-DE1AlxIs.js} +6 -6
- package/schematics/bundles/ng_decorators-DznZ5jMl.js +1 -1
- package/schematics/bundles/nodes-B16H9JUd.js +1 -1
- package/schematics/bundles/output-migration.js +7 -7
- package/schematics/bundles/{project_paths-CQ4-VKlW.js → project_paths-Bl-H7Vlb.js} +4 -4
- package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.js +1 -1
- package/schematics/bundles/property_name-BBwFuqMe.js +1 -1
- package/schematics/bundles/route-lazy-loading.js +4 -4
- package/schematics/bundles/self-closing-tags-migration.js +5 -5
- package/schematics/bundles/signal-input-migration.js +8 -8
- package/schematics/bundles/signal-queries-migration.js +8 -8
- package/schematics/bundles/signals.js +8 -8
- package/schematics/bundles/standalone-migration.js +5 -5
- package/schematics/bundles/symbol-VPWguRxr.js +1 -1
- package/schematics/bundles/test-bed-get.js +5 -5
- package/signal.d-D6VJ67xi.d.ts +1 -1
- package/testing/index.d.ts +7 -16
- package/weak_ref.d-eGOEP9S1.d.ts +1 -1
- package/fesm2022/debug_node-sP8Ihhla.mjs.map +0 -1
- package/fesm2022/resource-aJC_NNLX.mjs.map +0 -1
- package/fesm2022/root_effect_scheduler-C95A9imp.mjs.map +0 -1
- package/fesm2022/untracked-BLZYODu2.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-
|
|
2
|
+
* @license Angular v20.0.0-rc.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { SIGNAL, producerUpdateValueVersion, signalSetFn, producerMarkClean, signalUpdateFn, producerAccessed, ERRORED, defaultEquals, UNSET, REACTIVE_NODE, COMPUTING, consumerBeforeComputation, consumerAfterComputation, runPostProducerCreatedFn, setActiveConsumer } from './signal-
|
|
7
|
+
import { SIGNAL, producerUpdateValueVersion, signalSetFn, producerMarkClean, signalUpdateFn, producerAccessed, ERRORED, defaultEquals, UNSET, REACTIVE_NODE, COMPUTING, consumerBeforeComputation, consumerAfterComputation, runPostProducerCreatedFn, setActiveConsumer } from './signal-ePSl6jXn.mjs';
|
|
8
8
|
|
|
9
9
|
function createLinkedSignal(sourceFn, computationFn, equalityFn) {
|
|
10
10
|
const node = Object.create(LINKED_SIGNAL_NODE);
|
|
@@ -61,7 +61,7 @@ const LINKED_SIGNAL_NODE = /* @__PURE__ */ (() => {
|
|
|
61
61
|
producerRecomputeValue(node) {
|
|
62
62
|
if (node.value === COMPUTING) {
|
|
63
63
|
// Our computation somehow led to a cyclic read of itself.
|
|
64
|
-
throw new Error('Detected cycle in computations.');
|
|
64
|
+
throw new Error(typeof ngDevMode !== 'undefined' && ngDevMode ? 'Detected cycle in computations.' : '');
|
|
65
65
|
}
|
|
66
66
|
const oldValue = node.value;
|
|
67
67
|
node.value = COMPUTING;
|
|
@@ -114,4 +114,4 @@ function untracked(nonReactiveReadsFn) {
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
export { createLinkedSignal, linkedSignalSetFn, linkedSignalUpdateFn, untracked };
|
|
117
|
-
//# sourceMappingURL=untracked-
|
|
117
|
+
//# sourceMappingURL=untracked-2ouAFbCz.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"untracked-2ouAFbCz.mjs","sources":["../../../../../../packages/core/primitives/signals/src/linked_signal.ts","../../../../../../packages/core/primitives/signals/src/untracked.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\nimport {COMPUTING, ERRORED, UNSET} from './computed';\nimport {defaultEquals, ValueEqualityFn} from './equality';\nimport {\n consumerAfterComputation,\n consumerBeforeComputation,\n producerAccessed,\n producerMarkClean,\n producerUpdateValueVersion,\n REACTIVE_NODE,\n ReactiveNode,\n runPostProducerCreatedFn,\n SIGNAL,\n} from './graph';\nimport {signalSetFn, signalUpdateFn} from './signal';\n\n// Required as the signals library is in a separate package, so we need to explicitly ensure the\n// global `ngDevMode` type is defined.\ndeclare const ngDevMode: boolean | undefined;\n\nexport type ComputationFn<S, D> = (source: S, previous?: {source: S; value: D}) => D;\n\nexport interface LinkedSignalNode<S, D> extends ReactiveNode {\n /**\n * Value of the source signal that was used to derive the computed value.\n */\n sourceValue: S;\n\n /**\n * Current state value, or one of the sentinel values (`UNSET`, `COMPUTING`,\n * `ERROR`).\n */\n value: D;\n\n /**\n * If `value` is `ERRORED`, the error caught from the last computation attempt which will\n * be re-thrown.\n */\n error: unknown;\n\n /**\n * The source function represents reactive dependency based on which the linked state is reset.\n */\n source: () => S;\n\n /**\n * The computation function which will produce a new value based on the source and, optionally - previous values.\n */\n computation: ComputationFn<S, D>;\n\n equal: ValueEqualityFn<D>;\n}\n\nexport type LinkedSignalGetter<S, D> = (() => D) & {\n [SIGNAL]: LinkedSignalNode<S, D>;\n};\n\nexport function createLinkedSignal<S, D>(\n sourceFn: () => S,\n computationFn: ComputationFn<S, D>,\n equalityFn?: ValueEqualityFn<D>,\n): LinkedSignalGetter<S, D> {\n const node: LinkedSignalNode<S, D> = Object.create(LINKED_SIGNAL_NODE);\n\n node.source = sourceFn;\n node.computation = computationFn;\n if (equalityFn != undefined) {\n node.equal = equalityFn;\n }\n\n const linkedSignalGetter = () => {\n // Check if the value needs updating before returning it.\n producerUpdateValueVersion(node);\n\n // Record that someone looked at this signal.\n producerAccessed(node);\n\n if (node.value === ERRORED) {\n throw node.error;\n }\n\n return node.value;\n };\n\n const getter = linkedSignalGetter as LinkedSignalGetter<S, D>;\n getter[SIGNAL] = node;\n if (typeof ngDevMode !== 'undefined' && ngDevMode) {\n const debugName = node.debugName ? ' (' + node.debugName + ')' : '';\n getter.toString = () => `[LinkedSignal${debugName}: ${node.value}]`;\n }\n\n runPostProducerCreatedFn(node);\n\n return getter;\n}\n\nexport function linkedSignalSetFn<S, D>(node: LinkedSignalNode<S, D>, newValue: D) {\n producerUpdateValueVersion(node);\n signalSetFn(node, newValue);\n producerMarkClean(node);\n}\n\nexport function linkedSignalUpdateFn<S, D>(\n node: LinkedSignalNode<S, D>,\n updater: (value: D) => D,\n): void {\n producerUpdateValueVersion(node);\n signalUpdateFn(node, updater);\n producerMarkClean(node);\n}\n\n// Note: Using an IIFE here to ensure that the spread assignment is not considered\n// a side-effect, ending up preserving `LINKED_SIGNAL_NODE` and `REACTIVE_NODE`.\n// TODO: remove when https://github.com/evanw/esbuild/issues/3392 is resolved.\nexport const LINKED_SIGNAL_NODE = /* @__PURE__ */ (() => {\n return {\n ...REACTIVE_NODE,\n value: UNSET,\n dirty: true,\n error: null,\n equal: defaultEquals,\n kind: 'linkedSignal',\n\n producerMustRecompute(node: LinkedSignalNode<unknown, unknown>): boolean {\n // Force a recomputation if there's no current value, or if the current value is in the\n // process of being calculated (which should throw an error).\n return node.value === UNSET || node.value === COMPUTING;\n },\n\n producerRecomputeValue(node: LinkedSignalNode<unknown, unknown>): void {\n if (node.value === COMPUTING) {\n // Our computation somehow led to a cyclic read of itself.\n throw new Error(\n typeof ngDevMode !== 'undefined' && ngDevMode ? 'Detected cycle in computations.' : '',\n );\n }\n\n const oldValue = node.value;\n node.value = COMPUTING;\n\n const prevConsumer = consumerBeforeComputation(node);\n let newValue: unknown;\n try {\n const newSourceValue = node.source();\n const prev =\n oldValue === UNSET || oldValue === ERRORED\n ? undefined\n : {\n source: node.sourceValue,\n value: oldValue,\n };\n newValue = node.computation(newSourceValue, prev);\n node.sourceValue = newSourceValue;\n } catch (err) {\n newValue = ERRORED;\n node.error = err;\n } finally {\n consumerAfterComputation(node, prevConsumer);\n }\n\n if (oldValue !== UNSET && newValue !== ERRORED && node.equal(oldValue, newValue)) {\n // No change to `valueVersion` - old and new values are\n // semantically equivalent.\n node.value = oldValue;\n return;\n }\n\n node.value = newValue;\n node.version++;\n },\n };\n})();\n","/**\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\nimport {setActiveConsumer} from './graph';\n\n/**\n * Execute an arbitrary function in a non-reactive (non-tracking) context. The executed function\n * can, optionally, return a value.\n */\nexport function untracked<T>(nonReactiveReadsFn: () => T): T {\n const prevConsumer = setActiveConsumer(null);\n // We are not trying to catch any particular errors here, just making sure that the consumers\n // stack is restored in case of errors.\n try {\n return nonReactiveReadsFn();\n } finally {\n setActiveConsumer(prevConsumer);\n }\n}\n"],"names":[],"mappings":";;;;;;;;SAgEgB,kBAAkB,CAChC,QAAiB,EACjB,aAAkC,EAClC,UAA+B,EAAA;IAE/B,MAAM,IAAI,GAA2B,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC;AAEtE,IAAA,IAAI,CAAC,MAAM,GAAG,QAAQ;AACtB,IAAA,IAAI,CAAC,WAAW,GAAG,aAAa;AAChC,IAAA,IAAI,UAAU,IAAI,SAAS,EAAE;AAC3B,QAAA,IAAI,CAAC,KAAK,GAAG,UAAU;;IAGzB,MAAM,kBAAkB,GAAG,MAAK;;QAE9B,0BAA0B,CAAC,IAAI,CAAC;;QAGhC,gBAAgB,CAAC,IAAI,CAAC;AAEtB,QAAA,IAAI,IAAI,CAAC,KAAK,KAAK,OAAO,EAAE;YAC1B,MAAM,IAAI,CAAC,KAAK;;QAGlB,OAAO,IAAI,CAAC,KAAK;AACnB,KAAC;IAED,MAAM,MAAM,GAAG,kBAA8C;AAC7D,IAAA,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI;AACrB,IAAA,IAAI,OAAO,SAAS,KAAK,WAAW,IAAI,SAAS,EAAE;AACjD,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC,SAAS,GAAG,GAAG,GAAG,EAAE;AACnE,QAAA,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAgB,aAAA,EAAA,SAAS,CAAK,EAAA,EAAA,IAAI,CAAC,KAAK,GAAG;;IAGrE,wBAAwB,CAAC,IAAI,CAAC;AAE9B,IAAA,OAAO,MAAM;AACf;AAEgB,SAAA,iBAAiB,CAAO,IAA4B,EAAE,QAAW,EAAA;IAC/E,0BAA0B,CAAC,IAAI,CAAC;AAChC,IAAA,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC;IAC3B,iBAAiB,CAAC,IAAI,CAAC;AACzB;AAEgB,SAAA,oBAAoB,CAClC,IAA4B,EAC5B,OAAwB,EAAA;IAExB,0BAA0B,CAAC,IAAI,CAAC;AAChC,IAAA,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,IAAI,CAAC;AACzB;AAEA;AACA;AACA;AACO,MAAM,kBAAkB,mBAAmB,CAAC,MAAK;IACtD,OAAO;AACL,QAAA,GAAG,aAAa;AAChB,QAAA,KAAK,EAAE,KAAK;AACZ,QAAA,KAAK,EAAE,IAAI;AACX,QAAA,KAAK,EAAE,IAAI;AACX,QAAA,KAAK,EAAE,aAAa;AACpB,QAAA,IAAI,EAAE,cAAc;AAEpB,QAAA,qBAAqB,CAAC,IAAwC,EAAA;;;YAG5D,OAAO,IAAI,CAAC,KAAK,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS;SACxD;AAED,QAAA,sBAAsB,CAAC,IAAwC,EAAA;AAC7D,YAAA,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE;;AAE5B,gBAAA,MAAM,IAAI,KAAK,CACb,OAAO,SAAS,KAAK,WAAW,IAAI,SAAS,GAAG,iCAAiC,GAAG,EAAE,CACvF;;AAGH,YAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK;AAC3B,YAAA,IAAI,CAAC,KAAK,GAAG,SAAS;AAEtB,YAAA,MAAM,YAAY,GAAG,yBAAyB,CAAC,IAAI,CAAC;AACpD,YAAA,IAAI,QAAiB;AACrB,YAAA,IAAI;AACF,gBAAA,MAAM,cAAc,GAAG,IAAI,CAAC,MAAM,EAAE;gBACpC,MAAM,IAAI,GACR,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK;AACjC,sBAAE;AACF,sBAAE;wBACE,MAAM,EAAE,IAAI,CAAC,WAAW;AACxB,wBAAA,KAAK,EAAE,QAAQ;qBAChB;gBACP,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE,IAAI,CAAC;AACjD,gBAAA,IAAI,CAAC,WAAW,GAAG,cAAc;;YACjC,OAAO,GAAG,EAAE;gBACZ,QAAQ,GAAG,OAAO;AAClB,gBAAA,IAAI,CAAC,KAAK,GAAG,GAAG;;oBACR;AACR,gBAAA,wBAAwB,CAAC,IAAI,EAAE,YAAY,CAAC;;AAG9C,YAAA,IAAI,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE;;;AAGhF,gBAAA,IAAI,CAAC,KAAK,GAAG,QAAQ;gBACrB;;AAGF,YAAA,IAAI,CAAC,KAAK,GAAG,QAAQ;YACrB,IAAI,CAAC,OAAO,EAAE;SACf;KACF;AACH,CAAC,GAAG;;ACxKJ;;;AAGG;AACG,SAAU,SAAS,CAAI,kBAA2B,EAAA;AACtD,IAAA,MAAM,YAAY,GAAG,iBAAiB,CAAC,IAAI,CAAC;;;AAG5C,IAAA,IAAI;QACF,OAAO,kBAAkB,EAAE;;YACnB;QACR,iBAAiB,CAAC,YAAY,CAAC;;AAEnC;;;;"}
|
package/graph.d-BcIOep_B.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-
|
|
2
|
+
* @license Angular v20.0.0-rc.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { SIGNAL, ValueEqualityFn as ValueEqualityFn$1 } from './graph.d-BcIOep_B.js';
|
|
8
|
-
import { Signal, WritableSignal, OutputRef, Type as Type$1, ModuleWithProviders, EnvironmentProviders, Provider, TypeProvider, ValueProvider, ClassProvider, ConstructorProvider, ExistingProvider, FactoryProvider, StaticClassProvider, InjectionToken, ProviderToken, StaticProvider, Injector, ValueSansProvider, ExistingSansProvider, StaticClassSansProvider, ConstructorSansProvider, FactorySansProvider, ClassSansProvider, InternalInjectFlags, InjectOptions, ValueEqualityFn, isSignal, enableProfiling as enableProfiling$1 } from './chrome_dev_tools_performance.d-
|
|
9
|
-
export { AbstractType, CreateSignalOptions, DestroyRef, DestroyableInjector, ImportedNgModuleProviders, OutputRefSubscription, signal, InternalEnvironmentProviders as ɵInternalEnvironmentProviders, JSACTION_EVENT_CONTRACT as ɵJSACTION_EVENT_CONTRACT, Writable as ɵWritable, isEnvironmentProviders as ɵisEnvironmentProviders, ɵunwrapWritableSignal } from './chrome_dev_tools_performance.d-
|
|
10
|
-
import { InputSignalNode, TypeDecorator, AfterRenderRef, EffectCleanupRegisterFn, SchemaMetadata, CssSelectorList, InputFlags, InputTransformFunction, DirectiveDefFeature, HostBindingsFunction, TAttributes, ContentQueriesFunction, ViewQueriesFunction, ComponentTemplate, TConstantsOrFactory, ComponentDefFeature, ViewEncapsulation as ViewEncapsulation$1, ChangeDetectionStrategy as ChangeDetectionStrategy$1, TypeOrFactory, DependencyTypeList, ComponentDef, DirectiveDef, EmbeddedViewRef, ChangeDetectorRef, LView, ApplicationRef, ComponentFactory as ComponentFactory$1, NgModuleRef as NgModuleRef$1, EnvironmentInjector, DirectiveWithBindings, Binding, ComponentRef as ComponentRef$1, ElementRef, ComponentFactoryResolver as ComponentFactoryResolver$1, NgModuleFactory as NgModuleFactory$1, InternalNgModuleRef, ViewRef as ViewRef$1, PlatformRef, NgZone, ChangeDetectionScheduler, NotificationSource, ɵɵFactoryDeclaration as __FactoryDeclaration, ɵɵInjectableDeclaration as __InjectableDeclaration, ɵɵNgModuleDeclaration as __NgModuleDeclaration, ɵɵInjectorDeclaration as __InjectorDeclaration, DeferBlockState, TNode, LContainer, DeferBlockDependencyInterceptor, DeferBlockConfig, TView, TDeferBlockDetails, RNode, Component, TrustedHTML, CompilerOptions, HostDirectiveConfig, ComponentType, NgModuleScopeInfoFromDecorator, DependencyResolverFn, TDeferDetailsFlags, SanitizerFn, LocalRefExtractor, OpaqueViewState, GlobalTargetResolver, ProjectionSlots, QueryFlags, QueryList, RElement, RawScopeInfoFromDecorator, ClassDebugInfo, Directive, NgModule, Pipe, TrustedScriptURL, TrustedScript, PipeType, DirectiveType } from './discovery.d-
|
|
11
|
-
export { APP_BOOTSTRAP_LISTENER, BootstrapOptions, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, Compiler, CompilerFactory, ComponentDecorator, CreateEffectOptions, DebugElement, DebugEventListener, DebugNode, DirectiveDecorator, EffectCleanupFn, EffectRef, EventEmitter, HostBinding, HostBindingDecorator, HostListener, HostListenerDecorator, InjectableType, InjectorType, Input, InputDecorator, ListenerOptions, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModuleDecorator, NgProbeToken, Output, OutputDecorator, PipeDecorator, Predicate, Renderer2, RendererFactory2, RendererStyleFlags2, RendererType2, Sanitizer, SecurityContext, asNativeElements, defineInjectable, effect, getDebugNode, inputBinding, outputBinding, twoWayBinding, AfterRenderManager as ɵAfterRenderManager, AnimationRendererType as ɵAnimationRendererType, AttributeMarker as ɵAttributeMarker, CONTAINER_HEADER_OFFSET as ɵCONTAINER_HEADER_OFFSET, DeferBlockBehavior as ɵDeferBlockBehavior, DeferBlockDetails as ɵDeferBlockDetails, EffectScheduler as ɵEffectScheduler, NG_INJ_DEF as ɵNG_INJ_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NavigateEvent as ɵNavigateEvent, Navigation as ɵNavigation, NavigationCurrentEntryChangeEvent as ɵNavigationCurrentEntryChangeEvent, NavigationDestination as ɵNavigationDestination, NavigationHistoryEntry as ɵNavigationHistoryEntry, NavigationInterceptOptions as ɵNavigationInterceptOptions, NavigationNavigateOptions as ɵNavigationNavigateOptions, NavigationOptions as ɵNavigationOptions, NavigationReloadOptions as ɵNavigationReloadOptions, NavigationResult as ɵNavigationResult, NavigationTransition as ɵNavigationTransition, NavigationTypeString as ɵNavigationTypeString, NavigationUpdateCurrentEntryOptions as ɵNavigationUpdateCurrentEntryOptions, NoopNgZone as ɵNoopNgZone, PipeDef as ɵPipeDef, RenderFlags as ɵRenderFlags, TracingAction as ɵTracingAction, TracingService as ɵTracingService, TracingSnapshot as ɵTracingSnapshot, ZONELESS_ENABLED as ɵZONELESS_ENABLED, getDebugNode as ɵgetDebugNode, getDeferBlocks as ɵgetDeferBlocks, getInjectableDef as ɵgetInjectableDef, injectChangeDetectorRef as ɵinjectChangeDetectorRef, isBoundToModule as ɵisBoundToModule, isInjectable as ɵisInjectable, ɵɵComponentDeclaration, ɵɵDirectiveDeclaration, ɵɵInjectorDef, ɵɵPipeDeclaration, ɵɵdefineInjectable, ɵɵdefineInjector } from './discovery.d-
|
|
12
|
-
import { WritableResource, ResourceStatus, ResourceRef, Resource, ResourceStreamingLoader, ResourceOptions } from './api.d-
|
|
13
|
-
export { BaseResourceOptions, OutputEmitterRef, OutputOptions, PromiseResourceOptions, ResourceLoader, ResourceLoaderParams, ResourceStreamItem, StreamingResourceOptions, output, getOutputDestroyRef as ɵgetOutputDestroyRef } from './api.d-
|
|
8
|
+
import { Signal, WritableSignal, OutputRef, Type as Type$1, ModuleWithProviders, EnvironmentProviders, Provider, TypeProvider, ValueProvider, ClassProvider, ConstructorProvider, ExistingProvider, FactoryProvider, StaticClassProvider, InjectionToken, ProviderToken, StaticProvider, Injector, ValueSansProvider, ExistingSansProvider, StaticClassSansProvider, ConstructorSansProvider, FactorySansProvider, ClassSansProvider, InternalInjectFlags, InjectOptions, ValueEqualityFn, isSignal, enableProfiling as enableProfiling$1 } from './chrome_dev_tools_performance.d-B0FzTuRf.js';
|
|
9
|
+
export { AbstractType, CreateSignalOptions, DestroyRef, DestroyableInjector, ImportedNgModuleProviders, OutputRefSubscription, signal, InternalEnvironmentProviders as ɵInternalEnvironmentProviders, JSACTION_EVENT_CONTRACT as ɵJSACTION_EVENT_CONTRACT, Writable as ɵWritable, isEnvironmentProviders as ɵisEnvironmentProviders, ɵunwrapWritableSignal } from './chrome_dev_tools_performance.d-B0FzTuRf.js';
|
|
10
|
+
import { InputSignalNode, TypeDecorator, AfterRenderRef, EffectCleanupRegisterFn, SchemaMetadata, CssSelectorList, InputFlags, InputTransformFunction, DirectiveDefFeature, HostBindingsFunction, TAttributes, ContentQueriesFunction, ViewQueriesFunction, ComponentTemplate, TConstantsOrFactory, ComponentDefFeature, ViewEncapsulation as ViewEncapsulation$1, ChangeDetectionStrategy as ChangeDetectionStrategy$1, TypeOrFactory, DependencyTypeList, ComponentDef, DirectiveDef, EmbeddedViewRef, ChangeDetectorRef, LView, ApplicationRef, ComponentFactory as ComponentFactory$1, NgModuleRef as NgModuleRef$1, EnvironmentInjector, DirectiveWithBindings, Binding, ComponentRef as ComponentRef$1, ElementRef, ComponentFactoryResolver as ComponentFactoryResolver$1, NgModuleFactory as NgModuleFactory$1, InternalNgModuleRef, ViewRef as ViewRef$1, PlatformRef, NgZone, ChangeDetectionScheduler, NotificationSource, ɵɵFactoryDeclaration as __FactoryDeclaration, ɵɵInjectableDeclaration as __InjectableDeclaration, ɵɵNgModuleDeclaration as __NgModuleDeclaration, ɵɵInjectorDeclaration as __InjectorDeclaration, DeferBlockState, TNode, LContainer, DeferBlockDependencyInterceptor, DeferBlockConfig, TView, TDeferBlockDetails, RNode, Component, TrustedHTML, CompilerOptions, HostDirectiveConfig, ComponentType, NgModuleScopeInfoFromDecorator, DependencyResolverFn, TDeferDetailsFlags, SanitizerFn, LocalRefExtractor, OpaqueViewState, GlobalTargetResolver, ProjectionSlots, QueryFlags, QueryList, RElement, RawScopeInfoFromDecorator, ClassDebugInfo, Directive, NgModule, Pipe, TrustedScriptURL, TrustedScript, PipeType, DirectiveType } from './discovery.d-CBxzK1ay.js';
|
|
11
|
+
export { APP_BOOTSTRAP_LISTENER, BootstrapOptions, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, Compiler, CompilerFactory, ComponentDecorator, CreateEffectOptions, DebugElement, DebugEventListener, DebugNode, DirectiveDecorator, EffectCleanupFn, EffectRef, EventEmitter, HostBinding, HostBindingDecorator, HostListener, HostListenerDecorator, InjectableType, InjectorType, Input, InputDecorator, ListenerOptions, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModuleDecorator, NgProbeToken, Output, OutputDecorator, PipeDecorator, Predicate, Renderer2, RendererFactory2, RendererStyleFlags2, RendererType2, Sanitizer, SecurityContext, asNativeElements, defineInjectable, effect, getDebugNode, inputBinding, outputBinding, twoWayBinding, AfterRenderManager as ɵAfterRenderManager, AnimationRendererType as ɵAnimationRendererType, AttributeMarker as ɵAttributeMarker, CONTAINER_HEADER_OFFSET as ɵCONTAINER_HEADER_OFFSET, DeferBlockBehavior as ɵDeferBlockBehavior, DeferBlockDetails as ɵDeferBlockDetails, EffectScheduler as ɵEffectScheduler, NG_INJ_DEF as ɵNG_INJ_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NavigateEvent as ɵNavigateEvent, Navigation as ɵNavigation, NavigationCurrentEntryChangeEvent as ɵNavigationCurrentEntryChangeEvent, NavigationDestination as ɵNavigationDestination, NavigationHistoryEntry as ɵNavigationHistoryEntry, NavigationInterceptOptions as ɵNavigationInterceptOptions, NavigationNavigateOptions as ɵNavigationNavigateOptions, NavigationOptions as ɵNavigationOptions, NavigationReloadOptions as ɵNavigationReloadOptions, NavigationResult as ɵNavigationResult, NavigationTransition as ɵNavigationTransition, NavigationTypeString as ɵNavigationTypeString, NavigationUpdateCurrentEntryOptions as ɵNavigationUpdateCurrentEntryOptions, NoopNgZone as ɵNoopNgZone, PipeDef as ɵPipeDef, RenderFlags as ɵRenderFlags, TracingAction as ɵTracingAction, TracingService as ɵTracingService, TracingSnapshot as ɵTracingSnapshot, ZONELESS_ENABLED as ɵZONELESS_ENABLED, getDebugNode as ɵgetDebugNode, getDeferBlocks as ɵgetDeferBlocks, getInjectableDef as ɵgetInjectableDef, injectChangeDetectorRef as ɵinjectChangeDetectorRef, isBoundToModule as ɵisBoundToModule, isInjectable as ɵisInjectable, ɵɵComponentDeclaration, ɵɵDirectiveDeclaration, ɵɵInjectorDef, ɵɵPipeDeclaration, ɵɵdefineInjectable, ɵɵdefineInjector } from './discovery.d-CBxzK1ay.js';
|
|
12
|
+
import { WritableResource, ResourceStatus, ResourceRef, Resource, ResourceStreamingLoader, ResourceOptions } from './api.d-CRxC7NlU.js';
|
|
13
|
+
export { BaseResourceOptions, OutputEmitterRef, OutputOptions, PromiseResourceOptions, ResourceLoader, ResourceLoaderParams, ResourceStreamItem, StreamingResourceOptions, output, getOutputDestroyRef as ɵgetOutputDestroyRef } from './api.d-CRxC7NlU.js';
|
|
14
14
|
import { Observable, Subscribable } from 'rxjs';
|
|
15
15
|
export { setAlternateWeakRefImpl as ɵsetAlternateWeakRefImpl } from './weak_ref.d-eGOEP9S1.js';
|
|
16
16
|
export { setCurrentInjector as ɵsetCurrentInjector } from './primitives/di/index.js';
|
|
@@ -44,7 +44,7 @@ interface InputOptions<T, TransformT> {
|
|
|
44
44
|
/**
|
|
45
45
|
* Signal input options without the transform option.
|
|
46
46
|
*
|
|
47
|
-
* @
|
|
47
|
+
* @publicApi 19.0
|
|
48
48
|
*/
|
|
49
49
|
type InputOptionsWithoutTransform<T> = Omit<InputOptions<T, T>, 'transform'> & {
|
|
50
50
|
transform?: undefined;
|
|
@@ -79,7 +79,7 @@ declare const ɵINPUT_SIGNAL_BRAND_WRITE_TYPE: unique symbol;
|
|
|
79
79
|
*
|
|
80
80
|
* @see {@link InputSignal} for additional information.
|
|
81
81
|
*
|
|
82
|
-
* @
|
|
82
|
+
* @publicApi 19.0
|
|
83
83
|
*/
|
|
84
84
|
interface InputSignalWithTransform<T, TransformT> extends Signal<T> {
|
|
85
85
|
[SIGNAL]: InputSignalNode<T, TransformT>;
|
|
@@ -95,7 +95,7 @@ interface InputSignalWithTransform<T, TransformT> extends Signal<T> {
|
|
|
95
95
|
*
|
|
96
96
|
* @see {@link InputOptionsWithTransform} for inputs with transforms.
|
|
97
97
|
*
|
|
98
|
-
* @
|
|
98
|
+
* @publicApi 19.0
|
|
99
99
|
*/
|
|
100
100
|
interface InputSignal<T> extends InputSignalWithTransform<T, T> {
|
|
101
101
|
}
|
|
@@ -316,7 +316,7 @@ interface ModelFunction {
|
|
|
316
316
|
* }
|
|
317
317
|
* ```
|
|
318
318
|
*
|
|
319
|
-
* @
|
|
319
|
+
* @publicApi 19.0
|
|
320
320
|
* @initializerApiFunction
|
|
321
321
|
*/
|
|
322
322
|
declare const model: ModelFunction;
|
|
@@ -422,7 +422,7 @@ declare const INJECTOR_SCOPE: InjectionToken<InjectorScope | null>;
|
|
|
422
422
|
* It is a special function that also provides access to required query results via the `.required`
|
|
423
423
|
* property.
|
|
424
424
|
*
|
|
425
|
-
* @
|
|
425
|
+
* @publicApi
|
|
426
426
|
* @docsPrivate Ignored because `viewChild` is the canonical API entry.
|
|
427
427
|
*/
|
|
428
428
|
interface ViewChildFunction {
|
|
@@ -473,7 +473,7 @@ interface ViewChildFunction {
|
|
|
473
473
|
* }
|
|
474
474
|
* ```
|
|
475
475
|
*
|
|
476
|
-
* @
|
|
476
|
+
* @publicApi 19.0
|
|
477
477
|
* @initializerApiFunction
|
|
478
478
|
*/
|
|
479
479
|
declare const viewChild: ViewChildFunction;
|
|
@@ -490,7 +490,7 @@ declare function viewChildren<LocatorT, ReadT>(locator: ProviderToken<LocatorT>
|
|
|
490
490
|
* The contentChild function creates a singular content query. It is a special function that also
|
|
491
491
|
* provides access to required query results via the `.required` property.
|
|
492
492
|
*
|
|
493
|
-
* @
|
|
493
|
+
* @publicApi 19.0
|
|
494
494
|
* @docsPrivate Ignored because `contentChild` is the canonical API entry.
|
|
495
495
|
*/
|
|
496
496
|
interface ContentChildFunction {
|
|
@@ -545,7 +545,7 @@ interface ContentChildFunction {
|
|
|
545
545
|
* ```
|
|
546
546
|
*
|
|
547
547
|
* @initializerApiFunction
|
|
548
|
-
* @
|
|
548
|
+
* @publicApi 19.0
|
|
549
549
|
*/
|
|
550
550
|
declare const contentChild: ContentChildFunction;
|
|
551
551
|
declare function contentChildren<LocatorT>(locator: ProviderToken<LocatorT> | string, opts?: {
|
|
@@ -2178,7 +2178,7 @@ declare function computed<T>(computation: () => T, options?: CreateComputedOptio
|
|
|
2178
2178
|
/**
|
|
2179
2179
|
* Creates a writable signal whose value is initialized and reset by the linked, reactive computation.
|
|
2180
2180
|
*
|
|
2181
|
-
* @publicApi
|
|
2181
|
+
* @publicApi 20.0
|
|
2182
2182
|
*/
|
|
2183
2183
|
declare function linkedSignal<D>(computation: () => D, options?: {
|
|
2184
2184
|
equal?: ValueEqualityFn<NoInfer<D>>;
|
|
@@ -2189,7 +2189,7 @@ declare function linkedSignal<D>(computation: () => D, options?: {
|
|
|
2189
2189
|
*
|
|
2190
2190
|
* Note: The computation is reactive, meaning the linked signal will automatically update whenever any of the signals used within the computation change.
|
|
2191
2191
|
*
|
|
2192
|
-
* @publicApi
|
|
2192
|
+
* @publicApi 20.0
|
|
2193
2193
|
*/
|
|
2194
2194
|
declare function linkedSignal<S, D>(options: {
|
|
2195
2195
|
source: () => S;
|
|
@@ -2214,7 +2214,7 @@ type ɵFirstAvailable<T extends unknown[]> = T extends [infer H, ...infer R] ? [
|
|
|
2214
2214
|
/**
|
|
2215
2215
|
* Options passed to `afterEveryRender` and `afterNextRender`.
|
|
2216
2216
|
*
|
|
2217
|
-
* @publicApi
|
|
2217
|
+
* @publicApi 20.0
|
|
2218
2218
|
*/
|
|
2219
2219
|
interface AfterRenderOptions {
|
|
2220
2220
|
/**
|
|
@@ -2503,7 +2503,7 @@ declare function afterNextRender<E = never, W = never, M = never>(spec: {
|
|
|
2503
2503
|
* }
|
|
2504
2504
|
* ```
|
|
2505
2505
|
*
|
|
2506
|
-
* @publicApi
|
|
2506
|
+
* @publicApi 20.0
|
|
2507
2507
|
*/
|
|
2508
2508
|
declare function afterNextRender(callback: VoidFunction, options?: AfterRenderOptions): AfterRenderRef;
|
|
2509
2509
|
|
|
@@ -3614,7 +3614,7 @@ declare abstract class ViewContainerRef {
|
|
|
3614
3614
|
*/
|
|
3615
3615
|
abstract createEmbeddedView<C>(templateRef: TemplateRef<C>, context?: C, index?: number): EmbeddedViewRef<C>;
|
|
3616
3616
|
/**
|
|
3617
|
-
* Instantiates a
|
|
3617
|
+
* Instantiates a component and inserts its host view into this view container.
|
|
3618
3618
|
*
|
|
3619
3619
|
* @param componentType Component Type to use.
|
|
3620
3620
|
* @param options An object that contains extra parameters:
|
|
@@ -3930,8 +3930,7 @@ declare class ChangeDetectionSchedulerImpl implements ChangeDetectionScheduler {
|
|
|
3930
3930
|
* in patch versions. There are known feature gaps and API ergonomic considerations. We will iterate
|
|
3931
3931
|
* on the exact API based on the feedback and our understanding of the problem and solution space.
|
|
3932
3932
|
*
|
|
3933
|
-
* @
|
|
3934
|
-
* @developerPreview
|
|
3933
|
+
* @developerPreview 20.0
|
|
3935
3934
|
* @see {@link /api/platform-browser/bootstrapApplication bootstrapApplication}
|
|
3936
3935
|
*/
|
|
3937
3936
|
declare function provideZonelessChangeDetection(): EnvironmentProviders;
|
|
@@ -3976,7 +3975,7 @@ declare class PendingTasksInternal implements OnDestroy {
|
|
|
3976
3975
|
* taskCleanup();
|
|
3977
3976
|
* ```
|
|
3978
3977
|
*
|
|
3979
|
-
* @publicApi
|
|
3978
|
+
* @publicApi 20.0
|
|
3980
3979
|
*/
|
|
3981
3980
|
declare class PendingTasks {
|
|
3982
3981
|
private readonly internalPendingTasks;
|
|
@@ -3998,7 +3997,7 @@ declare class PendingTasks {
|
|
|
3998
3997
|
* ```
|
|
3999
3998
|
*
|
|
4000
3999
|
* @param fn The asynchronous function to execute
|
|
4001
|
-
* @developerPreview
|
|
4000
|
+
* @developerPreview 19.0
|
|
4002
4001
|
*/
|
|
4003
4002
|
run(fn: () => Promise<unknown>): void;
|
|
4004
4003
|
/** @nocollapse */
|
|
@@ -4014,8 +4013,7 @@ declare class PendingTasks {
|
|
|
4014
4013
|
* When Angular checks views a second time to ensure nothing has changed, `OnPush` components
|
|
4015
4014
|
* will no longer be marked and not be checked.
|
|
4016
4015
|
*
|
|
4017
|
-
* @developerPreview
|
|
4018
|
-
* @publicApi
|
|
4016
|
+
* @developerPreview 20.0
|
|
4019
4017
|
*/
|
|
4020
4018
|
declare function provideCheckNoChangesConfig(options: {
|
|
4021
4019
|
exhaustive: false;
|
|
@@ -4030,8 +4028,7 @@ declare function provideCheckNoChangesConfig(options: {
|
|
|
4030
4028
|
* This is useful because the check that runs after regular change detection does not work for components using `ChangeDetectionStrategy.OnPush`.
|
|
4031
4029
|
* This check is will surface any existing errors hidden by `OnPush` components.
|
|
4032
4030
|
*
|
|
4033
|
-
* @developerPreview
|
|
4034
|
-
* @publicApi
|
|
4031
|
+
* @developerPreview 20.0
|
|
4035
4032
|
*/
|
|
4036
4033
|
declare function provideCheckNoChangesConfig(options: {
|
|
4037
4034
|
interval?: number;
|
|
@@ -5552,7 +5549,7 @@ declare function disableProfiling(): void;
|
|
|
5552
5549
|
* `resource` will cancel in-progress loads via the `AbortSignal` when destroyed or when a new
|
|
5553
5550
|
* request object becomes available, which could prematurely abort mutations.
|
|
5554
5551
|
*
|
|
5555
|
-
* @experimental
|
|
5552
|
+
* @experimental 19.0
|
|
5556
5553
|
*/
|
|
5557
5554
|
declare function resource<T, R>(options: ResourceOptions<T, R> & {
|
|
5558
5555
|
defaultValue: NoInfer<T>;
|
|
@@ -5565,7 +5562,7 @@ declare function resource<T, R>(options: ResourceOptions<T, R> & {
|
|
|
5565
5562
|
* `resource` will cancel in-progress loads via the `AbortSignal` when destroyed or when a new
|
|
5566
5563
|
* request object becomes available, which could prematurely abort mutations.
|
|
5567
5564
|
*
|
|
5568
|
-
* @experimental
|
|
5565
|
+
* @experimental 19.0
|
|
5569
5566
|
*/
|
|
5570
5567
|
declare function resource<T, R>(options: ResourceOptions<T, R>): ResourceRef<T | undefined>;
|
|
5571
5568
|
type WrappedRequest = {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/core",
|
|
3
|
-
"version": "20.0.0-
|
|
3
|
+
"version": "20.0.0-rc.0",
|
|
4
4
|
"description": "Angular - the core framework",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": "^20.11.1 ||
|
|
8
|
+
"node": "^20.11.1 || ^22.11.0 || >=24.0.0"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
11
|
"./schematics/*": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"tslib": "^2.3.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@angular/compiler": "20.0.0-
|
|
49
|
+
"@angular/compiler": "20.0.0-rc.0",
|
|
50
50
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
51
51
|
"zone.js": "~0.15.0"
|
|
52
52
|
},
|
package/primitives/di/index.d.ts
CHANGED
package/rxjs-interop/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-
|
|
2
|
+
* @license Angular v20.0.0-rc.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { OutputRef, DestroyRef, Signal, Injector } from '../chrome_dev_tools_performance.d-
|
|
8
|
-
import { OutputOptions, BaseResourceOptions, ResourceLoaderParams, ResourceRef } from '../api.d-
|
|
7
|
+
import { OutputRef, DestroyRef, Signal, Injector } from '../chrome_dev_tools_performance.d-B0FzTuRf.js';
|
|
8
|
+
import { OutputOptions, BaseResourceOptions, ResourceLoaderParams, ResourceRef } from '../api.d-CRxC7NlU.js';
|
|
9
9
|
import { Observable, MonoTypeOperatorFunction, Subscribable } from 'rxjs';
|
|
10
10
|
import { ValueEqualityFn } from '../graph.d-BcIOep_B.js';
|
|
11
11
|
import '../event_dispatcher.d-DlbccpYq.js';
|
|
@@ -32,7 +32,7 @@ import '../event_dispatcher.d-DlbccpYq.js';
|
|
|
32
32
|
* }
|
|
33
33
|
* ```
|
|
34
34
|
*
|
|
35
|
-
* @publicApi
|
|
35
|
+
* @publicApi 19.0
|
|
36
36
|
*/
|
|
37
37
|
declare function outputFromObservable<T>(observable: Observable<T>, opts?: OutputOptions): OutputRef<T>;
|
|
38
38
|
|
|
@@ -42,7 +42,7 @@ declare function outputFromObservable<T>(observable: Observable<T>, opts?: Outpu
|
|
|
42
42
|
*
|
|
43
43
|
* You can subscribe to the output via `Observable.subscribe` then.
|
|
44
44
|
*
|
|
45
|
-
* @publicApi
|
|
45
|
+
* @publicApi 19.0
|
|
46
46
|
*/
|
|
47
47
|
declare function outputToObservable<T>(ref: OutputRef<T>): Observable<T>;
|
|
48
48
|
|
|
@@ -54,14 +54,14 @@ declare function outputToObservable<T>(ref: OutputRef<T>): Observable<T>;
|
|
|
54
54
|
* passed explicitly to use `takeUntilDestroyed` outside of an [injection
|
|
55
55
|
* context](guide/di/dependency-injection-context). Otherwise, the current `DestroyRef` is injected.
|
|
56
56
|
*
|
|
57
|
-
* @publicApi
|
|
57
|
+
* @publicApi 19.0
|
|
58
58
|
*/
|
|
59
59
|
declare function takeUntilDestroyed<T>(destroyRef?: DestroyRef): MonoTypeOperatorFunction<T>;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* Options for `toObservable`.
|
|
63
63
|
*
|
|
64
|
-
* @publicApi
|
|
64
|
+
* @publicApi 20.0
|
|
65
65
|
*/
|
|
66
66
|
interface ToObservableOptions {
|
|
67
67
|
/**
|
|
@@ -79,14 +79,14 @@ interface ToObservableOptions {
|
|
|
79
79
|
*
|
|
80
80
|
* `toObservable` must be called in an injection context unless an injector is provided via options.
|
|
81
81
|
*
|
|
82
|
-
* @publicApi
|
|
82
|
+
* @publicApi 20.0
|
|
83
83
|
*/
|
|
84
84
|
declare function toObservable<T>(source: Signal<T>, options?: ToObservableOptions): Observable<T>;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* Options for `toSignal`.
|
|
88
88
|
*
|
|
89
|
-
* @publicApi
|
|
89
|
+
* @publicApi 20.0
|
|
90
90
|
*/
|
|
91
91
|
interface ToSignalOptions<T> {
|
|
92
92
|
/**
|
|
@@ -151,7 +151,7 @@ declare function toSignal<T, const U extends T>(source: Observable<T> | Subscrib
|
|
|
151
151
|
*
|
|
152
152
|
* @param injector The `Injector` to use during creation. If this is not provided, the current injection context will be used instead (via `inject`).
|
|
153
153
|
*
|
|
154
|
-
* @developerPreview
|
|
154
|
+
* @developerPreview 20.0
|
|
155
155
|
*/
|
|
156
156
|
declare function pendingUntilEvent<T>(injector?: Injector): MonoTypeOperatorFunction<T>;
|
|
157
157
|
|
package/schematics/bundles/{apply_import_manager-CxaTw_Wy.js → apply_import_manager-Coc7Hewu.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-
|
|
3
|
+
* @license Angular v20.0.0-rc.0
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
var checker = require('./checker-
|
|
12
|
-
var project_paths = require('./project_paths-
|
|
11
|
+
var checker = require('./checker-BAl7CJ0l.js');
|
|
12
|
+
var project_paths = require('./project_paths-Bl-H7Vlb.js');
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Applies import manager changes, and writes them as replacements the
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-
|
|
3
|
+
* @license Angular v20.0.0-rc.0
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
|
-
require('./compiler-
|
|
11
|
-
var checker = require('./checker-
|
|
10
|
+
require('./compiler-BSv6JWRF.js');
|
|
11
|
+
var checker = require('./checker-BAl7CJ0l.js');
|
|
12
12
|
require('os');
|
|
13
13
|
|
|
14
14
|
/** Tracks changes that have to be made for specific files. */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-
|
|
3
|
+
* @license Angular v20.0.0-rc.0
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var compiler = require('./compiler-
|
|
9
|
+
var compiler = require('./compiler-BSv6JWRF.js');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
12
|
var fs$1 = require('fs');
|
|
@@ -1000,7 +1000,7 @@ class NodeJSPathManipulation {
|
|
|
1000
1000
|
// G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
|
|
1001
1001
|
// CommonJS/ESM interop for determining the current file name and containing dir.
|
|
1002
1002
|
const isCommonJS = typeof __filename !== 'undefined';
|
|
1003
|
-
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('checker-
|
|
1003
|
+
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('checker-BAl7CJ0l.js', document.baseURI).href));
|
|
1004
1004
|
const currentFileName = isCommonJS ? __filename : url.fileURLToPath(currentFileUrl);
|
|
1005
1005
|
/**
|
|
1006
1006
|
* A wrapper around the Node.js file-system that supports readonly operations and path manipulation.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-
|
|
3
|
+
* @license Angular v20.0.0-rc.0
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
require('@angular-devkit/core');
|
|
10
10
|
require('node:path/posix');
|
|
11
|
-
var project_paths = require('./project_paths-
|
|
11
|
+
var project_paths = require('./project_paths-Bl-H7Vlb.js');
|
|
12
12
|
var ts = require('typescript');
|
|
13
13
|
require('os');
|
|
14
|
-
var checker = require('./checker-
|
|
15
|
-
require('./compiler-
|
|
16
|
-
var index = require('./index-
|
|
14
|
+
var checker = require('./checker-BAl7CJ0l.js');
|
|
15
|
+
require('./compiler-BSv6JWRF.js');
|
|
16
|
+
var index = require('./index-CxuDmkeg.js');
|
|
17
17
|
require('path');
|
|
18
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
18
|
+
var apply_import_manager = require('./apply_import_manager-Coc7Hewu.js');
|
|
19
19
|
require('@angular-devkit/schematics');
|
|
20
20
|
require('./project_tsconfig_paths-CDVxT6Ov.js');
|
|
21
21
|
require('fs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-
|
|
3
|
+
* @license Angular v20.0.0-rc.0
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -3065,28 +3065,26 @@ function stringify(token) {
|
|
|
3065
3065
|
return token;
|
|
3066
3066
|
}
|
|
3067
3067
|
if (Array.isArray(token)) {
|
|
3068
|
-
return
|
|
3068
|
+
return `[${token.map(stringify).join(', ')}]`;
|
|
3069
3069
|
}
|
|
3070
3070
|
if (token == null) {
|
|
3071
3071
|
return '' + token;
|
|
3072
3072
|
}
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
if (token.name) {
|
|
3077
|
-
return `${token.name}`;
|
|
3073
|
+
const name = token.overriddenName || token.name;
|
|
3074
|
+
if (name) {
|
|
3075
|
+
return `${name}`;
|
|
3078
3076
|
}
|
|
3079
3077
|
if (!token.toString) {
|
|
3080
3078
|
return 'object';
|
|
3081
3079
|
}
|
|
3082
3080
|
// WARNING: do not try to `JSON.stringify(token)` here
|
|
3083
3081
|
// see https://github.com/angular/angular/issues/23440
|
|
3084
|
-
const
|
|
3085
|
-
if (
|
|
3086
|
-
return '' +
|
|
3082
|
+
const result = token.toString();
|
|
3083
|
+
if (result == null) {
|
|
3084
|
+
return '' + result;
|
|
3087
3085
|
}
|
|
3088
|
-
const newLineIndex =
|
|
3089
|
-
return newLineIndex
|
|
3086
|
+
const newLineIndex = result.indexOf('\n');
|
|
3087
|
+
return newLineIndex >= 0 ? result.slice(0, newLineIndex) : result;
|
|
3090
3088
|
}
|
|
3091
3089
|
class Version {
|
|
3092
3090
|
full;
|
|
@@ -32366,7 +32364,7 @@ var FactoryTarget;
|
|
|
32366
32364
|
* @description
|
|
32367
32365
|
* Entry point for all public APIs of the compiler package.
|
|
32368
32366
|
*/
|
|
32369
|
-
new Version('20.0.0-
|
|
32367
|
+
new Version('20.0.0-rc.0');
|
|
32370
32368
|
|
|
32371
32369
|
//////////////////////////////////////
|
|
32372
32370
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-
|
|
3
|
+
* @license Angular v20.0.0-rc.0
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
10
|
var p = require('path');
|
|
11
11
|
var compiler_host = require('./compiler_host-CAfDJO3W.js');
|
|
12
|
-
var compiler = require('./compiler-
|
|
12
|
+
var compiler = require('./compiler-BSv6JWRF.js');
|
|
13
13
|
var ts = require('typescript');
|
|
14
14
|
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.js');
|
|
15
15
|
require('@angular-devkit/core');
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-
|
|
3
|
+
* @license Angular v20.0.0-rc.0
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
require('./compiler-
|
|
9
|
+
require('./compiler-BSv6JWRF.js');
|
|
10
10
|
require('typescript');
|
|
11
|
-
var checker = require('./checker-
|
|
11
|
+
var checker = require('./checker-BAl7CJ0l.js');
|
|
12
12
|
require('os');
|
|
13
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
14
|
-
require('./index-
|
|
13
|
+
var apply_import_manager = require('./apply_import_manager-Coc7Hewu.js');
|
|
14
|
+
require('./index-CxuDmkeg.js');
|
|
15
15
|
require('path');
|
|
16
|
-
var project_paths = require('./project_paths-
|
|
16
|
+
var project_paths = require('./project_paths-Bl-H7Vlb.js');
|
|
17
17
|
var imports = require('./imports-CIX-JgAN.js');
|
|
18
18
|
require('@angular-devkit/core');
|
|
19
19
|
require('node:path/posix');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.0.0-
|
|
3
|
+
* @license Angular v20.0.0-rc.0
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
var checker = require('./checker-
|
|
12
|
-
var compiler = require('./compiler-
|
|
13
|
-
var index = require('./index-
|
|
11
|
+
var checker = require('./checker-BAl7CJ0l.js');
|
|
12
|
+
var compiler = require('./compiler-BSv6JWRF.js');
|
|
13
|
+
var index = require('./index-CxuDmkeg.js');
|
|
14
14
|
require('path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
15
|
+
var project_paths = require('./project_paths-Bl-H7Vlb.js');
|
|
16
16
|
|
|
17
17
|
function getMemberName(member) {
|
|
18
18
|
if (member.name === undefined) {
|