@volo/abp.ng.file-management 10.0.2 → 10.1.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Output, Input, ChangeDetectionStrategy, Component, Injectable, inject, input, ViewChild, InjectionToken, Renderer2, ElementRef, DOCUMENT, ViewEncapsulation, ChangeDetectorRef, Injector, NgModule } from '@angular/core';
3
- import { LocalizationPipe, InternalStore, EnvironmentService, ListService, SubscriptionService, LocalizationService, ApiInterceptor, PermissionService, PermissionDirective, authGuard, permissionGuard, LazyModuleFactory, CoreModule } from '@abp/ng.core';
4
- import { filter, skip, map, tap, finalize, take, switchMap, bufferTime, distinctUntilChanged } from 'rxjs/operators';
2
+ import { EventEmitter, Output, Input, ChangeDetectionStrategy, Component, inject, Injectable, input, ViewChild, effect, InjectionToken, Renderer2, ElementRef, DOCUMENT, ViewEncapsulation, ChangeDetectorRef, Injector, NgModule } from '@angular/core';
3
+ import { LocalizationPipe, InternalStore, EnvironmentService, ListService, PermissionService, AbpWindowService, SubscriptionService, LocalizationService, ApiInterceptor, PermissionDirective, authGuard, permissionGuard, LazyModuleFactory, CoreModule } from '@abp/ng.core';
4
+ import { filter, switchMap, skip, map, tap, finalize, take, bufferTime, distinctUntilChanged } from 'rxjs/operators';
5
5
  import { ModalComponent, ButtonComponent, ConfirmationService, ToasterService, Confirmation, NgxDatatableDefaultDirective, ThemeSharedModule } from '@abp/ng.theme.shared';
6
6
  import { UPPY_OPTIONS, FILE_MANAGEMENT_FEATURES } from '@volo/abp.ng.file-management/common';
7
7
  import * as i1 from '@angular/forms';
8
8
  import { UntypedFormBuilder, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
9
9
  import * as i2 from '@ngx-validate/core';
10
10
  import { NgxValidateCoreModule } from '@ngx-validate/core';
11
- import { DirectoryDescriptorService, FileDescriptorService } from '@volo/abp.ng.file-management/proxy';
11
+ import { FileDescriptorService, DirectoryDescriptorService } from '@volo/abp.ng.file-management/proxy';
12
12
  import { TreeAdapter, ExpandedIconTemplateDirective, TreeNodeTemplateDirective, TreeComponent, TreeModule } from '@abp/ng.components/tree';
13
- import { merge, Subscription, forkJoin, of, BehaviorSubject, tap as tap$1, fromEvent, map as map$1 } from 'rxjs';
13
+ import { Subject, merge, Subscription, forkJoin, of, BehaviorSubject, tap as tap$1, fromEvent, map as map$1 } from 'rxjs';
14
14
  import { HttpXsrfTokenExtractor } from '@angular/common/http';
15
15
  import { Uppy } from '@uppy/core';
16
16
  import Dashboard from '@uppy/dashboard';
17
17
  import XHRUpload from '@uppy/xhr-upload';
18
- import { ExtensibleTableComponent, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, ExtensibleModule } from '@abp/ng.components/extensible';
18
+ import { ExtensibleTableComponent, EXTENSIONS_IDENTIFIER, EntityAction, PROP_DATA_STREAM, EntityProp, ToolbarAction, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, ExtensibleModule } from '@abp/ng.components/extensible';
19
19
  import { AsyncPipe } from '@angular/common';
20
+ import { NgbTooltipModule, NgbTooltip, NgbDropdownItem, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
20
21
  import * as i1$1 from '@swimlane/ngx-datatable';
21
22
  import { NgxDatatableModule } from '@swimlane/ngx-datatable';
22
- import { NgbDropdownItem, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
23
23
  import { toSignal } from '@angular/core/rxjs-interop';
24
24
  import * as i1$2 from '@angular/router';
25
25
  import { RouterModule } from '@angular/router';
@@ -34,10 +34,10 @@ class FileManagementBreadcrumbComponent {
34
34
  onClick(item) {
35
35
  this.breadcrumbClick.emit(item);
36
36
  }
37
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
38
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.7", type: FileManagementBreadcrumbComponent, isStandalone: true, selector: "abp-file-management-breadcrumb", inputs: { rootBreadcrumbName: "rootBreadcrumbName", navigatedFolders: "navigatedFolders" }, 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 }); }
37
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
38
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: FileManagementBreadcrumbComponent, isStandalone: true, selector: "abp-file-management-breadcrumb", inputs: { rootBreadcrumbName: "rootBreadcrumbName", navigatedFolders: "navigatedFolders" }, 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 }); }
39
39
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementBreadcrumbComponent, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementBreadcrumbComponent, decorators: [{
41
41
  type: Component,
42
42
  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"] }]
43
43
  }], propDecorators: { rootBreadcrumbName: [{
@@ -51,17 +51,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
51
51
  class UpdateStreamService {
52
52
  constructor() {
53
53
  this.store = new InternalStore({});
54
- this.currentDirectory$ = this.sliceState((state) => state.currentDirectory);
55
- this.directoryRename$ = this.sliceState((state) => state.renamedDirectory);
56
- this.directoryDelete$ = this.sliceState((state) => state.deletedDirectory);
54
+ this.fileDescriptorService = inject(FileDescriptorService);
55
+ this.storageSizeRefresh$ = new Subject();
56
+ this.currentDirectory$ = this.sliceState(state => state.currentDirectory);
57
+ this.directoryRename$ = this.sliceState(state => state.renamedDirectory);
58
+ this.directoryDelete$ = this.sliceState(state => state.deletedDirectory);
57
59
  // this should be sliceUpdate, because if the user creates multiple folder within the same directory,
58
60
  // sliceState won't trigger the subscriber again since the directory has not changed.
59
- this.directoryCreate$ = this.store.sliceUpdate((state) => state.createdDirectory);
60
- this.directoryMove$ = this.sliceState((state) => state.movedDirectory);
61
- this.contentRefresh$ = merge(this.sliceState((state) => state.content), this.currentDirectory$, this.directoryCreate$.pipe(filter((id) => id === this.currentDirectory)), this.directoryMove$.pipe(filter(({ oldParentId, newParentId }) => oldParentId === this.currentDirectory ||
62
- newParentId === this.currentDirectory)));
61
+ this.directoryCreate$ = this.store.sliceUpdate(state => state.createdDirectory);
62
+ this.directoryMove$ = this.sliceState(state => state.movedDirectory);
63
+ this.storageSizeInfo$ = this.sliceState(state => state.storageSizeInfo);
64
+ 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)));
63
65
  this.patchStore = (state) => this.store.patch(state);
66
+ this.requestStorageSizeRefresh = () => this.storageSizeRefresh$.next();
64
67
  this.refreshContent = () => this.store.patch({ content: new Date().getTime() });
68
+ this.storageSizeRefresh$
69
+ .pipe(switchMap(() => this.fileDescriptorService.getStorageSizeInfo()))
70
+ .subscribe(sizeInfo => this.patchStore({ storageSizeInfo: sizeInfo }));
65
71
  }
66
72
  get currentDirectory() {
67
73
  return this.store.state.currentDirectory;
@@ -70,12 +76,12 @@ class UpdateStreamService {
70
76
  // skip initial empty values
71
77
  return this.store.sliceState(fn).pipe(skip(1));
72
78
  }
73
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: UpdateStreamService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
74
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: UpdateStreamService }); }
79
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: UpdateStreamService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
80
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: UpdateStreamService }); }
75
81
  }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: UpdateStreamService, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: UpdateStreamService, decorators: [{
77
83
  type: Injectable
78
- }] });
84
+ }], ctorParameters: () => [] });
79
85
 
