@syncfusion/ej2-filemanager 20.1.52-10459 → 20.1.52-10460

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 (203) hide show
  1. package/.eslintrc.json +3 -20
  2. package/CHANGELOG.md +410 -0
  3. package/README.md +43 -54
  4. package/dist/ej2-filemanager.umd.min.js +10 -1
  5. package/dist/ej2-filemanager.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-filemanager.es2015.js +659 -2353
  7. package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
  8. package/dist/es6/ej2-filemanager.es5.js +708 -2421
  9. package/dist/es6/ej2-filemanager.es5.js.map +1 -1
  10. package/dist/global/ej2-filemanager.min.js +10 -1
  11. package/dist/global/ej2-filemanager.min.js.map +1 -1
  12. package/dist/global/index.d.ts +9 -0
  13. package/helpers/e2e/filemanagerHelper.js +166 -183
  14. package/package.json +71 -71
  15. package/src/file-manager/actions/breadcrumb-bar.js +5 -1
  16. package/src/file-manager/actions/index.d.ts +0 -1
  17. package/src/file-manager/actions/index.js +0 -1
  18. package/src/file-manager/actions/toolbar.d.ts +0 -1
  19. package/src/file-manager/actions/toolbar.js +17 -129
  20. package/src/file-manager/base/file-manager-model.d.ts +28 -154
  21. package/src/file-manager/base/file-manager.d.ts +27 -176
  22. package/src/file-manager/base/file-manager.js +28 -244
  23. package/src/file-manager/base/interface.d.ts +3 -329
  24. package/src/file-manager/base/interface.js +1 -0
  25. package/src/file-manager/common/operations.d.ts +0 -7
  26. package/src/file-manager/common/operations.js +185 -830
  27. package/src/file-manager/common/utility.d.ts +3 -46
  28. package/src/file-manager/common/utility.js +73 -249
  29. package/src/file-manager/index.d.ts +0 -1
  30. package/src/file-manager/index.js +0 -1
  31. package/src/file-manager/layout/details-view.d.ts +0 -10
  32. package/src/file-manager/layout/details-view.js +94 -203
  33. package/src/file-manager/layout/large-icons-view.d.ts +2 -4
  34. package/src/file-manager/layout/large-icons-view.js +72 -121
  35. package/src/file-manager/layout/navigation-pane.d.ts +0 -2
  36. package/src/file-manager/layout/navigation-pane.js +73 -97
  37. package/src/file-manager/models/column-model.d.ts +5 -23
  38. package/src/file-manager/models/column.d.ts +2 -21
  39. package/src/file-manager/models/column.js +0 -6
  40. package/src/file-manager/models/default-locale.js +1 -0
  41. package/src/file-manager/models/details-view-settings-model.d.ts +1 -1
  42. package/src/file-manager/models/details-view-settings.js +3 -8
  43. package/src/file-manager/models/search-settings.d.ts +0 -5
  44. package/src/file-manager/models/toolbar-settings-model.d.ts +2 -177
  45. package/src/file-manager/models/toolbar-settings.d.ts +2 -157
  46. package/src/file-manager/models/toolbar-settings.js +2 -64
  47. package/src/file-manager/models/upload-settings-model.d.ts +0 -13
  48. package/src/file-manager/models/upload-settings.d.ts +0 -12
  49. package/src/file-manager/models/upload-settings.js +0 -3
  50. package/src/file-manager/pop-up/context-menu.d.ts +1 -2
  51. package/src/file-manager/pop-up/context-menu.js +36 -111
  52. package/src/file-manager/pop-up/dialog.d.ts +2 -1
  53. package/src/file-manager/pop-up/dialog.js +40 -19
  54. package/src/global.js +1 -1
  55. package/styles/bootstrap-dark.css +665 -371
  56. package/styles/bootstrap-dark.scss +1 -17
  57. package/styles/bootstrap.css +644 -353
  58. package/styles/bootstrap.scss +1 -17
  59. package/styles/bootstrap4.css +680 -381
  60. package/styles/bootstrap4.scss +1 -17
  61. package/styles/bootstrap5-dark.css +694 -376
  62. package/styles/bootstrap5-dark.scss +1 -17
  63. package/styles/bootstrap5.css +695 -377
  64. package/styles/bootstrap5.scss +1 -17
  65. package/styles/fabric-dark.css +642 -358
  66. package/styles/fabric-dark.scss +1 -17
  67. package/styles/fabric.css +641 -357
  68. package/styles/fabric.scss +1 -17
  69. package/styles/file-manager/_all.scss +1 -1
  70. package/styles/file-manager/_bootstrap-dark-definition.scss +2 -6
  71. package/styles/file-manager/_bootstrap-definition.scss +2 -6
  72. package/styles/file-manager/_bootstrap4-definition.scss +2 -6
  73. package/styles/file-manager/_bootstrap5-definition.scss +15 -20
  74. package/styles/file-manager/_fabric-dark-definition.scss +2 -6
  75. package/styles/file-manager/_fabric-definition.scss +2 -6
  76. package/styles/file-manager/_fluent-definition.scss +15 -18
  77. package/styles/file-manager/_highcontrast-definition.scss +2 -6
  78. package/styles/file-manager/_highcontrast-light-definition.scss +2 -6
  79. package/styles/file-manager/_layout.scss +932 -369
  80. package/styles/file-manager/_material-dark-definition.scss +2 -7
  81. package/styles/file-manager/_material-definition.scss +2 -7
  82. package/styles/file-manager/_tailwind-definition.scss +16 -20
  83. package/styles/file-manager/_theme.scss +102 -123
  84. package/styles/file-manager/bootstrap-dark.css +665 -371
  85. package/styles/file-manager/bootstrap-dark.scss +1 -2
  86. package/styles/file-manager/bootstrap.css +644 -353
  87. package/styles/file-manager/bootstrap.scss +1 -2
  88. package/styles/file-manager/bootstrap4.css +680 -381
  89. package/styles/file-manager/bootstrap4.scss +1 -2
  90. package/styles/file-manager/bootstrap5-dark.css +694 -376
  91. package/styles/file-manager/bootstrap5-dark.scss +1 -2
  92. package/styles/file-manager/bootstrap5.css +695 -377
  93. package/styles/file-manager/bootstrap5.scss +1 -2
  94. package/styles/file-manager/fabric-dark.css +642 -358
  95. package/styles/file-manager/fabric-dark.scss +1 -2
  96. package/styles/file-manager/fabric.css +641 -357
  97. package/styles/file-manager/fabric.scss +1 -2
  98. package/styles/file-manager/fluent-dark.css +641 -356
  99. package/styles/file-manager/fluent-dark.scss +1 -2
  100. package/styles/file-manager/fluent.css +640 -355
  101. package/styles/file-manager/fluent.scss +1 -2
  102. package/styles/file-manager/highcontrast-light.css +644 -354
  103. package/styles/file-manager/highcontrast-light.scss +1 -2
  104. package/styles/file-manager/highcontrast.css +647 -377
  105. package/styles/file-manager/highcontrast.scss +1 -2
  106. package/styles/file-manager/icons/_bootstrap.scss +1 -0
  107. package/styles/file-manager/icons/_bootstrap4.scss +1 -0
  108. package/styles/file-manager/icons/_fabric-dark.scss +1 -0
  109. package/styles/file-manager/icons/_fabric.scss +1 -0
  110. package/styles/file-manager/material-dark.css +671 -392
  111. package/styles/file-manager/material-dark.scss +1 -2
  112. package/styles/file-manager/material.css +654 -391
  113. package/styles/file-manager/material.scss +1 -2
  114. package/styles/file-manager/tailwind-dark.css +667 -350
  115. package/styles/file-manager/tailwind-dark.scss +1 -2
  116. package/styles/file-manager/tailwind.css +667 -350
  117. package/styles/file-manager/tailwind.scss +1 -2
  118. package/styles/fluent-dark.css +641 -356
  119. package/styles/fluent-dark.scss +1 -17
  120. package/styles/fluent.css +640 -355
  121. package/styles/fluent.scss +1 -17
  122. package/styles/highcontrast-light.css +644 -354
  123. package/styles/highcontrast-light.scss +1 -17
  124. package/styles/highcontrast.css +647 -377
  125. package/styles/highcontrast.scss +1 -17
  126. package/styles/material-dark.css +671 -392
  127. package/styles/material-dark.scss +1 -17
  128. package/styles/material.css +654 -391
  129. package/styles/material.scss +1 -17
  130. package/styles/tailwind-dark.css +667 -350
  131. package/styles/tailwind-dark.scss +1 -17
  132. package/styles/tailwind.css +667 -350
  133. package/styles/tailwind.scss +1 -17
  134. package/dist/ej2-filemanager.min.js +0 -1
  135. package/src/file-manager/actions/virtualization.d.ts +0 -93
  136. package/src/file-manager/actions/virtualization.js +0 -279
  137. package/styles/bootstrap-dark-lite.css +0 -1058
  138. package/styles/bootstrap-dark-lite.scss +0 -16
  139. package/styles/bootstrap-lite.css +0 -1040
  140. package/styles/bootstrap-lite.scss +0 -16
  141. package/styles/bootstrap4-lite.css +0 -1068
  142. package/styles/bootstrap4-lite.scss +0 -16
  143. package/styles/bootstrap5-dark-lite.css +0 -1078
  144. package/styles/bootstrap5-dark-lite.scss +0 -16
  145. package/styles/bootstrap5-lite.css +0 -1078
  146. package/styles/bootstrap5-lite.scss +0 -16
  147. package/styles/bootstrap5.3-lite.css +0 -1035
  148. package/styles/bootstrap5.3-lite.scss +0 -16
  149. package/styles/bootstrap5.3.css +0 -1603
  150. package/styles/bootstrap5.3.scss +0 -17
  151. package/styles/fabric-dark-lite.css +0 -1039
  152. package/styles/fabric-dark-lite.scss +0 -16
  153. package/styles/fabric-lite.css +0 -1039
  154. package/styles/fabric-lite.scss +0 -16
  155. package/styles/file-manager/_bds-definition.scss +0 -236
  156. package/styles/file-manager/_bigger.scss +0 -758
  157. package/styles/file-manager/_bootstrap5.3-definition.scss +0 -242
  158. package/styles/file-manager/_fluent2-definition.scss +0 -255
  159. package/styles/file-manager/_fusionnew-definition.scss +0 -241
  160. package/styles/file-manager/_material3-dark-definition.scss +0 -1
  161. package/styles/file-manager/_material3-definition.scss +0 -235
  162. package/styles/file-manager/bootstrap5.3.css +0 -1603
  163. package/styles/file-manager/bootstrap5.3.scss +0 -17
  164. package/styles/file-manager/fluent2.css +0 -1886
  165. package/styles/file-manager/fluent2.scss +0 -17
  166. package/styles/file-manager/icons/_bds.scss +0 -235
  167. package/styles/file-manager/icons/_bootstrap5.3.scss +0 -235
  168. package/styles/file-manager/icons/_fluent2.scss +0 -235
  169. package/styles/file-manager/icons/_fusionnew.scss +0 -235
  170. package/styles/file-manager/icons/_material3-dark.scss +0 -1
  171. package/styles/file-manager/icons/_material3.scss +0 -235
  172. package/styles/file-manager/material3-dark.css +0 -1633
  173. package/styles/file-manager/material3-dark.scss +0 -18
  174. package/styles/file-manager/material3.css +0 -1635
  175. package/styles/file-manager/material3.scss +0 -18
  176. package/styles/fluent-dark-lite.css +0 -1037
  177. package/styles/fluent-dark-lite.scss +0 -16
  178. package/styles/fluent-lite.css +0 -1036
  179. package/styles/fluent-lite.scss +0 -16
  180. package/styles/fluent2-lite.css +0 -1272
  181. package/styles/fluent2-lite.scss +0 -16
  182. package/styles/fluent2.css +0 -1886
  183. package/styles/fluent2.scss +0 -17
  184. package/styles/highcontrast-light-lite.css +0 -1039
  185. package/styles/highcontrast-light-lite.scss +0 -16
  186. package/styles/highcontrast-lite.css +0 -1059
  187. package/styles/highcontrast-lite.scss +0 -16
  188. package/styles/material-dark-lite.css +0 -1092
  189. package/styles/material-dark-lite.scss +0 -16
  190. package/styles/material-lite.css +0 -1097
  191. package/styles/material-lite.scss +0 -16
  192. package/styles/material3-dark-lite.css +0 -1090
  193. package/styles/material3-dark-lite.scss +0 -16
  194. package/styles/material3-dark.css +0 -1633
  195. package/styles/material3-dark.scss +0 -19
  196. package/styles/material3-lite.css +0 -1092
  197. package/styles/material3-lite.scss +0 -16
  198. package/styles/material3.css +0 -1635
  199. package/styles/material3.scss +0 -19
  200. package/styles/tailwind-dark-lite.css +0 -1060
  201. package/styles/tailwind-dark-lite.scss +0 -16
  202. package/styles/tailwind-lite.css +0 -1060
  203. package/styles/tailwind-lite.scss +0 -16
