@volo/abp.ng.file-management 10.7.1 → 11.0.0-rc.2

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.
@@ -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.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 }); }
41
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
42
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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.8", ngImport: i0, type: FileManagementBreadcrumbComponent, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.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"] }] } });
@@ -59,7 +59,7 @@ class UpdateStreamService {
59
59
  this.directoryCreate$ = this.store.sliceUpdate(state => state.createdDirectory);
60
60
  this.directoryMove$ = this.sliceState(state => state.movedDirectory);
61
61
  this.storageSizeInfo$ = this.sliceState(state => state.storageSizeInfo);
62
- this.contentRefresh$ = merge(this.sliceState(state => state.content), this.currentDirectory$, this.storageSizeInfo$, this.directoryCreate$.pipe(filter(id => id === this.currentDirectory)), this.directoryMove$.pipe(filter(({ oldParentId, newParentId }) => oldParentId === this.currentDirectory || newParentId === this.currentDirectory)));
62
+ this.contentRefresh$ = merge(this.sliceState(state => state.content), this.currentDirectory$, this.storageSizeInfo$, this.directoryCreate$.pipe(filter(id => this.isCurrentDirectory(id))), this.directoryMove$.pipe(filter(({ oldParentId, newParentId }) => oldParentId === this.currentDirectory || newParentId === this.currentDirectory)));
63
63
  this.patchStore = (state) => this.store.patch(state);
64
64
  this.requestStorageSizeRefresh = () => this.storageSizeRefresh$.next();
65
65
  this.refreshContent = () => this.store.patch({ content: new Date().getTime() });
@@ -74,10 +74,15 @@ 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.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 }); }
77
+ // The root is null after navigation and undefined before the first navigation.
78
+ // sliceUpdate drops undefined, so a root create is published as null.
79
+ isCurrentDirectory(directoryId) {
80
+ return (directoryId ?? null) === (this.currentDirectory ?? null);
81
+ }
82
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: UpdateStreamService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
83
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: UpdateStreamService }); }
79
84
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UpdateStreamService, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: UpdateStreamService, decorators: [{
81
86
  type: Injectable
82
87
  }], ctorParameters: () => [] });
83
88
 
@@ -207,10 +212,10 @@ class DirectoryTreeService {
207
212
  bindInitialListToRoot(list) {
208
213
  return list.map(l => ({ ...l, parentId: l.parentId || ROOT_ID }));
209
214
  }
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 }); }
215
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: DirectoryTreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
216
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: DirectoryTreeService }); }
212
217
  }
213
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DirectoryTreeService, decorators: [{
218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: DirectoryTreeService, decorators: [{
214
219
  type: Injectable
215
220
  }], ctorParameters: () => [] });
216
221
 
@@ -226,14 +231,15 @@ class CreateFolderModalService {
226
231
  .create({ name, parentId: mapRootIdToEmpty(parentId), extraProperties: {} })
227
232
  .pipe(tap(_ => {
228
233
  this.directoryService.updateDirectories(parentId);
229
- this.updateStream.patchStore({ createdDirectory: parentId });
234
+ // Root has no id. undefined is dropped by sliceUpdate, so the open list would not refresh.
235
+ this.updateStream.patchStore({ createdDirectory: parentId ?? null });
230
236
  this.directoryService.refreshNode({ newParentId: parentId });
231
237
  }));
232
238
  }
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 }); }
239
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: CreateFolderModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
240
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: CreateFolderModalService }); }
235
241
  }
236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: CreateFolderModalService, decorators: [{
242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: CreateFolderModalService, decorators: [{
237
243
  type: Injectable
238
244
  }] });
239
245
 
@@ -288,8 +294,8 @@ class BaseModalComponent {
288
294
  saveAction() {
289
295
  return of({});
290
296
  }
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: `
297
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: BaseModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
298
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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
299
  @if (parent()) {
294
300
  <abp-modal
295
301
  [options]="{ size: parent().size() }"
@@ -332,7 +338,7 @@ class BaseModalComponent {
332
338
  }
333
339
  `, 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
340
  }
