@syncfusion/ej2-filemanager 20.3.56 → 20.4.38

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.
Files changed (64) hide show
  1. package/.eslintrc.json +16 -1
  2. package/CHANGELOG.md +0 -10
  3. package/README.md +53 -42
  4. package/dist/ej2-filemanager.min.js +2 -2
  5. package/dist/ej2-filemanager.umd.min.js +2 -2
  6. package/dist/ej2-filemanager.umd.min.js.map +1 -1
  7. package/dist/es6/ej2-filemanager.es2015.js +313 -90
  8. package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
  9. package/dist/es6/ej2-filemanager.es5.js +343 -99
  10. package/dist/es6/ej2-filemanager.es5.js.map +1 -1
  11. package/dist/global/ej2-filemanager.min.js +2 -2
  12. package/dist/global/ej2-filemanager.min.js.map +1 -1
  13. package/dist/global/index.d.ts +1 -1
  14. package/package.json +25 -16
  15. package/src/file-manager/actions/breadcrumb-bar.js +1 -1
  16. package/src/file-manager/actions/index.d.ts +1 -0
  17. package/src/file-manager/actions/index.js +1 -0
  18. package/src/file-manager/actions/virtualization.d.ts +38 -0
  19. package/src/file-manager/actions/virtualization.js +179 -0
  20. package/src/file-manager/base/file-manager-model.d.ts +14 -1
  21. package/src/file-manager/base/file-manager.d.ts +15 -0
  22. package/src/file-manager/base/file-manager.js +10 -1
  23. package/src/file-manager/base/interface.d.ts +2 -1
  24. package/src/file-manager/common/utility.js +5 -4
  25. package/src/file-manager/layout/details-view.js +13 -0
  26. package/src/file-manager/layout/large-icons-view.d.ts +2 -1
  27. package/src/file-manager/layout/large-icons-view.js +8 -1
  28. package/src/file-manager/models/index.d.ts +2 -0
  29. package/src/file-manager/models/index.js +1 -0
  30. package/src/file-manager/models/virtualization-settings-model.d.ts +29 -0
  31. package/src/file-manager/models/virtualization-settings.d.ts +24 -0
  32. package/src/file-manager/models/virtualization-settings.js +40 -0
  33. package/src/global.js +1 -1
  34. package/styles/bootstrap-dark.css +2 -12
  35. package/styles/bootstrap.css +2 -12
  36. package/styles/bootstrap4.css +2 -12
  37. package/styles/bootstrap5-dark.css +2 -12
  38. package/styles/bootstrap5.css +2 -12
  39. package/styles/fabric-dark.css +2 -12
  40. package/styles/fabric.css +2 -12
  41. package/styles/file-manager/_layout.scss +9 -19
  42. package/styles/file-manager/bootstrap-dark.css +2 -12
  43. package/styles/file-manager/bootstrap.css +2 -12
  44. package/styles/file-manager/bootstrap4.css +2 -12
  45. package/styles/file-manager/bootstrap5-dark.css +2 -12
  46. package/styles/file-manager/bootstrap5.css +2 -12
  47. package/styles/file-manager/fabric-dark.css +2 -12
  48. package/styles/file-manager/fabric.css +2 -12
  49. package/styles/file-manager/fluent-dark.css +8 -12
  50. package/styles/file-manager/fluent.css +8 -12
  51. package/styles/file-manager/highcontrast-light.css +2 -12
  52. package/styles/file-manager/highcontrast.css +2 -12
  53. package/styles/file-manager/material-dark.css +2 -12
  54. package/styles/file-manager/material.css +2 -15
  55. package/styles/file-manager/tailwind-dark.css +2 -12
  56. package/styles/file-manager/tailwind.css +2 -12
  57. package/styles/fluent-dark.css +8 -12
  58. package/styles/fluent.css +8 -12
  59. package/styles/highcontrast-light.css +2 -12
  60. package/styles/highcontrast.css +2 -12
  61. package/styles/material-dark.css +2 -12
  62. package/styles/material.css +2 -15
  63. package/styles/tailwind-dark.css +2 -12
  64. package/styles/tailwind.css +2 -12
package/.eslintrc.json CHANGED
@@ -6,7 +6,8 @@
6
6
  "extends": [
7
7
  "eslint:recommended",
8
8
  "plugin:@typescript-eslint/recommended",
9
- "plugin:jsdoc/recommended"
9
+ "plugin:jsdoc/recommended",
10
+ "plugin:security/recommended"
10
11
  ],
11
12
  "parser": "@typescript-eslint/parser",
