UNPKG

@syncfusion/ej2-react-progressbar

Version:

Essential JS 2 ProgressBar Component for React

12 lines (11 loc) 3.37 kB
/*! * filename: ej2-react-progressbar.umd.min.js * version : 29.1.33 * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing * licensing@syncfusion.com. Any infringement will be prosecuted under * applicable laws. */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-progressbar")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-progressbar"],t):t((e=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Progressbar)}(this,function(t,e,r,o){"use strict";n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var n,i,s=function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=(i=e.ComplexBase,s(c,i),c.moduleName="progressBarAnnotation",c);function c(){return null!==i&&i.apply(this,arguments)||this}p=e.ComplexBase,s(u,p),u.propertyName="annotations",u.moduleName="progressBarAnnotations";var p,s=u;function u(){return null!==p&&p.apply(this,arguments)||this}l=function(e,t){return(l=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var l,f,y=function(e,t){function r(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},d=(f=e.ComplexBase,y(h,f),h.moduleName="rangeColor",h);function h(){return null!==f&&f.apply(this,arguments)||this}m=e.ComplexBase,y(_,m),_.propertyName="rangeColors",_.moduleName="rangeColors";var m,y=_;function _(){return null!==m&&m.apply(this,arguments)||this}g=function(e,t){return(g=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}))(e,t)};var g,j,b=function(e,t){function r(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},b=(j=o.ProgressBar,b(C,j),C.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));j.prototype.render.call(this),this.initRenderCalled=!0},C);function C(e){e=j.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={progressBarAnnotations:"progressBarAnnotation",rangeColors:"rangeColor"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}e.applyMixins(b,[e.ComponentBase,r.Component]),Object.keys(o).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return e.Inject}}),t.ProgressBarAnnotationDirective=a,t.ProgressBarAnnotationsDirective=s,t.ProgressBarComponent=b,t.RangeColorDirective=d,t.RangeColorsDirective=y,Object.defineProperty(t,"__esModule",{value:!0})}); //# sourceMappingURL=ej2-react-progressbar.umd.min.js.map