Skip to content

Commit

Permalink
fix(build): Set build to fix paths for systemjs builder
Browse files Browse the repository at this point in the history
  • Loading branch information
StacyGay committed Jul 12, 2016
1 parent 304fbec commit 2a0be44
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 11 deletions.
98 changes: 96 additions & 2 deletions bundles/fuel-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -3456,6 +3456,98 @@ System.registerDynamic("fuel-ui/dist/components/TextExpander/TextExpander", ["@a
return module.exports;
});

System.registerDynamic("fuel-ui/dist/components/OffCanvasMenu/OffCanvasMenu", ["@angular/core", "@angular/common"], true, function($__require, exports, module) {
"use strict";
;
var define,
global = this,
GLOBAL = this;
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 = $__require('@angular/core');
var core_2 = $__require('@angular/core');
var core_3 = $__require('@angular/core');
var common_1 = $__require('@angular/common');
var OffCanvasMenuClose = (function() {
function OffCanvasMenuClose() {
this.close = new core_2.EventEmitter();
}
OffCanvasMenuClose.prototype.onClick = function(e) {
this.close.next(null);
};
__decorate([core_1.Output(), __metadata('design:type', Object)], OffCanvasMenuClose.prototype, "close", void 0);
__decorate([core_2.HostListener("click", ["$event"]), __metadata('design:type', Function), __metadata('design:paramtypes', [Object]), __metadata('design:returntype', void 0)], OffCanvasMenuClose.prototype, "onClick", null);
OffCanvasMenuClose = __decorate([core_1.Directive({selector: "[offCanvasMenuClose], .off-canvas-menu-close"}), __metadata('design:paramtypes', [])], OffCanvasMenuClose);
return OffCanvasMenuClose;
}());
exports.OffCanvasMenuClose = OffCanvasMenuClose;
var OffCanvasMenu = (function() {
function OffCanvasMenu() {
this.origin = "left";
this.width = "25%";
this.height = "25%";
this.isOpen = false;
this.overlayState = null;
this.openState = null;
}
OffCanvasMenu.prototype.ngOnInit = function() {
if (this.origin == "left" || this.origin == "right")
this.height = "100%";
else if (this.origin == "top" || this.origin == "bottom")
this.width = "100%";
};
OffCanvasMenu.prototype.ngAfterContentInit = function() {
var _this = this;
console.log(this.closeButtons);
this.closeButtons.map(function(b) {
return b.close.subscribe(function() {
return _this.toggleMenu();
});
});
};
OffCanvasMenu.prototype.ngOnDestroy = function() {};
OffCanvasMenu.prototype.toggleMenu = function() {
this.isOpen = !this.isOpen;
if (this.isOpen) {
this.overlayState = "in";
this.openState = "open";
} else {
this.overlayState = null;
this.openState = null;
}
};
__decorate([core_1.Input(), __metadata('design:type', Object)], OffCanvasMenu.prototype, "origin", void 0);
__decorate([core_1.Input(), __metadata('design:type', Object)], OffCanvasMenu.prototype, "width", void 0);
__decorate([core_1.Input(), __metadata('design:type', Object)], OffCanvasMenu.prototype, "height", void 0);
__decorate([core_1.ContentChildren(OffCanvasMenuClose), __metadata('design:type', core_1.QueryList)], OffCanvasMenu.prototype, "closeButtons", void 0);
OffCanvasMenu = __decorate([core_1.Component({
selector: "off-canvas-menu",
template: "\n <div *ngIf=\"isOpen\" @fade=\"overlayState\" class=\"off-canvas-menu-overlay\" \n (click)=\"toggleMenu()\"></div>\n\n <div *ngIf=\"isOpen\" @open=\"openState\" class=\"off-canvas-menu\"\n [class.off-canvas-menu-left]=\"origin.toLowerCase() == 'left'\"\n [class.off-canvas-menu-right]=\"origin.toLowerCase() == 'right'\"\n [class.off-canvas-menu-top]=\"origin.toLowerCase() == 'top'\"\n [class.off-canvas-menu-bottom]=\"origin.toLowerCase() == 'bottom'\"\n [style.width]=\"width\"\n [style.height]=\"height\">\n <ng-content></ng-content> \n </div>\n ",
styles: ["\n .off-canvas-menu-overlay {\n display: block;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 900;\n background-color: #55595c;\n opacity: 0; }\n\n .off-canvas-menu {\n display: block;\n position: fixed;\n z-index: 1000;\n background-color: #fff; }\n .off-canvas-menu.off-canvas-menu-left {\n top: 0;\n left: 0;\n bottom: 0;\n transform: translate(-100%, 0);\n width: 75%; }\n .off-canvas-menu.off-canvas-menu-right {\n top: 0;\n right: 0;\n bottom: 0;\n transform: translate(100%, 0);\n width: 75%; }\n .off-canvas-menu.off-canvas-menu-top {\n top: 0;\n left: 0;\n right: 0;\n transform: translate(0, -100%);\n height: 75%; }\n .off-canvas-menu.off-canvas-menu-bottom {\n left: 0;\n right: 0;\n bottom: 0;\n transform: translate(0, 100%);\n height: 75%; }\n "],
directives: [common_1.CORE_DIRECTIVES, OffCanvasMenuClose],
animations: [core_3.trigger("open", [core_3.state("open", core_3.style({transform: "translate(0,0)"})), core_3.transition("void => open", [core_3.animate("200ms ease")]), core_3.transition("open => void", [core_3.animate("200ms ease")])]), core_3.trigger("fade", [core_3.state("in", core_3.style({opacity: ".75"})), core_3.transition("void => in", [core_3.animate("200ms ease")]), core_3.transition("in => void", [core_3.animate("200ms ease")])])]
}), __metadata('design:paramtypes', [])], OffCanvasMenu);
return OffCanvasMenu;
}());
exports.OffCanvasMenu = OffCanvasMenu;
exports.OFF_CANVAS_MENU_PROVIDERS = [OffCanvasMenu, OffCanvasMenuClose];
return module.exports;
});