@@ -1,4 +1,4 @@
1
- import { Property, ChildProperty } from '@syncfusion/ej2-base';import { DisplayMode, ItemAlign, ItemType, OverflowOption } from '@syncfusion/ej2-navigations';
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
2
 
3
3
  /**
4
4
  * Interface for a class ToolbarSettings
@@ -8,7 +8,7 @@ export interface ToolbarSettingsModel {
8
8
  /**
9
9
  * An array of string or object that is used to configure the toolbar items.
10
10
  *
11
- * @default defaultToolbarItems
11
+ * @default toolbarItems
12
12
  */
13
13
  items?: string[];
14
14
 
@@ -19,179 +19,4 @@ export interface ToolbarSettingsModel {
19
19
  */
20
20
  visible?: boolean;
21
21
 
22
- }
23
-
24
- /**
25
- * Interface for a class ToolbarItem
26
- */
27
- export interface ToolbarItemModel {
28
-
29
- /**
30
- * Specifies the unique ID to be used with button or input element of Toolbar items.
31
- *
32
- * @default ""
33
- */
34
- id?: string;
35
-
36
- /**
37
- * Specifies the text to be displayed on the Toolbar button.
38
- *
39
- * @default ""
40
- */
41
- text?: string;
42
-
43
- /**
44
- * Specifies the width of the Toolbar button commands.
45
- *
46
- * @default 'auto'
47
- */
48
- width?: number | string;
49
-
50
- /**
51
- * Defines single/multiple classes (separated by space) to be used for customization of commands.
52
- *
53
- * @default ""
54
- */
55
- cssClass?: string;
56
-
57
- /**
58
- * Defines the priority of items to display it in popup always.
59
- * It allows to maintain toolbar item on popup always but it does not work for toolbar priority items.
60
- *
61
- * @default false
62
- */
63
- showAlwaysInPopup?: boolean;
64
-
65
- /**
66
- * Specifies whether an item should be disabled or not.
67
- *
68
- * @default false
69
- */
70
- disabled?: boolean;
71
-
72
- /**
73
- * Defines single/multiple classes separated by space used to specify an icon for the button.
74
- * The icon will be positioned before the text content if text is available, otherwise the icon alone will be rendered.
75
- *
76
- * @default ""
77
- */
78
- prefixIcon?: string;
79
-
80
- /**
81
- * Defines single/multiple classes separated by space used to specify an icon for the button.
82
- * The icon will be positioned after the text content if text is available.
83
- *
84
- * @default ""
85
- */
86
- suffixIcon?: string;
87
-
88
- /**
89
- * Specifies whether an item should be hidden or not.
90
- *
91
- * @default true
92
- */
93
- visible?: boolean;
94
-
95
- /**
96
- * Specifies the Toolbar command display area when an element's content is too large to fit available space.
97
- * This is applicable only to `popup` mode. The possible values for this property as follows
98
- * * `Show`: Always shows the item as the primary priority on the *Toolbar*.
99
- * * `Hide`: Always shows the item as the secondary priority on the *popup*.
100
- * * `None`: No priority for display, and as per normal order moves to popup when content exceeds.
101
- *
102
- * @default 'None'
103
- * @aspDefaultValue Syncfusion.EJ2.Navigations.OverflowOption.None
104
- * @isEnumeration true
105
- * @aspType Syncfusion.EJ2.Navigations.OverflowOption
106
- */
107
- overflow?: OverflowOption;
108
-
109
- /**
110
- * Specifies the HTML element/element ID as a string that can be added as a Toolbar command.
111
- * ```
112
- * E.g - items: [{ template: '<input placeholder="Search"/>' },{ template: '#checkbox1' }]
113
- * ```
114
- *
115
- * @default ""
116
- * @angularType string | object
117
- * @reactType string | function | JSX.Element
118
- * @vueType string | function
119
- * @aspType string
120
- */
121
- template?: string | Object | Function;
122
-
123
- /**
124
- * Specifies the types of command to be rendered in the Toolbar.
125
- * Supported types are:
126
- * * `Button`: Creates the Button control with its given properties like text, prefixIcon, etc.
127
- * * `Separator`: Adds a horizontal line that separates the Toolbar commands.
128
- * * `Input`: Creates an input element that is applicable to template rendering with Syncfusion controls like DropDownList,
129
- * AutoComplete, etc.
130
- *
131
- * @default 'Button'
132
- * @aspDefaultValue Syncfusion.EJ2.Navigations.ItemType.Button
133
- * @isEnumeration true
134
- * @aspType Syncfusion.EJ2.Navigations.ItemType
135
- */
136
- type?: ItemType;
137
-
138
- /**
139
- * Specifies where the button text will be displayed on *popup mode* of the Toolbar.
140
- * The possible values for this property as follows
141
- * * `Toolbar`: Text will be displayed on *Toolbar* only.
142
- * * `Overflow`: Text will be displayed only when content overflows to *popup*.
143
- * * `Both`: Text will be displayed on *popup* and *Toolbar*.
144
- *
145
- * @default 'Both'
146
- * @aspDefaultValue Syncfusion.EJ2.Navigations.DisplayMode.Both
147
- * @isEnumeration true
148
- * @aspType Syncfusion.EJ2.Navigations.DisplayMode
149
- */
150
- showTextOn?: DisplayMode;
151
-
152
- /**
153
- * Defines htmlAttributes used to add custom attributes to Toolbar command.
154
- * Supports HTML attributes such as style, class, etc.
155
- *
156
- * @default null
157
- */
158
- htmlAttributes?: { [key: string]: string };
159
-
160
- /**
161
- * Specifies the text to be displayed on hovering the Toolbar button.
162
- *
163
- * @default ""
164
- */
165
- tooltipText?: string;
166
-
167
- /**
168
- * Specifies the location for aligning Toolbar items on the Toolbar. Each command will be aligned according to the `align` property.
169
- * The possible values for this property as follows
170
- * * `Left`: To align commands to the left side of the Toolbar.
171
- * * `Center`: To align commands at the center of the Toolbar.
172
- * * `Right`: To align commands to the right side of the Toolbar.
173
- *
174
- * @default 'Left'
175
- * @aspDefaultValue Syncfusion.EJ2.Navigations.ItemAlign.Left
176
- * @isEnumeration true
177
- * @aspType Syncfusion.EJ2.Navigations.ItemAlign
178
- */
179
- align?: ItemAlign;
180
-
181
- /**
182
- * Specifies the tab order of the Toolbar items. When positive values assigned, it allows to switch focus to the next/previous toolbar items with Tab/ShiftTab keys.
183
- * By default, user can able to switch between items only via arrow keys.
184
- * If the value is set to 0 for all tool bar items, then tab switches based on element order.
185
- *
186
- * @default -1
187
- */
188
- tabIndex?: number;
189
-
190
- /**
191
- * Specifies the unique name for each toolbar item rendered in File Manager. This name is used to map the toolbar items in the File Manager component.
192
- *
193
- * @default null
194
- */
195
- name?: string;
196
-
197
22
  }
