@syncfusion/ej2-react-progressbar 20.4.48 → 21.1.36

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/CHANGELOG.md CHANGED
@@ -2,6 +2,29 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ### ProgressBar
6
+
7
+ #### Bug Fixes
8
+
9
+ - `#I470963` - Fixed an issue where the progress bar displaying an extra segment at the end.
10
+
11
+ ## 21.1.37 (2023-03-29)
12
+
13
+ ### ProgressBar
14
+
15
+ #### Bug Fixes
16
+
17
+ - `#F180771` - The progress bar range color issue has been resolved.
18
+
19
+ ## 21.1.35 (2023-03-23)
20
+
21
+ ### ProgressBar
22
+
23
+ #### New Features
24
+
25
+ - `#I386691` - Provided support to display tooltips during initial load of progress bars and mouse hover with numeric or text values of the progress.
26
+ - Provided support to customize the width and color of the secondary progress bar.
27
+
5
28
  ## 20.4.38 (2022-12-21)
6
29
 
7
30
  ### ProgressBar
package/diConfig.json CHANGED
@@ -40,7 +40,8 @@
40
40
  },
41
41
  "eventInterfaces": [
42
42
  "ILoadedEventArgs",
43
- "IAnnotationRenderEventArgs"
43
+ "IAnnotationRenderEventArgs",
44
+ "ITooltipRenderEventArgs"
44
45
  ],
45
46
  "components": [
46
47
  {
@@ -79,11 +80,15 @@
79
80
  " */"
80
81
  ],
81
82
  "dynamicModules": [
82
- "ProgressAnnotation"
83
+ "ProgressAnnotation",
84
+ "ProgressTooltip"
83
85
  ],
84
86
  "diModuleFiles": [
85
87
  {
86
88
  "filename": "progress-annotation"
89
+ },
90
+ {
91
+ "fileName": "progress-tooltip"
87
92
  }
88
93
  ],
89
94
  "complexDirective": [
@@ -98,6 +103,28 @@
98
103
  {
99
104
  "propertyName": "labelStyle",
100
105
  "baseClass": "Font"
106
+ },
107
+ {
108
+ "propertyName": "tooltip",
109
+ "baseClass": "TooltipSettings",
110
+ "SelectorName": "e-progressbar-tooltipsettings",
111
+ "aspSelectorName": "e-progressbar-tooltipsettings",
112
+ "complexDirective": [
113
+ {
114
+ "propertyName": "textStyle",
115
+ "baseClass": "Font",
116
+ "isCommon": "true",
117
+ "blazorClassName": "ProgressBarTooltipTextStyle",
118
+ "blazorCommonClassName": "ProgressBarCommonFont"
119
+ },
120
+ {
121
+ "propertyName": "border",
122
+ "baseClass": "Border",
123
+ "isCommon": "true",
124
+ "blazorClassName" : "ProgressBarTooltipBorder",
125
+ "blazorCommonClassName" : "ProgressBarCommonBorder"
126
+ }
127
+ ]
101
128
  }
102
129
  ],
103
130
  "tagDirective": [
@@ -140,6 +167,13 @@
140
167
  "templateProperties": [
141
168
  "content"
142
169
  ]
170
+ },
171
+ {
172
+ "arrayDirectiveClassName": "rangeColors",
173
+ "directiveClassName": "RangeColor",
174
+ "propertyName": "rangeColors",
175
+ "baseClass": "RangeColor",
176
+ "directoryName": "progressbar"
143
177
  }
144
178
  ]
