@yuuvis/client-framework 2.1.26 → 2.1.28
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 +50 -15
- package/fesm2022/yuuvis-client-framework-forms.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-form.mjs +1 -1
- package/fesm2022/yuuvis-client-framework-object-form.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-tile-list.mjs +35 -32
- package/fesm2022/yuuvis-client-framework-tile-list.mjs.map +1 -1
- package/forms/lib/elements/data-grid/data-grid/data-grid.component.d.ts +13 -6
- package/package.json +4 -4
- package/tile-list/lib/tile-list/tile-list.component.d.ts +7 -6
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { DmsObject, SearchQuery } from '@yuuvis/client-core';
|
|
3
3
|
import { TileComponent } from '../tile/tile.component';
|
|
4
|
+
import { PageEvent } from '@angular/material/paginator';
|
|
4
5
|
import { ListItemDirective } from '@yuuvis/client-framework/list';
|
|
5
6
|
import { Pagination } from '@yuuvis/client-framework/pagination';
|
|
6
7
|
import { ObjectFlavor } from '@yuuvis/client-shell-core';
|
|
7
8
|
import { TileData, TileListConfigOptions, TileListHighlight } from './tile-list.interface';
|
|
8
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
11
|
* List that renders the result of a search query as object config based tiles. It also contains a component to
|
|
@@ -50,6 +50,7 @@ export declare class TileListComponent implements OnInit, OnDestroy {
|
|
|
50
50
|
* retrieved. Buckets should be unique so be sure to use a unique namespace.
|
|
51
51
|
*/
|
|
52
52
|
bucket: import("@angular/core").InputSignal<string | undefined>;
|
|
53
|
+
pageSize: import("@angular/core").InputSignal<number>;
|
|
53
54
|
/**
|
|
54
55
|
* Sets up the ability to select multile tiles
|
|
55
56
|
*/
|
|
@@ -59,9 +60,9 @@ export declare class TileListComponent implements OnInit, OnDestroy {
|
|
|
59
60
|
flavorEffect: import("@angular/core").EffectRef;
|
|
60
61
|
appliedFlavor?: ObjectFlavor;
|
|
61
62
|
/**
|
|
62
|
-
* The search query to be executed
|
|
63
|
+
* The search query to be executed. This may be a SearchQuery object or a CMIS query statement.
|
|
63
64
|
*/
|
|
64
|
-
query: import("@angular/core").InputSignal<SearchQuery | null | undefined>;
|
|
65
|
+
query: import("@angular/core").InputSignal<string | SearchQuery | null | undefined>;
|
|
65
66
|
preselect: import("@angular/core").InputSignal<string[]>;
|
|
66
67
|
highlights: import("@angular/core").InputSignal<TileListHighlight[] | null>;
|
|
67
68
|
highlightStyles: import("@angular/core").Signal<Record<string, Record<string, unknown>>>;
|
|
@@ -93,6 +94,7 @@ export declare class TileListComponent implements OnInit, OnDestroy {
|
|
|
93
94
|
private _rawResult?;
|
|
94
95
|
searchExecuted: boolean;
|
|
95
96
|
constructor();
|
|
97
|
+
getPageSize(): number;
|
|
96
98
|
contextMenuHandler(event: MouseEvent, index: number): void;
|
|
97
99
|
select(i: TileData, evt?: MouseEvent | KeyboardEvent): void;
|
|
98
100
|
selectById(ids: string[]): void;
|
|
@@ -104,14 +106,13 @@ export declare class TileListComponent implements OnInit, OnDestroy {
|
|
|
104
106
|
clearSelection(silent?: boolean): void;
|
|
105
107
|
selectNext(): void;
|
|
106
108
|
selectPrev(): void;
|
|
107
|
-
changePage(
|
|
109
|
+
changePage(pe: PageEvent): void;
|
|
108
110
|
goToPage(page: number): void;
|
|
109
111
|
private _selectionToTileData;
|
|
110
|
-
private _executeQuery;
|
|
111
112
|
private _mapSearchResult;
|
|
112
113
|
updateTileList(listItems: DmsObject[]): void;
|
|
113
114
|
ngOnInit(): void;
|
|
114
115
|
ngOnDestroy(): void;
|
|
115
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<TileListComponent, never>;
|
|
116
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TileListComponent, "yuv-tile-list", never, { "bucket": { "alias": "bucket"; "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; }; }, { "itemSelect": "itemSelect"; "tileCopy": "tileCopy"; "tileCut": "tileCut"; "busy": "busy"; "queryResult": "queryResult"; "selectionChange": "selectionChange"; "itemDblClick": "itemDblClick"; "ctxMenu": "ctxMenu"; }, ["emptyContent"], ["*"], true, never>;
|
|
117
|
+
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; }; }, { "itemSelect": "itemSelect"; "tileCopy": "tileCopy"; "tileCut": "tileCut"; "busy": "busy"; "queryResult": "queryResult"; "selectionChange": "selectionChange"; "itemDblClick": "itemDblClick"; "ctxMenu": "ctxMenu"; }, ["emptyContent"], ["*"], true, never>;
|
|
117
118
|
}
|