@volo/abp.ng.file-management 4.4.3 → 5.0.0-beta.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.
Files changed (116) hide show
  1. package/bundles/volo-abp.ng.file-management-common.umd.js +1 -1
  2. package/bundles/volo-abp.ng.file-management-config.umd.js +1 -1
  3. package/bundles/volo-abp.ng.file-management-proxy.umd.js +1 -0
  4. package/bundles/volo-abp.ng.file-management.umd.js +3 -2
  5. package/common/package.json +0 -1
  6. package/common/tokens/features.token.d.ts +1 -1
  7. package/common/volo-abp.ng.file-management-common.d.ts +1 -0
  8. package/config/file-management-config.module.d.ts +4 -0
  9. package/config/package.json +0 -1
  10. package/config/providers/route.provider.d.ts +1 -1
  11. package/config/volo-abp.ng.file-management-config.d.ts +1 -1
  12. package/esm2015/common/tokens/features.token.js +1 -1
  13. package/esm2015/config/file-management-config.module.js +1 -1
  14. package/esm2015/config/volo-abp.ng.file-management-config.js +1 -1
  15. package/esm2015/lib/components/file-management-breadcrumb/file-management-breadcrumb.component.js +1 -1
  16. package/esm2015/lib/components/file-management-buttons/file-management-buttons.component.js +1 -1
  17. package/esm2015/lib/components/file-management-directory-tree/file-management-directory-tree.component.js +1 -1
  18. package/esm2015/lib/components/file-management-folder-content/file-management-folder-content.component.js +1 -1
  19. package/esm2015/lib/components/file-management-folder-filter/file-management-folder-filter.component.js +1 -1
  20. package/esm2015/lib/components/file-management-folder-panel/file-management-folder-panel.component.js +1 -1
  21. package/esm2015/lib/defaults/default-file-management-entity-actions.js +1 -1
  22. package/esm2015/lib/defaults/default-file-management-entity-props.js +1 -1
  23. package/esm2015/lib/file-management-routing.module.js +1 -1
  24. package/esm2015/lib/file-management.component.js +1 -1
  25. package/esm2015/lib/file-management.initializer.js +1 -1
  26. package/esm2015/lib/file-management.module.js +1 -1
  27. package/esm2015/lib/guards/file-management.guard.js +1 -1
  28. package/esm2015/lib/index.js +1 -1
  29. package/esm2015/lib/modals/base-modal.component.js +1 -1
  30. package/esm2015/lib/modals/create-folder-modal/create-folder-modal.component.js +1 -1
  31. package/esm2015/lib/modals/create-folder-modal/create-folder-modal.service.js +1 -1
  32. package/esm2015/lib/modals/move-file-modal/move-file-modal.component.js +1 -1
  33. package/esm2015/lib/modals/move-file-modal/move-file-modal.service.js +1 -1
  34. package/esm2015/lib/modals/rename-modal/rename-modal.component.js +1 -1
  35. package/esm2015/lib/modals/rename-modal/rename-modal.service.js +1 -1
  36. package/esm2015/lib/services/delete.service.js +1 -1
  37. package/esm2015/lib/services/directory-tree.service.js +1 -1
  38. package/esm2015/lib/services/download.service.js +1 -1
  39. package/esm2015/lib/services/move.service.js +1 -1
  40. package/esm2015/lib/services/navigator.service.js +1 -1
  41. package/esm2015/lib/services/update-stream.service.js +1 -1
  42. package/esm2015/lib/services/upload.service.js +1 -1
  43. package/esm2015/lib/tokens/extensions.token.js +1 -1
  44. package/esm2015/proxy/lib/index.js +1 -0
  45. package/esm2015/{lib → proxy/lib}/proxy/abp/content/index.js +0 -0
  46. package/esm2015/{lib → proxy/lib}/proxy/abp/content/models.js +0 -0
  47. package/esm2015/proxy/lib/proxy/file-management/directories/directory-descriptor.service.js +1 -0
  48. package/esm2015/{lib → proxy/lib}/proxy/file-management/directories/index.js +0 -0
  49. package/esm2015/{lib → proxy/lib}/proxy/file-management/directories/models.js +0 -0
  50. package/esm2015/proxy/lib/proxy/file-management/files/file-descriptor.service.js +1 -0
  51. package/esm2015/{lib → proxy/lib}/proxy/file-management/files/file-icon-type.enum.js +0 -0
  52. package/esm2015/{lib → proxy/lib}/proxy/file-management/files/index.js +0 -0
  53. package/esm2015/{lib → proxy/lib}/proxy/file-management/files/models.js +0 -0
  54. package/esm2015/proxy/public-api.js +1 -0
  55. package/esm2015/proxy/volo-abp.ng.file-management-proxy.js +1 -0
  56. package/fesm2015/volo-abp.ng.file-management-common.js +2 -3
  57. package/fesm2015/volo-abp.ng.file-management-config.js +8 -4
  58. package/fesm2015/volo-abp.ng.file-management-proxy.js +128 -0
  59. package/fesm2015/volo-abp.ng.file-management.js +751 -812
  60. package/lib/components/file-management-breadcrumb/file-management-breadcrumb.component.d.ts +4 -1
  61. package/lib/components/file-management-buttons/file-management-buttons.component.d.ts +3 -0
  62. package/lib/components/file-management-directory-tree/file-management-directory-tree.component.d.ts +9 -6
  63. package/lib/components/file-management-folder-content/file-management-folder-content.component.d.ts +7 -4
  64. package/lib/components/file-management-folder-filter/file-management-folder-filter.component.d.ts +3 -0
  65. package/lib/components/file-management-folder-panel/file-management-folder-panel.component.d.ts +4 -1
  66. package/lib/defaults/default-file-management-entity-actions.d.ts +1 -1
  67. package/lib/defaults/default-file-management-entity-props.d.ts +1 -1
  68. package/lib/defaults/default-file-management-toolbar-actions.d.ts +1 -1
  69. package/lib/file-management-routing.module.d.ts +5 -0
  70. package/lib/file-management.component.d.ts +4 -1
  71. package/lib/file-management.initializer.d.ts +3 -0
  72. package/lib/file-management.module.d.ts +23 -0
  73. package/lib/guards/file-management.guard.d.ts +3 -0
  74. package/lib/index.d.ts +4 -7
  75. package/lib/modals/base-modal.component.d.ts +3 -0
  76. package/lib/modals/create-folder-modal/create-folder-modal.component.d.ts +4 -1
  77. package/lib/modals/create-folder-modal/create-folder-modal.service.d.ts +5 -2
  78. package/lib/modals/move-file-modal/move-file-modal.component.d.ts +6 -3
  79. package/lib/modals/move-file-modal/move-file-modal.service.d.ts +8 -7
  80. package/lib/modals/rename-modal/rename-modal.component.d.ts +5 -2
  81. package/lib/modals/rename-modal/rename-modal.service.d.ts +4 -3
  82. package/lib/models/common-types.d.ts +1 -1
  83. package/lib/models/config-options.d.ts +1 -1
  84. package/lib/services/delete.service.d.ts +4 -3
  85. package/lib/services/directory-tree.service.d.ts +6 -4
  86. package/lib/services/download.service.d.ts +5 -7
  87. package/lib/services/move.service.d.ts +5 -2
  88. package/lib/services/navigator.service.d.ts +5 -2
  89. package/lib/services/update-stream.service.d.ts +3 -0
  90. package/lib/services/upload.service.d.ts +8 -5
  91. package/lib/tokens/extensions.token.d.ts +2 -3
  92. package/lib/utils/functions.d.ts +1 -1
  93. package/package.json +4 -5
  94. package/proxy/lib/index.d.ts +3 -0
  95. package/{lib → proxy/lib}/proxy/abp/content/index.d.ts +0 -0
  96. package/proxy/lib/proxy/abp/content/models.d.ts +5 -0
  97. package/{lib → proxy/lib}/proxy/file-management/directories/directory-descriptor.service.d.ts +3 -0
  98. package/{lib → proxy/lib}/proxy/file-management/directories/index.d.ts +0 -0
  99. package/{lib → proxy/lib}/proxy/file-management/directories/models.d.ts +4 -0
  100. package/{lib → proxy/lib}/proxy/file-management/files/file-descriptor.service.d.ts +7 -4
  101. package/{lib → proxy/lib}/proxy/file-management/files/file-icon-type.enum.d.ts +1 -1
  102. package/{lib → proxy/lib}/proxy/file-management/files/index.d.ts +0 -0
  103. package/{lib → proxy/lib}/proxy/file-management/files/models.d.ts +6 -4
  104. package/proxy/package.json +10 -0
  105. package/proxy/public-api.d.ts +1 -0
  106. package/proxy/volo-abp.ng.file-management-proxy.d.ts +5 -0
  107. package/volo-abp.ng.file-management.d.ts +1 -0
  108. package/bundles/volo-abp.ng.file-management-common.umd.min.js +0 -1
  109. package/bundles/volo-abp.ng.file-management-config.umd.min.js +0 -1
  110. package/bundles/volo-abp.ng.file-management.umd.min.js +0 -15
  111. package/common/volo-abp.ng.file-management-common.metadata.json +0 -1
  112. package/config/volo-abp.ng.file-management-config.metadata.json +0 -1
  113. package/esm2015/lib/proxy/file-management/directories/directory-descriptor.service.js +0 -1
  114. package/esm2015/lib/proxy/file-management/files/file-descriptor.service.js +0 -1
  115. package/lib/proxy/abp/content/models.d.ts +0 -4
  116. package/volo-abp.ng.file-management.metadata.json +0 -1
@@ -1,22 +1,34 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, Injectable, InjectionToken, Inject, ViewEncapsulation, ChangeDetectorRef, Injector, NgModule } from '@angular/core';
3
- import { HttpXsrfTokenExtractor } from '@angular/common/http';
4
- import { filter, skip, map, tap, take, switchMap, bufferTime, finalize, mapTo } from 'rxjs/operators';
5
- import { merge, Subscription, of, fromEvent, Observable } from 'rxjs';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, Injectable, InjectionToken, Inject, ViewEncapsulation, NgModule } from '@angular/core';
3
+ import * as i10 from '@angular/common';
6
4
  import * as i1 from '@abp/ng.core';
7
- import { RestService, InternalStore, EnvironmentService, ListService, LocalizationService, ApiInterceptor, SubscriptionService, mapEnumToOptions, ConfigStateService, AuthGuard, PermissionGuard, LazyModuleFactory, CoreModule } from '@abp/ng.core';
5
+ import { InternalStore, ListService, SubscriptionService, ConfigStateService, AuthGuard, PermissionGuard, LazyModuleFactory, CoreModule } from '@abp/ng.core';
6
+ import * as i1$1 from '@abp/ng.theme.shared';
7
+ import { Confirmation, ThemeSharedModule } from '@abp/ng.theme.shared';
8
8
  import { Uppy } from '@uppy/core';
9
9
  import Dashboard from '@uppy/dashboard';
10
10
  import XHRUpload from '@uppy/xhr-upload';
11
- import { Confirmation, ConfirmationService, ToasterService, ThemeSharedModule } from '@abp/ng.theme.shared';
12
- import { EntityProp, EXTENSIONS_IDENTIFIER, EntityAction, ToolbarAction, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, UiExtensionsModule } from '@abp/ng.theme.shared/extensions';
11
+ import * as i1$3 from 'rxjs';
12
+ import { merge, Subscription, of, fromEvent } from 'rxjs';
13
+ import { filter, skip, tap, take, switchMap, map, finalize, mapTo, bufferTime } from 'rxjs/operators';
14
+ import * as i7 from '@abp/ng.theme.shared/extensions';
15
+ import { EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, UiExtensionsModule } from '@abp/ng.theme.shared/extensions';
16
+ import * as i1$2 from '@volo/abp.ng.file-management/proxy';
17
+ import * as i6 from '@abp/ng.components/tree';
13
18
  import { TreeAdapter, TreeModule } from '@abp/ng.components/tree';
14
- import { Validators, FormBuilder } from '@angular/forms';
15
- import { RouterModule } from '@angular/router';
16
- import { FILE_MANAGEMENT_FEATURES } from '@volo/abp.ng.file-management/common';
17
- import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
19
+ import * as i2 from '@angular/forms';
20
+ import { Validators } from '@angular/forms';
21
+ import * as i4 from '@ngx-validate/core';
18
22
  import { NgxValidateCoreModule } from '@ngx-validate/core';
23
+ import * as i4$1 from '@swimlane/ngx-datatable';
24
+ import * as i5 from '@angular/common/http';
25
+ import * as i11 from '@ng-bootstrap/ng-bootstrap';
26
+ import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
27
+ import * as i1$4 from '@angular/router';
28
+ import { RouterModule } from '@angular/router';
29
+ import * as i2$1 from '@abp/ng.components/page';
19
30
  import { PageModule } from '@abp/ng.components/page';
31
+ import { FILE_MANAGEMENT_FEATURES } from '@volo/abp.ng.file-management/common';
20
32
 
21
33
  class FileManagementBreadcrumbComponent {
22
34
  constructor() {
@@ -28,150 +40,23 @@ class FileManagementBreadcrumbComponent {
28
40
  this.breadcrumbClick.emit(item);
29
41
  }
30
42
  }
31
- FileManagementBreadcrumbComponent.decorators = [
32
- { type: Component, args: [{
33
- selector: 'abp-file-management-breadcrumb',
34
- template: "<ol class=\"breadcrumb\">\n <li\n *ngFor=\"\n let folder of navigatedFolders;\n let last = last;\n let first = first;\n trackBy: trackByIdAndName\n \"\n (click)=\"onClick(folder)\"\n class=\"breadcrumb-item\"\n [class.root]=\"first\"\n [class.active]=\"last && !first\"\n aria-current=\"page\"\n >\n <span class=\"breadcrumb-item-text\">\n <span *ngIf=\"first\">{{ rootBreadcrumbName | abpLocalization }}</span>\n <span *ngIf=\"!first\">{{ folder.name }}</span>\n </span>\n </li>\n</ol>\n",
35
- changeDetection: ChangeDetectionStrategy.OnPush,
36
- 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}"]
37
- },] }
38
- ];
39
- FileManagementBreadcrumbComponent.propDecorators = {
40
- rootBreadcrumbName: [{ type: Input }],
41
- navigatedFolders: [{ type: Input }],
42
- breadcrumbClick: [{ type: Output }]
43
- };
44
-
45
- class FileDescriptorService {
46
- constructor(restService) {
47
- this.restService = restService;
48
- this.apiName = 'FileManagement';
49
- this.create = (input) => this.restService.request({
50
- method: 'POST',
51
- url: `/api/file-management/file-descriptor`,
52
- body: input,
53
- }, { apiName: this.apiName });
54
- this.delete = (id) => this.restService.request({
55
- method: 'DELETE',
56
- url: `/api/file-management/file-descriptor/${id}`,
57
- }, { apiName: this.apiName });
58
- this.download = (id, token) => this.restService.request({
59
- method: 'GET',
60
- url: `/api/file-management/file-descriptor/download/${id}`,
61
- params: { token: token },
62
- }, { apiName: this.apiName });
63
- this.get = (id) => this.restService.request({
64
- method: 'GET',
65
- url: `/api/file-management/file-descriptor/${id}`,
66
- }, { apiName: this.apiName });
67
- this.getContent = (id) => this.restService.request({
68
- method: 'GET',
69
- url: `/api/file-management/file-descriptor/content`,
70
- params: { id: id },
71
- }, { apiName: this.apiName });
72
- this.getDownloadToken = (id) => this.restService.request({
73
- method: 'GET',
74
- url: `/api/file-management/file-descriptor/download/${id}/token`,
75
- }, { apiName: this.apiName });
76
- this.getList = (directoryId) => this.restService.request({
77
- method: 'GET',
78
- url: `/api/file-management/file-descriptor`,
79
- params: { directoryId: directoryId },
80
- }, { apiName: this.apiName });
81
- this.getPreInfo = (input) => this.restService.request({
82
- method: 'POST',
83
- url: `/api/file-management/file-descriptor/pre-upload-info`,
84
- body: input,
85
- }, { apiName: this.apiName });
86
- this.move = (input) => this.restService.request({
87
- method: 'POST',
88
- url: `/api/file-management/file-descriptor/move`,
89
- body: input,
90
- }, { apiName: this.apiName });
91
- this.rename = (id, input) => this.restService.request({
92
- method: 'POST',
93
- url: `/api/file-management/file-descriptor/${id}`,
94
- body: input,
95
- }, { apiName: this.apiName });
96
- }
97
- }
98
- FileDescriptorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function FileDescriptorService_Factory() { return new FileDescriptorService(i0.ɵɵinject(i1.RestService)); }, token: FileDescriptorService, providedIn: "root" });
99
- FileDescriptorService.decorators = [
100
- { type: Injectable, args: [{
101
- providedIn: 'root',
102
- },] }
103
- ];
104
- FileDescriptorService.ctorParameters = () => [
105
- { type: RestService }
106
- ];
107
-
108
- function transformDirectoryContentSize(directoryContent) {
109
- return directoryContent.isDirectory ? '' : formatBytes(directoryContent.size);
110
- }
111
- function formatBytes(size, precision = 2) {
112
- if (!Number.isInteger(size) || size <= 0) {
113
- return '0 Bytes';
114
- }
115
- if (size === 1) {
116
- return '1 Byte';
117
- }
118
- const factor = 1024;
119
- const decimals = precision < 0 ? 0 : precision;
120
- const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
121
- const sizeIndex = Math.floor(Math.log(size) / Math.log(factor));
122
- return (parseFloat((size / Math.pow(factor, sizeIndex)).toFixed(decimals)) +
123
- ' ' +
124
- sizes[sizeIndex]);
125
- }
126
-
127
- class DirectoryDescriptorService {
128
- constructor(restService) {
129
- this.restService = restService;
130
- this.apiName = 'FileManagement';
131
- this.create = (input) => this.restService.request({
132
- method: 'POST',
133
- url: `/api/file-management/directory-descriptor`,
134
- body: input,
135
- }, { apiName: this.apiName });
136
- this.delete = (id) => this.restService.request({
137
- method: 'DELETE',
138
- url: `/api/file-management/directory-descriptor/${id}`,
139
- }, { apiName: this.apiName });
140
- this.get = (id) => this.restService.request({
141
- method: 'GET',
142
- url: `/api/file-management/directory-descriptor/${id}`,
143
- }, { apiName: this.apiName });
144
- this.getContent = (input) => this.restService.request({
145
- method: 'GET',
146
- url: `/api/file-management/directory-descriptor`,
147
- params: { filter: input.filter, sorting: input.sorting, id: input.id },
148
- }, { apiName: this.apiName });
149
- this.getList = (parentId) => this.restService.request({
150
- method: 'GET',
151
- url: `/api/file-management/directory-descriptor/sub-directories`,
152
- params: { parentId: parentId },
153
- }, { apiName: this.apiName });
154
- this.move = (input) => this.restService.request({
155
- method: 'POST',
156
- url: `/api/file-management/directory-descriptor/move`,
157
- body: input,
158
- }, { apiName: this.apiName });
159
- this.rename = (id, input) => this.restService.request({
160
- method: 'POST',
161
- url: `/api/file-management/directory-descriptor/${id}`,
162
- body: input,
163
- }, { apiName: this.apiName });
164
- }
165
- }
166
- DirectoryDescriptorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DirectoryDescriptorService_Factory() { return new DirectoryDescriptorService(i0.ɵɵinject(i1.RestService)); }, token: DirectoryDescriptorService, providedIn: "root" });
167
- DirectoryDescriptorService.decorators = [
168
- { type: Injectable, args: [{
169
- providedIn: 'root',
170
- },] }
171
- ];
172
- DirectoryDescriptorService.ctorParameters = () => [
173
- { type: RestService }
174
- ];
43
+ FileManagementBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
44
+ FileManagementBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.9", type: FileManagementBreadcrumbComponent, selector: "abp-file-management-breadcrumb", inputs: { rootBreadcrumbName: "rootBreadcrumbName", navigatedFolders: "navigatedFolders" }, outputs: { breadcrumbClick: "breadcrumbClick" }, ngImport: i0, template: "<ol class=\"breadcrumb\">\n <li\n *ngFor=\"\n let folder of navigatedFolders;\n let last = last;\n let first = first;\n trackBy: trackByIdAndName\n \"\n (click)=\"onClick(folder)\"\n class=\"breadcrumb-item\"\n [class.root]=\"first\"\n [class.active]=\"last && !first\"\n aria-current=\"page\"\n >\n <span class=\"breadcrumb-item-text\">\n <span *ngIf=\"first\">{{ rootBreadcrumbName | abpLocalization }}</span>\n <span *ngIf=\"!first\">{{ folder.name }}</span>\n </span>\n </li>\n</ol>\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"], directives: [{ type: i10.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "abpLocalization": i1.LocalizationPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementBreadcrumbComponent, decorators: [{
46
+ type: Component,
47
+ args: [{
48
+ selector: 'abp-file-management-breadcrumb',
49
+ templateUrl: './file-management-breadcrumb.component.html',
50
+ styleUrls: ['./file-management-breadcrumb.component.css'],
51
+ changeDetection: ChangeDetectionStrategy.OnPush,
52
+ }]
53
+ }], propDecorators: { rootBreadcrumbName: [{
54
+ type: Input
55
+ }], navigatedFolders: [{
56
+ type: Input
57
+ }], breadcrumbClick: [{
58
+ type: Output
59
+ }] } });
175
60
 
176
61
  class UpdateStreamService {
177
62
  constructor() {
@@ -196,9 +81,61 @@ class UpdateStreamService {
196
81
  return this.store.sliceState(fn).pipe(skip(1));
197
82
  }
198
83
  }
199
- UpdateStreamService.decorators = [
200
- { type: Injectable }
201
- ];
84
+ UpdateStreamService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: UpdateStreamService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
85
+ UpdateStreamService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: UpdateStreamService });
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: UpdateStreamService, decorators: [{
87
+ type: Injectable
88
+ }] });
89
+
90
+ class DeleteService {
91
+ constructor(confirmationService, directoryService, fileService, updateStream, toaster) {
92
+ this.confirmationService = confirmationService;
93
+ this.directoryService = directoryService;
94
+ this.fileService = fileService;
95
+ this.updateStream = updateStream;
96
+ this.toaster = toaster;
97
+ }
98
+ deleteFolder(content) {
99
+ return this.delete('FileManagement::DirectoryDeleteConfirmationMessage', content, this.directoryService).pipe(tap((_) => this.updateStream.patchStore({ deletedDirectory: content.id })));
100
+ }
101
+ deleteFile(content) {
102
+ return this.delete('FileManagement::FileDeleteConfirmationMessage', content, this.fileService).pipe(tap((_) => this.updateStream.refreshContent()));
103
+ }
104
+ delete(message, content, service) {
105
+ return this.confirmationService
106
+ .warn(message, 'FileManagement::AreYouSure')
107
+ .pipe(filter((status) => status === Confirmation.Status.confirm), take(1), switchMap((_) => service.delete(content.id)), tap((_) => {
108
+ this.toaster.warn('FileManagement::SuccessfullyDeleted');
109
+ }));
110
+ }
111
+ }
112
+ DeleteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: DeleteService, deps: [{ token: i1$1.ConfirmationService }, { token: i1$2.DirectoryDescriptorService }, { token: i1$2.FileDescriptorService }, { token: UpdateStreamService }, { token: i1$1.ToasterService }], target: i0.ɵɵFactoryTarget.Injectable });
113
+ DeleteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: DeleteService });
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: DeleteService, decorators: [{
115
+ type: Injectable
116
+ }], ctorParameters: function () { return [{ type: i1$1.ConfirmationService }, { type: i1$2.DirectoryDescriptorService }, { type: i1$2.FileDescriptorService }, { type: UpdateStreamService }, { type: i1$1.ToasterService }]; } });
117
+
118
+ class DownloadService {
119
+ constructor(restService, fileDescriptorService, environment) {
120
+ this.restService = restService;
121
+ this.fileDescriptorService = fileDescriptorService;
122
+ this.environment = environment;
123
+ this.apiName = 'FileManagement';
124
+ }
125
+ get apiUrl() {
126
+ return this.environment.getApiUrl(this.apiName);
127
+ }
128
+ downloadFile(file) {
129
+ return this.fileDescriptorService.getDownloadToken(file.id).pipe(tap((res) => {
130
+ window.open(`${this.apiUrl}/api/file-management/file-descriptor/download/${file.id}?token=${res.token}`, '_self');
131
+ }));
132
+ }
133
+ }
134
+ DownloadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: DownloadService, deps: [{ token: i1.RestService }, { token: i1$2.FileDescriptorService }, { token: i1.EnvironmentService }], target: i0.ɵɵFactoryTarget.Injectable });
135
+ DownloadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: DownloadService });
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: DownloadService, decorators: [{
137
+ type: Injectable
138
+ }], ctorParameters: function () { return [{ type: i1.RestService }, { type: i1$2.FileDescriptorService }, { type: i1.EnvironmentService }]; } });
202
139
 
203
140
  const ROOT_ID = 'ROOT_ID';
204
141
  const ROOT_NODE = {
@@ -301,13 +238,11 @@ class DirectoryTreeService {
301
238
  return list.map((l) => (Object.assign(Object.assign({}, l), { parentId: l.parentId || ROOT_ID })));
302
239
  }
303
240
  }
304
- DirectoryTreeService.decorators = [
305
- { type: Injectable }
306
- ];
307
- DirectoryTreeService.ctorParameters = () => [
308
- { type: DirectoryDescriptorService },
309
- { type: UpdateStreamService }
310
- ];
241
+ DirectoryTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: DirectoryTreeService, deps: [{ token: i1$2.DirectoryDescriptorService }, { token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Injectable });
242
+ DirectoryTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: DirectoryTreeService });
243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: DirectoryTreeService, decorators: [{
244
+ type: Injectable
245
+ }], ctorParameters: function () { return [{ type: i1$2.DirectoryDescriptorService }, { type: UpdateStreamService }]; } });
311
246
 
312
247
  class NavigatorService {
313
248
  constructor(directory, updateStream) {
@@ -402,134 +337,364 @@ class NavigatorService {
402
337
  return this.navigatedFolders.findIndex((folder) => folder.id === folderId);
403
338
  }
404
339
  }
405
- NavigatorService.decorators = [
406
- { type: Injectable }
407
- ];
408
- NavigatorService.ctorParameters = () => [
409
- { type: DirectoryTreeService },
410
- { type: UpdateStreamService }
411
- ];
340
+ NavigatorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: NavigatorService, deps: [{ token: DirectoryTreeService }, { token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Injectable });
341
+ NavigatorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: NavigatorService });
342
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: NavigatorService, decorators: [{
343
+ type: Injectable
344
+ }], ctorParameters: function () { return [{ type: DirectoryTreeService }, { type: UpdateStreamService }]; } });
412
345
 
