@volo/abp.ng.file-management 8.0.3 → 8.1.0-rc.1
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/esm2022/config/file-management-config.module.mjs +4 -4
- package/esm2022/lib/components/file-management-breadcrumb/file-management-breadcrumb.component.mjs +3 -3
- package/esm2022/lib/components/file-management-buttons/file-management-buttons.component.mjs +5 -5
- package/esm2022/lib/components/file-management-directory-tree/file-management-directory-tree.component.mjs +4 -4
- package/esm2022/lib/components/file-management-folder-content/file-management-folder-content.component.mjs +4 -4
- package/esm2022/lib/components/file-management-folder-filter/file-management-folder-filter.component.mjs +3 -3
- package/esm2022/lib/components/file-management-folder-panel/file-management-folder-panel.component.mjs +3 -3
- package/esm2022/lib/defaults/default-file-management-entity-props.mjs +1 -1
- package/esm2022/lib/file-management-routing.module.mjs +4 -4
- package/esm2022/lib/file-management.component.mjs +3 -3
- package/esm2022/lib/file-management.initializer.mjs +3 -3
- package/esm2022/lib/file-management.module.mjs +4 -4
- package/esm2022/lib/guards/file-management.guard.mjs +3 -3
- package/esm2022/lib/modals/base-modal.component.mjs +4 -4
- package/esm2022/lib/modals/create-folder-modal/create-folder-modal.component.mjs +3 -3
- package/esm2022/lib/modals/create-folder-modal/create-folder-modal.service.mjs +3 -3
- package/esm2022/lib/modals/move-file-modal/move-file-modal.component.mjs +4 -4
- package/esm2022/lib/modals/move-file-modal/move-file-modal.service.mjs +4 -4
- package/esm2022/lib/modals/rename-modal/rename-modal.component.mjs +3 -3
- package/esm2022/lib/modals/rename-modal/rename-modal.service.mjs +4 -4
- package/esm2022/lib/services/delete.service.mjs +3 -3
- package/esm2022/lib/services/directory-tree.service.mjs +4 -4
- package/esm2022/lib/services/download.service.mjs +3 -3
- package/esm2022/lib/services/move.service.mjs +3 -3
- package/esm2022/lib/services/navigator.service.mjs +4 -4
- package/esm2022/lib/services/update-stream.service.mjs +3 -3
- package/esm2022/lib/services/upload.service.mjs +4 -4
- package/esm2022/lib/utils/functions.mjs +1 -1
- package/esm2022/proxy/lib/proxy/file-management/directories/directory-descriptor.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/file-management/files/file-descriptor.service.mjs +3 -3
- package/fesm2022/volo-abp.ng.file-management-config.mjs +4 -4
- package/fesm2022/volo-abp.ng.file-management-proxy.mjs +6 -6
- package/fesm2022/volo-abp.ng.file-management.mjs +78 -78
- package/fesm2022/volo-abp.ng.file-management.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -16,4 +16,4 @@ export function formatBytes(size, precision = 2) {
|
|
|
16
16
|
' ' +
|
|
17
17
|
sizes[sizeIndex]);
|
|
18
18
|
}
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuY3Rpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZmlsZS1tYW5hZ2VtZW50L3NyYy9saWIvdXRpbHMvZnVuY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSw2QkFBNkIsQ0FDM0MsZ0JBQXFDO0lBRXJDLE9BQU8sZ0JBQWdCLENBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLFdBQVcsQ0FBQyxnQkFBZ0IsQ0FBQyxJQUFJLENBQUMsQ0FBQztBQUNoRixDQUFDO0FBRUQsTUFBTSxVQUFVLFdBQVcsQ0FBQyxJQUFZLEVBQUUsU0FBUyxHQUFHLENBQUM7SUFDckQsSUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLElBQUksSUFBSSxJQUFJLENBQUMsRUFBRSxDQUFDO1FBQ3pDLE9BQU8sU0FBUyxDQUFDO0lBQ25CLENBQUM7SUFFRCxJQUFJ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PyAnJyA6IGZvcm1hdEJ5dGVzKGRpcmVjdG9yeUNvbnRlbnQuc2l6ZSk7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBmb3JtYXRCeXRlcyhzaXplOiBudW1iZXIsIHByZWNpc2lvbiA9IDIpIHtcclxuICBpZiAoIU51bWJlci5pc0ludGVnZXIoc2l6ZSkgfHwgc2l6ZSA8PSAwKSB7XHJcbiAgICByZXR1cm4gJzAgQnl0ZXMnO1xyXG4gIH1cclxuXHJcbiAgaWYgKHNpemUgPT09IDEpIHtcclxuICAgIHJldHVybiAnMSBCeXRlJztcclxuICB9XHJcblxyXG4gIGNvbnN0IGZhY3RvciA9IDEwMjQ7XHJcbiAgY29uc3QgZGVjaW1hbHMgPSBwcmVjaXNpb24gPCAwID8gMCA6IHByZWNpc2lvbjtcclxuICBjb25zdCBzaXplcyA9IFsnQnl0ZXMnLCAnS0InLCAnTUInLCAnR0InLCAnVEInLCAnUEInLCAnRUInLCAnWkInLCAnWUInXTtcclxuICBjb25zdCBzaXplSW5kZXggPSBNYXRoLmZsb29yKE1hdGgubG9nKHNpemUpIC8gTWF0aC5sb2coZmFjdG9yKSk7XHJcblxyXG4gIHJldHVybiAoXHJcbiAgICBwYXJzZUZsb2F0KChzaXplIC8gZmFjdG9yICoqIHNpemVJbmRleCkudG9GaXhlZChkZWNpbWFscykpICtcclxuICAgICcgJyArXHJcbiAgICBzaXplc1tzaXplSW5kZXhdXHJcbiAgKTtcclxufVxyXG4iXX0=
|
package/esm2022/proxy/lib/proxy/file-management/directories/directory-descriptor.service.mjs
CHANGED
|
@@ -46,10 +46,10 @@ export class DirectoryDescriptorService {
|
|
|
46
46
|
body: input,
|
|
47
47
|
}, { apiName: this.apiName, ...config });
|
|
48
48
|
}
|
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
50
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DirectoryDescriptorService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
50
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DirectoryDescriptorService, providedIn: 'root' }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DirectoryDescriptorService, decorators: [{
|
|
53
53
|
type: Injectable,
|
|
54
54
|
args: [{
|
|
55
55
|
providedIn: 'root',
|
|
@@ -61,10 +61,10 @@ export class FileDescriptorService {
|
|
|
61
61
|
body: input,
|
|
62
62
|
}, { apiName: this.apiName, ...config });
|
|
63
63
|
}
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
65
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
64
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FileDescriptorService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
65
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FileDescriptorService, providedIn: 'root' }); }
|
|
66
66
|
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FileDescriptorService, decorators: [{
|
|
68
68
|
type: Injectable,
|
|
69
69
|
args: [{
|
|
70
70
|
providedIn: 'root',
|
|
@@ -51,11 +51,11 @@ class FileManagementConfigModule {
|
|
|
51
51
|
}],
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
55
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
56
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FileManagementConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
55
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.3", ngImport: i0, type: FileManagementConfigModule }); }
|
|
56
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FileManagementConfigModule }); }
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FileManagementConfigModule, decorators: [{
|
|
59
59
|
type: NgModule
|
|
60
60
|
}] });
|
|
61
61
|
|
|
@@ -47,10 +47,10 @@ class DirectoryDescriptorService {
|
|
|
47
47
|
body: input,
|
|
48
48
|
}, { apiName: this.apiName, ...config });
|
|
49
49
|
}
|
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
51
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DirectoryDescriptorService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
51
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DirectoryDescriptorService, providedIn: 'root' }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DirectoryDescriptorService, decorators: [{
|
|
54
54
|
type: Injectable,
|
|
55
55
|
args: [{
|
|
56
56
|
providedIn: 'root',
|
|
@@ -116,10 +116,10 @@ class FileDescriptorService {
|
|
|
116
116
|
body: input,
|
|
117
117
|
}, { apiName: this.apiName, ...config });
|
|
118
118
|
}
|
|
119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
120
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FileDescriptorService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
120
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FileDescriptorService, providedIn: 'root' }); }
|
|
121
121
|
}
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FileDescriptorService, decorators: [{
|
|
123
123
|
type: Injectable,
|
|
124
124
|
args: [{
|
|
125
125
|
providedIn: 'root',
|