@progress/kendo-angular-indicators 1.0.1-dev.202104070907 → 1.1.1-dev.202111020845
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-indicators.js +3 -3
- package/dist/cdn/main.js +2 -2
- package/dist/es/badge/badge-container.component.js +1 -1
- package/dist/es/badge/badge.component.js +1 -1
- package/dist/es/badge/models/align.js +1 -1
- package/dist/es/badge/models/fill.js +1 -1
- package/dist/es/badge/models/position.js +1 -1
- package/dist/es/badge/models/shape.js +1 -1
- package/dist/es/badge/models/size.js +1 -1
- package/dist/es/badge/models/theme-color.js +1 -1
- package/dist/es/badge.module.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/indicators.module.js +4 -2
- package/dist/es/loader/loader.component.js +1 -1
- package/dist/es/loader/models/size.js +1 -1
- package/dist/es/loader/models/theme-color.js +1 -1
- package/dist/es/loader/models/type.js +1 -1
- package/dist/es/loader.module.js +1 -1
- package/dist/es/main.js +3 -1
- package/dist/es/package-metadata.js +2 -2
- package/dist/es/skeleton/constants.js +28 -0
- package/dist/es/skeleton/models.js +12 -0
- package/dist/es/skeleton/skeleton.component.js +134 -0
- package/dist/es/skeleton.module.js +25 -0
- package/dist/es2015/badge/badge-container.component.d.ts +1 -1
- package/dist/es2015/badge/badge-container.component.js +1 -1
- package/dist/es2015/badge/badge.component.d.ts +1 -1
- package/dist/es2015/badge/badge.component.js +1 -1
- package/dist/es2015/badge/models/align.d.ts +1 -1
- package/dist/es2015/badge/models/align.js +1 -1
- package/dist/es2015/badge/models/fill.d.ts +1 -1
- package/dist/es2015/badge/models/fill.js +1 -1
- package/dist/es2015/badge/models/position.d.ts +1 -1
- package/dist/es2015/badge/models/position.js +1 -1
- package/dist/es2015/badge/models/shape.d.ts +1 -1
- package/dist/es2015/badge/models/shape.js +1 -1
- package/dist/es2015/badge/models/size.d.ts +1 -1
- package/dist/es2015/badge/models/size.js +1 -1
- package/dist/es2015/badge/models/theme-color.d.ts +1 -1
- package/dist/es2015/badge/models/theme-color.js +1 -1
- package/dist/es2015/badge.module.d.ts +1 -1
- package/dist/es2015/badge.module.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/indicators.module.d.ts +1 -1
- package/dist/es2015/indicators.module.js +4 -2
- package/dist/es2015/loader/loader.component.d.ts +1 -1
- package/dist/es2015/loader/loader.component.js +1 -1
- package/dist/es2015/loader/models/size.d.ts +1 -1
- package/dist/es2015/loader/models/size.js +1 -1
- package/dist/es2015/loader/models/theme-color.d.ts +1 -1
- package/dist/es2015/loader/models/theme-color.js +1 -1
- package/dist/es2015/loader/models/type.d.ts +1 -1
- package/dist/es2015/loader/models/type.js +1 -1
- package/dist/es2015/loader.module.d.ts +1 -1
- package/dist/es2015/loader.module.js +1 -1
- package/dist/es2015/main.d.ts +4 -1
- package/dist/es2015/main.js +3 -1
- package/dist/es2015/package-metadata.d.ts +1 -1
- package/dist/es2015/package-metadata.js +2 -2
- package/dist/es2015/skeleton/constants.d.ts +27 -0
- package/dist/es2015/skeleton/constants.js +28 -0
- package/dist/es2015/skeleton/models.d.ts +30 -0
- package/dist/es2015/skeleton/models.js +12 -0
- package/dist/es2015/skeleton/skeleton.component.d.ts +51 -0
- package/dist/es2015/skeleton/skeleton.component.js +117 -0
- package/dist/es2015/skeleton.module.d.ts +10 -0
- package/dist/es2015/skeleton.module.js +22 -0
- package/dist/fesm2015/index.js +162 -5
- package/dist/fesm5/index.js +182 -5
- package/dist/npm/badge/badge-container.component.js +1 -1
- package/dist/npm/badge/badge.component.js +1 -1
- package/dist/npm/badge/models/align.js +1 -1
- package/dist/npm/badge/models/fill.js +1 -1
- package/dist/npm/badge/models/position.js +1 -1
- package/dist/npm/badge/models/shape.js +1 -1
- package/dist/npm/badge/models/size.js +1 -1
- package/dist/npm/badge/models/theme-color.js +1 -1
- package/dist/npm/badge.module.js +1 -1
- package/dist/npm/index.js +1 -1
- package/dist/npm/indicators.module.js +4 -2
- package/dist/npm/loader/loader.component.js +1 -1
- package/dist/npm/loader/models/size.js +1 -1
- package/dist/npm/loader/models/theme-color.js +1 -1
- package/dist/npm/loader/models/type.js +1 -1
- package/dist/npm/loader.module.js +1 -1
- package/dist/npm/main.js +5 -1
- package/dist/npm/package-metadata.js +2 -2
- package/dist/npm/skeleton/constants.js +30 -0
- package/dist/npm/skeleton/models.js +14 -0
- package/dist/npm/skeleton/skeleton.component.js +136 -0
- package/dist/npm/skeleton.module.js +27 -0
- package/dist/systemjs/kendo-angular-indicators.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("@
|
|
5
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("@angular/common"),require("@progress/kendo-angular-l10n")):"function"==typeof define&&define.amd?define(["@angular/core","@angular/common","@progress/kendo-angular-l10n"],t):"object"==typeof exports?exports.KendoAngularIndicators=t(require("@angular/core"),require("@angular/common"),require("@progress/kendo-angular-l10n")):e.KendoAngularIndicators=t(e["@angular/core"],e["@angular/common"],e["@progress/kendo-angular-l10n"])}(window,(function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=13)}([function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return i})),n.d(t,"__rest",(function(){return a})),n.d(t,"__decorate",(function(){return s})),n.d(t,"__param",(function(){return u})),n.d(t,"__metadata",(function(){return l})),n.d(t,"__awaiter",(function(){return c})),n.d(t,"__generator",(function(){return d})),n.d(t,"__createBinding",(function(){return p})),n.d(t,"__exportStar",(function(){return f})),n.d(t,"__values",(function(){return g})),n.d(t,"__read",(function(){return h})),n.d(t,"__spread",(function(){return m})),n.d(t,"__spreadArrays",(function(){return y})),n.d(t,"__await",(function(){return _})),n.d(t,"__asyncGenerator",(function(){return v})),n.d(t,"__asyncDelegator",(function(){return b})),n.d(t,"__asyncValues",(function(){return x})),n.d(t,"__makeTemplateObject",(function(){return C})),n.d(t,"__importStar",(function(){return S})),n.d(t,"__importDefault",(function(){return w})),n.d(t,"__classPrivateFieldGet",(function(){return O})),n.d(t,"__classPrivateFieldSet",(function(){return k}));
|
|
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 o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function 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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<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--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function f(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function p(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function h(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(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),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof _?Promise.resolve(n.value.v).then(u,l):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function u(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function b(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:_(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function 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=g(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(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 z(e){return e&&e.__esModule?e:{default:e}}function O(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function B(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(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(3),a=n(4),s=n(5),u={small:"k-badge-sm",medium:"k-badge-md",large:"k-badge-lg"},l=function(){function e(e,t,n){var r=this;this.element=e,this.renderer=t,this.localizationService=n,this.hostClass=!0,this.size="medium",this.fill="solid",this.themeColor="primary",this.shape="circle",this.position="edge",this.cutoutBorder=!1,this.badgeClasses=[],this.badgeAlign={vertical:"top",horizontal:"end"},this.rtl=!1,a.validatePackage(s.packageMetadata),this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var t=e.rtl;r.rtl=t,r.direction=r.rtl?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"cutoutBorderClass",{get:function(){return this.cutoutBorder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.badgeAlign},set:function(e){this.badgeAlign=Object.assign(this.badgeAlign,e)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.badgeClasses.length||this.setBadgeClasses()},e.prototype.ngOnChanges=function(){this.setBadgeClasses()},e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},e.prototype.alignClass=function(){return"k-"+this.badgeAlign.vertical+"-"+this.badgeAlign.horizontal},e.prototype.positionClass=function(){return"k-badge-"+this.position},e.prototype.sizeClass=function(){return u[this.size]},e.prototype.shapeClass=function(){return"k-badge-"+this.shape},e.prototype.themeColorClass=function(){return"k-badge-"+this.themeColor},e.prototype.fillClass=function(){return"k-badge-"+this.fill},e.prototype.setBadgeClasses=function(){var e=this,t=this.element.nativeElement;this.badgeClasses.forEach((function(n){e.renderer.removeClass(t,n)})),this.badgeClasses=[this.themeColorClass(),this.fillClass(),this.sizeClass(),this.shapeClass(),this.alignClass(),this.positionClass()],this.badgeClasses.forEach((function(n){e.renderer.addClass(t,n)}))},r.__decorate([o.HostBinding("class.k-badge"),r.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),r.__decorate([o.HostBinding("class.k-badge-border-cutout"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"cutoutBorderClass",null),r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String)],e.prototype,"direction",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],e.prototype,"align",null),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"size",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"fill",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"themeColor",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"shape",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"position",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],e.prototype,"cutoutBorder",void 0),e=r.__decorate([o.Component({selector:"kendo-badge",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,i.LocalizationService])],e)}();t.BadgeComponent=l},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"validatePackage",(function(){return l}));var r,o,i=["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=i,o=334,function(e){for(;--e;)r.push(r.shift())}(++o);var a=function(e,t){var n=i[e-=0];if(void 0===a.QMJAKQ){a.PnYrIu=function(e){for(var t=function(e){for(var t,n,r=String(e).replace(/=+$/,""),o="",i=0,a=0;n=r.charAt(a++);~n&&(t=i%4?64*t+n:n,i++%4)?o+=String.fromCharCode(255&t>>(-2*i&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return o}(e),n=[],r=0,o=t.length;r<o;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 l(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,o=JSON[a("0x27")](s[a("0xf")]),i=!o[a("0x12")],l=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")])}))}(o,e[a("0x20")]);if(i)if(a("0x2")!==a("0xe"))t={type:0,packageName:r,docsUrl:e[a("0x1d")]};else{}else if(a("0x10")===a("0x23")){}else if(l){if(a("0x2e")===a("0xb")){}else if(l[a("0x29")]<e[a("0x1f")])if(a("0x24")!=a("0x24")){}else t={type:2,packageName:r,publishDate:d(e[a("0x1f")]),expiryDate:d(l[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 f=a("0x1c")+e[a("0x25")],p=typeof console[a("0x2f")]===a("0xd");if(p)if(a("0x3c")!==a("0x37"))console[a("0x2f")](f);else{}else if(a("0x33")===a("0x26")){}else console[a("0x13")](f);if(console[a("0x13")](c(t)),p)if(a("0x30")!==a("0x1e"))console[a("0x8")]();else{}}var g=!t;return u[a("0x3")](e[a("0x32")],g),g}function c(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 d(e){return new Date(1e3*e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-indicators",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1617786412,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});var r=n(0),o=n(1),i=n(3),a=function(){function e(e){var t=this;this.localizationService=e,this.hostClass=!0,this.rtl=!1,this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var n=e.rtl;t.rtl=n,t.direction=t.rtl?"rtl":"ltr"}))}return e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},r.__decorate([o.HostBinding("class.k-badge-container"),r.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String)],e.prototype,"direction",void 0),e=r.__decorate([o.Component({selector:"kendo-badge-container",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),r.__metadata("design:paramtypes",[i.LocalizationService])],e)}();t.BadgeContainerComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(4),a=n(5),s={small:"k-loader-sm",medium:"k-loader-md",large:"k-loader-lg"},u={pulsing:2,"infinite-spinner":3,"converging-spinner":4},l={pulsing:"k-loader-pulsing-2","infinite-spinner":"k-loader-spinner-3","converging-spinner":"k-loader-spinner-4"},c=function(){function e(e,t){this.element=e,this.renderer=t,this.hostClass=!0,this._type="pulsing",this._themeColor="primary",this._size="medium",this.loader=this.element.nativeElement,i.validatePackage(a.packageMetadata)}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(e){this.renderer.removeClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,l[e]),this._type=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"themeColor",{get:function(){return this._themeColor},set:function(e){this.renderer.removeClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,"k-loader-"+e),this._themeColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.renderer.removeClass(this.loader,s[this.size]),this.renderer.addClass(this.loader,s[e]),this._size=e},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.setLoaderClasses()},Object.defineProperty(e.prototype,"segmentCount",{get:function(){return new Array(u[this.type])},enumerable:!0,configurable:!0}),e.prototype.setLoaderClasses=function(){this.renderer.addClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,s[this.size])},r.__decorate([o.HostBinding("class.k-loader"),r.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],e.prototype,"type",null),r.__decorate([o.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],e.prototype,"themeColor",null),r.__decorate([o.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],e.prototype,"size",null),e=r.__decorate([o.Component({selector:"kendo-loader",template:'\n <div class="k-loader-canvas">\n <span *ngFor="let segment of segmentCount" class="k-loader-segment"></span>\n </div>\n '}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2])],e)}();t.LoaderComponent=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(9),a=[n(7).LoaderComponent],s=a.slice(),u=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:[s],exports:[a],imports:[i.CommonModule]})],e)}();t.LoaderModule=u},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.BadgeComponent=r.BadgeComponent;var o=n(6);t.BadgeContainerComponent=o.BadgeContainerComponent;var i=n(7);t.LoaderComponent=i.LoaderComponent;var a=n(8);t.LoaderModule=a.LoaderModule;var s=n(11);t.IndicatorsModule=s.IndicatorsModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(12),a=n(8),s=function(){function e(){}return e=r.__decorate([o.NgModule({exports:[i.BadgeModule,a.LoaderModule]})],e)}();t.IndicatorsModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(9),a=n(6),s=[n(2).BadgeComponent,a.BadgeContainerComponent],u=s.slice(),l=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:[u],exports:[s],imports:[i.CommonModule]})],e)}();t.BadgeModule=l}])}));
|
|
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 o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function 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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<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--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function p(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function f(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(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),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof _?Promise.resolve(n.value.v).then(u,l):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function u(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function b(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:_(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function 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=g(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(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 O(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function k(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(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(0),o=n(1),i=n(4),a=n(5),s=n(6),u={small:"k-badge-sm",medium:"k-badge-md",large:"k-badge-lg"},l=function(){function e(e,t,n){var r=this;this.element=e,this.renderer=t,this.localizationService=n,this.hostClass=!0,this.size="medium",this.fill="solid",this.themeColor="primary",this.shape="circle",this.position="edge",this.cutoutBorder=!1,this.badgeClasses=[],this.badgeAlign={vertical:"top",horizontal:"end"},this.rtl=!1,a.validatePackage(s.packageMetadata),this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var t=e.rtl;r.rtl=t,r.direction=r.rtl?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"cutoutBorderClass",{get:function(){return this.cutoutBorder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.badgeAlign},set:function(e){this.badgeAlign=Object.assign(this.badgeAlign,e)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.badgeClasses.length||this.setBadgeClasses()},e.prototype.ngOnChanges=function(){this.setBadgeClasses()},e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},e.prototype.alignClass=function(){return"k-"+this.badgeAlign.vertical+"-"+this.badgeAlign.horizontal},e.prototype.positionClass=function(){return"k-badge-"+this.position},e.prototype.sizeClass=function(){return u[this.size]},e.prototype.shapeClass=function(){return"k-badge-"+this.shape},e.prototype.themeColorClass=function(){return"k-badge-"+this.themeColor},e.prototype.fillClass=function(){return"k-badge-"+this.fill},e.prototype.setBadgeClasses=function(){var e=this,t=this.element.nativeElement;this.badgeClasses.forEach((function(n){e.renderer.removeClass(t,n)})),this.badgeClasses=[this.themeColorClass(),this.fillClass(),this.sizeClass(),this.shapeClass(),this.alignClass(),this.positionClass()],this.badgeClasses.forEach((function(n){e.renderer.addClass(t,n)}))},r.__decorate([o.HostBinding("class.k-badge"),r.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),r.__decorate([o.HostBinding("class.k-badge-border-cutout"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"cutoutBorderClass",null),r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String)],e.prototype,"direction",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],e.prototype,"align",null),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"size",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"fill",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"themeColor",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"shape",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"position",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],e.prototype,"cutoutBorder",void 0),e=r.__decorate([o.Component({selector:"kendo-badge",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,i.LocalizationService])],e)}();t.BadgeComponent=l},function(e,t){e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"setScriptKey",(function(){return l})),n.d(t,"validatePackage",(function(){return c}));var r,o,i=["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=i,o=131,function(e){for(;--e;)r.push(r.shift())}(++o);var a=function(e,t){var n=i[e-=0];if(void 0===a.eVebMg){a.JsjtEd=function(e){for(var t=function(e){for(var t,n,r=String(e).replace(/=+$/,""),o="",i=0,a=0;n=r.charAt(a++);~n&&(t=i%4?64*t+n:n,i++%4)?o+=String.fromCharCode(255&t>>(-2*i&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return o}(e),n=[],r=0,o=t.length;r<o;r++)n+="%"+("00"+t.charCodeAt(r).toString(16)).slice(-2);return decodeURIComponent(n)},a.rqrXoU={},a.eVebMg=!0}var r=a.rqrXoU[e];return void 0===r?(n=a.JsjtEd(n),a.rqrXoU[e]=n):n=r,n},s={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 l(e){}function c(e){if(u[a("0x14")](e[a("0x4")])){if(a("0x35")==a("0x35"))return u[a("0x36")](e[a("0x4")])}var t,n=e[a("0x1")]?" v"+e[a("0x1")]:"",r=e[a("0x4")]+n,o=JSON[a("0x9")](s[a("0x34")]),i=!o[a("0x26")]&&!o[a("0x38")],l=o[a("0x26")]&&typeof KendoLicensing===a("0x2b"),c=function(e,t){var n=e[a("0x8")];if(!n||!n[a("0x2d")]){if(a("0x11")==a("0x11"))return null}var r=new Set(t);return n[a("0x2a")]((function(e){if(a("0xa")!==a("0x18"))return r[a("0x14")](e[a("0x39")])}))}(o,e[a("0x2")]);if(i||l)if(a("0x29")!=a("0x29")){}else t={type:0,packageName:r,docsUrl:e[a("0x27")]};else if(a("0xf")===a("0x24")){}else if(c){if(a("0x12")!=a("0x12")){}else if(c[a("0x37")]<e[a("0x1c")])if(a("0x21")===a("0x32")){}else t={type:2,packageName:r,publishDate:d(e[a("0x1c")]),expiryDate:d(c[a("0x37")]),docsUrl:e[a("0x27")]}}else if(a("0x6")!=a("0x6")){}else t={type:1,packageName:r,docsUrl:e[a("0x27")]};if(t&&typeof console===a("0x30"))if(a("0x5")===a("0x3")){}else{var p=a("0x1b")+e[a("0xe")],f=typeof console[a("0x7")]===a("0x33");if(f)if(a("0xc")!=a("0xc")){}else console[a("0x7")](p);else if(a("0x17")!=a("0x17")){}else console[a("0x1e")](p);if(console[a("0x1e")](function(e){var t=a("0x28")+e[a("0x16")]+"\n";if(2===e[a("0x3a")])if(a("0x20")!=a("0x20")){}else t+=a("0x25")+e[a("0x15")][a("0x2c")]()+a("0xb")+e[a("0x1c")][a("0x2c")]()+".\n";else if(0===e[a("0x3a")])if(a("0x13")!==a("0x10"))t+=a("0xd");else{}else if(1===e[a("0x3a")])if(a("0x2e")===a("0x23")){}else t+=a("0x1d");return t+=a("0x31")+e[a("0x1a")]+a("0x22")}(t)),f)if(a("0x1f")!==a("0x19"))console[a("0x2f")]();else{}}var g=!t;return u[a("0x0")](e[a("0x4")],g),g}function d(e){return new Date(1e3*e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-indicators",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1635842729,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});var r=n(0),o=n(1),i=n(4),a=function(){function e(e){var t=this;this.localizationService=e,this.hostClass=!0,this.rtl=!1,this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var n=e.rtl;t.rtl=n,t.direction=t.rtl?"rtl":"ltr"}))}return e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},r.__decorate([o.HostBinding("class.k-badge-container"),r.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String)],e.prototype,"direction",void 0),e=r.__decorate([o.Component({selector:"kendo-badge-container",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),r.__metadata("design:paramtypes",[i.LocalizationService])],e)}();t.BadgeContainerComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(5),a=n(6),s={small:"k-loader-sm",medium:"k-loader-md",large:"k-loader-lg"},u={pulsing:2,"infinite-spinner":3,"converging-spinner":4},l={pulsing:"k-loader-pulsing-2","infinite-spinner":"k-loader-spinner-3","converging-spinner":"k-loader-spinner-4"},c=function(){function e(e,t){this.element=e,this.renderer=t,this.hostClass=!0,this._type="pulsing",this._themeColor="primary",this._size="medium",this.loader=this.element.nativeElement,i.validatePackage(a.packageMetadata)}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(e){this.renderer.removeClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,l[e]),this._type=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"themeColor",{get:function(){return this._themeColor},set:function(e){this.renderer.removeClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,"k-loader-"+e),this._themeColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.renderer.removeClass(this.loader,s[this.size]),this.renderer.addClass(this.loader,s[e]),this._size=e},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.setLoaderClasses()},Object.defineProperty(e.prototype,"segmentCount",{get:function(){return new Array(u[this.type])},enumerable:!0,configurable:!0}),e.prototype.setLoaderClasses=function(){this.renderer.addClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,s[this.size])},r.__decorate([o.HostBinding("class.k-loader"),r.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],e.prototype,"type",null),r.__decorate([o.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],e.prototype,"themeColor",null),r.__decorate([o.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],e.prototype,"size",null),e=r.__decorate([o.Component({selector:"kendo-loader",template:'\n <div class="k-loader-canvas">\n <span *ngFor="let segment of segmentCount" class="k-loader-segment"></span>\n </div>\n '}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2])],e)}();t.LoaderComponent=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(2),a=[n(8).LoaderComponent],s=a.slice(),u=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:[s],exports:[a],imports:[i.CommonModule]})],e)}();t.LoaderModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(2),i=n(1),a=n(11),s=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:[a.SkeletonComponent],exports:[a.SkeletonComponent],imports:[o.CommonModule]})],e)}();t.SkeletonModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(14),a=n(12),s=function(){function e(e,t){this.renderer=e,this.hostElement=t,this._animation="pulse",this._shape="text"}return Object.defineProperty(e.prototype,"animation",{get:function(){return this._animation},set:function(e){if(o.isDevMode()&&-1===a.validAnimations.indexOf(e))throw new Error(i.skeletonAnimationError(e));this.animation&&this.renderer.removeClass(this.hostElement.nativeElement,i.ANIMATION_CLASSES[this.animation]),e&&this.renderer.addClass(this.hostElement.nativeElement,i.ANIMATION_CLASSES[e]),this._animation=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){return this._shape},set:function(e){if(o.isDevMode()&&-1===a.validShapes.indexOf(e))throw new Error(i.skeletonShapeError(e));this.renderer.removeClass(this.hostElement.nativeElement,i.SHAPE_CLASSES[this.shape]),this.renderer.addClass(this.hostElement.nativeElement,i.SHAPE_CLASSES[e]),this._shape=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"width","string"==typeof e?e:e+"px")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"height","string"==typeof e?e:e+"px")},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this.hostElement.nativeElement;e.classList.add("k-skeleton",i.SHAPE_CLASSES[this.shape]),this.animation&&e.classList.add(i.ANIMATION_CLASSES[this.animation])},r.__decorate([o.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],e.prototype,"animation",null),r.__decorate([o.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],e.prototype,"shape",null),r.__decorate([o.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],e.prototype,"width",null),r.__decorate([o.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],e.prototype,"height",null),e=r.__decorate([o.Component({selector:"kendo-skeleton",changeDetection:o.ChangeDetectionStrategy.OnPush,template:""}),r.__metadata("design:paramtypes",[o.Renderer2,o.ElementRef])],e)}();t.SkeletonComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validAnimations=[!1,"pulse","wave"],t.validShapes=["circle","rectangle","text"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.BadgeComponent=r.BadgeComponent;var o=n(7);t.BadgeContainerComponent=o.BadgeContainerComponent;var i=n(8);t.LoaderComponent=i.LoaderComponent;var a=n(9);t.LoaderModule=a.LoaderModule;var s=n(10);t.SkeletonModule=s.SkeletonModule;var u=n(11);t.SkeletonComponent=u.SkeletonComponent;var l=n(15);t.IndicatorsModule=l.IndicatorsModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12);t.ANIMATION_CLASSES={pulse:"k-skeleton-pulse",wave:"k-skeleton-wave"},t.SHAPE_CLASSES={rectangle:"k-skeleton-rect",circle:"k-skeleton-circle",text:"k-skeleton-text"},t.skeletonShapeError=function(e){return'"'+e+'" is not a valid kendo-skeleton shape. Valid shapes are: '+r.validShapes.map((function(e){return'"'+e+'"'})).join(" | ")+"."},t.skeletonAnimationError=function(e){return'"'+e+"\" is not a valid kendo-skeleton animation. Valid values are: 'pulse' | 'wave' | false."}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(16),a=n(9),s=n(10),u=function(){function e(){}return e=r.__decorate([o.NgModule({exports:[i.BadgeModule,a.LoaderModule,s.SkeletonModule]})],e)}();t.IndicatorsModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(2),a=n(7),s=[n(3).BadgeComponent,a.BadgeContainerComponent],u=s.slice(),l=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:[u],exports:[s],imports:[i.CommonModule]})],e)}();t.BadgeModule=l}])}));
|
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("tslib"),require("@angular/core"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing"),require("@angular/common")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","@progress/kendo-angular-l10n","@progress/kendo-licensing","@angular/common"],t):"object"==typeof exports?exports.KendoAngularIndicators=t(require("tslib"),require("@angular/core"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing"),require("@angular/common")):e.KendoAngularIndicators=t(e.tslib,e["@angular/core"],e["@progress/kendo-angular-l10n"],e["@progress/kendo-licensing"],e["@angular/common"])}(window,(function(e,t,n,o,r){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},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,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(3),a=n(4),s=n(5),d={small:"k-badge-sm",medium:"k-badge-md",large:"k-badge-lg"},l=function(){function e(e,t,n){var o=this;this.element=e,this.renderer=t,this.localizationService=n,this.hostClass=!0,this.size="medium",this.fill="solid",this.themeColor="primary",this.shape="circle",this.position="edge",this.cutoutBorder=!1,this.badgeClasses=[],this.badgeAlign={vertical:"top",horizontal:"end"},this.rtl=!1,a.validatePackage(s.packageMetadata),this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var t=e.rtl;o.rtl=t,o.direction=o.rtl?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"cutoutBorderClass",{get:function(){return this.cutoutBorder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.badgeAlign},set:function(e){this.badgeAlign=Object.assign(this.badgeAlign,e)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.badgeClasses.length||this.setBadgeClasses()},e.prototype.ngOnChanges=function(){this.setBadgeClasses()},e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},e.prototype.alignClass=function(){return"k-"+this.badgeAlign.vertical+"-"+this.badgeAlign.horizontal},e.prototype.positionClass=function(){return"k-badge-"+this.position},e.prototype.sizeClass=function(){return d[this.size]},e.prototype.shapeClass=function(){return"k-badge-"+this.shape},e.prototype.themeColorClass=function(){return"k-badge-"+this.themeColor},e.prototype.fillClass=function(){return"k-badge-"+this.fill},e.prototype.setBadgeClasses=function(){var e=this,t=this.element.nativeElement;this.badgeClasses.forEach((function(n){e.renderer.removeClass(t,n)})),this.badgeClasses=[this.themeColorClass(),this.fillClass(),this.sizeClass(),this.shapeClass(),this.alignClass(),this.positionClass()],this.badgeClasses.forEach((function(n){e.renderer.addClass(t,n)}))},o.__decorate([r.HostBinding("class.k-badge"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([r.HostBinding("class.k-badge-border-cutout"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"cutoutBorderClass",null),o.__decorate([r.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"align",null),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"size",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"fill",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"themeColor",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"shape",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"position",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"cutoutBorder",void 0),e=o.__decorate([r.Component({selector:"kendo-badge",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),o.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2,i.LocalizationService])],e)}();t.BadgeComponent=l},function(e,t){e.exports=n},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-indicators",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1617786412,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});var o=n(0),r=n(1),i=n(3),a=function(){function e(e){var t=this;this.localizationService=e,this.hostClass=!0,this.rtl=!1,this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var n=e.rtl;t.rtl=n,t.direction=t.rtl?"rtl":"ltr"}))}return e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},o.__decorate([r.HostBinding("class.k-badge-container"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([r.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),e=o.__decorate([r.Component({selector:"kendo-badge-container",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),o.__metadata("design:paramtypes",[i.LocalizationService])],e)}();t.BadgeContainerComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(4),a=n(5),s={small:"k-loader-sm",medium:"k-loader-md",large:"k-loader-lg"},d={pulsing:2,"infinite-spinner":3,"converging-spinner":4},l={pulsing:"k-loader-pulsing-2","infinite-spinner":"k-loader-spinner-3","converging-spinner":"k-loader-spinner-4"},u=function(){function e(e,t){this.element=e,this.renderer=t,this.hostClass=!0,this._type="pulsing",this._themeColor="primary",this._size="medium",this.loader=this.element.nativeElement,i.validatePackage(a.packageMetadata)}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(e){this.renderer.removeClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,l[e]),this._type=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"themeColor",{get:function(){return this._themeColor},set:function(e){this.renderer.removeClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,"k-loader-"+e),this._themeColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.renderer.removeClass(this.loader,s[this.size]),this.renderer.addClass(this.loader,s[e]),this._size=e},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.setLoaderClasses()},Object.defineProperty(e.prototype,"segmentCount",{get:function(){return new Array(d[this.type])},enumerable:!0,configurable:!0}),e.prototype.setLoaderClasses=function(){this.renderer.addClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,s[this.size])},o.__decorate([r.HostBinding("class.k-loader"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"type",null),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"themeColor",null),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"size",null),e=o.__decorate([r.Component({selector:"kendo-loader",template:'\n <div class="k-loader-canvas">\n <span *ngFor="let segment of segmentCount" class="k-loader-segment"></span>\n </div>\n '}),o.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2])],e)}();t.LoaderComponent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(9),a=[n(7).LoaderComponent],s=a.slice(),d=function(){function e(){}return e=o.__decorate([r.NgModule({declarations:[s],exports:[a],imports:[i.CommonModule]})],e)}();t.LoaderModule=d},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2);t.BadgeComponent=o.BadgeComponent;var r=n(6);t.BadgeContainerComponent=r.BadgeContainerComponent;var i=n(7);t.LoaderComponent=i.LoaderComponent;var a=n(8);t.LoaderModule=a.LoaderModule;var s=n(11);t.IndicatorsModule=s.IndicatorsModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(12),a=n(8),s=function(){function e(){}return e=o.__decorate([r.NgModule({exports:[i.BadgeModule,a.LoaderModule]})],e)}();t.IndicatorsModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(9),a=n(6),s=[n(2).BadgeComponent,a.BadgeContainerComponent],d=s.slice(),l=function(){function e(){}return e=o.__decorate([r.NgModule({declarations:[d],exports:[s],imports:[i.CommonModule]})],e)}();t.BadgeModule=l}])}));
|
|
5
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("@angular/core"),require("@angular/common"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","@angular/common","@progress/kendo-angular-l10n","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoAngularIndicators=t(require("tslib"),require("@angular/core"),require("@angular/common"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing")):e.KendoAngularIndicators=t(e.tslib,e["@angular/core"],e["@angular/common"],e["@progress/kendo-angular-l10n"],e["@progress/kendo-licensing"])}(window,(function(e,t,n,o,r){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},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=13)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(4),a=n(5),s=n(6),d={small:"k-badge-sm",medium:"k-badge-md",large:"k-badge-lg"},l=function(){function e(e,t,n){var o=this;this.element=e,this.renderer=t,this.localizationService=n,this.hostClass=!0,this.size="medium",this.fill="solid",this.themeColor="primary",this.shape="circle",this.position="edge",this.cutoutBorder=!1,this.badgeClasses=[],this.badgeAlign={vertical:"top",horizontal:"end"},this.rtl=!1,a.validatePackage(s.packageMetadata),this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var t=e.rtl;o.rtl=t,o.direction=o.rtl?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"cutoutBorderClass",{get:function(){return this.cutoutBorder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.badgeAlign},set:function(e){this.badgeAlign=Object.assign(this.badgeAlign,e)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.badgeClasses.length||this.setBadgeClasses()},e.prototype.ngOnChanges=function(){this.setBadgeClasses()},e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},e.prototype.alignClass=function(){return"k-"+this.badgeAlign.vertical+"-"+this.badgeAlign.horizontal},e.prototype.positionClass=function(){return"k-badge-"+this.position},e.prototype.sizeClass=function(){return d[this.size]},e.prototype.shapeClass=function(){return"k-badge-"+this.shape},e.prototype.themeColorClass=function(){return"k-badge-"+this.themeColor},e.prototype.fillClass=function(){return"k-badge-"+this.fill},e.prototype.setBadgeClasses=function(){var e=this,t=this.element.nativeElement;this.badgeClasses.forEach((function(n){e.renderer.removeClass(t,n)})),this.badgeClasses=[this.themeColorClass(),this.fillClass(),this.sizeClass(),this.shapeClass(),this.alignClass(),this.positionClass()],this.badgeClasses.forEach((function(n){e.renderer.addClass(t,n)}))},o.__decorate([r.HostBinding("class.k-badge"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([r.HostBinding("class.k-badge-border-cutout"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"cutoutBorderClass",null),o.__decorate([r.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"align",null),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"size",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"fill",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"themeColor",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"shape",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"position",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"cutoutBorder",void 0),e=o.__decorate([r.Component({selector:"kendo-badge",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),o.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2,i.LocalizationService])],e)}();t.BadgeComponent=l},function(e,t){e.exports=o},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-indicators",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1635842729,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});var o=n(0),r=n(1),i=n(4),a=function(){function e(e){var t=this;this.localizationService=e,this.hostClass=!0,this.rtl=!1,this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var n=e.rtl;t.rtl=n,t.direction=t.rtl?"rtl":"ltr"}))}return e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},o.__decorate([r.HostBinding("class.k-badge-container"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([r.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),e=o.__decorate([r.Component({selector:"kendo-badge-container",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.badge.component"}],template:"<ng-content></ng-content>"}),o.__metadata("design:paramtypes",[i.LocalizationService])],e)}();t.BadgeContainerComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(5),a=n(6),s={small:"k-loader-sm",medium:"k-loader-md",large:"k-loader-lg"},d={pulsing:2,"infinite-spinner":3,"converging-spinner":4},l={pulsing:"k-loader-pulsing-2","infinite-spinner":"k-loader-spinner-3","converging-spinner":"k-loader-spinner-4"},u=function(){function e(e,t){this.element=e,this.renderer=t,this.hostClass=!0,this._type="pulsing",this._themeColor="primary",this._size="medium",this.loader=this.element.nativeElement,i.validatePackage(a.packageMetadata)}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(e){this.renderer.removeClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,l[e]),this._type=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"themeColor",{get:function(){return this._themeColor},set:function(e){this.renderer.removeClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,"k-loader-"+e),this._themeColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.renderer.removeClass(this.loader,s[this.size]),this.renderer.addClass(this.loader,s[e]),this._size=e},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.setLoaderClasses()},Object.defineProperty(e.prototype,"segmentCount",{get:function(){return new Array(d[this.type])},enumerable:!0,configurable:!0}),e.prototype.setLoaderClasses=function(){this.renderer.addClass(this.loader,l[this.type]),this.renderer.addClass(this.loader,"k-loader-"+this.themeColor),this.renderer.addClass(this.loader,s[this.size])},o.__decorate([r.HostBinding("class.k-loader"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"type",null),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"themeColor",null),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"size",null),e=o.__decorate([r.Component({selector:"kendo-loader",template:'\n <div class="k-loader-canvas">\n <span *ngFor="let segment of segmentCount" class="k-loader-segment"></span>\n </div>\n '}),o.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2])],e)}();t.LoaderComponent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(2),a=[n(8).LoaderComponent],s=a.slice(),d=function(){function e(){}return e=o.__decorate([r.NgModule({declarations:[s],exports:[a],imports:[i.CommonModule]})],e)}();t.LoaderModule=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2),i=n(1),a=n(11),s=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[a.SkeletonComponent],exports:[a.SkeletonComponent],imports:[r.CommonModule]})],e)}();t.SkeletonModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(14),a=n(12),s=function(){function e(e,t){this.renderer=e,this.hostElement=t,this._animation="pulse",this._shape="text"}return Object.defineProperty(e.prototype,"animation",{get:function(){return this._animation},set:function(e){if(r.isDevMode()&&-1===a.validAnimations.indexOf(e))throw new Error(i.skeletonAnimationError(e));this.animation&&this.renderer.removeClass(this.hostElement.nativeElement,i.ANIMATION_CLASSES[this.animation]),e&&this.renderer.addClass(this.hostElement.nativeElement,i.ANIMATION_CLASSES[e]),this._animation=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){return this._shape},set:function(e){if(r.isDevMode()&&-1===a.validShapes.indexOf(e))throw new Error(i.skeletonShapeError(e));this.renderer.removeClass(this.hostElement.nativeElement,i.SHAPE_CLASSES[this.shape]),this.renderer.addClass(this.hostElement.nativeElement,i.SHAPE_CLASSES[e]),this._shape=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"width","string"==typeof e?e:e+"px")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{set:function(e){this.renderer.setStyle(this.hostElement.nativeElement,"height","string"==typeof e?e:e+"px")},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this.hostElement.nativeElement;e.classList.add("k-skeleton",i.SHAPE_CLASSES[this.shape]),this.animation&&e.classList.add(i.ANIMATION_CLASSES[this.animation])},o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"animation",null),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"shape",null),o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"width",null),o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"height",null),e=o.__decorate([r.Component({selector:"kendo-skeleton",changeDetection:r.ChangeDetectionStrategy.OnPush,template:""}),o.__metadata("design:paramtypes",[r.Renderer2,r.ElementRef])],e)}();t.SkeletonComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validAnimations=[!1,"pulse","wave"],t.validShapes=["circle","rectangle","text"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.BadgeComponent=o.BadgeComponent;var r=n(7);t.BadgeContainerComponent=r.BadgeContainerComponent;var i=n(8);t.LoaderComponent=i.LoaderComponent;var a=n(9);t.LoaderModule=a.LoaderModule;var s=n(10);t.SkeletonModule=s.SkeletonModule;var d=n(11);t.SkeletonComponent=d.SkeletonComponent;var l=n(15);t.IndicatorsModule=l.IndicatorsModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(12);t.ANIMATION_CLASSES={pulse:"k-skeleton-pulse",wave:"k-skeleton-wave"},t.SHAPE_CLASSES={rectangle:"k-skeleton-rect",circle:"k-skeleton-circle",text:"k-skeleton-text"},t.skeletonShapeError=function(e){return'"'+e+'" is not a valid kendo-skeleton shape. Valid shapes are: '+o.validShapes.map((function(e){return'"'+e+'"'})).join(" | ")+"."},t.skeletonAnimationError=function(e){return'"'+e+"\" is not a valid kendo-skeleton animation. Valid values are: 'pulse' | 'wave' | false."}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(16),a=n(9),s=n(10),d=function(){function e(){}return e=o.__decorate([r.NgModule({exports:[i.BadgeModule,a.LoaderModule,s.SkeletonModule]})],e)}();t.IndicatorsModule=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(1),i=n(2),a=n(7),s=[n(3).BadgeComponent,a.BadgeContainerComponent],d=s.slice(),l=function(){function e(){}return e=o.__decorate([r.NgModule({declarations:[d],exports:[s],imports:[i.CommonModule]})],e)}();t.BadgeModule=l}])}));
|
|
@@ -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";
|
|
@@ -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
|
*-------------------------------------------------------------------------------------------*/
|
package/dist/es/badge.module.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 * as tslib_1 from "tslib";
|
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
|
/**
|
|
@@ -1,11 +1,12 @@
|
|
|
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";
|
|
6
6
|
import { NgModule } from '@angular/core';
|
|
7
7
|
import { BadgeModule } from './badge.module';
|
|
8
8
|
import { LoaderModule } from './loader.module';
|
|
9
|
+
import { SkeletonModule } from './skeleton.module';
|
|
9
10
|
/**
|
|
10
11
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
11
12
|
* definition for the Indicators components.
|
|
@@ -44,7 +45,8 @@ var IndicatorsModule = /** @class */ (function () {
|
|
|
44
45
|
NgModule({
|
|
45
46
|
exports: [
|
|
46
47
|
BadgeModule,
|
|
47
|
-
LoaderModule
|
|
48
|
+
LoaderModule,
|
|
49
|
+
SkeletonModule
|
|
48
50
|
]
|
|
49
51
|
})
|
|
50
52
|
], IndicatorsModule);
|
|
@@ -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,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
|
*-------------------------------------------------------------------------------------------*/
|
package/dist/es/loader.module.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 * as tslib_1 from "tslib";
|
package/dist/es/main.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
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 { BadgeComponent } from './badge/badge.component';
|
|
6
6
|
export { BadgeContainerComponent } from './badge/badge-container.component';
|
|
7
7
|
export { LoaderComponent } from './loader/loader.component';
|
|
8
8
|
export { LoaderModule } from './loader.module';
|
|
9
|
+
export { SkeletonModule } from './skeleton.module';
|
|
10
|
+
export { SkeletonComponent } from './skeleton/skeleton.component';
|
|
9
11
|
export { IndicatorsModule } from './indicators.module';
|
|
@@ -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-indicators',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1635842729,
|
|
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
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { validShapes } from "./models";
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export var ANIMATION_CLASSES = {
|
|
10
|
+
pulse: 'k-skeleton-pulse',
|
|
11
|
+
wave: 'k-skeleton-wave'
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export var SHAPE_CLASSES = {
|
|
17
|
+
rectangle: 'k-skeleton-rect',
|
|
18
|
+
circle: 'k-skeleton-circle',
|
|
19
|
+
text: 'k-skeleton-text'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
export var skeletonShapeError = function (input) { return "\"" + input + "\" is not a valid kendo-skeleton shape. Valid shapes are: " + validShapes.map(function (s) { return "\"" + s + "\""; }).join(" | ") + "."; };
|
|
25
|
+
/**
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
export var skeletonAnimationError = function (input) { return "\"" + input + "\" is not a valid kendo-skeleton animation. Valid values are: 'pulse' | 'wave' | false."; };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
8
|
+
export var validAnimations = [false, 'pulse', 'wave'];
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export var validShapes = ['circle', 'rectangle', 'text'];
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
6
|
+
import { Component, ChangeDetectionStrategy, Input, Renderer2, ElementRef, isDevMode } from "@angular/core";
|
|
7
|
+
import { ANIMATION_CLASSES, SHAPE_CLASSES, skeletonAnimationError, skeletonShapeError } from "./constants";
|
|
8
|
+
import { validAnimations, validShapes } from "./models";
|
|
9
|
+
/**
|
|
10
|
+
* Represents the [Kendo UI Skeleton component for Angular]({% slug overview_skeleton %}).
|
|
11
|
+
* Displays a Skeleton that represents loading content.
|
|
12
|
+
*/
|
|
13
|
+
var SkeletonComponent = /** @class */ (function () {
|
|
14
|
+
function SkeletonComponent(renderer, hostElement) {
|
|
15
|
+
this.renderer = renderer;
|
|
16
|
+
this.hostElement = hostElement;
|
|
17
|
+
this._animation = "pulse";
|
|
18
|
+
this._shape = 'text';
|
|
19
|
+
}
|
|
20
|
+
Object.defineProperty(SkeletonComponent.prototype, "animation", {
|
|
21
|
+
get: function () {
|
|
22
|
+
return this._animation;
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* Specifies the animation settings of the Skeleton.
|
|
26
|
+
*
|
|
27
|
+
* The possible values are:
|
|
28
|
+
* * `pulse` — (Default) Shows a pulse animation effect.
|
|
29
|
+
* * `wave` — Shows a wave animation effect.
|
|
30
|
+
* * `false` — Disables the animation. Note that it's a boolean, not a string.
|
|
31
|
+
*/
|
|
32
|
+
set: function (animation) {
|
|
33
|
+
if (isDevMode() && validAnimations.indexOf(animation) === -1) {
|
|
34
|
+
throw new Error(skeletonAnimationError(animation));
|
|
35
|
+
}
|
|
36
|
+
if (this.animation) {
|
|
37
|
+
this.renderer.removeClass(this.hostElement.nativeElement, ANIMATION_CLASSES[this.animation]);
|
|
38
|
+
}
|
|
39
|
+
if (animation) {
|
|
40
|
+
this.renderer.addClass(this.hostElement.nativeElement, ANIMATION_CLASSES[animation]);
|
|
41
|
+
}
|
|
42
|
+
this._animation = animation;
|
|
43
|
+
},
|
|
44
|
+
enumerable: true,
|
|
45
|
+
configurable: true
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(SkeletonComponent.prototype, "shape", {
|
|
48
|
+
get: function () {
|
|
49
|
+
return this._shape;
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* Specifies the shape of the Skeleton.
|
|
53
|
+
*
|
|
54
|
+
* The possible values are:
|
|
55
|
+
* * `text` — (Default) Renders a line Skeleton.
|
|
56
|
+
* * `circle` — Renders a circular Skeleton.
|
|
57
|
+
* * `rectangle` — Renders a rectangular Skeleton.
|
|
58
|
+
*/
|
|
59
|
+
set: function (shape) {
|
|
60
|
+
if (isDevMode() && validShapes.indexOf(shape) === -1) {
|
|
61
|
+
throw new Error(skeletonShapeError(shape));
|
|
62
|
+
}
|
|
63
|
+
this.renderer.removeClass(this.hostElement.nativeElement, SHAPE_CLASSES[this.shape]);
|
|
64
|
+
this.renderer.addClass(this.hostElement.nativeElement, SHAPE_CLASSES[shape]);
|
|
65
|
+
this._shape = shape;
|
|
66
|
+
},
|
|
67
|
+
enumerable: true,
|
|
68
|
+
configurable: true
|
|
69
|
+
});
|
|
70
|
+
Object.defineProperty(SkeletonComponent.prototype, "width", {
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the width of the Skeleton component.
|
|
73
|
+
* * Required for all Skeleton shapes.
|
|
74
|
+
* * Can be set to a string, e.g. '100px', '3em', '50%'.
|
|
75
|
+
* * Can be set to an integer number (will be read as width in pixels).
|
|
76
|
+
*/
|
|
77
|
+
set: function (width) {
|
|
78
|
+
this.renderer.setStyle(this.hostElement.nativeElement, "width", typeof width === "string" ? width : width + "px");
|
|
79
|
+
},
|
|
80
|
+
enumerable: true,
|
|
81
|
+
configurable: true
|
|
82
|
+
});
|
|
83
|
+
Object.defineProperty(SkeletonComponent.prototype, "height", {
|
|
84
|
+
/**
|
|
85
|
+
* Specifies the height of the Skeleton component.
|
|
86
|
+
* * Required for 'circle' and 'rectangle' shapes.
|
|
87
|
+
* * Not required for 'text', as it is derived from the current CSS font-size.
|
|
88
|
+
* * Can be set to a string, e.g. '100px', '3em', '50%'.
|
|
89
|
+
* * Can be set to an integer number (will be read as height in pixels).
|
|
90
|
+
*/
|
|
91
|
+
set: function (height) {
|
|
92
|
+
this.renderer.setStyle(this.hostElement.nativeElement, "height", typeof height === "string" ? height : height + "px");
|
|
93
|
+
},
|
|
94
|
+
enumerable: true,
|
|
95
|
+
configurable: true
|
|
96
|
+
});
|
|
97
|
+
SkeletonComponent.prototype.ngAfterViewInit = function () {
|
|
98
|
+
var hostElement = this.hostElement.nativeElement;
|
|
99
|
+
hostElement.classList.add("k-skeleton", SHAPE_CLASSES[this.shape]);
|
|
100
|
+
if (this.animation) {
|
|
101
|
+
hostElement.classList.add(ANIMATION_CLASSES[this.animation]);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
tslib_1.__decorate([
|
|
105
|
+
Input(),
|
|
106
|
+
tslib_1.__metadata("design:type", Object),
|
|
107
|
+
tslib_1.__metadata("design:paramtypes", [Object])
|
|
108
|
+
], SkeletonComponent.prototype, "animation", null);
|
|
109
|
+
tslib_1.__decorate([
|
|
110
|
+
Input(),
|
|
111
|
+
tslib_1.__metadata("design:type", String),
|
|
112
|
+
tslib_1.__metadata("design:paramtypes", [String])
|
|
113
|
+
], SkeletonComponent.prototype, "shape", null);
|
|
114
|
+
tslib_1.__decorate([
|
|
115
|
+
Input(),
|
|
116
|
+
tslib_1.__metadata("design:type", Object),
|
|
117
|
+
tslib_1.__metadata("design:paramtypes", [Object])
|
|
118
|
+
], SkeletonComponent.prototype, "width", null);
|
|
119
|
+
tslib_1.__decorate([
|
|
120
|
+
Input(),
|
|
121
|
+
tslib_1.__metadata("design:type", Object),
|
|
122
|
+
tslib_1.__metadata("design:paramtypes", [Object])
|
|
123
|
+
], SkeletonComponent.prototype, "height", null);
|
|
124
|
+
SkeletonComponent = tslib_1.__decorate([
|
|
125
|
+
Component({
|
|
126
|
+
selector: "kendo-skeleton",
|
|
127
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
128
|
+
template: ""
|
|
129
|
+
}),
|
|
130
|
+
tslib_1.__metadata("design:paramtypes", [Renderer2, ElementRef])
|
|
131
|
+
], SkeletonComponent);
|
|
132
|
+
return SkeletonComponent;
|
|
133
|
+
}());
|
|
134
|
+
export { SkeletonComponent };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { NgModule } from '@angular/core';
|
|
8
|
+
import { SkeletonComponent } from './skeleton/skeleton.component';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
11
|
+
* definition for the Skeleton component.
|
|
12
|
+
*/
|
|
13
|
+
var SkeletonModule = /** @class */ (function () {
|
|
14
|
+
function SkeletonModule() {
|
|
15
|
+
}
|
|
16
|
+
SkeletonModule = tslib_1.__decorate([
|
|
17
|
+
NgModule({
|
|
18
|
+
declarations: [SkeletonComponent],
|
|
19
|
+
exports: [SkeletonComponent],
|
|
20
|
+
imports: [CommonModule]
|
|
21
|
+
})
|
|
22
|
+
], SkeletonModule);
|
|
23
|
+
return SkeletonModule;
|
|
24
|
+
}());
|
|
25
|
+
export { SkeletonModule };
|
|
@@ -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 { OnDestroy } from '@angular/core';
|
|
@@ -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 { AfterViewInit, ElementRef, OnChanges, Renderer2, OnDestroy } from '@angular/core';
|