@syncfusion/ej2-react-spreadsheet 33.2.13 → 34.1.29
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/diConfig.json +26 -1
- 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 +10 -2
- package/dist/es6/ej2-react-spreadsheet.es2015.js.map +1 -1
- package/package.json +4 -4
- package/src/spreadsheet/index.d.ts +1 -0
- package/src/spreadsheet/index.js +1 -0
- package/src/spreadsheet/richtext-directive.d.ts +11 -0
- package/src/spreadsheet/richtext-directive.js +33 -0
- package/src/spreadsheet/spreadsheet.component.js +1 -1
- package/styles/bds-lite.scss +1 -1
- package/styles/bootstrap-dark-lite.scss +1 -1
- package/styles/bootstrap-lite.scss +1 -1
- package/styles/bootstrap4-lite.scss +1 -1
- package/styles/bootstrap5-dark-lite.scss +1 -1
- package/styles/bootstrap5-lite.scss +1 -1
- package/styles/bootstrap5.3-lite.scss +1 -1
- package/styles/fabric-dark-lite.scss +1 -1
- package/styles/fabric-lite.scss +1 -1
- package/styles/fluent-dark-lite.scss +1 -1
- package/styles/fluent-lite.scss +1 -1
- package/styles/fluent2-lite.scss +1 -1
- package/styles/highcontrast-light-lite.scss +1 -1
- package/styles/highcontrast-lite.scss +1 -1
- package/styles/material-dark-lite.scss +1 -1
- package/styles/material-lite.scss +1 -1
- package/styles/material3-dark-lite.scss +1 -1
- package/styles/material3-lite.scss +1 -1
- package/styles/spreadsheet/bds.scss +1 -1
- package/styles/spreadsheet/bootstrap-dark.scss +1 -1
- package/styles/spreadsheet/bootstrap.scss +1 -1
- package/styles/spreadsheet/bootstrap4.scss +1 -1
- package/styles/spreadsheet/bootstrap5-dark.scss +1 -1
- package/styles/spreadsheet/bootstrap5.3.scss +1 -1
- package/styles/spreadsheet/bootstrap5.scss +1 -1
- package/styles/spreadsheet/fabric-dark.scss +1 -1
- package/styles/spreadsheet/fabric.scss +1 -1
- package/styles/spreadsheet/fluent-dark.scss +1 -1
- package/styles/spreadsheet/fluent.scss +1 -1
- package/styles/spreadsheet/fluent2.scss +1 -1
- package/styles/spreadsheet/highcontrast-light.scss +1 -1
- package/styles/spreadsheet/highcontrast.scss +1 -1
- package/styles/spreadsheet/material-dark.scss +1 -1
- package/styles/spreadsheet/material.scss +1 -1
- package/styles/spreadsheet/material3-dark.scss +1 -1
- package/styles/spreadsheet/material3.scss +1 -1
- package/styles/spreadsheet/tailwind-dark.scss +1 -1
- package/styles/spreadsheet/tailwind.scss +1 -1
- package/styles/spreadsheet/tailwind3.scss +1 -1
- package/styles/spreadsheet-ribbon/bds.scss +1 -1
- package/styles/spreadsheet-ribbon/bootstrap-dark.scss +1 -1
- package/styles/spreadsheet-ribbon/bootstrap.scss +1 -1
- package/styles/spreadsheet-ribbon/bootstrap4.scss +1 -1
- package/styles/spreadsheet-ribbon/bootstrap5-dark.scss +1 -1
- package/styles/spreadsheet-ribbon/bootstrap5.3.scss +1 -1
- package/styles/spreadsheet-ribbon/bootstrap5.scss +1 -1
- package/styles/spreadsheet-ribbon/fabric-dark.scss +1 -1
- package/styles/spreadsheet-ribbon/fabric.scss +1 -1
- package/styles/spreadsheet-ribbon/fluent-dark.scss +1 -1
- package/styles/spreadsheet-ribbon/fluent.scss +1 -1
- package/styles/spreadsheet-ribbon/fluent2.scss +1 -1
- package/styles/spreadsheet-ribbon/highcontrast-light.scss +1 -1
- package/styles/spreadsheet-ribbon/highcontrast.scss +1 -1
- package/styles/spreadsheet-ribbon/material-dark.scss +1 -1
- package/styles/spreadsheet-ribbon/material.scss +1 -1
- package/styles/spreadsheet-ribbon/material3-dark.scss +1 -1
- package/styles/spreadsheet-ribbon/material3.scss +1 -1
- package/styles/spreadsheet-ribbon/tailwind-dark.scss +1 -1
- package/styles/spreadsheet-ribbon/tailwind.scss +1 -1
- package/styles/spreadsheet-ribbon/tailwind3.scss +1 -1
- package/styles/tailwind-dark-lite.scss +1 -1
- package/styles/tailwind-lite.scss +1 -1
- package/styles/tailwind3-lite.scss +1 -1
package/diConfig.json
CHANGED
|
@@ -77,7 +77,8 @@
|
|
|
77
77
|
"DataBind",
|
|
78
78
|
"CellFormat",
|
|
79
79
|
"NumberFormat",
|
|
80
|
-
"Formula"
|
|
80
|
+
"Formula",
|
|
81
|
+
"AIAssist"
|
|
81
82
|
],
|
|
82
83
|
"diModuleFiles": [
|
|
83
84
|
{
|
|
@@ -124,6 +125,9 @@
|
|
|
124
125
|
},
|
|
125
126
|
{
|
|
126
127
|
"fileName": "formula"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"fileName": "ai-assist"
|
|
127
131
|
}
|
|
128
132
|
],
|
|
129
133
|
"comment": [
|
|
@@ -469,6 +473,22 @@
|
|
|
469
473
|
]
|
|
470
474
|
}
|
|
471
475
|
]
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"baseClass": "RichText",
|
|
479
|
+
"propertyName": "richText",
|
|
480
|
+
"directoryName": "spreadsheet",
|
|
481
|
+
"directiveClassName": "RichText",
|
|
482
|
+
"arrayDirectiveClassName": "RichTexts",
|
|
483
|
+
"aspArrayClassName": "RichText",
|
|
484
|
+
"aspCollectionClassName": "RichTexts",
|
|
485
|
+
"complexDirective": [
|
|
486
|
+
{
|
|
487
|
+
"baseClass": "CellStyle",
|
|
488
|
+
"propertyName": "style",
|
|
489
|
+
"aspSelectorName": "e-spreadsheet-cellstyle"
|
|
490
|
+
}
|
|
491
|
+
]
|
|
472
492
|
}
|
|
473
493
|
]
|
|
474
494
|
}
|
|
@@ -761,6 +781,11 @@
|
|
|
761
781
|
"aspSelectorName": "e-spreadsheet-cellstyle",
|
|
762
782
|
"aspClassName": "SpreadsheetCommonCellStyle",
|
|
763
783
|
"aspBuilderName": "SpreadsheetCellStyle"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"baseClass": "AIAssistSettings",
|
|
787
|
+
"propertyName": "aiAssistSettings",
|
|
788
|
+
"aspSelectorName": "e-spreadsheet-aiassistsettings"
|
|
764
789
|
}
|
|
765
790
|
],
|
|
766
791
|
"templateProperties": [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-spreadsheet.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 34.1.29
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. 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={
|
|
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={18:(e,t,n)=>{n.d(t,{Y0:()=>f,bA:()=>m,Dm:()=>v,_D:()=>D,iK:()=>b,SR:()=>R,RR:()=>B,GD:()=>g,NP:()=>T,U:()=>F,to:()=>h,bE:()=>_,fB:()=>j,EM:()=>P,Ze:()=>C,Av:()=>x,vZ:()=>p,uZ:()=>s,Yw:()=>c,$n:()=>u,sb:()=>Z});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)}}(),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.moduleName="row",t}(o.ComplexBase),s=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),_=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),d=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 d(t,e),t.moduleName="chart",t}(o.ComplexBase),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(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="richText",t}(o.ComplexBase),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.propertyName="richText",t.moduleName="richTexts",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)}}(),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return N(t,e),t.moduleName="column",t}(o.ComplexBase),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return N(t,e),t.propertyName="columns",t.moduleName="columns",t}(o.ComplexBase),w=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)}}(),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.moduleName="range",t}(o.ComplexBase),P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.propertyName="ranges",t.moduleName="ranges",t}(o.ComplexBase),S=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)}}(),B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.moduleName="conditionalFormat",t}(o.ComplexBase),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return S(t,e),t.propertyName="conditionalFormats",t.moduleName="conditionalFormats",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)}}(),T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.moduleName="definedName",t}(o.ComplexBase),F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.propertyName="definedNames",t.moduleName="definedNames",t}(o.ComplexBase),M=n(24),I=n(960),q=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)}}(),Z=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",richTexts:"richText"}}}},columns:"column",ranges:"range",conditionalFormats:"conditionalFormat"}},definedNames:"definedName"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.isReactMock=!0,n.portals=[],n}return q(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return M.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(I.Spreadsheet);(0,o.applyMixins)(Z,[o.ComponentBase,M.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,RichTextDirective:()=>e.Ze,RichTextsDirective:()=>e.Av,RowDirective:()=>e.vZ,RowsDirective:()=>e.uZ,SheetDirective:()=>e.Yw,SheetsDirective:()=>e.$n,SpreadsheetComponent:()=>e.sb});var e=i(18),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","RichTextDirective","RichTextsDirective","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 :
|
|
3
|
+
* version : 34.1.29
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. 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
|
|
10
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(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"],e):e((t=t||self).ej={},t.ej2ReactBase,t.React,t.ej2Spreadsheet)}(this,function(e,t,M,o){"use strict";n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var n,r,i=function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},S=(r=t.ComplexBase,i(q,r),q.moduleName="sheet",q);function q(){return null!==r&&r.apply(this,arguments)||this}c=t.ComplexBase,i(a,c),a.propertyName="sheets",a.moduleName="sheets";var c,i=a;function a(){return null!==c&&c.apply(this,arguments)||this}E=function(t,e){return(E=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var E,p,U=function(t,e){function o(){this.constructor=t}E(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},z=(p=t.ComplexBase,U(G,p),G.moduleName="row",G);function G(){return null!==p&&p.apply(this,arguments)||this}s=t.ComplexBase,U(u,s),u.propertyName="rows",u.moduleName="rows";var s,U=u;function u(){return null!==s&&s.apply(this,arguments)||this}H=function(t,e){return(H=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var H,l,J=function(t,e){function o(){this.constructor=t}H(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},K=(l=t.ComplexBase,J(L,l),L.moduleName="cell",L);function L(){return null!==l&&l.apply(this,arguments)||this}f=t.ComplexBase,J(m,f),m.propertyName="cells",m.moduleName="cells";var f,J=m;function m(){return null!==f&&f.apply(this,arguments)||this}Q=function(t,e){return(Q=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var Q,y,V=function(t,e){function o(){this.constructor=t}Q(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},W=(y=t.ComplexBase,V(X,y),X.moduleName="image",X);function X(){return null!==y&&y.apply(this,arguments)||this}h=t.ComplexBase,V(_,h),_.propertyName="image",_.moduleName="images";var h,V=_;function _(){return null!==h&&h.apply(this,arguments)||this}Y=function(t,e){return(Y=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var Y,d,Z=function(t,e){function o(){this.constructor=t}Y(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},$=(d=t.ComplexBase,Z(tt,d),tt.moduleName="chart",tt);function tt(){return null!==d&&d.apply(this,arguments)||this}v=t.ComplexBase,Z(O,v),O.propertyName="chart",O.moduleName="charts";var v,Z=O;function O(){return null!==v&&v.apply(this,arguments)||this}et=function(t,e){return(et=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var et,j,ot=function(t,e){function o(){this.constructor=t}et(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},nt=(j=t.ComplexBase,ot(rt,j),rt.moduleName="richText",rt);function rt(){return null!==j&&j.apply(this,arguments)||this}N=t.ComplexBase,ot(C,N),C.propertyName="richText",C.moduleName="richTexts";var N,ot=C;function C(){return null!==N&&N.apply(this,arguments)||this}it=function(t,e){return(it=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var it,b,ct=function(t,e){function o(){this.constructor=t}it(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},at=(b=t.ComplexBase,ct(pt,b),pt.moduleName="column",pt);function pt(){return null!==b&&b.apply(this,arguments)||this}x=t.ComplexBase,ct(w,x),w.propertyName="columns",w.moduleName="columns";var x,ct=w;function w(){return null!==x&&x.apply(this,arguments)||this}st=function(t,e){return(st=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var st,P,ut=function(t,e){function o(){this.constructor=t}st(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},lt=(P=t.ComplexBase,ut(ft,P),ft.moduleName="range",ft);function ft(){return null!==P&&P.apply(this,arguments)||this}D=t.ComplexBase,ut(B,D),B.propertyName="ranges",B.moduleName="ranges";var D,ut=B;function B(){return null!==D&&D.apply(this,arguments)||this}mt=function(t,e){return(mt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var mt,g,yt=function(t,e){function o(){this.constructor=t}mt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},ht=(g=t.ComplexBase,yt(_t,g),_t.moduleName="conditionalFormat",_t);function _t(){return null!==g&&g.apply(this,arguments)||this}R=t.ComplexBase,yt(A,R),A.propertyName="conditionalFormats",A.moduleName="conditionalFormats";var R,yt=A;function A(){return null!==R&&R.apply(this,arguments)||this}dt=function(t,e){return(dt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var dt,F,vt=function(t,e){function o(){this.constructor=t}dt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},Ot=(F=t.ComplexBase,vt(jt,F),jt.moduleName="definedName",jt);function jt(){return null!==F&&F.apply(this,arguments)||this}T=t.ComplexBase,vt(k,T),k.propertyName="definedNames",k.moduleName="definedNames";var T,vt=k;function k(){return null!==T&&T.apply(this,arguments)||this}Nt=function(t,e){return(Nt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])}))(t,e)};var Nt,I,Ct=function(t,e){function o(){this.constructor=t}Nt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},Ct=(I=o.Spreadsheet,Ct(bt,I),bt.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return M.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));I.prototype.render.call(this),this.initRenderCalled=!0},bt);function bt(t){t=I.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!0,t.directivekeys={sheets:{sheet:{rows:{row:{cells:{cell:{images:"image",charts:"chart",richTexts:"richText"}}}},columns:"column",ranges:"range",conditionalFormats:"conditionalFormat"}},definedNames:"definedName"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(Ct,[t.ComponentBase,M.Component]),Object.keys(o).forEach(function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})}),Object.defineProperty(e,"Inject",{enumerable:!0,get:function(){return t.Inject}}),e.CellDirective=K,e.CellsDirective=J,e.ChartDirective=$,e.ChartsDirective=Z,e.ColumnDirective=at,e.ColumnsDirective=ct,e.ConditionalFormatDirective=ht,e.ConditionalFormatsDirective=yt,e.DefinedNameDirective=Ot,e.DefinedNamesDirective=vt,e.ImageDirective=W,e.ImagesDirective=V,e.RangeDirective=lt,e.RangesDirective=ut,e.RichTextDirective=nt,e.RichTextsDirective=ot,e.RowDirective=z,e.RowsDirective=U,e.SheetDirective=S,e.SheetsDirective=i,e.SpreadsheetComponent=Ct,Object.defineProperty(e,"__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.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,EAAG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AkB,CAAA,EACxBjB,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHf,GAAsB,CAACiC,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/richtext-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';\nvar RichTextDirective = /** @class */ (function (_super) {\n __extends(RichTextDirective, _super);\n function RichTextDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RichTextDirective.moduleName = 'richText';\n return RichTextDirective;\n}(ComplexBase));\nexport { RichTextDirective };\nvar RichTextsDirective = /** @class */ (function (_super) {\n __extends(RichTextsDirective, _super);\n function RichTextsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RichTextsDirective.propertyName = 'richText';\n RichTextsDirective.moduleName = 'richTexts';\n return RichTextsDirective;\n}(ComplexBase));\nexport { RichTextsDirective };\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', 'richTexts': 'richText' } } } }, '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","RichTextDirective","RichTextsDirective","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","richTexts","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,EAIhCO,E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C,IAAI,EACjCA,KAAKkC,iBAAmB,CAAA,GAMzBL,IAtBP,SAASA,GAAqBW,GACtBI,EAAQ/C,EAAO8C,KAAK3C,KAAMwC,CAAK,GAAKxC,KASxC,OARA4C,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,QAASC,UAAa,eAAoBC,QAAW,SAAUC,OAAU,QAASC,mBAAsB,sBAAyBC,aAAgB,eACrQf,EAAMgB,uBAAyB,KAC/BhB,EAAMiB,cAAgB,KACtBjB,EAAMkB,gBAAkB,CAAA,EACxBlB,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHf,GAAsB,CAACkC,gBAAeC,YAAgB"}
|
|
@@ -90,6 +90,14 @@ class ChartsDirective extends ComplexBase {
|
|
|
90
90
|
ChartsDirective.propertyName = 'chart';
|
|
91
91
|
ChartsDirective.moduleName = 'charts';
|
|
92
92
|
|
|
93
|
+
class RichTextDirective extends ComplexBase {
|
|
94
|
+
}
|
|
95
|
+
RichTextDirective.moduleName = 'richText';
|
|
96
|
+
class RichTextsDirective extends ComplexBase {
|
|
97
|
+
}
|
|
98
|
+
RichTextsDirective.propertyName = 'richText';
|
|
99
|
+
RichTextsDirective.moduleName = 'richTexts';
|
|
100
|
+
|
|
93
101
|
/**
|
|
94
102
|
* `ColumnDirective` represent a column of the React Spreadsheet.
|
|
95
103
|
* It must be contained in a `SheetDirective`.
|
|
@@ -190,7 +198,7 @@ class SpreadsheetComponent extends Spreadsheet {
|
|
|
190
198
|
super(props);
|
|
191
199
|
this.initRenderCalled = false;
|
|
192
200
|
this.checkInjectedModules = true;
|
|
193
|
-
this.directivekeys = { 'sheets': { 'sheet': { 'rows': { 'row': { 'cells': { 'cell': { 'images': 'image', 'charts': 'chart' } } } }, 'columns': 'column', 'ranges': 'range', 'conditionalFormats': 'conditionalFormat' } }, 'definedNames': 'definedName' };
|
|
201
|
+
this.directivekeys = { 'sheets': { 'sheet': { 'rows': { 'row': { 'cells': { 'cell': { 'images': 'image', 'charts': 'chart', 'richTexts': 'richText' } } } }, 'columns': 'column', 'ranges': 'range', 'conditionalFormats': 'conditionalFormat' } }, 'definedNames': 'definedName' };
|
|
194
202
|
this.statelessTemplateProps = null;
|
|
195
203
|
this.templateProps = null;
|
|
196
204
|
this.immediateRender = false;
|
|
@@ -210,5 +218,5 @@ class SpreadsheetComponent extends Spreadsheet {
|
|
|
210
218
|
}
|
|
211
219
|
applyMixins(SpreadsheetComponent, [ComponentBase, Component]);
|
|
212
220
|
|
|
213
|
-
export { CellDirective, CellsDirective, ChartDirective, ChartsDirective, ColumnDirective, ColumnsDirective, ConditionalFormatDirective, ConditionalFormatsDirective, DefinedNameDirective, DefinedNamesDirective, ImageDirective, ImagesDirective, RangeDirective, RangesDirective, RowDirective, RowsDirective, SheetDirective, SheetsDirective, SpreadsheetComponent };
|
|
221
|
+
export { CellDirective, CellsDirective, ChartDirective, ChartsDirective, ColumnDirective, ColumnsDirective, ConditionalFormatDirective, ConditionalFormatsDirective, DefinedNameDirective, DefinedNamesDirective, ImageDirective, ImagesDirective, RangeDirective, RangesDirective, RichTextDirective, RichTextsDirective, RowDirective, RowsDirective, SheetDirective, SheetsDirective, SpreadsheetComponent };
|
|
214
222
|
//# sourceMappingURL=ej2-react-spreadsheet.es2015.js.map
|
|
@@ -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.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;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C,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;AACjC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,oBAAoB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
|
|
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/richtext-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';\nexport class RichTextDirective extends ComplexBase {\n}\nRichTextDirective.moduleName = 'richText';\nexport class RichTextsDirective extends ComplexBase {\n}\nRichTextsDirective.propertyName = 'richText';\nRichTextsDirective.moduleName = 'richTexts';\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', 'richTexts': 'richText' } } } }, '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,AAAO,MAAM,eAAe,SAAS,WAAW,CAAC;AACjD,CAAC;AACD,eAAe,CAAC,YAAY,GAAG,OA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AI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;AACrC,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;AAChC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;AACjC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,oBAAoB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-react-spreadsheet",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "34.1.29",
|
|
4
4
|
"description": "Feature-rich JavaScript Spreadsheet (Excel) control with built-in support for selection, editing, formatting, importing and exporting to Excel for React",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"es2015": "dist/es6/ej2-react-spreadsheet.es2015.js",
|
|
19
19
|
"readme": "ReadMe.md",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@syncfusion/ej2-base": "~
|
|
22
|
-
"@syncfusion/ej2-react-base": "~
|
|
23
|
-
"@syncfusion/ej2-spreadsheet": "
|
|
21
|
+
"@syncfusion/ej2-base": "~34.1.29",
|
|
22
|
+
"@syncfusion/ej2-react-base": "~34.1.29",
|
|
23
|
+
"@syncfusion/ej2-spreadsheet": "34.1.29"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {},
|
|
26
26
|
"sideEffects": false,
|
|
@@ -3,6 +3,7 @@ export * from './rows-directive';
|
|
|
3
3
|
export * from './cells-directive';
|
|
4
4
|
export * from './image-directive';
|
|
5
5
|
export * from './chart-directive';
|
|
6
|
+
export * from './richtext-directive';
|
|
6
7
|
export * from './columns-directive';
|
|
7
8
|
export * from './ranges-directive';
|
|
8
9
|
export * from './conditionalformats-directive';
|
package/src/spreadsheet/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export * from './rows-directive';
|
|
|
3
3
|
export * from './cells-directive';
|
|
4
4
|
export * from './image-directive';
|
|
5
5
|
export * from './chart-directive';
|
|
6
|
+
export * from './richtext-directive';
|
|
6
7
|
export * from './columns-directive';
|
|
7
8
|
export * from './ranges-directive';
|
|
8
9
|
export * from './conditionalformats-directive';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
2
|
+
import { RichTextModel } from '@syncfusion/ej2-spreadsheet';
|
|
3
|
+
export declare class RichTextDirective extends ComplexBase<RichTextModel & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}, RichTextModel> {
|
|
6
|
+
static moduleName: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class RichTextsDirective extends ComplexBase<{}, {}> {
|
|
9
|
+
static propertyName: string;
|
|
10
|
+
static moduleName: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
15
|
+
var RichTextDirective = /** @class */ (function (_super) {
|
|
16
|
+
__extends(RichTextDirective, _super);
|
|
17
|
+
function RichTextDirective() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
RichTextDirective.moduleName = 'richText';
|
|
21
|
+
return RichTextDirective;
|
|
22
|
+
}(ComplexBase));
|
|
23
|
+
export { RichTextDirective };
|
|
24
|
+
var RichTextsDirective = /** @class */ (function (_super) {
|
|
25
|
+
__extends(RichTextsDirective, _super);
|
|
26
|
+
function RichTextsDirective() {
|
|
27
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
28
|
+
}
|
|
29
|
+
RichTextsDirective.propertyName = 'richText';
|
|
30
|
+
RichTextsDirective.moduleName = 'richTexts';
|
|
31
|
+
return RichTextsDirective;
|
|
32
|
+
}(ComplexBase));
|
|
33
|
+
export { RichTextsDirective };
|
|
@@ -26,7 +26,7 @@ var SpreadsheetComponent = /** @class */ (function (_super) {
|
|
|
26
26
|
var _this = _super.call(this, props) || this;
|
|
27
27
|
_this.initRenderCalled = false;
|
|
28
28
|
_this.checkInjectedModules = true;
|
|
29
|
-
_this.directivekeys = { 'sheets': { 'sheet': { 'rows': { 'row': { 'cells': { 'cell': { 'images': 'image', 'charts': 'chart' } } } }, 'columns': 'column', 'ranges': 'range', 'conditionalFormats': 'conditionalFormat' } }, 'definedNames': 'definedName' };
|
|
29
|
+
_this.directivekeys = { 'sheets': { 'sheet': { 'rows': { 'row': { 'cells': { 'cell': { 'images': 'image', 'charts': 'chart', 'richTexts': 'richText' } } } }, 'columns': 'column', 'ranges': 'range', 'conditionalFormats': 'conditionalFormat' } }, 'definedNames': 'definedName' };
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
31
|
_this.templateProps = null;
|
|
32
32
|
_this.immediateRender = false;
|
package/styles/bds-lite.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/bds-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/bds-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/bootstrap-dark-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/bootstrap-dark-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/bootstrap-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/bootstrap-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/bootstrap4-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/bootstrap4-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/bootstrap5-dark-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/bootstrap5-dark-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/bootstrap5-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/bootstrap5-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/bootstrap5.3-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/bootstrap5.3-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/fabric-dark-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/fabric-dark-lite' as *;
|
package/styles/fabric-lite.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/fabric-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/fabric-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/fluent-dark-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/fluent-dark-lite' as *;
|
package/styles/fluent-lite.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/fluent-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/fluent-lite' as *;
|
package/styles/fluent2-lite.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/fluent2-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/fluent2-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/highcontrast-light-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/highcontrast-light-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/highcontrast-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/highcontrast-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/material-dark-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/material-dark-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/material-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/material-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/material3-dark-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/material3-dark-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/material3-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/material3-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/bds' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/bds' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/bootstrap-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/bootstrap-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/bootstrap' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/bootstrap' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/bootstrap4' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/bootstrap4' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/bootstrap5-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/bootstrap5-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/bootstrap5.3' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/bootstrap5.3' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/bootstrap5' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/bootstrap5' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/fabric-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/fabric-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/fabric' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/fabric' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/fluent-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/fluent-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/fluent' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/fluent' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/fluent2' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/fluent2' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/highcontrast-light' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/highcontrast-light' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/highcontrast' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/highcontrast' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/material-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/material-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/material' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/material' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/material3-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/material3-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/material3' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/material3' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/tailwind-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/tailwind-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/tailwind' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/tailwind' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet/tailwind3' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet/tailwind3' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/bds' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/bds' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap4' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap4' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap5-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap5-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap5.3' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap5.3' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap5' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/bootstrap5' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/fabric-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/fabric-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/fabric' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/fabric' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/fluent-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/fluent-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/fluent' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/fluent' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/fluent2' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/fluent2' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/highcontrast-light' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/highcontrast-light' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/highcontrast' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/highcontrast' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/material-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/material-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/material' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/material' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/material3-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/material3-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/material3' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/material3' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/tailwind-dark' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/tailwind-dark' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/tailwind' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/tailwind' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/styles/spreadsheet-ribbon/tailwind3' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/styles/spreadsheet-ribbon/tailwind3' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/tailwind-dark-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/tailwind-dark-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/tailwind-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/tailwind-lite' as *;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@use 'ej2-spreadsheet/tailwind3-lite' as *;
|
|
1
|
+
@use '@syncfusion/ej2-spreadsheet/tailwind3-lite' as *;
|