@yuuvis/client-framework 2.1.0 → 2.1.2
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-client-framework-forms.mjs +18 -35
- package/fesm2022/yuuvis-client-framework-forms.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-details.mjs +228 -195
- package/fesm2022/yuuvis-client-framework-object-details.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-tile-list.mjs +41 -21
- package/fesm2022/yuuvis-client-framework-tile-list.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-upload-progress.mjs +18 -2
- package/fesm2022/yuuvis-client-framework-upload-progress.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-widget-grid.mjs +2 -3
- package/fesm2022/yuuvis-client-framework-widget-grid.mjs.map +1 -1
- package/forms/lib/elements/datetime-range/datetime-range.component.d.ts +4 -4
- package/forms/lib/elements/range-select-date/date-range-picker/date-range-picker.component.d.ts +3 -3
- package/lib/assets/i18n/de.json +2 -2
- package/lib/assets/i18n/en.json +2 -2
- package/master-details/index.d.ts +1 -0
- package/object-details/index.d.ts +3 -0
- package/object-details/lib/object-details-header/object-details-header.component.d.ts +26 -0
- package/object-details/lib/object-details-shell/object-details-shell.component.d.ts +17 -43
- package/object-details/lib/object-details-shell/object-details-shell.service.d.ts +13 -0
- package/object-details/lib/object-details.component.d.ts +11 -17
- package/object-details/lib/object-details.module.d.ts +12 -0
- package/package.json +4 -4
- package/tile-list/lib/tile-config/tile-config-tile/tile-config-tile.component.d.ts +3 -3
- package/tile-list/lib/tile-config/tile-config.component.d.ts +3 -2
- package/upload-progress/index.d.ts +1 -0
- package/upload-progress/lib/upload-progress/upload-progress.module.d.ts +7 -0
|
@@ -1,51 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DmsObject } from '@yuuvis/client-core';
|
|
1
|
+
import { DmsObject, RetentionState, VirtualObjectType } from '@yuuvis/client-core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
private
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
retentionEndDate?: Date;
|
|
16
|
-
retentionEnded?: boolean;
|
|
17
|
-
fileDropLabel?: string;
|
|
18
|
-
busy: boolean;
|
|
19
|
-
isAdvancedUser: boolean;
|
|
20
|
-
private oc?;
|
|
21
|
-
headerData?: {
|
|
22
|
-
icon?: {
|
|
23
|
-
src?: string;
|
|
24
|
-
svg?: string;
|
|
25
|
-
title?: string;
|
|
26
|
-
};
|
|
27
|
-
title?: string;
|
|
28
|
-
description?: string;
|
|
29
|
-
};
|
|
3
|
+
/**
|
|
4
|
+
* Wrapper component for details of a dms object. This component
|
|
5
|
+
* provides a header based on the object configuration for the given object.
|
|
6
|
+
* It will also take care of loading the object if you only provide the objects ID.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ObjectDetailsShellComponent {
|
|
9
|
+
#private;
|
|
10
|
+
retentionState: import("@angular/core").WritableSignal<RetentionState | undefined>;
|
|
11
|
+
contextError: import("@angular/core").WritableSignal<string | undefined>;
|
|
12
|
+
dmsObject: import("@angular/core").WritableSignal<DmsObject | undefined>;
|
|
13
|
+
busy: import("@angular/core").WritableSignal<boolean>;
|
|
30
14
|
/**
|
|
31
|
-
*
|
|
15
|
+
* Virtual object type to use for retrieving header data
|
|
32
16
|
*/
|
|
33
|
-
|
|
17
|
+
type: import("@angular/core").InputSignal<VirtualObjectType>;
|
|
34
18
|
/**
|
|
35
|
-
*
|
|
19
|
+
* Bucket of the object config to retrieve header data from
|
|
36
20
|
*/
|
|
37
|
-
|
|
38
|
-
get dmsObject(): DmsObject | undefined;
|
|
39
|
-
dmsObjectChange: EventEmitter<DmsObject>;
|
|
40
|
-
/**
|
|
41
|
-
* ID of a DmsObject. The object will be fetched from the backend upfront.
|
|
42
|
-
*/
|
|
43
|
-
set objectId(id: string | undefined);
|
|
21
|
+
bucket: import("@angular/core").InputSignal<string | undefined>;
|
|
44
22
|
constructor();
|
|
45
|
-
private _getHeaderData;
|
|
46
|
-
private _getDmsObject;
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
ngOnDestroy(): void;
|
|
49
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectDetailsShellComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectDetailsShellComponent, "yuv-object-details-shell", never, { "
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectDetailsShellComponent, "yuv-object-details-shell", never, { "type": { "alias": "type"; "required": true; "isSignal": true; }; "bucket": { "alias": "bucket"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
51
25
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DmsObject, TranslateService } from '@yuuvis/client-core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ObjectDetailsShellService {
|
|
4
|
+
#private;
|
|
5
|
+
id: string;
|
|
6
|
+
readonly translate: TranslateService;
|
|
7
|
+
dmsObject: import("@angular/core").WritableSignal<DmsObject | undefined>;
|
|
8
|
+
contextError: import("@angular/core").WritableSignal<string | undefined>;
|
|
9
|
+
busy: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
+
fetchDmsObject(id: string): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectDetailsShellService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ObjectDetailsShellService>;
|
|
13
|
+
}
|
|
@@ -1,34 +1,28 @@
|
|
|
1
|
-
import { DmsObject } from '@yuuvis/client-core';
|
|
1
|
+
import { DmsObject, VirtualObjectType } from '@yuuvis/client-core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ObjectDetailsComponent {
|
|
4
4
|
#private;
|
|
5
5
|
isAdvancedUser: boolean;
|
|
6
6
|
currentUser: import("@angular/core").WritableSignal<import("@yuuvis/client-core").YuvUser>;
|
|
7
|
-
/**
|
|
8
|
-
* If you want to set the order of the tabs within object details, you can use
|
|
9
|
-
* this input property. The tab order will be defined by the index of the
|
|
10
|
-
* input array containing the following values in the desired order:
|
|
11
|
-
*
|
|
12
|
-
* - `summary`: Object summary tab
|
|
13
|
-
* - `indexdata`: Indexdata edit form tab
|
|
14
|
-
* - `preview`: Content preview tab
|
|
15
|
-
* - `history: Object history tab (audits)
|
|
16
|
-
*/
|
|
17
|
-
set panelOrder(po: string[] | undefined);
|
|
18
7
|
/**
|
|
19
8
|
* ID to store the components layout state (splitted tabs, gutter position)
|
|
20
9
|
*/
|
|
21
|
-
layoutSettingsID
|
|
10
|
+
layoutSettingsID: import("@angular/core").WritableSignal<string | undefined>;
|
|
22
11
|
/**
|
|
23
12
|
* DmsObject to show the details for.
|
|
24
13
|
*/
|
|
25
|
-
dmsObject
|
|
14
|
+
dmsObject: import("@angular/core").InputSignal<DmsObject | undefined>;
|
|
15
|
+
_dmsObject: import("@angular/core").WritableSignal<DmsObject | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* Virtual object type to use for retrieving header data
|
|
18
|
+
*/
|
|
19
|
+
type: import("@angular/core").InputSignal<VirtualObjectType>;
|
|
20
|
+
objectConfigBucket: import("@angular/core").InputSignal<string | undefined>;
|
|
26
21
|
/**
|
|
27
22
|
* ID of a DmsObject. The object will be fetched from the backend upfront.
|
|
28
23
|
*/
|
|
29
|
-
objectId
|
|
30
|
-
constructor();
|
|
24
|
+
objectId: import("@angular/core").InputSignal<string | undefined>;
|
|
31
25
|
onIndexdataSaved(updatedObject: DmsObject): void;
|
|
32
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectDetailsComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectDetailsComponent, "yuv-object-details", never, { "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectDetailsComponent, "yuv-object-details", never, { "dmsObject": { "alias": "dmsObject"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": true; "isSignal": true; }; "objectConfigBucket": { "alias": "objectConfigBucket"; "required": false; "isSignal": true; }; "objectId": { "alias": "objectId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
34
28
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./object-details.component";
|
|
3
|
+
import * as i2 from "./object-details-header/object-details-header.component";
|
|
4
|
+
import * as i3 from "./object-details-shell/object-details-shell.component";
|
|
5
|
+
import * as i4 from "./object-metadata/object-metadata.component";
|
|
6
|
+
import * as i5 from "./object-audit/object-audit.component";
|
|
7
|
+
import * as i6 from "./retention-badge/retention-badge.component";
|
|
8
|
+
export declare class YuvObjectDetailsModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YuvObjectDetailsModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<YuvObjectDetailsModule, never, [typeof i1.ObjectDetailsComponent, typeof i2.ObjectDetailsHeaderComponent, typeof i3.ObjectDetailsShellComponent, typeof i4.ObjectMetadataComponent, typeof i5.ObjectAuditComponent, typeof i6.RetentionBadgeComponent], [typeof i1.ObjectDetailsComponent, typeof i2.ObjectDetailsHeaderComponent, typeof i3.ObjectDetailsShellComponent, typeof i4.ObjectMetadataComponent, typeof i5.ObjectAuditComponent, typeof i6.RetentionBadgeComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<YuvObjectDetailsModule>;
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuuvis/client-framework",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"author": "OPTIMAL SYSTEMS GmbH <npm@optimal-systems.de>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
"@angular/common": "^19.2.1",
|
|
9
9
|
"@angular/core": "^19.2.1",
|
|
10
10
|
"angular-gridster2": "^19.0.0",
|
|
11
|
-
"@yuuvis/client-core": "^2.1.
|
|
12
|
-
"@yuuvis/client-shell-core": "^2.1.
|
|
11
|
+
"@yuuvis/client-core": "^2.1.2",
|
|
12
|
+
"@yuuvis/client-shell-core": "^2.1.2",
|
|
13
13
|
"ng-dynamic-component": "^10.8.2",
|
|
14
14
|
"modern-normalize": "^3.0.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@angular/material": "^19.2.15",
|
|
18
18
|
"@ngrx/signals": "^19.2.0",
|
|
19
|
-
"@yuuvis/material": "2.1.
|
|
19
|
+
"@yuuvis/material": "2.1.2",
|
|
20
20
|
"@yuuvis/media-viewer": "^2.0.4",
|
|
21
21
|
"angular-split": "^19.0.0",
|
|
22
22
|
"tslib": "^2.3.0"
|
|
@@ -10,11 +10,11 @@ export declare class TileConfigTileComponent {
|
|
|
10
10
|
private readonly elRef;
|
|
11
11
|
disableIconSlot: import("@angular/core").InputSignal<boolean | undefined>;
|
|
12
12
|
disableBadgesSlot: import("@angular/core").InputSignal<boolean | undefined>;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
objectConfig: import("@angular/core").InputSignal<ObjectConfig>;
|
|
14
|
+
_objectConfig: import("@angular/core").Signal<ObjectConfig>;
|
|
15
15
|
actions: import("@angular/core").Signal<Action[]>;
|
|
16
16
|
slotSelect: import("@angular/core").OutputEmitterRef<string>;
|
|
17
17
|
selectSlot(slot: string): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TileConfigTileComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TileConfigTileComponent, "yuv-tile-config-tile", never, { "disableIconSlot": { "alias": "disableIconSlot"; "required": false; "isSignal": true; }; "disableBadgesSlot": { "alias": "disableBadgesSlot"; "required": false; "isSignal": true; }; "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TileConfigTileComponent, "yuv-tile-config-tile", never, { "disableIconSlot": { "alias": "disableIconSlot"; "required": false; "isSignal": true; }; "disableBadgesSlot": { "alias": "disableBadgesSlot"; "required": false; "isSignal": true; }; "objectConfig": { "alias": "objectConfig"; "required": true; "isSignal": true; }; }, { "slotSelect": "slotSelect"; }, never, never, true, never>;
|
|
20
20
|
}
|
|
@@ -15,6 +15,7 @@ export declare class TileConfigComponent {
|
|
|
15
15
|
bucketLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
16
16
|
configTypes: import("@angular/core").InputSignal<VirtualObjectType[] | undefined>;
|
|
17
17
|
configFlavors: import("@angular/core").InputSignal<ObjectFlavor[]>;
|
|
18
|
+
get configChanged(): boolean;
|
|
18
19
|
types: Signal<{
|
|
19
20
|
id: string;
|
|
20
21
|
icon?: string;
|
|
@@ -25,10 +26,10 @@ export declare class TileConfigComponent {
|
|
|
25
26
|
cancel: import("@angular/core").OutputEmitterRef<void>;
|
|
26
27
|
selectedType?: VirtualObjectType;
|
|
27
28
|
selectedTypeProperties: ObjectTypeField[];
|
|
28
|
-
private _emptyObjectConfig;
|
|
29
29
|
objectConfig?: ObjectConfig;
|
|
30
30
|
selectedSlot?: string;
|
|
31
31
|
flavors: ObjectFlavor[];
|
|
32
|
+
changes: Record<string, ObjectConfig | undefined>;
|
|
32
33
|
getConfigValue(p: string): ObjectConfigIcon | ObjectConfigProperty | ObjectConfigAction | ObjectConfigBadge | undefined;
|
|
33
34
|
getConfigProperty(p: string): ObjectConfigProperty | undefined;
|
|
34
35
|
getSelectedActions(): string[];
|
|
@@ -38,7 +39,7 @@ export declare class TileConfigComponent {
|
|
|
38
39
|
propertySelected(tileSlot: string, field?: Partial<ObjectTypeField>): void;
|
|
39
40
|
actionSelected(action: Action): void;
|
|
40
41
|
saveConfig(): void;
|
|
41
|
-
|
|
42
|
+
resetConfig(): void;
|
|
42
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<TileConfigComponent, never>;
|
|
43
44
|
static ɵcmp: i0.ɵɵComponentDeclaration<TileConfigComponent, "yuv-tile-config", never, { "bucket": { "alias": "bucket"; "required": false; "isSignal": true; }; "bucketLabel": { "alias": "bucketLabel"; "required": false; "isSignal": true; }; "configTypes": { "alias": "configTypes"; "required": false; "isSignal": true; }; "configFlavors": { "alias": "configFlavors"; "required": false; "isSignal": true; }; }, { "save": "save"; "cancel": "cancel"; }, never, never, true, never>;
|
|
44
45
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./upload-progress.component";
|
|
3
|
+
export declare class YuvUploadProgressModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YuvUploadProgressModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<YuvUploadProgressModule, never, [typeof i1.UploadProgressComponent], [typeof i1.UploadProgressComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<YuvUploadProgressModule>;
|
|
7
|
+
}
|