@syncfusion/ej2-react-filemanager 22.2.10 → 23.1.36
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/CHANGELOG.md +9 -86
- package/diConfig.json +12 -0
- package/dist/ej2-react-filemanager.min.js +2 -2
- package/dist/ej2-react-filemanager.umd.min.js +2 -2
- package/dist/ej2-react-filemanager.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-filemanager.es2015.js +12 -3
- package/dist/es6/ej2-react-filemanager.es2015.js.map +1 -1
- package/package.json +9 -9
- package/src/file-manager/filemanager.component.d.ts +3 -0
- package/src/file-manager/filemanager.component.js +2 -1
- package/src/file-manager/index.d.ts +1 -0
- package/src/file-manager/index.js +1 -0
- package/src/file-manager/toolbaritems-directive.d.ts +14 -0
- package/src/file-manager/toolbaritems-directive.js +33 -0
- package/styles/file-manager/material-dark.css +0 -1
- package/styles/file-manager/material.css +0 -1
- package/styles/file-manager/material3-dark.css +1 -2
- package/styles/file-manager/material3-dark.scss +1 -1
- package/styles/file-manager/material3.css +1 -2
- package/styles/file-manager/material3.scss +1 -1
- package/styles/file-manager/tailwind-dark.css +0 -1
- package/styles/file-manager/tailwind.css +0 -1
- package/styles/material-dark.css +0 -1
- package/styles/material.css +0 -1
- package/styles/material3-dark.css +1 -2
- package/styles/material3.css +1 -2
- package/styles/tailwind-dark.css +0 -1
- package/styles/tailwind.css +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,80 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
###
|
|
6
|
-
|
|
7
|
-
#### Bug fixes
|
|
8
|
-
|
|
9
|
-
- `#I492594` - The issue related to the console error that occurred when moving between folders after performing a search operation within the File Manager component has been resolved.
|
|
10
|
-
|
|
11
|
-
## 22.1.39 (2023-07-18)
|
|
12
|
-
|
|
13
|
-
### File Manager
|
|
14
|
-
|
|
15
|
-
#### Bug fixes
|
|
16
|
-
|
|
17
|
-
- `#I472742` - The exception that occurred when using the File Manager download button multiple times in the Amazon File Provider has been resolved.
|
|
18
|
-
|
|
19
|
-
## 22.1.38 (2023-07-11)
|
|
20
|
-
|
|
21
|
-
### File Manager
|
|
22
|
-
|
|
23
|
-
#### Bug fixes
|
|
24
|
-
|
|
25
|
-
- `#I473871` - The issue with renaming folders or files in the Navigation Pane of the File Manager component has been resolved.
|
|
26
|
-
|
|
27
|
-
## 22.1.34 (2023-06-21)
|
|
28
|
-
|
|
29
|
-
### File Manager
|
|
5
|
+
### FileManager
|
|
30
6
|
|
|
31
7
|
#### Features
|
|
32
8
|
|
|
33
|
-
- Provided
|
|
34
|
-
|
|
35
|
-
## 21.2.5 (2023-05-16)
|
|
36
|
-
|
|
37
|
-
### File Manager
|
|
38
|
-
|
|
39
|
-
#### Bug fixes
|
|
40
|
-
|
|
41
|
-
- `#I458668` - The issue, replace dialog shows when uploading the same file to different directories in File Manager with the SQL File Provider has been resolved.
|
|
42
|
-
- `#I464322` - The issue with `fileOpen` event in the File Manager component has been resolved.
|
|
43
|
-
|
|
44
|
-
## 21.2.3 (2023-05-03)
|
|
45
|
-
|
|
46
|
-
### File Manager
|
|
47
|
-
|
|
48
|
-
#### Bug fixes
|
|
49
|
-
|
|
50
|
-
- `#I439193` - The data disappears in the DetailsView when dynamically setting columns in the File Manager component has been resolved.
|
|
51
|
-
- `#I458884` - The issue with the `fileSelect` event in the File Manager component details view has been resolved.
|
|
9
|
+
- `#FB44788` - Provided template support to customize toolbar items. In earlier versions, Toolbar item customization was limited to a predefined set of options. With this new feature, you can now define your own templates to completely customize the appearance and functionality of toolbar items.
|
|
52
10
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### File Manager
|
|
56
|
-
|
|
57
|
-
#### Bug fixes
|
|
58
|
-
|
|
59
|
-
- `#I445512` - The issue with the `fileSelection` and `fileSelect` events argument in the File Manager component large icon view has been resolved.
|
|
60
|
-
|
|
61
|
-
## 21.1.37 (2023-03-29)
|
|
62
|
-
|
|
63
|
-
### File Manager
|
|
64
|
-
|
|
65
|
-
#### Bug fixes
|
|
66
|
-
|
|
67
|
-
- `#I442564` - The issue with `fileOpen` event in File Manager component has been resolved.
|
|
68
|
-
|
|
69
|
-
## 21.1.35 (2023-03-23)
|
|
70
|
-
|
|
71
|
-
### File Manager
|
|
72
|
-
|
|
73
|
-
#### New Features
|
|
11
|
+
#### Bug Fixes
|
|
74
12
|
|
|
75
|
-
-
|
|
76
|
-
- Provided the folder (directory) upload support for Azure File Provider.
|
|
77
|
-
- Provided the folder (directory) upload support for NodeJS File System Provider.
|
|
78
|
-
- Provided the folder (directory) upload support for Amazon S3 File Provider.
|
|
13
|
+
- `#I493055` - The issue arising from the `expandOn` property set to `Click` in the Navigation Pane of the File Manager component has been resolved.
|
|
79
14
|
|
|
80
15
|
## 19.2.56 (2021-08-17)
|
|
81
16
|
|
|
@@ -459,11 +394,11 @@
|
|
|
459
394
|
|
|
460
395
|
- The `beforeFileLoad` event’s `module` argument values have been changed as follows:
|
|
461
396
|
|
|
462
|
-
|
|
|
463
|
-
|
|
464
|
-
|
|
|
465
|
-
|
|
|
466
|
-
|
|
|
397
|
+
|Argument Name|Old Value|New Value|
|
|
398
|
+
|----|----|----|
|
|
399
|
+
|module|navigationpane|NavigationPane|
|
|
400
|
+
|module|Grid|DetailsView|
|
|
401
|
+
|module|LargeIcon|LargeIconView|
|
|
467
402
|
|
|
468
403
|
## 17.1.32-beta (2019-03-13)
|
|
469
404
|
|
|
@@ -471,21 +406,9 @@
|
|
|
471
406
|
|
|
472
407
|
The `File Manager` is a graphical user interface component used to manage the file system. It enables the user to perform common file operations such as accessing, editing, uploading, downloading, and sorting files and folders. This component also allows easy navigation for browsing or selecting a file or folder from the file system.
|
|
473
408
|
|
|
474
|
-
|
|
475
409
|
- **Different Views** - Provides detailed and large icon views.
|
|
476
410
|
- **Context menu support** - Provides detailed and large icon views.
|
|
477
411
|
- **Custom toolbar support** - Customize the toolbar to provide only necessary features.
|
|
478
412
|
- **Multiple file selection** - Select multiple files simultaneously.
|
|
479
413
|
- **Accessibility** - Features built-in accessibility support that makes all features accessible through keyboard interaction, screen readers, or other assistive technology devices.
|
|
480
414
|
- **Localization** - Translate file names to any supported language.
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
## 22.1.36 (2023-06-28)
|
|
484
|
-
|
|
485
|
-
### File Manager
|
|
486
|
-
|
|
487
|
-
#### Bug Fixes
|
|
488
|
-
|
|
489
|
-
- `#I468614` - Provided the support to render the details view with functional template.
|
|
490
|
-
|
|
491
|
-
|
package/diConfig.json
CHANGED
|
@@ -174,6 +174,18 @@
|
|
|
174
174
|
"propertyName": "uploadSettings",
|
|
175
175
|
"baseClass": "UploadSettings"
|
|
176
176
|
}
|
|
177
|
+
],
|
|
178
|
+
"tagDirective": [
|
|
179
|
+
{
|
|
180
|
+
"baseClass": "ToolbarItem",
|
|
181
|
+
"propertyName": "toolbarItems",
|
|
182
|
+
"directoryName": "file-manager",
|
|
183
|
+
"directiveClassName": "ToolbarItem",
|
|
184
|
+
"arrayDirectiveClassName": "ToolbarItems",
|
|
185
|
+
"templateProperties": [
|
|
186
|
+
"template"
|
|
187
|
+
]
|
|
188
|
+
}
|
|
177
189
|
]
|
|
178
190
|
}
|
|
179
191
|
]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-filemanager.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 23.1.36
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("SyncfusionFilemanager"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionFilemanager","React"],t):"object"==typeof exports?exports.SyncfusionReactFilemanager=t(require("SyncfusionReactBase"),require("SyncfusionFilemanager"),require("React")):e.SyncfusionReactFilemanager=t(e.SyncfusionReactBase,e.SyncfusionFilemanager,e.React)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=5)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";var r=n(4);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});var o=n(3);n.d(t,"c",function(){return o.a})},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(6),o=(n.n(r),n(1)),i=(n.n(o),n(0)),u=(n.n(i),this&&this.__extends||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])})(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(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={toolbarItems:"toolbarItem"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return u(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(o.FileManager);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||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])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="toolbarItem",t}(r.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="toolbarItems",t.moduleName="toolbarItems",t}(r.ComplexBase)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);n.d(t,"ToolbarItemDirective",function(){return r.a}),n.d(t,"ToolbarItemsDirective",function(){return r.b}),n.d(t,"FileManagerComponent",function(){return r.c});var o=n(0);n.n(o);n.o(o,"Inject")&&n.d(t,"Inject",function(){return o.Inject});var i=n(1);n.n(i);for(var u in i)["ToolbarItemDirective","ToolbarItemsDirective","FileManagerComponent","Inject","default"].indexOf(u)<0&&function(e){n.d(t,e,function(){return i[e]})}(u)},function(e,t){e.exports=n}])});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-filemanager.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 23.1.36
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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("react"),require("
|
|
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.ej={},e.ej2ReactBase,e.React,e.ej2Filemanager)}(this,function(e,t,n,r){"use strict";var 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])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="toolbarItem",t}(t.ComplexBase),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="toolbarItems",t.moduleName="toolbarItems",t}(t.ComplexBase),c=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])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={toolbarItems:"toolbarItem"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return c(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(r.FileManager);t.applyMixins(s,[t.ComponentBase,n.Component]),e.Inject=t.Inject,e.ToolbarItemDirective=i,e.ToolbarItemsDirective=a,e.FileManagerComponent=s,Object.keys(r).forEach(function(t){e[t]=r[t]}),Object.defineProperty(e,"__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/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 * 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.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender =
|
|
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":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","ToolbarItemDirective","_super","apply","arguments","moduleName","ComplexBase","ToolbarItemsDirective","propertyName","FileManagerComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","toolbarItems","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","FileManager","ej2ReactBase","ComponentBase","React.Component"],"mappings":"oYAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAcxCK,EAAsC,SAAUC,GAEhD,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAG/D,OALAX,EAAUe,EAAsBC,GAIhCD,EAAqBI,WAAa,cAC3BJ,GACTK,eAEEC,EAAuC,SAAUL,GAEjD,SAASK,IACL,OAAkB,OAAXL,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAA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ement } from 'react';
|
|
2
3
|
import { FileManager } from '@syncfusion/ej2-filemanager';
|
|
3
|
-
|
|
4
|
+
|
|
5
|
+
class ToolbarItemDirective extends ComplexBase {
|
|
6
|
+
}
|
|
7
|
+
ToolbarItemDirective.moduleName = 'toolbarItem';
|
|
8
|
+
class ToolbarItemsDirective extends ComplexBase {
|
|
9
|
+
}
|
|
10
|
+
ToolbarItemsDirective.propertyName = 'toolbarItems';
|
|
11
|
+
ToolbarItemsDirective.moduleName = 'toolbarItems';
|
|
4
12
|
|
|
5
13
|
/**
|
|
6
14
|
Represents the Essential JS 2 react FileManager Component.
|
|
@@ -13,9 +21,10 @@ class FileManagerComponent extends FileManager {
|
|
|
13
21
|
super(props);
|
|
14
22
|
this.initRenderCalled = false;
|
|
15
23
|
this.checkInjectedModules = true;
|
|
24
|
+
this.directivekeys = { 'toolbarItems': 'toolbarItem' };
|
|
16
25
|
this.statelessTemplateProps = null;
|
|
17
26
|
this.templateProps = null;
|
|
18
|
-
this.immediateRender =
|
|
27
|
+
this.immediateRender = false;
|
|
19
28
|
this.portals = [];
|
|
20
29
|
}
|
|
21
30
|
render() {
|
|
@@ -30,7 +39,7 @@ class FileManagerComponent extends FileManager {
|
|
|
30
39
|
}
|
|
31
40
|
applyMixins(FileManagerComponent, [ComponentBase, Component]);
|
|
32
41
|
|
|
33
|
-
export { FileManagerComponent };
|
|
42
|
+
export { ToolbarItemDirective, ToolbarItemsDirective, FileManagerComponent };
|
|
34
43
|
export * from '@syncfusion/ej2-filemanager';
|
|
35
44
|
export { Inject } from '@syncfusion/ej2-react-base';
|
|
36
45
|
//# sourceMappingURL=ej2-react-filemanager.es2015.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-filemanager.es2015.js","sources":["../src/es6/file-manager/filemanager.component.js"],"sourcesContent":["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.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender =
|
|
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;CACrD;AACD,oBAAoB,CAAC,UAAU,GAAG,aAAa,CAAC;AAChD,AAAO,MAAM,qBAAqB,SAAS,WAAW,CAAC;CACtD;AACD,qBAAqB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0",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-6vZjH8VPuIhUuGVZ8liE+OAUNYaDRNdxq/gJxAKwrBm4chmjTzD8kDyJJ7Uw3mN4TmG0mFhkZRAPMwwAK3dUTw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-filemanager",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-react-filemanager/-/ej2-react-filemanager-18.26.0.tgz",
|
|
23
|
+
"_shasum": "48a6b85978d9e043051b21aa84830eb75fa1762d",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-filemanager@*",
|
|
25
|
-
"_where": "/jenkins/workspace/elease-
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-filemanager": "
|
|
36
|
-
"@syncfusion/ej2-react-base": "~
|
|
34
|
+
"@syncfusion/ej2-base": "~23.1.36",
|
|
35
|
+
"@syncfusion/ej2-filemanager": "23.1.36",
|
|
36
|
+
"@syncfusion/ej2-react-base": "~23.1.36"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 FileManager Component for React",
|
|
@@ -61,6 +61,6 @@
|
|
|
61
61
|
"type": "git",
|
|
62
62
|
"url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
63
63
|
},
|
|
64
|
-
"version": "
|
|
64
|
+
"version": "23.1.36",
|
|
65
65
|
"sideEffects": false
|
|
66
66
|
}
|
|
@@ -15,6 +15,9 @@ export declare class FileManagerComponent extends FileManager {
|
|
|
15
15
|
private getDefaultAttributes;
|
|
16
16
|
initRenderCalled: boolean;
|
|
17
17
|
private checkInjectedModules;
|
|
18
|
+
directivekeys: {
|
|
19
|
+
[key: string]: Object;
|
|
20
|
+
};
|
|
18
21
|
private statelessTemplateProps;
|
|
19
22
|
private templateProps;
|
|
20
23
|
private immediateRender;
|
|
@@ -26,9 +26,10 @@ var FileManagerComponent = /** @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 = { 'toolbarItems': 'toolbarItem' };
|
|
29
30
|
_this.statelessTemplateProps = null;
|
|
30
31
|
_this.templateProps = null;
|
|
31
|
-
_this.immediateRender =
|
|
32
|
+
_this.immediateRender = false;
|
|
32
33
|
_this.portals = [];
|
|
33
34
|
return _this;
|
|
34
35
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
2
|
+
import { ToolbarItemModel } from '@syncfusion/ej2-filemanager';
|
|
3
|
+
export interface ToolbarItemDirTypecast {
|
|
4
|
+
template?: string | Function | any;
|
|
5
|
+
}
|
|
6
|
+
export declare class ToolbarItemDirective extends ComplexBase<ToolbarItemModel | ToolbarItemDirTypecast & {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
}, ToolbarItemModel | ToolbarItemDirTypecast> {
|
|
9
|
+
static moduleName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class ToolbarItemsDirective extends ComplexBase<{}, {}> {
|
|
12
|
+
static propertyName: string;
|
|
13
|
+
static moduleName: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
15
|
+
var ToolbarItemDirective = /** @class */ (function (_super) {
|
|
16
|
+
__extends(ToolbarItemDirective, _super);
|
|
17
|
+
function ToolbarItemDirective() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
ToolbarItemDirective.moduleName = 'toolbarItem';
|
|
21
|
+
return ToolbarItemDirective;
|
|
22
|
+
}(ComplexBase));
|
|
23
|
+
export { ToolbarItemDirective };
|
|
24
|
+
var ToolbarItemsDirective = /** @class */ (function (_super) {
|
|
25
|
+
__extends(ToolbarItemsDirective, _super);
|
|
26
|
+
function ToolbarItemsDirective() {
|
|
27
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
28
|
+
}
|
|
29
|
+
ToolbarItemsDirective.propertyName = 'toolbarItems';
|
|
30
|
+
ToolbarItemsDirective.moduleName = 'toolbarItems';
|
|
31
|
+
return ToolbarItemsDirective;
|
|
32
|
+
}(ComplexBase));
|
|
33
|
+
export { ToolbarItemsDirective };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
|
|
2
1
|
:root {
|
|
3
2
|
--color-sf-black: 0, 0, 0;
|
|
4
3
|
--color-sf-white: 255, 255, 255;
|
|
@@ -1109,7 +1108,7 @@ ejs-filemanager {
|
|
|
1109
1108
|
.e-bigger .e-filemanager.e-fe-mobile .e-large-icons .e-list-parent .e-list-item .e-list-icon,
|
|
1110
1109
|
.e-filemanager.e-bigger.e-fe-mobile .e-large-icons .e-list-parent .e-list-item .e-list-icon {
|
|
1111
1110
|
height: 24px;
|
|
1112
|
-
margin: 26px
|
|
1111
|
+
margin: 26px auto 12px;
|
|
1113
1112
|
width: 32px;
|
|
1114
1113
|
}
|
|
1115
1114
|
.e-filemanager.e-fe-m-select .e-large-icons .e-list-item.e-large-icon .e-checkbox-wrapper,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
@import 'ej2-filemanager/styles/file-manager/material3-dark.scss';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
|
|
2
1
|
:root {
|
|
3
2
|
--color-sf-black: 0, 0, 0;
|
|
4
3
|
--color-sf-white: 255, 255, 255;
|
|
@@ -1165,7 +1164,7 @@ ejs-filemanager {
|
|
|
1165
1164
|
.e-bigger .e-filemanager.e-fe-mobile .e-large-icons .e-list-parent .e-list-item .e-list-icon,
|
|
1166
1165
|
.e-filemanager.e-bigger.e-fe-mobile .e-large-icons .e-list-parent .e-list-item .e-list-icon {
|
|
1167
1166
|
height: 24px;
|
|
1168
|
-
margin: 26px
|
|
1167
|
+
margin: 26px auto 12px;
|
|
1169
1168
|
width: 32px;
|
|
1170
1169
|
}
|
|
1171
1170
|
.e-filemanager.e-fe-m-select .e-large-icons .e-list-item.e-large-icon .e-checkbox-wrapper,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
@import 'ej2-filemanager/styles/file-manager/material3.scss';
|
package/styles/material-dark.css
CHANGED
package/styles/material.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
|
|
2
1
|
:root {
|
|
3
2
|
--color-sf-black: 0, 0, 0;
|
|
4
3
|
--color-sf-white: 255, 255, 255;
|
|
@@ -1109,7 +1108,7 @@ ejs-filemanager {
|
|
|
1109
1108
|
.e-bigger .e-filemanager.e-fe-mobile .e-large-icons .e-list-parent .e-list-item .e-list-icon,
|
|
1110
1109
|
.e-filemanager.e-bigger.e-fe-mobile .e-large-icons .e-list-parent .e-list-item .e-list-icon {
|
|
1111
1110
|
height: 24px;
|
|
1112
|
-
margin: 26px
|
|
1111
|
+
margin: 26px auto 12px;
|
|
1113
1112
|
width: 32px;
|
|
1114
1113
|
}
|
|
1115
1114
|
.e-filemanager.e-fe-m-select .e-large-icons .e-list-item.e-large-icon .e-checkbox-wrapper,
|
package/styles/material3.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
|
|
2
1
|
:root {
|
|
3
2
|
--color-sf-black: 0, 0, 0;
|
|
4
3
|
--color-sf-white: 255, 255, 255;
|
|
@@ -1165,7 +1164,7 @@ ejs-filemanager {
|
|
|
1165
1164
|
.e-bigger .e-filemanager.e-fe-mobile .e-large-icons .e-list-parent .e-list-item .e-list-icon,
|
|
1166
1165
|
.e-filemanager.e-bigger.e-fe-mobile .e-large-icons .e-list-parent .e-list-item .e-list-icon {
|
|
1167
1166
|
height: 24px;
|
|
1168
|
-
margin: 26px
|
|
1167
|
+
margin: 26px auto 12px;
|
|
1169
1168
|
width: 32px;
|
|
1170
1169
|
}
|
|
1171
1170
|
.e-filemanager.e-fe-m-select .e-large-icons .e-list-item.e-large-icon .e-checkbox-wrapper,
|
package/styles/tailwind-dark.css
CHANGED
package/styles/tailwind.css
CHANGED