413
- class DownloadService {
414
- constructor(restService, fileDescriptorService, environment) {
415
- this.restService = restService;
416
- this.fileDescriptorService = fileDescriptorService;
417
- this.environment = environment;
418
- this.apiName = 'FileManagement';
419
- /**
420
- *
421
- * @deprecated to be deleted in v5.0
422
- */
423
- this.download = (id) => this.restService.request({
424
- method: 'GET',
425
- url: `/api/file-management/file-descriptor/download/${id}`,
426
- responseType: 'blob',
427
- }, { apiName: this.apiName });
346
+ class BaseModalComponent {
347
+ constructor() {
348
+ this.size = 'md';
349
+ this.visibleChange = new EventEmitter();
350
+ this.contentSaved = new EventEmitter();
351
+ this.loading = false;
352
+ this.success = (response) => {
353
+ this.closeModal();
354
+ this.contentSaved.emit(response);
355
+ };
428
356
  }
429
- get apiUrl() {
430
- return this.environment.getApiUrl(this.apiName);
357
+ get self() {
358
+ return this;
431
359
  }
432
- downloadFile(file) {
433
- return this.fileDescriptorService.getDownloadToken(file.id).pipe(tap((res) => {
434
- window.open(`${this.apiUrl}/api/file-management/file-descriptor/download/${file.id}?token=${res.token}`, '_self');
435
- }));
360
+ onVisibleChange(event) {
361
+ this.visible = event;
362
+ this.visibleChange.emit(this.visible);
436
363
  }
437
- }
438
- DownloadService.decorators = [
439
- { type: Injectable }
440
- ];
441
- DownloadService.ctorParameters = () => [
442
- { type: RestService },
443
- { type: FileDescriptorService },
444
- { type: EnvironmentService }
445
- ];
446
-
447
- const ɵ0$3 = (data) => {
448
- const navigator = data.getInjected(NavigatorService);
449
- const download = data.getInjected(DownloadService);
450
- if (data.record.isDirectory) {
451
- navigator.goToFolder(data.record);
452
- }
453
- else {
454
- download.downloadFile(data.record).subscribe();
455
- }
456
- }, ɵ1 = (data) => {
457
- const record = data.record;
458
- let iconTemplate;
459
- if (record.isDirectory) {
460
- iconTemplate = `<i class="fa fa-folder text-primary" aria-hidden="true"></i>`;
461
- }
462
- else if (record.iconInfo) {
463
- if (record.iconInfo.type === 0) {
464
- iconTemplate = `<i class="${data.record.iconInfo.icon}" aria-hidden="true"></i>`;
465
- }
466
- else {
467
- iconTemplate = `<img src="${data.record.iconInfo.icon}" />`;
364
+ closeModal() {
365
+ this.onVisibleChange(false);
366
+ this.clear();
367
+ }
368
+ clear() { }
369
+ save() {
370
+ if (this.shouldSave()) {
371
+ this.loading = true;
372
+ this.saveAction()
373
+ .pipe(finalize(() => {
374
+ this.loading = false;
375
+ }))
376
+ .subscribe(this.success);
468
377
  }
469
378
  }
470
- return of(`${iconTemplate} ${data.record.name}`);
471
- }, ɵ2 = (data) => of(transformDirectoryContentSize(data.record));
472
- const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_PROPS = EntityProp.createMany([
473
- {
474
- type: "string" /* String */,
475
- name: 'name',
476
- displayName: 'FileManagement::Name',
477
- sortable: true,
478
- action: ɵ0$3,
479
- valueResolver: ɵ1,
480
- },
481
- {
482
- type: "string" /* String */,
483
- name: 'size',
484
- displayName: 'FileManagement::Size',
485
- sortable: true,
486
- columnWidth: 150,
487
- valueResolver: ɵ2,
488
- },
489
- ]);
379
+ // this method will be overwritten by children
380
+ shouldSave() {
381
+ return true;
382
+ }
383
+ // this method will be overwritten by children
384
+ saveAction() {
385
+ return of({});
386
+ }
387
+ }
388
+ BaseModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: BaseModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
389
+ BaseModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.9", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: { title: "title", size: "size", visible: "visible", parent: "parent" }, outputs: { visibleChange: "visibleChange", contentSaved: "contentSaved" }, ngImport: i0, template: `
390
+ <abp-modal
391
+ [options]="{ size: parent.size }"
392
+ [visible]="parent.visible"
393
+ (visibleChange)="parent.onVisibleChange($event)"
394
+ >
395
+ <ng-template #abpHeader>
396
+ <h5 class="modal-title">
397
+ {{ 'FileManagement::' + title | abpLocalization }}
398
+ </h5>
399
+ </ng-template>
490
400
 
491
- class DeleteService {
492
- constructor(confirmationService, directoryService, fileService, updateStream, toaster) {
493
- this.confirmationService = confirmationService;
401
+ <ng-template #abpBody>
402
+ <ng-content></ng-content>
403
+ </ng-template>
404
+
405
+ <ng-template #abpFooter>
406
+ <button
407
+ (click)="parent.closeModal()"
408
+ type="button"
409
+ [disabled]="parent.loading"
410
+ class="btn btn-secondary"
411
+ >
412
+ {{ 'AbpUi::Cancel' | abpLocalization }}
413
+ </button>
414
+ <abp-button
415
+ type="abp-button"
416
+ [loading]="loading"
417
+ iconClass="fa fa-check"
418
+ (click)="parent.save()"
419
+ >
420
+ {{ 'AbpUi::Save' | abpLocalization }}
421
+ </abp-button>
422
+ </ng-template>
423
+ </abp-modal>
424
+ `, isInline: true, components: [{ type: i1$1.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { type: i1$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], pipes: { "abpLocalization": i1.LocalizationPipe }, changeDetection: i0.ChangeDetectionStrategy.Default });
425
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: BaseModalComponent, decorators: [{
426
+ type: Component,
427
+ args: [{
428
+ selector: 'abp-file-management-modal',
429
+ // do not use OnPush here, because of `parent` usage, it won't work
430
+ changeDetection: ChangeDetectionStrategy.Default,
431
+ template: `
432
+ <abp-modal
433
+ [options]="{ size: parent.size }"
434
+ [visible]="parent.visible"
435
+ (visibleChange)="parent.onVisibleChange($event)"
436
+ >
437
+ <ng-template #abpHeader>
438
+ <h5 class="modal-title">
439
+ {{ 'FileManagement::' + title | abpLocalization }}
440
+ </h5>
441
+ </ng-template>
442
+
443
+ <ng-template #abpBody>
444
+ <ng-content></ng-content>
445
+ </ng-template>
446
+
447
+ <ng-template #abpFooter>
448
+ <button
449
+ (click)="parent.closeModal()"
450
+ type="button"
451
+ [disabled]="parent.loading"
452
+ class="btn btn-secondary"
453
+ >
454
+ {{ 'AbpUi::Cancel' | abpLocalization }}
455
+ </button>
456
+ <abp-button
457
+ type="abp-button"
458
+ [loading]="loading"
459
+ iconClass="fa fa-check"
460
+ (click)="parent.save()"
461
+ >
462
+ {{ 'AbpUi::Save' | abpLocalization }}
463
+ </abp-button>
464
+ </ng-template>
465
+ </abp-modal>
466
+ `,
467
+ }]
468
+ }], propDecorators: { title: [{
469
+ type: Input
470
+ }], size: [{
471
+ type: Input
472
+ }], visible: [{
473
+ type: Input
474
+ }], visibleChange: [{
475
+ type: Output
476
+ }], contentSaved: [{
477
+ type: Output
478
+ }], parent: [{
479
+ type: Input
480
+ }] } });
481
+
482
+ class RenameModalService {
483
+ constructor(directoryService, fileService, updateStream) {
494
484
  this.directoryService = directoryService;
495
485
  this.fileService = fileService;
496
486
  this.updateStream = updateStream;
497
- this.toaster = toaster;
498
- }
499
- deleteFolder(content) {
500
- return this.delete('FileManagement::DirectoryDeleteConfirmationMessage', content, this.directoryService).pipe(tap((_) => this.updateStream.patchStore({ deletedDirectory: content.id })));
501
487
  }
502
- deleteFile(content) {
503
- return this.delete('FileManagement::FileDeleteConfirmationMessage', content, this.fileService).pipe(tap((_) => this.updateStream.refreshContent()));
488
+ rename(contentToRename) {
489
+ const id = contentToRename.id;
490
+ const name = contentToRename.name;
491
+ if (contentToRename.isDirectory) {
492
+ return this.callService(this.directoryService, id, name).pipe(tap((_) => this.updateStream.patchStore({ renamedDirectory: { id, name } })));
493
+ }
494
+ else {
495
+ return this.callService(this.fileService, id, name).pipe(tap((_) => this.updateStream.refreshContent()));
496
+ }
504
497
  }
505
- delete(message, content, service) {
506
- return this.confirmationService
507
- .warn(message, 'FileManagement::AreYouSure')
508
- .pipe(filter((status) => status === Confirmation.Status.confirm), take(1), switchMap((_) => service.delete(content.id)), tap((_) => {
509
- this.toaster.warn('FileManagement::SuccessfullyDeleted');
510
- }));
498
+ callService(service, id, name) {
499
+ return service.rename(id, { name }).pipe(mapTo(true));
511
500
  }
512
501
  }
513
- DeleteService.decorators = [
514
- { type: Injectable }
515
- ];
516
- DeleteService.ctorParameters = () => [
517
- { type: ConfirmationService },
518
- { type: DirectoryDescriptorService },
519
- { type: FileDescriptorService },
520
- { type: UpdateStreamService },
521
- { type: ToasterService }
522
- ];
502
+ RenameModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: RenameModalService, deps: [{ token: i1$2.DirectoryDescriptorService }, { token: i1$2.FileDescriptorService }, { token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Injectable });
503
+ RenameModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: RenameModalService });
504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: RenameModalService, decorators: [{
505
+ type: Injectable
506
+ }], ctorParameters: function () { return [{ type: i1$2.DirectoryDescriptorService }, { type: i1$2.FileDescriptorService }, { type: UpdateStreamService }]; } });
523
507
 
524
- const ɵ0$2 = "FileManagement.FolderContentComponent" /* FolderContent */;
525
- class FileManagementFolderContentComponent {
526
- constructor(list, service, deleteService, downloadService, navigator, updateStream) {
527
- this.list = list;
508
+ class RenameModalComponent extends BaseModalComponent {
509
+ constructor(service, fb) {
510
+ super();
528
511
  this.service = service;
529
- this.deleteService = deleteService;
530
- this.downloadService = downloadService;
531
- this.navigator = navigator;
532
- this.updateStream = updateStream;
512
+ this.fb = fb;
513
+ this.form = this.fb.group({
514
+ name: ['', Validators.required],
515
+ });
516
+ this.contentToRenameChange = new EventEmitter();
517
+ }
518
+ set contentToRename(val) {
519
+ this._contentToRename = val;
520
+ this.form.controls.name.patchValue(val === null || val === void 0 ? void 0 : val.name);
521
+ }
522
+ get contentToRename() {
523
+ return this._contentToRename;
524
+ }
525
+ ngOnInit() { }
526
+ saveAction() {
527
+ return this.service.rename(Object.assign(Object.assign({}, this.contentToRename), this.form.value));
528
+ }
529
+ shouldSave() {
530
+ return this.form.valid;
531
+ }
532
+ clear() {
533
+ this.form.reset();
534
+ this.contentToRename = null;
535
+ this.contentToRenameChange.emit(this.contentToRename);
536
+ }
537
+ }
538
+ RenameModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: RenameModalComponent, deps: [{ token: RenameModalService }, { token: i2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
539
+ RenameModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.9", type: RenameModalComponent, selector: "abp-rename-modal", inputs: { contentToRename: "contentToRename" }, outputs: { contentToRenameChange: "contentToRenameChange" }, providers: [RenameModalService], usesInheritance: true, ngImport: i0, template: "<abp-file-management-modal title=\"Rename\" [parent]=\"self\">\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\n <div class=\"form-group\">\n <label for=\"renameFileInput\"\n >{{ \"FileManagement::Name\" | abpLocalization }} *</label\n >\n <input\n formControlName=\"name\"\n type=\"text\"\n class=\"form-control\"\n id=\"renameFileInput\"\n />\n </div>\n </form>\n</abp-file-management-modal>\n", components: [{ type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "size", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }], directives: [{ type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", inputs: ["blueprints", "errorTemplate", "invalidClasses", "mapErrorsFn", "skipValidation", "targetSelector", "validateOnSubmit"] }, { type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.ValidationDirective, selector: "[formControl],[formControlName]", inputs: ["blueprints", "errorTemplate", "invalidClasses", "mapErrorsFn", "skipValidation", "targetSelector", "validateOnSubmit"] }], pipes: { "abpLocalization": i1.LocalizationPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
540
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: RenameModalComponent, decorators: [{
541
+ type: Component,
542
+ args: [{
543
+ selector: 'abp-rename-modal',
544
+ templateUrl: './rename-modal.component.html',
545
+ changeDetection: ChangeDetectionStrategy.OnPush,
546
+ providers: [RenameModalService],
547
+ }]
548
+ }], ctorParameters: function () { return [{ type: RenameModalService }, { type: i2.FormBuilder }]; }, propDecorators: { contentToRename: [{
549
+ type: Input
550
+ }], contentToRenameChange: [{
551
+ type: Output
552
+ }] } });
553
+
554
+ class MoveService {
555
+ constructor(service, confirmation, updateStream, toaster) {
556
+ this.service = service;
557
+ this.confirmation = confirmation;
558
+ this.updateStream = updateStream;
559
+ this.toaster = toaster;
560
+ }
561
+ moveTo(source, target, oldParentId) {
562
+ const id = source.id;
563
+ const newParentId = mapRootIdToEmpty(target.id);
564
+ return this.confirmation
565
+ .warn('FileManagement::DirectoryMoveConfirmMessage', 'FileManagement::AreYouSure', { messageLocalizationParams: [source.name, target.name] })
566
+ .pipe(filter((status) => status === Confirmation.Status.confirm), switchMap((_) => this.service.move({ id, newParentId })), tap((_) => {
567
+ this.updateStream.patchStore({
568
+ movedDirectory: {
569
+ id,
570
+ newParentId,
571
+ oldParentId,
572
+ },
573
+ });
574
+ this.toaster.success('FileManagement::SuccessfullyMoved');
575
+ }));
576
+ }
577
+ }
578
+ MoveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: MoveService, deps: [{ token: i1$2.DirectoryDescriptorService }, { token: i1$1.ConfirmationService }, { token: UpdateStreamService }, { token: i1$1.ToasterService }], target: i0.ɵɵFactoryTarget.Injectable });
579
+ MoveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: MoveService });
580
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: MoveService, decorators: [{
581
+ type: Injectable
582
+ }], ctorParameters: function () { return [{ type: i1$2.DirectoryDescriptorService }, { type: i1$1.ConfirmationService }, { type: UpdateStreamService }, { type: i1$1.ToasterService }]; } });
583
+
584
+ class MoveFileModalService {
585
+ constructor(service, fileService, updateStream, toaster, moveService, navigatorService) {
586
+ this.service = service;
587
+ this.fileService = fileService;
588
+ this.updateStream = updateStream;
589
+ this.toaster = toaster;
590
+ this.moveService = moveService;
591
+ this.navigatorService = navigatorService;
592
+ this.directoryContentStore = new InternalStore([]);
593
+ this.directoryContent$ = this.directoryContentStore.sliceState((state) => state);
594
+ this.breadcrumbStore = new InternalStore([ROOT_NODE]);
595
+ this.breadcrumbs$ = this.breadcrumbStore.sliceState((state) => state);
596
+ }
597
+ reset() {
598
+ this.breadcrumbStore.reset();
599
+ this.directoryContentStore.reset();
600
+ this.updateContent().subscribe();
601
+ }
602
+ updateContent() {
603
+ return this.service
604
+ .getList(this.getCurrentFolderIdForRequest())
605
+ .pipe(tap((content) => this.directoryContentStore.patch(content.items)));
606
+ }
607
+ goTo(folder) {
608
+ let navigatedFolders = this.getNavigatedFolders();
609
+ const index = navigatedFolders.findIndex((f) => f.id === folder.id);
610
+ if (index < 0) {
611
+ navigatedFolders = [...navigatedFolders, folder];
612
+ }
613
+ else {
614
+ navigatedFolders = navigatedFolders.slice(0, index + 1);
615
+ }
616
+ this.breadcrumbStore.patch(navigatedFolders);
617
+ this.updateContent().subscribe();
618
+ }
619
+ move(fileToMove) {
620
+ return this.fileService
621
+ .move({
622
+ id: fileToMove.id,
623
+ newDirectoryId: this.getCurrentFolderIdForRequest(),
624
+ })
625
+ .pipe(tap((_) => {
626
+ this.updateStream.refreshContent();
627
+ this.toaster.success('FileManagement::SuccessfullyMoved');
628
+ }));
629
+ }
630
+ moveFolder(folderToMove, oldParentId) {
631
+ return this.moveService.moveTo(folderToMove, this.getCurrentFolder(), oldParentId);
632
+ }
633
+ getCurrentFolder() {
634
+ const navigatedFolders = this.getNavigatedFolders();
635
+ return navigatedFolders[navigatedFolders.length - 1];
636
+ }
637
+ getCurrentFolderIdForRequest() {
638
+ var _a;
639
+ const navigatedFolders = this.getNavigatedFolders();
640
+ return mapRootIdToEmpty((_a = navigatedFolders[navigatedFolders.length - 1]) === null || _a === void 0 ? void 0 : _a.id);
641
+ }
642
+ getNavigatedFolders() {
643
+ return this.breadcrumbStore.state;
644
+ }
645
+ }
646
+ MoveFileModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: MoveFileModalService, deps: [{ token: i1$2.DirectoryDescriptorService }, { token: i1$2.FileDescriptorService }, { token: UpdateStreamService }, { token: i1$1.ToasterService }, { token: MoveService }, { token: NavigatorService }], target: i0.ɵɵFactoryTarget.Injectable });
647
+ MoveFileModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: MoveFileModalService });
648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: MoveFileModalService, decorators: [{
649
+ type: Injectable
650
+ }], ctorParameters: function () { return [{ type: i1$2.DirectoryDescriptorService }, { type: i1$2.FileDescriptorService }, { type: UpdateStreamService }, { type: i1$1.ToasterService }, { type: MoveService }, { type: NavigatorService }]; } });
651
+
652
+ class MoveFileModalComponent extends BaseModalComponent {
653
+ constructor(service) {
654
+ super();
655
+ this.service = service;
656
+ }
657
+ ngOnChanges({ visible }) {
658
+ if (visible.currentValue) {
659
+ this.service.reset();
660
+ }
661
+ }
662
+ onBreadcrumbClick(folder) {
663
+ this.service.goTo(folder);
664
+ }
665
+ saveAction() {
666
+ if (this.fileToMove.isDirectory) {
667
+ return this.service.moveFolder(this.fileToMove, this.oldParentId);
668
+ }
669
+ else {
670
+ return this.service.move(this.fileToMove);
671
+ }
672
+ }
673
+ }
674
+ MoveFileModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: MoveFileModalComponent, deps: [{ token: MoveFileModalService }], target: i0.ɵɵFactoryTarget.Component });
675
+ MoveFileModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.9", type: MoveFileModalComponent, 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\">\n <span class=\"d-block p-2\">{{\n \"FileManagement::MoveToUnder\" | abpLocalization\n }}</span>\n <abp-file-management-breadcrumb\n [navigatedFolders]=\"service.breadcrumbs$ | async\"\n rootBreadcrumbName=\"FileManagement::Root\"\n (breadcrumbClick)=\"onBreadcrumbClick($event)\"\n ></abp-file-management-breadcrumb>\n\n <ngx-datatable\n [rows]=\"service.directoryContent$ | async\"\n default\n [messages]=\"{ emptyMessage: 'FileManagement::MoveHere' | abpLocalization }\"\n >\n <ngx-datatable-column\n [sortable]=\"true\"\n [name]=\"'FileManagement::Name' | abpLocalization\"\n >\n <ng-template let-row=\"row\" let-i=\"index\" ngx-datatable-cell-template>\n <div (click)=\"service.goTo(row)\" class=\"pointer\">\n <i class=\"fa fa-folder text-primary mr-1\"></i> {{ row.name }}\n </div>\n </ng-template>\n </ngx-datatable-column>\n </ngx-datatable>\n</abp-file-management-modal>\n", components: [{ type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "size", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { type: FileManagementBreadcrumbComponent, selector: "abp-file-management-breadcrumb", inputs: ["rootBreadcrumbName", "navigatedFolders"], outputs: ["breadcrumbClick"] }, { type: i4$1.DatatableComponent, selector: "ngx-datatable", inputs: ["selected", "scrollbarV", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "loadingIndicator", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "groupExpansionDefault", "selectAllRowsOnPage", "virtualization", "summaryRow", "summaryHeight", "summaryPosition", "rowIdentity", "rows", "groupedRows", "groupRowsBy", "columns", "limit", "count", "offset", "targetMarkerTemplate", "selectionType", "rowClass", "selectCheck", "displayCheck", "trackByProp", "treeFromRelation", "treeToRelation"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction"] }], directives: [{ type: i1$1.NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { type: i4$1.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate"] }, { type: i4$1.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }], pipes: { "abpLocalization": i1.LocalizationPipe, "async": i10.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
676
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: MoveFileModalComponent, decorators: [{
677
+ type: Component,
678
+ args: [{
679
+ selector: 'abp-move-file-modal',
680
+ templateUrl: './move-file-modal.component.html',
681
+ changeDetection: ChangeDetectionStrategy.OnPush,
682
+ providers: [MoveFileModalService, ListService],
683
+ }]
684
+ }], ctorParameters: function () { return [{ type: MoveFileModalService }]; }, propDecorators: { fileToMove: [{
685
+ type: Input
686
+ }], oldParentId: [{
687
+ type: Input
688
+ }] } });
689
+
690
+ class FileManagementFolderContentComponent {
691
+ constructor(list, service, deleteService, downloadService, navigator, updateStream) {
692
+ this.list = list;
693
+ this.service = service;
694
+ this.deleteService = deleteService;
695
+ this.downloadService = downloadService;
696
+ this.navigator = navigator;
697
+ this.updateStream = updateStream;
533
698
  this.contentUpdate = new EventEmitter();
534
699
  this.renameModalOpen = false;
535
700
  this.moveModalOpen = false;
@@ -590,30 +755,29 @@ class FileManagementFolderContentComponent {
590
755
  this.contentToRename = withContent;
591
756
  }
592
757
  }
593
- FileManagementFolderContentComponent.decorators = [
594
- { type: Component, args: [{
595
- selector: 'abp-file-management-folder-content',
596
- template: "<ng-container *ngIf=\"content$ | async; let data\">\n <abp-extensible-table\n [list]=\"list\"\n [data]=\"data\"\n [recordsTotal]=\"data.length\"\n >\n </abp-extensible-table>\n\n <abp-rename-modal\n [(visible)]=\"renameModalOpen\"\n [(contentToRename)]=\"contentToRename\"\n (contentSaved)=\"onContentSaved()\"\n ></abp-rename-modal>\n\n <abp-move-file-modal\n [(visible)]=\"moveModalOpen\"\n (contentSaved)=\"onContentSaved()\"\n [fileToMove]=\"fileToMove\"\n [oldParentId]=\"parentOfFileToMove\"\n ></abp-move-file-modal>\n</ng-container>\n",
597
- providers: [
598
- {
599
- provide: EXTENSIONS_IDENTIFIER,
600
- useValue: ɵ0$2,
601
- },
602
- ],
603
- changeDetection: ChangeDetectionStrategy.OnPush
604
- },] }
605
- ];
606
- FileManagementFolderContentComponent.ctorParameters = () => [
607
- { type: ListService },
608
- { type: DirectoryDescriptorService },
609
- { type: DeleteService },
610
- { type: DownloadService },
611
- { type: NavigatorService },
612
- { type: UpdateStreamService }
613
- ];
614
- FileManagementFolderContentComponent.propDecorators = {
615
- contentUpdate: [{ type: Output }]
616
- };
758
+ FileManagementFolderContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementFolderContentComponent, deps: [{ token: i1.ListService }, { token: i1$2.DirectoryDescriptorService }, { token: DeleteService }, { token: DownloadService }, { token: NavigatorService }, { token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Component });
759
+ FileManagementFolderContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.9", type: FileManagementFolderContentComponent, selector: "abp-file-management-folder-content", outputs: { contentUpdate: "contentUpdate" }, providers: [
760
+ {
761
+ provide: EXTENSIONS_IDENTIFIER,
762
+ useValue: "FileManagement.FolderContentComponent" /* FolderContent */,
763
+ },
764
+ ], ngImport: i0, template: "<ng-container *ngIf=\"content$ | async; let data\">\n <abp-extensible-table\n [list]=\"list\"\n [data]=\"data\"\n [recordsTotal]=\"data.length\"\n >\n </abp-extensible-table>\n\n <abp-rename-modal\n [(visible)]=\"renameModalOpen\"\n [(contentToRename)]=\"contentToRename\"\n (contentSaved)=\"onContentSaved()\"\n ></abp-rename-modal>\n\n <abp-move-file-modal\n [(visible)]=\"moveModalOpen\"\n (contentSaved)=\"onContentSaved()\"\n [fileToMove]=\"fileToMove\"\n [oldParentId]=\"parentOfFileToMove\"\n ></abp-move-file-modal>\n</ng-container>\n", components: [{ type: i7.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i10.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
765
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementFolderContentComponent, decorators: [{
766
+ type: Component,
767
+ args: [{
768
+ selector: 'abp-file-management-folder-content',
769
+ templateUrl: './file-management-folder-content.component.html',
770
+ providers: [
771
+ {
772
+ provide: EXTENSIONS_IDENTIFIER,
773
+ useValue: "FileManagement.FolderContentComponent" /* FolderContent */,
774
+ },
775
+ ],
776
+ changeDetection: ChangeDetectionStrategy.OnPush,
777
+ }]
778
+ }], ctorParameters: function () { return [{ type: i1.ListService }, { type: i1$2.DirectoryDescriptorService }, { type: DeleteService }, { type: DownloadService }, { type: NavigatorService }, { type: UpdateStreamService }]; }, propDecorators: { contentUpdate: [{
779
+ type: Output
780
+ }] } });
617
781
 
618
782
  function isDirectory(data) {
619
783
  return data.record.isDirectory;
@@ -621,15 +785,14 @@ function isDirectory(data) {
621
785
  function isFile(data) {
622
786
  return !isDirectory(data);
623
787
  }
624
- const ɵ0$1 = (data) => {
625
- const component = data.getInjected(FileManagementFolderContentComponent);
626
- component.openFolder(data.record);
627
- };
628
788
  const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_ACTIONS = EntityAction.createMany([
629
789
  /* DIRECTORY ACTIONS */
630
790
  {
631
791
  text: 'FileManagement::Open',
632
- action: ɵ0$1,
792
+ action: (data) => {
793
+ const component = data.getInjected(FileManagementFolderContentComponent);
794
+ component.openFolder(data.record);
795
+ },
633
796
  visible: isDirectory,
634
797
  },
635
798
  {
@@ -698,6 +861,68 @@ const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_ACTIONS = EntityActio
698
861
  },
699
862
  ]);
700
863
 
864
+ function transformDirectoryContentSize(directoryContent) {
865
+ return directoryContent.isDirectory ? '' : formatBytes(directoryContent.size);
866
+ }
867
+ function formatBytes(size, precision = 2) {
868
+ if (!Number.isInteger(size) || size <= 0) {
869
+ return '0 Bytes';
870
+ }
871
+ if (size === 1) {
872
+ return '1 Byte';
873
+ }
874
+ const factor = 1024;
875
+ const decimals = precision < 0 ? 0 : precision;
876
+ const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
877
+ const sizeIndex = Math.floor(Math.log(size) / Math.log(factor));
878
+ return (parseFloat((size / Math.pow(factor, sizeIndex)).toFixed(decimals)) +
879
+ ' ' +
880
+ sizes[sizeIndex]);
881
+ }
882
+
883
+ const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_PROPS = EntityProp.createMany([
884
+ {
885
+ type: "string" /* String */,
886
+ name: 'name',
887
+ displayName: 'FileManagement::Name',
888
+ sortable: true,
889
+ action: (data) => {
890
+ const navigator = data.getInjected(NavigatorService);
891
+ const download = data.getInjected(DownloadService);
892
+ if (data.record.isDirectory) {
893
+ navigator.goToFolder(data.record);
894
+ }
895
+ else {
896
+ download.downloadFile(data.record).subscribe();
897
+ }
898
+ },
899
+ valueResolver: (data) => {
900
+ const record = data.record;
901
+ let iconTemplate;
902
+ if (record.isDirectory) {
903
+ iconTemplate = `<i class="fa fa-folder text-primary" aria-hidden="true"></i>`;
904
+ }
905
+ else if (record.iconInfo) {
906
+ if (record.iconInfo.type === 0) {
907
+ iconTemplate = `<i class="${data.record.iconInfo.icon}" aria-hidden="true"></i>`;
908
+ }
909
+ else {
910
+ iconTemplate = `<img src="${data.record.iconInfo.icon}" />`;
911
+ }
912
+ }
913
+ return of(`${iconTemplate} ${data.record.name}`);
914
+ },
915
+ },
916
+ {
917
+ type: "string" /* String */,
918
+ name: 'size',
919
+ displayName: 'FileManagement::Size',
920
+ sortable: true,
921
+ columnWidth: 150,
922
+ valueResolver: (data) => of(transformDirectoryContentSize(data.record)),
923
+ },
924
+ ]);
925
+
701
926
  const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_TOOLBAR_ACTIONS = ToolbarAction.createMany([]);
702
927
 
703
928
  const DEFAULT_FILE_MANAGEMENT_ENTITY_ACTIONS = {
@@ -949,20 +1174,65 @@ class UploadService {
949
1174
  };
950
1175
  }
951
1176
  }
952
- UploadService.decorators = [
953
- { type: Injectable }
954
- ];
955
- UploadService.ctorParameters = () => [
956
- { type: LocalizationService },
957
- { type: FileDescriptorService },
958
- { type: ConfirmationService },
959
- { type: UpdateStreamService },
960
- { type: ApiInterceptor },
961
- { type: EnvironmentService },
962
- { type: HttpXsrfTokenExtractor },
963
- { type: String, decorators: [{ type: Inject, args: [FILE_MANAGEMENT_XSRF_HEADER_NAME,] }] }
964
- ];
965
- /* tslint:enable:no-string-literal */
1177
+ UploadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: UploadService, deps: [{ token: i1.LocalizationService }, { token: i1$2.FileDescriptorService }, { token: i1$1.ConfirmationService }, { token: UpdateStreamService }, { token: i1.ApiInterceptor }, { token: i1.EnvironmentService }, { token: i5.HttpXsrfTokenExtractor }, { token: FILE_MANAGEMENT_XSRF_HEADER_NAME }], target: i0.ɵɵFactoryTarget.Injectable });
1178
+ UploadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: UploadService });
1179
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: UploadService, decorators: [{
1180
+ type: Injectable
1181
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i1$2.FileDescriptorService }, { type: i1$1.ConfirmationService }, { type: UpdateStreamService }, { type: i1.ApiInterceptor }, { type: i1.EnvironmentService }, { type: i5.HttpXsrfTokenExtractor }, { type: undefined, decorators: [{
1182
+ type: Inject,
1183
+ args: [FILE_MANAGEMENT_XSRF_HEADER_NAME]
1184
+ }] }]; } });
1185
+
1186
+ class CreateFolderModalService {
1187
+ constructor(service, updateStream) {
1188
+ this.service = service;
1189
+ this.updateStream = updateStream;
1190
+ }
1191
+ create(name, parent) {
1192
+ const parentId = mapRootIdToEmpty(parent || this.updateStream.currentDirectory);
1193
+ return this.service
1194
+ .create({ name, parentId: mapRootIdToEmpty(parentId) })
1195
+ .pipe(tap((_) => this.updateStream.patchStore({ createdDirectory: parentId })));
1196
+ }
1197
+ }
1198
+ CreateFolderModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: CreateFolderModalService, deps: [{ token: i1$2.DirectoryDescriptorService }, { token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Injectable });
1199
+ CreateFolderModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: CreateFolderModalService });
1200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: CreateFolderModalService, decorators: [{
1201
+ type: Injectable
1202
+ }], ctorParameters: function () { return [{ type: i1$2.DirectoryDescriptorService }, { type: UpdateStreamService }]; } });
1203
+
1204
+ class CreateFolderModalComponent extends BaseModalComponent {
1205
+ constructor(fb, service) {
1206
+ super();
1207
+ this.fb = fb;
1208
+ this.service = service;
1209
+ this.form = this.fb.group({
1210
+ name: ['', Validators.required],
1211
+ });
1212
+ }
1213
+ shouldSave() {
1214
+ return this.form.valid;
1215
+ }
1216
+ saveAction() {
1217
+ return this.service.create(this.form.controls.name.value, this.parentId);
1218
+ }
1219
+ clear() {
1220
+ this.form.reset();
1221
+ }
1222
+ }
1223
+ CreateFolderModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: CreateFolderModalComponent, deps: [{ token: i2.FormBuilder }, { token: CreateFolderModalService }], target: i0.ɵɵFactoryTarget.Component });
1224
+ CreateFolderModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.9", type: CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: { parentId: "parentId" }, providers: [CreateFolderModalService], usesInheritance: true, ngImport: i0, template: "<abp-file-management-modal title=\"CreateFolder\" [parent]=\"self\">\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\n <div class=\"form-group\">\n <label for=\"createFolderInput\"\n >{{ \"FileManagement::Name\" | abpLocalization }} *</label\n >\n <input\n formControlName=\"name\"\n type=\"text\"\n class=\"form-control\"\n id=\"createFolderInput\"\n />\n </div>\n </form>\n</abp-file-management-modal>\n", components: [{ type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "size", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }], directives: [{ type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", inputs: ["blueprints", "errorTemplate", "invalidClasses", "mapErrorsFn", "skipValidation", "targetSelector", "validateOnSubmit"] }, { type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.ValidationDirective, selector: "[formControl],[formControlName]", inputs: ["blueprints", "errorTemplate", "invalidClasses", "mapErrorsFn", "skipValidation", "targetSelector", "validateOnSubmit"] }], pipes: { "abpLocalization": i1.LocalizationPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: CreateFolderModalComponent, decorators: [{
1226
+ type: Component,
1227
+ args: [{
1228
+ selector: 'abp-create-folder-modal',
1229
+ templateUrl: './create-folder-modal.component.html',
1230
+ changeDetection: ChangeDetectionStrategy.OnPush,
1231
+ providers: [CreateFolderModalService],
1232
+ }]
1233
+ }], ctorParameters: function () { return [{ type: i2.FormBuilder }, { type: CreateFolderModalService }]; }, propDecorators: { parentId: [{
1234
+ type: Input
1235
+ }] } });
966
1236
 
967
1237
  class FileManagementButtonsComponent {
968
1238
  constructor(uploadService) {
@@ -977,55 +1247,24 @@ class FileManagementButtonsComponent {
977
1247
  this.uploadService.initUppy({ trigger: `#${this.buttonId}` });
978
1248
  }
979
1249
  }
980
- FileManagementButtonsComponent.decorators = [
981
- { type: Component, args: [{
982
- selector: 'abp-file-management-buttons',
983
- template: "<abp-button\n *abpPermission=\"fileCreatePermission\"\n [buttonId]=\"buttonId\"\n iconClass=\"fa fa-upload mr-2\"\n buttonClass=\"btn btn-primary btn-block mb-2\"\n >{{ \"FileManagement::UploadFiles\" | abpLocalization }}</abp-button\n>\n\n<abp-button\n *abpPermission=\"directoryCreatePermission\"\n iconClass=\"fa fa-folder-plus mr-2\"\n buttonClass=\"btn btn-light btn-outline-primary btn-block mb-4\"\n (click)=\"folderCreateModal = true\"\n >{{ \"FileManagement::CreateFolder\" | abpLocalization }}</abp-button\n>\n\n<abp-create-folder-modal\n [(visible)]=\"folderCreateModal\"\n></abp-create-folder-modal>\n",
984
- changeDetection: ChangeDetectionStrategy.OnPush,
985
- encapsulation: ViewEncapsulation.None,
986
- styles: [".uppy-Root{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:left;position:relative;color:#333}.uppy-Root[dir=rtl],[dir=rtl] .uppy-Root{text-align:right}.uppy-Root *,.uppy-Root :after,.uppy-Root :before{box-sizing:inherit}.uppy-Root [hidden]{display:none}.uppy-u-reset{-webkit-appearance:none;line-height:1;padding:0;color:inherit;-webkit-backface-visibility:visible;backface-visibility:visible;background:none;border:none;border-collapse:separate;-o-border-image:none;border-image:none;border-radius:0;border-spacing:0;box-shadow:none;clear:none;cursor:auto;display:inline;empty-cells:show;float:none;font-family:inherit;font-size:inherit;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;left:auto;letter-spacing:normal;list-style:none;margin:0;max-height:none;max-width:none;min-height:0;min-width:0;opacity:1;outline:medium none invert;overflow:visible;overflow-x:visible;overflow-y:visible;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;top:auto;transform:none;transform-origin:50% 50% 0;transform-style:flat;transition:none 0s ease 0s;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;z-index:auto}[dir=rtl] .uppy-u-reset{text-align:right}.uppy-c-textInput{border:1px solid #ddd;border-radius:4px;font-size:14px;line-height:1.5;padding:6px 8px;background-color:#fff}.uppy-size--md .uppy-c-textInput{padding:8px 10px}.uppy-c-textInput:focus{border-color:rgba(34,117,215,.6);outline:none;box-shadow:0 0 0 3px rgba(34,117,215,.15)}[data-uppy-theme=dark] .uppy-c-textInput{background-color:#333;border-color:#333;color:#eaeaea}[data-uppy-theme=dark] .uppy-c-textInput:focus{border-color:#525252;box-shadow:none}.uppy-c-icon{max-width:100%;max-height:100%;fill:currentColor;display:inline-block;overflow:hidden}.uppy-c-btn{display:inline-block;white-space:nowrap;vertical-align:middle;font-family:inherit;font-size:16px;line-height:1;font-weight:500;transition-property:background-color,color;transition-duration:.3s;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}.uppy-c-btn,[dir=rtl] .uppy-c-btn{text-align:center}.uppy-c-btn:not(:disabled):not(.disabled){cursor:pointer}.uppy-c-btn::-moz-focus-inner{border:0}.uppy-c-btn-primary{font-size:14px;padding:10px 18px;border-radius:4px;background-color:#2275d7;color:#fff}.uppy-c-btn-primary:hover{background-color:#1b5dab}.uppy-c-btn-primary:focus{outline:none;box-shadow:0 0 0 3px rgba(34,117,215,.4)}.uppy-size--md .uppy-c-btn-primary{padding:13px 22px}[data-uppy-theme=dark] .uppy-c-btn-primary{color:#eaeaea}[data-uppy-theme=dark] .uppy-c-btn-primary:focus{outline:none}[data-uppy-theme=dark] .uppy-c-btn-primary::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-c-btn-primary:focus{box-shadow:0 0 0 2px rgba(170,225,255,.85)}.uppy-c-btn-link{font-size:14px;line-height:1;padding:10px 15px;border-radius:4px;background-color:transparent;color:#525252}.uppy-c-btn-link:hover{color:#333}.uppy-c-btn-link:focus{outline:none;box-shadow:0 0 0 3px rgba(34,117,215,.25)}.uppy-size--md .uppy-c-btn-link{padding:13px 18px}[data-uppy-theme=dark] .uppy-c-btn-link{color:#eaeaea}[data-uppy-theme=dark] .uppy-c-btn-link:focus{outline:none}[data-uppy-theme=dark] .uppy-c-btn-link::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-c-btn-link:focus{box-shadow:0 0 0 2px rgba(170,225,255,.85)}[data-uppy-theme=dark] .uppy-c-btn-link:hover{color:#939393}.uppy-c-btn--small{font-size:.9em;padding:7px 16px;border-radius:2px}.uppy-size--md .uppy-c-btn--small{padding:8px 10px;border-radius:2px}", "@charset \"UTF-8\";.uppy-Informer{position:absolute;bottom:60px;left:0;right:0;text-align:center;opacity:1;transform:none;transition:all .25s ease-in;z-index:1005}.uppy-Informer[aria-hidden=true]{opacity:0;transform:translateY(350%);transition:all .3s ease-in;z-index:-1000}.uppy-Informer p{display:inline-block;margin:0;font-size:12px;line-height:1.4;font-weight:400;padding:6px 15px;background-color:#757575;color:#fff;border-radius:18px;max-width:90%}.uppy-size--md .uppy-Informer p{font-size:14px;line-height:1.3;max-width:500px;padding:10px 20px}[data-uppy-theme=dark] .uppy-Informer p{background-color:#333}[dir=ltr] .uppy-Informer span{left:3px}[dir=rtl] .uppy-Informer span{right:3px}[dir=ltr] .uppy-Informer span{margin-left:-1px}[dir=rtl] .uppy-Informer span{margin-right:-1px}.uppy-Informer span{line-height:12px;width:13px;height:13px;display:inline-block;vertical-align:middle;color:#525252;background-color:#fff;border-radius:50%;position:relative;top:-1px;font-size:10px;-webkit-margin-start:-1px}.uppy-Informer span:hover{cursor:help}.uppy-Informer span:after{line-height:1.3;word-wrap:break-word}.uppy-Root [aria-label][role~=tooltip]{position:relative}.uppy-Root [aria-label][role~=tooltip]:after,.uppy-Root [aria-label][role~=tooltip]:before{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform;opacity:0;pointer-events:none;transition:all var(--microtip-transition-duration,.18s) var(--microtip-transition-easing,ease-in-out) var(--microtip-transition-delay,0s);position:absolute;box-sizing:border-box;z-index:10;transform-origin:top}.uppy-Root [aria-label][role~=tooltip]:before{background-size:100% auto!important;content:\"\"}.uppy-Root [aria-label][role~=tooltip]:after{background:rgba(17,17,17,.9);border-radius:4px;color:#fff;content:attr(aria-label);font-size:var(--microtip-font-size,13px);font-weight:var(--microtip-font-weight,normal);text-transform:var(--microtip-text-transform,none);padding:.5em 1em;white-space:nowrap;box-sizing:content-box}.uppy-Root [aria-label][role~=tooltip]:focus:after,.uppy-Root [aria-label][role~=tooltip]:focus:before,.uppy-Root [aria-label][role~=tooltip]:hover:after,.uppy-Root [aria-label][role~=tooltip]:hover:before{opacity:1;pointer-events:auto}.uppy-Root [role~=tooltip][data-microtip-position|=top]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M2.658 0h32.004c-6 0-11.627 12.002-16.002 12.002C14.285 12.002 8.594 0 2.658 0z'/%3E%3C/svg%3E\") no-repeat;height:6px;width:18px;margin-bottom:5px}.uppy-Root [role~=tooltip][data-microtip-position|=top]:after{margin-bottom:11px}.uppy-Root [role~=tooltip][data-microtip-position|=top]:before{transform:translate3d(-50%,0,0);bottom:100%;left:50%}.uppy-Root [role~=tooltip][data-microtip-position|=top]:hover:before{transform:translate3d(-50%,-5px,0)}.uppy-Root [role~=tooltip][data-microtip-position|=top]:after{transform:translate3d(-50%,0,0);bottom:100%;left:50%}.uppy-Root [role~=tooltip][data-microtip-position=top]:hover:after{transform:translate3d(-50%,-5px,0)}.uppy-Root [role~=tooltip][data-microtip-position=top-left]:after{transform:translate3d(calc(-100% + 16px),0,0);bottom:100%}.uppy-Root [role~=tooltip][data-microtip-position=top-left]:hover:after{transform:translate3d(calc(-100% + 16px),-5px,0)}.uppy-Root [role~=tooltip][data-microtip-position=top-right]:after{transform:translate3d(-16px,0,0);bottom:100%}.uppy-Root [role~=tooltip][data-microtip-position=top-right]:hover:after{transform:translate3d(-16px,-5px,0)}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M33.342 12H1.338c6 0 11.627-12.002 16.002-12.002C21.715-.002 27.406 12 33.342 12z'/%3E%3C/svg%3E\") no-repeat;height:6px;width:18px;margin-top:5px;margin-bottom:0}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:after{margin-top:11px}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:before{transform:translate3d(-50%,-10px,0);bottom:auto;left:50%;top:100%}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:hover:before{transform:translate3d(-50%,0,0)}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:after{transform:translate3d(-50%,-10px,0);top:100%;left:50%}.uppy-Root [role~=tooltip][data-microtip-position=bottom]:hover:after{transform:translate3d(-50%,0,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom-left]:after{transform:translate3d(calc(-100% + 16px),-10px,0);top:100%}.uppy-Root [role~=tooltip][data-microtip-position=bottom-left]:hover:after{transform:translate3d(calc(-100% + 16px),0,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom-right]:after{transform:translate3d(-16px,-10px,0);top:100%}.uppy-Root [role~=tooltip][data-microtip-position=bottom-right]:hover:after{transform:translate3d(-16px,0,0)}.uppy-Root [role~=tooltip][data-microtip-position=left]:after,.uppy-Root [role~=tooltip][data-microtip-position=left]:before{bottom:auto;left:auto;right:100%;top:50%;transform:translate3d(10px,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-position=left]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='36'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M0 33.342V1.338c0 6 12.002 11.627 12.002 16.002C12.002 21.715 0 27.406 0 33.342z'/%3E%3C/svg%3E\") no-repeat;height:18px;width:6px;margin-right:5px;margin-bottom:0}.uppy-Root [role~=tooltip][data-microtip-position=left]:after{margin-right:11px}.uppy-Root [role~=tooltip][data-microtip-position=left]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position=left]:hover:before{transform:translate3d(0,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-position=right]:after,.uppy-Root [role~=tooltip][data-microtip-position=right]:before{bottom:auto;left:100%;top:50%;transform:translate3d(-10px,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-position=right]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='36'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M12 2.658v32.004c0-6-12.002-11.627-12.002-16.002C-.002 14.285 12 8.594 12 2.658z'/%3E%3C/svg%3E\") no-repeat;height:18px;width:6px;margin-bottom:0;margin-left:5px}.uppy-Root [role~=tooltip][data-microtip-position=right]:after{margin-left:11px}.uppy-Root [role~=tooltip][data-microtip-position=right]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position=right]:hover:before{transform:translate3d(0,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-size=small]:after{white-space:normal;width:80px}.uppy-Root [role~=tooltip][data-microtip-size=medium]:after{white-space:normal;width:150px}.uppy-Root [role~=tooltip][data-microtip-size=large]:after{white-space:normal;width:260px}.uppy-StatusBar{display:flex;position:relative;height:40px;line-height:40px;font-size:12px;font-weight:400;color:#fff;background-color:#fff;z-index:1001;transition:height .2s}[data-uppy-theme=dark] .uppy-StatusBar{background-color:#1f1f1f}.uppy-size--md .uppy-StatusBar{height:46px}.uppy-StatusBar:before{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:2px;background-color:#eaeaea}[data-uppy-theme=dark] .uppy-StatusBar:before{background-color:#757575}.uppy-StatusBar[aria-hidden=true]{overflow-y:hidden;height:0}.uppy-StatusBar.is-complete .uppy-StatusBar-progress{background-color:#1bb240}.uppy-StatusBar.is-error .uppy-StatusBar-progress{background-color:#e32437}.uppy-StatusBar.is-complete .uppy-StatusBar-statusIndicator{color:#1bb240}.uppy-StatusBar.is-error .uppy-StatusBar-statusIndicator{color:#e32437}.uppy-StatusBar:not([aria-hidden=true]).is-waiting{background-color:#fff;height:65px;border-top:1px solid #eaeaea}[data-uppy-theme=dark] .uppy-StatusBar:not([aria-hidden=true]).is-waiting{background-color:#1f1f1f;border-top:1px solid #333}.uppy-StatusBar-progress{background-color:#2275d7;height:2px;position:absolute;z-index:1001;transition:background-color,width .3s ease-out}.uppy-StatusBar-progress.is-indeterminate{background-size:64px 64px;background-image:linear-gradient(45deg,rgba(0,0,0,.3) 25%,transparent 0,transparent 50%,rgba(0,0,0,.3) 0,rgba(0,0,0,.3) 75%,transparent 0,transparent);-webkit-animation:uppy-StatusBar-ProgressStripes 1s linear infinite;animation:uppy-StatusBar-ProgressStripes 1s linear infinite}@-webkit-keyframes uppy-StatusBar-ProgressStripes{0%{background-position:0 0}to{background-position:64px 0}}@keyframes uppy-StatusBar-ProgressStripes{0%{background-position:0 0}to{background-position:64px 0}}.uppy-StatusBar.is-postprocessing .uppy-StatusBar-progress,.uppy-StatusBar.is-preprocessing .uppy-StatusBar-progress{background-color:#f6a623}.uppy-StatusBar.is-waiting .uppy-StatusBar-progress{display:none}[dir=ltr] .uppy-StatusBar-content{padding-left:10px}[dir=rtl] .uppy-StatusBar-content{padding-right:10px}.uppy-StatusBar-content{display:flex;align-items:center;position:relative;z-index:1002;-webkit-padding-start:10px;white-space:nowrap;text-overflow:ellipsis;color:#333;height:100%}[dir=ltr] .uppy-size--md .uppy-StatusBar-content{padding-left:15px}[dir=rtl] .uppy-size--md .uppy-StatusBar-content{padding-right:15px}.uppy-size--md .uppy-StatusBar-content{-webkit-padding-start:15px}[data-uppy-theme=dark] .uppy-StatusBar-content{color:#eaeaea}[dir=ltr] .uppy-StatusBar-status{padding-right:.3em}[dir=rtl] .uppy-StatusBar-status{padding-left:.3em}.uppy-StatusBar-status{line-height:1.4;font-weight:400;display:flex;flex-direction:column;justify-content:center;-webkit-padding-end:.3em}.uppy-StatusBar-statusPrimary{font-weight:500;line-height:1}[data-uppy-theme=dark] .uppy-StatusBar-statusPrimary{color:#eaeaea}.uppy-StatusBar-statusSecondary{margin-top:1px;font-size:11px;line-height:1.2;display:inline-block;color:#757575;white-space:nowrap}[data-uppy-theme=dark] .uppy-StatusBar-statusSecondary{color:#bbb}[dir=ltr] .uppy-StatusBar-statusSecondaryHint{margin-right:5px}[dir=rtl] .uppy-StatusBar-statusSecondaryHint{margin-left:5px}.uppy-StatusBar-statusSecondaryHint{display:inline-block;vertical-align:middle;-webkit-margin-end:5px;line-height:1}[dir=ltr] .uppy-size--md .uppy-StatusBar-statusSecondaryHint{margin-right:8px}[dir=rtl] .uppy-size--md .uppy-StatusBar-statusSecondaryHint{margin-left:8px}.uppy-size--md .uppy-StatusBar-statusSecondaryHint{-webkit-margin-end:8px}[dir=ltr] .uppy-StatusBar-statusIndicator{margin-right:7px}[dir=rtl] .uppy-StatusBar-statusIndicator{margin-left:7px}.uppy-StatusBar-statusIndicator{position:relative;top:1px;color:#525252;-webkit-margin-end:7px}.uppy-StatusBar-statusIndicator svg{vertical-align:text-bottom}[dir=ltr] .uppy-StatusBar-actions{right:10px}[dir=rtl] .uppy-StatusBar-actions{left:10px}.uppy-StatusBar-actions{display:flex;align-items:center;position:absolute;top:0;bottom:0;z-index:1004}.uppy-StatusBar.is-waiting .uppy-StatusBar-actions{width:100%;position:static;padding:0 15px;background-color:#fafafa}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actions{background-color:#1f1f1f}.uppy-StatusBar-actionCircleBtn{line-height:1;cursor:pointer;margin:3px;opacity:.9}.uppy-StatusBar-actionCircleBtn:focus{outline:none}.uppy-StatusBar-actionCircleBtn::-moz-focus-inner{border:0}.uppy-StatusBar-actionCircleBtn:focus{box-shadow:0 0 0 3px rgba(34,117,215,.5)}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn:focus{box-shadow:0 0 0 2px rgba(170,225,255,.85)}.uppy-StatusBar-actionCircleBtn:hover{opacity:1}.uppy-StatusBar-actionCircleBtn:focus{border-radius:50%}.uppy-StatusBar-actionCircleBtn svg{vertical-align:bottom}.uppy-StatusBar-actionBtn{display:inline-block;vertical-align:middle;font-size:10px;line-height:inherit;color:#2275d7}.uppy-size--md .uppy-StatusBar-actionBtn{font-size:11px}[dir=ltr] .uppy-StatusBar-actionBtn--retry{margin-right:6px}[dir=rtl] .uppy-StatusBar-actionBtn--retry{margin-left:6px}.uppy-StatusBar-actionBtn--retry{height:16px;border-radius:8px;-webkit-margin-end:6px;background-color:#ff4b23;line-height:1;color:#fff;padding:1px 6px 3px 18px;position:relative}.uppy-StatusBar-actionBtn--retry:focus{outline:none}.uppy-StatusBar-actionBtn--retry::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--retry:focus{box-shadow:0 0 0 3px rgba(34,117,215,.5)}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry:focus{box-shadow:0 0 0 2px rgba(170,225,255,.85)}.uppy-StatusBar-actionBtn--retry:hover{background-color:#f92d00}[dir=ltr] .uppy-StatusBar-actionBtn--retry svg{left:6px}[dir=rtl] .uppy-StatusBar-actionBtn--retry svg{right:6px}.uppy-StatusBar-actionBtn--retry svg{position:absolute;top:3px}.uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{font-size:14px;width:100%;padding:15px 10px;color:#fff;background-color:#1bb240;line-height:1}.uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload:hover{background-color:#189c38}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{background-color:#1c8b37}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload:hover{background-color:#18762f}.uppy-size--md .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{padding:13px 22px;width:auto}.uppy-StatusBar:not(.is-waiting) .uppy-StatusBar-actionBtn--upload{background-color:transparent;color:#2275d7}[dir=ltr] .uppy-StatusBar-actionBtn--uploadNewlyAdded{padding-right:3px}[dir=ltr] .uppy-StatusBar-actionBtn--uploadNewlyAdded,[dir=rtl] .uppy-StatusBar-actionBtn--uploadNewlyAdded{padding-left:3px}[dir=rtl] .uppy-StatusBar-actionBtn--uploadNewlyAdded{padding-right:3px}.uppy-StatusBar-actionBtn--uploadNewlyAdded{-webkit-padding-end:3px;-webkit-padding-start:3px;padding-bottom:1px;border-radius:3px}.uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{outline:none}.uppy-StatusBar-actionBtn--uploadNewlyAdded::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{box-shadow:0 0 0 3px rgba(34,117,215,.5)}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{box-shadow:0 0 0 2px rgba(170,225,255,.85)}.uppy-StatusBar-actionBtn--done{line-height:1;border-radius:3px;padding:7px 8px}.uppy-StatusBar-actionBtn--done:focus{outline:none}.uppy-StatusBar-actionBtn--done::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--done:hover{color:#1b5dab}.uppy-StatusBar-actionBtn--done:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--done:focus{background-color:#333}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--done{color:#02baf2}.uppy-size--md .uppy-StatusBar-actionBtn--done{font-size:14px}[dir=ltr] .uppy-StatusBar-details{left:2px}[dir=rtl] .uppy-StatusBar-details{right:2px}.uppy-StatusBar-details{line-height:12px;width:13px;height:13px;display:inline-block;vertical-align:middle;color:#fff;background-color:#939393;border-radius:50%;position:relative;top:0;font-size:10px;font-weight:600;text-align:center;cursor:help}.uppy-StatusBar-details:after{line-height:1.3;word-wrap:break-word}[dir=ltr] .uppy-StatusBar-spinner{margin-right:10px}[dir=rtl] .uppy-StatusBar-spinner{margin-left:10px}.uppy-StatusBar-spinner{-webkit-animation-name:uppy-StatusBar-spinnerAnimation;animation-name:uppy-StatusBar-spinnerAnimation;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-margin-end:10px;fill:#2275d7}.uppy-StatusBar.is-postprocessing .uppy-StatusBar-spinner,.uppy-StatusBar.is-preprocessing .uppy-StatusBar-spinner{fill:#f6a623}@-webkit-keyframes uppy-StatusBar-spinnerAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes uppy-StatusBar-spinnerAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.uppy-ProviderBrowser-viewType--grid ul.uppy-ProviderBrowser-list{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;padding:6px}.uppy-ProviderBrowser-viewType--grid ul.uppy-ProviderBrowser-list:after{content:\"\";flex:auto}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem{width:50%;position:relative;margin:0}.uppy-size--md .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem{width:33.3333%}.uppy-size--lg .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem{width:25%}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem:before{content:\"\";padding-top:100%;display:block}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--selected img,.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--selected svg{opacity:.85}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--disabled{opacity:.5}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner{background-color:hsla(0,0%,57.6%,.2)}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner{background-color:hsla(0,0%,91.8%,.2)}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview svg{fill:rgba(0,0,0,.7);width:30%;height:30%}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview svg{fill:hsla(0,0%,100%,.8)}.uppy-ProviderBrowser-viewType--grid button.uppy-ProviderBrowserItem-inner{border-radius:4px;overflow:hidden;position:absolute;top:7px;left:7px;right:7px;bottom:7px;text-align:center;width:calc(100% - 14px);height:calc(100% - 14px)}.uppy-ProviderBrowser-viewType--grid button.uppy-ProviderBrowserItem-inner:focus{outline:none;box-shadow:0 0 0 3px rgba(34,117,215,.9)}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid button.uppy-ProviderBrowserItem-inner{box-shadow:0 0 0 3px rgba(170,225,255,.7)}.uppy-ProviderBrowser-viewType--grid button.uppy-ProviderBrowserItem-inner img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-fakeCheckbox{position:absolute;top:16px;right:16px;width:26px;height:26px;background-color:#2275d7;border-radius:50%;z-index:1002;opacity:0}[dir=ltr] .uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-fakeCheckbox:after{left:7px}[dir=rtl] .uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-fakeCheckbox:after{right:7px}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-fakeCheckbox:after{width:12px;height:7px;top:8px}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-fakeCheckbox--is-checked{opacity:1}.uppy-ProviderBrowser-viewType--list{background-color:#fff}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list{background-color:#1f1f1f}.uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem{display:flex;align-items:center;padding:7px 15px;margin:0}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem{color:#eaeaea}.uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem--disabled{opacity:.6}[dir=ltr] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox{margin-right:15px}[dir=rtl] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox{margin-left:15px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox{-webkit-margin-end:15px;height:17px;width:17px;border-radius:3px;background-color:#fff;border:1px solid #cfcfcf}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox:focus{border:1px solid #2275d7;box-shadow:0 0 0 3px rgba(34,117,215,.25);outline:none}[dir=ltr] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox:after{left:3px}[dir=rtl] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox:after{right:3px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox:after{opacity:0;height:5px;width:9px;top:4px}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox:focus{border-color:rgba(2,186,242,.7);box-shadow:0 0 0 3px rgba(2,186,242,.2)}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox--is-checked{background-color:#2275d7;border-color:#2275d7}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox--is-checked:after{opacity:1}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:flex;align-items:center;padding:2px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner:focus{outline:none;text-decoration:underline}[dir=ltr] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner img,[dir=ltr] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner svg{margin-right:8px}[dir=rtl] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner img,[dir=rtl] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner svg{margin-left:8px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner img,.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner svg{-webkit-margin-end:8px;max-width:20px;max-height:20px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:1.2}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--disabled .uppy-ProviderBrowserItem-inner{cursor:default}[dir=ltr] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-iconWrap{margin-right:7px}[dir=rtl] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-iconWrap{margin-left:7px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-iconWrap{width:20px;-webkit-margin-end:7px}.uppy-ProviderBrowserItem-fakeCheckbox{position:relative;cursor:pointer;flex-shrink:0}.uppy-ProviderBrowserItem-fakeCheckbox:disabled{cursor:default}.uppy-ProviderBrowserItem-fakeCheckbox:after{content:\"\";position:absolute;cursor:pointer;border-left:2px solid #eaeaea;border-bottom:2px solid #eaeaea;transform:rotate(-45deg)}.uppy-ProviderBrowserItem-fakeCheckbox:disabled:after{cursor:default}[data-uppy-theme=dark] .uppy-ProviderBrowserItem-fakeCheckbox{background-color:#1f1f1f;border-color:#939393}[data-uppy-theme=dark] .uppy-ProviderBrowserItem-fakeCheckbox--is-checked{background-color:#333}.uppy-SearchProvider{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1}[data-uppy-theme=dark] .uppy-SearchProvider{background-color:#1f1f1f}.uppy-SearchProvider-input{width:90%;max-width:650px;margin-bottom:15px}.uppy-size--md .uppy-SearchProvider-input{margin-bottom:20px}.uppy-SearchProvider-searchButton{padding:13px 25px}.uppy-size--md .uppy-SearchProvider-searchButton{padding:13px 30px}.uppy-DashboardContent-panelBody{display:flex;align-items:center;justify-content:center;flex:1}[data-uppy-theme=dark] .uppy-DashboardContent-panelBody{background-color:#1f1f1f}.uppy-Provider-auth,.uppy-Provider-empty,.uppy-Provider-error,.uppy-Provider-loading{display:flex;align-items:center;justify-content:center;flex-flow:column wrap;flex:1;color:#939393}.uppy-Provider-empty{color:#939393}.uppy-Provider-authIcon svg{width:100px;height:75px;margin-bottom:15px}.uppy-Provider-authTitle{font-size:17px;line-height:1.4;font-weight:400;margin-bottom:30px;padding:0 15px;max-width:500px;text-align:center;color:#757575}.uppy-size--md .uppy-Provider-authTitle{font-size:20px}[data-uppy-theme=dark] .uppy-Provider-authTitle{color:#cfcfcf}[dir=ltr] .uppy-Provider-breadcrumbs{text-align:left}[dir=rtl] .uppy-Provider-breadcrumbs{text-align:right}.uppy-Provider-breadcrumbs{flex:1;color:#525252;font-size:12px;margin-bottom:10px}.uppy-size--md .uppy-Provider-breadcrumbs{margin-bottom:0}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs{color:#eaeaea}[dir=ltr] .uppy-Provider-breadcrumbsIcon{margin-right:4px}[dir=rtl] .uppy-Provider-breadcrumbsIcon{margin-left:4px}.uppy-Provider-breadcrumbsIcon{display:inline-block;color:#525252;vertical-align:middle;-webkit-margin-end:4px;line-height:1}.uppy-Provider-breadcrumbsIcon svg{width:13px;height:13px;fill:#525252}.uppy-Provider-breadcrumbs button{display:inline-block;line-height:inherit;padding:4px;border-radius:3px}.uppy-Provider-breadcrumbs button:focus{outline:none}.uppy-Provider-breadcrumbs button::-moz-focus-inner{border:0}.uppy-Provider-breadcrumbs button:hover{color:#1b5dab}.uppy-Provider-breadcrumbs button:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs button:focus{background-color:#333}.uppy-Provider-breadcrumbs button:hover{text-decoration:underline;cursor:pointer}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs button{color:#eaeaea}.uppy-ProviderBrowser{display:flex;flex-direction:column;flex:1;font-size:14px;font-weight:400;height:100%}.uppy-ProviderBrowser-user{margin:0 8px 0 0;font-weight:500;color:#333}[data-uppy-theme=dark] .uppy-ProviderBrowser-user{color:#eaeaea}[dir=ltr] .uppy-ProviderBrowser-user:after{left:4px}[dir=rtl] .uppy-ProviderBrowser-user:after{right:4px}.uppy-ProviderBrowser-user:after{content:\"\u00B7\";position:relative;color:#939393;font-weight:400}.uppy-ProviderBrowser-header{z-index:1001;border-bottom:1px solid #eaeaea;position:relative}[data-uppy-theme=dark] .uppy-ProviderBrowser-header{border-bottom:1px solid #333}.uppy-ProviderBrowser-headerBar{padding:7px 15px;background-color:#fafafa;z-index:1001;color:#757575;line-height:1.4;font-size:12px}.uppy-size--md .uppy-ProviderBrowser-headerBar{display:flex;align-items:center}[data-uppy-theme=dark] .uppy-ProviderBrowser-headerBar{background-color:#1f1f1f}.uppy-ProviderBrowser-headerBar--simple{text-align:center;display:block;justify-content:center}.uppy-ProviderBrowser-headerBar--simple .uppy-Provider-breadcrumbsWrap{flex:none;display:inline-block;vertical-align:middle}.uppy-ProviderBrowser-search{width:100%;background-color:#fff;position:relative;height:30px;margin-top:10px;margin-bottom:5px;display:flex;align-items:center}[data-uppy-theme=dark] .uppy-ProviderBrowser-search{background-color:#1f1f1f}[dir=ltr] .uppy-ProviderBrowser-searchIcon{left:16px}[dir=rtl] .uppy-ProviderBrowser-searchIcon{right:16px}.uppy-ProviderBrowser-searchIcon{position:absolute;width:12px;height:12px;z-index:1002;color:#bbb}[dir=ltr] .uppy-ProviderBrowser-searchInput{padding-left:27px}[dir=rtl] .uppy-ProviderBrowser-searchInput{padding-right:27px}.uppy-ProviderBrowser-searchInput{width:100%;height:30px;background-color:transparent;outline:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:12px;line-height:1.4;border:0;margin:0 8px;-webkit-padding-start:27px;z-index:1001;border-radius:4px}[data-uppy-theme=dark] .uppy-ProviderBrowser-searchInput{background-color:#1f1f1f;color:#eaeaea}.uppy-ProviderBrowser-searchInput:focus{outline:0;background-color:#f4f4f4}[data-uppy-theme=dark] .uppy-ProviderBrowser-searchInput:focus{background-color:#333}[dir=ltr] .uppy-ProviderBrowser-searchClose{right:12px}[dir=rtl] .uppy-ProviderBrowser-searchClose{left:12px}.uppy-ProviderBrowser-searchClose{position:absolute;width:22px;height:22px;padding:6px;top:4px;z-index:1002;color:#939393;cursor:pointer}.uppy-ProviderBrowser-searchClose:hover{color:#757575}.uppy-ProviderBrowser-searchClose svg{vertical-align:text-top}.uppy-ProviderBrowser-searchInput:-ms-input-placeholder{color:#939393;opacity:1}.uppy-ProviderBrowser-searchInput::-moz-placeholder{color:#939393;opacity:1}.uppy-ProviderBrowser-searchInput::placeholder{color:#939393;opacity:1}.uppy-ProviderBrowser-userLogout{cursor:pointer;line-height:inherit;color:#2275d7;padding:4px;border-radius:3px}.uppy-ProviderBrowser-userLogout:focus{outline:none}.uppy-ProviderBrowser-userLogout::-moz-focus-inner{border:0}.uppy-ProviderBrowser-userLogout:hover{color:#1b5dab}.uppy-ProviderBrowser-userLogout:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-ProviderBrowser-userLogout:focus{background-color:#333}.uppy-ProviderBrowser-userLogout:hover{text-decoration:underline}[data-uppy-theme=dark] .uppy-ProviderBrowser-userLogout{color:#eaeaea}.uppy-ProviderBrowser-body{flex:1;position:relative}.uppy-ProviderBrowser-list{flex:1;position:relative;display:block;width:100%;height:100%;background-color:#fff;border-spacing:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;position:absolute;top:0;bottom:0;left:0;right:0;list-style:none;margin:0;padding:0}[data-uppy-theme=dark] .uppy-ProviderBrowser-list{background-color:#1f1f1f}.uppy-ProviderBrowser-list:focus{outline:none}.uppy-ProviderBrowserItem-inner{cursor:pointer;font-weight:500;font-size:13px}.uppy-ProviderBrowser-footer{display:flex;align-items:center;background-color:#fff;height:65px;border-top:1px solid #eaeaea;padding:0 15px}[dir=ltr] .uppy-ProviderBrowser-footer button{margin-right:8px}[dir=rtl] .uppy-ProviderBrowser-footer button{margin-left:8px}.uppy-ProviderBrowser-footer button{-webkit-margin-end:8px}[data-uppy-theme=dark] .uppy-ProviderBrowser-footer{background-color:#1f1f1f;border-top:1px solid #333}.uppy-Dashboard-Item-previewInnerWrap{width:100%;height:100%;overflow:hidden;position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column;box-shadow:0 0 2px 0 rgba(0,0,0,.4);border-radius:3px}.uppy-size--md .uppy-Dashboard-Item-previewInnerWrap{box-shadow:0 1px 2px rgba(0,0,0,.15)}.uppy-Dashboard-Item-previewInnerWrap:after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;background-color:rgba(0,0,0,.65);display:none;z-index:1001}.uppy-Dashboard-Item-previewLink{position:absolute;left:0;right:0;top:0;bottom:0;z-index:1002}.uppy-Dashboard-Item-previewLink:focus{box-shadow:inset 0 0 0 3px #76abe9}[data-uppy-theme=dark] .uppy-Dashboard-Item-previewLink:focus{box-shadow:inset 0 0 0 3px #016c8d}.uppy-Dashboard-Item-preview img.uppy-Dashboard-Item-previewImg{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transform:translateZ(0);border-radius:3px}.uppy-Dashboard-Item-progress{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1002;color:#fff;text-align:center;width:120px;transition:all .35 ease}.uppy-Dashboard-Item-progressIndicator{display:inline-block;width:38px;height:38px;opacity:.9}.uppy-size--md .uppy-Dashboard-Item-progressIndicator{width:55px;height:55px}button.uppy-Dashboard-Item-progressIndicator{cursor:pointer}button.uppy-Dashboard-Item-progressIndicator:focus{outline:none}button.uppy-Dashboard-Item-progressIndicator::-moz-focus-inner{border:0}button.uppy-Dashboard-Item-progressIndicator:focus .uppy-Dashboard-Item-progressIcon--bg,button.uppy-Dashboard-Item-progressIndicator:focus .uppy-Dashboard-Item-progressIcon--retry{fill:#76abe9}.uppy-Dashboard-Item-progressIcon--circle{width:100%;height:100%}.uppy-Dashboard-Item-progressIcon--bg{stroke:hsla(0,0%,100%,.4)}.uppy-Dashboard-Item-progressIcon--progress{stroke:#fff;transition:stroke-dashoffset .5s ease-out}.uppy-Dashboard-Item-progressIcon--play{stroke:#fff;fill:#fff;transition:all .2s}.uppy-Dashboard-Item-progressIcon--cancel{fill:#fff;transition:all .2s}.uppy-Dashboard-Item-progressIcon--pause{stroke:#fff;fill:#fff;transition:all .2s}.uppy-Dashboard-Item-progressIcon--check{fill:#fff;transition:all .2s}.uppy-Dashboard-Item-progressIcon--retry{fill:#fff}[dir=ltr] .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{right:-8px}[dir=rtl] .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{left:-8px}[dir=ltr] .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{left:auto}[dir=rtl] .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{right:auto}.uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{transform:none;top:-9px;width:auto}.uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-progressIndicator{width:18px;height:18px}.uppy-size--md .uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-progressIndicator{width:28px;height:28px}.uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progressIndicator{width:18px;height:18px;opacity:1}.uppy-size--md .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progressIndicator{width:22px;height:22px}.uppy-Dashboard-Item.is-processing .uppy-Dashboard-Item-progress{opacity:0}[dir=ltr] .uppy-Dashboard-Item-fileInfo{padding-right:5px}[dir=rtl] .uppy-Dashboard-Item-fileInfo{padding-left:5px}.uppy-Dashboard-Item-fileInfo{-webkit-padding-end:5px}.uppy-Dashboard-Item-name{font-size:12px;line-height:1.3;font-weight:500;margin-bottom:4px;word-break:break-all;word-wrap:anywhere}[data-uppy-theme=dark] .uppy-Dashboard-Item-name{color:#eaeaea}.uppy-Dashboard-Item-status{font-size:11px;line-height:1.3;font-weight:400;color:#757575}[data-uppy-theme=dark] .uppy-Dashboard-Item-status{color:#bbb}.uppy-Dashboard-Item-statusSize{display:inline-block;vertical-align:bottom;text-transform:uppercase}.uppy-Dashboard-Item-sourceIcon{display:none;vertical-align:bottom;color:#bbb}[dir=ltr] .uppy-Dashboard-Item-sourceIcon:not(:first-child){margin-left:14px}[dir=rtl] .uppy-Dashboard-Item-sourceIcon:not(:first-child){margin-right:14px}.uppy-Dashboard-Item-sourceIcon:not(:first-child){position:relative;-webkit-margin-start:14px}.uppy-Dashboard-Item-sourceIcon svg,.uppy-Dashboard-Item-sourceIcon svg *{max-width:100%;max-height:100%;display:inline-block;vertical-align:text-bottom;overflow:hidden;fill:currentColor;width:11px;height:12px}.uppy-Dashboard-Item-action{cursor:pointer;color:#939393}.uppy-Dashboard-Item-action:focus{outline:none}.uppy-Dashboard-Item-action::-moz-focus-inner{border:0}.uppy-Dashboard-Item-action:focus{box-shadow:0 0 0 3px rgba(34,117,215,.5)}.uppy-Dashboard-Item-action:hover{opacity:1;color:#1f1f1f}[data-uppy-theme=dark] .uppy-Dashboard-Item-action{color:#cfcfcf}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:focus{outline:none}[data-uppy-theme=dark] .uppy-Dashboard-Item-action::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:focus{box-shadow:0 0 0 2px rgba(170,225,255,.85)}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:hover{color:#eaeaea}.uppy-Dashboard-Item-action--remove{color:#1f1f1f;opacity:.95}.uppy-Dashboard-Item-action--remove:hover{opacity:1;color:#000}[data-uppy-theme=dark] .uppy-Dashboard-Item-action--remove{color:#525252}[data-uppy-theme=dark] .uppy-Dashboard-Item-action--remove:hover{color:#333}.uppy-Dashboard:not(.uppy-size--md) .uppy-Dashboard-Item-actionWrapper{display:flex;align-items:center}.uppy-Dashboard:not(.uppy-size--md) .uppy-Dashboard-Item-action{width:22px;height:22px;padding:3px;margin-left:3px}.uppy-Dashboard:not(.uppy-size--md) .uppy-Dashboard-Item-action:focus{border-radius:3px}.uppy-size--md .uppy-Dashboard-Item-action--copyLink,.uppy-size--md .uppy-Dashboard-Item-action--edit{width:16px;height:16px;padding:0}.uppy-size--md .uppy-Dashboard-Item-action--copyLink:focus,.uppy-size--md .uppy-Dashboard-Item-action--edit:focus{border-radius:3px}[dir=ltr] .uppy-size--md .uppy-Dashboard-Item-action--remove{right:-8px}[dir=rtl] .uppy-size--md .uppy-Dashboard-Item-action--remove{left:-8px}.uppy-size--md .uppy-Dashboard-Item-action--remove{z-index:1002;position:absolute;top:-8px;width:18px;height:18px;padding:0}.uppy-size--md .uppy-Dashboard-Item-action--remove:focus{border-radius:50%}[dir=ltr] .uppy-Dashboard-Item{padding-right:0}[dir=rtl] .uppy-Dashboard-Item{padding-left:0}.uppy-Dashboard-Item{display:flex;align-items:center;border-bottom:1px solid #eaeaea;padding:10px;-webkit-padding-end:0}[data-uppy-theme=dark] .uppy-Dashboard-Item{border-bottom:1px solid #333}[dir=ltr] .uppy-size--md .uppy-Dashboard-Item{float:left}[dir=rtl] .uppy-size--md .uppy-Dashboard-Item{float:right}.uppy-size--md .uppy-Dashboard-Item{position:relative;display:block;margin:5px 15px;padding:0;width:calc(33.333% - 30px);height:215px;border-bottom:0}.uppy-size--lg .uppy-Dashboard-Item{margin:5px 15px;width:calc(25% - 30px);height:190px}.uppy-size--xl .uppy-Dashboard-Item{width:calc(20% - 30px);height:210px}.uppy-Dashboard-Item-preview{position:relative}.uppy-Dashboard:not(.uppy-size--md) .uppy-Dashboard-Item-preview{flex-shrink:0;flex-grow:0;width:50px;height:50px}.uppy-size--md .uppy-Dashboard-Item-preview{width:100%;height:140px}.uppy-size--lg .uppy-Dashboard-Item-preview{height:120px}.uppy-size--xl .uppy-Dashboard-Item-preview{height:140px}[dir=ltr] .uppy-Dashboard-Item-fileInfoAndButtons{padding-right:8px}[dir=rtl] .uppy-Dashboard-Item-fileInfoAndButtons{padding-left:8px}[dir=ltr] .uppy-Dashboard-Item-fileInfoAndButtons{padding-left:12px}[dir=rtl] .uppy-Dashboard-Item-fileInfoAndButtons{padding-right:12px}.uppy-Dashboard-Item-fileInfoAndButtons{flex-grow:1;-webkit-padding-end:8px;-webkit-padding-start:12px;display:flex;align-items:center;justify-content:space-between}.uppy-size--md .uppy-Dashboard-Item-fileInfoAndButtons{align-items:flex-start;width:100%;padding:9px 0 0}.uppy-Dashboard-Item-fileInfo{flex-grow:1;flex-shrink:1}.uppy-Dashboard-Item-actionWrapper{flex-grow:0;flex-shrink:0}.uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-previewInnerWrap:after,.uppy-Dashboard-Item.is-inprogress .uppy-Dashboard-Item-previewInnerWrap:after{display:block}.uppy-Dashboard-Item.is-inprogress:not(.is-resumable) .uppy-Dashboard-Item-action--remove{display:none}[dir=ltr] .uppy-Dashboard-Item-errorDetails{left:6px}[dir=rtl] .uppy-Dashboard-Item-errorDetails{right:6px}.uppy-Dashboard-Item-errorDetails{line-height:12px;width:12px;height:12px;display:inline-block;vertical-align:middle;color:#fff;background-color:#939393;border-radius:50%;position:relative;top:-1px;font-size:8px;font-weight:600;text-align:center;cursor:help}.uppy-Dashboard-Item-errorDetails:after{line-height:1.3;word-wrap:break-word}.uppy-Dashboard-FileCard{width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;z-index:1005;box-shadow:0 0 10px 4px rgba(0,0,0,.1);background-color:#fff;border-radius:5px;display:flex;flex-direction:column}.uppy-Dashboard-FileCard .uppy-DashboardContent-bar{border-top-left-radius:5px;border-top-right-radius:5px}.uppy-Dashboard-FileCard .uppy-Dashboard-FileCard-actions{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.uppy-Dashboard-FileCard-inner{height:100%;flex-grow:1;flex-direction:column}.uppy-Dashboard-FileCard-inner,.uppy-Dashboard-FileCard-preview{flex-shrink:1;min-height:0;display:flex}.uppy-Dashboard-FileCard-preview{height:60%;flex-grow:0;border-bottom:1px solid #eaeaea;align-items:center;justify-content:center;position:relative}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-preview{background-color:#333;border-bottom:0}.uppy-Dashboard-FileCard-preview img.uppy-Dashboard-Item-previewImg{max-width:90%;max-height:90%;-o-object-fit:cover;object-fit:cover;flex:0 0 auto;border-radius:3px;box-shadow:0 3px 20px rgba(0,0,0,.15)}[dir=ltr] .uppy-Dashboard-FileCard-edit{right:10px}[dir=rtl] .uppy-Dashboard-FileCard-edit{left:10px}.uppy-Dashboard-FileCard-edit{position:absolute;top:10px;font-size:13px;background-color:rgba(0,0,0,.5);color:#fff;padding:7px 15px;border-radius:50px}.uppy-Dashboard-FileCard-edit:focus{outline:none}.uppy-Dashboard-FileCard-edit::-moz-focus-inner{border:0}.uppy-Dashboard-FileCard-edit:focus{box-shadow:0 0 0 3px rgba(34,117,215,.5)}.uppy-Dashboard-FileCard-edit:hover{background-color:rgba(0,0,0,.8)}.uppy-Dashboard-FileCard-info{height:40%;flex-grow:0;flex-shrink:0;padding:30px 20px 20px;overflow-y:auto;-webkit-overflow-scrolling:touch}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-info{background-color:#1f1f1f}.uppy-Dashboard-FileCard-fieldset{font-size:0;border:0;padding:0;max-width:640px;margin:auto auto 12px}.uppy-Dashboard-FileCard-label{display:inline-block;vertical-align:middle;width:22%;font-size:12px;color:#525252}.uppy-size--md .uppy-Dashboard-FileCard-label{font-size:14px}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-label{color:#eaeaea}.uppy-Dashboard-FileCard-input{display:inline-block;vertical-align:middle;width:78%}.uppy-Dashboard-FileCard-actions{height:55px;flex-shrink:0;flex-grow:0;border-top:1px solid #eaeaea;padding:0 15px;background-color:#fafafa;display:flex;align-items:center}.uppy-size--md .uppy-Dashboard-FileCard-actions{height:65px}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-actions{border-top:1px solid #333;background-color:#1f1f1f}[dir=ltr] .uppy-Dashboard-FileCard-actionsBtn{margin-right:10px}[dir=rtl] .uppy-Dashboard-FileCard-actionsBtn{margin-left:10px}.uppy-Dashboard-FileCard-actionsBtn{-webkit-margin-end:10px}.uppy-transition-slideDownUp-enter{opacity:.01;transform:translate3d(0,-105%,0);transition:transform .25s ease-in-out,opacity .25s ease-in-out}.uppy-transition-slideDownUp-enter.uppy-transition-slideDownUp-enter-active{opacity:1;transform:translateZ(0)}.uppy-transition-slideDownUp-leave{opacity:1;transform:translateZ(0);transition:transform .25s ease-in-out,opacity .25s ease-in-out}.uppy-transition-slideDownUp-leave.uppy-transition-slideDownUp-leave-active{opacity:.01;transform:translate3d(0,-105%,0)}@-webkit-keyframes uppy-Dashboard-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes uppy-Dashboard-fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes uppy-Dashboard-fadeOut{0%{opacity:1}to{opacity:0}}@keyframes uppy-Dashboard-fadeOut{0%{opacity:1}to{opacity:0}}@-webkit-keyframes uppy-Dashboard-slideDownAndFadeIn{0%{transform:translate3d(-50%,-70%,0);opacity:0}to{transform:translate3d(-50%,-50%,0);opacity:1}}@keyframes uppy-Dashboard-slideDownAndFadeIn{0%{transform:translate3d(-50%,-70%,0);opacity:0}to{transform:translate3d(-50%,-50%,0);opacity:1}}@-webkit-keyframes uppy-Dashboard-slideDownAndFadeIn--small{0%{transform:translate3d(0,-20%,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes uppy-Dashboard-slideDownAndFadeIn--small{0%{transform:translate3d(0,-20%,0);opacity:0}to{transform:translateZ(0);opacity:1}}@-webkit-keyframes uppy-Dashboard-slideUpFadeOut{0%{transform:translate3d(-50%,-50%,0);opacity:1}to{transform:translate3d(-50%,-70%,0);opacity:0}}@keyframes uppy-Dashboard-slideUpFadeOut{0%{transform:translate3d(-50%,-50%,0);opacity:1}to{transform:translate3d(-50%,-70%,0);opacity:0}}@-webkit-keyframes uppy-Dashboard-slideUpFadeOut--small{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20%,0);opacity:0}}@keyframes uppy-Dashboard-slideUpFadeOut--small{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20%,0);opacity:0}}.uppy-Dashboard--modal{z-index:1001}.uppy-Dashboard--modal[aria-hidden=true]{display:none}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-inner{-webkit-animation:uppy-Dashboard-slideDownAndFadeIn--small .3s cubic-bezier(0,0,.2,1);animation:uppy-Dashboard-slideDownAndFadeIn--small .3s cubic-bezier(0,0,.2,1)}@media only screen and (min-width:820px){.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-inner{-webkit-animation:uppy-Dashboard-slideDownAndFadeIn .3s cubic-bezier(0,0,.2,1);animation:uppy-Dashboard-slideDownAndFadeIn .3s cubic-bezier(0,0,.2,1)}}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-overlay{-webkit-animation:uppy-Dashboard-fadeIn .3s cubic-bezier(0,0,.2,1);animation:uppy-Dashboard-fadeIn .3s cubic-bezier(0,0,.2,1)}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-inner{-webkit-animation:uppy-Dashboard-slideUpFadeOut--small .3s cubic-bezier(0,0,.2,1);animation:uppy-Dashboard-slideUpFadeOut--small .3s cubic-bezier(0,0,.2,1)}@media only screen and (min-width:820px){.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-inner{-webkit-animation:uppy-Dashboard-slideUpFadeOut .3s cubic-bezier(0,0,.2,1);animation:uppy-Dashboard-slideUpFadeOut .3s cubic-bezier(0,0,.2,1)}}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-overlay{-webkit-animation:uppy-Dashboard-fadeOut .3s cubic-bezier(0,0,.2,1);animation:uppy-Dashboard-fadeOut .3s cubic-bezier(0,0,.2,1)}.uppy-Dashboard-isFixed{overflow:hidden;height:100vh}.uppy-Dashboard--modal .uppy-Dashboard-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);z-index:1001}.uppy-Dashboard-inner{position:relative;background-color:#fafafa;max-width:100%;max-height:100%;outline:none;border:1px solid #eaeaea;border-radius:5px}.uppy-size--md .uppy-Dashboard-inner{min-height:auto}@media only screen and (min-width:820px){.uppy-Dashboard-inner{width:750px;height:550px}}.uppy-Dashboard--modal .uppy-Dashboard-inner{z-index:1002}[data-uppy-theme=dark] .uppy-Dashboard-inner{background-color:#1f1f1f}.uppy-Dashboard--isDisabled .uppy-Dashboard-inner{cursor:not-allowed}.uppy-Dashboard-innerWrap{display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;border-radius:5px;opacity:0}.uppy-Dashboard--isInnerWrapVisible .uppy-Dashboard-innerWrap{opacity:1}.uppy-Dashboard--isDisabled .uppy-Dashboard-innerWrap{pointer-events:none;opacity:.6;filter:grayscale(100%);-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}.uppy-Dashboard--isDisabled .uppy-ProviderIconBg{fill:#9f9f9f}.uppy-Dashboard--modal .uppy-Dashboard-inner{position:fixed;top:35px;left:15px;right:15px;bottom:15px;border:none}@media only screen and (min-width:820px){.uppy-Dashboard--modal .uppy-Dashboard-inner{top:50%;left:50%;right:auto;transform:translate(-50%,-50%);box-shadow:0 5px 15px 4px rgba(0,0,0,.15)}}[dir=ltr] .uppy-Dashboard-close{right:-2px}[dir=rtl] .uppy-Dashboard-close{left:-2px}.uppy-Dashboard-close{display:block;position:absolute;top:-33px;cursor:pointer;color:hsla(0,0%,100%,.9);font-size:27px;z-index:1005}.uppy-Dashboard-close:focus{outline:none}.uppy-Dashboard-close::-moz-focus-inner{border:0}.uppy-Dashboard-close:focus{color:#8cb8ed}@media only screen and (min-width:820px){[dir=ltr] .uppy-Dashboard-close{right:-35px}[dir=rtl] .uppy-Dashboard-close{left:-35px}.uppy-Dashboard-close{font-size:35px;top:-10px}}.uppy-Dashboard-AddFiles{display:flex;justify-content:center;align-items:center;flex-direction:column;height:100%;position:relative;text-align:center}[data-uppy-drag-drop-supported=true] .uppy-Dashboard-AddFiles{margin:7px;height:calc(100% - 14px);border-radius:3px;border:1px dashed #dfdfdf}.uppy-Dashboard-AddFilesPanel .uppy-Dashboard-AddFiles{border:none;height:calc(100% - 54px)}.uppy-Dashboard--modal .uppy-Dashboard-AddFiles{border-color:#cfcfcf}[data-uppy-theme=dark] .uppy-Dashboard-AddFiles{border-color:#757575}.uppy-Dashboard-AddFiles-info{padding-top:15px;padding-bottom:15px;margin-top:auto;display:none}.uppy-size--height-md .uppy-Dashboard-AddFiles-info{display:block}.uppy-size--md .uppy-Dashboard-AddFiles-info{position:absolute;bottom:25px;left:0;right:0;padding-top:30px;padding-bottom:0}[data-uppy-num-acquirers=\"0\"] .uppy-Dashboard-AddFiles-info{margin-top:0}.uppy-Dashboard-browse{cursor:pointer;color:rgba(34,117,215,.9)}.uppy-Dashboard-browse:focus{outline:none}.uppy-Dashboard-browse::-moz-focus-inner{border:0}.uppy-Dashboard-browse:focus,.uppy-Dashboard-browse:hover{border-bottom:1px solid #2275d7}[data-uppy-theme=dark] .uppy-Dashboard-browse{color:rgba(2,186,242,.9)}[data-uppy-theme=dark] .uppy-Dashboard-browse:focus,[data-uppy-theme=dark] .uppy-Dashboard-browse:hover{border-bottom:1px solid #02baf2}.uppy-Dashboard-browseBtn{display:block;font-size:14px;font-weight:500;margin-top:8px;margin-bottom:5px;width:100%}.uppy-size--md .uppy-Dashboard-browseBtn{font-size:15px;width:auto;margin:15px auto;padding:13px 44px}.uppy-Dashboard-AddFiles-list{display:flex;flex-direction:column;flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-top:2px;padding:2px 0;width:100%}.uppy-size--md .uppy-Dashboard-AddFiles-list{flex-direction:row;flex-wrap:wrap;justify-content:center;max-width:600px;overflow-y:visible;margin-top:15px;padding-top:0;flex:none}.uppy-DashboardTab{width:100%;text-align:center;border-bottom:1px solid #eaeaea}[data-uppy-theme=dark] .uppy-DashboardTab{border-bottom:1px solid #333}.uppy-size--md .uppy-DashboardTab{display:inline-block;width:auto;margin-bottom:10px;border-bottom:none}.uppy-DashboardTab-btn{width:100%;height:100%;cursor:pointer;border:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:#525252;display:flex;flex-direction:row;align-items:center;padding:12px 15px;line-height:1;text-align:center}.uppy-DashboardTab-btn:focus{outline:none}[dir=ltr] .uppy-size--md .uppy-DashboardTab-btn{margin-right:1px}[dir=rtl] .uppy-size--md .uppy-DashboardTab-btn{margin-left:1px}.uppy-size--md .uppy-DashboardTab-btn{width:86px;-webkit-margin-end:1px;flex-direction:column;padding:10px 3px;border-radius:5px}[data-uppy-theme=dark] .uppy-DashboardTab-btn{color:#eaeaea}.uppy-DashboardTab-btn::-moz-focus-inner{border:0}.uppy-DashboardTab-btn:hover{background-color:#f1f3f6}[data-uppy-theme=dark] .uppy-DashboardTab-btn:hover{background-color:#333}.uppy-DashboardTab-btn:active,.uppy-DashboardTab-btn:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-DashboardTab-btn:active,[data-uppy-theme=dark] .uppy-DashboardTab-btn:focus{background-color:#525252}[dir=ltr] .uppy-DashboardTab-btn svg{margin-right:10px}[dir=rtl] .uppy-DashboardTab-btn svg{margin-left:10px}.uppy-DashboardTab-btn svg{max-width:100%;max-height:100%;display:inline-block;vertical-align:text-top;overflow:hidden;transition:transform .15s ease-in-out;-webkit-margin-end:10px}[dir=ltr] .uppy-size--md .uppy-DashboardTab-btn svg{margin-right:0}[dir=rtl] .uppy-size--md .uppy-DashboardTab-btn svg{margin-left:0}.uppy-size--md .uppy-DashboardTab-btn svg{-webkit-margin-end:0}.uppy-DashboardTab-name{font-size:14px;font-weight:500}.uppy-size--md .uppy-DashboardTab-name{font-size:11px;line-height:15px;margin-top:8px;margin-bottom:0}.uppy-DashboardTab svg{width:23px;height:23px;vertical-align:middle}.uppy-size--md .uppy-DashboardTab svg{width:30px;height:30px}.uppy-Dashboard-input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}.uppy-DashboardContent-bar{flex-shrink:0;height:40px;width:100%;padding:0 10px;z-index:1004;display:flex;align-items:center;justify-content:space-between;position:relative;border-bottom:1px solid #eaeaea;background-color:#fafafa}.uppy-size--md .uppy-DashboardContent-bar{height:50px;padding:0 15px}[data-uppy-theme=dark] .uppy-DashboardContent-bar{background-color:#1f1f1f;border-bottom:1px solid #333}.uppy-DashboardContent-title{position:absolute;top:0;left:0;right:0;text-align:center;font-size:12px;line-height:40px;font-weight:500;width:100%;max-width:170px;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;margin:auto}.uppy-size--md .uppy-DashboardContent-title{font-size:14px;line-height:50px;max-width:300px}[data-uppy-theme=dark] .uppy-DashboardContent-title{color:#eaeaea}[dir=ltr] .uppy-DashboardContent-back{margin-left:-6px}[dir=rtl] .uppy-DashboardContent-back{margin-right:-6px}.uppy-DashboardContent-back{background:none;-webkit-appearance:none;font-family:inherit;font-size:inherit;line-height:1;margin:0;border:0;color:inherit;border-radius:3px;font-size:12px;font-weight:400;cursor:pointer;color:#2275d7;padding:7px 6px;-webkit-margin-start:-6px}.uppy-DashboardContent-back:focus{outline:none}.uppy-DashboardContent-back::-moz-focus-inner{border:0}.uppy-DashboardContent-back:hover{color:#1b5dab}.uppy-DashboardContent-back:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-DashboardContent-back:focus{background-color:#333}.uppy-size--md .uppy-DashboardContent-back{font-size:14px}[data-uppy-theme=dark] .uppy-DashboardContent-back{color:#02baf2}[dir=ltr] .uppy-DashboardContent-addMore{margin-right:-5px}[dir=rtl] .uppy-DashboardContent-addMore{margin-left:-5px}.uppy-DashboardContent-addMore{background:none;-webkit-appearance:none;font-family:inherit;font-size:inherit;line-height:1;margin:0;border:0;color:inherit;border-radius:3px;font-weight:500;cursor:pointer;color:#2275d7;width:29px;height:29px;padding:7px 8px;-webkit-margin-end:-5px}.uppy-DashboardContent-addMore:focus{outline:none}.uppy-DashboardContent-addMore::-moz-focus-inner{border:0}.uppy-DashboardContent-addMore:hover{color:#1b5dab}.uppy-DashboardContent-addMore:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-DashboardContent-addMore:focus{background-color:#333}[dir=ltr] .uppy-size--md .uppy-DashboardContent-addMore{margin-right:-8px}[dir=rtl] .uppy-size--md .uppy-DashboardContent-addMore{margin-left:-8px}.uppy-size--md .uppy-DashboardContent-addMore{font-size:14px;width:auto;height:auto;-webkit-margin-end:-8px}[data-uppy-theme=dark] .uppy-DashboardContent-addMore{color:#02baf2}[dir=ltr] .uppy-DashboardContent-addMore svg{margin-right:4px}[dir=rtl] .uppy-DashboardContent-addMore svg{margin-left:4px}.uppy-DashboardContent-addMore svg{vertical-align:baseline;-webkit-margin-end:4px}.uppy-size--md .uppy-DashboardContent-addMore svg{width:11px;height:11px}.uppy-DashboardContent-addMoreCaption{display:none}.uppy-size--md .uppy-DashboardContent-addMoreCaption{display:inline}.uppy-DashboardContent-panel{background-color:#f5f5f5;flex-direction:column;flex:1}.uppy-Dashboard-AddFilesPanel,.uppy-DashboardContent-panel{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;z-index:1005;border-radius:5px;display:flex}.uppy-Dashboard-AddFilesPanel{background:#fafafa;background:linear-gradient(0deg,#fafafa 35%,hsla(0,0%,98%,.85));box-shadow:0 0 10px 5px rgba(0,0,0,.15);flex-direction:column}[data-uppy-theme=dark] .uppy-Dashboard-AddFilesPanel{background-color:#333;background:linear-gradient(0deg,#1f1f1f 35%,rgba(31,31,31,.85))}.uppy-Dashboard--isAddFilesPanelVisible .uppy-Dashboard-files{filter:blur(2px)}.uppy-Dashboard-progress{position:absolute;bottom:0;left:0;width:100%;height:12%}.uppy-Dashboard-progressBarContainer.is-active{z-index:1004;position:absolute;top:0;left:0;width:100%;height:100%}.uppy-Dashboard:not(.uppy-size--md) .uppy-StatusBar-additionalInfo{display:none}.uppy-Dashboard-filesContainer{position:relative;overflow-y:hidden;margin:0;flex:1}.uppy-Dashboard-filesContainer:after{content:\"\";display:table;clear:both}.uppy-Dashboard-files{margin:0;padding:0 0 10px;overflow-y:auto;-webkit-overflow-scrolling:touch;flex:1}.uppy-size--md .uppy-Dashboard-files{padding-top:10px}.uppy-Dashboard-dropFilesHereHint{display:flex;align-items:center;justify-content:center;visibility:hidden;position:absolute;top:7px;right:7px;bottom:7px;left:7px;padding-top:90px;border:1px dashed #2275d7;border-radius:3px;z-index:2000;text-align:center;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='48' height='48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 1v1C11.85 2 2 11.85 2 24s9.85 22 22 22 22-9.85 22-22S36.15 2 24 2V1zm0 0V0c13.254 0 24 10.746 24 24S37.254 48 24 48 0 37.254 0 24 10.746 0 24 0v1zm7.707 19.293a.999.999 0 11-1.414 1.414L25 16.414V34a1 1 0 11-2 0V16.414l-5.293 5.293a.999.999 0 11-1.414-1.414l7-7a.999.999 0 011.414 0l7 7z' fill='%232275D7'/%3E%3C/svg%3E\");background-position:50% 50%;background-repeat:no-repeat;color:#757575;font-size:16px}[data-uppy-theme=dark] .uppy-Dashboard-dropFilesHereHint{color:#bbb;border-color:#02baf2;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='48' height='48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 1v1C11.85 2 2 11.85 2 24s9.85 22 22 22 22-9.85 22-22S36.15 2 24 2V1zm0 0V0c13.254 0 24 10.746 24 24S37.254 48 24 48 0 37.254 0 24 10.746 0 24 0v1zm7.707 19.293a.999.999 0 11-1.414 1.414L25 16.414V34a1 1 0 11-2 0V16.414l-5.293 5.293a.999.999 0 11-1.414-1.414l7-7a.999.999 0 011.414 0l7 7z' fill='%2302BAF2'/%3E%3C/svg%3E\")}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-dropFilesHereHint{visibility:visible}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-files,.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-progressindicators,.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-DashboardContent-bar{opacity:.15}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-AddFiles{opacity:.03}.uppy-Dashboard-AddFiles-title{font-size:17px;line-height:1.35;font-weight:500;color:#000;margin-top:15px;margin-bottom:5px;text-align:inline-start;padding:0 15px;width:100%}.uppy-size--md .uppy-Dashboard-AddFiles-title{font-size:25px;margin-top:5px;font-weight:400;text-align:center;max-width:480px}[data-uppy-num-acquirers=\"0\"] .uppy-Dashboard-AddFiles-title{text-align:center}[data-uppy-theme=dark] .uppy-Dashboard-AddFiles-title{color:#eaeaea}.uppy-Dashboard-AddFiles-title button{font-weight:500}.uppy-size--md .uppy-Dashboard-AddFiles-title button{font-weight:400}.uppy-Dashboard-note{font-size:14px;line-height:1.25;text-align:center;color:#757575;max-width:350px;margin:auto;padding:0 15px}.uppy-size--md .uppy-Dashboard-note{font-size:15px;line-height:1.35;max-width:600px}[data-uppy-theme=dark] .uppy-Dashboard-note{color:#cfcfcf}a.uppy-Dashboard-poweredBy{display:inline-block;text-align:center;font-size:11px;color:#939393;text-decoration:none;margin-top:8px}.uppy-Dashboard-poweredByIcon{stroke:#939393;fill:none;margin-left:1px;margin-right:1px;position:relative;top:1px;opacity:.9;vertical-align:text-top}.uppy-Dashboard-Item-previewIcon{width:25px;height:25px;z-index:100;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.uppy-size--md .uppy-Dashboard-Item-previewIcon{width:38px;height:38px}.uppy-Dashboard-Item-previewIcon svg{width:100%;height:100%}.uppy-Dashboard-Item-previewIconWrap{height:76px;max-height:75%;position:relative}.uppy-Dashboard-Item-previewIconBg{width:100%;height:100%;filter:drop-shadow(rgba(0,0,0,.1) 0 1px 1px)}.uppy-Dashboard-upload{position:relative;width:50px;height:50px}.uppy-size--md .uppy-Dashboard-upload{width:60px;height:60px}.uppy-Dashboard-upload .uppy-c-icon{position:relative;top:1px;width:50%}[dir=ltr] .uppy-Dashboard-uploadCount{right:-12px}[dir=rtl] .uppy-Dashboard-uploadCount{left:-12px}.uppy-Dashboard-uploadCount{position:absolute;top:-12px;background-color:#1bb240;color:#fff;border-radius:50%;width:16px;height:16px;line-height:16px;font-size:8px}.uppy-size--md .uppy-Dashboard-uploadCount{width:18px;height:18px;line-height:18px;font-size:9px}"]
987
- },] }
988
- ];
989
- FileManagementButtonsComponent.ctorParameters = () => [
990
- { type: UploadService }
991
- ];
1250
+ FileManagementButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementButtonsComponent, deps: [{ token: UploadService }], target: i0.ɵɵFactoryTarget.Component });
1251
+ FileManagementButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.9", type: FileManagementButtonsComponent, selector: "abp-file-management-buttons", ngImport: i0, template: "<abp-button\n *abpPermission=\"fileCreatePermission\"\n [buttonId]=\"buttonId\"\n iconClass=\"fa fa-upload mr-2\"\n buttonClass=\"btn btn-primary btn-block mb-2\"\n >{{ \"FileManagement::UploadFiles\" | abpLocalization }}</abp-button\n>\n\n<abp-button\n *abpPermission=\"directoryCreatePermission\"\n iconClass=\"fa fa-folder-plus mr-2\"\n buttonClass=\"btn btn-light btn-outline-primary btn-block mb-4\"\n (click)=\"folderCreateModal = true\"\n >{{ \"FileManagement::CreateFolder\" | abpLocalization }}</abp-button\n>\n\n<abp-create-folder-modal\n [(visible)]=\"folderCreateModal\"\n></abp-create-folder-modal>\n", styles: [".uppy-Root{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:left;position:relative;color:#333}.uppy-Root[dir=rtl],[dir=rtl] .uppy-Root{text-align:right}.uppy-Root *,.uppy-Root :after,.uppy-Root :before{box-sizing:inherit}.uppy-Root [hidden]{display:none}.uppy-u-reset{-webkit-appearance:none;line-height:1;padding:0;color:inherit;-webkit-backface-visibility:visible;backface-visibility:visible;background:none;border:none;border-collapse:separate;border-image:none;border-radius:0;border-spacing:0;box-shadow:none;clear:none;cursor:auto;display:inline;empty-cells:show;float:none;font-family:inherit;font-size:inherit;font-style:normal;font-feature-settings:normal;font-variant:normal;font-weight:400;font-stretch:normal;-webkit-hyphens:none;hyphens:none;left:auto;letter-spacing:normal;list-style:none;margin:0;max-height:none;max-width:none;min-height:0;min-width:0;opacity:1;outline:medium none invert;overflow:visible;overflow-x:visible;overflow-y:visible;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;top:auto;transform:none;transform-origin:50% 50% 0;transform-style:flat;transition:none 0s ease 0s;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;z-index:auto}[dir=rtl] .uppy-u-reset{text-align:right}.uppy-c-textInput{border:1px solid #ddd;border-radius:4px;font-size:14px;line-height:1.5;padding:6px 8px;background-color:#fff}.uppy-size--md .uppy-c-textInput{padding:8px 10px}.uppy-c-textInput:focus{border-color:#2275d799;outline:none;box-shadow:0 0 0 3px #2275d726}[data-uppy-theme=dark] .uppy-c-textInput{background-color:#333;border-color:#333;color:#eaeaea}[data-uppy-theme=dark] .uppy-c-textInput:focus{border-color:#525252;box-shadow:none}.uppy-c-icon{max-width:100%;max-height:100%;fill:currentColor;display:inline-block;overflow:hidden}.uppy-c-btn{display:inline-block;white-space:nowrap;vertical-align:middle;font-family:inherit;font-size:16px;line-height:1;font-weight:500;transition-property:background-color,color;transition-duration:.3s;-webkit-user-select:none;user-select:none}.uppy-c-btn,[dir=rtl] .uppy-c-btn{text-align:center}.uppy-c-btn:not(:disabled):not(.disabled){cursor:pointer}.uppy-c-btn::-moz-focus-inner{border:0}.uppy-c-btn-primary{font-size:14px;padding:10px 18px;border-radius:4px;background-color:#2275d7;color:#fff}.uppy-c-btn-primary:hover{background-color:#1b5dab}.uppy-c-btn-primary:focus{outline:none;box-shadow:0 0 0 3px #2275d766}.uppy-size--md .uppy-c-btn-primary{padding:13px 22px}[data-uppy-theme=dark] .uppy-c-btn-primary{color:#eaeaea}[data-uppy-theme=dark] .uppy-c-btn-primary:focus{outline:none}[data-uppy-theme=dark] .uppy-c-btn-primary::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-c-btn-primary:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-c-btn-link{font-size:14px;line-height:1;padding:10px 15px;border-radius:4px;background-color:transparent;color:#525252}.uppy-c-btn-link:hover{color:#333}.uppy-c-btn-link:focus{outline:none;box-shadow:0 0 0 3px #2275d740}.uppy-size--md .uppy-c-btn-link{padding:13px 18px}[data-uppy-theme=dark] .uppy-c-btn-link{color:#eaeaea}[data-uppy-theme=dark] .uppy-c-btn-link:focus{outline:none}[data-uppy-theme=dark] .uppy-c-btn-link::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-c-btn-link:focus{box-shadow:0 0 0 2px #aae1ffd9}[data-uppy-theme=dark] .uppy-c-btn-link:hover{color:#939393}.uppy-c-btn--small{font-size:.9em;padding:7px 16px;border-radius:2px}.uppy-size--md .uppy-c-btn--small{padding:8px 10px;border-radius:2px}\n", "@charset \"UTF-8\";.uppy-Informer{position:absolute;bottom:60px;left:0;right:0;text-align:center;opacity:1;transform:none;transition:all .25s ease-in;z-index:1005}.uppy-Informer[aria-hidden=true]{opacity:0;transform:translateY(350%);transition:all .3s ease-in;z-index:-1000}.uppy-Informer p{display:inline-block;margin:0;font-size:12px;line-height:1.4;font-weight:400;padding:6px 15px;background-color:#757575;color:#fff;border-radius:18px;max-width:90%}.uppy-size--md .uppy-Informer p{font-size:14px;line-height:1.3;max-width:500px;padding:10px 20px}[data-uppy-theme=dark] .uppy-Informer p{background-color:#333}[dir=ltr] .uppy-Informer span{left:3px}[dir=rtl] .uppy-Informer span{right:3px}[dir=ltr] .uppy-Informer span{margin-left:-1px}[dir=rtl] .uppy-Informer span{margin-right:-1px}.uppy-Informer span{line-height:12px;width:13px;height:13px;display:inline-block;vertical-align:middle;color:#525252;background-color:#fff;border-radius:50%;position:relative;top:-1px;font-size:10px;-webkit-margin-start:-1px}.uppy-Informer span:hover{cursor:help}.uppy-Informer span:after{line-height:1.3;word-wrap:break-word}.uppy-Root [aria-label][role~=tooltip]{position:relative}.uppy-Root [aria-label][role~=tooltip]:after,.uppy-Root [aria-label][role~=tooltip]:before{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform;opacity:0;pointer-events:none;transition:all var(--microtip-transition-duration,.18s) var(--microtip-transition-easing,ease-in-out) var(--microtip-transition-delay,0s);position:absolute;box-sizing:border-box;z-index:10;transform-origin:top}.uppy-Root [aria-label][role~=tooltip]:before{background-size:100% auto!important;content:\"\"}.uppy-Root [aria-label][role~=tooltip]:after{background:rgba(17,17,17,.9);border-radius:4px;color:#fff;content:attr(aria-label);font-size:var(--microtip-font-size,13px);font-weight:var(--microtip-font-weight,normal);text-transform:var(--microtip-text-transform,none);padding:.5em 1em;white-space:nowrap;box-sizing:content-box}.uppy-Root [aria-label][role~=tooltip]:focus:after,.uppy-Root [aria-label][role~=tooltip]:focus:before,.uppy-Root [aria-label][role~=tooltip]:hover:after,.uppy-Root [aria-label][role~=tooltip]:hover:before{opacity:1;pointer-events:auto}.uppy-Root [role~=tooltip][data-microtip-position|=top]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M2.658 0h32.004c-6 0-11.627 12.002-16.002 12.002C14.285 12.002 8.594 0 2.658 0z'/%3E%3C/svg%3E\") no-repeat;height:6px;width:18px;margin-bottom:5px}.uppy-Root [role~=tooltip][data-microtip-position|=top]:after{margin-bottom:11px}.uppy-Root [role~=tooltip][data-microtip-position|=top]:before{transform:translate(-50%);bottom:100%;left:50%}.uppy-Root [role~=tooltip][data-microtip-position|=top]:hover:before{transform:translate(-50%,-5px)}.uppy-Root [role~=tooltip][data-microtip-position|=top]:after{transform:translate(-50%);bottom:100%;left:50%}.uppy-Root [role~=tooltip][data-microtip-position=top]:hover:after{transform:translate(-50%,-5px)}.uppy-Root [role~=tooltip][data-microtip-position=top-left]:after{transform:translate(calc(-100% + 16px));bottom:100%}.uppy-Root [role~=tooltip][data-microtip-position=top-left]:hover:after{transform:translate(calc(-100% + 16px),-5px)}.uppy-Root [role~=tooltip][data-microtip-position=top-right]:after{transform:translate(-16px);bottom:100%}.uppy-Root [role~=tooltip][data-microtip-position=top-right]:hover:after{transform:translate(-16px,-5px)}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M33.342 12H1.338c6 0 11.627-12.002 16.002-12.002C21.715-.002 27.406 12 33.342 12z'/%3E%3C/svg%3E\") no-repeat;height:6px;width:18px;margin-top:5px;margin-bottom:0}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:after{margin-top:11px}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:before{transform:translate(-50%,-10px);bottom:auto;left:50%;top:100%}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:hover:before{transform:translate(-50%)}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:after{transform:translate(-50%,-10px);top:100%;left:50%}.uppy-Root [role~=tooltip][data-microtip-position=bottom]:hover:after{transform:translate(-50%)}.uppy-Root [role~=tooltip][data-microtip-position=bottom-left]:after{transform:translate(calc(-100% + 16px),-10px);top:100%}.uppy-Root [role~=tooltip][data-microtip-position=bottom-left]:hover:after{transform:translate(calc(-100% + 16px))}.uppy-Root [role~=tooltip][data-microtip-position=bottom-right]:after{transform:translate(-16px,-10px);top:100%}.uppy-Root [role~=tooltip][data-microtip-position=bottom-right]:hover:after{transform:translate(-16px)}.uppy-Root [role~=tooltip][data-microtip-position=left]:after,.uppy-Root [role~=tooltip][data-microtip-position=left]:before{bottom:auto;left:auto;right:100%;top:50%;transform:translate(10px,-50%)}.uppy-Root [role~=tooltip][data-microtip-position=left]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='36'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M0 33.342V1.338c0 6 12.002 11.627 12.002 16.002C12.002 21.715 0 27.406 0 33.342z'/%3E%3C/svg%3E\") no-repeat;height:18px;width:6px;margin-right:5px;margin-bottom:0}.uppy-Root [role~=tooltip][data-microtip-position=left]:after{margin-right:11px}.uppy-Root [role~=tooltip][data-microtip-position=left]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position=left]:hover:before{transform:translateY(-50%)}.uppy-Root [role~=tooltip][data-microtip-position=right]:after,.uppy-Root [role~=tooltip][data-microtip-position=right]:before{bottom:auto;left:100%;top:50%;transform:translate(-10px,-50%)}.uppy-Root [role~=tooltip][data-microtip-position=right]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='36'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M12 2.658v32.004c0-6-12.002-11.627-12.002-16.002C-.002 14.285 12 8.594 12 2.658z'/%3E%3C/svg%3E\") no-repeat;height:18px;width:6px;margin-bottom:0;margin-left:5px}.uppy-Root [role~=tooltip][data-microtip-position=right]:after{margin-left:11px}.uppy-Root [role~=tooltip][data-microtip-position=right]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position=right]:hover:before{transform:translateY(-50%)}.uppy-Root [role~=tooltip][data-microtip-size=small]:after{white-space:normal;width:80px}.uppy-Root [role~=tooltip][data-microtip-size=medium]:after{white-space:normal;width:150px}.uppy-Root [role~=tooltip][data-microtip-size=large]:after{white-space:normal;width:260px}.uppy-StatusBar{display:flex;position:relative;height:40px;line-height:40px;font-size:12px;font-weight:400;color:#fff;background-color:#fff;z-index:1001;transition:height .2s}[data-uppy-theme=dark] .uppy-StatusBar{background-color:#1f1f1f}.uppy-size--md .uppy-StatusBar{height:46px}.uppy-StatusBar:before{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:2px;background-color:#eaeaea}[data-uppy-theme=dark] .uppy-StatusBar:before{background-color:#757575}.uppy-StatusBar[aria-hidden=true]{overflow-y:hidden;height:0}.uppy-StatusBar.is-complete .uppy-StatusBar-progress{background-color:#1bb240}.uppy-StatusBar.is-error .uppy-StatusBar-progress{background-color:#e32437}.uppy-StatusBar.is-complete .uppy-StatusBar-statusIndicator{color:#1bb240}.uppy-StatusBar.is-error .uppy-StatusBar-statusIndicator{color:#e32437}.uppy-StatusBar:not([aria-hidden=true]).is-waiting{background-color:#fff;height:65px;border-top:1px solid #eaeaea}[data-uppy-theme=dark] .uppy-StatusBar:not([aria-hidden=true]).is-waiting{background-color:#1f1f1f;border-top:1px solid #333}.uppy-StatusBar-progress{background-color:#2275d7;height:2px;position:absolute;z-index:1001;transition:background-color,width .3s ease-out}.uppy-StatusBar-progress.is-indeterminate{background-size:64px 64px;background-image:linear-gradient(45deg,rgba(0,0,0,.3) 25%,transparent 0,transparent 50%,rgba(0,0,0,.3) 0,rgba(0,0,0,.3) 75%,transparent 0,transparent);animation:uppy-StatusBar-ProgressStripes 1s linear infinite}@keyframes uppy-StatusBar-ProgressStripes{0%{background-position:0 0}to{background-position:64px 0}}.uppy-StatusBar.is-postprocessing .uppy-StatusBar-progress,.uppy-StatusBar.is-preprocessing .uppy-StatusBar-progress{background-color:#f6a623}.uppy-StatusBar.is-waiting .uppy-StatusBar-progress{display:none}[dir=ltr] .uppy-StatusBar-content{padding-left:10px}[dir=rtl] .uppy-StatusBar-content{padding-right:10px}.uppy-StatusBar-content{display:flex;align-items:center;position:relative;z-index:1002;-webkit-padding-start:10px;white-space:nowrap;text-overflow:ellipsis;color:#333;height:100%}[dir=ltr] .uppy-size--md .uppy-StatusBar-content{padding-left:15px}[dir=rtl] .uppy-size--md .uppy-StatusBar-content{padding-right:15px}.uppy-size--md .uppy-StatusBar-content{-webkit-padding-start:15px}[data-uppy-theme=dark] .uppy-StatusBar-content{color:#eaeaea}[dir=ltr] .uppy-StatusBar-status{padding-right:.3em}[dir=rtl] .uppy-StatusBar-status{padding-left:.3em}.uppy-StatusBar-status{line-height:1.4;font-weight:400;display:flex;flex-direction:column;justify-content:center;-webkit-padding-end:.3em}.uppy-StatusBar-statusPrimary{font-weight:500;line-height:1}[data-uppy-theme=dark] .uppy-StatusBar-statusPrimary{color:#eaeaea}.uppy-StatusBar-statusSecondary{margin-top:1px;font-size:11px;line-height:1.2;display:inline-block;color:#757575;white-space:nowrap}[data-uppy-theme=dark] .uppy-StatusBar-statusSecondary{color:#bbb}[dir=ltr] .uppy-StatusBar-statusSecondaryHint{margin-right:5px}[dir=rtl] .uppy-StatusBar-statusSecondaryHint{margin-left:5px}.uppy-StatusBar-statusSecondaryHint{display:inline-block;vertical-align:middle;-webkit-margin-end:5px;line-height:1}[dir=ltr] .uppy-size--md .uppy-StatusBar-statusSecondaryHint{margin-right:8px}[dir=rtl] .uppy-size--md .uppy-StatusBar-statusSecondaryHint{margin-left:8px}.uppy-size--md .uppy-StatusBar-statusSecondaryHint{-webkit-margin-end:8px}[dir=ltr] .uppy-StatusBar-statusIndicator{margin-right:7px}[dir=rtl] .uppy-StatusBar-statusIndicator{margin-left:7px}.uppy-StatusBar-statusIndicator{position:relative;top:1px;color:#525252;-webkit-margin-end:7px}.uppy-StatusBar-statusIndicator svg{vertical-align:text-bottom}[dir=ltr] .uppy-StatusBar-actions{right:10px}[dir=rtl] .uppy-StatusBar-actions{left:10px}.uppy-StatusBar-actions{display:flex;align-items:center;position:absolute;top:0;bottom:0;z-index:1004}.uppy-StatusBar.is-waiting .uppy-StatusBar-actions{width:100%;position:static;padding:0 15px;background-color:#fafafa}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actions{background-color:#1f1f1f}.uppy-StatusBar-actionCircleBtn{line-height:1;cursor:pointer;margin:3px;opacity:.9}.uppy-StatusBar-actionCircleBtn:focus{outline:none}.uppy-StatusBar-actionCircleBtn::-moz-focus-inner{border:0}.uppy-StatusBar-actionCircleBtn:focus{box-shadow:0 0 0 3px #2275d780}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-StatusBar-actionCircleBtn:hover{opacity:1}.uppy-StatusBar-actionCircleBtn:focus{border-radius:50%}.uppy-StatusBar-actionCircleBtn svg{vertical-align:bottom}.uppy-StatusBar-actionBtn{display:inline-block;vertical-align:middle;font-size:10px;line-height:inherit;color:#2275d7}.uppy-size--md .uppy-StatusBar-actionBtn{font-size:11px}[dir=ltr] .uppy-StatusBar-actionBtn--retry{margin-right:6px}[dir=rtl] .uppy-StatusBar-actionBtn--retry{margin-left:6px}.uppy-StatusBar-actionBtn--retry{height:16px;border-radius:8px;-webkit-margin-end:6px;background-color:#ff4b23;line-height:1;color:#fff;padding:1px 6px 3px 18px;position:relative}.uppy-StatusBar-actionBtn--retry:focus{outline:none}.uppy-StatusBar-actionBtn--retry::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--retry:focus{box-shadow:0 0 0 3px #2275d780}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-StatusBar-actionBtn--retry:hover{background-color:#f92d00}[dir=ltr] .uppy-StatusBar-actionBtn--retry svg{left:6px}[dir=rtl] .uppy-StatusBar-actionBtn--retry svg{right:6px}.uppy-StatusBar-actionBtn--retry svg{position:absolute;top:3px}.uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{font-size:14px;width:100%;padding:15px 10px;color:#fff;background-color:#1bb240;line-height:1}.uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload:hover{background-color:#189c38}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{background-color:#1c8b37}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload:hover{background-color:#18762f}.uppy-size--md .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{padding:13px 22px;width:auto}.uppy-StatusBar:not(.is-waiting) .uppy-StatusBar-actionBtn--upload{background-color:transparent;color:#2275d7}[dir=ltr] .uppy-StatusBar-actionBtn--uploadNewlyAdded{padding-right:3px}[dir=ltr] .uppy-StatusBar-actionBtn--uploadNewlyAdded,[dir=rtl] .uppy-StatusBar-actionBtn--uploadNewlyAdded{padding-left:3px}[dir=rtl] .uppy-StatusBar-actionBtn--uploadNewlyAdded{padding-right:3px}.uppy-StatusBar-actionBtn--uploadNewlyAdded{-webkit-padding-end:3px;-webkit-padding-start:3px;padding-bottom:1px;border-radius:3px}.uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{outline:none}.uppy-StatusBar-actionBtn--uploadNewlyAdded::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{box-shadow:0 0 0 3px #2275d780}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-StatusBar-actionBtn--done{line-height:1;border-radius:3px;padding:7px 8px}.uppy-StatusBar-actionBtn--done:focus{outline:none}.uppy-StatusBar-actionBtn--done::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--done:hover{color:#1b5dab}.uppy-StatusBar-actionBtn--done:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--done:focus{background-color:#333}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--done{color:#02baf2}.uppy-size--md .uppy-StatusBar-actionBtn--done{font-size:14px}[dir=ltr] .uppy-StatusBar-details{left:2px}[dir=rtl] .uppy-StatusBar-details{right:2px}.uppy-StatusBar-details{line-height:12px;width:13px;height:13px;display:inline-block;vertical-align:middle;color:#fff;background-color:#939393;border-radius:50%;position:relative;top:0;font-size:10px;font-weight:600;text-align:center;cursor:help}.uppy-StatusBar-details:after{line-height:1.3;word-wrap:break-word}[dir=ltr] .uppy-StatusBar-spinner{margin-right:10px}[dir=rtl] .uppy-StatusBar-spinner{margin-left:10px}.uppy-StatusBar-spinner{animation-name:uppy-StatusBar-spinnerAnimation;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear;-webkit-margin-end:10px;fill:#2275d7}.uppy-StatusBar.is-postprocessing .uppy-StatusBar-spinner,.uppy-StatusBar.is-preprocessing .uppy-StatusBar-spinner{fill:#f6a623}@keyframes uppy-StatusBar-spinnerAnimation{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.uppy-ProviderBrowser-viewType--grid ul.uppy-ProviderBrowser-list{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;padding:6px}.uppy-ProviderBrowser-viewType--grid ul.uppy-ProviderBrowser-list:after{content:\"\";flex:auto}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem{width:50%;position:relative;margin:0}.uppy-size--md .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem{width:33.3333%}.uppy-size--lg .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem{width:25%}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem:before{content:\"\";padding-top:100%;display:block}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--selected img,.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--selected svg{opacity:.85}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--disabled{opacity:.5}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner{background-color:#93939333}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner{background-color:#eaeaea33}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview svg{fill:#000000b3;width:30%;height:30%}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview svg{fill:#fffc}.uppy-ProviderBrowser-viewType--grid button.uppy-ProviderBrowserItem-inner{border-radius:4px;overflow:hidden;position:absolute;top:7px;left:7px;right:7px;bottom:7px;text-align:center;width:calc(100% - 14px);height:calc(100% - 14px)}.uppy-ProviderBrowser-viewType--grid button.uppy-ProviderBrowserItem-inner:focus{outline:none;box-shadow:0 0 0 3px #2275d7e6}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid button.uppy-ProviderBrowserItem-inner{box-shadow:0 0 0 3px #aae1ffb3}.uppy-ProviderBrowser-viewType--grid button.uppy-ProviderBrowserItem-inner img{width:100%;height:100%;object-fit:cover;border-radius:4px}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-fakeCheckbox{position:absolute;top:16px;right:16px;width:26px;height:26px;background-color:#2275d7;border-radius:50%;z-index:1002;opacity:0}[dir=ltr] .uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-fakeCheckbox:after{left:7px}[dir=rtl] .uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-fakeCheckbox:after{right:7px}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-fakeCheckbox:after{width:12px;height:7px;top:8px}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-fakeCheckbox--is-checked{opacity:1}.uppy-ProviderBrowser-viewType--list{background-color:#fff}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list{background-color:#1f1f1f}.uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem{display:flex;align-items:center;padding:7px 15px;margin:0}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem{color:#eaeaea}.uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem--disabled{opacity:.6}[dir=ltr] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox{margin-right:15px}[dir=rtl] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox{margin-left:15px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox{-webkit-margin-end:15px;height:17px;width:17px;border-radius:3px;background-color:#fff;border:1px solid #cfcfcf}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox:focus{border:1px solid #2275d7;box-shadow:0 0 0 3px #2275d740;outline:none}[dir=ltr] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox:after{left:3px}[dir=rtl] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox:after{right:3px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox:after{opacity:0;height:5px;width:9px;top:4px}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox:focus{border-color:#02baf2b3;box-shadow:0 0 0 3px #02baf233}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox--is-checked{background-color:#2275d7;border-color:#2275d7}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-fakeCheckbox--is-checked:after{opacity:1}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:flex;align-items:center;padding:2px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner:focus{outline:none;text-decoration:underline}[dir=ltr] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner img,[dir=ltr] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner svg{margin-right:8px}[dir=rtl] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner img,[dir=rtl] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner svg{margin-left:8px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner img,.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner svg{-webkit-margin-end:8px;max-width:20px;max-height:20px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:1.2}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--disabled .uppy-ProviderBrowserItem-inner{cursor:default}[dir=ltr] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-iconWrap{margin-right:7px}[dir=rtl] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-iconWrap{margin-left:7px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-iconWrap{width:20px;-webkit-margin-end:7px}.uppy-ProviderBrowserItem-fakeCheckbox{position:relative;cursor:pointer;flex-shrink:0}.uppy-ProviderBrowserItem-fakeCheckbox:disabled{cursor:default}.uppy-ProviderBrowserItem-fakeCheckbox:after{content:\"\";position:absolute;cursor:pointer;border-left:2px solid #eaeaea;border-bottom:2px solid #eaeaea;transform:rotate(-45deg)}.uppy-ProviderBrowserItem-fakeCheckbox:disabled:after{cursor:default}[data-uppy-theme=dark] .uppy-ProviderBrowserItem-fakeCheckbox{background-color:#1f1f1f;border-color:#939393}[data-uppy-theme=dark] .uppy-ProviderBrowserItem-fakeCheckbox--is-checked{background-color:#333}.uppy-SearchProvider{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1}[data-uppy-theme=dark] .uppy-SearchProvider{background-color:#1f1f1f}.uppy-SearchProvider-input{width:90%;max-width:650px;margin-bottom:15px}.uppy-size--md .uppy-SearchProvider-input{margin-bottom:20px}.uppy-SearchProvider-searchButton{padding:13px 25px}.uppy-size--md .uppy-SearchProvider-searchButton{padding:13px 30px}.uppy-DashboardContent-panelBody{display:flex;align-items:center;justify-content:center;flex:1}[data-uppy-theme=dark] .uppy-DashboardContent-panelBody{background-color:#1f1f1f}.uppy-Provider-auth,.uppy-Provider-empty,.uppy-Provider-error,.uppy-Provider-loading{display:flex;align-items:center;justify-content:center;flex-flow:column wrap;flex:1;color:#939393}.uppy-Provider-empty{color:#939393}.uppy-Provider-authIcon svg{width:100px;height:75px;margin-bottom:15px}.uppy-Provider-authTitle{font-size:17px;line-height:1.4;font-weight:400;margin-bottom:30px;padding:0 15px;max-width:500px;text-align:center;color:#757575}.uppy-size--md .uppy-Provider-authTitle{font-size:20px}[data-uppy-theme=dark] .uppy-Provider-authTitle{color:#cfcfcf}[dir=ltr] .uppy-Provider-breadcrumbs{text-align:left}[dir=rtl] .uppy-Provider-breadcrumbs{text-align:right}.uppy-Provider-breadcrumbs{flex:1;color:#525252;font-size:12px;margin-bottom:10px}.uppy-size--md .uppy-Provider-breadcrumbs{margin-bottom:0}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs{color:#eaeaea}[dir=ltr] .uppy-Provider-breadcrumbsIcon{margin-right:4px}[dir=rtl] .uppy-Provider-breadcrumbsIcon{margin-left:4px}.uppy-Provider-breadcrumbsIcon{display:inline-block;color:#525252;vertical-align:middle;-webkit-margin-end:4px;line-height:1}.uppy-Provider-breadcrumbsIcon svg{width:13px;height:13px;fill:#525252}.uppy-Provider-breadcrumbs button{display:inline-block;line-height:inherit;padding:4px;border-radius:3px}.uppy-Provider-breadcrumbs button:focus{outline:none}.uppy-Provider-breadcrumbs button::-moz-focus-inner{border:0}.uppy-Provider-breadcrumbs button:hover{color:#1b5dab}.uppy-Provider-breadcrumbs button:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs button:focus{background-color:#333}.uppy-Provider-breadcrumbs button:hover{text-decoration:underline;cursor:pointer}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs button{color:#eaeaea}.uppy-ProviderBrowser{display:flex;flex-direction:column;flex:1;font-size:14px;font-weight:400;height:100%}.uppy-ProviderBrowser-user{margin:0 8px 0 0;font-weight:500;color:#333}[data-uppy-theme=dark] .uppy-ProviderBrowser-user{color:#eaeaea}[dir=ltr] .uppy-ProviderBrowser-user:after{left:4px}[dir=rtl] .uppy-ProviderBrowser-user:after{right:4px}.uppy-ProviderBrowser-user:after{content:\"\\b7\";position:relative;color:#939393;font-weight:400}.uppy-ProviderBrowser-header{z-index:1001;border-bottom:1px solid #eaeaea;position:relative}[data-uppy-theme=dark] .uppy-ProviderBrowser-header{border-bottom:1px solid #333}.uppy-ProviderBrowser-headerBar{padding:7px 15px;background-color:#fafafa;z-index:1001;color:#757575;line-height:1.4;font-size:12px}.uppy-size--md .uppy-ProviderBrowser-headerBar{display:flex;align-items:center}[data-uppy-theme=dark] .uppy-ProviderBrowser-headerBar{background-color:#1f1f1f}.uppy-ProviderBrowser-headerBar--simple{text-align:center;display:block;justify-content:center}.uppy-ProviderBrowser-headerBar--simple .uppy-Provider-breadcrumbsWrap{flex:none;display:inline-block;vertical-align:middle}.uppy-ProviderBrowser-search{width:100%;background-color:#fff;position:relative;height:30px;margin-top:10px;margin-bottom:5px;display:flex;align-items:center}[data-uppy-theme=dark] .uppy-ProviderBrowser-search{background-color:#1f1f1f}[dir=ltr] .uppy-ProviderBrowser-searchIcon{left:16px}[dir=rtl] .uppy-ProviderBrowser-searchIcon{right:16px}.uppy-ProviderBrowser-searchIcon{position:absolute;width:12px;height:12px;z-index:1002;color:#bbb}[dir=ltr] .uppy-ProviderBrowser-searchInput{padding-left:27px}[dir=rtl] .uppy-ProviderBrowser-searchInput{padding-right:27px}.uppy-ProviderBrowser-searchInput{width:100%;height:30px;background-color:transparent;outline:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:12px;line-height:1.4;border:0;margin:0 8px;-webkit-padding-start:27px;z-index:1001;border-radius:4px}[data-uppy-theme=dark] .uppy-ProviderBrowser-searchInput{background-color:#1f1f1f;color:#eaeaea}.uppy-ProviderBrowser-searchInput:focus{outline:0;background-color:#f4f4f4}[data-uppy-theme=dark] .uppy-ProviderBrowser-searchInput:focus{background-color:#333}[dir=ltr] .uppy-ProviderBrowser-searchClose{right:12px}[dir=rtl] .uppy-ProviderBrowser-searchClose{left:12px}.uppy-ProviderBrowser-searchClose{position:absolute;width:22px;height:22px;padding:6px;top:4px;z-index:1002;color:#939393;cursor:pointer}.uppy-ProviderBrowser-searchClose:hover{color:#757575}.uppy-ProviderBrowser-searchClose svg{vertical-align:text-top}.uppy-ProviderBrowser-searchInput::placeholder{color:#939393;opacity:1}.uppy-ProviderBrowser-userLogout{cursor:pointer;line-height:inherit;color:#2275d7;padding:4px;border-radius:3px}.uppy-ProviderBrowser-userLogout:focus{outline:none}.uppy-ProviderBrowser-userLogout::-moz-focus-inner{border:0}.uppy-ProviderBrowser-userLogout:hover{color:#1b5dab}.uppy-ProviderBrowser-userLogout:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-ProviderBrowser-userLogout:focus{background-color:#333}.uppy-ProviderBrowser-userLogout:hover{text-decoration:underline}[data-uppy-theme=dark] .uppy-ProviderBrowser-userLogout{color:#eaeaea}.uppy-ProviderBrowser-body{flex:1;position:relative}.uppy-ProviderBrowser-list{flex:1;position:relative;display:block;width:100%;height:100%;background-color:#fff;border-spacing:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;position:absolute;top:0;bottom:0;left:0;right:0;list-style:none;margin:0;padding:0}[data-uppy-theme=dark] .uppy-ProviderBrowser-list{background-color:#1f1f1f}.uppy-ProviderBrowser-list:focus{outline:none}.uppy-ProviderBrowserItem-inner{cursor:pointer;font-weight:500;font-size:13px}.uppy-ProviderBrowser-footer{display:flex;align-items:center;background-color:#fff;height:65px;border-top:1px solid #eaeaea;padding:0 15px}[dir=ltr] .uppy-ProviderBrowser-footer button{margin-right:8px}[dir=rtl] .uppy-ProviderBrowser-footer button{margin-left:8px}.uppy-ProviderBrowser-footer button{-webkit-margin-end:8px}[data-uppy-theme=dark] .uppy-ProviderBrowser-footer{background-color:#1f1f1f;border-top:1px solid #333}.uppy-Dashboard-Item-previewInnerWrap{width:100%;height:100%;overflow:hidden;position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column;box-shadow:0 0 2px #0006;border-radius:3px}.uppy-size--md .uppy-Dashboard-Item-previewInnerWrap{box-shadow:0 1px 2px #00000026}.uppy-Dashboard-Item-previewInnerWrap:after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;background-color:#000000a6;display:none;z-index:1001}.uppy-Dashboard-Item-previewLink{position:absolute;left:0;right:0;top:0;bottom:0;z-index:1002}.uppy-Dashboard-Item-previewLink:focus{box-shadow:inset 0 0 0 3px #76abe9}[data-uppy-theme=dark] .uppy-Dashboard-Item-previewLink:focus{box-shadow:inset 0 0 0 3px #016c8d}.uppy-Dashboard-Item-preview img.uppy-Dashboard-Item-previewImg{width:100%;height:100%;object-fit:cover;transform:translateZ(0);border-radius:3px}.uppy-Dashboard-Item-progress{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1002;color:#fff;text-align:center;width:120px;transition:all .35 ease}.uppy-Dashboard-Item-progressIndicator{display:inline-block;width:38px;height:38px;opacity:.9}.uppy-size--md .uppy-Dashboard-Item-progressIndicator{width:55px;height:55px}button.uppy-Dashboard-Item-progressIndicator{cursor:pointer}button.uppy-Dashboard-Item-progressIndicator:focus{outline:none}button.uppy-Dashboard-Item-progressIndicator::-moz-focus-inner{border:0}button.uppy-Dashboard-Item-progressIndicator:focus .uppy-Dashboard-Item-progressIcon--bg,button.uppy-Dashboard-Item-progressIndicator:focus .uppy-Dashboard-Item-progressIcon--retry{fill:#76abe9}.uppy-Dashboard-Item-progressIcon--circle{width:100%;height:100%}.uppy-Dashboard-Item-progressIcon--bg{stroke:#fff6}.uppy-Dashboard-Item-progressIcon--progress{stroke:#fff;transition:stroke-dashoffset .5s ease-out}.uppy-Dashboard-Item-progressIcon--play{stroke:#fff;fill:#fff;transition:all .2s}.uppy-Dashboard-Item-progressIcon--cancel{fill:#fff;transition:all .2s}.uppy-Dashboard-Item-progressIcon--pause{stroke:#fff;fill:#fff;transition:all .2s}.uppy-Dashboard-Item-progressIcon--check{fill:#fff;transition:all .2s}.uppy-Dashboard-Item-progressIcon--retry{fill:#fff}[dir=ltr] .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{right:-8px}[dir=rtl] .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{left:-8px}[dir=ltr] .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{left:auto}[dir=rtl] .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{right:auto}.uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{transform:none;top:-9px;width:auto}.uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-progressIndicator{width:18px;height:18px}.uppy-size--md .uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-progressIndicator{width:28px;height:28px}.uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progressIndicator{width:18px;height:18px;opacity:1}.uppy-size--md .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progressIndicator{width:22px;height:22px}.uppy-Dashboard-Item.is-processing .uppy-Dashboard-Item-progress{opacity:0}[dir=ltr] .uppy-Dashboard-Item-fileInfo{padding-right:5px}[dir=rtl] .uppy-Dashboard-Item-fileInfo{padding-left:5px}.uppy-Dashboard-Item-fileInfo{-webkit-padding-end:5px}.uppy-Dashboard-Item-name{font-size:12px;line-height:1.3;font-weight:500;margin-bottom:4px;word-break:break-all;word-wrap:anywhere}[data-uppy-theme=dark] .uppy-Dashboard-Item-name{color:#eaeaea}.uppy-Dashboard-Item-status{font-size:11px;line-height:1.3;font-weight:400;color:#757575}[data-uppy-theme=dark] .uppy-Dashboard-Item-status{color:#bbb}.uppy-Dashboard-Item-statusSize{display:inline-block;vertical-align:bottom;text-transform:uppercase}.uppy-Dashboard-Item-sourceIcon{display:none;vertical-align:bottom;color:#bbb}[dir=ltr] .uppy-Dashboard-Item-sourceIcon:not(:first-child){margin-left:14px}[dir=rtl] .uppy-Dashboard-Item-sourceIcon:not(:first-child){margin-right:14px}.uppy-Dashboard-Item-sourceIcon:not(:first-child){position:relative;-webkit-margin-start:14px}.uppy-Dashboard-Item-sourceIcon svg,.uppy-Dashboard-Item-sourceIcon svg *{max-width:100%;max-height:100%;display:inline-block;vertical-align:text-bottom;overflow:hidden;fill:currentColor;width:11px;height:12px}.uppy-Dashboard-Item-action{cursor:pointer;color:#939393}.uppy-Dashboard-Item-action:focus{outline:none}.uppy-Dashboard-Item-action::-moz-focus-inner{border:0}.uppy-Dashboard-Item-action:focus{box-shadow:0 0 0 3px #2275d780}.uppy-Dashboard-Item-action:hover{opacity:1;color:#1f1f1f}[data-uppy-theme=dark] .uppy-Dashboard-Item-action{color:#cfcfcf}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:focus{outline:none}[data-uppy-theme=dark] .uppy-Dashboard-Item-action::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:focus{box-shadow:0 0 0 2px #aae1ffd9}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:hover{color:#eaeaea}.uppy-Dashboard-Item-action--remove{color:#1f1f1f;opacity:.95}.uppy-Dashboard-Item-action--remove:hover{opacity:1;color:#000}[data-uppy-theme=dark] .uppy-Dashboard-Item-action--remove{color:#525252}[data-uppy-theme=dark] .uppy-Dashboard-Item-action--remove:hover{color:#333}.uppy-Dashboard:not(.uppy-size--md) .uppy-Dashboard-Item-actionWrapper{display:flex;align-items:center}.uppy-Dashboard:not(.uppy-size--md) .uppy-Dashboard-Item-action{width:22px;height:22px;padding:3px;margin-left:3px}.uppy-Dashboard:not(.uppy-size--md) .uppy-Dashboard-Item-action:focus{border-radius:3px}.uppy-size--md .uppy-Dashboard-Item-action--copyLink,.uppy-size--md .uppy-Dashboard-Item-action--edit{width:16px;height:16px;padding:0}.uppy-size--md .uppy-Dashboard-Item-action--copyLink:focus,.uppy-size--md .uppy-Dashboard-Item-action--edit:focus{border-radius:3px}[dir=ltr] .uppy-size--md .uppy-Dashboard-Item-action--remove{right:-8px}[dir=rtl] .uppy-size--md .uppy-Dashboard-Item-action--remove{left:-8px}.uppy-size--md .uppy-Dashboard-Item-action--remove{z-index:1002;position:absolute;top:-8px;width:18px;height:18px;padding:0}.uppy-size--md .uppy-Dashboard-Item-action--remove:focus{border-radius:50%}[dir=ltr] .uppy-Dashboard-Item{padding-right:0}[dir=rtl] .uppy-Dashboard-Item{padding-left:0}.uppy-Dashboard-Item{display:flex;align-items:center;border-bottom:1px solid #eaeaea;padding:10px;-webkit-padding-end:0}[data-uppy-theme=dark] .uppy-Dashboard-Item{border-bottom:1px solid #333}[dir=ltr] .uppy-size--md .uppy-Dashboard-Item{float:left}[dir=rtl] .uppy-size--md .uppy-Dashboard-Item{float:right}.uppy-size--md .uppy-Dashboard-Item{position:relative;display:block;margin:5px 15px;padding:0;width:calc(33.333% - 30px);height:215px;border-bottom:0}.uppy-size--lg .uppy-Dashboard-Item{margin:5px 15px;width:calc(25% - 30px);height:190px}.uppy-size--xl .uppy-Dashboard-Item{width:calc(20% - 30px);height:210px}.uppy-Dashboard-Item-preview{position:relative}.uppy-Dashboard:not(.uppy-size--md) .uppy-Dashboard-Item-preview{flex-shrink:0;flex-grow:0;width:50px;height:50px}.uppy-size--md .uppy-Dashboard-Item-preview{width:100%;height:140px}.uppy-size--lg .uppy-Dashboard-Item-preview{height:120px}.uppy-size--xl .uppy-Dashboard-Item-preview{height:140px}[dir=ltr] .uppy-Dashboard-Item-fileInfoAndButtons{padding-right:8px}[dir=rtl] .uppy-Dashboard-Item-fileInfoAndButtons{padding-left:8px}[dir=ltr] .uppy-Dashboard-Item-fileInfoAndButtons{padding-left:12px}[dir=rtl] .uppy-Dashboard-Item-fileInfoAndButtons{padding-right:12px}.uppy-Dashboard-Item-fileInfoAndButtons{flex-grow:1;-webkit-padding-end:8px;-webkit-padding-start:12px;display:flex;align-items:center;justify-content:space-between}.uppy-size--md .uppy-Dashboard-Item-fileInfoAndButtons{align-items:flex-start;width:100%;padding:9px 0 0}.uppy-Dashboard-Item-fileInfo{flex-grow:1;flex-shrink:1}.uppy-Dashboard-Item-actionWrapper{flex-grow:0;flex-shrink:0}.uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-previewInnerWrap:after,.uppy-Dashboard-Item.is-inprogress .uppy-Dashboard-Item-previewInnerWrap:after{display:block}.uppy-Dashboard-Item.is-inprogress:not(.is-resumable) .uppy-Dashboard-Item-action--remove{display:none}[dir=ltr] .uppy-Dashboard-Item-errorDetails{left:6px}[dir=rtl] .uppy-Dashboard-Item-errorDetails{right:6px}.uppy-Dashboard-Item-errorDetails{line-height:12px;width:12px;height:12px;display:inline-block;vertical-align:middle;color:#fff;background-color:#939393;border-radius:50%;position:relative;top:-1px;font-size:8px;font-weight:600;text-align:center;cursor:help}.uppy-Dashboard-Item-errorDetails:after{line-height:1.3;word-wrap:break-word}.uppy-Dashboard-FileCard{width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;z-index:1005;box-shadow:0 0 10px 4px #0000001a;background-color:#fff;border-radius:5px;display:flex;flex-direction:column}.uppy-Dashboard-FileCard .uppy-DashboardContent-bar{border-top-left-radius:5px;border-top-right-radius:5px}.uppy-Dashboard-FileCard .uppy-Dashboard-FileCard-actions{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.uppy-Dashboard-FileCard-inner{height:100%;flex-grow:1;flex-direction:column}.uppy-Dashboard-FileCard-inner,.uppy-Dashboard-FileCard-preview{flex-shrink:1;min-height:0;display:flex}.uppy-Dashboard-FileCard-preview{height:60%;flex-grow:0;border-bottom:1px solid #eaeaea;align-items:center;justify-content:center;position:relative}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-preview{background-color:#333;border-bottom:0}.uppy-Dashboard-FileCard-preview img.uppy-Dashboard-Item-previewImg{max-width:90%;max-height:90%;object-fit:cover;flex:0 0 auto;border-radius:3px;box-shadow:0 3px 20px #00000026}[dir=ltr] .uppy-Dashboard-FileCard-edit{right:10px}[dir=rtl] .uppy-Dashboard-FileCard-edit{left:10px}.uppy-Dashboard-FileCard-edit{position:absolute;top:10px;font-size:13px;background-color:#00000080;color:#fff;padding:7px 15px;border-radius:50px}.uppy-Dashboard-FileCard-edit:focus{outline:none}.uppy-Dashboard-FileCard-edit::-moz-focus-inner{border:0}.uppy-Dashboard-FileCard-edit:focus{box-shadow:0 0 0 3px #2275d780}.uppy-Dashboard-FileCard-edit:hover{background-color:#000c}.uppy-Dashboard-FileCard-info{height:40%;flex-grow:0;flex-shrink:0;padding:30px 20px 20px;overflow-y:auto;-webkit-overflow-scrolling:touch}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-info{background-color:#1f1f1f}.uppy-Dashboard-FileCard-fieldset{font-size:0;border:0;padding:0;max-width:640px;margin:auto auto 12px}.uppy-Dashboard-FileCard-label{display:inline-block;vertical-align:middle;width:22%;font-size:12px;color:#525252}.uppy-size--md .uppy-Dashboard-FileCard-label{font-size:14px}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-label{color:#eaeaea}.uppy-Dashboard-FileCard-input{display:inline-block;vertical-align:middle;width:78%}.uppy-Dashboard-FileCard-actions{height:55px;flex-shrink:0;flex-grow:0;border-top:1px solid #eaeaea;padding:0 15px;background-color:#fafafa;display:flex;align-items:center}.uppy-size--md .uppy-Dashboard-FileCard-actions{height:65px}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-actions{border-top:1px solid #333;background-color:#1f1f1f}[dir=ltr] .uppy-Dashboard-FileCard-actionsBtn{margin-right:10px}[dir=rtl] .uppy-Dashboard-FileCard-actionsBtn{margin-left:10px}.uppy-Dashboard-FileCard-actionsBtn{-webkit-margin-end:10px}.uppy-transition-slideDownUp-enter{opacity:.01;transform:translateY(-105%);transition:transform .25s ease-in-out,opacity .25s ease-in-out}.uppy-transition-slideDownUp-enter.uppy-transition-slideDownUp-enter-active{opacity:1;transform:translateZ(0)}.uppy-transition-slideDownUp-leave{opacity:1;transform:translateZ(0);transition:transform .25s ease-in-out,opacity .25s ease-in-out}.uppy-transition-slideDownUp-leave.uppy-transition-slideDownUp-leave-active{opacity:.01;transform:translateY(-105%)}@keyframes uppy-Dashboard-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes uppy-Dashboard-fadeOut{0%{opacity:1}to{opacity:0}}@keyframes uppy-Dashboard-slideDownAndFadeIn{0%{transform:translate(-50%,-70%);opacity:0}to{transform:translate(-50%,-50%);opacity:1}}@keyframes uppy-Dashboard-slideDownAndFadeIn--small{0%{transform:translateY(-20%);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes uppy-Dashboard-slideUpFadeOut{0%{transform:translate(-50%,-50%);opacity:1}to{transform:translate(-50%,-70%);opacity:0}}@keyframes uppy-Dashboard-slideUpFadeOut--small{0%{transform:translateZ(0);opacity:1}to{transform:translateY(-20%);opacity:0}}.uppy-Dashboard--modal{z-index:1001}.uppy-Dashboard--modal[aria-hidden=true]{display:none}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideDownAndFadeIn--small .3s cubic-bezier(0,0,.2,1)}@media only screen and (min-width:820px){.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideDownAndFadeIn .3s cubic-bezier(0,0,.2,1)}}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-overlay{animation:uppy-Dashboard-fadeIn .3s cubic-bezier(0,0,.2,1)}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideUpFadeOut--small .3s cubic-bezier(0,0,.2,1)}@media only screen and (min-width:820px){.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideUpFadeOut .3s cubic-bezier(0,0,.2,1)}}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-overlay{animation:uppy-Dashboard-fadeOut .3s cubic-bezier(0,0,.2,1)}.uppy-Dashboard-isFixed{overflow:hidden;height:100vh}.uppy-Dashboard--modal .uppy-Dashboard-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:1001}.uppy-Dashboard-inner{position:relative;background-color:#fafafa;max-width:100%;max-height:100%;outline:none;border:1px solid #eaeaea;border-radius:5px}.uppy-size--md .uppy-Dashboard-inner{min-height:auto}@media only screen and (min-width:820px){.uppy-Dashboard-inner{width:750px;height:550px}}.uppy-Dashboard--modal .uppy-Dashboard-inner{z-index:1002}[data-uppy-theme=dark] .uppy-Dashboard-inner{background-color:#1f1f1f}.uppy-Dashboard--isDisabled .uppy-Dashboard-inner{cursor:not-allowed}.uppy-Dashboard-innerWrap{display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;border-radius:5px;opacity:0}.uppy-Dashboard--isInnerWrapVisible .uppy-Dashboard-innerWrap{opacity:1}.uppy-Dashboard--isDisabled .uppy-Dashboard-innerWrap{pointer-events:none;opacity:.6;filter:grayscale(100%);-webkit-user-select:none;user-select:none}.uppy-Dashboard--isDisabled .uppy-ProviderIconBg{fill:#9f9f9f}.uppy-Dashboard--modal .uppy-Dashboard-inner{position:fixed;top:35px;left:15px;right:15px;bottom:15px;border:none}@media only screen and (min-width:820px){.uppy-Dashboard--modal .uppy-Dashboard-inner{top:50%;left:50%;right:auto;transform:translate(-50%,-50%);box-shadow:0 5px 15px 4px #00000026}}[dir=ltr] .uppy-Dashboard-close{right:-2px}[dir=rtl] .uppy-Dashboard-close{left:-2px}.uppy-Dashboard-close{display:block;position:absolute;top:-33px;cursor:pointer;color:#ffffffe6;font-size:27px;z-index:1005}.uppy-Dashboard-close:focus{outline:none}.uppy-Dashboard-close::-moz-focus-inner{border:0}.uppy-Dashboard-close:focus{color:#8cb8ed}@media only screen and (min-width:820px){[dir=ltr] .uppy-Dashboard-close{right:-35px}[dir=rtl] .uppy-Dashboard-close{left:-35px}.uppy-Dashboard-close{font-size:35px;top:-10px}}.uppy-Dashboard-AddFiles{display:flex;justify-content:center;align-items:center;flex-direction:column;height:100%;position:relative;text-align:center}[data-uppy-drag-drop-supported=true] .uppy-Dashboard-AddFiles{margin:7px;height:calc(100% - 14px);border-radius:3px;border:1px dashed #dfdfdf}.uppy-Dashboard-AddFilesPanel .uppy-Dashboard-AddFiles{border:none;height:calc(100% - 54px)}.uppy-Dashboard--modal .uppy-Dashboard-AddFiles{border-color:#cfcfcf}[data-uppy-theme=dark] .uppy-Dashboard-AddFiles{border-color:#757575}.uppy-Dashboard-AddFiles-info{padding-top:15px;padding-bottom:15px;margin-top:auto;display:none}.uppy-size--height-md .uppy-Dashboard-AddFiles-info{display:block}.uppy-size--md .uppy-Dashboard-AddFiles-info{position:absolute;bottom:25px;left:0;right:0;padding-top:30px;padding-bottom:0}[data-uppy-num-acquirers=\"0\"] .uppy-Dashboard-AddFiles-info{margin-top:0}.uppy-Dashboard-browse{cursor:pointer;color:#2275d7e6}.uppy-Dashboard-browse:focus{outline:none}.uppy-Dashboard-browse::-moz-focus-inner{border:0}.uppy-Dashboard-browse:focus,.uppy-Dashboard-browse:hover{border-bottom:1px solid #2275d7}[data-uppy-theme=dark] .uppy-Dashboard-browse{color:#02baf2e6}[data-uppy-theme=dark] .uppy-Dashboard-browse:focus,[data-uppy-theme=dark] .uppy-Dashboard-browse:hover{border-bottom:1px solid #02baf2}.uppy-Dashboard-browseBtn{display:block;font-size:14px;font-weight:500;margin-top:8px;margin-bottom:5px;width:100%}.uppy-size--md .uppy-Dashboard-browseBtn{font-size:15px;width:auto;margin:15px auto;padding:13px 44px}.uppy-Dashboard-AddFiles-list{display:flex;flex-direction:column;flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-top:2px;padding:2px 0;width:100%}.uppy-size--md .uppy-Dashboard-AddFiles-list{flex-direction:row;flex-wrap:wrap;justify-content:center;max-width:600px;overflow-y:visible;margin-top:15px;padding-top:0;flex:none}.uppy-DashboardTab{width:100%;text-align:center;border-bottom:1px solid #eaeaea}[data-uppy-theme=dark] .uppy-DashboardTab{border-bottom:1px solid #333}.uppy-size--md .uppy-DashboardTab{display:inline-block;width:auto;margin-bottom:10px;border-bottom:none}.uppy-DashboardTab-btn{width:100%;height:100%;cursor:pointer;border:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:#525252;display:flex;flex-direction:row;align-items:center;padding:12px 15px;line-height:1;text-align:center}.uppy-DashboardTab-btn:focus{outline:none}[dir=ltr] .uppy-size--md .uppy-DashboardTab-btn{margin-right:1px}[dir=rtl] .uppy-size--md .uppy-DashboardTab-btn{margin-left:1px}.uppy-size--md .uppy-DashboardTab-btn{width:86px;-webkit-margin-end:1px;flex-direction:column;padding:10px 3px;border-radius:5px}[data-uppy-theme=dark] .uppy-DashboardTab-btn{color:#eaeaea}.uppy-DashboardTab-btn::-moz-focus-inner{border:0}.uppy-DashboardTab-btn:hover{background-color:#f1f3f6}[data-uppy-theme=dark] .uppy-DashboardTab-btn:hover{background-color:#333}.uppy-DashboardTab-btn:active,.uppy-DashboardTab-btn:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-DashboardTab-btn:active,[data-uppy-theme=dark] .uppy-DashboardTab-btn:focus{background-color:#525252}[dir=ltr] .uppy-DashboardTab-btn svg{margin-right:10px}[dir=rtl] .uppy-DashboardTab-btn svg{margin-left:10px}.uppy-DashboardTab-btn svg{max-width:100%;max-height:100%;display:inline-block;vertical-align:text-top;overflow:hidden;transition:transform .15s ease-in-out;-webkit-margin-end:10px}[dir=ltr] .uppy-size--md .uppy-DashboardTab-btn svg{margin-right:0}[dir=rtl] .uppy-size--md .uppy-DashboardTab-btn svg{margin-left:0}.uppy-size--md .uppy-DashboardTab-btn svg{-webkit-margin-end:0}.uppy-DashboardTab-name{font-size:14px;font-weight:500}.uppy-size--md .uppy-DashboardTab-name{font-size:11px;line-height:15px;margin-top:8px;margin-bottom:0}.uppy-DashboardTab svg{width:23px;height:23px;vertical-align:middle}.uppy-size--md .uppy-DashboardTab svg{width:30px;height:30px}.uppy-Dashboard-input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}.uppy-DashboardContent-bar{flex-shrink:0;height:40px;width:100%;padding:0 10px;z-index:1004;display:flex;align-items:center;justify-content:space-between;position:relative;border-bottom:1px solid #eaeaea;background-color:#fafafa}.uppy-size--md .uppy-DashboardContent-bar{height:50px;padding:0 15px}[data-uppy-theme=dark] .uppy-DashboardContent-bar{background-color:#1f1f1f;border-bottom:1px solid #333}.uppy-DashboardContent-title{position:absolute;top:0;left:0;right:0;text-align:center;font-size:12px;line-height:40px;font-weight:500;width:100%;max-width:170px;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;margin:auto}.uppy-size--md .uppy-DashboardContent-title{font-size:14px;line-height:50px;max-width:300px}[data-uppy-theme=dark] .uppy-DashboardContent-title{color:#eaeaea}[dir=ltr] .uppy-DashboardContent-back{margin-left:-6px}[dir=rtl] .uppy-DashboardContent-back{margin-right:-6px}.uppy-DashboardContent-back{background:none;-webkit-appearance:none;font-family:inherit;font-size:inherit;line-height:1;margin:0;border:0;color:inherit;border-radius:3px;font-size:12px;font-weight:400;cursor:pointer;color:#2275d7;padding:7px 6px;-webkit-margin-start:-6px}.uppy-DashboardContent-back:focus{outline:none}.uppy-DashboardContent-back::-moz-focus-inner{border:0}.uppy-DashboardContent-back:hover{color:#1b5dab}.uppy-DashboardContent-back:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-DashboardContent-back:focus{background-color:#333}.uppy-size--md .uppy-DashboardContent-back{font-size:14px}[data-uppy-theme=dark] .uppy-DashboardContent-back{color:#02baf2}[dir=ltr] .uppy-DashboardContent-addMore{margin-right:-5px}[dir=rtl] .uppy-DashboardContent-addMore{margin-left:-5px}.uppy-DashboardContent-addMore{background:none;-webkit-appearance:none;font-family:inherit;font-size:inherit;line-height:1;margin:0;border:0;color:inherit;border-radius:3px;font-weight:500;cursor:pointer;color:#2275d7;width:29px;height:29px;padding:7px 8px;-webkit-margin-end:-5px}.uppy-DashboardContent-addMore:focus{outline:none}.uppy-DashboardContent-addMore::-moz-focus-inner{border:0}.uppy-DashboardContent-addMore:hover{color:#1b5dab}.uppy-DashboardContent-addMore:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-DashboardContent-addMore:focus{background-color:#333}[dir=ltr] .uppy-size--md .uppy-DashboardContent-addMore{margin-right:-8px}[dir=rtl] .uppy-size--md .uppy-DashboardContent-addMore{margin-left:-8px}.uppy-size--md .uppy-DashboardContent-addMore{font-size:14px;width:auto;height:auto;-webkit-margin-end:-8px}[data-uppy-theme=dark] .uppy-DashboardContent-addMore{color:#02baf2}[dir=ltr] .uppy-DashboardContent-addMore svg{margin-right:4px}[dir=rtl] .uppy-DashboardContent-addMore svg{margin-left:4px}.uppy-DashboardContent-addMore svg{vertical-align:baseline;-webkit-margin-end:4px}.uppy-size--md .uppy-DashboardContent-addMore svg{width:11px;height:11px}.uppy-DashboardContent-addMoreCaption{display:none}.uppy-size--md .uppy-DashboardContent-addMoreCaption{display:inline}.uppy-DashboardContent-panel{background-color:#f5f5f5;flex-direction:column;flex:1}.uppy-Dashboard-AddFilesPanel,.uppy-DashboardContent-panel{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;z-index:1005;border-radius:5px;display:flex}.uppy-Dashboard-AddFilesPanel{background:#fafafa;background:linear-gradient(0deg,#fafafa 35%,hsla(0,0%,98%,.85));box-shadow:0 0 10px 5px #00000026;flex-direction:column}[data-uppy-theme=dark] .uppy-Dashboard-AddFilesPanel{background-color:#333;background:linear-gradient(0deg,#1f1f1f 35%,rgba(31,31,31,.85))}.uppy-Dashboard--isAddFilesPanelVisible .uppy-Dashboard-files{filter:blur(2px)}.uppy-Dashboard-progress{position:absolute;bottom:0;left:0;width:100%;height:12%}.uppy-Dashboard-progressBarContainer.is-active{z-index:1004;position:absolute;top:0;left:0;width:100%;height:100%}.uppy-Dashboard:not(.uppy-size--md) .uppy-StatusBar-additionalInfo{display:none}.uppy-Dashboard-filesContainer{position:relative;overflow-y:hidden;margin:0;flex:1}.uppy-Dashboard-filesContainer:after{content:\"\";display:table;clear:both}.uppy-Dashboard-files{margin:0;padding:0 0 10px;overflow-y:auto;-webkit-overflow-scrolling:touch;flex:1}.uppy-size--md .uppy-Dashboard-files{padding-top:10px}.uppy-Dashboard-dropFilesHereHint{display:flex;align-items:center;justify-content:center;visibility:hidden;position:absolute;top:7px;right:7px;bottom:7px;left:7px;padding-top:90px;border:1px dashed #2275d7;border-radius:3px;z-index:2000;text-align:center;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='48' height='48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 1v1C11.85 2 2 11.85 2 24s9.85 22 22 22 22-9.85 22-22S36.15 2 24 2V1zm0 0V0c13.254 0 24 10.746 24 24S37.254 48 24 48 0 37.254 0 24 10.746 0 24 0v1zm7.707 19.293a.999.999 0 11-1.414 1.414L25 16.414V34a1 1 0 11-2 0V16.414l-5.293 5.293a.999.999 0 11-1.414-1.414l7-7a.999.999 0 011.414 0l7 7z' fill='%232275D7'/%3E%3C/svg%3E\");background-position:50% 50%;background-repeat:no-repeat;color:#757575;font-size:16px}[data-uppy-theme=dark] .uppy-Dashboard-dropFilesHereHint{color:#bbb;border-color:#02baf2;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='48' height='48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 1v1C11.85 2 2 11.85 2 24s9.85 22 22 22 22-9.85 22-22S36.15 2 24 2V1zm0 0V0c13.254 0 24 10.746 24 24S37.254 48 24 48 0 37.254 0 24 10.746 0 24 0v1zm7.707 19.293a.999.999 0 11-1.414 1.414L25 16.414V34a1 1 0 11-2 0V16.414l-5.293 5.293a.999.999 0 11-1.414-1.414l7-7a.999.999 0 011.414 0l7 7z' fill='%2302BAF2'/%3E%3C/svg%3E\")}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-dropFilesHereHint{visibility:visible}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-files,.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-progressindicators,.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-DashboardContent-bar{opacity:.15}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-AddFiles{opacity:.03}.uppy-Dashboard-AddFiles-title{font-size:17px;line-height:1.35;font-weight:500;color:#000;margin-top:15px;margin-bottom:5px;text-align:inline-start;padding:0 15px;width:100%}.uppy-size--md .uppy-Dashboard-AddFiles-title{font-size:25px;margin-top:5px;font-weight:400;text-align:center;max-width:480px}[data-uppy-num-acquirers=\"0\"] .uppy-Dashboard-AddFiles-title{text-align:center}[data-uppy-theme=dark] .uppy-Dashboard-AddFiles-title{color:#eaeaea}.uppy-Dashboard-AddFiles-title button{font-weight:500}.uppy-size--md .uppy-Dashboard-AddFiles-title button{font-weight:400}.uppy-Dashboard-note{font-size:14px;line-height:1.25;text-align:center;color:#757575;max-width:350px;margin:auto;padding:0 15px}.uppy-size--md .uppy-Dashboard-note{font-size:15px;line-height:1.35;max-width:600px}[data-uppy-theme=dark] .uppy-Dashboard-note{color:#cfcfcf}a.uppy-Dashboard-poweredBy{display:inline-block;text-align:center;font-size:11px;color:#939393;text-decoration:none;margin-top:8px}.uppy-Dashboard-poweredByIcon{stroke:#939393;fill:none;margin-left:1px;margin-right:1px;position:relative;top:1px;opacity:.9;vertical-align:text-top}.uppy-Dashboard-Item-previewIcon{width:25px;height:25px;z-index:100;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.uppy-size--md .uppy-Dashboard-Item-previewIcon{width:38px;height:38px}.uppy-Dashboard-Item-previewIcon svg{width:100%;height:100%}.uppy-Dashboard-Item-previewIconWrap{height:76px;max-height:75%;position:relative}.uppy-Dashboard-Item-previewIconBg{width:100%;height:100%;filter:drop-shadow(rgba(0,0,0,.1) 0 1px 1px)}.uppy-Dashboard-upload{position:relative;width:50px;height:50px}.uppy-size--md .uppy-Dashboard-upload{width:60px;height:60px}.uppy-Dashboard-upload .uppy-c-icon{position:relative;top:1px;width:50%}[dir=ltr] .uppy-Dashboard-uploadCount{right:-12px}[dir=rtl] .uppy-Dashboard-uploadCount{left:-12px}.uppy-Dashboard-uploadCount{position:absolute;top:-12px;background-color:#1bb240;color:#fff;border-radius:50%;width:16px;height:16px;line-height:16px;font-size:8px}.uppy-size--md .uppy-Dashboard-uploadCount{width:18px;height:18px;line-height:18px;font-size:9px}\n"], components: [{ type: i1$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { type: CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }], directives: [{ type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission"] }], pipes: { "abpLocalization": i1.LocalizationPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementButtonsComponent, decorators: [{
1253
+ type: Component,
1254
+ args: [{
1255
+ selector: 'abp-file-management-buttons',
1256
+ templateUrl: './file-management-buttons.component.html',
1257
+ changeDetection: ChangeDetectionStrategy.OnPush,
1258
+ styleUrls: [
1259
+ '../../../../../../node_modules/@uppy/core/dist/style.min.css',
1260
+ '../../../../../../node_modules/@uppy/dashboard/dist/style.min.css',
1261
+ ],
1262
+ encapsulation: ViewEncapsulation.None,
1263
+ }]
1264
+ }], ctorParameters: function () { return [{ type: UploadService }]; } });
992
1265
 
993
- class MoveService {
994
- constructor(service, confirmation, updateStream, toaster) {
995
- this.service = service;
996
- this.confirmation = confirmation;
997
- this.updateStream = updateStream;
998
- this.toaster = toaster;
999
- }
1000
- moveTo(source, target, oldParentId) {
1001
- const id = source.id;
1002
- const newParentId = mapRootIdToEmpty(target.id);
1003
- return this.confirmation
1004
- .warn('FileManagement::DirectoryMoveConfirmMessage', 'FileManagement::AreYouSure', { messageLocalizationParams: [source.name, target.name] })
1005
- .pipe(filter((status) => status === Confirmation.Status.confirm), switchMap((_) => this.service.move({ id, newParentId })), tap((_) => {
1006
- this.updateStream.patchStore({
1007
- movedDirectory: {
1008
- id,
1009
- newParentId,
1010
- oldParentId,
1011
- },
1012
- });
1013
- this.toaster.success('FileManagement::SuccessfullyMoved');
1014
- }));
1015
- }
1016
- }
1017
- MoveService.decorators = [
1018
- { type: Injectable }
1019
- ];
1020
- MoveService.ctorParameters = () => [
1021
- { type: DirectoryDescriptorService },
1022
- { type: ConfirmationService },
1023
- { type: UpdateStreamService },
1024
- { type: ToasterService }
1025
- ];
1026
-
1027
- class FileManagementDirectoryTreeComponent {
1028
- constructor(service, navigator, move, cdr, deleteService, subscription) {
1266
+ class FileManagementDirectoryTreeComponent {
1267
+ constructor(service, navigator, move, cdr, deleteService, subscription) {
1029
1268
  this.service = service;
1030
1269
  this.navigator = navigator;
1031
1270
  this.move = move;
@@ -1091,22 +1330,17 @@ class FileManagementDirectoryTreeComponent {
1091
1330
  };
1092
1331
  }
1093
1332
  }
1094
- FileManagementDirectoryTreeComponent.decorators = [
1095
- { type: Component, args: [{
1096
- selector: 'abp-file-management-directory-tree',
1097
- template: "<div>\n <ng-container *ngIf=\"directories\">\n <abp-tree\n [(nodes)]=\"directories\"\n [(expandedKeys)]=\"service.extendedKeys\"\n [draggable]=\"true\"\n (dropOver)=\"onDrop($event)\"\n (selectedNodeChange)=\"onNodeClick($event)\"\n >\n <ng-template abp-tree-expanded-icon-template let-node>\n <i\n class=\"far\"\n style=\"line-height: 30px\"\n [class.fa-plus-square]=\"!node.isExpanded\"\n [class.fa-minus-square]=\"node.isExpanded\"\n aria-hidden=\"true\"\n ></i>\n </ng-template>\n\n <ng-template abp-tree-node-template let-node\n ><i class=\"fa fa-folder text-primary mr-2\" aria-hidden=\"true\"></i\n ><ng-container *ngIf=\"node.origin.entity.isRoot; else leafNode\">\n {{ \"FileManagement::AllFiles\" | abpLocalization }}\n </ng-container>\n <ng-template #leafNode>{{ node.title }}</ng-template></ng-template\n >\n\n <ng-container *abpPermission=\"contextMenuPolicy\">\n <ng-template #menu let-node>\n <li\n *abpPermission=\"createPolicy\"\n class=\"pointer\"\n ngbDropdownItem\n (click)=\"onCreate(node.origin.entity)\"\n >\n {{ \"FileManagement::CreateFolder\" | abpLocalization }}\n </li>\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\n <li\n *abpPermission=\"updatePolicy\"\n class=\"pointer\"\n ngbDropdownItem\n (click)=\"onRename(node.origin.entity)\"\n >\n {{ \"FileManagement::Rename\" | abpLocalization }}\n </li>\n </ng-container>\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\n <li\n *abpPermission=\"updatePolicy\"\n class=\"pointer\"\n ngbDropdownItem\n (click)=\"onMove(node)\"\n >\n {{ \"FileManagement::Move\" | abpLocalization }}\n </li>\n </ng-container>\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\n <li\n *abpPermission=\"deletePolicy\"\n class=\"pointer\"\n ngbDropdownItem\n (click)=\"onDelete(node.origin.entity)\"\n >\n {{ \"FileManagement::Delete\" | abpLocalization }}\n </li>\n </ng-container>\n </ng-template>\n </ng-container>\n </abp-tree>\n </ng-container>\n</div>\n\n<abp-create-folder-modal\n [(visible)]=\"createModalVisible\"\n [parentId]=\"createModalParentId\"\n></abp-create-folder-modal>\n\n<abp-rename-modal\n [(visible)]=\"renameModalVisible\"\n [(contentToRename)]=\"contentToRename\"\n></abp-rename-modal>\n\n<abp-move-file-modal\n [(visible)]=\"moveModalVisible\"\n (contentSaved)=\"afterFolderMoved()\"\n [fileToMove]=\"folderToMove\"\n [oldParentId]=\"parentOfFolderToMove\"\n>\n</abp-move-file-modal>\n",
1098
- changeDetection: ChangeDetectionStrategy.OnPush,
1099
- providers: [SubscriptionService]
1100
- },] }
1101
- ];
1102
- FileManagementDirectoryTreeComponent.ctorParameters = () => [
1103
- { type: DirectoryTreeService },
1104
- { type: NavigatorService },
1105
- { type: MoveService },
1106
- { type: ChangeDetectorRef },
1107
- { type: DeleteService },
1108
- { type: SubscriptionService }
1109
- ];
1333
+ FileManagementDirectoryTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementDirectoryTreeComponent, deps: [{ token: DirectoryTreeService }, { token: NavigatorService }, { token: MoveService }, { token: i0.ChangeDetectorRef }, { token: DeleteService }, { token: i1.SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
1334
+ FileManagementDirectoryTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.9", type: FileManagementDirectoryTreeComponent, selector: "abp-file-management-directory-tree", providers: [SubscriptionService], ngImport: i0, template: "<div>\n <ng-container *ngIf=\"directories\">\n <abp-tree\n [(nodes)]=\"directories\"\n [(expandedKeys)]=\"service.extendedKeys\"\n [draggable]=\"true\"\n (dropOver)=\"onDrop($event)\"\n (selectedNodeChange)=\"onNodeClick($event)\"\n >\n <ng-template abp-tree-expanded-icon-template let-node>\n <i\n class=\"far\"\n style=\"line-height: 30px\"\n [class.fa-plus-square]=\"!node.isExpanded\"\n [class.fa-minus-square]=\"node.isExpanded\"\n aria-hidden=\"true\"\n ></i>\n </ng-template>\n\n <ng-template abp-tree-node-template let-node\n ><i class=\"fa fa-folder text-primary mr-2\" aria-hidden=\"true\"></i\n ><ng-container *ngIf=\"node.origin.entity.isRoot; else leafNode\">\n {{ \"FileManagement::AllFiles\" | abpLocalization }}\n </ng-container>\n <ng-template #leafNode>{{ node.title }}</ng-template></ng-template\n >\n\n <ng-container *abpPermission=\"contextMenuPolicy\">\n <ng-template #menu let-node>\n <li\n *abpPermission=\"createPolicy\"\n class=\"pointer\"\n ngbDropdownItem\n (click)=\"onCreate(node.origin.entity)\"\n >\n {{ \"FileManagement::CreateFolder\" | abpLocalization }}\n </li>\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\n <li\n *abpPermission=\"updatePolicy\"\n class=\"pointer\"\n ngbDropdownItem\n (click)=\"onRename(node.origin.entity)\"\n >\n {{ \"FileManagement::Rename\" | abpLocalization }}\n </li>\n </ng-container>\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\n <li\n *abpPermission=\"updatePolicy\"\n class=\"pointer\"\n ngbDropdownItem\n (click)=\"onMove(node)\"\n >\n {{ \"FileManagement::Move\" | abpLocalization }}\n </li>\n </ng-container>\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\n <li\n *abpPermission=\"deletePolicy\"\n class=\"pointer\"\n ngbDropdownItem\n (click)=\"onDelete(node.origin.entity)\"\n >\n {{ \"FileManagement::Delete\" | abpLocalization }}\n </li>\n </ng-container>\n </ng-template>\n </ng-container>\n </abp-tree>\n </ng-container>\n</div>\n\n<abp-create-folder-modal\n [(visible)]=\"createModalVisible\"\n [parentId]=\"createModalParentId\"\n></abp-create-folder-modal>\n\n<abp-rename-modal\n [(visible)]=\"renameModalVisible\"\n [(contentToRename)]=\"contentToRename\"\n></abp-rename-modal>\n\n<abp-move-file-modal\n [(visible)]=\"moveModalVisible\"\n (contentSaved)=\"afterFolderMoved()\"\n [fileToMove]=\"folderToMove\"\n [oldParentId]=\"parentOfFolderToMove\"\n>\n</abp-move-file-modal>\n", components: [{ type: i6.TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver"] }, { type: CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }, { type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.ExpandedIconTemplateDirective, selector: "[abpTreeExpandedIconTemplate],[abp-tree-expanded-icon-template]" }, { type: i6.TreeNodeTemplateDirective, selector: "[abpTreeNodeTemplate],[abp-tree-node-template]" }, { type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission"] }, { type: i11.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }], pipes: { "abpLocalization": i1.LocalizationPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1335
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementDirectoryTreeComponent, decorators: [{
1336
+ type: Component,
1337
+ args: [{
1338
+ selector: 'abp-file-management-directory-tree',
1339
+ templateUrl: './file-management-directory-tree.component.html',
1340
+ changeDetection: ChangeDetectionStrategy.OnPush,
1341
+ providers: [SubscriptionService],
1342
+ }]
1343
+ }], ctorParameters: function () { return [{ type: DirectoryTreeService }, { type: NavigatorService }, { type: MoveService }, { type: i0.ChangeDetectorRef }, { type: DeleteService }, { type: i1.SubscriptionService }]; } });
1110
1344
 
1111
1345
  class FileManagementFolderFilterComponent {
1112
1346
  constructor(list, navigator) {
@@ -1121,17 +1355,16 @@ class FileManagementFolderFilterComponent {
1121
1355
  this.list.get();
1122
1356
  }
1123
1357
  }
1124
- FileManagementFolderFilterComponent.decorators = [
1125
- { type: Component, args: [{
1126
- selector: 'abp-file-management-folder-filter',
1127
- template: "<div class=\"row mb-3\">\n <div class=\"col-sm-12 col-md-auto col-lg-auto col-xl-auto\">\n <abp-button\n (click)=\"goUpFolder()\"\n iconClass=\"fa fa-level-up-alt fa-flip-horizontal mr-2\"\n buttonClass=\"mb-2 mb-md-0 shadow-none btn-block btn btn-outline-secondary\"\n >{{ \"FileManagement::GoUpFolder\" | abpLocalization }}</abp-button\n >\n </div>\n <div class=\"col\">\n <div class=\"input-group\">\n <input\n class=\"form-control page-search-filter-text\"\n [(ngModel)]=\"list.filter\"\n [placeholder]=\"'FileManagement::Filter' | abpLocalization\"\n />\n <div class=\"input-group-append\">\n <abp-button (abpClick)=\"search()\" iconClass=\"fa fa-search\"></abp-button>\n </div>\n </div>\n </div>\n</div>\n",
1128
- changeDetection: ChangeDetectionStrategy.OnPush
1129
- },] }
1130
- ];
1131
- FileManagementFolderFilterComponent.ctorParameters = () => [
1132
- { type: ListService },
1133
- { type: NavigatorService }
1134
- ];
1358
+ FileManagementFolderFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementFolderFilterComponent, deps: [{ token: i1.ListService }, { token: NavigatorService }], target: i0.ɵɵFactoryTarget.Component });
1359
+ FileManagementFolderFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.9", type: FileManagementFolderFilterComponent, selector: "abp-file-management-folder-filter", ngImport: i0, template: "<div class=\"row mb-3\">\n <div class=\"col-sm-12 col-md-auto col-lg-auto col-xl-auto\">\n <abp-button\n (click)=\"goUpFolder()\"\n iconClass=\"fa fa-level-up-alt fa-flip-horizontal mr-2\"\n buttonClass=\"mb-2 mb-md-0 shadow-none btn-block btn btn-outline-secondary\"\n >{{ \"FileManagement::GoUpFolder\" | abpLocalization }}</abp-button\n >\n </div>\n <div class=\"col\">\n <div class=\"input-group\">\n <input\n class=\"form-control page-search-filter-text\"\n [(ngModel)]=\"list.filter\"\n [placeholder]=\"'FileManagement::Filter' | abpLocalization\"\n />\n <div class=\"input-group-append\">\n <abp-button (abpClick)=\"search()\" iconClass=\"fa fa-search\"></abp-button>\n </div>\n </div>\n </div>\n</div>\n", components: [{ type: i1$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], directives: [{ type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "abpLocalization": i1.LocalizationPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementFolderFilterComponent, decorators: [{
1361
+ type: Component,
1362
+ args: [{
1363
+ selector: 'abp-file-management-folder-filter',
1364
+ templateUrl: './file-management-folder-filter.component.html',
1365
+ changeDetection: ChangeDetectionStrategy.OnPush,
1366
+ }]
1367
+ }], ctorParameters: function () { return [{ type: i1.ListService }, { type: NavigatorService }]; } });
1135
1368
 
1136
1369
  class FileManagementFolderPanelComponent {
1137
1370
  constructor(navigator) {
@@ -1139,366 +1372,20 @@ class FileManagementFolderPanelComponent {
1139
1372
  this.contentUpdate = new EventEmitter();
1140
1373
  }
1141
1374
  }
1142
- FileManagementFolderPanelComponent.decorators = [
1143
- { type: Component, args: [{
1144
- selector: 'abp-file-management-folder-panel',
1145
- template: "<div class=\"row mb-3\">\n <div class=\"col\">\n <abp-file-management-breadcrumb\n [navigatedFolders]=\"navigator.navigatedFolderPath$ | async\"\n (breadcrumbClick)=\"navigator.goToFolder($event)\"\n ></abp-file-management-breadcrumb>\n </div>\n</div>\n\n<abp-file-management-folder-filter></abp-file-management-folder-filter>\n<abp-file-management-folder-content\n (contentUpdate)=\"contentUpdate.emit($event)\"\n></abp-file-management-folder-content>\n",
1146
- changeDetection: ChangeDetectionStrategy.OnPush,
1147
- providers: [ListService]
1148
- },] }
1149
- ];
1150
- FileManagementFolderPanelComponent.ctorParameters = () => [
1151
- { type: NavigatorService }
1152
- ];
1153
- FileManagementFolderPanelComponent.propDecorators = {
1154
- contentUpdate: [{ type: Output }]
1155
- };
1156
-
1157
- class CreateFolderModalService {
1158
- constructor(service, updateStream) {
1159
- this.service = service;
1160
- this.updateStream = updateStream;
1161
- }
1162
- create(name, parent) {
1163
- const parentId = mapRootIdToEmpty(parent || this.updateStream.currentDirectory);
1164
- return this.service
1165
- .create({ name, parentId: mapRootIdToEmpty(parentId) })
1166
- .pipe(tap((_) => this.updateStream.patchStore({ createdDirectory: parentId })));
1167
- }
1168
- }
1169
- CreateFolderModalService.decorators = [
1170
- { type: Injectable }
1171
- ];
1172
- CreateFolderModalService.ctorParameters = () => [
1173
- { type: DirectoryDescriptorService },
1174
- { type: UpdateStreamService }
1175
- ];
1375
+ FileManagementFolderPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementFolderPanelComponent, deps: [{ token: NavigatorService }], target: i0.ɵɵFactoryTarget.Component });
1376
+ FileManagementFolderPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.9", type: FileManagementFolderPanelComponent, selector: "abp-file-management-folder-panel", outputs: { contentUpdate: "contentUpdate" }, providers: [ListService], ngImport: i0, template: "<div class=\"row mb-3\">\n <div class=\"col\">\n <abp-file-management-breadcrumb\n [navigatedFolders]=\"navigator.navigatedFolderPath$ | async\"\n (breadcrumbClick)=\"navigator.goToFolder($event)\"\n ></abp-file-management-breadcrumb>\n </div>\n</div>\n\n<abp-file-management-folder-filter></abp-file-management-folder-filter>\n<abp-file-management-folder-content\n (contentUpdate)=\"contentUpdate.emit($event)\"\n></abp-file-management-folder-content>\n", components: [{ type: FileManagementBreadcrumbComponent, selector: "abp-file-management-breadcrumb", inputs: ["rootBreadcrumbName", "navigatedFolders"], outputs: ["breadcrumbClick"] }, { type: FileManagementFolderFilterComponent, selector: "abp-file-management-folder-filter" }, { type: FileManagementFolderContentComponent, selector: "abp-file-management-folder-content", outputs: ["contentUpdate"] }], pipes: { "async": i10.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1377
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementFolderPanelComponent, decorators: [{
1378
+ type: Component,
1379
+ args: [{
1380
+ selector: 'abp-file-management-folder-panel',
1381
+ templateUrl: './file-management-folder-panel.component.html',
1382
+ changeDetection: ChangeDetectionStrategy.OnPush,
1383
+ providers: [ListService],
1384
+ }]
1385
+ }], ctorParameters: function () { return [{ type: NavigatorService }]; }, propDecorators: { contentUpdate: [{
1386
+ type: Output
1387
+ }] } });
1176
1388
 
1177
- class BaseModalComponent {
1178
- constructor() {
1179
- this.size = 'md';
1180
- this.visibleChange = new EventEmitter();
1181
- this.contentSaved = new EventEmitter();
1182
- this.loading = false;
1183
- this.success = (response) => {
1184
- this.closeModal();
1185
- this.contentSaved.emit(response);
1186
- };
1187
- }
1188
- get self() {
1189
- return this;
1190
- }
1191
- onVisibleChange(event) {
1192
- this.visible = event;
1193
- this.visibleChange.emit(this.visible);
1194
- }
1195
- closeModal() {
1196
- this.onVisibleChange(false);
1197
- this.clear();
1198
- }
1199
- clear() { }
1200
- save() {
1201
- if (this.shouldSave()) {
1202
- this.loading = true;
1203
- this.saveAction()
1204
- .pipe(finalize(() => {
1205
- this.loading = false;
1206
- }))
1207
- .subscribe(this.success);
1208
- }
1209
- }
1210
- // this method will be overwritten by children
1211
- shouldSave() {
1212
- return true;
1213
- }
1214
- // this method will be overwritten by children
1215
- saveAction() {
1216
- return of({});
1217
- }
1218
- }
1219
- BaseModalComponent.decorators = [
1220
- { type: Component, args: [{
1221
- selector: 'abp-file-management-modal',
1222
- // do not use OnPush here, because of `parent` usage, it won't work
1223
- changeDetection: ChangeDetectionStrategy.Default,
1224
- template: `
1225
- <abp-modal
1226
- [size]="parent.size"
1227
- [visible]="parent.visible"
1228
- (visibleChange)="parent.onVisibleChange($event)"
1229
- >
1230
- <ng-template #abpHeader>
1231
- <h5 class="modal-title">
1232
- {{ 'FileManagement::' + title | abpLocalization }}
1233
- </h5>
1234
- </ng-template>
1235
-
1236
- <ng-template #abpBody>
1237
- <ng-content></ng-content>
1238
- </ng-template>
1239
-
1240
- <ng-template #abpFooter>
1241
- <button
1242
- (click)="parent.closeModal()"
1243
- type="button"
1244
- [disabled]="parent.loading"
1245
- class="btn btn-secondary"
1246
- >
1247
- {{ 'AbpUi::Cancel' | abpLocalization }}
1248
- </button>
1249
- <abp-button
1250
- type="abp-button"
1251
- [loading]="loading"
1252
- iconClass="fa fa-check"
1253
- (click)="parent.save()"
1254
- >
1255
- {{ 'AbpUi::Save' | abpLocalization }}
1256
- </abp-button>
1257
- </ng-template>
1258
- </abp-modal>
1259
- `
1260
- },] }
1261
- ];
1262
- BaseModalComponent.propDecorators = {
1263
- title: [{ type: Input }],
1264
- size: [{ type: Input }],
1265
- visible: [{ type: Input }],
1266
- visibleChange: [{ type: Output }],
1267
- contentSaved: [{ type: Output }],
1268
- parent: [{ type: Input }]
1269
- };
1270
-
1271
- class CreateFolderModalComponent extends BaseModalComponent {
1272
- constructor(fb, service) {
1273
- super();
1274
- this.fb = fb;
1275
- this.service = service;
1276
- this.form = this.fb.group({
1277
- name: ['', Validators.required],
1278
- });
1279
- }
1280
- shouldSave() {
1281
- return this.form.valid;
1282
- }
1283
- saveAction() {
1284
- return this.service.create(this.form.controls.name.value, this.parentId);
1285
- }
1286
- clear() {
1287
- this.form.reset();
1288
- }
1289
- }
1290
- CreateFolderModalComponent.decorators = [
1291
- { type: Component, args: [{
1292
- selector: 'abp-create-folder-modal',
1293
- template: "<abp-file-management-modal title=\"CreateFolder\" [parent]=\"self\">\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\n <div class=\"form-group\">\n <label for=\"createFolderInput\"\n >{{ \"FileManagement::Name\" | abpLocalization }} *</label\n >\n <input\n formControlName=\"name\"\n type=\"text\"\n class=\"form-control\"\n id=\"createFolderInput\"\n />\n </div>\n </form>\n</abp-file-management-modal>\n",
1294
- changeDetection: ChangeDetectionStrategy.OnPush,
1295
- providers: [CreateFolderModalService]
1296
- },] }
1297
- ];
1298
- CreateFolderModalComponent.ctorParameters = () => [
1299
- { type: FormBuilder },
1300
- { type: CreateFolderModalService }
1301
- ];
1302
- CreateFolderModalComponent.propDecorators = {
1303
- parentId: [{ type: Input }]
1304
- };
1305
-
1306
- class MoveFileModalService {
1307
- constructor(service, fileService, updateStream, toaster, moveService, navigatorService) {
1308
- this.service = service;
1309
- this.fileService = fileService;
1310
- this.updateStream = updateStream;
1311
- this.toaster = toaster;
1312
- this.moveService = moveService;
1313
- this.navigatorService = navigatorService;
1314
- this.directoryContentStore = new InternalStore([]);
1315
- this.directoryContent$ = this.directoryContentStore.sliceState((state) => state);
1316
- this.breadcrumbStore = new InternalStore([ROOT_NODE]);
1317
- this.breadcrumbs$ = this.breadcrumbStore.sliceState((state) => state);
1318
- }
1319
- reset() {
1320
- this.breadcrumbStore.reset();
1321
- this.directoryContentStore.reset();
1322
- this.updateContent().subscribe();
1323
- }
1324
- updateContent() {
1325
- return this.service
1326
- .getList(this.getCurrentFolderIdForRequest())
1327
- .pipe(tap((content) => this.directoryContentStore.patch(content.items)));
1328
- }
1329
- goTo(folder) {
1330
- let navigatedFolders = this.getNavigatedFolders();
1331
- const index = navigatedFolders.findIndex((f) => f.id === folder.id);
1332
- if (index < 0) {
1333
- navigatedFolders = [...navigatedFolders, folder];
1334
- }
1335
- else {
1336
- navigatedFolders = navigatedFolders.slice(0, index + 1);
1337
- }
1338
- this.breadcrumbStore.patch(navigatedFolders);
1339
- this.updateContent().subscribe();
1340
- }
1341
- move(fileToMove) {
1342
- return this.fileService
1343
- .move({
1344
- id: fileToMove.id,
1345
- newDirectoryId: this.getCurrentFolderIdForRequest(),
1346
- })
1347
- .pipe(tap((_) => {
1348
- this.updateStream.refreshContent();
1349
- this.toaster.success('FileManagement::SuccessfullyMoved');
1350
- }));
1351
- }
1352
- moveFolder(folderToMove, oldParentId) {
1353
- return this.moveService.moveTo(folderToMove, this.getCurrentFolder(), oldParentId);
1354
- }
1355
- getCurrentFolder() {
1356
- const navigatedFolders = this.getNavigatedFolders();
1357
- return navigatedFolders[navigatedFolders.length - 1];
1358
- }
1359
- getCurrentFolderIdForRequest() {
1360
- var _a;
1361
- const navigatedFolders = this.getNavigatedFolders();
1362
- return mapRootIdToEmpty((_a = navigatedFolders[navigatedFolders.length - 1]) === null || _a === void 0 ? void 0 : _a.id);
1363
- }
1364
- getNavigatedFolders() {
1365
- return this.breadcrumbStore.state;
1366
- }
1367
- }
1368
- MoveFileModalService.decorators = [
1369
- { type: Injectable }
1370
- ];
1371
- MoveFileModalService.ctorParameters = () => [
1372
- { type: DirectoryDescriptorService },
1373
- { type: FileDescriptorService },
1374
- { type: UpdateStreamService },
1375
- { type: ToasterService },
1376
- { type: MoveService },
1377
- { type: NavigatorService }
1378
- ];
1379
-
1380
- class MoveFileModalComponent extends BaseModalComponent {
1381
- constructor(service) {
1382
- super();
1383
- this.service = service;
1384
- }
1385
- ngOnChanges({ visible }) {
1386
- if (visible.currentValue) {
1387
- this.service.reset();
1388
- }
1389
- }
1390
- onBreadcrumbClick(folder) {
1391
- this.service.goTo(folder);
1392
- }
1393
- saveAction() {
1394
- if (this.fileToMove.isDirectory) {
1395
- return this.service.moveFolder(this.fileToMove, this.oldParentId);
1396
- }
1397
- else {
1398
- return this.service.move(this.fileToMove);
1399
- }
1400
- }
1401
- }
1402
- MoveFileModalComponent.decorators = [
1403
- { type: Component, args: [{
1404
- selector: 'abp-move-file-modal',
1405
- template: "<abp-file-management-modal title=\"Move\" [parent]=\"self\">\n <span class=\"d-block p-2\">{{\n \"FileManagement::MoveToUnder\" | abpLocalization\n }}</span>\n <abp-file-management-breadcrumb\n [navigatedFolders]=\"service.breadcrumbs$ | async\"\n rootBreadcrumbName=\"FileManagement::Root\"\n (breadcrumbClick)=\"onBreadcrumbClick($event)\"\n ></abp-file-management-breadcrumb>\n\n <ngx-datatable\n [rows]=\"service.directoryContent$ | async\"\n default\n [messages]=\"{ emptyMessage: 'FileManagement::MoveHere' | abpLocalization }\"\n >\n <ngx-datatable-column\n [sortable]=\"true\"\n [name]=\"'FileManagement::Name' | abpLocalization\"\n >\n <ng-template let-row=\"row\" let-i=\"index\" ngx-datatable-cell-template>\n <div (click)=\"service.goTo(row)\" class=\"pointer\">\n <i class=\"fa fa-folder text-primary mr-1\"></i> {{ row.name }}\n </div>\n </ng-template>\n </ngx-datatable-column>\n </ngx-datatable>\n</abp-file-management-modal>\n",
1406
- changeDetection: ChangeDetectionStrategy.OnPush,
1407
- providers: [MoveFileModalService, ListService]
1408
- },] }
1409
- ];
1410
- MoveFileModalComponent.ctorParameters = () => [
1411
- { type: MoveFileModalService }
1412
- ];
1413
- MoveFileModalComponent.propDecorators = {
1414
- fileToMove: [{ type: Input }],
1415
- oldParentId: [{ type: Input }]
1416
- };
1417
-
1418
- class RenameModalService {
1419
- constructor(directoryService, fileService, updateStream) {
1420
- this.directoryService = directoryService;
1421
- this.fileService = fileService;
1422
- this.updateStream = updateStream;
1423
- }
1424
- rename(contentToRename) {
1425
- const id = contentToRename.id;
1426
- const name = contentToRename.name;
1427
- if (contentToRename.isDirectory) {
1428
- return this.callService(this.directoryService, id, name).pipe(tap((_) => this.updateStream.patchStore({ renamedDirectory: { id, name } })));
1429
- }
1430
- else {
1431
- return this.callService(this.fileService, id, name).pipe(tap((_) => this.updateStream.refreshContent()));
1432
- }
1433
- }
1434
- callService(service, id, name) {
1435
- return service.rename(id, { name }).pipe(mapTo(true));
1436
- }
1437
- }
1438
- RenameModalService.decorators = [
1439
- { type: Injectable }
1440
- ];
1441
- RenameModalService.ctorParameters = () => [
1442
- { type: DirectoryDescriptorService },
1443
- { type: FileDescriptorService },
1444
- { type: UpdateStreamService }
1445
- ];
1446
-
1447
- class RenameModalComponent extends BaseModalComponent {
1448
- constructor(service, fb) {
1449
- super();
1450
- this.service = service;
1451
- this.fb = fb;
1452
- this.form = this.fb.group({
1453
- name: ['', Validators.required],
1454
- });
1455
- this.contentToRenameChange = new EventEmitter();
1456
- }
1457
- set contentToRename(val) {
1458
- this._contentToRename = val;
1459
- this.form.controls.name.patchValue(val === null || val === void 0 ? void 0 : val.name);
1460
- }
1461
- get contentToRename() {
1462
- return this._contentToRename;
1463
- }
1464
- ngOnInit() { }
1465
- saveAction() {
1466
- return this.service.rename(Object.assign(Object.assign({}, this.contentToRename), this.form.value));
1467
- }
1468
- shouldSave() {
1469
- return this.form.valid;
1470
- }
1471
- clear() {
1472
- this.form.reset();
1473
- this.contentToRename = null;
1474
- this.contentToRenameChange.emit(this.contentToRename);
1475
- }
1476
- }
1477
- RenameModalComponent.decorators = [
1478
- { type: Component, args: [{
1479
- selector: 'abp-rename-modal',
1480
- template: "<abp-file-management-modal title=\"Rename\" [parent]=\"self\">\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\n <div class=\"form-group\">\n <label for=\"renameFileInput\"\n >{{ \"FileManagement::Name\" | abpLocalization }} *</label\n >\n <input\n formControlName=\"name\"\n type=\"text\"\n class=\"form-control\"\n id=\"renameFileInput\"\n />\n </div>\n </form>\n</abp-file-management-modal>\n",
1481
- changeDetection: ChangeDetectionStrategy.OnPush,
1482
- providers: [RenameModalService]
1483
- },] }
1484
- ];
1485
- RenameModalComponent.ctorParameters = () => [
1486
- { type: RenameModalService },
1487
- { type: FormBuilder }
1488
- ];
1489
- RenameModalComponent.propDecorators = {
1490
- contentToRename: [{ type: Input }],
1491
- contentToRenameChange: [{ type: Output }]
1492
- };
1493
-
1494
- var FileIconType;
1495
- (function (FileIconType) {
1496
- FileIconType[FileIconType["FontAwesome"] = 0] = "FontAwesome";
1497
- FileIconType[FileIconType["Url"] = 1] = "Url";
1498
- })(FileIconType || (FileIconType = {}));
1499
- const fileIconTypeOptions = mapEnumToOptions(FileIconType);
1500
-
1501
- const ɵ0 = "FileManagement.FolderContentComponent" /* FolderContent */;
1502
1389
  class FileManagementComponent {
1503
1390
  constructor(updateStream) {
1504
1391
  this.updateStream = updateStream;
@@ -1510,29 +1397,41 @@ class FileManagementComponent {
1510
1397
  });
1511
1398
  }
1512
1399
  }
1513
- FileManagementComponent.decorators = [
1514
- { type: Component, args: [{
1515
- selector: 'abp-file-management',
1516
- template: "<abp-page\n [title]=\"'FileManagement::Menu:FileManagement' | abpLocalization\"\n [toolbar]=\"currentContent\"\n>\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col-md-4 col-lg-3 col\">\n <div class=\"p-lg-3 p-md-0 mb-4\">\n <abp-file-management-buttons></abp-file-management-buttons>\n <abp-file-management-directory-tree></abp-file-management-directory-tree>\n </div>\n </div>\n <div class=\"col-md-8 col-lg-9 col\">\n <div class=\"p-lg-3 p-md-0\">\n <abp-file-management-folder-panel\n (contentUpdate)=\"currentContent = $event\"\n ></abp-file-management-folder-panel>\n </div>\n </div>\n </div>\n </div>\n </div>\n</abp-page>\n",
1517
- changeDetection: ChangeDetectionStrategy.OnPush,
1518
- providers: [
1519
- DeleteService,
1520
- DownloadService,
1521
- DirectoryTreeService,
1522
- NavigatorService,
1523
- MoveService,
1524
- UploadService,
1525
- UpdateStreamService,
1526
- {
1527
- provide: EXTENSIONS_IDENTIFIER,
1528
- useValue: ɵ0,
1529
- },
1530
- ]
1531
- },] }
1532
- ];
1533
- FileManagementComponent.ctorParameters = () => [
1534
- { type: UpdateStreamService }
1535
- ];
1400
+ FileManagementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementComponent, deps: [{ token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Component });
1401
+ FileManagementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.9", type: FileManagementComponent, selector: "abp-file-management", providers: [
1402
+ DeleteService,
1403
+ DownloadService,
1404
+ DirectoryTreeService,
1405
+ NavigatorService,
1406
+ MoveService,
1407
+ UploadService,
1408
+ UpdateStreamService,
1409
+ {
1410
+ provide: EXTENSIONS_IDENTIFIER,
1411
+ useValue: "FileManagement.FolderContentComponent" /* FolderContent */,
1412
+ },
1413
+ ], ngImport: i0, template: "<abp-page\n [title]=\"'FileManagement::Menu:FileManagement' | abpLocalization\"\n [toolbar]=\"currentContent\"\n>\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col-md-4 col-lg-3 col\">\n <div class=\"p-lg-3 p-md-0 mb-4\">\n <abp-file-management-buttons></abp-file-management-buttons>\n <abp-file-management-directory-tree></abp-file-management-directory-tree>\n </div>\n </div>\n <div class=\"col-md-8 col-lg-9 col\">\n <div class=\"p-lg-3 p-md-0\">\n <abp-file-management-folder-panel\n (contentUpdate)=\"currentContent = $event\"\n ></abp-file-management-folder-panel>\n </div>\n </div>\n </div>\n </div>\n </div>\n</abp-page>\n", components: [{ type: i2$1.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { type: FileManagementButtonsComponent, selector: "abp-file-management-buttons" }, { type: FileManagementDirectoryTreeComponent, selector: "abp-file-management-directory-tree" }, { type: FileManagementFolderPanelComponent, selector: "abp-file-management-folder-panel", outputs: ["contentUpdate"] }], pipes: { "abpLocalization": i1.LocalizationPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementComponent, decorators: [{
1415
+ type: Component,
1416
+ args: [{
1417
+ selector: 'abp-file-management',
1418
+ templateUrl: './file-management.component.html',
1419
+ changeDetection: ChangeDetectionStrategy.OnPush,
1420
+ providers: [
1421
+ DeleteService,
1422
+ DownloadService,
1423
+ DirectoryTreeService,
1424
+ NavigatorService,
1425
+ MoveService,
1426
+ UploadService,
1427
+ UpdateStreamService,
1428
+ {
1429
+ provide: EXTENSIONS_IDENTIFIER,
1430
+ useValue: "FileManagement.FolderContentComponent" /* FolderContent */,
1431
+ },
1432
+ ],
1433
+ }]
1434
+ }], ctorParameters: function () { return [{ type: UpdateStreamService }]; } });
1536
1435
 
