@angular/core 20.0.0 → 20.1.0-next.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-B0vztftH.d.ts → api.d-Dwpmmn5j.d.ts} +2 -2
- package/{chrome_dev_tools_performance.d-DvzAxqBc.d.ts → chrome_dev_tools_performance.d-Dk_7kdX9.d.ts} +5 -1
- package/{discovery.d-DZNIp-Fw.d.ts → discovery.d-BAZTj_rM.d.ts} +9 -10
- package/event_dispatcher.d-BReQpZfC.d.ts +1 -1
- package/fesm2022/attribute-BWp59EjE.mjs +1 -1
- package/fesm2022/attribute-BWp59EjE.mjs.map +1 -1
- package/fesm2022/core.mjs +15 -14
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{debug_node-Dn-GvQJo.mjs → debug_node-CjNGi9N3.mjs} +1510 -1474
- package/fesm2022/debug_node-CjNGi9N3.mjs.map +1 -0
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/di.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +93 -2
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +4 -4
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/{resource-BPCh38bN.mjs → resource-1o9xbJml.mjs} +8 -6
- package/fesm2022/resource-1o9xbJml.mjs.map +1 -0
- package/fesm2022/{root_effect_scheduler-0BxwqIgm.mjs → root_effect_scheduler-Ds-Wmkv_.mjs} +33 -20
- package/fesm2022/root_effect_scheduler-Ds-Wmkv_.mjs.map +1 -0
- package/fesm2022/rxjs-interop.mjs +12 -7
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/{signal-ePSl6jXn.mjs → signal-BZ1SD--i.mjs} +8 -9
- package/fesm2022/{signal-ePSl6jXn.mjs.map → signal-BZ1SD--i.mjs.map} +1 -1
- package/fesm2022/testing.mjs +23 -33
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/{untracked-2ouAFbCz.mjs → untracked-C72kieeB.mjs} +3 -3
- package/fesm2022/{untracked-2ouAFbCz.mjs.map → untracked-C72kieeB.mjs.map} +1 -1
- package/fesm2022/weak_ref-BaIq-pgY.mjs +1 -1
- package/fesm2022/weak_ref-BaIq-pgY.mjs.map +1 -1
- package/graph.d-BcIOep_B.d.ts +1 -1
- package/index.d.ts +26 -18
- package/package.json +2 -2
- package/primitives/di/index.d.ts +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +3 -3
- package/rxjs-interop/index.d.ts +3 -3
- package/schematics/bundles/{apply_import_manager-Bqnvtho4.cjs → apply_import_manager-CSEu0fby.cjs} +3 -3
- package/schematics/bundles/{compiler-Dl11rH6-.cjs → checker-CuQvkMhs.cjs} +18876 -710
- package/schematics/bundles/cleanup-unused-imports.cjs +12 -9
- package/schematics/bundles/{change_tracker-DaCWdziV.cjs → compiler_host-Biezhzch.cjs} +121 -3
- package/schematics/bundles/control-flow-migration.cjs +46 -25
- package/schematics/bundles/document-core.cjs +5 -6
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/{index-DPvX-lSh.cjs → index-C5wL4qaq.cjs} +1486 -1071
- package/schematics/bundles/{index-CYxAVSJC.cjs → index-vkqofxID.cjs} +37 -37
- package/schematics/bundles/inject-flags.cjs +5 -6
- package/schematics/bundles/inject-migration.cjs +5 -7
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-DWUePVh6.cjs → migrate_ts_type_references-BYgEQg0O.cjs} +26 -78
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +7 -8
- package/schematics/bundles/{project_paths-BPBAn_A2.cjs → project_paths-KPCsvRfl.cjs} +3 -4
- package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.cjs +1 -1
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +5 -7
- package/schematics/bundles/self-closing-tags-migration.cjs +12 -25
- package/schematics/bundles/signal-input-migration.cjs +28 -13
- package/schematics/bundles/signal-queries-migration.cjs +13 -14
- package/schematics/bundles/signals.cjs +7 -8
- package/schematics/bundles/standalone-migration.cjs +9 -11
- package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
- package/schematics/bundles/test-bed-get.cjs +4 -5
- package/schematics/collection.json +6 -0
- package/schematics/migrations/control-flow-migration/schema.json +20 -0
- package/{signal.d-D6VJ67xi.d.ts → signal.d-fOdF0h0o.d.ts} +4 -3
- package/testing/index.d.ts +4 -4
- package/weak_ref.d-eGOEP9S1.d.ts +1 -1
- package/fesm2022/debug_node-Dn-GvQJo.mjs.map +0 -1
- package/fesm2022/resource-BPCh38bN.mjs.map +0 -1
- package/fesm2022/root_effect_scheduler-0BxwqIgm.mjs.map +0 -1
- package/schematics/bundles/checker-BHgMyU8j.cjs +0 -17996
- package/schematics/bundles/compiler_host-CAfDJO3W.cjs +0 -129
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"di.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-
|
|
1
|
+
{"version":3,"file":"di.mjs","sources":["../../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/packages/core/primitives/di/src/injector.ts","../../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/packages/core/primitives/di/src/not_found.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 {InjectionToken} from './injection_token';\nimport {NotFound} from './not_found';\n\nexport interface Injector {\n retrieve<T>(token: InjectionToken<T>, options?: unknown): T | NotFound;\n}\n\n/**\n * Current injector value used by `inject`.\n * - `undefined`: it is an error to call `inject`\n * - `null`: `inject` can be called but there is no injector (limp-mode).\n * - Injector instance: Use the injector for resolution.\n */\nlet _currentInjector: Injector | undefined | null = undefined;\n\nexport function getCurrentInjector(): Injector | undefined | null {\n return _currentInjector;\n}\n\nexport function setCurrentInjector(\n injector: Injector | null | undefined,\n): Injector | undefined | null {\n const former = _currentInjector;\n _currentInjector = injector;\n return former;\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\n/**\n * Value returned if the key-value pair couldn't be found in the context\n * hierarchy.\n */\nexport const NOT_FOUND: unique symbol = Symbol('NotFound');\n\n/**\n * Error thrown when the key-value pair couldn't be found in the context\n * hierarchy. Context can be attached below.\n */\nexport class NotFoundError extends Error {\n override readonly name: string = 'ɵNotFound';\n constructor(message: string) {\n super(message);\n }\n}\n\n/**\n * Type guard for checking if an unknown value is a NotFound.\n */\nexport function isNotFound(e: unknown): e is NotFound {\n return e === NOT_FOUND || (e as NotFoundError)?.name === 'ɵNotFound';\n}\n\n/**\n * Type union of NotFound and NotFoundError.\n */\nexport type NotFound = typeof NOT_FOUND | NotFoundError;\n"],"names":[],"mappings":";;;;;;AAeA;;;;;AAKG;AACH,IAAI,gBAAgB,GAAgC,SAAS;SAE7C,kBAAkB,GAAA;AAChC,IAAA,OAAO,gBAAgB;AACzB;AAEM,SAAU,kBAAkB,CAChC,QAAqC,EAAA;IAErC,MAAM,MAAM,GAAG,gBAAgB;IAC/B,gBAAgB,GAAG,QAAQ;AAC3B,IAAA,OAAO,MAAM;AACf;;ACzBA;;;AAGG;MACU,SAAS,GAAkB,MAAM,CAAC,UAAU;AAEzD;;;AAGG;AACG,MAAO,aAAc,SAAQ,KAAK,CAAA;IACpB,IAAI,GAAW,WAAW;AAC5C,IAAA,WAAA,CAAY,OAAe,EAAA;QACzB,KAAK,CAAC,OAAO,CAAC;;AAEjB;AAED;;AAEG;AACG,SAAU,UAAU,CAAC,CAAU,EAAA;IACnC,OAAO,CAAC,KAAK,SAAS,IAAK,CAAmB,EAAE,IAAI,KAAK,WAAW;AACtE;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0
|
|
2
|
+
* @license Angular v20.1.0-next.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -80,6 +80,16 @@ function setParsed(text, parsed) {
|
|
|
80
80
|
* event contract doesn't work around their peculiarities.
|
|
81
81
|
*/
|
|
82
82
|
const EventType = {
|
|
83
|
+
/**
|
|
84
|
+
* Mouse middle click, introduced in Chrome 55 and not yet supported on
|
|
85
|
+
* other browsers.
|
|
86
|
+
*/
|
|
87
|
+
AUXCLICK: 'auxclick',
|
|
88
|
+
/**
|
|
89
|
+
* The change event fired by browsers when the `value` attribute of input,
|
|
90
|
+
* select, and textarea elements are changed.
|
|
91
|
+
*/
|
|
92
|
+
CHANGE: 'change',
|
|
83
93
|
/**
|
|
84
94
|
* The click event. In addEvent() refers to all click events, in the
|
|
85
95
|
* jsaction attribute it refers to the unmodified click and Enter/Space
|
|
@@ -94,6 +104,12 @@ const EventType = {
|
|
|
94
104
|
* click event.
|
|
95
105
|
*/
|
|
96
106
|
CLICKMOD: 'clickmod',
|
|
107
|
+
/**
|
|
108
|
+
* Specifies the jsaction for a click-only event. Click-only doesn't take
|
|
109
|
+
* into account the case where an element with focus receives an Enter/Space
|
|
110
|
+
* keypress. This event isn't separately enabled in addEvent().
|
|
111
|
+
*/
|
|
112
|
+
CLICKONLY: 'clickonly',
|
|
97
113
|
/**
|
|
98
114
|
* The dblclick event.
|
|
99
115
|
*/
|
|
@@ -143,6 +159,18 @@ const EventType = {
|
|
|
143
159
|
* browsers.
|
|
144
160
|
*/
|
|
145
161
|
KEYUP: 'keyup',
|
|
162
|
+
/**
|
|
163
|
+
* The mouseup event. Can either be used directly or used implicitly to
|
|
164
|
+
* capture mouseup events. In addEvent(), it represents a regular DOM
|
|
165
|
+
* mouseup event.
|
|
166
|
+
*/
|
|
167
|
+
MOUSEUP: 'mouseup',
|
|
168
|
+
/**
|
|
169
|
+
* The mousedown event. Can either be used directly or used implicitly to
|
|
170
|
+
* capture mouseenter events. In addEvent(), it represents a regular DOM
|
|
171
|
+
* mouseover event.
|
|
172
|
+
*/
|
|
173
|
+
MOUSEDOWN: 'mousedown',
|
|
146
174
|
/**
|
|
147
175
|
* The mouseover event. Can either be used directly or used implicitly to
|
|
148
176
|
* capture mouseenter events. In addEvent(), it represents a regular DOM
|
|
@@ -165,6 +193,22 @@ const EventType = {
|
|
|
165
193
|
* element being entered within a DOM tree.
|
|
166
194
|
*/
|
|
167
195
|
MOUSELEAVE: 'mouseleave',
|
|
196
|
+
/**
|
|
197
|
+
* The mousemove event.
|
|
198
|
+
*/
|
|
199
|
+
MOUSEMOVE: 'mousemove',
|
|
200
|
+
/**
|
|
201
|
+
* The pointerup event. Can either be used directly or used implicitly to
|
|
202
|
+
* capture pointerup events. In addEvent(), it represents a regular DOM
|
|
203
|
+
* pointerup event.
|
|
204
|
+
*/
|
|
205
|
+
POINTERUP: 'pointerup',
|
|
206
|
+
/**
|
|
207
|
+
* The pointerdown event. Can either be used directly or used implicitly to
|
|
208
|
+
* capture pointerenter events. In addEvent(), it represents a regular DOM
|
|
209
|
+
* mouseover event.
|
|
210
|
+
*/
|
|
211
|
+
POINTERDOWN: 'pointerdown',
|
|
168
212
|
/**
|
|
169
213
|
* The pointerover event. Can either be used directly or used implicitly to
|
|
170
214
|
* capture pointerenter events. In addEvent(), it represents a regular DOM
|
|
@@ -187,6 +231,26 @@ const EventType = {
|
|
|
187
231
|
* element being entered within a DOM tree.
|
|
188
232
|
*/
|
|
189
233
|
POINTERLEAVE: 'pointerleave',
|
|
234
|
+
/**
|
|
235
|
+
* The pointermove event.
|
|
236
|
+
*/
|
|
237
|
+
POINTERMOVE: 'pointermove',
|
|
238
|
+
/**
|
|
239
|
+
* The pointercancel event.
|
|
240
|
+
*/
|
|
241
|
+
POINTERCANCEL: 'pointercancel',
|
|
242
|
+
/**
|
|
243
|
+
* The gotpointercapture event is fired when
|
|
244
|
+
* Element.setPointerCapture(pointerId) is called on a mouse input, or
|
|
245
|
+
* implicitly when a touch input begins.
|
|
246
|
+
*/
|
|
247
|
+
GOTPOINTERCAPTURE: 'gotpointercapture',
|
|
248
|
+
/**
|
|
249
|
+
* The lostpointercapture event is fired when
|
|
250
|
+
* Element.releasePointerCapture(pointerId) is called, or implicitly after a
|
|
251
|
+
* touch input ends.
|
|
252
|
+
*/
|
|
253
|
+
LOSTPOINTERCAPTURE: 'lostpointercapture',
|
|
190
254
|
/**
|
|
191
255
|
* The error event. The error event doesn't bubble, but you can use it in
|
|
192
256
|
* addEvent() and jsaction anyway. EventContract does the right thing under
|
|
@@ -199,6 +263,10 @@ const EventType = {
|
|
|
199
263
|
* under the hood.
|
|
200
264
|
*/
|
|
201
265
|
LOAD: 'load',
|
|
266
|
+
/**
|
|
267
|
+
* The unload event.
|
|
268
|
+
*/
|
|
269
|
+
UNLOAD: 'unload',
|
|
202
270
|
/**
|
|
203
271
|
* The touchstart event. Bubbles, will only ever fire in browsers with
|
|
204
272
|
* touch support.
|
|
@@ -214,12 +282,30 @@ const EventType = {
|
|
|
214
282
|
* touch support.
|
|
215
283
|
*/
|
|
216
284
|
TOUCHMOVE: 'touchmove',
|
|
285
|
+
/**
|
|
286
|
+
* The input event.
|
|
287
|
+
*/
|
|
288
|
+
INPUT: 'input',
|
|
289
|
+
/**
|
|
290
|
+
* The scroll event.
|
|
291
|
+
*/
|
|
292
|
+
SCROLL: 'scroll',
|
|
217
293
|
/**
|
|
218
294
|
* The toggle event. The toggle event doesn't bubble, but you can use it in
|
|
219
295
|
* addEvent() and jsaction anyway. EventContract does the right thing
|
|
220
296
|
* under the hood.
|
|
221
297
|
*/
|
|
222
|
-
TOGGLE: 'toggle'
|
|
298
|
+
TOGGLE: 'toggle',
|
|
299
|
+
/**
|
|
300
|
+
* A custom event. The actual custom event type is declared as the 'type'
|
|
301
|
+
* field in the event details. Supported in Firefox 6+, IE 9+, and all Chrome
|
|
302
|
+
* versions.
|
|
303
|
+
*
|
|
304
|
+
* This is an internal name. Users should use jsaction's fireCustomEvent to
|
|
305
|
+
* fire custom events instead of relying on this type to create them.
|
|
306
|
+
*/
|
|
307
|
+
CUSTOM: '_custom',
|
|
308
|
+
};
|
|
223
309
|
/** All event types that do not bubble or capture and need a polyfill. */
|
|
224
310
|
const MOUSE_SPECIAL_EVENT_TYPES = [
|
|
225
311
|
EventType.MOUSEENTER,
|
|
@@ -563,6 +649,11 @@ class EventContractContainer {
|
|
|
563
649
|
}
|
|
564
650
|
|
|
565
651
|
const Char = {
|
|
652
|
+
/**
|
|
653
|
+
* The separator between the namespace and the action name in the
|
|
654
|
+
* jsaction attribute value.
|
|
655
|
+
*/
|
|
656
|
+
NAMESPACE_ACTION_SEPARATOR: '.',
|
|
566
657
|
/**
|
|
567
658
|
* The separator between the event name and action in the jsaction
|
|
568
659
|
* attribute value.
|