Skip to content

Commit 7ae402f

Browse files
committed
chore: adding other scoped packages
1 parent ecc6666 commit 7ae402f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+1362
-222
lines changed

apps/demo/package.json

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
11
{
2-
"nativescript": {
3-
"id": "org.nativescript.sample",
4-
"tns-ios": {
5-
"version": "6.5.2"
6-
}
7-
},
8-
"main": "app.js",
9-
"description": "NativeScript Application",
10-
"license": "SEE LICENSE IN <your-license-filename>",
11-
"repository": "<fill-your-repository-here>",
12-
"dependencies": {
13-
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core",
14-
"@nativescript/core": "file:../../node_modules/@nativescript/core",
15-
"@nativescript/local-notifications": "file:../../packages/local-notifications",
16-
"@nativescript/shared-notification-delegate": "file:../../packages/shared-notification-delegate",
17-
"@nativescript/email": "file:../../packages/email"
18-
},
19-
"devDependencies": {
20-
"@nativescript/webpack": "~2.1.0",
21-
"typescript": "file:../../node_modules/typescript"
22-
}
2+
"nativescript": {
3+
"id": "org.nativescript.sample",
4+
"tns-ios": {
5+
"version": "6.5.2"
6+
}
7+
},
8+
"main": "app.js",
9+
"description": "NativeScript Application",
10+
"license": "SEE LICENSE IN <your-license-filename>",
11+
"repository": "<fill-your-repository-here>",
12+
"dependencies": {
13+
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core",
14+
"@nativescript/core": "file:../../node_modules/@nativescript/core",
15+
"@nativescript/local-notifications": "file:../../packages/local-notifications",
16+
"@nativescript/shared-notification-delegate": "file:../../packages/shared-notification-delegate",
17+
"@nativescript/email": "file:../../packages/email",
18+
"@nativescript/imagepicker": "file:../../packages/imagepicker",
19+
"@nativescript/datetimepicker": "file:../../packages/datetimepicker",
20+
"@nativescript/camera": "file:../../packages/camera",
21+
"@nativescript/zip": "file:../../packages/zip",
22+
"@nativescript/directions": "file:../../packages/directions",
23+
"@nativescript/iqkeyboardmanager": "file:../../packages/iqkeyboardmanager",
24+
"@nativescript/geolocation": "file:../../packages/geolocation",
25+
"@nativescript/fingerprint-auth": "file:../../packages/fingerprint-auth"
26+
},
27+
"devDependencies": {
28+
"@nativescript/webpack": "~2.1.0",
29+
"typescript": "file:../../node_modules/typescript"
30+
}
2331
}

apps/demo/src/main-page.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,17 @@
66
<StackLayout class="p-20">
77
<ScrollView class="h-full">
88
<StackLayout>
9+
<Button text="camera" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
10+
<Button text="datetimepicker" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
11+
<Button text="directions" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
12+
<Button text="fingerprint-auth" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
13+
<Button text="email" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
14+
<Button text="geolocation" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
15+
<Button text="imagepicker" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
16+
<Button text="iqkeyboardmanager" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
917
<Button text="local-notifications" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
10-
<Button text="email" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
11-
<Button text="shared-notification-delegate" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
18+
<Button text="shared-notification-delegate" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
19+
<Button text="zip" tap="{{ viewDemo }}" class="btn btn-primary view-demo"/>
1220

1321
</StackLayout>
1422
</ScrollView>

apps/demo/src/plugin-demos/camera.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Observable, EventData, Page } from '@nativescript/core';
2+
import {} from '@nativescript/camera';
3+
4+
export function navigatingTo(args: EventData) {
5+
const page = <Page>args.object;
6+
page.bindingContext = new DemoModel();
7+
}
8+
9+
export class DemoModel extends Observable {
10+
testIt() {
11+
// Test something here
12+
}
13+
}

