@syncfusion/ej2-react-splitbuttons 21.1.37 → 21.2.3
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 +8 -0
- package/dist/ej2-react-splitbuttons.min.js +2 -2
- package/dist/ej2-react-splitbuttons.umd.min.js +2 -2
- package/dist/ej2-react-splitbuttons.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-splitbuttons.es2015.js +3 -0
- package/dist/es6/ej2-react-splitbuttons.es2015.js.map +1 -1
- package/package.json +8 -8
- package/src/drop-down-button/dropdownbutton.component.d.ts +1 -0
- package/src/drop-down-button/dropdownbutton.component.js +1 -0
- package/src/progress-button/progressbutton.component.d.ts +1 -0
- package/src/progress-button/progressbutton.component.js +1 -0
- package/src/split-button/splitbutton.component.d.ts +1 -0
- package/src/split-button/splitbutton.component.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## 21.1.41 (2023-04-18)
|
|
6
|
+
|
|
7
|
+
### DropDownButton
|
|
8
|
+
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- `#I445638` - Issue in DropDownButton Popup Alignment issue while setting `enableRtl` property as true has been resolved.
|
|
12
|
+
|
|
5
13
|
## 20.4.50 (2023-02-14)
|
|
6
14
|
|
|
7
15
|
### SplitButton
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-splitbuttons.min.js
|
|
3
|
-
* version : 21.
|
|
3
|
+
* version : 21.2.3
|
|
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("SyncfusionSplitbuttons"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionSplitbuttons","React"],n):"object"==typeof exports?exports.SyncfusionReactSplitbuttons=n(require("SyncfusionReactBase"),require("SyncfusionSplitbuttons"),require("React")):t.SyncfusionReactSplitbuttons=n(t.SyncfusionReactBase,t.SyncfusionSplitbuttons,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=8)}([function(n,e){n.exports=t},function(t,e){t.exports=n},function(t,n){t.exports=e},function(t,n,e){"use strict";var r=e(7);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})},function(t,n,e){"use strict";var r=e(9);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(10);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b});var o=e(11);e.d(n,"c",function(){return o.a})},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),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)}}()),c=function(t){function n(n){var e=t.call(this,n)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!1,e.directivekeys={dropDownButtonItems:"dropDownButtonItem"},e.statelessTemplateProps=null,e.immediateRender=!0,e.portals=[],e}return u(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(o.DropDownButton);e.i(i.applyMixins)(c,[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="dropDownButtonItem",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="items",n.moduleName="dropDownButtonItems",n}(r.ComplexBase)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(3);e.d(n,"DropDownButtonItemDirective",function(){return r.a}),e.d(n,"DropDownButtonItemsDirective",function(){return r.b}),e.d(n,"DropDownButtonComponent",function(){return r.c});var o=e(5);e.d(n,"SplitButtonItemDirective",function(){return o.a}),e.d(n,"SplitButtonItemsDirective",function(){return o.b}),e.d(n,"SplitButtonComponent",function(){return o.c});var i=e(4);e.d(n,"ProgressButtonComponent",function(){return i.a});var u=e(1);e.n(u);for(var c in u)["DropDownButtonItemDirective","DropDownButtonItemsDirective","DropDownButtonComponent","SplitButtonItemDirective","SplitButtonItemsDirective","SplitButtonComponent","ProgressButtonComponent","default"].indexOf(c)<0&&function(t){e.d(n,t,function(){return u[t]})}(c)},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),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)}}()),c=function(t){function n(n){var e=t.call(this,n)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!1,e.statelessTemplateProps=null,e.immediateRender=!0,e.portals=[],e}return u(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(o.ProgressButton);e.i(i.applyMixins)(c,[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="splitButtonItem",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="items",n.moduleName="splitButtonItems",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),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)}}()),c=function(t){function n(n){var e=t.call(this,n)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!1,e.directivekeys={splitButtonItems:"splitButtonItem"},e.statelessTemplateProps=null,e.immediateRender=!0,e.portals=[],e}return u(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(o.SplitButton);e.i(i.applyMixins)(c,[i.ComponentBase,r.Component])}])});
|
|
10
|
+
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("SyncfusionReactBase"),require("SyncfusionSplitbuttons"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionSplitbuttons","React"],n):"object"==typeof exports?exports.SyncfusionReactSplitbuttons=n(require("SyncfusionReactBase"),require("SyncfusionSplitbuttons"),require("React")):t.SyncfusionReactSplitbuttons=n(t.SyncfusionReactBase,t.SyncfusionSplitbuttons,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=8)}([function(n,e){n.exports=t},function(t,e){t.exports=n},function(t,n){t.exports=e},function(t,n,e){"use strict";var r=e(7);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})},function(t,n,e){"use strict";var r=e(9);e.d(n,"a",function(){return r.a})},function(t,n,e){"use strict";var r=e(10);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b});var o=e(11);e.d(n,"c",function(){return o.a})},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),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)}}()),c=function(t){function n(n){var e=t.call(this,n)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!1,e.directivekeys={dropDownButtonItems:"dropDownButtonItem"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!0,e.portals=[],e}return u(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(o.DropDownButton);e.i(i.applyMixins)(c,[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="dropDownButtonItem",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="items",n.moduleName="dropDownButtonItems",n}(r.ComplexBase)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(3);e.d(n,"DropDownButtonItemDirective",function(){return r.a}),e.d(n,"DropDownButtonItemsDirective",function(){return r.b}),e.d(n,"DropDownButtonComponent",function(){return r.c});var o=e(5);e.d(n,"SplitButtonItemDirective",function(){return o.a}),e.d(n,"SplitButtonItemsDirective",function(){return o.b}),e.d(n,"SplitButtonComponent",function(){return o.c});var i=e(4);e.d(n,"ProgressButtonComponent",function(){return i.a});var u=e(1);e.n(u);for(var c in u)["DropDownButtonItemDirective","DropDownButtonItemsDirective","DropDownButtonComponent","SplitButtonItemDirective","SplitButtonItemsDirective","SplitButtonComponent","ProgressButtonComponent","default"].indexOf(c)<0&&function(t){e.d(n,t,function(){return u[t]})}(c)},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),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)}}()),c=function(t){function n(n){var e=t.call(this,n)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!1,e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!0,e.portals=[],e}return u(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(o.ProgressButton);e.i(i.applyMixins)(c,[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="splitButtonItem",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="items",n.moduleName="splitButtonItems",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(2),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)}}()),c=function(t){function n(n){var e=t.call(this,n)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!1,e.directivekeys={splitButtonItems:"splitButtonItem"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!0,e.portals=[],e}return u(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(o.SplitButton);e.i(i.applyMixins)(c,[i.ComponentBase,r.Component])}])});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-splitbuttons.umd.min.js
|
|
3
|
-
* version : 21.
|
|
3
|
+
* version : 21.2.3
|
|
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,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-splitbuttons")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-splitbuttons"],e):e(t.ej={},t.ej2ReactBase,t.React,t.ej2Splitbuttons)}(this,function(t,e,n,o){"use strict";var r=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.moduleName="dropDownButtonItem",e}(e.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.propertyName="items",e.moduleName="dropDownButtonItems",e}(e.ComplexBase),u=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),p=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={dropDownButtonItems:"dropDownButtonItem"},n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return u(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DropDownButton);e.applyMixins(p,[e.ComponentBase,n.Component]);var c=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),
|
|
10
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-splitbuttons")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-splitbuttons"],e):e(t.ej={},t.ej2ReactBase,t.React,t.ej2Splitbuttons)}(this,function(t,e,n,o){"use strict";var r=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.moduleName="dropDownButtonItem",e}(e.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.propertyName="items",e.moduleName="dropDownButtonItems",e}(e.ComplexBase),u=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),p=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={dropDownButtonItems:"dropDownButtonItem"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return u(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DropDownButton);e.applyMixins(p,[e.ComponentBase,n.Component]);var c=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.moduleName="splitButtonItem",e}(e.ComplexBase),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.propertyName="items",e.moduleName="splitButtonItems",e}(e.ComplexBase),f=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),h=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={splitButtonItems:"splitButtonItem"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return f(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.SplitButton);e.applyMixins(h,[e.ComponentBase,n.Component]);var d=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return d(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.ProgressButton);e.applyMixins(m,[e.ComponentBase,n.Component]),t.DropDownButtonItemDirective=i,t.DropDownButtonItemsDirective=s,t.DropDownButtonComponent=p,t.SplitButtonItemDirective=l,t.SplitButtonItemsDirective=a,t.SplitButtonComponent=h,t.ProgressButtonComponent=m,Object.keys(o).forEach(function(e){t[e]=o[e]}),Object.defineProperty(t,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-react-splitbuttons.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-splitbuttons.umd.min.js","sources":["../src/drop-down-button/items-directive.js","../src/drop-down-button/dropdownbutton.component.js","../src/split-button/items-directive.js","../src/split-button/splitbutton.component.js","../src/progress-button/progressbutton.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';\nvar DropDownButtonItemDirective = /** @class */ (function (_super) {\n __extends(DropDownButtonItemDirective, _super);\n function DropDownButtonItemDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DropDownButtonItemDirective.moduleName = 'dropDownButtonItem';\n return DropDownButtonItemDirective;\n}(ComplexBase));\nexport { DropDownButtonItemDirective };\nvar DropDownButtonItemsDirective = /** @class */ (function (_super) {\n __extends(DropDownButtonItemsDirective, _super);\n function DropDownButtonItemsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DropDownButtonItemsDirective.propertyName = 'items';\n DropDownButtonItemsDirective.moduleName = 'dropDownButtonItems';\n return DropDownButtonItemsDirective;\n}(ComplexBase));\nexport { DropDownButtonItemsDirective };\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 { DropDownButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `DropDownButtonComponent` represents the react DropDownButton Component.\n * ```ts\n * <DropDownButtonComponent content='DropDownButton'></DropDownButtonComponent>\n * ```\n */\nvar DropDownButtonComponent = /** @class */ (function (_super) {\n __extends(DropDownButtonComponent, _super);\n function DropDownButtonComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'dropDownButtonItems': 'dropDownButtonItem' };\n _this.statelessTemplateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n DropDownButtonComponent.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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return DropDownButtonComponent;\n}(DropDownButton));\nexport { DropDownButtonComponent };\napplyMixins(DropDownButtonComponent, [ComponentBase, React.Component]);\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 SplitButtonItemDirective = /** @class */ (function (_super) {\n __extends(SplitButtonItemDirective, _super);\n function SplitButtonItemDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SplitButtonItemDirective.moduleName = 'splitButtonItem';\n return SplitButtonItemDirective;\n}(ComplexBase));\nexport { SplitButtonItemDirective };\nvar SplitButtonItemsDirective = /** @class */ (function (_super) {\n __extends(SplitButtonItemsDirective, _super);\n function SplitButtonItemsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SplitButtonItemsDirective.propertyName = 'items';\n SplitButtonItemsDirective.moduleName = 'splitButtonItems';\n return SplitButtonItemsDirective;\n}(ComplexBase));\nexport { SplitButtonItemsDirective };\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 { SplitButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `SplitButtonComponent` represents the react SplitButton Component.\n * ```ts\n * <SplitButtonComponent content='Split Button'></SplitButtonComponent>\n * ```\n */\nvar SplitButtonComponent = /** @class */ (function (_super) {\n __extends(SplitButtonComponent, _super);\n function SplitButtonComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'splitButtonItems': 'splitButtonItem' };\n _this.statelessTemplateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n SplitButtonComponent.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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return SplitButtonComponent;\n}(SplitButton));\nexport { SplitButtonComponent };\napplyMixins(SplitButtonComponent, [ComponentBase, React.Component]);\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 { ProgressButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `ProgressButtonComponent` represents the react ProgressButton Component.\n * ```ts\n * <ProgressButtonComponent content='Progress Button'></ProgressButtonComponent>\n * ```\n */\nvar ProgressButtonComponent = /** @class */ (function (_super) {\n __extends(ProgressButtonComponent, _super);\n function ProgressButtonComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.statelessTemplateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n ProgressButtonComponent.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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return ProgressButtonComponent;\n}(ProgressButton));\nexport { ProgressButtonComponent };\napplyMixins(ProgressButtonComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","DropDownButtonItemDirective","_super","apply","arguments","moduleName","ComplexBase","DropDownButtonItemsDirective","propertyName","DropDownButtonComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","dropDownButtonItems","statelessTemplateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","DropDownButton","ej2ReactBase","ComponentBase","React.Component","SplitButtonItemDirective","SplitButtonItemsDirective","SplitButtonComponent","splitButtonItems","SplitButton","ProgressButtonComponent","ProgressButton"],"mappings":"uYAAA,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,GAcxCK,EAA6C,SAAUC,GAEvD,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAO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,IAAUb,KAMxC,OALAc,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMM,uBAAyB,KAC/BN,EAAMO,iBAAkB,EACxBP,EAAMQ,WACCR,EAWX,OAnBAzB,EAAUmD,EAAyBnC,GAUnCmC,EAAwBtC,UAAUqB,OAAS,WACvC,KAAMvB,KAAKwB,UAAYxB,KAAKgB,kBAAqBhB,KAAKyB,aAAgBzB,KAAK0B,oBAKvE,OAAOC,gBAAoB,SAAU3B,KAAK4B,0BAA2BC,OAAO7B,KAAKa,MAAMiB,SAAU9B,KAAKsB,UAJtGjB,EAAOH,UAAUqB,OAAOR,KAAKf,MAC7BA,KAAKgB,kBAAmB,GAMzBwB,GACTC,kBACFT,cACYQ,GAA0BP,gBAAeC"}
|
|
1
|
+
{"version":3,"file":"ej2-react-splitbuttons.umd.min.js","sources":["../src/drop-down-button/items-directive.js","../src/drop-down-button/dropdownbutton.component.js","../src/split-button/items-directive.js","../src/split-button/splitbutton.component.js","../src/progress-button/progressbutton.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';\nvar DropDownButtonItemDirective = /** @class */ (function (_super) {\n __extends(DropDownButtonItemDirective, _super);\n function DropDownButtonItemDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DropDownButtonItemDirective.moduleName = 'dropDownButtonItem';\n return DropDownButtonItemDirective;\n}(ComplexBase));\nexport { DropDownButtonItemDirective };\nvar DropDownButtonItemsDirective = /** @class */ (function (_super) {\n __extends(DropDownButtonItemsDirective, _super);\n function DropDownButtonItemsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DropDownButtonItemsDirective.propertyName = 'items';\n DropDownButtonItemsDirective.moduleName = 'dropDownButtonItems';\n return DropDownButtonItemsDirective;\n}(ComplexBase));\nexport { DropDownButtonItemsDirective };\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 { DropDownButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `DropDownButtonComponent` represents the react DropDownButton Component.\n * ```ts\n * <DropDownButtonComponent content='DropDownButton'></DropDownButtonComponent>\n * ```\n */\nvar DropDownButtonComponent = /** @class */ (function (_super) {\n __extends(DropDownButtonComponent, _super);\n function DropDownButtonComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'dropDownButtonItems': 'dropDownButtonItem' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n DropDownButtonComponent.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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return DropDownButtonComponent;\n}(DropDownButton));\nexport { DropDownButtonComponent };\napplyMixins(DropDownButtonComponent, [ComponentBase, React.Component]);\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 SplitButtonItemDirective = /** @class */ (function (_super) {\n __extends(SplitButtonItemDirective, _super);\n function SplitButtonItemDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SplitButtonItemDirective.moduleName = 'splitButtonItem';\n return SplitButtonItemDirective;\n}(ComplexBase));\nexport { SplitButtonItemDirective };\nvar SplitButtonItemsDirective = /** @class */ (function (_super) {\n __extends(SplitButtonItemsDirective, _super);\n function SplitButtonItemsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SplitButtonItemsDirective.propertyName = 'items';\n SplitButtonItemsDirective.moduleName = 'splitButtonItems';\n return SplitButtonItemsDirective;\n}(ComplexBase));\nexport { SplitButtonItemsDirective };\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 { SplitButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `SplitButtonComponent` represents the react SplitButton Component.\n * ```ts\n * <SplitButtonComponent content='Split Button'></SplitButtonComponent>\n * ```\n */\nvar SplitButtonComponent = /** @class */ (function (_super) {\n __extends(SplitButtonComponent, _super);\n function SplitButtonComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'splitButtonItems': 'splitButtonItem' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n SplitButtonComponent.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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return SplitButtonComponent;\n}(SplitButton));\nexport { SplitButtonComponent };\napplyMixins(SplitButtonComponent, [ComponentBase, React.Component]);\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 { ProgressButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `ProgressButtonComponent` represents the react ProgressButton Component.\n * ```ts\n * <ProgressButtonComponent content='Progress Button'></ProgressButtonComponent>\n * ```\n */\nvar ProgressButtonComponent = /** @class */ (function (_super) {\n __extends(ProgressButtonComponent, _super);\n function ProgressButtonComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n ProgressButtonComponent.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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return ProgressButtonComponent;\n}(ProgressButton));\nexport { ProgressButtonComponent };\napplyMixins(ProgressButtonComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","DropDownButtonItemDirective","_super","apply","arguments","moduleName","ComplexBase","DropDownButtonItemsDirective","propertyName","DropDownButtonComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","dropDownButtonItems","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","DropDownButton","ej2ReactBase","ComponentBase","React.Component","SplitButtonItemDirective","SplitButtonItemsDirective","SplitButtonComponent","splitButtonItems","SplitButton","ProgressButtonComponent","ProgressButton"],"mappings":"uYAAA,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,GAcxCK,EAA6C,SAAUC,GAEvD,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAG/D,OALAX,EAAUe,EAA6BC,GAIvCD,EAA4BI,WAAa,qBAClCJ,GACTK,eAEEC,EAA8C,SAAUL,GA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M,uBAAyB,KAC/BN,EAAMO,cAAgB,KACtBP,EAAMQ,iBAAkB,EACxBR,EAAMS,WACCT,EAWX,OApBAzB,EAAUoD,EAAyBpC,GAWnCoC,EAAwBvC,UAAUsB,OAAS,WACvC,KAAMxB,KAAKyB,UAAYzB,KAAKgB,kBAAqBhB,KAAK0B,aAAgB1B,KAAK2B,oBAKvE,OAAOC,gBAAoB,SAAU5B,KAAK6B,0BAA2BC,OAAO9B,KAAKa,MAAMkB,SAAU/B,KAAKuB,UAJtGlB,EAAOH,UAAUsB,OAAOT,KAAKf,MAC7BA,KAAKgB,kBAAmB,GAMzByB,GACTC,kBACFT,cACYQ,GAA0BP,gBAAeC"}
|
|
@@ -23,6 +23,7 @@ class DropDownButtonComponent extends DropDownButton {
|
|
|
23
23
|
this.checkInjectedModules = false;
|
|
24
24
|
this.directivekeys = { 'dropDownButtonItems': 'dropDownButtonItem' };
|
|
25
25
|
this.statelessTemplateProps = null;
|
|
26
|
+
this.templateProps = null;
|
|
26
27
|
this.immediateRender = true;
|
|
27
28
|
this.portals = [];
|
|
28
29
|
}
|
|
@@ -59,6 +60,7 @@ class SplitButtonComponent extends SplitButton {
|
|
|
59
60
|
this.checkInjectedModules = false;
|
|
60
61
|
this.directivekeys = { 'splitButtonItems': 'splitButtonItem' };
|
|
61
62
|
this.statelessTemplateProps = null;
|
|
63
|
+
this.templateProps = null;
|
|
62
64
|
this.immediateRender = true;
|
|
63
65
|
this.portals = [];
|
|
64
66
|
}
|
|
@@ -86,6 +88,7 @@ class ProgressButtonComponent extends ProgressButton {
|
|
|
86
88
|
this.initRenderCalled = false;
|
|
87
89
|
this.checkInjectedModules = false;
|
|
88
90
|
this.statelessTemplateProps = null;
|
|
91
|
+
this.templateProps = null;
|
|
89
92
|
this.immediateRender = true;
|
|
90
93
|
this.portals = [];
|
|
91
94
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-splitbuttons.es2015.js","sources":["../src/es6/drop-down-button/items-directive.js","../src/es6/drop-down-button/dropdownbutton.component.js","../src/es6/split-button/items-directive.js","../src/es6/split-button/splitbutton.component.js","../src/es6/progress-button/progressbutton.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class DropDownButtonItemDirective extends ComplexBase {\n}\nDropDownButtonItemDirective.moduleName = 'dropDownButtonItem';\nexport class DropDownButtonItemsDirective extends ComplexBase {\n}\nDropDownButtonItemsDirective.propertyName = 'items';\nDropDownButtonItemsDirective.moduleName = 'dropDownButtonItems';\n","import * as React from 'react';\nimport { DropDownButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `DropDownButtonComponent` represents the react DropDownButton Component.\n * ```ts\n * <DropDownButtonComponent content='DropDownButton'></DropDownButtonComponent>\n * ```\n */\nexport class DropDownButtonComponent extends DropDownButton {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'dropDownButtonItems': 'dropDownButtonItem' };\n this.statelessTemplateProps = null;\n this.immediateRender = true;\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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(DropDownButtonComponent, [ComponentBase, React.Component]);\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class SplitButtonItemDirective extends ComplexBase {\n}\nSplitButtonItemDirective.moduleName = 'splitButtonItem';\nexport class SplitButtonItemsDirective extends ComplexBase {\n}\nSplitButtonItemsDirective.propertyName = 'items';\nSplitButtonItemsDirective.moduleName = 'splitButtonItems';\n","import * as React from 'react';\nimport { SplitButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `SplitButtonComponent` represents the react SplitButton Component.\n * ```ts\n * <SplitButtonComponent content='Split Button'></SplitButtonComponent>\n * ```\n */\nexport class SplitButtonComponent extends SplitButton {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'splitButtonItems': 'splitButtonItem' };\n this.statelessTemplateProps = null;\n this.immediateRender = true;\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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(SplitButtonComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { ProgressButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `ProgressButtonComponent` represents the react ProgressButton Component.\n * ```ts\n * <ProgressButtonComponent content='Progress Button'></ProgressButtonComponent>\n * ```\n */\nexport class ProgressButtonComponent extends ProgressButton {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.statelessTemplateProps = null;\n this.immediateRender = true;\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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(ProgressButtonComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;AACO,MAAM,2BAA2B,SAAS,WAAW,CAAC;CAC5D;AACD,2BAA2B,CAAC,UAAU,GAAG,oBAAoB,CAAC;AAC9D,AAAO,MAAM,4BAA4B,SAAS,WAAW,CAAC;CAC7D;AACD,4BAA4B,CAAC,YAAY,GAAG,OAAO,CAAC;AACpD,4BAA4B,CAAC,UAAU,GAAG,qBAAqB,CAAC;;ACJhE;;;;;;AAMA,AAAO,MAAM,uBAAuB,SAAS,cAAc,CAAC;IACxD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,CAAC;QACrE,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,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,QAAQ,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SACnH;KACJ;CACJ;AACD,WAAW,CAAC,uBAAuB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;
|
|
1
|
+
{"version":3,"file":"ej2-react-splitbuttons.es2015.js","sources":["../src/es6/drop-down-button/items-directive.js","../src/es6/drop-down-button/dropdownbutton.component.js","../src/es6/split-button/items-directive.js","../src/es6/split-button/splitbutton.component.js","../src/es6/progress-button/progressbutton.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class DropDownButtonItemDirective extends ComplexBase {\n}\nDropDownButtonItemDirective.moduleName = 'dropDownButtonItem';\nexport class DropDownButtonItemsDirective extends ComplexBase {\n}\nDropDownButtonItemsDirective.propertyName = 'items';\nDropDownButtonItemsDirective.moduleName = 'dropDownButtonItems';\n","import * as React from 'react';\nimport { DropDownButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `DropDownButtonComponent` represents the react DropDownButton Component.\n * ```ts\n * <DropDownButtonComponent content='DropDownButton'></DropDownButtonComponent>\n * ```\n */\nexport class DropDownButtonComponent extends DropDownButton {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'dropDownButtonItems': 'dropDownButtonItem' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(DropDownButtonComponent, [ComponentBase, React.Component]);\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class SplitButtonItemDirective extends ComplexBase {\n}\nSplitButtonItemDirective.moduleName = 'splitButtonItem';\nexport class SplitButtonItemsDirective extends ComplexBase {\n}\nSplitButtonItemsDirective.propertyName = 'items';\nSplitButtonItemsDirective.moduleName = 'splitButtonItems';\n","import * as React from 'react';\nimport { SplitButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `SplitButtonComponent` represents the react SplitButton Component.\n * ```ts\n * <SplitButtonComponent content='Split Button'></SplitButtonComponent>\n * ```\n */\nexport class SplitButtonComponent extends SplitButton {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'splitButtonItems': 'splitButtonItem' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(SplitButtonComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { ProgressButton } from '@syncfusion/ej2-splitbuttons';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `ProgressButtonComponent` represents the react ProgressButton Component.\n * ```ts\n * <ProgressButtonComponent content='Progress Button'></ProgressButtonComponent>\n * ```\n */\nexport class ProgressButtonComponent extends ProgressButton {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\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('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(ProgressButtonComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;AACO,MAAM,2BAA2B,SAAS,WAAW,CAAC;CAC5D;AACD,2BAA2B,CAAC,UAAU,GAAG,oBAAoB,CAAC;AAC9D,AAAO,MAAM,4BAA4B,SAAS,WAAW,CAAC;CAC7D;AACD,4BAA4B,CAAC,YAAY,GAAG,OAAO,CAAC;AACpD,4BAA4B,CAAC,UAAU,GAAG,qBAAqB,CAAC;;ACJhE;;;;;;AAMA,AAAO,MAAM,uBAAuB,SAAS,cAAc,CAAC;IACxD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,CAAC;QACrE,IAAI,CAAC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AAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOD,aAAmB,CAAC,QAAQ,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SACnH;KACJ;CACJ;AACD,WAAW,CAAC,uBAAuB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-react-splitbuttons@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-react-splitbuttons@21.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-react-splitbuttons@21.1.41",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-5wbn6K/FJEQpp0a81j6N3SldiX5vdd1ZNFBmZTc3YEeUbNA5URXcOf5tpnYosW4Nieng4l+pnnTrOCdwprGGUA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-splitbuttons",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-splitbuttons/-/ej2-react-splitbuttons-21.1.
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-splitbuttons/-/ej2-react-splitbuttons-21.1.41.tgz",
|
|
23
|
+
"_shasum": "079ae927847b80f39118ed4b3bf3f3828c12b63d",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-splitbuttons@*",
|
|
25
25
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~21.
|
|
35
|
-
"@syncfusion/ej2-react-base": "~21.
|
|
36
|
-
"@syncfusion/ej2-splitbuttons": "21.
|
|
34
|
+
"@syncfusion/ej2-base": "~21.2.3",
|
|
35
|
+
"@syncfusion/ej2-react-base": "~21.2.3",
|
|
36
|
+
"@syncfusion/ej2-splitbuttons": "21.2.3"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "A package of feature-rich Essential JS 2 components such as DropDownButton, SplitButton, ProgressButton and ButtonGroup. for React",
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
"type": "git",
|
|
61
61
|
"url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
62
62
|
},
|
|
63
|
-
"version": "21.
|
|
63
|
+
"version": "21.2.3",
|
|
64
64
|
"sideEffects": false
|
|
65
65
|
}
|
|
@@ -19,6 +19,7 @@ export declare class DropDownButtonComponent extends DropDownButton {
|
|
|
19
19
|
[key: string]: Object;
|
|
20
20
|
};
|
|
21
21
|
private statelessTemplateProps;
|
|
22
|
+
private templateProps;
|
|
22
23
|
private immediateRender;
|
|
23
24
|
props: Readonly<{
|
|
24
25
|
children?: React.ReactNode | React.ReactNode[];
|
|
@@ -28,6 +28,7 @@ var DropDownButtonComponent = /** @class */ (function (_super) {
|
|
|
28
28
|
_this.checkInjectedModules = false;
|
|
29
29
|
_this.directivekeys = { 'dropDownButtonItems': 'dropDownButtonItem' };
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
|
+
_this.templateProps = null;
|
|
31
32
|
_this.immediateRender = true;
|
|
32
33
|
_this.portals = [];
|
|
33
34
|
return _this;
|
|
@@ -16,6 +16,7 @@ export declare class ProgressButtonComponent extends ProgressButton {
|
|
|
16
16
|
initRenderCalled: boolean;
|
|
17
17
|
private checkInjectedModules;
|
|
18
18
|
private statelessTemplateProps;
|
|
19
|
+
private templateProps;
|
|
19
20
|
private immediateRender;
|
|
20
21
|
props: Readonly<{
|
|
21
22
|
children?: React.ReactNode | React.ReactNode[];
|
|
@@ -27,6 +27,7 @@ var ProgressButtonComponent = /** @class */ (function (_super) {
|
|
|
27
27
|
_this.initRenderCalled = false;
|
|
28
28
|
_this.checkInjectedModules = false;
|
|
29
29
|
_this.statelessTemplateProps = null;
|
|
30
|
+
_this.templateProps = null;
|
|
30
31
|
_this.immediateRender = true;
|
|
31
32
|
_this.portals = [];
|
|
32
33
|
return _this;
|
|
@@ -28,6 +28,7 @@ var SplitButtonComponent = /** @class */ (function (_super) {
|
|
|
28
28
|
_this.checkInjectedModules = false;
|
|
29
29
|
_this.directivekeys = { 'splitButtonItems': 'splitButtonItem' };
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
|
+
_this.templateProps = null;
|
|
31
32
|
_this.immediateRender = true;
|
|
32
33
|
_this.portals = [];
|
|
33
34
|
return _this;
|