Socket
Socket
Sign inDemoInstall

@progress/kendo-angular-progressbar

Package Overview
Dependencies
Maintainers
1
Versions
680
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-angular-progressbar - npm Package Compare versions

Comparing version 2.0.4-dev.202202251420 to 2.0.4

2

dist/cdn/js/kendo-angular-progressbar.js

@@ -20,2 +20,2 @@ /**-----------------------------------------------------------------------------------------

***************************************************************************** */
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(i=(a<3?o(i):a>3?o(t,n,i):o(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i}function u(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}u((r=r.apply(e,t||[])).next())}))}function p(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function d(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function f(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}function h(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),a=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof _?Promise.resolve(n.value.v).then(u,l):c(a[0][2],n)}catch(e){c(a[0][3],e)}var n}function u(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function v(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:_(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function P(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=g(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function S(e){return e&&e.__esModule?e:{default:e}}function w(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function k(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(0);t.reverseChunks=function(e,t){return"vertical"===e&&!t||"horizontal"===e&&t},t.formatValue=function(e,t,n,r){var o=i(e);if("boolean"!=typeof r){if("string"!=typeof r.format)return"function"==typeof r.format?r.format(e):o;switch(r.format){case"value":return o;case"percent":return Math.floor(a(e,t,n))+"%";default:return o}}return o},t.validateRange=function(e,t){if(o.isDevMode&&e>t)throw new Error(r.MIN_MAX_ERROR_MESSAGE)},t.adjustValueToRange=function(e,t,n){return Math.max(Math.min(n,t),e)};var a=function(e,t,n){var r=Math.abs((n-t)/100);return Math.abs((e-t)/r)},i=function(e){var t=e.toString().split(".");return 1===t.length?""+t[0]:t[0]+"."+t[1].substr(0,r.LABEL_DECIMALS)};t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)},t.extractValueFromChanges=function(e,t,n){return e[t]&&void 0!==e[t].currentValue?e[t].currentValue:n},t.runAnimation=function(e,t,n,r){return t&&"undefined"!=typeof requestAnimationFrame&&e.value&&n!==r},t.stopCurrentAnimation=function(e){var t=Boolean(e.animation),n=t&&e.animation.currentValue;return t&&!n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(4),a=n(0),i=n(2),s=n(5),u=n(11),l=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.localization=t,o.zone=n,o.renderer=r,o.label=!0,o.animation=!1,o.animationEnd=new a.EventEmitter,o}return r.__extends(t,e),Object.defineProperty(t.prototype,"showLabel",{get:function(){return"boolean"==typeof this.label?this.label:(this.label&&!this.label.hasOwnProperty("visible")&&(this.label.visible=!0),this.label.visible)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"labelPosition",{get:function(){return"boolean"==typeof this.label?"end":(this.label&&!this.label.hasOwnProperty("position")&&(this.label.position="end"),this.label.position)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionStart",{get:function(){return"start"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionCenter",{get:function(){return"center"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionEnd",{get:function(){return"end"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formattedLabelValue",{get:function(){return i.formatValue(this.displayValue,this.min,this.max,this.label)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){e.prototype.ngOnChanges.call(this,t),this.isAnimationInProgress&&i.stopCurrentAnimation(t)&&(this.cancelCurrentAnimation=!0),i.runAnimation(t,this.animation,this.previousValue,this.displayValue)&&!t.value.firstChange&&this.startAnimation(this.previousValue)},t.prototype.ngOnDestroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame)},t.prototype.startAnimation=function(e){var t=this;this.isAnimationInProgress=!0;var n=this.progressStatusElement.nativeElement,r=this.progressStatusWrapperElement.nativeElement,o=this.getAnimationOptions(e);this.zone.runOutsideAngular((function(){t.animationFrame&&cancelAnimationFrame(t.animationFrame);var a=function(){var i=(new Date).getTime()-o.startTime,s=Math.min(i/o.duration,1),u=o.startSize+o.deltaSize*s,l=100/u*100;if(t.renderValueChange(n,r,o.property,u,l),s<1){if(t.cancelCurrentAnimation)return void t.resetProgress(n,r,o.property);t.animationFrame=requestAnimationFrame(a)}else t.stopAnimation(e)};a()}))},Object.defineProperty(t.prototype,"animationDuration",{get:function(){return"boolean"==typeof this.animation?400:(this.animation&&!this.animation.hasOwnProperty("duration")&&(this.animation.duration=400),this.animation.duration)},enumerable:!0,configurable:!0}),t.prototype.stopAnimation=function(e){var t=this;u.hasObservers(this.animationEnd)&&this.zone.run((function(){t.animationEnd.emit({from:e,to:t.displayValue})})),this.zone.run((function(){t.isAnimationInProgress=!1}))},t.prototype.getAnimationOptions=function(e){var t="horizontal"===this.orientation,n=i.calculateRatio(this.min,this.max,e),r=t?100*n:100,o=t?100:100*n,a=t?"width":"height",s=(new Date).getTime(),u=t?r:o,l=t?this.statusWidth-r:this.statusHeight-o;return{property:a,startTime:s,startSize:u,deltaSize:l,duration:this.animationDuration*Math.abs(l/100)}},t.prototype.renderValueChange=function(e,t,n,r,o){this.renderer.setStyle(e,n,r+"%"),this.renderer.setStyle(t,n,o+"%")},t.prototype.resetProgress=function(e,t,n){var r=this,o=i.calculateRatio(this.min,this.max,this.value),a=100*o,s=100/o;this.renderValueChange(e,t,n,a,s),this.zone.run((function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1}))},r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"label",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"animation",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],t.prototype,"animationEnd",void 0),r.__decorate([a.ViewChild("progressStatus",{static:!1}),r.__metadata("design:type",a.ElementRef)],t.prototype,"progressStatusElement",void 0),r.__decorate([a.ViewChild("progressStatusWrap",{static:!1}),r.__metadata("design:type",a.ElementRef)],t.prototype,"progressStatusWrapperElement",void 0),t=r.__decorate([a.Component({exportAs:"kendoProgressBar",selector:"kendo-progressbar",template:'\n <span class="k-progress-status-wrap"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n [ngStyle]="emptyCssStyle"\n [ngClass]="emptyCssClass">\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n <div\n #progressStatus\n class="k-state-selected"\n [class.k-complete]="isCompleted"\n [ngStyle]="progressCssStyle"\n [ngClass]="progressCssClass"\n [style.width.%]="statusWidth"\n [style.height.%]="statusHeight"\n >\n <span\n #progressStatusWrap\n class="k-progress-status-wrap"\n [style.width.%]="statusWrapperWidth"\n [style.height.%]="statusWrapperHeight"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n >\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n </div>\n ',providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.progressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService,a.NgZone,a.Renderer2])],t)}(o.ProgressBarBase);t.ProgressBarComponent=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(0),a=n(8),i=n(9),s=n(2),u=function(){function e(e){var t=this;this.localization=e,this.widgetClasses=!0,this.roleAttribute="progressbar",this.max=100,this.min=0,this.value=0,this.orientation="horizontal",this.disabled=!1,this.reverse=!1,this.indeterminate=!1,this.displayValue=0,this.previousValue=0,a.validatePackage(i.packageMetadata),this.localizationChangeSubscription=e.changes.subscribe((function(e){var n=e.rtl;t.direction=n?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"isHorizontal",{get:function(){return"horizontal"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVertical",{get:function(){return"vertical"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reverseClass",{get:function(){return this.reverse},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminateClass",{get:function(){return this.indeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirAttribute",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaMinAttribute",{get:function(){return String(this.min)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaMaxAttribute",{get:function(){return String(this.max)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaValueAttribute",{get:function(){return this.indeterminate?void 0:String(this.displayValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCompleted",{get:function(){return this.value===this.max},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWidth",{get:function(){return"horizontal"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusHeight",{get:function(){return"vertical"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWrapperWidth",{get:function(){return"horizontal"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWrapperHeight",{get:function(){return"vertical"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_progressRatio",{get:function(){return s.calculateRatio(this.min,this.max,this.displayValue)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){var t=s.extractValueFromChanges(e,"min",this.min),n=s.extractValueFromChanges(e,"max",this.max),r=s.extractValueFromChanges(e,"value",this.value);if(e.min||e.max||e.value){if((e.min||e.max)&&s.validateRange(t,n),e.value){(null==r||Number.isNaN(r))&&(this.value=t);var o=this.displayValue;this.displayValue=s.adjustValueToRange(this.min,this.max,r),this.previousValue=o}this.min=t,this.max=n,this.displayValue=s.adjustValueToRange(this.min,this.max,r)}},e.prototype.ngOnDestroy=function(){this.localizationChangeSubscription&&this.localizationChangeSubscription.unsubscribe()},r.__decorate([o.HostBinding("class.k-widget"),o.HostBinding("class.k-progressbar"),r.__metadata("design:type",Boolean)],e.prototype,"widgetClasses",void 0),r.__decorate([o.HostBinding("class.k-progressbar-horizontal"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isHorizontal",null),r.__decorate([o.HostBinding("class.k-progressbar-vertical"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isVertical",null),r.__decorate([o.HostBinding("class.k-state-disabled"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),r.__decorate([o.HostBinding("class.k-progressbar-reverse"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"reverseClass",null),r.__decorate([o.HostBinding("class.k-progressbar-indeterminate"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"indeterminateClass",null),r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"dirAttribute",null),r.__decorate([o.HostBinding("attr.role"),r.__metadata("design:type",String)],e.prototype,"roleAttribute",void 0),r.__decorate([o.HostBinding("attr.aria-valuemin"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMinAttribute",null),r.__decorate([o.HostBinding("attr.aria-valuemax"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMaxAttribute",null),r.__decorate([o.HostBinding("attr.aria-valuenow"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaValueAttribute",null),r.__decorate([o.Input(),r.__metadata("design:type",Number)],e.prototype,"max",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Number)],e.prototype,"min",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Number)],e.prototype,"value",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"orientation",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],e.prototype,"indeterminate",void 0),e}();t.ProgressBarBase=u},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(4),a=n(0),i=n(2),s=n(5),u=function(e){function t(t){var n=e.call(this,t)||this;return n.localization=t,n.chunkCount=5,n._orientationStyles={width:n.chunkSizePercentage+"%"},n}return r.__extends(t,e),Object.defineProperty(t.prototype,"chunks",{get:function(){for(var e=this.chunkCount,t=Array(e).fill(!1),n=Math.floor(this._progressRatio*e),r=0;r<n;r++)t[r]=!0;return i.reverseChunks(this.orientation,this.reverse)&&t.reverse(),t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chunkSizePercentage",{get:function(){return 100/this.chunkCount},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientationStyles",{get:function(){return"horizontal"===this.orientation?(this._orientationStyles.width=this.chunkSizePercentage+"%",this._orientationStyles.height=void 0):(this._orientationStyles.height=this.chunkSizePercentage+"%",this._orientationStyles.width=void 0),this._orientationStyles},enumerable:!0,configurable:!0}),r.__decorate([a.Input(),r.__metadata("design:type",Number)],t.prototype,"chunkCount",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),t=r.__decorate([a.Component({exportAs:"kendoChunkProgressBar",selector:"kendo-chunkprogressbar",template:'\n <ul class="k-reset">\n <li class="k-item" *ngFor="let chunk of chunks; let i = index;"\n [class.k-first]="i === 0"\n [class.k-last]="i === chunkCount - 1"\n [class.k-state-selected]="chunk"\n [ngClass]="chunk ? progressCssClass : emptyCssClass"\n [ngStyle]="chunk ? progressCssStyle : emptyCssStyle"\n [style.width]="orientationStyles.width"\n [style.height]="orientationStyles.height"\n >\n </li>\n </ul>\n ',providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.chunkprogressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService])],t)}(o.ProgressBarBase);t.ChunkProgressBarComponent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.ProgressBarComponent=r.ProgressBarComponent;var o=n(6);t.ChunkProgressBarComponent=o.ChunkProgressBarComponent;var a=n(12);t.ProgressBarModule=a.ProgressBarModule},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-progressbar",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1645798788,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"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_MAX_ERROR_MESSAGE="The max value should be greater than the min.",t.LABEL_DECIMALS=3,t.MIN_RATIO=1e-4},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(6),a=n(0),i=n(13),s=[n(3).ProgressBarComponent,o.ChunkProgressBarComponent],u=[i.CommonModule],l=function(){function e(){}return e=r.__decorate([a.NgModule({declarations:s,exports:s,imports:u})],e)}();t.ProgressBarModule=l},function(e,t){e.exports=o}])}));
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(i=(a<3?o(i):a>3?o(t,n,i):o(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i}function u(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}u((r=r.apply(e,t||[])).next())}))}function p(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function d(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function f(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}function h(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),a=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof _?Promise.resolve(n.value.v).then(u,l):c(a[0][2],n)}catch(e){c(a[0][3],e)}var n}function u(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function v(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:_(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function P(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=g(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function S(e){return e&&e.__esModule?e:{default:e}}function w(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function k(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(0);t.reverseChunks=function(e,t){return"vertical"===e&&!t||"horizontal"===e&&t},t.formatValue=function(e,t,n,r){var o=i(e);if("boolean"!=typeof r){if("string"!=typeof r.format)return"function"==typeof r.format?r.format(e):o;switch(r.format){case"value":return o;case"percent":return Math.floor(a(e,t,n))+"%";default:return o}}return o},t.validateRange=function(e,t){if(o.isDevMode&&e>t)throw new Error(r.MIN_MAX_ERROR_MESSAGE)},t.adjustValueToRange=function(e,t,n){return Math.max(Math.min(n,t),e)};var a=function(e,t,n){var r=Math.abs((n-t)/100);return Math.abs((e-t)/r)},i=function(e){var t=e.toString().split(".");return 1===t.length?""+t[0]:t[0]+"."+t[1].substr(0,r.LABEL_DECIMALS)};t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)},t.extractValueFromChanges=function(e,t,n){return e[t]&&void 0!==e[t].currentValue?e[t].currentValue:n},t.runAnimation=function(e,t,n,r){return t&&"undefined"!=typeof requestAnimationFrame&&e.value&&n!==r},t.stopCurrentAnimation=function(e){var t=Boolean(e.animation),n=t&&e.animation.currentValue;return t&&!n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(4),a=n(0),i=n(2),s=n(5),u=n(11),l=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.localization=t,o.zone=n,o.renderer=r,o.label=!0,o.animation=!1,o.animationEnd=new a.EventEmitter,o}return r.__extends(t,e),Object.defineProperty(t.prototype,"showLabel",{get:function(){return"boolean"==typeof this.label?this.label:(this.label&&!this.label.hasOwnProperty("visible")&&(this.label.visible=!0),this.label.visible)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"labelPosition",{get:function(){return"boolean"==typeof this.label?"end":(this.label&&!this.label.hasOwnProperty("position")&&(this.label.position="end"),this.label.position)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionStart",{get:function(){return"start"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionCenter",{get:function(){return"center"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionEnd",{get:function(){return"end"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formattedLabelValue",{get:function(){return i.formatValue(this.displayValue,this.min,this.max,this.label)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){e.prototype.ngOnChanges.call(this,t),this.isAnimationInProgress&&i.stopCurrentAnimation(t)&&(this.cancelCurrentAnimation=!0),i.runAnimation(t,this.animation,this.previousValue,this.displayValue)&&!t.value.firstChange&&this.startAnimation(this.previousValue)},t.prototype.ngOnDestroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame)},t.prototype.startAnimation=function(e){var t=this;this.isAnimationInProgress=!0;var n=this.progressStatusElement.nativeElement,r=this.progressStatusWrapperElement.nativeElement,o=this.getAnimationOptions(e);this.zone.runOutsideAngular((function(){t.animationFrame&&cancelAnimationFrame(t.animationFrame);var a=function(){var i=(new Date).getTime()-o.startTime,s=Math.min(i/o.duration,1),u=o.startSize+o.deltaSize*s,l=100/u*100;if(t.renderValueChange(n,r,o.property,u,l),s<1){if(t.cancelCurrentAnimation)return void t.resetProgress(n,r,o.property);t.animationFrame=requestAnimationFrame(a)}else t.stopAnimation(e)};a()}))},Object.defineProperty(t.prototype,"animationDuration",{get:function(){return"boolean"==typeof this.animation?400:(this.animation&&!this.animation.hasOwnProperty("duration")&&(this.animation.duration=400),this.animation.duration)},enumerable:!0,configurable:!0}),t.prototype.stopAnimation=function(e){var t=this;u.hasObservers(this.animationEnd)&&this.zone.run((function(){t.animationEnd.emit({from:e,to:t.displayValue})})),this.zone.run((function(){t.isAnimationInProgress=!1}))},t.prototype.getAnimationOptions=function(e){var t="horizontal"===this.orientation,n=i.calculateRatio(this.min,this.max,e),r=t?100*n:100,o=t?100:100*n,a=t?"width":"height",s=(new Date).getTime(),u=t?r:o,l=t?this.statusWidth-r:this.statusHeight-o;return{property:a,startTime:s,startSize:u,deltaSize:l,duration:this.animationDuration*Math.abs(l/100)}},t.prototype.renderValueChange=function(e,t,n,r,o){this.renderer.setStyle(e,n,r+"%"),this.renderer.setStyle(t,n,o+"%")},t.prototype.resetProgress=function(e,t,n){var r=this,o=i.calculateRatio(this.min,this.max,this.value),a=100*o,s=100/o;this.renderValueChange(e,t,n,a,s),this.zone.run((function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1}))},r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"label",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"animation",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],t.prototype,"animationEnd",void 0),r.__decorate([a.ViewChild("progressStatus",{static:!1}),r.__metadata("design:type",a.ElementRef)],t.prototype,"progressStatusElement",void 0),r.__decorate([a.ViewChild("progressStatusWrap",{static:!1}),r.__metadata("design:type",a.ElementRef)],t.prototype,"progressStatusWrapperElement",void 0),t=r.__decorate([a.Component({exportAs:"kendoProgressBar",selector:"kendo-progressbar",template:'\n <span class="k-progress-status-wrap"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n [ngStyle]="emptyCssStyle"\n [ngClass]="emptyCssClass">\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n <div\n #progressStatus\n class="k-state-selected"\n [class.k-complete]="isCompleted"\n [ngStyle]="progressCssStyle"\n [ngClass]="progressCssClass"\n [style.width.%]="statusWidth"\n [style.height.%]="statusHeight"\n >\n <span\n #progressStatusWrap\n class="k-progress-status-wrap"\n [style.width.%]="statusWrapperWidth"\n [style.height.%]="statusWrapperHeight"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n >\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n </div>\n ',providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.progressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService,a.NgZone,a.Renderer2])],t)}(o.ProgressBarBase);t.ProgressBarComponent=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(0),a=n(8),i=n(9),s=n(2),u=function(){function e(e){var t=this;this.localization=e,this.widgetClasses=!0,this.roleAttribute="progressbar",this.max=100,this.min=0,this.value=0,this.orientation="horizontal",this.disabled=!1,this.reverse=!1,this.indeterminate=!1,this.displayValue=0,this.previousValue=0,a.validatePackage(i.packageMetadata),this.localizationChangeSubscription=e.changes.subscribe((function(e){var n=e.rtl;t.direction=n?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"isHorizontal",{get:function(){return"horizontal"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVertical",{get:function(){return"vertical"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reverseClass",{get:function(){return this.reverse},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminateClass",{get:function(){return this.indeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirAttribute",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaMinAttribute",{get:function(){return String(this.min)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaMaxAttribute",{get:function(){return String(this.max)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaValueAttribute",{get:function(){return this.indeterminate?void 0:String(this.displayValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCompleted",{get:function(){return this.value===this.max},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWidth",{get:function(){return"horizontal"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusHeight",{get:function(){return"vertical"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWrapperWidth",{get:function(){return"horizontal"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWrapperHeight",{get:function(){return"vertical"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_progressRatio",{get:function(){return s.calculateRatio(this.min,this.max,this.displayValue)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){var t=s.extractValueFromChanges(e,"min",this.min),n=s.extractValueFromChanges(e,"max",this.max),r=s.extractValueFromChanges(e,"value",this.value);if(e.min||e.max||e.value){if((e.min||e.max)&&s.validateRange(t,n),e.value){(null==r||Number.isNaN(r))&&(this.value=t);var o=this.displayValue;this.displayValue=s.adjustValueToRange(this.min,this.max,r),this.previousValue=o}this.min=t,this.max=n,this.displayValue=s.adjustValueToRange(this.min,this.max,r)}},e.prototype.ngOnDestroy=function(){this.localizationChangeSubscription&&this.localizationChangeSubscription.unsubscribe()},r.__decorate([o.HostBinding("class.k-widget"),o.HostBinding("class.k-progressbar"),r.__metadata("design:type",Boolean)],e.prototype,"widgetClasses",void 0),r.__decorate([o.HostBinding("class.k-progressbar-horizontal"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isHorizontal",null),r.__decorate([o.HostBinding("class.k-progressbar-vertical"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isVertical",null),r.__decorate([o.HostBinding("class.k-state-disabled"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),r.__decorate([o.HostBinding("class.k-progressbar-reverse"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"reverseClass",null),r.__decorate([o.HostBinding("class.k-progressbar-indeterminate"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"indeterminateClass",null),r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"dirAttribute",null),r.__decorate([o.HostBinding("attr.role"),r.__metadata("design:type",String)],e.prototype,"roleAttribute",void 0),r.__decorate([o.HostBinding("attr.aria-valuemin"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMinAttribute",null),r.__decorate([o.HostBinding("attr.aria-valuemax"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMaxAttribute",null),r.__decorate([o.HostBinding("attr.aria-valuenow"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaValueAttribute",null),r.__decorate([o.Input(),r.__metadata("design:type",Number)],e.prototype,"max",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Number)],e.prototype,"min",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Number)],e.prototype,"value",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"orientation",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],e.prototype,"indeterminate",void 0),e}();t.ProgressBarBase=u},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(4),a=n(0),i=n(2),s=n(5),u=function(e){function t(t){var n=e.call(this,t)||this;return n.localization=t,n.chunkCount=5,n._orientationStyles={width:n.chunkSizePercentage+"%"},n}return r.__extends(t,e),Object.defineProperty(t.prototype,"chunks",{get:function(){for(var e=this.chunkCount,t=Array(e).fill(!1),n=Math.floor(this._progressRatio*e),r=0;r<n;r++)t[r]=!0;return i.reverseChunks(this.orientation,this.reverse)&&t.reverse(),t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chunkSizePercentage",{get:function(){return 100/this.chunkCount},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientationStyles",{get:function(){return"horizontal"===this.orientation?(this._orientationStyles.width=this.chunkSizePercentage+"%",this._orientationStyles.height=void 0):(this._orientationStyles.height=this.chunkSizePercentage+"%",this._orientationStyles.width=void 0),this._orientationStyles},enumerable:!0,configurable:!0}),r.__decorate([a.Input(),r.__metadata("design:type",Number)],t.prototype,"chunkCount",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),t=r.__decorate([a.Component({exportAs:"kendoChunkProgressBar",selector:"kendo-chunkprogressbar",template:'\n <ul class="k-reset">\n <li class="k-item" *ngFor="let chunk of chunks; let i = index;"\n [class.k-first]="i === 0"\n [class.k-last]="i === chunkCount - 1"\n [class.k-state-selected]="chunk"\n [ngClass]="chunk ? progressCssClass : emptyCssClass"\n [ngStyle]="chunk ? progressCssStyle : emptyCssStyle"\n [style.width]="orientationStyles.width"\n [style.height]="orientationStyles.height"\n >\n </li>\n </ul>\n ',providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.chunkprogressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService])],t)}(o.ProgressBarBase);t.ChunkProgressBarComponent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.ProgressBarComponent=r.ProgressBarComponent;var o=n(6);t.ChunkProgressBarComponent=o.ChunkProgressBarComponent;var a=n(12);t.ProgressBarModule=a.ProgressBarModule},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-progressbar",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1646219371,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"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_MAX_ERROR_MESSAGE="The max value should be greater than the min.",t.LABEL_DECIMALS=3,t.MIN_RATIO=1e-4},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(6),a=n(0),i=n(13),s=[n(3).ProgressBarComponent,o.ChunkProgressBarComponent],u=[i.CommonModule],l=function(){function e(){}return e=r.__decorate([a.NgModule({declarations:s,exports:s,imports:u})],e)}();t.ProgressBarModule=l},function(e,t){e.exports=o}])}));

@@ -5,2 +5,2 @@ /**-----------------------------------------------------------------------------------------

*-------------------------------------------------------------------------------------------*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("tslib"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing"),require("@progress/kendo-angular-common"),require("@angular/common")):"function"==typeof define&&define.amd?define([,,,,,],t):"object"==typeof exports?exports.KendoAngularProgressbar=t(require("@angular/core"),require("tslib"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing"),require("@progress/kendo-angular-common"),require("@angular/common")):e.KendoAngularProgressbar=t(e.ng.core,e.self,e.KendoAngularL10N,e.KendoLicensing,e.KendoAngularCommon,e.ng.common)}(window,(function(e,t,n,r,a,i){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(0);t.reverseChunks=function(e,t){return"vertical"===e&&!t||"horizontal"===e&&t},t.formatValue=function(e,t,n,r){var a=o(e);if("boolean"!=typeof r){if("string"!=typeof r.format)return"function"==typeof r.format?r.format(e):a;switch(r.format){case"value":return a;case"percent":return Math.floor(i(e,t,n))+"%";default:return a}}return a},t.validateRange=function(e,t){if(a.isDevMode&&e>t)throw new Error(r.MIN_MAX_ERROR_MESSAGE)},t.adjustValueToRange=function(e,t,n){return Math.max(Math.min(n,t),e)};var i=function(e,t,n){var r=Math.abs((n-t)/100);return Math.abs((e-t)/r)},o=function(e){var t=e.toString().split(".");return 1===t.length?""+t[0]:t[0]+"."+t[1].substr(0,r.LABEL_DECIMALS)};t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)},t.extractValueFromChanges=function(e,t,n){return e[t]&&void 0!==e[t].currentValue?e[t].currentValue:n},t.runAnimation=function(e,t,n,r){return t&&"undefined"!=typeof requestAnimationFrame&&e.value&&n!==r},t.stopCurrentAnimation=function(e){var t=Boolean(e.animation),n=t&&e.animation.currentValue;return t&&!n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(4),i=n(0),o=n(2),s=n(5),u=n(11),l=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.localization=t,a.zone=n,a.renderer=r,a.label=!0,a.animation=!1,a.animationEnd=new i.EventEmitter,a}return r.__extends(t,e),Object.defineProperty(t.prototype,"showLabel",{get:function(){return"boolean"==typeof this.label?this.label:(this.label&&!this.label.hasOwnProperty("visible")&&(this.label.visible=!0),this.label.visible)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"labelPosition",{get:function(){return"boolean"==typeof this.label?"end":(this.label&&!this.label.hasOwnProperty("position")&&(this.label.position="end"),this.label.position)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionStart",{get:function(){return"start"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionCenter",{get:function(){return"center"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionEnd",{get:function(){return"end"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formattedLabelValue",{get:function(){return o.formatValue(this.displayValue,this.min,this.max,this.label)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){e.prototype.ngOnChanges.call(this,t),this.isAnimationInProgress&&o.stopCurrentAnimation(t)&&(this.cancelCurrentAnimation=!0),o.runAnimation(t,this.animation,this.previousValue,this.displayValue)&&!t.value.firstChange&&this.startAnimation(this.previousValue)},t.prototype.ngOnDestroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame)},t.prototype.startAnimation=function(e){var t=this;this.isAnimationInProgress=!0;var n=this.progressStatusElement.nativeElement,r=this.progressStatusWrapperElement.nativeElement,a=this.getAnimationOptions(e);this.zone.runOutsideAngular((function(){t.animationFrame&&cancelAnimationFrame(t.animationFrame);var i=function(){var o=(new Date).getTime()-a.startTime,s=Math.min(o/a.duration,1),u=a.startSize+a.deltaSize*s,l=100/u*100;if(t.renderValueChange(n,r,a.property,u,l),s<1){if(t.cancelCurrentAnimation)return void t.resetProgress(n,r,a.property);t.animationFrame=requestAnimationFrame(i)}else t.stopAnimation(e)};i()}))},Object.defineProperty(t.prototype,"animationDuration",{get:function(){return"boolean"==typeof this.animation?400:(this.animation&&!this.animation.hasOwnProperty("duration")&&(this.animation.duration=400),this.animation.duration)},enumerable:!0,configurable:!0}),t.prototype.stopAnimation=function(e){var t=this;u.hasObservers(this.animationEnd)&&this.zone.run((function(){t.animationEnd.emit({from:e,to:t.displayValue})})),this.zone.run((function(){t.isAnimationInProgress=!1}))},t.prototype.getAnimationOptions=function(e){var t="horizontal"===this.orientation,n=o.calculateRatio(this.min,this.max,e),r=t?100*n:100,a=t?100:100*n,i=t?"width":"height",s=(new Date).getTime(),u=t?r:a,l=t?this.statusWidth-r:this.statusHeight-a;return{property:i,startTime:s,startSize:u,deltaSize:l,duration:this.animationDuration*Math.abs(l/100)}},t.prototype.renderValueChange=function(e,t,n,r,a){this.renderer.setStyle(e,n,r+"%"),this.renderer.setStyle(t,n,a+"%")},t.prototype.resetProgress=function(e,t,n){var r=this,a=o.calculateRatio(this.min,this.max,this.value),i=100*a,s=100/a;this.renderValueChange(e,t,n,i,s),this.zone.run((function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1}))},r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"label",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"animation",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],t.prototype,"animationEnd",void 0),r.__decorate([i.ViewChild("progressStatus",{static:!1}),r.__metadata("design:type",i.ElementRef)],t.prototype,"progressStatusElement",void 0),r.__decorate([i.ViewChild("progressStatusWrap",{static:!1}),r.__metadata("design:type",i.ElementRef)],t.prototype,"progressStatusWrapperElement",void 0),t=r.__decorate([i.Component({exportAs:"kendoProgressBar",selector:"kendo-progressbar",template:'\n <span class="k-progress-status-wrap"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n [ngStyle]="emptyCssStyle"\n [ngClass]="emptyCssClass">\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n <div\n #progressStatus\n class="k-state-selected"\n [class.k-complete]="isCompleted"\n [ngStyle]="progressCssStyle"\n [ngClass]="progressCssClass"\n [style.width.%]="statusWidth"\n [style.height.%]="statusHeight"\n >\n <span\n #progressStatusWrap\n class="k-progress-status-wrap"\n [style.width.%]="statusWrapperWidth"\n [style.height.%]="statusWrapperHeight"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n >\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n </div>\n ',providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.progressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService,i.NgZone,i.Renderer2])],t)}(a.ProgressBarBase);t.ProgressBarComponent=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(0),i=n(8),o=n(9),s=n(2),u=function(){function e(e){var t=this;this.localization=e,this.widgetClasses=!0,this.roleAttribute="progressbar",this.max=100,this.min=0,this.value=0,this.orientation="horizontal",this.disabled=!1,this.reverse=!1,this.indeterminate=!1,this.displayValue=0,this.previousValue=0,i.validatePackage(o.packageMetadata),this.localizationChangeSubscription=e.changes.subscribe((function(e){var n=e.rtl;t.direction=n?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"isHorizontal",{get:function(){return"horizontal"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVertical",{get:function(){return"vertical"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reverseClass",{get:function(){return this.reverse},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminateClass",{get:function(){return this.indeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirAttribute",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaMinAttribute",{get:function(){return String(this.min)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaMaxAttribute",{get:function(){return String(this.max)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaValueAttribute",{get:function(){return this.indeterminate?void 0:String(this.displayValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCompleted",{get:function(){return this.value===this.max},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWidth",{get:function(){return"horizontal"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusHeight",{get:function(){return"vertical"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWrapperWidth",{get:function(){return"horizontal"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWrapperHeight",{get:function(){return"vertical"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_progressRatio",{get:function(){return s.calculateRatio(this.min,this.max,this.displayValue)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){var t=s.extractValueFromChanges(e,"min",this.min),n=s.extractValueFromChanges(e,"max",this.max),r=s.extractValueFromChanges(e,"value",this.value);if(e.min||e.max||e.value){if((e.min||e.max)&&s.validateRange(t,n),e.value){(null==r||Number.isNaN(r))&&(this.value=t);var a=this.displayValue;this.displayValue=s.adjustValueToRange(this.min,this.max,r),this.previousValue=a}this.min=t,this.max=n,this.displayValue=s.adjustValueToRange(this.min,this.max,r)}},e.prototype.ngOnDestroy=function(){this.localizationChangeSubscription&&this.localizationChangeSubscription.unsubscribe()},r.__decorate([a.HostBinding("class.k-widget"),a.HostBinding("class.k-progressbar"),r.__metadata("design:type",Boolean)],e.prototype,"widgetClasses",void 0),r.__decorate([a.HostBinding("class.k-progressbar-horizontal"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isHorizontal",null),r.__decorate([a.HostBinding("class.k-progressbar-vertical"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isVertical",null),r.__decorate([a.HostBinding("class.k-state-disabled"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),r.__decorate([a.HostBinding("class.k-progressbar-reverse"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"reverseClass",null),r.__decorate([a.HostBinding("class.k-progressbar-indeterminate"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"indeterminateClass",null),r.__decorate([a.HostBinding("attr.dir"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"dirAttribute",null),r.__decorate([a.HostBinding("attr.role"),r.__metadata("design:type",String)],e.prototype,"roleAttribute",void 0),r.__decorate([a.HostBinding("attr.aria-valuemin"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMinAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuemax"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMaxAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuenow"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaValueAttribute",null),r.__decorate([a.Input(),r.__metadata("design:type",Number)],e.prototype,"max",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],e.prototype,"min",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],e.prototype,"value",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"orientation",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"indeterminate",void 0),e}();t.ProgressBarBase=u},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(4),i=n(0),o=n(2),s=n(5),u=function(e){function t(t){var n=e.call(this,t)||this;return n.localization=t,n.chunkCount=5,n._orientationStyles={width:n.chunkSizePercentage+"%"},n}return r.__extends(t,e),Object.defineProperty(t.prototype,"chunks",{get:function(){for(var e=this.chunkCount,t=Array(e).fill(!1),n=Math.floor(this._progressRatio*e),r=0;r<n;r++)t[r]=!0;return o.reverseChunks(this.orientation,this.reverse)&&t.reverse(),t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chunkSizePercentage",{get:function(){return 100/this.chunkCount},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientationStyles",{get:function(){return"horizontal"===this.orientation?(this._orientationStyles.width=this.chunkSizePercentage+"%",this._orientationStyles.height=void 0):(this._orientationStyles.height=this.chunkSizePercentage+"%",this._orientationStyles.width=void 0),this._orientationStyles},enumerable:!0,configurable:!0}),r.__decorate([i.Input(),r.__metadata("design:type",Number)],t.prototype,"chunkCount",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),t=r.__decorate([i.Component({exportAs:"kendoChunkProgressBar",selector:"kendo-chunkprogressbar",template:'\n <ul class="k-reset">\n <li class="k-item" *ngFor="let chunk of chunks; let i = index;"\n [class.k-first]="i === 0"\n [class.k-last]="i === chunkCount - 1"\n [class.k-state-selected]="chunk"\n [ngClass]="chunk ? progressCssClass : emptyCssClass"\n [ngStyle]="chunk ? progressCssStyle : emptyCssStyle"\n [style.width]="orientationStyles.width"\n [style.height]="orientationStyles.height"\n >\n </li>\n </ul>\n ',providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.chunkprogressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService])],t)}(a.ProgressBarBase);t.ChunkProgressBarComponent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.ProgressBarComponent=r.ProgressBarComponent;var a=n(6);t.ChunkProgressBarComponent=a.ChunkProgressBarComponent;var i=n(12);t.ProgressBarModule=i.ProgressBarModule},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-progressbar",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1645798788,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"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_MAX_ERROR_MESSAGE="The max value should be greater than the min.",t.LABEL_DECIMALS=3,t.MIN_RATIO=1e-4},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(6),i=n(0),o=n(13),s=[n(3).ProgressBarComponent,a.ChunkProgressBarComponent],u=[o.CommonModule],l=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:s,exports:s,imports:u})],e)}();t.ProgressBarModule=l},function(e,t){e.exports=i}])}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("tslib"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing"),require("@progress/kendo-angular-common"),require("@angular/common")):"function"==typeof define&&define.amd?define([,,,,,],t):"object"==typeof exports?exports.KendoAngularProgressbar=t(require("@angular/core"),require("tslib"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing"),require("@progress/kendo-angular-common"),require("@angular/common")):e.KendoAngularProgressbar=t(e.ng.core,e.self,e.KendoAngularL10N,e.KendoLicensing,e.KendoAngularCommon,e.ng.common)}(window,(function(e,t,n,r,a,i){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(0);t.reverseChunks=function(e,t){return"vertical"===e&&!t||"horizontal"===e&&t},t.formatValue=function(e,t,n,r){var a=o(e);if("boolean"!=typeof r){if("string"!=typeof r.format)return"function"==typeof r.format?r.format(e):a;switch(r.format){case"value":return a;case"percent":return Math.floor(i(e,t,n))+"%";default:return a}}return a},t.validateRange=function(e,t){if(a.isDevMode&&e>t)throw new Error(r.MIN_MAX_ERROR_MESSAGE)},t.adjustValueToRange=function(e,t,n){return Math.max(Math.min(n,t),e)};var i=function(e,t,n){var r=Math.abs((n-t)/100);return Math.abs((e-t)/r)},o=function(e){var t=e.toString().split(".");return 1===t.length?""+t[0]:t[0]+"."+t[1].substr(0,r.LABEL_DECIMALS)};t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)},t.extractValueFromChanges=function(e,t,n){return e[t]&&void 0!==e[t].currentValue?e[t].currentValue:n},t.runAnimation=function(e,t,n,r){return t&&"undefined"!=typeof requestAnimationFrame&&e.value&&n!==r},t.stopCurrentAnimation=function(e){var t=Boolean(e.animation),n=t&&e.animation.currentValue;return t&&!n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(4),i=n(0),o=n(2),s=n(5),u=n(11),l=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.localization=t,a.zone=n,a.renderer=r,a.label=!0,a.animation=!1,a.animationEnd=new i.EventEmitter,a}return r.__extends(t,e),Object.defineProperty(t.prototype,"showLabel",{get:function(){return"boolean"==typeof this.label?this.label:(this.label&&!this.label.hasOwnProperty("visible")&&(this.label.visible=!0),this.label.visible)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"labelPosition",{get:function(){return"boolean"==typeof this.label?"end":(this.label&&!this.label.hasOwnProperty("position")&&(this.label.position="end"),this.label.position)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionStart",{get:function(){return"start"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionCenter",{get:function(){return"center"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isPositionEnd",{get:function(){return"end"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formattedLabelValue",{get:function(){return o.formatValue(this.displayValue,this.min,this.max,this.label)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){e.prototype.ngOnChanges.call(this,t),this.isAnimationInProgress&&o.stopCurrentAnimation(t)&&(this.cancelCurrentAnimation=!0),o.runAnimation(t,this.animation,this.previousValue,this.displayValue)&&!t.value.firstChange&&this.startAnimation(this.previousValue)},t.prototype.ngOnDestroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame)},t.prototype.startAnimation=function(e){var t=this;this.isAnimationInProgress=!0;var n=this.progressStatusElement.nativeElement,r=this.progressStatusWrapperElement.nativeElement,a=this.getAnimationOptions(e);this.zone.runOutsideAngular((function(){t.animationFrame&&cancelAnimationFrame(t.animationFrame);var i=function(){var o=(new Date).getTime()-a.startTime,s=Math.min(o/a.duration,1),u=a.startSize+a.deltaSize*s,l=100/u*100;if(t.renderValueChange(n,r,a.property,u,l),s<1){if(t.cancelCurrentAnimation)return void t.resetProgress(n,r,a.property);t.animationFrame=requestAnimationFrame(i)}else t.stopAnimation(e)};i()}))},Object.defineProperty(t.prototype,"animationDuration",{get:function(){return"boolean"==typeof this.animation?400:(this.animation&&!this.animation.hasOwnProperty("duration")&&(this.animation.duration=400),this.animation.duration)},enumerable:!0,configurable:!0}),t.prototype.stopAnimation=function(e){var t=this;u.hasObservers(this.animationEnd)&&this.zone.run((function(){t.animationEnd.emit({from:e,to:t.displayValue})})),this.zone.run((function(){t.isAnimationInProgress=!1}))},t.prototype.getAnimationOptions=function(e){var t="horizontal"===this.orientation,n=o.calculateRatio(this.min,this.max,e),r=t?100*n:100,a=t?100:100*n,i=t?"width":"height",s=(new Date).getTime(),u=t?r:a,l=t?this.statusWidth-r:this.statusHeight-a;return{property:i,startTime:s,startSize:u,deltaSize:l,duration:this.animationDuration*Math.abs(l/100)}},t.prototype.renderValueChange=function(e,t,n,r,a){this.renderer.setStyle(e,n,r+"%"),this.renderer.setStyle(t,n,a+"%")},t.prototype.resetProgress=function(e,t,n){var r=this,a=o.calculateRatio(this.min,this.max,this.value),i=100*a,s=100/a;this.renderValueChange(e,t,n,i,s),this.zone.run((function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1}))},r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"label",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"animation",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],t.prototype,"animationEnd",void 0),r.__decorate([i.ViewChild("progressStatus",{static:!1}),r.__metadata("design:type",i.ElementRef)],t.prototype,"progressStatusElement",void 0),r.__decorate([i.ViewChild("progressStatusWrap",{static:!1}),r.__metadata("design:type",i.ElementRef)],t.prototype,"progressStatusWrapperElement",void 0),t=r.__decorate([i.Component({exportAs:"kendoProgressBar",selector:"kendo-progressbar",template:'\n <span class="k-progress-status-wrap"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n [ngStyle]="emptyCssStyle"\n [ngClass]="emptyCssClass">\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n <div\n #progressStatus\n class="k-state-selected"\n [class.k-complete]="isCompleted"\n [ngStyle]="progressCssStyle"\n [ngClass]="progressCssClass"\n [style.width.%]="statusWidth"\n [style.height.%]="statusHeight"\n >\n <span\n #progressStatusWrap\n class="k-progress-status-wrap"\n [style.width.%]="statusWrapperWidth"\n [style.height.%]="statusWrapperHeight"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n >\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n </div>\n ',providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.progressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService,i.NgZone,i.Renderer2])],t)}(a.ProgressBarBase);t.ProgressBarComponent=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(0),i=n(8),o=n(9),s=n(2),u=function(){function e(e){var t=this;this.localization=e,this.widgetClasses=!0,this.roleAttribute="progressbar",this.max=100,this.min=0,this.value=0,this.orientation="horizontal",this.disabled=!1,this.reverse=!1,this.indeterminate=!1,this.displayValue=0,this.previousValue=0,i.validatePackage(o.packageMetadata),this.localizationChangeSubscription=e.changes.subscribe((function(e){var n=e.rtl;t.direction=n?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"isHorizontal",{get:function(){return"horizontal"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVertical",{get:function(){return"vertical"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reverseClass",{get:function(){return this.reverse},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminateClass",{get:function(){return this.indeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirAttribute",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaMinAttribute",{get:function(){return String(this.min)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaMaxAttribute",{get:function(){return String(this.max)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaValueAttribute",{get:function(){return this.indeterminate?void 0:String(this.displayValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCompleted",{get:function(){return this.value===this.max},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWidth",{get:function(){return"horizontal"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusHeight",{get:function(){return"vertical"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWrapperWidth",{get:function(){return"horizontal"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusWrapperHeight",{get:function(){return"vertical"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_progressRatio",{get:function(){return s.calculateRatio(this.min,this.max,this.displayValue)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){var t=s.extractValueFromChanges(e,"min",this.min),n=s.extractValueFromChanges(e,"max",this.max),r=s.extractValueFromChanges(e,"value",this.value);if(e.min||e.max||e.value){if((e.min||e.max)&&s.validateRange(t,n),e.value){(null==r||Number.isNaN(r))&&(this.value=t);var a=this.displayValue;this.displayValue=s.adjustValueToRange(this.min,this.max,r),this.previousValue=a}this.min=t,this.max=n,this.displayValue=s.adjustValueToRange(this.min,this.max,r)}},e.prototype.ngOnDestroy=function(){this.localizationChangeSubscription&&this.localizationChangeSubscription.unsubscribe()},r.__decorate([a.HostBinding("class.k-widget"),a.HostBinding("class.k-progressbar"),r.__metadata("design:type",Boolean)],e.prototype,"widgetClasses",void 0),r.__decorate([a.HostBinding("class.k-progressbar-horizontal"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isHorizontal",null),r.__decorate([a.HostBinding("class.k-progressbar-vertical"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isVertical",null),r.__decorate([a.HostBinding("class.k-state-disabled"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),r.__decorate([a.HostBinding("class.k-progressbar-reverse"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"reverseClass",null),r.__decorate([a.HostBinding("class.k-progressbar-indeterminate"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"indeterminateClass",null),r.__decorate([a.HostBinding("attr.dir"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"dirAttribute",null),r.__decorate([a.HostBinding("attr.role"),r.__metadata("design:type",String)],e.prototype,"roleAttribute",void 0),r.__decorate([a.HostBinding("attr.aria-valuemin"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMinAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuemax"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMaxAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuenow"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaValueAttribute",null),r.__decorate([a.Input(),r.__metadata("design:type",Number)],e.prototype,"max",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],e.prototype,"min",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],e.prototype,"value",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"orientation",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"indeterminate",void 0),e}();t.ProgressBarBase=u},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(4),i=n(0),o=n(2),s=n(5),u=function(e){function t(t){var n=e.call(this,t)||this;return n.localization=t,n.chunkCount=5,n._orientationStyles={width:n.chunkSizePercentage+"%"},n}return r.__extends(t,e),Object.defineProperty(t.prototype,"chunks",{get:function(){for(var e=this.chunkCount,t=Array(e).fill(!1),n=Math.floor(this._progressRatio*e),r=0;r<n;r++)t[r]=!0;return o.reverseChunks(this.orientation,this.reverse)&&t.reverse(),t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chunkSizePercentage",{get:function(){return 100/this.chunkCount},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orientationStyles",{get:function(){return"horizontal"===this.orientation?(this._orientationStyles.width=this.chunkSizePercentage+"%",this._orientationStyles.height=void 0):(this._orientationStyles.height=this.chunkSizePercentage+"%",this._orientationStyles.width=void 0),this._orientationStyles},enumerable:!0,configurable:!0}),r.__decorate([i.Input(),r.__metadata("design:type",Number)],t.prototype,"chunkCount",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),t=r.__decorate([i.Component({exportAs:"kendoChunkProgressBar",selector:"kendo-chunkprogressbar",template:'\n <ul class="k-reset">\n <li class="k-item" *ngFor="let chunk of chunks; let i = index;"\n [class.k-first]="i === 0"\n [class.k-last]="i === chunkCount - 1"\n [class.k-state-selected]="chunk"\n [ngClass]="chunk ? progressCssClass : emptyCssClass"\n [ngStyle]="chunk ? progressCssStyle : emptyCssStyle"\n [style.width]="orientationStyles.width"\n [style.height]="orientationStyles.height"\n >\n </li>\n </ul>\n ',providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.chunkprogressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService])],t)}(a.ProgressBarBase);t.ChunkProgressBarComponent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.ProgressBarComponent=r.ProgressBarComponent;var a=n(6);t.ChunkProgressBarComponent=a.ChunkProgressBarComponent;var i=n(12);t.ProgressBarModule=i.ProgressBarModule},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-progressbar",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1646219371,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"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_MAX_ERROR_MESSAGE="The max value should be greater than the min.",t.LABEL_DECIMALS=3,t.MIN_RATIO=1e-4},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(6),i=n(0),o=n(13),s=[n(3).ProgressBarComponent,a.ChunkProgressBarComponent],u=[o.CommonModule],l=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:s,exports:s,imports:u})],e)}();t.ProgressBarModule=l},function(e,t){e.exports=i}])}));

@@ -12,5 +12,5 @@ /**-----------------------------------------------------------------------------------------

productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
publishDate: 1645798788,
publishDate: 1646219371,
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'
};

@@ -12,5 +12,5 @@ /**-----------------------------------------------------------------------------------------

productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
publishDate: 1645798788,
publishDate: 1646219371,
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'
};

@@ -19,3 +19,3 @@ /**-----------------------------------------------------------------------------------------

productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
publishDate: 1645798788,
publishDate: 1646219371,
version: '',

@@ -22,0 +22,0 @@ 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'

@@ -19,3 +19,3 @@ /**-----------------------------------------------------------------------------------------

productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
publishDate: 1645798788,
publishDate: 1646219371,
version: '',

@@ -22,0 +22,0 @@ 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'

@@ -14,5 +14,5 @@ /**-----------------------------------------------------------------------------------------

productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
publishDate: 1645798788,
publishDate: 1646219371,
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'
};

@@ -5,2 +5,2 @@ /**-----------------------------------------------------------------------------------------

*-------------------------------------------------------------------------------------------*/
System.register("@progress/kendo-angular-progressbar",["@angular/core","@progress/kendo-angular-common","tslib","@progress/kendo-angular-l10n","@angular/common","@progress/kendo-licensing"],function(o){var i,s,u,l,p,d;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){i=t(e)},function(e){s=t(e)},function(e){u=t(e)},function(e){l=t(e)},function(e){p=t(e)},function(e){d=t(e)}],execute:function(){function r(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,a;n=[function(e,t){e.exports=i},function(e,t){e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(0),i=(t.reverseChunks=function(e,t){return"vertical"===e&&!t||"horizontal"===e&&t},t.formatValue=function(e,t,n,r){var a=o(e);if("boolean"!=typeof r){if("string"!=typeof r.format)return"function"==typeof r.format?r.format(e):a;switch(r.format){case"value":return a;case"percent":return Math.floor(i(e,t,n))+"%";default:return a}}return a},t.validateRange=function(e,t){if(a.isDevMode&&t<e)throw new Error(r.MIN_MAX_ERROR_MESSAGE)},t.adjustValueToRange=function(e,t,n){return Math.max(Math.min(n,t),e)},function(e,t,n){n=Math.abs((n-t)/100);return Math.abs((e-t)/n)}),o=function(e){e=e.toString().split(".");return 1===e.length?""+e[0]:e[0]+"."+e[1].substr(0,r.LABEL_DECIMALS)};t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)},t.extractValueFromChanges=function(e,t,n){return e[t]&&void 0!==e[t].currentValue?e[t].currentValue:n},t.runAnimation=function(e,t,n,r){return t&&"undefined"!=typeof requestAnimationFrame&&e.value&&n!==r},t.stopCurrentAnimation=function(e){var t=Boolean(e.animation),e=t&&e.animation.currentValue;return t&&!e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(1),i=n(5),o=n(0),s=n(2),n=n(4),i=(r=i.ProgressBarBase,a.__extends(u,r),Object.defineProperty(u.prototype,"chunks",{get:function(){for(var e=this.chunkCount,t=Array(e).fill(!1),n=Math.floor(this._progressRatio*e),r=0;r<n;r++)t[r]=!0;return s.reverseChunks(this.orientation,this.reverse)&&t.reverse(),t},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"chunkSizePercentage",{get:function(){return 100/this.chunkCount},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"orientationStyles",{get:function(){return"horizontal"===this.orientation?(this._orientationStyles.width=this.chunkSizePercentage+"%",this._orientationStyles.height=void 0):(this._orientationStyles.height=this.chunkSizePercentage+"%",this._orientationStyles.width=void 0),this._orientationStyles},enumerable:!0,configurable:!0}),a.__decorate([o.Input(),a.__metadata("design:type",Number)],u.prototype,"chunkCount",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"progressCssStyle",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"progressCssClass",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"emptyCssStyle",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"emptyCssClass",void 0),a.__decorate([o.Component({exportAs:"kendoChunkProgressBar",selector:"kendo-chunkprogressbar",template:'\n <ul class="k-reset">\n <li class="k-item" *ngFor="let chunk of chunks; let i = index;"\n [class.k-first]="i === 0"\n [class.k-last]="i === chunkCount - 1"\n [class.k-state-selected]="chunk"\n [ngClass]="chunk ? progressCssClass : emptyCssClass"\n [ngStyle]="chunk ? progressCssStyle : emptyCssStyle"\n [style.width]="orientationStyles.width"\n [style.height]="orientationStyles.height"\n >\n </li>\n </ul>\n ',providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.chunkprogressbar"}]}),a.__metadata("design:paramtypes",[n.LocalizationService])],u));function u(e){var t=r.call(this,e)||this;return t.localization=e,t.chunkCount=5,t._orientationStyles={width:t.chunkSizePercentage+"%"},t}t.ChunkProgressBarComponent=i},function(e,t){e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(0),i=n(12),o=n(11),s=n(2);function u(e){var t=this;this.localization=e,this.widgetClasses=!0,this.roleAttribute="progressbar",this.max=100,this.min=0,this.value=0,this.orientation="horizontal",this.disabled=!1,this.reverse=!1,this.indeterminate=!1,this.displayValue=0,this.previousValue=0,i.validatePackage(o.packageMetadata),this.localizationChangeSubscription=e.changes.subscribe(function(e){e=e.rtl;t.direction=e?"rtl":"ltr"})}Object.defineProperty(u.prototype,"isHorizontal",{get:function(){return"horizontal"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isVertical",{get:function(){return"vertical"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"reverseClass",{get:function(){return this.reverse},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"indeterminateClass",{get:function(){return this.indeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"dirAttribute",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaMinAttribute",{get:function(){return String(this.min)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaMaxAttribute",{get:function(){return String(this.max)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaValueAttribute",{get:function(){return this.indeterminate?void 0:String(this.displayValue)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isCompleted",{get:function(){return this.value===this.max},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWidth",{get:function(){return"horizontal"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusHeight",{get:function(){return"vertical"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWrapperWidth",{get:function(){return"horizontal"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWrapperHeight",{get:function(){return"vertical"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"_progressRatio",{get:function(){return s.calculateRatio(this.min,this.max,this.displayValue)},enumerable:!0,configurable:!0}),u.prototype.ngOnChanges=function(e){var t=s.extractValueFromChanges(e,"min",this.min),n=s.extractValueFromChanges(e,"max",this.max),r=s.extractValueFromChanges(e,"value",this.value);(e.min||e.max||e.value)&&((e.min||e.max)&&s.validateRange(t,n),e.value&&(null!=r&&!Number.isNaN(r)||(this.value=t),e=this.displayValue,this.displayValue=s.adjustValueToRange(this.min,this.max,r),this.previousValue=e),this.min=t,this.max=n,this.displayValue=s.adjustValueToRange(this.min,this.max,r))},u.prototype.ngOnDestroy=function(){this.localizationChangeSubscription&&this.localizationChangeSubscription.unsubscribe()},r.__decorate([a.HostBinding("class.k-widget"),a.HostBinding("class.k-progressbar"),r.__metadata("design:type",Boolean)],u.prototype,"widgetClasses",void 0),r.__decorate([a.HostBinding("class.k-progressbar-horizontal"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"isHorizontal",null),r.__decorate([a.HostBinding("class.k-progressbar-vertical"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"isVertical",null),r.__decorate([a.HostBinding("class.k-state-disabled"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"disabledClass",null),r.__decorate([a.HostBinding("class.k-progressbar-reverse"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"reverseClass",null),r.__decorate([a.HostBinding("class.k-progressbar-indeterminate"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"indeterminateClass",null),r.__decorate([a.HostBinding("attr.dir"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"dirAttribute",null),r.__decorate([a.HostBinding("attr.role"),r.__metadata("design:type",String)],u.prototype,"roleAttribute",void 0),r.__decorate([a.HostBinding("attr.aria-valuemin"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaMinAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuemax"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaMaxAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuenow"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaValueAttribute",null),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"max",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"min",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"value",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],u.prototype,"orientation",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"reverse",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"indeterminate",void 0),t.ProgressBarBase=u},function(p,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,n=t(1),r=t(5),i=t(0),o=t(2),s=t(4),u=t(9),t=(a=r.ProgressBarBase,n.__extends(l,a),Object.defineProperty(l.prototype,"showLabel",{get:function(){return"boolean"==typeof this.label?this.label:(this.label&&!this.label.hasOwnProperty("visible")&&(this.label.visible=!0),this.label.visible)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"labelPosition",{get:function(){return"boolean"==typeof this.label?"end":(this.label&&!this.label.hasOwnProperty("position")&&(this.label.position="end"),this.label.position)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isPositionStart",{get:function(){return"start"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isPositionCenter",{get:function(){return"center"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"isPositionEnd",{get:function(){return"end"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"formattedLabelValue",{get:function(){return o.formatValue(this.displayValue,this.min,this.max,this.label)},enumerable:!0,configurable:!0}),l.prototype.ngOnChanges=function(e){a.prototype.ngOnChanges.call(this,e),this.isAnimationInProgress&&o.stopCurrentAnimation(e)&&(this.cancelCurrentAnimation=!0),o.runAnimation(e,this.animation,this.previousValue,this.displayValue)&&!e.value.firstChange&&this.startAnimation(this.previousValue)},l.prototype.ngOnDestroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame)},l.prototype.startAnimation=function(r){var a=this,i=(this.isAnimationInProgress=!0,this.progressStatusElement.nativeElement),o=this.progressStatusWrapperElement.nativeElement,s=this.getAnimationOptions(r);this.zone.runOutsideAngular(function(){a.animationFrame&&cancelAnimationFrame(a.animationFrame);function n(){var e=(new Date).getTime()-s.startTime,e=Math.min(e/s.duration,1),t=s.startSize+s.deltaSize*e;a.renderValueChange(i,o,s.property,t,100/t*100),e<1?a.cancelCurrentAnimation?a.resetProgress(i,o,s.property):a.animationFrame=requestAnimationFrame(n):a.stopAnimation(r)}n()})},Object.defineProperty(l.prototype,"animationDuration",{get:function(){return"boolean"==typeof this.animation?400:(this.animation&&!this.animation.hasOwnProperty("duration")&&(this.animation.duration=400),this.animation.duration)},enumerable:!0,configurable:!0}),l.prototype.stopAnimation=function(e){var t=this;u.hasObservers(this.animationEnd)&&this.zone.run(function(){t.animationEnd.emit({from:e,to:t.displayValue})}),this.zone.run(function(){t.isAnimationInProgress=!1})},l.prototype.getAnimationOptions=function(e){var t="horizontal"===this.orientation,e=o.calculateRatio(this.min,this.max,e),n=t?100*e:100,e=t?100:100*e,r=t?"width":"height",a=(new Date).getTime(),i=t?this.statusWidth-n:this.statusHeight-e;return{property:r,startTime:a,startSize:t?n:e,deltaSize:i,duration:this.animationDuration*Math.abs(i/100)}},l.prototype.renderValueChange=function(e,t,n,r,a){this.renderer.setStyle(e,n,r+"%"),this.renderer.setStyle(t,n,a+"%")},l.prototype.resetProgress=function(e,t,n){var r=this,a=o.calculateRatio(this.min,this.max,this.value);this.renderValueChange(e,t,n,100*a,100/a),this.zone.run(function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1})},n.__decorate([i.Input(),n.__metadata("design:type",Object)],l.prototype,"label",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],l.prototype,"progressCssStyle",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],l.prototype,"progressCssClass",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],l.prototype,"emptyCssStyle",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],l.prototype,"emptyCssClass",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],l.prototype,"animation",void 0),n.__decorate([i.Output(),n.__metadata("design:type",i.EventEmitter)],l.prototype,"animationEnd",void 0),n.__decorate([i.ViewChild("progressStatus",{static:!1}),n.__metadata("design:type",i.ElementRef)],l.prototype,"progressStatusElement",void 0),n.__decorate([i.ViewChild("progressStatusWrap",{static:!1}),n.__metadata("design:type",i.ElementRef)],l.prototype,"progressStatusWrapperElement",void 0),n.__decorate([i.Component({exportAs:"kendoProgressBar",selector:"kendo-progressbar",template:'\n <span class="k-progress-status-wrap"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n [ngStyle]="emptyCssStyle"\n [ngClass]="emptyCssClass">\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n <div\n #progressStatus\n class="k-state-selected"\n [class.k-complete]="isCompleted"\n [ngStyle]="progressCssStyle"\n [ngClass]="progressCssClass"\n [style.width.%]="statusWidth"\n [style.height.%]="statusHeight"\n >\n <span\n #progressStatusWrap\n class="k-progress-status-wrap"\n [style.width.%]="statusWrapperWidth"\n [style.height.%]="statusWrapperHeight"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n >\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n </div>\n ',providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.progressbar"}]}),n.__metadata("design:paramtypes",[s.LocalizationService,i.NgZone,i.Renderer2])],l));function l(e,t,n){var r=a.call(this,e)||this;return r.localization=e,r.zone=t,r.renderer=n,r.label=!0,r.animation=!1,r.animationEnd=new i.EventEmitter,r}e.ProgressBarComponent=t},function(e,t){e.exports=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(3),i=n(0),o=n(7),n=[n(6).ProgressBarComponent,a.ChunkProgressBarComponent],a=[o.CommonModule],o=r.__decorate([i.NgModule({declarations:n,exports:n,imports:a})],s);function s(){}t.ProgressBarModule=o},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_MAX_ERROR_MESSAGE="The max value should be greater than the min.",t.LABEL_DECIMALS=3,t.MIN_RATIO=1e-4},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-progressbar",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1645798788,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"}},function(e,t){e.exports=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(6),a=(t.ProgressBarComponent=a.ProgressBarComponent,n(3)),a=(t.ChunkProgressBarComponent=a.ChunkProgressBarComponent,n(8)),i=(t.ProgressBarModule=a.ProgressBarModule,t);for(r in i)o(r,i[r])}],a={},r.m=n,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=13)}}});
System.register("@progress/kendo-angular-progressbar",["tslib","@progress/kendo-angular-l10n","@progress/kendo-angular-common","@angular/core","@angular/common","@progress/kendo-licensing"],function(o){var i,s,u,l,p,d;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){i=t(e)},function(e){s=t(e)},function(e){u=t(e)},function(e){l=t(e)},function(e){p=t(e)},function(e){d=t(e)}],execute:function(){function r(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,a;n=[function(e,t){e.exports=l},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(0),i=(t.reverseChunks=function(e,t){return"vertical"===e&&!t||"horizontal"===e&&t},t.formatValue=function(e,t,n,r){var a=o(e);if("boolean"!=typeof r){if("string"!=typeof r.format)return"function"==typeof r.format?r.format(e):a;switch(r.format){case"value":return a;case"percent":return Math.floor(i(e,t,n))+"%";default:return a}}return a},t.validateRange=function(e,t){if(a.isDevMode&&t<e)throw new Error(r.MIN_MAX_ERROR_MESSAGE)},t.adjustValueToRange=function(e,t,n){return Math.max(Math.min(n,t),e)},function(e,t,n){n=Math.abs((n-t)/100);return Math.abs((e-t)/n)}),o=function(e){e=e.toString().split(".");return 1===e.length?""+e[0]:e[0]+"."+e[1].substr(0,r.LABEL_DECIMALS)};t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)},t.extractValueFromChanges=function(e,t,n){return e[t]&&void 0!==e[t].currentValue?e[t].currentValue:n},t.runAnimation=function(e,t,n,r){return t&&"undefined"!=typeof requestAnimationFrame&&e.value&&n!==r},t.stopCurrentAnimation=function(e){var t=Boolean(e.animation),e=t&&e.animation.currentValue;return t&&!e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(1),i=n(5),o=n(0),s=n(2),n=n(4),i=(r=i.ProgressBarBase,a.__extends(u,r),Object.defineProperty(u.prototype,"chunks",{get:function(){for(var e=this.chunkCount,t=Array(e).fill(!1),n=Math.floor(this._progressRatio*e),r=0;r<n;r++)t[r]=!0;return s.reverseChunks(this.orientation,this.reverse)&&t.reverse(),t},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"chunkSizePercentage",{get:function(){return 100/this.chunkCount},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"orientationStyles",{get:function(){return"horizontal"===this.orientation?(this._orientationStyles.width=this.chunkSizePercentage+"%",this._orientationStyles.height=void 0):(this._orientationStyles.height=this.chunkSizePercentage+"%",this._orientationStyles.width=void 0),this._orientationStyles},enumerable:!0,configurable:!0}),a.__decorate([o.Input(),a.__metadata("design:type",Number)],u.prototype,"chunkCount",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"progressCssStyle",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"progressCssClass",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"emptyCssStyle",void 0),a.__decorate([o.Input(),a.__metadata("design:type",Object)],u.prototype,"emptyCssClass",void 0),a.__decorate([o.Component({exportAs:"kendoChunkProgressBar",selector:"kendo-chunkprogressbar",template:'\n <ul class="k-reset">\n <li class="k-item" *ngFor="let chunk of chunks; let i = index;"\n [class.k-first]="i === 0"\n [class.k-last]="i === chunkCount - 1"\n [class.k-state-selected]="chunk"\n [ngClass]="chunk ? progressCssClass : emptyCssClass"\n [ngStyle]="chunk ? progressCssStyle : emptyCssStyle"\n [style.width]="orientationStyles.width"\n [style.height]="orientationStyles.height"\n >\n </li>\n </ul>\n ',providers:[n.LocalizationService,{provide:n.L10N_PREFIX,useValue:"kendo.chunkprogressbar"}]}),a.__metadata("design:paramtypes",[n.LocalizationService])],u));function u(e){var t=r.call(this,e)||this;return t.localization=e,t.chunkCount=5,t._orientationStyles={width:t.chunkSizePercentage+"%"},t}t.ChunkProgressBarComponent=i},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(0),i=n(12),o=n(11),s=n(2);function u(e){var t=this;this.localization=e,this.widgetClasses=!0,this.roleAttribute="progressbar",this.max=100,this.min=0,this.value=0,this.orientation="horizontal",this.disabled=!1,this.reverse=!1,this.indeterminate=!1,this.displayValue=0,this.previousValue=0,i.validatePackage(o.packageMetadata),this.localizationChangeSubscription=e.changes.subscribe(function(e){e=e.rtl;t.direction=e?"rtl":"ltr"})}Object.defineProperty(u.prototype,"isHorizontal",{get:function(){return"horizontal"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isVertical",{get:function(){return"vertical"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"reverseClass",{get:function(){return this.reverse},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"indeterminateClass",{get:function(){return this.indeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"dirAttribute",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaMinAttribute",{get:function(){return String(this.min)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaMaxAttribute",{get:function(){return String(this.max)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"ariaValueAttribute",{get:function(){return this.indeterminate?void 0:String(this.displayValue)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"isCompleted",{get:function(){return this.value===this.max},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWidth",{get:function(){return"horizontal"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusHeight",{get:function(){return"vertical"===this.orientation?100*this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWrapperWidth",{get:function(){return"horizontal"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"statusWrapperHeight",{get:function(){return"vertical"===this.orientation?100/this._progressRatio:100},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"_progressRatio",{get:function(){return s.calculateRatio(this.min,this.max,this.displayValue)},enumerable:!0,configurable:!0}),u.prototype.ngOnChanges=function(e){var t=s.extractValueFromChanges(e,"min",this.min),n=s.extractValueFromChanges(e,"max",this.max),r=s.extractValueFromChanges(e,"value",this.value);(e.min||e.max||e.value)&&((e.min||e.max)&&s.validateRange(t,n),e.value&&(null!=r&&!Number.isNaN(r)||(this.value=t),e=this.displayValue,this.displayValue=s.adjustValueToRange(this.min,this.max,r),this.previousValue=e),this.min=t,this.max=n,this.displayValue=s.adjustValueToRange(this.min,this.max,r))},u.prototype.ngOnDestroy=function(){this.localizationChangeSubscription&&this.localizationChangeSubscription.unsubscribe()},r.__decorate([a.HostBinding("class.k-widget"),a.HostBinding("class.k-progressbar"),r.__metadata("design:type",Boolean)],u.prototype,"widgetClasses",void 0),r.__decorate([a.HostBinding("class.k-progressbar-horizontal"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"isHorizontal",null),r.__decorate([a.HostBinding("class.k-progressbar-vertical"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"isVertical",null),r.__decorate([a.HostBinding("class.k-state-disabled"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"disabledClass",null),r.__decorate([a.HostBinding("class.k-progressbar-reverse"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"reverseClass",null),r.__decorate([a.HostBinding("class.k-progressbar-indeterminate"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],u.prototype,"indeterminateClass",null),r.__decorate([a.HostBinding("attr.dir"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"dirAttribute",null),r.__decorate([a.HostBinding("attr.role"),r.__metadata("design:type",String)],u.prototype,"roleAttribute",void 0),r.__decorate([a.HostBinding("attr.aria-valuemin"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaMinAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuemax"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaMaxAttribute",null),r.__decorate([a.HostBinding("attr.aria-valuenow"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],u.prototype,"ariaValueAttribute",null),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"max",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"min",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],u.prototype,"value",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],u.prototype,"orientation",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"reverse",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],u.prototype,"indeterminate",void 0),t.ProgressBarBase=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(1),i=n(5),o=n(0),s=n(2),u=n(4),l=n(9),n=(a=i.ProgressBarBase,r.__extends(p,a),Object.defineProperty(p.prototype,"showLabel",{get:function(){return"boolean"==typeof this.label?this.label:(this.label&&!this.label.hasOwnProperty("visible")&&(this.label.visible=!0),this.label.visible)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"labelPosition",{get:function(){return"boolean"==typeof this.label?"end":(this.label&&!this.label.hasOwnProperty("position")&&(this.label.position="end"),this.label.position)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isPositionStart",{get:function(){return"start"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isPositionCenter",{get:function(){return"center"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isPositionEnd",{get:function(){return"end"===this.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"formattedLabelValue",{get:function(){return s.formatValue(this.displayValue,this.min,this.max,this.label)},enumerable:!0,configurable:!0}),p.prototype.ngOnChanges=function(e){a.prototype.ngOnChanges.call(this,e),this.isAnimationInProgress&&s.stopCurrentAnimation(e)&&(this.cancelCurrentAnimation=!0),s.runAnimation(e,this.animation,this.previousValue,this.displayValue)&&!e.value.firstChange&&this.startAnimation(this.previousValue)},p.prototype.ngOnDestroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame)},p.prototype.startAnimation=function(r){var a=this,i=(this.isAnimationInProgress=!0,this.progressStatusElement.nativeElement),o=this.progressStatusWrapperElement.nativeElement,s=this.getAnimationOptions(r);this.zone.runOutsideAngular(function(){a.animationFrame&&cancelAnimationFrame(a.animationFrame);function n(){var e=(new Date).getTime()-s.startTime,e=Math.min(e/s.duration,1),t=s.startSize+s.deltaSize*e;a.renderValueChange(i,o,s.property,t,100/t*100),e<1?a.cancelCurrentAnimation?a.resetProgress(i,o,s.property):a.animationFrame=requestAnimationFrame(n):a.stopAnimation(r)}n()})},Object.defineProperty(p.prototype,"animationDuration",{get:function(){return"boolean"==typeof this.animation?400:(this.animation&&!this.animation.hasOwnProperty("duration")&&(this.animation.duration=400),this.animation.duration)},enumerable:!0,configurable:!0}),p.prototype.stopAnimation=function(e){var t=this;l.hasObservers(this.animationEnd)&&this.zone.run(function(){t.animationEnd.emit({from:e,to:t.displayValue})}),this.zone.run(function(){t.isAnimationInProgress=!1})},p.prototype.getAnimationOptions=function(e){var t="horizontal"===this.orientation,e=s.calculateRatio(this.min,this.max,e),n=t?100*e:100,e=t?100:100*e,r=t?"width":"height",a=(new Date).getTime(),i=t?this.statusWidth-n:this.statusHeight-e;return{property:r,startTime:a,startSize:t?n:e,deltaSize:i,duration:this.animationDuration*Math.abs(i/100)}},p.prototype.renderValueChange=function(e,t,n,r,a){this.renderer.setStyle(e,n,r+"%"),this.renderer.setStyle(t,n,a+"%")},p.prototype.resetProgress=function(e,t,n){var r=this,a=s.calculateRatio(this.min,this.max,this.value);this.renderValueChange(e,t,n,100*a,100/a),this.zone.run(function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1})},r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"label",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"progressCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"progressCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"emptyCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"emptyCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],p.prototype,"animation",void 0),r.__decorate([o.Output(),r.__metadata("design:type",o.EventEmitter)],p.prototype,"animationEnd",void 0),r.__decorate([o.ViewChild("progressStatus",{static:!1}),r.__metadata("design:type",o.ElementRef)],p.prototype,"progressStatusElement",void 0),r.__decorate([o.ViewChild("progressStatusWrap",{static:!1}),r.__metadata("design:type",o.ElementRef)],p.prototype,"progressStatusWrapperElement",void 0),r.__decorate([o.Component({exportAs:"kendoProgressBar",selector:"kendo-progressbar",template:'\n <span class="k-progress-status-wrap"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n [ngStyle]="emptyCssStyle"\n [ngClass]="emptyCssClass">\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n <div\n #progressStatus\n class="k-state-selected"\n [class.k-complete]="isCompleted"\n [ngStyle]="progressCssStyle"\n [ngClass]="progressCssClass"\n [style.width.%]="statusWidth"\n [style.height.%]="statusHeight"\n >\n <span\n #progressStatusWrap\n class="k-progress-status-wrap"\n [style.width.%]="statusWrapperWidth"\n [style.height.%]="statusWrapperHeight"\n [class.k-progress-start]="isPositionStart"\n [class.k-progress-center]="isPositionCenter"\n [class.k-progress-end]="isPositionEnd"\n >\n <span *ngIf="showLabel" class="k-progress-status">{{formattedLabelValue}}</span>\n </span>\n </div>\n ',providers:[u.LocalizationService,{provide:u.L10N_PREFIX,useValue:"kendo.progressbar"}]}),r.__metadata("design:paramtypes",[u.LocalizationService,o.NgZone,o.Renderer2])],p));function p(e,t,n){var r=a.call(this,e)||this;return r.localization=e,r.zone=t,r.renderer=n,r.label=!0,r.animation=!1,r.animationEnd=new o.EventEmitter,r}t.ProgressBarComponent=n},function(e,t){e.exports=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(3),i=n(0),o=n(7),n=[n(6).ProgressBarComponent,a.ChunkProgressBarComponent],a=[o.CommonModule],o=r.__decorate([i.NgModule({declarations:n,exports:n,imports:a})],s);function s(){}t.ProgressBarModule=o},function(e,t){e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_MAX_ERROR_MESSAGE="The max value should be greater than the min.",t.LABEL_DECIMALS=3,t.MIN_RATIO=1e-4},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-progressbar",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1646219371,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"}},function(e,t){e.exports=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(6),a=(t.ProgressBarComponent=a.ProgressBarComponent,n(3)),a=(t.ChunkProgressBarComponent=a.ChunkProgressBarComponent,n(8)),i=(t.ProgressBarModule=a.ProgressBarModule,t);for(r in i)o(r,i[r])}],a={},r.m=n,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=13)}}});

@@ -6,3 +6,3 @@ {

"license": "SEE LICENSE IN LICENSE.md",
"version": "2.0.4-dev.202202251420",
"version": "2.0.4",
"main": "dist/npm/index.js",

@@ -69,3 +69,3 @@ "module": "dist/fesm5/index.js",

"@progress/kendo-angular-popup": "^4.0.0",
"@progress/kendo-angular-tasks": "cdn-bundle",
"@progress/kendo-angular-tasks": "^19.3.1",
"@progress/kendo-angular-treeview": "^5.0.0",

@@ -72,0 +72,0 @@ "@progress/kendo-drawing": "^1.5.8",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc