@yuuvis/client-framework 2.1.27 → 2.1.29

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuuvis/client-framework",
3
- "version": "2.1.27",
3
+ "version": "2.1.29",
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.27",
12
- "@yuuvis/client-shell-core": "^2.1.27",
11
+ "@yuuvis/client-core": "^2.1.29",
12
+ "@yuuvis/client-shell-core": "^2.1.29",
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.27",
19
+ "@yuuvis/material": "2.1.29",
20
20
  "@yuuvis/media-viewer": "^2.0.5",
21
21
  "angular-split": "^19.0.0",
22
22
  "tslib": "^2.3.0"
@@ -35,14 +35,14 @@
35
35
  "types": "./actions/index.d.ts",
36
36
  "default": "./fesm2022/yuuvis-client-framework-actions.mjs"
37
37
  },
38
- "./app-bar": {
39
- "types": "./app-bar/index.d.ts",
40
- "default": "./fesm2022/yuuvis-client-framework-app-bar.mjs"
41
- },
42
38
  "./autocomplete": {
43
39
  "types": "./autocomplete/index.d.ts",
44
40
  "default": "./fesm2022/yuuvis-client-framework-autocomplete.mjs"
45
41
  },
42
+ "./app-bar": {
43
+ "types": "./app-bar/index.d.ts",
44
+ "default": "./fesm2022/yuuvis-client-framework-app-bar.mjs"
45
+ },
46
46
  "./clipboard": {
47
47
  "types": "./clipboard/index.d.ts",
48
48
  "default": "./fesm2022/yuuvis-client-framework-clipboard.mjs"
@@ -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($event: PageEvent): void;
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
  }