@@ -1,6 +1,5 @@
1
1
  import { ChildProperty } from '@syncfusion/ej2-base';
2
- import { DisplayMode, ItemAlign, ItemType, OverflowOption } from '@syncfusion/ej2-navigations';
3
- export declare const defaultToolbarItems: string[];
2
+ export declare const toolbarItems: string[];
4
3
  /**
5
4
  * Specifies the Toolbar settings of the FileManager.
6
5
  */
@@ -8,7 +7,7 @@ export declare class ToolbarSettings extends ChildProperty<ToolbarSettings> {
8
7
  /**
9
8
  * An array of string or object that is used to configure the toolbar items.
10
9
  *
11
- * @default defaultToolbarItems
10
+ * @default toolbarItems
12
11
  */
13
12
  items: string[];
14
13
  /**
@@ -18,157 +17,3 @@ export declare class ToolbarSettings extends ChildProperty<ToolbarSettings> {
18
17
  */
19
18
  visible: boolean;
20
19
  }
21
- export declare class ToolbarItem extends ChildProperty<ToolbarItem> {
22
- /**
23
- * Specifies the unique ID to be used with button or input element of Toolbar items.
24
- *
25
- * @default ""
26
- */
27
- id: string;
28
- /**
29
- * Specifies the text to be displayed on the Toolbar button.
30
- *
31
- * @default ""
32
- */
33
- text: string;
34
- /**
35
- * Specifies the width of the Toolbar button commands.
36
- *
37
- * @default 'auto'
38
- */
39
- width: number | string;
40
- /**
41
- * Defines single/multiple classes (separated by space) to be used for customization of commands.
42
- *
43
- * @default ""
44
- */
45
- cssClass: string;
46
- /**
47
- * Defines the priority of items to display it in popup always.
48
- * It allows to maintain toolbar item on popup always but it does not work for toolbar priority items.
49
- *
50
- * @default false
51
- */
52
- showAlwaysInPopup: boolean;
53
- /**
54
- * Specifies whether an item should be disabled or not.
55
- *
56
- * @default false
57
- */
58
- disabled: boolean;
59
- /**
60
- * Defines single/multiple classes separated by space used to specify an icon for the button.
61
- * The icon will be positioned before the text content if text is available, otherwise the icon alone will be rendered.
62
- *
63
- * @default ""
64
- */
65
- prefixIcon: string;
66
- /**
67
- * Defines single/multiple classes separated by space used to specify an icon for the button.
68
- * The icon will be positioned after the text content if text is available.
69
- *
70
- * @default ""
71
- */
72
- suffixIcon: string;
73
- /**
74
- * Specifies whether an item should be hidden or not.
75
- *
76
- * @default true
77
- */
78
- visible: boolean;
79
- /**
80
- * Specifies the Toolbar command display area when an element's content is too large to fit available space.
81
- * This is applicable only to `popup` mode. The possible values for this property as follows
82
- * * `Show`: Always shows the item as the primary priority on the *Toolbar*.
83
- * * `Hide`: Always shows the item as the secondary priority on the *popup*.
84
- * * `None`: No priority for display, and as per normal order moves to popup when content exceeds.
85
- *
86
- * @default 'None'
87
- * @aspDefaultValue Syncfusion.EJ2.Navigations.OverflowOption.None
88
- * @isEnumeration true
89
- * @aspType Syncfusion.EJ2.Navigations.OverflowOption
90
- */
91
- overflow: OverflowOption;
92
- /**
93
- * Specifies the HTML element/element ID as a string that can be added as a Toolbar command.
94
- * ```
95
- * E.g - items: [{ template: '<input placeholder="Search"/>' },{ template: '#checkbox1' }]
96
- * ```
97
- *
98
- * @default ""
99
- * @angularType string | object
100
- * @reactType string | function | JSX.Element
101
- * @vueType string | function
102
- * @aspType string
103
- */
104
- template: string | Object | Function;
105
- /**
106
- * Specifies the types of command to be rendered in the Toolbar.
107
- * Supported types are:
108
- * * `Button`: Creates the Button control with its given properties like text, prefixIcon, etc.
109
- * * `Separator`: Adds a horizontal line that separates the Toolbar commands.
110
- * * `Input`: Creates an input element that is applicable to template rendering with Syncfusion controls like DropDownList,
111
- * AutoComplete, etc.
112
- *
113
- * @default 'Button'
114
- * @aspDefaultValue Syncfusion.EJ2.Navigations.ItemType.Button
115
- * @isEnumeration true
116
- * @aspType Syncfusion.EJ2.Navigations.ItemType
117
- */
118
- type: ItemType;
119
- /**
120
- * Specifies where the button text will be displayed on *popup mode* of the Toolbar.
121
- * The possible values for this property as follows
122
- * * `Toolbar`: Text will be displayed on *Toolbar* only.
123
- * * `Overflow`: Text will be displayed only when content overflows to *popup*.
124
- * * `Both`: Text will be displayed on *popup* and *Toolbar*.
125
- *
126
- * @default 'Both'
127
- * @aspDefaultValue Syncfusion.EJ2.Navigations.DisplayMode.Both
128
- * @isEnumeration true
129
- * @aspType Syncfusion.EJ2.Navigations.DisplayMode
130
- */
131
- showTextOn: DisplayMode;
132
- /**
133
- * Defines htmlAttributes used to add custom attributes to Toolbar command.
134
- * Supports HTML attributes such as style, class, etc.
135
- *
136
- * @default null
137
- */
138
- htmlAttributes: {
139
- [key: string]: string;
140
- };
141
- /**
142
- * Specifies the text to be displayed on hovering the Toolbar button.
143
- *
144
- * @default ""
145
- */
146
- tooltipText: string;
147
- /**
148
- * Specifies the location for aligning Toolbar items on the Toolbar. Each command will be aligned according to the `align` property.
149
- * The possible values for this property as follows
150
- * * `Left`: To align commands to the left side of the Toolbar.
151
- * * `Center`: To align commands at the center of the Toolbar.
152
- * * `Right`: To align commands to the right side of the Toolbar.
153
- *
154
- * @default 'Left'
155
- * @aspDefaultValue Syncfusion.EJ2.Navigations.ItemAlign.Left
156
- * @isEnumeration true
157
- * @aspType Syncfusion.EJ2.Navigations.ItemAlign
158
- */
159
- align: ItemAlign;
160
- /**
161
- * Specifies the tab order of the Toolbar items. When positive values assigned, it allows to switch focus to the next/previous toolbar items with Tab/ShiftTab keys.
162
- * By default, user can able to switch between items only via arrow keys.
163
- * If the value is set to 0 for all tool bar items, then tab switches based on element order.
164
- *
165
- * @default -1
166
- */
167
- tabIndex: number;
168
- /**
169
- * Specifies the unique name for each toolbar item rendered in File Manager. This name is used to map the toolbar items in the File Manager component.
170
- *
171
- * @default null
172
- */
173
- name: string;
174
- }
@@ -18,7 +18,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
18
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
20
  import { Property, ChildProperty } from '@syncfusion/ej2-base';