80
86
  const ROOT_ID = 'ROOT_ID';
81
87
  const ROOT_NODE = {
@@ -203,10 +209,10 @@ class DirectoryTreeService {
203
209
  bindInitialListToRoot(list) {
204
210
  return list.map(l => ({ ...l, parentId: l.parentId || ROOT_ID }));
205
211
  }
206
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DirectoryTreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
207
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DirectoryTreeService }); }
212
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DirectoryTreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
213
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DirectoryTreeService }); }
208
214
  }
209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DirectoryTreeService, decorators: [{
215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DirectoryTreeService, decorators: [{
210
216
  type: Injectable
211
217
  }], ctorParameters: () => [] });
212
218
 
@@ -226,20 +232,21 @@ class CreateFolderModalService {
226
232
  this.directoryService.refreshNode({ newParentId: parentId });
227
233
  }));
228
234
  }
229
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateFolderModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
230
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateFolderModalService }); }
235
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CreateFolderModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
236
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CreateFolderModalService }); }
231
237
  }
232
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateFolderModalService, decorators: [{
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CreateFolderModalService, decorators: [{
233
239
  type: Injectable
234
240
  }] });
235
241
 
236
242
  class BaseModalComponent {
237
243
  constructor() {
238
- this.title = input();
239
- this.size = input('md');
240
- this.formName = input();
241
- this.visible = input();
242
- this.parent = input();
244
+ this.title = input(...(ngDevMode ? [undefined, { debugName: "title" }] : []));
245
+ this.titleLocalizationParams = input('', ...(ngDevMode ? [{ debugName: "titleLocalizationParams" }] : []));
246
+ this.size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
247
+ this.formName = input(...(ngDevMode ? [undefined, { debugName: "formName" }] : []));
248
+ this.visible = input(...(ngDevMode ? [undefined, { debugName: "visible" }] : []));
249
+ this.parent = input(...(ngDevMode ? [undefined, { debugName: "parent" }] : []));
243
250
  this.visibleChange = new EventEmitter();
244
251
  this.contentSaved = new EventEmitter();
245
252
  this.loading = false;
@@ -277,8 +284,8 @@ class BaseModalComponent {
277
284
  saveAction() {
278
285
  return of({});
279
286
  }
280
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BaseModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
281
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.7", type: BaseModalComponent, isStandalone: true, selector: "abp-file-management-modal", inputs: { title: { classPropertyName: "title", publicName: "title", 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: `
287
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
288
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", 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: `
282
289
  @if (parent()) {
283
290
  <abp-modal
284
291
  [options]="{ size: parent().size() }"
@@ -287,7 +294,7 @@ class BaseModalComponent {
287
294
  >
288
295
  <ng-template #abpHeader>
289
296
  <h5 class="modal-title">
290
- {{ 'FileManagement::' + title() | abpLocalization }}
297
+ {{ 'FileManagement::' + title() | abpLocalization: titleLocalizationParams() }}
291
298
  </h5>
292
299
  </ng-template>
293
300
 
@@ -305,7 +312,7 @@ class BaseModalComponent {
305
312
  {{ 'AbpUi::Cancel' | abpLocalization }}
306
313
  </button>
307
314
 
308
- @let buttonType = formName() ? 'submit' : '';
315
+ @let buttonType = formName() ? 'submit' : '';
309
316
  <abp-button
310
317
  type="abp-button"
311
318
  [loading]="parent().loading"
@@ -319,9 +326,9 @@ class BaseModalComponent {
319
326
  </ng-template>
320
327
  </abp-modal>
321
328
  }
322
- `, isInline: true, dependencies: [{ kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
329
+ `, 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.Default }); }
323
330
  }
324
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: BaseModalComponent, decorators: [{
331
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseModalComponent, decorators: [{
325
332
  type: Component,
326
333
  args: [{
327
334
  selector: 'abp-file-management-modal',
@@ -336,7 +343,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
336
343
  >
337
344
  <ng-template #abpHeader>
338
345
  <h5 class="modal-title">
339
- {{ 'FileManagement::' + title() | abpLocalization }}
346
+ {{ 'FileManagement::' + title() | abpLocalization: titleLocalizationParams() }}
340
347
  </h5>
341
348
  </ng-template>
342
349
 
@@ -354,7 +361,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
354
361
  {{ 'AbpUi::Cancel' | abpLocalization }}
355
362
  </button>
356
363
 
357
- @let buttonType = formName() ? 'submit' : '';
364
+ @let buttonType = formName() ? 'submit' : '';
358
365
  <abp-button
359
366
  type="abp-button"
360
367
  [loading]="parent().loading"
@@ -371,7 +378,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
371
378
  `,
372
379
  imports: [LocalizationPipe, ModalComponent, ButtonComponent],
373
380
  }]
374
- }], propDecorators: { visibleChange: [{
381
+ }], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], titleLocalizationParams: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleLocalizationParams", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], formName: [{ type: i0.Input, args: [{ isSignal: true, alias: "formName", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }], parent: [{ type: i0.Input, args: [{ isSignal: true, alias: "parent", required: false }] }], visibleChange: [{
375
382
  type: Output
376
383
  }], contentSaved: [{
377
384
  type: Output
@@ -382,7 +389,7 @@ class CreateFolderModalComponent extends BaseModalComponent {
382
389
  super();
383
390
  this.fb = inject(UntypedFormBuilder);
384
391
  this.service = inject(CreateFolderModalService);
385
- this.parentId = input();
392
+ this.parentId = input(...(ngDevMode ? [undefined, { debugName: "parentId" }] : []));
386
393
  this.form = this.fb.group({
387
394
  name: ['', Validators.required],
388
395
  });
@@ -405,10 +412,10 @@ class CreateFolderModalComponent extends BaseModalComponent {
405
412
  clear() {
406
413
  this.form.reset();
407
414
  }
408
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateFolderModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
409
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.7", 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 }], 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>\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])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],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" }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "size", "formName", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
415
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CreateFolderModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
416
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", 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 }], 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>\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])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[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 }); }
410
417
  }
411
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateFolderModalComponent, decorators: [{
418
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CreateFolderModalComponent, decorators: [{
412
419
  type: Component,
413
420
  args: [{ selector: 'abp-create-folder-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CreateFolderModalService], imports: [
414
421
  FormsModule,
@@ -417,7 +424,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
417
424
  LocalizationPipe,
418
425
  BaseModalComponent,
419
426
  ], template: "<abp-file-management-modal title=\"CreateFolder\" [parent]=\"self\" formName=\"createFolderForm\">\r\n <form id=\"createFolderForm\" [formGroup]=\"form\" validateOnSubmit>\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>" }]
420
- }], ctorParameters: () => [], propDecorators: { createFolderInputRef: [{
427
+ }], ctorParameters: () => [], propDecorators: { parentId: [{ type: i0.Input, args: [{ isSignal: true, alias: "parentId", required: false }] }], createFolderInputRef: [{
421
428
  type: ViewChild,
422
429
  args: ['createFolderInput']
423
430
  }] } });
@@ -434,17 +441,17 @@ class DeleteService {
434
441
  return this.delete('FileManagement::DirectoryDeleteConfirmationMessage', content, this.directoryService).pipe(tap(() => this.updateStream.patchStore({ deletedDirectory: content.id })));
435
442
  }
436
443
  deleteFile(content) {
437
- return this.delete('FileManagement::FileDeleteConfirmationMessage', content, this.fileService).pipe(tap(() => this.updateStream.refreshContent()));
444
+ return this.delete('FileManagement::FileDeleteConfirmationMessage', content, this.fileService).pipe(tap(() => this.updateStream.requestStorageSizeRefresh()));
438
445
  }
439
446
  delete(message, content, service) {
440
447
  return this.confirmationService.warn(message, 'FileManagement::AreYouSure').pipe(filter(status => status === Confirmation.Status.confirm), take(1), switchMap(() => service.delete(content.id)), tap(() => {
441
448
  this.toasterService.success('AbpUi::DeletedSuccessfully');
442
449
  }));
443
450
  }
444
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DeleteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
445
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DeleteService }); }
451
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DeleteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
452
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DeleteService }); }
446
453
  }
447
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DeleteService, decorators: [{
454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DeleteService, decorators: [{
448
455
  type: Injectable
449
456
  }] });
450
457
 
@@ -462,10 +469,10 @@ class DownloadService {
462
469
  window.open(`${this.apiUrl}/api/file-management/file-descriptor/download/${file.id}?token=${res.token}`, '_self');
463
470
  }));
464
471
  }
465
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DownloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
466
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DownloadService }); }
472
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DownloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
473
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DownloadService }); }
467
474
  }
468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DownloadService, decorators: [{
475
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DownloadService, decorators: [{
469
476
  type: Injectable
470
477
  }] });
471
478
 
@@ -492,10 +499,10 @@ class MoveService {
492
499
  this.toaster.success('FileManagement::SuccessfullyMoved');
493
500
  }));
494
501
  }
495
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
496
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveService }); }
502
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MoveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
503
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MoveService }); }
497
504
  }
498
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveService, decorators: [{
505
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MoveService, decorators: [{
499
506
  type: Injectable
500
507
  }] });
501
508
 
@@ -592,10 +599,10 @@ class NavigatorService {
592
599
  findIndexOf(folderId) {
593
600
  return this.navigatedFolders.findIndex(folder => folder.id === folderId);
594
601
  }
595
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NavigatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
596
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NavigatorService }); }
602
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NavigatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
603
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NavigatorService }); }
597
604
  }
598
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NavigatorService, decorators: [{
605
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NavigatorService, decorators: [{
599
606
  type: Injectable
600
607
  }], ctorParameters: () => [] });
601
608
 
@@ -658,10 +665,10 @@ class MoveFileModalService {
658
665
  getNavigatedFolders() {
659
666
  return this.breadcrumbStore.state;
660
667
  }
661
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveFileModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
662
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveFileModalService }); }
668
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MoveFileModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
669
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MoveFileModalService }); }
663
670
  }
664
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveFileModalService, decorators: [{
671
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MoveFileModalService, decorators: [{
665
672
  type: Injectable
666
673
  }] });
667
674
 
@@ -687,10 +694,10 @@ class MoveFileModalComponent extends BaseModalComponent {
687
694
  return this.service.move(this.fileToMove);
688
695
  }
689
696
  }
690
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
691
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: MoveFileModalComponent, isStandalone: true, selector: "abp-move-file-modal", inputs: { fileToMove: "fileToMove", oldParentId: "oldParentId" }, providers: [MoveFileModalService, ListService], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<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\" let-i=\"index\" 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: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { 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", "size", "formName", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
697
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MoveFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
698
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: MoveFileModalComponent, isStandalone: true, selector: "abp-move-file-modal", inputs: { fileToMove: "fileToMove", oldParentId: "oldParentId" }, providers: [MoveFileModalService, ListService], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<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\" let-i=\"index\" 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 }); }
692
699
  }
693
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveFileModalComponent, decorators: [{
700
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MoveFileModalComponent, decorators: [{
694
701
  type: Component,
695
702
  args: [{ selector: 'abp-move-file-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [MoveFileModalService, ListService], imports: [
696
703
  NgxDatatableModule,
@@ -727,10 +734,10 @@ class RenameModalService {
727
734
  callService(service, id, name) {
728
735
  return service.rename(id, { name }).pipe(map(() => true));
729
736
  }
730
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RenameModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
731
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RenameModalService }); }
737
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RenameModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
738
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RenameModalService }); }
732
739
  }
733
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RenameModalService, decorators: [{
740
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RenameModalService, decorators: [{
734
741
  type: Injectable
735
742
  }] });
736
743
 
@@ -777,10 +784,10 @@ class RenameModalComponent extends BaseModalComponent {
777
784
  this.contentToRename = null;
778
785
  this.contentToRenameChange.emit(this.contentToRename);
779
786
  }
780
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RenameModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
781
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: RenameModalComponent, isStandalone: true, selector: "abp-rename-modal", inputs: { contentToRename: "contentToRename" }, outputs: { contentRenamed: "contentRenamed", contentToRenameChange: "contentToRenameChange" }, providers: [RenameModalService], viewQueries: [{ propertyName: "renameFileInputRef", first: true, predicate: ["renameFileInput"], descendants: 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>\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])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],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" }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "size", "formName", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
787
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RenameModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
788
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: RenameModalComponent, isStandalone: true, selector: "abp-rename-modal", inputs: { contentToRename: "contentToRename" }, outputs: { contentRenamed: "contentRenamed", contentToRenameChange: "contentToRenameChange" }, providers: [RenameModalService], viewQueries: [{ propertyName: "renameFileInputRef", first: true, predicate: ["renameFileInput"], descendants: 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>\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])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[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 }); }
782
789
  }
783
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RenameModalComponent, decorators: [{
790
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: RenameModalComponent, decorators: [{
784
791
  type: Component,
785
792
  args: [{ selector: 'abp-rename-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [RenameModalService], imports: [
786
793
  FormsModule,
@@ -800,6 +807,105 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
800
807
  type: Input
801
808
  }] } });
802
809
 
810
+ class ShareFileModalComponent extends BaseModalComponent {
811
+ constructor() {
812
+ super();
813
+ this.fb = inject(UntypedFormBuilder);
814
+ this.service = inject(FileDescriptorService);
815
+ this.updateStream = inject(UpdateStreamService);
816
+ this.contentToShare = input(...(ngDevMode ? [undefined, { debugName: "contentToShare" }] : []));
817
+ this.contentName = '';
818
+ this.form = this.fb.group({
819
+ enableFileShare: [false, Validators.required],
820
+ });
821
+ effect(() => {
822
+ const content = this.contentToShare();
823
+ if (content) {
824
+ this.contentName = content.name;
825
+ this.patchForm();
826
+ }
827
+ });
828
+ }
829
+ saveAction() {
830
+ const { id } = this.contentToShare();
831
+ return this.service.shareFile(id, this.form.controls.enableFileShare.value).pipe(tap(() => this.updateStream.refreshContent()));
832
+ }
833
+ patchForm() {
834
+ const { shared } = this.contentToShare();
835
+ this.form.patchValue({ enableFileShare: shared });
836
+ }
837
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ShareFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
838
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", 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: `
839
+ <abp-file-management-modal
840
+ title="ShareFile"
841
+ [parent]="self"
842
+ formName="shareFileForm"
843
+ [titleLocalizationParams]="contentName"
844
+ >
845
+ <form id="shareFileForm" [formGroup]="form" (keyup.enter)="save()" validateOnSubmit>
846
+ <div class="form-check">
847
+ <input
848
+ #enableFileShare
849
+ type="checkbox"
850
+ id="enableFileShare"
851
+ class="form-check-input"
852
+ formControlName="enableFileShare"
853
+ />
854
+ <label for="enableFileShare">{{
855
+ 'FileManagement::EnableFileShare' | abpLocalization
856
+ }}</label>
857
+ <div>
858
+ <small class="form-text">
859
+ {{ 'FileManagement::ShareWarning' | abpLocalization }}
860
+ </small>
861
+ </div>
862
+ </div>
863
+ </form>
864
+ </abp-file-management-modal>
865
+ `, 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][formControlName],input[type=checkbox][formControl],input[type=checkbox][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" }] }); }
866
+ }
867
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ShareFileModalComponent, decorators: [{
868
+ type: Component,
869
+ args: [{
870
+ selector: 'abp-share-file-modal',
871
+ template: `
872
+ <abp-file-management-modal
873
+ title="ShareFile"
874
+ [parent]="self"
875
+ formName="shareFileForm"
876
+ [titleLocalizationParams]="contentName"
877
+ >
878
+ <form id="shareFileForm" [formGroup]="form" (keyup.enter)="save()" validateOnSubmit>
879
+ <div class="form-check">
880
+ <input
881
+ #enableFileShare
882
+ type="checkbox"
883
+ id="enableFileShare"
884
+ class="form-check-input"
885
+ formControlName="enableFileShare"
886
+ />
887
+ <label for="enableFileShare">{{
888
+ 'FileManagement::EnableFileShare' | abpLocalization
889
+ }}</label>
890
+ <div>
891
+ <small class="form-text">
892
+ {{ 'FileManagement::ShareWarning' | abpLocalization }}
893
+ </small>
894
+ </div>
895
+ </div>
896
+ </form>
897
+ </abp-file-management-modal>
898
+ `,
899
+ imports: [
900
+ BaseModalComponent,
901
+ LocalizationPipe,
902
+ FormsModule,
903
+ ReactiveFormsModule,
904
+ NgxValidateCoreModule,
905
+ ],
906
+ }]
907
+ }], ctorParameters: () => [], propDecorators: { contentToShare: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentToShare", required: false }] }] } });
908
+
803
909
  class FileManagementFolderContentComponent {
804
910
  constructor() {
805
911
  this.list = inject((ListService));
@@ -811,6 +917,7 @@ class FileManagementFolderContentComponent {
811
917
  this.contentUpdate = new EventEmitter();
812
918
  this.renameModalOpen = false;
813
919
  this.moveModalOpen = false;
920
+ this.shareModalOpen = false;
814
921
  this.updateContent = (data) => {
815
922
  this.currentList = data.items;
816
923
  this.contentUpdate.emit(data.items);
@@ -848,6 +955,9 @@ class FileManagementFolderContentComponent {
848
955
  renameFile(record) {
849
956
  this.openRenameModal(record);
850
957
  }
958
+ shareFile(record) {
959
+ this.openShareModal(record);
960
+ }
851
961
  deleteFile(record) {
852
962
  this.deleteService.deleteFile(record).subscribe();
853
963
  }
@@ -869,22 +979,33 @@ class FileManagementFolderContentComponent {
869
979
  this.renameModalOpen = true;
870
980
  this.contentToRename = withContent;
871
981
  }
872
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementFolderContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
873
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.7", type: FileManagementFolderContentComponent, isStandalone: true, selector: "abp-file-management-folder-content", outputs: { contentUpdate: "contentUpdate" }, providers: [
982
+ openShareModal(withContent) {
983
+ this.shareModalOpen = true;
984
+ this.contentToShare = withContent;
985
+ }
986
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementFolderContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
987
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: FileManagementFolderContentComponent, isStandalone: true, selector: "abp-file-management-folder-content", outputs: { contentUpdate: "contentUpdate" }, providers: [
874
988
  {
875
989
  provide: EXTENSIONS_IDENTIFIER,
876
990
  useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
877
991
  },
878
- ], ngImport: i0, template: "@if (content$ | async; as data) {\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n\r\n <abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n ></abp-rename-modal>\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 ></abp-move-file-modal>\r\n}\r\n", dependencies: [{ kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight"], outputs: ["tableActivate", "selectionChange", "loadMore"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentRenamed", "contentToRenameChange"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
992
+ ], ngImport: i0, template: "@if (content$ | async; as data) {\r\n <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", 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"], outputs: ["tableActivate", "selectionChange", "loadMore"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentRenamed", "contentToRenameChange"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [ShareFileModalComponent]] }); }
879
993
  }
880
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementFolderContentComponent, decorators: [{
994
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementFolderContentComponent, decorators: [{
881
995
  type: Component,
882
996
  args: [{ selector: 'abp-file-management-folder-content', providers: [
883
997
  {
884
998
  provide: EXTENSIONS_IDENTIFIER,
885
999
  useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
886
1000
  },
887
- ], changeDetection: ChangeDetectionStrategy.OnPush, imports: [ExtensibleTableComponent, RenameModalComponent, MoveFileModalComponent, AsyncPipe], template: "@if (content$ | async; as data) {\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n\r\n <abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n ></abp-rename-modal>\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 ></abp-move-file-modal>\r\n}\r\n" }]
1001
+ ], changeDetection: ChangeDetectionStrategy.OnPush, imports: [
1002
+ NgbTooltipModule,
1003
+ ExtensibleTableComponent,
1004
+ RenameModalComponent,
1005
+ MoveFileModalComponent,
1006
+ ShareFileModalComponent,
1007
+ AsyncPipe,
1008
+ ], template: "@if (content$ | async; as data) {\r\n <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" }]
888
1009
  }], propDecorators: { contentUpdate: [{
889
1010
  type: Output
890
1011
  }] } });
@@ -942,6 +1063,15 @@ const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_ACTIONS = EntityActio
942
1063
  },
943
1064
  visible: isFile,
944
1065
  },
1066
+ {
1067
+ text: 'FileManagement::Share',
1068
+ action: data => {
1069
+ const component = data.getInjected(FileManagementFolderContentComponent);
1070
+ component.shareFile(data.record);
1071
+ },
1072
+ permission: "FileManagement.FileDescriptor.Share" /* eFileManagementPolicyNames.FileDescriptorShare */,
1073
+ visible: isFile,
1074
+ },
945
1075
  {
946
1076
  text: 'FileManagement::Rename',
947
1077
  action: data => {
@@ -990,38 +1120,100 @@ function formatBytes(size, precision = 2) {
990
1120
  sizes[sizeIndex]);
991
1121
  }
992
1122
 
1123
+ const getFileNameValueResolverData = (record) => {
1124
+ let iconHtml = '';
1125
+ if (record.isDirectory) {
1126
+ iconHtml = `<i class="fa fa-folder text-primary" aria-hidden="true"></i>`;
1127
+ }
1128
+ else if (record.iconInfo) {
1129
+ if (record.iconInfo.type === 0) {
1130
+ iconHtml = `<i class="${record.iconInfo.icon}" aria-hidden="true"></i>`;
1131
+ }
1132
+ else {
1133
+ iconHtml = `<img src="${record.iconInfo.icon}" />`;
1134
+ }
1135
+ }
1136
+ const result = {
1137
+ iconHtml,
1138
+ name: record.name,
1139
+ isShared: record.shared || false,
1140
+ tooltipText: '',
1141
+ record,
1142
+ };
1143
+ if (record.shared) {
1144
+ result.tooltipText = 'FileManagement::ShareWarningTooltip';
1145
+ }
1146
+ return of(result);
1147
+ };
1148
+
1149
+ class FileNameValueResolverComponent {
1150
+ handleClick(value) {
1151
+ if (value.record.isDirectory) {
1152
+ this.navigator.goToFolder(value.record);
1153
+ }
1154
+ else {
1155
+ this.download.downloadFile(value.record).subscribe();
1156
+ }
1157
+ }
1158
+ constructor() {
1159
+ this.value$ = inject(PROP_DATA_STREAM);
1160
+ this.navigator = inject(NavigatorService);
1161
+ this.download = inject(DownloadService);
1162
+ this.permissionService = inject(PermissionService);
1163
+ this.isSharedLinkGranted = false;
1164
+ const isGranted = this.permissionService.getGrantedPolicy("FileManagement.FileDescriptor.Share" /* eFileManagementPolicyNames.FileDescriptorShare */);
1165
+ this.isSharedLinkGranted = isGranted;
1166
+ }
1167
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileNameValueResolverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1168
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: FileNameValueResolverComponent, isStandalone: true, selector: "abp-file-name-value-resolver", ngImport: i0, template: `
1169
+ @if (value$ | async; as value) {
1170
+ <span class="pointer" (click)="handleClick(value)">
1171
+ <span [innerHTML]="value.iconHtml"></span>
1172
+ {{ value.name }}
1173
+ </span>
1174
+ @if (value.isShared && isSharedLinkGranted) {
1175
+ <i
1176
+ class="ms-1 fa fa-globe text-success"
1177
+ placement="right"
1178
+ container="body"
1179
+ [ngbTooltip]="value.tooltipText | abpLocalization"
1180
+ ></i>
1181
+ }
1182
+ }
1183
+ `, 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" }] }); }
1184
+ }
1185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileNameValueResolverComponent, decorators: [{
1186
+ type: Component,
1187
+ args: [{
1188
+ selector: 'abp-file-name-value-resolver',
1189
+ template: `
1190
+ @if (value$ | async; as value) {
1191
+ <span class="pointer" (click)="handleClick(value)">
1192
+ <span [innerHTML]="value.iconHtml"></span>
1193
+ {{ value.name }}
1194
+ </span>
1195
+ @if (value.isShared && isSharedLinkGranted) {
1196
+ <i
1197
+ class="ms-1 fa fa-globe text-success"
1198
+ placement="right"
1199
+ container="body"
1200
+ [ngbTooltip]="value.tooltipText | abpLocalization"
1201
+ ></i>
1202
+ }
1203
+ }
1204
+ `,
1205
+ imports: [NgbTooltip, AsyncPipe, LocalizationPipe],
1206
+ }]
1207
+ }], ctorParameters: () => [] });
1208
+
993
1209
  const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_PROPS = EntityProp.createMany([
994
1210
  {
995
1211
  type: "string" /* ePropType.String */,
996
1212
  name: 'name',
997
1213
  displayName: 'FileManagement::Name',
998
1214
  sortable: true,
999
- action: data => {
1000
- const navigator = data.getInjected(NavigatorService);
1001
- const download = data.getInjected(DownloadService);
1002
- if (data.record.isDirectory) {
1003
- navigator.goToFolder(data.record);
1004
- }
1005
- else {
1006
- download.downloadFile(data.record).subscribe();
1007
- }
1008
- },
1009
- valueResolver: data => {
1010
- const record = data.record;
1011
- let iconTemplate;
1012
- if (record.isDirectory) {
1013
- iconTemplate = `<i class="fa fa-folder text-primary" aria-hidden="true"></i>`;
1014
- }
1015
- else if (record.iconInfo) {
1016
- if (record.iconInfo.type === 0) {
1017
- iconTemplate = `<i class="${data.record.iconInfo.icon}" aria-hidden="true"></i>`;
1018
- }
1019
- else {
1020
- iconTemplate = `<img src="${data.record.iconInfo.icon}" />`;
1021
- }
1022
- }
1023
- return of(`${iconTemplate} ${data.record.name}`);
1024
- },
1215
+ component: FileNameValueResolverComponent,
1216
+ valueResolver: data => getFileNameValueResolverData(data.record),
1025
1217
  },
1026
1218
  {
1027
1219
  type: "string" /* ePropType.String */,
@@ -1031,6 +1223,40 @@ const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_PROPS = EntityProp.cr
1031
1223
  columnWidth: 150,
1032
1224
  valueResolver: data => of(transformDirectoryContentSize(data.record)),
1033
1225
  },
1226
+ {
1227
+ type: "string" /* ePropType.String */,
1228
+ name: 'sharedLink',
1229
+ displayName: 'FileManagement::SharedLink',
1230
+ columnWidth: 150,
1231
+ columnVisible(getInjected) {
1232
+ const permissionService = getInjected(PermissionService);
1233
+ return permissionService.getGrantedPolicy("FileManagement.FileDescriptor.Share" /* eFileManagementPolicyNames.FileDescriptorShare */);
1234
+ },
1235
+ action: data => {
1236
+ const { shared, shareToken } = data.record;
1237
+ if (!shared || !shareToken) {
1238
+ return;
1239
+ }
1240
+ const windowService = data.getInjected(AbpWindowService);
1241
+ const toasterService = data.getInjected(ToasterService);
1242
+ const environment = data.getInjected(EnvironmentService);
1243
+ const apiUrl = environment.getApiUrl('FileManagement');
1244
+ const shareLink = `${apiUrl}/api/file-management/file-descriptor/share?shareToken=${shareToken}`;
1245
+ windowService.copyToClipboard(shareLink);
1246
+ toasterService.success('FileManagement::FileSharedLinkCopied');
1247
+ },
1248
+ valueResolver: data => {
1249
+ const { shared } = data.record;
1250
+ let iconTemplate;
1251
+ if (shared) {
1252
+ iconTemplate = `<i class="fa fa-link text-muted"></i>`;
1253
+ }
1254
+ else {
1255
+ iconTemplate = `<i class="fa fa-unlink text-muted opacity-25 pe-none"></i>`;
1256
+ }
1257
+ return of(iconTemplate);
1258
+ },
1259
+ },
1034
1260
  ]);
1035
1261
 
1036
1262
  const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_TOOLBAR_ACTIONS = ToolbarAction.createMany([]);
@@ -1056,6 +1282,7 @@ class UploadService {
1056
1282
  this.localization = inject(LocalizationService);
1057
1283
  this.fileService = inject(FileDescriptorService);
1058
1284
  this.confirmation = inject(ConfirmationService);
1285
+ this.toaster = inject(ToasterService);
1059
1286
  this.updateStream = inject(UpdateStreamService);
1060
1287
  this.apiInterceptor = inject(ApiInterceptor);
1061
1288
  this.environmentService = inject(EnvironmentService);
@@ -1127,7 +1354,7 @@ class UploadService {
1127
1354
  this.subscriptionService.addOne(fromEvent(this.uppy, 'file-added').pipe(map(files => files[0]), bufferTime(500), filter(args => args.length > 0), switchMap(files => this.getPreInfo(files))));
1128
1355
  this.subscriptionService.addOne(fromEvent(this.uppy, 'complete'), () => {
1129
1356
  this.cancelModal();
1130
- this.updateStream.refreshContent();
1357
+ this.updateStream.requestStorageSizeRefresh();
1131
1358
  });
1132
1359
  }
1133
1360
  setOptions(opts) {
@@ -1170,6 +1397,7 @@ class UploadService {
1170
1397
  callUppyUpload() {
1171
1398
  this.filesAlreadyChecked = true;
1172
1399
  this.updateXHREndpoint();
1400
+ this.handleError();
1173
1401
  this.uppy?.upload();
1174
1402
  this.filesAlreadyChecked = false;
1175
1403
  }
@@ -1185,6 +1413,42 @@ class UploadService {
1185
1413
  xhr.setOptions({ endpoint: this.getRawApiUrl() });
1186
1414
  }
1187
1415
  }
1416
+ handleError() {
1417
+ const xhr = this.uppy?.getPlugin('XHRUpload');
1418
+ xhr.setOptions({
1419
+ getResponseError: (responseText, xhr) => {
1420
+ const status = xhr?.status;
1421
+ const defaultMessage = this.resource['UploadFailed'] || 'Upload failed';
1422
+ let errorMessage = defaultMessage;
1423
+ // Extract error message from response
1424
+ if (responseText) {
1425
+ try {
1426
+ const parsed = JSON.parse(responseText);
1427
+ const validationErrors = parsed?.error?.validationErrors;
1428
+ // Priority order: details > validation > error.message > message > reason
1429
+ const { error, details, message, reason } = parsed || {};
1430
+ errorMessage =
1431
+ details ||
1432
+ (Array.isArray(validationErrors) && validationErrors[0]?.message) ||
1433
+ message ||
1434
+ reason ||
1435
+ error?.details ||
1436
+ error?.message ||
1437
+ defaultMessage;
1438
+ }
1439
+ catch {
1440
+ errorMessage = responseText.trim() || defaultMessage;
1441
+ }
1442
+ }
1443
+ // Append status code
1444
+ if (status) {
1445
+ errorMessage = `${errorMessage} with status code ${status}`;
1446
+ }
1447
+ this.toaster.error(errorMessage);
1448
+ return new Error(errorMessage);
1449
+ },
1450
+ });
1451
+ }
1188
1452
  getRawApiUrl() {
1189
1453
  return (this.environmentService.getApiUrl('FileManagement') +
1190
1454
  `/api/file-management/file-descriptor/upload`);
@@ -1277,10 +1541,10 @@ class UploadService {
1277
1541
  this.uppy?.close();
1278
1542
  this.subscriptionService.closeAll();
1279
1543
  }
1280
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: UploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1281
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: UploadService }); }
1544
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: UploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1545
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: UploadService }); }
1282
1546
  }
1283
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: UploadService, decorators: [{
1547
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: UploadService, decorators: [{
1284
1548
  type: Injectable
1285
1549
  }] });
1286
1550
 
@@ -1325,10 +1589,10 @@ class FileManagementButtonsComponent {
1325
1589
  const init$ = this.permissionService.getGrantedPolicy$(this.fileCreatePermission).pipe(take(1), tap(() => this.uploadService.initUppy(this.elementRef.nativeElement.querySelector(`#${this.buttonId}`), this.uppyOptions)), switchMap(() => this.initTitle()));
1326
1590
  this.subscriptionService.addOne(init$);
1327
1591
  }
1328
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1329
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: FileManagementButtonsComponent, isStandalone: true, selector: "abp-file-management-buttons", ngImport: i0, template: "<abp-button\r\n class=\"d-grid\"\r\n *abpPermission=\"fileCreatePermission\"\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<abp-button\r\n class=\"d-grid\"\r\n *abpPermission=\"directoryCreatePermission\"\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<abp-create-folder-modal [(visible)]=\"folderCreateModal\" />\r\n", dependencies: [{ kind: "directive", type: PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1592
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1593
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: FileManagementButtonsComponent, isStandalone: true, selector: "abp-file-management-buttons", ngImport: i0, template: "<abp-button\r\n class=\"d-grid\"\r\n *abpPermission=\"fileCreatePermission\"\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<abp-button\r\n class=\"d-grid\"\r\n *abpPermission=\"directoryCreatePermission\"\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<abp-create-folder-modal [(visible)]=\"folderCreateModal\" />\r\n", dependencies: [{ kind: "directive", type: PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { 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 }); }
1330
1594
  }
1331
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementButtonsComponent, decorators: [{
1595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementButtonsComponent, decorators: [{
1332
1596
  type: Component,
1333
1597
  args: [{ selector: 'abp-file-management-buttons', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [PermissionDirective, LocalizationPipe, CreateFolderModalComponent, ButtonComponent], template: "<abp-button\r\n class=\"d-grid\"\r\n *abpPermission=\"fileCreatePermission\"\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<abp-button\r\n class=\"d-grid\"\r\n *abpPermission=\"directoryCreatePermission\"\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<abp-create-folder-modal [(visible)]=\"folderCreateModal\" />\r\n" }]
1334
1598
  }] });
@@ -1420,10 +1684,10 @@ class FileManagementDirectoryTreeComponent {
1420
1684
  this.service.updateDirectories(event.node.key);
1421
1685
  }
1422
1686
  }
1423
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementDirectoryTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1424
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.7", type: FileManagementDirectoryTreeComponent, isStandalone: true, selector: "abp-file-management-directory-tree", providers: [SubscriptionService], viewQueries: [{ propertyName: "tree", first: true, predicate: TreeComponent, descendants: 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-container *abpPermission=\"contextMenuPolicy\">\r\n <ng-template #menu let-node>\r\n <li\r\n *abpPermission=\"createPolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onCreate(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::CreateFolder' | abpLocalization }}\r\n </li>\r\n @if (node.origin.entity.id !== rootId) {\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onRename(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::Rename' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId) {\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onMove(node)\"\r\n >\r\n {{ 'FileManagement::Move' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId) {\r\n <li\r\n *abpPermission=\"deletePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onDelete(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::Delete' | abpLocalization }}\r\n </li>\r\n }\r\n </ng-template>\r\n </ng-container>\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", dependencies: [{ kind: "directive", type: PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "directive", type: ExpandedIconTemplateDirective, selector: "[abpTreeExpandedIconTemplate],[abp-tree-expanded-icon-template]" }, { kind: "directive", type: TreeNodeTemplateDirective, selector: "[abpTreeNodeTemplate],[abp-tree-node-template]" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { 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: ["contentRenamed", "contentToRenameChange"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1687
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementDirectoryTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1688
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: FileManagementDirectoryTreeComponent, isStandalone: true, selector: "abp-file-management-directory-tree", providers: [SubscriptionService], viewQueries: [{ propertyName: "tree", first: true, predicate: TreeComponent, descendants: 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-container *abpPermission=\"contextMenuPolicy\">\r\n <ng-template #menu let-node>\r\n <li\r\n *abpPermission=\"createPolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onCreate(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::CreateFolder' | abpLocalization }}\r\n </li>\r\n @if (node.origin.entity.id !== rootId) {\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onRename(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::Rename' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId) {\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onMove(node)\"\r\n >\r\n {{ 'FileManagement::Move' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId) {\r\n <li\r\n *abpPermission=\"deletePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onDelete(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::Delete' | abpLocalization }}\r\n </li>\r\n }\r\n </ng-template>\r\n </ng-container>\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", dependencies: [{ kind: "directive", type: PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { 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: ["contentRenamed", "contentToRenameChange"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { 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 }); }
1425
1689
  }
1426
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementDirectoryTreeComponent, decorators: [{
1690
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementDirectoryTreeComponent, decorators: [{
1427
1691
  type: Component,
1428
1692
  args: [{ selector: 'abp-file-management-directory-tree', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SubscriptionService], imports: [
1429
1693
  PermissionDirective,
@@ -1452,10 +1716,10 @@ class FileManagementFolderFilterComponent {
1452
1716
  this.navigator.goUpFolder();
1453
1717
  }
1454
1718
  }
1455
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementFolderFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1456
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", 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])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[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: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1719
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementFolderFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1720
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", 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])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[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 }); }
1457
1721
  }
1458
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementFolderFilterComponent, decorators: [{
1722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementFolderFilterComponent, decorators: [{
1459
1723
  type: Component,
1460
1724
  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" }]
1461
1725
  }] });
@@ -1463,20 +1727,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
1463
1727
  class FileManagementFolderPanelComponent {
1464
1728
  constructor() {
1465
1729
  this.navigator = inject(NavigatorService);
1730
+ this.fileDescriptorService = inject(FileDescriptorService);
1731
+ this.updateStream = inject(UpdateStreamService);
1466
1732
  this.contentUpdate = new EventEmitter();
1733
+ this.updateStream.requestStorageSizeRefresh();
1467
1734
  }
1468
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementFolderPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1469
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", 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 ></abp-file-management-breadcrumb>\r\n </div>\r\n</div>\r\n\r\n<abp-file-management-folder-filter></abp-file-management-folder-filter>\r\n<abp-file-management-folder-content\r\n (contentUpdate)=\"contentUpdate.emit($event)\"\r\n></abp-file-management-folder-content>\r\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" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1735
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementFolderPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1736
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", 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 }); }
1470
1737
  }
1471
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementFolderPanelComponent, decorators: [{
1738
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementFolderPanelComponent, decorators: [{
1472
1739
  type: Component,
1473
1740
  args: [{ selector: 'abp-file-management-folder-panel', changeDetection: ChangeDetectionStrategy.OnPush, providers: [ListService], imports: [
1474
1741
  FileManagementBreadcrumbComponent,
1475
1742
  FileManagementFolderFilterComponent,
1476
1743
  FileManagementFolderContentComponent,
1477
1744
  AsyncPipe,
1478
- ], 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 ></abp-file-management-breadcrumb>\r\n </div>\r\n</div>\r\n\r\n<abp-file-management-folder-filter></abp-file-management-folder-filter>\r\n<abp-file-management-folder-content\r\n (contentUpdate)=\"contentUpdate.emit($event)\"\r\n></abp-file-management-folder-content>\r\n" }]
1479
- }], propDecorators: { contentUpdate: [{
1745
+ LocalizationPipe,
1746
+ ], 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"] }]
1747
+ }], ctorParameters: () => [], propDecorators: { contentUpdate: [{
1480
1748
  type: Output
1481
1749
  }] } });
1482
1750
 
@@ -1488,8 +1756,8 @@ class FileManagementComponent {
1488
1756
  ngOnInit() {
1489
1757
  this.directory.updateDirectories(null);
1490
1758
  }
1491
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1492
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: FileManagementComponent, isStandalone: true, selector: "abp-file-management", providers: [
1759
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1760
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: FileManagementComponent, isStandalone: true, selector: "abp-file-management", providers: [
1493
1761
  DeleteService,
1494
1762
  DownloadService,
1495
1763
  DirectoryTreeService,
@@ -1501,9 +1769,9 @@ class FileManagementComponent {
1501
1769
  provide: EXTENSIONS_IDENTIFIER,
1502
1770
  useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
1503
1771
  },
1504
- ], 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: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1772
+ ], 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 }); }
1505
1773
  }
1506
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementComponent, decorators: [{
1774
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementComponent, decorators: [{
1507
1775
  type: Component,
1508
1776
  args: [{ selector: 'abp-file-management', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
1509
1777
  DeleteService,
@@ -1536,10 +1804,10 @@ class FileManagementGuard {
1536
1804
  canActivate() {
1537
1805
  return this.fileManagementFeatures.pipe(map(features => features.enable));
1538
1806
  }
1539
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1540
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementGuard }); }
1807
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1808
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementGuard }); }
1541
1809
  }
1542
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementGuard, decorators: [{
1810
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementGuard, decorators: [{
1543
1811
  type: Injectable
1544
1812
  }] });
1545
1813
  const fileManagementGuard = () => {
@@ -1578,11 +1846,11 @@ const routes = [
1578
1846
  },
1579
1847
  ];
1580
1848
  class FileManagementRoutingModule {
1581
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1582
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: FileManagementRoutingModule, imports: [i1$2.RouterModule], exports: [RouterModule] }); }
1583
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
1849
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1850
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: FileManagementRoutingModule, imports: [i1$2.RouterModule], exports: [RouterModule] }); }
1851
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
1584
1852
  }
1585
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementRoutingModule, decorators: [{
1853
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementRoutingModule, decorators: [{
1586
1854
  type: NgModule,
1587
1855
  args: [{
1588
1856
  imports: [RouterModule.forChild(routes)],
@@ -1615,10 +1883,10 @@ class FileManagementInitializer {
1615
1883
  mergeWithDefaultProps(extensions.entityProps, DEFAULT_FILE_MANAGEMENT_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
1616
1884
  }), map(() => true));
1617
1885
  }
1618
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementInitializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1619
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementInitializer }); }
1886
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementInitializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1887
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementInitializer }); }
1620
1888
  }
1621
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementInitializer, decorators: [{
1889
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementInitializer, decorators: [{
1622
1890
  type: Injectable
1623
1891
  }] });
1624
1892
 
@@ -1630,12 +1898,14 @@ const exportedComponents = [
1630
1898
  FileManagementFolderContentComponent,
1631
1899
  FileManagementFolderFilterComponent,
1632
1900
  FileManagementFolderPanelComponent,
1901
+ FileNameValueResolverComponent
1633
1902
  ];
1634
1903
  const modals = [
1635
1904
  RenameModalComponent,
1636
1905
  CreateFolderModalComponent,
1637
1906
  BaseModalComponent,
1638
1907
  MoveFileModalComponent,
1908
+ ShareFileModalComponent,
1639
1909
  ];
1640
1910
  class FileManagementModule {
1641
1911
  static forChild(options = {}) {
@@ -1667,8 +1937,8 @@ class FileManagementModule {
1667
1937
  static forLazy(options = {}) {
1668
1938
  return new LazyModuleFactory(FileManagementModule.forChild(options));
1669
1939
  }
1670
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1671
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
1940
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1941
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
1672
1942
  ThemeSharedModule,
1673
1943
  TreeModule,
1674
1944
  FileManagementRoutingModule,
@@ -1681,17 +1951,20 @@ class FileManagementModule {
1681
1951
  FileManagementBreadcrumbComponent,
1682
1952
  FileManagementFolderContentComponent,
1683
1953
  FileManagementFolderFilterComponent,
1684
- FileManagementFolderPanelComponent, RenameModalComponent,
1954
+ FileManagementFolderPanelComponent,
1955
+ FileNameValueResolverComponent, RenameModalComponent,
1685
1956
  CreateFolderModalComponent,
1686
1957
  BaseModalComponent,
1687
- MoveFileModalComponent], exports: [FileManagementComponent,
1958
+ MoveFileModalComponent,
1959
+ ShareFileModalComponent], exports: [FileManagementComponent,
1688
1960
  FileManagementDirectoryTreeComponent,
1689
1961
  FileManagementButtonsComponent,
1690
1962
  FileManagementBreadcrumbComponent,
1691
1963
  FileManagementFolderContentComponent,
1692
1964
  FileManagementFolderFilterComponent,
1693
- FileManagementFolderPanelComponent] }); }
1694
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
1965
+ FileManagementFolderPanelComponent,
1966
+ FileNameValueResolverComponent] }); }
1967
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
1695
1968
  ThemeSharedModule,
1696
1969
  TreeModule,
1697
1970
  FileManagementRoutingModule,
@@ -1705,7 +1978,7 @@ class FileManagementModule {
1705
1978
  FileManagementFolderFilterComponent,
1706
1979
  FileManagementFolderPanelComponent, modals] }); }
