@syncfusion/ej2-react-filemanager 27.1.52 → 27.1.55

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.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-filemanager.min.js
3
- * version : 27.1.52
3
+ * version : 27.1.55
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionFilemanager")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionFilemanager"],t):"object"==typeof exports?exports.SyncfusionReactFilemanager=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionFilemanager")):e.SyncfusionReactFilemanager=t(e.SyncfusionReactBase,e.React,e.SyncfusionFilemanager)}(self,((e,t,r)=>(()=>{"use strict";var o={477:(e,t,r)=>{r.d(t,{ir:()=>p,QE:()=>a,Oj:()=>c});var o,n=r(705),i=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},o(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.moduleName="toolbarItem",t}(n.ComplexBase),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propertyName="toolbarItems",t.moduleName="toolbarItems",t}(n.ComplexBase),s=r(24),u=r(771),l=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),p=function(e){function t(t){var r=e.call(this,t)||this;return r.initRenderCalled=!1,r.checkInjectedModules=!0,r.directivekeys={toolbarItems:"toolbarItem"},r.statelessTemplateProps=null,r.templateProps=null,r.immediateRender=!1,r.portals=[],r}return l(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return s.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(u.FileManager);(0,n.applyMixins)(p,[n.ComponentBase,s.Component])},24:e=>{e.exports=t},771:e=>{e.exports=r},705:t=>{t.exports=e}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,i),r.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 r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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 a={};return(()=>{i.r(a),i.d(a,{FileManagerComponent:()=>e.ir,Inject:()=>t.Inject,ToolbarItemDirective:()=>e.QE,ToolbarItemsDirective:()=>e.Oj});var e=i(477),t=i(705),r=i(771),o={};for(const e in r)["default","Inject","FileManagerComponent","ToolbarItemDirective","ToolbarItemsDirective"].indexOf(e)<0&&(o[e]=()=>r[e]);i.d(a,o)})(),a})()));
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionFilemanager")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionFilemanager"],t):"object"==typeof exports?exports.SyncfusionReactFilemanager=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionFilemanager")):e.SyncfusionReactFilemanager=t(e.SyncfusionReactBase,e.React,e.SyncfusionFilemanager)}(self,((e,t,r)=>(()=>{"use strict";var o={477:(e,t,r)=>{r.d(t,{ir:()=>p,QE:()=>a,Oj:()=>c});var o,n=r(705),i=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},o(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.moduleName="toolbarItem",t}(n.ComplexBase),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propertyName="toolbarItems",t.moduleName="toolbarItems",t}(n.ComplexBase),s=r(24),u=r(771),l=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),p=function(e){function t(t){var r=e.call(this,t)||this;return r.initRenderCalled=!1,r.checkInjectedModules=!0,r.directivekeys={toolbarItems:"toolbarItem"},r.statelessTemplateProps=null,r.templateProps=null,r.immediateRender=!1,r.isReactMock=!0,r.portals=[],r}return l(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return s.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(u.FileManager);(0,n.applyMixins)(p,[n.ComponentBase,s.Component])},24:e=>{e.exports=t},771:e=>{e.exports=r},705:t=>{t.exports=e}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,i),r.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 r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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 a={};return(()=>{i.r(a),i.d(a,{FileManagerComponent:()=>e.ir,Inject:()=>t.Inject,ToolbarItemDirective:()=>e.QE,ToolbarItemsDirective:()=>e.Oj});var e=i(477),t=i(705),r=i(771),o={};for(const e in r)["default","Inject","FileManagerComponent","ToolbarItemDirective","ToolbarItemsDirective"].indexOf(e)<0&&(o[e]=()=>r[e]);i.d(a,o)})(),a})()));
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-filemanager.umd.min.js
3
- * version : 27.1.52
3
+ * version : 27.1.55
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-filemanager")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-filemanager"],t):t((e=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Filemanager)}(this,function(t,e,n,r){"use strict";o=function(e,t){return(o=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)};var o,i,a=function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=(i=e.ComplexBase,a(c,i),c.moduleName="toolbarItem",c);function c(){return null!==i&&i.apply(this,arguments)||this}l=e.ComplexBase,a(u,l),u.propertyName="toolbarItems",u.moduleName="toolbarItems";var l,a=u;function u(){return null!==l&&l.apply(this,arguments)||this}p=function(e,t){return(p=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)};var p,f,d=function(e,t){function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},d=(f=r.FileManager,d(m,f),m.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));f.prototype.render.call(this),this.initRenderCalled=!0},m);function m(e){e=f.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={toolbarItems:"toolbarItem"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.portals=[],e}e.applyMixins(d,[e.ComponentBase,n.Component]),Object.keys(r).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return e.Inject}}),t.FileManagerComponent=d,t.ToolbarItemDirective=s,t.ToolbarItemsDirective=a,Object.defineProperty(t,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-filemanager")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-filemanager"],t):t((e=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Filemanager)}(this,function(t,e,n,o){"use strict";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])}))(e,t)};var r,i,a=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=(i=e.ComplexBase,a(s,i),s.moduleName="toolbarItem",s);function s(){return null!==i&&i.apply(this,arguments)||this}l=e.ComplexBase,a(u,l),u.propertyName="toolbarItems",u.moduleName="toolbarItems";var l,a=u;function u(){return null!==l&&l.apply(this,arguments)||this}p=function(e,t){return(p=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)};var p,f,d=function(e,t){function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},d=(f=o.FileManager,d(m,f),m.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));f.prototype.render.call(this),this.initRenderCalled=!0},m);function m(e){e=f.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={toolbarItems:"toolbarItem"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}e.applyMixins(d,[e.ComponentBase,n.Component]),Object.keys(o).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return e.Inject}}),t.FileManagerComponent=d,t.ToolbarItemDirective=c,t.ToolbarItemsDirective=a,Object.defineProperty(t,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-react-filemanager.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-filemanager.umd.min.js","sources":["../src/file-manager/toolbaritems-directive.js","../src/file-manager/filemanager.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\nvar ToolbarItemDirective = /** @class */ (function (_super) {\n __extends(ToolbarItemDirective, _super);\n function ToolbarItemDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ToolbarItemDirective.moduleName = 'toolbarItem';\n return ToolbarItemDirective;\n}(ComplexBase));\nexport { ToolbarItemDirective };\nvar ToolbarItemsDirective = /** @class */ (function (_super) {\n __extends(ToolbarItemsDirective, _super);\n function ToolbarItemsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ToolbarItemsDirective.propertyName = 'toolbarItems';\n ToolbarItemsDirective.moduleName = 'toolbarItems';\n return ToolbarItemsDirective;\n}(ComplexBase));\nexport { ToolbarItemsDirective };\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 { FileManager } from '@syncfusion/ej2-filemanager';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n Represents the Essential JS 2 react FileManager Component.\n * ```tsx\n * <FileManagerComponent showThumbnail={false}></FileManagerComponent>\n * ```\n */\nvar FileManagerComponent = /** @class */ (function (_super) {\n __extends(FileManagerComponent, _super);\n function FileManagerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'toolbarItems': 'toolbarItem' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n FileManagerComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return FileManagerComponent;\n}(FileManager));\nexport { FileManagerComponent };\napplyMixins(FileManagerComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","ToolbarItemDirective","ComplexBase","moduleName","apply","arguments","ToolbarItemsDirective","propertyName","FileManagerComponent","FileManager","render","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","toolbarItems","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"8YACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAa4CS,EAdhDC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAA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zBJ,GApBP,SAASA,EAAqBU,GACtBI,EAAQ5B,EAAO2B,KAAKxB,KAAMqB,CAAK,GAAKrB,KAQxC,OAPAyB,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,cAAgB,CAAEC,aAAgB,eACxCH,EAAMI,uBAAyB,KAC/BJ,EAAMK,cAAgB,KACtBL,EAAMM,gBAAkB,CAAA,EACxBN,EAAMF,QAAU,GACTE,gBAcHd,EAAsB,CAACqB,gBAAeC,YAAgB"}
1
+ {"version":3,"file":"ej2-react-filemanager.umd.min.js","sources":["../src/file-manager/toolbaritems-directive.js","../src/file-manager/filemanager.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\nvar ToolbarItemDirective = /** @class */ (function (_super) {\n __extends(ToolbarItemDirective, _super);\n function ToolbarItemDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ToolbarItemDirective.moduleName = 'toolbarItem';\n return ToolbarItemDirective;\n}(ComplexBase));\nexport { ToolbarItemDirective };\nvar ToolbarItemsDirective = /** @class */ (function (_super) {\n __extends(ToolbarItemsDirective, _super);\n function ToolbarItemsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ToolbarItemsDirective.propertyName = 'toolbarItems';\n ToolbarItemsDirective.moduleName = 'toolbarItems';\n return ToolbarItemsDirective;\n}(ComplexBase));\nexport { ToolbarItemsDirective };\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 { FileManager } from '@syncfusion/ej2-filemanager';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n Represents the Essential JS 2 react FileManager Component.\n * ```tsx\n * <FileManagerComponent showThumbnail={false}></FileManagerComponent>\n * ```\n */\nvar FileManagerComponent = /** @class */ (function (_super) {\n __extends(FileManagerComponent, _super);\n function FileManagerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'toolbarItems': 'toolbarItem' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n FileManagerComponent.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 FileManagerComponent;\n}(FileManager));\nexport { FileManagerComponent };\napplyMixins(FileManagerComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","ToolbarItemDirective","ComplexBase","moduleName","apply","arguments","ToolbarItemsDirective","propertyName","FileManagerComponent","FileManager","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","toolbarItems","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"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,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAYnFY,GAAgDd,EAyBlDe,cAxBEd,EAAUa,EAAsBd,CAAM,EAatCc,EAAqBT,UAAUW,OAAS,WAEpC,GADAb,KAAKc,YAAc,CAAA,EACf,EAAEd,KAAKe,SAAW,CAACf,KAAKgB,kBAAqBhB,KAAKiB,aAAgBjB,KAAKkB,oBAKvE,OAAOC,gBAAoB,MAAOnB,KAAKoB,uBAAwB,GAAGC,OAAOrB,KAAKsB,MAAMC,SAAUvB,KAAKwB,OAAO,CAAC,EAJ3G3B,EAAOK,UAAUW,OAAOY,KAAKzB,IAAI,EACjCA,KAAKgB,iBAAmB,CAAA,GAMzBL,GAtBP,SAASA,EAAqBW,GACtBI,EAAQ7B,EAAO4B,KAAKzB,KAAMsB,CAAK,GAAKtB,KASxC,OARA0B,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,cAAgB,CAAEC,aAAgB,eACxCH,EAAMI,uBAAyB,KAC/BJ,EAAMK,cAAgB,KACtBL,EAAMM,gBAAkB,CAAA,EACxBN,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHf,EAAsB,CAACsB,gBAAeC,YAAgB"}
@@ -27,9 +27,11 @@ class FileManagerComponent extends FileManager {
27
27
  this.statelessTemplateProps = null;
28
28
  this.templateProps = null;
29
29
  this.immediateRender = false;
30
+ this.isReactMock = true;
30
31
  this.portals = [];
31
32
  }
32
33
  render() {
34
+ this.isReactMock = false;
33
35
  if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
34
36
  super.render();
35
37
  this.initRenderCalled = true;
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-filemanager.es2015.js","sources":["../src/es6/file-manager/toolbaritems-directive.js","../src/es6/file-manager/filemanager.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class ToolbarItemDirective extends ComplexBase {\n}\nToolbarItemDirective.moduleName = 'toolbarItem';\nexport class ToolbarItemsDirective extends ComplexBase {\n}\nToolbarItemsDirective.propertyName = 'toolbarItems';\nToolbarItemsDirective.moduleName = 'toolbarItems';\n","import * as React from 'react';\nimport { FileManager } from '@syncfusion/ej2-filemanager';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n Represents the Essential JS 2 react FileManager Component.\n * ```tsx\n * <FileManagerComponent showThumbnail={false}></FileManagerComponent>\n * ```\n */\nexport class FileManagerComponent extends FileManager {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'toolbarItems': 'toolbarItem' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(FileManagerComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACO,MAAM,oBAAoB,SAAS,WAAW,CAAC;AACtD,CAAC;AACD,oBAAoB,CAAC,UAAU,GAAG,aAAa,CAAC;AACzC,MAAM,qBAAqB,SAAS,WAAW,CAAC;AACvD,CAAC;AACD,qBAAqB,CAAC,YAAY,GAAG,cAAc,CAAC;AACpD,qBAAqB,CAAC,UAAU,GAAG,cAAc;;ACJjD;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,oBAAoB,SAAS,WAAW,CAAC;AACtD,IAAI,WAAW,CAAC,KAAK,EAAE;AACvB,QAAQ,KAAK,CAAC,KAAK,CAAC,CAAC;AACrB,QAAQ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;AACtC,QAAQ,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;AACzC,QAAQ,IAAI,CAAC,aAAa,GAAG,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC;AAC/D,QAAQ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;AACrC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,oBAAoB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"ej2-react-filemanager.es2015.js","sources":["../src/es6/file-manager/toolbaritems-directive.js","../src/es6/file-manager/filemanager.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class ToolbarItemDirective extends ComplexBase {\n}\nToolbarItemDirective.moduleName = 'toolbarItem';\nexport class ToolbarItemsDirective extends ComplexBase {\n}\nToolbarItemsDirective.propertyName = 'toolbarItems';\nToolbarItemsDirective.moduleName = 'toolbarItems';\n","import * as React from 'react';\nimport { FileManager } from '@syncfusion/ej2-filemanager';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n Represents the Essential JS 2 react FileManager Component.\n * ```tsx\n * <FileManagerComponent showThumbnail={false}></FileManagerComponent>\n * ```\n */\nexport class FileManagerComponent extends FileManager {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'toolbarItems': 'toolbarItem' };\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(FileManagerComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACO,MAAM,oBAAoB,SAAS,WAAW,CAAC;AACtD,CAAC;AACD,oBAAoB,CAAC,UAAU,GAAG,aAAa,CAAC;AACzC,MAAM,qBAAqB,SAAS,WAAW,CAAC;AACvD,CAAC;AACD,qBAAqB,CAAC,YAAY,GAAG,cAAc,CAAC;AACpD,qBAAqB,CAAC,UAAU,GAAG,cAAc;;ACJjD;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,oBAAoB,SAAS,WAAW,CAAC;AACtD,IAAI,WAAW,CAAC,KAAK,EAAE;AACvB,QAAQ,KAAK,CAAC,KAAK,CAAC,CAAC;AACrB,QAAQ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;AACtC,QAAQ,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;AACzC,QAAQ,IAAI,CAAC,aAAa,GAAG,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC;AAC/D,QAAQ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;AACrC,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;AAChC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;AACjC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,oBAAoB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-react-filemanager@*",
3
- "_id": "@syncfusion/ej2-react-filemanager@27.1.51",
3
+ "_id": "@syncfusion/ej2-react-filemanager@27.1.53",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-e5SnurHVUXcEX4aoporzVpmLtJViUVl7XR2XJwDSzAvYFqeMuuD6CmdcVGN9JR4jrAM4h/JwrodJTPFQiRqE1w==",
5
+ "_integrity": "sha512-oo0l9VuZSkRNf+OIN74flknOJoybbPvaMZ7UAWhYFUn8l4cDeRnyBMR3GaSzYhXXUmtB+r5eNN5jrxXI5e57NQ==",
6
6
  "_location": "/@syncfusion/ej2-react-filemanager",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-filemanager/-/ej2-react-filemanager-27.1.51.tgz",
23
- "_shasum": "9867ab4694b2c001e7638fd9b23406d16bd995e2",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-filemanager/-/ej2-react-filemanager-27.1.53.tgz",
23
+ "_shasum": "3fab3d2044d64a5c42dd1455fd9ad7486a3c1a34",
24
24
  "_spec": "@syncfusion/ej2-react-filemanager@*",
25
25
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
26
26
  "author": {
@@ -31,8 +31,8 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~27.1.52",
35
- "@syncfusion/ej2-filemanager": "27.1.52",
34
+ "@syncfusion/ej2-base": "~27.1.55",
35
+ "@syncfusion/ej2-filemanager": "27.1.55",
36
36
  "@syncfusion/ej2-react-base": "~27.1.50"
37
37
  },
38
38
  "deprecated": false,
@@ -61,6 +61,6 @@
61
61
  "type": "git",
62
62
  "url": "https://github.com/syncfusion/ej2-react-ui-components.git"
63
63
  },
64
- "version": "27.1.52",
64
+ "version": "27.1.55",
65
65
  "sideEffects": false
66
66
  }
@@ -21,6 +21,7 @@ export declare class FileManagerComponent extends FileManager {
21
21
  private statelessTemplateProps;
22
22
  private templateProps;
23
23
  private immediateRender;
24
+ private isReactMock;
24
25
  props: Readonly<{
25
26
  children?: React.ReactNode | React.ReactNode[];
26
27
  }> & Readonly<FileManagerModel | DefaultHtmlAttributes>;
@@ -30,10 +30,12 @@ var FileManagerComponent = /** @class */ (function (_super) {
30
30
  _this.statelessTemplateProps = null;
31
31
  _this.templateProps = null;
32
32
  _this.immediateRender = false;
33
+ _this.isReactMock = true;
33
34
  _this.portals = [];
34
35
  return _this;
35
36
  }
36
37
  FileManagerComponent.prototype.render = function () {
38
+ this.isReactMock = false;
37
39
  if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
38
40
  _super.prototype.render.call(this);
39
41
  this.initRenderCalled = true;