1537
1436
  class FileManagementInitializer {
1538
1437
  constructor(injector) {
@@ -1559,12 +1458,11 @@ class FileManagementInitializer {
1559
1458
  }), mapTo(true));
1560
1459
  }
1561
1460
  }
1562
- FileManagementInitializer.decorators = [
1563
- { type: Injectable }
1564
- ];
1565
- FileManagementInitializer.ctorParameters = () => [
1566
- { type: Injector }
1567
- ];
1461
+ FileManagementInitializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementInitializer, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
1462
+ FileManagementInitializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementInitializer });
1463
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementInitializer, decorators: [{
1464
+ type: Injectable
1465
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
1568
1466
 
1569
1467
  class FileManagementGuard {
1570
1468
  constructor(auditLoggingFeatures) {
@@ -1574,12 +1472,14 @@ class FileManagementGuard {
1574
1472
  return this.auditLoggingFeatures.pipe(map((features) => features.enable));
1575
1473
  }
1576
1474
  }
1577
- FileManagementGuard.decorators = [
1578
- { type: Injectable }
1579
- ];
1580
- FileManagementGuard.ctorParameters = () => [
1581
- { type: Observable, decorators: [{ type: Inject, args: [FILE_MANAGEMENT_FEATURES,] }] }
1582
- ];
1475
+ FileManagementGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementGuard, deps: [{ token: FILE_MANAGEMENT_FEATURES }], target: i0.ɵɵFactoryTarget.Injectable });
1476
+ FileManagementGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementGuard });
1477
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementGuard, decorators: [{
1478
+ type: Injectable
1479
+ }], ctorParameters: function () { return [{ type: i1$3.Observable, decorators: [{
1480
+ type: Inject,
1481
+ args: [FILE_MANAGEMENT_FEATURES]
1482
+ }] }]; } });
1583
1483
 