1707
1980
  }
1708
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementModule, decorators: [{
1981
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FileManagementModule, decorators: [{
1709
1982
  type: NgModule,
1710
1983
  args: [{
1711
1984
  imports: [
@@ -1766,5 +2039,5 @@ function provideGdprContributors(options = {}) {
1766
2039
  * Generated bundle index. Do not edit.
1767
2040
  */
1768
2041
 
1769
- export { BaseModalComponent, CreateFolderModalComponent, CreateFolderModalService, DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_ACTIONS, DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_PROPS, DEFAULT_FILE_MANAGEMENT_ENTITY_ACTIONS, DEFAULT_FILE_MANAGEMENT_ENTITY_PROPS, DEFAULT_FILE_MANAGEMENT_TOOLBAR_ACTIONS, DeleteService, DirectoryTreeService, DownloadService, FILE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS, FILE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS, FILE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS, FILE_MANAGEMENT_XSRF_HEADER_NAME, FileManagementBreadcrumbComponent, FileManagementButtonsComponent, FileManagementComponent, FileManagementDirectoryTreeComponent, FileManagementFolderContentComponent, FileManagementFolderFilterComponent, FileManagementFolderPanelComponent, FileManagementGuard, FileManagementInitializer, FileManagementModule, FileManagementRoutingModule, MoveFileModalComponent, MoveFileModalService, MoveService, NavigatorService, ROOT_ID, ROOT_NODE, RenameModalComponent, RenameModalService, UpdateStreamService, UploadService, createRoutes, fileManagementExtensionsResolver, fileManagementGuard, formatBytes, mapRootIdToEmpty, transformDirectoryContentSize };
2042
+ export { BaseModalComponent, CreateFolderModalComponent, CreateFolderModalService, DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_ACTIONS, DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_PROPS, DEFAULT_FILE_MANAGEMENT_ENTITY_ACTIONS, DEFAULT_FILE_MANAGEMENT_ENTITY_PROPS, DEFAULT_FILE_MANAGEMENT_TOOLBAR_ACTIONS, DeleteService, DirectoryTreeService, DownloadService, FILE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS, FILE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS, FILE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS, FILE_MANAGEMENT_XSRF_HEADER_NAME, FileManagementBreadcrumbComponent, FileManagementButtonsComponent, FileManagementComponent, FileManagementDirectoryTreeComponent, FileManagementFolderContentComponent, FileManagementFolderFilterComponent, FileManagementFolderPanelComponent, FileManagementGuard, FileManagementInitializer, FileManagementModule, FileManagementRoutingModule, FileNameValueResolverComponent, MoveFileModalComponent, MoveFileModalService, MoveService, NavigatorService, ROOT_ID, ROOT_NODE, RenameModalComponent, RenameModalService, ShareFileModalComponent, UpdateStreamService, UploadService, createRoutes, fileManagementExtensionsResolver, fileManagementGuard, formatBytes, getFileNameValueResolverData, mapRootIdToEmpty, transformDirectoryContentSize };
1770
2043
  //# sourceMappingURL=volo-abp.ng.file-management.mjs.map