@progress/kendo-angular-label
Advanced tools
Comparing version 1.1.0 to 1.2.0-dev.201805171318
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("@angular/core")):"function"==typeof define&&define.amd?define(["tslib","@angular/core"],t):"object"==typeof exports?exports.KendoAngularLabel=t(require("tslib"),require("@angular/core")):e.KendoAngularLabel=t(e.tslib,e["@angular/core"])}(this,function(e,t){return function(e){function t(r){if(o[r])return o[r].exports;var n=o[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(1);t.LabelDirective=r.LabelDirective;var n=o(4);t.LabelModule=n.LabelModule},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),n=o(3),i=function(){return"undefined"!=typeof document&&!!document.body},u=function(){function e(){}return Object.defineProperty(e.prototype,"labelFor",{get:function(){return"string"==typeof this.for?this.for:i()?(this.getFocusableComponent()||{}).id||null:null},enumerable:!0,configurable:!0}),e.prototype.handleClick=function(){var e=this.getFocusableComponent();e&&(e.focusComponent&&e.focusComponent(),e.focus&&e.focus())},e.prototype.getFocusableComponent=function(){var e=this.for;if(e){var t=e,o=void 0!==t.focus,r=void 0!==t.focusComponent;if(o||r)return e;if(i()&&"string"==typeof e)return document.querySelector("[id='"+e+"']")}return null},r.__decorate([n.Input(),r.__metadata("design:type",Object)],e.prototype,"for",void 0),r.__decorate([n.HostBinding("attr.for"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"labelFor",null),r.__decorate([n.HostListener("click"),r.__metadata("design:type",Function),r.__metadata("design:paramtypes",[]),r.__metadata("design:returntype",void 0)],e.prototype,"handleClick",null),e=r.__decorate([n.Directive({selector:"label[for]"})],e)}();t.LabelDirective=u},function(t,o){t.exports=e},function(e,o){e.exports=t},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),n=o(3),i=o(1),u=[i.LabelDirective],a=function(){function e(){}return e=r.__decorate([n.NgModule({declarations:[u],exports:[u]})],e)}();t.LabelModule=a}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("@angular/core")):"function"==typeof define&&define.amd?define(["tslib","@angular/core"],t):"object"==typeof exports?exports.KendoAngularLabel=t(require("tslib"),require("@angular/core")):e.KendoAngularLabel=t(e.tslib,e["@angular/core"])}(this,function(e,t){return function(e){function t(r){if(o[r])return o[r].exports;var n=o[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(1);t.LabelDirective=r.LabelDirective;var n=o(4);t.LabelModule=n.LabelModule},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),n=o(3),i=function(){return"undefined"!=typeof document&&!!document.body},u=function(){function e(){}return Object.defineProperty(e.prototype,"labelFor",{get:function(){if("string"==typeof this.for)return this.for;if(!i())return null;var e=this.getFocusableComponent()||{};return e.focusableId||e.id||null},enumerable:!0,configurable:!0}),e.prototype.handleClick=function(){var e=this.getFocusableComponent();e&&(e.focusComponent&&e.focusComponent(),e.focus&&e.focus())},e.prototype.getFocusableComponent=function(){var e=this.for;if(e){var t=e,o=void 0!==t.focus,r=void 0!==t.focusComponent;if(o||r)return e;if(i()&&"string"==typeof e)return document.querySelector("[id='"+e+"']")}return null},r.__decorate([n.Input(),r.__metadata("design:type",Object)],e.prototype,"for",void 0),r.__decorate([n.HostBinding("attr.for"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"labelFor",null),r.__decorate([n.HostListener("click"),r.__metadata("design:type",Function),r.__metadata("design:paramtypes",[]),r.__metadata("design:returntype",void 0)],e.prototype,"handleClick",null),e=r.__decorate([n.Directive({selector:"label[for]"})],e)}();t.LabelDirective=u},function(t,o){t.exports=e},function(e,o){e.exports=t},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),n=o(3),i=o(1),u=[i.LabelDirective],a=function(){function e(){}return e=r.__decorate([n.NgModule({declarations:[u],exports:[u]})],e)}();t.LabelModule=a}])}); |
@@ -47,3 +47,4 @@ import { Directive, Input, HostBinding, HostListener } from '@angular/core'; | ||
} | ||
return (this.getFocusableComponent() || {}).id || null; | ||
var component = this.getFocusableComponent() || {}; | ||
return component.focusableId || component.id || null; | ||
}, | ||
@@ -50,0 +51,0 @@ enumerable: true, |
@@ -44,3 +44,4 @@ import { Directive, Input, HostBinding, HostListener } from '@angular/core'; | ||
} | ||
return (this.getFocusableComponent() || {}).id || null; | ||
const component = this.getFocusableComponent() || {}; | ||
return component.focusableId || component.id || null; | ||
} | ||
@@ -47,0 +48,0 @@ handleClick() { |
@@ -49,3 +49,4 @@ "use strict"; | ||
} | ||
return (this.getFocusableComponent() || {}).id || null; | ||
var component = this.getFocusableComponent() || {}; | ||
return component.focusableId || component.id || null; | ||
}, | ||
@@ -52,0 +53,0 @@ enumerable: true, |
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-angular-label",["tslib","@angular/core"],function(i){var o,n;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){n=t(e)}],execute:function(){!function(o){var n={};function r(e){if(n[e])return n[e].exports;var t=n[e]={exports:{},id:e,loaded:!1};return o[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=o,r.c=n,r.p="",r(0)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);t.LabelDirective=n.LabelDirective;var r=o(4);t.LabelModule=r.LabelModule,function(e){for(var t in e)i(t,e[t])}(t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),r=o(3),i=function(){return"undefined"!=typeof document&&!!document.body},u=function(){function e(){}return Object.defineProperty(e.prototype,"labelFor",{get:function(){return"string"==typeof this.for?this.for:i()&&(this.getFocusableComponent()||{}).id||null},enumerable:!0,configurable:!0}),e.prototype.handleClick=function(){var e=this.getFocusableComponent();e&&(e.focusComponent&&e.focusComponent(),e.focus&&e.focus())},e.prototype.getFocusableComponent=function(){var e=this.for;if(e){var t=e,o=void 0!==t.focus,n=void 0!==t.focusComponent;if(o||n)return e;if(i()&&"string"==typeof e)return document.querySelector("[id='"+e+"']")}return null},n.__decorate([r.Input(),n.__metadata("design:type",Object)],e.prototype,"for",void 0),n.__decorate([r.HostBinding("attr.for"),n.__metadata("design:type",String),n.__metadata("design:paramtypes",[])],e.prototype,"labelFor",null),n.__decorate([r.HostListener("click"),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[]),n.__metadata("design:returntype",void 0)],e.prototype,"handleClick",null),e=n.__decorate([r.Directive({selector:"label[for]"})],e)}();t.LabelDirective=u},function(e,t){e.exports=o},function(e,t){e.exports=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),r=o(3),i=[o(1).LabelDirective],u=function(){function e(){}return e=n.__decorate([r.NgModule({declarations:[i],exports:[i]})],e)}();t.LabelModule=u}])}}}); | ||
System.register("@progress/kendo-angular-label",["tslib","@angular/core"],function(i){var o,n;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){n=t(e)}],execute:function(){!function(o){var n={};function r(e){if(n[e])return n[e].exports;var t=n[e]={exports:{},id:e,loaded:!1};return o[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=o,r.c=n,r.p="",r(0)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1);t.LabelDirective=n.LabelDirective;var r=o(4);t.LabelModule=r.LabelModule,function(e){for(var t in e)i(t,e[t])}(t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),r=o(3),i=function(){return"undefined"!=typeof document&&!!document.body},u=function(){function e(){}return Object.defineProperty(e.prototype,"labelFor",{get:function(){if("string"==typeof this.for)return this.for;if(!i())return null;var e=this.getFocusableComponent()||{};return e.focusableId||e.id||null},enumerable:!0,configurable:!0}),e.prototype.handleClick=function(){var e=this.getFocusableComponent();e&&(e.focusComponent&&e.focusComponent(),e.focus&&e.focus())},e.prototype.getFocusableComponent=function(){var e=this.for;if(e){var t=e,o=void 0!==t.focus,n=void 0!==t.focusComponent;if(o||n)return e;if(i()&&"string"==typeof e)return document.querySelector("[id='"+e+"']")}return null},n.__decorate([r.Input(),n.__metadata("design:type",Object)],e.prototype,"for",void 0),n.__decorate([r.HostBinding("attr.for"),n.__metadata("design:type",String),n.__metadata("design:paramtypes",[])],e.prototype,"labelFor",null),n.__decorate([r.HostListener("click"),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[]),n.__metadata("design:returntype",void 0)],e.prototype,"handleClick",null),e=n.__decorate([r.Directive({selector:"label[for]"})],e)}();t.LabelDirective=u},function(e,t){e.exports=o},function(e,t){e.exports=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),r=o(3),i=[o(1).LabelDirective],u=function(){function e(){}return e=n.__decorate([r.NgModule({declarations:[i],exports:[i]})],e)}();t.LabelModule=u}])}}}); |
@@ -6,3 +6,3 @@ { | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"version": "1.1.0", | ||
"version": "1.2.0-dev.201805171318", | ||
"main": "dist/npm/index.js", | ||
@@ -9,0 +9,0 @@ "module": "dist/es/index.js", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
30422
590
3