@syncfusion/ej2-filemanager 26.2.7 → 26.2.10

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 26.2.7
3
+ * version : 26.2.10
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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@26.2.5",
3
+ "_id": "@syncfusion/ej2-filemanager@26.2.7",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-rF1OJvlaqEm3NDC92w6pIWd29hUVdpp4BNtPDIMcUBH5XxZQKwquofefB+MqmudYqNO0fik9XnO38msrAtQT4w==",
5
+ "_integrity": "sha512-WBLVyIiVrlyLJO0YbLcMYkHc+eJvQSwHeUsr5JWhapUTSo3L0u5Z6Mb0K3BV5q7X6VesEExXXqYXH+OKL4FUaw==",
6
6
  "_location": "/@syncfusion/ej2-filemanager",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -24,8 +24,8 @@
24
24
  "/@syncfusion/ej2-richtexteditor",
25
25
  "/@syncfusion/ej2-vue-filemanager"
26
26
  ],
27
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-26.2.5.tgz",
28
- "_shasum": "445f96ffff1bdec47e1379845dd94fdf08ab79a7",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-26.2.7.tgz",
28
+ "_shasum": "823145120e2b236a4907d250a101ac8e1da431f6",
29
29
  "_spec": "@syncfusion/ej2-filemanager@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
31
31
  "author": {
@@ -36,16 +36,16 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~26.2.5",
40
- "@syncfusion/ej2-buttons": "~26.2.7",
41
- "@syncfusion/ej2-data": "~26.2.5",
42
- "@syncfusion/ej2-grids": "~26.2.7",
43
- "@syncfusion/ej2-inputs": "~26.2.5",
44
- "@syncfusion/ej2-layouts": "~26.2.5",
45
- "@syncfusion/ej2-lists": "~26.2.5",
46
- "@syncfusion/ej2-navigations": "~26.2.7",
47
- "@syncfusion/ej2-popups": "~26.2.5",
48
- "@syncfusion/ej2-splitbuttons": "~26.2.5"
39
+ "@syncfusion/ej2-base": "~26.2.10",
40
+ "@syncfusion/ej2-buttons": "~26.2.10",
41
+ "@syncfusion/ej2-data": "~26.2.10",
42
+ "@syncfusion/ej2-grids": "~26.2.10",
43
+ "@syncfusion/ej2-inputs": "~26.2.10",
44
+ "@syncfusion/ej2-layouts": "~26.2.10",
45
+ "@syncfusion/ej2-lists": "~26.2.10",
46
+ "@syncfusion/ej2-navigations": "~26.2.10",
47
+ "@syncfusion/ej2-popups": "~26.2.10",
48
+ "@syncfusion/ej2-splitbuttons": "~26.2.10"
49
49
  },
50
50
  "deprecated": false,
51
51
  "description": "Essential JS 2 FileManager Component",
@@ -75,6 +75,6 @@
75
75
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
76
76
  },
77
77
  "typings": "index.d.ts",
78
- "version": "26.2.7",
78
+ "version": "26.2.10",
79
79
  "sideEffects": false
80
80
  }
@@ -803,19 +803,33 @@ function triggerAjaxFailure(parent, beforeSendArgs, fn, result, event, operation
803
803
  * @private
804
804
  */
805
805
  function readSuccess(parent, result, event) {
806
- if (!isNOU(result.files)) {
807
- parent.notify(event, result);
808
- parent.notify(events.selectionChanged, {});
809
- var args = { action: 'read', result: result };
810
- parent.trigger('success', args);
811
- }
812
- else {
813
- if (result.error.code === '401') {
814
- result.files = [];
806
+ try {
807
+ if (!isNOU(result.files)) {
815
808
  parent.notify(event, result);
816
809
  parent.notify(events.selectionChanged, {});
810
+ var args = { action: 'read', result: result };
811
+ parent.trigger('success', args);
817
812
  }
818
- onFailure(parent, result, 'read');
813
+ else {
814
+ if (!isNOU(result.error) && result.error.code === '401') {
815
+ result.files = [];
816
+ parent.notify(event, result);
817
+ parent.notify(events.selectionChanged, {});
818
+ }
819
+ onFailure(parent, result, 'read');
820
+ parent.setProperties({ path: parent.oldPath }, true);
821
+ parent.pathNames.pop();
822
+ }
823
+ }
824
+ catch (error) {
825
+ var errorResult = {
826
+ files: null,
827
+ error: {
828
+ message: error.message,
829
+ fileExists: null
830
+ }
831
+ };
832
+ onFailure(parent, errorResult, 'read');
819
833
  parent.setProperties({ path: parent.oldPath }, true);
820
834
  parent.pathNames.pop();
821
835
  }