335
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BaseModalComponent, decorators: [{
341
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: BaseModalComponent, decorators: [{
336
342
  type: Component,
337
343
  args: [{
338
344
  selector: 'abp-file-management-modal',
@@ -416,10 +422,10 @@ class CreateFolderModalComponent extends BaseModalComponent {
416
422
  clear() {
417
423
  this.form.reset();
418
424
  }
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 }); }
425
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: CreateFolderModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
426
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.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
427
  }
422
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: CreateFolderModalComponent, decorators: [{
428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: CreateFolderModalComponent, decorators: [{
423
429
  type: Component,
424
430
  args: [{ selector: 'abp-create-folder-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CreateFolderModalService], imports: [
425
431
  FormsModule,
@@ -449,10 +455,10 @@ class DeleteService {
449
455
  this.toasterService.success('AbpUi::DeletedSuccessfully');
450
456
  }));
451
457
  }
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 }); }
458
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: DeleteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
459
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: DeleteService }); }
454
460
  }
455
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DeleteService, decorators: [{
461
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: DeleteService, decorators: [{
456
462
  type: Injectable
457
463
  }] });
458
464
 
@@ -487,10 +493,10 @@ class CurrentDirectoryCanAddService {
487
493
  }), tap(canAdd => this.cache.set(cacheKey, canAdd)));
488
494
  }));
489
495
  }
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' }); }
496
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: CurrentDirectoryCanAddService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
497
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: CurrentDirectoryCanAddService, providedIn: 'root' }); }
492
498
  }
493
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: CurrentDirectoryCanAddService, decorators: [{
499
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: CurrentDirectoryCanAddService, decorators: [{
494
500
  type: Injectable,
495
501
  args: [{ providedIn: 'root' }]
496
502
  }] });
@@ -508,10 +514,10 @@ class DownloadService {
508
514
  downloadFile(file) {
509
515
  return this.fileDescriptorService.getDownloadToken(file.id).pipe(switchMap(res => this.fileDescriptorService.download(file.id, res.token, { apiName: this.apiName }).pipe(tap(blob => this.abpWindowService.downloadBlob(blob, file.name)), map(() => res))));
510
516
  }
511
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DownloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
512
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DownloadService }); }
517
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: DownloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
518
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: DownloadService }); }
513
519
  }
514
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: DownloadService, decorators: [{
520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: DownloadService, decorators: [{
515
521
  type: Injectable
516
522
  }] });
517
523
 
@@ -538,10 +544,10 @@ class MoveService {
538
544
  this.toaster.success('FileManagement::SuccessfullyMoved');
539
545
  }));
540
546
  }
541
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
542
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveService }); }
547
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: MoveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
548
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: MoveService }); }
543
549
  }
544
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveService, decorators: [{
550
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: MoveService, decorators: [{
545
551
  type: Injectable
546
552
  }] });
547
553
 
@@ -652,10 +658,10 @@ class NavigatorService {
652
658
  findIndexOf(folderId) {
653
659
  return this.navigatedFolders.findIndex(folder => folder.id === folderId);
654
660
  }
655
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: NavigatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
656
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: NavigatorService }); }
661
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: NavigatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
662
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: NavigatorService }); }
657
663
  }
658
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: NavigatorService, decorators: [{
664
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: NavigatorService, decorators: [{
659
665
  type: Injectable
660
666
  }], ctorParameters: () => [] });
661
667
 
@@ -718,10 +724,10 @@ class MoveFileModalService {
718
724
  getNavigatedFolders() {
719
725
  return this.breadcrumbStore.state;
720
726
  }
721
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveFileModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
722
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveFileModalService }); }
727
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: MoveFileModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
728
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: MoveFileModalService }); }
723
729
  }
