@progress/kendo-angular-indicators 3.0.2-dev.202211170752 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing"),require("@angular/common")):"function"==typeof define&&define.amd?define("KendoAngularIndicators",["exports","@angular/core","@progress/kendo-angular-l10n","@progress/kendo-licensing","@angular/common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularIndicators={},e.ng.core,e.KendoAngularL10N,e.KendoLicensing,e.ng.common)}(this,function(e,t,n,r,o){"use strict";function i(n){var o;return n&&n.__esModule?n:(o=Object.create(null),n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(o,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),o.default=n,Object.freeze(o))}var s=i(t),a=i(n),l=i(o),p={name:"@progress/kendo-angular-indicators",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1668671518,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"},d={small:"k-badge-sm",medium:"k-badge-md",large:"k-badge-lg"},c={small:"k-rounded-sm",medium:"k-rounded-md",large:"k-rounded-lg",full:"k-rounded-full"},g=(Object.defineProperty(u.prototype,"cutoutBorderClass",{get:function(){return this.cutoutBorder},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"align",{get:function(){return this.badgeAlign},set:function(e){this.badgeAlign=Object.assign(this.badgeAlign,e)},enumerable:!1,configurable:!0}),u.prototype.ngAfterViewInit=function(){this.badgeClasses.length||this.setBadgeClasses()},u.prototype.ngOnChanges=function(){this.setBadgeClasses()},u.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},u.prototype.alignClass=function(){return"k-"+this.badgeAlign.vertical+"-"+this.badgeAlign.horizontal},u.prototype.positionClass=function(){return"k-badge-"+this.position},u.prototype.sizeClass=function(){return"none"!==this.size?d[this.size]:""},u.prototype.roundedClass=function(){return"none"!==this.rounded?c[this.rounded]:""},u.prototype.themeColorClass=function(){return"none"!==this.themeColor&&"none"!==this.fill?"k-badge-"+this.fill+"-"+this.themeColor:""},u.prototype.fillClass=function(){return"none"!==this.fill?"k-badge-"+this.fill:""},u.prototype.setBadgeClasses=function(){var t=this,n=this.element.nativeElement;this.badgeClasses.forEach(function(e){t.renderer.removeClass(n,e)}),this.badgeClasses=[this.themeColorClass(),this.fillClass(),this.sizeClass(),this.roundedClass(),this.alignClass(),this.positionClass()],this.badgeClasses.forEach(function(e){e&&t.renderer.addClass(n,e)})},u);function u(e,t,n){var o=this;this.element=e,this.renderer=t,this.localizationService=n,this.hostClass=!0,this.size="medium",this.fill="solid",this.themeColor="primary",this.rounded="medium",this.position="edge",this.cutoutBorder=!1,this.badgeClasses=[],this.badgeAlign={vertical:"top",horizontal:"end"},this.rtl=!1,r.validatePackage(p),this.dynamicRTLSubscription=this.localizationService.changes.subscribe(function(e){e=e.rtl;o.rtl=e,o.direction=o.rtl?"rtl":"ltr"})}g.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:g,deps:[{token:s.ElementRef},{token:s.Renderer2},{token:a.LocalizationService}],target:s.ɵɵFactoryTarget.Component}),g.ɵcmp=s.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:g,selector:"kendo-badge",inputs:{align:"align",size:"size",fill:"fill",themeColor:"themeColor",rounded:"rounded",position:"position",cutoutBorder:"cutoutBorder"},host:{properties:{"class.k-badge":"this.hostClass","class.k-badge-border-cutout":"this.cutoutBorderClass","attr.dir":"this.direction"}},providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.badge.component"}],usesOnChanges:!0,ngImport:s,template:"<ng-content></ng-content>",isInline:!0}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:g,decorators:[{type:t.Component,args:[{selector:"kendo-badge",providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}]}],ctorParameters:function(){return[{type:s.ElementRef},{type:s.Renderer2},{type:a.LocalizationService}]},propDecorators:{hostClass:[{type:t.HostBinding,args:["class.k-badge"]}],cutoutBorderClass:[{type:t.HostBinding,args:["class.k-badge-border-cutout"]}],direction:[{type:t.HostBinding,args:["attr.dir"]}],align:[{type:t.Input}],size:[{type:t.Input}],fill:[{type:t.Input}],themeColor:[{type:t.Input}],rounded:[{type:t.Input}],position:[{type:t.Input}],cutoutBorder:[{type:t.Input}]}});Object.create;function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)s.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s}function h(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||((o=o||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}Object.create;f.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()};var y=f;function f(e){var t=this;this.localizationService=e,this.hostClass=!0,this.rtl=!1,this.dynamicRTLSubscription=this.localizationService.changes.subscribe(function(e){e=e.rtl;t.rtl=e,t.direction=t.rtl?"rtl":"ltr"})}y.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y,deps:[{token:a.LocalizationService}],target:s.ɵɵFactoryTarget.Component}),y.ɵcmp=s.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:y,selector:"kendo-badge-container",host:{properties:{"class.k-badge-container":"this.hostClass","attr.dir":"this.direction"}},providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.badge.component"}],ngImport:s,template:"<ng-content></ng-content>",isInline:!0}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y,decorators:[{type:t.Component,args:[{selector:"kendo-badge-container",providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClass:[{type:t.HostBinding,args:["class.k-badge-container"]}],direction:[{type:t.HostBinding,args:["attr.dir"]}]}});var n=[g,y],C=h([],m(n)),v=function(){},b=(v.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:v,deps:[],target:s.ɵɵFactoryTarget.NgModule}),v.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:v,declarations:[g,y],imports:[o.CommonModule],exports:[g,y]}),v.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:v,imports:[[o.CommonModule]]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:v,decorators:[{type:t.NgModule,args:[{declarations:[C],exports:[n],imports:[o.CommonModule]}]}]}),{small:"k-loader-sm",medium:"k-loader-md",large:"k-loader-lg"}),k={pulsing:2,"infinite-spinner":3,"converging-spinner":4},I={pulsing:"k-loader-pulsing-2","infinite-spinner":"k-loader-spinner-3","converging-spinner":"k-loader-spinner-4"},C=(Object.defineProperty(D.prototype,"type",{get:function(){return this._type},set:function(e){this.renderer.removeClass(this.loader,I[this.type]),this.renderer.addClass(this.loader,I[e]),this._type=e},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"themeColor",{get:function(){return this._themeColor},set:function(e){this.renderer.removeClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,"k-loader-"+e),this._themeColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"size",{get:function(){return this._size},set:function(e){this.renderer.removeClass(this.loader,b[this.size]),this.renderer.addClass(this.loader,b[e]),this._size=e},enumerable:!1,configurable:!0}),D.prototype.ngAfterViewInit=function(){this.setLoaderClasses()},Object.defineProperty(D.prototype,"segmentCount",{get:function(){return new Array(k[this.type])},enumerable:!1,configurable:!0}),D.prototype.setLoaderClasses=function(){this.renderer.addClass(this.loader,I[this.type]),this.renderer.addClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,b[this.size])},D);function D(e,t){this.element=e,this.renderer=t,this.hostClass=!0,this._type="pulsing",this._themeColor="primary",this._size="medium",this.loader=this.element.nativeElement,r.validatePackage(p)}C.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:C,deps:[{token:s.ElementRef},{token:s.Renderer2}],target:s.ɵɵFactoryTarget.Component}),C.ɵcmp=s.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:C,selector:"kendo-loader",inputs:{type:"type",themeColor:"themeColor",size:"size"},host:{properties:{"class.k-loader":"this.hostClass"}},ngImport:s,template:'\n <div class="k-loader-canvas">\n <span *ngFor="let segment of segmentCount" class="k-loader-segment"></span>\n </div>\n ',isInline:!0,directives:[{type:l.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]}]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:C,decorators:[{type:t.Component,args:[{selector:"kendo-loader",template:'\n <div class="k-loader-canvas">\n <span *ngFor="let segment of segmentCount" class="k-loader-segment"></span>\n </div>\n '}]}],ctorParameters:function(){return[{type:s.ElementRef},{type:s.Renderer2}]},propDecorators:{hostClass:[{type:t.HostBinding,args:["class.k-loader"]}],type:[{type:t.Input}],themeColor:[{type:t.Input}],size:[{type:t.Input}]}});var n=[C],l=h([],m(n)),M=function(){},V=(M.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:M,deps:[],target:s.ɵɵFactoryTarget.NgModule}),M.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:M,declarations:[C],imports:[o.CommonModule],exports:[C]}),M.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:M,imports:[[o.CommonModule]]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:M,decorators:[{type:t.NgModule,args:[{declarations:[l],exports:[n],imports:[o.CommonModule]}]}]}),[!1,"pulse","wave"]),E=["circle","rectangle","text"],O={pulse:"k-skeleton-pulse",wave:"k-skeleton-wave"},z={rectangle:"k-skeleton-rect",circle:"k-skeleton-circle",text:"k-skeleton-text"},l=(Object.defineProperty(j.prototype,"animation",{get:function(){return this._animation},set:function(e){if(t.isDevMode()&&-1===V.indexOf(e))throw new Error('"'+e+"\" is not a valid kendo-skeleton animation. Valid values are: 'pulse' | 'wave' | false.");this.animation&&this.renderer.removeClass(this.hostElement.nativeElement,O[this.animation]),e&&this.renderer.addClass(this.hostElement.nativeElement,O[e]),this._animation=e},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"shape",{get:function(){return this._shape},set:function(e){if(t.isDevMode()&&-1===E.indexOf(e))throw new Error('"'+e+'" is not a valid kendo-skeleton shape. Valid shapes are: '+E.map(function(e){return'"'+e+'"'}).join(" | ")+".");this.renderer.removeClass(this.hostElement.nativeElement,z[this.shape]),this.renderer.addClass(this.hostElement.nativeElement,z[e]),this._shape=e},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"width",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"width","string"==typeof e?e:e+"px")},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"height",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"height","string"==typeof e?e:e+"px")},enumerable:!1,configurable:!0}),j.prototype.ngAfterViewInit=function(){var e=this.hostElement.nativeElement;e.classList.add("k-skeleton",z[this.shape]),this.animation&&e.classList.add(O[this.animation])},j);function j(e,t){this.renderer=e,this.hostElement=t,this._animation="pulse",this._shape="text"}l.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:l,deps:[{token:s.Renderer2},{token:s.ElementRef}],target:s.ɵɵFactoryTarget.Component}),l.ɵcmp=s.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:l,selector:"kendo-skeleton",inputs:{animation:"animation",shape:"shape",width:"width",height:"height"},ngImport:s,template:"",isInline:!0,changeDetection:s.ChangeDetectionStrategy.OnPush}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:l,decorators:[{type:t.Component,args:[{selector:"kendo-skeleton",changeDetection:t.ChangeDetectionStrategy.OnPush,template:""}]}],ctorParameters:function(){return[{type:s.Renderer2},{type:s.ElementRef}]},propDecorators:{animation:[{type:t.Input}],shape:[{type:t.Input}],width:[{type:t.Input}],height:[{type:t.Input}]}});n=function(){},n.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:n,deps:[],target:s.ɵɵFactoryTarget.NgModule}),n.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:n,declarations:[l],imports:[o.CommonModule],exports:[l]}),n.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:n,imports:[[o.CommonModule]]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:n,decorators:[{type:t.NgModule,args:[{declarations:[l],exports:[l],imports:[o.CommonModule]}]}]}),o=function(){};o.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:o,deps:[],target:s.ɵɵFactoryTarget.NgModule}),o.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:o,exports:[v,M,n]}),o.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:o,imports:[v,M,n]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:o,decorators:[{type:t.NgModule,args:[{exports:[v,M,n]}]}]}),e.BadgeComponent=g,e.BadgeContainerComponent=y,e.BadgeModule=v,e.IndicatorsModule=o,e.LoaderComponent=C,e.LoaderModule=M,e.SkeletonComponent=l,e.SkeletonModule=n,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
5
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing"),require("@angular/common")):"function"==typeof define&&define.amd?define("KendoAngularIndicators",["exports","@angular/core","@progress/kendo-angular-l10n","@progress/kendo-licensing","@angular/common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoAngularIndicators={},e.ng.core,e.KendoAngularL10N,e.KendoLicensing,e.ng.common)}(this,function(e,t,n,r,o){"use strict";function i(n){var o;return n&&n.__esModule?n:(o=Object.create(null),n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(o,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),o.default=n,Object.freeze(o))}var s=i(t),a=i(n),l=i(o),p={name:"@progress/kendo-angular-indicators",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1668698771,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"},d={small:"k-badge-sm",medium:"k-badge-md",large:"k-badge-lg"},c={small:"k-rounded-sm",medium:"k-rounded-md",large:"k-rounded-lg",full:"k-rounded-full"},g=(Object.defineProperty(u.prototype,"cutoutBorderClass",{get:function(){return this.cutoutBorder},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"align",{get:function(){return this.badgeAlign},set:function(e){this.badgeAlign=Object.assign(this.badgeAlign,e)},enumerable:!1,configurable:!0}),u.prototype.ngAfterViewInit=function(){this.badgeClasses.length||this.setBadgeClasses()},u.prototype.ngOnChanges=function(){this.setBadgeClasses()},u.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},u.prototype.alignClass=function(){return"k-"+this.badgeAlign.vertical+"-"+this.badgeAlign.horizontal},u.prototype.positionClass=function(){return"k-badge-"+this.position},u.prototype.sizeClass=function(){return"none"!==this.size?d[this.size]:""},u.prototype.roundedClass=function(){return"none"!==this.rounded?c[this.rounded]:""},u.prototype.themeColorClass=function(){return"none"!==this.themeColor&&"none"!==this.fill?"k-badge-"+this.fill+"-"+this.themeColor:""},u.prototype.fillClass=function(){return"none"!==this.fill?"k-badge-"+this.fill:""},u.prototype.setBadgeClasses=function(){var t=this,n=this.element.nativeElement;this.badgeClasses.forEach(function(e){t.renderer.removeClass(n,e)}),this.badgeClasses=[this.themeColorClass(),this.fillClass(),this.sizeClass(),this.roundedClass(),this.alignClass(),this.positionClass()],this.badgeClasses.forEach(function(e){e&&t.renderer.addClass(n,e)})},u);function u(e,t,n){var o=this;this.element=e,this.renderer=t,this.localizationService=n,this.hostClass=!0,this.size="medium",this.fill="solid",this.themeColor="primary",this.rounded="medium",this.position="edge",this.cutoutBorder=!1,this.badgeClasses=[],this.badgeAlign={vertical:"top",horizontal:"end"},this.rtl=!1,r.validatePackage(p),this.dynamicRTLSubscription=this.localizationService.changes.subscribe(function(e){e=e.rtl;o.rtl=e,o.direction=o.rtl?"rtl":"ltr"})}g.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:g,deps:[{token:s.ElementRef},{token:s.Renderer2},{token:a.LocalizationService}],target:s.ɵɵFactoryTarget.Component}),g.ɵcmp=s.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:g,selector:"kendo-badge",inputs:{align:"align",size:"size",fill:"fill",themeColor:"themeColor",rounded:"rounded",position:"position",cutoutBorder:"cutoutBorder"},host:{properties:{"class.k-badge":"this.hostClass","class.k-badge-border-cutout":"this.cutoutBorderClass","attr.dir":"this.direction"}},providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.badge.component"}],usesOnChanges:!0,ngImport:s,template:"<ng-content></ng-content>",isInline:!0}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:g,decorators:[{type:t.Component,args:[{selector:"kendo-badge",providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}]}],ctorParameters:function(){return[{type:s.ElementRef},{type:s.Renderer2},{type:a.LocalizationService}]},propDecorators:{hostClass:[{type:t.HostBinding,args:["class.k-badge"]}],cutoutBorderClass:[{type:t.HostBinding,args:["class.k-badge-border-cutout"]}],direction:[{type:t.HostBinding,args:["attr.dir"]}],align:[{type:t.Input}],size:[{type:t.Input}],fill:[{type:t.Input}],themeColor:[{type:t.Input}],rounded:[{type:t.Input}],position:[{type:t.Input}],cutoutBorder:[{type:t.Input}]}});Object.create;function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(o=i.next()).done;)s.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s}function h(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||((o=o||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}Object.create;f.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()};var y=f;function f(e){var t=this;this.localizationService=e,this.hostClass=!0,this.rtl=!1,this.dynamicRTLSubscription=this.localizationService.changes.subscribe(function(e){e=e.rtl;t.rtl=e,t.direction=t.rtl?"rtl":"ltr"})}y.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y,deps:[{token:a.LocalizationService}],target:s.ɵɵFactoryTarget.Component}),y.ɵcmp=s.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:y,selector:"kendo-badge-container",host:{properties:{"class.k-badge-container":"this.hostClass","attr.dir":"this.direction"}},providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.badge.component"}],ngImport:s,template:"<ng-content></ng-content>",isInline:!0}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:y,decorators:[{type:t.Component,args:[{selector:"kendo-badge-container",providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}]}],ctorParameters:function(){return[{type:a.LocalizationService}]},propDecorators:{hostClass:[{type:t.HostBinding,args:["class.k-badge-container"]}],direction:[{type:t.HostBinding,args:["attr.dir"]}]}});var n=[g,y],C=h([],m(n)),v=function(){},b=(v.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:v,deps:[],target:s.ɵɵFactoryTarget.NgModule}),v.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:v,declarations:[g,y],imports:[o.CommonModule],exports:[g,y]}),v.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:v,imports:[[o.CommonModule]]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:v,decorators:[{type:t.NgModule,args:[{declarations:[C],exports:[n],imports:[o.CommonModule]}]}]}),{small:"k-loader-sm",medium:"k-loader-md",large:"k-loader-lg"}),k={pulsing:2,"infinite-spinner":3,"converging-spinner":4},I={pulsing:"k-loader-pulsing-2","infinite-spinner":"k-loader-spinner-3","converging-spinner":"k-loader-spinner-4"},C=(Object.defineProperty(D.prototype,"type",{get:function(){return this._type},set:function(e){this.renderer.removeClass(this.loader,I[this.type]),this.renderer.addClass(this.loader,I[e]),this._type=e},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"themeColor",{get:function(){return this._themeColor},set:function(e){this.renderer.removeClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,"k-loader-"+e),this._themeColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"size",{get:function(){return this._size},set:function(e){this.renderer.removeClass(this.loader,b[this.size]),this.renderer.addClass(this.loader,b[e]),this._size=e},enumerable:!1,configurable:!0}),D.prototype.ngAfterViewInit=function(){this.setLoaderClasses()},Object.defineProperty(D.prototype,"segmentCount",{get:function(){return new Array(k[this.type])},enumerable:!1,configurable:!0}),D.prototype.setLoaderClasses=function(){this.renderer.addClass(this.loader,I[this.type]),this.renderer.addClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,b[this.size])},D);function D(e,t){this.element=e,this.renderer=t,this.hostClass=!0,this._type="pulsing",this._themeColor="primary",this._size="medium",this.loader=this.element.nativeElement,r.validatePackage(p)}C.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:C,deps:[{token:s.ElementRef},{token:s.Renderer2}],target:s.ɵɵFactoryTarget.Component}),C.ɵcmp=s.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:C,selector:"kendo-loader",inputs:{type:"type",themeColor:"themeColor",size:"size"},host:{properties:{"class.k-loader":"this.hostClass"}},ngImport:s,template:'\n <div class="k-loader-canvas">\n <span *ngFor="let segment of segmentCount" class="k-loader-segment"></span>\n </div>\n ',isInline:!0,directives:[{type:l.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]}]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:C,decorators:[{type:t.Component,args:[{selector:"kendo-loader",template:'\n <div class="k-loader-canvas">\n <span *ngFor="let segment of segmentCount" class="k-loader-segment"></span>\n </div>\n '}]}],ctorParameters:function(){return[{type:s.ElementRef},{type:s.Renderer2}]},propDecorators:{hostClass:[{type:t.HostBinding,args:["class.k-loader"]}],type:[{type:t.Input}],themeColor:[{type:t.Input}],size:[{type:t.Input}]}});var n=[C],l=h([],m(n)),M=function(){},V=(M.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:M,deps:[],target:s.ɵɵFactoryTarget.NgModule}),M.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:M,declarations:[C],imports:[o.CommonModule],exports:[C]}),M.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:M,imports:[[o.CommonModule]]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:M,decorators:[{type:t.NgModule,args:[{declarations:[l],exports:[n],imports:[o.CommonModule]}]}]}),[!1,"pulse","wave"]),E=["circle","rectangle","text"],O={pulse:"k-skeleton-pulse",wave:"k-skeleton-wave"},z={rectangle:"k-skeleton-rect",circle:"k-skeleton-circle",text:"k-skeleton-text"},l=(Object.defineProperty(j.prototype,"animation",{get:function(){return this._animation},set:function(e){if(t.isDevMode()&&-1===V.indexOf(e))throw new Error('"'+e+"\" is not a valid kendo-skeleton animation. Valid values are: 'pulse' | 'wave' | false.");this.animation&&this.renderer.removeClass(this.hostElement.nativeElement,O[this.animation]),e&&this.renderer.addClass(this.hostElement.nativeElement,O[e]),this._animation=e},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"shape",{get:function(){return this._shape},set:function(e){if(t.isDevMode()&&-1===E.indexOf(e))throw new Error('"'+e+'" is not a valid kendo-skeleton shape. Valid shapes are: '+E.map(function(e){return'"'+e+'"'}).join(" | ")+".");this.renderer.removeClass(this.hostElement.nativeElement,z[this.shape]),this.renderer.addClass(this.hostElement.nativeElement,z[e]),this._shape=e},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"width",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"width","string"==typeof e?e:e+"px")},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"height",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"height","string"==typeof e?e:e+"px")},enumerable:!1,configurable:!0}),j.prototype.ngAfterViewInit=function(){var e=this.hostElement.nativeElement;e.classList.add("k-skeleton",z[this.shape]),this.animation&&e.classList.add(O[this.animation])},j);function j(e,t){this.renderer=e,this.hostElement=t,this._animation="pulse",this._shape="text"}l.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:l,deps:[{token:s.Renderer2},{token:s.ElementRef}],target:s.ɵɵFactoryTarget.Component}),l.ɵcmp=s.ɵɵngDeclareComponent({minVersion:"12.0.0",version:"12.2.16",type:l,selector:"kendo-skeleton",inputs:{animation:"animation",shape:"shape",width:"width",height:"height"},ngImport:s,template:"",isInline:!0,changeDetection:s.ChangeDetectionStrategy.OnPush}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:l,decorators:[{type:t.Component,args:[{selector:"kendo-skeleton",changeDetection:t.ChangeDetectionStrategy.OnPush,template:""}]}],ctorParameters:function(){return[{type:s.Renderer2},{type:s.ElementRef}]},propDecorators:{animation:[{type:t.Input}],shape:[{type:t.Input}],width:[{type:t.Input}],height:[{type:t.Input}]}});n=function(){},n.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:n,deps:[],target:s.ɵɵFactoryTarget.NgModule}),n.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:n,declarations:[l],imports:[o.CommonModule],exports:[l]}),n.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:n,imports:[[o.CommonModule]]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:n,decorators:[{type:t.NgModule,args:[{declarations:[l],exports:[l],imports:[o.CommonModule]}]}]}),o=function(){};o.ɵfac=s.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:o,deps:[],target:s.ɵɵFactoryTarget.NgModule}),o.ɵmod=s.ɵɵngDeclareNgModule({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:o,exports:[v,M,n]}),o.ɵinj=s.ɵɵngDeclareInjector({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:o,imports:[v,M,n]}),s.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"12.2.16",ngImport:s,type:o,decorators:[{type:t.NgModule,args:[{exports:[v,M,n]}]}]}),e.BadgeComponent=g,e.BadgeContainerComponent=y,e.BadgeModule=v,e.IndicatorsModule=o,e.LoaderComponent=C,e.LoaderModule=M,e.SkeletonComponent=l,e.SkeletonModule=n,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-indicators',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1668698771,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -17,7 +17,7 @@ const packageMetadata = {
|
|
|
17
17
|
name: '@progress/kendo-angular-indicators',
|
|
18
18
|
productName: 'Kendo UI for Angular',
|
|
19
19
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
20
|
-
publishDate:
|
|
20
|
+
publishDate: 1668698771,
|
|
21
21
|
version: '',
|
|
22
22
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
23
23
|
};
|