21
- export var defaultToolbarItems = ['NewFolder', 'Upload', 'Cut', 'Copy', 'Paste', 'Delete', 'Download', 'Rename',
21
+ export var toolbarItems = ['NewFolder', 'Upload', 'Cut', 'Copy', 'Paste', 'Delete', 'Download', 'Rename',
22
22
  'SortBy', 'Refresh', 'Selection', 'View', 'Details'];
23
23
  /**
24
24
  * Specifies the Toolbar settings of the FileManager.
@@ -29,7 +29,7 @@ var ToolbarSettings = /** @class */ (function (_super) {
29
29
  return _super !== null && _super.apply(this, arguments) || this;
30
30
  }
31
31
  __decorate([
32
- Property(defaultToolbarItems)
32
+ Property(toolbarItems)
33
33
  ], ToolbarSettings.prototype, "items", void 0);
34
34
  __decorate([
35
35
  Property(true)
@@ -37,65 +37,3 @@ var ToolbarSettings = /** @class */ (function (_super) {
37
37
  return ToolbarSettings;
38
38
  }(ChildProperty));
39
39
  export { ToolbarSettings };
40
- var ToolbarItem = /** @class */ (function (_super) {
41
- __extends(ToolbarItem, _super);
42
- function ToolbarItem() {
43
- return _super !== null && _super.apply(this, arguments) || this;
44
- }
45
- __decorate([
46
- Property('')
47
- ], ToolbarItem.prototype, "id", void 0);
48
- __decorate([
49
- Property('')
50
- ], ToolbarItem.prototype, "text", void 0);
51
- __decorate([
52
- Property('auto')
53
- ], ToolbarItem.prototype, "width", void 0);
54
- __decorate([
55
- Property('')
56
- ], ToolbarItem.prototype, "cssClass", void 0);
57
- __decorate([
58
- Property(false)
59
- ], ToolbarItem.prototype, "showAlwaysInPopup", void 0);
60
- __decorate([
61
- Property(false)
62
- ], ToolbarItem.prototype, "disabled", void 0);
63
- __decorate([
64
- Property('')
65
- ], ToolbarItem.prototype, "prefixIcon", void 0);
66
- __decorate([
67
- Property('')
68
- ], ToolbarItem.prototype, "suffixIcon", void 0);
69
- __decorate([
70
- Property(true)
71
- ], ToolbarItem.prototype, "visible", void 0);
72
- __decorate([
73
- Property('None')
74
- ], ToolbarItem.prototype, "overflow", void 0);
75
- __decorate([
76
- Property('')
77
- ], ToolbarItem.prototype, "template", void 0);
78
- __decorate([
79
- Property('Button')
80
- ], ToolbarItem.prototype, "type", void 0);
81
- __decorate([
82
- Property('Both')
83
- ], ToolbarItem.prototype, "showTextOn", void 0);
84
- __decorate([
85
- Property(null)
86
- ], ToolbarItem.prototype, "htmlAttributes", void 0);
87
- __decorate([
88
- Property('')
89
- ], ToolbarItem.prototype, "tooltipText", void 0);
90
- __decorate([
91
- Property('Left')
92
- ], ToolbarItem.prototype, "align", void 0);
93
- __decorate([
94
- Property(-1)
95
- ], ToolbarItem.prototype, "tabIndex", void 0);
96
- __decorate([
97
- Property()
98
- ], ToolbarItem.prototype, "name", void 0);
99
- return ToolbarItem;
100
- }(ChildProperty));
101
- export { ToolbarItem };
@@ -29,19 +29,6 @@ export interface UploadSettingsModel {
29
29
  */
30
30
  autoClose?: boolean;
31
31
 
32
- /**
33
- * Specifies a Boolean value that indicates whether the folder (directory) can be browsed and uploaded in the FileManager component.
34
- * This property allows to select or drop to upload the folders (directories) instead of files. When folder upload is enabled, all the folder contents including hierarchy folders and files are considered to upload.
35
- * Folder (directory) upload is supported for the following file system providers,
36
- * - Physical provider
37
- * - NodeJS provider
38
- * - Azure provider
39
- * - Amazon S3 provider
40
- *
41
- * @default false
42
- */
43
- directoryUpload?: boolean;
44
-
45
32
  /**
46
33
  * Specifies the minimum file size to be uploaded in bytes.
47
34
  * The property is used to make sure that you cannot upload empty files and small files.
@@ -24,18 +24,6 @@ export declare class UploadSettings extends ChildProperty<UploadSettings> {
24
24
  * @default false
25
25
  */
26
26
  autoClose: boolean;
27
- /**
28
- * Specifies a Boolean value that indicates whether the folder (directory) can be browsed and uploaded in the FileManager component.
29
- * This property allows to select or drop to upload the folders (directories) instead of files. When folder upload is enabled, all the folder contents including hierarchy folders and files are considered to upload.
30
- * Folder (directory) upload is supported for the following file system providers,
31
- * - Physical provider
32
- * - NodeJS provider
33
- * - Azure provider
34
- * - Amazon S3 provider
35
- *
36
- * @default false
37
- */
38
- directoryUpload: boolean;
39
27
  /**
40
28
  * Specifies the minimum file size to be uploaded in bytes.
41
29
  * The property is used to make sure that you cannot upload empty files and small files.
@@ -35,9 +35,6 @@ var UploadSettings = /** @class */ (function (_super) {
35
35
  __decorate([
36
36
  Property(false)
37
37
  ], UploadSettings.prototype, "autoClose", void 0);
38
- __decorate([
39
- Property(false)
40
- ], UploadSettings.prototype, "directoryUpload", void 0);
41
38
  __decorate([
42
39
  Property(0)
43
40
  ], UploadSettings.prototype, "minFileSize", void 0);
@@ -9,7 +9,6 @@ export declare class ContextMenu {
9
9
  private targetElement;
10
10
  contextMenu: Menu;
11
11
  menuTarget: HTMLElement;
12
- isMenuItemClicked: boolean;
13
12
  private keyConfigs;
14
13
  private keyboardModule;
15
14
  private menuType;
@@ -27,7 +26,7 @@ export declare class ContextMenu {
27
26
  constructor(parent?: IFileManager);
28
27
  private render;
29
28
  onBeforeItemRender(args: MenuEventArgs): void;
30
- onBeforeClose(args: BeforeOpenCloseMenuEventArgs): void;
29
+ onBeforeClose(): void;
31
30
  onBeforeOpen(args: BeforeOpenCloseMenuEventArgs): void;
32
31
  private updateActiveModule;
33
32
  /**