Skip to content

Commit 7acad60

Browse files
committed
chore: migrate nx latest
1 parent d623a51 commit 7acad60

File tree

7 files changed

+9572
-14375
lines changed

7 files changed

+9572
-14375
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
/dist
44
/coverage
5+
packages/angular/dist
56

67
**/xplat/*/.xplatframework
78

apps/nativescript-demo-ng/src/app/home/home.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<GridLayout rows="*" columns="*">
2-
<MDBottomNavigation selectedIndex="0" (loaded)="loadedTabView($event)" (selectedIndexChange)="onIndexChanged($event)">
2+
<MDBottomNavigation selectedIndex="0" (loaded)="loadedTabView()" (selectedIndexChange)="onIndexChanged($event)">
33
<MDTabStrip class="c-tabs">
44
<MDTabStripItem class="tabstripitem">
55
<Label [text]="tabItems?.start?.title" class="text-center text-sm"></Label>

apps/nativescript-demo-ng/src/app/home/home.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Component, inject, NgZone, NO_ERRORS_SCHEMA, OnInit } from '@angular/core';
22
import { ActivatedRoute, Router } from '@angular/router';
33
import { RouterExtensions, NativeScriptCommonModule } from '@nativescript/angular';
4-
import { Page, TabView } from '@nativescript/core';
4+
import { EventData, Page, TabView } from '@nativescript/core';
55

66
@Component({
77
selector: 'demo-home',
@@ -35,8 +35,8 @@ export class HomeComponent implements OnInit {
3535
}
3636
}
3737

38-
loadedTabView(args) {
39-
//
38+
loadedTabView() {
39+
4040
}
4141

4242
private _viewTab(index: number) {
@@ -61,7 +61,7 @@ export class HomeComponent implements OnInit {
6161
});
6262
}
6363

64-
private _initMenu(profilePic?: string) {
64+
private _initMenu() {
6565
for (let i = 0; i < this._tabs.length; i++) {
6666
const tab = this._tabs[i];
6767
// console.log('================')

apps/nativescript-demo-ng/src/app/list-view-sticky/list-view-sticky.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component, inject, NO_ERRORS_SCHEMA, signal } from '@angular/core';
22
import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular';
3-
import { Page } from '@nativescript/core';
3+
import { Page, SearchEventData } from '@nativescript/core';
44

55
interface CountryItem {
66
name: string;
@@ -1407,11 +1407,11 @@ export class ListViewStickyComponent {
14071407

14081408
private _originalCountries: CountryListType | undefined;
14091409

1410-
templateSelector(item: CountrySection | CountryItem, _index: number, _items: any) {
1410+
templateSelector() {
14111411
return 'main';
14121412
}
14131413

1414-
onSearchChange(event: any) {
1414+
onSearchChange(event: SearchEventData) {
14151415
const text = (event?.text ?? '').toLowerCase();
14161416
if (this.searchText !== text) {
14171417
this.searchText = text;

apps/nativescript-demo-ng/src/app/modal/modal.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, NO_ERRORS_SCHEMA, OnDestroy, OnInit, Optional, ViewContainerRef, inject } from '@angular/core';
1+
import { Component, NO_ERRORS_SCHEMA, OnDestroy, OnInit, ViewContainerRef, inject } from '@angular/core';
22
import {
33
ModalDialogService,
44
NativeDialogModule,

0 commit comments

Comments
 (0)