@syncfusion/ej2-react-splitbuttons 27.1.56 → 28.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/ej2-react-splitbuttons.min.js +3 -3
- package/dist/ej2-react-splitbuttons.umd.min.js +3 -3
- package/dist/ej2-react-splitbuttons.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-splitbuttons.es2015.js +6 -0
- package/dist/es6/ej2-react-splitbuttons.es2015.js.map +1 -1
- package/package.json +9 -9
- package/src/drop-down-button/dropdownbutton.component.d.ts +1 -0
- package/src/drop-down-button/dropdownbutton.component.js +2 -0
- package/src/progress-button/progressbutton.component.d.ts +1 -0
- package/src/progress-button/progressbutton.component.js +2 -0
- package/src/split-button/splitbutton.component.d.ts +1 -0
- package/src/split-button/splitbutton.component.js +2 -0
- package/styles/bds-lite.css +1 -0
- package/styles/bds-lite.scss +1 -0
- package/styles/bds.css +1 -0
- package/styles/bds.scss +4 -0
- package/styles/button-group/bds.css +1 -0
- package/styles/button-group/bds.scss +1 -0
- package/styles/button-group/tailwind3.css +1 -0
- package/styles/button-group/tailwind3.scss +1 -0
- package/styles/drop-down-button/bds.css +1 -0
- package/styles/drop-down-button/bds.scss +1 -0
- package/styles/drop-down-button/tailwind3.css +1 -0
- package/styles/drop-down-button/tailwind3.scss +1 -0
- package/styles/progress-button/bds.css +1 -0
- package/styles/progress-button/bds.scss +1 -0
- package/styles/progress-button/tailwind3.css +1 -0
- package/styles/progress-button/tailwind3.scss +1 -0
- package/styles/split-button/bds.css +1 -0
- package/styles/split-button/bds.scss +1 -0
- package/styles/split-button/tailwind3.css +1 -0
- package/styles/split-button/tailwind3.scss +1 -0
- package/styles/tailwind3-lite.css +1 -0
- package/styles/tailwind3-lite.scss +1 -0
- package/styles/tailwind3.css +1 -0
- package/styles/tailwind3.scss +4 -0
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# ej2-react-splitbuttons
|
|
2
2
|
|
|
3
|
-
A package of Syncfusion React UI Components (Essential JS 2) DropDownButton, SplitButton, ProgressButton and ButtonGroup.
|
|
3
|
+
A package of Syncfusion<sup>®</sup> React UI Components (Essential JS 2) DropDownButton, SplitButton, ProgressButton and ButtonGroup.
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
> This is a commercial product and requires a paid license for possession or use. Syncfusion
|
|
7
|
+
> This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [EULA](https://www.syncfusion.com/eula/es/). To acquire a license, you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
|
|
8
8
|
|
|
9
9
|
> A [free community license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
|
|
10
10
|
|
|
@@ -96,7 +96,7 @@ These components are available in following list of frameworks.
|
|
|
96
96
|
|
|
97
97
|
Product support is available for through following mediums.
|
|
98
98
|
|
|
99
|
-
* Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=split-button) support system or [Community forum](https://www.syncfusion.com/forums/react-js2?utm_source=npm&utm_campaign=split-button).
|
|
99
|
+
* Creating incident in Syncfusion<sup>®</sup> [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=split-button) support system or [Community forum](https://www.syncfusion.com/forums/react-js2?utm_source=npm&utm_campaign=split-button).
|
|
100
100
|
* New [GitHub issue](https://github.com/syncfusion/ej2-react-ui-components/issues/new).
|
|
101
101
|
* Ask your query in [Stack Overflow](https://stackoverflow.com/?utm_source=npm&utm_campaign=split-button) with tag `syncfusion`, `ej2`.
|
|
102
102
|
|
|
@@ -108,4 +108,4 @@ Check the license detail [here](https://github.com/syncfusion/ej2-react-ui-compo
|
|
|
108
108
|
|
|
109
109
|
Check the changelog [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/components/splitbuttons/CHANGELOG.md?utm_source=npm&utm_campaign=split-button)
|
|
110
110
|
|
|
111
|
-
© Copyright 2024 Syncfusion
|
|
111
|
+
© Copyright 2024 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-splitbuttons.min.js
|
|
3
|
-
* version :
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 -
|
|
3
|
+
* version : 28.1.33
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionSplitbuttons")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionSplitbuttons"],e):"object"==typeof exports?exports.SyncfusionReactSplitbuttons=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionSplitbuttons")):t.SyncfusionReactSplitbuttons=e(t.SyncfusionReactBase,t.React,t.SyncfusionSplitbuttons)}(self,((t,e,n)=>(()=>{"use strict";var o={21:(t,e,n)=>{n.d(e,{_z:()=>a,Og:()=>
|
|
10
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionSplitbuttons")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionSplitbuttons"],e):"object"==typeof exports?exports.SyncfusionReactSplitbuttons=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionSplitbuttons")):t.SyncfusionReactSplitbuttons=e(t.SyncfusionReactBase,t.React,t.SyncfusionSplitbuttons)}(self,((t,e,n)=>(()=>{"use strict";var o={21:(t,e,n)=>{n.d(e,{_z:()=>a,Og:()=>s,eS:()=>p});var o,r=n(705),i=(o=function(t,e){return o=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])},o(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.moduleName="dropDownButtonItem",e}(r.ComplexBase),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.propertyName="items",e.moduleName="dropDownButtonItems",e}(r.ComplexBase),u=n(24),c=n(295),l=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])},t(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)}}(),a=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.isReactMock=!0,n.portals=[],n}return l(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return u.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(c.DropDownButton);(0,r.applyMixins)(a,[r.ComponentBase,u.Component])},352:(t,e,n)=>{n.d(e,{l:()=>u});var o,r=n(24),i=n(295),s=n(705),p=(o=function(t,e){return o=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])},o(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=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.isReactMock=!0,n.portals=[],n}return p(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(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},e}(i.ProgressButton);(0,s.applyMixins)(u,[s.ComponentBase,r.Component])},959:(t,e,n)=>{n.d(e,{S4:()=>a,Fd:()=>s,kx:()=>p});var o,r=n(705),i=(o=function(t,e){return o=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])},o(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.moduleName="splitButtonItem",e}(r.ComplexBase),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.propertyName="items",e.moduleName="splitButtonItems",e}(r.ComplexBase),u=n(24),c=n(295),l=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])},t(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)}}(),a=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.isReactMock=!0,n.portals=[],n}return l(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return u.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(c.SplitButton);(0,r.applyMixins)(a,[r.ComponentBase,u.Component])},24:t=>{t.exports=e},705:e=>{e.exports=t},295:t=>{t.exports=n}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={exports:{}};return o[t](n,n.exports,i),n.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};return(()=>{i.r(s),i.d(s,{DropDownButtonComponent:()=>t._z,DropDownButtonItemDirective:()=>t.Og,DropDownButtonItemsDirective:()=>t.eS,ProgressButtonComponent:()=>n.l,SplitButtonComponent:()=>e.S4,SplitButtonItemDirective:()=>e.Fd,SplitButtonItemsDirective:()=>e.kx});var t=i(21),e=i(959),n=i(352),o=i(295),r={};for(const t in o)["default","DropDownButtonComponent","DropDownButtonItemDirective","DropDownButtonItemsDirective","SplitButtonComponent","SplitButtonItemDirective","SplitButtonItemsDirective","ProgressButtonComponent"].indexOf(t)<0&&(r[t]=()=>o[t]);i.d(s,r)})(),s})()));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-splitbuttons.umd.min.js
|
|
3
|
-
* version :
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 -
|
|
3
|
+
* version : 28.1.33
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(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=t||self).ej={},t.ej2ReactBase,t.React,t.ej2Splitbuttons)}(this,function(e,t,n,o){"use strict";r=function(t,e){return(r=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])}))(t,e)};var r,i,s=function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=(i=t.ComplexBase,s(
|
|
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=t||self).ej={},t.ej2ReactBase,t.React,t.ej2Splitbuttons)}(this,function(e,t,n,o){"use strict";r=function(t,e){return(r=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])}))(t,e)};var r,i,s=function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=(i=t.ComplexBase,s(c,i),c.moduleName="dropDownButtonItem",c);function c(){return null!==i&&i.apply(this,arguments)||this}u=t.ComplexBase,s(l,u),l.propertyName="items",l.moduleName="dropDownButtonItems";var u,s=l;function l(){return null!==u&&u.apply(this,arguments)||this}a=function(t,e){return(a=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])}))(t,e)};var a,f,h=function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},h=(f=o.DropDownButton,h(d,f),d.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));f.prototype.render.call(this),this.initRenderCalled=!0},d);function d(t){t=f.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.directivekeys={dropDownButtonItems:"dropDownButtonItem"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}t.applyMixins(h,[t.ComponentBase,n.Component]);m=function(t,e){return(m=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])}))(t,e)};var m,y,_=function(t,e){function n(){this.constructor=t}m(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},b=(y=t.ComplexBase,_(B,y),B.moduleName="splitButtonItem",B);function B(){return null!==y&&y.apply(this,arguments)||this}j=t.ComplexBase,_(O,j),O.propertyName="items",O.moduleName="splitButtonItems";var j,_=O;function O(){return null!==j&&j.apply(this,arguments)||this}R=function(t,e){return(R=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])}))(t,e)};var R,C,P=function(t,e){function n(){this.constructor=t}R(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},P=(C=o.SplitButton,P(v,C),v.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));C.prototype.render.call(this),this.initRenderCalled=!0},v);function v(t){t=C.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.directivekeys={splitButtonItems:"splitButtonItem"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}t.applyMixins(P,[t.ComponentBase,n.Component]);D=function(t,e){return(D=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])}))(t,e)};var D,w,I=function(t,e){function n(){this.constructor=t}D(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},I=(w=o.ProgressButton,I(M,w),M.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));w.prototype.render.call(this),this.initRenderCalled=!0},M);function M(t){t=w.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}t.applyMixins(I,[t.ComponentBase,n.Component]),Object.keys(o).forEach(function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})}),e.DropDownButtonComponent=h,e.DropDownButtonItemDirective=p,e.DropDownButtonItemsDirective=s,e.ProgressButtonComponent=I,e.SplitButtonComponent=P,e.SplitButtonItemDirective=b,e.SplitButtonItemsDirective=_,Object.defineProperty(e,"__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.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":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","DropDownButtonItemDirective","ComplexBase","moduleName","apply","arguments","DropDownButtonItemsDirective","propertyName","DropDownButtonComponent","DropDownButton","render","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","dropDownButtonItems","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component","SplitButtonItemDirective","SplitButtonItemsDirective","SplitButtonComponent","Split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xB,KAAMqB,CAAK,GAAKrB,KAOxC,OANAyB,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAMI,uBAAyB,KAC/BJ,EAAMK,cAAgB,KACtBL,EAAMM,gBAAkB,CAAA,EACxBN,EAAMF,QAAU,GACTE,gBAcHc,EAAyB,CAACP,gBAAeC,YAAgB"}
|
|
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.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n DropDownButtonComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('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.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n SplitButtonComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('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.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n ProgressButtonComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('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":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","DropDownButtonItemDirective","ComplexBase","moduleName","apply","arguments","DropDownButtonItemsDirective","propertyName","DropDownButtonComponent","DropDownButton","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","dropDownButtonItems","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component","SplitButtonItemDirective","SplitButtonItemsDirective","SplitButtonComponent","SplitButton","splitButtonItems","ProgressButtonComponent","ProgressButton"],"mappings":"iZACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAamDS,EAdvDC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAInFK,GAAuDP,EAOzDQ,cANEP,EAAUM,EAA6BP,CAAM,EAI7CO,EAA4BE,WAAa,qBAClCF,GAJP,SAASA,IACL,OAAkB,OAAXP,GAAmBA,EAAOU,MAAMP,KAAMQ,SAAS,GAAKR,KAMPH,EAQ1DQ,cAPEP,EAAUW,EAA8BZ,CAAM,EAI9CY,EAA6BC,aAAe,QAC5CD,EAA6BH,WAAa,0BANcT,EAAxDY,EAOOA,EALP,SAASA,IACL,OAAkB,OAAXZ,GAAmBA,EA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kB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAYnFyC,GAAmD3C,EAwBrD4C,iBAvBE3C,EAAU0C,EAAyB3C,CAAM,EAYzC2C,EAAwBtC,UAAUW,OAAS,WAEvC,GADAb,KAAKc,YAAc,CAAA,EACf,EAAEd,KAAKe,SAAW,CAACf,KAAKgB,kBAAqBhB,KAAKiB,aAAgBjB,KAAKkB,oBAKvE,OAAOC,gBAAoB,SAAUnB,KAAKoB,uBAAwB,GAAGC,OAAOrB,KAAKsB,MAAMC,SAAUvB,KAAKwB,OAAO,CAAC,EAJ9G3B,EAAOK,UAAUW,OAAOY,KAAKzB,IAAI,EACjCA,KAAKgB,iBAAmB,CAAA,GAMzBwB,GArBP,SAASA,EAAwBlB,GACzBI,EAAQ7B,EAAO4B,KAAKzB,KAAMsB,CAAK,GAAKtB,KAQxC,OAPA0B,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAMI,uBAAyB,KAC/BJ,EAAMK,cAAgB,KACtBL,EAAMM,gBAAkB,CAAA,EACxBN,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHc,EAAyB,CAACP,gBAAeC,YAAgB"}
|
|
@@ -26,9 +26,11 @@ class DropDownButtonComponent extends DropDownButton {
|
|
|
26
26
|
this.statelessTemplateProps = null;
|
|
27
27
|
this.templateProps = null;
|
|
28
28
|
this.immediateRender = true;
|
|
29
|
+
this.isReactMock = true;
|
|
29
30
|
this.portals = [];
|
|
30
31
|
}
|
|
31
32
|
render() {
|
|
33
|
+
this.isReactMock = false;
|
|
32
34
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
33
35
|
super.render();
|
|
34
36
|
this.initRenderCalled = true;
|
|
@@ -63,9 +65,11 @@ class SplitButtonComponent extends SplitButton {
|
|
|
63
65
|
this.statelessTemplateProps = null;
|
|
64
66
|
this.templateProps = null;
|
|
65
67
|
this.immediateRender = true;
|
|
68
|
+
this.isReactMock = true;
|
|
66
69
|
this.portals = [];
|
|
67
70
|
}
|
|
68
71
|
render() {
|
|
72
|
+
this.isReactMock = false;
|
|
69
73
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
70
74
|
super.render();
|
|
71
75
|
this.initRenderCalled = true;
|
|
@@ -91,9 +95,11 @@ class ProgressButtonComponent extends ProgressButton {
|
|
|
91
95
|
this.statelessTemplateProps = null;
|
|
92
96
|
this.templateProps = null;
|
|
93
97
|
this.immediateRender = true;
|
|
98
|
+
this.isReactMock = true;
|
|
94
99
|
this.portals = [];
|
|
95
100
|
}
|
|
96
101
|
render() {
|
|
102
|
+
this.isReactMock = false;
|
|
97
103
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
98
104
|
super.render();
|
|
99
105
|
this.initRenderCalled = true;
|
|
@@ -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.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;AAC7D,CAAC;AACD,2BAA2B,CAAC,UAAU,GAAG,oBAAoB,CAAC;AACvD,MAAM,4BAA4B,SAAS,WAAW,CAAC;AAC9D,CAAC;AACD,4BAA4B,CAAC,YAAY,GAAG,OAAO,CAAC;AACpD,4BAA4B,CAAC,UAAU,GAAG,qBAAqB;;ACJ/D;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,uBAAuB,SAAS,cAAc,CAAC;AAC5D,IAAI,WAAW,CAAC,KAAK,EAAE;AACvB,QAAQ,KAAK,CAAC,KAAK,CAAC,CAAC;AACrB,QAAQ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;AACtC,QAAQ,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;AAC1C,QAAQ,IAAI,CAAC,aAAa,GAAG,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,CAAC;AAC7E,QAAQ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;AACpC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,QAAQ,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AAC5H,SAAS;AACT,KAAK;AACL,CAAC;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.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('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.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('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.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('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;AAC7D,CAAC;AACD,2BAA2B,CAAC,UAAU,GAAG,oBAAoB,CAAC;AACvD,MAAM,4BAA4B,SAAS,WAAW,CAAC;AAC9D,CAAC;AACD,4BAA4B,CAAC,YAAY,GAAG,OAAO,CAAC;AACpD,4BAA4B,CAAC,UAAU,GAAG,qBAAqB;;ACJ/D;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,uBAAuB,SAAS,cAAc,CAAC;AAC5D,IAAI,WAAW,CAAC,KAAK,EAAE;AACvB,QAAQ,KAAK,CAAC,KAAK,CAAC,CAAC;AACrB,QAAQ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;AACtC,QAAQ,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;AAC1C,QAAQ,IAAI,CAAC,aAAa,GAAG,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,CAAC;AAC7E,QAAQ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;AACpC,QAAQ,IAAI,CAAC,WAA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AAG,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;AACpC,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;AAChC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;AACjC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,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;AAC5H,SAAS;AACT,KAAK;AACL,CAAC;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@
|
|
3
|
+
"_id": "@syncfusion/ej2-react-splitbuttons@19.16.4",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-qvMRpPSlfNHAgZjJBZ9CbRZEVCr/6Rm9zwdX/I6cp58MNtz06E24AhZ4oIAC5Zk2GZbfxaWLnKpJnGUrruKRrQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-splitbuttons",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-react-splitbuttons/-/ej2-react-splitbuttons-19.16.4.tgz",
|
|
23
|
+
"_shasum": "ce8dee1226949e4daeeb5ffdfbd5a15c22b9e01d",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-splitbuttons@*",
|
|
25
|
-
"_where": "/jenkins/workspace/elease-
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-react-base": "~
|
|
36
|
-
"@syncfusion/ej2-splitbuttons": "
|
|
34
|
+
"@syncfusion/ej2-base": "~28.1.33",
|
|
35
|
+
"@syncfusion/ej2-react-base": "~28.1.33",
|
|
36
|
+
"@syncfusion/ej2-splitbuttons": "28.1.33"
|
|
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": "https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
62
62
|
},
|
|
63
|
-
"version": "
|
|
63
|
+
"version": "28.1.33",
|
|
64
64
|
"sideEffects": false
|
|
65
65
|
}
|
|
@@ -21,6 +21,7 @@ export declare class DropDownButtonComponent extends DropDownButton {
|
|
|
21
21
|
private statelessTemplateProps;
|
|
22
22
|
private templateProps;
|
|
23
23
|
private immediateRender;
|
|
24
|
+
private isReactMock;
|
|
24
25
|
props: Readonly<{
|
|
25
26
|
children?: React.ReactNode | React.ReactNode[];
|
|
26
27
|
}> & Readonly<DropDownButtonModel | DefaultHtmlAttributes>;
|
|
@@ -30,10 +30,12 @@ var DropDownButtonComponent = /** @class */ (function (_super) {
|
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
31
|
_this.templateProps = null;
|
|
32
32
|
_this.immediateRender = true;
|
|
33
|
+
_this.isReactMock = true;
|
|
33
34
|
_this.portals = [];
|
|
34
35
|
return _this;
|
|
35
36
|
}
|
|
36
37
|
DropDownButtonComponent.prototype.render = function () {
|
|
38
|
+
this.isReactMock = false;
|
|
37
39
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
38
40
|
_super.prototype.render.call(this);
|
|
39
41
|
this.initRenderCalled = true;
|
|
@@ -18,6 +18,7 @@ export declare class ProgressButtonComponent extends ProgressButton {
|
|
|
18
18
|
private statelessTemplateProps;
|
|
19
19
|
private templateProps;
|
|
20
20
|
private immediateRender;
|
|
21
|
+
private isReactMock;
|
|
21
22
|
props: Readonly<{
|
|
22
23
|
children?: React.ReactNode | React.ReactNode[];
|
|
23
24
|
}> & Readonly<ProgressButtonModel | DefaultHtmlAttributes>;
|
|
@@ -29,10 +29,12 @@ var ProgressButtonComponent = /** @class */ (function (_super) {
|
|
|
29
29
|
_this.statelessTemplateProps = null;
|
|
30
30
|
_this.templateProps = null;
|
|
31
31
|
_this.immediateRender = true;
|
|
32
|
+
_this.isReactMock = true;
|
|
32
33
|
_this.portals = [];
|
|
33
34
|
return _this;
|
|
34
35
|
}
|
|
35
36
|
ProgressButtonComponent.prototype.render = function () {
|
|
37
|
+
this.isReactMock = false;
|
|
36
38
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
37
39
|
_super.prototype.render.call(this);
|
|
38
40
|
this.initRenderCalled = true;
|
|
@@ -21,6 +21,7 @@ export declare class SplitButtonComponent extends SplitButton {
|
|
|
21
21
|
private statelessTemplateProps;
|
|
22
22
|
private templateProps;
|
|
23
23
|
private immediateRender;
|
|
24
|
+
private isReactMock;
|
|
24
25
|
props: Readonly<{
|
|
25
26
|
children?: React.ReactNode | React.ReactNode[];
|
|
26
27
|
}> & Readonly<SplitButtonModel | DefaultHtmlAttributes>;
|
|
@@ -30,10 +30,12 @@ var SplitButtonComponent = /** @class */ (function (_super) {
|
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
31
|
_this.templateProps = null;
|
|
32
32
|
_this.immediateRender = true;
|
|
33
|
+
_this.isReactMock = true;
|
|
33
34
|
_this.portals = [];
|
|
34
35
|
return _this;
|
|
35
36
|
}
|
|
36
37
|
SplitButtonComponent.prototype.render = function () {
|
|
38
|
+
this.isReactMock = false;
|
|
37
39
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
38
40
|
_super.prototype.render.call(this);
|
|
39
41
|
this.initRenderCalled = true;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/bds-lite.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'ej2-splitbuttons/styles/bds-lite.scss';
|
package/styles/bds.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/bds.css';
|
package/styles/bds.scss
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/button-group/bds.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'ej2-splitbuttons/styles/button-group/bds.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/button-group/tailwind3.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'ej2-splitbuttons/styles/button-group/tailwind3.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/drop-down-button/bds.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'ej2-splitbuttons/styles/drop-down-button/bds.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/drop-down-button/tailwind3.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'ej2-splitbuttons/styles/drop-down-button/tailwind3.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/progress-button/bds.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'ej2-splitbuttons/styles/progress-button/bds.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/progress-button/tailwind3.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'ej2-splitbuttons/styles/progress-button/tailwind3.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/split-button/bds.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'ej2-splitbuttons/styles/split-button/bds.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/split-button/tailwind3.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'ej2-splitbuttons/styles/split-button/tailwind3.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/tailwind3-lite.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'ej2-splitbuttons/styles/tailwind3-lite.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@syncfusion/ej2-splitbuttons/styles/tailwind3.css';
|