@syncfusion/ej2-react-spreadsheet 35.1.40 → 35.1.41
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 +62 -0
- 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 +25 -2
- package/dist/es6/ej2-react-spreadsheet.es2015.js.map +1 -1
- package/package.json +2 -2
- package/src/spreadsheet/formcontrols-directive.d.ts +26 -0
- package/src/spreadsheet/formcontrols-directive.js +48 -0
- package/src/spreadsheet/index.d.ts +1 -0
- package/src/spreadsheet/index.js +1 -0
- package/src/spreadsheet/spreadsheet.component.js +1 -1
package/diConfig.json
CHANGED
|
@@ -711,6 +711,68 @@
|
|
|
711
711
|
" * ```",
|
|
712
712
|
" */"
|
|
713
713
|
]
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"baseClass": "FormControl",
|
|
717
|
+
"propertyName": "formControls",
|
|
718
|
+
"directoryName": "spreadsheet",
|
|
719
|
+
"directiveClassName": "FormControl",
|
|
720
|
+
"arrayDirectiveClassName": "FormControls",
|
|
721
|
+
"aspArrayClassName": "FormControl",
|
|
722
|
+
"aspCollectionClassName": "FormControls",
|
|
723
|
+
"aspDirectiveSelector": "e-spreadsheet-formcontrol",
|
|
724
|
+
"aspArrayDirectiveSelector": "e-spreadsheet-formcontrols",
|
|
725
|
+
"comment": [
|
|
726
|
+
"/**",
|
|
727
|
+
" * `e-formcontrol` directive represent a formcontrol of the Angular Spreadsheet.",
|
|
728
|
+
" * It must be contained in a `e-sheet` directive.",
|
|
729
|
+
" * ```html",
|
|
730
|
+
" * <ejs-spreadsheet>",
|
|
731
|
+
" * <e-sheets>",
|
|
732
|
+
" * <e-sheet>",
|
|
733
|
+
" * <e-formcontrols>",
|
|
734
|
+
" * <e-formcontrol></e-formcontrol>",
|
|
735
|
+
" * </e-formcontrols>",
|
|
736
|
+
" * </e-sheet>",
|
|
737
|
+
" * </e-sheets>",
|
|
738
|
+
" * </ejs-spreadsheet>",
|
|
739
|
+
" * ```",
|
|
740
|
+
" */"
|
|
741
|
+
],
|
|
742
|
+
"reactComment": [
|
|
743
|
+
"/**",
|
|
744
|
+
" * `FormControlDirective` represent a formcontrol of the React Spreadsheet.",
|
|
745
|
+
" * It must be contained in a `SheetDirective`.",
|
|
746
|
+
" * ```ts",
|
|
747
|
+
" * <SpreadsheetComponent>",
|
|
748
|
+
" * <SheetsDirective>",
|
|
749
|
+
" * <SheetDirective>",
|
|
750
|
+
" * FormControlsDirective>",
|
|
751
|
+
" * <FormControlDirective dataSource={data}></FormControlDirective>",
|
|
752
|
+
" * </FormControlsDirective>",
|
|
753
|
+
" * </SheetDirective>",
|
|
754
|
+
" * </SheetsDirective>",
|
|
755
|
+
" * </SpreadsheetComponent>",
|
|
756
|
+
" * ```",
|
|
757
|
+
" */"
|
|
758
|
+
],
|
|
759
|
+
"vueComment": [
|
|
760
|
+
"/**",
|
|
761
|
+
" * `e-formcontrol` directive represent a formcontrol of the VueJS Spreadsheet.",
|
|
762
|
+
" * It must be contained in a `e-sheet` directive.",
|
|
763
|
+
" * ```html",
|
|
764
|
+
" * <ejs-spreadsheet>",
|
|
765
|
+
" * <e-sheets>",
|
|
766
|
+
" * <e-sheet>",
|
|
767
|
+
" * <e-formcontrols>",
|
|
768
|
+
" * <e-formcontrol></e-formcontrol>",
|
|
769
|
+
" * </e-formcontrols>",
|
|
770
|
+
" * </e-sheet>",
|
|
771
|
+
" * </e-sheets>",
|
|
772
|
+
" * </ejs-spreadsheet>",
|
|
773
|
+
" * ```",
|
|
774
|
+
" */"
|
|
775
|
+
]
|
|
714
776
|
}
|
|
715
777
|
]
|
|
716
778
|
},
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-spreadsheet.min.js
|
|
3
|
-
* version : 35.1.
|
|
3
|
+
* version : 35.1.41
|
|
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={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})());
|
|
10
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionSpreadsheet")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionSpreadsheet"],e):"object"==typeof exports?exports.SyncfusionReactSpreadsheet=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionSpreadsheet")):t.SyncfusionReactSpreadsheet=e(t.SyncfusionReactBase,t.React,t.SyncfusionSpreadsheet)}(self,(t,e,n)=>(()=>{"use strict";var r={888:(t,e,n)=>{n.d(e,{Y0:()=>f,bA:()=>m,Dm:()=>v,_D:()=>D,iK:()=>b,SR:()=>w,RR:()=>B,GD:()=>g,NP:()=>I,U:()=>q,oH:()=>F,uv:()=>T,to:()=>h,bE:()=>_,fB:()=>R,EM:()=>P,Ze:()=>O,Av:()=>x,vZ:()=>p,uZ:()=>s,Yw:()=>c,$n:()=>u,sb:()=>Y});var r,o=n(705),i=(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.moduleName="sheet",e}(o.ComplexBase),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.propertyName="sheets",e.moduleName="sheets",e}(o.ComplexBase),a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.moduleName="row",e}(o.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.propertyName="rows",e.moduleName="rows",e}(o.ComplexBase),l=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.moduleName="cell",e}(o.ComplexBase),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.propertyName="cells",e.moduleName="cells",e}(o.ComplexBase),y=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.moduleName="image",e}(o.ComplexBase),_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.propertyName="image",e.moduleName="images",e}(o.ComplexBase),d=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.moduleName="chart",e}(o.ComplexBase),D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.propertyName="chart",e.moduleName="charts",e}(o.ComplexBase),C=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return C(e,t),e.moduleName="richText",e}(o.ComplexBase),x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return C(e,t),e.propertyName="richText",e.moduleName="richTexts",e}(o.ComplexBase),N=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return N(e,t),e.moduleName="column",e}(o.ComplexBase),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return N(e,t),e.propertyName="columns",e.moduleName="columns",e}(o.ComplexBase),j=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return j(e,t),e.moduleName="range",e}(o.ComplexBase),P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return j(e,t),e.propertyName="ranges",e.moduleName="ranges",e}(o.ComplexBase),S=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return S(e,t),e.moduleName="conditionalFormat",e}(o.ComplexBase),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return S(e,t),e.propertyName="conditionalFormats",e.moduleName="conditionalFormats",e}(o.ComplexBase),A=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),F=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return A(e,t),e.moduleName="formControl",e}(o.ComplexBase),T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return A(e,t),e.propertyName="formControls",e.moduleName="formControls",e}(o.ComplexBase),M=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),I=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return M(e,t),e.moduleName="definedName",e}(o.ComplexBase),q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return M(e,t),e.propertyName="definedNames",e.moduleName="definedNames",e}(o.ComplexBase),Z=n(24),E=n(960),k=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Y=function(t){function e(e){var n=t.call(this,e)||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",formControls:"formControl"}},definedNames:"definedName"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.isReactMock=!0,n.portals=[],n}return k(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return Z.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(E.Spreadsheet);(0,o.applyMixins)(Y,[o.ComponentBase,Z.Component])},24:t=>{t.exports=e},705:e=>{e.exports=t},960:t=>{t.exports=n}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var n=o[t]={exports:{}};return r[t](n,n.exports,i),n.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var c={};return(()=>{i.r(c),i.d(c,{CellDirective:()=>t.Y0,CellsDirective:()=>t.bA,ChartDirective:()=>t.Dm,ChartsDirective:()=>t._D,ColumnDirective:()=>t.iK,ColumnsDirective:()=>t.SR,ConditionalFormatDirective:()=>t.RR,ConditionalFormatsDirective:()=>t.GD,DefinedNameDirective:()=>t.NP,DefinedNamesDirective:()=>t.U,FormControlDirective:()=>t.oH,FormControlsDirective:()=>t.uv,ImageDirective:()=>t.to,ImagesDirective:()=>t.bE,Inject:()=>e.Inject,RangeDirective:()=>t.fB,RangesDirective:()=>t.EM,RichTextDirective:()=>t.Ze,RichTextsDirective:()=>t.Av,RowDirective:()=>t.vZ,RowsDirective:()=>t.uZ,SheetDirective:()=>t.Yw,SheetsDirective:()=>t.$n,SpreadsheetComponent:()=>t.sb});var t=i(888),e=i(705),n=i(960),r={};for(const t in n)["default","Inject","CellDirective","CellsDirective","ChartDirective","ChartsDirective","ColumnDirective","ColumnsDirective","ConditionalFormatDirective","ConditionalFormatsDirective","DefinedNameDirective","DefinedNamesDirective","FormControlDirective","FormControlsDirective","ImageDirective","ImagesDirective","RangeDirective","RangesDirective","RichTextDirective","RichTextsDirective","RowDirective","RowsDirective","SheetDirective","SheetsDirective","SpreadsheetComponent"].indexOf(t)<0&&(r[t]=()=>n[t]);i.d(c,r)})(),c})());
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-spreadsheet.umd.min.js
|
|
3
|
-
* version : 35.1.
|
|
3
|
+
* version : 35.1.41
|
|
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(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,
|
|
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,S){"use strict";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,o,E=function(t,e){function o(){this.constructor=t}q(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},U=(o=t.ComplexBase,E(z,o),z.moduleName="sheet",z);function z(){return null!==o&&o.apply(this,arguments)||this}r=t.ComplexBase,E(n,r),n.propertyName="sheets",n.moduleName="sheets";var r,E=n;function n(){return null!==r&&r.apply(this,arguments)||this}G=function(t,e){return(G=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 G,i,H=function(t,e){function o(){this.constructor=t}G(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},J=(i=t.ComplexBase,H(K,i),K.moduleName="row",K);function K(){return null!==i&&i.apply(this,arguments)||this}c=t.ComplexBase,H(a,c),a.propertyName="rows",a.moduleName="rows";var c,H=a;function a(){return null!==c&&c.apply(this,arguments)||this}L=function(t,e){return(L=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 L,p,Q=function(t,e){function o(){this.constructor=t}L(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},V=(p=t.ComplexBase,Q(W,p),W.moduleName="cell",W);function W(){return null!==p&&p.apply(this,arguments)||this}s=t.ComplexBase,Q(u,s),u.propertyName="cells",u.moduleName="cells";var s,Q=u;function u(){return null!==s&&s.apply(this,arguments)||this}X=function(t,e){return(X=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 X,l,Y=function(t,e){function o(){this.constructor=t}X(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},Z=(l=t.ComplexBase,Y($,l),$.moduleName="image",$);function $(){return null!==l&&l.apply(this,arguments)||this}f=t.ComplexBase,Y(m,f),m.propertyName="image",m.moduleName="images";var f,Y=m;function m(){return null!==f&&f.apply(this,arguments)||this}tt=function(t,e){return(tt=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 tt,y,et=function(t,e){function o(){this.constructor=t}tt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},ot=(y=t.ComplexBase,et(rt,y),rt.moduleName="chart",rt);function rt(){return null!==y&&y.apply(this,arguments)||this}h=t.ComplexBase,et(_,h),_.propertyName="chart",_.moduleName="charts";var h,et=_;function _(){return null!==h&&h.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,d,it=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=(d=t.ComplexBase,it(at,d),at.moduleName="richText",at);function at(){return null!==d&&d.apply(this,arguments)||this}v=t.ComplexBase,it(O,v),O.propertyName="richText",O.moduleName="richTexts";var v,it=O;function O(){return null!==v&&v.apply(this,arguments)||this}pt=function(t,e){return(pt=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 pt,C,st=function(t,e){function o(){this.constructor=t}pt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},ut=(C=t.ComplexBase,st(lt,C),lt.moduleName="column",lt);function lt(){return null!==C&&C.apply(this,arguments)||this}N=t.ComplexBase,st(j,N),j.propertyName="columns",j.moduleName="columns";var N,st=j;function j(){return null!==N&&N.apply(this,arguments)||this}ft=function(t,e){return(ft=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 ft,b,mt=function(t,e){function o(){this.constructor=t}ft(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},yt=(b=t.ComplexBase,mt(ht,b),ht.moduleName="range",ht);function ht(){return null!==b&&b.apply(this,arguments)||this}x=t.ComplexBase,mt(w,x),w.propertyName="ranges",w.moduleName="ranges";var x,mt=w;function w(){return null!==x&&x.apply(this,arguments)||this}_t=function(t,e){return(_t=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 _t,P,dt=function(t,e){function o(){this.constructor=t}_t(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},vt=(P=t.ComplexBase,dt(Ot,P),Ot.moduleName="conditionalFormat",Ot);function Ot(){return null!==P&&P.apply(this,arguments)||this}D=t.ComplexBase,dt(B,D),B.propertyName="conditionalFormats",B.moduleName="conditionalFormats";var D,dt=B;function B(){return null!==D&&D.apply(this,arguments)||this}Ct=function(t,e){return(Ct=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 Ct,g,Nt=function(t,e){function o(){this.constructor=t}Ct(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},jt=(g=t.ComplexBase,Nt(bt,g),bt.moduleName="formControl",bt);function bt(){return null!==g&&g.apply(this,arguments)||this}R=t.ComplexBase,Nt(A,R),A.propertyName="formControls",A.moduleName="formControls";var R,Nt=A;function A(){return null!==R&&R.apply(this,arguments)||this}xt=function(t,e){return(xt=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 xt,F,wt=function(t,e){function o(){this.constructor=t}xt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},Pt=(F=t.ComplexBase,wt(Dt,F),Dt.moduleName="definedName",Dt);function Dt(){return null!==F&&F.apply(this,arguments)||this}T=t.ComplexBase,wt(k,T),k.propertyName="definedNames",k.moduleName="definedNames";var T,wt=k;function k(){return null!==T&&T.apply(this,arguments)||this}Bt=function(t,e){return(Bt=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 Bt,I,gt=function(t,e){function o(){this.constructor=t}Bt(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)},gt=(I=S.Spreadsheet,gt(Rt,I),Rt.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},Rt);function Rt(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",formControls:"formControl"}},definedNames:"definedName"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(gt,[t.ComponentBase,M.Component]),Object.keys(S).forEach(function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return S[t]}})}),Object.defineProperty(e,"Inject",{enumerable:!0,get:function(){return t.Inject}}),e.CellDirective=V,e.CellsDirective=Q,e.ChartDirective=ot,e.ChartsDirective=et,e.ColumnDirective=ut,e.ColumnsDirective=st,e.ConditionalFormatDirective=vt,e.ConditionalFormatsDirective=dt,e.DefinedNameDirective=Pt,e.DefinedNamesDirective=wt,e.FormControlDirective=jt,e.FormControlsDirective=Nt,e.ImageDirective=Z,e.ImagesDirective=Y,e.RangeDirective=yt,e.RangesDirective=mt,e.RichTextDirective=ct,e.RichTextsDirective=it,e.RowDirective=J,e.RowsDirective=H,e.SheetDirective=U,e.SheetsDirective=E,e.SpreadsheetComponent=gt,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/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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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,KAA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IAYnF8B,IAAgDhC,EAyBlDiC,cAxBEhC,GAAU+B,GAAsBhC,CAAM,EAatCgC,GAAqB3B,UAAU6B,OAAS,WAEpC,GADA/B,KAAKgC,YAAc,CAAA,EACf,EAAEhC,KAAKiC,SAAW,CAACjC,KAAKkC,kBAAqBlC,KAAKmC,aAAgBnC,KAAKoC,oBAKvE,OAAOC,gBAAoB,MAAOrC,KAAKsC,uBAAwB,GAAGC,OAAOvC,KAAKwC,MAAMC,SAAUzC,KAAK0C,OAAO,CAAC,EAJ3G7C,EAAOK,UAAU6B,OAAOY,KAAK3C,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"}
|
|
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/formcontrols-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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * `FormControlDirective` represent a formcontrol of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```ts\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * FormControlsDirective>\n * <FormControlDirective dataSource={data}></FormControlDirective>\n * </FormControlsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nvar FormControlDirective = /** @class */ (function (_super) {\n __extends(FormControlDirective, _super);\n function FormControlDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n FormControlDirective.moduleName = 'formControl';\n return FormControlDirective;\n}(ComplexBase));\nexport { FormControlDirective };\nvar FormControlsDirective = /** @class */ (function (_super) {\n __extends(FormControlsDirective, _super);\n function FormControlsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n FormControlsDirective.propertyName = 'formControls';\n FormControlsDirective.moduleName = 'formControls';\n return FormControlsDirective;\n}(ComplexBase));\nexport { FormControlsDirective };\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 * ```ts\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 * ```ts\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', 'formControls': 'formControl' } }, '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","FormControlDirective","FormControlsDirective","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","formControls","definedNames","statelessTemplateProps","templatePro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AKqC,aAAgBrC,KAAKsC,oBAKvE,OAAOC,gBAAoB,MAAOvC,KAAKwC,uBAAwB,GAAGC,OAAOzC,KAAK0C,MAAMC,SAAU3C,KAAK4C,OAAO,CAAC,EAJ3G/C,EAAOK,UAAU+B,OAAOY,KAAK7C,IAAI,EACjCA,KAAKoC,iBAAmB,CAAA,GAMzBL,IAtBP,SAASA,GAAqBW,GACtBI,EAAQjD,EAAOgD,KAAK7C,KAAM0C,CAAK,GAAK1C,KASxC,OARA8C,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,oBAAqBC,aAAgB,gBAAmBC,aAAgB,eACpShB,EAAMiB,uBAAyB,KAC/BjB,EAAMkB,cAAgB,KACtBlB,EAAMmB,gBAAkB,CAAA,EACxBnB,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHf,GAAsB,CAACmC,gBAAeC,YAAgB"}
|
|
@@ -167,6 +167,29 @@ class ConditionalFormatsDirective extends ComplexBase {
|
|
|
167
167
|
ConditionalFormatsDirective.propertyName = 'conditionalFormats';
|
|
168
168
|
ConditionalFormatsDirective.moduleName = 'conditionalFormats';
|
|
169
169
|
|
|
170
|
+
/**
|
|
171
|
+
* `FormControlDirective` represent a formcontrol of the React Spreadsheet.
|
|
172
|
+
* It must be contained in a `SheetDirective`.
|
|
173
|
+
* ```ts
|
|
174
|
+
* <SpreadsheetComponent>
|
|
175
|
+
* <SheetsDirective>
|
|
176
|
+
* <SheetDirective>
|
|
177
|
+
* FormControlsDirective>
|
|
178
|
+
* <FormControlDirective dataSource={data}></FormControlDirective>
|
|
179
|
+
* </FormControlsDirective>
|
|
180
|
+
* </SheetDirective>
|
|
181
|
+
* </SheetsDirective>
|
|
182
|
+
* </SpreadsheetComponent>
|
|
183
|
+
* ```
|
|
184
|
+
*/
|
|
185
|
+
class FormControlDirective extends ComplexBase {
|
|
186
|
+
}
|
|
187
|
+
FormControlDirective.moduleName = 'formControl';
|
|
188
|
+
class FormControlsDirective extends ComplexBase {
|
|
189
|
+
}
|
|
190
|
+
FormControlsDirective.propertyName = 'formControls';
|
|
191
|
+
FormControlsDirective.moduleName = 'formControls';
|
|
192
|
+
|
|
170
193
|
/**
|
|
171
194
|
* `DefinedNameDirective` represent a defined name of the React Spreadsheet.
|
|
172
195
|
* It must be contained in a Spreadsheet component(`SpreadsheetComponent`).
|
|
@@ -198,7 +221,7 @@ class SpreadsheetComponent extends Spreadsheet {
|
|
|
198
221
|
super(props);
|
|
199
222
|
this.initRenderCalled = false;
|
|
200
223
|
this.checkInjectedModules = true;
|
|
201
|
-
this.directivekeys = { 'sheets': { 'sheet': { 'rows': { 'row': { 'cells': { 'cell': { 'images': 'image', 'charts': 'chart', 'richTexts': 'richText' } } } }, 'columns': 'column', 'ranges': 'range', 'conditionalFormats': 'conditionalFormat' } }, 'definedNames': 'definedName' };
|
|
224
|
+
this.directivekeys = { 'sheets': { 'sheet': { 'rows': { 'row': { 'cells': { 'cell': { 'images': 'image', 'charts': 'chart', 'richTexts': 'richText' } } } }, 'columns': 'column', 'ranges': 'range', 'conditionalFormats': 'conditionalFormat', 'formControls': 'formControl' } }, 'definedNames': 'definedName' };
|
|
202
225
|
this.statelessTemplateProps = null;
|
|
203
226
|
this.templateProps = null;
|
|
204
227
|
this.immediateRender = false;
|
|
@@ -218,5 +241,5 @@ class SpreadsheetComponent extends Spreadsheet {
|
|
|
218
241
|
}
|
|
219
242
|
applyMixins(SpreadsheetComponent, [ComponentBase, Component]);
|
|
220
243
|
|
|
221
|
-
export { CellDirective, CellsDirective, ChartDirective, ChartsDirective, ColumnDirective, ColumnsDirective, ConditionalFormatDirective, ConditionalFormatsDirective, DefinedNameDirective, DefinedNamesDirective, ImageDirective, ImagesDirective, RangeDirective, RangesDirective, RichTextDirective, RichTextsDirective, RowDirective, RowsDirective, SheetDirective, SheetsDirective, SpreadsheetComponent };
|
|
244
|
+
export { CellDirective, CellsDirective, ChartDirective, ChartsDirective, ColumnDirective, ColumnsDirective, ConditionalFormatDirective, ConditionalFormatsDirective, DefinedNameDirective, DefinedNamesDirective, FormControlDirective, FormControlsDirective, ImageDirective, ImagesDirective, RangeDirective, RangesDirective, RichTextDirective, RichTextsDirective, RowDirective, RowsDirective, SheetDirective, SheetsDirective, SpreadsheetComponent };
|
|
222
245
|
//# 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/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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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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AAM,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/formcontrols-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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * ```ts\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 * `FormControlDirective` represent a formcontrol of the React Spreadsheet.\n * It must be contained in a `SheetDirective`.\n * ```ts\n * <SpreadsheetComponent>\n * <SheetsDirective>\n * <SheetDirective>\n * FormControlsDirective>\n * <FormControlDirective dataSource={data}></FormControlDirective>\n * </FormControlsDirective>\n * </SheetDirective>\n * </SheetsDirective>\n * </SpreadsheetComponent>\n * ```\n */\nexport class FormControlDirective extends ComplexBase {\n}\nFormControlDirective.moduleName = 'formControl';\nexport class FormControlsDirective extends ComplexBase {\n}\nFormControlsDirective.propertyName = 'formControls';\nFormControlsDirective.moduleName = 'formControls';\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 * ```ts\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 * ```ts\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', 'formControls': 'formControl' } }, '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,aA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,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": "35.1.
|
|
3
|
+
"version": "35.1.41",
|
|
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",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@syncfusion/ej2-base": "~35.1.37",
|
|
22
22
|
"@syncfusion/ej2-react-base": "~35.1.37",
|
|
23
|
-
"@syncfusion/ej2-spreadsheet": "35.1.
|
|
23
|
+
"@syncfusion/ej2-spreadsheet": "35.1.41"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {},
|
|
26
26
|
"sideEffects": false,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
2
|
+
import { FormControlModel } from '@syncfusion/ej2-spreadsheet';
|
|
3
|
+
/**
|
|
4
|
+
* `FormControlDirective` represent a formcontrol of the React Spreadsheet.
|
|
5
|
+
* It must be contained in a `SheetDirective`.
|
|
6
|
+
* ```ts
|
|
7
|
+
* <SpreadsheetComponent>
|
|
8
|
+
* <SheetsDirective>
|
|
9
|
+
* <SheetDirective>
|
|
10
|
+
* FormControlsDirective>
|
|
11
|
+
* <FormControlDirective dataSource={data}></FormControlDirective>
|
|
12
|
+
* </FormControlsDirective>
|
|
13
|
+
* </SheetDirective>
|
|
14
|
+
* </SheetsDirective>
|
|
15
|
+
* </SpreadsheetComponent>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare class FormControlDirective extends ComplexBase<FormControlModel & {
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
}, FormControlModel> {
|
|
21
|
+
static moduleName: string;
|
|
22
|
+
}
|
|
23
|
+
export declare class FormControlsDirective extends ComplexBase<{}, {}> {
|
|
24
|
+
static propertyName: string;
|
|
25
|
+
static moduleName: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
/**
|
|
16
|
+
* `FormControlDirective` represent a formcontrol of the React Spreadsheet.
|
|
17
|
+
* It must be contained in a `SheetDirective`.
|
|
18
|
+
* ```ts
|
|
19
|
+
* <SpreadsheetComponent>
|
|
20
|
+
* <SheetsDirective>
|
|
21
|
+
* <SheetDirective>
|
|
22
|
+
* FormControlsDirective>
|
|
23
|
+
* <FormControlDirective dataSource={data}></FormControlDirective>
|
|
24
|
+
* </FormControlsDirective>
|
|
25
|
+
* </SheetDirective>
|
|
26
|
+
* </SheetsDirective>
|
|
27
|
+
* </SpreadsheetComponent>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
var FormControlDirective = /** @class */ (function (_super) {
|
|
31
|
+
__extends(FormControlDirective, _super);
|
|
32
|
+
function FormControlDirective() {
|
|
33
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
34
|
+
}
|
|
35
|
+
FormControlDirective.moduleName = 'formControl';
|
|
36
|
+
return FormControlDirective;
|
|
37
|
+
}(ComplexBase));
|
|
38
|
+
export { FormControlDirective };
|
|
39
|
+
var FormControlsDirective = /** @class */ (function (_super) {
|
|
40
|
+
__extends(FormControlsDirective, _super);
|
|
41
|
+
function FormControlsDirective() {
|
|
42
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
43
|
+
}
|
|
44
|
+
FormControlsDirective.propertyName = 'formControls';
|
|
45
|
+
FormControlsDirective.moduleName = 'formControls';
|
|
46
|
+
return FormControlsDirective;
|
|
47
|
+
}(ComplexBase));
|
|
48
|
+
export { FormControlsDirective };
|
|
@@ -7,5 +7,6 @@ export * from './richtext-directive';
|
|
|
7
7
|
export * from './columns-directive';
|
|
8
8
|
export * from './ranges-directive';
|
|
9
9
|
export * from './conditionalformats-directive';
|
|
10
|
+
export * from './formcontrols-directive';
|
|
10
11
|
export * from './definednames-directive';
|
|
11
12
|
export * from './spreadsheet.component';
|
package/src/spreadsheet/index.js
CHANGED
|
@@ -7,5 +7,6 @@ export * from './richtext-directive';
|
|
|
7
7
|
export * from './columns-directive';
|
|
8
8
|
export * from './ranges-directive';
|
|
9
9
|
export * from './conditionalformats-directive';
|
|
10
|
+
export * from './formcontrols-directive';
|
|
10
11
|
export * from './definednames-directive';
|
|
11
12
|
export * from './spreadsheet.component';
|
|
@@ -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', 'richTexts': 'richText' } } } }, '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', 'formControls': 'formControl' } }, 'definedNames': 'definedName' };
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
31
|
_this.templateProps = null;
|
|
32
32
|
_this.immediateRender = false;
|