apps/demo/src/plugin-demos/camera.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
2+
<Page.actionBar>
3+
<ActionBar title="camera" icon="" class="action-bar">
4+
</ActionBar>
5+
</Page.actionBar>
6+
<StackLayout class="p-20">
7+
<ScrollView class="h-full">
8+
<StackLayout>
9+
<Button text="Test Plugin" tap="{{ testIt }}" class="btn btn-primary"/>
10+
11+
</StackLayout>
12+
</ScrollView>
13+
</StackLayout>
14+
</Page>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Observable, EventData, Page } from '@nativescript/core';
2+
import {} from '@nativescript/datetimepicker';
3+
4+
export function navigatingTo(args: EventData) {
5+
const page = <Page>args.object;
6+
page.bindingContext = new DemoModel();
7+
}
8+
9+
export class DemoModel extends Observable {
10+
testIt() {
11+
// Test something here
12+
}
13+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
2+
<Page.actionBar>
3+
<ActionBar title="datetimepicker" icon="" class="action-bar">
4+
</ActionBar>
5+
</Page.actionBar>
6+
<StackLayout class="p-20">
7+
<ScrollView class="h-full">
8+
<StackLayout>
9+
<Button text="Test Plugin" tap="{{ testIt }}" class="btn btn-primary"/>
10+
11+
</StackLayout>
12+
</ScrollView>
13+
</StackLayout>
14+
</Page>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Observable, EventData, Page } from '@nativescript/core';
2+
import {} from '@nativescript/directions';
3+
4+
export function navigatingTo(args: EventData) {
5+
const page = <Page>args.object;
6+
page.bindingContext = new DemoModel();
7+
}
8+
9+
export class DemoModel extends Observable {
10+
testIt() {
11+
// Test something here
12+
}
13+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
2+
<Page.actionBar>
3+
<ActionBar title="directions" icon="" class="action-bar">
4+
</ActionBar>
5+
</Page.actionBar>
6+
<StackLayout class="p-20">
7+
<ScrollView class="h-full">
8+
<StackLayout>
9+
<Button text="Test Plugin" tap="{{ testIt }}" class="btn btn-primary"/>
10+
11+
</StackLayout>
12+
</ScrollView>
13+
</StackLayout>
14+
</Page>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Observable, EventData, Page } from '@nativescript/core';
2+
import {} from '@nativescript/fingerprint-auth';
3+
4+
export function navigatingTo(args: EventData) {
5+
const page = <Page>args.object;
6+
page.bindingContext = new DemoModel();
7+
}
8+
9+
export class DemoModel extends Observable {
10+
testIt() {
11+
// Test something here
12+
}
13+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
2+
<Page.actionBar>
3+
<ActionBar title="fingerprint-auth" icon="" class="action-bar">
4+
</ActionBar>
5+
</Page.actionBar>
6+
<StackLayout class="p-20">
7+
<ScrollView class="h-full">
8+
<StackLayout>
9+
<Button text="Test Plugin" tap="{{ testIt }}" class="btn btn-primary"/>
10+
11+
</StackLayout>
12+
</ScrollView>
13+
</StackLayout>
14+
</Page>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Observable, EventData, Page } from '@nativescript/core';
2+
import {} from '@nativescript/geolocation';
3+
4+
export function navigatingTo(args: EventData) {
5+
const page = <Page>args.object;
6+
page.bindingContext = new DemoModel();
7+
}
8+
9+
export class DemoModel extends Observable {
10+
testIt() {
11+
// Test something here
12+
}
13+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
2+
<Page.actionBar>
3+
<ActionBar title="geolocation" icon="" class="action-bar">
4+
</ActionBar>
5+
</Page.actionBar>
6+
<StackLayout class="p-20">
7+
<ScrollView class="h-full">
8+
<StackLayout>
9+
<Button text="Test Plugin" tap="{{ testIt }}" class="btn btn-primary"/>
10+
11+
</StackLayout>
12+
</ScrollView>
13+
</StackLayout>
14+
</Page>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Observable, EventData, Page } from '@nativescript/core';
2+
import {} from '@nativescript/imagepicker';
3+
4+
export function navigatingTo(args: EventData) {
5+
const page = <Page>args.object;
6+
page.bindingContext = new DemoModel();
7+
}
8+
9+
export class DemoModel extends Observable {
10+
testIt() {
11+
// Test something here
12+
}
13+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
2+
<Page.actionBar>
3+
<ActionBar title="imagepicker" icon="" class="action-bar">
4+
</ActionBar>
5+
</Page.actionBar>
6+
<StackLayout class="p-20">
7+
<ScrollView class="h-full">
8+
<StackLayout>
9+
<Button text="Test Plugin" tap="{{ testIt }}" class="btn btn-primary"/>
10+
11+
</StackLayout>
12+
</ScrollView>
13+
</StackLayout>
14+
</Page>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Observable, EventData, Page } from '@nativescript/core';
2+
import {} from '@nativescript/iqkeyboardmanager';
3+
4+
export function navigatingTo(args: EventData) {
5+
const page = <Page>args.object;
6+
page.bindingContext = new DemoModel();
7+
}
8+
9+
export class DemoModel extends Observable {
10+
testIt() {
11+
// Test something here
12+
}
13+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
2+
<Page.actionBar>
3+
<ActionBar title="iqkeyboardmanager" icon="" class="action-bar">
4+
</ActionBar>
5+
</Page.actionBar>
6+
<StackLayout class="p-20">
7+
<ScrollView class="h-full">
8+
<StackLayout>
9+
<Button text="Test Plugin" tap="{{ testIt }}" class="btn btn-primary"/>
10+
11+
</StackLayout>
12+
</ScrollView>
13+
</StackLayout>
14+
</Page>

apps/demo/src/plugin-demos/zip.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Observable, EventData, Page } from '@nativescript/core';
2+
import {} from '@nativescript/zip';
3+
4+
export function navigatingTo(args: EventData) {
5+
const page = <Page>args.object;
6+
page.bindingContext = new DemoModel();
7+
}
8+
9+
export class DemoModel extends Observable {
10+
testIt() {
11+
// Test something here
12+
}
13+
}

apps/demo/src/plugin-demos/zip.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
2+
<Page.actionBar>
3+
<ActionBar title="zip" icon="" class="action-bar">
4+
</ActionBar>
5+
</Page.actionBar>
6+
<StackLayout class="p-20">
7+
<ScrollView class="h-full">
8+
<StackLayout>
9+
<Button text="Test Plugin" tap="{{ testIt }}" class="btn btn-primary"/>
10+
11+
</StackLayout>
12+
</ScrollView>
13+
</StackLayout>
14+
</Page>

0 commit comments

Comments
 (0)