@syncfusion/ej2-react-spreadsheet 27.1.53 → 27.1.56-13660
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/dist/ej2-react-spreadsheet.min.js +2 -2
- package/dist/ej2-react-spreadsheet.umd.min.js +2 -2
- package/dist/ej2-react-spreadsheet.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-spreadsheet.es2015.js +2 -0
- package/dist/es6/ej2-react-spreadsheet.es2015.js.map +1 -1
- package/package.json +7 -7
- package/src/spreadsheet/spreadsheet.component.d.ts +1 -0
- package/src/spreadsheet/spreadsheet.component.js +2 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-spreadsheet.min.js
|
|
3
|
-
* version : 27.1.
|
|
3
|
+
* version : 27.1.56
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionSpreadsheet")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionSpreadsheet"],t):"object"==typeof exports?exports.SyncfusionReactSpreadsheet=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionSpreadsheet")):e.SyncfusionReactSpreadsheet=t(e.SyncfusionReactBase,e.React,e.SyncfusionSpreadsheet)}(self,((e,t,n)=>(()=>{"use strict";var r={634:(e,t,n)=>{n.d(t,{Y0:()=>f,bA:()=>m,Dm:()=>v,_D:()=>D,iK:()=>C,SR:()=>b,RR:()=>
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionSpreadsheet")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionSpreadsheet"],t):"object"==typeof exports?exports.SyncfusionReactSpreadsheet=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionSpreadsheet")):e.SyncfusionReactSpreadsheet=t(e.SyncfusionReactBase,e.React,e.SyncfusionSpreadsheet)}(self,((e,t,n)=>(()=>{"use strict";var r={634:(e,t,n)=>{n.d(t,{Y0:()=>f,bA:()=>m,Dm:()=>v,_D:()=>D,iK:()=>C,SR:()=>b,RR:()=>R,GD:()=>S,NP:()=>g,U:()=>B,to:()=>h,bE:()=>d,fB:()=>w,EM:()=>j,vZ:()=>s,uZ:()=>p,Yw:()=>c,$n:()=>u,sb:()=>I});var r,o=n(705),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.moduleName="sheet",t}(o.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propertyName="sheets",t.moduleName="sheets",t}(o.ComplexBase),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.moduleName="row",t}(o.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.propertyName="rows",t.moduleName="rows",t}(o.ComplexBase),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.moduleName="cell",t}(o.ComplexBase),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.propertyName="cells",t.moduleName="cells",t}(o.ComplexBase),y=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.moduleName="image",t}(o.ComplexBase),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.propertyName="image",t.moduleName="images",t}(o.ComplexBase),_=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.moduleName="chart",t}(o.ComplexBase),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.propertyName="chart",t.moduleName="charts",t}(o.ComplexBase),O=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.moduleName="column",t}(o.ComplexBase),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.propertyName="columns",t.moduleName="columns",t}(o.ComplexBase),N=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return N(t,e),t.moduleName="range",t}(o.ComplexBase),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return N(t,e),t.propertyName="ranges",t.moduleName="ranges",t}(o.ComplexBase),x=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return x(t,e),t.moduleName="conditionalFormat",t}(o.ComplexBase),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return x(t,e),t.propertyName="conditionalFormats",t.moduleName="conditionalFormats",t}(o.ComplexBase),P=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.moduleName="definedName",t}(o.ComplexBase),B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.propertyName="definedNames",t.moduleName="definedNames",t}(o.ComplexBase),A=n(24),F=n(960),M=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),I=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={sheets:{sheet:{rows:{row:{cells:{cell:{images:"image",charts:"chart"}}}},columns:"column",ranges:"range",conditionalFormats:"conditionalFormat"}},definedNames:"definedName"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.isReactMock=!0,n.portals=[],n}return M(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return A.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(F.Spreadsheet);(0,o.applyMixins)(I,[o.ComponentBase,A.Component])},24:e=>{e.exports=t},705:t=>{t.exports=e},960:e=>{e.exports=n}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{i.r(c),i.d(c,{CellDirective:()=>e.Y0,CellsDirective:()=>e.bA,ChartDirective:()=>e.Dm,ChartsDirective:()=>e._D,ColumnDirective:()=>e.iK,ColumnsDirective:()=>e.SR,ConditionalFormatDirective:()=>e.RR,ConditionalFormatsDirective:()=>e.GD,DefinedNameDirective:()=>e.NP,DefinedNamesDirective:()=>e.U,ImageDirective:()=>e.to,ImagesDirective:()=>e.bE,Inject:()=>t.Inject,RangeDirective:()=>e.fB,RangesDirective:()=>e.EM,RowDirective:()=>e.vZ,RowsDirective:()=>e.uZ,SheetDirective:()=>e.Yw,SheetsDirective:()=>e.$n,SpreadsheetComponent:()=>e.sb});var e=i(634),t=i(705),n=i(960),r={};for(const e in n)["default","Inject","CellDirective","CellsDirective","ChartDirective","ChartsDirective","ColumnDirective","ColumnsDirective","ConditionalFormatDirective","ConditionalFormatsDirective","DefinedNameDirective","DefinedNamesDirective","ImageDirective","ImagesDirective","RangeDirective","RangesDirective","RowDirective","RowsDirective","SheetDirective","SheetsDirective","SpreadsheetComponent"].indexOf(e)<0&&(r[e]=()=>n[e]);i.d(c,r)})(),c})()));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-spreadsheet.umd.min.js
|
|
3
|
-
* version : 27.1.
|
|
3
|
+
* version : 27.1.56
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-spreadsheet")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-spreadsheet"],t):t((e=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Spreadsheet)}(this,function(t,e,
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-spreadsheet")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-spreadsheet"],t):t((e=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Spreadsheet)}(this,function(t,e,S,o){"use strict";n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var n,r,i=function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},q=(r=e.ComplexBase,i(a,r),a.moduleName="sheet",a);function a(){return null!==r&&r.apply(this,arguments)||this}c=e.ComplexBase,i(p,c),p.propertyName="sheets",p.moduleName="sheets";var c,i=p;function p(){return null!==c&&c.apply(this,arguments)||this}s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var s,u,l=function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},E=(u=e.ComplexBase,l(T,u),T.moduleName="row",T);function T(){return null!==u&&u.apply(this,arguments)||this}f=e.ComplexBase,l(m,f),m.propertyName="rows",m.moduleName="rows";var f,l=m;function m(){return null!==f&&f.apply(this,arguments)||this}U=function(e,t){return(U=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var U,y,z=function(e,t){function o(){this.constructor=e}U(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},G=(y=e.ComplexBase,z(H,y),H.moduleName="cell",H);function H(){return null!==y&&y.apply(this,arguments)||this}h=e.ComplexBase,z(_,h),_.propertyName="cells",_.moduleName="cells";var h,z=_;function _(){return null!==h&&h.apply(this,arguments)||this}J=function(e,t){return(J=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var J,d,K=function(e,t){function o(){this.constructor=e}J(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},L=(d=e.ComplexBase,K(Q,d),Q.moduleName="image",Q);function Q(){return null!==d&&d.apply(this,arguments)||this}v=e.ComplexBase,K(O,v),O.propertyName="image",O.moduleName="images";var v,K=O;function O(){return null!==v&&v.apply(this,arguments)||this}V=function(e,t){return(V=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var V,j,W=function(e,t){function o(){this.constructor=e}V(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},X=(j=e.ComplexBase,W(Y,j),Y.moduleName="chart",Y);function Y(){return null!==j&&j.apply(this,arguments)||this}N=e.ComplexBase,W(C,N),C.propertyName="chart",C.moduleName="charts";var N,W=C;function C(){return null!==N&&N.apply(this,arguments)||this}Z=function(e,t){return(Z=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var Z,b,$=function(e,t){function o(){this.constructor=e}Z(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},ee=(b=e.ComplexBase,$(te,b),te.moduleName="column",te);function te(){return null!==b&&b.apply(this,arguments)||this}w=e.ComplexBase,$(P,w),P.propertyName="columns",P.moduleName="columns";var w,$=P;function P(){return null!==w&&w.apply(this,arguments)||this}oe=function(e,t){return(oe=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var oe,x,ne=function(e,t){function o(){this.constructor=e}oe(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},re=(x=e.ComplexBase,ne(ie,x),ie.moduleName="range",ie);function ie(){return null!==x&&x.apply(this,arguments)||this}D=e.ComplexBase,ne(B,D),B.propertyName="ranges",B.moduleName="ranges";var D,ne=B;function B(){return null!==D&&D.apply(this,arguments)||this}ae=function(e,t){return(ae=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var ae,g,ce=function(e,t){function o(){this.constructor=e}ae(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},pe=(g=e.ComplexBase,ce(se,g),se.moduleName="conditionalFormat",se);function se(){return null!==g&&g.apply(this,arguments)||this}R=e.ComplexBase,ce(A,R),A.propertyName="conditionalFormats",A.moduleName="conditionalFormats";var R,ce=A;function A(){return null!==R&&R.apply(this,arguments)||this}ue=function(e,t){return(ue=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var ue,F,le=function(e,t){function o(){this.constructor=e}ue(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},fe=(F=e.ComplexBase,le(me,F),me.moduleName="definedName",me);function me(){return null!==F&&F.apply(this,arguments)||this}k=e.ComplexBase,le(I,k),I.propertyName="definedNames",I.moduleName="definedNames";var k,le=I;function I(){return null!==k&&k.apply(this,arguments)||this}ye=function(e,t){return(ye=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var ye,M,he=function(e,t){function o(){this.constructor=e}ye(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},he=(M=o.Spreadsheet,he(_e,M),_e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return S.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));M.prototype.render.call(this),this.initRenderCalled=!0},_e);function _e(e){e=M.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={sheets:{sheet:{rows:{row:{cells:{cell:{images:"image",charts:"chart"}}}},columns:"column",ranges:"range",conditionalFormats:"conditionalFormat"}},definedNames:"definedName"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}e.applyMixins(he,[e.ComponentBase,S.Component]),Object.keys(o).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return e.Inject}}),t.CellDirective=G,t.CellsDirective=z,t.ChartDirective=X,t.ChartsDirective=W,t.ColumnDirective=ee,t.ColumnsDirective=$,t.ConditionalFormatDirective=pe,t.ConditionalFormatsDirective=ce,t.DefinedNameDirective=fe,t.DefinedNamesDirective=le,t.ImageDirective=L,t.ImagesDirective=K,t.RangeDirective=re,t.RangesDirective=ne,t.RowDirective=E,t.RowsDirective=l,t.SheetDirective=q,t.SheetsDirective=i,t.SpreadsheetComponent=he,Object.defineProperty(t,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-react-spreadsheet.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-spreadsheet.umd.min.js","sources":["../src/spreadsheet/sheets-directive.js","../src/spreadsheet/rows-directive.js","../src/spreadsheet/cells-directive.js","../src/spreadsheet/image-directive.js","../src/spreadsheet/chart-directive.js","../src/spreadsheet/columns-directive.js","../src/spreadsheet/ranges-directive.js","../src/spreadsheet/conditionalformats-directive.js","../src/spreadsheet/definednames-directive.js","../src/spreadsheet/spreadsheet.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `SheetDirective` represent a sheet of the React Spreadsheet.\n * It must be contained in a Spreadsheet component(`SpreadsheetComponent`).\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective></SheetDirective>\n * <SheetDirective></SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar SheetDirective = /** @class */ (function (_super) {\n __extends(SheetDirective, _super);\n function SheetDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SheetDirective.moduleName = 'sheet';\n return SheetDirective;\n}(ComplexBase));\nexport { SheetDirective };\nvar SheetsDirective = /** @class */ (function (_super) {\n __extends(SheetsDirective, _super);\n function SheetsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SheetsDirective.propertyName = 'sheets';\n SheetsDirective.moduleName = 'sheets';\n return SheetsDirective;\n}(ComplexBase));\nexport { SheetsDirective };\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';\n/**\n * `RowDirective` represent a row of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RowsDirective>\n * <RowDirective></RowDirective>\n * </RowsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar RowDirective = /** @class */ (function (_super) {\n __extends(RowDirective, _super);\n function RowDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RowDirective.moduleName = 'row';\n return RowDirective;\n}(ComplexBase));\nexport { RowDirective };\nvar RowsDirective = /** @class */ (function (_super) {\n __extends(RowsDirective, _super);\n function RowsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RowsDirective.propertyName = 'rows';\n RowsDirective.moduleName = 'rows';\n return RowsDirective;\n}(ComplexBase));\nexport { RowsDirective };\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';\n/**\n * `CellDirective` represent a cell of the React Spreadsheet.\n * It must be contained in a `RowDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RowsDirective>\n * <RowDirective>\n * <CellsDirective>\n * <CellDirective value='A1'></CellDirective>\n * </CellsDirective>\n * </RowDirective>\n * </RowsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar CellDirective = /** @class */ (function (_super) {\n __extends(CellDirective, _super);\n function CellDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CellDirective.moduleName = 'cell';\n return CellDirective;\n}(ComplexBase));\nexport { CellDirective };\nvar CellsDirective = /** @class */ (function (_super) {\n __extends(CellsDirective, _super);\n function CellsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CellsDirective.propertyName = 'cells';\n CellsDirective.moduleName = 'cells';\n return CellsDirective;\n}(ComplexBase));\nexport { CellsDirective };\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 ImageDirective = /** @class */ (function (_super) {\n __extends(ImageDirective, _super);\n function ImageDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ImageDirective.moduleName = 'image';\n return ImageDirective;\n}(ComplexBase));\nexport { ImageDirective };\nvar ImagesDirective = /** @class */ (function (_super) {\n __extends(ImagesDirective, _super);\n function ImagesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ImagesDirective.propertyName = 'image';\n ImagesDirective.moduleName = 'images';\n return ImagesDirective;\n}(ComplexBase));\nexport { ImagesDirective };\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 ChartDirective = /** @class */ (function (_super) {\n __extends(ChartDirective, _super);\n function ChartDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ChartDirective.moduleName = 'chart';\n return ChartDirective;\n}(ComplexBase));\nexport { ChartDirective };\nvar ChartsDirective = /** @class */ (function (_super) {\n __extends(ChartsDirective, _super);\n function ChartsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ChartsDirective.propertyName = 'chart';\n ChartsDirective.moduleName = 'charts';\n return ChartsDirective;\n}(ComplexBase));\nexport { ChartsDirective };\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';\n/**\n * `ColumnDirective` represent a column of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <ColumnsDirective>\n * <ColumnDirective width='100'></ColumnDirective>\n * </ColumnsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar ColumnDirective = /** @class */ (function (_super) {\n __extends(ColumnDirective, _super);\n function ColumnDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnDirective.moduleName = 'column';\n return ColumnDirective;\n}(ComplexBase));\nexport { ColumnDirective };\nvar ColumnsDirective = /** @class */ (function (_super) {\n __extends(ColumnsDirective, _super);\n function ColumnsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnsDirective.propertyName = 'columns';\n ColumnsDirective.moduleName = 'columns';\n return ColumnsDirective;\n}(ComplexBase));\nexport { ColumnsDirective };\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';\n/**\n * `RangeDirective` represent a range of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RangesDirective>\n * <RangeDirective dataSource={data}></RangeDirective>\n * </RangesDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar RangeDirective = /** @class */ (function (_super) {\n __extends(RangeDirective, _super);\n function RangeDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RangeDirective.moduleName = 'range';\n return RangeDirective;\n}(ComplexBase));\nexport { RangeDirective };\nvar RangesDirective = /** @class */ (function (_super) {\n __extends(RangesDirective, _super);\n function RangesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RangesDirective.propertyName = 'ranges';\n RangesDirective.moduleName = 'ranges';\n return RangesDirective;\n}(ComplexBase));\nexport { RangesDirective };\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';\n/**\n * `ConditionalFormatDirective` represent a conditionalformat of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <ConditionalFormatsDirective>\n * <ConditionalFormatDirective dataSource={data}></ConditionalFormatDirective>\n * </ConditionalFormatsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar ConditionalFormatDirective = /** @class */ (function (_super) {\n __extends(ConditionalFormatDirective, _super);\n function ConditionalFormatDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConditionalFormatDirective.moduleName = 'conditionalFormat';\n return ConditionalFormatDirective;\n}(ComplexBase));\nexport { ConditionalFormatDirective };\nvar ConditionalFormatsDirective = /** @class */ (function (_super) {\n __extends(ConditionalFormatsDirective, _super);\n function ConditionalFormatsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConditionalFormatsDirective.propertyName = 'conditionalFormats';\n ConditionalFormatsDirective.moduleName = 'conditionalFormats';\n return ConditionalFormatsDirective;\n}(ComplexBase));\nexport { ConditionalFormatsDirective };\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';\n/**\n * `DefinedNameDirective` represent a defined name of the React Spreadsheet.\n * It must be contained in a Spreadsheet component(`SpreadsheetComponent`).\n * ```tsx\n * <SpreadsheetComponent>\n * <DefinedNamesDirective>\n * <DefinedNameDirective></DefinedNameDirective>\n * <DefinedNameDirective></DefinedNameDirective>\n * </DefinedNamesDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar DefinedNameDirective = /** @class */ (function (_super) {\n __extends(DefinedNameDirective, _super);\n function DefinedNameDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DefinedNameDirective.moduleName = 'definedName';\n return DefinedNameDirective;\n}(ComplexBase));\nexport { DefinedNameDirective };\nvar DefinedNamesDirective = /** @class */ (function (_super) {\n __extends(DefinedNamesDirective, _super);\n function DefinedNamesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DefinedNamesDirective.propertyName = 'definedNames';\n DefinedNamesDirective.moduleName = 'definedNames';\n return DefinedNamesDirective;\n}(ComplexBase));\nexport { DefinedNamesDirective };\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 { Spreadsheet } from '@syncfusion/ej2-spreadsheet';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `SpreadsheetComponent` represents the react Spreadsheet.\n * ```tsx\n * <SpreadsheetComponent />\n * ```\n */\nvar SpreadsheetComponent = /** @class */ (function (_super) {\n __extends(SpreadsheetComponent, _super);\n function SpreadsheetComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'sheets': { 'sheet': { 'rows': { 'row': { 'cells': { 'cell': { 'images': 'image', 'charts': 'chart' } } } }, 'columns': 'column', 'ranges': 'range', 'conditionalFormats': 'conditionalFormat' } }, 'definedNames': 'definedName' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n SpreadsheetComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return SpreadsheetComponent;\n}(Spreadsheet));\nexport { SpreadsheetComponent };\napplyMixins(SpreadsheetComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","SheetDirective","ComplexBase","moduleName","apply","arguments","SheetsDirective","propertyName","RowDirective","RowsDirective","CellDirective","CellsDirective","ImageDirective","ImagesDirective","ChartDirective","ChartsDirective","ColumnDirective","ColumnsDirective","RangeDirective","RangesDirective","ConditionalFormatDirective","ConditionalFormatsDirective","DefinedNameDirective","DefinedNamesDirective","SpreadsheetComponent","Spreadsheet","render","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","sheets","sheet","rows","row","cells","cell","images","charts","columns","ranges","conditionalFormats","definedNames","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"8YACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAyBsCS,EA1B1CC,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,IAgBnFK,GAA0CP,EAO5CQ,cANEP,EAAUM,EAAgBP,CAAM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AAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAYnF4B,IAAgD9B,EAuBlD+B,cAtBE9B,GAAU6B,GAAsB9B,CAAM,EAYtC8B,GAAqBzB,UAAU2B,OAAS,WACpC,GAAI,EAAE7B,KAAK8B,SAAW,CAAC9B,KAAK+B,kBAAqB/B,KAAKgC,aAAgBhC,KAAKiC,oBAKvE,OAAOC,gBAAoB,MAAOlC,KAAKmC,uBAAwB,GAAGC,OAAOpC,KAAKqC,MAAMC,SAAUtC,KAAKuC,OAAO,CAAC,EAJ3G1C,EAAOK,UAAU2B,OAAOW,KAAKxC,IAAI,EACjCA,KAAK+B,iBAAmB,CAAA,GAMzBJ,IApBP,SAASA,GAAqBU,GACtBI,EAAQ5C,EAAO2C,KAAKxC,KAAMqC,CAAK,GAAKrC,KAQxC,OAPAyC,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,cAAgB,CAAEC,OAAU,CAAEC,MAAS,CAAEC,KAAQ,CAAEC,IAAO,CAAEC,MAAS,CAAEC,KAAQ,CAAEC,OAAU,QAASC,OAAU,YAAiBC,QAAW,SAAUC,OAAU,QAASC,mBAAsB,sBAAyBC,aAAgB,eAC5Od,EAAMe,uBAAyB,KAC/Bf,EAAMgB,cAAgB,KACtBhB,EAAMiB,gBAAkB,CAAA,EACxBjB,EAAMF,QAAU,GACTE,gBAcHd,GAAsB,CAACgC,gBAAeC,YAAgB"}
|
|
1
|
+
{"version":3,"file":"ej2-react-spreadsheet.umd.min.js","sources":["../src/spreadsheet/sheets-directive.js","../src/spreadsheet/rows-directive.js","../src/spreadsheet/cells-directive.js","../src/spreadsheet/image-directive.js","../src/spreadsheet/chart-directive.js","../src/spreadsheet/columns-directive.js","../src/spreadsheet/ranges-directive.js","../src/spreadsheet/conditionalformats-directive.js","../src/spreadsheet/definednames-directive.js","../src/spreadsheet/spreadsheet.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `SheetDirective` represent a sheet of the React Spreadsheet.\n * It must be contained in a Spreadsheet component(`SpreadsheetComponent`).\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective></SheetDirective>\n * <SheetDirective></SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar SheetDirective = /** @class */ (function (_super) {\n __extends(SheetDirective, _super);\n function SheetDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SheetDirective.moduleName = 'sheet';\n return SheetDirective;\n}(ComplexBase));\nexport { SheetDirective };\nvar SheetsDirective = /** @class */ (function (_super) {\n __extends(SheetsDirective, _super);\n function SheetsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SheetsDirective.propertyName = 'sheets';\n SheetsDirective.moduleName = 'sheets';\n return SheetsDirective;\n}(ComplexBase));\nexport { SheetsDirective };\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';\n/**\n * `RowDirective` represent a row of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RowsDirective>\n * <RowDirective></RowDirective>\n * </RowsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar RowDirective = /** @class */ (function (_super) {\n __extends(RowDirective, _super);\n function RowDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RowDirective.moduleName = 'row';\n return RowDirective;\n}(ComplexBase));\nexport { RowDirective };\nvar RowsDirective = /** @class */ (function (_super) {\n __extends(RowsDirective, _super);\n function RowsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RowsDirective.propertyName = 'rows';\n RowsDirective.moduleName = 'rows';\n return RowsDirective;\n}(ComplexBase));\nexport { RowsDirective };\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';\n/**\n * `CellDirective` represent a cell of the React Spreadsheet.\n * It must be contained in a `RowDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RowsDirective>\n * <RowDirective>\n * <CellsDirective>\n * <CellDirective value='A1'></CellDirective>\n * </CellsDirective>\n * </RowDirective>\n * </RowsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar CellDirective = /** @class */ (function (_super) {\n __extends(CellDirective, _super);\n function CellDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CellDirective.moduleName = 'cell';\n return CellDirective;\n}(ComplexBase));\nexport { CellDirective };\nvar CellsDirective = /** @class */ (function (_super) {\n __extends(CellsDirective, _super);\n function CellsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CellsDirective.propertyName = 'cells';\n CellsDirective.moduleName = 'cells';\n return CellsDirective;\n}(ComplexBase));\nexport { CellsDirective };\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 ImageDirective = /** @class */ (function (_super) {\n __extends(ImageDirective, _super);\n function ImageDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ImageDirective.moduleName = 'image';\n return ImageDirective;\n}(ComplexBase));\nexport { ImageDirective };\nvar ImagesDirective = /** @class */ (function (_super) {\n __extends(ImagesDirective, _super);\n function ImagesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ImagesDirective.propertyName = 'image';\n ImagesDirective.moduleName = 'images';\n return ImagesDirective;\n}(ComplexBase));\nexport { ImagesDirective };\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 ChartDirective = /** @class */ (function (_super) {\n __extends(ChartDirective, _super);\n function ChartDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ChartDirective.moduleName = 'chart';\n return ChartDirective;\n}(ComplexBase));\nexport { ChartDirective };\nvar ChartsDirective = /** @class */ (function (_super) {\n __extends(ChartsDirective, _super);\n function ChartsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ChartsDirective.propertyName = 'chart';\n ChartsDirective.moduleName = 'charts';\n return ChartsDirective;\n}(ComplexBase));\nexport { ChartsDirective };\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';\n/**\n * `ColumnDirective` represent a column of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <ColumnsDirective>\n * <ColumnDirective width='100'></ColumnDirective>\n * </ColumnsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar ColumnDirective = /** @class */ (function (_super) {\n __extends(ColumnDirective, _super);\n function ColumnDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnDirective.moduleName = 'column';\n return ColumnDirective;\n}(ComplexBase));\nexport { ColumnDirective };\nvar ColumnsDirective = /** @class */ (function (_super) {\n __extends(ColumnsDirective, _super);\n function ColumnsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnsDirective.propertyName = 'columns';\n ColumnsDirective.moduleName = 'columns';\n return ColumnsDirective;\n}(ComplexBase));\nexport { ColumnsDirective };\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';\n/**\n * `RangeDirective` represent a range of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RangesDirective>\n * <RangeDirective dataSource={data}></RangeDirective>\n * </RangesDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar RangeDirective = /** @class */ (function (_super) {\n __extends(RangeDirective, _super);\n function RangeDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RangeDirective.moduleName = 'range';\n return RangeDirective;\n}(ComplexBase));\nexport { RangeDirective };\nvar RangesDirective = /** @class */ (function (_super) {\n __extends(RangesDirective, _super);\n function RangesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RangesDirective.propertyName = 'ranges';\n RangesDirective.moduleName = 'ranges';\n return RangesDirective;\n}(ComplexBase));\nexport { RangesDirective };\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';\n/**\n * `ConditionalFormatDirective` represent a conditionalformat of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <ConditionalFormatsDirective>\n * <ConditionalFormatDirective dataSource={data}></ConditionalFormatDirective>\n * </ConditionalFormatsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar ConditionalFormatDirective = /** @class */ (function (_super) {\n __extends(ConditionalFormatDirective, _super);\n function ConditionalFormatDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConditionalFormatDirective.moduleName = 'conditionalFormat';\n return ConditionalFormatDirective;\n}(ComplexBase));\nexport { ConditionalFormatDirective };\nvar ConditionalFormatsDirective = /** @class */ (function (_super) {\n __extends(ConditionalFormatsDirective, _super);\n function ConditionalFormatsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ConditionalFormatsDirective.propertyName = 'conditionalFormats';\n ConditionalFormatsDirective.moduleName = 'conditionalFormats';\n return ConditionalFormatsDirective;\n}(ComplexBase));\nexport { ConditionalFormatsDirective };\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';\n/**\n * `DefinedNameDirective` represent a defined name of the React Spreadsheet.\n * It must be contained in a Spreadsheet component(`SpreadsheetComponent`).\n * ```tsx\n * <SpreadsheetComponent>\n * <DefinedNamesDirective>\n * <DefinedNameDirective></DefinedNameDirective>\n * <DefinedNameDirective></DefinedNameDirective>\n * </DefinedNamesDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar DefinedNameDirective = /** @class */ (function (_super) {\n __extends(DefinedNameDirective, _super);\n function DefinedNameDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DefinedNameDirective.moduleName = 'definedName';\n return DefinedNameDirective;\n}(ComplexBase));\nexport { DefinedNameDirective };\nvar DefinedNamesDirective = /** @class */ (function (_super) {\n __extends(DefinedNamesDirective, _super);\n function DefinedNamesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DefinedNamesDirective.propertyName = 'definedNames';\n DefinedNamesDirective.moduleName = 'definedNames';\n return DefinedNamesDirective;\n}(ComplexBase));\nexport { DefinedNamesDirective };\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 { Spreadsheet } from '@syncfusion/ej2-spreadsheet';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `SpreadsheetComponent` represents the react Spreadsheet.\n * ```tsx\n * <SpreadsheetComponent />\n * ```\n */\nvar SpreadsheetComponent = /** @class */ (function (_super) {\n __extends(SpreadsheetComponent, _super);\n function SpreadsheetComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'sheets': { 'sheet': { 'rows': { 'row': { 'cells': { 'cell': { 'images': 'image', 'charts': 'chart' } } } }, 'columns': 'column', 'ranges': 'range', 'conditionalFormats': 'conditionalFormat' } }, 'definedNames': 'definedName' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n SpreadsheetComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return SpreadsheetComponent;\n}(Spreadsheet));\nexport { SpreadsheetComponent };\napplyMixins(SpreadsheetComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","SheetDirective","ComplexBase","moduleName","apply","arguments","SheetsDirective","propertyName","RowDirective","RowsDirective","CellDirective","CellsDirective","ImageDirective","ImagesDirective","ChartDirective","ChartsDirective","ColumnDirective","ColumnsDirective","RangeDirective","RangesDirective","ConditionalFormatDirective","ConditionalFormatsDirective","DefinedNameDirective","DefinedNamesDirective","SpreadsheetComponent","Spreadsheet","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","sheets","sheet","rows","row","cells","cell","images","charts","columns","ranges","conditionalFormats","definedNames","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"8YACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAyBsCS,EA1B1CC,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,IAgBnFK,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EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAYnF4B,IAAgD9B,EAyBlD+B,cAxBE9B,GAAU6B,GAAsB9B,CAAM,EAatC8B,GAAqBzB,UAAU2B,OAAS,WAEpC,GADA7B,KAAK8B,YAAc,CAAA,EACf,EAAE9B,KAAK+B,SAAW,CAAC/B,KAAKgC,kBAAqBhC,KAAKiC,aAAgBjC,KAAKkC,oBAKvE,OAAOC,gBAAoB,MAAOnC,KAAKoC,uBAAwB,GAAGC,OAAOrC,KAAKsC,MAAMC,SAAUvC,KAAKwC,OAAO,CAAC,EAJ3G3C,EAAOK,UAAU2B,OAAOY,KAAKzC,IAAI,EACjCA,KAAKgC,iBAAmB,CAAA,GAMzBL,IAtBP,SAASA,GAAqBW,GACtBI,EAAQ7C,EAAO4C,KAAKzC,KAAMsC,CAAK,GAAKtC,KASxC,OARA0C,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,cAAgB,CAAEC,OAAU,CAAEC,MAAS,CAAEC,KAAQ,CAAEC,IAAO,CAAEC,MAAS,CAAEC,KAAQ,CAAEC,OAAU,QAASC,OAAU,YAAiBC,QAAW,SAAUC,OAAU,QAASC,mBAAsB,sBAAyBC,aAAgB,eAC5Od,EAAMe,uBAAyB,KAC/Bf,EAAMgB,cAAgB,KACtBhB,EAAMiB,gBAAkB,CAAA,EACxBjB,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHf,GAAsB,CAACiC,gBAAeC,YAAgB"}
|
|
@@ -194,9 +194,11 @@ class SpreadsheetComponent extends Spreadsheet {
|
|
|
194
194
|
this.statelessTemplateProps = null;
|
|
195
195
|
this.templateProps = null;
|
|
196
196
|
this.immediateRender = false;
|
|
197
|
+
this.isReactMock = true;
|
|
197
198
|
this.portals = [];
|
|
198
199
|
}
|
|
199
200
|
render() {
|
|
201
|
+
this.isReactMock = false;
|
|
200
202
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
201
203
|
super.render();
|
|
202
204
|
this.initRenderCalled = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-spreadsheet.es2015.js","sources":["../src/es6/spreadsheet/sheets-directive.js","../src/es6/spreadsheet/rows-directive.js","../src/es6/spreadsheet/cells-directive.js","../src/es6/spreadsheet/image-directive.js","../src/es6/spreadsheet/chart-directive.js","../src/es6/spreadsheet/columns-directive.js","../src/es6/spreadsheet/ranges-directive.js","../src/es6/spreadsheet/conditionalformats-directive.js","../src/es6/spreadsheet/definednames-directive.js","../src/es6/spreadsheet/spreadsheet.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `SheetDirective` represent a sheet of the React Spreadsheet.\n * It must be contained in a Spreadsheet component(`SpreadsheetComponent`).\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective></SheetDirective>\n * <SheetDirective></SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class SheetDirective extends ComplexBase {\n}\nSheetDirective.moduleName = 'sheet';\nexport class SheetsDirective extends ComplexBase {\n}\nSheetsDirective.propertyName = 'sheets';\nSheetsDirective.moduleName = 'sheets';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `RowDirective` represent a row of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RowsDirective>\n * <RowDirective></RowDirective>\n * </RowsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class RowDirective extends ComplexBase {\n}\nRowDirective.moduleName = 'row';\nexport class RowsDirective extends ComplexBase {\n}\nRowsDirective.propertyName = 'rows';\nRowsDirective.moduleName = 'rows';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `CellDirective` represent a cell of the React Spreadsheet.\n * It must be contained in a `RowDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RowsDirective>\n * <RowDirective>\n * <CellsDirective>\n * <CellDirective value='A1'></CellDirective>\n * </CellsDirective>\n * </RowDirective>\n * </RowsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class CellDirective extends ComplexBase {\n}\nCellDirective.moduleName = 'cell';\nexport class CellsDirective extends ComplexBase {\n}\nCellsDirective.propertyName = 'cells';\nCellsDirective.moduleName = 'cells';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class ImageDirective extends ComplexBase {\n}\nImageDirective.moduleName = 'image';\nexport class ImagesDirective extends ComplexBase {\n}\nImagesDirective.propertyName = 'image';\nImagesDirective.moduleName = 'images';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class ChartDirective extends ComplexBase {\n}\nChartDirective.moduleName = 'chart';\nexport class ChartsDirective extends ComplexBase {\n}\nChartsDirective.propertyName = 'chart';\nChartsDirective.moduleName = 'charts';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <ColumnsDirective>\n * <ColumnDirective width='100'></ColumnDirective>\n * </ColumnsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class ColumnDirective extends ComplexBase {\n}\nColumnDirective.moduleName = 'column';\nexport class ColumnsDirective extends ComplexBase {\n}\nColumnsDirective.propertyName = 'columns';\nColumnsDirective.moduleName = 'columns';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `RangeDirective` represent a range of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RangesDirective>\n * <RangeDirective dataSource={data}></RangeDirective>\n * </RangesDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class RangeDirective extends ComplexBase {\n}\nRangeDirective.moduleName = 'range';\nexport class RangesDirective extends ComplexBase {\n}\nRangesDirective.propertyName = 'ranges';\nRangesDirective.moduleName = 'ranges';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ConditionalFormatDirective` represent a conditionalformat of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <ConditionalFormatsDirective>\n * <ConditionalFormatDirective dataSource={data}></ConditionalFormatDirective>\n * </ConditionalFormatsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class ConditionalFormatDirective extends ComplexBase {\n}\nConditionalFormatDirective.moduleName = 'conditionalFormat';\nexport class ConditionalFormatsDirective extends ComplexBase {\n}\nConditionalFormatsDirective.propertyName = 'conditionalFormats';\nConditionalFormatsDirective.moduleName = 'conditionalFormats';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `DefinedNameDirective` represent a defined name of the React Spreadsheet.\n * It must be contained in a Spreadsheet component(`SpreadsheetComponent`).\n * ```tsx\n * <SpreadsheetComponent>\n * <DefinedNamesDirective>\n * <DefinedNameDirective></DefinedNameDirective>\n * <DefinedNameDirective></DefinedNameDirective>\n * </DefinedNamesDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class DefinedNameDirective extends ComplexBase {\n}\nDefinedNameDirective.moduleName = 'definedName';\nexport class DefinedNamesDirective extends ComplexBase {\n}\nDefinedNamesDirective.propertyName = 'definedNames';\nDefinedNamesDirective.moduleName = 'definedNames';\n","import * as React from 'react';\nimport { Spreadsheet } from '@syncfusion/ej2-spreadsheet';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `SpreadsheetComponent` represents the react Spreadsheet.\n * ```tsx\n * <SpreadsheetComponent />\n * ```\n */\nexport class SpreadsheetComponent extends Spreadsheet {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'sheets': { 'sheet': { 'rows': { 'row': { 'cells': { 'cell': { 'images': 'image', 'charts': 'chart' } } } }, 'columns': 'column', 'ranges': 'range', 'conditionalFormats': 'conditionalFormat' } }, 'definedNames': 'definedName' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(SpreadsheetComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,cAAc,SAAS,WAAW,CAAC;AAChD,CAAC;AACD,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;AAC7B,MAAM,eAAe,SAAS,WAAW,CAAC;AACjD,CAAC;AACD,eAAe,CAAC,YAAY,GAAG,QAAQ,CAAC;AACxC,eAAe,CAAC,UAAU,GAAG,QAAQ;;AClBrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,YAAY,SAAS,WAAW,CAAC;AAC9C,CAAC;AACD,YAAY,CAAC,UAAU,GAAG,KAAK,CAAC;AAChC,AAAO,MAAM,aAAa,SAAS,WAAW,CAAC;AAC/C,CAAC;AACD,aAAa,CAAC,YAAY,GAAG,MAAM,CAAC;AACpC,aAAa,CAAC,UAAU,GAAG,MAAM,CAAC;;ACrBlC;AACA;AACA;AACA;AACA;AACA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EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,EAAE,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC;AACnQ,QAAQ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;AACrC,QAAQ,IAAI,CAAC,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,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,oBAAoB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-react-spreadsheet.es2015.js","sources":["../src/es6/spreadsheet/sheets-directive.js","../src/es6/spreadsheet/rows-directive.js","../src/es6/spreadsheet/cells-directive.js","../src/es6/spreadsheet/image-directive.js","../src/es6/spreadsheet/chart-directive.js","../src/es6/spreadsheet/columns-directive.js","../src/es6/spreadsheet/ranges-directive.js","../src/es6/spreadsheet/conditionalformats-directive.js","../src/es6/spreadsheet/definednames-directive.js","../src/es6/spreadsheet/spreadsheet.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `SheetDirective` represent a sheet of the React Spreadsheet.\n * It must be contained in a Spreadsheet component(`SpreadsheetComponent`).\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective></SheetDirective>\n * <SheetDirective></SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class SheetDirective extends ComplexBase {\n}\nSheetDirective.moduleName = 'sheet';\nexport class SheetsDirective extends ComplexBase {\n}\nSheetsDirective.propertyName = 'sheets';\nSheetsDirective.moduleName = 'sheets';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `RowDirective` represent a row of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RowsDirective>\n * <RowDirective></RowDirective>\n * </RowsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class RowDirective extends ComplexBase {\n}\nRowDirective.moduleName = 'row';\nexport class RowsDirective extends ComplexBase {\n}\nRowsDirective.propertyName = 'rows';\nRowsDirective.moduleName = 'rows';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `CellDirective` represent a cell of the React Spreadsheet.\n * It must be contained in a `RowDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RowsDirective>\n * <RowDirective>\n * <CellsDirective>\n * <CellDirective value='A1'></CellDirective>\n * </CellsDirective>\n * </RowDirective>\n * </RowsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class CellDirective extends ComplexBase {\n}\nCellDirective.moduleName = 'cell';\nexport class CellsDirective extends ComplexBase {\n}\nCellsDirective.propertyName = 'cells';\nCellsDirective.moduleName = 'cells';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class ImageDirective extends ComplexBase {\n}\nImageDirective.moduleName = 'image';\nexport class ImagesDirective extends ComplexBase {\n}\nImagesDirective.propertyName = 'image';\nImagesDirective.moduleName = 'images';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class ChartDirective extends ComplexBase {\n}\nChartDirective.moduleName = 'chart';\nexport class ChartsDirective extends ComplexBase {\n}\nChartsDirective.propertyName = 'chart';\nChartsDirective.moduleName = 'charts';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <ColumnsDirective>\n * <ColumnDirective width='100'></ColumnDirective>\n * </ColumnsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class ColumnDirective extends ComplexBase {\n}\nColumnDirective.moduleName = 'column';\nexport class ColumnsDirective extends ComplexBase {\n}\nColumnsDirective.propertyName = 'columns';\nColumnsDirective.moduleName = 'columns';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `RangeDirective` represent a range of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <RangesDirective>\n * <RangeDirective dataSource={data}></RangeDirective>\n * </RangesDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class RangeDirective extends ComplexBase {\n}\nRangeDirective.moduleName = 'range';\nexport class RangesDirective extends ComplexBase {\n}\nRangesDirective.propertyName = 'ranges';\nRangesDirective.moduleName = 'ranges';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ConditionalFormatDirective` represent a conditionalformat of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```tsx\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * <ConditionalFormatsDirective>\n * <ConditionalFormatDirective dataSource={data}></ConditionalFormatDirective>\n * </ConditionalFormatsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class ConditionalFormatDirective extends ComplexBase {\n}\nConditionalFormatDirective.moduleName = 'conditionalFormat';\nexport class ConditionalFormatsDirective extends ComplexBase {\n}\nConditionalFormatsDirective.propertyName = 'conditionalFormats';\nConditionalFormatsDirective.moduleName = 'conditionalFormats';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `DefinedNameDirective` represent a defined name of the React Spreadsheet.\n * It must be contained in a Spreadsheet component(`SpreadsheetComponent`).\n * ```tsx\n * <SpreadsheetComponent>\n * <DefinedNamesDirective>\n * <DefinedNameDirective></DefinedNameDirective>\n * <DefinedNameDirective></DefinedNameDirective>\n * </DefinedNamesDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class DefinedNameDirective extends ComplexBase {\n}\nDefinedNameDirective.moduleName = 'definedName';\nexport class DefinedNamesDirective extends ComplexBase {\n}\nDefinedNamesDirective.propertyName = 'definedNames';\nDefinedNamesDirective.moduleName = 'definedNames';\n","import * as React from 'react';\nimport { Spreadsheet } from '@syncfusion/ej2-spreadsheet';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `SpreadsheetComponent` represents the react Spreadsheet.\n * ```tsx\n * <SpreadsheetComponent />\n * ```\n */\nexport class SpreadsheetComponent extends Spreadsheet {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'sheets': { 'sheet': { 'rows': { 'row': { 'cells': { 'cell': { 'images': 'image', 'charts': 'chart' } } } }, 'columns': 'column', 'ranges': 'range', 'conditionalFormats': 'conditionalFormat' } }, 'definedNames': 'definedName' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(SpreadsheetComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,cAAc,SAAS,WAAW,CAAC;AAChD,CAAC;AACD,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;AAC7B,MAAM,eAAe,SAAS,WAAW,CAAC;AACjD,CAAC;AACD,eAAe,CAAC,YAAY,GAAG,QAAQ,CAAC;AACxC,eAAe,CAAC,UAAU,GAAG,QAAQ;;AClBrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,YAAY,SAAS,WAAW,CAAC;AAC9C,CAAC;AACD,YAAY,CAAC,UAAU,GAAG,KAAK,CAAC;AAChC,AAAO,MAAM,aAAa,SAAS,WAAW,CAAC;AAC/C,CAAC;AACD,aAAa,CAAC,YAAY,GAAG,MAAM,CAAC;AACpC,aAAa,CAAC,UAAU,GAAG,MAAM,CAAC;;ACrBlC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,aAAa,SAAS,WAAW,CAAC;AAC/C,CAAC;AACD,aAAa,CAAC,UAAU,GAAG,MAAM,CAAC;AAClC,AAAO,MAAM,cAAc,SAAS,WAAW,CAAC;AAChD,CAAC;AACD,cAAc,CAAC,YAAY,GAAG,OAAO,CAAC;AACtC,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;;ACzB7B,MAAM,cAAc,SAAS,WAAW,CAAC;AAChD,CAAC;AACD,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;AACpC,A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,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;AACjC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,oBAAoB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-react-spreadsheet@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-react-spreadsheet@27.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-react-spreadsheet@27.1.55",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-b4qHdmy8Ou+BsmgACQv98NXDIO3iJL2qRA4sGUIYreo+sdV2pAo6j/3LN+5Ukej37aSUT7GdNiUAzn+r0otsvg==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-spreadsheet",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-spreadsheet/-/ej2-react-spreadsheet-27.1.
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-spreadsheet/-/ej2-react-spreadsheet-27.1.55.tgz",
|
|
23
|
+
"_shasum": "5ca2c90e5933e622dd8fd8335a30126ebdf5646d",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-spreadsheet@*",
|
|
25
25
|
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~27.1.
|
|
34
|
+
"@syncfusion/ej2-base": "~27.1.55",
|
|
35
35
|
"@syncfusion/ej2-react-base": "~27.1.50",
|
|
36
|
-
"@syncfusion/ej2-spreadsheet": "27.1.
|
|
36
|
+
"@syncfusion/ej2-spreadsheet": "27.1.56-13660"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Feature-rich JavaScript Spreadsheet (Excel) control with built-in support for selection, editing, formatting, importing and exporting to Excel for React",
|
|
@@ -53,6 +53,6 @@
|
|
|
53
53
|
"type": "git",
|
|
54
54
|
"url": "https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
55
55
|
},
|
|
56
|
-
"version": "27.1.
|
|
56
|
+
"version": "27.1.56-13660",
|
|
57
57
|
"sideEffects": false
|
|
58
58
|
}
|
|
@@ -24,6 +24,7 @@ export declare class SpreadsheetComponent extends Spreadsheet {
|
|
|
24
24
|
private statelessTemplateProps;
|
|
25
25
|
private templateProps;
|
|
26
26
|
private immediateRender;
|
|
27
|
+
private isReactMock;
|
|
27
28
|
props: Readonly<{
|
|
28
29
|
children?: React.ReactNode | React.ReactNode[];
|
|
29
30
|
}> & Readonly<SpreadsheetModel | DefaultHtmlAttributes | SpreadsheetTypecast>;
|
|
@@ -30,10 +30,12 @@ var SpreadsheetComponent = /** @class */ (function (_super) {
|
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
31
|
_this.templateProps = null;
|
|
32
32
|
_this.immediateRender = false;
|
|
33
|
+
_this.isReactMock = true;
|
|
33
34
|
_this.portals = [];
|
|
34
35
|
return _this;
|
|
35
36
|
}
|
|
36
37
|
SpreadsheetComponent.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;
|