@progress/kendo-angular-progressbar 2.0.1-dev.202104070919 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/js/kendo-angular-progressbar.js +3 -3
- package/dist/cdn/main.js +2 -2
- package/dist/es/chunk/chunk-progressbar.component.js +1 -1
- package/dist/es/common/constants.js +1 -1
- package/dist/es/common/progressbar-base.js +1 -1
- package/dist/es/common/util.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/main.js +1 -1
- package/dist/es/package-metadata.js +2 -2
- package/dist/es/progressbar.component.js +1 -1
- package/dist/es/progressbar.module.js +30 -2
- package/dist/es/types/animation-end-event.js +1 -1
- package/dist/es/types/animation-options.interface.js +1 -1
- package/dist/es/types/label-fn-type.js +1 -1
- package/dist/es/types/label-position.js +1 -1
- package/dist/es/types/label-settings.interface.js +1 -1
- package/dist/es/types/label-type.js +1 -1
- package/dist/es/types/progressbar-animation.interface.js +1 -1
- package/dist/es/types/progressbar-orientation.js +1 -1
- package/dist/es2015/chunk/chunk-progressbar.component.d.ts +1 -1
- package/dist/es2015/chunk/chunk-progressbar.component.js +1 -1
- package/dist/es2015/common/constants.d.ts +1 -1
- package/dist/es2015/common/constants.js +1 -1
- package/dist/es2015/common/progressbar-base.d.ts +3 -2
- package/dist/es2015/common/progressbar-base.js +1 -1
- package/dist/es2015/common/util.d.ts +1 -1
- package/dist/es2015/common/util.js +1 -1
- package/dist/es2015/index.d.ts +1 -1
- package/dist/es2015/index.js +1 -1
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/main.d.ts +1 -1
- package/dist/es2015/main.js +1 -1
- package/dist/es2015/package-metadata.d.ts +1 -1
- package/dist/es2015/package-metadata.js +2 -2
- package/dist/es2015/progressbar.component.d.ts +1 -1
- package/dist/es2015/progressbar.component.js +1 -1
- package/dist/es2015/progressbar.module.d.ts +30 -2
- package/dist/es2015/progressbar.module.js +30 -2
- package/dist/es2015/types/animation-end-event.d.ts +1 -1
- package/dist/es2015/types/animation-end-event.js +1 -1
- package/dist/es2015/types/animation-options.interface.d.ts +1 -1
- package/dist/es2015/types/animation-options.interface.js +1 -1
- package/dist/es2015/types/label-fn-type.d.ts +1 -1
- package/dist/es2015/types/label-fn-type.js +1 -1
- package/dist/es2015/types/label-position.d.ts +1 -1
- package/dist/es2015/types/label-position.js +1 -1
- package/dist/es2015/types/label-settings.interface.d.ts +1 -1
- package/dist/es2015/types/label-settings.interface.js +1 -1
- package/dist/es2015/types/label-type.d.ts +1 -1
- package/dist/es2015/types/label-type.js +1 -1
- package/dist/es2015/types/progressbar-animation.interface.d.ts +1 -1
- package/dist/es2015/types/progressbar-animation.interface.js +1 -1
- package/dist/es2015/types/progressbar-orientation.d.ts +1 -1
- package/dist/es2015/types/progressbar-orientation.js +1 -1
- package/dist/fesm2015/index.js +31 -3
- package/dist/fesm5/index.js +31 -3
- package/dist/npm/chunk/chunk-progressbar.component.js +1 -1
- package/dist/npm/common/constants.js +1 -1
- package/dist/npm/common/progressbar-base.js +1 -1
- package/dist/npm/common/util.js +1 -1
- package/dist/npm/index.js +1 -1
- package/dist/npm/main.js +1 -1
- package/dist/npm/package-metadata.js +2 -2
- package/dist/npm/progressbar.component.js +1 -1
- package/dist/npm/progressbar.module.js +30 -2
- package/dist/npm/types/animation-end-event.js +1 -1
- package/dist/npm/types/animation-options.interface.js +1 -1
- package/dist/npm/types/label-fn-type.js +1 -1
- package/dist/npm/types/label-position.js +1 -1
- package/dist/npm/types/label-settings.interface.js +1 -1
- package/dist/npm/types/label-type.js +1 -1
- package/dist/npm/types/progressbar-animation.interface.js +1 -1
- package/dist/npm/types/progressbar-orientation.js +1 -1
- package/dist/systemjs/kendo-angular-progressbar.js +2 -2
- package/package.json +4 -4
- package/schematics/ngAdd/schema.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("rxjs"),require("@angular/common"),require("@progress/kendo-angular-l10n"),require("rxjs/operators")):"function"==typeof define&&define.amd?define(["@angular/core","rxjs","@angular/common","@progress/kendo-angular-l10n","rxjs/operators"],t):"object"==typeof exports?exports.KendoAngularProgressbar=t(require("@angular/core"),require("rxjs"),require("@angular/common"),require("@progress/kendo-angular-l10n"),require("rxjs/operators")):e.KendoAngularProgressbar=t(e["@angular/core"],e.rxjs,e["@angular/common"],e["@progress/kendo-angular-l10n"],e["rxjs/operators"])}(window,(function(e,t,n,r,i){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=10)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return i})),n.d(t,"__assign",(function(){return o})),n.d(t,"__rest",(function(){return
|
|
5
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("rxjs"),require("@angular/common"),require("@progress/kendo-angular-l10n"),require("rxjs/operators")):"function"==typeof define&&define.amd?define(["@angular/core","rxjs","@angular/common","@progress/kendo-angular-l10n","rxjs/operators"],t):"object"==typeof exports?exports.KendoAngularProgressbar=t(require("@angular/core"),require("rxjs"),require("@angular/common"),require("@progress/kendo-angular-l10n"),require("rxjs/operators")):e.KendoAngularProgressbar=t(e["@angular/core"],e.rxjs,e["@angular/common"],e["@progress/kendo-angular-l10n"],e["rxjs/operators"])}(window,(function(e,t,n,r,i){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=10)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return i})),n.d(t,"__assign",(function(){return o})),n.d(t,"__rest",(function(){return s})),n.d(t,"__decorate",(function(){return a})),n.d(t,"__param",(function(){return u})),n.d(t,"__metadata",(function(){return c})),n.d(t,"__awaiter",(function(){return l})),n.d(t,"__generator",(function(){return p})),n.d(t,"__createBinding",(function(){return d})),n.d(t,"__exportStar",(function(){return h})),n.d(t,"__values",(function(){return f})),n.d(t,"__read",(function(){return g})),n.d(t,"__spread",(function(){return m})),n.d(t,"__spreadArrays",(function(){return y})),n.d(t,"__await",(function(){return b})),n.d(t,"__asyncGenerator",(function(){return v})),n.d(t,"__asyncDelegator",(function(){return _})),n.d(t,"__asyncValues",(function(){return x})),n.d(t,"__makeTemplateObject",(function(){return O})),n.d(t,"__importStar",(function(){return C})),n.d(t,"__importDefault",(function(){return w})),n.d(t,"__classPrivateFieldGet",(function(){return j})),n.d(t,"__classPrivateFieldSet",(function(){return S}));
|
|
6
6
|
/*! *****************************************************************************
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
8
8
|
|
|
@@ -17,4 +17,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
17
17
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
18
18
|
PERFORMANCE OF THIS SOFTWARE.
|
|
19
19
|
***************************************************************************** */
|
|
20
|
-
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 i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function p(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,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 h(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 g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function m(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof b?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function _(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,i){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(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,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(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 w(e){return e&&e.__esModule?e:{default:e}}function j(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function S(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,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),i=n(0);t.reverseChunks=function(e,t){return"vertical"===e&&!t||"horizontal"===e&&t},t.formatValue=function(e,t,n,r){var i=a(e);if("boolean"!=typeof r){if("string"!=typeof r.format)return"function"==typeof r.format?r.format(e):i;switch(r.format){case"value":return i;case"percent":return Math.floor(o(e,t,n))+"%";default:return i}}return i},t.validateRange=function(e,t){if(i.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 o=function(e,t,n){var r=Math.abs((n-t)/100);return Math.abs((e-t)/r)},a=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){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(6),o=n(0),a=n(3),s=n(7),u=n(15),c=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.localization=t,i.zone=n,i.renderer=r,i.label=!0,i.animation=!1,i.animationEnd=new o.EventEmitter,i}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 a.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&&a.stopCurrentAnimation(t)&&(this.cancelCurrentAnimation=!0),a.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,i=this.getAnimationOptions(e);this.zone.runOutsideAngular((function(){t.animationFrame&&cancelAnimationFrame(t.animationFrame);var o=function(){var a=(new Date).getTime()-i.startTime,s=Math.min(a/i.duration,1),u=i.startSize+i.deltaSize*s,c=100/u*100;if(t.renderValueChange(n,r,i.property,u,c),s<1){if(t.cancelCurrentAnimation)return void t.resetProgress(n,r,i.property);t.animationFrame=requestAnimationFrame(o)}else t.stopAnimation(e)};o()}))},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=a.calculateRatio(this.min,this.max,e),r=t?100*n:100,i=t?100:100*n,o=t?"width":"height",s=(new Date).getTime(),u=t?r:i,c=t?this.statusWidth-r:this.statusHeight-i;return{property:o,startTime:s,startSize:u,deltaSize:c,duration:this.animationDuration*Math.abs(c/100)}},t.prototype.renderValueChange=function(e,t,n,r,i){this.renderer.setStyle(e,n,r+"%"),this.renderer.setStyle(t,n,i+"%")},t.prototype.resetProgress=function(e,t,n){var r=this,i=a.calculateRatio(this.min,this.max,this.value),o=100*i,s=100/i;this.renderValueChange(e,t,n,o,s),this.zone.run((function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1}))},r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"label",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"animation",void 0),r.__decorate([o.Output(),r.__metadata("design:type",o.EventEmitter)],t.prototype,"animationEnd",void 0),r.__decorate([o.ViewChild("progressStatus",{static:!1}),r.__metadata("design:type",o.ElementRef)],t.prototype,"progressStatusElement",void 0),r.__decorate([o.ViewChild("progressStatusWrap",{static:!1}),r.__metadata("design:type",o.ElementRef)],t.prototype,"progressStatusWrapperElement",void 0),t=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:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.progressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService,o.NgZone,o.Renderer2])],t)}(i.ProgressBarBase);t.ProgressBarComponent=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(11),a=n(12),s=n(3),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,o.validatePackage(a.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 i=this.displayValue;this.displayValue=s.adjustValueToRange(this.min,this.max,r),this.previousValue=i}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([i.HostBinding("class.k-widget"),i.HostBinding("class.k-progressbar"),r.__metadata("design:type",Boolean)],e.prototype,"widgetClasses",void 0),r.__decorate([i.HostBinding("class.k-progressbar-horizontal"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isHorizontal",null),r.__decorate([i.HostBinding("class.k-progressbar-vertical"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isVertical",null),r.__decorate([i.HostBinding("class.k-state-disabled"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),r.__decorate([i.HostBinding("class.k-progressbar-reverse"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"reverseClass",null),r.__decorate([i.HostBinding("class.k-progressbar-indeterminate"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"indeterminateClass",null),r.__decorate([i.HostBinding("attr.dir"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"dirAttribute",null),r.__decorate([i.HostBinding("attr.role"),r.__metadata("design:type",String)],e.prototype,"roleAttribute",void 0),r.__decorate([i.HostBinding("attr.aria-valuemin"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMinAttribute",null),r.__decorate([i.HostBinding("attr.aria-valuemax"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMaxAttribute",null),r.__decorate([i.HostBinding("attr.aria-valuenow"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaValueAttribute",null),r.__decorate([i.Input(),r.__metadata("design:type",Number)],e.prototype,"max",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Number)],e.prototype,"min",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Number)],e.prototype,"value",void 0),r.__decorate([i.Input(),r.__metadata("design:type",String)],e.prototype,"orientation",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"indeterminate",void 0),e}();t.ProgressBarBase=u},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(6),o=n(0),a=n(3),s=n(7),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 a.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([o.Input(),r.__metadata("design:type",Number)],t.prototype,"chunkCount",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),t=r.__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:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.chunkprogressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService])],t)}(i.ProgressBarBase);t.ChunkProgressBarComponent=u},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.ProgressBarComponent=r.ProgressBarComponent;var i=n(8);t.ChunkProgressBarComponent=i.ChunkProgressBarComponent;var o=n(14);t.ProgressBarModule=o.ProgressBarModule},function(e,t,n){"use strict";n.r(t),n.d(t,"validatePackage",(function(){return c}));var r,i,o=["DhrPzK8=","CgfYC2u=","u2vLia==","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","q2X1D1y=","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","zg9JC1vYBa==","zxHWAxj5rgf0zq==","rMrNr2W=","z3jVDxa=","wwPKqvC=","Dg9mB2nHBgvtDhjPBMC=","BMfTzq==","Cwzus0e=","tM8GBgLJzw5ZzsbMB3vUzc4k","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","veTjqvO=","swXxDwm=","D09PC2e=","re5rCfy=","AgfZ","DhLWzq==","D1vfwvu=","sKPkD2e=","A0XWz3i=","DMvYC2LVBG==","y2vzBKi=","C2v0","BgvUz3rO","Eu5Yt2y=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","zwfwqLi=","z3jVDxbfBMq=","ChjVzhvJDhm=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","BMnyuLm=","BK1VugS=","zNvUy3rPB24=","s1LMuNe=","zgf0yq==","yK9pqNy=","BfbuEg0=","DgLTzxn0yw1W","D2fYBG==","r1zxqLq=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","B2jQzwn0","uNHkrKi=","CgfJA2fNzu5HBwu=","y29Kzq==","C3z3CMm=","D29NvNG=","uhjVz3jLC3mG","BgLJzw5ZAw5Nrg9JC1vYBa==","v0nkq0q=","ChvIBgLZAerHDgu=","ChjVzhvJDenVzgvZ","z2v0","zMLUza==","wvLpyMG=","A3fbB0C=","ChjVzhvJDe5HBwu="];r=o,i=334,function(e){for(;--e;)r.push(r.shift())}(++i);var a=function(e,t){var n=o[e-=0];if(void 0===a.QMJAKQ){a.PnYrIu=function(e){for(var t=function(e){for(var t,n,r=String(e).replace(/=+$/,""),i="",o=0,a=0;n=r.charAt(a++);~n&&(t=o%4?64*t+n:n,o++%4)?i+=String.fromCharCode(255&t>>(-2*o&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return i}(e),n=[],r=0,i=t.length;r<i;r++)n+="%"+("00"+t.charCodeAt(r).toString(16)).slice(-2);return decodeURIComponent(n)},a.TLHuwf={},a.QMJAKQ=!0}var r=a.TLHuwf[e];return void 0===r?(n=a.PnYrIu(n),a.TLHuwf[e]=n):n=r,n},s={data:' {"timestamp":1611322422,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1642770000}],"integrity":"GZYuP8GbCQNqsMpEiXy35YzR7T8="} '},u=new Map;function c(e){if(u[a("0x3a")](e[a("0x32")])){if(a("0x11")==a("0x11"))return u[a("0x21")](e[a("0x32")])}var t,n=e[a("0x1")]?" v"+e[a("0x1")]:"",r=e[a("0x32")]+n,i=JSON[a("0x27")](s[a("0xf")]),o=!i[a("0x12")],c=function(e,t){var n=e[a("0x9")];if(!n||!n[a("0x4")]){if(a("0x1b")==a("0x1b"))return null}var r=new Set(t);return n[a("0x22")]((function(e){if(a("0x2a")!==a("0x1a"))return r[a("0x3a")](e[a("0x19")])}))}(i,e[a("0x20")]);if(o)if(a("0x2")!==a("0xe"))t={type:0,packageName:r,docsUrl:e[a("0x1d")]};else{}else if(a("0x10")===a("0x23")){}else if(c){if(a("0x2e")===a("0xb")){}else if(c[a("0x29")]<e[a("0x1f")])if(a("0x24")!=a("0x24")){}else t={type:2,packageName:r,publishDate:p(e[a("0x1f")]),expiryDate:p(c[a("0x29")]),docsUrl:e[a("0x1d")]}}else if(a("0x39")===a("0x5")){}else t={type:1,packageName:r,docsUrl:e[a("0x1d")]};if(t&&typeof console===a("0x16"))if(a("0x7")===a("0x3d")){}else{var d=a("0x1c")+e[a("0x25")],f=typeof console[a("0x2f")]===a("0xd");if(f)if(a("0x3c")!==a("0x37"))console[a("0x2f")](d);else{}else if(a("0x33")===a("0x26")){}else console[a("0x13")](d);if(console[a("0x13")](l(t)),f)if(a("0x30")!==a("0x1e"))console[a("0x8")]();else{}}var h=!t;return u[a("0x3")](e[a("0x32")],h),h}function l(e){var t=a("0x2b")+e[a("0x18")]+"\n";if(2===e[a("0x3b")])if(a("0x0")===a("0x36")){}else t+=a("0x6")+e[a("0x2d")][a("0x31")]()+a("0xa")+e[a("0x1f")][a("0x31")]()+".\n";else if(0===e[a("0x3b")])if(a("0x14")!==a("0x38"))t+=a("0x34");else{}else if(1===e[a("0x3b")])if(a("0x17")===a("0xc")){}else t+=a("0x15");return t+=a("0x28")+e[a("0x2c")]+a("0x35")}function p(e){return new Date(1e3*e)}},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:1617787166,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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(8),o=n(0),a=n(4),s=[n(5).ProgressBarComponent,i.ChunkProgressBarComponent],u=[a.CommonModule],c=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:s,exports:s,imports:u})],e)}();t.ProgressBarModule=c},function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeService",(function(){return F})),n.d(t,"PreventableEvent",(function(){return ee})),n.d(t,"DraggableDirective",(function(){return O})),n.d(t,"DraggableModule",(function(){return C})),n.d(t,"closestInScope",(function(){return w})),n.d(t,"closest",(function(){return j})),n.d(t,"contains",(function(){return S})),n.d(t,"findElement",(function(){return P})),n.d(t,"findFocusableChild",(function(){return A})),n.d(t,"findFocusable",(function(){return B})),n.d(t,"hasClasses",(function(){return M})),n.d(t,"isFocusableWithTabKey",(function(){return D})),n.d(t,"isFocusable",(function(){return E})),n.d(t,"isVisible",(function(){return k})),n.d(t,"matchesClasses",(function(){return I})),n.d(t,"matchesNodeName",(function(){return N})),n.d(t,"rtlScrollPosition",(function(){return R})),n.d(t,"EventsOutsideAngularDirective",(function(){return H})),n.d(t,"EventsModule",(function(){return T})),n.d(t,"ResizeSensorComponent",(function(){return X})),n.d(t,"ResizeBatchService",(function(){return Z})),n.d(t,"ResizeCompatService",(function(){return W})),n.d(t,"ResizeObserverService",(function(){return Y})),n.d(t,"ResizeSensorModule",(function(){return Q})),n.d(t,"KendoInput",(function(){return $})),n.d(t,"isDocumentAvailable",(function(){return m})),n.d(t,"isChanged",(function(){return b})),n.d(t,"anyChanged",(function(){return v})),n.d(t,"hasObservers",(function(){return _})),n.d(t,"guid",(function(){return x})),n.d(t,"Keys",(function(){return V}));var r=n(1),i=n(0),o=function(e,t){return function(n){return t(e(n))}},a=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},s=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},u=function(){},c=function(e){return e.preventDefault()},l=/touch/;function p(e){return e.type.match(l)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var d=function(e){var t=this,n=e.press;void 0===n&&(n=u);var r=e.drag;void 0===r&&(r=u);var i=e.release;void 0===i&&(i=u);var l=e.mouseOnly;void 0===l&&(l=!1),this._pressHandler=o(p,n),this._dragHandler=o(p,r),this._releaseHandler=o(p,i),this._ignoreMouse=!1,this._mouseOnly=l,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(a(document,"mousemove",t._mousemove),a(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){s(document,"mousemove",t._mousemove),s(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(a(document,"pointermove",t._pointermove),a(document,"pointerup",t._pointerup),a(document,"pointercancel",t._pointerup),a(document,"contextmenu",c),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(s(document,"pointermove",t._pointermove),s(document,"pointerup",t._pointerup),s(document,"pointercancel",t._pointerup),s(document,"contextmenu",c),t._releaseHandler(e))}};d.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},d.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},d.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?a(e,"pointerdown",this._pointerdown):(a(e,"mousedown",this._mousedown),this._mouseOnly||(a(e,"touchstart",this._touchstart),a(e,"touchmove",this._touchmove),a(e,"touchend",this._touchend)))},d.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return s(e,"pointerdown",this._pointerdown),s(document,"pointermove",this._pointermove),s(document,"pointerup",this._pointerup),s(document,"contextmenu",c),void s(document,"pointercancel",this._pointerup);s(e,"mousedown",this._mousedown),this._mouseOnly||(s(e,"touchstart",this._touchstart),s(e,"touchmove",this._touchmove),s(e,"touchend",this._touchend))},d.prototype._usePointers=function(){return!this._mouseOnly&&d.supportPointerEvent()},d.prototype.update=function(e){var t=e.press;void 0===t&&(t=u);var n=e.drag;void 0===n&&(n=u);var r=e.release;void 0===r&&(r=u);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=o(p,t),this._dragHandler=o(p,n),this._releaseHandler=o(p,r),this._mouseOnly=i},d.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},d.default=d;var f=d,h=n(4),g=n(9),y=n(2),m=function(){return"undefined"!=typeof document},b=function(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)},v=function(e,t,n){return void 0===n&&(n=!0),e.some((function(e){return b(e,t,n)}))},_=function(e){return e&&e.observers.length>0},x=function(){for(var e="",t=0;t<32;t++){var n=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&n|8:n).toString(16)}return e},O=function(){function e(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new i.EventEmitter,this.kendoDrag=new i.EventEmitter,this.kendoRelease=new i.EventEmitter}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){b("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;m()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new f({drag:function(t){return e.kendoDrag.next(t)},press:function(t){return e.kendoPress.next(t)},release:function(t){return e.kendoRelease.next(t)}}),this.ngZone.runOutsideAngular((function(){return e.draggable.bindTo(e.element.nativeElement)}))))},e.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Boolean)],e.prototype,"enableDrag",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoPress",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoDrag",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoRelease",void 0),e=Object(r.__decorate)([Object(i.Directive)({selector:"[kendoDraggable]"}),Object(r.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone])],e)}(),C=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[O],exports:[O],imports:[h.CommonModule]})],e)}(),w=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e},j=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},S=function(e,t,n){if(void 0===n&&(n=!1),!j(t,(function(t){return t===e})))return!1;var r=j(t,(function(e){return e===t}));return r&&(n||r!==e)},P=function(e,t,n){if(void 0===n&&(n=!0),e){if(n&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var r=P(e,t);if(r)return r}e=e.nextSibling}}},z=/^(?:a|input|select|option|textarea|button|object)$/i,E=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&z.test(t)||n},k=function(e){var t=e.getBoundingClientRect(),n=t.width>0&&t.height>0,r=0!==t.x&&0!==t.y;return(n||r)&&"hidden"!==window.getComputedStyle(e).visibility},D=function(e,t){if(void 0===t&&(t=!0),!E(e))return!1;var n=e.getAttribute("tabIndex");return(!t||k(e))&&"-1"!==n},A=function(e,t){return void 0===t&&(t=!0),P(e,(function(e){return D(e,t)}),!1)},B=function(e,t){return void 0===t&&(t=!0),P(e,(function(e){return D(e,t)}))},K=function(e){return String(e).trim().split(" ")},M=function(e,t){var n=K(t);return Boolean(K(e.className).find((function(e){return n.indexOf(e)>=0})))},I=function(e){return function(t){return M(t,e)}},L={},N=function(e){return L[e]||(L[e]=function(t){return String(t.nodeName).toLowerCase()===e.toLowerCase()}),L[e]};function R(e,t,n){var r=e;return n<0?r=-e:n>0&&(r=t.scrollWidth-t.offsetWidth-e),r}var V,H=function(){function e(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}return e.prototype.ngOnInit=function(){var e=this;if(this.element&&this.element.nativeElement){var t=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular((function(){for(var n in t)t.hasOwnProperty(n)&&e.subscriptions.push(e.renderer.listen(e.element.nativeElement,n,e.scope?t[n].bind(e.scope):t[n]))}))}},e.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},Object(r.__decorate)([Object(i.Input)("kendoEventsOutsideAngular"),Object(r.__metadata)("design:type",Object)],e.prototype,"events",void 0),Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Object)],e.prototype,"scope",void 0),e=Object(r.__decorate)([Object(i.Directive)({selector:"[kendoEventsOutsideAngular]"}),Object(r.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],e)}(),T=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[H],exports:[H]})],e)}(),F=function(){function e(e){this.resizeBatchService=e,this.resize=new i.EventEmitter,this.acceptedSize=!1,this.state=0}return e.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},e.prototype.checkChanges=function(){m()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},e.prototype.destroy=function(){this.resizeBatchService.cancel(this)},e.prototype.checkSize=function(){if(this.parentElement){var e=this.measure(),t=e.width,n=e.height;if(!(t===this.lastWidth&&n===this.lastHeight))return this.lastWidth=t,this.lastHeight=n,this.acceptedSize=!1,this.resize.emit(),!0}},e.prototype.initSize=function(){var e=this.measure();this.lastWidth=e.width,this.lastHeight=e.height},e.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},e}(),U=function(e){var t=document.createElement("div");return t.style.cssText=e,t},q="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",W=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return Object(r.__extends)(t,e),t.prototype.checkChanges=function(){2!==this.state?e.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},t.prototype.destroy=function(){if(e.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand){var t=this.element.nativeElement;t.removeChild(this.expand),t.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null}},t.prototype.checkSize=function(){if(e.prototype.checkSize.call(this))return this.reset(),!0},t.prototype.init=function(){var e,t=this.parentElement=this.element.nativeElement.parentElement;"static"===(e="position",getComputedStyle(t,null).getPropertyValue(e))&&(t.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},t.prototype.render=function(){var e=this.element.nativeElement;e.style.cssText=q,e.setAttribute("dir","ltr"),this.expand=U(q),this.expandChild=U("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=U(q);var t=U("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(t),e.appendChild(this.shrink)},t.prototype.reset=function(){var e=this.expandChild;e.style.width="100000px",e.style.height="100000px";var t=this.expand;t.scrollLeft=1e5,t.scrollTop=1e5;var n=this.shrink;n.scrollLeft=1e5,n.scrollTop=1e5},t.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.subscription=Object(y.merge)(Object(y.fromEvent)(e.shrink,"scroll"),Object(y.fromEvent)(e.expand,"scroll")).subscribe((function(){e.checkSize()}))}))},t}(F),G="undefined"!=typeof ResizeObserver,Y=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return Object(r.__extends)(t,e),t.supported=function(){return G},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},t.prototype.init=function(){var e=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular((function(){e.resizeObserver=new ResizeObserver((function(){e.checkSize()})),e.resizeObserver.observe(e.parentElement)}))},t}(F),Z=function(){function e(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return e.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular((function(){n.subscription=Object(y.from)(n.resolvedPromise).subscribe(n.flush)}))},e.prototype.isScheduled=function(e){return Boolean(this.scheduled.find((function(t){return t.instance===e})))},e.prototype.cancel=function(e){for(var t=this.scheduled,n=t.length,r=0;r<n;r++)if(t[r].instance===e)return t.splice(r,1),void(t.length||this.unsubscribe())},e.prototype.ngOnDestroy=function(){this.unsubscribe()},e.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},e.prototype.flush=function(){this.scheduled.forEach((function(e){e.method.call(e.instance)})),this.scheduled=[],this.unsubscribe()},e=Object(r.__decorate)([Object(i.Injectable)(),Object(r.__metadata)("design:paramtypes",[i.NgZone])],e)}(),X=function(){function e(e,t,n){var r=this;this.rateLimit=10,this.resize=new i.EventEmitter;var o=Y.supported()?Y:W;this.resizeService=new o(e,t,n);var a=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(Object(g.auditTime)(a)).subscribe((function(){r.resizeService.acceptedSize||r.resize.emit()}))}return e.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},e.prototype.acceptSize=function(e){this.resizeService.acceptSize(e)},Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Number)],e.prototype,"rateLimit",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"resize",void 0),e=Object(r.__decorate)([Object(i.Component)({selector:"kendo-resize-sensor",template:""}),Object(r.__metadata)("design:paramtypes",[Z,i.ElementRef,i.NgZone])],e)}(),J=[X],Q=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[J],exports:[J],providers:[Z]})],e)}(),$=function(){};!function(e){e[e.Alt=18]="Alt",e[e.ArrowDown=40]="ArrowDown",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowUp=38]="ArrowUp",e[e.Backspace=8]="Backspace",e[e.Control=17]="Control",e[e.Delete=46]="Delete",e[e.Digit0=48]="Digit0",e[e.Digit1=49]="Digit1",e[e.Digit2=50]="Digit2",e[e.Digit3=51]="Digit3",e[e.Digit4=52]="Digit4",e[e.Digit5=53]="Digit5",e[e.Digit6=54]="Digit6",e[e.Digit7=55]="Digit7",e[e.Digit8=56]="Digit8",e[e.Digit9=57]="Digit9",e[e.End=35]="End",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F10=121]="F10",e[e.Home=36]="Home",e[e.Insert=45]="Insert",e[e.KeyA=65]="KeyA",e[e.KeyB=66]="KeyB",e[e.KeyC=67]="KeyC",e[e.KeyD=68]="KeyD",e[e.KeyE=69]="KeyE",e[e.KeyF=70]="KeyF",e[e.KeyG=71]="KeyG",e[e.KeyH=72]="KeyH",e[e.KeyI=73]="KeyI",e[e.KeyJ=74]="KeyJ",e[e.KeyK=75]="KeyK",e[e.KeyL=76]="KeyL",e[e.KeyM=77]="KeyM",e[e.KeyN=78]="KeyN",e[e.KeyO=79]="KeyO",e[e.KeyP=80]="KeyP",e[e.KeyQ=81]="KeyQ",e[e.KeyR=82]="KeyR",e[e.KeyS=83]="KeyS",e[e.KeyT=84]="KeyT",e[e.KeyU=85]="KeyU",e[e.KeyV=86]="KeyV",e[e.KeyW=87]="KeyW",e[e.KeyX=88]="KeyX",e[e.KeyY=89]="KeyY",e[e.KeyZ=90]="KeyZ",e[e.NumpadDecimal=110]="NumpadDecimal",e[e.PageDown=34]="PageDown",e[e.PageUp=33]="PageUp",e[e.Shift=16]="Shift",e[e.Space=32]="Space",e[e.Tab=9]="Tab"}(V||(V={}));var ee=function(){function e(){this.prevented=!1}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}()}])}));
|
|
20
|
+
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 i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function p(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function d(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function h(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function f(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 g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function y(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=i[e](t)).value instanceof b?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function _(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,i){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(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,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(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 w(e){return e&&e.__esModule?e:{default:e}}function j(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function S(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,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),i=n(0);t.reverseChunks=function(e,t){return"vertical"===e&&!t||"horizontal"===e&&t},t.formatValue=function(e,t,n,r){var i=s(e);if("boolean"!=typeof r){if("string"!=typeof r.format)return"function"==typeof r.format?r.format(e):i;switch(r.format){case"value":return i;case"percent":return Math.floor(o(e,t,n))+"%";default:return i}}return i},t.validateRange=function(e,t){if(i.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 o=function(e,t,n){var r=Math.abs((n-t)/100);return Math.abs((e-t)/r)},s=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){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(6),o=n(0),s=n(3),a=n(7),u=n(15),c=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.localization=t,i.zone=n,i.renderer=r,i.label=!0,i.animation=!1,i.animationEnd=new o.EventEmitter,i}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 s.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&&s.stopCurrentAnimation(t)&&(this.cancelCurrentAnimation=!0),s.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,i=this.getAnimationOptions(e);this.zone.runOutsideAngular((function(){t.animationFrame&&cancelAnimationFrame(t.animationFrame);var o=function(){var s=(new Date).getTime()-i.startTime,a=Math.min(s/i.duration,1),u=i.startSize+i.deltaSize*a,c=100/u*100;if(t.renderValueChange(n,r,i.property,u,c),a<1){if(t.cancelCurrentAnimation)return void t.resetProgress(n,r,i.property);t.animationFrame=requestAnimationFrame(o)}else t.stopAnimation(e)};o()}))},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=s.calculateRatio(this.min,this.max,e),r=t?100*n:100,i=t?100:100*n,o=t?"width":"height",a=(new Date).getTime(),u=t?r:i,c=t?this.statusWidth-r:this.statusHeight-i;return{property:o,startTime:a,startSize:u,deltaSize:c,duration:this.animationDuration*Math.abs(c/100)}},t.prototype.renderValueChange=function(e,t,n,r,i){this.renderer.setStyle(e,n,r+"%"),this.renderer.setStyle(t,n,i+"%")},t.prototype.resetProgress=function(e,t,n){var r=this,i=s.calculateRatio(this.min,this.max,this.value),o=100*i,a=100/i;this.renderValueChange(e,t,n,o,a),this.zone.run((function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1}))},r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"label",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"animation",void 0),r.__decorate([o.Output(),r.__metadata("design:type",o.EventEmitter)],t.prototype,"animationEnd",void 0),r.__decorate([o.ViewChild("progressStatus",{static:!1}),r.__metadata("design:type",o.ElementRef)],t.prototype,"progressStatusElement",void 0),r.__decorate([o.ViewChild("progressStatusWrap",{static:!1}),r.__metadata("design:type",o.ElementRef)],t.prototype,"progressStatusWrapperElement",void 0),t=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:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.progressbar"}]}),r.__metadata("design:paramtypes",[a.LocalizationService,o.NgZone,o.Renderer2])],t)}(i.ProgressBarBase);t.ProgressBarComponent=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(11),s=n(12),a=n(3),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,o.validatePackage(s.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 a.calculateRatio(this.min,this.max,this.displayValue)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){var t=a.extractValueFromChanges(e,"min",this.min),n=a.extractValueFromChanges(e,"max",this.max),r=a.extractValueFromChanges(e,"value",this.value);if(e.min||e.max||e.value){if((e.min||e.max)&&a.validateRange(t,n),e.value){(null==r||Number.isNaN(r))&&(this.value=t);var i=this.displayValue;this.displayValue=a.adjustValueToRange(this.min,this.max,r),this.previousValue=i}this.min=t,this.max=n,this.displayValue=a.adjustValueToRange(this.min,this.max,r)}},e.prototype.ngOnDestroy=function(){this.localizationChangeSubscription&&this.localizationChangeSubscription.unsubscribe()},r.__decorate([i.HostBinding("class.k-widget"),i.HostBinding("class.k-progressbar"),r.__metadata("design:type",Boolean)],e.prototype,"widgetClasses",void 0),r.__decorate([i.HostBinding("class.k-progressbar-horizontal"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isHorizontal",null),r.__decorate([i.HostBinding("class.k-progressbar-vertical"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"isVertical",null),r.__decorate([i.HostBinding("class.k-state-disabled"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),r.__decorate([i.HostBinding("class.k-progressbar-reverse"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"reverseClass",null),r.__decorate([i.HostBinding("class.k-progressbar-indeterminate"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"indeterminateClass",null),r.__decorate([i.HostBinding("attr.dir"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"dirAttribute",null),r.__decorate([i.HostBinding("attr.role"),r.__metadata("design:type",String)],e.prototype,"roleAttribute",void 0),r.__decorate([i.HostBinding("attr.aria-valuemin"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMinAttribute",null),r.__decorate([i.HostBinding("attr.aria-valuemax"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaMaxAttribute",null),r.__decorate([i.HostBinding("attr.aria-valuenow"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"ariaValueAttribute",null),r.__decorate([i.Input(),r.__metadata("design:type",Number)],e.prototype,"max",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Number)],e.prototype,"min",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Number)],e.prototype,"value",void 0),r.__decorate([i.Input(),r.__metadata("design:type",String)],e.prototype,"orientation",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"reverse",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"indeterminate",void 0),e}();t.ProgressBarBase=u},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(6),o=n(0),s=n(3),a=n(7),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 s.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([o.Input(),r.__metadata("design:type",Number)],t.prototype,"chunkCount",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),t=r.__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:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.chunkprogressbar"}]}),r.__metadata("design:paramtypes",[a.LocalizationService])],t)}(i.ProgressBarBase);t.ChunkProgressBarComponent=u},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);t.ProgressBarComponent=r.ProgressBarComponent;var i=n(8);t.ChunkProgressBarComponent=i.ChunkProgressBarComponent;var o=n(14);t.ProgressBarModule=o.ProgressBarModule},function(e,t,n){"use strict";n.r(t),n.d(t,"setScriptKey",(function(){return c})),n.d(t,"validatePackage",(function(){return l}));var r,i,o=["EMfOwhq=","z3jVDxbfBMq=","B2jQzwn0","u2vLia==","BKDQzKK=","zNvUy3rPB24=","zgf0yq==","D1rPsKq=","z2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DgLTzxn0yw1W","y29Kzq==","DhLWzq==","C2v0","DMvYC2LVBG==","ChjVzhvJDenVzgvZ","u3PgAeu=","BMfTzq==","sg94tgG=","zun0Beq=","z3jVDxa=","ChjVzhvJDhm=","CgfYC2u=","BfP2zKS=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","Cfj6wKC=","tM8GBgLJzw5ZzsbMB3vUzc4k","ChjVzhvJDe5HBwu=","uwrAy0q=","BefHr0m=","t3jquwq=","s1Ldrvi=","CNvlCgC=","AgfZ","zxHWAxj5rgf0zq==","CgfJA2fNzu5HBwu=","y3LqC08=","CMr1Aui=","CNvHzve=","zg9JC1vYBa==","uhjVz3jLC3mG","ChvIBgLZAerHDgu=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","D2fYBG==","B3nTvxa=","swTrwfO=","CLfMrLm=","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","whv2wMO=","rLbJyLa=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","C2nYAxb0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","EfbArNi=","zMLUza==","Dw5KzwzPBMvK","Dg9mB2nHBgvtDhjPBMC=","BgvUz3rO"];r=o,i=131,function(e){for(;--e;)r.push(r.shift())}(++i);var s=function(e,t){var n=o[e-=0];if(void 0===s.eVebMg){s.JsjtEd=function(e){for(var t=function(e){for(var t,n,r=String(e).replace(/=+$/,""),i="",o=0,s=0;n=r.charAt(s++);~n&&(t=o%4?64*t+n:n,o++%4)?i+=String.fromCharCode(255&t>>(-2*o&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return i}(e),n=[],r=0,i=t.length;r<i;r++)n+="%"+("00"+t.charCodeAt(r).toString(16)).slice(-2);return decodeURIComponent(n)},s.rqrXoU={},s.eVebMg=!0}var r=s.rqrXoU[e];return void 0===r?(n=s.JsjtEd(n),s.rqrXoU[e]=n):n=r,n},a={data:' {"timestamp":1635163540,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1642770000}],"integrity":"Iq+/hmrfWBiuOSBY/c3zb/zGgBg="} '},u=new Map;function c(e){}function l(e){if(u[s("0x14")](e[s("0x4")])){if(s("0x35")==s("0x35"))return u[s("0x36")](e[s("0x4")])}var t,n=e[s("0x1")]?" v"+e[s("0x1")]:"",r=e[s("0x4")]+n,i=JSON[s("0x9")](a[s("0x34")]),o=!i[s("0x26")]&&!i[s("0x38")],c=i[s("0x26")]&&typeof KendoLicensing===s("0x2b"),l=function(e,t){var n=e[s("0x8")];if(!n||!n[s("0x2d")]){if(s("0x11")==s("0x11"))return null}var r=new Set(t);return n[s("0x2a")]((function(e){if(s("0xa")!==s("0x18"))return r[s("0x14")](e[s("0x39")])}))}(i,e[s("0x2")]);if(o||c)if(s("0x29")!=s("0x29")){}else t={type:0,packageName:r,docsUrl:e[s("0x27")]};else if(s("0xf")===s("0x24")){}else if(l){if(s("0x12")!=s("0x12")){}else if(l[s("0x37")]<e[s("0x1c")])if(s("0x21")===s("0x32")){}else t={type:2,packageName:r,publishDate:p(e[s("0x1c")]),expiryDate:p(l[s("0x37")]),docsUrl:e[s("0x27")]}}else if(s("0x6")!=s("0x6")){}else t={type:1,packageName:r,docsUrl:e[s("0x27")]};if(t&&typeof console===s("0x30"))if(s("0x5")===s("0x3")){}else{var d=s("0x1b")+e[s("0xe")],h=typeof console[s("0x7")]===s("0x33");if(h)if(s("0xc")!=s("0xc")){}else console[s("0x7")](d);else if(s("0x17")!=s("0x17")){}else console[s("0x1e")](d);if(console[s("0x1e")](function(e){var t=s("0x28")+e[s("0x16")]+"\n";if(2===e[s("0x3a")])if(s("0x20")!=s("0x20")){}else t+=s("0x25")+e[s("0x15")][s("0x2c")]()+s("0xb")+e[s("0x1c")][s("0x2c")]()+".\n";else if(0===e[s("0x3a")])if(s("0x13")!==s("0x10"))t+=s("0xd");else{}else if(1===e[s("0x3a")])if(s("0x2e")===s("0x23")){}else t+=s("0x1d");return t+=s("0x31")+e[s("0x1a")]+s("0x22")}(t)),h)if(s("0x1f")!==s("0x19"))console[s("0x2f")]();else{}}var f=!t;return u[s("0x0")](e[s("0x4")],f),f}function p(e){return new Date(1e3*e)}},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:1635939889,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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(8),o=n(0),s=n(4),a=[n(5).ProgressBarComponent,i.ChunkProgressBarComponent],u=[s.CommonModule],c=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:a,exports:a,imports:u})],e)}();t.ProgressBarModule=c},function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeService",(function(){return U})),n.d(t,"PreventableEvent",(function(){return te})),n.d(t,"DraggableDirective",(function(){return C})),n.d(t,"DraggableModule",(function(){return w})),n.d(t,"closestInScope",(function(){return j})),n.d(t,"closest",(function(){return S})),n.d(t,"contains",(function(){return P})),n.d(t,"findElement",(function(){return z})),n.d(t,"findFocusableChild",(function(){return B})),n.d(t,"findFocusable",(function(){return K})),n.d(t,"hasClasses",(function(){return I})),n.d(t,"isFocusableWithTabKey",(function(){return D})),n.d(t,"isFocusable",(function(){return k})),n.d(t,"isVisible",(function(){return A})),n.d(t,"matchesClasses",(function(){return L})),n.d(t,"matchesNodeName",(function(){return R})),n.d(t,"rtlScrollPosition",(function(){return N})),n.d(t,"EventsOutsideAngularDirective",(function(){return T})),n.d(t,"EventsModule",(function(){return F})),n.d(t,"ResizeSensorComponent",(function(){return J})),n.d(t,"ResizeBatchService",(function(){return X})),n.d(t,"ResizeCompatService",(function(){return Z})),n.d(t,"ResizeObserverService",(function(){return Y})),n.d(t,"ResizeSensorModule",(function(){return $})),n.d(t,"KendoInput",(function(){return ee})),n.d(t,"isDocumentAvailable",(function(){return b})),n.d(t,"isChanged",(function(){return v})),n.d(t,"anyChanged",(function(){return _})),n.d(t,"hasObservers",(function(){return x})),n.d(t,"guid",(function(){return O})),n.d(t,"Keys",(function(){return H}));var r=n(1),i=n(0),o=function(e,t){return function(n){return t(e(n))}},s=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},a=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},u=function(){},c=function(e){return e.preventDefault()},l=/touch/;function p(e){return e.type.match(l)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var d=function(e){var t=this,n=e.press;void 0===n&&(n=u);var r=e.drag;void 0===r&&(r=u);var i=e.release;void 0===i&&(i=u);var l=e.mouseOnly;void 0===l&&(l=!1),this._pressHandler=o(p,n),this._dragHandler=o(p,r),this._releaseHandler=o(p,i),this._ignoreMouse=!1,this._mouseOnly=l,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(s(t.document,"mousemove",t._mousemove),s(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){a(t.document,"mousemove",t._mousemove),a(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(s(t.document,"pointermove",t._pointermove),s(t.document,"pointerup",t._pointerup),s(t.document,"pointercancel",t._pointerup),s(t.document,"contextmenu",c),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(a(t.document,"pointermove",t._pointermove),a(t.document,"pointerup",t._pointerup),a(t.document,"pointercancel",t._pointerup),a(t.document,"contextmenu",c),t._releaseHandler(e))}},h={document:{configurable:!0}};d.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},h.document.get=function(){return this._element?this._element.ownerDocument:document},d.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},d.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?s(e,"pointerdown",this._pointerdown):(s(e,"mousedown",this._mousedown),this._mouseOnly||(s(e,"touchstart",this._touchstart),s(e,"touchmove",this._touchmove),s(e,"touchend",this._touchend)))},d.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return a(e,"pointerdown",this._pointerdown),a(this.document,"pointermove",this._pointermove),a(this.document,"pointerup",this._pointerup),a(this.document,"contextmenu",c),void a(this.document,"pointercancel",this._pointerup);a(e,"mousedown",this._mousedown),this._mouseOnly||(a(e,"touchstart",this._touchstart),a(e,"touchmove",this._touchmove),a(e,"touchend",this._touchend))},d.prototype._usePointers=function(){return!this._mouseOnly&&d.supportPointerEvent()},d.prototype.update=function(e){var t=e.press;void 0===t&&(t=u);var n=e.drag;void 0===n&&(n=u);var r=e.release;void 0===r&&(r=u);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=o(p,t),this._dragHandler=o(p,n),this._releaseHandler=o(p,r),this._mouseOnly=i},d.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(d.prototype,h),d.default=d;var f=d,g=n(4),m=n(9),y=n(2),b=function(){return"undefined"!=typeof document},v=function(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)},_=function(e,t,n){return void 0===n&&(n=!0),e.some((function(e){return v(e,t,n)}))},x=function(e){return e&&e.observers.length>0},O=function(){for(var e="",t=0;t<32;t++){var n=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&n|8:n).toString(16)}return e},C=function(){function e(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new i.EventEmitter,this.kendoDrag=new i.EventEmitter,this.kendoRelease=new i.EventEmitter}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){v("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;b()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new f({drag:function(t){return e.kendoDrag.next(t)},press:function(t){return e.kendoPress.next(t)},release:function(t){return e.kendoRelease.next(t)}}),this.ngZone.runOutsideAngular((function(){return e.draggable.bindTo(e.element.nativeElement)}))))},e.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Boolean)],e.prototype,"enableDrag",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoPress",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoDrag",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoRelease",void 0),e=Object(r.__decorate)([Object(i.Directive)({selector:"[kendoDraggable]"}),Object(r.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone])],e)}(),w=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[C],exports:[C],imports:[g.CommonModule]})],e)}(),j=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e},S=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},P=function(e,t,n){if(void 0===n&&(n=!1),!S(t,(function(t){return t===e})))return!1;var r=S(t,(function(e){return e===t}));return r&&(n||r!==e)},z=function(e,t,n){if(void 0===n&&(n=!0),e){if(n&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var r=z(e,t);if(r)return r}e=e.nextSibling}}},E=/^(?:a|input|select|option|textarea|button|object)$/i,k=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&E.test(t)||n},A=function(e){var t=e.getBoundingClientRect(),n=t.width>0&&t.height>0,r=0!==t.x&&0!==t.y;return(n||r)&&"hidden"!==window.getComputedStyle(e).visibility},D=function(e,t){if(void 0===t&&(t=!0),!k(e))return!1;var n=e.getAttribute("tabIndex");return(!t||A(e))&&"-1"!==n},B=function(e,t){return void 0===t&&(t=!0),z(e,(function(e){return D(e,t)}),!1)},K=function(e,t){return void 0===t&&(t=!0),z(e,(function(e){return D(e,t)}))},M=function(e){return String(e).trim().split(" ")},I=function(e,t){var n=M(t);return Boolean(M(e.className).find((function(e){return n.indexOf(e)>=0})))},L=function(e){return function(t){return I(t,e)}},V={},R=function(e){return V[e]||(V[e]=function(t){return String(t.nodeName).toLowerCase()===e.toLowerCase()}),V[e]};function N(e,t,n){var r=e;return n<0?r=-e:n>0&&(r=t.scrollWidth-t.offsetWidth-e),r}var H,T=function(){function e(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}return e.prototype.ngOnInit=function(){var e=this;if(this.element&&this.element.nativeElement){var t=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular((function(){for(var n in t)t.hasOwnProperty(n)&&e.subscriptions.push(e.renderer.listen(e.element.nativeElement,n,e.scope?t[n].bind(e.scope):t[n]))}))}},e.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},Object(r.__decorate)([Object(i.Input)("kendoEventsOutsideAngular"),Object(r.__metadata)("design:type",Object)],e.prototype,"events",void 0),Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Object)],e.prototype,"scope",void 0),e=Object(r.__decorate)([Object(i.Directive)({selector:"[kendoEventsOutsideAngular]"}),Object(r.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],e)}(),F=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[T],exports:[T]})],e)}(),U=function(){function e(e){this.resizeBatchService=e,this.resize=new i.EventEmitter,this.acceptedSize=!1,this.state=0}return e.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},e.prototype.checkChanges=function(){b()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},e.prototype.destroy=function(){this.resizeBatchService.cancel(this)},e.prototype.checkSize=function(){if(this.parentElement){var e=this.measure(),t=e.width,n=e.height;if(!(t===this.lastWidth&&n===this.lastHeight))return this.lastWidth=t,this.lastHeight=n,this.acceptedSize=!1,this.resize.emit(),!0}},e.prototype.initSize=function(){var e=this.measure();this.lastWidth=e.width,this.lastHeight=e.height},e.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},e}(),q=function(e){var t=document.createElement("div");return t.style.cssText=e,t},W="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",Z=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return Object(r.__extends)(t,e),t.prototype.checkChanges=function(){2!==this.state?e.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},t.prototype.destroy=function(){if(e.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand){var t=this.element.nativeElement;t.removeChild(this.expand),t.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null}},t.prototype.checkSize=function(){if(e.prototype.checkSize.call(this))return this.reset(),!0},t.prototype.init=function(){var e,t=this.parentElement=this.element.nativeElement.parentElement;"static"===(e="position",getComputedStyle(t,null).getPropertyValue(e))&&(t.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},t.prototype.render=function(){var e=this.element.nativeElement;e.style.cssText=W,e.setAttribute("dir","ltr"),this.expand=q(W),this.expandChild=q("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=q(W);var t=q("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(t),e.appendChild(this.shrink)},t.prototype.reset=function(){var e=this.expandChild;e.style.width="100000px",e.style.height="100000px";var t=this.expand;t.scrollLeft=1e5,t.scrollTop=1e5;var n=this.shrink;n.scrollLeft=1e5,n.scrollTop=1e5},t.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.subscription=Object(y.merge)(Object(y.fromEvent)(e.shrink,"scroll"),Object(y.fromEvent)(e.expand,"scroll")).subscribe((function(){e.checkSize()}))}))},t}(U),G="undefined"!=typeof ResizeObserver,Y=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return Object(r.__extends)(t,e),t.supported=function(){return G},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},t.prototype.init=function(){var e=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular((function(){e.resizeObserver=new ResizeObserver((function(){e.checkSize()})),e.resizeObserver.observe(e.parentElement)}))},t}(U),X=function(){function e(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return e.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular((function(){n.subscription=Object(y.from)(n.resolvedPromise).subscribe(n.flush)}))},e.prototype.isScheduled=function(e){return Boolean(this.scheduled.find((function(t){return t.instance===e})))},e.prototype.cancel=function(e){for(var t=this.scheduled,n=t.length,r=0;r<n;r++)if(t[r].instance===e)return t.splice(r,1),void(t.length||this.unsubscribe())},e.prototype.ngOnDestroy=function(){this.unsubscribe()},e.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},e.prototype.flush=function(){this.scheduled.forEach((function(e){e.method.call(e.instance)})),this.scheduled=[],this.unsubscribe()},e=Object(r.__decorate)([Object(i.Injectable)(),Object(r.__metadata)("design:paramtypes",[i.NgZone])],e)}(),J=function(){function e(e,t,n){var r=this;this.rateLimit=10,this.resize=new i.EventEmitter;var o=Y.supported()?Y:Z;this.resizeService=new o(e,t,n);var s=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(Object(m.auditTime)(s)).subscribe((function(){r.resizeService.acceptedSize||r.resize.emit()}))}return e.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},e.prototype.acceptSize=function(e){this.resizeService.acceptSize(e)},Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Number)],e.prototype,"rateLimit",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"resize",void 0),e=Object(r.__decorate)([Object(i.Component)({selector:"kendo-resize-sensor",template:""}),Object(r.__metadata)("design:paramtypes",[X,i.ElementRef,i.NgZone])],e)}(),Q=[J],$=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[Q],exports:[Q],providers:[X]})],e)}(),ee=function(){};!function(e){e[e.Alt=18]="Alt",e[e.ArrowDown=40]="ArrowDown",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowUp=38]="ArrowUp",e[e.Backspace=8]="Backspace",e[e.Control=17]="Control",e[e.Delete=46]="Delete",e[e.Digit0=48]="Digit0",e[e.Digit1=49]="Digit1",e[e.Digit2=50]="Digit2",e[e.Digit3=51]="Digit3",e[e.Digit4=52]="Digit4",e[e.Digit5=53]="Digit5",e[e.Digit6=54]="Digit6",e[e.Digit7=55]="Digit7",e[e.Digit8=56]="Digit8",e[e.Digit9=57]="Digit9",e[e.End=35]="End",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F10=121]="F10",e[e.Home=36]="Home",e[e.Insert=45]="Insert",e[e.KeyA=65]="KeyA",e[e.KeyB=66]="KeyB",e[e.KeyC=67]="KeyC",e[e.KeyD=68]="KeyD",e[e.KeyE=69]="KeyE",e[e.KeyF=70]="KeyF",e[e.KeyG=71]="KeyG",e[e.KeyH=72]="KeyH",e[e.KeyI=73]="KeyI",e[e.KeyJ=74]="KeyJ",e[e.KeyK=75]="KeyK",e[e.KeyL=76]="KeyL",e[e.KeyM=77]="KeyM",e[e.KeyN=78]="KeyN",e[e.KeyO=79]="KeyO",e[e.KeyP=80]="KeyP",e[e.KeyQ=81]="KeyQ",e[e.KeyR=82]="KeyR",e[e.KeyS=83]="KeyS",e[e.KeyT=84]="KeyT",e[e.KeyU=85]="KeyU",e[e.KeyV=86]="KeyV",e[e.KeyW=87]="KeyW",e[e.KeyX=88]="KeyX",e[e.KeyY=89]="KeyY",e[e.KeyZ=90]="KeyZ",e[e.NumpadDecimal=110]="NumpadDecimal",e[e.PageDown=34]="PageDown",e[e.PageUp=33]="PageUp",e[e.Shift=16]="Shift",e[e.Space=32]="Space",e[e.Tab=9]="Tab"}(H||(H={}));var te=function(){function e(){this.prevented=!1}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}()}])}));
|
package/dist/cdn/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
!function(e,t){"object"==typeof exports&&"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(["@angular/core","tslib","@progress/kendo-angular-l10n","@progress/kendo-licensing","@progress/kendo-angular-common","@angular/common"],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["@angular/core"],e.tslib,e["@progress/kendo-angular-l10n"],e["@progress/kendo-licensing"],e["@progress/kendo-angular-common"],e["@angular/common"])}(window,(function(e,t,n,r,a,o){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=i(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(o(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 o=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),a=n(4),o=n(0),i=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 o.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 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,a=this.getAnimationOptions(e);this.zone.runOutsideAngular((function(){t.animationFrame&&cancelAnimationFrame(t.animationFrame);var o=function(){var i=(new Date).getTime()-a.startTime,s=Math.min(i/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(o)}else t.stopAnimation(e)};o()}))},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,a=t?100:100*n,o=t?"width":"height",s=(new Date).getTime(),u=t?r:a,l=t?this.statusWidth-r:this.statusHeight-a;return{property:o,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=i.calculateRatio(this.min,this.max,this.value),o=100*a,s=100/a;this.renderValueChange(e,t,n,o,s),this.zone.run((function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1}))},r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"label",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"animation",void 0),r.__decorate([o.Output(),r.__metadata("design:type",o.EventEmitter)],t.prototype,"animationEnd",void 0),r.__decorate([o.ViewChild("progressStatus",{static:!1}),r.__metadata("design:type",o.ElementRef)],t.prototype,"progressStatusElement",void 0),r.__decorate([o.ViewChild("progressStatusWrap",{static:!1}),r.__metadata("design:type",o.ElementRef)],t.prototype,"progressStatusWrapperElement",void 0),t=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:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.progressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService,o.NgZone,o.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),o=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,o.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 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),o=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([o.Input(),r.__metadata("design:type",Number)],t.prototype,"chunkCount",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),t=r.__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:[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 o=n(12);t.ProgressBarModule=o.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:1617787166,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),o=n(0),i=n(13),s=[n(3).ProgressBarComponent,a.ChunkProgressBarComponent],u=[i.CommonModule],l=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:s,exports:s,imports:u})],e)}();t.ProgressBarModule=l},function(e,t){e.exports=o}])}));
|
|
5
|
+
!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(["@angular/core","tslib","@progress/kendo-angular-l10n","@progress/kendo-licensing","@progress/kendo-angular-common","@angular/common"],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["@angular/core"],e.tslib,e["@progress/kendo-angular-l10n"],e["@progress/kendo-licensing"],e["@progress/kendo-angular-common"],e["@angular/common"])}(window,(function(e,t,n,r,a,o){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=i(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(o(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 o=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),a=n(4),o=n(0),i=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 o.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 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,a=this.getAnimationOptions(e);this.zone.runOutsideAngular((function(){t.animationFrame&&cancelAnimationFrame(t.animationFrame);var o=function(){var i=(new Date).getTime()-a.startTime,s=Math.min(i/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(o)}else t.stopAnimation(e)};o()}))},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,a=t?100:100*n,o=t?"width":"height",s=(new Date).getTime(),u=t?r:a,l=t?this.statusWidth-r:this.statusHeight-a;return{property:o,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=i.calculateRatio(this.min,this.max,this.value),o=100*a,s=100/a;this.renderValueChange(e,t,n,o,s),this.zone.run((function(){r.cancelCurrentAnimation=!1,r.isAnimationInProgress=!1}))},r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"label",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"animation",void 0),r.__decorate([o.Output(),r.__metadata("design:type",o.EventEmitter)],t.prototype,"animationEnd",void 0),r.__decorate([o.ViewChild("progressStatus",{static:!1}),r.__metadata("design:type",o.ElementRef)],t.prototype,"progressStatusElement",void 0),r.__decorate([o.ViewChild("progressStatusWrap",{static:!1}),r.__metadata("design:type",o.ElementRef)],t.prototype,"progressStatusWrapperElement",void 0),t=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:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.progressbar"}]}),r.__metadata("design:paramtypes",[s.LocalizationService,o.NgZone,o.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),o=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,o.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 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),o=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([o.Input(),r.__metadata("design:type",Number)],t.prototype,"chunkCount",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"progressCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"emptyCssClass",void 0),t=r.__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:[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 o=n(12);t.ProgressBarModule=o.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:1635939889,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),o=n(0),i=n(13),s=[n(3).ProgressBarComponent,a.ChunkProgressBarComponent],u=[i.CommonModule],l=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:s,exports:s,imports:u})],e)}();t.ProgressBarModule=l},function(e,t){e.exports=o}])}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as tslib_1 from "tslib";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as tslib_1 from "tslib";
|
package/dist/es/common/util.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { LABEL_DECIMALS, MIN_MAX_ERROR_MESSAGE, MIN_RATIO } from './constants';
|
package/dist/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
package/dist/es/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export { ProgressBarComponent } from './progressbar.component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-progressbar',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1635939889,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as tslib_1 from "tslib";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as tslib_1 from "tslib";
|
|
@@ -10,7 +10,35 @@ import { ProgressBarComponent } from './progressbar.component';
|
|
|
10
10
|
var COMPONENT_DIRECTIVES = [ProgressBarComponent, ChunkProgressBarComponent];
|
|
11
11
|
var MODULES = [CommonModule];
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Represents the [NgModule]({{ site.data.urls.angular['ngmodules'] }})
|
|
14
|
+
* definition for the ProgressBar components.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
*
|
|
18
|
+
* ```ts-no-run
|
|
19
|
+
* // Import the ProgressBar module
|
|
20
|
+
* import { ProgressBarModule } from '@progress/kendo-angular-progressbar';
|
|
21
|
+
*
|
|
22
|
+
* // The browser platform with a compiler
|
|
23
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
24
|
+
*
|
|
25
|
+
* import { NgModule } from '@angular/core';
|
|
26
|
+
*
|
|
27
|
+
* // Import the app component
|
|
28
|
+
* import { AppComponent } from './app.component';
|
|
29
|
+
*
|
|
30
|
+
* // Define the app module
|
|
31
|
+
* _@NgModule({
|
|
32
|
+
* declarations: [AppComponent], // declare app component
|
|
33
|
+
* imports: [BrowserModule, ProgressBarModule], // import ProgressBar module
|
|
34
|
+
* bootstrap: [AppComponent]
|
|
35
|
+
* })
|
|
36
|
+
* export class AppModule {}
|
|
37
|
+
*
|
|
38
|
+
* // Compile and launch the module
|
|
39
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
14
42
|
*/
|
|
15
43
|
var ProgressBarModule = /** @class */ (function () {
|
|
16
44
|
function ProgressBarModule() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ProgressBarBase } from '../common/progressbar-base';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as tslib_1 from "tslib";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|