@arsedizioni/ars-utils 21.1.14 → 21.1.16
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/arsedizioni-ars-utils-clipper.common.mjs +1 -0
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +25 -40
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.common.d.ts +3 -2
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +3 -7
package/package.json
CHANGED
|
@@ -31,6 +31,7 @@ declare const ClipperMessages: {
|
|
|
31
31
|
COMMAND_WORKING_ADD: string;
|
|
32
32
|
COMMAND_SEARCH_RESTORED: string;
|
|
33
33
|
COMMAND_SEARCH_EXECUTED: string;
|
|
34
|
+
COMMAND_SEARCH_EMPTY_RESULT: string;
|
|
34
35
|
COMMAND_HISTORY_OPEN: string;
|
|
35
36
|
COMMAND_DASHBOARD_UPDATED: string;
|
|
36
37
|
AI_CONCERN_ME: string;
|
|
@@ -314,7 +315,6 @@ interface ClipperDocumentRelevants {
|
|
|
314
315
|
items: ClipperDocumentAnchorInfo[];
|
|
315
316
|
hits: number;
|
|
316
317
|
hit: number;
|
|
317
|
-
minimumScore: number;
|
|
318
318
|
}
|
|
319
319
|
interface ClipperDocumentInfo {
|
|
320
320
|
id?: string;
|
|
@@ -343,7 +343,8 @@ interface ClipperDocumentInfo {
|
|
|
343
343
|
originDescription?: string;
|
|
344
344
|
author?: string;
|
|
345
345
|
anchors?: ClipperDocumentAnchorInfo[];
|
|
346
|
-
chunks?:
|
|
346
|
+
chunks?: ClipperDocumentAnchorInfo[];
|
|
347
|
+
chunksList?: string;
|
|
347
348
|
taxonomy?: string;
|
|
348
349
|
info?: string;
|
|
349
350
|
isRead?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnDestroy, ChangeDetectorRef,
|
|
2
|
+
import { OnInit, OnDestroy, ChangeDetectorRef, AfterViewInit, Signal } from '@angular/core';
|
|
3
3
|
import { MatPaginator, PageEvent } from '@angular/material/paginator';
|
|
4
4
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
5
5
|
import { ClipperService, ClipperDocumentInfo, ClipperSearchParams, ClipperQueryReferencesMode, ClipperModule, ClipperModel, ClipperSearchCalendarSnapshotMonth, ClipperSearchCalendarSnapshotResult, ClipperSearchFacetsSnapshot, ClipperSearchFacet, ClipperSearchFacetGroup, ClipperSelectionMode, ClipperSearchResult, ClipperSort, ClipperUserInfo, ClipperUserSearch, SectorInfo, ClipperDocumentRelevants, ClipperDocumentAnchorInfo } from '@arsedizioni/ars-utils/clipper.common';
|
|
@@ -262,7 +262,7 @@ declare class ClipperSearchFacetsComponent {
|
|
|
262
262
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClipperSearchFacetsComponent, "clipper-search-facets", never, { "handleTooManyResults": { "alias": "handleTooManyResults"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
declare class ClipperSearchResultManager extends ClipperDocumentManager implements OnDestroy {
|
|
265
|
+
declare class ClipperSearchResultManager extends ClipperDocumentManager implements OnInit, OnDestroy {
|
|
266
266
|
readonly paginator: _angular_core.Signal<MatPaginator>;
|
|
267
267
|
readonly facets: _angular_core.Signal<ClipperSearchFacetsComponent>;
|
|
268
268
|
readonly calendar: _angular_core.Signal<ClipperSearchCalendarComponent>;
|
|
@@ -289,6 +289,7 @@ declare class ClipperSearchResultManager extends ClipperDocumentManager implemen
|
|
|
289
289
|
protected restorableId: string | undefined;
|
|
290
290
|
protected hasFacets: _angular_core.WritableSignal<boolean>;
|
|
291
291
|
protected hasRegions: () => boolean;
|
|
292
|
+
ngOnInit(): void;
|
|
292
293
|
ngOnDestroy(): void;
|
|
293
294
|
/**
|
|
294
295
|
* Update menu buttons visibility when the menu is closed
|
|
@@ -817,11 +818,6 @@ declare class ClipperSearchResultItemComponent implements OnInit {
|
|
|
817
818
|
protected readonly displayModesEnum: typeof ClipperSearchResultItemDisplayMode;
|
|
818
819
|
protected readonly modelsEnum: typeof ClipperModel;
|
|
819
820
|
ngOnInit(): void;
|
|
820
|
-
/**
|
|
821
|
-
* Get the chunks info for the current item
|
|
822
|
-
* @returns the chunks info string or undefined
|
|
823
|
-
*/
|
|
824
|
-
protected getQueryChunks(): string | undefined;
|
|
825
821
|
/**
|
|
826
822
|
* Checks if current item is selected
|
|
827
823
|
* @returns true if current item is selected
|