System.registerDynamic("fuel-ui/dist/animations/Collapse/Collapse", ["@angular/core"], true, function($__require, exports, module) {
"use strict";
;
Expand Down Expand Up @@ -3756,7 +3848,7 @@ System.registerDynamic("fuel-ui/dist/components/Tag/TagSet", ["@angular/core", "
return module.exports;
});

System.registerDynamic("fuel-ui/dist/components/components", ["./Accordion/AccordionItem", "./Alert/Alert", "./Carousel/Carousel", "./DatePicker/DatePickerProviders", "./Modal/Modal", "./Pagination/Pagination", "./InfiniteScroller/InfiniteScroller", "./Dropdown/Dropdown", "./Tab/Tab", "./Tag/Tag", "./TableSortable/TableSortable", "./Slider/Slider", "./TimePicker/TimePicker", "./TextExpander/TextExpander", "./Accordion/Accordion", "./Tab/TabSet", "./TableSortable/TableSortableColumn", "./TableSortable/TableSortableSorting", "./Tag/TagSet"], true, function($__require, exports, module) {
System.registerDynamic("fuel-ui/dist/components/components", ["./Accordion/AccordionItem", "./Alert/Alert", "./Carousel/Carousel", "./DatePicker/DatePickerProviders", "./Modal/Modal", "./Pagination/Pagination", "./InfiniteScroller/InfiniteScroller", "./Dropdown/Dropdown", "./Tab/Tab", "./Tag/Tag", "./TableSortable/TableSortable", "./Slider/Slider", "./TimePicker/TimePicker", "./TextExpander/TextExpander", "./OffCanvasMenu/OffCanvasMenu", "./Accordion/Accordion", "./Tab/TabSet", "./TableSortable/TableSortableColumn", "./TableSortable/TableSortableSorting", "./Tag/TagSet"], true, function($__require, exports, module) {
"use strict";
;
var define,
Expand All @@ -3781,7 +3873,8 @@ System.registerDynamic("fuel-ui/dist/components/components", ["./Accordion/Accor
var Slider_1 = $__require('./Slider/Slider');
var TimePicker_1 = $__require('./TimePicker/TimePicker');
var TextExpander_1 = $__require('./TextExpander/TextExpander');
exports.FUELUI_COMPONENT_PROVIDERS = [AccordionItem_1.ACCORDION_PROVIDERS, Alert_1.ALERT_PROVIDERS, Carousel_1.CAROUSEL_PROVIDERS, DatePickerProviders_1.DATE_PICKER_PROVIDERS, Modal_1.MODAL_PROVIDERS, Pagination_1.PAGINATION_PROVIDERS, InfiniteScroller_1.INFINITE_SCROLLER_PROVIDERS, Dropdown_1.DROPDOWN_COMPONENT_PROVIDERS, TableSortable_1.TABLESORTABLE_PROVIDERS, Slider_1.SLIDER_COMPONENT_PROVIDERS, Tab_1.TAB_PROVIDERS, Tag_1.TAG_PROVIDERS, TextExpander_1.TEXTEXPANDER_PROVIDERS, TimePicker_1.TIMEPICKER_PROVIDERS];
var OffCanvasMenu_1 = $__require('./OffCanvasMenu/OffCanvasMenu');
exports.FUELUI_COMPONENT_PROVIDERS = [AccordionItem_1.ACCORDION_PROVIDERS, Alert_1.ALERT_PROVIDERS, Carousel_1.CAROUSEL_PROVIDERS, DatePickerProviders_1.DATE_PICKER_PROVIDERS, Modal_1.MODAL_PROVIDERS, Pagination_1.PAGINATION_PROVIDERS, InfiniteScroller_1.INFINITE_SCROLLER_PROVIDERS, Dropdown_1.DROPDOWN_COMPONENT_PROVIDERS, TableSortable_1.TABLESORTABLE_PROVIDERS, Slider_1.SLIDER_COMPONENT_PROVIDERS, Tab_1.TAB_PROVIDERS, Tag_1.TAG_PROVIDERS, TextExpander_1.TEXTEXPANDER_PROVIDERS, TimePicker_1.TIMEPICKER_PROVIDERS, OffCanvasMenu_1.OFF_CANVAS_MENU_PROVIDERS];
__export($__require('./Accordion/Accordion'));
__export($__require('./Accordion/AccordionItem'));
__export($__require('./Alert/Alert'));
Expand All @@ -3801,6 +3894,7 @@ System.registerDynamic("fuel-ui/dist/components/components", ["./Accordion/Accor
__export($__require('./Slider/Slider'));
__export($__require('./TimePicker/TimePicker'));
__export($__require('./TextExpander/TextExpander'));
__export($__require('./OffCanvasMenu/OffCanvasMenu'));
return module.exports;
});

Expand Down
Loading

0 comments on commit 2a0be44

Please sign in to comment.