@syncfusion/ej2-react-progressbar 27.1.50 → 28.1.33

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.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-progressbar.min.js
3
- * version : 27.1.50
4
- * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
3
+ * version : 28.1.33
4
+ * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionProgressbar")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionProgressbar"],t):"object"==typeof exports?exports.SyncfusionReactProgressbar=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionProgressbar")):e.SyncfusionReactProgressbar=t(e.SyncfusionReactBase,e.React,e.SyncfusionProgressbar)}(self,((e,t,r)=>(()=>{"use strict";var o={271:(e,t,r)=>{r.d(t,{NA:()=>s,o1:()=>a,RI:()=>d,Kd:()=>u,LW:()=>p});var o,n=r(705),i=(o=function(e,t){return o=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])},o(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.moduleName="progressBarAnnotation",t}(n.ComplexBase),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propertyName="annotations",t.moduleName="progressBarAnnotations",t}(n.ComplexBase),c=function(){var e=function(t,r){return e=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,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.moduleName="rangeColor",t}(n.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.propertyName="rangeColors",t.moduleName="rangeColors",t}(n.ComplexBase),l=r(24),f=r(833),y=function(){var e=function(t,r){return e=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,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),d=function(e){function t(t){var r=e.call(this,t)||this;return r.initRenderCalled=!1,r.checkInjectedModules=!0,r.directivekeys={progressBarAnnotations:"progressBarAnnotation",rangeColors:"rangeColor"},r.statelessTemplateProps=null,r.templateProps=null,r.immediateRender=!1,r.portals=[],r}return y(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return l.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(f.ProgressBar);(0,n.applyMixins)(d,[n.ComponentBase,l.Component])},24:e=>{e.exports=t},833:e=>{e.exports=r},705:t=>{t.exports=e}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{i.r(s),i.d(s,{Inject:()=>t.Inject,ProgressBarAnnotationDirective:()=>e.NA,ProgressBarAnnotationsDirective:()=>e.o1,ProgressBarComponent:()=>e.RI,RangeColorDirective:()=>e.Kd,RangeColorsDirective:()=>e.LW});var e=i(271),t=i(705),r=i(833),o={};for(const e in r)["default","Inject","ProgressBarAnnotationDirective","ProgressBarAnnotationsDirective","ProgressBarComponent","RangeColorDirective","RangeColorsDirective"].indexOf(e)<0&&(o[e]=()=>r[e]);i.d(s,o)})(),s})()));
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionProgressbar")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionProgressbar"],t):"object"==typeof exports?exports.SyncfusionReactProgressbar=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionProgressbar")):e.SyncfusionReactProgressbar=t(e.SyncfusionReactBase,e.React,e.SyncfusionProgressbar)}(self,((e,t,r)=>(()=>{"use strict";var o={271:(e,t,r)=>{r.d(t,{NA:()=>s,o1:()=>a,RI:()=>d,Kd:()=>u,LW:()=>p});var o,n=r(705),i=(o=function(e,t){return o=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])},o(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.moduleName="progressBarAnnotation",t}(n.ComplexBase),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propertyName="annotations",t.moduleName="progressBarAnnotations",t}(n.ComplexBase),c=function(){var e=function(t,r){return e=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,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.moduleName="rangeColor",t}(n.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.propertyName="rangeColors",t.moduleName="rangeColors",t}(n.ComplexBase),l=r(24),f=r(833),y=function(){var e=function(t,r){return e=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,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),d=function(e){function t(t){var r=e.call(this,t)||this;return r.initRenderCalled=!1,r.checkInjectedModules=!0,r.directivekeys={progressBarAnnotations:"progressBarAnnotation",rangeColors:"rangeColor"},r.statelessTemplateProps=null,r.templateProps=null,r.immediateRender=!1,r.isReactMock=!0,r.portals=[],r}return y(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return l.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(f.ProgressBar);(0,n.applyMixins)(d,[n.ComponentBase,l.Component])},24:e=>{e.exports=t},833:e=>{e.exports=r},705:t=>{t.exports=e}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{i.r(s),i.d(s,{Inject:()=>t.Inject,ProgressBarAnnotationDirective:()=>e.NA,ProgressBarAnnotationsDirective:()=>e.o1,ProgressBarComponent:()=>e.RI,RangeColorDirective:()=>e.Kd,RangeColorsDirective:()=>e.LW});var e=i(271),t=i(705),r=i(833),o={};for(const e in r)["default","Inject","ProgressBarAnnotationDirective","ProgressBarAnnotationsDirective","ProgressBarComponent","RangeColorDirective","RangeColorsDirective"].indexOf(e)<0&&(o[e]=()=>r[e]);i.d(s,o)})(),s})()));
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-progressbar.umd.min.js
3
- * version : 27.1.50
4
- * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
3
+ * version : 28.1.33
4
+ * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !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,n){"use strict";o=function(e,t){return(o=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 o,i,s=function(e,t){function r(){this.constructor=e}o(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=n.ProgressBar,b(C,j),C.prototype.render=function(){if(!(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.portals=[],e}e.applyMixins(b,[e.ComponentBase,r.Component]),Object.keys(n).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[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})});
10
+ !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})});
11
11
  //# sourceMappingURL=ej2-react-progressbar.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-progressbar.umd.min.js","sources":["../src/progressbar/annotations-directive.js","../src/progressbar/rangecolors-directive.js","../src/progressbar/progressbar.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ProgressBarAnnotationsDirective` directive represent a annotation of the react progressbar.\n * ```tsx\n * <progressbarComponent>\n * <ProgressBarAnnotationsDirective>\n * <ProgressBarAnnotationDirective></ProgressBarAnnotationDirective>\n * </ProgressBarAnnotationsDirective>\n * </progressbarComponent>\n * ```\n */\nvar ProgressBarAnnotationDirective = /** @class */ (function (_super) {\n __extends(ProgressBarAnnotationDirective, _super);\n function ProgressBarAnnotationDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ProgressBarAnnotationDirective.moduleName = 'progressBarAnnotation';\n return ProgressBarAnnotationDirective;\n}(ComplexBase));\nexport { ProgressBarAnnotationDirective };\nvar ProgressBarAnnotationsDirective = /** @class */ (function (_super) {\n __extends(ProgressBarAnnotationsDirective, _super);\n function ProgressBarAnnotationsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ProgressBarAnnotationsDirective.propertyName = 'annotations';\n ProgressBarAnnotationsDirective.moduleName = 'progressBarAnnotations';\n return ProgressBarAnnotationsDirective;\n}(ComplexBase));\nexport { ProgressBarAnnotationsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\nvar RangeColorDirective = /** @class */ (function (_super) {\n __extends(RangeColorDirective, _super);\n function RangeColorDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RangeColorDirective.moduleName = 'rangeColor';\n return RangeColorDirective;\n}(ComplexBase));\nexport { RangeColorDirective };\nvar RangeColorsDirective = /** @class */ (function (_super) {\n __extends(RangeColorsDirective, _super);\n function RangeColorsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RangeColorsDirective.propertyName = 'rangeColors';\n RangeColorsDirective.moduleName = 'rangeColors';\n return RangeColorsDirective;\n}(ComplexBase));\nexport { RangeColorsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { ProgressBar } from '@syncfusion/ej2-progressbar';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react ProgressBar Component\n * ```tsx\n * <ProgressBarComponent></ProgressBarComponent>\n * ```\n */\nvar ProgressBarComponent = /** @class */ (function (_super) {\n __extends(ProgressBarComponent, _super);\n function ProgressBarComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'progressBarAnnotations': 'progressBarAnnotation', 'rangeColors': 'rangeColor' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n ProgressBarComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return ProgressBarComponent;\n}(ProgressBar));\nexport { ProgressBarComponent };\napplyMixins(ProgressBarComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","ProgressBarAnnotationDirective","ComplexBase","moduleName","apply","arguments","ProgressBarAnnotationsDirective","propertyName","RangeColorDirective","RangeColorsDirective","ProgressBarComponent","ProgressBar","render","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","progressBarAnnotations","rangeColors","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"8YACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAuBsDS,EAxB1DC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAcnFK,GAA0DP,EAO5DQ,cANEP,EAAUM,EAAgCP,CAAM,EAIhDO,EAA+BE,WAAa,wBACrCF,GAJP,SAASA,IACL,OAAkB,OAAXP,GAAmBA,EAAOU,MAAMP,KAAMQ,SAAS,GAAKR,KAMJH,EAQ7DQ,cAPEP,EAAUW,EAAiCZ,CAAM,EAIjDY,EAAgCC,aAAe,cAC/CD,EAAgCH,WAAa,6BANcT,EAA3DY,EAOOA,EALP,SAASA,IACL,OAAkB,OAAXZ,GAAmBA,EAAOU,MAAMP,KAAMQ,SAAS,GAAKR,KCnC3DZ,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,E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KAAKqB,uBAAwB,GAAGC,OAAOtB,KAAKuB,MAAMC,SAAUxB,KAAKyB,OAAO,CAAC,EAJ3G5B,EAAOK,UAAUa,OAAOW,KAAK1B,IAAI,EACjCA,KAAKiB,iBAAmB,CAAA,GAMzBJ,GApBP,SAASA,EAAqBU,GACtBI,EAAQ9B,EAAO6B,KAAK1B,KAAMuB,CAAK,GAAKvB,KAQxC,OAPA2B,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,cAAgB,CAAEC,uBAA0B,wBAAyBC,YAAe,cAC1FJ,EAAMK,uBAAyB,KAC/BL,EAAMM,cAAgB,KACtBN,EAAMO,gBAAkB,CAAA,EACxBP,EAAMF,QAAU,GACTE,gBAcHd,EAAsB,CAACsB,gBAAeC,YAAgB"}