724
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveFileModalService, decorators: [{
730
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: MoveFileModalService, decorators: [{
725
731
  type: Injectable
726
732
  }] });
727
733
 
@@ -772,10 +778,10 @@ class MoveFileModalComponent extends BaseModalComponent {
772
778
  shouldSave() {
773
779
  return this.canMoveToCurrentDirectory;
774
780
  }
775
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
776
- 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 }); }
781
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: MoveFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
782
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.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", "checkRowListChanges", "checkRowPropertyChanges", "rowIdentity"], outputs: ["selectedChange", "offsetChange", "sortsChange", "scroll", "activate", "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 }); }
777
783
  }
778
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: MoveFileModalComponent, decorators: [{
784
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: MoveFileModalComponent, decorators: [{
779
785
  type: Component,
780
786
  args: [{ selector: 'abp-move-file-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [MoveFileModalService, ListService, SubscriptionService], imports: [
781
787
  NgxDatatableModule,
@@ -808,10 +814,10 @@ class RenameModalService {
808
814
  callService(service, id, name) {
809
815
  return service.rename(id, { name }).pipe(map(() => true));
810
816
  }
811
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RenameModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
812
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RenameModalService }); }
817
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: RenameModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
818
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: RenameModalService }); }
813
819
  }
814
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RenameModalService, decorators: [{
820
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: RenameModalService, decorators: [{
815
821
  type: Injectable
816
822
  }] });
817
823
 
@@ -857,10 +863,10 @@ class RenameModalComponent extends BaseModalComponent {
857
863
  this.form.reset();
858
864
  this.contentToRename.set(null);
859
865
  }
860
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RenameModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
861
- 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 }); }
866
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: RenameModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
867
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.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 }); }
862
868
  }
