io-ng-util
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -1,4 +0,12 @@ | ||
"use strict"; | ||
'use strict'; | ||
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); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
'use strict'; | ||
var core_1 = require("@angular/core"); | ||
@@ -67,4 +75,8 @@ var platform_browser_1 = require("@angular/platform-browser"); | ||
}; | ||
DTS = __decorate([ | ||
core_1.Injectable(), | ||
__metadata("design:paramtypes", [platform_browser_1.Title]) | ||
], DTS); | ||
return DTS; | ||
}()); | ||
exports.DTS = DTS; |
'use strict'; | ||
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); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -50,4 +59,8 @@ var core_1 = require("@angular/core"); | ||
}; | ||
Env = __decorate([ | ||
core_1.Injectable(), | ||
__metadata("design:paramtypes", []) | ||
], Env); | ||
return Env; | ||
}()); | ||
exports.Env = Env; |
'use strict'; | ||
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); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -89,2 +98,8 @@ require("rxjs/add/operator/catch"); | ||
}; | ||
HttpService = __decorate([ | ||
core_1.Injectable(), | ||
__metadata("design:paramtypes", [http_1.Http, | ||
http_1.Jsonp, | ||
env_1.Env]) | ||
], HttpService); | ||
return HttpService; | ||
@@ -91,0 +106,0 @@ }()); |
'use strict'; | ||
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); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -38,4 +47,17 @@ var core_1 = require("@angular/core"); | ||
}; | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata("design:type", String) | ||
], ContactComponent.prototype, "url", void 0); | ||
ContactComponent = __decorate([ | ||
core_1.Component({ | ||
selector: 'io-contact-module', | ||
styles: ["\n .DIV_1.closed {\nheight:4px;\n}\n\n.DIV_1.closed .P_5, .DIV_1.closed .DIV_7{\ndisplay:none\n}\n\n.DIV_1.closed .DIV_4{\nheight:4px;\ndisplay:block;\n}\n\n.DIV_1.closed .A_2 {\nheight:18px;\npadding-top:2px;\n}\n\n.DIV_1 {\nbackground:#008571 none repeat scroll 0 0 / auto padding-box border-box;\nborder:0 none #fff;\nborder-radius:5px 5px 0 0;\nbottom:0;\nbox-shadow:rgba(0,0,0,0.6) 0 0 7px 0;\ncolor:#fff;\ncolumn-rule-color:#fff;\nheight:175px;\nleft:100px;\noutline:#fff none 0;\nperspective-origin:150px 87.5px;\nposition:fixed;\nright:100%;\ntransform:matrix(1,0,0,1,0,0);\ntransform-origin:150px 87.5px;\nwidth:300px;\nz-index:2147483647;\n-webkit-transition: height 0.5s ease-in-out;\n-moz-transition: height 0.5s ease-in-out;\n-ms-transition: height 0.5s ease-in-out;\n-o-transition: height 0.5s ease-in-out;\n}\n\n.A_2{\nbackground: #008571 none repeat scroll 0 0 / auto padding-box border-box;\nborder: 0 none #fff;\nborder-radius: 5px 5px 0 0;\nbottom: 173px;\nbox-shadow: rgba(0,0,0,0.6) 0 0 7px 0;\ncolor: #fff;\nposition: absolute;\nright: 20px;\ntext-align: center;\ntext-decoration: none;\ntop: -18px;\ntransform-origin: 20px 10px;\ntransition: color .3s ease 0;\nwidth: 40px;\n}\n\n.A_2:before{\nbackground: #008571 none repeat scroll 0 0 / auto padding-box border-box;\ncontent: \"\";\nheight: 8px;\nleft: -4px;\nposition: absolute;\nright: -4px;\ntop: 20px;\ntransform-origin: 24px 4px;\n}\n\n.closed .SPAN_3 {\n background: rgba(0,0,0,0) url(/public/images/widget_icons_dark.png) no-repeat scroll 0 0 / auto padding-box border-box;\n}\n\n.SPAN_3{\nbackground: rgba(0,0,0,0) url(/public/images/widget_icons_dark.png) no-repeat scroll -32px 0 / auto padding-box border-box;\ndisplay: inline-block;\nheight: 16px;\nwidth: 16px;\n}\n\n.DIV_4 {\nbackground:#008571 none repeat scroll 0 0 / auto padding-box border-box;\nborder:0 none #fff;\nborder-radius:5px 5px 0 0;\ncolor:#fff;\ncolumn-rule-color:#fff;\ncursor:pointer;\ndisplay:none;\nheight:4px;\noutline:#fff none 0;\nperspective-origin:50% 50%;\ntransform-origin:50% 50%;\nwidth:auto;\n}\n\n.P_5{\nborder:0 none #fff;\ncolor:#fff;\ncolumn-rule-color:#fff;\ncursor:pointer;\nheight:20px;\nmargin:0;\nmin-height:17px;\noutline:#fff none 0;\noverflow-wrap:break-word;\npadding:12px;\nperspective-origin:150px 37.5px;\ntext-align:center;\ntransform-origin:150px 37.5px;\nwidth:276px;\nword-break:break-word;\nword-wrap:break-word;\n}\n\n.SPAN_6{\nborder:0 none #fff;\ncolor:#fff;\ncolumn-rule-color:#fff;\ncursor:pointer;\noutline:#fff none 0;\noverflow-wrap:break-word;\ntext-align:center;\nword-break:break-word;\nword-wrap:break-word;\n}\n\n.DIV_7{\nborder:0 none #fff;\ncolor:#fff;\ncolumn-rule-color:#fff;\nheight:100px;\noutline:#fff none 0;\nperspective-origin:150px 50px;\ntransform-origin:150px 50px;\nwidth:300px;\n}\n\n.DIV_9{\noverflow:auto;\npadding:0 11px 0 12px;\n}\n\n.DIV_10{\nbackground: #1a9f8b none repeat scroll 0 0 / auto padding-box border-box;\nborder-bottom: 0 none #fff;\nborder-left: 0 none #fff;\nborder-right: 0 none #fff;\nborder-top: 1px solid #33b8a4;\nbox-sizing: border-box;\nmax-height: 80px;\nmargin: 0 -12px;\npadding:5px;\noverflow-y: scroll;\n}\n\n.DIV_11{\nborder-bottom: 0 none #fff;\nborder-left: 0 none #fff;\nborder-right: 0 none #fff;\nborder-top: 1px solid #006c58;\n}\n\n.DIV_12{\nfloat:right;\npadding:12px 12px 12px 0;\n}\n\n.BUTTON_13{\nbackground:#00c764 none repeat scroll 0 0 / auto padding-box border-box;\nborder:0 none #fff;\nborder-radius:3px 3px 3px 3px;\nbox-shadow:rgba(0,0,0,0.14902) 0 2px 3px 0;\ncolor:#fff;\ncolumn-rule-color:#fff;\ncursor:pointer;\nheight:30px;\nmin-height:0;\noutline:#fff none 0;\npadding:7px 10px;\nperspective-origin:39.7031px 15px;\ntransform-origin:39.7031px 15px;\ntransition:all .2s ease-in-out 0;\nvertical-align:top;\nwidth:79.4062px;\n}\n\n.SPAN_14{\nbackground: rgba(0,0,0,0) url(/public/images/widget_icons_dark.png) no-repeat scroll -64px 0 / auto padding-box border-box;\ncursor: pointer;\ndisplay: inline-block;\nheight: 16px;\nmargin: 0 0 0 8px;\nvertical-align: top;\nwidth: 16px;\n}\n "], | ||
template: contact_pug_1.tmpl, | ||
}), | ||
__metadata("design:paramtypes", [http_service_1.HttpService, | ||
common_1.Location]) | ||
], ContactComponent); | ||
return ContactComponent; | ||
}()); | ||
exports.ContactComponent = ContactComponent; |
'use strict'; | ||
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; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,4 +15,18 @@ var core_1 = require("@angular/core"); | ||
} | ||
ContactModule = __decorate([ | ||
core_1.NgModule({ | ||
declarations: [ | ||
contact_component_1.ContactComponent, | ||
], | ||
exports: [ | ||
contact_component_1.ContactComponent, | ||
], | ||
imports: [ | ||
common_1.CommonModule, | ||
], | ||
providers: [], | ||
}) | ||
], ContactModule); | ||
return ContactModule; | ||
}()); | ||
exports.ContactModule = ContactModule; |
'use strict'; | ||
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; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -11,4 +17,16 @@ var core_1 = require("@angular/core"); | ||
} | ||
Directives = __decorate([ | ||
core_1.NgModule({ | ||
declarations: [ | ||
ibm_back_to_top_directive_1.IBMBackToTopDirective, | ||
ibm_sticky_header_directive_1.IBMStickyHeaderDirective, | ||
], | ||
exports: [ | ||
ibm_back_to_top_directive_1.IBMBackToTopDirective, | ||
ibm_sticky_header_directive_1.IBMStickyHeaderDirective, | ||
], | ||
}) | ||
], Directives); | ||
return Directives; | ||
}()); | ||
exports.Directives = Directives; |
"use strict"; | ||
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); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -6,2 +15,6 @@ var core_1 = require("@angular/core"); | ||
function IBMBackToTopDirective() { | ||
this.isActive = false; | ||
this.didScroll = false; | ||
this.windowHeight = window.innerHeight; | ||
this.buttonText = 'Back'; | ||
} | ||
@@ -44,4 +57,13 @@ IBMBackToTopDirective.prototype.onWindowScroll = function () { | ||
}; | ||
__decorate([ | ||
core_1.HostListener('window:scroll', []), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", []), | ||
__metadata("design:returntype", void 0) | ||
], IBMBackToTopDirective.prototype, "onWindowScroll", null); | ||
IBMBackToTopDirective = __decorate([ | ||
core_1.Directive({ selector: '[ioIBMBackToTop]' }) | ||
], IBMBackToTopDirective); | ||
return IBMBackToTopDirective; | ||
}()); | ||
exports.IBMBackToTopDirective = IBMBackToTopDirective; |
'use strict'; | ||
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); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -36,4 +45,10 @@ var core_1 = require("@angular/core"); | ||
}; | ||
IBMStickyHeaderDirective = __decorate([ | ||
core_1.Directive({ selector: '[ioIBMStickyHeader]' }), | ||
__metadata("design:paramtypes", [core_1.ElementRef, | ||
env_1.Env, | ||
core_1.Renderer]) | ||
], IBMStickyHeaderDirective); | ||
return IBMStickyHeaderDirective; | ||
}()); | ||
exports.IBMStickyHeaderDirective = IBMStickyHeaderDirective; |
'use strict'; | ||
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); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -15,2 +24,16 @@ var core_1 = require("@angular/core"); | ||
}); | ||
__decorate([ | ||
core_2.Input(), | ||
__metadata("design:type", String) | ||
], LayoutMarginDirective.prototype, "ioLayoutMargi", void 0); | ||
__decorate([ | ||
core_2.HostBinding('style.margin'), | ||
__metadata("design:type", Object), | ||
__metadata("design:paramtypes", []) | ||
], LayoutMarginDirective.prototype, "style", null); | ||
LayoutMarginDirective = __decorate([ | ||
core_2.Directive({ | ||
selector: '[ioLayoutMargin]', | ||
}) | ||
], LayoutMarginDirective); | ||
return LayoutMarginDirective; | ||
@@ -21,2 +44,3 @@ }()); | ||
function LayoutDirective() { | ||
this.display = 'flex'; | ||
} | ||
@@ -30,2 +54,20 @@ Object.defineProperty(LayoutDirective.prototype, "direction", { | ||
}); | ||
__decorate([ | ||
core_2.Input(), | ||
__metadata("design:type", String) | ||
], LayoutDirective.prototype, "ioLayout", void 0); | ||
__decorate([ | ||
core_2.HostBinding('style.display'), | ||
__metadata("design:type", Object) | ||
], LayoutDirective.prototype, "display", void 0); | ||
__decorate([ | ||
core_2.HostBinding('style.flex-direction'), | ||
__metadata("design:type", Object), | ||
__metadata("design:paramtypes", []) | ||
], LayoutDirective.prototype, "direction", null); | ||
LayoutDirective = __decorate([ | ||
core_2.Directive({ | ||
selector: '[ioLayout]', | ||
}) | ||
], LayoutDirective); | ||
return LayoutDirective; | ||
@@ -36,2 +78,4 @@ }()); | ||
function FlexDirective() { | ||
this.ioShrink = 1; | ||
this.ioGrow = 1; | ||
} | ||
@@ -52,2 +96,29 @@ Object.defineProperty(FlexDirective.prototype, "style", { | ||
}); | ||
__decorate([ | ||
core_2.Input(), | ||
__metadata("design:type", Number) | ||
], FlexDirective.prototype, "ioShrink", void 0); | ||
__decorate([ | ||
core_2.Input(), | ||
__metadata("design:type", Number) | ||
], FlexDirective.prototype, "ioGrow", void 0); | ||
__decorate([ | ||
core_2.Input(), | ||
__metadata("design:type", String) | ||
], FlexDirective.prototype, "ioFlex", void 0); | ||
__decorate([ | ||
core_2.HostBinding('style.flex'), | ||
__metadata("design:type", Object), | ||
__metadata("design:paramtypes", []) | ||
], FlexDirective.prototype, "style", null); | ||
__decorate([ | ||
core_2.HostBinding('style.max-width'), | ||
__metadata("design:type", Object), | ||
__metadata("design:paramtypes", []) | ||
], FlexDirective.prototype, "maxWidth", null); | ||
FlexDirective = __decorate([ | ||
core_2.Directive({ | ||
selector: '[ioFlex]', | ||
}) | ||
], FlexDirective); | ||
return FlexDirective; | ||
@@ -59,4 +130,24 @@ }()); | ||
} | ||
LayoutModule = __decorate([ | ||
core_1.NgModule({ | ||
declarations: [ | ||
FlexDirective, | ||
LayoutDirective, | ||
LayoutMarginDirective, | ||
], | ||
exports: [ | ||
LayoutDirective, | ||
LayoutMarginDirective, | ||
FlexDirective, | ||
], | ||
imports: [], | ||
providers: [ | ||
{ multi: true, provide: FlexDirective, useValue: FlexDirective }, | ||
{ multi: true, provide: LayoutDirective, useValue: LayoutDirective }, | ||
{ multi: true, provide: LayoutMarginDirective, useValue: LayoutMarginDirective }, | ||
], | ||
}) | ||
], LayoutModule); | ||
return LayoutModule; | ||
}()); | ||
exports.LayoutModule = LayoutModule; |
{ | ||
"name": "io-ng-util", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "Angular Base Utilities", | ||
@@ -43,2 +43,2 @@ "main": "index.js", | ||
"author": "Your Name" | ||
} | ||
} |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
67620
949
47
2