145
179
  }
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-progressbar.min.js
3
- * version : 20.4.48
3
+ * version : 21.1.36
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("SyncfusionReactBase"),require("SyncfusionProgressbar"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionProgressbar","React"],n):"object"==typeof exports?exports.SyncfusionReactProgressbar=n(require("SyncfusionReactBase"),require("SyncfusionProgressbar"),require("React")):t.SyncfusionReactProgressbar=n(t.SyncfusionReactBase,t.SyncfusionProgressbar,t.React)}(this,function(t,n,e){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=3)}([function(n,e){n.exports=t},function(t,e){t.exports=n},function(t,n,e){"use strict";var r=e(4);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b});var o=e(5);e.d(n,"c",function(){return o.a})},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(2);e.d(n,"ProgressBarAnnotationDirective",function(){return r.a}),e.d(n,"ProgressBarAnnotationsDirective",function(){return r.b}),e.d(n,"ProgressBarComponent",function(){return r.c});var o=e(0);e.n(o);e.o(o,"Inject")&&e.d(n,"Inject",function(){return o.Inject});var i=e(1);e.n(i);for(var s in i)["ProgressBarAnnotationDirective","ProgressBarAnnotationsDirective","ProgressBarComponent","Inject","default"].indexOf(s)<0&&function(t){e.d(n,t,function(){return i[t]})}(s)},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return s});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="progressBarAnnotation",n}(r.ComplexBase),s=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="annotations",n.moduleName="progressBarAnnotations",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return u});var r=e(6),o=(e.n(r),e(1)),i=(e.n(o),e(0)),s=(e.n(i),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),u=function(t){function n(n){var e=t.call(this,n)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={progressBarAnnotations:"progressBarAnnotation"},e.immediateRender=!1,e.portals=[],e}return s(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(o.ProgressBar);e.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,n){t.exports=e}])});
10
+ !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("SyncfusionReactBase"),require("SyncfusionProgressbar"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionProgressbar","React"],n):"object"==typeof exports?exports.SyncfusionReactProgressbar=n(require("SyncfusionReactBase"),require("SyncfusionProgressbar"),require("React")):t.SyncfusionReactProgressbar=n(t.SyncfusionReactBase,t.SyncfusionProgressbar,t.React)}(this,function(t,n,e){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=3)}([function(n,e){n.exports=t},function(t,e){t.exports=n},function(t,n,e){"use strict";var r=e(4);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b});var o=e(6);e.d(n,"c",function(){return o.a}),e.d(n,"d",function(){return o.b});var i=e(5);e.d(n,"e",function(){return i.a})},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(2);e.d(n,"ProgressBarAnnotationDirective",function(){return r.a}),e.d(n,"ProgressBarAnnotationsDirective",function(){return r.b}),e.d(n,"RangeColorDirective",function(){return r.c}),e.d(n,"RangeColorsDirective",function(){return r.d}),e.d(n,"ProgressBarComponent",function(){return r.e});var o=e(0);e.n(o);e.o(o,"Inject")&&e.d(n,"Inject",function(){return o.Inject});var i=e(1);e.n(i);for(var u in i)["ProgressBarAnnotationDirective","ProgressBarAnnotationsDirective","RangeColorDirective","RangeColorsDirective","ProgressBarComponent","Inject","default"].indexOf(u)<0&&function(t){e.d(n,t,function(){return i[t]})}(u)},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="progressBarAnnotation",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="annotations",n.moduleName="progressBarAnnotations",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return s});var r=e(7),o=(e.n(r),e(1)),i=(e.n(o),e(0)),u=(e.n(i),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),s=function(t){function n(n){var e=t.call(this,n)||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}return u(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(o.ProgressBar);e.i(i.applyMixins)(s,[i.ComponentBase,r.Component])},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="rangeColor",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="rangeColors",n.moduleName="rangeColors",n}(r.ComplexBase)},function(t,n){t.exports=e}])});
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-progressbar.umd.min.js
3
- * version : 20.4.48
3
+ * version : 21.1.36
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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.ej={},e.ej2ReactBase,e.React,e.ej2Progressbar)}(this,function(e,t,n,r){"use strict";var o=function(){var e=function(t,n){return(e=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])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="progressBarAnnotation",t}(t.ComplexBase),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="annotations",t.moduleName="progressBarAnnotations",t}(t.ComplexBase),a=function(){var e=function(t,n){return(e=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])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={progressBarAnnotations:"progressBarAnnotation"},n.immediateRender=!1,n.portals=[],n}return a(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(r.ProgressBar);t.applyMixins(c,[t.ComponentBase,n.Component]),e.Inject=t.Inject,e.ProgressBarAnnotationDirective=i,e.ProgressBarAnnotationsDirective=s,e.ProgressBarComponent=c,Object.keys(r).forEach(function(t){e[t]=r[t]}),Object.defineProperty(e,"__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.ej={},e.ej2ReactBase,e.React,e.ej2Progressbar)}(this,function(e,t,n,r){"use strict";var o=function(){var e=function(t,n){return(e=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])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="progressBarAnnotation",t}(t.ComplexBase),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="annotations",t.moduleName="progressBarAnnotations",t}(t.ComplexBase),a=function(){var e=function(t,n){return(e=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])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.moduleName="rangeColor",t}(t.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.propertyName="rangeColors",t.moduleName="rangeColors",t}(t.ComplexBase),p=function(){var e=function(t,n){return(e=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])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={progressBarAnnotations:"progressBarAnnotation",rangeColors:"rangeColor"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return p(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(r.ProgressBar);t.applyMixins(l,[t.ComponentBase,n.Component]),e.Inject=t.Inject,e.ProgressBarAnnotationDirective=i,e.ProgressBarAnnotationsDirective=s,e.RangeColorDirective=c,e.RangeColorsDirective=u,e.ProgressBarComponent=l,Object.keys(r).forEach(function(t){e[t]=r[t]}),Object.defineProperty(e,"__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/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 * 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' };\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":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","ProgressBarAnnotationDirective","_super","apply","arguments","moduleName","ComplexBase","ProgressBarAnnotationsDirective","propertyName","ProgressBarComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","progressBarAnnotations","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","ProgressBar","ej2ReactBase","ComponentBase","React.Component"],"mappings":"oYAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAwBxCK,EAAgD,SAAUC,GAE1D,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAG/D,OALAX,EAAUe,EAAgCC,GAI1CD,EAA+BI,WAAa,wBACrCJ,GACTK,eAEEC,EAAiD,SAAUL,GAE3D,SAASK,IACL,OAAkB,OAAXL,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAAUqB,EAAiCL,GAI3CK,EAAgCC,aAAe,cAC/CD,EAAgCF,WAAa,yBACtCE,GACTD,eCzCEpB,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxCa,EAAsC,SAAUP,GAEhD,SAASO,EAAqBC,GAC1B,IAAIC,EAAQT,EAAOU,KAAKf,KAAMa,IAAUb,KAMxC,OALAc,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,eAAkBC,uBAA0B,yBAClDL,EAAMM,iBAAkB,EACxBN,EAAMO,WACCP,EAWX,OAnBAzB,EAAUuB,EAAsBP,GAUhCO,EAAqBV,UAAUoB,OAAS,WACpC,KAAMtB,KAAKuB,UAAYvB,KAAKgB,kBAAqBhB,KAAKwB,aAAgBxB,KAAKyB,oBAKvE,OAAOC,gBAAoB,MAAO1B,KAAK2B,0BAA2BC,OAAO5B,KAAKa,MAAMgB,SAAU7B,KAAKqB,UAJnGhB,EAAOH,UAAUoB,OAAOP,KAAKf,MAC7BA,KAAKgB,kBAAmB,GAMzBJ,GACTkB,eACFC,cACYnB,GAAuBoB,gBAAeC"}
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":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","ProgressBarAnnotationDirective","_super","apply","arguments","moduleName","ComplexBase","ProgressBarAnnotationsDirective","propertyName","RangeColorDirective","RangeColorsDirective","ProgressBarComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","progressBarAnnotations","rangeColors","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","ProgressBar","ej2ReactBase","ComponentBase","React.Component"],"mappings":"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"}
@@ -20,6 +20,14 @@ class ProgressBarAnnotationsDirective extends ComplexBase {
20
20
  ProgressBarAnnotationsDirective.propertyName = 'annotations';
21
21
  ProgressBarAnnotationsDirective.moduleName = 'progressBarAnnotations';
22
22
 
23
+ class RangeColorDirective extends ComplexBase {
24
+ }
25
+ RangeColorDirective.moduleName = 'rangeColor';
26
+ class RangeColorsDirective extends ComplexBase {
27
+ }
28
+ RangeColorsDirective.propertyName = 'rangeColors';
29
+ RangeColorsDirective.moduleName = 'rangeColors';
30
+
23
31
  /**
24
32
  * Represents react ProgressBar Component
25
33
  * ```tsx
@@ -31,7 +39,9 @@ class ProgressBarComponent extends ProgressBar {
31
39
  super(props);
32
40
  this.initRenderCalled = false;
33
41
  this.checkInjectedModules = true;
34
- this.directivekeys = { 'progressBarAnnotations': 'progressBarAnnotation' };
42
+ this.directivekeys = { 'progressBarAnnotations': 'progressBarAnnotation', 'rangeColors': 'rangeColor' };
43
+ this.statelessTemplateProps = null;
44
+ this.templateProps = null;
35
45
  this.immediateRender = false;
36
46
  this.portals = [];
37
47
  }
@@ -47,7 +57,7 @@ class ProgressBarComponent extends ProgressBar {
47
57
  }
48
58
  applyMixins(ProgressBarComponent, [ComponentBase, Component]);
49
59
 
50
- export { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective, ProgressBarComponent };
60
+ export { ProgressBarAnnotationDirective, ProgressBarAnnotationsDirective, RangeColorDirective, RangeColorsDirective, ProgressBarComponent };
51
61
  export * from '@syncfusion/ej2-progressbar';
52
62
  export { Inject } from '@syncfusion/ej2-react-base';
53
63
  //# sourceMappingURL=ej2-react-progressbar.es2015.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-progressbar.es2015.js","sources":["../src/es6/progressbar/annotations-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 * 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' };\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;;;;;;;;;;AAUA,AAAO,MAAM,8BAA8B,SAAS,WAAW,CAAC;CAC/D;AACD,8BAA8B,CAAC,UAAU,GAAG,uBAAuB,CAAC;AACpE,AAAO,MAAM,+BAA+B,SAAS,WAAW,CAAC;CAChE;AACD,+BAA+B,CAAC,YAAY,GAAG,aAAa,CAAC;AAC7D,+BAA+B,CAAC,UAAU,GAAG,wBAAwB,CAAC;;ACdtE;;;;;;AAMA,AAAO,MAAM,oBAAoB,SAAS,WAAW,CAAC;IAClD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,CAAC;QAC3E,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,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;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,oBAAoB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;;;"}
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;;;;;;;;;;AAUA,AAAO,MAAM,8BAA8B,SAAS,WAAW,CAAC;CAC/D;AACD,8BAA8B,CAAC,UAAU,GAAG,uBAAuB,CAAC;AACpE,AAAO,MAAM,+BAA+B,SAAS,WAAW,CAAC;CAChE;AACD,+BAA+B,CAAC,YAAY,GAAG,aAAa,CAAC;AAC7D,+BAA+B,CAAC,UAAU,GAAG,wBAAwB,CAAC;;AChB/D,MAAM,mBAAmB,SAAS,WAAW,CAAC;CACpD;AACD,mBAAmB,CAAC,UAAU,GAAG,YAAY,CAAC;AAC9C,AAAO,MAAM,oBAAoB,SAAS,WAAW,CAAC;CACrD;AACD,oBAAoB,CAAC,YAAY,GAAG,aAAa,CAAC;AAClD,oBAAoB,CAAC,UAAU,GAAG,aAAa,CAAC;;ACJhD;;;;;;AAMA,AAAO,MAAM,oBAAoB,SAAS,WAAW,CAAC;IAClD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC;QACxG,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,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;SAChH;KACJ;CACJ;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@20.4.42",
3
+ "_id": "@syncfusion/ej2-react-progressbar@22.1.34",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-sSZHvOPldVEyxz2mBlvECRb6H/aE3RkjUoOPItqsKeBl0hDvPKB0oYjot8La2WUKbnnf9FVhdTNQP50eSPUjGA==",
5
+ "_integrity": "sha512-k3rm1B92YTkOSs4r03pRWjKCgj/ze+EoTVAyV0G9RSYqKGOAHgr7P4weEb8V15DbcA5zuCFCuHRDpoTJz4vw9g==",
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.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-progressbar/-/ej2-react-progressbar-20.4.42.tgz",
23
- "_shasum": "ec539669f1d23255c599e10c77b78d4e204b4295",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-progressbar/-/ej2-react-progressbar-22.1.34.tgz",
23
+ "_shasum": "81f6fce12523c63078d48e3e8ca906d3a3736b90",
24
24
  "_spec": "@syncfusion/ej2-react-progressbar@*",
25
- "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_21.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": "~20.4.48",
35
- "@syncfusion/ej2-progressbar": "20.4.48",
36
- "@syncfusion/ej2-react-base": "~20.4.48"
34
+ "@syncfusion/ej2-base": "~22.1.34",
35
+ "@syncfusion/ej2-progressbar": "21.1.36",
36
+ "@syncfusion/ej2-react-base": "~22.1.34"
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": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
56
56
  },
57
- "version": "20.4.48",
57
+ "version": "21.1.36",
58
58
  "sideEffects": false
59
59
  }
@@ -1,2 +1,3 @@
1
1
  export * from './annotations-directive';
2
+ export * from './rangecolors-directive';
2
3
  export * from './progressbar.component';
@@ -1,2 +1,3 @@
1
1
  export * from './annotations-directive';
2
+ export * from './rangecolors-directive';
2
3
  export * from './progressbar.component';
@@ -18,6 +18,8 @@ export declare class ProgressBarComponent extends ProgressBar {
18
18
  directivekeys: {
19
19
  [key: string]: Object;
20
20
  };
21
+ private statelessTemplateProps;
22
+ private templateProps;
21
23
  private immediateRender;
22
24
  props: Readonly<{
23
25
  children?: React.ReactNode | React.ReactNode[];
@@ -26,7 +26,9 @@ var ProgressBarComponent = /** @class */ (function (_super) {
26
26
  var _this = _super.call(this, props) || this;
27
27
  _this.initRenderCalled = false;
28
28
  _this.checkInjectedModules = true;
29
- _this.directivekeys = { 'progressBarAnnotations': 'progressBarAnnotation' };
29
+ _this.directivekeys = { 'progressBarAnnotations': 'progressBarAnnotation', 'rangeColors': 'rangeColor' };
30
+ _this.statelessTemplateProps = null;
31
+ _this.templateProps = null;
30
32
  _this.immediateRender = false;
31
33
  _this.portals = [];
32
34
  return _this;
@@ -0,0 +1,11 @@
1
+ import { ComplexBase } from '@syncfusion/ej2-react-base';
2
+ import { RangeColorModel } from '@syncfusion/ej2-progressbar';
3
+ export declare class RangeColorDirective extends ComplexBase<RangeColorModel & {
4
+ children?: React.ReactNode;
5
+ }, RangeColorModel> {
6
+ static moduleName: string;
7
+ }
8
+ export declare class RangeColorsDirective extends ComplexBase<{}, {}> {
9
+ static propertyName: string;
10
+ static moduleName: string;
11
+ }
@@ -0,0 +1,33 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import { ComplexBase } from '@syncfusion/ej2-react-base';
15
+ var RangeColorDirective = /** @class */ (function (_super) {
16
+ __extends(RangeColorDirective, _super);
17
+ function RangeColorDirective() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ RangeColorDirective.moduleName = 'rangeColor';
21
+ return RangeColorDirective;
22
+ }(ComplexBase));
23
+ export { RangeColorDirective };
24
+ var RangeColorsDirective = /** @class */ (function (_super) {
25
+ __extends(RangeColorsDirective, _super);
26
+ function RangeColorsDirective() {
27
+ return _super !== null && _super.apply(this, arguments) || this;
28
+ }
29
+ RangeColorsDirective.propertyName = 'rangeColors';
30
+ RangeColorsDirective.moduleName = 'rangeColors';
31
+ return RangeColorsDirective;
32
+ }(ComplexBase));
33
+ export { RangeColorsDirective };