ng-boosted
Advanced tools
Comparing version 1.0.0-alpha to 1.0.0-alpha.2
22
index.js
@@ -8,8 +8,2 @@ /*! | ||
*/ | ||
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; | ||
}; | ||
import { NgModule } from '@angular/core'; | ||
@@ -43,10 +37,12 @@ import { CommonModule } from '@angular/common'; | ||
}()); | ||
NgBoostedModule = __decorate([ | ||
NgModule({ | ||
imports: [CommonModule, RouterModule, NgbModule], | ||
declarations: NG_BOOSTED_DECLARATIONS, | ||
exports: NG_BOOSTED_DECLARATIONS | ||
}) | ||
], NgBoostedModule); | ||
export { NgBoostedModule }; | ||
NgBoostedModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [CommonModule, RouterModule, NgbModule], | ||
declarations: NG_BOOSTED_DECLARATIONS, | ||
exports: NG_BOOSTED_DECLARATIONS | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
NgBoostedModule.ctorParameters = function () { return []; }; | ||
//# sourceMappingURL=index.js.map |
@@ -9,11 +9,2 @@ /*! | ||
*/ | ||
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 __param = (this && this.__param) || function (paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
}; | ||
import { Component, Input, Injectable, Inject, ElementRef } from '@angular/core'; | ||
@@ -40,17 +31,18 @@ var Swiper = require('swiper'); | ||
}()); | ||
__decorate([ | ||
Input() | ||
], OCarouselContainerComponent.prototype, "pager", void 0); | ||
__decorate([ | ||
Input() | ||
], OCarouselContainerComponent.prototype, "options", void 0); | ||
OCarouselContainerComponent = __decorate([ | ||
Injectable(), | ||
Component({ | ||
selector: 'o-carousel-container', | ||
template: "<div class=\"swiper-container\">\n <div class=\"swiper-wrapper\">\n <ng-content></ng-content>\n </div>\n <div class=\"swiper-pagination\"></div>\n <div class=\"swiper-button-prev\"></div>\n <div class=\"swiper-button-next\"></div>\n </div>" | ||
}), | ||
__param(0, Inject(ElementRef)) | ||
], OCarouselContainerComponent); | ||
export { OCarouselContainerComponent }; | ||
OCarouselContainerComponent.decorators = [ | ||
{ type: Injectable }, | ||
{ type: Component, args: [{ | ||
selector: 'o-carousel-container', | ||
template: "<div class=\"swiper-container\">\n <div class=\"swiper-wrapper\">\n <ng-content></ng-content>\n </div>\n <div class=\"swiper-pagination\"></div>\n <div class=\"swiper-button-prev\"></div>\n <div class=\"swiper-button-next\"></div>\n </div>" | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
OCarouselContainerComponent.ctorParameters = function () { return [ | ||
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] },] }, | ||
]; }; | ||
OCarouselContainerComponent.propDecorators = { | ||
'pager': [{ type: Input },], | ||
'options': [{ type: Input },], | ||
}; | ||
//# sourceMappingURL=o-carousel-container.component.js.map |
@@ -9,11 +9,2 @@ /*! | ||
*/ | ||
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 __param = (this && this.__param) || function (paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
}; | ||
import { Component, Injectable, Inject, ElementRef, Host } from '@angular/core'; | ||
@@ -32,12 +23,15 @@ import { OCarouselContainerComponent } from './o-carousel-container.component'; | ||
}()); | ||
OCarouselComponent = __decorate([ | ||
Injectable(), | ||
Component({ | ||
selector: 'o-carousel-slide', | ||
template: '<div><ng-content></ng-content></div>' | ||
}), | ||
__param(0, Inject(ElementRef)), | ||
__param(1, Host()), __param(1, Inject(OCarouselContainerComponent)) | ||
], OCarouselComponent); | ||
export { OCarouselComponent }; | ||
OCarouselComponent.decorators = [ | ||
{ type: Injectable }, | ||
{ type: Component, args: [{ | ||
selector: 'o-carousel-slide', | ||
template: '<div><ng-content></ng-content></div>' | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
OCarouselComponent.ctorParameters = function () { return [ | ||
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] },] }, | ||
{ type: OCarouselContainerComponent, decorators: [{ type: Host }, { type: Inject, args: [OCarouselContainerComponent,] },] }, | ||
]; }; | ||
//# sourceMappingURL=o-carousel.component.js.map |
@@ -8,8 +8,2 @@ /*! | ||
*/ | ||
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; | ||
}; | ||
import { Component, Input, ContentChildren, HostBinding } from '@angular/core'; | ||
@@ -23,18 +17,16 @@ var TEST_PATTERN = /xs|sm|md|lg|xl|xxl/; | ||
}()); | ||
__decorate([ | ||
Input() | ||
], ONavLink.prototype, "route", void 0); | ||
__decorate([ | ||
Input() | ||
], ONavLink.prototype, "title", void 0); | ||
__decorate([ | ||
HostBinding('class') | ||
], ONavLink.prototype, "NavLinkClass", void 0); | ||
ONavLink = __decorate([ | ||
Component({ | ||
selector: 'li[o-nav-link]', | ||
template: "\n <a [routerLink]=\"route\" class=\"nav-link\" routerLinkActive=\"active\"\n [attr.title]=\"title === 'undefined' ? null : title\"><ng-content></ng-content></a>\n " | ||
}) | ||
], ONavLink); | ||
export { ONavLink }; | ||
ONavLink.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'li[o-nav-link]', | ||
template: "\n <a [routerLink]=\"route\" class=\"nav-link\" routerLinkActive=\"active\"\n [attr.title]=\"title === 'undefined' ? null : title\"><ng-content></ng-content></a>\n " | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
ONavLink.ctorParameters = function () { return []; }; | ||
ONavLink.propDecorators = { | ||
'route': [{ type: Input },], | ||
'title': [{ type: Input },], | ||
'NavLinkClass': [{ type: HostBinding, args: ['class',] },], | ||
}; | ||
var ONavMenu = (function () { | ||
@@ -46,19 +38,17 @@ function ONavMenu() { | ||
}()); | ||
__decorate([ | ||
Input() | ||
], ONavMenu.prototype, "menuTitle", void 0); | ||
__decorate([ | ||
Input() | ||
], ONavMenu.prototype, "title", void 0); | ||
__decorate([ | ||
HostBinding('class') | ||
], ONavMenu.prototype, "NavLinkClass", void 0); | ||
ONavMenu = __decorate([ | ||
Component({ | ||
selector: 'li[o-nav-menu]', | ||
styles: ["\n a:hover {\n cursor: pointer;\n }\n "], | ||
template: "\n <a class=\"nav-link dropdown-toggle\" ngbDropdownToggle [attr.title]=\"title === 'undefined' ? null : title\">{{menuTitle}}</a>\n <ng-content class=\"dropdown-menu\"></ng-content>\n " | ||
}) | ||
], ONavMenu); | ||
export { ONavMenu }; | ||
ONavMenu.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'li[o-nav-menu]', | ||
styles: ["\n a:hover {\n cursor: pointer;\n }\n "], | ||
template: "\n <a class=\"nav-link dropdown-toggle\" ngbDropdownToggle [attr.title]=\"title === 'undefined' ? null : title\">{{menuTitle}}</a>\n <ng-content class=\"dropdown-menu\"></ng-content>\n " | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
ONavMenu.ctorParameters = function () { return []; }; | ||
ONavMenu.propDecorators = { | ||
'menuTitle': [{ type: Input },], | ||
'title': [{ type: Input },], | ||
'NavLinkClass': [{ type: HostBinding, args: ['class',] },], | ||
}; | ||
var ONavbarComponent = (function () { | ||
@@ -71,24 +61,18 @@ function ONavbarComponent() { | ||
}()); | ||
__decorate([ | ||
Input() | ||
], ONavbarComponent.prototype, "homeRoute", void 0); | ||
__decorate([ | ||
Input() | ||
], ONavbarComponent.prototype, "breakpoint", void 0); | ||
__decorate([ | ||
Input() | ||
], ONavbarComponent.prototype, "brandPath", void 0); | ||
__decorate([ | ||
Input() | ||
], ONavbarComponent.prototype, "brandLabel", void 0); | ||
__decorate([ | ||
ContentChildren(ONavLink) | ||
], ONavbarComponent.prototype, "items", void 0); | ||
ONavbarComponent = __decorate([ | ||
Component({ | ||
selector: 'o-navbar', | ||
template: "\n <nav [class]=\"'navbar navbar-inverse ' + (pattern.test(breakpoint) ? 'navbar-toggleable-'+breakpoint : 'navbar-toggleable-sm')\" role=\"navigation\">\n <div class=\"container\">\n <a class=\"navbar-brand logo\" [routerLink]=\"homeRoute\">\n <img [attr.src]=\"brandPath\" [attr.alt]=\"brandLabel\" [attr.title]=\"brandLabel\">\n </a>\n <button class=\"navbar-toggler\" type=\"button\" (click)=\"isCollapsed = !isCollapsed\"\n [attr.aria-expanded]=\"!isCollapsed\" aria-controls=\"collapseExample\">\n <span class=\"sr-only\">toggle navigation</span>\n <span class=\"icon-menu\"></span>\n </button>\n <div class=\"navbar-collapse collapse\" id=\"collapsingNavbarHead\" [ngbCollapse]=\"isCollapsed\">\n <ul class=\"navbar-nav\">\n <ng-content></ng-content>\n </ul>\n </div>\n </div>\n </nav>\n " | ||
}) | ||
], ONavbarComponent); | ||
export { ONavbarComponent }; | ||
ONavbarComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'o-navbar', | ||
template: "\n <nav [class]=\"'navbar navbar-inverse ' + (pattern.test(breakpoint) ? 'navbar-toggleable-'+breakpoint : 'navbar-toggleable-sm')\" role=\"navigation\">\n <div class=\"container\">\n <a class=\"navbar-brand logo\" [routerLink]=\"homeRoute\">\n <img [attr.src]=\"brandPath\" [attr.alt]=\"brandLabel\" [attr.title]=\"brandLabel\">\n </a>\n <button class=\"navbar-toggler\" type=\"button\" (click)=\"isCollapsed = !isCollapsed\"\n [attr.aria-expanded]=\"!isCollapsed\" aria-controls=\"collapseExample\">\n <span class=\"sr-only\">toggle navigation</span>\n <span class=\"icon-menu\"></span>\n </button>\n <div class=\"navbar-collapse collapse\" id=\"collapsingNavbarHead\" [ngbCollapse]=\"isCollapsed\">\n <ul class=\"navbar-nav\">\n <ng-content></ng-content>\n </ul>\n </div>\n </div>\n </nav>\n " | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
ONavbarComponent.ctorParameters = function () { return []; }; | ||
ONavbarComponent.propDecorators = { | ||
'homeRoute': [{ type: Input },], | ||
'breakpoint': [{ type: Input },], | ||
'brandPath': [{ type: Input },], | ||
'brandLabel': [{ type: Input },], | ||
'items': [{ type: ContentChildren, args: [ONavLink,] },], | ||
}; | ||
//# sourceMappingURL=o-navbar.component.js.map |
@@ -7,8 +7,2 @@ /*! | ||
*/ | ||
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; | ||
}; | ||
import { Component, Input } from '@angular/core'; | ||
@@ -29,31 +23,21 @@ var OSwitchComponent = (function () { | ||
}()); | ||
__decorate([ | ||
Input() | ||
], OSwitchComponent.prototype, "inputId", void 0); | ||
__decorate([ | ||
Input() | ||
], OSwitchComponent.prototype, "toggled", void 0); | ||
__decorate([ | ||
Input() | ||
], OSwitchComponent.prototype, "rounded", void 0); | ||
__decorate([ | ||
Input() | ||
], OSwitchComponent.prototype, "successColor", void 0); | ||
__decorate([ | ||
Input() | ||
], OSwitchComponent.prototype, "customWidth", void 0); | ||
__decorate([ | ||
Input() | ||
], OSwitchComponent.prototype, "onLabel", void 0); | ||
__decorate([ | ||
Input() | ||
], OSwitchComponent.prototype, "offLabel", void 0); | ||
OSwitchComponent = __decorate([ | ||
Component({ | ||
selector: 'o-switch', | ||
styles: ["\n .o-switch {\n display: inline-block;\n }\n "], | ||
template: "\n <div class=\"o-switch\" (click)=\"toggleSwitch()\">\n <input class=\"checkbox sr-only\" [class.success]=\"successColor\" [id]=\"inputId\" type=\"checkbox\" [checked]=\"toggled\"/>\n <div class=\"toggle form-control-label\" [class.rounded]=\"rounded\" aria-hidden=\"true\"\n [ngStyle]=\"{'width': customWidth}\">\n <span class=\"on\" [class.icon-checkbox-tick]=\"onLabel === 'on'\" role=\"presentation\">\n <span [class.sr-only]=\"onLabel === 'on'\">{{onLabel}}</span>\n </span>\n <span class=\"off\" [class.icon-delete]=\"offLabel === 'off'\" role=\"presentation\">\n <span [class.sr-only]=\"offLabel === 'off'\">{{offLabel}}</span>\n </span>\n </div>\n </div>\n " | ||
}) | ||
], OSwitchComponent); | ||
export { OSwitchComponent }; | ||
OSwitchComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'o-switch', | ||
styles: ["\n .o-switch {\n display: inline-block;\n }\n "], | ||
template: "\n <div class=\"o-switch\" (click)=\"toggleSwitch()\">\n <input class=\"checkbox sr-only\" [class.success]=\"successColor\" [id]=\"inputId\" type=\"checkbox\" [checked]=\"toggled\"/>\n <div class=\"toggle form-control-label\" [class.rounded]=\"rounded\" aria-hidden=\"true\"\n [ngStyle]=\"{'width': customWidth}\">\n <span class=\"on\" [class.icon-checkbox-tick]=\"onLabel === 'on'\" role=\"presentation\">\n <span [class.sr-only]=\"onLabel === 'on'\">{{onLabel}}</span>\n </span>\n <span class=\"off\" [class.icon-delete]=\"offLabel === 'off'\" role=\"presentation\">\n <span [class.sr-only]=\"offLabel === 'off'\">{{offLabel}}</span>\n </span>\n </div>\n </div>\n " | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
OSwitchComponent.ctorParameters = function () { return []; }; | ||
OSwitchComponent.propDecorators = { | ||
'inputId': [{ type: Input },], | ||
'toggled': [{ type: Input },], | ||
'rounded': [{ type: Input },], | ||
'successColor': [{ type: Input },], | ||
'customWidth': [{ type: Input },], | ||
'onLabel': [{ type: Input },], | ||
'offLabel': [{ type: Input },], | ||
}; | ||
//# sourceMappingURL=o-switch.component.js.map |
{ | ||
"name": "ng-boosted", | ||
"version": "1.0.0-alpha", | ||
"version": "1.0.0-alpha.2", | ||
"description": "Orange Boosted with Angular", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -8,8 +8,2 @@ /*! | ||
*/ | ||
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; | ||
}; | ||
import { Component, Input, HostListener } from '@angular/core'; | ||
@@ -30,16 +24,16 @@ var ScrollTopComponent = (function () { | ||
}()); | ||
__decorate([ | ||
Input() | ||
], ScrollTopComponent.prototype, "label", void 0); | ||
__decorate([ | ||
HostListener('window:scroll', []) | ||
], ScrollTopComponent.prototype, "onWindowScroll", null); | ||
ScrollTopComponent = __decorate([ | ||
Component({ | ||
selector: 'scroll-top', | ||
styles: ['a { display: inline;}'], | ||
template: "\n <a href=\"javascript:void(0)\" class=\"o-scroll-up\" title=\"{{label}}\"\n onclick=\"window.scrollTo(0, 0);\" *ngIf=\"showMe\">\n <span class=\"o-scroll-up-text hidden-sm-down\">{{label}}</span>\n <span class=\"o-scroll-up-icon\" aria-hidden=\"true\"></span>\n </a>\n " | ||
}) | ||
], ScrollTopComponent); | ||
export { ScrollTopComponent }; | ||
ScrollTopComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'scroll-top', | ||
styles: ['a { display: inline;}'], | ||
template: "\n <a href=\"javascript:void(0)\" class=\"o-scroll-up\" title=\"{{label}}\"\n onclick=\"window.scrollTo(0, 0);\" *ngIf=\"showMe\">\n <span class=\"o-scroll-up-text hidden-sm-down\">{{label}}</span>\n <span class=\"o-scroll-up-icon\" aria-hidden=\"true\"></span>\n </a>\n " | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
ScrollTopComponent.ctorParameters = function () { return []; }; | ||
ScrollTopComponent.propDecorators = { | ||
'label': [{ type: Input },], | ||
'onWindowScroll': [{ type: HostListener, args: ['window:scroll', [],] },], | ||
}; | ||
//# sourceMappingURL=scroll-top.component.js.map |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
63322
0
382