@yuuvis/app-drive 3.0.0 → 3.1.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/fesm2022/yuuvis-app-drive.mjs +168 -45
- package/fesm2022/yuuvis-app-drive.mjs.map +1 -1
- package/lib/actions/edit/edit.d.ts +21 -0
- package/lib/actions/index.d.ts +2 -0
- package/lib/actions/open-folder/open-folder-link.action.d.ts +21 -0
- package/lib/assets/i18n/de.json +8 -5
- package/lib/assets/i18n/en.json +6 -3
- package/lib/drive.schema.d.ts +2 -0
- package/lib/pages/files/files.component.d.ts +10 -0
- package/package.json +1 -1
- package/yuv-manifest.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
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 EditAction extends AbstractContextAction implements Action {
|
|
6
|
+
#private;
|
|
7
|
+
translate: TranslateService;
|
|
8
|
+
private drive;
|
|
9
|
+
private route;
|
|
10
|
+
private router;
|
|
11
|
+
id: string;
|
|
12
|
+
label: any;
|
|
13
|
+
description: any;
|
|
14
|
+
priority: number;
|
|
15
|
+
icon: string;
|
|
16
|
+
group: string;
|
|
17
|
+
range: SelectionRange;
|
|
18
|
+
supports: ActionSupport;
|
|
19
|
+
isExecutable(selection: DmsObject[]): Observable<boolean>;
|
|
20
|
+
run(selection: DmsObject[]): Observable<boolean>;
|
|
21
|
+
}
|
package/lib/actions/index.d.ts
CHANGED
|
@@ -3,4 +3,6 @@ export * from './rename/rename.component';
|
|
|
3
3
|
export * from './rename/rename.action';
|
|
4
4
|
export * from './copy-link/copy-link.action';
|
|
5
5
|
export * from './updateContent/update.content.action';
|
|
6
|
+
export * from './open-folder/open-folder-link.action';
|
|
6
7
|
export * from './manage-versions/manage-versions.action';
|
|
8
|
+
export * from './edit/edit';
|
|
@@ -0,0 +1,21 @@
|
|
|
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 OpenFolderAction extends AbstractContextAction implements Action {
|
|
6
|
+
#private;
|
|
7
|
+
translate: TranslateService;
|
|
8
|
+
private drive;
|
|
9
|
+
private route;
|
|
10
|
+
private router;
|
|
11
|
+
id: string;
|
|
12
|
+
label: any;
|
|
13
|
+
description: any;
|
|
14
|
+
priority: number;
|
|
15
|
+
icon: string;
|
|
16
|
+
group: string;
|
|
17
|
+
range: SelectionRange;
|
|
18
|
+
supports: ActionSupport;
|
|
19
|
+
isExecutable(selection: DmsObject[]): Observable<boolean>;
|
|
20
|
+
run(selection: DmsObject[]): Observable<boolean>;
|
|
21
|
+
}
|
package/lib/assets/i18n/de.json
CHANGED
|
@@ -4,16 +4,19 @@
|
|
|
4
4
|
"ymsq.ymd.recent.added.by.me": "Zuletzt von mir hinzugefügt",
|
|
5
5
|
"ymsq.ymd.recent.modified.by.me": "Zuletzt von mir bearbeitet",
|
|
6
6
|
"yuv.app.drive.action.copy-link": "Link kopieren",
|
|
7
|
-
"yuv.app.drive.action.copy-link.description": "",
|
|
8
|
-
"yuv.app.drive.action.copy-link.success": "Link
|
|
7
|
+
"yuv.app.drive.action.copy-link.description": "Kopiert den Link in die Zwischenablage.",
|
|
8
|
+
"yuv.app.drive.action.copy-link.success": "Link erfolgreich in die Zwischenablage kopiert",
|
|
9
9
|
"yuv.app.drive.action.manage-versions.description": "Verwalten Sie die Versionen dieses Dokuments.",
|
|
10
|
+
"yuv.object-summary.action.open.folder": "Öffnen",
|
|
11
|
+
"yuv.app.drive.action.open.folder.description": "Öffnet den Ordner.",
|
|
10
12
|
"yuv.app.drive.action.manage-versions.label": "Versionen verwalten",
|
|
11
13
|
"yuv.app.drive.action.new.version": "Dokumentdatei ersetzen",
|
|
12
14
|
"yuv.app.drive.action.new.version.description": "Ersetzt die Dokumentdatei und fügt sie als neue Version hinzu.",
|
|
13
|
-
"yuv.app.drive.action.paste.description": "",
|
|
15
|
+
"yuv.app.drive.action.paste.description": "Fügt das kopierte oder ausgeschnittene Objekt im selektierten Ordner ein.",
|
|
16
|
+
"yuv.app.drive.action.edit.description": "Öffnet die Bearbeitungsansicht für das Objekt.",
|
|
14
17
|
"yuv.app.drive.action.paste.label": "Einfügen",
|
|
15
18
|
"yuv.app.drive.action.rename.cancel": "Abbrechen",
|
|
16
|
-
"yuv.app.drive.action.rename.description": "",
|
|
19
|
+
"yuv.app.drive.action.rename.description": "Benennt das Objekt um.",
|
|
17
20
|
"yuv.app.drive.action.rename.headline": "Umbenennen",
|
|
18
21
|
"yuv.app.drive.action.rename.label": "Umbenennen",
|
|
19
22
|
"yuv.app.drive.action.rename.submit": "Umbenennen",
|
|
@@ -90,7 +93,7 @@
|
|
|
90
93
|
"yuv.app.drive.search.meta.search-token.term": "nach dem Suchbegriff '{{value}}'",
|
|
91
94
|
"yuv.app.drive.search.meta.search-token.where": "in '{{value}}'",
|
|
92
95
|
"yuv.app.drive.search.tooltip.extended-search": "Erweiterte Suche",
|
|
93
|
-
"yuv.app.drive.tile-config.bucket": "yuuvis
|
|
96
|
+
"yuv.app.drive.tile-config.bucket": "yuuvis explorer",
|
|
94
97
|
"yuv.app.drive.unselected.details": "Wählen Sie ein einzelnes Element aus, um weitere Informationen zu erhalten.",
|
|
95
98
|
"yuv.app.drive.versions.desctiption.label": "Die Version {{version}} wurde am {{date}} von {{modifieer}} erstellt.",
|
|
96
99
|
"yuv.app.drive.versions.header.label": "Versionen verwalten",
|
package/lib/assets/i18n/en.json
CHANGED
|
@@ -4,16 +4,19 @@
|
|
|
4
4
|
"ymsq.ymd.recent.added.by.me": "Last added by me",
|
|
5
5
|
"ymsq.ymd.recent.modified.by.me": "Last edited by me",
|
|
6
6
|
"yuv.app.drive.action.copy-link": "Copy link",
|
|
7
|
-
"yuv.app.drive.action.copy-link.description": "",
|
|
7
|
+
"yuv.app.drive.action.copy-link.description": "Copies the link to the clipboard.",
|
|
8
8
|
"yuv.app.drive.action.copy-link.success": "Link was copied to the clipboard.",
|
|
9
9
|
"yuv.app.drive.action.manage-versions.description": "Manage the versions of this document.",
|
|
10
10
|
"yuv.app.drive.action.manage-versions.label": "Manage versions",
|
|
11
|
+
"yuv.object-summary.action.open.folder": "Open",
|
|
12
|
+
"yuv.app.drive.action.open.folder.description": "Opens the folder",
|
|
11
13
|
"yuv.app.drive.action.new.version": "Replace document file",
|
|
12
14
|
"yuv.app.drive.action.new.version.description": "Replaces the document file and adds it as a new version.",
|
|
13
|
-
"yuv.app.drive.action.paste.description": "",
|
|
15
|
+
"yuv.app.drive.action.paste.description": "Inserts the cut or copied object into the selected folder.",
|
|
16
|
+
"yuv.app.drive.action.edit.description": "Edits object.",
|
|
14
17
|
"yuv.app.drive.action.paste.label": "Paste",
|
|
15
18
|
"yuv.app.drive.action.rename.cancel": "Cancel",
|
|
16
|
-
"yuv.app.drive.action.rename.description": "",
|
|
19
|
+
"yuv.app.drive.action.rename.description": "Renames the selected object.",
|
|
17
20
|
"yuv.app.drive.action.rename.headline": "Rename",
|
|
18
21
|
"yuv.app.drive.action.rename.label": "Rename",
|
|
19
22
|
"yuv.app.drive.action.rename.submit": "Rename",
|
package/lib/drive.schema.d.ts
CHANGED
|
@@ -8,6 +8,11 @@ import { ObjectFlavor } from '@yuuvis/client-shell-core';
|
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
import { DriveFolderId } from '../../services/drive/drive.interface';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
+
interface NodeItem {
|
|
12
|
+
id: number;
|
|
13
|
+
route: string;
|
|
14
|
+
name: string;
|
|
15
|
+
}
|
|
11
16
|
export declare class FilesPageComponent implements OnDestroy {
|
|
12
17
|
#private;
|
|
13
18
|
tileList: Signal<TileListComponent | undefined>;
|
|
@@ -60,6 +65,10 @@ export declare class FilesPageComponent implements OnDestroy {
|
|
|
60
65
|
extendedSearch: import("@angular/core").WritableSignal<boolean>;
|
|
61
66
|
id: import("@angular/core").InputSignal<string | null>;
|
|
62
67
|
highlightStyles$: Observable<TileListHighlight[]>;
|
|
68
|
+
dataSource: NodeItem[];
|
|
69
|
+
currentPage: string;
|
|
70
|
+
itemSelected(idx: number[]): void;
|
|
71
|
+
private routeChange;
|
|
63
72
|
tileListOptions: TileListConfigOptions;
|
|
64
73
|
query: Signal<SearchQuery | null>;
|
|
65
74
|
queryTitle: Signal<string | null>;
|
|
@@ -86,3 +95,4 @@ export declare class FilesPageComponent implements OnDestroy {
|
|
|
86
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilesPageComponent, never>;
|
|
87
96
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilesPageComponent, "ymd-files", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
88
97
|
}
|
|
98
|
+
export {};
|
package/package.json
CHANGED