@angular/core 16.0.0 → 16.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/esm2022/src/application_ref.mjs +60 -55
- package/esm2022/src/compiler/compiler_facade_interface.mjs +1 -1
- package/esm2022/src/di/injectable.mjs +2 -1
- package/esm2022/src/di/metadata.mjs +6 -5
- package/esm2022/src/di/metadata_attr.mjs +2 -1
- package/esm2022/src/errors.mjs +1 -1
- package/esm2022/src/hydration/annotate.mjs +1 -1
- package/esm2022/src/hydration/api.mjs +2 -2
- package/esm2022/src/hydration/skip_hydration.mjs +12 -1
- package/esm2022/src/hydration/utils.mjs +9 -3
- package/esm2022/src/linker/element_ref.mjs +1 -1
- package/esm2022/src/linker/template_ref.mjs +6 -3
- package/esm2022/src/linker/view_container_ref.mjs +16 -6
- package/esm2022/src/metadata/di.mjs +5 -4
- package/esm2022/src/metadata/directives.mjs +7 -7
- package/esm2022/src/metadata/ng_module.mjs +2 -1
- package/esm2022/src/render/api.mjs +1 -1
- package/esm2022/src/render3/component.mjs +4 -1
- package/esm2022/src/render3/component_ref.mjs +14 -3
- package/esm2022/src/render3/definition.mjs +9 -3
- package/esm2022/src/render3/di.mjs +2 -2
- package/esm2022/src/render3/hooks.mjs +3 -3
- package/esm2022/src/render3/instructions/change_detection.mjs +37 -53
- package/esm2022/src/render3/instructions/element_validation.mjs +2 -2
- package/esm2022/src/render3/instructions/shared.mjs +15 -4
- package/esm2022/src/render3/interfaces/definition.mjs +1 -1
- package/esm2022/src/render3/interfaces/document.mjs +6 -4
- package/esm2022/src/render3/interfaces/node.mjs +1 -1
- package/esm2022/src/render3/interfaces/public_definitions.mjs +1 -1
- package/esm2022/src/render3/interfaces/view.mjs +1 -1
- package/esm2022/src/render3/jit/directive.mjs +2 -1
- package/esm2022/src/render3/node_manipulation.mjs +7 -1
- package/esm2022/src/transfer_state.mjs +8 -7
- package/esm2022/src/util/assert.mjs +2 -5
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed.mjs +4 -4
- package/fesm2022/core.mjs +252 -192
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +179 -130
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +54 -35
- package/package.json +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/guard-and-resolve-interfaces/bundle.js +13 -13
- package/schematics/migrations/remove-module-id/bundle.js +14 -14
- package/schematics/ng-generate/standalone-migration/bundle.js +614 -411
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.0.0
|
|
2
|
+
* @license Angular v16.1.0-next.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -572,6 +572,7 @@ export declare interface Attribute {
|
|
|
572
572
|
/**
|
|
573
573
|
* Attribute decorator and metadata.
|
|
574
574
|
*
|
|
575
|
+
* @Annotation
|
|
575
576
|
* @publicApi
|
|
576
577
|
*/
|
|
577
578
|
export declare const Attribute: AttributeDecorator;
|
|
@@ -1061,7 +1062,7 @@ export declare interface Component extends Directive {
|
|
|
1061
1062
|
/**
|
|
1062
1063
|
* Component decorator and metadata.
|
|
1063
1064
|
*
|
|
1064
|
-
|
|
1065
|
+
* @Annotation
|
|
1065
1066
|
* @publicApi
|
|
1066
1067
|
*/
|
|
1067
1068
|
export declare const Component: ComponentDecorator;
|
|
@@ -1207,6 +1208,7 @@ export declare interface ComponentDecorator {
|
|
|
1207
1208
|
* To preserve sequences of whitespace characters, use the
|
|
1208
1209
|
* `ngPreserveWhitespaces` attribute.
|
|
1209
1210
|
*
|
|
1211
|
+
* @Annotation
|
|
1210
1212
|
*/
|
|
1211
1213
|
(obj: Component): TypeDecorator;
|
|
1212
1214
|
/**
|
|
@@ -1573,7 +1575,7 @@ export declare type ContentChild = Query;
|
|
|
1573
1575
|
* ContentChild decorator and metadata.
|
|
1574
1576
|
*
|
|
1575
1577
|
*
|
|
1576
|
-
|
|
1578
|
+
* @Annotation
|
|
1577
1579
|
*
|
|
1578
1580
|
* @publicApi
|
|
1579
1581
|
*/
|
|
@@ -1633,6 +1635,7 @@ export declare interface ContentChildDecorator {
|
|
|
1633
1635
|
*
|
|
1634
1636
|
* {@example core/di/ts/contentChild/content_child_example.ts region='Component'}
|
|
1635
1637
|
*
|
|
1638
|
+
* @Annotation
|
|
1636
1639
|
*/
|
|
1637
1640
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
1638
1641
|
descendants?: boolean;
|
|
@@ -1650,6 +1653,7 @@ export declare interface ContentChildDecorator {
|
|
|
1650
1653
|
* Type of the ContentChildren metadata.
|
|
1651
1654
|
*
|
|
1652
1655
|
*
|
|
1656
|
+
* @Annotation
|
|
1653
1657
|
* @publicApi
|
|
1654
1658
|
*/
|
|
1655
1659
|
export declare type ContentChildren = Query;
|
|
@@ -1658,6 +1662,7 @@ export declare type ContentChildren = Query;
|
|
|
1658
1662
|
* ContentChildren decorator and metadata.
|
|
1659
1663
|
*
|
|
1660
1664
|
*
|
|
1665
|
+
* @Annotation
|
|
1661
1666
|
* @publicApi
|
|
1662
1667
|
*/
|
|
1663
1668
|
export declare const ContentChildren: ContentChildrenDecorator;
|
|
@@ -1728,6 +1733,7 @@ export declare interface ContentChildrenDecorator {
|
|
|
1728
1733
|
*
|
|
1729
1734
|
* {@example core/di/ts/contentChildren/content_children_example.ts region='Component'}
|
|
1730
1735
|
*
|
|
1736
|
+
* @Annotation
|
|
1731
1737
|
*/
|
|
1732
1738
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
1733
1739
|
descendants?: boolean;
|
|
@@ -2363,6 +2369,7 @@ export declare abstract class DestroyRef {
|
|
|
2363
2369
|
/**
|
|
2364
2370
|
* Directive decorator and metadata.
|
|
2365
2371
|
*
|
|
2372
|
+
* @Annotation
|
|
2366
2373
|
* @publicApi
|
|
2367
2374
|
*/
|
|
2368
2375
|
export declare interface Directive {
|
|
@@ -2541,6 +2548,7 @@ export declare interface Directive {
|
|
|
2541
2548
|
* }
|
|
2542
2549
|
* ```
|
|
2543
2550
|
*
|
|
2551
|
+
* @Annotation
|
|
2544
2552
|
*/
|
|
2545
2553
|
queries?: {
|
|
2546
2554
|
[key: string]: any;
|
|
@@ -2690,6 +2698,7 @@ export declare interface DirectiveDecorator {
|
|
|
2690
2698
|
* accessible for components outside of the NgModule.
|
|
2691
2699
|
*
|
|
2692
2700
|
*
|
|
2701
|
+
* @Annotation
|
|
2693
2702
|
*/
|
|
2694
2703
|
(obj?: Directive): TypeDecorator;
|
|
2695
2704
|
/**
|
|
@@ -2844,6 +2853,10 @@ declare interface DirectiveDefinition<T> {
|
|
|
2844
2853
|
* Whether this directive/component is standalone.
|
|
2845
2854
|
*/
|
|
2846
2855
|
standalone?: boolean;
|
|
2856
|
+
/**
|
|
2857
|
+
* Whether this directive/component is signal-based.
|
|
2858
|
+
*/
|
|
2859
|
+
signals?: boolean;
|
|
2847
2860
|
}
|
|
2848
2861
|
|
|
2849
2862
|
declare type DirectiveDefList = (ɵDirectiveDef<any> | ɵComponentDef<any>)[];
|
|
@@ -2999,25 +3012,14 @@ declare interface ELEMENT_MARKER {
|
|
|
2999
3012
|
*/
|
|
3000
3013
|
export declare class ElementRef<T = any> {
|
|
3001
3014
|
/**
|
|
3002
|
-
* The underlying native element or `null` if direct access to native elements is not supported
|
|
3003
|
-
* (e.g. when the application runs in a web worker).
|
|
3004
|
-
*
|
|
3005
3015
|
* <div class="callout is-critical">
|
|
3006
3016
|
* <header>Use with caution</header>
|
|
3007
3017
|
* <p>
|
|
3008
3018
|
* Use this API as the last resort when direct access to DOM is needed. Use templating and
|
|
3009
3019
|
* data-binding provided by Angular instead. Alternatively you can take a look at {@link
|
|
3010
|
-
* Renderer2}
|
|
3011
|
-
* which provides API that can safely be used even when direct access to native elements is not
|
|
3012
|
-
* supported.
|
|
3013
|
-
* </p>
|
|
3014
|
-
* <p>
|
|
3015
|
-
* Relying on direct DOM access creates tight coupling between your application and rendering
|
|
3016
|
-
* layers which will make it impossible to separate the two and deploy your application into a
|
|
3017
|
-
* web worker.
|
|
3020
|
+
* Renderer2} which provides an API that can be safely used.
|
|
3018
3021
|
* </p>
|
|
3019
3022
|
* </div>
|
|
3020
|
-
*
|
|
3021
3023
|
*/
|
|
3022
3024
|
nativeElement: T;
|
|
3023
3025
|
constructor(nativeElement: T);
|
|
@@ -3546,7 +3548,7 @@ export declare interface Host {
|
|
|
3546
3548
|
/**
|
|
3547
3549
|
* Host decorator and metadata.
|
|
3548
3550
|
*
|
|
3549
|
-
|
|
3551
|
+
* @Annotation
|
|
3550
3552
|
* @publicApi
|
|
3551
3553
|
*/
|
|
3552
3554
|
export declare const Host: HostDecorator;
|
|
@@ -3564,7 +3566,7 @@ export declare interface HostBinding {
|
|
|
3564
3566
|
}
|
|
3565
3567
|
|
|
3566
3568
|
/**
|
|
3567
|
-
|
|
3569
|
+
* @Annotation
|
|
3568
3570
|
* @publicApi
|
|
3569
3571
|
*/
|
|
3570
3572
|
export declare const HostBinding: HostBindingDecorator;
|
|
@@ -3810,7 +3812,7 @@ export declare interface HostListener {
|
|
|
3810
3812
|
* The global target names that can be used to prefix an event name are
|
|
3811
3813
|
* `document:`, `window:` and `body:`.
|
|
3812
3814
|
*
|
|
3813
|
-
|
|
3815
|
+
* @Annotation
|
|
3814
3816
|
* @publicApi
|
|
3815
3817
|
*/
|
|
3816
3818
|
export declare const HostListener: HostListenerDecorator;
|
|
@@ -4171,6 +4173,7 @@ export declare interface Inject {
|
|
|
4171
4173
|
/**
|
|
4172
4174
|
* Inject decorator and metadata.
|
|
4173
4175
|
*
|
|
4176
|
+
* @Annotation
|
|
4174
4177
|
* @publicApi
|
|
4175
4178
|
*/
|
|
4176
4179
|
export declare const Inject: InjectDecorator;
|
|
@@ -4254,6 +4257,7 @@ export declare interface Injectable {
|
|
|
4254
4257
|
/**
|
|
4255
4258
|
* Injectable decorator and metadata.
|
|
4256
4259
|
*
|
|
4260
|
+
* @Annotation
|
|
4257
4261
|
* @publicApi
|
|
4258
4262
|
*/
|
|
4259
4263
|
export declare const Injectable: InjectableDecorator;
|
|
@@ -4600,7 +4604,7 @@ export declare interface Input {
|
|
|
4600
4604
|
}
|
|
4601
4605
|
|
|
4602
4606
|
/**
|
|
4603
|
-
|
|
4607
|
+
* @Annotation
|
|
4604
4608
|
* @publicApi
|
|
4605
4609
|
*/
|
|
4606
4610
|
export declare const Input: InputDecorator;
|
|
@@ -5468,15 +5472,17 @@ declare const enum LViewFlags {
|
|
|
5468
5472
|
RefreshView = 1024,
|
|
5469
5473
|
/** Indicates that the view **or any of its ancestors** have an embedded view injector. */
|
|
5470
5474
|
HasEmbeddedViewInjector = 2048,
|
|
5475
|
+
/** Indicates that the view was created with `signals: true`. */
|
|
5476
|
+
SignalView = 4096,
|
|
5471
5477
|
/**
|
|
5472
5478
|
* Index of the current init phase on last 21 bits
|
|
5473
5479
|
*/
|
|
5474
|
-
IndexWithinInitPhaseIncrementer =
|
|
5480
|
+
IndexWithinInitPhaseIncrementer = 8192,
|
|
5475
5481
|
/**
|
|
5476
5482
|
* This is the count of the bits the 1 was shifted above (base 10)
|
|
5477
5483
|
*/
|
|
5478
|
-
IndexWithinInitPhaseShift =
|
|
5479
|
-
IndexWithinInitPhaseReset =
|
|
5484
|
+
IndexWithinInitPhaseShift = 13,
|
|
5485
|
+
IndexWithinInitPhaseReset = 8191
|
|
5480
5486
|
}
|
|
5481
5487
|
|
|
5482
5488
|
/**
|
|
@@ -5760,6 +5766,7 @@ export declare interface NgModule {
|
|
|
5760
5766
|
}
|
|
5761
5767
|
|
|
5762
5768
|
/**
|
|
5769
|
+
* @Annotation
|
|
5763
5770
|
*/
|
|
5764
5771
|
export declare const NgModule: NgModuleDecorator;
|
|
5765
5772
|
|
|
@@ -6158,7 +6165,7 @@ export declare interface Optional {
|
|
|
6158
6165
|
/**
|
|
6159
6166
|
* Optional decorator and metadata.
|
|
6160
6167
|
*
|
|
6161
|
-
|
|
6168
|
+
* @Annotation
|
|
6162
6169
|
* @publicApi
|
|
6163
6170
|
*/
|
|
6164
6171
|
export declare const Optional: OptionalDecorator;
|
|
@@ -6203,7 +6210,7 @@ export declare interface Output {
|
|
|
6203
6210
|
}
|
|
6204
6211
|
|
|
6205
6212
|
/**
|
|
6206
|
-
|
|
6213
|
+
* @Annotation
|
|
6207
6214
|
* @publicApi
|
|
6208
6215
|
*/
|
|
6209
6216
|
export declare const Output: OutputDecorator;
|
|
@@ -6277,7 +6284,7 @@ export declare interface Pipe {
|
|
|
6277
6284
|
}
|
|
6278
6285
|
|
|
6279
6286
|
/**
|
|
6280
|
-
|
|
6287
|
+
* @Annotation
|
|
6281
6288
|
* @publicApi
|
|
6282
6289
|
*/
|
|
6283
6290
|
export declare const Pipe: PipeDecorator;
|
|
@@ -6813,6 +6820,7 @@ declare interface R3DeclareDirectiveFacade {
|
|
|
6813
6820
|
usesOnChanges?: boolean;
|
|
6814
6821
|
isStandalone?: boolean;
|
|
6815
6822
|
hostDirectives?: R3HostDirectiveMetadataFacade[] | null;
|
|
6823
|
+
isSignal?: boolean;
|
|
6816
6824
|
}
|
|
6817
6825
|
|
|
6818
6826
|
declare interface R3DeclareFactoryFacade {
|
|
@@ -7250,7 +7258,6 @@ export declare abstract class Renderer2 {
|
|
|
7250
7258
|
* in the host element's DOM.
|
|
7251
7259
|
* @param node The child node to query.
|
|
7252
7260
|
* @returns The parent node, or null if there is no parent.
|
|
7253
|
-
* For WebWorkers, always returns true.
|
|
7254
7261
|
* This is because the check is synchronous,
|
|
7255
7262
|
* and the caller can't rely on checking for null.
|
|
7256
7263
|
*/
|
|
@@ -7259,7 +7266,6 @@ export declare abstract class Renderer2 {
|
|
|
7259
7266
|
* Implement this callback to get the next sibling node of a given node
|
|
7260
7267
|
* in the host element's DOM.
|
|
7261
7268
|
* @returns The sibling node, or null if there is no sibling.
|
|
7262
|
-
* For WebWorkers, always returns a value.
|
|
7263
7269
|
* This is because the check is synchronous,
|
|
7264
7270
|
* and the caller can't rely on checking for null.
|
|
7265
7271
|
*/
|
|
@@ -7520,6 +7526,7 @@ declare const enum RuntimeErrorCode {
|
|
|
7520
7526
|
PROVIDER_IN_WRONG_CONTEXT = 207,
|
|
7521
7527
|
MISSING_INJECTION_TOKEN = 208,
|
|
7522
7528
|
INVALID_MULTI_PROVIDER = -209,
|
|
7529
|
+
MISSING_DOCUMENT = 210,
|
|
7523
7530
|
MULTIPLE_COMPONENTS_MATCH = -300,
|
|
7524
7531
|
EXPORT_NOT_FOUND = -301,
|
|
7525
7532
|
PIPE_NOT_FOUND = -302,
|
|
@@ -7639,7 +7646,7 @@ export declare interface Self {
|
|
|
7639
7646
|
/**
|
|
7640
7647
|
* Self decorator and metadata.
|
|
7641
7648
|
*
|
|
7642
|
-
|
|
7649
|
+
* @Annotation
|
|
7643
7650
|
* @publicApi
|
|
7644
7651
|
*/
|
|
7645
7652
|
export declare const Self: SelfDecorator;
|
|
@@ -7834,7 +7841,7 @@ export declare interface SkipSelf {
|
|
|
7834
7841
|
/**
|
|
7835
7842
|
* `SkipSelf` decorator and metadata.
|
|
7836
7843
|
*
|
|
7837
|
-
|
|
7844
|
+
* @Annotation
|
|
7838
7845
|
* @publicApi
|
|
7839
7846
|
*/
|
|
7840
7847
|
export declare const SkipSelf: SkipSelfDecorator;
|
|
@@ -8706,7 +8713,7 @@ declare const enum TNodeFlags {
|
|
|
8706
8713
|
hasClassInput = 8,
|
|
8707
8714
|
/** Bit #5 - This bit is set if the node has any "style" inputs */
|
|
8708
8715
|
hasStyleInput = 16,
|
|
8709
|
-
/** Bit #6 This bit is set if the node has been detached by i18n */
|
|
8716
|
+
/** Bit #6 - This bit is set if the node has been detached by i18n */
|
|
8710
8717
|
isDetached = 32,
|
|
8711
8718
|
/**
|
|
8712
8719
|
* Bit #7 - This bit is set if the node has directives with host bindings.
|
|
@@ -8714,7 +8721,11 @@ declare const enum TNodeFlags {
|
|
|
8714
8721
|
* This flags allows us to guard host-binding logic and invoke it only on nodes
|
|
8715
8722
|
* that actually have directives with host bindings.
|
|
8716
8723
|
*/
|
|
8717
|
-
hasHostBindings = 64
|
|
8724
|
+
hasHostBindings = 64,
|
|
8725
|
+
/**
|
|
8726
|
+
* Bit #8 - This bit is set if the node is a located inside skip hydration block.
|
|
8727
|
+
*/
|
|
8728
|
+
inSkipHydrationBlock = 128
|
|
8718
8729
|
}
|
|
8719
8730
|
|
|
8720
8731
|
/**
|
|
@@ -9658,7 +9669,7 @@ export declare type ViewChild = Query;
|
|
|
9658
9669
|
/**
|
|
9659
9670
|
* ViewChild decorator and metadata.
|
|
9660
9671
|
*
|
|
9661
|
-
|
|
9672
|
+
* @Annotation
|
|
9662
9673
|
* @publicApi
|
|
9663
9674
|
*/
|
|
9664
9675
|
export declare const ViewChild: ViewChildDecorator;
|
|
@@ -9713,6 +9724,7 @@ export declare interface ViewChildDecorator {
|
|
|
9713
9724
|
*
|
|
9714
9725
|
* {@example core/di/ts/viewChild/view_child_howto.ts region='HowTo'}
|
|
9715
9726
|
*
|
|
9727
|
+
* @Annotation
|
|
9716
9728
|
*/
|
|
9717
9729
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
9718
9730
|
read?: any;
|
|
@@ -9734,7 +9746,7 @@ export declare type ViewChildren = Query;
|
|
|
9734
9746
|
/**
|
|
9735
9747
|
* ViewChildren decorator and metadata.
|
|
9736
9748
|
*
|
|
9737
|
-
|
|
9749
|
+
* @Annotation
|
|
9738
9750
|
* @publicApi
|
|
9739
9751
|
*/
|
|
9740
9752
|
export declare const ViewChildren: ViewChildrenDecorator;
|
|
@@ -9796,6 +9808,7 @@ export declare interface ViewChildrenDecorator {
|
|
|
9796
9808
|
*
|
|
9797
9809
|
* {@example core/di/ts/viewChildren/view_children_example.ts region='Component'}
|
|
9798
9810
|
*
|
|
9811
|
+
* @Annotation
|
|
9799
9812
|
*/
|
|
9800
9813
|
(selector: ProviderToken<unknown> | Function | string, opts?: {
|
|
9801
9814
|
read?: any;
|
|
@@ -10433,6 +10446,8 @@ export declare interface ɵComponentDef<T> extends ɵDirectiveDef<T> {
|
|
|
10433
10446
|
};
|
|
10434
10447
|
/** Whether or not this component's ChangeDetectionStrategy is OnPush */
|
|
10435
10448
|
readonly onPush: boolean;
|
|
10449
|
+
/** Whether or not this component is signal-based. */
|
|
10450
|
+
readonly signals: boolean;
|
|
10436
10451
|
/**
|
|
10437
10452
|
* Registry of directives and components that may be found in this view.
|
|
10438
10453
|
*
|
|
@@ -10641,6 +10656,10 @@ export declare interface ɵDirectiveDef<T> {
|
|
|
10641
10656
|
* Whether this directive (or component) is standalone.
|
|
10642
10657
|
*/
|
|
10643
10658
|
readonly standalone: boolean;
|
|
10659
|
+
/**
|
|
10660
|
+
* Whether this directive (or component) uses the signals authoring experience.
|
|
10661
|
+
*/
|
|
10662
|
+
readonly signals: boolean;
|
|
10644
10663
|
/**
|
|
10645
10664
|
* Factory function used to create a new directive instance. Will be null initially.
|
|
10646
10665
|
* Populated when the factory is first requested by directive instantiation logic.
|
|
@@ -12452,7 +12471,7 @@ export declare type ɵɵComponentDeclaration<T, Selector extends String, ExportA
|
|
|
12452
12471
|
};
|
|
12453
12472
|
}, OutputMap extends {
|
|
12454
12473
|
[key: string]: string;
|
|
12455
|
-
}, QueryFields extends string[], NgContentSelectors extends string[], IsStandalone extends boolean = false, HostDirectives = never> = unknown;
|
|
12474
|
+
}, QueryFields extends string[], NgContentSelectors extends string[], IsStandalone extends boolean = false, HostDirectives = never, IsSignal extends boolean = false> = unknown;
|
|
12456
12475
|
|
|
12457
12476
|
/**
|
|
12458
12477
|
* Registers a QueryList, associated with a content query, for later refresh (part of a view
|
|
@@ -12630,7 +12649,7 @@ export declare type ɵɵDirectiveDeclaration<T, Selector extends string, ExportA
|
|
|
12630
12649
|
};
|
|
12631
12650
|
}, OutputMap extends {
|
|
12632
12651
|
[key: string]: string;
|
|
12633
|
-
}, QueryFields extends string[], NgContentSelectors extends never = never, IsStandalone extends boolean = false, HostDirectives = never> = unknown;
|
|
12652
|
+
}, QueryFields extends string[], NgContentSelectors extends never = never, IsStandalone extends boolean = false, HostDirectives = never, IsSignal extends boolean = false> = unknown;
|
|
12634
12653
|
|
|
12635
12654
|
/**
|
|
12636
12655
|
* Returns the value associated to the given token from the injectors.
|
package/package.json
CHANGED
package/rxjs-interop/index.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
60
60
|
});
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
// bazel-out/
|
|
63
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/index.mjs
|
|
64
64
|
var guard_and_resolve_interfaces_exports = {};
|
|
65
65
|
__export(guard_and_resolve_interfaces_exports, {
|
|
66
66
|
default: () => guard_and_resolve_interfaces_default
|
|
@@ -69,7 +69,7 @@ module.exports = __toCommonJS(guard_and_resolve_interfaces_exports);
|
|
|
69
69
|
var import_schematics = require("@angular-devkit/schematics");
|
|
70
70
|
var import_path3 = require("path");
|
|
71
71
|
|
|
72
|
-
// bazel-out/
|
|
72
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
73
73
|
var import_core = require("@angular-devkit/core");
|
|
74
74
|
function getProjectTsConfigPaths(tree) {
|
|
75
75
|
return __async(this, null, function* () {
|
|
@@ -149,11 +149,11 @@ function getWorkspace(tree) {
|
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
// bazel-out/
|
|
152
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
153
153
|
var import_path = require("path");
|
|
154
154
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
155
155
|
|
|
156
|
-
// bazel-out/
|
|
156
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
157
157
|
var path = __toESM(require("path"), 1);
|
|
158
158
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
159
159
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -170,7 +170,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
170
170
|
return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
// bazel-out/
|
|
173
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
174
174
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
175
175
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
176
176
|
return import_typescript2.default.createProgram(rootNames, options, host);
|
|
@@ -203,13 +203,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
203
203
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
// bazel-out/
|
|
206
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/util.mjs
|
|
207
207
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
208
208
|
|
|
209
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
210
210
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
211
211
|
|
|
212
|
-
// bazel-out/
|
|
212
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
213
213
|
var import_path2 = require("path");
|
|
214
214
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
215
215
|
var ImportManager = class {
|
|
@@ -393,7 +393,7 @@ ${text}`;
|
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
|
|
396
|
-
// bazel-out/
|
|
396
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
397
397
|
var ChangeTracker = class {
|
|
398
398
|
constructor(_printer, _importRemapper) {
|
|
399
399
|
__publicField(this, "_printer");
|
|
@@ -449,7 +449,7 @@ function normalizePath(path2) {
|
|
|
449
449
|
return path2.replace(/\\/g, "/");
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
// bazel-out/
|
|
452
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
453
453
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
454
454
|
function getImportOfIdentifier(typeChecker, node) {
|
|
455
455
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -521,7 +521,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
521
521
|
});
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
// bazel-out/
|
|
524
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
525
525
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
526
526
|
function closestNode(node, predicate) {
|
|
527
527
|
let current = node.parent;
|
|
@@ -534,7 +534,7 @@ function closestNode(node, predicate) {
|
|
|
534
534
|
return null;
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
-
// bazel-out/
|
|
537
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/util.mjs
|
|
538
538
|
var deprecatedInterfaces = /* @__PURE__ */ new Set(["CanLoad", "CanMatch", "CanActivate", "CanDeactivate", "CanActivateChild", "Resolve"]);
|
|
539
539
|
var routerModule = "@angular/router";
|
|
540
540
|
function migrateFile(sourceFile, typeChecker, rewriteFn) {
|
|
@@ -647,7 +647,7 @@ function visitTypeReference(typeReference, typeChecker, changeTracker, sourceFil
|
|
|
647
647
|
import_typescript7.default.forEachChild(typeReference, visitTypeReferenceChildren);
|
|
648
648
|
}
|
|
649
649
|
|
|
650
|
-
// bazel-out/
|
|
650
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/index.mjs
|
|
651
651
|
function guard_and_resolve_interfaces_default() {
|
|
652
652
|
return (tree) => __async(this, null, function* () {
|
|
653
653
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|
|
@@ -56,7 +56,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
56
56
|
});
|
|
57
57
|
};
|
|
58
58
|
|
|
59
|
-
// bazel-out/
|
|
59
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/remove-module-id/index.mjs
|
|
60
60
|
var remove_module_id_exports = {};
|
|
61
61
|
__export(remove_module_id_exports, {
|
|
62
62
|
default: () => remove_module_id_default
|
|
@@ -66,13 +66,13 @@ var import_schematics = require("@angular-devkit/schematics");
|
|
|
66
66
|
var import_path2 = require("path");
|
|
67
67
|
var import_typescript8 = __toESM(require("typescript"), 1);
|
|
68
68
|
|
|
69
|
-
// bazel-out/
|
|
69
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/extract_metadata.mjs
|
|
70
70
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
71
71
|
|
|
72
|
-
// bazel-out/
|
|
72
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
73
73
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
74
74
|
|
|
75
|
-
// bazel-out/
|
|
75
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
76
76
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
77
77
|
function getImportOfIdentifier(typeChecker, node) {
|
|
78
78
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -94,7 +94,7 @@ function getImportOfIdentifier(typeChecker, node) {
|
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
// bazel-out/
|
|
97
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
98
98
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
99
99
|
if (!import_typescript2.default.isCallExpression(decorator.expression) || !import_typescript2.default.isIdentifier(decorator.expression.expression)) {
|
|
100
100
|
return null;
|
|
@@ -103,7 +103,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
103
103
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
// bazel-out/
|
|
106
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
107
107
|
function getAngularDecorators(typeChecker, decorators) {
|
|
108
108
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
109
109
|
node,
|
|
@@ -113,7 +113,7 @@ function getAngularDecorators(typeChecker, decorators) {
|
|
|
113
113
|
}));
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
// bazel-out/
|
|
116
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/functions.mjs
|
|
117
117
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
118
118
|
function unwrapExpression(node) {
|
|
119
119
|
if (import_typescript3.default.isParenthesizedExpression(node) || import_typescript3.default.isAsExpression(node)) {
|
|
@@ -123,7 +123,7 @@ function unwrapExpression(node) {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
// bazel-out/
|
|
126
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/extract_metadata.mjs
|
|
127
127
|
function extractAngularClassMetadata(typeChecker, node) {
|
|
128
128
|
const decorators = import_typescript4.default.getDecorators(node);
|
|
129
129
|
if (!decorators || !decorators.length) {
|
|
@@ -150,7 +150,7 @@ function extractAngularClassMetadata(typeChecker, node) {
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
// bazel-out/
|
|
153
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
154
154
|
var import_core = require("@angular-devkit/core");
|
|
155
155
|
function getProjectTsConfigPaths(tree) {
|
|
156
156
|
return __async(this, null, function* () {
|
|
@@ -230,11 +230,11 @@ function getWorkspace(tree) {
|
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
// bazel-out/
|
|
233
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
234
234
|
var import_path = require("path");
|
|
235
235
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
236
236
|
|
|
237
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
238
238
|
var path = __toESM(require("path"), 1);
|
|
239
239
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
240
240
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -251,7 +251,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
251
251
|
return import_typescript5.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
// bazel-out/
|
|
254
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
255
255
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
256
256
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
257
257
|
return import_typescript6.default.createProgram(rootNames, options, host);
|
|
@@ -284,7 +284,7 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
284
284
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
// bazel-out/
|
|
287
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/property_name.mjs
|
|
288
288
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
289
289
|
function getPropertyNameText(node) {
|
|
290
290
|
if (import_typescript7.default.isIdentifier(node) || import_typescript7.default.isStringLiteralLike(node)) {
|
|
@@ -293,7 +293,7 @@ function getPropertyNameText(node) {
|
|
|
293
293
|
return null;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
// bazel-out/
|
|
296
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/remove-module-id/index.mjs
|
|
297
297
|
function remove_module_id_default() {
|
|
298
298
|
return (tree) => __async(this, null, function* () {
|
|
299
299
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|