@angular/common 16.0.0-next.3 → 16.0.0-next.5
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/{esm2020 → esm2022}/http/src/client.mjs +4 -4
- package/{esm2020 → esm2022}/http/src/interceptor.mjs +4 -4
- package/{esm2020 → esm2022}/http/src/jsonp.mjs +7 -7
- package/esm2022/http/src/module.mjs +133 -0
- package/esm2022/http/src/xhr.mjs +317 -0
- package/{esm2020 → esm2022}/http/src/xsrf.mjs +7 -7
- package/{esm2020 → esm2022}/http/testing/src/backend.mjs +4 -4
- package/{esm2020 → esm2022}/http/testing/src/module.mjs +7 -7
- package/{esm2020 → esm2022}/src/common_module.mjs +5 -5
- package/{esm2020 → esm2022}/src/directives/ng_class.mjs +4 -4
- package/{esm2020 → esm2022}/src/directives/ng_component_outlet.mjs +4 -4
- package/esm2022/src/directives/ng_for_of.mjs +292 -0
- package/{esm2020 → esm2022}/src/directives/ng_if.mjs +4 -4
- package/esm2022/src/directives/ng_optimized_image/image_loaders/imagekit_loader.mjs +49 -0
- package/{esm2020 → esm2022}/src/directives/ng_optimized_image/lcp_image_observer.mjs +4 -4
- package/{esm2020 → esm2022}/src/directives/ng_optimized_image/ng_optimized_image.mjs +4 -4
- package/{esm2020 → esm2022}/src/directives/ng_optimized_image/preconnect_link_checker.mjs +4 -4
- package/{esm2020 → esm2022}/src/directives/ng_optimized_image/preload-link-creator.mjs +4 -4
- package/{esm2020 → esm2022}/src/directives/ng_plural.mjs +7 -7
- package/{esm2020 → esm2022}/src/directives/ng_style.mjs +4 -4
- package/{esm2020 → esm2022}/src/directives/ng_switch.mjs +10 -10
- package/esm2022/src/directives/ng_template_outlet.mjs +89 -0
- package/{esm2020 → esm2022}/src/i18n/localization.mjs +7 -7
- package/{esm2020 → esm2022}/src/location/hash_location_strategy.mjs +4 -4
- package/{esm2020 → esm2022}/src/location/location.mjs +32 -32
- package/{esm2020 → esm2022}/src/location/location_strategy.mjs +7 -7
- package/{esm2020 → esm2022}/src/location/platform_location.mjs +7 -7
- package/{esm2020 → esm2022}/src/pipes/async_pipe.mjs +4 -4
- package/{esm2020 → esm2022}/src/pipes/case_conversion_pipes.mjs +10 -10
- package/{esm2020 → esm2022}/src/pipes/date_pipe.mjs +4 -4
- package/{esm2020 → esm2022}/src/pipes/i18n_plural_pipe.mjs +4 -4
- package/{esm2020 → esm2022}/src/pipes/i18n_select_pipe.mjs +4 -4
- package/{esm2020 → esm2022}/src/pipes/json_pipe.mjs +4 -4
- package/{esm2020 → esm2022}/src/pipes/keyvalue_pipe.mjs +4 -4
- package/{esm2020 → esm2022}/src/pipes/number_pipe.mjs +10 -10
- package/{esm2020 → esm2022}/src/pipes/slice_pipe.mjs +4 -4
- package/{esm2020 → esm2022}/src/version.mjs +1 -1
- package/esm2022/src/viewport_scroller.mjs +212 -0
- package/{esm2020 → esm2022}/testing/src/location_mock.mjs +4 -4
- package/esm2022/testing/src/mock_location_strategy.mjs +93 -0
- package/{esm2020 → esm2022}/testing/src/mock_platform_location.mjs +4 -4
- package/{esm2020 → esm2022}/upgrade/src/location_upgrade_module.mjs +5 -5
- package/{fesm2020 → fesm2022}/common.mjs +165 -160
- package/fesm2022/common.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/http/testing.mjs +10 -10
- package/{fesm2020 → fesm2022}/http/testing.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/http.mjs +78 -47
- package/{fesm2015 → fesm2022}/http.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/testing.mjs +10 -10
- package/fesm2022/testing.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/upgrade.mjs +5 -5
- package/{fesm2020 → fesm2022}/upgrade.mjs.map +1 -1
- package/http/index.d.ts +5 -2
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +15 -15
- package/package.json +18 -32
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
- package/esm2020/http/src/module.mjs +0 -133
- package/esm2020/http/src/xhr.mjs +0 -286
- package/esm2020/src/directives/ng_for_of.mjs +0 -293
- package/esm2020/src/directives/ng_optimized_image/image_loaders/imagekit_loader.mjs +0 -44
- package/esm2020/src/directives/ng_template_outlet.mjs +0 -88
- package/esm2020/src/viewport_scroller.mjs +0 -212
- package/esm2020/testing/src/mock_location_strategy.mjs +0 -93
- package/fesm2015/common.mjs +0 -6706
- package/fesm2015/common.mjs.map +0 -1
- package/fesm2015/http/testing.mjs +0 -362
- package/fesm2015/http/testing.mjs.map +0 -1
- package/fesm2015/http.mjs +0 -2383
- package/fesm2015/testing.mjs +0 -535
- package/fesm2015/testing.mjs.map +0 -1
- package/fesm2015/upgrade.mjs +0 -894
- package/fesm2015/upgrade.mjs.map +0 -1
- package/fesm2020/common.mjs.map +0 -1
- package/fesm2020/http.mjs.map +0 -1
- package/fesm2020/testing.mjs.map +0 -1
- /package/{esm2020 → esm2022}/common.mjs +0 -0
- /package/{esm2020 → esm2022}/http/http.mjs +0 -0
- /package/{esm2020 → esm2022}/http/index.mjs +0 -0
- /package/{esm2020 → esm2022}/http/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/http/src/backend.mjs +0 -0
- /package/{esm2020 → esm2022}/http/src/context.mjs +0 -0
- /package/{esm2020 → esm2022}/http/src/headers.mjs +0 -0
- /package/{esm2020 → esm2022}/http/src/params.mjs +0 -0
- /package/{esm2020 → esm2022}/http/src/provider.mjs +0 -0
- /package/{esm2020 → esm2022}/http/src/request.mjs +0 -0
- /package/{esm2020 → esm2022}/http/src/response.mjs +0 -0
- /package/{esm2020 → esm2022}/http/testing/index.mjs +0 -0
- /package/{esm2020 → esm2022}/http/testing/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/http/testing/src/api.mjs +0 -0
- /package/{esm2020 → esm2022}/http/testing/src/provider.mjs +0 -0
- /package/{esm2020 → esm2022}/http/testing/src/request.mjs +0 -0
- /package/{esm2020 → esm2022}/http/testing/testing.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/src/common.mjs +0 -0
- /package/{esm2020 → esm2022}/src/cookie.mjs +0 -0
- /package/{esm2020 → esm2022}/src/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/src/directives/ng_optimized_image/asserts.mjs +0 -0
- /package/{esm2020 → esm2022}/src/directives/ng_optimized_image/error_helper.mjs +0 -0
- /package/{esm2020 → esm2022}/src/directives/ng_optimized_image/image_loaders/cloudflare_loader.mjs +0 -0
- /package/{esm2020 → esm2022}/src/directives/ng_optimized_image/image_loaders/cloudinary_loader.mjs +0 -0
- /package/{esm2020 → esm2022}/src/directives/ng_optimized_image/image_loaders/image_loader.mjs +0 -0
- /package/{esm2020 → esm2022}/src/directives/ng_optimized_image/image_loaders/imgix_loader.mjs +0 -0
- /package/{esm2020 → esm2022}/src/directives/ng_optimized_image/index.mjs +0 -0
- /package/{esm2020 → esm2022}/src/directives/ng_optimized_image/tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/src/directives/ng_optimized_image/url.mjs +0 -0
- /package/{esm2020 → esm2022}/src/dom_adapter.mjs +0 -0
- /package/{esm2020 → esm2022}/src/dom_tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/src/errors.mjs +0 -0
- /package/{esm2020 → esm2022}/src/i18n/currencies.mjs +0 -0
- /package/{esm2020 → esm2022}/src/i18n/format_date.mjs +0 -0
- /package/{esm2020 → esm2022}/src/i18n/format_number.mjs +0 -0
- /package/{esm2020 → esm2022}/src/i18n/locale_data.mjs +0 -0
- /package/{esm2020 → esm2022}/src/i18n/locale_data_api.mjs +0 -0
- /package/{esm2020 → esm2022}/src/location/index.mjs +0 -0
- /package/{esm2020 → esm2022}/src/location/util.mjs +0 -0
- /package/{esm2020 → esm2022}/src/pipes/date_pipe_config.mjs +0 -0
- /package/{esm2020 → esm2022}/src/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/src/pipes/invalid_pipe_argument_error.mjs +0 -0
- /package/{esm2020 → esm2022}/src/platform_id.mjs +0 -0
- /package/{esm2020 → esm2022}/src/private_export.mjs +0 -0
- /package/{esm2020 → esm2022}/src/xhr.mjs +0 -0
- /package/{esm2020 → esm2022}/testing/index.mjs +0 -0
- /package/{esm2020 → esm2022}/testing/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/testing/src/provide_location_mocks.mjs +0 -0
- /package/{esm2020 → esm2022}/testing/src/testing.mjs +0 -0
- /package/{esm2020 → esm2022}/testing/testing.mjs +0 -0
- /package/{esm2020 → esm2022}/upgrade/index.mjs +0 -0
- /package/{esm2020 → esm2022}/upgrade/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/upgrade/src/index.mjs +0 -0
- /package/{esm2020 → esm2022}/upgrade/src/location_shim.mjs +0 -0
- /package/{esm2020 → esm2022}/upgrade/src/params.mjs +0 -0
- /package/{esm2020 → esm2022}/upgrade/src/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/upgrade/upgrade.mjs +0 -0
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.0.0-next.
|
|
2
|
+
* @license Angular v16.0.0-next.5
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1625,7 +1625,7 @@ export declare class NgClass implements DoCheck {
|
|
|
1625
1625
|
private _applyStateDiff;
|
|
1626
1626
|
private _toggleClass;
|
|
1627
1627
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgClass, never>;
|
|
1628
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgClass, "[ngClass]", never, { "klass": "class"; "ngClass": "ngClass"; }, {}, never, never, true, never>;
|
|
1628
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgClass, "[ngClass]", never, { "klass": { "alias": "class"; "required": false; }; "ngClass": { "alias": "ngClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
1629
1629
|
}
|
|
1630
1630
|
|
|
1631
1631
|
/**
|
|
@@ -1705,7 +1705,7 @@ export declare class NgComponentOutlet implements OnChanges, OnDestroy {
|
|
|
1705
1705
|
/** @nodoc */
|
|
1706
1706
|
ngOnDestroy(): void;
|
|
1707
1707
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgComponentOutlet, never>;
|
|
1708
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet, "[ngComponentOutlet]", never, { "ngComponentOutlet": "ngComponentOutlet"; "ngComponentOutletInjector": "ngComponentOutletInjector"; "ngComponentOutletContent": "ngComponentOutletContent"; "ngComponentOutletNgModule": "ngComponentOutletNgModule"; "ngComponentOutletNgModuleFactory": "ngComponentOutletNgModuleFactory"; }, {}, never, never, true, never>;
|
|
1708
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet, "[ngComponentOutlet]", never, { "ngComponentOutlet": { "alias": "ngComponentOutlet"; "required": false; }; "ngComponentOutletInjector": { "alias": "ngComponentOutletInjector"; "required": false; }; "ngComponentOutletContent": { "alias": "ngComponentOutletContent"; "required": false; }; "ngComponentOutletNgModule": { "alias": "ngComponentOutletNgModule"; "required": false; }; "ngComponentOutletNgModuleFactory": { "alias": "ngComponentOutletNgModuleFactory"; "required": false; }; }, {}, never, never, true, never>;
|
|
1709
1709
|
}
|
|
1710
1710
|
|
|
1711
1711
|
/**
|
|
@@ -1859,7 +1859,7 @@ declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoC
|
|
|
1859
1859
|
*/
|
|
1860
1860
|
static ngTemplateContextGuard<T, U extends NgIterable<T>>(dir: NgForOf<T, U>, ctx: any): ctx is NgForOfContext<T, U>;
|
|
1861
1861
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgForOf<any, any>, never>;
|
|
1862
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgForOf<any, any>, "[ngFor][ngForOf]", never, { "ngForOf": "ngForOf"; "ngForTrackBy": "ngForTrackBy"; "ngForTemplate": "ngForTemplate"; }, {}, never, never, true, never>;
|
|
1862
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgForOf<any, any>, "[ngFor][ngForOf]", never, { "ngForOf": { "alias": "ngForOf"; "required": false; }; "ngForTrackBy": { "alias": "ngForTrackBy"; "required": false; }; "ngForTemplate": { "alias": "ngForTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
1863
1863
|
}
|
|
1864
1864
|
export { NgForOf as NgFor }
|
|
1865
1865
|
export { NgForOf }
|
|
@@ -2056,7 +2056,7 @@ export declare class NgIf<T = unknown> {
|
|
|
2056
2056
|
*/
|
|
2057
2057
|
static ngTemplateContextGuard<T>(dir: NgIf<T>, ctx: any): ctx is NgIfContext<Exclude<T, false | 0 | '' | null | undefined>>;
|
|
2058
2058
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgIf<any>, never>;
|
|
2059
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgIf<any>, "[ngIf]", never, { "ngIf": "ngIf"; "ngIfThen": "ngIfThen"; "ngIfElse": "ngIfElse"; }, {}, never, never, true, never>;
|
|
2059
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgIf<any>, "[ngIf]", never, { "ngIf": { "alias": "ngIf"; "required": false; }; "ngIfThen": { "alias": "ngIfThen"; "required": false; }; "ngIfElse": { "alias": "ngIfElse"; "required": false; }; }, {}, never, never, true, never>;
|
|
2060
2060
|
}
|
|
2061
2061
|
|
|
2062
2062
|
/**
|
|
@@ -2293,7 +2293,7 @@ export declare class NgOptimizedImage implements OnInit, OnChanges, OnDestroy {
|
|
|
2293
2293
|
ngOnDestroy(): void;
|
|
2294
2294
|
private setHostAttribute;
|
|
2295
2295
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgOptimizedImage, never>;
|
|
2296
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgOptimizedImage, "img[ngSrc]", never, { "ngSrc": "ngSrc"; "ngSrcset": "ngSrcset"; "sizes": "sizes"; "width": "width"; "height": "height"; "loading": "loading"; "priority": "priority"; "loaderParams": "loaderParams"; "disableOptimizedSrcset": "disableOptimizedSrcset"; "fill": "fill"; "src": "src"; "srcset": "srcset"; }, {}, never, never, true, never>;
|
|
2296
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgOptimizedImage, "img[ngSrc]", never, { "ngSrc": { "alias": "ngSrc"; "required": false; }; "ngSrcset": { "alias": "ngSrcset"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "priority": { "alias": "priority"; "required": false; }; "loaderParams": { "alias": "loaderParams"; "required": false; }; "disableOptimizedSrcset": { "alias": "disableOptimizedSrcset"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "src": { "alias": "src"; "required": false; }; "srcset": { "alias": "srcset"; "required": false; }; }, {}, never, never, true, never>;
|
|
2297
2297
|
}
|
|
2298
2298
|
|
|
2299
2299
|
/**
|
|
@@ -2338,7 +2338,7 @@ export declare class NgPlural {
|
|
|
2338
2338
|
private _clearViews;
|
|
2339
2339
|
private _activateView;
|
|
2340
2340
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgPlural, never>;
|
|
2341
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgPlural, "[ngPlural]", never, { "ngPlural": "ngPlural"; }, {}, never, never, true, never>;
|
|
2341
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgPlural, "[ngPlural]", never, { "ngPlural": { "alias": "ngPlural"; "required": false; }; }, {}, never, never, true, never>;
|
|
2342
2342
|
}
|
|
2343
2343
|
|
|
2344
2344
|
/**
|
|
@@ -2418,7 +2418,7 @@ export declare class NgStyle implements DoCheck {
|
|
|
2418
2418
|
private _setStyle;
|
|
2419
2419
|
private _applyChanges;
|
|
2420
2420
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgStyle, never>;
|
|
2421
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgStyle, "[ngStyle]", never, { "ngStyle": "ngStyle"; }, {}, never, never, true, never>;
|
|
2421
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgStyle, "[ngStyle]", never, { "ngStyle": { "alias": "ngStyle"; "required": false; }; }, {}, never, never, true, never>;
|
|
2422
2422
|
}
|
|
2423
2423
|
|
|
2424
2424
|
/**
|
|
@@ -2497,7 +2497,7 @@ export declare class NgSwitch {
|
|
|
2497
2497
|
set ngSwitch(newValue: any);
|
|
2498
2498
|
private _updateDefaultCases;
|
|
2499
2499
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitch, never>;
|
|
2500
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitch, "[ngSwitch]", never, { "ngSwitch": "ngSwitch"; }, {}, never, never, true, never>;
|
|
2500
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitch, "[ngSwitch]", never, { "ngSwitch": { "alias": "ngSwitch"; "required": false; }; }, {}, never, never, true, never>;
|
|
2501
2501
|
}
|
|
2502
2502
|
|
|
2503
2503
|
/**
|
|
@@ -2547,7 +2547,7 @@ export declare class NgSwitchCase implements DoCheck {
|
|
|
2547
2547
|
*/
|
|
2548
2548
|
ngDoCheck(): void;
|
|
2549
2549
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitchCase, [null, null, { optional: true; host: true; }]>;
|
|
2550
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchCase, "[ngSwitchCase]", never, { "ngSwitchCase": "ngSwitchCase"; }, {}, never, never, true, never>;
|
|
2550
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchCase, "[ngSwitchCase]", never, { "ngSwitchCase": { "alias": "ngSwitchCase"; "required": false; }; }, {}, never, never, true, never>;
|
|
2551
2551
|
}
|
|
2552
2552
|
|
|
2553
2553
|
/**
|
|
@@ -2594,7 +2594,7 @@ export declare class NgSwitchDefault {
|
|
|
2594
2594
|
*
|
|
2595
2595
|
* @publicApi
|
|
2596
2596
|
*/
|
|
2597
|
-
export declare class NgTemplateOutlet implements OnChanges {
|
|
2597
|
+
export declare class NgTemplateOutlet<C = unknown> implements OnChanges {
|
|
2598
2598
|
private _viewContainerRef;
|
|
2599
2599
|
private _viewRef;
|
|
2600
2600
|
/**
|
|
@@ -2603,18 +2603,18 @@ export declare class NgTemplateOutlet implements OnChanges {
|
|
|
2603
2603
|
* declarations.
|
|
2604
2604
|
* Using the key `$implicit` in the context object will set its value as default.
|
|
2605
2605
|
*/
|
|
2606
|
-
ngTemplateOutletContext:
|
|
2606
|
+
ngTemplateOutletContext: C | null;
|
|
2607
2607
|
/**
|
|
2608
2608
|
* A string defining the template reference and optionally the context object for the template.
|
|
2609
2609
|
*/
|
|
2610
|
-
ngTemplateOutlet: TemplateRef<
|
|
2610
|
+
ngTemplateOutlet: TemplateRef<C> | null;
|
|
2611
2611
|
/** Injector to be used within the embedded view. */
|
|
2612
2612
|
ngTemplateOutletInjector: Injector | null;
|
|
2613
2613
|
constructor(_viewContainerRef: ViewContainerRef);
|
|
2614
2614
|
/** @nodoc */
|
|
2615
2615
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2616
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgTemplateOutlet
|
|
2617
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgTemplateOutlet
|
|
2616
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgTemplateOutlet<any>, never>;
|
|
2617
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgTemplateOutlet<any>, "[ngTemplateOutlet]", never, { "ngTemplateOutletContext": { "alias": "ngTemplateOutletContext"; "required": false; }; "ngTemplateOutlet": { "alias": "ngTemplateOutlet"; "required": false; }; "ngTemplateOutletInjector": { "alias": "ngTemplateOutletInjector"; "required": false; }; }, {}, never, never, true, never>;
|
|
2618
2618
|
}
|
|
2619
2619
|
|
|
2620
2620
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/common",
|
|
3
|
-
"version": "16.0.0-next.
|
|
3
|
+
"version": "16.0.0-next.5",
|
|
4
4
|
"description": "Angular - commonly needed directives and services",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,47 +23,37 @@
|
|
|
23
23
|
},
|
|
24
24
|
".": {
|
|
25
25
|
"types": "./index.d.ts",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"node": "./fesm2015/common.mjs",
|
|
30
|
-
"default": "./fesm2020/common.mjs"
|
|
26
|
+
"esm2022": "./esm2022/common.mjs",
|
|
27
|
+
"esm": "./esm2022/common.mjs",
|
|
28
|
+
"default": "./fesm2022/common.mjs"
|
|
31
29
|
},
|
|
32
30
|
"./http": {
|
|
33
31
|
"types": "./http/index.d.ts",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"node": "./fesm2015/http.mjs",
|
|
38
|
-
"default": "./fesm2020/http.mjs"
|
|
32
|
+
"esm2022": "./esm2022/http/http.mjs",
|
|
33
|
+
"esm": "./esm2022/http/http.mjs",
|
|
34
|
+
"default": "./fesm2022/http.mjs"
|
|
39
35
|
},
|
|
40
36
|
"./http/testing": {
|
|
41
37
|
"types": "./http/testing/index.d.ts",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"node": "./fesm2015/http/testing.mjs",
|
|
46
|
-
"default": "./fesm2020/http/testing.mjs"
|
|
38
|
+
"esm2022": "./esm2022/http/testing/testing.mjs",
|
|
39
|
+
"esm": "./esm2022/http/testing/testing.mjs",
|
|
40
|
+
"default": "./fesm2022/http/testing.mjs"
|
|
47
41
|
},
|
|
48
42
|
"./testing": {
|
|
49
43
|
"types": "./testing/index.d.ts",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"node": "./fesm2015/testing.mjs",
|
|
54
|
-
"default": "./fesm2020/testing.mjs"
|
|
44
|
+
"esm2022": "./esm2022/testing/testing.mjs",
|
|
45
|
+
"esm": "./esm2022/testing/testing.mjs",
|
|
46
|
+
"default": "./fesm2022/testing.mjs"
|
|
55
47
|
},
|
|
56
48
|
"./upgrade": {
|
|
57
49
|
"types": "./upgrade/index.d.ts",
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"node": "./fesm2015/upgrade.mjs",
|
|
62
|
-
"default": "./fesm2020/upgrade.mjs"
|
|
50
|
+
"esm2022": "./esm2022/upgrade/upgrade.mjs",
|
|
51
|
+
"esm": "./esm2022/upgrade/upgrade.mjs",
|
|
52
|
+
"default": "./fesm2022/upgrade.mjs"
|
|
63
53
|
}
|
|
64
54
|
},
|
|
65
55
|
"peerDependencies": {
|
|
66
|
-
"@angular/core": "16.0.0-next.
|
|
56
|
+
"@angular/core": "16.0.0-next.5",
|
|
67
57
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
68
58
|
},
|
|
69
59
|
"repository": {
|
|
@@ -95,11 +85,7 @@
|
|
|
95
85
|
"**/global/*.js",
|
|
96
86
|
"**/closure-locale.*"
|
|
97
87
|
],
|
|
98
|
-
"
|
|
99
|
-
"fesm2015": "./fesm2015/common.mjs",
|
|
100
|
-
"esm2020": "./esm2020/common.mjs",
|
|
88
|
+
"module": "./fesm2022/common.mjs",
|
|
101
89
|
"typings": "./index.d.ts",
|
|
102
|
-
"module": "./fesm2015/common.mjs",
|
|
103
|
-
"es2020": "./fesm2020/common.mjs",
|
|
104
90
|
"type": "module"
|
|
105
91
|
}
|
package/testing/index.d.ts
CHANGED
package/upgrade/index.d.ts
CHANGED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { NgModule } from '@angular/core';
|
|
9
|
-
import { HTTP_INTERCEPTORS } from './interceptor';
|
|
10
|
-
import { provideHttpClient, withInterceptorsFromDi, withJsonpSupport, withNoXsrfProtection, withXsrfConfiguration } from './provider';
|
|
11
|
-
import { HttpXsrfCookieExtractor, HttpXsrfInterceptor, HttpXsrfTokenExtractor, XSRF_DEFAULT_COOKIE_NAME, XSRF_DEFAULT_HEADER_NAME, XSRF_ENABLED } from './xsrf';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* Configures XSRF protection support for outgoing requests.
|
|
15
|
-
*
|
|
16
|
-
* For a server that supports a cookie-based XSRF protection system,
|
|
17
|
-
* use directly to configure XSRF protection with the correct
|
|
18
|
-
* cookie and header names.
|
|
19
|
-
*
|
|
20
|
-
* If no names are supplied, the default cookie name is `XSRF-TOKEN`
|
|
21
|
-
* and the default header name is `X-XSRF-TOKEN`.
|
|
22
|
-
*
|
|
23
|
-
* @publicApi
|
|
24
|
-
*/
|
|
25
|
-
class HttpClientXsrfModule {
|
|
26
|
-
/**
|
|
27
|
-
* Disable the default XSRF protection.
|
|
28
|
-
*/
|
|
29
|
-
static disable() {
|
|
30
|
-
return {
|
|
31
|
-
ngModule: HttpClientXsrfModule,
|
|
32
|
-
providers: [
|
|
33
|
-
withNoXsrfProtection().ɵproviders,
|
|
34
|
-
],
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Configure XSRF protection.
|
|
39
|
-
* @param options An object that can specify either or both
|
|
40
|
-
* cookie name or header name.
|
|
41
|
-
* - Cookie name default is `XSRF-TOKEN`.
|
|
42
|
-
* - Header name default is `X-XSRF-TOKEN`.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
static withOptions(options = {}) {
|
|
46
|
-
return {
|
|
47
|
-
ngModule: HttpClientXsrfModule,
|
|
48
|
-
providers: withXsrfConfiguration(options).ɵproviders,
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
HttpClientXsrfModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
53
|
-
HttpClientXsrfModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientXsrfModule });
|
|
54
|
-
HttpClientXsrfModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientXsrfModule, providers: [
|
|
55
|
-
HttpXsrfInterceptor,
|
|
56
|
-
{ provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
|
|
57
|
-
{ provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
|
|
58
|
-
withXsrfConfiguration({
|
|
59
|
-
cookieName: XSRF_DEFAULT_COOKIE_NAME,
|
|
60
|
-
headerName: XSRF_DEFAULT_HEADER_NAME,
|
|
61
|
-
}).ɵproviders,
|
|
62
|
-
{ provide: XSRF_ENABLED, useValue: true },
|
|
63
|
-
] });
|
|
64
|
-
export { HttpClientXsrfModule };
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
|
|
66
|
-
type: NgModule,
|
|
67
|
-
args: [{
|
|
68
|
-
providers: [
|
|
69
|
-
HttpXsrfInterceptor,
|
|
70
|
-
{ provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
|
|
71
|
-
{ provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
|
|
72
|
-
withXsrfConfiguration({
|
|
73
|
-
cookieName: XSRF_DEFAULT_COOKIE_NAME,
|
|
74
|
-
headerName: XSRF_DEFAULT_HEADER_NAME,
|
|
75
|
-
}).ɵproviders,
|
|
76
|
-
{ provide: XSRF_ENABLED, useValue: true },
|
|
77
|
-
],
|
|
78
|
-
}]
|
|
79
|
-
}] });
|
|
80
|
-
/**
|
|
81
|
-
* Configures the [dependency injector](guide/glossary#injector) for `HttpClient`
|
|
82
|
-
* with supporting services for XSRF. Automatically imported by `HttpClientModule`.
|
|
83
|
-
*
|
|
84
|
-
* You can add interceptors to the chain behind `HttpClient` by binding them to the
|
|
85
|
-
* multiprovider for built-in [DI token](guide/glossary#di-token) `HTTP_INTERCEPTORS`.
|
|
86
|
-
*
|
|
87
|
-
* @publicApi
|
|
88
|
-
*/
|
|
89
|
-
class HttpClientModule {
|
|
90
|
-
}
|
|
91
|
-
HttpClientModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
92
|
-
HttpClientModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientModule });
|
|
93
|
-
HttpClientModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientModule, providers: [
|
|
94
|
-
provideHttpClient(withInterceptorsFromDi()),
|
|
95
|
-
] });
|
|
96
|
-
export { HttpClientModule };
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientModule, decorators: [{
|
|
98
|
-
type: NgModule,
|
|
99
|
-
args: [{
|
|
100
|
-
/**
|
|
101
|
-
* Configures the [dependency injector](guide/glossary#injector) where it is imported
|
|
102
|
-
* with supporting services for HTTP communications.
|
|
103
|
-
*/
|
|
104
|
-
providers: [
|
|
105
|
-
provideHttpClient(withInterceptorsFromDi()),
|
|
106
|
-
],
|
|
107
|
-
}]
|
|
108
|
-
}] });
|
|
109
|
-
/**
|
|
110
|
-
* Configures the [dependency injector](guide/glossary#injector) for `HttpClient`
|
|
111
|
-
* with supporting services for JSONP.
|
|
112
|
-
* Without this module, Jsonp requests reach the backend
|
|
113
|
-
* with method JSONP, where they are rejected.
|
|
114
|
-
*
|
|
115
|
-
* @publicApi
|
|
116
|
-
*/
|
|
117
|
-
class HttpClientJsonpModule {
|
|
118
|
-
}
|
|
119
|
-
HttpClientJsonpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
120
|
-
HttpClientJsonpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientJsonpModule });
|
|
121
|
-
HttpClientJsonpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientJsonpModule, providers: [
|
|
122
|
-
withJsonpSupport().ɵproviders,
|
|
123
|
-
] });
|
|
124
|
-
export { HttpClientJsonpModule };
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.3", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
|
|
126
|
-
type: NgModule,
|
|
127
|
-
args: [{
|
|
128
|
-
providers: [
|
|
129
|
-
withJsonpSupport().ɵproviders,
|
|
130
|
-
],
|
|
131
|
-
}]
|
|
132
|
-
}] });
|
|
133
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL2h0dHAvc3JjL21vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQXNCLFFBQV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