1584
1484
  const routes = [
1585
1485
  {
@@ -1596,12 +1496,16 @@ const routes = [
1596
1496
  ];
1597
1497
  class FileManagementRoutingModule {
1598
1498
  }
1599
- FileManagementRoutingModule.decorators = [
1600
- { type: NgModule, args: [{
1601
- imports: [RouterModule.forChild(routes)],
1602
- exports: [RouterModule],
1603
- },] }
1604
- ];
1499
+ FileManagementRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1500
+ FileManagementRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementRoutingModule, imports: [i1$4.RouterModule], exports: [RouterModule] });
1501
+ FileManagementRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementRoutingModule, imports: [[RouterModule.forChild(routes)], RouterModule] });
1502
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementRoutingModule, decorators: [{
1503
+ type: NgModule,
1504
+ args: [{
1505
+ imports: [RouterModule.forChild(routes)],
1506
+ exports: [RouterModule],
1507
+ }]
1508
+ }] });
1605
1509
 
1606
1510
  const exportedComponents = [
1607
1511
  FileManagementComponent,
@@ -1648,22 +1552,57 @@ class FileManagementModule {
1648
1552
  return new LazyModuleFactory(FileManagementModule.forChild(options));
1649
1553
  }
1650
1554
  }
1651
- FileManagementModule.decorators = [
1652
- { type: NgModule, args: [{
1653
- declarations: [...exportedComponents, ...modals],
1654
- imports: [
1655
- CoreModule,
1656
- ThemeSharedModule,
1657
- TreeModule,
1658
- FileManagementRoutingModule,
1659
- NgbDropdownModule,
1660
- UiExtensionsModule,
1661
- NgxValidateCoreModule,
1662
- PageModule,
1663
- ],
1664
- exports: [...exportedComponents],
1665
- },] }
1666
- ];
1555
+ FileManagementModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1556
+ FileManagementModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementModule, declarations: [FileManagementComponent,
1557
+ FileManagementDirectoryTreeComponent,
1558
+ FileManagementButtonsComponent,
1559
+ FileManagementBreadcrumbComponent,
1560
+ FileManagementFolderContentComponent,
1561
+ FileManagementFolderFilterComponent,
1562
+ FileManagementFolderPanelComponent, RenameModalComponent,
1563
+ CreateFolderModalComponent,
1564
+ BaseModalComponent,
1565
+ MoveFileModalComponent], imports: [CoreModule,
1566
+ ThemeSharedModule,
1567
+ TreeModule,
1568
+ FileManagementRoutingModule,
1569
+ NgbDropdownModule,
1570
+ UiExtensionsModule,
1571
+ NgxValidateCoreModule,
1572
+ PageModule], exports: [FileManagementComponent,
1573
+ FileManagementDirectoryTreeComponent,
1574
+ FileManagementButtonsComponent,
1575
+ FileManagementBreadcrumbComponent,
1576
+ FileManagementFolderContentComponent,
1577
+ FileManagementFolderFilterComponent,
1578
+ FileManagementFolderPanelComponent] });
1579
+ FileManagementModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementModule, imports: [[
1580
+ CoreModule,
1581
+ ThemeSharedModule,
1582
+ TreeModule,
1583
+ FileManagementRoutingModule,
1584
+ NgbDropdownModule,
1585
+ UiExtensionsModule,
1586
+ NgxValidateCoreModule,
1587
+ PageModule,
1588
+ ]] });
1589
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.9", ngImport: i0, type: FileManagementModule, decorators: [{
1590
+ type: NgModule,
1591
+ args: [{
1592
+ declarations: [...exportedComponents, ...modals],
1593
+ imports: [
1594
+ CoreModule,
1595
+ ThemeSharedModule,
1596
+ TreeModule,
1597
+ FileManagementRoutingModule,
1598
+ NgbDropdownModule,
1599
+ UiExtensionsModule,
1600
+ NgxValidateCoreModule,
1601
+ PageModule,
1602
+ ],
1603
+ exports: [...exportedComponents],
1604
+ }]
1605
+ }] });
1667
1606
 
