@yuuvis/client-framework 2.3.1 → 2.3.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/datepicker/index.d.ts +1 -0
- package/datepicker/lib/date-input/date-input.component.d.ts +1 -3
- package/datepicker/lib/time-input/time-input.component.d.ts +0 -4
- package/fesm2022/yuuvis-client-framework-datepicker.mjs +34 -45
- package/fesm2022/yuuvis-client-framework-datepicker.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-forms.mjs +2 -2
- package/fesm2022/yuuvis-client-framework-forms.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-metadata-form.mjs +3 -2
- package/fesm2022/yuuvis-client-framework-metadata-form.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-details.mjs +162 -56
- package/fesm2022/yuuvis-client-framework-object-details.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-preview.mjs +4 -26
- package/fesm2022/yuuvis-client-framework-object-preview.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-tile-list.mjs +5 -4
- package/fesm2022/yuuvis-client-framework-tile-list.mjs.map +1 -1
- package/lib/assets/i18n/de.json +2 -1
- package/lib/assets/i18n/en.json +2 -1
- package/object-details/lib/object-details-shell/object-details-shell.component.d.ts +1 -1
- package/object-details/lib/object-details-shell/object-details-shell.service.d.ts +2 -1
- package/object-details/lib/object-details.component.d.ts +4 -3
- package/object-details/lib/object-metadata/object-metadata-section/object-metadata-section.component.d.ts +11 -5
- package/object-details/lib/object-metadata/object-metadata.component.d.ts +18 -5
- package/object-preview/lib/services/object-preview.service.d.ts +1 -22
- package/package.json +4 -4
- package/tile-list/lib/tile-list/tile-list.component.d.ts +2 -3
|
@@ -11,8 +11,9 @@ export declare class ObjectDetailsComponent {
|
|
|
11
11
|
/**
|
|
12
12
|
* DmsObject to show the details for.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
dmsObjectInput: import("@angular/core").InputSignal<DmsObject | undefined>;
|
|
15
|
+
dmsObjectInputEffect: import("@angular/core").EffectRef;
|
|
16
|
+
dmsObject: import("@angular/core").Signal<DmsObject | undefined>;
|
|
16
17
|
flavoredDmsObject: import("@angular/core").Signal<FlavoredDmsObject | undefined>;
|
|
17
18
|
/**
|
|
18
19
|
* Flavors to take into account. These flavors define for example the metadata
|
|
@@ -39,5 +40,5 @@ export declare class ObjectDetailsComponent {
|
|
|
39
40
|
hideHeader: import("@angular/core").InputSignal<boolean>;
|
|
40
41
|
onIndexdataSaved(updatedObject: DmsObject): void;
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectDetailsComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectDetailsComponent, "yuv-object-details", never, { "
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectDetailsComponent, "yuv-object-details", never, { "dmsObjectInput": { "alias": "dmsObject"; "required": false; "isSignal": true; }; "flavors": { "alias": "flavors"; "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; }; "hideHeader": { "alias": "hideHeader"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
43
44
|
}
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { ObjectMetadataSectionInput } from './object-metadata-section.interface';
|
|
2
|
-
import { FormStatusChangedEvent, IObjectFormElementExtension, ObjectFormOptions } from '@yuuvis/client-framework/object-form';
|
|
2
|
+
import { FormStatusChangedEvent, IObjectFormElementExtension, ObjectFormComponent, ObjectFormOptions } from '@yuuvis/client-framework/object-form';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ObjectMetadataSectionComponent {
|
|
5
5
|
#private;
|
|
6
|
+
objectForms: import("@angular/core").Signal<readonly ObjectFormComponent[]>;
|
|
6
7
|
_formOptions: import("@angular/core").WritableSignal<ObjectFormOptions | undefined>;
|
|
7
|
-
busy: import("@angular/core").WritableSignal<boolean>;
|
|
8
8
|
section: import("@angular/core").InputSignal<ObjectMetadataSectionInput>;
|
|
9
|
-
|
|
9
|
+
expandedInput: import("@angular/core").InputSignal<boolean>;
|
|
10
10
|
elementExtensions: import("@angular/core").InputSignal<IObjectFormElementExtension[]>;
|
|
11
|
-
|
|
11
|
+
expanded: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
formOptions: import("@angular/core").WritableSignal<{
|
|
13
|
+
formModel: any;
|
|
14
|
+
data: Record<string, unknown>;
|
|
15
|
+
} | undefined>;
|
|
16
|
+
busy: import("@angular/core").Signal<boolean>;
|
|
12
17
|
statusChanged: import("@angular/core").OutputEmitterRef<FormStatusChangedEvent>;
|
|
18
|
+
resetForm(): void;
|
|
13
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectMetadataSectionComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectMetadataSectionComponent, "yuv-object-metadata-section", never, { "section": { "alias": "section"; "required": true; "isSignal": true; }; "
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectMetadataSectionComponent, "yuv-object-metadata-section", never, { "section": { "alias": "section"; "required": true; "isSignal": true; }; "expandedInput": { "alias": "expanded"; "required": false; "isSignal": true; }; "elementExtensions": { "alias": "elementExtensions"; "required": false; "isSignal": true; }; }, { "statusChanged": "statusChanged"; }, never, never, true, never>;
|
|
15
21
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { DmsObject, FlavoredDmsObject, Situation, TranslateService } from '@yuuvis/client-core';
|
|
2
|
+
import { DmsObject, FlavoredDmsObject, ObjectTypeFlavor, Situation, TranslateService } from '@yuuvis/client-core';
|
|
3
3
|
import { FormStatusChangedEvent, IObjectFormElementExtension, ObjectFormComponent, ObjectFormOptions } from '@yuuvis/client-framework/object-form';
|
|
4
4
|
import { RendererDirectiveInput } from '@yuuvis/client-framework/renderer';
|
|
5
|
-
import {
|
|
5
|
+
import { ObjectMetadataSectionComponent } from './object-metadata-section/object-metadata-section.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ObjectMetadataComponent implements OnDestroy {
|
|
8
8
|
#private;
|
|
9
9
|
translate: TranslateService;
|
|
10
10
|
objectForms: import("@angular/core").Signal<readonly ObjectFormComponent[]>;
|
|
11
|
+
objectMetadataSectionForms: import("@angular/core").Signal<readonly ObjectMetadataSectionComponent[]>;
|
|
11
12
|
_dmsObject?: DmsObject;
|
|
12
13
|
busySaving: import("@angular/core").WritableSignal<boolean>;
|
|
13
14
|
busyLoading: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -21,8 +22,6 @@ export declare class ObjectMetadataComponent implements OnDestroy {
|
|
|
21
22
|
elementExtensions: import("@angular/core").InputSignal<IObjectFormElementExtension[]>;
|
|
22
23
|
controlsVisible: import("@angular/core").WritableSignal<boolean>;
|
|
23
24
|
empty: import("@angular/core").Signal<boolean>;
|
|
24
|
-
mainFormOptions: import("@angular/core").WritableSignal<ObjectFormOptions | undefined>;
|
|
25
|
-
flavorFormOptions: import("@angular/core").WritableSignal<ObjectMetadataSectionInput[]>;
|
|
26
25
|
baseData: {
|
|
27
26
|
label: string;
|
|
28
27
|
value: RendererDirectiveInput;
|
|
@@ -36,6 +35,10 @@ export declare class ObjectMetadataComponent implements OnDestroy {
|
|
|
36
35
|
*/
|
|
37
36
|
formDisabled: boolean;
|
|
38
37
|
dmsObject: import("@angular/core").InputSignal<DmsObject | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated This input will be removed in the future.
|
|
40
|
+
* Please migrate to using `dmsObject` and `flavors` inputs instead.
|
|
41
|
+
*/
|
|
39
42
|
flavoredDmsObject: import("@angular/core").InputSignal<FlavoredDmsObject | undefined>;
|
|
40
43
|
combinedFormState?: FormStatusChangedEvent;
|
|
41
44
|
/**
|
|
@@ -46,6 +49,16 @@ export declare class ObjectMetadataComponent implements OnDestroy {
|
|
|
46
49
|
* Emits the current state of the metadata form.
|
|
47
50
|
*/
|
|
48
51
|
statusChanged: import("@angular/core").OutputEmitterRef<FormStatusChangedEvent>;
|
|
52
|
+
mainFormOptions: import("@angular/core").WritableSignal<ObjectFormOptions | undefined>;
|
|
53
|
+
mainFormOptionsIsLoading: import("@angular/core").Signal<boolean>;
|
|
54
|
+
flavors: import("@angular/core").InputSignal<ObjectTypeFlavor[] | undefined>;
|
|
55
|
+
flavorFormOptions: import("@angular/core").WritableSignal<{
|
|
56
|
+
id: string;
|
|
57
|
+
label: string;
|
|
58
|
+
icon: string | undefined;
|
|
59
|
+
svgIcon: boolean | undefined;
|
|
60
|
+
data: Record<string, unknown>;
|
|
61
|
+
}[]>;
|
|
49
62
|
onFormStatusChanged(formId: string, evt: FormStatusChangedEvent): void;
|
|
50
63
|
save(): void;
|
|
51
64
|
/**
|
|
@@ -54,5 +67,5 @@ export declare class ObjectMetadataComponent implements OnDestroy {
|
|
|
54
67
|
resetForm(): void;
|
|
55
68
|
ngOnDestroy(): void;
|
|
56
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectMetadataComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectMetadataComponent, "yuv-object-metadata", never, { "disableControls": { "alias": "disableControls"; "required": false; "isSignal": true; }; "disableBasicMetadata": { "alias": "disableBasicMetadata"; "required": false; "isSignal": true; }; "elementExtensions": { "alias": "elementExtensions"; "required": false; "isSignal": true; }; "situation": { "alias": "situation"; "required": false; }; "formDisabled": { "alias": "formDisabled"; "required": false; }; "dmsObject": { "alias": "dmsObject"; "required": false; "isSignal": true; }; "flavoredDmsObject": { "alias": "flavoredDmsObject"; "required": false; "isSignal": true; }; }, { "indexDataSaved": "indexDataSaved"; "statusChanged": "statusChanged"; }, never, never, true, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectMetadataComponent, "yuv-object-metadata", never, { "disableControls": { "alias": "disableControls"; "required": false; "isSignal": true; }; "disableBasicMetadata": { "alias": "disableBasicMetadata"; "required": false; "isSignal": true; }; "elementExtensions": { "alias": "elementExtensions"; "required": false; "isSignal": true; }; "situation": { "alias": "situation"; "required": false; }; "formDisabled": { "alias": "formDisabled"; "required": false; }; "dmsObject": { "alias": "dmsObject"; "required": false; "isSignal": true; }; "flavoredDmsObject": { "alias": "flavoredDmsObject"; "required": false; "isSignal": true; }; "flavors": { "alias": "flavors"; "required": false; "isSignal": true; }; }, { "indexDataSaved": "indexDataSaved"; "statusChanged": "statusChanged"; }, never, never, true, never>;
|
|
58
71
|
}
|
|
@@ -17,28 +17,6 @@ export declare class ObjectPreviewService {
|
|
|
17
17
|
id: string;
|
|
18
18
|
mimeType: string | undefined;
|
|
19
19
|
metadata: {
|
|
20
|
-
options?: {
|
|
21
|
-
showToolbar: boolean;
|
|
22
|
-
showSidebarButton: boolean;
|
|
23
|
-
showFindButton: boolean;
|
|
24
|
-
showPagingButtons: boolean;
|
|
25
|
-
showDrawEditor: boolean;
|
|
26
|
-
showStampEditor: boolean;
|
|
27
|
-
showTextEditor: boolean;
|
|
28
|
-
showZoomButtons: boolean;
|
|
29
|
-
showPresentationModeButton: boolean;
|
|
30
|
-
showOpenFileButton: boolean;
|
|
31
|
-
showPrintButton: boolean;
|
|
32
|
-
showDownloadButton: boolean;
|
|
33
|
-
showSecondaryToolbarButton: boolean;
|
|
34
|
-
showRotateCwButton: boolean;
|
|
35
|
-
showRotateCcwButton: boolean;
|
|
36
|
-
showHandToolButton: boolean;
|
|
37
|
-
showScrollingButtons: boolean;
|
|
38
|
-
showSpreadButton: boolean;
|
|
39
|
-
showPropertiesButton: boolean;
|
|
40
|
-
showHighlightEditor: boolean;
|
|
41
|
-
} | undefined;
|
|
42
20
|
type: Uppercase<string> | undefined;
|
|
43
21
|
name: string;
|
|
44
22
|
dmsObject: Record<string, unknown>;
|
|
@@ -46,6 +24,7 @@ export declare class ObjectPreviewService {
|
|
|
46
24
|
editable: boolean;
|
|
47
25
|
user: import("@yuuvis/client-core").YuvUser;
|
|
48
26
|
theme: string;
|
|
27
|
+
sendEvent: number | boolean;
|
|
49
28
|
};
|
|
50
29
|
} | undefined;
|
|
51
30
|
getEmailViewerDetails(object: DmsObject, MAIL_APP_ID?: string): {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuuvis/client-framework",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
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.3.
|
|
12
|
-
"@yuuvis/client-shell-core": "^2.3.
|
|
11
|
+
"@yuuvis/client-core": "^2.3.3",
|
|
12
|
+
"@yuuvis/client-shell-core": "^2.3.3",
|
|
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.3.
|
|
19
|
+
"@yuuvis/material": "2.3.3",
|
|
20
20
|
"@yuuvis/media-viewer": "^2.0.7",
|
|
21
21
|
"angular-split": "^19.0.0",
|
|
22
22
|
"tslib": "^2.3.0"
|
|
@@ -66,8 +66,7 @@ export declare class TileListComponent implements OnInit, OnDestroy {
|
|
|
66
66
|
preselect: import("@angular/core").InputSignal<string[]>;
|
|
67
67
|
highlights: import("@angular/core").InputSignal<TileListHighlight[] | null>;
|
|
68
68
|
highlightStyles: import("@angular/core").Signal<Record<string, Record<string, unknown>>>;
|
|
69
|
-
|
|
70
|
-
preventChangeUntil: import("@angular/core").InputSignal<() => boolean | void>;
|
|
69
|
+
preventChangeUntil: import("@angular/core").InputSignal<() => boolean>;
|
|
71
70
|
/**
|
|
72
71
|
* Emitted when a list item has been selected
|
|
73
72
|
*/
|
|
@@ -116,5 +115,5 @@ export declare class TileListComponent implements OnInit, OnDestroy {
|
|
|
116
115
|
ngOnInit(): void;
|
|
117
116
|
ngOnDestroy(): void;
|
|
118
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<TileListComponent, never>;
|
|
119
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TileListComponent, "yuv-tile-list", never, { "bucket": { "alias": "bucket"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "multiselect": { "alias": "multiselect"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "flavor": { "alias": "flavor"; "required": false; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; "preselect": { "alias": "preselect"; "required": false; "isSignal": true; }; "highlights": { "alias": "highlights"; "required": false; "isSignal": true; }; "
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TileListComponent, "yuv-tile-list", never, { "bucket": { "alias": "bucket"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "multiselect": { "alias": "multiselect"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "flavor": { "alias": "flavor"; "required": false; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; "preselect": { "alias": "preselect"; "required": false; "isSignal": true; }; "highlights": { "alias": "highlights"; "required": false; "isSignal": true; }; "preventChangeUntil": { "alias": "preventChangeUntil"; "required": false; "isSignal": true; }; }, { "itemSelect": "itemSelect"; "tileCopy": "tileCopy"; "tileCut": "tileCut"; "busy": "busy"; "queryResult": "queryResult"; "selectionChange": "selectionChange"; "itemDblClick": "itemDblClick"; "ctxMenu": "ctxMenu"; }, ["emptyContent"], ["*"], true, never>;
|
|
120
119
|
}
|