Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ionic/angular

Package Overview
Dependencies
Maintainers
13
Versions
3175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/angular - npm Package Compare versions

Comparing version 0.0.2-3 to 0.0.2-4

21

dist/src/directives/ion-nav.js

@@ -65,20 +65,2 @@ import { ChangeDetectorRef, Component, ComponentFactoryResolver, Injector, InjectionToken, NgZone, ReflectiveInjector, ViewContainerRef, ViewChild } from '@angular/core';

}
IonNavDelegate.decorators = [
{ type: Component, args: [{
selector: 'ion-nav',
template: `
<div #viewport class="ng-nav-viewport"></div>
`
},] },
];
/** @nocollapse */
IonNavDelegate.ctorParameters = () => [
{ type: ComponentFactoryResolver, },
{ type: ChangeDetectorRef, },
{ type: NgZone, },
{ type: Injector, },
];
IonNavDelegate.propDecorators = {
"viewport": [{ type: ViewChild, args: ['viewport', { read: ViewContainerRef },] },],
};
export const NavControllerToken = new InjectionToken('NavControllerToken');

@@ -91,5 +73,4 @@ export const ViewControllerToken = new InjectionToken('ViewControllerToken');

export function provideAppInjectable() {
const ionAppElement = document.querySelector('ion-app');
return new App(ionAppElement);
return new App();
}
//# sourceMappingURL=ion-nav.js.map

2

dist/src/directives/ion-nav.metadata.json

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"IonNavDelegate":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-nav","template":"\n <div #viewport class=\"ng-nav-viewport\"></div>\n "}]}],"members":{"viewport":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["viewport",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"}]}],"ngOnInit":[{"__symbolic":"method"}],"attachViewToDom":[{"__symbolic":"method"}],"removeViewFromDom":[{"__symbolic":"method"}]}},"NavControllerToken":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["NavControllerToken"]},"ViewControllerToken":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["ViewControllerToken"]},"AppToken":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["AppToken"]},"provideNavControllerInjectable":{"__symbolic":"function","parameters":["element"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"../providers/nav-controller","name":"NavController"},"arguments":[{"__symbolic":"reference","name":"element"}]}},"provideAppInjectable":{"__symbolic":"function"}}}]
[{"__symbolic":"module","version":4,"metadata":{"IonNavDelegate":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-nav","template":"\n <div #viewport class=\"ng-nav-viewport\"></div>\n "}]}],"members":{"viewport":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["viewport",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"}]}],"ngOnInit":[{"__symbolic":"method"}],"attachViewToDom":[{"__symbolic":"method"}],"removeViewFromDom":[{"__symbolic":"method"}]}},"NavControllerToken":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["NavControllerToken"]},"ViewControllerToken":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["ViewControllerToken"]},"AppToken":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["AppToken"]},"provideNavControllerInjectable":{"__symbolic":"function","parameters":["element"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"../providers/nav-controller","name":"NavController"},"arguments":[{"__symbolic":"reference","name":"element"}]}},"provideAppInjectable":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"../providers/app","name":"App"}}}}}]

@@ -1,5 +0,5 @@

export * from './directives/ion-nav';
export * from './module';
export * from './providers/alert-controller';
export * from './providers/app';
export * from './providers/nav-controller';
export { IonNavDelegate } from './directives/ion-nav';
export { IonicAngularModule } from './module';
export { AlertController, AlertProxy } from './providers/alert-controller';
export { App } from './providers/app';
export { NavController } from './providers/nav-controller';

@@ -1,6 +0,6 @@

export * from './directives/ion-nav';
export * from './module';
export * from './providers/alert-controller';
export * from './providers/app';
export * from './providers/nav-controller';
export { IonNavDelegate } from './directives/ion-nav';
export { IonicAngularModule } from './module';
export { AlertController } from './providers/alert-controller';
export { App } from './providers/app';
export { NavController } from './providers/nav-controller';
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./directives/ion-nav"},{"from":"./module"},{"from":"./providers/alert-controller"},{"from":"./providers/app"},{"from":"./providers/nav-controller"}]}]
[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./directives/ion-nav","export":["IonNavDelegate"]},{"from":"./module","export":["IonicAngularModule"]},{"from":"./providers/alert-controller","export":["AlertController","AlertProxy"]},{"from":"./providers/app","export":["App"]},{"from":"./providers/nav-controller","export":["NavController"]}]}]

@@ -6,20 +6,2 @@ import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

}
IonicAngularModule.decorators = [
{ type: NgModule, args: [{
declarations: [
IonNavDelegate
],
exports: [
IonNavDelegate
],
schemas: [
CUSTOM_ELEMENTS_SCHEMA
],
providers: [
AlertController
]
},] },
];
/** @nocollapse */
IonicAngularModule.ctorParameters = () => [];
//# sourceMappingURL=module.js.map
import { AlertOptions } from '@ionic/core';
export declare class AlertController {
create(opts?: AlertOptions): AlertProxy;
create(opts?: AlertOptions): any;
}

@@ -5,0 +5,0 @@ export declare function getAlertProxy(opts: AlertOptions): {

@@ -9,7 +9,2 @@ import { Injectable } from '@angular/core';

}
AlertController.decorators = [
{ type: Injectable },
];
/** @nocollapse */
AlertController.ctorParameters = () => [];
export function getAlertProxy(opts) {

@@ -16,0 +11,0 @@ return {

import { NavContainer } from '@ionic/core';
export declare class App {
private element;
constructor(element: HTMLIonAppElement);
constructor();
setTitle(title: string): void;

@@ -6,0 +6,0 @@ isScrolling(): boolean;

import { Injectable } from '@angular/core';
export class App {
constructor(element) {
this.element = element;
constructor() {
this.element = document.querySelector('ion-app');
}

@@ -34,9 +34,2 @@ setTitle(title) {

}
App.decorators = [
{ type: Injectable },
];
/** @nocollapse */
App.ctorParameters = () => [
{ type: HTMLIonAppElement, },
];
//# sourceMappingURL=app.js.map

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"App":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":7,"character":31,"context":{"typeName":"HTMLIonAppElement"}}]}],"setTitle":[{"__symbolic":"method"}],"isScrolling":[{"__symbolic":"method"}],"getRootNavs":[{"__symbolic":"method"}],"getActiveNavs":[{"__symbolic":"method"}],"getNavByIdOrName":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"App":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"setTitle":[{"__symbolic":"method"}],"isScrolling":[{"__symbolic":"method"}],"getRootNavs":[{"__symbolic":"method"}],"getActiveNavs":[{"__symbolic":"method"}],"getNavByIdOrName":[{"__symbolic":"method"}]}}}}]
{
"name": "@ionic/angular",
"version": "0.0.2-3",
"version": "0.0.2-4",
"description": "Angular specific wrappers for @ionic/core",

@@ -30,3 +30,3 @@ "keywords": [

"main": "./dist/src/index.js",
"modules": "./dist/src/index.js",
"module": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",

@@ -33,0 +33,0 @@ "files": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc