Browse Source

dependencias actualizadas

robert2206 8 years ago
parent
commit
77edba72de

+ 20 - 6
package.json

@@ -13,12 +13,23 @@
     "run:before": "build"
   },
   "dependencies": {
-    "@ionic/storage": "^1.0.3",
+    "@angular/common": "2.1.1",
+    "@angular/compiler": "2.1.1",
+    "@angular/compiler-cli": "2.1.1",
+    "@angular/core": "2.1.1",
+    "@angular/forms": "2.1.1",
+    "@angular/http": "2.1.1",
+    "@angular/platform-browser": "2.1.1",
+    "@angular/platform-browser-dynamic": "2.1.1",
+    "@angular/platform-server": "2.1.1",
+    "@ionic/storage": "1.1.6",
+    "ionic-angular": "2.0.0-rc.3",
+    "ionic-native": "2.2.3",
+    "ionicons": "3.0.0",
+    "rxjs": "5.0.0-beta.12",
+    "zone.js": "0.6.26",
     "async": "^2.1.2",
     "chart.js": "^2.3.0",
-    "ionic-angular": "^2.0.0-rc.0",
-    "ionic-native": "^2.0.3",
-    "ionicons": "^3.0.0",
     "pouchdb": "^6.0.7",
     "pouchdb-adapter-cordova-sqlite": "^2.0.0",
     "pouchdb-adapter-websql-core": "^6.0.7",
@@ -28,10 +39,13 @@
     "rollup-plugin-node-globals": "^1.0.9"
   },
   "devDependencies": {
-    "@ionic/app-scripts": "^0.0.23",
+    "@ionic/app-scripts": "0.0.45",
+    "typescript": "2.0.6",
+    "gaze": "^1.1.2",
     "ng2-chartjs2": "^1.2.0",
     "node-sass": "^3.13.0",
-    "typescript": "^2.0.3"
+    "tsc-wrapper": "^1.0.0",
+    "zone.js": "^0.6.26"
   },
   "description": "odoo_mobile: An Ionic project",
   "cordovaPlugins": [

+ 0 - 0
src/assets/manifest.json → src/manifest.json


+ 1 - 4
src/pages/product-details/product-details.ts

@@ -53,7 +53,7 @@ export class ProductDetailsPage {
         }
     ];
 
-     values = [
+    values = [
          {
              id: 1,
              name: "36",
@@ -195,9 +195,6 @@ export class ProductDetailsPage {
             attribute: 1,
             value: 1
         });
-
-        console.log(this.product.attribute_line_ids);
-        
     } 
 
     /**

+ 10 - 0
src/pipes/product-attribute-pipe.ts

@@ -0,0 +1,10 @@
+import { Pipe, PipeTransform } from '@angular/core';
+
+@Pipe({ name: 'productAttr' })
+export class ProductAttributePipe implements PipeTransform {
+    transform(attrs: Array<any>, id: string) {
+        return attrs.filter(item => {
+            return null
+        });
+    }
+}

+ 0 - 0
src/assets/service-worker.js → src/service-worker.js