1
+ {"version":3,"file":"ej2-react-progressbar.umd.min.js","sources":["../src/progressbar/annotations-directive.js","../src/progressbar/rangecolors-directive.js","../src/progressbar/progressbar.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ProgressBarAnnotationsDirective` directive represent a annotation of the react progressbar.\n * ```tsx\n * <progressbarComponent>\n * <ProgressBarAnnotationsDirective>\n * <ProgressBarAnnotationDirective></ProgressBarAnnotationDirective>\n * </ProgressBarAnnotationsDirective>\n * </progressbarComponent>\n * ```\n */\nvar ProgressBarAnnotationDirective = /** @class */ (function (_super) {\n __extends(ProgressBarAnnotationDirective, _super);\n function ProgressBarAnnotationDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ProgressBarAnnotationDirective.moduleName = 'progressBarAnnotation';\n return ProgressBarAnnotationDirective;\n}(ComplexBase));\nexport { ProgressBarAnnotationDirective };\nvar ProgressBarAnnotationsDirective = /** @class */ (function (_super) {\n __extends(ProgressBarAnnotationsDirective, _super);\n function ProgressBarAnnotationsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ProgressBarAnnotationsDirective.propertyName = 'annotations';\n ProgressBarAnnotationsDirective.moduleName = 'progressBarAnnotations';\n return ProgressBarAnnotationsDirective;\n}(ComplexBase));\nexport { ProgressBarAnnotationsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\nvar RangeColorDirective = /** @class */ (function (_super) {\n __extends(RangeColorDirective, _super);\n function RangeColorDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RangeColorDirective.moduleName = 'rangeColor';\n return RangeColorDirective;\n}(ComplexBase));\nexport { RangeColorDirective };\nvar RangeColorsDirective = /** @class */ (function (_super) {\n __extends(RangeColorsDirective, _super);\n function RangeColorsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RangeColorsDirective.propertyName = 'rangeColors';\n RangeColorsDirective.moduleName = 'rangeColors';\n return RangeColorsDirective;\n}(ComplexBase));\nexport { RangeColorsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { ProgressBar } from '@syncfusion/ej2-progressbar';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react ProgressBar Component\n * ```tsx\n * <ProgressBarComponent></ProgressBarComponent>\n * ```\n */\nvar ProgressBarComponent = /** @class */ (function (_super) {\n __extends(ProgressBarComponent, _super);\n function ProgressBarComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'progressBarAnnotations': 'progressBarAnnotation', 'rangeColors': 'rangeColor' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n ProgressBarComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return ProgressBarComponent;\n}(ProgressBar));\nexport { ProgressBarComponent };\napplyMixins(ProgressBarComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","ProgressBarAnnotationDirective","ComplexBase","moduleName","apply","arguments","ProgressBarAnnotationsDirective","propertyName","RangeColorDirective","RangeColorsDirective","ProgressBarComponent","ProgressBar","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","progressBarAnnotations","rangeColors","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings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KAAK3B,IAAI,EACjCA,KAAKkB,iBAAmB,CAAA,GAMzBL,GAtBP,SAASA,EAAqBW,GACtBI,EAAQ/B,EAAO8B,KAAK3B,KAAMwB,CAAK,GAAKxB,KASxC,OARA4B,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,cAAgB,CAAEC,uBAA0B,wBAAyBC,YAAe,cAC1FJ,EAAMK,uBAAyB,KAC/BL,EAAMM,cAAgB,KACtBN,EAAMO,gBAAkB,CAAA,EACxBP,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHf,EAAsB,CAACuB,gBAAeC,YAAgB"}
@@ -45,9 +45,11 @@ class ProgressBarComponent extends ProgressBar {
45
45
  this.statelessTemplateProps = null;
46
46
  this.templateProps = null;
47
47
  this.immediateRender = false;
48
+ this.isReactMock = true;
48
49
  this.portals = [];
49
50
  }
50
51
  render() {
52
+ this.isReactMock = false;
51
53
  if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
52
54
  super.render();
53
55
  this.initRenderCalled = true;
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-progressbar.es2015.js","sources":["../src/es6/progressbar/annotations-directive.js","../src/es6/progressbar/rangecolors-directive.js","../src/es6/progressbar/progressbar.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ProgressBarAnnotationsDirective` directive represent a annotation of the react progressbar.\n * ```tsx\n * <progressbarComponent>\n * <ProgressBarAnnotationsDirective>\n * <ProgressBarAnnotationDirective></ProgressBarAnnotationDirective>\n * </ProgressBarAnnotationsDirective>\n * </progressbarComponent>\n * ```\n */\nexport class ProgressBarAnnotationDirective extends ComplexBase {\n}\nProgressBarAnnotationDirective.moduleName = 'progressBarAnnotation';\nexport class ProgressBarAnnotationsDirective extends ComplexBase {\n}\nProgressBarAnnotationsDirective.propertyName = 'annotations';\nProgressBarAnnotationsDirective.moduleName = 'progressBarAnnotations';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class RangeColorDirective extends ComplexBase {\n}\nRangeColorDirective.moduleName = 'rangeColor';\nexport class RangeColorsDirective extends ComplexBase {\n}\nRangeColorsDirective.propertyName = 'rangeColors';\nRangeColorsDirective.moduleName = 'rangeColors';\n","import * as React from 'react';\nimport { ProgressBar } from '@syncfusion/ej2-progressbar';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react ProgressBar Component\n * ```tsx\n * <ProgressBarComponent></ProgressBarComponent>\n * ```\n */\nexport class ProgressBarComponent extends ProgressBar {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'progressBarAnnotations': 'progressBarAnnotation', 'rangeColors': 'rangeColor' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(ProgressBarComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,8BAA8B,SAAS,WAAW,CAAC;AAChE,CAAC;AACD,8BAA8B,CAAC,UAAU,GAAG,uBAAuB,CAAC;AAC7D,MAAM,+BAA+B,SAAS,WAAW,CAAC;AACjE,CAAC;AACD,+BAA+B,CAAC,YAAY,GAAG,aAAa,CAAC;AAC7D,+BAA+B,CAAC,UAAU,GAAG,wBAAwB;;AChB9D,MAAM,mBAAmB,SAAS,WAAW,CAAC;AACrD,CAAC;AACD,mBAAmB,CAAC,UAAU,GAAG,YAAY,CAAC;AAC9C,AAAO,MAAM,oBAAoB,SAAS,WAAW,CAAC;AACtD,CAAC;AACD,oBAAoB,C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"file":"ej2-react-progressbar.es2015.js","sources":["../src/es6/progressbar/annotations-directive.js","../src/es6/progressbar/rangecolors-directive.js","../src/es6/progressbar/progressbar.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ProgressBarAnnotationsDirective` directive represent a annotation of the react progressbar.\n * ```tsx\n * <progressbarComponent>\n * <ProgressBarAnnotationsDirective>\n * <ProgressBarAnnotationDirective></ProgressBarAnnotationDirective>\n * </ProgressBarAnnotationsDirective>\n * </progressbarComponent>\n * ```\n */\nexport class ProgressBarAnnotationDirective extends ComplexBase {\n}\nProgressBarAnnotationDirective.moduleName = 'progressBarAnnotation';\nexport class ProgressBarAnnotationsDirective extends ComplexBase {\n}\nProgressBarAnnotationsDirective.propertyName = 'annotations';\nProgressBarAnnotationsDirective.moduleName = 'progressBarAnnotations';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class RangeColorDirective extends ComplexBase {\n}\nRangeColorDirective.moduleName = 'rangeColor';\nexport class RangeColorsDirective extends ComplexBase {\n}\nRangeColorsDirective.propertyName = 'rangeColors';\nRangeColorsDirective.moduleName = 'rangeColors';\n","import * as React from 'react';\nimport { ProgressBar } from '@syncfusion/ej2-progressbar';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react ProgressBar Component\n * ```tsx\n * <ProgressBarComponent></ProgressBarComponent>\n * ```\n */\nexport class ProgressBarComponent extends ProgressBar {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'progressBarAnnotations': 'progressBarAnnotation', 'rangeColors': 'rangeColor' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(ProgressBarComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,8BAA8B,SAAS,WAAW,CAAC;AAChE,CAAC;AACD,8BAA8B,CAAC,UAAU,GAAG,uBAAuB,CAAC;AAC7D,MAAM,+BAA+B,SAAS,WAAW,CAAC;AACjE,CAAC;AACD,+BAA+B,CAAC,YAAY,GAAG,aAAa,CAAC;AAC7D,+BAA+B,CAAC,UAAU,GAAG,wBAAwB;;AChB9D,MAAM,mBAAmB,SAAS,WAAW,CAAC;AACrD,CAAC;AACD,mBAAmB,CAAC,UAAU,GAAG,YAAY,CAAC;AAC9C,AAAO,MAAM,oBAAoB,SAAS,WAAW,CAAC;AACtD,CAAC;AACD,oBAAoB,CAAC,YAAY,GAAG,aAAa,CAAC;AAClD,oBAAoB,CAAC,UAAU,GAAG,aAAa,CAAC;;ACJhD;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,oBAAoB,SAAS,WAAW,CAAC;AACtD,IAAI,WAAW,CAAC,KAAK,EAAE;AACvB,QAAQ,KAAK,CAAC,KAAK,CAAC,CAAC;AACrB,QAAQ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;AACtC,QAAQ,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;AACzC,QAAQ,IAAI,CAAC,aAAa,GAAG,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC;AAChH,QAAQ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;AACrC,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;AAChC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;AACjC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,oBAAoB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-react-progressbar@*",
3
- "_id": "@syncfusion/ej2-react-progressbar@27.1.48",
3
+ "_id": "@syncfusion/ej2-react-progressbar@18.15.6",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-zG0wNN+DCEE6Jb0Vc7V/QAJaVXrYYMG7Kl88uL9jDsCILBYVRcWi+oocqgVghnhD9dxGBz3cRgxdH2HAx9Pm4w==",
5
+ "_integrity": "sha512-hkUhRo0v/zpK2NuzPTCWshMMBXwPcWthC7yTRojWytOgsQIJgQ/QAhaUW/Pfpiki64S+4bjWnYeDsV8QYMGa8Q==",
6
6
  "_location": "/@syncfusion/ej2-react-progressbar",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-progressbar/-/ej2-react-progressbar-27.1.48.tgz",
23
- "_shasum": "c74d28be5aaec74f7eeaaab256ca120ea88b9941",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-react-progressbar/-/ej2-react-progressbar-18.15.6.tgz",
23
+ "_shasum": "f437cd4151e2e5aacbe6096e9ffc9309967d2832",
24
24
  "_spec": "@syncfusion/ej2-react-progressbar@*",
25
- "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~27.1.50",
35
- "@syncfusion/ej2-progressbar": "27.1.50",
36
- "@syncfusion/ej2-react-base": "~27.1.50"
34
+ "@syncfusion/ej2-base": "~28.1.33",
35
+ "@syncfusion/ej2-progressbar": "28.1.33",
36
+ "@syncfusion/ej2-react-base": "~28.1.33"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "Essential JS 2 ProgressBar Component for React",
@@ -54,6 +54,6 @@
54
54
  "type": "git",
55
55
  "url": "https://github.com/syncfusion/ej2-react-ui-components.git"
56
56
  },
57
- "version": "27.1.50",
57
+ "version": "28.1.33",
58
58
  "sideEffects": false
59
59
  }
@@ -21,6 +21,7 @@ export declare class ProgressBarComponent extends ProgressBar {
21
21
  private statelessTemplateProps;
22
22
  private templateProps;
23
23
  private immediateRender;
24
+ private isReactMock;
24
25
  props: Readonly<{
25
26
  children?: React.ReactNode | React.ReactNode[];
26
27
  }> & Readonly<ProgressBarModel | DefaultHtmlAttributes>;
@@ -30,10 +30,12 @@ var ProgressBarComponent = /** @class */ (function (_super) {
30
30
  _this.statelessTemplateProps = null;
31
31
  _this.templateProps = null;
32
32
  _this.immediateRender = false;
33
+ _this.isReactMock = true;
33
34
  _this.portals = [];
34
35
  return _this;
35
36
  }
36
37
  ProgressBarComponent.prototype.render = function () {
38
+ this.isReactMock = false;
37
39
  if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
38
40
  _super.prototype.render.call(this);
39
41
  this.initRenderCalled = true;