@syncfusion/ej2-filemanager 22.2.12 → 23.1.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.
- package/CHANGELOG.md +9 -72
- package/dist/ej2-filemanager.min.js +3 -3
- package/dist/ej2-filemanager.umd.min.js +3 -3
- package/dist/ej2-filemanager.umd.min.js.map +1 -1
- package/dist/es6/ej2-filemanager.es2015.js +191 -30
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +205 -28
- package/dist/es6/ej2-filemanager.es5.js.map +1 -1
- package/dist/global/ej2-filemanager.min.js +3 -3
- package/dist/global/ej2-filemanager.min.js.map +1 -1
- package/dist/global/index.d.ts +2 -2
- package/package.json +16 -16
- package/src/file-manager/actions/toolbar.d.ts +1 -0
- package/src/file-manager/actions/toolbar.js +117 -8
- package/src/file-manager/base/file-manager-model.d.ts +12 -1
- package/src/file-manager/base/file-manager.d.ts +11 -0
- package/src/file-manager/base/file-manager.js +9 -4
- package/src/file-manager/base/interface.d.ts +2 -1
- package/src/file-manager/layout/details-view.d.ts +1 -0
- package/src/file-manager/layout/details-view.js +9 -4
- package/src/file-manager/layout/large-icons-view.js +1 -1
- package/src/file-manager/layout/navigation-pane.js +6 -3
- package/src/file-manager/models/details-view-settings-model.d.ts +1 -1
- package/src/file-manager/models/toolbar-settings-model.d.ts +177 -2
- package/src/file-manager/models/toolbar-settings.d.ts +157 -2
- package/src/file-manager/models/toolbar-settings.js +64 -2
- package/src/file-manager/pop-up/dialog.js +0 -5
- package/styles/file-manager/_material3-definition.scss +1 -1
- package/styles/file-manager/bootstrap-dark.scss +1 -1
- package/styles/file-manager/bootstrap.scss +1 -1
- package/styles/file-manager/bootstrap4.scss +1 -1
- package/styles/file-manager/bootstrap5-dark.scss +1 -1
- package/styles/file-manager/bootstrap5.scss +1 -1
- package/styles/file-manager/fabric-dark.scss +1 -1
- package/styles/file-manager/fabric.scss +1 -1
- package/styles/file-manager/fluent-dark.scss +1 -1
- package/styles/file-manager/fluent.scss +1 -1
- package/styles/file-manager/highcontrast-light.scss +1 -1
- package/styles/file-manager/highcontrast.scss +1 -1
- package/styles/file-manager/material-dark.css +0 -1
- package/styles/file-manager/material-dark.scss +1 -1
- package/styles/file-manager/material.css +0 -1
- package/styles/file-manager/material.scss +1 -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-dark.scss +1 -1
- package/styles/file-manager/tailwind.css +0 -1
- package/styles/file-manager/tailwind.scss +1 -1
- package/styles/material-dark.css +0 -1
- package/styles/material.css +0 -1
- package/styles/material3-dark.css +1 -2
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +1 -2
- package/styles/material3.scss +1 -1
- package/styles/tailwind-dark.css +0 -1
- package/styles/tailwind.css +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
1
|
+
import { Property, ChildProperty } from '@syncfusion/ej2-base';import { DisplayMode, ItemAlign, ItemType, OverflowOption } from '@syncfusion/ej2-navigations';
|
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
|
11
|
+
* @default defaultToolbarItems
|
12
12
|
*/
|
13
13
|
items?: string[];
|
14
14
|
|
@@ -19,4 +19,179 @@ 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
|
+
|
22
197
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { ChildProperty } from '@syncfusion/ej2-base';
|
2
|
-
|
2
|
+
import { DisplayMode, ItemAlign, ItemType, OverflowOption } from '@syncfusion/ej2-navigations';
|
3
|
+
export declare const defaultToolbarItems: string[];
|
3
4
|
/**
|
4
5
|
* Specifies the Toolbar settings of the FileManager.
|
5
6
|
*/
|
@@ -7,7 +8,7 @@ export declare class ToolbarSettings extends ChildProperty<ToolbarSettings> {
|
|
7
8
|
/**
|
8
9
|
* An array of string or object that is used to configure the toolbar items.
|
9
10
|
*
|
10
|
-
* @default
|
11
|
+
* @default defaultToolbarItems
|
11
12
|
*/
|
12
13
|
items: string[];
|
13
14
|
/**
|
@@ -17,3 +18,157 @@ export declare class ToolbarSettings extends ChildProperty<ToolbarSettings> {
|
|
17
18
|
*/
|
18
19
|
visible: boolean;
|
19
20
|
}
|
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
|
21
|
+
export var defaultToolbarItems = ['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(
|
32
|
+
Property(defaultToolbarItems)
|
33
33
|
], ToolbarSettings.prototype, "items", void 0);
|
34
34
|
__decorate([
|
35
35
|
Property(true)
|
@@ -37,3 +37,65 @@ 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 };
|
@@ -8,7 +8,6 @@ import { paste, rename } from '../common/operations';
|
|
8
8
|
import { getLocaleText, getDuplicateData, objectToString, getCssClass } from '../common/utility';
|
9
9
|
import { Input } from '@syncfusion/ej2-inputs';
|
10
10
|
import { CheckBox } from '@syncfusion/ej2-buttons';
|
11
|
-
// eslint:disable-next-line
|
12
11
|
/**
|
13
12
|
*
|
14
13
|
* @param {IFileManager} parent - Specifies the parent element
|
@@ -168,7 +167,6 @@ function triggerPopupClose(parent, dlgModule, dialogName) {
|
|
168
167
|
var args = { popupModule: dlgModule, element: dlgModule.element, popupName: dialogName };
|
169
168
|
parent.trigger('popupClose', args);
|
170
169
|
}
|
171
|
-
// eslint:disable-next-line
|
172
170
|
/**
|
173
171
|
*
|
174
172
|
* @param {IFileManager} parent - Specifies the parent element.
|
@@ -388,7 +386,6 @@ function retryDlgClose(parent) {
|
|
388
386
|
* @returns {void}
|
389
387
|
* @private
|
390
388
|
*/
|
391
|
-
// eslint-disable-next-line
|
392
389
|
function onRetryOpen(parent, args) {
|
393
390
|
parent.isRetryOpened = true;
|
394
391
|
var dialogEle = getValue('element', args);
|
@@ -537,8 +534,6 @@ function createInput(ele, placeholder) {
|
|
537
534
|
}
|
538
535
|
});
|
539
536
|
}
|
540
|
-
/* istanbul ignore next */
|
541
|
-
// eslint:disable-next-line
|
542
537
|
/**
|
543
538
|
*
|
544
539
|
* @param {IFileManager} parent - specifies the parent element.
|
@@ -124,7 +124,7 @@ $fe-mobile-lg-item-margin: 20px 8px !default;
|
|
124
124
|
$fe-mobile-lg-item-inner-width: 92px !default;
|
125
125
|
$fe-mobile-lg-icon-height: 24px !default;
|
126
126
|
$fe-mobile-lg-icon-width: 32px !default;
|
127
|
-
$fe-mobile-lg-icon-margin: 26px
|
127
|
+
$fe-mobile-lg-icon-margin: 26px auto 12px !default;
|
128
128
|
$fe-mobile-lg-img-height: 110px !default;
|
129
129
|
$fe-mobile-grid-icon-size: 35px !default;
|
130
130
|
$fe-mobile-icon-font-size: 20px !default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/bootstrap-dark
|
1
|
+
@import 'ej2-base/styles/definition/bootstrap-dark.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/bootstrap-dark-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/bootstrap-dark-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/bootstrap-dark-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/bootstrap
|
1
|
+
@import 'ej2-base/styles/definition/bootstrap.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/bootstrap-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/bootstrap-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/bootstrap-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/bootstrap4
|
1
|
+
@import 'ej2-base/styles/definition/bootstrap4.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/bootstrap4-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/bootstrap4-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/bootstrap4-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/bootstrap5-dark
|
1
|
+
@import 'ej2-base/styles/definition/bootstrap5-dark.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/bootstrap5-dark-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/bootstrap5-dark-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/bootstrap5-dark-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/bootstrap5
|
1
|
+
@import 'ej2-base/styles/definition/bootstrap5.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/bootstrap5-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/bootstrap5-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/bootstrap5-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/fabric-dark
|
1
|
+
@import 'ej2-base/styles/definition/fabric-dark.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/fabric-dark-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/fabric-dark-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/fabric-dark-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/fabric
|
1
|
+
@import 'ej2-base/styles/definition/fabric.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/fabric-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/fabric-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/fabric-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/fluent-dark
|
1
|
+
@import 'ej2-base/styles/definition/fluent-dark.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/fluent-dark-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/fluent-dark-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/fluent-dark-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/fluent
|
1
|
+
@import 'ej2-base/styles/definition/fluent.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/fluent-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/fluent-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/fluent-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/highcontrast-light
|
1
|
+
@import 'ej2-base/styles/definition/highcontrast-light.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/highcontrast-light-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/highcontrast-light-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/highcontrast-light-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/highcontrast
|
1
|
+
@import 'ej2-base/styles/definition/highcontrast.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/highcontrast-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/highcontrast-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/highcontrast-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/material-dark
|
1
|
+
@import 'ej2-base/styles/definition/material-dark.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/material-dark-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/material-dark-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/material-dark-definition.scss';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/material
|
1
|
+
@import 'ej2-base/styles/definition/material.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/material-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/material-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/material-definition.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;
|
@@ -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,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,4 +1,4 @@
|
|
1
|
-
@import 'ej2-base/styles/tailwind-dark
|
1
|
+
@import 'ej2-base/styles/definition/tailwind-dark.scss';
|
2
2
|
@import 'ej2-inputs/styles/input/tailwind-dark-definition.scss';
|
3
3
|
@import 'ej2-inputs/styles/textbox/tailwind-dark-definition.scss';
|
4
4
|
@import 'ej2-inputs/styles/uploader/tailwind-dark-definition.scss';
|