@volo/abp.ng.file-management 7.2.2 → 7.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/enums/index.d.ts +1 -1
- package/common/enums/route-names.d.ts +3 -3
- package/common/index.d.ts +5 -5
- package/common/public-api.d.ts +2 -2
- package/common/tokens/features.token.d.ts +12 -12
- package/common/tokens/index.d.ts +2 -2
- package/common/tokens/uppy-options.token.d.ts +3 -3
- package/config/enums/index.d.ts +2 -2
- package/config/enums/policy-names.d.ts +10 -10
- package/config/enums/route-names.d.ts +2 -2
- package/config/file-management-config.module.d.ts +10 -10
- package/config/index.d.ts +5 -5
- package/config/models/config-options.d.ts +4 -4
- package/config/models/index.d.ts +1 -1
- package/config/providers/index.d.ts +1 -1
- package/config/providers/route.provider.d.ts +8 -8
- package/config/public-api.d.ts +5 -5
- package/config/tokens/features.token.d.ts +12 -12
- package/config/tokens/index.d.ts +1 -1
- package/{esm2020 → esm2022}/common/enums/index.mjs +1 -1
- package/{esm2020 → esm2022}/common/enums/route-names.mjs +1 -1
- package/{esm2020 → esm2022}/common/public-api.mjs +2 -2
- package/{esm2020 → esm2022}/common/tokens/features.token.mjs +30 -30
- package/{esm2020 → esm2022}/common/tokens/index.mjs +2 -2
- package/{esm2020 → esm2022}/common/tokens/uppy-options.token.mjs +2 -2
- package/{esm2020 → esm2022}/common/volo-abp.ng.file-management-common.mjs +4 -4
- package/{esm2020 → esm2022}/config/enums/index.mjs +2 -2
- package/{esm2020 → esm2022}/config/enums/policy-names.mjs +1 -1
- package/{esm2020 → esm2022}/config/enums/route-names.mjs +1 -1
- package/esm2022/config/file-management-config.module.mjs +36 -0
- package/{esm2020 → esm2022}/config/models/config-options.mjs +1 -1
- package/{esm2020 → esm2022}/config/models/index.mjs +1 -1
- package/{esm2020 → esm2022}/config/providers/index.mjs +1 -1
- package/{esm2020 → esm2022}/config/providers/route.provider.mjs +25 -25
- package/{esm2020 → esm2022}/config/public-api.mjs +5 -5
- package/{esm2020 → esm2022}/config/tokens/features.token.mjs +30 -30
- package/{esm2020 → esm2022}/config/tokens/index.mjs +1 -1
- package/{esm2020 → esm2022}/config/volo-abp.ng.file-management-config.mjs +4 -4
- package/esm2022/lib/components/file-management-breadcrumb/file-management-breadcrumb.component.mjs +28 -0
- package/esm2022/lib/components/file-management-buttons/file-management-buttons.component.mjs +78 -0
- package/esm2022/lib/components/file-management-directory-tree/file-management-directory-tree.component.mjs +117 -0
- package/esm2022/lib/components/file-management-folder-content/file-management-folder-content.component.mjs +111 -0
- package/esm2022/lib/components/file-management-folder-filter/file-management-folder-filter.component.mjs +29 -0
- package/esm2022/lib/components/file-management-folder-panel/file-management-folder-panel.component.mjs +25 -0
- package/{esm2020 → esm2022}/lib/components/index.mjs +6 -6
- package/{esm2020 → esm2022}/lib/defaults/default-file-management-entity-actions.mjs +83 -83
- package/{esm2020 → esm2022}/lib/defaults/default-file-management-entity-props.mjs +47 -47
- package/{esm2020 → esm2022}/lib/defaults/default-file-management-toolbar-actions.mjs +2 -2
- package/{esm2020 → esm2022}/lib/defaults/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/enums/components.mjs +1 -1
- package/{esm2020 → esm2022}/lib/enums/index.mjs +1 -1
- package/esm2022/lib/file-management-routing.module.mjs +35 -0
- package/esm2022/lib/file-management.component.mjs +59 -0
- package/esm2022/lib/file-management.initializer.mjs +37 -0
- package/esm2022/lib/file-management.module.mjs +120 -0
- package/esm2022/lib/guards/file-management.guard.mjs +24 -0
- package/{esm2020 → esm2022}/lib/guards/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/index.mjs +13 -13
- package/esm2022/lib/modals/base-modal.component.mjs +143 -0
- package/esm2022/lib/modals/create-folder-modal/create-folder-modal.component.mjs +39 -0
- package/esm2022/lib/modals/create-folder-modal/create-folder-modal.service.mjs +27 -0
- package/{esm2020 → esm2022}/lib/modals/create-folder-modal/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/modals/index.mjs +4 -4
- package/{esm2020 → esm2022}/lib/modals/move-file-modal/index.mjs +2 -2
- package/esm2022/lib/modals/move-file-modal/move-file-modal.component.mjs +48 -0
- package/esm2022/lib/modals/move-file-modal/move-file-modal.service.mjs +83 -0
- package/{esm2020 → esm2022}/lib/modals/rename-modal/index.mjs +2 -2
- package/esm2022/lib/modals/rename-modal/rename-modal.component.mjs +55 -0
- package/esm2022/lib/modals/rename-modal/rename-modal.service.mjs +34 -0
- package/{esm2020 → esm2022}/lib/models/common-types.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/config-options.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/index.mjs +2 -2
- package/esm2022/lib/services/delete.service.mjs +36 -0
- package/esm2022/lib/services/directory-tree.service.mjs +118 -0
- package/esm2022/lib/services/download.service.mjs +30 -0
- package/{esm2020 → esm2022}/lib/services/index.mjs +7 -7
- package/esm2022/lib/services/move.service.mjs +41 -0
- package/esm2022/lib/services/navigator.service.mjs +109 -0
- package/esm2022/lib/services/update-stream.service.mjs +35 -0
- package/esm2022/lib/services/upload.service.mjs +266 -0
- package/{esm2020 → esm2022}/lib/tokens/extensions.token.mjs +17 -17
- package/{esm2020 → esm2022}/lib/tokens/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/utils/functions.mjs +18 -18
- package/{esm2020 → esm2022}/lib/utils/index.mjs +1 -1
- package/{esm2020 → esm2022}/proxy/lib/index.mjs +3 -3
- package/{esm2020 → esm2022}/proxy/lib/proxy/abp/content/index.mjs +1 -1
- package/{esm2020 → esm2022}/proxy/lib/proxy/abp/content/models.mjs +1 -1
- package/esm2022/proxy/lib/proxy/file-management/directories/directory-descriptor.service.mjs +53 -0
- package/{esm2020 → esm2022}/proxy/lib/proxy/file-management/directories/index.mjs +2 -2
- package/{esm2020 → esm2022}/proxy/lib/proxy/file-management/directories/models.mjs +1 -1
- package/esm2022/proxy/lib/proxy/file-management/files/file-descriptor.service.mjs +67 -0
- package/{esm2020 → esm2022}/proxy/lib/proxy/file-management/files/file-icon-type.enum.mjs +7 -7
- package/{esm2020 → esm2022}/proxy/lib/proxy/file-management/files/index.mjs +3 -3
- package/{esm2020 → esm2022}/proxy/lib/proxy/file-management/files/models.mjs +1 -1
- package/{esm2020 → esm2022}/proxy/public-api.mjs +1 -1
- package/{esm2020 → esm2022}/proxy/volo-abp.ng.file-management-proxy.mjs +4 -4
- package/{esm2020 → esm2022}/public-api.mjs +4 -4
- package/{esm2020 → esm2022}/volo-abp.ng.file-management.mjs +4 -4
- package/{fesm2020 → fesm2022}/volo-abp.ng.file-management-common.mjs +28 -28
- package/{fesm2015 → fesm2022}/volo-abp.ng.file-management-config.mjs +79 -79
- package/{fesm2020 → fesm2022}/volo-abp.ng.file-management-config.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/volo-abp.ng.file-management-proxy.mjs +115 -115
- package/{fesm2020 → fesm2022}/volo-abp.ng.file-management-proxy.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/volo-abp.ng.file-management.mjs +1464 -1465
- package/{fesm2020 → fesm2022}/volo-abp.ng.file-management.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/components/file-management-breadcrumb/file-management-breadcrumb.component.d.ts +12 -12
- package/lib/components/file-management-buttons/file-management-buttons.component.d.ts +33 -33
- package/lib/components/file-management-directory-tree/file-management-directory-tree.component.d.ts +55 -55
- package/lib/components/file-management-folder-content/file-management-folder-content.component.d.ts +44 -44
- package/lib/components/file-management-folder-filter/file-management-folder-filter.component.d.ts +14 -14
- package/lib/components/file-management-folder-panel/file-management-folder-panel.component.d.ts +11 -11
- package/lib/components/index.d.ts +6 -6
- package/lib/defaults/default-file-management-entity-actions.d.ts +3 -3
- package/lib/defaults/default-file-management-entity-props.d.ts +3 -3
- package/lib/defaults/default-file-management-toolbar-actions.d.ts +3 -3
- package/lib/defaults/index.d.ts +2 -2
- package/lib/enums/components.d.ts +3 -3
- package/lib/enums/index.d.ts +1 -1
- package/lib/file-management-routing.module.d.ts +7 -7
- package/lib/file-management.component.d.ts +12 -12
- package/lib/file-management.initializer.d.ts +10 -11
- package/lib/file-management.module.d.ts +29 -29
- package/lib/guards/file-management.guard.d.ts +10 -11
- package/lib/guards/index.d.ts +1 -1
- package/lib/index.d.ts +13 -13
- package/lib/modals/base-modal.component.d.ts +22 -22
- package/lib/modals/create-folder-modal/create-folder-modal.component.d.ts +16 -16
- package/lib/modals/create-folder-modal/create-folder-modal.service.d.ts +11 -11
- package/lib/modals/create-folder-modal/index.d.ts +2 -2
- package/lib/modals/index.d.ts +4 -4
- package/lib/modals/move-file-modal/index.d.ts +2 -2
- package/lib/modals/move-file-modal/move-file-modal.component.d.ts +18 -18
- package/lib/modals/move-file-modal/move-file-modal.service.d.ts +30 -30
- package/lib/modals/rename-modal/index.d.ts +2 -2
- package/lib/modals/rename-modal/rename-modal.component.d.ts +22 -22
- package/lib/modals/rename-modal/rename-modal.service.d.ts +14 -14
- package/lib/models/common-types.d.ts +3 -3
- package/lib/models/config-options.d.ts +18 -18
- package/lib/models/index.d.ts +2 -2
- package/lib/services/delete.service.d.ts +17 -17
- package/lib/services/directory-tree.service.d.ts +40 -40
- package/lib/services/download.service.d.ts +15 -15
- package/lib/services/index.d.ts +7 -7
- package/lib/services/move.service.d.ts +15 -15
- package/lib/services/navigator.service.d.ts +31 -31
- package/lib/services/update-stream.service.d.ts +42 -42
- package/lib/services/upload.service.d.ts +49 -49
- package/lib/tokens/extensions.token.d.ts +22 -22
- package/lib/tokens/index.d.ts +1 -1
- package/lib/utils/functions.d.ts +3 -3
- package/lib/utils/index.d.ts +1 -1
- package/package.json +18 -30
- package/proxy/index.d.ts +5 -5
- package/proxy/lib/index.d.ts +3 -3
- package/proxy/lib/proxy/abp/content/index.d.ts +1 -1
- package/proxy/lib/proxy/abp/content/models.d.ts +5 -5
- package/proxy/lib/proxy/file-management/directories/directory-descriptor.service.d.ts +18 -18
- package/proxy/lib/proxy/file-management/directories/index.d.ts +2 -2
- package/proxy/lib/proxy/file-management/directories/models.d.ts +37 -37
- package/proxy/lib/proxy/file-management/files/file-descriptor.service.d.ts +22 -22
- package/proxy/lib/proxy/file-management/files/file-icon-type.enum.d.ts +5 -5
- package/proxy/lib/proxy/file-management/files/index.d.ts +3 -3
- package/proxy/lib/proxy/file-management/files/models.d.ts +40 -40
- package/proxy/public-api.d.ts +1 -1
- package/public-api.d.ts +1 -1
- package/esm2020/config/file-management-config.module.mjs +0 -35
- package/esm2020/lib/components/file-management-breadcrumb/file-management-breadcrumb.component.mjs +0 -27
- package/esm2020/lib/components/file-management-buttons/file-management-buttons.component.mjs +0 -77
- package/esm2020/lib/components/file-management-directory-tree/file-management-directory-tree.component.mjs +0 -116
- package/esm2020/lib/components/file-management-folder-content/file-management-folder-content.component.mjs +0 -110
- package/esm2020/lib/components/file-management-folder-filter/file-management-folder-filter.component.mjs +0 -28
- package/esm2020/lib/components/file-management-folder-panel/file-management-folder-panel.component.mjs +0 -24
- package/esm2020/lib/file-management-routing.module.mjs +0 -34
- package/esm2020/lib/file-management.component.mjs +0 -58
- package/esm2020/lib/file-management.initializer.mjs +0 -37
- package/esm2020/lib/file-management.module.mjs +0 -119
- package/esm2020/lib/guards/file-management.guard.mjs +0 -23
- package/esm2020/lib/modals/base-modal.component.mjs +0 -142
- package/esm2020/lib/modals/create-folder-modal/create-folder-modal.component.mjs +0 -38
- package/esm2020/lib/modals/create-folder-modal/create-folder-modal.service.mjs +0 -26
- package/esm2020/lib/modals/move-file-modal/move-file-modal.component.mjs +0 -47
- package/esm2020/lib/modals/move-file-modal/move-file-modal.service.mjs +0 -82
- package/esm2020/lib/modals/rename-modal/rename-modal.component.mjs +0 -54
- package/esm2020/lib/modals/rename-modal/rename-modal.service.mjs +0 -33
- package/esm2020/lib/services/delete.service.mjs +0 -35
- package/esm2020/lib/services/directory-tree.service.mjs +0 -117
- package/esm2020/lib/services/download.service.mjs +0 -29
- package/esm2020/lib/services/move.service.mjs +0 -40
- package/esm2020/lib/services/navigator.service.mjs +0 -108
- package/esm2020/lib/services/update-stream.service.mjs +0 -34
- package/esm2020/lib/services/upload.service.mjs +0 -265
- package/esm2020/proxy/lib/proxy/file-management/directories/directory-descriptor.service.mjs +0 -52
- package/esm2020/proxy/lib/proxy/file-management/files/file-descriptor.service.mjs +0 -66
- package/fesm2015/volo-abp.ng.file-management-common.mjs +0 -40
- package/fesm2015/volo-abp.ng.file-management-common.mjs.map +0 -1
- package/fesm2015/volo-abp.ng.file-management-config.mjs.map +0 -1
- package/fesm2015/volo-abp.ng.file-management-proxy.mjs.map +0 -1
- package/fesm2015/volo-abp.ng.file-management.mjs +0 -1632
- package/fesm2015/volo-abp.ng.file-management.mjs.map +0 -1
- package/fesm2020/volo-abp.ng.file-management-config.mjs +0 -95
- package/fesm2020/volo-abp.ng.file-management-proxy.mjs +0 -128
- package/proxy/src/lib/proxy/README.md +0 -17
- /package/{fesm2020 → fesm2022}/volo-abp.ng.file-management-common.mjs.map +0 -0
|
@@ -1,1632 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, Injectable, InjectionToken, Inject, ViewEncapsulation, ViewChild, NgModule } from '@angular/core';
|
|
3
|
-
import * as i7 from '@angular/common';
|
|
4
|
-
import { DOCUMENT } from '@angular/common';
|
|
5
|
-
import * as i1 from '@abp/ng.core';
|
|
6
|
-
import { InternalStore, ListService, SubscriptionService, ConfigStateService, AuthGuard, PermissionGuard, LazyModuleFactory, CoreModule } from '@abp/ng.core';
|
|
7
|
-
import { UPPY_OPTIONS, FILE_MANAGEMENT_FEATURES } from '@volo/abp.ng.file-management/common';
|
|
8
|
-
import { filter, skip, tap, take, switchMap, map, finalize, mapTo, bufferTime } from 'rxjs/operators';
|
|
9
|
-
import * as i1$1 from '@abp/ng.theme.shared';
|
|
10
|
-
import { Confirmation, ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
11
|
-
import * as i1$2 from '@volo/abp.ng.file-management/proxy';
|
|
12
|
-
import * as i1$3 from 'rxjs';
|
|
13
|
-
import { merge, Subscription, BehaviorSubject, of, fromEvent } from 'rxjs';
|
|
14
|
-
import * as i8$1 from '@abp/ng.components/tree';
|
|
15
|
-
import { TreeAdapter, TreeComponent, TreeModule } from '@abp/ng.components/tree';
|
|
16
|
-
import { Uppy } from '@uppy/core';
|
|
17
|
-
import * as Dashboard from '@uppy/dashboard';
|
|
18
|
-
import * as XHRUpload from '@uppy/xhr-upload';
|
|
19
|
-
import * as i8 from '@abp/ng.theme.shared/extensions';
|
|
20
|
-
import { EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, UiExtensionsModule } from '@abp/ng.theme.shared/extensions';
|
|
21
|
-
import * as i2 from '@angular/forms';
|
|
22
|
-
import { Validators } from '@angular/forms';
|
|
23
|
-
import * as i3 from '@ngx-validate/core';
|
|
24
|
-
import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
25
|
-
import * as i2$1 from '@swimlane/ngx-datatable';
|
|
26
|
-
import * as i5 from '@angular/common/http';
|
|
27
|
-
import * as i9 from '@ng-bootstrap/ng-bootstrap';
|
|
28
|
-
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
|
29
|
-
import * as i1$4 from '@angular/router';
|
|
30
|
-
import { RouterModule } from '@angular/router';
|
|
31
|
-
import * as i2$2 from '@abp/ng.components/page';
|
|
32
|
-
import { PageModule } from '@abp/ng.components/page';
|
|
33
|
-
|
|
34
|
-
class FileManagementBreadcrumbComponent {
|
|
35
|
-
constructor() {
|
|
36
|
-
this.rootBreadcrumbName = 'FileManagement::AllFiles';
|
|
37
|
-
this.breadcrumbClick = new EventEmitter();
|
|
38
|
-
this.trackByIdAndName = (_, item) => item.id + '-' + item.name;
|
|
39
|
-
}
|
|
40
|
-
onClick(item) {
|
|
41
|
-
this.breadcrumbClick.emit(item);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
FileManagementBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
-
FileManagementBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: FileManagementBreadcrumbComponent, selector: "abp-file-management-breadcrumb", inputs: { rootBreadcrumbName: "rootBreadcrumbName", navigatedFolders: "navigatedFolders" }, outputs: { breadcrumbClick: "breadcrumbClick" }, ngImport: i0, template: "<ol class=\"breadcrumb\">\r\n <li\r\n *ngFor=\"\r\n let folder of navigatedFolders;\r\n let last = last;\r\n let first = first;\r\n trackBy: trackByIdAndName\r\n \"\r\n (click)=\"onClick(folder)\"\r\n class=\"breadcrumb-item\"\r\n [class.root]=\"first\"\r\n [class.active]=\"last && !first\"\r\n [class.pe-none]=\"last\"\r\n aria-current=\"page\"\r\n >\r\n <span class=\"breadcrumb-item-text\">\r\n <ng-container *ngIf=\"first\">\r\n <i class=\"fa fa-home me-1\" aria-hidden=\"true\"></i>\r\n <span>{{ rootBreadcrumbName | abpLocalization }}</span>\r\n </ng-container>\r\n <span *ngIf=\"!first\">{{ folder.name }}</span>\r\n </span>\r\n </li>\r\n</ol>\r\n", styles: [".breadcrumb{padding:3px 0 0;opacity:1;font-size:1em}.breadcrumb-item{padding:0}.breadcrumb-item.active .breadcrumb-item-text{opacity:.5}.breadcrumb-item-text{padding:3px 8px;border-radius:3px}.breadcrumb-item-text:hover{cursor:pointer;background:var(--background)}.breadcrumb-item+.breadcrumb-item:before{content:\">\";opacity:.3;margin:3px 0 0 3px}\n"], dependencies: [{ kind: "directive", type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementBreadcrumbComponent, decorators: [{
|
|
47
|
-
type: Component,
|
|
48
|
-
args: [{ selector: 'abp-file-management-breadcrumb', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ol class=\"breadcrumb\">\r\n <li\r\n *ngFor=\"\r\n let folder of navigatedFolders;\r\n let last = last;\r\n let first = first;\r\n trackBy: trackByIdAndName\r\n \"\r\n (click)=\"onClick(folder)\"\r\n class=\"breadcrumb-item\"\r\n [class.root]=\"first\"\r\n [class.active]=\"last && !first\"\r\n [class.pe-none]=\"last\"\r\n aria-current=\"page\"\r\n >\r\n <span class=\"breadcrumb-item-text\">\r\n <ng-container *ngIf=\"first\">\r\n <i class=\"fa fa-home me-1\" aria-hidden=\"true\"></i>\r\n <span>{{ rootBreadcrumbName | abpLocalization }}</span>\r\n </ng-container>\r\n <span *ngIf=\"!first\">{{ folder.name }}</span>\r\n </span>\r\n </li>\r\n</ol>\r\n", styles: [".breadcrumb{padding:3px 0 0;opacity:1;font-size:1em}.breadcrumb-item{padding:0}.breadcrumb-item.active .breadcrumb-item-text{opacity:.5}.breadcrumb-item-text{padding:3px 8px;border-radius:3px}.breadcrumb-item-text:hover{cursor:pointer;background:var(--background)}.breadcrumb-item+.breadcrumb-item:before{content:\">\";opacity:.3;margin:3px 0 0 3px}\n"] }]
|
|
49
|
-
}], propDecorators: { rootBreadcrumbName: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}], navigatedFolders: [{
|
|
52
|
-
type: Input
|
|
53
|
-
}], breadcrumbClick: [{
|
|
54
|
-
type: Output
|
|
55
|
-
}] } });
|
|
56
|
-
|
|
57
|
-
class UpdateStreamService {
|
|
58
|
-
constructor() {
|
|
59
|
-
this.store = new InternalStore({});
|
|
60
|
-
this.currentDirectory$ = this.sliceState((state) => state.currentDirectory);
|
|
61
|
-
this.directoryRename$ = this.sliceState((state) => state.renamedDirectory);
|
|
62
|
-
this.directoryDelete$ = this.sliceState((state) => state.deletedDirectory);
|
|
63
|
-
// this should be sliceUpdate, because if the user creates multiple folder within the same directory,
|
|
64
|
-
// sliceState won't trigger the subscriber again since the directory has not changed.
|
|
65
|
-
this.directoryCreate$ = this.store.sliceUpdate((state) => state.createdDirectory);
|
|
66
|
-
this.directoryMove$ = this.sliceState((state) => state.movedDirectory);
|
|
67
|
-
this.contentRefresh$ = merge(this.sliceState((state) => state.content), this.currentDirectory$, this.directoryCreate$.pipe(filter((id) => id === this.currentDirectory)), this.directoryMove$.pipe(filter(({ oldParentId, newParentId }) => oldParentId === this.currentDirectory ||
|
|
68
|
-
newParentId === this.currentDirectory)));
|
|
69
|
-
this.patchStore = (state) => this.store.patch(state);
|
|
70
|
-
this.refreshContent = () => this.store.patch({ content: new Date().getTime() });
|
|
71
|
-
}
|
|
72
|
-
get currentDirectory() {
|
|
73
|
-
return this.store.state.currentDirectory;
|
|
74
|
-
}
|
|
75
|
-
sliceState(fn) {
|
|
76
|
-
// skip initial empty values
|
|
77
|
-
return this.store.sliceState(fn).pipe(skip(1));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
UpdateStreamService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: UpdateStreamService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
81
|
-
UpdateStreamService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: UpdateStreamService });
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: UpdateStreamService, decorators: [{
|
|
83
|
-
type: Injectable
|
|
84
|
-
}] });
|
|
85
|
-
|
|
86
|
-
class DeleteService {
|
|
87
|
-
constructor(confirmationService, directoryService, fileService, updateStream, toaster) {
|
|
88
|
-
this.confirmationService = confirmationService;
|
|
89
|
-
this.directoryService = directoryService;
|
|
90
|
-
this.fileService = fileService;
|
|
91
|
-
this.updateStream = updateStream;
|
|
92
|
-
this.toaster = toaster;
|
|
93
|
-
}
|
|
94
|
-
deleteFolder(content) {
|
|
95
|
-
return this.delete('FileManagement::DirectoryDeleteConfirmationMessage', content, this.directoryService).pipe(tap(_ => this.updateStream.patchStore({ deletedDirectory: content.id })));
|
|
96
|
-
}
|
|
97
|
-
deleteFile(content) {
|
|
98
|
-
return this.delete('FileManagement::FileDeleteConfirmationMessage', content, this.fileService).pipe(tap(_ => this.updateStream.refreshContent()));
|
|
99
|
-
}
|
|
100
|
-
delete(message, content, service) {
|
|
101
|
-
return this.confirmationService.warn(message, 'FileManagement::AreYouSure').pipe(filter(status => status === Confirmation.Status.confirm), take(1), switchMap(_ => service.delete(content.id)), tap(_ => {
|
|
102
|
-
this.toaster.success('FileManagement::SuccessfullyDeleted');
|
|
103
|
-
}));
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
DeleteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
107
|
-
DeleteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: DeleteService });
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: DeleteService, decorators: [{
|
|
109
|
-
type: Injectable
|
|
110
|
-
}], ctorParameters: function () { return [{ type: i1$1.ConfirmationService }, { type: i1$2.DirectoryDescriptorService }, { type: i1$2.FileDescriptorService }, { type: UpdateStreamService }, { type: i1$1.ToasterService }]; } });
|
|
111
|
-
|
|
112
|
-
const ROOT_ID = 'ROOT_ID';
|
|
113
|
-
const ROOT_NODE = {
|
|
114
|
-
id: ROOT_ID,
|
|
115
|
-
parentId: null,
|
|
116
|
-
name: 'All Files',
|
|
117
|
-
isRoot: true,
|
|
118
|
-
hasChildren: true,
|
|
119
|
-
};
|
|
120
|
-
function mapRootIdToEmpty(id) {
|
|
121
|
-
return id === ROOT_ID ? null : id;
|
|
122
|
-
}
|
|
123
|
-
class DirectoryTreeService {
|
|
124
|
-
constructor(directoryService, updateStream) {
|
|
125
|
-
this.directoryService = directoryService;
|
|
126
|
-
this.updateStream = updateStream;
|
|
127
|
-
this.store = new InternalStore([]);
|
|
128
|
-
this.directoryTree$ = this.store.sliceState(state => state);
|
|
129
|
-
this.subscription = new Subscription();
|
|
130
|
-
this.extendedKeys = [];
|
|
131
|
-
this.updateDirectories = (currentFolderId = null) => {
|
|
132
|
-
this.collapseFolder(currentFolderId);
|
|
133
|
-
this.fetchDirectories(mapRootIdToEmpty(currentFolderId)).subscribe(items => {
|
|
134
|
-
this.updateTree(currentFolderId, items);
|
|
135
|
-
});
|
|
136
|
-
};
|
|
137
|
-
this.handleMove = ({ oldParentId, newParentId }) => {
|
|
138
|
-
// first clear children of both node to avoid race condition
|
|
139
|
-
this.treeHolder.handleUpdate({ key: oldParentId, children: [] });
|
|
140
|
-
this.treeHolder.handleUpdate({ key: newParentId, children: [] });
|
|
141
|
-
this.updateDirectories(oldParentId);
|
|
142
|
-
this.updateDirectories(newParentId);
|
|
143
|
-
};
|
|
144
|
-
this.setupListener();
|
|
145
|
-
}
|
|
146
|
-
ngOnDestroy() {
|
|
147
|
-
this.subscription.unsubscribe();
|
|
148
|
-
}
|
|
149
|
-
setupListener() {
|
|
150
|
-
this.subscription.add(merge(this.updateStream.currentDirectory$, this.updateStream.directoryRename$.pipe(map(folder => this.getParentOf(folder.id))), this.updateStream.directoryCreate$, this.updateStream.directoryDelete$.pipe(map(id => this.getParentOf(id)))).subscribe(this.updateDirectories));
|
|
151
|
-
this.subscription.add(this.updateStream.directoryMove$.subscribe(this.handleMove));
|
|
152
|
-
}
|
|
153
|
-
findFullPathOf(folder) {
|
|
154
|
-
let currentId = folder === null || folder === void 0 ? void 0 : folder.id;
|
|
155
|
-
const fullList = this.treeHolder.getList();
|
|
156
|
-
const retVal = [];
|
|
157
|
-
while (currentId) {
|
|
158
|
-
const node = fullList.find(i => i.id === currentId);
|
|
159
|
-
if (node && node.id !== ROOT_ID) {
|
|
160
|
-
retVal.push(node);
|
|
161
|
-
}
|
|
162
|
-
currentId = node === null || node === void 0 ? void 0 : node.parentId;
|
|
163
|
-
}
|
|
164
|
-
return retVal
|
|
165
|
-
.concat(ROOT_NODE)
|
|
166
|
-
.map(item => ({ id: item.id, name: item.name }))
|
|
167
|
-
.reverse();
|
|
168
|
-
}
|
|
169
|
-
getParentOf(id) {
|
|
170
|
-
const node = this.treeHolder.getList().find(item => item.id === id);
|
|
171
|
-
return (node === null || node === void 0 ? void 0 : node.parentId) || ROOT_ID;
|
|
172
|
-
}
|
|
173
|
-
getRootNode() {
|
|
174
|
-
return ROOT_NODE;
|
|
175
|
-
}
|
|
176
|
-
collapseFolder(id) {
|
|
177
|
-
const index = this.extendedKeys.indexOf(id);
|
|
178
|
-
if (index > -1) {
|
|
179
|
-
this.extendedKeys.splice(index, 1);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
updateTree(currentFolderId, items) {
|
|
183
|
-
if (items) {
|
|
184
|
-
if (this.treeHolder && currentFolderId) {
|
|
185
|
-
this.onTreeExistAndNavigatedToNode(currentFolderId, items);
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
this.onTreeNotExistOrNavigatedToRoot(items);
|
|
189
|
-
}
|
|
190
|
-
this.updateStore();
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
updateStore() {
|
|
194
|
-
this.store.patch(this.treeHolder.getTree());
|
|
195
|
-
}
|
|
196
|
-
onTreeExistAndNavigatedToNode(parentId, list) {
|
|
197
|
-
this.treeHolder.handleUpdate({ key: parentId, children: list });
|
|
198
|
-
this.extendedKeys = [...this.extendedKeys, parentId];
|
|
199
|
-
}
|
|
200
|
-
onTreeNotExistOrNavigatedToRoot(result) {
|
|
201
|
-
this.extendedKeys = [ROOT_ID];
|
|
202
|
-
this.treeHolder = new TreeAdapter([ROOT_NODE, ...result]);
|
|
203
|
-
}
|
|
204
|
-
fetchDirectories(id) {
|
|
205
|
-
return this.directoryService
|
|
206
|
-
.getList(id)
|
|
207
|
-
.pipe(map(result => this.bindInitialListToRoot(result.items)));
|
|
208
|
-
}
|
|
209
|
-
bindInitialListToRoot(list) {
|
|
210
|
-
return list.map(l => (Object.assign(Object.assign({}, l), { parentId: l.parentId || ROOT_ID })));
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
DirectoryTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: DirectoryTreeService, deps: [{ token: i1$2.DirectoryDescriptorService }, { token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
214
|
-
DirectoryTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: DirectoryTreeService });
|
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: DirectoryTreeService, decorators: [{
|
|
216
|
-
type: Injectable
|
|
217
|
-
}], ctorParameters: function () { return [{ type: i1$2.DirectoryDescriptorService }, { type: UpdateStreamService }]; } });
|
|
218
|
-
|
|
219
|
-
class DownloadService {
|
|
220
|
-
constructor(restService, fileDescriptorService, environment) {
|
|
221
|
-
this.restService = restService;
|
|
222
|
-
this.fileDescriptorService = fileDescriptorService;
|
|
223
|
-
this.environment = environment;
|
|
224
|
-
this.apiName = 'FileManagement';
|
|
225
|
-
}
|
|
226
|
-
get apiUrl() {
|
|
227
|
-
return this.environment.getApiUrl(this.apiName);
|
|
228
|
-
}
|
|
229
|
-
downloadFile(file) {
|
|
230
|
-
return this.fileDescriptorService.getDownloadToken(file.id).pipe(tap((res) => {
|
|
231
|
-
window.open(`${this.apiUrl}/api/file-management/file-descriptor/download/${file.id}?token=${res.token}`, '_self');
|
|
232
|
-
}));
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
DownloadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: DownloadService, deps: [{ token: i1.RestService }, { token: i1$2.FileDescriptorService }, { token: i1.EnvironmentService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
236
|
-
DownloadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: DownloadService });
|
|
237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: DownloadService, decorators: [{
|
|
238
|
-
type: Injectable
|
|
239
|
-
}], ctorParameters: function () { return [{ type: i1.RestService }, { type: i1$2.FileDescriptorService }, { type: i1.EnvironmentService }]; } });
|
|
240
|
-
|
|
241
|
-
class MoveService {
|
|
242
|
-
constructor(service, confirmation, updateStream, toaster) {
|
|
243
|
-
this.service = service;
|
|
244
|
-
this.confirmation = confirmation;
|
|
245
|
-
this.updateStream = updateStream;
|
|
246
|
-
this.toaster = toaster;
|
|
247
|
-
}
|
|
248
|
-
moveTo(source, target, oldParentId) {
|
|
249
|
-
const id = source.id;
|
|
250
|
-
const newParentId = mapRootIdToEmpty(target.id);
|
|
251
|
-
return this.confirmation
|
|
252
|
-
.warn('FileManagement::DirectoryMoveConfirmMessage', 'FileManagement::AreYouSure', { messageLocalizationParams: [source.name, target.name] })
|
|
253
|
-
.pipe(filter((status) => status === Confirmation.Status.confirm), switchMap((_) => this.service.move({ id, newParentId })), tap((_) => {
|
|
254
|
-
this.updateStream.patchStore({
|
|
255
|
-
movedDirectory: {
|
|
256
|
-
id,
|
|
257
|
-
newParentId,
|
|
258
|
-
oldParentId,
|
|
259
|
-
},
|
|
260
|
-
});
|
|
261
|
-
this.toaster.success('FileManagement::SuccessfullyMoved');
|
|
262
|
-
}));
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
MoveService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: MoveService, deps: [{ token: i1$2.DirectoryDescriptorService }, { token: i1$1.ConfirmationService }, { token: UpdateStreamService }, { token: i1$1.ToasterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
266
|
-
MoveService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: MoveService });
|
|
267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: MoveService, decorators: [{
|
|
268
|
-
type: Injectable
|
|
269
|
-
}], ctorParameters: function () { return [{ type: i1$2.DirectoryDescriptorService }, { type: i1$1.ConfirmationService }, { type: UpdateStreamService }, { type: i1$1.ToasterService }]; } });
|
|
270
|
-
|
|
271
|
-
class NavigatorService {
|
|
272
|
-
constructor(directory, updateStream) {
|
|
273
|
-
this.directory = directory;
|
|
274
|
-
this.updateStream = updateStream;
|
|
275
|
-
this.navigatedFolders = [ROOT_NODE];
|
|
276
|
-
this.store = new InternalStore(this.navigatedFolders);
|
|
277
|
-
this.navigatedFolderPath$ = this.store.sliceState(state => state, (s1, s2) => s1 === s2);
|
|
278
|
-
this.subscription = new Subscription();
|
|
279
|
-
this.currentFolder$ = new BehaviorSubject(ROOT_NODE);
|
|
280
|
-
this.updateFolderName = (updatedFolder) => {
|
|
281
|
-
const newNavigatedFolders = [...this.navigatedFolders];
|
|
282
|
-
newNavigatedFolders
|
|
283
|
-
.filter(folder => folder.id === updatedFolder.id)
|
|
284
|
-
.forEach(folder => (folder.name = updatedFolder.name));
|
|
285
|
-
this.next(newNavigatedFolders);
|
|
286
|
-
};
|
|
287
|
-
this.removeDeletedFolder = (id) => {
|
|
288
|
-
const index = this.findIndexOf(id);
|
|
289
|
-
if (index > -1) {
|
|
290
|
-
this.next(this.navigatedFolders.slice(0, index));
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
|
-
this.updateMovedFolder = ({ id, newParentId }) => {
|
|
294
|
-
const selfIndex = this.findIndexOf(id);
|
|
295
|
-
// this means that moved folder is being shown in the breadcrumb and needs to be dealt with
|
|
296
|
-
if (selfIndex > -1) {
|
|
297
|
-
const parentIndex = this.findIndexOf(newParentId);
|
|
298
|
-
let newPaths = [];
|
|
299
|
-
// if the new parent is found, this means that this folder is moved upwards within its own absolute path.
|
|
300
|
-
// then we can simply move to the its new parent.
|
|
301
|
-
if (parentIndex > -1) {
|
|
302
|
-
newPaths = this.navigatedFolders.slice(0, parentIndex + 1);
|
|
303
|
-
}
|
|
304
|
-
else {
|
|
305
|
-
// if the new parent is not found, it could mean either that it is somewhere else in the tree or it has not been visited at all.
|
|
306
|
-
// It is hard to find the new absolute path, so just return to the root.
|
|
307
|
-
newPaths = [this.directory.getRootNode()];
|
|
308
|
-
}
|
|
309
|
-
this.next(newPaths);
|
|
310
|
-
}
|
|
311
|
-
};
|
|
312
|
-
this.setupListeners();
|
|
313
|
-
}
|
|
314
|
-
ngOnDestroy() {
|
|
315
|
-
if (this.subscription) {
|
|
316
|
-
this.subscription.unsubscribe();
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
goToFolder(folder) {
|
|
320
|
-
this.currentFolder$.next(folder || ROOT_NODE);
|
|
321
|
-
this.updateCurrentFolderPath(folder);
|
|
322
|
-
}
|
|
323
|
-
goToRoot() {
|
|
324
|
-
this.goToFolder(null);
|
|
325
|
-
}
|
|
326
|
-
goUpFolder() {
|
|
327
|
-
if (this.navigatedFolders.length === 0) {
|
|
328
|
-
// already at the root, do nothing.
|
|
329
|
-
return;
|
|
330
|
-
}
|
|
331
|
-
else if (this.navigatedFolders.length === 1) {
|
|
332
|
-
this.goToRoot();
|
|
333
|
-
}
|
|
334
|
-
else {
|
|
335
|
-
const folder = this.navigatedFolders[this.navigatedFolders.length - 2];
|
|
336
|
-
this.goToFolder(folder);
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
getCurrentFolder() {
|
|
340
|
-
return this.navigatedFolders.length && this.navigatedFolders[this.navigatedFolders.length - 1];
|
|
341
|
-
}
|
|
342
|
-
getCurrentFolderId() {
|
|
343
|
-
var _a;
|
|
344
|
-
return mapRootIdToEmpty((_a = this.getCurrentFolder()) === null || _a === void 0 ? void 0 : _a.id);
|
|
345
|
-
}
|
|
346
|
-
updateCurrentFolderPath(folder) {
|
|
347
|
-
this.next([...this.directory.findFullPathOf(folder)]);
|
|
348
|
-
}
|
|
349
|
-
next(newValue) {
|
|
350
|
-
this.navigatedFolders = newValue;
|
|
351
|
-
this.store.patch(this.navigatedFolders);
|
|
352
|
-
this.updateStream.patchStore({
|
|
353
|
-
currentDirectory: this.getCurrentFolderId(),
|
|
354
|
-
});
|
|
355
|
-
this.currentFolder$.next(this.getCurrentFolder());
|
|
356
|
-
}
|
|
357
|
-
setupListeners() {
|
|
358
|
-
this.subscription.add(this.updateStream.directoryRename$.subscribe(this.updateFolderName));
|
|
359
|
-
this.subscription.add(this.updateStream.directoryDelete$.subscribe(this.removeDeletedFolder));
|
|
360
|
-
this.subscription.add(this.updateStream.directoryMove$.subscribe(this.updateMovedFolder));
|
|
361
|
-
}
|
|
362
|
-
findIndexOf(folderId) {
|
|
363
|
-
return this.navigatedFolders.findIndex(folder => folder.id === folderId);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
NavigatorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: NavigatorService, deps: [{ token: DirectoryTreeService }, { token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
367
|
-
NavigatorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: NavigatorService });
|
|
368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: NavigatorService, decorators: [{
|
|
369
|
-
type: Injectable
|
|
370
|
-
}], ctorParameters: function () { return [{ type: DirectoryTreeService }, { type: UpdateStreamService }]; } });
|
|
371
|
-
|
|
372
|
-
class BaseModalComponent {
|
|
373
|
-
constructor() {
|
|
374
|
-
this.size = 'md';
|
|
375
|
-
this.visibleChange = new EventEmitter();
|
|
376
|
-
this.contentSaved = new EventEmitter();
|
|
377
|
-
this.loading = false;
|
|
378
|
-
this.success = (response) => {
|
|
379
|
-
this.closeModal();
|
|
380
|
-
this.contentSaved.emit(response);
|
|
381
|
-
};
|
|
382
|
-
}
|
|
383
|
-
get self() {
|
|
384
|
-
return this;
|
|
385
|
-
}
|
|
386
|
-
onVisibleChange(event) {
|
|
387
|
-
this.visible = event;
|
|
388
|
-
this.visibleChange.emit(this.visible);
|
|
389
|
-
}
|
|
390
|
-
closeModal() {
|
|
391
|
-
this.onVisibleChange(false);
|
|
392
|
-
this.clear();
|
|
393
|
-
}
|
|
394
|
-
clear() { }
|
|
395
|
-
save() {
|
|
396
|
-
if (this.shouldSave()) {
|
|
397
|
-
this.loading = true;
|
|
398
|
-
this.saveAction()
|
|
399
|
-
.pipe(finalize(() => {
|
|
400
|
-
this.loading = false;
|
|
401
|
-
}))
|
|
402
|
-
.subscribe(this.success);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
// this method will be overwritten by children
|
|
406
|
-
shouldSave() {
|
|
407
|
-
return true;
|
|
408
|
-
}
|
|
409
|
-
// this method will be overwritten by children
|
|
410
|
-
saveAction() {
|
|
411
|
-
return of({});
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
BaseModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: BaseModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
415
|
-
BaseModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: { title: "title", size: "size", visible: "visible", parent: "parent" }, outputs: { visibleChange: "visibleChange", contentSaved: "contentSaved" }, ngImport: i0, template: `
|
|
416
|
-
<abp-modal
|
|
417
|
-
[options]="{ size: parent.size }"
|
|
418
|
-
[visible]="parent.visible"
|
|
419
|
-
(visibleChange)="parent.onVisibleChange($event)"
|
|
420
|
-
>
|
|
421
|
-
<ng-template #abpHeader>
|
|
422
|
-
<h5 class="modal-title">
|
|
423
|
-
{{ 'FileManagement::' + title | abpLocalization }}
|
|
424
|
-
</h5>
|
|
425
|
-
</ng-template>
|
|
426
|
-
|
|
427
|
-
<ng-template #abpBody>
|
|
428
|
-
<ng-content></ng-content>
|
|
429
|
-
</ng-template>
|
|
430
|
-
|
|
431
|
-
<ng-template #abpFooter>
|
|
432
|
-
<button
|
|
433
|
-
(click)="parent.closeModal()"
|
|
434
|
-
type="button"
|
|
435
|
-
[disabled]="parent.loading"
|
|
436
|
-
class="btn btn-secondary"
|
|
437
|
-
>
|
|
438
|
-
{{ 'AbpUi::Cancel' | abpLocalization }}
|
|
439
|
-
</button>
|
|
440
|
-
<abp-button
|
|
441
|
-
type="abp-button"
|
|
442
|
-
[loading]="loading"
|
|
443
|
-
iconClass="fa fa-check"
|
|
444
|
-
(click)="parent.save()"
|
|
445
|
-
>
|
|
446
|
-
{{ 'AbpUi::Save' | abpLocalization }}
|
|
447
|
-
</abp-button>
|
|
448
|
-
</ng-template>
|
|
449
|
-
</abp-modal>
|
|
450
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i1$1.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: BaseModalComponent, decorators: [{
|
|
452
|
-
type: Component,
|
|
453
|
-
args: [{
|
|
454
|
-
selector: 'abp-file-management-modal',
|
|
455
|
-
// do not use OnPush here, because of `parent` usage, it won't work
|
|
456
|
-
changeDetection: ChangeDetectionStrategy.Default,
|
|
457
|
-
template: `
|
|
458
|
-
<abp-modal
|
|
459
|
-
[options]="{ size: parent.size }"
|
|
460
|
-
[visible]="parent.visible"
|
|
461
|
-
(visibleChange)="parent.onVisibleChange($event)"
|
|
462
|
-
>
|
|
463
|
-
<ng-template #abpHeader>
|
|
464
|
-
<h5 class="modal-title">
|
|
465
|
-
{{ 'FileManagement::' + title | abpLocalization }}
|
|
466
|
-
</h5>
|
|
467
|
-
</ng-template>
|
|
468
|
-
|
|
469
|
-
<ng-template #abpBody>
|
|
470
|
-
<ng-content></ng-content>
|
|
471
|
-
</ng-template>
|
|
472
|
-
|
|
473
|
-
<ng-template #abpFooter>
|
|
474
|
-
<button
|
|
475
|
-
(click)="parent.closeModal()"
|
|
476
|
-
type="button"
|
|
477
|
-
[disabled]="parent.loading"
|
|
478
|
-
class="btn btn-secondary"
|
|
479
|
-
>
|
|
480
|
-
{{ 'AbpUi::Cancel' | abpLocalization }}
|
|
481
|
-
</button>
|
|
482
|
-
<abp-button
|
|
483
|
-
type="abp-button"
|
|
484
|
-
[loading]="loading"
|
|
485
|
-
iconClass="fa fa-check"
|
|
486
|
-
(click)="parent.save()"
|
|
487
|
-
>
|
|
488
|
-
{{ 'AbpUi::Save' | abpLocalization }}
|
|
489
|
-
</abp-button>
|
|
490
|
-
</ng-template>
|
|
491
|
-
</abp-modal>
|
|
492
|
-
`,
|
|
493
|
-
}]
|
|
494
|
-
}], propDecorators: { title: [{
|
|
495
|
-
type: Input
|
|
496
|
-
}], size: [{
|
|
497
|
-
type: Input
|
|
498
|
-
}], visible: [{
|
|
499
|
-
type: Input
|
|
500
|
-
}], visibleChange: [{
|
|
501
|
-
type: Output
|
|
502
|
-
}], contentSaved: [{
|
|
503
|
-
type: Output
|
|
504
|
-
}], parent: [{
|
|
505
|
-
type: Input
|
|
506
|
-
}] } });
|
|
507
|
-
|
|
508
|
-
class RenameModalService {
|
|
509
|
-
constructor(directoryService, fileService, updateStream) {
|
|
510
|
-
this.directoryService = directoryService;
|
|
511
|
-
this.fileService = fileService;
|
|
512
|
-
this.updateStream = updateStream;
|
|
513
|
-
}
|
|
514
|
-
rename(contentToRename) {
|
|
515
|
-
const id = contentToRename.id;
|
|
516
|
-
const name = contentToRename.name;
|
|
517
|
-
if (contentToRename.isDirectory) {
|
|
518
|
-
return this.callService(this.directoryService, id, name).pipe(tap((_) => this.updateStream.patchStore({ renamedDirectory: { id, name } })));
|
|
519
|
-
}
|
|
520
|
-
else {
|
|
521
|
-
return this.callService(this.fileService, id, name).pipe(tap((_) => this.updateStream.refreshContent()));
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
callService(service, id, name) {
|
|
525
|
-
return service.rename(id, { name }).pipe(mapTo(true));
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
RenameModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: RenameModalService, deps: [{ token: i1$2.DirectoryDescriptorService }, { token: i1$2.FileDescriptorService }, { token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
529
|
-
RenameModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: RenameModalService });
|
|
530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: RenameModalService, decorators: [{
|
|
531
|
-
type: Injectable
|
|
532
|
-
}], ctorParameters: function () { return [{ type: i1$2.DirectoryDescriptorService }, { type: i1$2.FileDescriptorService }, { type: UpdateStreamService }]; } });
|
|
533
|
-
|
|
534
|
-
class RenameModalComponent extends BaseModalComponent {
|
|
535
|
-
constructor(service, fb) {
|
|
536
|
-
super();
|
|
537
|
-
this.service = service;
|
|
538
|
-
this.fb = fb;
|
|
539
|
-
this.form = this.fb.group({
|
|
540
|
-
name: ['', Validators.required],
|
|
541
|
-
});
|
|
542
|
-
this.contentToRenameChange = new EventEmitter();
|
|
543
|
-
}
|
|
544
|
-
set contentToRename(val) {
|
|
545
|
-
this._contentToRename = val;
|
|
546
|
-
this.form.controls.name.patchValue(val === null || val === void 0 ? void 0 : val.name);
|
|
547
|
-
}
|
|
548
|
-
get contentToRename() {
|
|
549
|
-
return this._contentToRename;
|
|
550
|
-
}
|
|
551
|
-
ngOnInit() { }
|
|
552
|
-
saveAction() {
|
|
553
|
-
return this.service.rename(Object.assign(Object.assign({}, this.contentToRename), this.form.value));
|
|
554
|
-
}
|
|
555
|
-
shouldSave() {
|
|
556
|
-
return this.form.valid;
|
|
557
|
-
}
|
|
558
|
-
clear() {
|
|
559
|
-
this.form.reset();
|
|
560
|
-
this.contentToRename = null;
|
|
561
|
-
this.contentToRenameChange.emit(this.contentToRename);
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
RenameModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: RenameModalComponent, deps: [{ token: RenameModalService }, { token: i2.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
565
|
-
RenameModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", 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\">\r\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\r\n <div class=\"form-group\">\r\n <label for=\"renameFileInput\"\r\n >{{ \"FileManagement::Name\" | abpLocalization }} *</label\r\n >\r\n <input\r\n formControlName=\"name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n id=\"renameFileInput\"\r\n />\r\n </div>\r\n </form>\r\n</abp-file-management-modal>\r\n", dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", 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]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "size", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
566
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: RenameModalComponent, decorators: [{
|
|
567
|
-
type: Component,
|
|
568
|
-
args: [{ selector: 'abp-rename-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [RenameModalService], template: "<abp-file-management-modal title=\"Rename\" [parent]=\"self\">\r\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\r\n <div class=\"form-group\">\r\n <label for=\"renameFileInput\"\r\n >{{ \"FileManagement::Name\" | abpLocalization }} *</label\r\n >\r\n <input\r\n formControlName=\"name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n id=\"renameFileInput\"\r\n />\r\n </div>\r\n </form>\r\n</abp-file-management-modal>\r\n" }]
|
|
569
|
-
}], ctorParameters: function () { return [{ type: RenameModalService }, { type: i2.UntypedFormBuilder }]; }, propDecorators: { contentToRename: [{
|
|
570
|
-
type: Input
|
|
571
|
-
}], contentToRenameChange: [{
|
|
572
|
-
type: Output
|
|
573
|
-
}] } });
|
|
574
|
-
|
|
575
|
-
class MoveFileModalService {
|
|
576
|
-
constructor(service, fileService, updateStream, toaster, moveService, navigatorService) {
|
|
577
|
-
this.service = service;
|
|
578
|
-
this.fileService = fileService;
|
|
579
|
-
this.updateStream = updateStream;
|
|
580
|
-
this.toaster = toaster;
|
|
581
|
-
this.moveService = moveService;
|
|
582
|
-
this.navigatorService = navigatorService;
|
|
583
|
-
this.directoryContentStore = new InternalStore([]);
|
|
584
|
-
this.directoryContent$ = this.directoryContentStore.sliceState((state) => state);
|
|
585
|
-
this.breadcrumbStore = new InternalStore([ROOT_NODE]);
|
|
586
|
-
this.breadcrumbs$ = this.breadcrumbStore.sliceState((state) => state);
|
|
587
|
-
}
|
|
588
|
-
reset() {
|
|
589
|
-
this.breadcrumbStore.reset();
|
|
590
|
-
this.directoryContentStore.reset();
|
|
591
|
-
this.updateContent().subscribe();
|
|
592
|
-
}
|
|
593
|
-
updateContent() {
|
|
594
|
-
return this.service
|
|
595
|
-
.getList(this.getCurrentFolderIdForRequest())
|
|
596
|
-
.pipe(tap((content) => this.directoryContentStore.patch(content.items)));
|
|
597
|
-
}
|
|
598
|
-
goTo(folder) {
|
|
599
|
-
let navigatedFolders = this.getNavigatedFolders();
|
|
600
|
-
const index = navigatedFolders.findIndex((f) => f.id === folder.id);
|
|
601
|
-
if (index < 0) {
|
|
602
|
-
navigatedFolders = [...navigatedFolders, folder];
|
|
603
|
-
}
|
|
604
|
-
else {
|
|
605
|
-
navigatedFolders = navigatedFolders.slice(0, index + 1);
|
|
606
|
-
}
|
|
607
|
-
this.breadcrumbStore.patch(navigatedFolders);
|
|
608
|
-
this.updateContent().subscribe();
|
|
609
|
-
}
|
|
610
|
-
move(fileToMove) {
|
|
611
|
-
return this.fileService
|
|
612
|
-
.move({
|
|
613
|
-
id: fileToMove.id,
|
|
614
|
-
newDirectoryId: this.getCurrentFolderIdForRequest(),
|
|
615
|
-
})
|
|
616
|
-
.pipe(tap((_) => {
|
|
617
|
-
this.updateStream.refreshContent();
|
|
618
|
-
this.toaster.success('FileManagement::SuccessfullyMoved');
|
|
619
|
-
}));
|
|
620
|
-
}
|
|
621
|
-
moveFolder(folderToMove, oldParentId) {
|
|
622
|
-
return this.moveService.moveTo(folderToMove, this.getCurrentFolder(), oldParentId);
|
|
623
|
-
}
|
|
624
|
-
getCurrentFolder() {
|
|
625
|
-
const navigatedFolders = this.getNavigatedFolders();
|
|
626
|
-
return navigatedFolders[navigatedFolders.length - 1];
|
|
627
|
-
}
|
|
628
|
-
getCurrentFolderIdForRequest() {
|
|
629
|
-
var _a;
|
|
630
|
-
const navigatedFolders = this.getNavigatedFolders();
|
|
631
|
-
return mapRootIdToEmpty((_a = navigatedFolders[navigatedFolders.length - 1]) === null || _a === void 0 ? void 0 : _a.id);
|
|
632
|
-
}
|
|
633
|
-
getNavigatedFolders() {
|
|
634
|
-
return this.breadcrumbStore.state;
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
MoveFileModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
638
|
-
MoveFileModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: MoveFileModalService });
|
|
639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: MoveFileModalService, decorators: [{
|
|
640
|
-
type: Injectable
|
|
641
|
-
}], ctorParameters: function () { return [{ type: i1$2.DirectoryDescriptorService }, { type: i1$2.FileDescriptorService }, { type: UpdateStreamService }, { type: i1$1.ToasterService }, { type: MoveService }, { type: NavigatorService }]; } });
|
|
642
|
-
|
|
643
|
-
class MoveFileModalComponent extends BaseModalComponent {
|
|
644
|
-
constructor(service) {
|
|
645
|
-
super();
|
|
646
|
-
this.service = service;
|
|
647
|
-
this.directoryContent$ = this.service.directoryContent$.pipe(map(content => content.filter(item => item.id !== this.fileToMove.id)));
|
|
648
|
-
}
|
|
649
|
-
ngOnChanges({ visible }) {
|
|
650
|
-
if (visible.currentValue) {
|
|
651
|
-
this.service.reset();
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
onBreadcrumbClick(folder) {
|
|
655
|
-
this.service.goTo(folder);
|
|
656
|
-
}
|
|
657
|
-
saveAction() {
|
|
658
|
-
if (this.fileToMove.isDirectory) {
|
|
659
|
-
return this.service.moveFolder(this.fileToMove, this.oldParentId);
|
|
660
|
-
}
|
|
661
|
-
else {
|
|
662
|
-
return this.service.move(this.fileToMove);
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
MoveFileModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: MoveFileModalComponent, deps: [{ token: MoveFileModalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
667
|
-
MoveFileModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", 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\">\r\n <span class=\"d-block p-2\">{{\r\n \"FileManagement::MoveToUnder\" | abpLocalization\r\n }}</span>\r\n <abp-file-management-breadcrumb\r\n [navigatedFolders]=\"service.breadcrumbs$ | async\"\r\n rootBreadcrumbName=\"FileManagement::Root\"\r\n (breadcrumbClick)=\"onBreadcrumbClick($event)\"\r\n ></abp-file-management-breadcrumb>\r\n\r\n <ngx-datatable\r\n [rows]=\"directoryContent$ | async\"\r\n default\r\n [messages]=\"{ emptyMessage: 'FileManagement::MoveHere' | abpLocalization }\"\r\n >\r\n <ngx-datatable-column\r\n [sortable]=\"true\"\r\n [name]=\"'FileManagement::Name' | abpLocalization\"\r\n >\r\n <ng-template let-row=\"row\" let-i=\"index\" ngx-datatable-cell-template>\r\n <div (click)=\"service.goTo(row)\" class=\"pointer\">\r\n <i class=\"fa fa-folder text-primary me-1\" aria-hidden=\"true\"></i> {{ row.name }}\r\n </div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n</abp-file-management-modal>\r\n", dependencies: [{ kind: "component", type: i2$1.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "rowIdentity"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction"] }, { kind: "directive", type: i2$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"] }, { kind: "directive", type: i2$1.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: i1$1.NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "component", type: FileManagementBreadcrumbComponent, selector: "abp-file-management-breadcrumb", inputs: ["rootBreadcrumbName", "navigatedFolders"], outputs: ["breadcrumbClick"] }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "size", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: MoveFileModalComponent, decorators: [{
|
|
669
|
-
type: Component,
|
|
670
|
-
args: [{ selector: 'abp-move-file-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [MoveFileModalService, ListService], template: "<abp-file-management-modal title=\"Move\" [parent]=\"self\">\r\n <span class=\"d-block p-2\">{{\r\n \"FileManagement::MoveToUnder\" | abpLocalization\r\n }}</span>\r\n <abp-file-management-breadcrumb\r\n [navigatedFolders]=\"service.breadcrumbs$ | async\"\r\n rootBreadcrumbName=\"FileManagement::Root\"\r\n (breadcrumbClick)=\"onBreadcrumbClick($event)\"\r\n ></abp-file-management-breadcrumb>\r\n\r\n <ngx-datatable\r\n [rows]=\"directoryContent$ | async\"\r\n default\r\n [messages]=\"{ emptyMessage: 'FileManagement::MoveHere' | abpLocalization }\"\r\n >\r\n <ngx-datatable-column\r\n [sortable]=\"true\"\r\n [name]=\"'FileManagement::Name' | abpLocalization\"\r\n >\r\n <ng-template let-row=\"row\" let-i=\"index\" ngx-datatable-cell-template>\r\n <div (click)=\"service.goTo(row)\" class=\"pointer\">\r\n <i class=\"fa fa-folder text-primary me-1\" aria-hidden=\"true\"></i> {{ row.name }}\r\n </div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n</abp-file-management-modal>\r\n" }]
|
|
671
|
-
}], ctorParameters: function () { return [{ type: MoveFileModalService }]; }, propDecorators: { fileToMove: [{
|
|
672
|
-
type: Input
|
|
673
|
-
}], oldParentId: [{
|
|
674
|
-
type: Input
|
|
675
|
-
}] } });
|
|
676
|
-
|
|
677
|
-
class FileManagementFolderContentComponent {
|
|
678
|
-
constructor(list, service, deleteService, downloadService, navigator, updateStream) {
|
|
679
|
-
this.list = list;
|
|
680
|
-
this.service = service;
|
|
681
|
-
this.deleteService = deleteService;
|
|
682
|
-
this.downloadService = downloadService;
|
|
683
|
-
this.navigator = navigator;
|
|
684
|
-
this.updateStream = updateStream;
|
|
685
|
-
this.contentUpdate = new EventEmitter();
|
|
686
|
-
this.renameModalOpen = false;
|
|
687
|
-
this.moveModalOpen = false;
|
|
688
|
-
this.updateContent = (data) => {
|
|
689
|
-
this.currentList = data.items;
|
|
690
|
-
this.contentUpdate.emit(data.items);
|
|
691
|
-
};
|
|
692
|
-
this.content$ = this.list
|
|
693
|
-
.hookToQuery(query => this.service.getContent(Object.assign(Object.assign({}, query), { id: this.updateStream.currentDirectory })))
|
|
694
|
-
.pipe(tap(this.updateContent));
|
|
695
|
-
this.isDirectoryPresent = (id) => {
|
|
696
|
-
return this.currentList.some(item => item.id === id);
|
|
697
|
-
};
|
|
698
|
-
}
|
|
699
|
-
ngOnInit() {
|
|
700
|
-
this.subscription = merge(this.updateStream.contentRefresh$, this.updateStream.directoryDelete$.pipe(filter(this.isDirectoryPresent)), this.updateStream.directoryRename$.pipe(map(directory => directory.id), filter(this.isDirectoryPresent))).subscribe(this.list.get);
|
|
701
|
-
}
|
|
702
|
-
ngOnDestroy() {
|
|
703
|
-
if (this.subscription) {
|
|
704
|
-
this.subscription.unsubscribe();
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
openFolder(record) {
|
|
708
|
-
this.navigator.goToFolder({ id: record.id, name: record.name });
|
|
709
|
-
}
|
|
710
|
-
renameFolder(record) {
|
|
711
|
-
this.openRenameModal(record);
|
|
712
|
-
}
|
|
713
|
-
deleteFolder(record) {
|
|
714
|
-
this.deleteService.deleteFolder(record).subscribe();
|
|
715
|
-
}
|
|
716
|
-
downloadFile(record) {
|
|
717
|
-
this.downloadService.downloadFile(record).subscribe();
|
|
718
|
-
}
|
|
719
|
-
renameFile(record) {
|
|
720
|
-
this.openRenameModal(record);
|
|
721
|
-
}
|
|
722
|
-
deleteFile(record) {
|
|
723
|
-
this.deleteService.deleteFile(record).subscribe();
|
|
724
|
-
}
|
|
725
|
-
moveFile(record) {
|
|
726
|
-
this.fileToMove = record;
|
|
727
|
-
this.moveModalOpen = true;
|
|
728
|
-
}
|
|
729
|
-
moveFolder(record) {
|
|
730
|
-
this.fileToMove = record;
|
|
731
|
-
this.parentOfFileToMove = this.navigator.getCurrentFolderId();
|
|
732
|
-
this.moveModalOpen = true;
|
|
733
|
-
}
|
|
734
|
-
onContentSaved() {
|
|
735
|
-
delete this.contentToRename;
|
|
736
|
-
delete this.fileToMove;
|
|
737
|
-
delete this.parentOfFileToMove;
|
|
738
|
-
}
|
|
739
|
-
openRenameModal(withContent) {
|
|
740
|
-
this.renameModalOpen = true;
|
|
741
|
-
this.contentToRename = withContent;
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
FileManagementFolderContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementFolderContentComponent, deps: [{ token: i1.ListService }, { token: i1$2.DirectoryDescriptorService }, { token: DeleteService }, { token: DownloadService }, { token: NavigatorService }, { token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Component });
|
|
745
|
-
FileManagementFolderContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: FileManagementFolderContentComponent, selector: "abp-file-management-folder-content", outputs: { contentUpdate: "contentUpdate" }, providers: [
|
|
746
|
-
{
|
|
747
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
748
|
-
useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
|
|
749
|
-
},
|
|
750
|
-
], ngImport: i0, template: "<ng-container *ngIf=\"content$ | async; let data\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n\r\n <abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n ></abp-rename-modal>\r\n\r\n <abp-move-file-modal\r\n [(visible)]=\"moveModalOpen\"\r\n (contentSaved)=\"onContentSaved()\"\r\n [fileToMove]=\"fileToMove\"\r\n [oldParentId]=\"parentOfFileToMove\"\r\n ></abp-move-file-modal>\r\n</ng-container>\r\n", dependencies: [{ kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementFolderContentComponent, decorators: [{
|
|
752
|
-
type: Component,
|
|
753
|
-
args: [{ selector: 'abp-file-management-folder-content', providers: [
|
|
754
|
-
{
|
|
755
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
756
|
-
useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
|
|
757
|
-
},
|
|
758
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"content$ | async; let data\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n\r\n <abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n ></abp-rename-modal>\r\n\r\n <abp-move-file-modal\r\n [(visible)]=\"moveModalOpen\"\r\n (contentSaved)=\"onContentSaved()\"\r\n [fileToMove]=\"fileToMove\"\r\n [oldParentId]=\"parentOfFileToMove\"\r\n ></abp-move-file-modal>\r\n</ng-container>\r\n" }]
|
|
759
|
-
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: i1$2.DirectoryDescriptorService }, { type: DeleteService }, { type: DownloadService }, { type: NavigatorService }, { type: UpdateStreamService }]; }, propDecorators: { contentUpdate: [{
|
|
760
|
-
type: Output
|
|
761
|
-
}] } });
|
|
762
|
-
|
|
763
|
-
function isDirectory(data) {
|
|
764
|
-
return data.record.isDirectory;
|
|
765
|
-
}
|
|
766
|
-
function isFile(data) {
|
|
767
|
-
return !isDirectory(data);
|
|
768
|
-
}
|
|
769
|
-
const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_ACTIONS = EntityAction.createMany([
|
|
770
|
-
/* DIRECTORY ACTIONS */
|
|
771
|
-
{
|
|
772
|
-
text: 'FileManagement::Open',
|
|
773
|
-
action: (data) => {
|
|
774
|
-
const component = data.getInjected(FileManagementFolderContentComponent);
|
|
775
|
-
component.openFolder(data.record);
|
|
776
|
-
},
|
|
777
|
-
visible: isDirectory,
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
text: 'FileManagement::Rename',
|
|
781
|
-
action: (data) => {
|
|
782
|
-
const component = data.getInjected(FileManagementFolderContentComponent);
|
|
783
|
-
component.renameFolder(data.record);
|
|
784
|
-
},
|
|
785
|
-
permission: "FileManagement.DirectoryDescriptor.Update" /* eFileManagementPolicyNames.DirectoryDescriptorUpdate */,
|
|
786
|
-
visible: isDirectory,
|
|
787
|
-
},
|
|
788
|
-
{
|
|
789
|
-
text: 'FileManagement::Move',
|
|
790
|
-
action: (data) => {
|
|
791
|
-
const component = data.getInjected(FileManagementFolderContentComponent);
|
|
792
|
-
component.moveFolder(data.record);
|
|
793
|
-
},
|
|
794
|
-
permission: "FileManagement.DirectoryDescriptor.Update" /* eFileManagementPolicyNames.DirectoryDescriptorUpdate */,
|
|
795
|
-
visible: isDirectory,
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
text: 'AbpUi::Delete',
|
|
799
|
-
action: (data) => {
|
|
800
|
-
const component = data.getInjected(FileManagementFolderContentComponent);
|
|
801
|
-
component.deleteFolder(data.record);
|
|
802
|
-
},
|
|
803
|
-
permission: "FileManagement.DirectoryDescriptor.Delete" /* eFileManagementPolicyNames.DirectoryDescriptorDelete */,
|
|
804
|
-
visible: isDirectory,
|
|
805
|
-
},
|
|
806
|
-
/* !DIRECTORY ACTIONS */
|
|
807
|
-
/* FILE ACTIONS */
|
|
808
|
-
{
|
|
809
|
-
text: 'FileManagement::Download',
|
|
810
|
-
action: (data) => {
|
|
811
|
-
const component = data.getInjected(FileManagementFolderContentComponent);
|
|
812
|
-
component.downloadFile(data.record);
|
|
813
|
-
},
|
|
814
|
-
visible: isFile,
|
|
815
|
-
},
|
|
816
|
-
{
|
|
817
|
-
text: 'FileManagement::Rename',
|
|
818
|
-
action: (data) => {
|
|
819
|
-
const component = data.getInjected(FileManagementFolderContentComponent);
|
|
820
|
-
component.renameFile(data.record);
|
|
821
|
-
},
|
|
822
|
-
permission: "FileManagement.FileDescriptor.Update" /* eFileManagementPolicyNames.FileDescriptorUpdate */,
|
|
823
|
-
visible: isFile,
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
text: 'FileManagement::Move',
|
|
827
|
-
action: (data) => {
|
|
828
|
-
const component = data.getInjected(FileManagementFolderContentComponent);
|
|
829
|
-
component.moveFile(data.record);
|
|
830
|
-
},
|
|
831
|
-
permission: "FileManagement.FileDescriptor.Update" /* eFileManagementPolicyNames.FileDescriptorUpdate */,
|
|
832
|
-
visible: isFile,
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
text: 'AbpUi::Delete',
|
|
836
|
-
action: (data) => {
|
|
837
|
-
const component = data.getInjected(FileManagementFolderContentComponent);
|
|
838
|
-
component.deleteFile(data.record);
|
|
839
|
-
},
|
|
840
|
-
permission: "FileManagement.FileDescriptor.Delete" /* eFileManagementPolicyNames.FileDescriptorDelete */,
|
|
841
|
-
visible: isFile,
|
|
842
|
-
},
|
|
843
|
-
]);
|
|
844
|
-
|
|
845
|
-
function transformDirectoryContentSize(directoryContent) {
|
|
846
|
-
return directoryContent.isDirectory ? '' : formatBytes(directoryContent.size);
|
|
847
|
-
}
|
|
848
|
-
function formatBytes(size, precision = 2) {
|
|
849
|
-
if (!Number.isInteger(size) || size <= 0) {
|
|
850
|
-
return '0 Bytes';
|
|
851
|
-
}
|
|
852
|
-
if (size === 1) {
|
|
853
|
-
return '1 Byte';
|
|
854
|
-
}
|
|
855
|
-
const factor = 1024;
|
|
856
|
-
const decimals = precision < 0 ? 0 : precision;
|
|
857
|
-
const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
|
|
858
|
-
const sizeIndex = Math.floor(Math.log(size) / Math.log(factor));
|
|
859
|
-
return (parseFloat((size / Math.pow(factor, sizeIndex)).toFixed(decimals)) +
|
|
860
|
-
' ' +
|
|
861
|
-
sizes[sizeIndex]);
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_PROPS = EntityProp.createMany([
|
|
865
|
-
{
|
|
866
|
-
type: "string" /* ePropType.String */,
|
|
867
|
-
name: 'name',
|
|
868
|
-
displayName: 'FileManagement::Name',
|
|
869
|
-
sortable: true,
|
|
870
|
-
action: (data) => {
|
|
871
|
-
const navigator = data.getInjected(NavigatorService);
|
|
872
|
-
const download = data.getInjected(DownloadService);
|
|
873
|
-
if (data.record.isDirectory) {
|
|
874
|
-
navigator.goToFolder(data.record);
|
|
875
|
-
}
|
|
876
|
-
else {
|
|
877
|
-
download.downloadFile(data.record).subscribe();
|
|
878
|
-
}
|
|
879
|
-
},
|
|
880
|
-
valueResolver: (data) => {
|
|
881
|
-
const record = data.record;
|
|
882
|
-
let iconTemplate;
|
|
883
|
-
if (record.isDirectory) {
|
|
884
|
-
iconTemplate = `<i class="fa fa-folder text-primary" aria-hidden="true"></i>`;
|
|
885
|
-
}
|
|
886
|
-
else if (record.iconInfo) {
|
|
887
|
-
if (record.iconInfo.type === 0) {
|
|
888
|
-
iconTemplate = `<i class="${data.record.iconInfo.icon}" aria-hidden="true"></i>`;
|
|
889
|
-
}
|
|
890
|
-
else {
|
|
891
|
-
iconTemplate = `<img src="${data.record.iconInfo.icon}" />`;
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
return of(`${iconTemplate} ${data.record.name}`);
|
|
895
|
-
},
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
type: "string" /* ePropType.String */,
|
|
899
|
-
name: 'size',
|
|
900
|
-
displayName: 'FileManagement::Size',
|
|
901
|
-
sortable: true,
|
|
902
|
-
columnWidth: 150,
|
|
903
|
-
valueResolver: (data) => of(transformDirectoryContentSize(data.record)),
|
|
904
|
-
},
|
|
905
|
-
]);
|
|
906
|
-
|
|
907
|
-
const DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_TOOLBAR_ACTIONS = ToolbarAction.createMany([]);
|
|
908
|
-
|
|
909
|
-
const DEFAULT_FILE_MANAGEMENT_ENTITY_ACTIONS = {
|
|
910
|
-
["FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */]: DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_ACTIONS,
|
|
911
|
-
};
|
|
912
|
-
const DEFAULT_FILE_MANAGEMENT_TOOLBAR_ACTIONS = {
|
|
913
|
-
["FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */]: DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_TOOLBAR_ACTIONS,
|
|
914
|
-
};
|
|
915
|
-
const DEFAULT_FILE_MANAGEMENT_ENTITY_PROPS = {
|
|
916
|
-
["FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */]: DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_PROPS,
|
|
917
|
-
};
|
|
918
|
-
const FILE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS = new InjectionToken('FILE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS');
|
|
919
|
-
const FILE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS = new InjectionToken('FILE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS');
|
|
920
|
-
const FILE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS = new InjectionToken('FILE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS');
|
|
921
|
-
const FILE_MANAGEMENT_XSRF_HEADER_NAME = new InjectionToken('FILE_MANAGEMENT_XSRF_HEADER_NAME');
|
|
922
|
-
|
|
923
|
-
/* tslint:disable:no-string-literal */
|
|
924
|
-
class UploadService {
|
|
925
|
-
constructor(localization, fileService, confirmation, updateStream, apiInterceptor, environmentService, httpXsrfToken, headerName) {
|
|
926
|
-
this.localization = localization;
|
|
927
|
-
this.fileService = fileService;
|
|
928
|
-
this.confirmation = confirmation;
|
|
929
|
-
this.updateStream = updateStream;
|
|
930
|
-
this.apiInterceptor = apiInterceptor;
|
|
931
|
-
this.environmentService = environmentService;
|
|
932
|
-
this.httpXsrfToken = httpXsrfToken;
|
|
933
|
-
this.headerName = headerName;
|
|
934
|
-
this.filesAlreadyChecked = false;
|
|
935
|
-
this.subscriptions = [];
|
|
936
|
-
this.onBeforeUpload = (files) => {
|
|
937
|
-
if (this.filesAlreadyChecked) {
|
|
938
|
-
return true;
|
|
939
|
-
}
|
|
940
|
-
this.checkFilesForUpload(files);
|
|
941
|
-
return false;
|
|
942
|
-
};
|
|
943
|
-
this.cancelModal = () => {
|
|
944
|
-
this.uppy.cancelAll();
|
|
945
|
-
const dashboard = this.uppy.getPlugin('Dashboard');
|
|
946
|
-
if (dashboard.isModalOpen()) {
|
|
947
|
-
dashboard.closeModal();
|
|
948
|
-
}
|
|
949
|
-
};
|
|
950
|
-
this.getPreInfo = (files) => {
|
|
951
|
-
this.callPreInfoWithFiles(files)
|
|
952
|
-
.pipe(filter(result => result.length > 0), map(this.findAnyIfExistOrInvalidName))
|
|
953
|
-
.subscribe(result => {
|
|
954
|
-
if (result.doesExist) {
|
|
955
|
-
this.giveExistFileWarning();
|
|
956
|
-
}
|
|
957
|
-
if (result.hasInvalidName) {
|
|
958
|
-
this.giveInvalidFileNameWarning(result.fileName);
|
|
959
|
-
}
|
|
960
|
-
});
|
|
961
|
-
};
|
|
962
|
-
}
|
|
963
|
-
ngOnDestroy() {
|
|
964
|
-
this.uppy.close();
|
|
965
|
-
if (this.subscriptions) {
|
|
966
|
-
this.subscriptions.forEach(s => s.unsubscribe());
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
initUppy(trigger, opts) {
|
|
970
|
-
const headers = this.apiInterceptor.getAdditionalHeaders();
|
|
971
|
-
headers[this.headerName] = this.httpXsrfToken.getToken();
|
|
972
|
-
this.subscriptions.push(this.localization
|
|
973
|
-
.getResource$('FileManagement')
|
|
974
|
-
.pipe(take(1))
|
|
975
|
-
.subscribe(resource => {
|
|
976
|
-
this.resource = resource;
|
|
977
|
-
this.uppy = new Uppy({
|
|
978
|
-
onBeforeUpload: this.onBeforeUpload,
|
|
979
|
-
})
|
|
980
|
-
.use(Dashboard, {
|
|
981
|
-
trigger,
|
|
982
|
-
inline: false,
|
|
983
|
-
target: 'body',
|
|
984
|
-
metaFields: [
|
|
985
|
-
{
|
|
986
|
-
id: 'name',
|
|
987
|
-
name: resource['Name'],
|
|
988
|
-
placeholder: resource['FileName'],
|
|
989
|
-
},
|
|
990
|
-
],
|
|
991
|
-
browserBackButtonClose: true,
|
|
992
|
-
proudlyDisplayPoweredByUppy: false,
|
|
993
|
-
onRequestCloseModal: this.cancelModal,
|
|
994
|
-
locale: {
|
|
995
|
-
strings: this.getTranslations(),
|
|
996
|
-
},
|
|
997
|
-
})
|
|
998
|
-
.use(XHRUpload, {
|
|
999
|
-
endpoint: this.getRawApiUrl(),
|
|
1000
|
-
formData: true,
|
|
1001
|
-
fieldName: 'file',
|
|
1002
|
-
headers,
|
|
1003
|
-
});
|
|
1004
|
-
if (opts) {
|
|
1005
|
-
this.setOptions(opts);
|
|
1006
|
-
}
|
|
1007
|
-
}));
|
|
1008
|
-
this.subscriptions.push(fromEvent(this.uppy, 'file-added')
|
|
1009
|
-
.pipe(map(files => files[0]), bufferTime(500), filter(args => args.length > 0))
|
|
1010
|
-
.subscribe(this.getPreInfo));
|
|
1011
|
-
this.subscriptions.push(fromEvent(this.uppy, 'complete').subscribe(_ => {
|
|
1012
|
-
this.cancelModal();
|
|
1013
|
-
this.updateStream.refreshContent();
|
|
1014
|
-
}));
|
|
1015
|
-
return this.subscriptions;
|
|
1016
|
-
}
|
|
1017
|
-
setOptions(opts) {
|
|
1018
|
-
this.uppy.setOptions(opts);
|
|
1019
|
-
}
|
|
1020
|
-
giveInvalidFileNameWarning(fileName) {
|
|
1021
|
-
this.uppy.info(this.resource['FileManagement:0002'].replace('{FileName}', fileName), 'error', 7000);
|
|
1022
|
-
}
|
|
1023
|
-
giveExistFileWarning() {
|
|
1024
|
-
this.uppy.info(this.resource['FilesAlreadyExist'], 'warning', 7000);
|
|
1025
|
-
}
|
|
1026
|
-
checkFilesForUpload(files) {
|
|
1027
|
-
this.callPreInfoWithFiles(Object.values(files)).subscribe(result => {
|
|
1028
|
-
const filesWithInvalidNames = result.filter(f => !f.hasValidName);
|
|
1029
|
-
if (filesWithInvalidNames.length) {
|
|
1030
|
-
const messageParam = filesWithInvalidNames.map(f => `'${f.fileName}'`).join(', ');
|
|
1031
|
-
this.confirmation.error('FileManagement::NotValidFileNames', '', {
|
|
1032
|
-
messageLocalizationParams: [messageParam],
|
|
1033
|
-
hideCancelBtn: true,
|
|
1034
|
-
yesText: 'AbpUi::Ok',
|
|
1035
|
-
});
|
|
1036
|
-
}
|
|
1037
|
-
else {
|
|
1038
|
-
const filesAlreadyExist = result.filter(f => f.doesExist);
|
|
1039
|
-
if (filesAlreadyExist.length) {
|
|
1040
|
-
const messageParam = filesAlreadyExist.map(f => `'${f.fileName}'`).join(', ');
|
|
1041
|
-
this.confirmation
|
|
1042
|
-
.warn('FileManagement::FilesWillBeOverrided', 'FileManagement::AreYouSure', {
|
|
1043
|
-
messageLocalizationParams: [messageParam],
|
|
1044
|
-
})
|
|
1045
|
-
.pipe(take(1), filter(status => status === Confirmation.Status.confirm))
|
|
1046
|
-
.subscribe(_ => this.callUppyUpload());
|
|
1047
|
-
}
|
|
1048
|
-
else {
|
|
1049
|
-
this.callUppyUpload();
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
});
|
|
1053
|
-
}
|
|
1054
|
-
callUppyUpload() {
|
|
1055
|
-
this.filesAlreadyChecked = true;
|
|
1056
|
-
this.updateXHREndpoint();
|
|
1057
|
-
this.uppy.upload();
|
|
1058
|
-
this.filesAlreadyChecked = false;
|
|
1059
|
-
}
|
|
1060
|
-
updateXHREndpoint() {
|
|
1061
|
-
const directoryId = this.updateStream.currentDirectory;
|
|
1062
|
-
const xhr = this.uppy.getPlugin('XHRUpload');
|
|
1063
|
-
if (directoryId) {
|
|
1064
|
-
xhr.setOptions({
|
|
1065
|
-
endpoint: this.getRawApiUrl() + '?directoryId=' + directoryId,
|
|
1066
|
-
});
|
|
1067
|
-
}
|
|
1068
|
-
else {
|
|
1069
|
-
xhr.setOptions({ endpoint: this.getRawApiUrl() });
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
getRawApiUrl() {
|
|
1073
|
-
return (this.environmentService.getApiUrl('FileManagement') +
|
|
1074
|
-
`/api/file-management/file-descriptor/upload`);
|
|
1075
|
-
}
|
|
1076
|
-
callPreInfoWithFiles(files) {
|
|
1077
|
-
const currentId = this.updateStream.currentDirectory;
|
|
1078
|
-
return this.fileService.getPreInfo(files.map(f => ({
|
|
1079
|
-
fileName: f.meta.name,
|
|
1080
|
-
size: f.size,
|
|
1081
|
-
directoryId: currentId,
|
|
1082
|
-
})));
|
|
1083
|
-
}
|
|
1084
|
-
findAnyIfExistOrInvalidName(result) {
|
|
1085
|
-
return result.reduce((cumul, curr) => ({
|
|
1086
|
-
doesExist: cumul.doesExist || curr.doesExist,
|
|
1087
|
-
hasInvalidName: cumul.hasInvalidName || !curr.hasValidName,
|
|
1088
|
-
fileName: curr.hasValidName ? cumul.fileName : curr.fileName,
|
|
1089
|
-
}), {
|
|
1090
|
-
doesExist: false,
|
|
1091
|
-
hasInvalidName: false,
|
|
1092
|
-
fileName: '',
|
|
1093
|
-
});
|
|
1094
|
-
}
|
|
1095
|
-
getTranslations() {
|
|
1096
|
-
return {
|
|
1097
|
-
closeModal: this.resource['CloseModal'],
|
|
1098
|
-
addMoreFiles: this.resource['AddMoreFiles'],
|
|
1099
|
-
addingMoreFiles: this.resource['AddingMoreFiles'],
|
|
1100
|
-
importFrom: this.resource['ImportFrom'],
|
|
1101
|
-
dashboardWindowTitle: this.resource['DashboardWindowTitle'],
|
|
1102
|
-
dashboardTitle: this.resource['DashboardTitle'],
|
|
1103
|
-
copyLinkToClipboardSuccess: this.resource['CopyLinkToClipboardSuccess'],
|
|
1104
|
-
copyLinkToClipboardFallback: this.resource['CopyLinkToClipboardFallback'],
|
|
1105
|
-
copyLink: this.resource['CopyLink'],
|
|
1106
|
-
fileSource: this.resource['FileSource'],
|
|
1107
|
-
done: this.resource['Done'],
|
|
1108
|
-
back: this.resource['Back'],
|
|
1109
|
-
removeFile: this.resource['RemoveFile'],
|
|
1110
|
-
editFile: this.resource['EditFile'],
|
|
1111
|
-
editing: this.resource['Editing'],
|
|
1112
|
-
edit: this.resource['Edit'],
|
|
1113
|
-
finishEditingFile: this.resource['FinishEditingFile'],
|
|
1114
|
-
saveChanges: this.resource['SaveChanges'],
|
|
1115
|
-
myDevice: this.resource['MyDevice'],
|
|
1116
|
-
dropPasteImport: this.resource['DropPasteImport'],
|
|
1117
|
-
dropPaste: this.resource['DropPaste'],
|
|
1118
|
-
dropHint: this.resource['DropHint'],
|
|
1119
|
-
browse: this.resource['Browse'],
|
|
1120
|
-
uploadComplete: this.resource['UploadComplete'],
|
|
1121
|
-
uploadPaused: this.resource['UploadPaused'],
|
|
1122
|
-
resumeUpload: this.resource['ResumeUpload'],
|
|
1123
|
-
pauseUpload: this.resource['PauseUpload'],
|
|
1124
|
-
retryUpload: this.resource['RetryUpload'],
|
|
1125
|
-
cancelUpload: this.resource['CancelUpload'],
|
|
1126
|
-
xFilesSelected: {
|
|
1127
|
-
0: this.resource['FileSelected'],
|
|
1128
|
-
1: this.resource['NFileSelected'],
|
|
1129
|
-
},
|
|
1130
|
-
uploadingXFiles: {
|
|
1131
|
-
0: this.resource['UploadingFile'],
|
|
1132
|
-
1: this.resource['NUploadingFile'],
|
|
1133
|
-
},
|
|
1134
|
-
processingXFiles: {
|
|
1135
|
-
0: this.resource['ProcessingFile'],
|
|
1136
|
-
1: this.resource['NProcessingFile'],
|
|
1137
|
-
},
|
|
1138
|
-
uploading: this.resource['Uploading'],
|
|
1139
|
-
complete: this.resource['Complete'],
|
|
1140
|
-
uploadFailed: this.resource['UploadFailed'],
|
|
1141
|
-
paused: this.resource['Paused'],
|
|
1142
|
-
retry: this.resource['Retry'],
|
|
1143
|
-
cancel: this.resource['Cancel'],
|
|
1144
|
-
filesUploadedOfTotal: {
|
|
1145
|
-
0: this.resource['FileUploadedOfTotal'],
|
|
1146
|
-
1: this.resource['NFileUploadedOfTotal'],
|
|
1147
|
-
},
|
|
1148
|
-
dataUploadedOfTotal: this.resource['DataUploadedOfTotal'],
|
|
1149
|
-
xTimeLeft: this.resource['XTimeLeft'],
|
|
1150
|
-
uploadXFiles: {
|
|
1151
|
-
0: this.resource['UploadFile'],
|
|
1152
|
-
1: this.resource['UploadXFiles'],
|
|
1153
|
-
},
|
|
1154
|
-
uploadXNewFiles: {
|
|
1155
|
-
0: this.resource['UploadNewFile'],
|
|
1156
|
-
1: this.resource['UploadXNewFile'],
|
|
1157
|
-
},
|
|
1158
|
-
};
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1161
|
-
UploadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
1162
|
-
UploadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: UploadService });
|
|
1163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: UploadService, decorators: [{
|
|
1164
|
-
type: Injectable
|
|
1165
|
-
}], ctorParameters: function () {
|
|
1166
|
-
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: [{
|
|
1167
|
-
type: Inject,
|
|
1168
|
-
args: [FILE_MANAGEMENT_XSRF_HEADER_NAME]
|
|
1169
|
-
}] }];
|
|
1170
|
-
} });
|
|
1171
|
-
|
|
1172
|
-
class CreateFolderModalService {
|
|
1173
|
-
constructor(service, updateStream) {
|
|
1174
|
-
this.service = service;
|
|
1175
|
-
this.updateStream = updateStream;
|
|
1176
|
-
}
|
|
1177
|
-
create(name, parent) {
|
|
1178
|
-
const parentId = mapRootIdToEmpty(parent || this.updateStream.currentDirectory);
|
|
1179
|
-
return this.service
|
|
1180
|
-
.create({ name, parentId: mapRootIdToEmpty(parentId), extraProperties: {} })
|
|
1181
|
-
.pipe(tap(_ => this.updateStream.patchStore({ createdDirectory: parentId })));
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
CreateFolderModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CreateFolderModalService, deps: [{ token: i1$2.DirectoryDescriptorService }, { token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1185
|
-
CreateFolderModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CreateFolderModalService });
|
|
1186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CreateFolderModalService, decorators: [{
|
|
1187
|
-
type: Injectable
|
|
1188
|
-
}], ctorParameters: function () { return [{ type: i1$2.DirectoryDescriptorService }, { type: UpdateStreamService }]; } });
|
|
1189
|
-
|
|
1190
|
-
class CreateFolderModalComponent extends BaseModalComponent {
|
|
1191
|
-
constructor(fb, service) {
|
|
1192
|
-
super();
|
|
1193
|
-
this.fb = fb;
|
|
1194
|
-
this.service = service;
|
|
1195
|
-
this.form = this.fb.group({
|
|
1196
|
-
name: ['', Validators.required],
|
|
1197
|
-
});
|
|
1198
|
-
}
|
|
1199
|
-
shouldSave() {
|
|
1200
|
-
return this.form.valid;
|
|
1201
|
-
}
|
|
1202
|
-
saveAction() {
|
|
1203
|
-
return this.service.create(this.form.controls.name.value, this.parentId);
|
|
1204
|
-
}
|
|
1205
|
-
clear() {
|
|
1206
|
-
this.form.reset();
|
|
1207
|
-
}
|
|
1208
|
-
}
|
|
1209
|
-
CreateFolderModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CreateFolderModalComponent, deps: [{ token: i2.UntypedFormBuilder }, { token: CreateFolderModalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1210
|
-
CreateFolderModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", 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\">\r\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\r\n <div class=\"form-group\">\r\n <label for=\"createFolderInput\"\r\n >{{ \"FileManagement::Name\" | abpLocalization }} *</label\r\n >\r\n <input\r\n formControlName=\"name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n id=\"createFolderInput\"\r\n />\r\n </div>\r\n </form>\r\n</abp-file-management-modal>\r\n", dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", 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]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "size", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CreateFolderModalComponent, decorators: [{
|
|
1212
|
-
type: Component,
|
|
1213
|
-
args: [{ selector: 'abp-create-folder-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CreateFolderModalService], template: "<abp-file-management-modal title=\"CreateFolder\" [parent]=\"self\">\r\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\r\n <div class=\"form-group\">\r\n <label for=\"createFolderInput\"\r\n >{{ \"FileManagement::Name\" | abpLocalization }} *</label\r\n >\r\n <input\r\n formControlName=\"name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n id=\"createFolderInput\"\r\n />\r\n </div>\r\n </form>\r\n</abp-file-management-modal>\r\n" }]
|
|
1214
|
-
}], ctorParameters: function () { return [{ type: i2.UntypedFormBuilder }, { type: CreateFolderModalService }]; }, propDecorators: { parentId: [{
|
|
1215
|
-
type: Input
|
|
1216
|
-
}] } });
|
|
1217
|
-
|
|
1218
|
-
const TITLE_CLASS_LIST = ['upload-folder-title', 'text-center', 'mb-1', 'mt-1', 'order-first'];
|
|
1219
|
-
class FileManagementButtonsComponent {
|
|
1220
|
-
constructor(uploadService, permissionService, navigatorService, localizationService, renderer, elementRef, document, uppyOptions) {
|
|
1221
|
-
this.uploadService = uploadService;
|
|
1222
|
-
this.permissionService = permissionService;
|
|
1223
|
-
this.navigatorService = navigatorService;
|
|
1224
|
-
this.localizationService = localizationService;
|
|
1225
|
-
this.renderer = renderer;
|
|
1226
|
-
this.elementRef = elementRef;
|
|
1227
|
-
this.document = document;
|
|
1228
|
-
this.uppyOptions = uppyOptions;
|
|
1229
|
-
this.modalTitle = 'FileManagement::UploadFileModalTitle';
|
|
1230
|
-
this.folderCreateModal = false;
|
|
1231
|
-
this.fileCreatePermission = "FileManagement.FileDescriptor.Create" /* eFileManagementPolicyNames.FileDescriptorCreate */;
|
|
1232
|
-
this.directoryCreatePermission = "FileManagement.DirectoryDescriptor.Create" /* eFileManagementPolicyNames.DirectoryDescriptorCreate */;
|
|
1233
|
-
this.buttonId = 'upload-files-btn';
|
|
1234
|
-
this.currentFolder = ROOT_NODE;
|
|
1235
|
-
}
|
|
1236
|
-
get titleElement() {
|
|
1237
|
-
return this.document.querySelector('h3.upload-folder-title');
|
|
1238
|
-
}
|
|
1239
|
-
initTitle() {
|
|
1240
|
-
this.navigatorService.currentFolder$.subscribe(({ name }) => {
|
|
1241
|
-
this.createUploadFolderTitle(name);
|
|
1242
|
-
const folderName = this.localizationService.instant(this.modalTitle, name);
|
|
1243
|
-
this.renderer.setProperty(this.uploadFolderTitle, 'innerText', folderName);
|
|
1244
|
-
});
|
|
1245
|
-
}
|
|
1246
|
-
//TODO: @Masum Find a way much better
|
|
1247
|
-
createUploadFolderTitle(folderName) {
|
|
1248
|
-
this.uppyWrapperParentComponent = this.document.querySelector('div.uppy-Dashboard-innerWrap');
|
|
1249
|
-
if (!this.titleElement) {
|
|
1250
|
-
const title = this.renderer.createElement('h3');
|
|
1251
|
-
TITLE_CLASS_LIST.map(className => this.renderer.addClass(title, className));
|
|
1252
|
-
folderName = this.localizationService.instant(this.modalTitle, folderName);
|
|
1253
|
-
this.renderer.setProperty(title, 'innerText', folderName);
|
|
1254
|
-
this.renderer.appendChild(this.uppyWrapperParentComponent, title);
|
|
1255
|
-
}
|
|
1256
|
-
this.uploadFolderTitle = this.titleElement;
|
|
1257
|
-
}
|
|
1258
|
-
ngAfterViewInit() {
|
|
1259
|
-
this.permissionService
|
|
1260
|
-
.getGrantedPolicy$(this.fileCreatePermission)
|
|
1261
|
-
.pipe(take(1))
|
|
1262
|
-
.subscribe(() => {
|
|
1263
|
-
this.uploadService.initUppy(this.elementRef.nativeElement.querySelector(`#${this.buttonId}`), this.uppyOptions);
|
|
1264
|
-
this.initTitle();
|
|
1265
|
-
});
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
FileManagementButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementButtonsComponent, deps: [{ token: UploadService }, { token: i1.PermissionService }, { token: NavigatorService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: DOCUMENT }, { token: UPPY_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
1269
|
-
FileManagementButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: FileManagementButtonsComponent, selector: "abp-file-management-buttons", ngImport: i0, template: "<abp-button\r\n class=\"d-grid\"\r\n *abpPermission=\"fileCreatePermission\"\r\n [buttonId]=\"buttonId\"\r\n iconClass=\"fa fa-upload me-2\"\r\n buttonClass=\"btn btn-primary mb-2\"\r\n >{{ 'FileManagement::UploadFiles' | abpLocalization }}</abp-button\r\n>\r\n\r\n<abp-button\r\n class=\"d-grid\"\r\n *abpPermission=\"directoryCreatePermission\"\r\n iconClass=\"fa fa-folder-plus me-2\"\r\n buttonClass=\"btn btn-light btn-outline-primary mb-4\"\r\n (click)=\"folderCreateModal = true\"\r\n >{{ 'FileManagement::CreateFolder' | abpLocalization }}</abp-button\r\n>\r\n\r\n<abp-create-folder-modal [(visible)]=\"folderCreateModal\"></abp-create-folder-modal>\r\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: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{inset:50% 100% auto auto;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}.uppy-size--md .uppy-StatusBar{height:46px}[data-uppy-theme=dark] .uppy-StatusBar{background-color:#1f1f1f}.uppy-StatusBar:before{content:\"\";position:absolute;inset: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%;height: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:not([aria-hidden=true]).is-waiting.has-ghosts{height:90px;flex-direction:column}.uppy-size--md .uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts{height:65px;flex-direction:row}.uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts .uppy-StatusBar-actions{flex-direction:column;justify-content:center}.uppy-size--md .uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts .uppy-StatusBar-actions{flex-direction:row;justify-content:normal}.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}.uppy-StatusBar-actionBtn--disabled{opacity:.4}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--disabled{opacity:.7}[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.is-waiting .uppy-StatusBar-actionBtn--upload.uppy-StatusBar-actionBtn--disabled:hover{cursor:not-allowed;background-color:#1bb240}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload.uppy-StatusBar-actionBtn--disabled:hover{background-color:#1c8b37}.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}.uppy-StatusBar-serviceMsg{font-size:11px;line-height:1.1;color:#000;padding-left:10px}.uppy-size--md .uppy-StatusBar-serviceMsg{font-size:14px;padding-left:15px}[data-uppy-theme=dark] .uppy-StatusBar-serviceMsg{color:#eaeaea}.uppy-StatusBar-serviceMsg-ghostsIcon{opacity:.5;vertical-align:text-bottom;position:relative;top:2px;left:6px;width:10px}.uppy-size--md .uppy-StatusBar-serviceMsg-ghostsIcon{width:15px;left:10px;top:1px}[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;inset: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;inset: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;inset:0;background-color:#000000a6;display:none;z-index:1001}.uppy-Dashboard-Item-previewLink{position:absolute;inset: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:5px;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;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-reSelect{font-family:inherit;font-size:inherit;font-weight:600;color:#2275d7}.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.is-ghost .uppy-Dashboard-Item-previewInnerWrap{opacity:.2}.uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-name{opacity:.7}.uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-preview:before{content:\"\";position:absolute;inset:0;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='39'%3E%3Cpath d='M1.708 38.66c1.709 0 3.417-3.417 6.834-3.417 3.416 0 5.125 3.417 8.61 3.417 3.348 0 5.056-3.417 8.473-3.417 4.305 0 5.125 3.417 6.833 3.417.889 0 1.709-.889 1.709-1.709v-19.68C34.167-5.757 0-5.757 0 17.271v19.68c0 .82.888 1.709 1.708 1.709zm8.542-17.084a3.383 3.383 0 01-3.417-3.416 3.383 3.383 0 013.417-3.417 3.383 3.383 0 013.417 3.417 3.383 3.383 0 01-3.417 3.416zm13.667 0A3.383 3.383 0 0120.5 18.16a3.383 3.383 0 013.417-3.417 3.383 3.383 0 013.416 3.417 3.383 3.383 0 01-3.416 3.416z' fill='%2523000'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:50% 10px;background-size:25px;z-index:1005;opacity:.5}.uppy-size--md .uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-preview:before{background-size:40px;background-position:50% 50%}.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;inset: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: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)}@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:translate3d(-50%,-70%,0);opacity:0}to{transform:translate3d(-50%,-50%,0);opacity:1}}@keyframes uppy-Dashboard-slideDownAndFadeIn--small{0%{transform:translate3d(0,-20%,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes uppy-Dashboard-slideUpFadeOut{0%{transform:translate3d(-50%,-50%,0);opacity:1}to{transform:translate3d(-50%,-70%,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{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;inset: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;inset:35px 15px 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-serviceMsg{background-color:#fffbf7;border-top:1px solid #edd4b9;border-bottom:1px solid #edd4b9;font-size:12px;line-height:1.3;font-weight:500;padding:12px 0;position:relative;top:-1px;z-index:1004}.uppy-size--md .uppy-Dashboard-serviceMsg{font-size:14px;line-height:1.4}[data-uppy-theme=dark] .uppy-Dashboard-serviceMsg{background-color:#1f1f1f;color:#eaeaea;border-top:1px solid #333;border-bottom:1px solid #333}.uppy-Dashboard-serviceMsg-title{display:block;margin-bottom:4px;padding-left:42px;line-height:1}.uppy-Dashboard-serviceMsg-text{padding:0 15px}.uppy-Dashboard-serviceMsg-actionBtn{font-size:inherit;font-weight:inherit;vertical-align:initial;color:#2275d7}[data-uppy-theme=dark] .uppy-Dashboard-serviceMsg-actionBtn{color:#02baf2e6}.uppy-Dashboard-serviceMsg-icon{position:absolute;top:10px;left:15px}.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;background-color:transparent;-webkit-appearance:none;appearance:none;color:#525252;display:flex;flex-direction:row;align-items:center;padding:12px 15px}.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,[dir=ltr] .uppy-DashboardContent-save{margin-left:-6px}[dir=rtl] .uppy-DashboardContent-back,[dir=rtl] .uppy-DashboardContent-save{margin-right:-6px}.uppy-DashboardContent-back,.uppy-DashboardContent-save{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,.uppy-DashboardContent-save:focus{outline:none}.uppy-DashboardContent-back::-moz-focus-inner,.uppy-DashboardContent-save::-moz-focus-inner{border:0}.uppy-DashboardContent-back:hover,.uppy-DashboardContent-save:hover{color:#1b5dab}.uppy-DashboardContent-back:focus,.uppy-DashboardContent-save:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-DashboardContent-back:focus,[data-uppy-theme=dark] .uppy-DashboardContent-save:focus{background-color:#333}.uppy-size--md .uppy-DashboardContent-back,.uppy-size--md .uppy-DashboardContent-save{font-size:14px}[data-uppy-theme=dark] .uppy-DashboardContent-back,[data-uppy-theme=dark] .uppy-DashboardContent-save{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;inset: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;inset: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-Dashboard-serviceMsg,.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"], dependencies: [{ kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "component", type: i1$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementButtonsComponent, decorators: [{
|
|
1271
|
-
type: Component,
|
|
1272
|
-
args: [{ selector: 'abp-file-management-buttons', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<abp-button\r\n class=\"d-grid\"\r\n *abpPermission=\"fileCreatePermission\"\r\n [buttonId]=\"buttonId\"\r\n iconClass=\"fa fa-upload me-2\"\r\n buttonClass=\"btn btn-primary mb-2\"\r\n >{{ 'FileManagement::UploadFiles' | abpLocalization }}</abp-button\r\n>\r\n\r\n<abp-button\r\n class=\"d-grid\"\r\n *abpPermission=\"directoryCreatePermission\"\r\n iconClass=\"fa fa-folder-plus me-2\"\r\n buttonClass=\"btn btn-light btn-outline-primary mb-4\"\r\n (click)=\"folderCreateModal = true\"\r\n >{{ 'FileManagement::CreateFolder' | abpLocalization }}</abp-button\r\n>\r\n\r\n<abp-create-folder-modal [(visible)]=\"folderCreateModal\"></abp-create-folder-modal>\r\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: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{inset:50% 100% auto auto;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}.uppy-size--md .uppy-StatusBar{height:46px}[data-uppy-theme=dark] .uppy-StatusBar{background-color:#1f1f1f}.uppy-StatusBar:before{content:\"\";position:absolute;inset: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%;height: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:not([aria-hidden=true]).is-waiting.has-ghosts{height:90px;flex-direction:column}.uppy-size--md .uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts{height:65px;flex-direction:row}.uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts .uppy-StatusBar-actions{flex-direction:column;justify-content:center}.uppy-size--md .uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts .uppy-StatusBar-actions{flex-direction:row;justify-content:normal}.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}.uppy-StatusBar-actionBtn--disabled{opacity:.4}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--disabled{opacity:.7}[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.is-waiting .uppy-StatusBar-actionBtn--upload.uppy-StatusBar-actionBtn--disabled:hover{cursor:not-allowed;background-color:#1bb240}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload.uppy-StatusBar-actionBtn--disabled:hover{background-color:#1c8b37}.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}.uppy-StatusBar-serviceMsg{font-size:11px;line-height:1.1;color:#000;padding-left:10px}.uppy-size--md .uppy-StatusBar-serviceMsg{font-size:14px;padding-left:15px}[data-uppy-theme=dark] .uppy-StatusBar-serviceMsg{color:#eaeaea}.uppy-StatusBar-serviceMsg-ghostsIcon{opacity:.5;vertical-align:text-bottom;position:relative;top:2px;left:6px;width:10px}.uppy-size--md .uppy-StatusBar-serviceMsg-ghostsIcon{width:15px;left:10px;top:1px}[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;inset: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;inset: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;inset:0;background-color:#000000a6;display:none;z-index:1001}.uppy-Dashboard-Item-previewLink{position:absolute;inset: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:5px;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;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-reSelect{font-family:inherit;font-size:inherit;font-weight:600;color:#2275d7}.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.is-ghost .uppy-Dashboard-Item-previewInnerWrap{opacity:.2}.uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-name{opacity:.7}.uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-preview:before{content:\"\";position:absolute;inset:0;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='39'%3E%3Cpath d='M1.708 38.66c1.709 0 3.417-3.417 6.834-3.417 3.416 0 5.125 3.417 8.61 3.417 3.348 0 5.056-3.417 8.473-3.417 4.305 0 5.125 3.417 6.833 3.417.889 0 1.709-.889 1.709-1.709v-19.68C34.167-5.757 0-5.757 0 17.271v19.68c0 .82.888 1.709 1.708 1.709zm8.542-17.084a3.383 3.383 0 01-3.417-3.416 3.383 3.383 0 013.417-3.417 3.383 3.383 0 013.417 3.417 3.383 3.383 0 01-3.417 3.416zm13.667 0A3.383 3.383 0 0120.5 18.16a3.383 3.383 0 013.417-3.417 3.383 3.383 0 013.416 3.417 3.383 3.383 0 01-3.416 3.416z' fill='%2523000'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:50% 10px;background-size:25px;z-index:1005;opacity:.5}.uppy-size--md .uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-preview:before{background-size:40px;background-position:50% 50%}.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;inset: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: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)}@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:translate3d(-50%,-70%,0);opacity:0}to{transform:translate3d(-50%,-50%,0);opacity:1}}@keyframes uppy-Dashboard-slideDownAndFadeIn--small{0%{transform:translate3d(0,-20%,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes uppy-Dashboard-slideUpFadeOut{0%{transform:translate3d(-50%,-50%,0);opacity:1}to{transform:translate3d(-50%,-70%,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{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;inset: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;inset:35px 15px 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-serviceMsg{background-color:#fffbf7;border-top:1px solid #edd4b9;border-bottom:1px solid #edd4b9;font-size:12px;line-height:1.3;font-weight:500;padding:12px 0;position:relative;top:-1px;z-index:1004}.uppy-size--md .uppy-Dashboard-serviceMsg{font-size:14px;line-height:1.4}[data-uppy-theme=dark] .uppy-Dashboard-serviceMsg{background-color:#1f1f1f;color:#eaeaea;border-top:1px solid #333;border-bottom:1px solid #333}.uppy-Dashboard-serviceMsg-title{display:block;margin-bottom:4px;padding-left:42px;line-height:1}.uppy-Dashboard-serviceMsg-text{padding:0 15px}.uppy-Dashboard-serviceMsg-actionBtn{font-size:inherit;font-weight:inherit;vertical-align:initial;color:#2275d7}[data-uppy-theme=dark] .uppy-Dashboard-serviceMsg-actionBtn{color:#02baf2e6}.uppy-Dashboard-serviceMsg-icon{position:absolute;top:10px;left:15px}.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;background-color:transparent;-webkit-appearance:none;appearance:none;color:#525252;display:flex;flex-direction:row;align-items:center;padding:12px 15px}.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,[dir=ltr] .uppy-DashboardContent-save{margin-left:-6px}[dir=rtl] .uppy-DashboardContent-back,[dir=rtl] .uppy-DashboardContent-save{margin-right:-6px}.uppy-DashboardContent-back,.uppy-DashboardContent-save{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,.uppy-DashboardContent-save:focus{outline:none}.uppy-DashboardContent-back::-moz-focus-inner,.uppy-DashboardContent-save::-moz-focus-inner{border:0}.uppy-DashboardContent-back:hover,.uppy-DashboardContent-save:hover{color:#1b5dab}.uppy-DashboardContent-back:focus,.uppy-DashboardContent-save:focus{background-color:#eceef2}[data-uppy-theme=dark] .uppy-DashboardContent-back:focus,[data-uppy-theme=dark] .uppy-DashboardContent-save:focus{background-color:#333}.uppy-size--md .uppy-DashboardContent-back,.uppy-size--md .uppy-DashboardContent-save{font-size:14px}[data-uppy-theme=dark] .uppy-DashboardContent-back,[data-uppy-theme=dark] .uppy-DashboardContent-save{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;inset: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;inset: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-Dashboard-serviceMsg,.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"] }]
|
|
1273
|
-
}], ctorParameters: function () {
|
|
1274
|
-
return [{ type: UploadService }, { type: i1.PermissionService }, { type: NavigatorService }, { type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: Document, decorators: [{
|
|
1275
|
-
type: Inject,
|
|
1276
|
-
args: [DOCUMENT]
|
|
1277
|
-
}] }, { type: undefined, decorators: [{
|
|
1278
|
-
type: Inject,
|
|
1279
|
-
args: [UPPY_OPTIONS]
|
|
1280
|
-
}] }];
|
|
1281
|
-
} });
|
|
1282
|
-
|
|
1283
|
-
class FileManagementDirectoryTreeComponent {
|
|
1284
|
-
constructor(service, navigator, move, cdr, deleteService, subscription, updateStream) {
|
|
1285
|
-
this.service = service;
|
|
1286
|
-
this.navigator = navigator;
|
|
1287
|
-
this.move = move;
|
|
1288
|
-
this.cdr = cdr;
|
|
1289
|
-
this.deleteService = deleteService;
|
|
1290
|
-
this.subscription = subscription;
|
|
1291
|
-
this.updateStream = updateStream;
|
|
1292
|
-
this.createPolicy = "FileManagement.DirectoryDescriptor.Create" /* eFileManagementPolicyNames.DirectoryDescriptorCreate */;
|
|
1293
|
-
this.updatePolicy = "FileManagement.DirectoryDescriptor.Update" /* eFileManagementPolicyNames.DirectoryDescriptorUpdate */;
|
|
1294
|
-
this.deletePolicy = "FileManagement.DirectoryDescriptor.Delete" /* eFileManagementPolicyNames.DirectoryDescriptorDelete */;
|
|
1295
|
-
this.contextMenuPolicy = `${this.createPolicy} || ${this.updatePolicy} || ${this.deletePolicy}`;
|
|
1296
|
-
this.createModalVisible = false;
|
|
1297
|
-
this.createModalParentId = '';
|
|
1298
|
-
this.renameModalVisible = false;
|
|
1299
|
-
this.moveModalVisible = false;
|
|
1300
|
-
this.rootId = ROOT_ID;
|
|
1301
|
-
this.updateDirectories = (directories) => {
|
|
1302
|
-
this.directories = directories.map(this.markAsParentHasChildren);
|
|
1303
|
-
this.cdr.markForCheck();
|
|
1304
|
-
};
|
|
1305
|
-
this.updateSelectedNode = (directory) => {
|
|
1306
|
-
const id = directory || ROOT_ID;
|
|
1307
|
-
this.tree.setSelectedNode({ id });
|
|
1308
|
-
};
|
|
1309
|
-
this.markAsParentHasChildren = (node) => {
|
|
1310
|
-
var _a;
|
|
1311
|
-
return Object.assign(Object.assign({}, node), { isLeaf: !node.entity.hasChildren && !node.children.length, children: (_a = node === null || node === void 0 ? void 0 : node.children) === null || _a === void 0 ? void 0 : _a.map(child => this.markAsParentHasChildren(child)) });
|
|
1312
|
-
};
|
|
1313
|
-
}
|
|
1314
|
-
ngOnInit() {
|
|
1315
|
-
this.subscription.addOne(this.service.directoryTree$, this.updateDirectories);
|
|
1316
|
-
this.subscription.addOne(this.updateStream.currentDirectory$, this.updateSelectedNode);
|
|
1317
|
-
}
|
|
1318
|
-
onDrop({ dragNode, node }) {
|
|
1319
|
-
this.move
|
|
1320
|
-
.moveTo(this.nzNodeToFolderInfo(dragNode), this.nzNodeToFolderInfo(node), dragNode.parentNode.origin.id)
|
|
1321
|
-
.subscribe();
|
|
1322
|
-
}
|
|
1323
|
-
onNodeClick(node) {
|
|
1324
|
-
if (node.isRoot) {
|
|
1325
|
-
this.onRootClick();
|
|
1326
|
-
}
|
|
1327
|
-
else {
|
|
1328
|
-
this.navigator.goToFolder(node);
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
onRootClick() {
|
|
1332
|
-
this.navigator.goToRoot();
|
|
1333
|
-
}
|
|
1334
|
-
onCreate(folder) {
|
|
1335
|
-
this.createModalVisible = true;
|
|
1336
|
-
this.createModalParentId = folder.id;
|
|
1337
|
-
}
|
|
1338
|
-
onRename(folder) {
|
|
1339
|
-
this.renameModalVisible = true;
|
|
1340
|
-
this.contentToRename = Object.assign(Object.assign({}, folder), { isDirectory: true });
|
|
1341
|
-
}
|
|
1342
|
-
onDelete(folder) {
|
|
1343
|
-
this.deleteService.deleteFolder(folder).subscribe();
|
|
1344
|
-
}
|
|
1345
|
-
onMove(folder) {
|
|
1346
|
-
this.folderToMove = Object.assign(Object.assign({}, folder.origin.entity), { isDirectory: true });
|
|
1347
|
-
this.parentOfFolderToMove = folder.parentNode.origin.id;
|
|
1348
|
-
this.moveModalVisible = true;
|
|
1349
|
-
}
|
|
1350
|
-
afterFolderMoved() {
|
|
1351
|
-
delete this.folderToMove;
|
|
1352
|
-
}
|
|
1353
|
-
nzNodeToFolderInfo(node) {
|
|
1354
|
-
return {
|
|
1355
|
-
id: node.origin.id,
|
|
1356
|
-
name: node.origin.title,
|
|
1357
|
-
};
|
|
1358
|
-
}
|
|
1359
|
-
onExpandedKeysChange(event) {
|
|
1360
|
-
if (event.node.isExpanded && event.node.key !== ROOT_ID && !event.node.children.length) {
|
|
1361
|
-
this.service.updateDirectories(event.node.key);
|
|
1362
|
-
}
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
FileManagementDirectoryTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementDirectoryTreeComponent, deps: [{ token: DirectoryTreeService }, { token: NavigatorService }, { token: MoveService }, { token: i0.ChangeDetectorRef }, { token: DeleteService }, { token: i1.SubscriptionService }, { token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1366
|
-
FileManagementDirectoryTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: FileManagementDirectoryTreeComponent, selector: "abp-file-management-directory-tree", providers: [SubscriptionService], viewQueries: [{ propertyName: "tree", first: true, predicate: TreeComponent, descendants: true }], ngImport: i0, template: "<div>\r\n <ng-container *ngIf=\"directories\">\r\n <abp-tree\r\n [(nodes)]=\"directories\"\r\n [(expandedKeys)]=\"service.extendedKeys\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n (selectedNodeChange)=\"onNodeClick($event)\"\r\n (nzExpandChange)=\"onExpandedKeysChange($event)\"\r\n [selectedNode]=\"selectedNode\"\r\n >\r\n <ng-template abp-tree-expanded-icon-template let-node let-origin=\"origin\">\r\n <i\r\n class=\"far\"\r\n [class.fa-plus-square]=\"!node.isExpanded && origin?.entity?.hasChildren\"\r\n [class.fa-minus-square]=\"node.isExpanded && node.children.length\"\r\n aria-hidden=\"true\"\r\n ></i>\r\n </ng-template>\r\n\r\n <ng-template abp-tree-node-template let-node\r\n ><i class=\"fa fa-folder text-primary me-2\" aria-hidden=\"true\"></i\r\n ><ng-container *ngIf=\"node.origin.entity.isRoot; else leafNode\">\r\n {{ 'FileManagement::AllFiles' | abpLocalization }}\r\n </ng-container>\r\n <ng-template #leafNode>{{ node.title }}</ng-template></ng-template\r\n >\r\n\r\n <ng-container *abpPermission=\"contextMenuPolicy\">\r\n <ng-template #menu let-node>\r\n <li\r\n *abpPermission=\"createPolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onCreate(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::CreateFolder' | abpLocalization }}\r\n </li>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onRename(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::Rename' | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onMove(node)\"\r\n >\r\n {{ 'FileManagement::Move' | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"deletePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onDelete(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::Delete' | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </abp-tree>\r\n </ng-container>\r\n</div>\r\n\r\n<abp-create-folder-modal\r\n [(visible)]=\"createModalVisible\"\r\n [parentId]=\"createModalParentId\"\r\n></abp-create-folder-modal>\r\n\r\n<abp-rename-modal\r\n [(visible)]=\"renameModalVisible\"\r\n [(contentToRename)]=\"contentToRename\"\r\n></abp-rename-modal>\r\n\r\n<abp-move-file-modal\r\n [(visible)]=\"moveModalVisible\"\r\n (contentSaved)=\"afterFolderMoved()\"\r\n [fileToMove]=\"folderToMove\"\r\n [oldParentId]=\"parentOfFolderToMove\"\r\n>\r\n</abp-move-file-modal>\r\n", dependencies: [{ kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "directive", type: i8$1.TreeNodeTemplateDirective, selector: "[abpTreeNodeTemplate],[abp-tree-node-template]" }, { kind: "directive", type: i8$1.ExpandedIconTemplateDirective, selector: "[abpTreeExpandedIconTemplate],[abp-tree-expanded-icon-template]" }, { kind: "component", type: i8$1.TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "changeCheckboxWithNode", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver", "nzExpandChange"] }, { kind: "directive", type: i9.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { kind: "component", type: CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementDirectoryTreeComponent, decorators: [{
|
|
1368
|
-
type: Component,
|
|
1369
|
-
args: [{ selector: 'abp-file-management-directory-tree', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SubscriptionService], template: "<div>\r\n <ng-container *ngIf=\"directories\">\r\n <abp-tree\r\n [(nodes)]=\"directories\"\r\n [(expandedKeys)]=\"service.extendedKeys\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n (selectedNodeChange)=\"onNodeClick($event)\"\r\n (nzExpandChange)=\"onExpandedKeysChange($event)\"\r\n [selectedNode]=\"selectedNode\"\r\n >\r\n <ng-template abp-tree-expanded-icon-template let-node let-origin=\"origin\">\r\n <i\r\n class=\"far\"\r\n [class.fa-plus-square]=\"!node.isExpanded && origin?.entity?.hasChildren\"\r\n [class.fa-minus-square]=\"node.isExpanded && node.children.length\"\r\n aria-hidden=\"true\"\r\n ></i>\r\n </ng-template>\r\n\r\n <ng-template abp-tree-node-template let-node\r\n ><i class=\"fa fa-folder text-primary me-2\" aria-hidden=\"true\"></i\r\n ><ng-container *ngIf=\"node.origin.entity.isRoot; else leafNode\">\r\n {{ 'FileManagement::AllFiles' | abpLocalization }}\r\n </ng-container>\r\n <ng-template #leafNode>{{ node.title }}</ng-template></ng-template\r\n >\r\n\r\n <ng-container *abpPermission=\"contextMenuPolicy\">\r\n <ng-template #menu let-node>\r\n <li\r\n *abpPermission=\"createPolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onCreate(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::CreateFolder' | abpLocalization }}\r\n </li>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onRename(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::Rename' | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onMove(node)\"\r\n >\r\n {{ 'FileManagement::Move' | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"deletePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onDelete(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::Delete' | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </abp-tree>\r\n </ng-container>\r\n</div>\r\n\r\n<abp-create-folder-modal\r\n [(visible)]=\"createModalVisible\"\r\n [parentId]=\"createModalParentId\"\r\n></abp-create-folder-modal>\r\n\r\n<abp-rename-modal\r\n [(visible)]=\"renameModalVisible\"\r\n [(contentToRename)]=\"contentToRename\"\r\n></abp-rename-modal>\r\n\r\n<abp-move-file-modal\r\n [(visible)]=\"moveModalVisible\"\r\n (contentSaved)=\"afterFolderMoved()\"\r\n [fileToMove]=\"folderToMove\"\r\n [oldParentId]=\"parentOfFolderToMove\"\r\n>\r\n</abp-move-file-modal>\r\n" }]
|
|
1370
|
-
}], ctorParameters: function () { return [{ type: DirectoryTreeService }, { type: NavigatorService }, { type: MoveService }, { type: i0.ChangeDetectorRef }, { type: DeleteService }, { type: i1.SubscriptionService }, { type: UpdateStreamService }]; }, propDecorators: { tree: [{
|
|
1371
|
-
type: ViewChild,
|
|
1372
|
-
args: [TreeComponent]
|
|
1373
|
-
}] } });
|
|
1374
|
-
|
|
1375
|
-
class FileManagementFolderFilterComponent {
|
|
1376
|
-
constructor(list, navigator) {
|
|
1377
|
-
this.list = list;
|
|
1378
|
-
this.navigator = navigator;
|
|
1379
|
-
}
|
|
1380
|
-
ngOnInit() { }
|
|
1381
|
-
goUpFolder() {
|
|
1382
|
-
this.navigator.goUpFolder();
|
|
1383
|
-
}
|
|
1384
|
-
search() {
|
|
1385
|
-
this.list.get();
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
|
-
FileManagementFolderFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementFolderFilterComponent, deps: [{ token: i1.ListService }, { token: NavigatorService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1389
|
-
FileManagementFolderFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: FileManagementFolderFilterComponent, selector: "abp-file-management-folder-filter", ngImport: i0, template: "<div class=\"row mb-3\">\r\n <div class=\"col-sm-12 col-md-auto col-lg-auto col-xl-auto\">\r\n <abp-button\r\n (click)=\"goUpFolder()\"\r\n iconClass=\"fa fa-level-up-alt fa-flip-horizontal me-2\"\r\n buttonClass=\"w-100 mb-2 mb-md-0 shadow-none btn-block btn btn-outline-secondary\"\r\n >{{ \"FileManagement::GoUpFolder\" | abpLocalization }}</abp-button\r\n >\r\n </div>\r\n <div class=\"col\">\r\n <div class=\"input-group\">\r\n <input\r\n class=\"form-control page-search-filter-text\"\r\n [(ngModel)]=\"list.filter\"\r\n [placeholder]=\"'FileManagement::Filter' | abpLocalization\"\r\n />\r\n <div class=\"input-group-append\">\r\n <abp-button (abpClick)=\"search()\" iconClass=\"fa fa-search\"></abp-button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", 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]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i1$1.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementFolderFilterComponent, decorators: [{
|
|
1391
|
-
type: Component,
|
|
1392
|
-
args: [{ selector: 'abp-file-management-folder-filter', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"row mb-3\">\r\n <div class=\"col-sm-12 col-md-auto col-lg-auto col-xl-auto\">\r\n <abp-button\r\n (click)=\"goUpFolder()\"\r\n iconClass=\"fa fa-level-up-alt fa-flip-horizontal me-2\"\r\n buttonClass=\"w-100 mb-2 mb-md-0 shadow-none btn-block btn btn-outline-secondary\"\r\n >{{ \"FileManagement::GoUpFolder\" | abpLocalization }}</abp-button\r\n >\r\n </div>\r\n <div class=\"col\">\r\n <div class=\"input-group\">\r\n <input\r\n class=\"form-control page-search-filter-text\"\r\n [(ngModel)]=\"list.filter\"\r\n [placeholder]=\"'FileManagement::Filter' | abpLocalization\"\r\n />\r\n <div class=\"input-group-append\">\r\n <abp-button (abpClick)=\"search()\" iconClass=\"fa fa-search\"></abp-button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1393
|
-
}], ctorParameters: function () { return [{ type: i1.ListService }, { type: NavigatorService }]; } });
|
|
1394
|
-
|
|
1395
|
-
class FileManagementFolderPanelComponent {
|
|
1396
|
-
constructor(navigator) {
|
|
1397
|
-
this.navigator = navigator;
|
|
1398
|
-
this.contentUpdate = new EventEmitter();
|
|
1399
|
-
}
|
|
1400
|
-
}
|
|
1401
|
-
FileManagementFolderPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementFolderPanelComponent, deps: [{ token: NavigatorService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1402
|
-
FileManagementFolderPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: FileManagementFolderPanelComponent, selector: "abp-file-management-folder-panel", outputs: { contentUpdate: "contentUpdate" }, providers: [ListService], ngImport: i0, template: "<div class=\"row mb-3\">\r\n <div class=\"col\">\r\n <abp-file-management-breadcrumb\r\n [navigatedFolders]=\"navigator.navigatedFolderPath$ | async\"\r\n (breadcrumbClick)=\"navigator.goToFolder($event)\"\r\n ></abp-file-management-breadcrumb>\r\n </div>\r\n</div>\r\n\r\n<abp-file-management-folder-filter></abp-file-management-folder-filter>\r\n<abp-file-management-folder-content\r\n (contentUpdate)=\"contentUpdate.emit($event)\"\r\n></abp-file-management-folder-content>\r\n", dependencies: [{ kind: "component", type: FileManagementBreadcrumbComponent, selector: "abp-file-management-breadcrumb", inputs: ["rootBreadcrumbName", "navigatedFolders"], outputs: ["breadcrumbClick"] }, { kind: "component", type: FileManagementFolderContentComponent, selector: "abp-file-management-folder-content", outputs: ["contentUpdate"] }, { kind: "component", type: FileManagementFolderFilterComponent, selector: "abp-file-management-folder-filter" }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementFolderPanelComponent, decorators: [{
|
|
1404
|
-
type: Component,
|
|
1405
|
-
args: [{ selector: 'abp-file-management-folder-panel', changeDetection: ChangeDetectionStrategy.OnPush, providers: [ListService], template: "<div class=\"row mb-3\">\r\n <div class=\"col\">\r\n <abp-file-management-breadcrumb\r\n [navigatedFolders]=\"navigator.navigatedFolderPath$ | async\"\r\n (breadcrumbClick)=\"navigator.goToFolder($event)\"\r\n ></abp-file-management-breadcrumb>\r\n </div>\r\n</div>\r\n\r\n<abp-file-management-folder-filter></abp-file-management-folder-filter>\r\n<abp-file-management-folder-content\r\n (contentUpdate)=\"contentUpdate.emit($event)\"\r\n></abp-file-management-folder-content>\r\n" }]
|
|
1406
|
-
}], ctorParameters: function () { return [{ type: NavigatorService }]; }, propDecorators: { contentUpdate: [{
|
|
1407
|
-
type: Output
|
|
1408
|
-
}] } });
|
|
1409
|
-
|
|
1410
|
-
class FileManagementComponent {
|
|
1411
|
-
constructor(updateStream) {
|
|
1412
|
-
this.updateStream = updateStream;
|
|
1413
|
-
this.currentContent = [];
|
|
1414
|
-
}
|
|
1415
|
-
ngOnInit() {
|
|
1416
|
-
this.updateStream.patchStore({
|
|
1417
|
-
currentDirectory: null,
|
|
1418
|
-
});
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
FileManagementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementComponent, deps: [{ token: UpdateStreamService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1422
|
-
FileManagementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: FileManagementComponent, selector: "abp-file-management", providers: [
|
|
1423
|
-
DeleteService,
|
|
1424
|
-
DownloadService,
|
|
1425
|
-
DirectoryTreeService,
|
|
1426
|
-
NavigatorService,
|
|
1427
|
-
MoveService,
|
|
1428
|
-
UploadService,
|
|
1429
|
-
UpdateStreamService,
|
|
1430
|
-
{
|
|
1431
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
1432
|
-
useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
|
|
1433
|
-
},
|
|
1434
|
-
], ngImport: i0, template: "<abp-page\r\n [title]=\"'FileManagement::Menu:FileManagement' | abpLocalization\"\r\n [toolbar]=\"currentContent\"\r\n>\r\n <div class=\"card\">\r\n <div class=\"card-body z-index-0\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-4 col-lg-3 col\">\r\n <div class=\"p-lg-3 p-md-0 mb-4\">\r\n <abp-file-management-buttons></abp-file-management-buttons>\r\n <abp-file-management-directory-tree></abp-file-management-directory-tree>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-8 col-lg-9 col\">\r\n <div class=\"p-lg-3 p-md-0\">\r\n <abp-file-management-folder-panel\r\n (contentUpdate)=\"currentContent = $event\"\r\n ></abp-file-management-folder-panel>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</abp-page>\r\n", dependencies: [{ kind: "component", type: i2$2.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: FileManagementDirectoryTreeComponent, selector: "abp-file-management-directory-tree" }, { kind: "component", type: FileManagementButtonsComponent, selector: "abp-file-management-buttons" }, { kind: "component", type: FileManagementFolderPanelComponent, selector: "abp-file-management-folder-panel", outputs: ["contentUpdate"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementComponent, decorators: [{
|
|
1436
|
-
type: Component,
|
|
1437
|
-
args: [{ selector: 'abp-file-management', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
1438
|
-
DeleteService,
|
|
1439
|
-
DownloadService,
|
|
1440
|
-
DirectoryTreeService,
|
|
1441
|
-
NavigatorService,
|
|
1442
|
-
MoveService,
|
|
1443
|
-
UploadService,
|
|
1444
|
-
UpdateStreamService,
|
|
1445
|
-
{
|
|
1446
|
-
provide: EXTENSIONS_IDENTIFIER,
|
|
1447
|
-
useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
|
|
1448
|
-
},
|
|
1449
|
-
], template: "<abp-page\r\n [title]=\"'FileManagement::Menu:FileManagement' | abpLocalization\"\r\n [toolbar]=\"currentContent\"\r\n>\r\n <div class=\"card\">\r\n <div class=\"card-body z-index-0\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-4 col-lg-3 col\">\r\n <div class=\"p-lg-3 p-md-0 mb-4\">\r\n <abp-file-management-buttons></abp-file-management-buttons>\r\n <abp-file-management-directory-tree></abp-file-management-directory-tree>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-8 col-lg-9 col\">\r\n <div class=\"p-lg-3 p-md-0\">\r\n <abp-file-management-folder-panel\r\n (contentUpdate)=\"currentContent = $event\"\r\n ></abp-file-management-folder-panel>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</abp-page>\r\n" }]
|
|
1450
|
-
}], ctorParameters: function () { return [{ type: UpdateStreamService }]; } });
|
|
1451
|
-
|
|
1452
|
-
class FileManagementInitializer {
|
|
1453
|
-
constructor(injector) {
|
|
1454
|
-
this.injector = injector;
|
|
1455
|
-
}
|
|
1456
|
-
canActivate() {
|
|
1457
|
-
const extensions = this.injector.get(ExtensionsService);
|
|
1458
|
-
const actionContributors = this.injector.get(FILE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS, null) || {};
|
|
1459
|
-
const toolbarContributors = this.injector.get(FILE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS, null) ||
|
|
1460
|
-
{};
|
|
1461
|
-
const propContributors = this.injector.get(FILE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS, null) || {};
|
|
1462
|
-
const configStateService = this.injector.get(ConfigStateService);
|
|
1463
|
-
return getObjectExtensionEntitiesFromStore(configStateService, 'FileManagement').pipe(map((entities) => ({
|
|
1464
|
-
/**
|
|
1465
|
-
* TODO: uncomment following statement with correct entity name
|
|
1466
|
-
* Following statement is commented out on 02 Sept 2020
|
|
1467
|
-
* It
|
|
1468
|
-
*/
|
|
1469
|
-
// [eFileManagementComponents.FolderContent]: entities.DirectoryContentDto,
|
|
1470
|
-
})), mapEntitiesToContributors(configStateService, 'FileManagement'), tap((objectExtensionContributors) => {
|
|
1471
|
-
mergeWithDefaultActions(extensions.entityActions, DEFAULT_FILE_MANAGEMENT_ENTITY_ACTIONS, actionContributors);
|
|
1472
|
-
mergeWithDefaultActions(extensions.toolbarActions, DEFAULT_FILE_MANAGEMENT_TOOLBAR_ACTIONS, toolbarContributors);
|
|
1473
|
-
mergeWithDefaultProps(extensions.entityProps, DEFAULT_FILE_MANAGEMENT_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
|
|
1474
|
-
}), mapTo(true));
|
|
1475
|
-
}
|
|
1476
|
-
}
|
|
1477
|
-
FileManagementInitializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementInitializer, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1478
|
-
FileManagementInitializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementInitializer });
|
|
1479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementInitializer, decorators: [{
|
|
1480
|
-
type: Injectable
|
|
1481
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
1482
|
-
|
|
1483
|
-
class FileManagementGuard {
|
|
1484
|
-
constructor(fileManagementFeatures) {
|
|
1485
|
-
this.fileManagementFeatures = fileManagementFeatures;
|
|
1486
|
-
}
|
|
1487
|
-
canActivate() {
|
|
1488
|
-
return this.fileManagementFeatures.pipe(map((features) => features.enable));
|
|
1489
|
-
}
|
|
1490
|
-
}
|
|
1491
|
-
FileManagementGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementGuard, deps: [{ token: FILE_MANAGEMENT_FEATURES }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1492
|
-
FileManagementGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementGuard });
|
|
1493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementGuard, decorators: [{
|
|
1494
|
-
type: Injectable
|
|
1495
|
-
}], ctorParameters: function () {
|
|
1496
|
-
return [{ type: i1$3.Observable, decorators: [{
|
|
1497
|
-
type: Inject,
|
|
1498
|
-
args: [FILE_MANAGEMENT_FEATURES]
|
|
1499
|
-
}] }];
|
|
1500
|
-
} });
|
|
1501
|
-
|
|
1502
|
-
const routes = [
|
|
1503
|
-
{
|
|
1504
|
-
path: '',
|
|
1505
|
-
pathMatch: 'full',
|
|
1506
|
-
canActivate: [
|
|
1507
|
-
AuthGuard,
|
|
1508
|
-
PermissionGuard,
|
|
1509
|
-
FileManagementInitializer,
|
|
1510
|
-
FileManagementGuard,
|
|
1511
|
-
],
|
|
1512
|
-
component: FileManagementComponent,
|
|
1513
|
-
},
|
|
1514
|
-
];
|
|
1515
|
-
class FileManagementRoutingModule {
|
|
1516
|
-
}
|
|
1517
|
-
FileManagementRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1518
|
-
FileManagementRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.1", ngImport: i0, type: FileManagementRoutingModule, imports: [i1$4.RouterModule], exports: [RouterModule] });
|
|
1519
|
-
FileManagementRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
1520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementRoutingModule, decorators: [{
|
|
1521
|
-
type: NgModule,
|
|
1522
|
-
args: [{
|
|
1523
|
-
imports: [RouterModule.forChild(routes)],
|
|
1524
|
-
exports: [RouterModule],
|
|
1525
|
-
}]
|
|
1526
|
-
}] });
|
|
1527
|
-
|
|
1528
|
-
const exportedComponents = [
|
|
1529
|
-
FileManagementComponent,
|
|
1530
|
-
FileManagementDirectoryTreeComponent,
|
|
1531
|
-
FileManagementButtonsComponent,
|
|
1532
|
-
FileManagementBreadcrumbComponent,
|
|
1533
|
-
FileManagementFolderContentComponent,
|
|
1534
|
-
FileManagementFolderFilterComponent,
|
|
1535
|
-
FileManagementFolderPanelComponent,
|
|
1536
|
-
];
|
|
1537
|
-
const modals = [
|
|
1538
|
-
RenameModalComponent,
|
|
1539
|
-
CreateFolderModalComponent,
|
|
1540
|
-
BaseModalComponent,
|
|
1541
|
-
MoveFileModalComponent,
|
|
1542
|
-
];
|
|
1543
|
-
class FileManagementModule {
|
|
1544
|
-
static forChild(options = {}) {
|
|
1545
|
-
return {
|
|
1546
|
-
ngModule: FileManagementModule,
|
|
1547
|
-
providers: [
|
|
1548
|
-
{
|
|
1549
|
-
provide: FILE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS,
|
|
1550
|
-
useValue: options.entityActionContributors,
|
|
1551
|
-
},
|
|
1552
|
-
{
|
|
1553
|
-
provide: FILE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS,
|
|
1554
|
-
useValue: options.toolbarActionContributors,
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
provide: FILE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS,
|
|
1558
|
-
useValue: options.entityPropContributors,
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
provide: FILE_MANAGEMENT_XSRF_HEADER_NAME,
|
|
1562
|
-
useValue: options.xsrfHeaderName || 'RequestVerificationToken',
|
|
1563
|
-
},
|
|
1564
|
-
FileManagementInitializer,
|
|
1565
|
-
FileManagementGuard,
|
|
1566
|
-
],
|
|
1567
|
-
};
|
|
1568
|
-
}
|
|
1569
|
-
static forLazy(options = {}) {
|
|
1570
|
-
return new LazyModuleFactory(FileManagementModule.forChild(options));
|
|
1571
|
-
}
|
|
1572
|
-
}
|
|
1573
|
-
FileManagementModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1574
|
-
FileManagementModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.1", ngImport: i0, type: FileManagementModule, declarations: [FileManagementComponent,
|
|
1575
|
-
FileManagementDirectoryTreeComponent,
|
|
1576
|
-
FileManagementButtonsComponent,
|
|
1577
|
-
FileManagementBreadcrumbComponent,
|
|
1578
|
-
FileManagementFolderContentComponent,
|
|
1579
|
-
FileManagementFolderFilterComponent,
|
|
1580
|
-
FileManagementFolderPanelComponent, RenameModalComponent,
|
|
1581
|
-
CreateFolderModalComponent,
|
|
1582
|
-
BaseModalComponent,
|
|
1583
|
-
MoveFileModalComponent], imports: [CoreModule,
|
|
1584
|
-
ThemeSharedModule,
|
|
1585
|
-
TreeModule,
|
|
1586
|
-
FileManagementRoutingModule,
|
|
1587
|
-
NgbDropdownModule,
|
|
1588
|
-
UiExtensionsModule,
|
|
1589
|
-
NgxValidateCoreModule,
|
|
1590
|
-
PageModule], exports: [FileManagementComponent,
|
|
1591
|
-
FileManagementDirectoryTreeComponent,
|
|
1592
|
-
FileManagementButtonsComponent,
|
|
1593
|
-
FileManagementBreadcrumbComponent,
|
|
1594
|
-
FileManagementFolderContentComponent,
|
|
1595
|
-
FileManagementFolderFilterComponent,
|
|
1596
|
-
FileManagementFolderPanelComponent] });
|
|
1597
|
-
FileManagementModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
|
|
1598
|
-
ThemeSharedModule,
|
|
1599
|
-
TreeModule,
|
|
1600
|
-
FileManagementRoutingModule,
|
|
1601
|
-
NgbDropdownModule,
|
|
1602
|
-
UiExtensionsModule,
|
|
1603
|
-
NgxValidateCoreModule,
|
|
1604
|
-
PageModule] });
|
|
1605
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: FileManagementModule, decorators: [{
|
|
1606
|
-
type: NgModule,
|
|
1607
|
-
args: [{
|
|
1608
|
-
declarations: [...exportedComponents, ...modals],
|
|
1609
|
-
imports: [
|
|
1610
|
-
CoreModule,
|
|
1611
|
-
ThemeSharedModule,
|
|
1612
|
-
TreeModule,
|
|
1613
|
-
FileManagementRoutingModule,
|
|
1614
|
-
NgbDropdownModule,
|
|
1615
|
-
UiExtensionsModule,
|
|
1616
|
-
NgxValidateCoreModule,
|
|
1617
|
-
PageModule,
|
|
1618
|
-
],
|
|
1619
|
-
exports: [...exportedComponents],
|
|
1620
|
-
}]
|
|
1621
|
-
}] });
|
|
1622
|
-
|
|
1623
|
-
/*
|
|
1624
|
-
* Public API Surface of file-management
|
|
1625
|
-
*/
|
|
1626
|
-
|
|
1627
|
-
/**
|
|
1628
|
-
* Generated bundle index. Do not edit.
|
|
1629
|
-
*/
|
|
1630
|
-
|
|
1631
|
-
export { BaseModalComponent, CreateFolderModalComponent, CreateFolderModalService, DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_ACTIONS, DEFAULT_FILE_MANAGEMENT_DIRECTORY_CONTENT_DTO_ENTITY_PROPS, DEFAULT_FILE_MANAGEMENT_ENTITY_ACTIONS, DEFAULT_FILE_MANAGEMENT_ENTITY_PROPS, DEFAULT_FILE_MANAGEMENT_TOOLBAR_ACTIONS, DeleteService, DirectoryTreeService, DownloadService, FILE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS, FILE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS, FILE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS, FILE_MANAGEMENT_XSRF_HEADER_NAME, FileManagementBreadcrumbComponent, FileManagementButtonsComponent, FileManagementComponent, FileManagementDirectoryTreeComponent, FileManagementFolderContentComponent, FileManagementFolderFilterComponent, FileManagementFolderPanelComponent, FileManagementGuard, FileManagementInitializer, FileManagementModule, FileManagementRoutingModule, MoveFileModalComponent, MoveFileModalService, MoveService, NavigatorService, ROOT_ID, ROOT_NODE, RenameModalComponent, RenameModalService, UpdateStreamService, UploadService, formatBytes, mapRootIdToEmpty, transformDirectoryContentSize };
|
|
1632
|
-
//# sourceMappingURL=volo-abp.ng.file-management.mjs.map
|