@volo/abp.ng.file-management 10.6.0-rc.2 → 10.6.0
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.
|
@@ -76,11 +76,11 @@ class FileManagementConfigModule {
|
|
|
76
76
|
providers: [provideFileManagementChildConfig(withUppyOptions(options))],
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
80
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.
|
|
81
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.
|
|
79
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
80
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: FileManagementConfigModule }); }
|
|
81
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementConfigModule }); }
|
|
82
82
|
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementConfigModule, decorators: [{
|
|
84
84
|
type: NgModule
|
|
85
85
|
}] });
|
|
86
86
|
|
|
@@ -46,10 +46,10 @@ 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: "22.0.
|
|
50
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DirectoryDescriptorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
50
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DirectoryDescriptorService, providedIn: 'root' }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DirectoryDescriptorService, decorators: [{
|
|
53
53
|
type: Injectable,
|
|
54
54
|
args: [{
|
|
55
55
|
providedIn: 'root',
|
|
@@ -130,10 +130,10 @@ class FileDescriptorService {
|
|
|
130
130
|
params: { enable },
|
|
131
131
|
}, { apiName: this.apiName, ...config });
|
|
132
132
|
}
|
|
133
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
134
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
133
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileDescriptorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
134
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileDescriptorService, providedIn: 'root' }); }
|
|
135
135
|
}
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileDescriptorService, decorators: [{
|
|
137
137
|
type: Injectable,
|
|
138
138
|
args: [{
|
|
139
139
|
providedIn: 'root',
|
|
@@ -38,10 +38,10 @@ class FileManagementBreadcrumbComponent {
|
|
|
38
38
|
onClick(item) {
|
|
39
39
|
this.breadcrumbClick.emit(item);
|
|
40
40
|
}
|
|
41
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
42
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
41
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
42
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: FileManagementBreadcrumbComponent, isStandalone: true, selector: "abp-file-management-breadcrumb", inputs: { rootBreadcrumbName: { classPropertyName: "rootBreadcrumbName", publicName: "rootBreadcrumbName", isSignal: true, isRequired: false, transformFunction: null }, navigatedFolders: { classPropertyName: "navigatedFolders", publicName: "navigatedFolders", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { breadcrumbClick: "breadcrumbClick" }, ngImport: i0, template: "<ol class=\"breadcrumb\">\r\n @for (folder of navigatedFolders(); track folder.id; let last = $last; let first = $first) {\r\n <li\r\n (click)=\"onClick(folder)\"\r\n class=\"breadcrumb-item\"\r\n [class.root]=\"first\"\r\n [class.active]=\"last && !first\"\r\n [class.pe-none]=\"last\"\r\n aria-current=\"page\"\r\n >\r\n <span class=\"breadcrumb-item-text\">\r\n @if (first) {\r\n <i class=\"fa fa-home me-1\" aria-hidden=\"true\"></i>\r\n <span>{{ rootBreadcrumbName() | abpLocalization }}</span>\r\n }\r\n @if (!first) {\r\n <span>{{ folder.name }}</span>\r\n }\r\n </span>\r\n </li>\r\n }\r\n</ol>\r\n", styles: [".breadcrumb{padding:3px 0 0;opacity:1;font-size:1em}.breadcrumb-item{padding:0}.breadcrumb-item.active .breadcrumb-item-text{opacity:.5}.breadcrumb-item-text{padding:3px 8px;border-radius:3px}.breadcrumb-item-text:hover{cursor:pointer;background:var(--background)}.breadcrumb-item+.breadcrumb-item:before{content:\">\";opacity:.3;margin:3px 0 0 3px}\n"], dependencies: [{ kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
43
43
|
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementBreadcrumbComponent, decorators: [{
|
|
45
45
|
type: Component,
|
|
46
46
|
args: [{ selector: 'abp-file-management-breadcrumb', changeDetection: ChangeDetectionStrategy.OnPush, imports: [LocalizationPipe], template: "<ol class=\"breadcrumb\">\r\n @for (folder of navigatedFolders(); track folder.id; let last = $last; let first = $first) {\r\n <li\r\n (click)=\"onClick(folder)\"\r\n class=\"breadcrumb-item\"\r\n [class.root]=\"first\"\r\n [class.active]=\"last && !first\"\r\n [class.pe-none]=\"last\"\r\n aria-current=\"page\"\r\n >\r\n <span class=\"breadcrumb-item-text\">\r\n @if (first) {\r\n <i class=\"fa fa-home me-1\" aria-hidden=\"true\"></i>\r\n <span>{{ rootBreadcrumbName() | abpLocalization }}</span>\r\n }\r\n @if (!first) {\r\n <span>{{ folder.name }}</span>\r\n }\r\n </span>\r\n </li>\r\n }\r\n</ol>\r\n", styles: [".breadcrumb{padding:3px 0 0;opacity:1;font-size:1em}.breadcrumb-item{padding:0}.breadcrumb-item.active .breadcrumb-item-text{opacity:.5}.breadcrumb-item-text{padding:3px 8px;border-radius:3px}.breadcrumb-item-text:hover{cursor:pointer;background:var(--background)}.breadcrumb-item+.breadcrumb-item:before{content:\">\";opacity:.3;margin:3px 0 0 3px}\n"] }]
|
|
47
47
|
}], propDecorators: { rootBreadcrumbName: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootBreadcrumbName", required: false }] }], navigatedFolders: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigatedFolders", required: false }] }], breadcrumbClick: [{ type: i0.Output, args: ["breadcrumbClick"] }] } });
|
|
@@ -74,10 +74,10 @@ class UpdateStreamService {
|
|
|
74
74
|
// skip initial empty values
|
|
75
75
|
return this.store.sliceState(fn).pipe(skip(1));
|
|
76
76
|
}
|
|
77
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
78
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
77
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UpdateStreamService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
78
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UpdateStreamService }); }
|
|
79
79
|
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UpdateStreamService, decorators: [{
|
|
81
81
|
type: Injectable
|
|
82
82
|
}], ctorParameters: () => [] });
|
|
83
83
|
|
|
@@ -207,10 +207,10 @@ class DirectoryTreeService {
|
|
|
207
207
|
bindInitialListToRoot(list) {
|
|
208
208
|
return list.map(l => ({ ...l, parentId: l.parentId || ROOT_ID }));
|
|
209
209
|
}
|
|
210
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
211
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
210
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DirectoryTreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
211
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DirectoryTreeService }); }
|
|
212
212
|
}
|
|
213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DirectoryTreeService, decorators: [{
|
|
214
214
|
type: Injectable
|
|
215
215
|
}], ctorParameters: () => [] });
|
|
216
216
|
|
|
@@ -230,10 +230,10 @@ class CreateFolderModalService {
|
|
|
230
230
|
this.directoryService.refreshNode({ newParentId: parentId });
|
|
231
231
|
}));
|
|
232
232
|
}
|
|
233
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
234
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: CreateFolderModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
234
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: CreateFolderModalService }); }
|
|
235
235
|
}
|
|
236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: CreateFolderModalService, decorators: [{
|
|
237
237
|
type: Injectable
|
|
238
238
|
}] });
|
|
239
239
|
|
|
@@ -288,8 +288,8 @@ class BaseModalComponent {
|
|
|
288
288
|
saveAction() {
|
|
289
289
|
return of({});
|
|
290
290
|
}
|
|
291
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
292
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
291
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BaseModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
292
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BaseModalComponent, isStandalone: true, selector: "abp-file-management-modal", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, titleLocalizationParams: { classPropertyName: "titleLocalizationParams", publicName: "titleLocalizationParams", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, formName: { classPropertyName: "formName", publicName: "formName", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, parent: { classPropertyName: "parent", publicName: "parent", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visibleChange: "visibleChange", contentSaved: "contentSaved" }, ngImport: i0, template: `
|
|
293
293
|
@if (parent()) {
|
|
294
294
|
<abp-modal
|
|
295
295
|
[options]="{ size: parent().size() }"
|
|
@@ -332,7 +332,7 @@ class BaseModalComponent {
|
|
|
332
332
|
}
|
|
333
333
|
`, isInline: true, dependencies: [{ kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
334
334
|
}
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BaseModalComponent, decorators: [{
|
|
336
336
|
type: Component,
|
|
337
337
|
args: [{
|
|
338
338
|
selector: 'abp-file-management-modal',
|
|
@@ -416,10 +416,10 @@ class CreateFolderModalComponent extends BaseModalComponent {
|
|
|
416
416
|
clear() {
|
|
417
417
|
this.form.reset();
|
|
418
418
|
}
|
|
419
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
420
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.
|
|
419
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: CreateFolderModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
420
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: CreateFolderModalComponent, isStandalone: true, selector: "abp-create-folder-modal", inputs: { parentId: { classPropertyName: "parentId", publicName: "parentId", isSignal: true, isRequired: false, transformFunction: null } }, providers: [CreateFolderModalService], viewQueries: [{ propertyName: "createFolderInputRef", first: true, predicate: ["createFolderInput"], descendants: true, isSignal: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<abp-file-management-modal title=\"CreateFolder\" [parent]=\"self\" formName=\"createFolderForm\">\r\n <form id=\"createFolderForm\" [formGroup]=\"form\" [validateOnSubmit]=\"true\">\r\n <div class=\"form-group\">\r\n <label for=\"createFolderInput\">{{ 'FileManagement::Name' | abpLocalization }} *</label>\r\n <input #createFolderInput formControlName=\"name\" type=\"text\" class=\"form-control\" id=\"createFolderInput\" />\r\n </div>\r\n </form>\r\n</abp-file-management-modal>", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i2.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "titleLocalizationParams", "size", "formName", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
421
421
|
}
|
|
422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: CreateFolderModalComponent, decorators: [{
|
|
423
423
|
type: Component,
|
|
424
424
|
args: [{ selector: 'abp-create-folder-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CreateFolderModalService], imports: [
|
|
425
425
|
FormsModule,
|
|
@@ -449,10 +449,10 @@ class DeleteService {
|
|
|
449
449
|
this.toasterService.success('AbpUi::DeletedSuccessfully');
|
|
450
450
|
}));
|
|
451
451
|
}
|
|
452
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
453
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
452
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DeleteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
453
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DeleteService }); }
|
|
454
454
|
}
|
|
455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DeleteService, decorators: [{
|
|
456
456
|
type: Injectable
|
|
457
457
|
}] });
|
|
458
458
|
|
|
@@ -487,10 +487,10 @@ class CurrentDirectoryCanAddService {
|
|
|
487
487
|
}), tap(canAdd => this.cache.set(cacheKey, canAdd)));
|
|
488
488
|
}));
|
|
489
489
|
}
|
|
490
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
491
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
490
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: CurrentDirectoryCanAddService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
491
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: CurrentDirectoryCanAddService, providedIn: 'root' }); }
|
|
492
492
|
}
|
|
493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: CurrentDirectoryCanAddService, decorators: [{
|
|
494
494
|
type: Injectable,
|
|
495
495
|
args: [{ providedIn: 'root' }]
|
|
496
496
|
}] });
|
|
@@ -509,10 +509,10 @@ class DownloadService {
|
|
|
509
509
|
window.open(`${this.apiUrl}/api/file-management/file-descriptor/download/${file.id}?token=${res.token}`, '_self');
|
|
510
510
|
}));
|
|
511
511
|
}
|
|
512
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
513
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
512
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DownloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
513
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DownloadService }); }
|
|
514
514
|
}
|
|
515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DownloadService, decorators: [{
|
|
516
516
|
type: Injectable
|
|
517
517
|
}] });
|
|
518
518
|
|
|
@@ -539,10 +539,10 @@ class MoveService {
|
|
|
539
539
|
this.toaster.success('FileManagement::SuccessfullyMoved');
|
|
540
540
|
}));
|
|
541
541
|
}
|
|
542
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
543
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
542
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
543
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveService }); }
|
|
544
544
|
}
|
|
545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveService, decorators: [{
|
|
546
546
|
type: Injectable
|
|
547
547
|
}] });
|
|
548
548
|
|
|
@@ -639,10 +639,10 @@ class NavigatorService {
|
|
|
639
639
|
findIndexOf(folderId) {
|
|
640
640
|
return this.navigatedFolders.findIndex(folder => folder.id === folderId);
|
|
641
641
|
}
|
|
642
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
643
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
642
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: NavigatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
643
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: NavigatorService }); }
|
|
644
644
|
}
|
|
645
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: NavigatorService, decorators: [{
|
|
646
646
|
type: Injectable
|
|
647
647
|
}], ctorParameters: () => [] });
|
|
648
648
|
|
|
@@ -705,10 +705,10 @@ class MoveFileModalService {
|
|
|
705
705
|
getNavigatedFolders() {
|
|
706
706
|
return this.breadcrumbStore.state;
|
|
707
707
|
}
|
|
708
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
709
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
708
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveFileModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
709
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveFileModalService }); }
|
|
710
710
|
}
|
|
711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveFileModalService, decorators: [{
|
|
712
712
|
type: Injectable
|
|
713
713
|
}] });
|
|
714
714
|
|
|
@@ -759,10 +759,10 @@ class MoveFileModalComponent extends BaseModalComponent {
|
|
|
759
759
|
shouldSave() {
|
|
760
760
|
return this.canMoveToCurrentDirectory;
|
|
761
761
|
}
|
|
762
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
763
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
762
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
763
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: MoveFileModalComponent, isStandalone: true, selector: "abp-move-file-modal", inputs: { fileToMove: { classPropertyName: "fileToMove", publicName: "fileToMove", isSignal: true, isRequired: false, transformFunction: null }, oldParentId: { classPropertyName: "oldParentId", publicName: "oldParentId", isSignal: true, isRequired: false, transformFunction: null } }, providers: [MoveFileModalService, ListService, SubscriptionService], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<!-- htmlhint attr-lowercase:false -->\r\n<abp-file-management-modal title=\"Move\" [parent]=\"self\">\r\n <span class=\"d-block p-2\">{{ 'FileManagement::MoveToUnder' | abpLocalization }}</span>\r\n <abp-file-management-breadcrumb\r\n [navigatedFolders]=\"(service.breadcrumbs$ | async) ?? []\"\r\n rootBreadcrumbName=\"FileManagement::Root\"\r\n (breadcrumbClick)=\"onBreadcrumbClick($event)\"\r\n />\r\n\r\n <ngx-datatable\r\n [rows]=\"directoryContent$ | async\"\r\n default\r\n [messages]=\"{ emptyMessage: 'FileManagement::MoveHere' | abpLocalization }\"\r\n >\r\n <ngx-datatable-column [sortable]=\"true\" [name]=\"'FileManagement::Name' | abpLocalization\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div (click)=\"service.goTo(row)\" class=\"pointer\">\r\n <i class=\"fa fa-folder text-primary me-1\" aria-hidden=\"true\"></i> {{ row.name }}\r\n </div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n</abp-file-management-modal>\r\n", dependencies: [{ kind: "ngmodule", type: NgxDatatableModule }, { kind: "component", type: i1$1.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarVDynamic", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "ghostLoadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "disableRowCheck", "rowDraggable", "enableClearingSortState", "rowIdentity"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction", "rowDragEvents"] }, { kind: "directive", type: i1$1.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "bindAsUnsafeHtml", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate", "ghostCellTemplate"] }, { kind: "directive", type: i1$1.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "component", type: FileManagementBreadcrumbComponent, selector: "abp-file-management-breadcrumb", inputs: ["rootBreadcrumbName", "navigatedFolders"], outputs: ["breadcrumbClick"] }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "titleLocalizationParams", "size", "formName", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
764
764
|
}
|
|
765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveFileModalComponent, decorators: [{
|
|
766
766
|
type: Component,
|
|
767
767
|
args: [{ selector: 'abp-move-file-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [MoveFileModalService, ListService, SubscriptionService], imports: [
|
|
768
768
|
NgxDatatableModule,
|
|
@@ -795,10 +795,10 @@ class RenameModalService {
|
|
|
795
795
|
callService(service, id, name) {
|
|
796
796
|
return service.rename(id, { name }).pipe(map(() => true));
|
|
797
797
|
}
|
|
798
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
799
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
798
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RenameModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
799
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RenameModalService }); }
|
|
800
800
|
}
|
|
801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RenameModalService, decorators: [{
|
|
802
802
|
type: Injectable
|
|
803
803
|
}] });
|
|
804
804
|
|
|
@@ -844,10 +844,10 @@ class RenameModalComponent extends BaseModalComponent {
|
|
|
844
844
|
this.form.reset();
|
|
845
845
|
this.contentToRename.set(null);
|
|
846
846
|
}
|
|
847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
848
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.
|
|
847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RenameModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
848
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: RenameModalComponent, isStandalone: true, selector: "abp-rename-modal", inputs: { contentToRename: { classPropertyName: "contentToRename", publicName: "contentToRename", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { contentToRename: "contentToRenameChange", contentRenamed: "contentRenamed" }, providers: [RenameModalService], viewQueries: [{ propertyName: "renameFileInputRef", first: true, predicate: ["renameFileInput"], descendants: true, isSignal: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<abp-file-management-modal title=\"Rename\" formName=\"renameForm\" [parent]=\"self\">\r\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\" [validateOnSubmit]=\"true\">\r\n <div class=\"form-group\">\r\n <label for=\"renameFileInput\">{{ 'FileManagement::Name' | abpLocalization }} *</label>\r\n <input\r\n #renameFileInput\r\n formControlName=\"name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n id=\"renameFileInput\"\r\n />\r\n </div>\r\n </form>\r\n</abp-file-management-modal>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i2.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "titleLocalizationParams", "size", "formName", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
849
849
|
}
|
|
850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RenameModalComponent, decorators: [{
|
|
851
851
|
type: Component,
|
|
852
852
|
args: [{ selector: 'abp-rename-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [RenameModalService], imports: [
|
|
853
853
|
FormsModule,
|
|
@@ -888,8 +888,8 @@ class ShareFileModalComponent extends BaseModalComponent {
|
|
|
888
888
|
const { shared } = this.contentToShare();
|
|
889
889
|
this.form.patchValue({ enableFileShare: shared });
|
|
890
890
|
}
|
|
891
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
892
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
891
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ShareFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
892
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: ShareFileModalComponent, isStandalone: true, selector: "abp-share-file-modal", inputs: { contentToShare: { classPropertyName: "contentToShare", publicName: "contentToShare", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
893
893
|
<abp-file-management-modal
|
|
894
894
|
title="ShareFile"
|
|
895
895
|
[parent]="self"
|
|
@@ -918,7 +918,7 @@ class ShareFileModalComponent extends BaseModalComponent {
|
|
|
918
918
|
</abp-file-management-modal>
|
|
919
919
|
`, isInline: true, dependencies: [{ kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "titleLocalizationParams", "size", "formName", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox]:not([ngNoCva])[formControlName],input[type=checkbox]:not([ngNoCva])[formControl],input[type=checkbox]:not([ngNoCva])[ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i2.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
920
920
|
}
|
|
921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ShareFileModalComponent, decorators: [{
|
|
922
922
|
type: Component,
|
|
923
923
|
args: [{
|
|
924
924
|
selector: 'abp-share-file-modal',
|
|
@@ -1052,15 +1052,15 @@ class FileManagementFolderContentComponent {
|
|
|
1052
1052
|
this.shareModalOpen = true;
|
|
1053
1053
|
this.contentToShare = withContent;
|
|
1054
1054
|
}
|
|
1055
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1056
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1055
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1056
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: FileManagementFolderContentComponent, isStandalone: true, selector: "abp-file-management-folder-content", outputs: { contentUpdate: "contentUpdate" }, providers: [
|
|
1057
1057
|
{
|
|
1058
1058
|
provide: EXTENSIONS_IDENTIFIER,
|
|
1059
1059
|
useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
|
|
1060
1060
|
},
|
|
1061
1061
|
], ngImport: i0, template: "<abp-extensible-table [list]=\"list\" [data]=\"data().items\" [recordsTotal]=\"data().totalCount\" />\r\n\r\n<abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n/>\r\n\r\n<abp-move-file-modal\r\n [(visible)]=\"moveModalOpen\"\r\n (contentSaved)=\"onContentSaved()\"\r\n [fileToMove]=\"fileToMove\"\r\n [oldParentId]=\"parentOfFileToMove\"\r\n/>\r\n\r\n@defer (when contentToShare) {\r\n <abp-share-file-modal\r\n [(visible)]=\"shareModalOpen\"\r\n (contentSaved)=\"onContentSaved()\"\r\n [contentToShare]=\"contentToShare\"\r\n />\r\n}\r\n\r\n@if (permissionsModalVisible && permissionTarget) {\r\n <abp-resource-permission-management\r\n [(visible)]=\"permissionsModalVisible\"\r\n [resourceName]=\"permissionTarget.resourceName\"\r\n [resourceKey]=\"permissionTarget.id\"\r\n [resourceDisplayName]=\"permissionTarget.name\"\r\n />\r\n}\r\n", dependencies: [{ kind: "ngmodule", type: NgbTooltipModule }, { kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight", "rowDetailTemplate", "rowDetailHeight"], outputs: ["tableActivate", "selectionChange", "loadMore", "rowDetailToggle"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange", "contentRenamed"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "component", type: ResourcePermissionManagementComponent, selector: "abp-resource-permission-management", inputs: ["resourceName", "resourceKey", "resourceDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpResourcePermissionManagement"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [ShareFileModalComponent]] }); }
|
|
1062
1062
|
}
|
|
1063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderContentComponent, decorators: [{
|
|
1064
1064
|
type: Component,
|
|
1065
1065
|
args: [{ selector: 'abp-file-management-folder-content', providers: [
|
|
1066
1066
|
{
|
|
@@ -1261,8 +1261,8 @@ class FileNameValueResolverComponent {
|
|
|
1261
1261
|
hasViewPermission(value) {
|
|
1262
1262
|
return this.hasFilePermission || Boolean(value.record.canView);
|
|
1263
1263
|
}
|
|
1264
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1265
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1264
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileNameValueResolverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1265
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: FileNameValueResolverComponent, isStandalone: true, selector: "abp-file-name-value-resolver", ngImport: i0, template: `
|
|
1266
1266
|
@if (value$ | async; as value) {
|
|
1267
1267
|
<span [class.pointer]="canInteract(value)" (click)="handleClick(value)">
|
|
1268
1268
|
<span [innerHTML]="value.iconHtml"></span>
|
|
@@ -1279,7 +1279,7 @@ class FileNameValueResolverComponent {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
1281
1281
|
}
|
|
1282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileNameValueResolverComponent, decorators: [{
|
|
1283
1283
|
type: Component,
|
|
1284
1284
|
args: [{
|
|
1285
1285
|
selector: 'abp-file-name-value-resolver',
|
|
@@ -1638,10 +1638,10 @@ class UploadService {
|
|
|
1638
1638
|
this.uppy?.close();
|
|
1639
1639
|
this.subscriptionService.closeAll();
|
|
1640
1640
|
}
|
|
1641
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1642
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
1641
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1642
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UploadService }); }
|
|
1643
1643
|
}
|
|
1644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UploadService, decorators: [{
|
|
1645
1645
|
type: Injectable
|
|
1646
1646
|
}] });
|
|
1647
1647
|
|
|
@@ -1702,10 +1702,10 @@ class FileManagementButtonsComponent {
|
|
|
1702
1702
|
}));
|
|
1703
1703
|
this.subscriptionService.addOne(canAddToCurrentDirectory$);
|
|
1704
1704
|
}
|
|
1705
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1706
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1705
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1706
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: FileManagementButtonsComponent, isStandalone: true, selector: "abp-file-management-buttons", ngImport: i0, template: "<abp-button\r\n class=\"d-grid\"\r\n [class.d-none]=\"!canCreateFile\"\r\n [buttonId]=\"buttonId\"\r\n iconClass=\"fa fa-upload me-2\"\r\n buttonClass=\"btn btn-primary mb-2\"\r\n>\r\n {{ 'FileManagement::UploadFiles' | abpLocalization }}\r\n</abp-button>\r\n\r\n@if (canCreateDirectory) {\r\n <abp-button\r\n class=\"d-grid\"\r\n [class.d-none]=\"!canCreateDirectory\"\r\n iconClass=\"fa fa-folder-plus me-2\"\r\n buttonClass=\"btn btn-outline-primary mb-4\"\r\n (click)=\"folderCreateModal = true\"\r\n >\r\n {{ 'FileManagement::CreateFolder' | abpLocalization }}\r\n </abp-button>\r\n}\r\n\r\n<abp-create-folder-modal [(visible)]=\"folderCreateModal\" />\r\n", dependencies: [{ kind: "component", type: CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1707
1707
|
}
|
|
1708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementButtonsComponent, decorators: [{
|
|
1709
1709
|
type: Component,
|
|
1710
1710
|
args: [{ selector: 'abp-file-management-buttons', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [LocalizationPipe, CreateFolderModalComponent, ButtonComponent], template: "<abp-button\r\n class=\"d-grid\"\r\n [class.d-none]=\"!canCreateFile\"\r\n [buttonId]=\"buttonId\"\r\n iconClass=\"fa fa-upload me-2\"\r\n buttonClass=\"btn btn-primary mb-2\"\r\n>\r\n {{ 'FileManagement::UploadFiles' | abpLocalization }}\r\n</abp-button>\r\n\r\n@if (canCreateDirectory) {\r\n <abp-button\r\n class=\"d-grid\"\r\n [class.d-none]=\"!canCreateDirectory\"\r\n iconClass=\"fa fa-folder-plus me-2\"\r\n buttonClass=\"btn btn-outline-primary mb-4\"\r\n (click)=\"folderCreateModal = true\"\r\n >\r\n {{ 'FileManagement::CreateFolder' | abpLocalization }}\r\n </abp-button>\r\n}\r\n\r\n<abp-create-folder-modal [(visible)]=\"folderCreateModal\" />\r\n" }]
|
|
1711
1711
|
}] });
|
|
@@ -1830,10 +1830,10 @@ class FileManagementDirectoryTreeComponent {
|
|
|
1830
1830
|
canDelete(folder) {
|
|
1831
1831
|
return this.hasDirectoryDeletePermission || Boolean(folder?.canDelete);
|
|
1832
1832
|
}
|
|
1833
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1834
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1833
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementDirectoryTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1834
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: FileManagementDirectoryTreeComponent, isStandalone: true, selector: "abp-file-management-directory-tree", providers: [SubscriptionService], viewQueries: [{ propertyName: "tree", first: true, predicate: TreeComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<div>\r\n @if (directories) {\r\n <abp-tree\r\n [nodes]=\"directories\"\r\n [(expandedKeys)]=\"service.extendedKeys\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n (selectedNodeChange)=\"onNodeClick($event)\"\r\n (nzExpandChange)=\"onExpandedKeysChange($event)\"\r\n [selectedNode]=\"selectedNode\"\r\n >\r\n <ng-template abp-tree-expanded-icon-template let-node let-origin=\"origin\">\r\n <i\r\n class=\"far\"\r\n [class.fa-plus-square]=\"!node.isExpanded && origin?.entity?.hasChildren\"\r\n [class.fa-minus-square]=\"node.isExpanded && node.children.length\"\r\n ></i>\r\n </ng-template>\r\n\r\n <ng-template abp-tree-node-template let-node>\r\n <i class=\"fa fa-folder text-primary me-2\" aria-hidden=\"true\"></i>\r\n @if (node.origin.entity.isRoot) {\r\n {{ 'FileManagement::AllFiles' | abpLocalization }}\r\n } @else {\r\n {{ node.title }}\r\n }\r\n </ng-template>\r\n\r\n <ng-template #menu let-node>\r\n @if (canCreate(node.origin.entity)) {\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"onCreate(node.origin.entity)\">\r\n {{ 'FileManagement::CreateFolder' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId && canRename(node.origin.entity)) {\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"onRename(node.origin.entity)\">\r\n {{ 'FileManagement::Rename' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId && canMove(node.origin.entity)) {\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"onMove(node)\">\r\n {{ 'FileManagement::Move' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId && canDelete(node.origin.entity)) {\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"onDelete(node.origin.entity)\">\r\n {{ 'FileManagement::Delete' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId && hasDirectoryManagePermissionsPermission) {\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"onManagePermissions(node.origin.entity)\">\r\n {{ 'FileManagement::Permissions' | abpLocalization }}\r\n </li>\r\n }\r\n </ng-template>\r\n </abp-tree>\r\n }\r\n</div>\r\n\r\n<abp-create-folder-modal [(visible)]=\"createModalVisible\" [parentId]=\"createModalParentId\" />\r\n\r\n<abp-rename-modal\r\n [(visible)]=\"renameModalVisible\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentRenamed)=\"onContentRenamed($event)\"\r\n/>\r\n\r\n<abp-move-file-modal\r\n [(visible)]=\"moveModalVisible\"\r\n (contentSaved)=\"afterFolderMoved()\"\r\n [fileToMove]=\"folderToMove\"\r\n [oldParentId]=\"parentOfFolderToMove\"\r\n/>\r\n\r\n@if (permissionsModalVisible && permissionTarget) {\r\n <abp-resource-permission-management\r\n [(visible)]=\"permissionsModalVisible\"\r\n resourceName=\"Volo.FileManagement.DirectoryDescriptor\"\r\n [resourceKey]=\"permissionTarget.id\"\r\n [resourceDisplayName]=\"permissionTarget.name\"\r\n />\r\n}\r\n", dependencies: [{ kind: "directive", type: ExpandedIconTemplateDirective, selector: "[abpTreeExpandedIconTemplate],[abp-tree-expanded-icon-template]" }, { kind: "directive", type: TreeNodeTemplateDirective, selector: "[abpTreeNodeTemplate],[abp-tree-node-template]" }, { kind: "directive", type: NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["tabindex", "disabled"] }, { kind: "component", type: CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange", "contentRenamed"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "component", type: ResourcePermissionManagementComponent, selector: "abp-resource-permission-management", inputs: ["resourceName", "resourceKey", "resourceDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpResourcePermissionManagement"] }, { kind: "component", type: TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "changeCheckboxWithNode", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver", "nzExpandChange"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1835
1835
|
}
|
|
1836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementDirectoryTreeComponent, decorators: [{
|
|
1837
1837
|
type: Component,
|
|
1838
1838
|
args: [{ selector: 'abp-file-management-directory-tree', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SubscriptionService], imports: [
|
|
1839
1839
|
ExpandedIconTemplateDirective,
|
|
@@ -1859,10 +1859,10 @@ class FileManagementFolderFilterComponent {
|
|
|
1859
1859
|
this.navigator.goUpFolder();
|
|
1860
1860
|
}
|
|
1861
1861
|
}
|
|
1862
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1863
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
1862
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1863
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: FileManagementFolderFilterComponent, isStandalone: true, selector: "abp-file-management-folder-filter", ngImport: i0, template: "<div class=\"row mb-3\">\r\n <div class=\"col-sm-12 col-md-auto col-lg-auto col-xl-auto\">\r\n <abp-button\r\n type=\"button\"\r\n (click)=\"goUpFolder()\"\r\n [disabled]=\"isAtRoot()\"\r\n [attr.aria-disabled]=\"isAtRoot()\"\r\n [class.disabled]=\"isAtRoot()\"\r\n [style.cursor]=\"isAtRoot() ? 'default' : 'pointer'\"\r\n iconClass=\"fa fa-level-up-alt fa-flip-horizontal me-2\"\r\n buttonClass=\"w-100 mb-2 mb-md-0 shadow-none btn-block btn btn-outline-secondary\"\r\n >{{ 'FileManagement::GoUpFolder' | abpLocalization }}</abp-button\r\n >\r\n </div>\r\n <div class=\"col\">\r\n <div class=\"input-group\">\r\n <input\r\n class=\"form-control page-search-filter-text\"\r\n [(ngModel)]=\"list.filter\"\r\n [placeholder]=\"'FileManagement::Filter' | abpLocalization\"\r\n />\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1864
1864
|
}
|
|
1865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1865
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderFilterComponent, decorators: [{
|
|
1866
1866
|
type: Component,
|
|
1867
1867
|
args: [{ selector: 'abp-file-management-folder-filter', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, LocalizationPipe, ButtonComponent], template: "<div class=\"row mb-3\">\r\n <div class=\"col-sm-12 col-md-auto col-lg-auto col-xl-auto\">\r\n <abp-button\r\n type=\"button\"\r\n (click)=\"goUpFolder()\"\r\n [disabled]=\"isAtRoot()\"\r\n [attr.aria-disabled]=\"isAtRoot()\"\r\n [class.disabled]=\"isAtRoot()\"\r\n [style.cursor]=\"isAtRoot() ? 'default' : 'pointer'\"\r\n iconClass=\"fa fa-level-up-alt fa-flip-horizontal me-2\"\r\n buttonClass=\"w-100 mb-2 mb-md-0 shadow-none btn-block btn btn-outline-secondary\"\r\n >{{ 'FileManagement::GoUpFolder' | abpLocalization }}</abp-button\r\n >\r\n </div>\r\n <div class=\"col\">\r\n <div class=\"input-group\">\r\n <input\r\n class=\"form-control page-search-filter-text\"\r\n [(ngModel)]=\"list.filter\"\r\n [placeholder]=\"'FileManagement::Filter' | abpLocalization\"\r\n />\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1868
1868
|
}] });
|
|
@@ -1875,10 +1875,10 @@ class FileManagementFolderPanelComponent {
|
|
|
1875
1875
|
this.contentUpdate = output();
|
|
1876
1876
|
this.updateStream.requestStorageSizeRefresh();
|
|
1877
1877
|
}
|
|
1878
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1879
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1878
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1879
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: FileManagementFolderPanelComponent, isStandalone: true, selector: "abp-file-management-folder-panel", outputs: { contentUpdate: "contentUpdate" }, providers: [ListService], ngImport: i0, template: "<div class=\"row mb-3\">\r\n <div class=\"col\">\r\n <abp-file-management-breadcrumb\r\n [navigatedFolders]=\"navigator.navigatedFolderPath$ | async\"\r\n (breadcrumbClick)=\"navigator.goToFolder($event)\"\r\n />\r\n </div>\r\n</div>\r\n\r\n<abp-file-management-folder-filter />\r\n<abp-file-management-folder-content (contentUpdate)=\"contentUpdate.emit($event)\" />\r\n\r\n@let storageSizeInfo = updateStream.storageSizeInfo$ | async;\r\n@if (storageSizeInfo) {\r\n @let percentage = (storageSizeInfo.totalUsedSize / storageSizeInfo.maxStorageSize) * 100;\r\n @let clampedPercentage = percentage > 100 ? 100 : percentage;\r\n\r\n <div class=\"storage-info-card\">\r\n <div class=\"storage-text\">\r\n <i class=\"fas fa-hdd\"></i>\r\n <span>{{\r\n 'FileManagement::StorageSizeUsage'\r\n | abpLocalization: [storageSizeInfo.formattedUsedSize, storageSizeInfo.formattedMaxSize]\r\n }}</span>\r\n </div>\r\n <div class=\"storage-progress-bar\">\r\n <div\r\n class=\"storage-progress-fill\"\r\n [class]=\"{ 'storage-warning': percentage >= 75, 'storage-danger': percentage >= 90 }\"\r\n [style.width.%]=\"clampedPercentage\"\r\n ></div>\r\n </div>\r\n <div class=\"storage-details\">\r\n <span class=\"storage-percentage\">{{ clampedPercentage.toFixed(1) }}%</span>\r\n <span>\r\n @if (storageSizeInfo.availableSize > 0) {\r\n {{\r\n 'FileManagement::Available' | abpLocalization\r\n }}: {{ storageSizeInfo.formattedAvailableSize }}\r\n } @else {\r\n {{ 'FileManagement::Full' | abpLocalization }}\r\n }\r\n </span>\r\n </div>\r\n </div>\r\n}\r\n", styles: [".storage-info-card{background-color:rgba(var(--bs-light-rgb),.5);border-radius:8px;padding:12px 16px;border:1px solid rgba(var(--bs-border-color),.8)}.storage-info-card .storage-text{font-weight:600;font-size:.875rem;color:var(--bs-dark);margin-bottom:8px;display:flex;align-items:center;gap:8px}.storage-info-card .storage-text i{color:var(--bs-primary)}.storage-info-card .storage-text .storage-usage{font-weight:500;color:var(--bs-dark)}.storage-info-card .storage-progress-bar{height:8px;background-color:var(--bs-gray-300);border-radius:4px;overflow:hidden;position:relative}.storage-info-card .storage-progress-bar .storage-progress-fill{height:100%;background:linear-gradient(90deg,var(--bs-primary) 0%,var(--bs-info) 100%);border-radius:4px;transition:width .3s ease}.storage-info-card .storage-progress-bar .storage-progress-fill.storage-warning{background:linear-gradient(90deg,var(--bs-warning) 0%,var(--bs-orange) 100%)}.storage-info-card .storage-progress-bar .storage-progress-fill.storage-danger{background:linear-gradient(90deg,var(--bs-danger) 0%,var(--bs-danger) 100%)}.storage-info-card .storage-details{font-size:.75rem;color:var(--bs-dark);margin-top:6px;display:flex;justify-content:space-between;letter-spacing:.02em}.storage-info-card .storage-details .storage-percentage{font-weight:500}.storage-info-simple{font-size:.875rem;color:var(--bs-dark);display:flex;align-items:center;gap:8px;padding:8px 12px;background-color:var(--bs-light);border-radius:6px;border:1px solid var(--bs-border-color)}.storage-info-simple i{color:var(--bs-info)}.storage-info-simple .storage-size{font-weight:500;color:var(--bs-dark)}\n"], dependencies: [{ kind: "component", type: FileManagementBreadcrumbComponent, selector: "abp-file-management-breadcrumb", inputs: ["rootBreadcrumbName", "navigatedFolders"], outputs: ["breadcrumbClick"] }, { kind: "component", type: FileManagementFolderFilterComponent, selector: "abp-file-management-folder-filter" }, { kind: "component", type: FileManagementFolderContentComponent, selector: "abp-file-management-folder-content", outputs: ["contentUpdate"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1880
1880
|
}
|
|
1881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderPanelComponent, decorators: [{
|
|
1882
1882
|
type: Component,
|
|
1883
1883
|
args: [{ selector: 'abp-file-management-folder-panel', changeDetection: ChangeDetectionStrategy.OnPush, providers: [ListService], imports: [
|
|
1884
1884
|
FileManagementBreadcrumbComponent,
|
|
@@ -1897,8 +1897,8 @@ class FileManagementComponent {
|
|
|
1897
1897
|
ngOnInit() {
|
|
1898
1898
|
this.directory.updateDirectories(null);
|
|
1899
1899
|
}
|
|
1900
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1901
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
1900
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1901
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: FileManagementComponent, isStandalone: true, selector: "abp-file-management", providers: [
|
|
1902
1902
|
DeleteService,
|
|
1903
1903
|
DownloadService,
|
|
1904
1904
|
DirectoryTreeService,
|
|
@@ -1912,7 +1912,7 @@ class FileManagementComponent {
|
|
|
1912
1912
|
},
|
|
1913
1913
|
], ngImport: i0, template: "<abp-page\r\n [title]=\"'FileManagement::Menu:FileManagement' | abpLocalization\"\r\n [toolbar]=\"currentContent\"\r\n>\r\n <div class=\"card\">\r\n <div class=\"card-body z-index-0\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-4 col-lg-3 col\">\r\n <div class=\"p-lg-3 p-md-0 mb-4\">\r\n <abp-file-management-buttons></abp-file-management-buttons>\r\n <abp-file-management-directory-tree></abp-file-management-directory-tree>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-8 col-lg-9 col\">\r\n <div class=\"p-lg-3 p-md-0\">\r\n <abp-file-management-folder-panel\r\n (contentUpdate)=\"currentContent = $event\"\r\n ></abp-file-management-folder-panel>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</abp-page>\r\n", dependencies: [{ kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: FileManagementButtonsComponent, selector: "abp-file-management-buttons" }, { kind: "component", type: FileManagementDirectoryTreeComponent, selector: "abp-file-management-directory-tree" }, { kind: "component", type: FileManagementFolderPanelComponent, selector: "abp-file-management-folder-panel", outputs: ["contentUpdate"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1914
1914
|
}
|
|
1915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementComponent, decorators: [{
|
|
1916
1916
|
type: Component,
|
|
1917
1917
|
args: [{ selector: 'abp-file-management', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
1918
1918
|
DeleteService,
|
|
@@ -1945,10 +1945,10 @@ class FileManagementGuard {
|
|
|
1945
1945
|
canActivate() {
|
|
1946
1946
|
return this.fileManagementFeatures.pipe(map(features => features.enable));
|
|
1947
1947
|
}
|
|
1948
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1949
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
1948
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1949
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementGuard }); }
|
|
1950
1950
|
}
|
|
1951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementGuard, decorators: [{
|
|
1952
1952
|
type: Injectable
|
|
1953
1953
|
}] });
|
|
1954
1954
|
const fileManagementGuard = () => {
|
|
@@ -1987,11 +1987,11 @@ const routes = [
|
|
|
1987
1987
|
},
|
|
1988
1988
|
];
|
|
1989
1989
|
class FileManagementRoutingModule {
|
|
1990
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1991
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.
|
|
1992
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.
|
|
1990
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1991
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: FileManagementRoutingModule, imports: [i1$2.RouterModule], exports: [RouterModule] }); }
|
|
1992
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
1993
1993
|
}
|
|
1994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementRoutingModule, decorators: [{
|
|
1995
1995
|
type: NgModule,
|
|
1996
1996
|
args: [{
|
|
1997
1997
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -2024,10 +2024,10 @@ class FileManagementInitializer {
|
|
|
2024
2024
|
mergeWithDefaultProps(extensions.entityProps, DEFAULT_FILE_MANAGEMENT_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
|
|
2025
2025
|
}), map(() => true));
|
|
2026
2026
|
}
|
|
2027
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2028
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
2027
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementInitializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2028
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementInitializer }); }
|
|
2029
2029
|
}
|
|
2030
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementInitializer, decorators: [{
|
|
2031
2031
|
type: Injectable
|
|
2032
2032
|
}] });
|
|
2033
2033
|
|
|
@@ -2078,8 +2078,8 @@ class FileManagementModule {
|
|
|
2078
2078
|
static forLazy(options = {}) {
|
|
2079
2079
|
return new LazyModuleFactory(FileManagementModule.forChild(options));
|
|
2080
2080
|
}
|
|
2081
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2082
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.
|
|
2081
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2082
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
|
|
2083
2083
|
ThemeSharedModule,
|
|
2084
2084
|
TreeModule,
|
|
2085
2085
|
FileManagementRoutingModule,
|
|
@@ -2105,7 +2105,7 @@ class FileManagementModule {
|
|
|
2105
2105
|
FileManagementFolderFilterComponent,
|
|
2106
2106
|
FileManagementFolderPanelComponent,
|
|
2107
2107
|
FileNameValueResolverComponent] }); }
|
|
2108
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.
|
|
2108
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
|
|
2109
2109
|
ThemeSharedModule,
|
|
2110
2110
|
TreeModule,
|
|
2111
2111
|
FileManagementRoutingModule,
|
|
@@ -2119,7 +2119,7 @@ class FileManagementModule {
|
|
|
2119
2119
|
FileManagementFolderFilterComponent,
|
|
2120
2120
|
FileManagementFolderPanelComponent, modals] }); }
|
|
2121
2121
|
}
|
|
2122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementModule, decorators: [{
|
|
2123
2123
|
type: NgModule,
|
|
2124
2124
|
args: [{
|
|
2125
2125
|
imports: [
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.file-management",
|
|
3
|
-
"version": "10.6.0
|
|
3
|
+
"version": "10.6.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@abp/ng.components": "~10.6.0
|
|
6
|
-
"@abp/ng.permission-management": "~10.6.0
|
|
5
|
+
"@abp/ng.components": "~10.6.0",
|
|
6
|
+
"@abp/ng.permission-management": "~10.6.0",
|
|
7
7
|
"@uppy/core": "^3.0.0",
|
|
8
8
|
"@uppy/dashboard": "^3.0.0",
|
|
9
9
|
"@uppy/xhr-upload": "^3.0.0",
|
|
10
10
|
"tslib": "^2.0.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@abp/ng.core": ">=10.6.0
|
|
14
|
-
"@abp/ng.theme.shared": ">=10.6.0
|
|
13
|
+
"@abp/ng.core": ">=10.6.0",
|
|
14
|
+
"@abp/ng.theme.shared": ">=10.6.0"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public"
|