1668
1607
  /*
1669
1608
  * Public API Surface of file-management
@@ -1673,5 +1612,5 @@ FileManagementModule.decorators = [
1673
1612
  * Generated bundle index. Do not edit.
1674
1613
  */
1675
1614
 
1676
- 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, DirectoryDescriptorService, DirectoryTreeService, DownloadService, FILE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS, FILE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS, FILE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS, FILE_MANAGEMENT_XSRF_HEADER_NAME, FileDescriptorService, FileIconType, FileManagementBreadcrumbComponent, FileManagementButtonsComponent, FileManagementComponent, FileManagementDirectoryTreeComponent, FileManagementFolderContentComponent, FileManagementFolderFilterComponent, FileManagementFolderPanelComponent, FileManagementInitializer, FileManagementModule, FileManagementRoutingModule, MoveFileModalComponent, MoveFileModalService, MoveService, NavigatorService, ROOT_ID, ROOT_NODE, RenameModalComponent, RenameModalService, UpdateStreamService, UploadService, fileIconTypeOptions, formatBytes, mapRootIdToEmpty, transformDirectoryContentSize, ɵ0$2 as ɵ0, ɵ1, ɵ2 };
1615
+ 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, FileManagementInitializer, FileManagementModule, FileManagementRoutingModule, MoveFileModalComponent, MoveFileModalService, MoveService, NavigatorService, ROOT_ID, ROOT_NODE, RenameModalComponent, RenameModalService, UpdateStreamService, UploadService, formatBytes, mapRootIdToEmpty, transformDirectoryContentSize };
1677
1616
  //# sourceMappingURL=volo-abp.ng.file-management.js.map