#33 draft gulp

This commit is contained in:
Mario Romano
2016-04-19 11:57:05 +01:00
parent c90fac92a8
commit 88bd8ea345
91 changed files with 52110 additions and 96 deletions

View File

@@ -0,0 +1,65 @@
System.register(["angular2/core"], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var core_1;
var SideMenu;
return {
setters:[
function (core_1_1) {
core_1 = core_1_1;
}],
execute: function() {
SideMenu = (function () {
function SideMenu(el) {
this.el = el;
this.title = '';
this.direction = 'left';
this.isOpen = false;
}
SideMenu.prototype.onClick = function (event) {
event.preventDefault();
event.stopPropagation();
};
SideMenu.prototype.toggle = function () {
this.isOpen = !this.isOpen;
};
SideMenu.prototype.open = function () {
this.isOpen = true;
};
SideMenu.prototype.close = function () {
this.isOpen = false;
};
__decorate([
core_1.Input(),
__metadata('design:type', String)
], SideMenu.prototype, "title", void 0);
__decorate([
core_1.Input(),
__metadata('design:type', String)
], SideMenu.prototype, "direction", void 0);
SideMenu = __decorate([
core_1.Component({
selector: 'side-menu',
host: {
'(click)': 'onClick($event)',
},
template: "\n <nav class=\"cbp-spmenu cbp-spmenu-vertical cbp-spmenu-{{direction}} inline-menu\" \n [ngClass]=\"{ 'cbp-spmenu-open': isOpen }\">\n <h3>\n {{title}}\n <a href=\"#\" class=\"menu-close pull-right\" (click)=\"close()\">\n <i class=\"glyphicon glyphicon-remove\"></i>\n </a>\n </h3>\n <ng-content></ng-content>\n </nav>\n "
}),
__metadata('design:paramtypes', [core_1.ElementRef])
], SideMenu);
return SideMenu;
}());
exports_1("SideMenu", SideMenu);
}
}
});
//# sourceMappingURL=SideMenu.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SideMenu.js","sourceRoot":"","sources":["SideMenu.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;YAqBA;gBAKI,kBAAoB,EAAc;oBAAd,OAAE,GAAF,EAAE,CAAY;oBAJzB,UAAK,GAAW,EAAE,CAAC;oBACnB,cAAS,GAAW,MAAM,CAAC;oBACpC,WAAM,GAAY,KAAK,CAAC;gBAIxB,CAAC;gBAED,0BAAO,GAAP,UAAQ,KAAK;oBACT,KAAK,CAAC,cAAc,EAAE,CAAC;oBACvB,KAAK,CAAC,eAAe,EAAE,CAAC;gBAC5B,CAAC;gBAED,yBAAM,GAAN;oBACI,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;gBAC/B,CAAC;gBAED,uBAAI,GAAJ;oBACI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;gBACvB,CAAC;gBAED,wBAAK,GAAL;oBACI,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;gBACxB,CAAC;gBAvBD;oBAAC,YAAK,EAAE;;uDAAA;gBACR;oBAAC,YAAK,EAAE;;2DAAA;gBArBZ;oBAAC,gBAAS,CAAC;wBACP,QAAQ,EAAE,WAAW;wBACrB,IAAI,EAAE;4BACF,SAAS,EAAE,iBAAiB;yBAE/B;wBACD,QAAQ,EAAE,kcAWT;qBACJ,CAAC;;4BAAA;gBA0BF,eAAC;YAAD,CAAC,AAzBD,IAyBC;YAzBD,+BAyBC,CAAA"}

View File

@@ -0,0 +1,17 @@
System.register([], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var DocumentEntity;
return {
setters:[],
execute: function() {
DocumentEntity = (function () {
function DocumentEntity() {
}
return DocumentEntity;
}());
exports_1("DocumentEntity", DocumentEntity);
}
}
});
//# sourceMappingURL=document.entity.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"document.entity.js","sourceRoot":"","sources":["document.entity.ts"],"names":[],"mappings":";;;;;;;YAGA;gBAAA;gBA6BA,CAAC;gBAAD,qBAAC;YAAD,CAAC,AA7BD,IA6BC;YA7BD,2CA6BC,CAAA"}

View File

@@ -0,0 +1,18 @@
System.register([], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var FolderEntity;
return {
setters:[],
execute: function() {
// contains only limited subset of available fields
FolderEntity = (function () {
function FolderEntity() {
}
return FolderEntity;
}());
exports_1("FolderEntity", FolderEntity);
}
}
});
//# sourceMappingURL=folder.entity.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"folder.entity.js","sourceRoot":"","sources":["folder.entity.ts"],"names":[],"mappings":";;;;;;;YAEA,mDAAmD;YACnD;gBAAA;gBAEA,CAAC;gBAAD,mBAAC;YAAD,CAAC,AAFD,IAEC;YAFD,uCAEC,CAAA"}