12
13
  "parserOptions": {
@@ -18,10 +19,24 @@
18
19
  "plugins": [
19
20
  "@typescript-eslint",
20
21
  "@typescript-eslint/tslint",
22
+ "eslint-plugin-security",
21
23
  "jsdoc"
22
24
  ],
23
25
  "rules": {
24
26
  "use-isnan": "error",
27
+ "security/detect-unsafe-regex":"error",
28
+ "security/detect-buffer-noassert":"error",
29
+ "security/detect-child-process":"error",
30
+ "security/detect-disable-mustache-escape":"error",
31
+ "security/detect-eval-with-expression":"error",
32
+ "security/detect-no-csrf-before-method-override":"error",
33
+ "security/detect-non-literal-fs-filename":"error",
34
+ "security/detect-non-literal-regexp":"error",
35
+ "security/detect-non-literal-require":"error",
36
+ "security/detect-object-injection":"error",
37
+ "security/detect-possible-timing-attacks":"error",
38
+ "security/detect-pseudoRandomBytes":"error",
39
+ "security/detect-new-buffer":"error",
25
40
  "@typescript-eslint/no-inferrable-types": "off",
26
41
  "@typescript-eslint/ban-types": ["warn", {
27
42
  "types": {
package/CHANGELOG.md CHANGED
@@ -2,16 +2,6 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## 20.3.49 (2022-10-11)
6
-
7
- ### File Manager
8
-
9
- #### Bug Fixes
10
-
11
- - `#I391031` - The issue with "Column header in the Details view within the File Manager is not accessible via the Tab keyboard" has been resolved.
12
-
13
- ## 20.3.47 (2022-09-29)
14
-
15
5
  ### File Manager
16
6
 
17
7
  #### New Features
package/README.md CHANGED
@@ -1,69 +1,80 @@
1
- # ej2-filemanager
1
+ # JavaScript File Manager Control
2
2
 
3
- 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.
3
+ The [JavaScript File Manager](https://www.syncfusion.com/javascript-ui-controls/js-file-manager?utm_source=npm&utm_medium=listing&utm_campaign=javascript-filemanager-npm) control is a graphical user interface that allows users to manage their file system in an intuitive and efficient manner. With this component, you can easily access, edit, upload, download, and organize files and folders. It also offers a convenient way to browse and select items from the file system.
4
4
 
5
- ![ej2-file-manager](https://ej2.syncfusion.com/products/images/file-manager/readme.gif)
5
+ <p align="center">
6
+ <a href="https://ej2.syncfusion.com/documentation/file-manager/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-filemanager-npm">Getting Started</a> .
7
+ <a href="https://ej2.syncfusion.com/demos/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-filemanager-npm#/material/file-manager/overview.html">Online demos</a> .
8
+ <a href="https://www.syncfusion.com/javascript-ui-controls/js-file-manager?utm_source=npm&utm_medium=listing&utm_campaign=javascript-filemanager-npm">Learn more</a>
9
+ </p>
6
10
 
7
- > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at [https://www.syncfusion.com/sales/products](https://www.syncfusion.com/sales/products) or start a free 30-day trial [here](https://www.syncfusion.com/account/manage-trials/start-trials).
11
+ <p align="center">
12
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/javascript/javascript-filemanager.png">
13
+ </p>
8
14
 
9
- > A free [community license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
15
+ <p align="center">
16
+ Trusted by the world's leading companies
17
+ <a href="https://www.syncfusion.com">
18
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
19
+ </a>
20
+ </p>
10
21
 
11
22
  ## Setup
12
23
 
13
- To install `FileManager` and its dependent packages, use the following command.
24
+ To install the File Manager and its dependent packages, use the following command.
14
25
 
15
- ```sh
26
+ ```
16
27
  npm install @syncfusion/ej2-filemanager
17
28
  ```
18
29
 
19
- ## Components included
20
-
21
- Following list of components are available in the package
22
-
23
- * File Manager - performs common file operations such as accessing, editing, upload, download and sorting files and folders. This component also allows easy navigation for browsing or selecting a file or folder from the file system.
24
-
25
- * [Getting Started](https://ej2.syncfusion.com/documentation/file-manager/getting-started/?lang=typescript&utm_source=npm&utm_campaign=filemanager)
26
- * [API References]( https://ej2.syncfusion.com/documentation/api/file-manager?lang=typescript&utm_source=npm&utm_campaign=filemanager)
27
- * [View Online Demos](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=filemanager#/material/file-manager/overview.html)
28
- * [Product Page](https://www.syncfusion.com/javascript-ui-controls/js-file-manager)
29
-
30
+ ## Supported frameworks
30
31
 
31
- ## Supported Frameworks
32
+ The JavaScript File Manager control is also offered in following list of frameworks,
32
33
 
33
- `File Manager` component is also offered in following list of frameworks,
34
+ | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[React](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
35
+ | :-----: | :-----: | :-----: | :-----: | :-----: |
34
36
 
35
- 1. [Angular](https://github.com/syncfusion/ej2-angular-ui-components/tree/master/components/filemanager?utm_source=npm&utm_campaign=filemanager)
36
- 2. [React](https://github.com/syncfusion/ej2-react-ui-components/tree/master/components/filemanager?utm_source=npm&utm_campaign=filemanager)
37
- 3. [VueJS](https://github.com/syncfusion/ej2-vue-ui-components/tree/master/components/filemanager?utm_source=npm&utm_campaign=filemanager)
38
- 4. [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls/file-manager)
39
- 5. [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls/file-manager)
40
- 6. [JavaScript (ES5)](https://www.syncfusion.com/javascript-ui-controls/js-file-manager)
37
+ ## Showcase samples
41
38
 
42
- ## Key Features
39
+ * Expense Tracker - [Source](https://github.com/syncfusion/ej2-sample-ts-expensetracker?utm_source=npm&utm_medium=listing&utm_campaign=javascript-filemanager-npm), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/expensetracker/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-filemanager-npm#/dashboard)
40
+ * Loan Calculator - [Source](https://github.com/syncfusion/ej2-sample-ts-loancalculator), [Live Demo](https://ej2.syncfusion.com/showcase/typescript/loancalculator/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-filemanager-npm)
43
41
 
44
- * File Manager
42
+ ## Key features
45
43
 
46
- * **Different Views** - Provides detailed and large icon views.
47
- * **Context menu support** - Provides detailed and large icon views.
48
- * **Custom toolbar support** - Customize the toolbar to provide only necessary features.
49
- * **Multiple file selection** - Select multiple files simultaneously.
50
- * **Accessibility** - Features built-in accessibility support that makes all features accessible through keyboard interaction, screen readers, or other assistive technology devices.
51
- * **Localization** - Translate file names to any supported language.
44
+ * [File and directory management](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm#/bootstrap5/file-manager/directory-upload.html): The component allows users to upload, download, rename, sort, cut, copy, and paste files and directories.
45
+ * [Multiple layout options](https://ej2.syncfusion.com/documentation/file-manager/user-interface/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm#view): The component supports both large icons view and details view layout, giving users the ability to choose the display option that works best for them.
46
+ * [Multiple file providers](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm#/bootstrap5/file-manager/azure-service.html): The component supports a range of file providers, including Amazon S3, MS Azure, NodeJS, Google file systems, and local physical file providers, giving users flexibility in how they store and access their files.
47
+ * [Search functionality](https://ej2.syncfusion.com/documentation/file-manager/file-operations/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm#search): The component includes a search feature that allows users to easily locate specific files within their file system.
48
+ * [Customizable interface](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm#/bootstrap5/file-manager/custom-thumbnail.html): The component's interface can be customized to fit the needs and preferences of users, allowing for a personalized experience.
49
+ * [Responsive design](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm#/bootstrap5/file-manager/overview.html): The component is designed to be responsive, ensuring that it works seamlessly across a range of devices and screen sizes.
50
+ * [Easy integration](https://ej2.syncfusion.com/documentation/file-manager/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm): The component is easy to integrate into existing projects, making it a convenient and straightforward solution for file management.
51
+ * [Context menu](https://ej2.syncfusion.com/documentation/file-manager/user-interface/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm#context-menu): The component includes a context menu that allows users to quickly and easily access file management options.
52
+ * [Toolbar](https://ej2.syncfusion.com/documentation/file-manager/user-interface/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm#toolbar): The component's toolbar provides a flexible way to manage file operations, making it easy for users to perform common tasks.
53
+ * [Access control](https://ej2.syncfusion.com/documentation/file-manager/access-control/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm): The component allows users to define a set of access rules for their folders and files, giving them control over who can access specific resources.
54
+ * [Multiple file selection](https://ej2.syncfusion.com/documentation/file-manager/multiple-selection/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm): The component supports the selection of multiple files, making it easy for users to perform bulk operations.
55
+ * [Localization](https://ej2.syncfusion.com/documentation/file-manager/localization/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm): The component supports localization, allowing it to be used in a variety of languages and regions.
56
+ * [Accessibility](https://ej2.syncfusion.com/documentation/file-manager/accessibility/?utm_source=npm&utm_medium=listing&utm_campaign=javascript-file-manager-npm): The component is designed with accessibility in mind, ensuring that it is usable by users with disabilities.
52
57
 
53
58
  ## Support
54
59
 
55
- Product support is available for through following mediums.
60
+ Product support is available through following mediums.
56
61
 
57
- * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=filemanager) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_campaign=filemanager).
58
- * New [GitHub issue](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new).
59
- * Ask your query in [Stack Overflow](https://stackoverflow.com/?utm_source=npm&utm_campaign=filemanager) with tag `syncfusion` and `ej2`.
62
+ * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
63
+ * [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_medium=listing&utm_campaign=javascript-filemanager-npm)
64
+ * [GitHub issues](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new)
65
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/javascript?utm_source=npm&utm_medium=listing&utm_campaign=javascript-filemanager-npm)
66
+ * Live chat
60
67
 
61
- ## License
68
+ ## Changelog
62
69
 
63
- Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license?utm_source=npm&utm_campaign=filemanager).
70
+ Check the changelog [here]( https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/filemanager/CHANGELOG.md?utm_source=npm&utm_campaign=filemanager). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
64
71
 
65
- ## Changelog
72
+ ## License and copyright
73
+
74
+ > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [JavaScript UI controls](https://www.syncfusion.com/javascript-ui-controls), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
75
+
76
+ > A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
66
77
 
67
- Check the changelog [here]( https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/filemanager/CHANGELOG.md?utm_source=npm&utm_campaign=filemanager)
78
+ See [LICENSE FILE](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license?utm_source=npm&utm_campaign=filemanager) for more info.
68
79
 
69
80
  © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.