@syncfusion/ej2-filemanager 19.3.53 → 19.3.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +244 -0
- package/CHANGELOG.md +9 -1
- package/dist/ej2-filemanager.umd.min.js +2 -2
- package/dist/ej2-filemanager.umd.min.js.map +1 -1
- package/dist/es6/ej2-filemanager.es2015.js +4 -4
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +4 -4
- package/dist/es6/ej2-filemanager.es5.js.map +1 -1
- package/dist/global/ej2-filemanager.min.js +2 -2
- package/dist/global/ej2-filemanager.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/file-manager/base/file-manager-model.d.ts +1 -1
- package/src/file-manager/common/operations.js +1 -1
- package/src/file-manager/common/utility.js +1 -1
- package/src/file-manager/layout/details-view.js +1 -1
- package/src/file-manager/models/default-locale.js +1 -1
- package/tslint.json +111 -0
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 19.3.
|
3
|
+
* version : 19.3.55
|
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
|
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"_from": "@syncfusion/ej2-filemanager@*",
|
3
|
-
"_id": "@syncfusion/ej2-filemanager@
|
3
|
+
"_id": "@syncfusion/ej2-filemanager@19.3.53",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-y+rU7IeFzxiAwMQdhwlvddw38ICY0HKcyYY7uur3ltJbGxmR+m037nXA4Yj1+oLRfpURVYp63F/MtX147nZCog==",
|
6
6
|
"_location": "/@syncfusion/ej2-filemanager",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -25,8 +25,8 @@
|
|
25
25
|
"/@syncfusion/ej2-richtexteditor",
|
26
26
|
"/@syncfusion/ej2-vue-filemanager"
|
27
27
|
],
|
28
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-filemanager/-/ej2-filemanager-
|
29
|
-
"_shasum": "
|
28
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-filemanager/-/ej2-filemanager-19.3.53.tgz",
|
29
|
+
"_shasum": "46218763e324cfee9ae9342adfecf7c093e5ef7e",
|
30
30
|
"_spec": "@syncfusion/ej2-filemanager@*",
|
31
31
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
32
32
|
"author": {
|
@@ -37,14 +37,14 @@
|
|
37
37
|
},
|
38
38
|
"bundleDependencies": false,
|
39
39
|
"dependencies": {
|
40
|
-
"@syncfusion/ej2-base": "~19.3.
|
40
|
+
"@syncfusion/ej2-base": "~19.3.54",
|
41
41
|
"@syncfusion/ej2-buttons": "~19.3.53",
|
42
42
|
"@syncfusion/ej2-data": "~19.3.53",
|
43
|
-
"@syncfusion/ej2-grids": "~19.3.
|
43
|
+
"@syncfusion/ej2-grids": "~19.3.55",
|
44
44
|
"@syncfusion/ej2-inputs": "~19.3.53",
|
45
45
|
"@syncfusion/ej2-layouts": "~19.3.53",
|
46
46
|
"@syncfusion/ej2-lists": "~19.3.53",
|
47
|
-
"@syncfusion/ej2-navigations": "~19.3.
|
47
|
+
"@syncfusion/ej2-navigations": "~19.3.54",
|
48
48
|
"@syncfusion/ej2-popups": "~19.3.53",
|
49
49
|
"@syncfusion/ej2-splitbuttons": "~19.3.53",
|
50
50
|
"selenium-webdriver": "^4.0.0-alpha.1"
|
@@ -68,6 +68,6 @@
|
|
68
68
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
69
69
|
},
|
70
70
|
"typings": "index.d.ts",
|
71
|
-
"version": "19.3.
|
71
|
+
"version": "19.3.55",
|
72
72
|
"sideEffects": false
|
73
73
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import { Component, EmitType, ModuleDeclaration, isNullOrUndefined, L10n, closest } from '@syncfusion/ej2-base';import { Property, INotifyPropertyChanged, NotifyPropertyChanges, Complex, select } from '@syncfusion/ej2-base';import { createElement, addClass, removeClass, setStyleAttribute as setAttr } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, formatUnit, Browser, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';import { Event, EventHandler, getValue, setValue } from '@syncfusion/ej2-base';import { Splitter, PanePropertiesModel } from '@syncfusion/ej2-layouts';import { Dialog, createSpinner, hideSpinner, showSpinner, BeforeOpenEventArgs, BeforeCloseEventArgs } from '@syncfusion/ej2-popups';import { createDialog, createExtDialog } from '../pop-up/dialog';import { ToolbarSettings, ToolbarSettingsModel, AjaxSettings, NavigationPaneSettings, DetailsViewSettings } from '../models/index';import { NavigationPaneSettingsModel, DetailsViewSettingsModel } from '../models/index';import { AjaxSettingsModel, SearchSettings, SearchSettingsModel } from '../models/index';import { Toolbar } from '../actions/toolbar';import { DetailsView } from '../layout/details-view';import { LargeIconsView } from '../layout/large-icons-view';import { Uploader, UploadingEventArgs, SelectedEventArgs, FileInfo } from '@syncfusion/ej2-inputs';import { UploadSettingsModel } from '../models/upload-settings-model';import { UploadSettings } from '../models/upload-settings';import * as events from './constant';import * as CLS from './classes';import { read, filter, createFolder } from '../common/operations';import { ITreeView, IContextMenu, ViewType, SortOrder, FileDragEventArgs, RetryArgs, ReadArgs, FileSelectionEventArgs } from './interface';import { BeforeSendEventArgs, SuccessEventArgs, FailureEventArgs, FileLoadEventArgs } from './interface';import { FileOpenEventArgs, FileSelectEventArgs, MenuClickEventArgs, MenuOpenEventArgs } from './interface';import { ToolbarClickEventArgs, ToolbarCreateEventArgs, UploadListCreateArgs } from './interface';import { PopupOpenCloseEventArgs, BeforePopupOpenCloseEventArgs, BeforeDownloadEventArgs, BeforeImageLoadEventArgs } from './interface';import { refresh, getPathObject, getLocaleText, setNextPath, createDeniedDialog, getCssClass } from '../common/utility';import { hasContentAccess, hasUploadAccess, updateLayout, createNewFolder, uploadItem } from '../common/utility';import { TreeView as BaseTreeView } from '@syncfusion/ej2-navigations';import { ContextMenuSettingsModel } from '../models/contextMenu-settings-model';import { ContextMenuSettings } from '../models/contextMenu-settings';import { BreadCrumbBar } from '../actions/breadcrumb-bar';import { ContextMenu } from '../pop-up/context-menu';import { defaultLocale } from '../models/default-locale';import { PositionModel } from '@syncfusion/ej2-base/src/draggable-model';
|
2
2
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
3
3
|
|
4
4
|
/**
|
@@ -53,7 +53,7 @@ export function filter(parent, event) {
|
|
53
53
|
var filterData;
|
54
54
|
// eslint-disable-next-line
|
55
55
|
var filterDataVal = parent.filterData ? extend(filterData, data, parent.filterData) : data;
|
56
|
-
createAjax(parent,
|
56
|
+
createAjax(parent, filterDataVal, filterSuccess, event, getValue('action', filterDataVal));
|
57
57
|
}
|
58
58
|
/**
|
59
59
|
* Function to rename the folder/file in File Manager.
|
@@ -1022,7 +1022,7 @@ export function createVirtualDragElement(parent) {
|
|
1022
1022
|
parent.dragNodes.push(parent.selectedItems[i]);
|
1023
1023
|
i++;
|
1024
1024
|
}
|
1025
|
-
if (parent.selectedItems.length
|
1025
|
+
if (parent.selectedItems.length === 0 && parent.dragData && parent.dragData.length === 1) {
|
1026
1026
|
parent.dragNodes.push(getItemName(parent, parent.dragData[0]));
|
1027
1027
|
}
|
1028
1028
|
}
|
@@ -894,7 +894,7 @@ var DetailsView = /** @class */ (function () {
|
|
894
894
|
// eslint-disable-next-line
|
895
895
|
this.parent.dragData = this.gridObj.getSelectedRecords();
|
896
896
|
var dragRow;
|
897
|
-
if (this.parent.dragData.length
|
897
|
+
if (this.parent.dragData.length === 0 && dragLi) {
|
898
898
|
dragRow = this.gridObj.getRowInfo(dragLi);
|
899
899
|
}
|
900
900
|
if (dragRow) {
|
@@ -85,7 +85,7 @@ export var defaultLocale = {
|
|
85
85
|
'Filter-Empty': 'No results found',
|
86
86
|
'Filter-Key': 'Try with different filter',
|
87
87
|
'Sub-Folder-Error': 'The destination folder is the subfolder of the source folder.',
|
88
|
-
|
88
|
+
'Same-Folder-Error': 'The destination folder is the same as the source folder.',
|
89
89
|
'Access-Denied': 'Access Denied',
|
90
90
|
'Access-Details': 'You don"t have permission to access this folder.',
|
91
91
|
'Header-Retry': 'File Already Exists',
|
package/tslint.json
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
{
|
2
|
+
"rules": {
|
3
|
+
"chai-vague-errors": true,
|
4
|
+
"use-isnan": true,
|
5
|
+
"missing-jsdoc": true,
|
6
|
+
"missing-optional-annotation": true,
|
7
|
+
"no-backbone-get-set-outside-model": true,
|
8
|
+
"no-banned-terms": true,
|
9
|
+
"no-constant-condition": true,
|
10
|
+
"no-control-regex": true,
|
11
|
+
"no-cookies": true,
|
12
|
+
"no-delete-expression": true,
|
13
|
+
"no-document-write": true,
|
14
|
+
"no-document-domain": true,
|
15
|
+
"no-disable-auto-sanitization": true,
|
16
|
+
"no-duplicate-case": true,
|
17
|
+
"no-duplicate-parameter-names": true,
|
18
|
+
"no-empty-interfaces": true,
|
19
|
+
"no-exec-script": true,
|
20
|
+
"no-function-constructor-with-string-args": true,
|
21
|
+
"no-function-expression": true,
|
22
|
+
"no-invalid-regexp": true,
|
23
|
+
"no-for-in": true,
|
24
|
+
"member-access": true,
|
25
|
+
"no-multiline-string": true,
|
26
|
+
"no-multiple-var-decl": true,
|
27
|
+
"no-unnecessary-bind": true,
|
28
|
+
"no-unnecessary-semicolons": true,
|
29
|
+
"no-octal-literal": true,
|
30
|
+
"no-regex-spaces": true,
|
31
|
+
"no-sparse-arrays": true,
|
32
|
+
"no-string-based-set-immediate": true,
|
33
|
+
"no-string-based-set-interval": true,
|
34
|
+
"no-unused-imports": true,
|
35
|
+
"no-with-statement": true,
|
36
|
+
"prefer-array-literal": true,
|
37
|
+
"promise-must-complete": false,
|
38
|
+
"react-no-dangerous-html": true,
|
39
|
+
"use-named-parameter": true,
|
40
|
+
"valid-typeof": true,
|
41
|
+
"max-func-body-length": [true, 100, {
|
42
|
+
"ignore-parameters-to-function-regex": "describe"
|
43
|
+
}],
|
44
|
+
"class-name": true,
|
45
|
+
"curly": true,
|
46
|
+
"eofline": false,
|
47
|
+
"forin": true,
|
48
|
+
"indent": [
|
49
|
+
true,
|
50
|
+
"spaces"
|
51
|
+
],
|
52
|
+
"label-position": true,
|
53
|
+
"max-line-length": [true, 140],
|
54
|
+
"no-arg": true,
|
55
|
+
"no-console": [true,
|
56
|
+
"debug",
|
57
|
+
"info",
|
58
|
+
"log",
|
59
|
+
"time",
|
60
|
+
"timeEnd",
|
61
|
+
"trace"
|
62
|
+
],
|
63
|
+
"no-construct": true,
|
64
|
+
"no-parameter-properties": true,
|
65
|
+
"no-debugger": true,
|
66
|
+
"no-duplicate-variable": true,
|
67
|
+
"no-empty": true,
|
68
|
+
"no-eval": true,
|
69
|
+
"no-string-literal": true,
|
70
|
+
"no-switch-case-fall-through": true,
|
71
|
+
"trailing-comma": true,
|
72
|
+
"no-trailing-whitespace": true,
|
73
|
+
"no-unused-expression": true,
|
74
|
+
"no-use-before-declare": false,
|
75
|
+
"no-var-requires": true,
|
76
|
+
"one-line": [true,
|
77
|
+
"check-open-brace",
|
78
|
+
"check-catch",
|
79
|
+
"check-else",
|
80
|
+
"check-whitespace"
|
81
|
+
],
|
82
|
+
"no-any": true,
|
83
|
+
"no-conditional-assignment": true,
|
84
|
+
"no-angle-bracket-type-assertion": false,
|
85
|
+
"align": [true, "parameters", "arguments", "statements"],
|
86
|
+
"no-empty-line-after-opening-brace": false,
|
87
|
+
"typedef-whitespace": [false],
|
88
|
+
"ban": true,
|
89
|
+
"quotemark": [true, "single"],
|
90
|
+
"semicolon": true,
|
91
|
+
"triple-equals": [true, "allow-null-check"],
|
92
|
+
"typedef": [true,
|
93
|
+
"call-signature",
|
94
|
+
"parameter",
|
95
|
+
"property-declaration",
|
96
|
+
"variable-declaration",
|
97
|
+
"arrow-parameter",
|
98
|
+
"member-variable-declaration"],
|
99
|
+
"variable-name": true,
|
100
|
+
"whitespace": [true,
|
101
|
+
"check-branch",
|
102
|
+
"check-decl",
|
103
|
+
"check-operator",
|
104
|
+
"check-separator",
|
105
|
+
"check-type"
|
106
|
+
],
|
107
|
+
"jsdoc-format": true,
|
108
|
+
"no-var-keyword": true,
|
109
|
+
"radix": true
|
110
|
+
}
|
111
|
+
}
|