@yuuvis/client-framework 2.6.2 → 2.7.0
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/lib/components/busy-overlay/busy-overlay.component.d.ts +0 -1
- package/common/lib/directives/busy-overlay.directive.d.ts +4 -4
- package/fesm2022/yuuvis-client-framework-common.mjs +9 -15
- package/fesm2022/yuuvis-client-framework-common.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-forms.mjs +7 -4
- package/fesm2022/yuuvis-client-framework-forms.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-list.mjs +92 -58
- package/fesm2022/yuuvis-client-framework-list.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-flavor.mjs +2 -2
- package/fesm2022/yuuvis-client-framework-object-flavor.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-summary.mjs +4 -2
- package/fesm2022/yuuvis-client-framework-object-summary.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-versions.mjs +1 -1
- package/fesm2022/yuuvis-client-framework-object-versions.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-query-list.mjs +269 -0
- package/fesm2022/yuuvis-client-framework-query-list.mjs.map +1 -0
- package/fesm2022/yuuvis-client-framework-renderer.mjs +4 -9
- package/fesm2022/yuuvis-client-framework-renderer.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-tile-list.mjs +97 -208
- package/fesm2022/yuuvis-client-framework-tile-list.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-tree.mjs +8 -5
- package/fesm2022/yuuvis-client-framework-tree.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework.mjs +727 -132
- package/fesm2022/yuuvis-client-framework.mjs.map +1 -1
- package/lib/assets/i18n/en.json +19 -19
- package/lib/config/halo-focus-defaults/halo-excluded-elements.const.d.ts +26 -0
- package/lib/config/halo-focus-defaults/halo-focus-navigation-keys.const.d.ts +25 -0
- package/lib/config/halo-focus-defaults/halo-focus-offset.const.d.ts +25 -0
- package/lib/config/halo-focus-defaults/halo-focus-styles.const.d.ts +26 -0
- package/lib/config/halo-focus-defaults/index.d.ts +4 -0
- package/lib/config/index.d.ts +1 -0
- package/lib/models/halo-focus-config/halo-focus-config.model.d.ts +48 -0
- package/lib/models/halo-focus-config/index.d.ts +1 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/providers/halo-focus/index.d.ts +1 -0
- package/lib/providers/halo-focus/provide-halo-focus.d.ts +58 -6
- package/lib/providers/index.d.ts +1 -1
- package/lib/services/halo-focus/halo-focus.service.d.ts +89 -1
- package/lib/services/halo-utility/halo-utility.service.d.ts +230 -0
- package/lib/services/index.d.ts +1 -0
- package/list/lib/list.component.d.ts +35 -6
- package/package.json +24 -20
- package/query-list/README.md +3 -0
- package/query-list/index.d.ts +2 -0
- package/query-list/lib/query-list.component.d.ts +139 -0
- package/query-list/lib/query-list.module.d.ts +7 -0
- package/renderer/lib/property-renderer/organization.renderer.d.ts +1 -1
- package/tile-list/lib/tile-config/property-select/property-select.component.d.ts +3 -1
- package/tile-list/lib/tile-list/tile-list.component.d.ts +52 -34
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { ElementRef,
|
|
2
|
-
import { DmsObject, SearchQuery } from '@yuuvis/client-core';
|
|
3
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
1
|
+
import { ElementRef, OnInit, Signal } from '@angular/core';
|
|
2
|
+
import { DmsObject, ResolvedObjectConfigItem, SearchQuery, SearchResultItem } from '@yuuvis/client-core';
|
|
4
3
|
import { Action } from '@yuuvis/client-framework/actions';
|
|
5
|
-
import {
|
|
6
|
-
import { Pagination } from '@yuuvis/client-framework/pagination';
|
|
4
|
+
import { QueryListComponent } from '@yuuvis/client-framework/query-list';
|
|
7
5
|
import { ObjectFlavor } from '@yuuvis/client-shell-core';
|
|
8
6
|
import { TileActionsMenuComponent } from '../tile-actions-menu/tile-actions-menu.component';
|
|
9
7
|
import { TileData, TileListConfigOptions, TileListHighlight } from './tile-list.interface';
|
|
@@ -11,23 +9,32 @@ import * as i0 from "@angular/core";
|
|
|
11
9
|
type InnerTileData = TileData & {
|
|
12
10
|
actions: any;
|
|
13
11
|
};
|
|
14
|
-
export declare class TileListComponent implements OnInit
|
|
12
|
+
export declare class TileListComponent implements OnInit {
|
|
15
13
|
#private;
|
|
16
|
-
menuComponent:
|
|
17
|
-
menu:
|
|
18
|
-
emptyContent:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
menuComponent: Signal<TileActionsMenuComponent | undefined>;
|
|
15
|
+
menu: Signal<import("@angular/material/menu").MatMenu | null>;
|
|
16
|
+
emptyContent: Signal<ElementRef<any> | undefined>;
|
|
17
|
+
list: Signal<QueryListComponent>;
|
|
18
|
+
transformer: (res: SearchResultItem[]) => {
|
|
19
|
+
actions: Action[];
|
|
20
|
+
id: string;
|
|
21
|
+
objectTypeId: string;
|
|
22
|
+
icon?: ResolvedObjectConfigItem;
|
|
23
|
+
title: ResolvedObjectConfigItem;
|
|
24
|
+
description?: ResolvedObjectConfigItem;
|
|
25
|
+
meta?: ResolvedObjectConfigItem;
|
|
26
|
+
aside?: ResolvedObjectConfigItem;
|
|
27
|
+
badges?: import("@yuuvis/client-core").ObjectConfigBadge[];
|
|
28
|
+
instanceData?: Record<string, unknown>;
|
|
29
|
+
dmsObject: DmsObject;
|
|
30
|
+
}[];
|
|
31
|
+
onCopy(event: Event): void;
|
|
32
|
+
onCut(event: Event): void;
|
|
33
|
+
_busy: Signal<boolean>;
|
|
25
34
|
private oc?;
|
|
26
|
-
pagination?: Pagination;
|
|
27
35
|
private _selection;
|
|
28
36
|
private _lastSelection?;
|
|
29
37
|
selectedTile: import("@angular/core").WritableSignal<TileData[]>;
|
|
30
|
-
empytIcon: import("@angular/core").WritableSignal<string>;
|
|
31
38
|
/**
|
|
32
39
|
* The ID of the selected list item
|
|
33
40
|
*/
|
|
@@ -39,15 +46,31 @@ export declare class TileListComponent implements OnInit, OnDestroy {
|
|
|
39
46
|
* retrieved. Buckets should be unique so be sure to use a unique namespace.
|
|
40
47
|
*/
|
|
41
48
|
bucket: import("@angular/core").InputSignal<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* The number of items to display per page.
|
|
51
|
+
*/
|
|
42
52
|
pageSize: import("@angular/core").InputSignal<number>;
|
|
43
53
|
/**
|
|
44
|
-
* Sets up the ability to select
|
|
54
|
+
* Sets up the ability to select multiple tiles
|
|
55
|
+
* @default false
|
|
45
56
|
*/
|
|
46
57
|
multiselect: import("@angular/core").InputSignal<boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* If `true`, the tiles will be rendered in a more compact, denser style.
|
|
60
|
+
* @default false
|
|
61
|
+
*/
|
|
47
62
|
dense: import("@angular/core").InputSignal<boolean>;
|
|
63
|
+
/**
|
|
64
|
+
* Configuration options for the tile list component.
|
|
65
|
+
*/
|
|
48
66
|
options: import("@angular/core").InputSignal<TileListConfigOptions | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* The object flavor to be applied to the tiles.
|
|
69
|
+
*/
|
|
49
70
|
flavor: import("@angular/core").InputSignal<ObjectFlavor | undefined>;
|
|
50
|
-
|
|
71
|
+
/**
|
|
72
|
+
* The currently applied object flavor.
|
|
73
|
+
*/
|
|
51
74
|
appliedFlavor?: ObjectFlavor;
|
|
52
75
|
/**
|
|
53
76
|
* The search query to be executed. This may be a SearchQuery object or a CMIS query statement.
|
|
@@ -55,7 +78,10 @@ export declare class TileListComponent implements OnInit, OnDestroy {
|
|
|
55
78
|
query: import("@angular/core").InputSignal<string | SearchQuery | null | undefined>;
|
|
56
79
|
preselect: import("@angular/core").InputSignal<string[]>;
|
|
57
80
|
highlights: import("@angular/core").InputSignal<TileListHighlight[] | null>;
|
|
58
|
-
highlightStyles:
|
|
81
|
+
highlightStyles: Signal<Record<string, Record<string, unknown>>>;
|
|
82
|
+
/**
|
|
83
|
+
* Prevent selection changes while the provided function returns false.
|
|
84
|
+
*/
|
|
59
85
|
preventChangeUntil: import("@angular/core").InputSignal<() => boolean>;
|
|
60
86
|
disableCustomContextMenu: import("@angular/core").InputSignal<boolean>;
|
|
61
87
|
/**
|
|
@@ -75,7 +101,7 @@ export declare class TileListComponent implements OnInit, OnDestroy {
|
|
|
75
101
|
*/
|
|
76
102
|
selectionChange: import("@angular/core").OutputEmitterRef<TileData[]>;
|
|
77
103
|
/**
|
|
78
|
-
* Emitted when a list item has been
|
|
104
|
+
* Emitted when a list item has been double-clicked
|
|
79
105
|
*/
|
|
80
106
|
itemDblClick: import("@angular/core").OutputEmitterRef<TileData>;
|
|
81
107
|
ctxMenu: import("@angular/core").OutputEmitterRef<{
|
|
@@ -83,32 +109,24 @@ export declare class TileListComponent implements OnInit, OnDestroy {
|
|
|
83
109
|
selection: any;
|
|
84
110
|
}>;
|
|
85
111
|
items: import("@angular/core").WritableSignal<TileData[]>;
|
|
86
|
-
_items: import("@angular/core").Signal<InnerTileData[]>;
|
|
87
|
-
private _rawResult?;
|
|
88
112
|
searchExecuted: boolean;
|
|
89
|
-
constructor();
|
|
90
|
-
getPageSize(): number;
|
|
91
113
|
contextMenuHandler(event: MouseEvent, index: number): void;
|
|
92
114
|
executeAction(t: InnerTileData, a: Action, evt: Event): void;
|
|
93
|
-
select(i: TileData, evt?: MouseEvent | KeyboardEvent): void;
|
|
94
115
|
selectById(ids: string[]): void;
|
|
95
|
-
onDragSelectChange(sel: number[]): void;
|
|
96
|
-
onDragSelect(sel: number[]): void;
|
|
97
|
-
onListItemsSelect(sel: number[]): void;
|
|
98
116
|
selectByIndex(idx: number, evt?: MouseEvent | KeyboardEvent): void;
|
|
117
|
+
onQueryResult(e: {
|
|
118
|
+
totalCount: number;
|
|
119
|
+
}): void;
|
|
120
|
+
onListItemsSelect(sel: number[]): void;
|
|
99
121
|
refresh(): void;
|
|
100
122
|
applyFlavor(flavor: ObjectFlavor): void;
|
|
101
123
|
clearSelection(silent?: boolean): void;
|
|
102
124
|
selectNext(): void;
|
|
103
125
|
selectPrev(): void;
|
|
104
|
-
changePage(pe: PageEvent): void;
|
|
105
|
-
goToPage(page: number): void;
|
|
106
126
|
private _selectionToTileData;
|
|
107
|
-
private _mapSearchResult;
|
|
108
127
|
updateTileList(listItems: DmsObject[]): void;
|
|
109
128
|
ngOnInit(): void;
|
|
110
|
-
ngOnDestroy(): void;
|
|
111
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<TileListComponent, never>;
|
|
112
|
-
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; }; "dense": { "alias": "dense"; "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; }; "disableCustomContextMenu": { "alias": "disableCustomContextMenu"; "required": false; "isSignal": true; }; }, { "itemSelect": "itemSelect"; "tileCopy": "tileCopy"; "tileCut": "tileCut"; "busy": "busy"; "queryResult": "queryResult"; "selectionChange": "selectionChange"; "itemDblClick": "itemDblClick"; "ctxMenu": "ctxMenu"; }, ["menuComponent", "emptyContent"], ["
|
|
130
|
+
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; }; "dense": { "alias": "dense"; "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; }; "disableCustomContextMenu": { "alias": "disableCustomContextMenu"; "required": false; "isSignal": true; }; }, { "itemSelect": "itemSelect"; "tileCopy": "tileCopy"; "tileCut": "tileCut"; "busy": "busy"; "queryResult": "queryResult"; "selectionChange": "selectionChange"; "itemDblClick": "itemDblClick"; "ctxMenu": "ctxMenu"; }, ["menuComponent", "emptyContent"], ["yuv-tile-actions-menu, [yuv-tile-actions-menu]", "*"], true, never>;
|
|
113
131
|
}
|
|
114
132
|
export {};
|