@yuuvis/app-drive 0.7.3
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/README.md +47 -0
- package/esm2022/extensions/index.mjs +2 -0
- package/esm2022/extensions/lib/extensions.module.mjs +35 -0
- package/esm2022/extensions/lib/extensions.service.mjs +44 -0
- package/esm2022/extensions/lib/object-config.defaults.mjs +19 -0
- package/esm2022/extensions/yuuvis-app-drive-extensions.mjs +5 -0
- package/esm2022/index.mjs +5 -0
- package/esm2022/lib/actions/copy-link/copy-link.action.mjs +40 -0
- package/esm2022/lib/actions/index.mjs +7 -0
- package/esm2022/lib/actions/manage-versions/manage-versions.action.mjs +33 -0
- package/esm2022/lib/actions/manage-versions/manage-versions.component.mjs +105 -0
- package/esm2022/lib/actions/paste/paste.action.mjs +41 -0
- package/esm2022/lib/actions/rename/rename.action.mjs +31 -0
- package/esm2022/lib/actions/rename/rename.component.mjs +42 -0
- package/esm2022/lib/actions/rename/rename.validator.mjs +23 -0
- package/esm2022/lib/actions/updateContent/update.content.action.mjs +52 -0
- package/esm2022/lib/components/add-button/add-button-overlay/add-button-overlay.component.mjs +109 -0
- package/esm2022/lib/components/add-button/add-button.component.mjs +39 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +74 -0
- package/esm2022/lib/components/folder-tree/folder-tree.component.mjs +89 -0
- package/esm2022/lib/components/index.mjs +10 -0
- package/esm2022/lib/components/object-name/object-name.component.mjs +60 -0
- package/esm2022/lib/components/overlay/create-folder/create-folder.component.mjs +48 -0
- package/esm2022/lib/components/paste-from-clipboard/paste-from-clipboard.component.mjs +28 -0
- package/esm2022/lib/components/ribbon/ribbon.component.mjs +102 -0
- package/esm2022/lib/components/search-filter/date-range-picker/date-range-picker.component.mjs +38 -0
- package/esm2022/lib/components/search-filter/search-filter.component.mjs +429 -0
- package/esm2022/lib/components/sort/sort.component.mjs +156 -0
- package/esm2022/lib/components/versions-list/tile/tile.component.mjs +60 -0
- package/esm2022/lib/components/versions-list/versions-list.component.mjs +94 -0
- package/esm2022/lib/container/drive/drive.component.mjs +116 -0
- package/esm2022/lib/drive.icons.mjs +16 -0
- package/esm2022/lib/drive.schema.mjs +49 -0
- package/esm2022/lib/lib.routes.mjs +17 -0
- package/esm2022/lib/pages/files/files.component.mjs +377 -0
- package/esm2022/lib/pages/object/object.component.mjs +200 -0
- package/esm2022/lib/services/drive/drive.interface.mjs +14 -0
- package/esm2022/lib/services/drive/drive.service.mjs +437 -0
- package/esm2022/lib/services/drive/resolve-name-conflicts/resolve-name-conflicts.component.mjs +158 -0
- package/esm2022/lib/services/drive/resolve-name-conflicts/resolve-name-conflicts.interface.mjs +2 -0
- package/esm2022/lib/services/drive/versions/versions.mapping.mjs +42 -0
- package/esm2022/lib/services/index.mjs +5 -0
- package/esm2022/lib/services/providers/drive.providers.mjs +10 -0
- package/esm2022/lib/services/resolver/files.resolver.mjs +12 -0
- package/esm2022/lib/services/resolver/index.mjs +3 -0
- package/esm2022/lib/services/resolver/versions.route.resolver.mjs +10 -0
- package/esm2022/lib/services/stored-query/stored-query.data.mjs +25 -0
- package/esm2022/lib/services/stored-query/stored-query.interface.mjs +2 -0
- package/esm2022/lib/services/stored-query/stored-query.service.mjs +41 -0
- package/esm2022/lib/services/tokens/breadcrumb-max-depth.token.mjs +3 -0
- package/esm2022/lib/services/tokens/index.mjs +2 -0
- package/esm2022/yuuvis-app-drive.mjs +5 -0
- package/extensions/README.md +3 -0
- package/extensions/index.d.ts +1 -0
- package/extensions/lib/extensions.module.d.ts +6 -0
- package/extensions/lib/extensions.service.d.ts +7 -0
- package/extensions/lib/object-config.defaults.d.ts +2 -0
- package/fesm2022/yuuvis-app-drive-extensions.mjs +99 -0
- package/fesm2022/yuuvis-app-drive-extensions.mjs.map +1 -0
- package/fesm2022/yuuvis-app-drive.mjs +2945 -0
- package/fesm2022/yuuvis-app-drive.mjs.map +1 -0
- package/index.d.ts +4 -0
- package/lib/actions/copy-link/copy-link.action.d.ts +18 -0
- package/lib/actions/index.d.ts +6 -0
- package/lib/actions/manage-versions/manage-versions.action.d.ts +17 -0
- package/lib/actions/manage-versions/manage-versions.component.d.ts +32 -0
- package/lib/actions/paste/paste.action.d.ts +17 -0
- package/lib/actions/rename/rename.action.d.ts +17 -0
- package/lib/actions/rename/rename.component.d.ts +12 -0
- package/lib/actions/rename/rename.validator.d.ts +5 -0
- package/lib/actions/updateContent/update.content.action.d.ts +18 -0
- package/lib/components/add-button/add-button-overlay/add-button-overlay.component.d.ts +26 -0
- package/lib/components/add-button/add-button.component.d.ts +12 -0
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +25 -0
- package/lib/components/folder-tree/folder-tree.component.d.ts +13 -0
- package/lib/components/index.d.ts +8 -0
- package/lib/components/object-name/object-name.component.d.ts +21 -0
- package/lib/components/overlay/create-folder/create-folder.component.d.ts +12 -0
- package/lib/components/paste-from-clipboard/paste-from-clipboard.component.d.ts +13 -0
- package/lib/components/ribbon/ribbon.component.d.ts +24 -0
- package/lib/components/search-filter/date-range-picker/date-range-picker.component.d.ts +13 -0
- package/lib/components/search-filter/search-filter.component.d.ts +23 -0
- package/lib/components/sort/sort.component.d.ts +31 -0
- package/lib/components/versions-list/tile/tile.component.d.ts +14 -0
- package/lib/components/versions-list/versions-list.component.d.ts +17 -0
- package/lib/container/drive/drive.component.d.ts +36 -0
- package/lib/drive.icons.d.ts +15 -0
- package/lib/drive.schema.d.ts +23 -0
- package/lib/lib.routes.d.ts +2 -0
- package/lib/pages/files/files.component.d.ts +101 -0
- package/lib/pages/object/object.component.d.ts +35 -0
- package/lib/services/drive/drive.interface.d.ts +62 -0
- package/lib/services/drive/drive.service.d.ts +64 -0
- package/lib/services/drive/resolve-name-conflicts/resolve-name-conflicts.component.d.ts +31 -0
- package/lib/services/drive/resolve-name-conflicts/resolve-name-conflicts.interface.d.ts +8 -0
- package/lib/services/drive/versions/versions.mapping.d.ts +2 -0
- package/lib/services/index.d.ts +4 -0
- package/lib/services/providers/drive.providers.d.ts +7 -0
- package/lib/services/resolver/files.resolver.d.ts +2 -0
- package/lib/services/resolver/index.d.ts +2 -0
- package/lib/services/resolver/versions.route.resolver.d.ts +2 -0
- package/lib/services/stored-query/stored-query.data.d.ts +5 -0
- package/lib/services/stored-query/stored-query.interface.d.ts +5 -0
- package/lib/services/stored-query/stored-query.service.d.ts +10 -0
- package/lib/services/tokens/breadcrumb-max-depth.token.d.ts +2 -0
- package/lib/services/tokens/index.d.ts +1 -0
- package/package.json +41 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
3
|
+
import { AbstractContextAction, Action, ActionSupport, SelectionRange } from '@yuuvis/client-framework/actions';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
export declare class CopyLinkAction extends AbstractContextAction implements Action {
|
|
6
|
+
#private;
|
|
7
|
+
translate: TranslateService;
|
|
8
|
+
id: string;
|
|
9
|
+
label: any;
|
|
10
|
+
description: any;
|
|
11
|
+
priority: number;
|
|
12
|
+
icon: string;
|
|
13
|
+
group: string;
|
|
14
|
+
range: SelectionRange;
|
|
15
|
+
supports: ActionSupport;
|
|
16
|
+
isExecutable(selection: DmsObject[]): Observable<boolean>;
|
|
17
|
+
run(selection: DmsObject[]): Observable<boolean>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './paste/paste.action';
|
|
2
|
+
export * from './rename/rename.component';
|
|
3
|
+
export * from './rename/rename.action';
|
|
4
|
+
export * from './copy-link/copy-link.action';
|
|
5
|
+
export * from './updateContent/update.content.action';
|
|
6
|
+
export * from './manage-versions/manage-versions.action';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DmsObject, TranslateService } from '@yuuvis/client-core';
|
|
2
|
+
import { AbstractContextAction, Action, ActionSupport, SelectionRange } from '@yuuvis/client-framework/actions';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
export declare class ManageVersionsAction extends AbstractContextAction implements Action {
|
|
5
|
+
readonly translate: TranslateService;
|
|
6
|
+
private overlay;
|
|
7
|
+
id: string;
|
|
8
|
+
label: any;
|
|
9
|
+
description: any;
|
|
10
|
+
priority: number;
|
|
11
|
+
icon: string;
|
|
12
|
+
group: string;
|
|
13
|
+
range: SelectionRange;
|
|
14
|
+
supports: ActionSupport;
|
|
15
|
+
isExecutable(selection: DmsObject[]): Observable<boolean>;
|
|
16
|
+
run(selection: DmsObject[]): Observable<boolean>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { DmsObject, FlavoredDmsObject } from '@yuuvis/client-core';
|
|
3
|
+
import { YvcOverlayRef } from '@yuuvis/components/overlay';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ManageVersionsComponent implements OnInit, OnDestroy {
|
|
6
|
+
#private;
|
|
7
|
+
readonly overlayRef: YvcOverlayRef<any, any>;
|
|
8
|
+
versionsList: import("@ngrx/signals/src/deep-signal").Signal<import("@yuuvis/client-framework/tile-list").TileData[]>;
|
|
9
|
+
selectedVersion: import("@ngrx/signals/src/deep-signal").Signal<DmsObject[] | null>;
|
|
10
|
+
selectedDmsObject: import("@ngrx/signals/src/deep-signal").Signal<DmsObject | null>;
|
|
11
|
+
isLoading: import("@ngrx/signals/src/deep-signal").Signal<boolean>;
|
|
12
|
+
item: DmsObject;
|
|
13
|
+
layoutSettingIdBase: string;
|
|
14
|
+
dmsObject: import("@angular/core").Signal<{
|
|
15
|
+
id: string | null;
|
|
16
|
+
name: string;
|
|
17
|
+
}>;
|
|
18
|
+
id: import("@angular/core").Signal<string | null>;
|
|
19
|
+
flavoredDmsObject: import("@angular/core").Signal<FlavoredDmsObject | undefined>;
|
|
20
|
+
disabledRestore: import("@angular/core").Signal<boolean>;
|
|
21
|
+
icons: {
|
|
22
|
+
refresh: any;
|
|
23
|
+
close: string;
|
|
24
|
+
};
|
|
25
|
+
close(): void;
|
|
26
|
+
reloadList(): void;
|
|
27
|
+
setNewVersion(): void;
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ManageVersionsComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManageVersionsComponent, "ymd-manage-versions", never, {}, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DmsObject, TranslateService } from '@yuuvis/client-core';
|
|
2
|
+
import { AbstractContextAction, Action, ActionSupport, SelectionRange } from '@yuuvis/client-framework/actions';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
export declare class PasteAction extends AbstractContextAction implements Action {
|
|
5
|
+
#private;
|
|
6
|
+
readonly translate: TranslateService;
|
|
7
|
+
id: string;
|
|
8
|
+
label: any;
|
|
9
|
+
description: any;
|
|
10
|
+
priority: number;
|
|
11
|
+
icon: string;
|
|
12
|
+
group: string;
|
|
13
|
+
range: SelectionRange;
|
|
14
|
+
supports: ActionSupport;
|
|
15
|
+
isExecutable(items: DmsObject[]): Observable<boolean>;
|
|
16
|
+
run(items: DmsObject[]): Observable<boolean>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
2
|
+
import { Action, ActionSupport, SelectionRange } from '@yuuvis/client-framework/actions';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
export declare class RenameAction implements Action {
|
|
5
|
+
private translate;
|
|
6
|
+
private overlay;
|
|
7
|
+
id: string;
|
|
8
|
+
label: any;
|
|
9
|
+
description: any;
|
|
10
|
+
priority: number;
|
|
11
|
+
icon: string;
|
|
12
|
+
group: string;
|
|
13
|
+
range: SelectionRange;
|
|
14
|
+
supports: ActionSupport;
|
|
15
|
+
isExecutable(selection: DmsObject[]): Observable<boolean>;
|
|
16
|
+
run(selection: DmsObject[]): Observable<boolean>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
2
|
+
import { YvcOverlayRef } from '@yuuvis/components/overlay';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RenameComponent {
|
|
5
|
+
#private;
|
|
6
|
+
readonly overlayRef: YvcOverlayRef<any, any>;
|
|
7
|
+
item: DmsObject;
|
|
8
|
+
busy: import("@angular/core").WritableSignal<boolean>;
|
|
9
|
+
rename(name: string): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RenameComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RenameComponent, "ymd-rename", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
3
|
+
import { AbstractContextAction, Action, ActionSupport, SelectionRange } from '@yuuvis/client-framework/actions';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
export declare class UpdateContentAction extends AbstractContextAction implements Action {
|
|
6
|
+
#private;
|
|
7
|
+
readonly translate: TranslateService;
|
|
8
|
+
id: string;
|
|
9
|
+
label: any;
|
|
10
|
+
description: any;
|
|
11
|
+
priority: number;
|
|
12
|
+
icon: string;
|
|
13
|
+
group: string;
|
|
14
|
+
range: SelectionRange;
|
|
15
|
+
supports: ActionSupport;
|
|
16
|
+
isExecutable(selection: DmsObject[]): Observable<boolean>;
|
|
17
|
+
run(selection: DmsObject[]): Observable<boolean>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ObjectCreateFlavor } from '@yuuvis/client-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AddButtonOverlayComponent {
|
|
5
|
+
#private;
|
|
6
|
+
private translate;
|
|
7
|
+
fileInput: import("@angular/core").Signal<ElementRef<any>>;
|
|
8
|
+
icons: {
|
|
9
|
+
folder: string;
|
|
10
|
+
file: string;
|
|
11
|
+
};
|
|
12
|
+
defaultItems: {
|
|
13
|
+
icon: string;
|
|
14
|
+
label: any;
|
|
15
|
+
}[];
|
|
16
|
+
flavorListItems: {
|
|
17
|
+
label: string;
|
|
18
|
+
flavor: ObjectCreateFlavor;
|
|
19
|
+
}[];
|
|
20
|
+
onListItemSelect(idx: number[]): void;
|
|
21
|
+
startCreateDocument(): void;
|
|
22
|
+
startCreateFolder(): void;
|
|
23
|
+
createDocument(inputEl: HTMLInputElement): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddButtonOverlayComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddButtonOverlayComponent, "ymd-add-button-overlay", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AddButtonComponent {
|
|
3
|
+
private overlay;
|
|
4
|
+
private elRef;
|
|
5
|
+
private _oRef?;
|
|
6
|
+
popoverOpen: boolean;
|
|
7
|
+
icon: string;
|
|
8
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
open(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddButtonComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddButtonComponent, "ymd-add-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { ListItemDirective } from '@yuuvis/client-framework/list';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BreadcrumbComponent implements OnDestroy {
|
|
5
|
+
#private;
|
|
6
|
+
private route;
|
|
7
|
+
onBlur(): void;
|
|
8
|
+
onKeydown(event: KeyboardEvent): void;
|
|
9
|
+
homeIcon: string;
|
|
10
|
+
breadcrumb: import("@ngrx/signals").DeepSignal<{
|
|
11
|
+
loading: boolean;
|
|
12
|
+
partial: boolean;
|
|
13
|
+
items: import("../../services").BreadCrumb[];
|
|
14
|
+
folder: {
|
|
15
|
+
folderId: string | null;
|
|
16
|
+
entry: import("../../services").BreadCrumb[];
|
|
17
|
+
loading: boolean;
|
|
18
|
+
} | null;
|
|
19
|
+
}>;
|
|
20
|
+
items: import("@angular/core").Signal<readonly ListItemDirective[]>;
|
|
21
|
+
navigation(id: string, event?: MouseEvent | Event): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "ymd-breadcrumb", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Tree, TreeComponent, TreeNode } from '@yuuvis/client-framework/tree';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FolderTreeComponent {
|
|
4
|
+
private translate;
|
|
5
|
+
private router;
|
|
6
|
+
private route;
|
|
7
|
+
treeCmp: import("@angular/core").Signal<TreeComponent>;
|
|
8
|
+
folderTree: Tree;
|
|
9
|
+
onFocusLeave(): void;
|
|
10
|
+
nodeSelected(nodes: TreeNode[]): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FolderTreeComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FolderTreeComponent, "ymd-folder-tree", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './add-button/add-button.component';
|
|
2
|
+
export * from './sort/sort.component';
|
|
3
|
+
export * from './breadcrumb/breadcrumb.component';
|
|
4
|
+
export * from './folder-tree/folder-tree.component';
|
|
5
|
+
export * from './paste-from-clipboard/paste-from-clipboard.component';
|
|
6
|
+
export * from './overlay/create-folder/create-folder.component';
|
|
7
|
+
export * from './paste-from-clipboard/paste-from-clipboard.component';
|
|
8
|
+
export * from './versions-list/versions-list.component';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ObjectNameComponent {
|
|
5
|
+
#private;
|
|
6
|
+
busy: boolean;
|
|
7
|
+
error?: string;
|
|
8
|
+
headline: import("@angular/core").InputSignal<string | undefined>;
|
|
9
|
+
submitButton: import("@angular/core").InputSignal<string>;
|
|
10
|
+
cancelButton: import("@angular/core").InputSignal<string>;
|
|
11
|
+
isFile: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
isRename: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
item: import("@angular/core").InputSignal<DmsObject | undefined>;
|
|
14
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
nameChange: import("@angular/core").OutputEmitterRef<string>;
|
|
16
|
+
onClose: import("@angular/core").OutputEmitterRef<void>;
|
|
17
|
+
nameForm: FormGroup;
|
|
18
|
+
submitForm(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectNameComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectNameComponent, "ymd-object-name", never, { "headline": { "alias": "headline"; "required": false; "isSignal": true; }; "submitButton": { "alias": "submitButton"; "required": true; "isSignal": true; }; "cancelButton": { "alias": "cancelButton"; "required": false; "isSignal": true; }; "isFile": { "alias": "isFile"; "required": false; "isSignal": true; }; "isRename": { "alias": "isRename"; "required": false; "isSignal": true; }; "item": { "alias": "item"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "nameChange": "nameChange"; "onClose": "onClose"; }, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CreateFolderComponent {
|
|
3
|
+
private drive;
|
|
4
|
+
private translate;
|
|
5
|
+
private parentModalRef;
|
|
6
|
+
busy: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
+
message?: string;
|
|
8
|
+
createFolder(name: string): void;
|
|
9
|
+
close(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateFolderComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateFolderComponent, "ymd-create-folder", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class PasteFromClipboardComponent {
|
|
3
|
+
private overlayRef;
|
|
4
|
+
private drive;
|
|
5
|
+
data: {
|
|
6
|
+
parentId: string;
|
|
7
|
+
files: File[];
|
|
8
|
+
};
|
|
9
|
+
uploadFromClipboard(): void;
|
|
10
|
+
cancel(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasteFromClipboardComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PasteFromClipboardComponent, "ymd-paste-from-clipboard", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
3
|
+
import { Action } from '@yuuvis/client-framework/actions';
|
|
4
|
+
import { MenuItem } from '@yuuvis/components/overflow-menu';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RibbonComponent {
|
|
7
|
+
#private;
|
|
8
|
+
primarySlot: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
9
|
+
secondarySlot: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
10
|
+
private _defaultMenuItems;
|
|
11
|
+
clipboardBucket: string;
|
|
12
|
+
busy: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
enableClipboard: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
menuItems: MenuItem[];
|
|
15
|
+
objects: import("@angular/core").InputSignal<DmsObject[] | undefined>;
|
|
16
|
+
excludeActions: import("@angular/core").InputSignal<string[] | undefined>;
|
|
17
|
+
constructor();
|
|
18
|
+
executeAction(a: Action): void;
|
|
19
|
+
onClipboardPaste(): void;
|
|
20
|
+
private _isAction;
|
|
21
|
+
private _setupMenuItems;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RibbonComponent, "ymd-ribbon", never, { "busy": { "alias": "busy"; "required": false; "isSignal": true; }; "enableClipboard": { "alias": "enableClipboard"; "required": false; "isSignal": true; }; "objects": { "alias": "objects"; "required": false; "isSignal": true; }; "excludeActions": { "alias": "excludeActions"; "required": false; "isSignal": true; }; }, {}, ["primarySlot", "secondarySlot"], never, true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RangeValue } from '@yuuvis/client-core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DateRangePickerComponent {
|
|
4
|
+
#private;
|
|
5
|
+
form: import("@angular/forms").FormGroup<{
|
|
6
|
+
range: import("@angular/forms").FormControl<RangeValue | null | undefined>;
|
|
7
|
+
}>;
|
|
8
|
+
range: import("@angular/core").InputSignal<RangeValue | undefined>;
|
|
9
|
+
rangeChange: import("@angular/core").OutputEmitterRef<RangeValue | undefined>;
|
|
10
|
+
apply(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "ymd-date-range-picker", never, { "range": { "alias": "range"; "required": false; "isSignal": true; }; }, { "rangeChange": "rangeChange"; }, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SearchQuery } from '@yuuvis/client-core';
|
|
2
|
+
import { DropdownOption } from '@yuuvis/components/dropdown';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SearchFilterComponent {
|
|
5
|
+
#private;
|
|
6
|
+
private translate;
|
|
7
|
+
ANY_OPTION: string;
|
|
8
|
+
typeOptions: import("@angular/core").WritableSignal<DropdownOption[]>;
|
|
9
|
+
dateOptions: import("@angular/core").WritableSignal<DropdownOption[]>;
|
|
10
|
+
sizeOptions: import("@angular/core").WritableSignal<DropdownOption[]>;
|
|
11
|
+
query: import("@angular/core").InputSignal<SearchQuery | null>;
|
|
12
|
+
queryChange: import("@angular/core").OutputEmitterRef<SearchQuery>;
|
|
13
|
+
filtersActive: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
filterForm: import("@angular/forms").FormGroup<{
|
|
15
|
+
type: import("@angular/forms").FormControl<string>;
|
|
16
|
+
size: import("@angular/forms").FormControl<string>;
|
|
17
|
+
created: import("@angular/forms").FormControl<string>;
|
|
18
|
+
}>;
|
|
19
|
+
constructor();
|
|
20
|
+
reset(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchFilterComponent, "ymd-search-filter", never, { "query": { "alias": "query"; "required": false; "isSignal": true; }; }, { "queryChange": "queryChange"; }, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { ListItemDirective } from '@yuuvis/client-framework/list';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
interface SortOption {
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
type: 'sort' | 'order';
|
|
9
|
+
}
|
|
10
|
+
export declare class SortComponent implements OnInit {
|
|
11
|
+
#private;
|
|
12
|
+
onBlur(): void;
|
|
13
|
+
onKeydown(event: KeyboardEvent): void;
|
|
14
|
+
sortIcon: string;
|
|
15
|
+
items: import("@angular/core").Signal<readonly ListItemDirective[]>;
|
|
16
|
+
sortOptions: import("@angular/core").WritableSignal<SortOption[]>;
|
|
17
|
+
orderOptions: import("@angular/core").WritableSignal<SortOption[]>;
|
|
18
|
+
sortFields: import("@angular/core").Signal<SortOption[]>;
|
|
19
|
+
sortForm: FormGroup;
|
|
20
|
+
sortChanged: import("@angular/core").OutputEmitterRef<{
|
|
21
|
+
sort: string;
|
|
22
|
+
order: string;
|
|
23
|
+
}>;
|
|
24
|
+
selectSortByIndex(idx: number): void;
|
|
25
|
+
selectSort(type: string, value: string): void;
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
onSelectionChange(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortComponent, "ymd-sort", never, {}, { "sortChanged": "sortChanged"; }, never, never, true, never>;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TileData } from '@yuuvis/client-framework/tile-list';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class VersionTileComponent {
|
|
4
|
+
tile: import("@angular/core").InputSignal<TileData>;
|
|
5
|
+
rendererInputs: import("@angular/core").Signal<{
|
|
6
|
+
icon: import("@yuuvis/client-core").ResolvedObjectConfigItem | undefined;
|
|
7
|
+
version: unknown;
|
|
8
|
+
date: Date;
|
|
9
|
+
modified: unknown;
|
|
10
|
+
}>;
|
|
11
|
+
selectedVersion: import("@angular/core").OutputEmitterRef<any>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VersionTileComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VersionTileComponent, "ymd-version-tile", never, { "tile": { "alias": "tile"; "required": true; "isSignal": true; }; }, { "selectedVersion": "selectedVersion"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DmsObject } from '@yuuvis/client-core';
|
|
2
|
+
import { ListItemDirective } from '@yuuvis/client-framework/list';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class VersionsListComponent {
|
|
5
|
+
#private;
|
|
6
|
+
versionsList: import("@ngrx/signals/src/deep-signal").Signal<import("@yuuvis/client-framework/tile-list").TileData[]>;
|
|
7
|
+
selectedVersion: import("@ngrx/signals/src/deep-signal").Signal<DmsObject[] | null>;
|
|
8
|
+
selection: import("@angular/core").Signal<number[]>;
|
|
9
|
+
onBlur(): void;
|
|
10
|
+
onKeydown(event: KeyboardEvent): void;
|
|
11
|
+
listItems: import("@angular/core").Signal<readonly ListItemDirective[]>;
|
|
12
|
+
selectedVersionAction(event: any): void;
|
|
13
|
+
selectedVersionByIndex(index: number): void;
|
|
14
|
+
setSelectedVersion(version: any): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VersionsListComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VersionsListComponent, "ymd-versions-list", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, Signal } from '@angular/core';
|
|
2
|
+
import { SearchQuery, UploadResult } from '@yuuvis/client-core';
|
|
3
|
+
import { MenuItem } from '@yuuvis/components/overflow-menu';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DriveFrameComponent implements OnInit, OnDestroy {
|
|
6
|
+
#private;
|
|
7
|
+
query: Signal<SearchQuery | null>;
|
|
8
|
+
currentFolder: Signal<string | null>;
|
|
9
|
+
busy: import("@ngrx/signals/src/deep-signal").Signal<boolean>;
|
|
10
|
+
appName: string;
|
|
11
|
+
appIcon: string;
|
|
12
|
+
icons: {
|
|
13
|
+
search: string;
|
|
14
|
+
add: any;
|
|
15
|
+
file: string;
|
|
16
|
+
folder: string;
|
|
17
|
+
folderx: string;
|
|
18
|
+
favorite: string;
|
|
19
|
+
settings: string;
|
|
20
|
+
sort: string;
|
|
21
|
+
home: string;
|
|
22
|
+
toggleLeft: string;
|
|
23
|
+
toggleRight: string;
|
|
24
|
+
clipboard: string;
|
|
25
|
+
addCircle: string;
|
|
26
|
+
createFolder: string;
|
|
27
|
+
createFile: string;
|
|
28
|
+
};
|
|
29
|
+
headerNavItems: MenuItem[];
|
|
30
|
+
constructor();
|
|
31
|
+
onUploadProgressResultItemClick(uploadRes: UploadResult): void;
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DriveFrameComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DriveFrameComponent, "ymd-drive", never, {}, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const APP_DRIVE_ICONS: {
|
|
2
|
+
file: string;
|
|
3
|
+
folder: string;
|
|
4
|
+
folderx: string;
|
|
5
|
+
favorite: string;
|
|
6
|
+
settings: string;
|
|
7
|
+
sort: string;
|
|
8
|
+
home: string;
|
|
9
|
+
toggleLeft: string;
|
|
10
|
+
toggleRight: string;
|
|
11
|
+
clipboard: string;
|
|
12
|
+
addCircle: string;
|
|
13
|
+
createFolder: string;
|
|
14
|
+
createFile: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { VirtualObjectType } from '@yuuvis/client-core';
|
|
2
|
+
import { AppSchema } from '@yuuvis/client-shell-core';
|
|
3
|
+
import { ActionContext } from '@yuuvis/client-framework/actions';
|
|
4
|
+
export declare const FS_PROPERTIES: {
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const FS_SOTS: {
|
|
8
|
+
object: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const APP_PREFIX = "appDrive:";
|
|
11
|
+
export declare const APP_ID = "io.yuuvis.app.drive";
|
|
12
|
+
export declare const APP_SCHEMA: AppSchema<{
|
|
13
|
+
folder: VirtualObjectType;
|
|
14
|
+
file: VirtualObjectType;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const APP_ACTIONS: {
|
|
17
|
+
rename: string;
|
|
18
|
+
paste: string;
|
|
19
|
+
copyLink: string;
|
|
20
|
+
contentUpdate: string;
|
|
21
|
+
manageVersions: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const ACTION_CONTEXT: ActionContext;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy, Signal } from '@angular/core';
|
|
2
|
+
import { ConfigTypeOption, DmsObject, SearchQuery } from '@yuuvis/client-core';
|
|
3
|
+
import { Action } from '@yuuvis/client-framework/actions';
|
|
4
|
+
import { TileData, TileListComponent, TileListConfigOptions, TileListHighlight } from '@yuuvis/client-framework/tile-list';
|
|
5
|
+
import { ObjectFlavor } from '@yuuvis/client-shell-core';
|
|
6
|
+
import { SplitViewComponent } from '@yuuvis/components/split-view';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
|
+
import { DriveFolderId } from '../../services/drive/drive.interface';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FilesPageComponent implements AfterViewInit, OnDestroy {
|
|
11
|
+
#private;
|
|
12
|
+
tileList: Signal<TileListComponent | undefined>;
|
|
13
|
+
private shellService;
|
|
14
|
+
private dmsService;
|
|
15
|
+
private drive;
|
|
16
|
+
private route;
|
|
17
|
+
private router;
|
|
18
|
+
private translate;
|
|
19
|
+
private storedQueryService;
|
|
20
|
+
private clipboard;
|
|
21
|
+
private actionsService;
|
|
22
|
+
readonly ERROR_CODE: {
|
|
23
|
+
NOT_FOUND: string;
|
|
24
|
+
INVALID_ID: string;
|
|
25
|
+
};
|
|
26
|
+
objectConfigBucket: string;
|
|
27
|
+
splitViewCmp: Signal<SplitViewComponent>;
|
|
28
|
+
selected: import("@angular/core").WritableSignal<DmsObject | undefined>;
|
|
29
|
+
fileDropSummaryDisabled: Signal<boolean>;
|
|
30
|
+
disableCreate: boolean;
|
|
31
|
+
actions: import("@ngrx/signals/src/deep-signal").Signal<Action[]>;
|
|
32
|
+
selection: import("@ngrx/signals/src/deep-signal").Signal<DmsObject[]>;
|
|
33
|
+
busy: import("@ngrx/signals/src/deep-signal").Signal<boolean>;
|
|
34
|
+
flavorChips: ObjectFlavor[];
|
|
35
|
+
appliedFlavor?: ObjectFlavor;
|
|
36
|
+
selectionActions: Signal<{
|
|
37
|
+
selection: DmsObject[];
|
|
38
|
+
actions: Action[];
|
|
39
|
+
}>;
|
|
40
|
+
emptyMode: import("@angular/core").WritableSignal<DriveFolderId | null>;
|
|
41
|
+
error: import("@angular/core").WritableSignal<string | undefined>;
|
|
42
|
+
configTypeOptions: Record<string, ConfigTypeOption>;
|
|
43
|
+
searchFocused: boolean;
|
|
44
|
+
currentFolderID?: string;
|
|
45
|
+
currentFolder?: DmsObject;
|
|
46
|
+
enableDetails: import("@angular/core").WritableSignal<boolean>;
|
|
47
|
+
enableTree: import("@angular/core").WritableSignal<boolean>;
|
|
48
|
+
tileConfigBucketLabel: any;
|
|
49
|
+
smallScreenLayout: import("@angular/core").WritableSignal<boolean>;
|
|
50
|
+
sortOptionsAvailable: import("@angular/core").WritableSignal<boolean>;
|
|
51
|
+
id: import("@angular/core").InputSignal<string | null>;
|
|
52
|
+
highlightStyles$: Observable<TileListHighlight[]>;
|
|
53
|
+
tileListOptions: TileListConfigOptions;
|
|
54
|
+
query: import("@ngrx/signals/src/deep-signal").Signal<SearchQuery | null>;
|
|
55
|
+
queryTitle: import("@ngrx/signals/src/deep-signal").Signal<string | null>;
|
|
56
|
+
icons: {
|
|
57
|
+
sort: string;
|
|
58
|
+
back: any;
|
|
59
|
+
attention: any;
|
|
60
|
+
refresh: any;
|
|
61
|
+
clear: string;
|
|
62
|
+
file: string;
|
|
63
|
+
folder: string;
|
|
64
|
+
folderx: string;
|
|
65
|
+
favorite: string;
|
|
66
|
+
settings: string;
|
|
67
|
+
home: string;
|
|
68
|
+
toggleLeft: string;
|
|
69
|
+
toggleRight: string;
|
|
70
|
+
clipboard: string;
|
|
71
|
+
addCircle: string;
|
|
72
|
+
createFolder: string;
|
|
73
|
+
createFile: string;
|
|
74
|
+
};
|
|
75
|
+
constructor();
|
|
76
|
+
onFilterQueryChange(q: SearchQuery): void;
|
|
77
|
+
onDelete(): void;
|
|
78
|
+
private _setFolderQuery;
|
|
79
|
+
onContextmenu({ event }: {
|
|
80
|
+
event: MouseEvent | PointerEvent;
|
|
81
|
+
}): void;
|
|
82
|
+
onFileDrop(files: File[]): void;
|
|
83
|
+
onFileUpdateDrop(file: File[]): void;
|
|
84
|
+
itemFocused(tile: TileData): void;
|
|
85
|
+
itemClicked(tile: TileData): void;
|
|
86
|
+
onCopy(tiles: TileData[]): void;
|
|
87
|
+
onCut(tiles: TileData[]): void;
|
|
88
|
+
onQuerySubmit(q: SearchQuery): void;
|
|
89
|
+
selectionChanged(tiles: TileData[]): void;
|
|
90
|
+
itemDoubleClicked(tile: TileData): void;
|
|
91
|
+
loadDetails(id: string): void;
|
|
92
|
+
clearSelection(): void;
|
|
93
|
+
openParent(): void;
|
|
94
|
+
setBusy(busy: boolean): void;
|
|
95
|
+
refresh(): void;
|
|
96
|
+
onLayoutSettingsChange(e: any): void;
|
|
97
|
+
ngAfterViewInit(): void;
|
|
98
|
+
ngOnDestroy(): void;
|
|
99
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilesPageComponent, never>;
|
|
100
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilesPageComponent, "ymd-files", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
101
|
+
}
|