@nativescript/angular 20.1.0 → 21.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/fesm2022/nativescript-angular-polyfills.mjs.map +1 -1
- package/fesm2022/nativescript-angular-testing.mjs +7 -7
- package/fesm2022/nativescript-angular-testing.mjs.map +1 -1
- package/fesm2022/nativescript-angular.mjs +180 -361
- package/fesm2022/nativescript-angular.mjs.map +1 -1
- package/package.json +5 -5
- package/{index.d.ts → types/nativescript-angular.d.ts} +2 -28
- /package/{polyfills/index.d.ts → types/nativescript-angular-polyfills.d.ts} +0 -0
- /package/{testing/index.d.ts → types/nativescript-angular-testing.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nativescript/angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0-rc.0",
|
|
4
4
|
"homepage": "https://nativescript.org/",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
"./polyfills/**"
|
|
25
25
|
],
|
|
26
26
|
"module": "fesm2022/nativescript-angular.mjs",
|
|
27
|
-
"typings": "
|
|
27
|
+
"typings": "types/nativescript-angular.d.ts",
|
|
28
28
|
"exports": {
|
|
29
29
|
"./package.json": {
|
|
30
30
|
"default": "./package.json"
|
|
31
31
|
},
|
|
32
32
|
".": {
|
|
33
|
-
"types": "./
|
|
33
|
+
"types": "./types/nativescript-angular.d.ts",
|
|
34
34
|
"default": "./fesm2022/nativescript-angular.mjs"
|
|
35
35
|
},
|
|
36
36
|
"./polyfills": {
|
|
37
|
-
"types": "./polyfills
|
|
37
|
+
"types": "./types/nativescript-angular-polyfills.d.ts",
|
|
38
38
|
"default": "./fesm2022/nativescript-angular-polyfills.mjs"
|
|
39
39
|
},
|
|
40
40
|
"./testing": {
|
|
41
|
-
"types": "./testing
|
|
41
|
+
"types": "./types/nativescript-angular-testing.d.ts",
|
|
42
42
|
"default": "./fesm2022/nativescript-angular-testing.mjs"
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _nativescript_core from '@nativescript/core';
|
|
2
|
-
import { View, LayoutBase, ContentView, Page, IDevice, Device, Color, GridLayout, Frame, ActionItem, NavigationButton, ListView, ObservableArray,
|
|
2
|
+
import { View, LayoutBase, ContentView, Page, IDevice, Device, Color, GridLayout, Frame, ActionItem, NavigationButton, ListView, ObservableArray, ItemEventData, TabView, NavigatedData, ViewBase, RootLayout, ShowModalOptions, NavigationTransition, Folder, File, Switch, DatePicker, TimePicker, Slider, KeyframeAnimation } from '@nativescript/core';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, EmbeddedViewRef, ComponentRef, NgModuleRef, ApplicationRef, PlatformRef, Provider, EnvironmentProviders, ɵNgModuleFactory as _NgModuleFactory, Type, CompilerOptions, NgZone, Injector, NgModuleFactory, StaticProvider, Sanitizer, ApplicationConfig as ApplicationConfig$1, ViewContainerRef, ComponentFactoryResolver, TemplateRef, ElementRef, OnInit, OnDestroy, Renderer2, EventEmitter, ChangeDetectorRef, ComponentFactory, AfterViewInit, OnChanges, SimpleChanges, DoCheck, AfterContentInit, IterableDiffer, IterableDiffers, ErrorHandler, RendererStyleFlags2, RendererType2, RendererFactory2, QueryList, EnvironmentInjector, ModuleWithProviders, NgZoneOptions } from '@angular/core';
|
|
5
5
|
import * as _nativescript_angular from '@nativescript/angular';
|
|
@@ -863,27 +863,7 @@ declare class ListViewComponent<T = any> implements DoCheck, OnDestroy, AfterCon
|
|
|
863
863
|
loader: ViewContainerRef;
|
|
864
864
|
setupItemView: EventEmitter<SetupItemViewArgs<T>>;
|
|
865
865
|
itemTemplateQuery: TemplateRef<ItemContext<T>>;
|
|
866
|
-
stickyHeaderTemplateRef: TemplateRef<ItemContext<any>>;
|
|
867
866
|
fallbackItemTemplate: TemplateRef<ItemContext<T>>;
|
|
868
|
-
/**
|
|
869
|
-
* Sticky header template as supported by core ListView (string or NsTemplate).
|
|
870
|
-
* This allows direct string templates just like XML usage:
|
|
871
|
-
* `<ListView stickyHeaderTemplate="<GridLayout>...</GridLayout>">`.
|
|
872
|
-
*/
|
|
873
|
-
get stickyHeaderTemplate(): string | Template;
|
|
874
|
-
set stickyHeaderTemplate(value: string | Template);
|
|
875
|
-
get stickyHeader(): boolean;
|
|
876
|
-
set stickyHeader(value: boolean);
|
|
877
|
-
get stickyHeaderHeight(): CoreTypes.LengthType;
|
|
878
|
-
set stickyHeaderHeight(value: number);
|
|
879
|
-
get stickyHeaderTopPadding(): any;
|
|
880
|
-
set stickyHeaderTopPadding(value: any);
|
|
881
|
-
get sectioned(): boolean;
|
|
882
|
-
set sectioned(value: boolean);
|
|
883
|
-
get showSearch(): boolean;
|
|
884
|
-
set showSearch(value: boolean);
|
|
885
|
-
get searchAutoHide(): boolean;
|
|
886
|
-
set searchAutoHide(value: boolean);
|
|
887
867
|
get items(): T[] | ObservableArray<T>;
|
|
888
868
|
set items(value: T[] | ObservableArray<T>);
|
|
889
869
|
/**
|
|
@@ -904,16 +884,10 @@ declare class ListViewComponent<T = any> implements DoCheck, OnDestroy, AfterCon
|
|
|
904
884
|
private setItemTemplates;
|
|
905
885
|
registerTemplate(key: string, template: TemplateRef<ItemContext<T>>): void;
|
|
906
886
|
onItemLoading(args: ItemEventData): void;
|
|
907
|
-
private resolveSectionIndex;
|
|
908
|
-
private resolveRowIndex;
|
|
909
|
-
private getSectionItem;
|
|
910
|
-
private computeAbsoluteIndex;
|
|
911
|
-
private getCollectionLength;
|
|
912
|
-
private getFlatItem;
|
|
913
887
|
setupViewRef(viewRef: EmbeddedViewRef<ItemContext<T>>, data: T, index: number, nativeElement: View): void;
|
|
914
888
|
ngDoCheck(): void;
|
|
915
889
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewComponent<any>, never>;
|
|
916
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent<any>, "ListView", never, { "
|
|
890
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent<any>, "ListView", never, { "items": { "alias": "items"; "required": false; }; }, { "setupItemView": "setupItemView"; }, ["itemTemplateQuery"], never, true, never>;
|
|
917
891
|
}
|
|
918
892
|
type RootLocator = (nodes: Array<unknown>, nestLevel: number) => View;
|
|
919
893
|
declare function getItemViewRoot(viewRef: EmbeddedViewRef<unknown>, rootLocator?: RootLocator): View;
|
|
File without changes
|
|
File without changes
|