View File

@@ -0,0 +1,24 @@
System.register([], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var LocationEntity, LocationParentEntity;
return {
setters:[],
execute: function() {
// contains only limited subset of available fields
LocationEntity = (function () {
function LocationEntity() {
}
return LocationEntity;
}());
exports_1("LocationEntity", LocationEntity);
LocationParentEntity = (function () {
function LocationParentEntity() {
}
return LocationParentEntity;
}());
exports_1("LocationParentEntity", LocationParentEntity);
}
}
});
//# sourceMappingURL=location.entity.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"location.entity.js","sourceRoot":"","sources":["location.entity.ts"],"names":[],"mappings":";;;;;;;YAAA,mDAAmD;YACnD;gBAAA;gBAQA,CAAC;gBAAD,qBAAC;YAAD,CAAC,AARD,IAQC;YARD,2CAQC,CAAA;YAED;gBAAA;gBAEA,CAAC;gBAAD,2BAAC;YAAD,CAAC,AAFD,IAEC;YAFD,uDAEC,CAAA"}

View File

@@ -0,0 +1,40 @@
System.register(["angular2/core"], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var core_1;
var AppNavBar;
return {
setters:[
function (core_1_1) {
core_1 = core_1_1;
}],
execute: function() {
AppNavBar = (function () {
function AppNavBar() {
}
AppNavBar = __decorate([
core_1.Component({
selector: 'app-navbar',
template: "\n <nav class=\"navbar navbar-default navbar-fixed-top\">\n <div class=\"container-fluid\">\n <ng-content></ng-content>\n </div>\n </nav>\n ",
styles: [
"\n :host .image-button {\n padding-bottom: 10px;\n padding-top: 12px;\n max-height: 50px;\n }\n "
]
}),
__metadata('design:paramtypes', [])
], AppNavBar);
return AppNavBar;
}());
exports_1("AppNavBar", AppNavBar);
}
}
});
//# sourceMappingURL=navbar.component.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"navbar.component.js","sourceRoot":"","sources":["navbar.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;YAqBA;gBAAA;gBAEA,CAAC;gBArBD;oBAAC,gBAAS,CAAC;wBACP,QAAQ,EAAE,YAAY;wBACtB,QAAQ,EAAE,oMAMT;wBACD,MAAM,EAAE;4BACJ,wJAMC;yBACJ;qBACJ,CAAC;;6BAAA;gBAGF,gBAAC;YAAD,CAAC,AAFD,IAEC;YAFD,iCAEC,CAAA"}

View File

@@ -0,0 +1,71 @@
System.register(['angular2/core'], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var core_1;
var Tabs, Tab;
return {
setters:[
function (core_1_1) {
core_1 = core_1_1;
}],
execute: function() {
Tabs = (function () {
function Tabs() {
this.tabs = [];
}
Tabs.prototype.selectTab = function (tab, $event) {
this.tabs.forEach(function (tab) {
tab.active = false;
});
tab.active = true;
if ($event) {
$event.preventDefault();
}
};
Tabs.prototype.addTab = function (tab) {
if (this.tabs.length === 0) {
tab.active = true;
}
this.tabs.push(tab);
};
Tabs = __decorate([
core_1.Component({
selector: 'tabs',
template: "\n <ul class=\"nav nav-tabs\">\n <li *ngFor=\"#tab of tabs\" (click)=\"selectTab(tab, $event)\" [class.active]=\"tab.active\">\n <a href=\"#\">{{tab.title}}</a>\n </li>\n </ul>\n <ng-content></ng-content>\n "
}),
__metadata('design:paramtypes', [])
], Tabs);
return Tabs;
}());
exports_1("Tabs", Tabs);
Tab = (function () {
function Tab(tabs) {
tabs.addTab(this);
}
__decorate([
core_1.Input('tabTitle'),
__metadata('design:type', Object)
], Tab.prototype, "title", void 0);
Tab = __decorate([
core_1.Component({
selector: 'tab',
template: "\n <div [hidden]=\"!active\">\n <ng-content></ng-content>\n </div>\n "
}),
__metadata('design:paramtypes', [Tabs])
], Tab);
return Tab;
}());
exports_1("Tab", Tab);
}
}
});
//# sourceMappingURL=tabs.js.map

View File

@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