863
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: RenameModalComponent, decorators: [{
869
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: RenameModalComponent, decorators: [{
864
870
  type: Component,
865
871
  args: [{ selector: 'abp-rename-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [RenameModalService], imports: [
866
872
  FormsModule,
@@ -901,8 +907,8 @@ class ShareFileModalComponent extends BaseModalComponent {
901
907
  const { shared } = this.contentToShare();
902
908
  this.form.patchValue({ enableFileShare: shared });
903
909
  }
904
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ShareFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
905
- 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: `
910
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: ShareFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
911
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.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: `
906
912
  <abp-file-management-modal
907
913
  title="ShareFile"
908
914
  [parent]="self"
@@ -931,7 +937,7 @@ class ShareFileModalComponent extends BaseModalComponent {
931
937
  </abp-file-management-modal>
932
938
  `, 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" }] }); }
933
939
  }
934
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ShareFileModalComponent, decorators: [{
940
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: ShareFileModalComponent, decorators: [{
935
941
  type: Component,
936
942
  args: [{
937
943
  selector: 'abp-share-file-modal',
@@ -1065,15 +1071,15 @@ class FileManagementFolderContentComponent {
1065
1071
  this.shareModalOpen = true;
1066
1072
  this.contentToShare = withContent;
1067
1073
  }
1068
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1069
- 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: [
1074
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementFolderContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1075
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.8", type: FileManagementFolderContentComponent, isStandalone: true, selector: "abp-file-management-folder-content", outputs: { contentUpdate: "contentUpdate" }, providers: [
1070
1076
  {
1071
1077
  provide: EXTENSIONS_IDENTIFIER,
1072
1078
  useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
1073
1079
  },
1074
1080
  ], 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]] }); }
1075
1081
  }
1076
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderContentComponent, decorators: [{
1082
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementFolderContentComponent, decorators: [{
1077
1083
  type: Component,
1078
1084
  args: [{ selector: 'abp-file-management-folder-content', providers: [
1079
1085
  {
@@ -1274,8 +1280,8 @@ class FileNameValueResolverComponent {
1274
1280
  hasViewPermission(value) {
1275
1281
  return this.hasFilePermission || Boolean(value.record.canView);
1276
1282
  }
1277
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileNameValueResolverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1278
- 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: `
1283
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileNameValueResolverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1284
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.8", type: FileNameValueResolverComponent, isStandalone: true, selector: "abp-file-name-value-resolver", ngImport: i0, template: `
1279
1285
  @if (value$ | async; as value) {
1280
1286
  <span [class.pointer]="canInteract(value)" (click)="handleClick(value)">
1281
1287
  <span [innerHTML]="value.iconHtml"></span>
@@ -1292,7 +1298,7 @@ class FileNameValueResolverComponent {
1292
1298
  }
1293
1299
  `, 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" }] }); }
1294
1300
  }
1295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileNameValueResolverComponent, decorators: [{
1301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileNameValueResolverComponent, decorators: [{
1296
1302
  type: Component,
1297
1303
  args: [{
1298
1304
  selector: 'abp-file-name-value-resolver',
@@ -1651,10 +1657,10 @@ class UploadService {
1651
1657
  this.uppy?.close();
1652
1658
  this.subscriptionService.closeAll();
1653
1659
  }
1654
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1655
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UploadService }); }
1660
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: UploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1661
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: UploadService }); }
1656
1662
  }
1657
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UploadService, decorators: [{
1663
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: UploadService, decorators: [{
1658
1664
  type: Injectable
1659
1665
  }] });
1660
1666
 
@@ -1715,10 +1721,10 @@ class FileManagementButtonsComponent {
1715
1721
  }));
1716
1722
  this.subscriptionService.addOne(canAddToCurrentDirectory$);
1717
1723
  }
1718
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1719
- 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 }); }
1724
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1725
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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 }); }
1720
1726
  }
1721
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementButtonsComponent, decorators: [{
1727
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementButtonsComponent, decorators: [{
1722
1728
  type: Component,
1723
1729
  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" }]
1724
1730
  }] });
@@ -1846,10 +1852,10 @@ class FileManagementDirectoryTreeComponent {
1846
1852
  canDelete(folder) {
1847
1853
  return this.hasDirectoryDeletePermission || Boolean(folder?.canDelete);
1848
1854
  }
1849
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementDirectoryTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1850
- 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 }); }
1855
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementDirectoryTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1856
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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 }); }
1851
1857
  }
1852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementDirectoryTreeComponent, decorators: [{
1858
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementDirectoryTreeComponent, decorators: [{
1853
1859
  type: Component,
1854
1860
  args: [{ selector: 'abp-file-management-directory-tree', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SubscriptionService], imports: [
1855
1861
  ExpandedIconTemplateDirective,
@@ -1889,10 +1895,10 @@ class FileManagementFolderFilterComponent {
1889
1895
  this.list.filter = '';
1890
1896
  this.cdr.markForCheck();
1891
1897
  }
1892
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1893
- 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 }); }
1898
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementFolderFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1899
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.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 }); }
1894
1900
  }
1895
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderFilterComponent, decorators: [{
1901
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementFolderFilterComponent, decorators: [{
1896
1902
  type: Component,
1897
1903
  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" }]
1898
1904
  }], ctorParameters: () => [] });
@@ -1905,10 +1911,10 @@ class FileManagementFolderPanelComponent {
1905
1911
  this.contentUpdate = output();
1906
1912
  this.updateStream.requestStorageSizeRefresh();
1907
1913
  }
1908
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1909
- 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 }); }
1914
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementFolderPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1915
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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 }); }
1910
1916
  }
1911
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementFolderPanelComponent, decorators: [{
1917
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementFolderPanelComponent, decorators: [{
1912
1918
  type: Component,
1913
1919
  args: [{ selector: 'abp-file-management-folder-panel', changeDetection: ChangeDetectionStrategy.OnPush, providers: [ListService], imports: [
1914
1920
  FileManagementBreadcrumbComponent,
@@ -1927,8 +1933,8 @@ class FileManagementComponent {
1927
1933
  ngOnInit() {
1928
1934
  this.directory.updateDirectories(null);
1929
1935
  }
1930
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1931
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: FileManagementComponent, isStandalone: true, selector: "abp-file-management", providers: [
1936
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1937
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.8", type: FileManagementComponent, isStandalone: true, selector: "abp-file-management", providers: [
1932
1938
  DeleteService,
1933
1939
  DownloadService,
1934
1940
  DirectoryTreeService,
@@ -1942,7 +1948,7 @@ class FileManagementComponent {
1942
1948
  },
1943
1949
  ], 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 }); }
1944
1950
  }
1945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementComponent, decorators: [{
1951
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementComponent, decorators: [{
1946
1952
  type: Component,
1947
1953
  args: [{ selector: 'abp-file-management', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
1948
1954
  DeleteService,
@@ -1975,10 +1981,10 @@ class FileManagementGuard {
1975
1981
  canActivate() {
1976
1982
  return this.fileManagementFeatures.pipe(map(features => features.enable));
1977
1983
  }
1978
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1979
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementGuard }); }
1984
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1985
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementGuard }); }
1980
1986
  }
1981
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementGuard, decorators: [{
1987
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementGuard, decorators: [{
1982
1988
  type: Injectable
1983
1989
  }] });
1984
1990
  const fileManagementGuard = () => {
@@ -2017,11 +2023,11 @@ const routes = [
2017
2023
  },
2018
2024
  ];
2019
2025
  class FileManagementRoutingModule {
2020
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2021
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: FileManagementRoutingModule, imports: [i1$2.RouterModule], exports: [RouterModule] }); }
2022
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
2026
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2027
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.8", ngImport: i0, type: FileManagementRoutingModule, imports: [i1$2.RouterModule], exports: [RouterModule] }); }
2028
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
2023
2029
  }
2024
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementRoutingModule, decorators: [{
2030
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementRoutingModule, decorators: [{
2025
2031
  type: NgModule,
2026
2032
  args: [{
2027
2033
  imports: [RouterModule.forChild(routes)],
@@ -2054,10 +2060,10 @@ class FileManagementInitializer {
2054
2060
  mergeWithDefaultProps(extensions.entityProps, DEFAULT_FILE_MANAGEMENT_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
2055
2061
  }), map(() => true));
2056
2062
  }
2057
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementInitializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2058
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementInitializer }); }
2063
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementInitializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2064
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementInitializer }); }
2059
2065
  }
2060
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementInitializer, decorators: [{
2066
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementInitializer, decorators: [{
2061
2067
  type: Injectable
2062
2068
  }] });
2063
2069
 
@@ -2108,8 +2114,8 @@ class FileManagementModule {
2108
2114
  static forLazy(options = {}) {
2109
2115
  return new LazyModuleFactory(FileManagementModule.forChild(options));
2110
2116
  }
2111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2112
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
2117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2118
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.8", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
2113
2119
  ThemeSharedModule,
2114
2120
  TreeModule,
2115
2121
  FileManagementRoutingModule,
@@ -2135,7 +2141,7 @@ class FileManagementModule {
2135
2141
  FileManagementFolderFilterComponent,
2136
2142
  FileManagementFolderPanelComponent,
2137
2143
  FileNameValueResolverComponent] }); }
2138
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
2144
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
2139
2145
  ThemeSharedModule,
2140
2146
  TreeModule,
2141
2147
  FileManagementRoutingModule,
@@ -2149,7 +2155,7 @@ class FileManagementModule {
2149
2155
  FileManagementFolderFilterComponent,
2150
2156
  FileManagementFolderPanelComponent, modals] }); }
2151
2157
  }
2152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: FileManagementModule, decorators: [{
2158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: FileManagementModule, decorators: [{
2153
2159
  type: NgModule,
2154
2160
  args: [{
2155
2161
  imports: [