@sinequa/atomic-angular 0.1.51 → 0.1.88
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/components/multi-selection-toolbar/i18n/de.json +3 -0
- package/components/multi-selection-toolbar/i18n/en.json +3 -0
- package/components/multi-selection-toolbar/i18n/fr.json +3 -0
- package/features/{sign-in → auth}/i18n/de.json +6 -0
- package/features/{sign-in → auth}/i18n/en.json +6 -0
- package/features/{sign-in → auth}/i18n/fr.json +6 -0
- package/features/bookmarks/i18n/de.json +3 -1
- package/features/bookmarks/i18n/en.json +3 -1
- package/features/bookmarks/i18n/fr.json +3 -1
- package/features/collections/i18n/fr.json +1 -0
- package/features/dialogs/i18n/de.json +2 -1
- package/features/dialogs/i18n/en.json +2 -1
- package/features/dialogs/i18n/fr.json +2 -1
- package/features/drawer/i18n/de.json +2 -1
- package/features/drawer/i18n/en.json +2 -1
- package/features/drawer/i18n/fr.json +2 -1
- package/features/filters/i18n/de.json +5 -1
- package/features/filters/i18n/en.json +5 -1
- package/features/filters/i18n/fr.json +5 -1
- package/features/searches/i18n/de.json +10 -2
- package/features/searches/i18n/en.json +10 -2
- package/features/searches/i18n/fr.json +10 -2
- package/fesm2022/sinequa-atomic-angular.mjs +5239 -4261
- package/fesm2022/sinequa-atomic-angular.mjs.map +1 -1
- package/index.d.ts +1025 -348
- package/package.json +7 -3
package/index.d.ts
CHANGED
|
@@ -4,12 +4,11 @@ import * as rxjs from 'rxjs';
|
|
|
4
4
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
5
5
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
6
6
|
import * as _sinequa_atomic from '@sinequa/atomic';
|
|
7
|
-
import { Article as Article$1, LegacyFilter, KeyOf, CCApp, Query, QueryParams, AggregationItem, TreeAggregationNode, Aggregation, TreeAggregation, Result, AuditEvents, CCQuery, AuditEventType, AuditEventTypeValues, CCWebService, Suggestion, CCColumn, Principal, SpellingCorrectionMode, CustomHighlights, PreviewData, TextLocation, TextChunk, CCSortingChoice, LinkResult, FilterOperator,
|
|
8
|
-
import * as _angular_router from '@angular/router';
|
|
7
|
+
import { Article as Article$1, LegacyFilter, KeyOf, CCApp, Query, QueryParams as QueryParams$1, AggregationItem, TreeAggregationNode, Aggregation, TreeAggregation, Result, AuditEvents, CCQuery, AuditEventType, AuditEventTypeValues, CCWebService, Suggestion, CCColumn, Principal, SpellingCorrectionMode, CustomHighlights, PreviewData, TextLocation, TextChunk, CCSortingChoice, LinkResult, FilterOperator, ExportQueryModel, ExportOutputFormat, Credentials } from '@sinequa/atomic';
|
|
9
8
|
import { Router, NavigationEnd, ActivatedRoute, CanActivateFn, ResolveFn } from '@angular/router';
|
|
10
9
|
import * as _sinequa_atomic_angular from '@sinequa/atomic-angular';
|
|
11
10
|
import * as _sinequa_ui from '@sinequa/ui';
|
|
12
|
-
import { cn, DialogService, DropdownComponent, DialogInterface, DialogComponent, DialogResult, PopoverContentComponent, PopoverComponent, DialogEvent } from '@sinequa/ui';
|
|
11
|
+
import { cn, DialogService, DropdownComponent, DialogInterface, DialogComponent, DialogResult, PopoverContentComponent, PopoverComponent, DialogEvent, DateRangePickerDirective } from '@sinequa/ui';
|
|
13
12
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
14
13
|
import { VariantProps } from 'class-variance-authority';
|
|
15
14
|
import * as _angular_common_http from '@angular/common/http';
|
|
@@ -17,9 +16,9 @@ import { HttpClient, HttpHeaders, HttpContext, HttpParams, HttpInterceptorFn, Ht
|
|
|
17
16
|
import * as _angular_forms from '@angular/forms';
|
|
18
17
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
19
18
|
import { Placement } from '@floating-ui/dom';
|
|
19
|
+
import { Title, SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
20
20
|
import { HighlightWords } from 'highlight-words';
|
|
21
21
|
import { DatePipe, DatePipeConfig } from '@angular/common';
|
|
22
|
-
import { Title, SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
23
22
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
24
23
|
import { TranslocoService } from '@jsverse/transloco';
|
|
25
24
|
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
@@ -83,17 +82,16 @@ declare class DocumentLocatorComponent implements OnDestroy {
|
|
|
83
82
|
readonly el: ElementRef<any>;
|
|
84
83
|
readonly router: Router;
|
|
85
84
|
readonly queryParamStore: {
|
|
86
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
87
85
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
88
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
89
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
90
86
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
87
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
91
88
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
92
89
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
93
90
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
94
91
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
95
92
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
96
93
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
94
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
97
95
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
98
96
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
99
97
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -107,6 +105,7 @@ declare class DocumentLocatorComponent implements OnDestroy {
|
|
|
107
105
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
108
106
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
109
107
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
108
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
110
109
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
111
110
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
112
111
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -114,6 +113,14 @@ declare class DocumentLocatorComponent implements OnDestroy {
|
|
|
114
113
|
filters?: _angular_core.Signal<LegacyFilter[] | undefined> | undefined;
|
|
115
114
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
116
115
|
setFromUrl: (url: string) => void;
|
|
116
|
+
getQueryParams: () => {
|
|
117
|
+
f?: string;
|
|
118
|
+
p?: number;
|
|
119
|
+
s?: string;
|
|
120
|
+
t?: string;
|
|
121
|
+
q?: string;
|
|
122
|
+
b?: string;
|
|
123
|
+
};
|
|
117
124
|
addFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
118
125
|
updateFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
119
126
|
removeFilter: (field?: string) => void;
|
|
@@ -129,17 +136,16 @@ declare class DocumentLocatorComponent implements OnDestroy {
|
|
|
129
136
|
}> | null;
|
|
130
137
|
getQuery: () => _sinequa_atomic.Query;
|
|
131
138
|
} & _ngrx_signals.StateSource<{
|
|
132
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
133
139
|
name?: string | undefined;
|
|
134
|
-
sort?: string | undefined;
|
|
135
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
136
140
|
text?: string | undefined;
|
|
141
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
137
142
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
138
143
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
139
144
|
page?: number | undefined;
|
|
140
145
|
pageSize?: number | undefined;
|
|
141
146
|
tab?: string | undefined;
|
|
142
147
|
scope?: string | undefined;
|
|
148
|
+
sort?: string | undefined;
|
|
143
149
|
basket?: string | undefined;
|
|
144
150
|
isFirstPage?: boolean | undefined;
|
|
145
151
|
strictRefine?: boolean | undefined;
|
|
@@ -153,6 +159,7 @@ declare class DocumentLocatorComponent implements OnDestroy {
|
|
|
153
159
|
relevanceTransforms?: string | undefined;
|
|
154
160
|
removeDuplicates?: boolean | undefined;
|
|
155
161
|
queryId?: string | undefined;
|
|
162
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
156
163
|
orderBy?: string | undefined;
|
|
157
164
|
groupBy?: string | undefined;
|
|
158
165
|
neuralSearch?: boolean | undefined;
|
|
@@ -210,11 +217,11 @@ declare class MetadataComponent {
|
|
|
210
217
|
event: Event;
|
|
211
218
|
}>;
|
|
212
219
|
class: _angular_core.InputSignal<string | undefined>;
|
|
213
|
-
variant: _angular_core.InputSignal<"default" | "
|
|
220
|
+
variant: _angular_core.InputSignal<"default" | "primary" | "secondary" | "destructive" | "ai" | "none" | "ghost" | null | undefined>;
|
|
214
221
|
decoration: _angular_core.InputSignal<"none" | "outline" | null | undefined>;
|
|
215
222
|
hover: _angular_core.InputSignal<"yes" | "no" | null | undefined>;
|
|
216
223
|
metadata: _angular_core.InputSignal<KeyOf<Article$1> | (string & Record<never, never>)>;
|
|
217
|
-
article: _angular_core.InputSignal<
|
|
224
|
+
article: _angular_core.InputSignal<(string & Record<never, never>) | Partial<Article$1>>;
|
|
218
225
|
limit: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
219
226
|
items: _angular_core.Signal<string[]>;
|
|
220
227
|
handleClick(event: Event, item: LegacyFilter): void;
|
|
@@ -225,17 +232,16 @@ declare class MetadataComponent {
|
|
|
225
232
|
declare class MissingTermsComponent {
|
|
226
233
|
readonly article: _angular_core.InputSignal<Article$1>;
|
|
227
234
|
queryParamsStore: {
|
|
228
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
229
235
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
230
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
231
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
232
236
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
237
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
233
238
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
234
239
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
235
240
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
236
241
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
237
242
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
238
243
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
244
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
239
245
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
240
246
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
241
247
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -249,6 +255,7 @@ declare class MissingTermsComponent {
|
|
|
249
255
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
250
256
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
251
257
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
258
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
252
259
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
253
260
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
254
261
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -256,6 +263,14 @@ declare class MissingTermsComponent {
|
|
|
256
263
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
257
264
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
258
265
|
setFromUrl: (url: string) => void;
|
|
266
|
+
getQueryParams: () => {
|
|
267
|
+
f?: string;
|
|
268
|
+
p?: number;
|
|
269
|
+
s?: string;
|
|
270
|
+
t?: string;
|
|
271
|
+
q?: string;
|
|
272
|
+
b?: string;
|
|
273
|
+
};
|
|
259
274
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
260
275
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
261
276
|
removeFilter: (field?: string) => void;
|
|
@@ -271,17 +286,16 @@ declare class MissingTermsComponent {
|
|
|
271
286
|
}> | null;
|
|
272
287
|
getQuery: () => _sinequa_atomic.Query;
|
|
273
288
|
} & _ngrx_signals.StateSource<{
|
|
274
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
275
289
|
name?: string | undefined;
|
|
276
|
-
sort?: string | undefined;
|
|
277
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
278
290
|
text?: string | undefined;
|
|
291
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
279
292
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
280
293
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
281
294
|
page?: number | undefined;
|
|
282
295
|
pageSize?: number | undefined;
|
|
283
296
|
tab?: string | undefined;
|
|
284
297
|
scope?: string | undefined;
|
|
298
|
+
sort?: string | undefined;
|
|
285
299
|
basket?: string | undefined;
|
|
286
300
|
isFirstPage?: boolean | undefined;
|
|
287
301
|
strictRefine?: boolean | undefined;
|
|
@@ -295,6 +309,7 @@ declare class MissingTermsComponent {
|
|
|
295
309
|
relevanceTransforms?: string | undefined;
|
|
296
310
|
removeDuplicates?: boolean | undefined;
|
|
297
311
|
queryId?: string | undefined;
|
|
312
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
298
313
|
orderBy?: string | undefined;
|
|
299
314
|
groupBy?: string | undefined;
|
|
300
315
|
neuralSearch?: boolean | undefined;
|
|
@@ -314,7 +329,7 @@ declare class MissingTermsComponent {
|
|
|
314
329
|
}
|
|
315
330
|
|
|
316
331
|
declare const multiSelectionToolbarVariants: (props?: ({
|
|
317
|
-
variant?: "
|
|
332
|
+
variant?: "dark" | "light" | "glassy" | null | undefined;
|
|
318
333
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
319
334
|
type MultiSelectionToolbarVariants = VariantProps<typeof multiSelectionToolbarVariants>;
|
|
320
335
|
declare class MultiSelectionToolbarComponent {
|
|
@@ -341,7 +356,20 @@ declare class MultiSelectionToolbarComponent {
|
|
|
341
356
|
};
|
|
342
357
|
};
|
|
343
358
|
features?: {
|
|
359
|
+
[key: string]: boolean | {
|
|
360
|
+
[key: string]: boolean | undefined;
|
|
361
|
+
} | undefined;
|
|
362
|
+
allowChangePassword?: boolean;
|
|
344
363
|
advancedSearch?: boolean;
|
|
364
|
+
allowChatDrawer?: boolean;
|
|
365
|
+
filterLinkChildren?: boolean;
|
|
366
|
+
quickFilter?: boolean;
|
|
367
|
+
assistant?: {
|
|
368
|
+
usePrefixName?: boolean;
|
|
369
|
+
};
|
|
370
|
+
filters?: {
|
|
371
|
+
homepage?: boolean;
|
|
372
|
+
};
|
|
345
373
|
};
|
|
346
374
|
} | undefined>;
|
|
347
375
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -357,13 +385,15 @@ declare class MultiSelectionToolbarComponent {
|
|
|
357
385
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
358
386
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
359
387
|
allowEmptySearch: (queryName: string) => boolean;
|
|
388
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
360
389
|
allowLabels: () => boolean;
|
|
361
390
|
getColumnAlias: (column: string) => string;
|
|
362
391
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
363
392
|
isDateColumn: (column: string) => boolean;
|
|
364
393
|
isTabSearch: (queryName: string) => boolean;
|
|
365
394
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
366
|
-
getAuthorizedFilters: (
|
|
395
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
396
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
367
397
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
368
398
|
getAggregationIcon: (column: string) => string | undefined;
|
|
369
399
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -397,29 +427,59 @@ declare class MultiSelectionToolbarComponent {
|
|
|
397
427
|
multiSelection: _sinequa_atomic.Article[];
|
|
398
428
|
}>;
|
|
399
429
|
readonly dialog: DialogService;
|
|
400
|
-
readonly appFeatures:
|
|
401
|
-
|
|
402
|
-
|
|
430
|
+
readonly appFeatures: {
|
|
431
|
+
name?: string;
|
|
432
|
+
logo?: {
|
|
433
|
+
alt?: string;
|
|
434
|
+
light?: {
|
|
435
|
+
small?: string;
|
|
436
|
+
large?: string;
|
|
437
|
+
};
|
|
438
|
+
dark?: {
|
|
439
|
+
small?: string;
|
|
440
|
+
large?: string;
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
features?: {
|
|
444
|
+
[key: string]: boolean | {
|
|
445
|
+
[key: string]: boolean | undefined;
|
|
446
|
+
} | undefined;
|
|
447
|
+
allowChangePassword?: boolean;
|
|
448
|
+
advancedSearch?: boolean;
|
|
449
|
+
allowChatDrawer?: boolean;
|
|
450
|
+
filterLinkChildren?: boolean;
|
|
451
|
+
quickFilter?: boolean;
|
|
452
|
+
assistant?: {
|
|
453
|
+
usePrefixName?: boolean;
|
|
454
|
+
};
|
|
455
|
+
filters?: {
|
|
456
|
+
homepage?: boolean;
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
} | undefined;
|
|
460
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
461
|
+
readonly variant: _angular_core.InputSignal<"dark" | "light" | "glassy" | null | undefined>;
|
|
462
|
+
readonly updatedCollections: _angular_core.OutputEmitterRef<void>;
|
|
403
463
|
readonly count: _angular_core.Signal<number>;
|
|
404
464
|
readonly variants: _angular_core.Signal<string>;
|
|
405
465
|
readonly ids: _angular_core.Signal<string[]>;
|
|
406
466
|
readonly instanceId: _angular_core.Signal<string>;
|
|
407
467
|
readonly enabledUserInput: _angular_core.Signal<boolean>;
|
|
408
468
|
clearSelection: () => void;
|
|
409
|
-
openCollectionDialog: () => Promise<
|
|
469
|
+
openCollectionDialog: () => Promise<void>;
|
|
410
470
|
openExportDialog: () => Promise<_sinequa_ui.DialogResult>;
|
|
411
471
|
attachToAssistant: () => void;
|
|
412
472
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultiSelectionToolbarComponent, never>;
|
|
413
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultiSelectionToolbarComponent, "MultiSelectionToolbar, multi-selection-toolbar", never, { "
|
|
473
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultiSelectionToolbarComponent, "MultiSelectionToolbar, multi-selection-toolbar", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "updatedCollections": "updatedCollections"; }, never, never, true, never>;
|
|
414
474
|
}
|
|
415
475
|
|
|
416
|
-
declare class DrawerStackService
|
|
417
|
-
readonly isOpened:
|
|
476
|
+
declare class DrawerStackService {
|
|
477
|
+
readonly isOpened: _angular_core.WritableSignal<boolean>;
|
|
418
478
|
readonly toggleTopDrawerExtension$: EventEmitter<void>;
|
|
419
479
|
readonly forceTopDrawerCollapse$: EventEmitter<void>;
|
|
420
480
|
readonly closeTopDrawer$: EventEmitter<void>;
|
|
421
481
|
readonly closeAllDrawers$: EventEmitter<void>;
|
|
422
|
-
readonly isChatOpened:
|
|
482
|
+
readonly isChatOpened: _angular_core.WritableSignal<boolean>;
|
|
423
483
|
readonly openChatDrawer$: EventEmitter<void>;
|
|
424
484
|
readonly closeChatDrawer$: EventEmitter<void>;
|
|
425
485
|
readonly askAI$: EventEmitter<string>;
|
|
@@ -428,10 +488,9 @@ declare class DrawerStackService implements OnDestroy {
|
|
|
428
488
|
private readonly selectionStore;
|
|
429
489
|
private readonly navigationService;
|
|
430
490
|
private readonly backdropService;
|
|
431
|
-
private readonly
|
|
491
|
+
private readonly destroyRef;
|
|
432
492
|
componentType?: Type<any>;
|
|
433
493
|
constructor();
|
|
434
|
-
ngOnDestroy(): void;
|
|
435
494
|
/**
|
|
436
495
|
* Sets current drawer stack status to open
|
|
437
496
|
*/
|
|
@@ -534,7 +593,7 @@ type SearchItem = {
|
|
|
534
593
|
label?: string;
|
|
535
594
|
filterCount?: number;
|
|
536
595
|
date: string;
|
|
537
|
-
queryParams?: QueryParams;
|
|
596
|
+
queryParams?: QueryParams$1;
|
|
538
597
|
};
|
|
539
598
|
type Basket = {
|
|
540
599
|
name: string;
|
|
@@ -550,7 +609,7 @@ type UserSettingsState = {
|
|
|
550
609
|
assistants: Record<string, unknown>;
|
|
551
610
|
collapseAssistant?: boolean;
|
|
552
611
|
language?: string;
|
|
553
|
-
|
|
612
|
+
userTheme?: 'dark' | 'light' | 'system';
|
|
554
613
|
};
|
|
555
614
|
type SearchesConfig = {
|
|
556
615
|
itemsPerPage?: number;
|
|
@@ -611,12 +670,28 @@ type CFilterItem = {
|
|
|
611
670
|
value: string;
|
|
612
671
|
icon?: string;
|
|
613
672
|
};
|
|
673
|
+
/**
|
|
674
|
+
* Represents a custom filter configuration for data display and interaction.
|
|
675
|
+
*
|
|
676
|
+
* @property name - The unique name of the filter.
|
|
677
|
+
* @property column - The associated column key for the filter.
|
|
678
|
+
* @property icon - (Optional) Icon name or path to visually represent the filter.
|
|
679
|
+
* @property display - (Optional) Display label for the filter.
|
|
680
|
+
* @property searchable - (Optional) Indicates if the filter is searchable.
|
|
681
|
+
* @property hidden - (Optional) Determines if the filter should be hidden from view.
|
|
682
|
+
* @property homepage - (Optional) Specifies if the filter is shown on the homepage.
|
|
683
|
+
* @property position - (Optional) Position of the filter, either 'left' or 'both'.
|
|
684
|
+
* @property items - (Optional) Array of filter items for multi-value or nested filters.
|
|
685
|
+
*/
|
|
614
686
|
type CFilter = {
|
|
687
|
+
name: string;
|
|
615
688
|
column: string;
|
|
616
689
|
icon?: string;
|
|
617
690
|
display?: string;
|
|
618
691
|
searchable?: boolean;
|
|
619
692
|
hidden?: boolean;
|
|
693
|
+
homepage?: boolean;
|
|
694
|
+
position?: 'left' | 'both';
|
|
620
695
|
items?: CFilterItem[];
|
|
621
696
|
};
|
|
622
697
|
type CAggregationItem = AggregationListItem & {
|
|
@@ -626,6 +701,7 @@ type CAggregation = Aggregation & {
|
|
|
626
701
|
display?: string;
|
|
627
702
|
icon?: string;
|
|
628
703
|
items?: CAggregationItem[];
|
|
704
|
+
position?: 'left' | 'both';
|
|
629
705
|
};
|
|
630
706
|
type CJ = {
|
|
631
707
|
name: string;
|
|
@@ -634,6 +710,22 @@ type CJ = {
|
|
|
634
710
|
filters?: CFilter[];
|
|
635
711
|
};
|
|
636
712
|
};
|
|
713
|
+
type CFeatures = {
|
|
714
|
+
allowChangePassword?: boolean;
|
|
715
|
+
advancedSearch?: boolean;
|
|
716
|
+
allowChatDrawer?: boolean;
|
|
717
|
+
filterLinkChildren?: boolean;
|
|
718
|
+
quickFilter?: boolean;
|
|
719
|
+
assistant?: {
|
|
720
|
+
usePrefixName?: boolean;
|
|
721
|
+
};
|
|
722
|
+
filters?: {
|
|
723
|
+
homepage?: boolean;
|
|
724
|
+
};
|
|
725
|
+
[key: string]: boolean | {
|
|
726
|
+
[key: string]: boolean | undefined;
|
|
727
|
+
} | undefined;
|
|
728
|
+
};
|
|
637
729
|
type CJsonMint = CJson & {
|
|
638
730
|
filters?: CAggregation[];
|
|
639
731
|
autocomplete?: Autocomplete;
|
|
@@ -644,10 +736,7 @@ type CJsonMint = CJson & {
|
|
|
644
736
|
}>;
|
|
645
737
|
}>;
|
|
646
738
|
sources?: CSources;
|
|
647
|
-
features?:
|
|
648
|
-
[key: string]: boolean;
|
|
649
|
-
allowChatDrawer: boolean;
|
|
650
|
-
};
|
|
739
|
+
features?: CFeatures;
|
|
651
740
|
allowAdvancedFilters?: boolean;
|
|
652
741
|
general?: {
|
|
653
742
|
name?: string;
|
|
@@ -662,9 +751,7 @@ type CJsonMint = CJson & {
|
|
|
662
751
|
large?: string;
|
|
663
752
|
};
|
|
664
753
|
};
|
|
665
|
-
features?:
|
|
666
|
-
advancedSearch?: boolean;
|
|
667
|
-
};
|
|
754
|
+
features?: CFeatures;
|
|
668
755
|
};
|
|
669
756
|
};
|
|
670
757
|
|
|
@@ -681,6 +768,7 @@ declare class QueryService {
|
|
|
681
768
|
protected readonly http: HttpClient;
|
|
682
769
|
private readonly appStore;
|
|
683
770
|
private readonly queryParamsStore;
|
|
771
|
+
private readonly transloco;
|
|
684
772
|
protected readonly API_URL: string;
|
|
685
773
|
result: Result;
|
|
686
774
|
audit?: AuditEvents;
|
|
@@ -744,7 +832,20 @@ declare class AggregationsService {
|
|
|
744
832
|
};
|
|
745
833
|
};
|
|
746
834
|
features?: {
|
|
835
|
+
[key: string]: boolean | {
|
|
836
|
+
[key: string]: boolean | undefined;
|
|
837
|
+
} | undefined;
|
|
838
|
+
allowChangePassword?: boolean;
|
|
747
839
|
advancedSearch?: boolean;
|
|
840
|
+
allowChatDrawer?: boolean;
|
|
841
|
+
filterLinkChildren?: boolean;
|
|
842
|
+
quickFilter?: boolean;
|
|
843
|
+
assistant?: {
|
|
844
|
+
usePrefixName?: boolean;
|
|
845
|
+
};
|
|
846
|
+
filters?: {
|
|
847
|
+
homepage?: boolean;
|
|
848
|
+
};
|
|
748
849
|
};
|
|
749
850
|
} | undefined>;
|
|
750
851
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -760,13 +861,15 @@ declare class AggregationsService {
|
|
|
760
861
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
761
862
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
762
863
|
allowEmptySearch: (queryName: string) => boolean;
|
|
864
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
763
865
|
allowLabels: () => boolean;
|
|
764
866
|
getColumnAlias: (column: string) => string;
|
|
765
867
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
766
868
|
isDateColumn: (column: string) => boolean;
|
|
767
869
|
isTabSearch: (queryName: string) => boolean;
|
|
768
870
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
769
|
-
getAuthorizedFilters: (
|
|
871
|
+
getAuthorizedFilters: () => Aggregation[];
|
|
872
|
+
getAuthorized: (filters: Pick<CFilter, "column" | "name">[]) => Aggregation[];
|
|
770
873
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
771
874
|
getAggregationIcon: (column: string) => string | undefined;
|
|
772
875
|
getAggregationItemsCustomization: (column: string) => CFilterItem[] | undefined;
|
|
@@ -788,17 +891,16 @@ declare class AggregationsService {
|
|
|
788
891
|
aggregations: Aggregation[];
|
|
789
892
|
}>;
|
|
790
893
|
queryParamsStore: {
|
|
791
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
792
894
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
793
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
794
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
795
895
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
896
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
796
897
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
797
898
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
798
899
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
799
900
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
800
901
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
801
902
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
903
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
802
904
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
803
905
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
804
906
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -812,6 +914,7 @@ declare class AggregationsService {
|
|
|
812
914
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
813
915
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
814
916
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
917
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
815
918
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
816
919
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
817
920
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -819,6 +922,14 @@ declare class AggregationsService {
|
|
|
819
922
|
filters?: _angular_core.Signal<LegacyFilter[] | undefined> | undefined;
|
|
820
923
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
821
924
|
setFromUrl: (url: string) => void;
|
|
925
|
+
getQueryParams: () => {
|
|
926
|
+
f?: string;
|
|
927
|
+
p?: number;
|
|
928
|
+
s?: string;
|
|
929
|
+
t?: string;
|
|
930
|
+
q?: string;
|
|
931
|
+
b?: string;
|
|
932
|
+
};
|
|
822
933
|
addFilter: (filter: LegacyFilter, audit?: AuditEvents) => void;
|
|
823
934
|
updateFilter: (filter: LegacyFilter, audit?: AuditEvents) => void;
|
|
824
935
|
removeFilter: (field?: string) => void;
|
|
@@ -834,17 +945,16 @@ declare class AggregationsService {
|
|
|
834
945
|
}> | null;
|
|
835
946
|
getQuery: () => Query;
|
|
836
947
|
} & _ngrx_signals.StateSource<{
|
|
837
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
838
948
|
name?: string | undefined;
|
|
839
|
-
sort?: string | undefined;
|
|
840
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
841
949
|
text?: string | undefined;
|
|
950
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
842
951
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
843
952
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
844
953
|
page?: number | undefined;
|
|
845
954
|
pageSize?: number | undefined;
|
|
846
955
|
tab?: string | undefined;
|
|
847
956
|
scope?: string | undefined;
|
|
957
|
+
sort?: string | undefined;
|
|
848
958
|
basket?: string | undefined;
|
|
849
959
|
isFirstPage?: boolean | undefined;
|
|
850
960
|
strictRefine?: boolean | undefined;
|
|
@@ -858,6 +968,7 @@ declare class AggregationsService {
|
|
|
858
968
|
relevanceTransforms?: string | undefined;
|
|
859
969
|
removeDuplicates?: boolean | undefined;
|
|
860
970
|
queryId?: string | undefined;
|
|
971
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
861
972
|
orderBy?: string | undefined;
|
|
862
973
|
groupBy?: string | undefined;
|
|
863
974
|
neuralSearch?: boolean | undefined;
|
|
@@ -956,7 +1067,8 @@ declare class ApplicationService {
|
|
|
956
1067
|
alerts: _angular_core.Signal<_sinequa_atomic_angular.Alert[]>;
|
|
957
1068
|
collapseAssistant?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
958
1069
|
language?: _angular_core.Signal<string | undefined> | undefined;
|
|
959
|
-
|
|
1070
|
+
userTheme: _angular_core.Signal<"dark" | "light" | "system" | undefined>;
|
|
1071
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
960
1072
|
updateBookmarks: (bookmarks: _sinequa_atomic_angular.UserSettingsState["bookmarks"], auditEvents?: _sinequa_atomic.AuditEvents) => Promise<void>;
|
|
961
1073
|
bookmark: (article: _sinequa_atomic.Article, queryName?: string) => Promise<void>;
|
|
962
1074
|
unbookmark: (id: string) => Promise<void>;
|
|
@@ -983,7 +1095,7 @@ declare class ApplicationService {
|
|
|
983
1095
|
createAlert: (alert: _sinequa_atomic_angular.Alert) => Promise<void>;
|
|
984
1096
|
updateAlert: (alert: _sinequa_atomic_angular.Alert, index: number) => Promise<void>;
|
|
985
1097
|
updateAlerts: (alerts: _sinequa_atomic_angular.Alert[]) => Promise<void>;
|
|
986
|
-
|
|
1098
|
+
setUserTheme: (userTheme: "dark" | "light" | "system") => Promise<void>;
|
|
987
1099
|
toggleDarkMode: () => Promise<void>;
|
|
988
1100
|
} & _ngrx_signals.StateSource<{
|
|
989
1101
|
bookmarks: _sinequa_atomic_angular.Bookmark[];
|
|
@@ -994,7 +1106,7 @@ declare class ApplicationService {
|
|
|
994
1106
|
alerts: _sinequa_atomic_angular.Alert[];
|
|
995
1107
|
collapseAssistant?: boolean | undefined;
|
|
996
1108
|
language?: string | undefined;
|
|
997
|
-
|
|
1109
|
+
userTheme: "dark" | "light" | "system";
|
|
998
1110
|
}>;
|
|
999
1111
|
principalStore: {
|
|
1000
1112
|
principal: _ngrx_signals.DeepSignal<_sinequa_atomic.Principal>;
|
|
@@ -1028,7 +1140,20 @@ declare class ApplicationService {
|
|
|
1028
1140
|
};
|
|
1029
1141
|
};
|
|
1030
1142
|
features?: {
|
|
1143
|
+
[key: string]: boolean | {
|
|
1144
|
+
[key: string]: boolean | undefined;
|
|
1145
|
+
} | undefined;
|
|
1146
|
+
allowChangePassword?: boolean;
|
|
1031
1147
|
advancedSearch?: boolean;
|
|
1148
|
+
allowChatDrawer?: boolean;
|
|
1149
|
+
filterLinkChildren?: boolean;
|
|
1150
|
+
quickFilter?: boolean;
|
|
1151
|
+
assistant?: {
|
|
1152
|
+
usePrefixName?: boolean;
|
|
1153
|
+
};
|
|
1154
|
+
filters?: {
|
|
1155
|
+
homepage?: boolean;
|
|
1156
|
+
};
|
|
1032
1157
|
};
|
|
1033
1158
|
} | undefined>;
|
|
1034
1159
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -1044,13 +1169,15 @@ declare class ApplicationService {
|
|
|
1044
1169
|
getQueryByIndex: (index: number) => CCQuery | undefined;
|
|
1045
1170
|
getDefaultQuery: () => CCQuery | undefined;
|
|
1046
1171
|
allowEmptySearch: (queryName: string) => boolean;
|
|
1172
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
1047
1173
|
allowLabels: () => boolean;
|
|
1048
1174
|
getColumnAlias: (column: string) => string;
|
|
1049
1175
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
1050
1176
|
isDateColumn: (column: string) => boolean;
|
|
1051
1177
|
isTabSearch: (queryName: string) => boolean;
|
|
1052
1178
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
1053
|
-
getAuthorizedFilters: (
|
|
1179
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
1180
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
1054
1181
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
1055
1182
|
getAggregationIcon: (column: string) => string | undefined;
|
|
1056
1183
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -1068,23 +1195,22 @@ declare class ApplicationService {
|
|
|
1068
1195
|
defaultComponent: _angular_core.Signal<Type<unknown> | undefined>;
|
|
1069
1196
|
defaultLayoutComponent: _angular_core.Signal<Type<unknown> | undefined>;
|
|
1070
1197
|
/**
|
|
1071
|
-
* Initializes the application and creates routes.
|
|
1198
|
+
* Initializes the application and creates routes if needed.
|
|
1072
1199
|
*
|
|
1073
1200
|
* This method performs the following actions:
|
|
1074
|
-
* 1. Calls the `
|
|
1075
|
-
* 2. Calls the `createRoutes`
|
|
1076
|
-
* 3. Notifies the audit service of a login event.
|
|
1201
|
+
* 1. Calls the `initializeStores` function to initialize all the application's stores.
|
|
1202
|
+
* 2. Calls the `createRoutes` function to set up the application routes.
|
|
1077
1203
|
*
|
|
1078
1204
|
* @returns {Promise<void>} A promise that resolves when the initialization and route creation are complete.
|
|
1079
1205
|
*/
|
|
1080
|
-
|
|
1206
|
+
initialize(withCreateRoutes?: boolean): Promise<void>;
|
|
1081
1207
|
/**
|
|
1082
|
-
* Initializes the application.
|
|
1208
|
+
* Initializes the application stores.
|
|
1083
1209
|
* - Fetches the application configuration.
|
|
1084
1210
|
* - Sets the fetched application configuration in the app store.
|
|
1085
1211
|
* - Loads the user settings and logs the state of the user settings store.
|
|
1086
1212
|
*/
|
|
1087
|
-
|
|
1213
|
+
initializeStores(): Promise<void>;
|
|
1088
1214
|
/**
|
|
1089
1215
|
* Creates dynamic routes based on the application's queries and custom JSON configurations.
|
|
1090
1216
|
*
|
|
@@ -1140,7 +1266,20 @@ declare class AuditService {
|
|
|
1140
1266
|
};
|
|
1141
1267
|
};
|
|
1142
1268
|
features?: {
|
|
1269
|
+
[key: string]: boolean | {
|
|
1270
|
+
[key: string]: boolean | undefined;
|
|
1271
|
+
} | undefined;
|
|
1272
|
+
allowChangePassword?: boolean;
|
|
1143
1273
|
advancedSearch?: boolean;
|
|
1274
|
+
allowChatDrawer?: boolean;
|
|
1275
|
+
filterLinkChildren?: boolean;
|
|
1276
|
+
quickFilter?: boolean;
|
|
1277
|
+
assistant?: {
|
|
1278
|
+
usePrefixName?: boolean;
|
|
1279
|
+
};
|
|
1280
|
+
filters?: {
|
|
1281
|
+
homepage?: boolean;
|
|
1282
|
+
};
|
|
1144
1283
|
};
|
|
1145
1284
|
} | undefined>;
|
|
1146
1285
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -1156,13 +1295,15 @@ declare class AuditService {
|
|
|
1156
1295
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
1157
1296
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
1158
1297
|
allowEmptySearch: (queryName: string) => boolean;
|
|
1298
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
1159
1299
|
allowLabels: () => boolean;
|
|
1160
1300
|
getColumnAlias: (column: string) => string;
|
|
1161
1301
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
1162
1302
|
isDateColumn: (column: string) => boolean;
|
|
1163
1303
|
isTabSearch: (queryName: string) => boolean;
|
|
1164
1304
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
1165
|
-
getAuthorizedFilters: (
|
|
1305
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
1306
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
1166
1307
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
1167
1308
|
getAggregationIcon: (column: string) => string | undefined;
|
|
1168
1309
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -1222,7 +1363,8 @@ declare class AutocompleteService {
|
|
|
1222
1363
|
alerts: _angular_core.Signal<_sinequa_atomic_angular.Alert[]>;
|
|
1223
1364
|
collapseAssistant?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
1224
1365
|
language?: _angular_core.Signal<string | undefined> | undefined;
|
|
1225
|
-
|
|
1366
|
+
userTheme: _angular_core.Signal<"dark" | "light" | "system" | undefined>;
|
|
1367
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
1226
1368
|
updateBookmarks: (bookmarks: _sinequa_atomic_angular.UserSettingsState["bookmarks"], auditEvents?: _sinequa_atomic.AuditEvents) => Promise<void>;
|
|
1227
1369
|
bookmark: (article: _sinequa_atomic.Article, queryName?: string) => Promise<void>;
|
|
1228
1370
|
unbookmark: (id: string) => Promise<void>;
|
|
@@ -1249,7 +1391,7 @@ declare class AutocompleteService {
|
|
|
1249
1391
|
createAlert: (alert: _sinequa_atomic_angular.Alert) => Promise<void>;
|
|
1250
1392
|
updateAlert: (alert: _sinequa_atomic_angular.Alert, index: number) => Promise<void>;
|
|
1251
1393
|
updateAlerts: (alerts: _sinequa_atomic_angular.Alert[]) => Promise<void>;
|
|
1252
|
-
|
|
1394
|
+
setUserTheme: (userTheme: "dark" | "light" | "system") => Promise<void>;
|
|
1253
1395
|
toggleDarkMode: () => Promise<void>;
|
|
1254
1396
|
} & _ngrx_signals.StateSource<{
|
|
1255
1397
|
bookmarks: _sinequa_atomic_angular.Bookmark[];
|
|
@@ -1260,7 +1402,7 @@ declare class AutocompleteService {
|
|
|
1260
1402
|
alerts: _sinequa_atomic_angular.Alert[];
|
|
1261
1403
|
collapseAssistant?: boolean | undefined;
|
|
1262
1404
|
language?: string | undefined;
|
|
1263
|
-
|
|
1405
|
+
userTheme: "dark" | "light" | "system";
|
|
1264
1406
|
}>;
|
|
1265
1407
|
appStore: {
|
|
1266
1408
|
webServices: _ngrx_signals.DeepSignal<{}>;
|
|
@@ -1284,7 +1426,20 @@ declare class AutocompleteService {
|
|
|
1284
1426
|
};
|
|
1285
1427
|
};
|
|
1286
1428
|
features?: {
|
|
1429
|
+
[key: string]: boolean | {
|
|
1430
|
+
[key: string]: boolean | undefined;
|
|
1431
|
+
} | undefined;
|
|
1432
|
+
allowChangePassword?: boolean;
|
|
1287
1433
|
advancedSearch?: boolean;
|
|
1434
|
+
allowChatDrawer?: boolean;
|
|
1435
|
+
filterLinkChildren?: boolean;
|
|
1436
|
+
quickFilter?: boolean;
|
|
1437
|
+
assistant?: {
|
|
1438
|
+
usePrefixName?: boolean;
|
|
1439
|
+
};
|
|
1440
|
+
filters?: {
|
|
1441
|
+
homepage?: boolean;
|
|
1442
|
+
};
|
|
1288
1443
|
};
|
|
1289
1444
|
} | undefined>;
|
|
1290
1445
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -1300,13 +1455,15 @@ declare class AutocompleteService {
|
|
|
1300
1455
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
1301
1456
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
1302
1457
|
allowEmptySearch: (queryName: string) => boolean;
|
|
1458
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
1303
1459
|
allowLabels: () => boolean;
|
|
1304
1460
|
getColumnAlias: (column: string) => string;
|
|
1305
1461
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
1306
1462
|
isDateColumn: (column: string) => boolean;
|
|
1307
1463
|
isTabSearch: (queryName: string) => boolean;
|
|
1308
1464
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
1309
|
-
getAuthorizedFilters: (
|
|
1465
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
1466
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
1310
1467
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
1311
1468
|
getAggregationIcon: (column: string) => string | undefined;
|
|
1312
1469
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -1326,7 +1483,7 @@ declare class AutocompleteService {
|
|
|
1326
1483
|
* @returns An observable of an array of {@link Suggestion} arrays grouped by
|
|
1327
1484
|
* suggestion queries configured in the admin
|
|
1328
1485
|
*/
|
|
1329
|
-
getFromSuggestQueriesForText(text: string):
|
|
1486
|
+
getFromSuggestQueriesForText(text: string): Promise<Suggestion[][]>;
|
|
1330
1487
|
/**
|
|
1331
1488
|
* Retrieves autocomplete items for the given text from the user settings
|
|
1332
1489
|
*
|
|
@@ -1469,28 +1626,26 @@ declare const AppStore: _angular_core.Type<{
|
|
|
1469
1626
|
small?: string;
|
|
1470
1627
|
large?: string;
|
|
1471
1628
|
};
|
|
1472
|
-
dark
|
|
1473
|
-
* Enhances the application store with various features and methods.
|
|
1474
|
-
*
|
|
1475
|
-
* This function integrates state management, computed properties, and methods
|
|
1476
|
-
* to interact with the CCApp state, including initialization, updates,
|
|
1477
|
-
* and retrieval of specific data such as web services, queries, and customization JSONs.
|
|
1478
|
-
*
|
|
1479
|
-
* Features:
|
|
1480
|
-
* - State management with initial data.
|
|
1481
|
-
* - Computed properties for customization JSON, sources, and filters.
|
|
1482
|
-
* - Methods for initializing and updating the application state.
|
|
1483
|
-
* - Methods for retrieving web services, labels, queries, and customization JSONs.
|
|
1484
|
-
* - Methods for retrieving aggregation icons and customization items.
|
|
1485
|
-
*
|
|
1486
|
-
* @returns The enhanced application store with additional features and methods.
|
|
1487
|
-
*/: {
|
|
1629
|
+
dark?: {
|
|
1488
1630
|
small?: string;
|
|
1489
1631
|
large?: string;
|
|
1490
1632
|
};
|
|
1491
1633
|
};
|
|
1492
1634
|
features?: {
|
|
1635
|
+
[key: string]: boolean | {
|
|
1636
|
+
[key: string]: boolean | undefined;
|
|
1637
|
+
} | undefined;
|
|
1638
|
+
allowChangePassword?: boolean;
|
|
1493
1639
|
advancedSearch?: boolean;
|
|
1640
|
+
allowChatDrawer?: boolean;
|
|
1641
|
+
filterLinkChildren?: boolean;
|
|
1642
|
+
quickFilter?: boolean;
|
|
1643
|
+
assistant?: {
|
|
1644
|
+
usePrefixName?: boolean;
|
|
1645
|
+
};
|
|
1646
|
+
filters?: {
|
|
1647
|
+
homepage?: boolean;
|
|
1648
|
+
};
|
|
1494
1649
|
};
|
|
1495
1650
|
} | undefined>;
|
|
1496
1651
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -1506,13 +1661,15 @@ declare const AppStore: _angular_core.Type<{
|
|
|
1506
1661
|
getQueryByIndex: (index: number) => CCQuery | undefined;
|
|
1507
1662
|
getDefaultQuery: () => CCQuery | undefined;
|
|
1508
1663
|
allowEmptySearch: (queryName: string) => boolean;
|
|
1664
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
1509
1665
|
allowLabels: () => boolean;
|
|
1510
1666
|
getColumnAlias: (column: string) => string;
|
|
1511
1667
|
getColumn: (column: string) => CCColumn | undefined;
|
|
1512
1668
|
isDateColumn: (column: string) => boolean;
|
|
1513
1669
|
isTabSearch: (queryName: string) => boolean;
|
|
1514
1670
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
1515
|
-
getAuthorizedFilters: (
|
|
1671
|
+
getAuthorizedFilters: () => Aggregation[];
|
|
1672
|
+
getAuthorized: (filters: Pick<CFilter, "column" | "name">[]) => Aggregation[];
|
|
1516
1673
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
1517
1674
|
getAggregationIcon: (column: string) => string | undefined;
|
|
1518
1675
|
getAggregationItemsCustomization: (column: string) => CFilterItem[] | undefined;
|
|
@@ -1546,13 +1703,15 @@ declare function withAppFeatures(): _ngrx_signals.SignalStoreFeature<_ngrx_signa
|
|
|
1546
1703
|
getQueryByIndex: (index: number) => CCQuery | undefined;
|
|
1547
1704
|
getDefaultQuery: () => CCQuery | undefined;
|
|
1548
1705
|
allowEmptySearch: (queryName: string) => boolean;
|
|
1706
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
1549
1707
|
allowLabels: () => boolean;
|
|
1550
1708
|
getColumnAlias: (column: string) => string;
|
|
1551
1709
|
getColumn: (column: string) => CCColumn | undefined;
|
|
1552
1710
|
isDateColumn: (column: string) => boolean;
|
|
1553
1711
|
isTabSearch: (queryName: string) => boolean;
|
|
1554
1712
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
1555
|
-
getAuthorizedFilters: (
|
|
1713
|
+
getAuthorizedFilters: () => Aggregation[];
|
|
1714
|
+
getAuthorized: (filters: Pick<CFilter, "column" | "name">[]) => Aggregation[];
|
|
1556
1715
|
};
|
|
1557
1716
|
}>;
|
|
1558
1717
|
/**
|
|
@@ -1575,28 +1734,26 @@ declare function withAppCustomizationFeatures(): _ngrx_signals.SignalStoreFeatur
|
|
|
1575
1734
|
small?: string;
|
|
1576
1735
|
large?: string;
|
|
1577
1736
|
};
|
|
1578
|
-
dark
|
|
1579
|
-
* Enhances the application store with various features and methods.
|
|
1580
|
-
*
|
|
1581
|
-
* This function integrates state management, computed properties, and methods
|
|
1582
|
-
* to interact with the CCApp state, including initialization, updates,
|
|
1583
|
-
* and retrieval of specific data such as web services, queries, and customization JSONs.
|
|
1584
|
-
*
|
|
1585
|
-
* Features:
|
|
1586
|
-
* - State management with initial data.
|
|
1587
|
-
* - Computed properties for customization JSON, sources, and filters.
|
|
1588
|
-
* - Methods for initializing and updating the application state.
|
|
1589
|
-
* - Methods for retrieving web services, labels, queries, and customization JSONs.
|
|
1590
|
-
* - Methods for retrieving aggregation icons and customization items.
|
|
1591
|
-
*
|
|
1592
|
-
* @returns The enhanced application store with additional features and methods.
|
|
1593
|
-
*/: {
|
|
1737
|
+
dark?: {
|
|
1594
1738
|
small?: string;
|
|
1595
1739
|
large?: string;
|
|
1596
1740
|
};
|
|
1597
1741
|
};
|
|
1598
1742
|
features?: {
|
|
1743
|
+
[key: string]: boolean | {
|
|
1744
|
+
[key: string]: boolean | undefined;
|
|
1745
|
+
} | undefined;
|
|
1746
|
+
allowChangePassword?: boolean;
|
|
1599
1747
|
advancedSearch?: boolean;
|
|
1748
|
+
allowChatDrawer?: boolean;
|
|
1749
|
+
filterLinkChildren?: boolean;
|
|
1750
|
+
quickFilter?: boolean;
|
|
1751
|
+
assistant?: {
|
|
1752
|
+
usePrefixName?: boolean;
|
|
1753
|
+
};
|
|
1754
|
+
filters?: {
|
|
1755
|
+
homepage?: boolean;
|
|
1756
|
+
};
|
|
1600
1757
|
};
|
|
1601
1758
|
} | undefined>;
|
|
1602
1759
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -1729,18 +1886,25 @@ declare function withPrincipalFeatures(): _ngrx_signals.SignalStoreFeature<_ngrx
|
|
|
1729
1886
|
};
|
|
1730
1887
|
}>;
|
|
1731
1888
|
|
|
1889
|
+
type QueryParams = {
|
|
1890
|
+
f?: string;
|
|
1891
|
+
p?: number;
|
|
1892
|
+
s?: string;
|
|
1893
|
+
t?: string;
|
|
1894
|
+
q?: string;
|
|
1895
|
+
b?: string;
|
|
1896
|
+
};
|
|
1732
1897
|
declare const QueryParamsStore: _angular_core.Type<{
|
|
1733
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
1734
1898
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
1735
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
1736
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
1737
1899
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
1900
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
1738
1901
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
1739
1902
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
1740
1903
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
1741
1904
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
1742
1905
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
1743
1906
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
1907
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
1744
1908
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
1745
1909
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
1746
1910
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -1754,6 +1918,7 @@ declare const QueryParamsStore: _angular_core.Type<{
|
|
|
1754
1918
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
1755
1919
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
1756
1920
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
1921
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
1757
1922
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
1758
1923
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
1759
1924
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -1761,13 +1926,14 @@ declare const QueryParamsStore: _angular_core.Type<{
|
|
|
1761
1926
|
filters?: _angular_core.Signal<LegacyFilter[] | undefined> | undefined;
|
|
1762
1927
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
1763
1928
|
setFromUrl: (url: string) => void;
|
|
1929
|
+
getQueryParams: () => QueryParams;
|
|
1764
1930
|
addFilter: (filter: LegacyFilter, audit?: AuditEvents) => void;
|
|
1765
1931
|
updateFilter: (filter: LegacyFilter, audit?: AuditEvents) => void;
|
|
1766
1932
|
removeFilter: (field?: string) => void;
|
|
1767
1933
|
removeFilterByName: (name?: string, column?: string) => void;
|
|
1768
1934
|
clearFilters: () => void;
|
|
1769
1935
|
clearBasket: () => void;
|
|
1770
|
-
patch: (params: Partial<QueryParams>, audit?: AuditEvents) => void;
|
|
1936
|
+
patch: (params: Partial<QueryParams$1>, audit?: AuditEvents) => void;
|
|
1771
1937
|
getFilter: ({ field, name }: {
|
|
1772
1938
|
field: string | undefined;
|
|
1773
1939
|
name: string | undefined;
|
|
@@ -1776,17 +1942,16 @@ declare const QueryParamsStore: _angular_core.Type<{
|
|
|
1776
1942
|
}> | null;
|
|
1777
1943
|
getQuery: () => _sinequa_atomic.Query;
|
|
1778
1944
|
} & _ngrx_signals.StateSource<{
|
|
1779
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
1780
1945
|
name?: string | undefined;
|
|
1781
|
-
sort?: string | undefined;
|
|
1782
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
1783
1946
|
text?: string | undefined;
|
|
1947
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
1784
1948
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
1785
1949
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
1786
1950
|
page?: number | undefined;
|
|
1787
1951
|
pageSize?: number | undefined;
|
|
1788
1952
|
tab?: string | undefined;
|
|
1789
1953
|
scope?: string | undefined;
|
|
1954
|
+
sort?: string | undefined;
|
|
1790
1955
|
basket?: string | undefined;
|
|
1791
1956
|
isFirstPage?: boolean | undefined;
|
|
1792
1957
|
strictRefine?: boolean | undefined;
|
|
@@ -1800,6 +1965,7 @@ declare const QueryParamsStore: _angular_core.Type<{
|
|
|
1800
1965
|
relevanceTransforms?: string | undefined;
|
|
1801
1966
|
removeDuplicates?: boolean | undefined;
|
|
1802
1967
|
queryId?: string | undefined;
|
|
1968
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
1803
1969
|
orderBy?: string | undefined;
|
|
1804
1970
|
groupBy?: string | undefined;
|
|
1805
1971
|
neuralSearch?: boolean | undefined;
|
|
@@ -1809,17 +1975,16 @@ declare const QueryParamsStore: _angular_core.Type<{
|
|
|
1809
1975
|
}>>;
|
|
1810
1976
|
declare function withQueryParamsFeatures(): _ngrx_signals.SignalStoreFeature<_ngrx_signals.EmptyFeatureResult, {
|
|
1811
1977
|
state: {
|
|
1812
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
1813
1978
|
name?: string | undefined;
|
|
1814
|
-
sort?: string | undefined;
|
|
1815
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
1816
1979
|
text?: string | undefined;
|
|
1980
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
1817
1981
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
1818
1982
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
1819
1983
|
page?: number | undefined;
|
|
1820
1984
|
pageSize?: number | undefined;
|
|
1821
1985
|
tab?: string | undefined;
|
|
1822
1986
|
scope?: string | undefined;
|
|
1987
|
+
sort?: string | undefined;
|
|
1823
1988
|
basket?: string | undefined;
|
|
1824
1989
|
isFirstPage?: boolean | undefined;
|
|
1825
1990
|
strictRefine?: boolean | undefined;
|
|
@@ -1833,6 +1998,7 @@ declare function withQueryParamsFeatures(): _ngrx_signals.SignalStoreFeature<_ng
|
|
|
1833
1998
|
relevanceTransforms?: string | undefined;
|
|
1834
1999
|
removeDuplicates?: boolean | undefined;
|
|
1835
2000
|
queryId?: string | undefined;
|
|
2001
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
1836
2002
|
orderBy?: string | undefined;
|
|
1837
2003
|
groupBy?: string | undefined;
|
|
1838
2004
|
neuralSearch?: boolean | undefined;
|
|
@@ -1843,14 +2009,15 @@ declare function withQueryParamsFeatures(): _ngrx_signals.SignalStoreFeature<_ng
|
|
|
1843
2009
|
computed: {};
|
|
1844
2010
|
methods: {
|
|
1845
2011
|
setFromUrl: (url: string) => void;
|
|
1846
|
-
_updateUrlQueryParams: (state: QueryParams, audit?: AuditEvents) => void;
|
|
2012
|
+
_updateUrlQueryParams: (state: QueryParams$1, audit?: AuditEvents) => void;
|
|
2013
|
+
getQueryParams: () => QueryParams;
|
|
1847
2014
|
addFilter: (filter: LegacyFilter, audit?: AuditEvents) => void;
|
|
1848
2015
|
updateFilter: (filter: LegacyFilter, audit?: AuditEvents) => void;
|
|
1849
2016
|
removeFilter: (field?: string) => void;
|
|
1850
2017
|
removeFilterByName: (name?: string, column?: string) => void;
|
|
1851
2018
|
clearFilters: () => void;
|
|
1852
2019
|
clearBasket: () => void;
|
|
1853
|
-
patch: (params: Partial<QueryParams>, audit?: AuditEvents) => void;
|
|
2020
|
+
patch: (params: Partial<QueryParams$1>, audit?: AuditEvents) => void;
|
|
1854
2021
|
getFilter: ({ field, name }: {
|
|
1855
2022
|
field: string | undefined;
|
|
1856
2023
|
name: string | undefined;
|
|
@@ -2020,7 +2187,8 @@ declare const UserSettingsStore: _angular_core.Type<{
|
|
|
2020
2187
|
alerts: _angular_core.Signal<_sinequa_atomic_angular.Alert[]>;
|
|
2021
2188
|
collapseAssistant?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
2022
2189
|
language?: _angular_core.Signal<string | undefined> | undefined;
|
|
2023
|
-
|
|
2190
|
+
userTheme: _angular_core.Signal<"dark" | "light" | "system" | undefined>;
|
|
2191
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
2024
2192
|
updateBookmarks: (bookmarks: _sinequa_atomic_angular.UserSettingsState["bookmarks"], auditEvents?: _sinequa_atomic.AuditEvents) => Promise<void>;
|
|
2025
2193
|
bookmark: (article: _sinequa_atomic.Article, queryName?: string) => Promise<void>;
|
|
2026
2194
|
unbookmark: (id: string) => Promise<void>;
|
|
@@ -2047,7 +2215,7 @@ declare const UserSettingsStore: _angular_core.Type<{
|
|
|
2047
2215
|
createAlert: (alert: _sinequa_atomic_angular.Alert) => Promise<void>;
|
|
2048
2216
|
updateAlert: (alert: _sinequa_atomic_angular.Alert, index: number) => Promise<void>;
|
|
2049
2217
|
updateAlerts: (alerts: _sinequa_atomic_angular.Alert[]) => Promise<void>;
|
|
2050
|
-
|
|
2218
|
+
setUserTheme: (userTheme: "dark" | "light" | "system") => Promise<void>;
|
|
2051
2219
|
toggleDarkMode: () => Promise<void>;
|
|
2052
2220
|
} & _ngrx_signals.StateSource<{
|
|
2053
2221
|
bookmarks: _sinequa_atomic_angular.Bookmark[];
|
|
@@ -2058,7 +2226,7 @@ declare const UserSettingsStore: _angular_core.Type<{
|
|
|
2058
2226
|
alerts: _sinequa_atomic_angular.Alert[];
|
|
2059
2227
|
collapseAssistant?: boolean | undefined;
|
|
2060
2228
|
language?: string | undefined;
|
|
2061
|
-
|
|
2229
|
+
userTheme: "dark" | "light" | "system";
|
|
2062
2230
|
}>>;
|
|
2063
2231
|
|
|
2064
2232
|
declare function withAlertsFeatures(): _ngrx_signals.SignalStoreFeature<_ngrx_signals.EmptyFeatureResult, {
|
|
@@ -2123,7 +2291,7 @@ declare function withRecentSearchesFeatures(): _ngrx_signals.SignalStoreFeature<
|
|
|
2123
2291
|
methods: {
|
|
2124
2292
|
deleteRecentSearch: (index: number) => Promise<void>;
|
|
2125
2293
|
updateRecentSearches: (recentSearches: UserSettingsState["recentSearches"], auditEvents?: AuditEvents) => Promise<void>;
|
|
2126
|
-
addCurrentSearch: (queryParams: QueryParams) => Promise<void>;
|
|
2294
|
+
addCurrentSearch: (queryParams: QueryParams$1) => Promise<void>;
|
|
2127
2295
|
};
|
|
2128
2296
|
}>;
|
|
2129
2297
|
|
|
@@ -2149,7 +2317,7 @@ declare function withUserSettingsFeatures(): _ngrx_signals.SignalStoreFeature<_n
|
|
|
2149
2317
|
assistants: Record<string, unknown>;
|
|
2150
2318
|
collapseAssistant?: boolean | undefined;
|
|
2151
2319
|
language?: string | undefined;
|
|
2152
|
-
|
|
2320
|
+
userTheme?: "dark" | "light" | "system" | undefined;
|
|
2153
2321
|
};
|
|
2154
2322
|
computed: {};
|
|
2155
2323
|
methods: {
|
|
@@ -2158,13 +2326,6 @@ declare function withUserSettingsFeatures(): _ngrx_signals.SignalStoreFeature<_n
|
|
|
2158
2326
|
};
|
|
2159
2327
|
}>;
|
|
2160
2328
|
|
|
2161
|
-
type AppFeatures = {
|
|
2162
|
-
assistant: {
|
|
2163
|
-
usePrefixName: boolean;
|
|
2164
|
-
};
|
|
2165
|
-
};
|
|
2166
|
-
declare const APP_FEATURES: InjectionToken<AppFeatures>;
|
|
2167
|
-
|
|
2168
2329
|
type PreviewHighlightName = 'company' | 'geo' | 'person' | 'extractslocations' | 'matchlocations';
|
|
2169
2330
|
type PreviewHighlight = {
|
|
2170
2331
|
name: PreviewHighlightName;
|
|
@@ -2173,6 +2334,19 @@ type PreviewHighlight = {
|
|
|
2173
2334
|
};
|
|
2174
2335
|
declare const HIGHLIGHTS: InjectionToken<PreviewHighlight[]>;
|
|
2175
2336
|
|
|
2337
|
+
/**
|
|
2338
|
+
* @deprecated use `general` configuration json instead from the app store
|
|
2339
|
+
*/
|
|
2340
|
+
type AppFeatures = {
|
|
2341
|
+
assistant: {
|
|
2342
|
+
usePrefixName: boolean;
|
|
2343
|
+
};
|
|
2344
|
+
};
|
|
2345
|
+
/**
|
|
2346
|
+
* @deprecated use `general` configuration json instead from the app store
|
|
2347
|
+
*/
|
|
2348
|
+
declare const APP_FEATURES: InjectionToken<AppFeatures>;
|
|
2349
|
+
|
|
2176
2350
|
/**
|
|
2177
2351
|
* Creates a debounced signal that updates its value after a specified timeout.
|
|
2178
2352
|
*
|
|
@@ -2325,10 +2499,31 @@ declare function signIn(): Promise<void>;
|
|
|
2325
2499
|
* @param applicationService - The service responsible for initializing the application and creating routes.
|
|
2326
2500
|
* @returns A promise that resolves when the application is ready to be initialized, regardless of success or failure.
|
|
2327
2501
|
*/
|
|
2328
|
-
declare function
|
|
2502
|
+
declare function withBootstrapApp(applicationService: ApplicationService, { createRoutes }: {
|
|
2329
2503
|
createRoutes?: boolean | undefined;
|
|
2330
2504
|
}): Promise<void>;
|
|
2331
2505
|
|
|
2506
|
+
/**
|
|
2507
|
+
* Executes an asynchronous callback function with error handling for HTTP requests.
|
|
2508
|
+
*
|
|
2509
|
+
* This utility function wraps a promise-returning callback and handles common HTTP errors,
|
|
2510
|
+
* such as 401 (Unauthorized) and 404 (Not Found). If an injector is provided and a 401 error occurs,
|
|
2511
|
+
* it can trigger additional logic (e.g., sign-in flow) within the given injection context.
|
|
2512
|
+
*
|
|
2513
|
+
* @template T The type of the value returned by the callback.
|
|
2514
|
+
* @param callback - An asynchronous function that returns a promise of type `T`.
|
|
2515
|
+
* @param injector - (Optional) An injector used to run additional logic in case of a 401 error.
|
|
2516
|
+
* @returns A promise that resolves to the result of the callback, or `undefined` if an error occurs.
|
|
2517
|
+
*
|
|
2518
|
+
* @example
|
|
2519
|
+
* import { withFetch } from '@sinequa/atomic-angular';
|
|
2520
|
+
*
|
|
2521
|
+
* async function fetchData() {
|
|
2522
|
+
* return await withFetch(() => fetch('/api/data').then(res => res.json()), injector);
|
|
2523
|
+
* }
|
|
2524
|
+
*/
|
|
2525
|
+
declare function withFetch<T>(callback: () => Promise<T>, injector?: any): Promise<T | undefined>;
|
|
2526
|
+
|
|
2332
2527
|
declare const PREVIEW_CONFIG: InjectionToken<{
|
|
2333
2528
|
allowWorker: boolean;
|
|
2334
2529
|
}>;
|
|
@@ -2373,17 +2568,16 @@ declare class PreviewService {
|
|
|
2373
2568
|
multiSelection: Article$1[];
|
|
2374
2569
|
}>;
|
|
2375
2570
|
protected readonly queryParamsStore: {
|
|
2376
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
2377
2571
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
2378
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
2379
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
2380
2572
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
2573
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
2381
2574
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
2382
2575
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
2383
2576
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
2384
2577
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
2385
2578
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
2386
2579
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
2580
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
2387
2581
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
2388
2582
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
2389
2583
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -2397,6 +2591,7 @@ declare class PreviewService {
|
|
|
2397
2591
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
2398
2592
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
2399
2593
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
2594
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
2400
2595
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
2401
2596
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
2402
2597
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -2404,6 +2599,14 @@ declare class PreviewService {
|
|
|
2404
2599
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
2405
2600
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
2406
2601
|
setFromUrl: (url: string) => void;
|
|
2602
|
+
getQueryParams: () => {
|
|
2603
|
+
f?: string;
|
|
2604
|
+
p?: number;
|
|
2605
|
+
s?: string;
|
|
2606
|
+
t?: string;
|
|
2607
|
+
q?: string;
|
|
2608
|
+
b?: string;
|
|
2609
|
+
};
|
|
2407
2610
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: AuditEvents) => void;
|
|
2408
2611
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: AuditEvents) => void;
|
|
2409
2612
|
removeFilter: (field?: string) => void;
|
|
@@ -2419,17 +2622,16 @@ declare class PreviewService {
|
|
|
2419
2622
|
}> | null;
|
|
2420
2623
|
getQuery: () => Query;
|
|
2421
2624
|
} & _ngrx_signals.StateSource<{
|
|
2422
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
2423
2625
|
name?: string | undefined;
|
|
2424
|
-
sort?: string | undefined;
|
|
2425
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
2426
2626
|
text?: string | undefined;
|
|
2627
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
2427
2628
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
2428
2629
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
2429
2630
|
page?: number | undefined;
|
|
2430
2631
|
pageSize?: number | undefined;
|
|
2431
2632
|
tab?: string | undefined;
|
|
2432
2633
|
scope?: string | undefined;
|
|
2634
|
+
sort?: string | undefined;
|
|
2433
2635
|
basket?: string | undefined;
|
|
2434
2636
|
isFirstPage?: boolean | undefined;
|
|
2435
2637
|
strictRefine?: boolean | undefined;
|
|
@@ -2443,6 +2645,7 @@ declare class PreviewService {
|
|
|
2443
2645
|
relevanceTransforms?: string | undefined;
|
|
2444
2646
|
removeDuplicates?: boolean | undefined;
|
|
2445
2647
|
queryId?: string | undefined;
|
|
2648
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
2446
2649
|
orderBy?: string | undefined;
|
|
2447
2650
|
groupBy?: string | undefined;
|
|
2448
2651
|
neuralSearch?: boolean | undefined;
|
|
@@ -2472,7 +2675,20 @@ declare class PreviewService {
|
|
|
2472
2675
|
};
|
|
2473
2676
|
};
|
|
2474
2677
|
features?: {
|
|
2678
|
+
[key: string]: boolean | {
|
|
2679
|
+
[key: string]: boolean | undefined;
|
|
2680
|
+
} | undefined;
|
|
2681
|
+
allowChangePassword?: boolean;
|
|
2475
2682
|
advancedSearch?: boolean;
|
|
2683
|
+
allowChatDrawer?: boolean;
|
|
2684
|
+
filterLinkChildren?: boolean;
|
|
2685
|
+
quickFilter?: boolean;
|
|
2686
|
+
assistant?: {
|
|
2687
|
+
usePrefixName?: boolean;
|
|
2688
|
+
};
|
|
2689
|
+
filters?: {
|
|
2690
|
+
homepage?: boolean;
|
|
2691
|
+
};
|
|
2476
2692
|
};
|
|
2477
2693
|
} | undefined>;
|
|
2478
2694
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -2488,13 +2704,15 @@ declare class PreviewService {
|
|
|
2488
2704
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
2489
2705
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
2490
2706
|
allowEmptySearch: (queryName: string) => boolean;
|
|
2707
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
2491
2708
|
allowLabels: () => boolean;
|
|
2492
2709
|
getColumnAlias: (column: string) => string;
|
|
2493
2710
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
2494
2711
|
isDateColumn: (column: string) => boolean;
|
|
2495
2712
|
isTabSearch: (queryName: string) => boolean;
|
|
2496
2713
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
2497
|
-
getAuthorizedFilters: (
|
|
2714
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
2715
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
2498
2716
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
2499
2717
|
getAggregationIcon: (column: string) => string | undefined;
|
|
2500
2718
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -2509,6 +2727,8 @@ declare class PreviewService {
|
|
|
2509
2727
|
protected readonly sanitizer: DomSanitizer;
|
|
2510
2728
|
protected readonly queryService: QueryService;
|
|
2511
2729
|
protected readonly auditService: AuditService;
|
|
2730
|
+
readonly totalPages: _angular_core.WritableSignal<number>;
|
|
2731
|
+
readonly currentPage: _angular_core.WritableSignal<number>;
|
|
2512
2732
|
events: _angular_core.WritableSignal<PreviewEvents>;
|
|
2513
2733
|
DOMContentLoaded: _angular_core.WritableSignal<boolean>;
|
|
2514
2734
|
onMessage: Subject<unknown>;
|
|
@@ -2605,6 +2825,13 @@ declare class PreviewService {
|
|
|
2605
2825
|
* with the specified action type.
|
|
2606
2826
|
*/
|
|
2607
2827
|
zoomIn(): void;
|
|
2828
|
+
/**
|
|
2829
|
+
* Sends a message to fit content to container.
|
|
2830
|
+
*
|
|
2831
|
+
* This method triggers a "zoom-fit" action by sending a message
|
|
2832
|
+
* with the specified action type.
|
|
2833
|
+
*/
|
|
2834
|
+
zoomFit(): void;
|
|
2608
2835
|
/**
|
|
2609
2836
|
* Sends a message to zoom out the preview.
|
|
2610
2837
|
*
|
|
@@ -2634,6 +2861,11 @@ declare class PreviewService {
|
|
|
2634
2861
|
};
|
|
2635
2862
|
private fetchExtracts;
|
|
2636
2863
|
private updateHighlightsFromWebServiceConfiguration;
|
|
2864
|
+
gotoPage(page: number): void;
|
|
2865
|
+
nextPage(): void;
|
|
2866
|
+
prevPage(): void;
|
|
2867
|
+
firstPage(): void;
|
|
2868
|
+
lastPage(): void;
|
|
2637
2869
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PreviewService, never>;
|
|
2638
2870
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PreviewService>;
|
|
2639
2871
|
}
|
|
@@ -2673,7 +2905,8 @@ declare class SavedSearchesService {
|
|
|
2673
2905
|
alerts: _angular_core.Signal<_sinequa_atomic_angular.Alert[]>;
|
|
2674
2906
|
collapseAssistant?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
2675
2907
|
language?: _angular_core.Signal<string | undefined> | undefined;
|
|
2676
|
-
|
|
2908
|
+
userTheme: _angular_core.Signal<"dark" | "light" | "system" | undefined>;
|
|
2909
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
2677
2910
|
updateBookmarks: (bookmarks: _sinequa_atomic_angular.UserSettingsState["bookmarks"], auditEvents?: _sinequa_atomic.AuditEvents) => Promise<void>;
|
|
2678
2911
|
bookmark: (article: _sinequa_atomic.Article, queryName?: string) => Promise<void>;
|
|
2679
2912
|
unbookmark: (id: string) => Promise<void>;
|
|
@@ -2700,7 +2933,7 @@ declare class SavedSearchesService {
|
|
|
2700
2933
|
createAlert: (alert: _sinequa_atomic_angular.Alert) => Promise<void>;
|
|
2701
2934
|
updateAlert: (alert: _sinequa_atomic_angular.Alert, index: number) => Promise<void>;
|
|
2702
2935
|
updateAlerts: (alerts: _sinequa_atomic_angular.Alert[]) => Promise<void>;
|
|
2703
|
-
|
|
2936
|
+
setUserTheme: (userTheme: "dark" | "light" | "system") => Promise<void>;
|
|
2704
2937
|
toggleDarkMode: () => Promise<void>;
|
|
2705
2938
|
} & _ngrx_signals.StateSource<{
|
|
2706
2939
|
bookmarks: _sinequa_atomic_angular.Bookmark[];
|
|
@@ -2711,20 +2944,19 @@ declare class SavedSearchesService {
|
|
|
2711
2944
|
alerts: _sinequa_atomic_angular.Alert[];
|
|
2712
2945
|
collapseAssistant?: boolean | undefined;
|
|
2713
2946
|
language?: string | undefined;
|
|
2714
|
-
|
|
2947
|
+
userTheme: "dark" | "light" | "system";
|
|
2715
2948
|
}>;
|
|
2716
2949
|
protected readonly queryParamsStore: {
|
|
2717
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
2718
2950
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
2719
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
2720
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
2721
2951
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
2952
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
2722
2953
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
2723
2954
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
2724
2955
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
2725
2956
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
2726
2957
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
2727
2958
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
2959
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
2728
2960
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
2729
2961
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
2730
2962
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -2738,6 +2970,7 @@ declare class SavedSearchesService {
|
|
|
2738
2970
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
2739
2971
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
2740
2972
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
2973
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
2741
2974
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
2742
2975
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
2743
2976
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -2745,6 +2978,14 @@ declare class SavedSearchesService {
|
|
|
2745
2978
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
2746
2979
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
2747
2980
|
setFromUrl: (url: string) => void;
|
|
2981
|
+
getQueryParams: () => {
|
|
2982
|
+
f?: string;
|
|
2983
|
+
p?: number;
|
|
2984
|
+
s?: string;
|
|
2985
|
+
t?: string;
|
|
2986
|
+
q?: string;
|
|
2987
|
+
b?: string;
|
|
2988
|
+
};
|
|
2748
2989
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
2749
2990
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
2750
2991
|
removeFilter: (field?: string) => void;
|
|
@@ -2760,17 +3001,16 @@ declare class SavedSearchesService {
|
|
|
2760
3001
|
}> | null;
|
|
2761
3002
|
getQuery: () => _sinequa_atomic.Query;
|
|
2762
3003
|
} & _ngrx_signals.StateSource<{
|
|
2763
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
2764
3004
|
name?: string | undefined;
|
|
2765
|
-
sort?: string | undefined;
|
|
2766
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
2767
3005
|
text?: string | undefined;
|
|
3006
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
2768
3007
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
2769
3008
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
2770
3009
|
page?: number | undefined;
|
|
2771
3010
|
pageSize?: number | undefined;
|
|
2772
3011
|
tab?: string | undefined;
|
|
2773
3012
|
scope?: string | undefined;
|
|
3013
|
+
sort?: string | undefined;
|
|
2774
3014
|
basket?: string | undefined;
|
|
2775
3015
|
isFirstPage?: boolean | undefined;
|
|
2776
3016
|
strictRefine?: boolean | undefined;
|
|
@@ -2784,6 +3024,7 @@ declare class SavedSearchesService {
|
|
|
2784
3024
|
relevanceTransforms?: string | undefined;
|
|
2785
3025
|
removeDuplicates?: boolean | undefined;
|
|
2786
3026
|
queryId?: string | undefined;
|
|
3027
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
2787
3028
|
orderBy?: string | undefined;
|
|
2788
3029
|
groupBy?: string | undefined;
|
|
2789
3030
|
neuralSearch?: boolean | undefined;
|
|
@@ -2846,17 +3087,16 @@ declare class SearchService {
|
|
|
2846
3087
|
result: Result;
|
|
2847
3088
|
audit?: AuditEvents;
|
|
2848
3089
|
protected readonly queryParamsStore: {
|
|
2849
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
2850
3090
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
2851
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
2852
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
2853
3091
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
3092
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
2854
3093
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
2855
3094
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
2856
3095
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
2857
3096
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
2858
3097
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
2859
3098
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
3099
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
2860
3100
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
2861
3101
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
2862
3102
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -2870,6 +3110,7 @@ declare class SearchService {
|
|
|
2870
3110
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
2871
3111
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
2872
3112
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
3113
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
2873
3114
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
2874
3115
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
2875
3116
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -2877,6 +3118,14 @@ declare class SearchService {
|
|
|
2877
3118
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
2878
3119
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
2879
3120
|
setFromUrl: (url: string) => void;
|
|
3121
|
+
getQueryParams: () => {
|
|
3122
|
+
f?: string;
|
|
3123
|
+
p?: number;
|
|
3124
|
+
s?: string;
|
|
3125
|
+
t?: string;
|
|
3126
|
+
q?: string;
|
|
3127
|
+
b?: string;
|
|
3128
|
+
};
|
|
2880
3129
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: AuditEvents) => void;
|
|
2881
3130
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: AuditEvents) => void;
|
|
2882
3131
|
removeFilter: (field?: string) => void;
|
|
@@ -2892,17 +3141,16 @@ declare class SearchService {
|
|
|
2892
3141
|
}> | null;
|
|
2893
3142
|
getQuery: () => Query;
|
|
2894
3143
|
} & _ngrx_signals.StateSource<{
|
|
2895
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
2896
3144
|
name?: string | undefined;
|
|
2897
|
-
sort?: string | undefined;
|
|
2898
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
2899
3145
|
text?: string | undefined;
|
|
3146
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
2900
3147
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
2901
3148
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
2902
3149
|
page?: number | undefined;
|
|
2903
3150
|
pageSize?: number | undefined;
|
|
2904
3151
|
tab?: string | undefined;
|
|
2905
3152
|
scope?: string | undefined;
|
|
3153
|
+
sort?: string | undefined;
|
|
2906
3154
|
basket?: string | undefined;
|
|
2907
3155
|
isFirstPage?: boolean | undefined;
|
|
2908
3156
|
strictRefine?: boolean | undefined;
|
|
@@ -2916,6 +3164,7 @@ declare class SearchService {
|
|
|
2916
3164
|
relevanceTransforms?: string | undefined;
|
|
2917
3165
|
removeDuplicates?: boolean | undefined;
|
|
2918
3166
|
queryId?: string | undefined;
|
|
3167
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
2919
3168
|
orderBy?: string | undefined;
|
|
2920
3169
|
groupBy?: string | undefined;
|
|
2921
3170
|
neuralSearch?: boolean | undefined;
|
|
@@ -2932,7 +3181,8 @@ declare class SearchService {
|
|
|
2932
3181
|
alerts: _angular_core.Signal<_sinequa_atomic_angular.Alert[]>;
|
|
2933
3182
|
collapseAssistant?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
2934
3183
|
language?: _angular_core.Signal<string | undefined> | undefined;
|
|
2935
|
-
|
|
3184
|
+
userTheme: _angular_core.Signal<"dark" | "light" | "system" | undefined>;
|
|
3185
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
2936
3186
|
updateBookmarks: (bookmarks: _sinequa_atomic_angular.UserSettingsState["bookmarks"], auditEvents?: AuditEvents) => Promise<void>;
|
|
2937
3187
|
bookmark: (article: _sinequa_atomic.Article, queryName?: string) => Promise<void>;
|
|
2938
3188
|
unbookmark: (id: string) => Promise<void>;
|
|
@@ -2959,7 +3209,7 @@ declare class SearchService {
|
|
|
2959
3209
|
createAlert: (alert: _sinequa_atomic_angular.Alert) => Promise<void>;
|
|
2960
3210
|
updateAlert: (alert: _sinequa_atomic_angular.Alert, index: number) => Promise<void>;
|
|
2961
3211
|
updateAlerts: (alerts: _sinequa_atomic_angular.Alert[]) => Promise<void>;
|
|
2962
|
-
|
|
3212
|
+
setUserTheme: (userTheme: "dark" | "light" | "system") => Promise<void>;
|
|
2963
3213
|
toggleDarkMode: () => Promise<void>;
|
|
2964
3214
|
} & _ngrx_signals.StateSource<{
|
|
2965
3215
|
bookmarks: _sinequa_atomic_angular.Bookmark[];
|
|
@@ -2970,7 +3220,7 @@ declare class SearchService {
|
|
|
2970
3220
|
alerts: _sinequa_atomic_angular.Alert[];
|
|
2971
3221
|
collapseAssistant?: boolean | undefined;
|
|
2972
3222
|
language?: string | undefined;
|
|
2973
|
-
|
|
3223
|
+
userTheme: "dark" | "light" | "system";
|
|
2974
3224
|
}>;
|
|
2975
3225
|
protected readonly injector: Injector;
|
|
2976
3226
|
protected readonly API_URL: string;
|
|
@@ -3071,17 +3321,16 @@ declare class SelectionService {
|
|
|
3071
3321
|
private readonly location;
|
|
3072
3322
|
private readonly selectionStore;
|
|
3073
3323
|
queryParamsStore: {
|
|
3074
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
3075
3324
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
3076
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
3077
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
3078
3325
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
3326
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
3079
3327
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
3080
3328
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
3081
3329
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
3082
3330
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
3083
3331
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
3084
3332
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
3333
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
3085
3334
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
3086
3335
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
3087
3336
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -3095,6 +3344,7 @@ declare class SelectionService {
|
|
|
3095
3344
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
3096
3345
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
3097
3346
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
3347
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
3098
3348
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
3099
3349
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
3100
3350
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -3102,6 +3352,14 @@ declare class SelectionService {
|
|
|
3102
3352
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
3103
3353
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
3104
3354
|
setFromUrl: (url: string) => void;
|
|
3355
|
+
getQueryParams: () => {
|
|
3356
|
+
f?: string;
|
|
3357
|
+
p?: number;
|
|
3358
|
+
s?: string;
|
|
3359
|
+
t?: string;
|
|
3360
|
+
q?: string;
|
|
3361
|
+
b?: string;
|
|
3362
|
+
};
|
|
3105
3363
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
3106
3364
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
3107
3365
|
removeFilter: (field?: string) => void;
|
|
@@ -3117,17 +3375,16 @@ declare class SelectionService {
|
|
|
3117
3375
|
}> | null;
|
|
3118
3376
|
getQuery: () => _sinequa_atomic.Query;
|
|
3119
3377
|
} & _ngrx_signals.StateSource<{
|
|
3120
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
3121
3378
|
name?: string | undefined;
|
|
3122
|
-
sort?: string | undefined;
|
|
3123
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
3124
3379
|
text?: string | undefined;
|
|
3380
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
3125
3381
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
3126
3382
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
3127
3383
|
page?: number | undefined;
|
|
3128
3384
|
pageSize?: number | undefined;
|
|
3129
3385
|
tab?: string | undefined;
|
|
3130
3386
|
scope?: string | undefined;
|
|
3387
|
+
sort?: string | undefined;
|
|
3131
3388
|
basket?: string | undefined;
|
|
3132
3389
|
isFirstPage?: boolean | undefined;
|
|
3133
3390
|
strictRefine?: boolean | undefined;
|
|
@@ -3141,6 +3398,7 @@ declare class SelectionService {
|
|
|
3141
3398
|
relevanceTransforms?: string | undefined;
|
|
3142
3399
|
removeDuplicates?: boolean | undefined;
|
|
3143
3400
|
queryId?: string | undefined;
|
|
3401
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
3144
3402
|
orderBy?: string | undefined;
|
|
3145
3403
|
groupBy?: string | undefined;
|
|
3146
3404
|
neuralSearch?: boolean | undefined;
|
|
@@ -3223,19 +3481,18 @@ declare class NavbarTabsComponent {
|
|
|
3223
3481
|
readonly router: Router;
|
|
3224
3482
|
readonly route: ActivatedRoute;
|
|
3225
3483
|
readonly drawerStack: DrawerStackService;
|
|
3226
|
-
readonly drawerOpened: _angular_core.
|
|
3484
|
+
readonly drawerOpened: _angular_core.Signal<boolean>;
|
|
3227
3485
|
readonly queryParamsStore: {
|
|
3228
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
3229
3486
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
3230
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
3231
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
3232
3487
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
3488
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
3233
3489
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
3234
3490
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
3235
3491
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
3236
3492
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
3237
3493
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
3238
3494
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
3495
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
3239
3496
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
3240
3497
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
3241
3498
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -3249,6 +3506,7 @@ declare class NavbarTabsComponent {
|
|
|
3249
3506
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
3250
3507
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
3251
3508
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
3509
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
3252
3510
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
3253
3511
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
3254
3512
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -3256,6 +3514,14 @@ declare class NavbarTabsComponent {
|
|
|
3256
3514
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
3257
3515
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
3258
3516
|
setFromUrl: (url: string) => void;
|
|
3517
|
+
getQueryParams: () => {
|
|
3518
|
+
f?: string;
|
|
3519
|
+
p?: number;
|
|
3520
|
+
s?: string;
|
|
3521
|
+
t?: string;
|
|
3522
|
+
q?: string;
|
|
3523
|
+
b?: string;
|
|
3524
|
+
};
|
|
3259
3525
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
3260
3526
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
3261
3527
|
removeFilter: (field?: string) => void;
|
|
@@ -3271,17 +3537,16 @@ declare class NavbarTabsComponent {
|
|
|
3271
3537
|
}> | null;
|
|
3272
3538
|
getQuery: () => _sinequa_atomic.Query;
|
|
3273
3539
|
} & _ngrx_signals.StateSource<{
|
|
3274
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
3275
3540
|
name?: string | undefined;
|
|
3276
|
-
sort?: string | undefined;
|
|
3277
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
3278
3541
|
text?: string | undefined;
|
|
3542
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
3279
3543
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
3280
3544
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
3281
3545
|
page?: number | undefined;
|
|
3282
3546
|
pageSize?: number | undefined;
|
|
3283
3547
|
tab?: string | undefined;
|
|
3284
3548
|
scope?: string | undefined;
|
|
3549
|
+
sort?: string | undefined;
|
|
3285
3550
|
basket?: string | undefined;
|
|
3286
3551
|
isFirstPage?: boolean | undefined;
|
|
3287
3552
|
strictRefine?: boolean | undefined;
|
|
@@ -3295,6 +3560,7 @@ declare class NavbarTabsComponent {
|
|
|
3295
3560
|
relevanceTransforms?: string | undefined;
|
|
3296
3561
|
removeDuplicates?: boolean | undefined;
|
|
3297
3562
|
queryId?: string | undefined;
|
|
3563
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
3298
3564
|
orderBy?: string | undefined;
|
|
3299
3565
|
groupBy?: string | undefined;
|
|
3300
3566
|
neuralSearch?: boolean | undefined;
|
|
@@ -3317,7 +3583,6 @@ declare class NavbarTabsComponent {
|
|
|
3317
3583
|
readonly tabs: _angular_core.Signal<NavbarTab[]>;
|
|
3318
3584
|
readonly moreTabs: _angular_core.Signal<NavbarTab[]>;
|
|
3319
3585
|
protected changeTab(tab: NavbarTab): void;
|
|
3320
|
-
constructor();
|
|
3321
3586
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavbarTabsComponent, never>;
|
|
3322
3587
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavbarTabsComponent, "navbar-tabs", never, { "showCount": { "alias": "showCount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3323
3588
|
}
|
|
@@ -3613,18 +3878,20 @@ declare class OverflowManagerDirective {
|
|
|
3613
3878
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OverflowManagerDirective, "[overflowManager]", never, { "target": { "alias": "target"; "required": false; "isSignal": true; }; "margin": { "alias": "margin"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; }, { "count": "count"; }, ["items", "stop"], never, true, never>;
|
|
3614
3879
|
}
|
|
3615
3880
|
|
|
3616
|
-
type SelectionStrategy = 'replace' | 'stack';
|
|
3881
|
+
type SelectionStrategy = 'replace' | 'stack' | 'redirect';
|
|
3617
3882
|
/**
|
|
3618
3883
|
* Directive that selects an article on click.
|
|
3619
3884
|
*/
|
|
3620
3885
|
declare class SelectArticleOnClickDirective {
|
|
3621
3886
|
private readonly drawerStack;
|
|
3887
|
+
private readonly router;
|
|
3622
3888
|
readonly article: _angular_core.InputSignal<Partial<Article$1> | undefined>;
|
|
3623
3889
|
readonly strategy: _angular_core.InputSignal<SelectionStrategy>;
|
|
3890
|
+
readonly redirectUrl: _angular_core.InputSignal<string>;
|
|
3624
3891
|
onEnter(e: Event): void;
|
|
3625
3892
|
onClick(): void;
|
|
3626
3893
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectArticleOnClickDirective, never>;
|
|
3627
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SelectArticleOnClickDirective, "[selectArticleOnClick]", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; "strategy": { "alias": "strategy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3894
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SelectArticleOnClickDirective, "[selectArticleOnClick]", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; "strategy": { "alias": "strategy"; "required": false; "isSignal": true; }; "redirectUrl": { "alias": "redirectUrl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3628
3895
|
}
|
|
3629
3896
|
|
|
3630
3897
|
/**
|
|
@@ -3652,7 +3919,8 @@ declare class ShowBookmarkDirective {
|
|
|
3652
3919
|
alerts: _angular_core.Signal<_sinequa_atomic_angular.Alert[]>;
|
|
3653
3920
|
collapseAssistant?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
3654
3921
|
language?: _angular_core.Signal<string | undefined> | undefined;
|
|
3655
|
-
|
|
3922
|
+
userTheme: _angular_core.Signal<"dark" | "light" | "system" | undefined>;
|
|
3923
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
3656
3924
|
updateBookmarks: (bookmarks: _sinequa_atomic_angular.UserSettingsState["bookmarks"], auditEvents?: _sinequa_atomic.AuditEvents) => Promise<void>;
|
|
3657
3925
|
bookmark: (article: Article$1, queryName?: string) => Promise<void>;
|
|
3658
3926
|
unbookmark: (id: string) => Promise<void>;
|
|
@@ -3679,7 +3947,7 @@ declare class ShowBookmarkDirective {
|
|
|
3679
3947
|
createAlert: (alert: _sinequa_atomic_angular.Alert) => Promise<void>;
|
|
3680
3948
|
updateAlert: (alert: _sinequa_atomic_angular.Alert, index: number) => Promise<void>;
|
|
3681
3949
|
updateAlerts: (alerts: _sinequa_atomic_angular.Alert[]) => Promise<void>;
|
|
3682
|
-
|
|
3950
|
+
setUserTheme: (userTheme: "dark" | "light" | "system") => Promise<void>;
|
|
3683
3951
|
toggleDarkMode: () => Promise<void>;
|
|
3684
3952
|
} & _ngrx_signals.StateSource<{
|
|
3685
3953
|
bookmarks: _sinequa_atomic_angular.Bookmark[];
|
|
@@ -3690,7 +3958,7 @@ declare class ShowBookmarkDirective {
|
|
|
3690
3958
|
alerts: _sinequa_atomic_angular.Alert[];
|
|
3691
3959
|
collapseAssistant?: boolean | undefined;
|
|
3692
3960
|
language?: string | undefined;
|
|
3693
|
-
|
|
3961
|
+
userTheme: "dark" | "light" | "system";
|
|
3694
3962
|
}>;
|
|
3695
3963
|
protected isBookmarked: _angular_core.Signal<boolean>;
|
|
3696
3964
|
readonly article: _angular_core.InputSignal<Article$1 | Partial<Article$1> | undefined>;
|
|
@@ -3739,11 +4007,20 @@ declare class ChildMarkerDirective {
|
|
|
3739
4007
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChildMarkerDirective, "[childMarker]", never, {}, {}, never, never, true, never>;
|
|
3740
4008
|
}
|
|
3741
4009
|
|
|
4010
|
+
/**
|
|
4011
|
+
* @deprecated use searchVariants from @sinequa/ui instead
|
|
4012
|
+
*/
|
|
3742
4013
|
declare const searchVariants: (props?: ({
|
|
3743
4014
|
variant?: "default" | "primary" | "secondary" | "destructive" | "ai" | null | undefined;
|
|
3744
4015
|
decoration?: "none" | "outline" | null | undefined;
|
|
3745
4016
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4017
|
+
/**
|
|
4018
|
+
* @deprecated use SearchVariants from @sinequa/ui instead
|
|
4019
|
+
*/
|
|
3746
4020
|
type SearchVariants = VariantProps<typeof searchVariants>;
|
|
4021
|
+
/**
|
|
4022
|
+
* @deprecated Use SearchInputComponent from @sinequa/ui instead.
|
|
4023
|
+
*/
|
|
3747
4024
|
declare class SearchInputComponent {
|
|
3748
4025
|
cn: typeof cn;
|
|
3749
4026
|
searchInput: _angular_core.Signal<ElementRef<any>>;
|
|
@@ -3781,7 +4058,16 @@ declare class SearchInputComponent {
|
|
|
3781
4058
|
onInput(event: Event): void;
|
|
3782
4059
|
clearSearch(e: Event): void;
|
|
3783
4060
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchInputComponent, never>;
|
|
3784
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchInputComponent, "SearchInput", never, { "control": { "alias": "control"; "required": true; "isSignal": true; }; "controls": { "alias": "controls"; "required": true; "isSignal": true; }; "keyboardNavigatorOptions": { "alias": "keyboardNavigatorOptions"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "hotkey": { "alias": "hotkey"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "decoration": { "alias": "decoration"; "required": false; "isSignal": true; }; }, { "onSelected": "onSelected"; }, never, ["*"], true, never>;
|
|
4061
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchInputComponent, "SearchInput", never, { "control": { "alias": "control"; "required": true; "isSignal": true; }; "controls": { "alias": "controls"; "required": true; "isSignal": true; }; "keyboardNavigatorOptions": { "alias": "keyboardNavigatorOptions"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "hotkey": { "alias": "hotkey"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "decoration": { "alias": "decoration"; "required": false; "isSignal": true; }; }, { "onSelected": "onSelected"; }, never, ["*", "SearchInputFooter"], true, never>;
|
|
4062
|
+
}
|
|
4063
|
+
/**
|
|
4064
|
+
* @deprecated Use SearchInputFooter from @sinequa/ui instead.
|
|
4065
|
+
*/
|
|
4066
|
+
declare class SearchInputFooter {
|
|
4067
|
+
class: _angular_core.InputSignal<string | undefined>;
|
|
4068
|
+
variants: _angular_core.Signal<string>;
|
|
4069
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchInputFooter, never>;
|
|
4070
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SearchInputFooter, ".search-input-footer, search-input-footer, SearchInputFooter, searchinputfooter", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3785
4071
|
}
|
|
3786
4072
|
|
|
3787
4073
|
type SortingChoice = CCSortingChoice & {
|
|
@@ -3814,7 +4100,20 @@ declare class SortSelectorComponent {
|
|
|
3814
4100
|
};
|
|
3815
4101
|
};
|
|
3816
4102
|
features?: {
|
|
4103
|
+
[key: string]: boolean | {
|
|
4104
|
+
[key: string]: boolean | undefined;
|
|
4105
|
+
} | undefined;
|
|
4106
|
+
allowChangePassword?: boolean;
|
|
3817
4107
|
advancedSearch?: boolean;
|
|
4108
|
+
allowChatDrawer?: boolean;
|
|
4109
|
+
filterLinkChildren?: boolean;
|
|
4110
|
+
quickFilter?: boolean;
|
|
4111
|
+
assistant?: {
|
|
4112
|
+
usePrefixName?: boolean;
|
|
4113
|
+
};
|
|
4114
|
+
filters?: {
|
|
4115
|
+
homepage?: boolean;
|
|
4116
|
+
};
|
|
3818
4117
|
};
|
|
3819
4118
|
} | undefined>;
|
|
3820
4119
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -3830,13 +4129,15 @@ declare class SortSelectorComponent {
|
|
|
3830
4129
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
3831
4130
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
3832
4131
|
allowEmptySearch: (queryName: string) => boolean;
|
|
4132
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
3833
4133
|
allowLabels: () => boolean;
|
|
3834
4134
|
getColumnAlias: (column: string) => string;
|
|
3835
4135
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
3836
4136
|
isDateColumn: (column: string) => boolean;
|
|
3837
4137
|
isTabSearch: (queryName: string) => boolean;
|
|
3838
4138
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
3839
|
-
getAuthorizedFilters: (
|
|
4139
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
4140
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
3840
4141
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
3841
4142
|
getAggregationIcon: (column: string) => string | undefined;
|
|
3842
4143
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -3875,7 +4176,6 @@ declare class SponsoredResultsComponent {
|
|
|
3875
4176
|
* This allows users to customize the appearance of the badge.
|
|
3876
4177
|
*/
|
|
3877
4178
|
childElement: _angular_core.Signal<ChildMarkerDirective | undefined>;
|
|
3878
|
-
injector: Injector;
|
|
3879
4179
|
appStore: {
|
|
3880
4180
|
webServices: _ngrx_signals.DeepSignal<{}>;
|
|
3881
4181
|
queries: _ngrx_signals.DeepSignal<{}>;
|
|
@@ -3898,7 +4198,20 @@ declare class SponsoredResultsComponent {
|
|
|
3898
4198
|
};
|
|
3899
4199
|
};
|
|
3900
4200
|
features?: {
|
|
4201
|
+
[key: string]: boolean | {
|
|
4202
|
+
[key: string]: boolean | undefined;
|
|
4203
|
+
} | undefined;
|
|
4204
|
+
allowChangePassword?: boolean;
|
|
3901
4205
|
advancedSearch?: boolean;
|
|
4206
|
+
allowChatDrawer?: boolean;
|
|
4207
|
+
filterLinkChildren?: boolean;
|
|
4208
|
+
quickFilter?: boolean;
|
|
4209
|
+
assistant?: {
|
|
4210
|
+
usePrefixName?: boolean;
|
|
4211
|
+
};
|
|
4212
|
+
filters?: {
|
|
4213
|
+
homepage?: boolean;
|
|
4214
|
+
};
|
|
3902
4215
|
};
|
|
3903
4216
|
} | undefined>;
|
|
3904
4217
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -3914,13 +4227,15 @@ declare class SponsoredResultsComponent {
|
|
|
3914
4227
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
3915
4228
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
3916
4229
|
allowEmptySearch: (queryName: string) => boolean;
|
|
4230
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
3917
4231
|
allowLabels: () => boolean;
|
|
3918
4232
|
getColumnAlias: (column: string) => string;
|
|
3919
4233
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
3920
4234
|
isDateColumn: (column: string) => boolean;
|
|
3921
4235
|
isTabSearch: (queryName: string) => boolean;
|
|
3922
4236
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
3923
|
-
getAuthorizedFilters: (
|
|
4237
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
4238
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
3924
4239
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
3925
4240
|
getAggregationIcon: (column: string) => string | undefined;
|
|
3926
4241
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -3933,17 +4248,16 @@ declare class SponsoredResultsComponent {
|
|
|
3933
4248
|
data: {};
|
|
3934
4249
|
}>;
|
|
3935
4250
|
queryParamStore: {
|
|
3936
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
3937
4251
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
3938
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
3939
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
3940
4252
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
4253
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
3941
4254
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
3942
4255
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
3943
4256
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
3944
4257
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
3945
4258
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
3946
4259
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
4260
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
3947
4261
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
3948
4262
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
3949
4263
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -3957,6 +4271,7 @@ declare class SponsoredResultsComponent {
|
|
|
3957
4271
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
3958
4272
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
3959
4273
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
4274
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
3960
4275
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
3961
4276
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
3962
4277
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -3964,6 +4279,14 @@ declare class SponsoredResultsComponent {
|
|
|
3964
4279
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
3965
4280
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
3966
4281
|
setFromUrl: (url: string) => void;
|
|
4282
|
+
getQueryParams: () => {
|
|
4283
|
+
f?: string;
|
|
4284
|
+
p?: number;
|
|
4285
|
+
s?: string;
|
|
4286
|
+
t?: string;
|
|
4287
|
+
q?: string;
|
|
4288
|
+
b?: string;
|
|
4289
|
+
};
|
|
3967
4290
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
3968
4291
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
3969
4292
|
removeFilter: (field?: string) => void;
|
|
@@ -3979,17 +4302,16 @@ declare class SponsoredResultsComponent {
|
|
|
3979
4302
|
}> | null;
|
|
3980
4303
|
getQuery: () => _sinequa_atomic.Query;
|
|
3981
4304
|
} & _ngrx_signals.StateSource<{
|
|
3982
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
3983
4305
|
name?: string | undefined;
|
|
3984
|
-
sort?: string | undefined;
|
|
3985
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
3986
4306
|
text?: string | undefined;
|
|
4307
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
3987
4308
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
3988
4309
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
3989
4310
|
page?: number | undefined;
|
|
3990
4311
|
pageSize?: number | undefined;
|
|
3991
4312
|
tab?: string | undefined;
|
|
3992
4313
|
scope?: string | undefined;
|
|
4314
|
+
sort?: string | undefined;
|
|
3993
4315
|
basket?: string | undefined;
|
|
3994
4316
|
isFirstPage?: boolean | undefined;
|
|
3995
4317
|
strictRefine?: boolean | undefined;
|
|
@@ -4003,6 +4325,7 @@ declare class SponsoredResultsComponent {
|
|
|
4003
4325
|
relevanceTransforms?: string | undefined;
|
|
4004
4326
|
removeDuplicates?: boolean | undefined;
|
|
4005
4327
|
queryId?: string | undefined;
|
|
4328
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
4006
4329
|
orderBy?: string | undefined;
|
|
4007
4330
|
groupBy?: string | undefined;
|
|
4008
4331
|
neuralSearch?: boolean | undefined;
|
|
@@ -4010,6 +4333,7 @@ declare class SponsoredResultsComponent {
|
|
|
4010
4333
|
filters?: _sinequa_atomic.LegacyFilter[] | undefined;
|
|
4011
4334
|
id?: string | undefined;
|
|
4012
4335
|
}>;
|
|
4336
|
+
injector: Injector;
|
|
4013
4337
|
/**
|
|
4014
4338
|
* The maximum number of sponsored results to display.
|
|
4015
4339
|
* This is set to 3 by default, but can be overridden by the `maxSponsoredResults` query parameter.
|
|
@@ -4106,6 +4430,17 @@ declare class ThemeToggleComponent {
|
|
|
4106
4430
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThemeToggleComponent, "theme-toggle", never, { "scope": { "alias": "scope"; "required": true; "isSignal": true; }; "darkMode": { "alias": "darkMode"; "required": false; "isSignal": true; }; }, { "darkMode": "darkModeChange"; }, never, never, true, never>;
|
|
4107
4431
|
}
|
|
4108
4432
|
|
|
4433
|
+
declare class PreviewNavigator {
|
|
4434
|
+
protected readonly preview: PreviewService;
|
|
4435
|
+
readonly total: _angular_core.Signal<number>;
|
|
4436
|
+
readonly current: _angular_core.Signal<number>;
|
|
4437
|
+
isFirst: () => boolean;
|
|
4438
|
+
isLast: () => boolean;
|
|
4439
|
+
goto(raw: string | number): void;
|
|
4440
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PreviewNavigator, never>;
|
|
4441
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PreviewNavigator, "preview-navigator", never, {}, {}, never, never, true, never>;
|
|
4442
|
+
}
|
|
4443
|
+
|
|
4109
4444
|
/**
|
|
4110
4445
|
* Returns a guard function that checks if the user is authenticated.
|
|
4111
4446
|
* If the user is not authenticated, it navigates to the login page.
|
|
@@ -4228,7 +4563,20 @@ declare class SourceIconPipe implements PipeTransform {
|
|
|
4228
4563
|
};
|
|
4229
4564
|
};
|
|
4230
4565
|
features?: {
|
|
4566
|
+
[key: string]: boolean | {
|
|
4567
|
+
[key: string]: boolean | undefined;
|
|
4568
|
+
} | undefined;
|
|
4569
|
+
allowChangePassword?: boolean;
|
|
4231
4570
|
advancedSearch?: boolean;
|
|
4571
|
+
allowChatDrawer?: boolean;
|
|
4572
|
+
filterLinkChildren?: boolean;
|
|
4573
|
+
quickFilter?: boolean;
|
|
4574
|
+
assistant?: {
|
|
4575
|
+
usePrefixName?: boolean;
|
|
4576
|
+
};
|
|
4577
|
+
filters?: {
|
|
4578
|
+
homepage?: boolean;
|
|
4579
|
+
};
|
|
4232
4580
|
};
|
|
4233
4581
|
} | undefined>;
|
|
4234
4582
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -4244,13 +4592,15 @@ declare class SourceIconPipe implements PipeTransform {
|
|
|
4244
4592
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
4245
4593
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
4246
4594
|
allowEmptySearch: (queryName: string) => boolean;
|
|
4595
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
4247
4596
|
allowLabels: () => boolean;
|
|
4248
4597
|
getColumnAlias: (column: string) => string;
|
|
4249
4598
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
4250
4599
|
isDateColumn: (column: string) => boolean;
|
|
4251
4600
|
isTabSearch: (queryName: string) => boolean;
|
|
4252
4601
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
4253
|
-
getAuthorizedFilters: (
|
|
4602
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
4603
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
4254
4604
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
4255
4605
|
getAggregationIcon: (column: string) => string | undefined;
|
|
4256
4606
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -4379,7 +4729,8 @@ declare class RecentSearchesComponent {
|
|
|
4379
4729
|
alerts: _angular_core.Signal<_sinequa_atomic_angular.Alert[]>;
|
|
4380
4730
|
collapseAssistant?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
4381
4731
|
language?: _angular_core.Signal<string | undefined> | undefined;
|
|
4382
|
-
|
|
4732
|
+
userTheme: _angular_core.Signal<"dark" | "light" | "system" | undefined>;
|
|
4733
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
4383
4734
|
updateBookmarks: (bookmarks: _sinequa_atomic_angular.UserSettingsState["bookmarks"], auditEvents?: _sinequa_atomic.AuditEvents) => Promise<void>;
|
|
4384
4735
|
bookmark: (article: _sinequa_atomic.Article, queryName?: string) => Promise<void>;
|
|
4385
4736
|
unbookmark: (id: string) => Promise<void>;
|
|
@@ -4406,7 +4757,7 @@ declare class RecentSearchesComponent {
|
|
|
4406
4757
|
createAlert: (alert: _sinequa_atomic_angular.Alert) => Promise<void>;
|
|
4407
4758
|
updateAlert: (alert: _sinequa_atomic_angular.Alert, index: number) => Promise<void>;
|
|
4408
4759
|
updateAlerts: (alerts: _sinequa_atomic_angular.Alert[]) => Promise<void>;
|
|
4409
|
-
|
|
4760
|
+
setUserTheme: (userTheme: "dark" | "light" | "system") => Promise<void>;
|
|
4410
4761
|
toggleDarkMode: () => Promise<void>;
|
|
4411
4762
|
} & _ngrx_signals.StateSource<{
|
|
4412
4763
|
bookmarks: _sinequa_atomic_angular.Bookmark[];
|
|
@@ -4417,8 +4768,9 @@ declare class RecentSearchesComponent {
|
|
|
4417
4768
|
alerts: _sinequa_atomic_angular.Alert[];
|
|
4418
4769
|
collapseAssistant?: boolean | undefined;
|
|
4419
4770
|
language?: string | undefined;
|
|
4420
|
-
|
|
4771
|
+
userTheme: "dark" | "light" | "system";
|
|
4421
4772
|
}>;
|
|
4773
|
+
private readonly transloco;
|
|
4422
4774
|
protected readonly range: _angular_core.WritableSignal<number>;
|
|
4423
4775
|
protected readonly recentSearches: _angular_core.Signal<SearchItem[]>;
|
|
4424
4776
|
protected readonly paginatedRecentSearches: _angular_core.Signal<SearchItem[]>;
|
|
@@ -4449,7 +4801,8 @@ declare class SavedSearchesComponent {
|
|
|
4449
4801
|
alerts: _angular_core.Signal<_sinequa_atomic_angular.Alert[]>;
|
|
4450
4802
|
collapseAssistant?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
4451
4803
|
language?: _angular_core.Signal<string | undefined> | undefined;
|
|
4452
|
-
|
|
4804
|
+
userTheme: _angular_core.Signal<"dark" | "light" | "system" | undefined>;
|
|
4805
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
4453
4806
|
updateBookmarks: (bookmarks: _sinequa_atomic_angular.UserSettingsState["bookmarks"], auditEvents?: _sinequa_atomic.AuditEvents) => Promise<void>;
|
|
4454
4807
|
bookmark: (article: _sinequa_atomic.Article, queryName?: string) => Promise<void>;
|
|
4455
4808
|
unbookmark: (id: string) => Promise<void>;
|
|
@@ -4476,7 +4829,7 @@ declare class SavedSearchesComponent {
|
|
|
4476
4829
|
createAlert: (alert: _sinequa_atomic_angular.Alert) => Promise<void>;
|
|
4477
4830
|
updateAlert: (alert: _sinequa_atomic_angular.Alert, index: number) => Promise<void>;
|
|
4478
4831
|
updateAlerts: (alerts: _sinequa_atomic_angular.Alert[]) => Promise<void>;
|
|
4479
|
-
|
|
4832
|
+
setUserTheme: (userTheme: "dark" | "light" | "system") => Promise<void>;
|
|
4480
4833
|
toggleDarkMode: () => Promise<void>;
|
|
4481
4834
|
} & _ngrx_signals.StateSource<{
|
|
4482
4835
|
bookmarks: _sinequa_atomic_angular.Bookmark[];
|
|
@@ -4487,8 +4840,9 @@ declare class SavedSearchesComponent {
|
|
|
4487
4840
|
alerts: _sinequa_atomic_angular.Alert[];
|
|
4488
4841
|
collapseAssistant?: boolean | undefined;
|
|
4489
4842
|
language?: string | undefined;
|
|
4490
|
-
|
|
4843
|
+
userTheme: "dark" | "light" | "system";
|
|
4491
4844
|
}>;
|
|
4845
|
+
private readonly transloco;
|
|
4492
4846
|
protected readonly range: _angular_core.WritableSignal<number>;
|
|
4493
4847
|
protected readonly savedSearches: _angular_core.Signal<SearchItem[]>;
|
|
4494
4848
|
protected readonly paginatedSearches: _angular_core.Signal<SearchItem[]>;
|
|
@@ -4503,17 +4857,16 @@ declare class SavedSearchesComponent {
|
|
|
4503
4857
|
declare class SavedSearchDialog implements DialogInterface {
|
|
4504
4858
|
private readonly savedSearchesService;
|
|
4505
4859
|
protected readonly queryParamsStore: {
|
|
4506
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
4507
4860
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
4508
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
4509
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
4510
4861
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
4862
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
4511
4863
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
4512
4864
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
4513
4865
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
4514
4866
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
4515
4867
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
4516
4868
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
4869
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
4517
4870
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
4518
4871
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
4519
4872
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -4527,6 +4880,7 @@ declare class SavedSearchDialog implements DialogInterface {
|
|
|
4527
4880
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
4528
4881
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
4529
4882
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
4883
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
4530
4884
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
4531
4885
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
4532
4886
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -4534,6 +4888,14 @@ declare class SavedSearchDialog implements DialogInterface {
|
|
|
4534
4888
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
4535
4889
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
4536
4890
|
setFromUrl: (url: string) => void;
|
|
4891
|
+
getQueryParams: () => {
|
|
4892
|
+
f?: string;
|
|
4893
|
+
p?: number;
|
|
4894
|
+
s?: string;
|
|
4895
|
+
t?: string;
|
|
4896
|
+
q?: string;
|
|
4897
|
+
b?: string;
|
|
4898
|
+
};
|
|
4537
4899
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
4538
4900
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
4539
4901
|
removeFilter: (field?: string) => void;
|
|
@@ -4549,17 +4911,16 @@ declare class SavedSearchDialog implements DialogInterface {
|
|
|
4549
4911
|
}> | null;
|
|
4550
4912
|
getQuery: () => _sinequa_atomic.Query;
|
|
4551
4913
|
} & _ngrx_signals.StateSource<{
|
|
4552
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
4553
4914
|
name?: string | undefined;
|
|
4554
|
-
sort?: string | undefined;
|
|
4555
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
4556
4915
|
text?: string | undefined;
|
|
4916
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
4557
4917
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
4558
4918
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
4559
4919
|
page?: number | undefined;
|
|
4560
4920
|
pageSize?: number | undefined;
|
|
4561
4921
|
tab?: string | undefined;
|
|
4562
4922
|
scope?: string | undefined;
|
|
4923
|
+
sort?: string | undefined;
|
|
4563
4924
|
basket?: string | undefined;
|
|
4564
4925
|
isFirstPage?: boolean | undefined;
|
|
4565
4926
|
strictRefine?: boolean | undefined;
|
|
@@ -4573,6 +4934,7 @@ declare class SavedSearchDialog implements DialogInterface {
|
|
|
4573
4934
|
relevanceTransforms?: string | undefined;
|
|
4574
4935
|
removeDuplicates?: boolean | undefined;
|
|
4575
4936
|
queryId?: string | undefined;
|
|
4937
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
4576
4938
|
orderBy?: string | undefined;
|
|
4577
4939
|
groupBy?: string | undefined;
|
|
4578
4940
|
neuralSearch?: boolean | undefined;
|
|
@@ -4580,6 +4942,7 @@ declare class SavedSearchDialog implements DialogInterface {
|
|
|
4580
4942
|
filters?: _sinequa_atomic.LegacyFilter[] | undefined;
|
|
4581
4943
|
id?: string | undefined;
|
|
4582
4944
|
}>;
|
|
4945
|
+
private readonly transloco;
|
|
4583
4946
|
dialog: _angular_core.Signal<DialogComponent | undefined>;
|
|
4584
4947
|
saveName: _angular_core.WritableSignal<string>;
|
|
4585
4948
|
readonly closed: _angular_core.OutputEmitterRef<DialogResult>;
|
|
@@ -4614,6 +4977,7 @@ declare class BookmarksComponent {
|
|
|
4614
4977
|
private readonly queryService;
|
|
4615
4978
|
private readonly userSettingsStore;
|
|
4616
4979
|
private readonly appStore;
|
|
4980
|
+
private readonly transloco;
|
|
4617
4981
|
private destroyRef;
|
|
4618
4982
|
options: _angular_core.InputSignal<BookmarksConfig | undefined>;
|
|
4619
4983
|
config: BookmarksConfig;
|
|
@@ -4680,6 +5044,7 @@ declare class CollectionsDialog implements DialogInterface {
|
|
|
4680
5044
|
readonly newCollectionName: _angular_core.WritableSignal<string>;
|
|
4681
5045
|
readonly creating: _angular_core.WritableSignal<boolean>;
|
|
4682
5046
|
readonly removedFromCollection: _angular_core.WritableSignal<boolean>;
|
|
5047
|
+
readonly addedToCollection: _angular_core.WritableSignal<boolean>;
|
|
4683
5048
|
readonly collections: _angular_core.Signal<Basket[]>;
|
|
4684
5049
|
readonly collectionsMap: _angular_core.WritableSignal<Record<string, "some" | "none" | "all">>;
|
|
4685
5050
|
open(article: Article$1 | Article$1[]): void;
|
|
@@ -4712,7 +5077,7 @@ declare class AlertDialog implements DialogInterface {
|
|
|
4712
5077
|
alertTimes: _angular_core.WritableSignal<string>;
|
|
4713
5078
|
alertActive: _angular_core.WritableSignal<boolean>;
|
|
4714
5079
|
canUpdateQuery: _angular_core.WritableSignal<boolean>;
|
|
4715
|
-
updateStatus: _angular_core.WritableSignal<"
|
|
5080
|
+
updateStatus: _angular_core.WritableSignal<"updating" | "updated" | "idle">;
|
|
4716
5081
|
invalidForm: _angular_core.Signal<boolean>;
|
|
4717
5082
|
closed: _angular_core.OutputEmitterRef<DialogEvent>;
|
|
4718
5083
|
open(index: number): void;
|
|
@@ -4785,72 +5150,6 @@ declare class DidYouMeanComponent {
|
|
|
4785
5150
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DidYouMeanComponent, "did-you-mean, DidYouMean, didyoumean", never, { "result": { "alias": "result"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4786
5151
|
}
|
|
4787
5152
|
|
|
4788
|
-
/**
|
|
4789
|
-
* Represents the LoginComponent class, which is responsible for handling the login functionality.
|
|
4790
|
-
* This component is used to authenticate users and manage the user's authentication status.
|
|
4791
|
-
*/
|
|
4792
|
-
declare class SignInComponent {
|
|
4793
|
-
private destroyRef;
|
|
4794
|
-
config: Partial<{
|
|
4795
|
-
app: string;
|
|
4796
|
-
backendUrl: string;
|
|
4797
|
-
apiPath: string;
|
|
4798
|
-
autoOAuthProvider: string;
|
|
4799
|
-
autoSAMLProvider: string;
|
|
4800
|
-
bearerToken: string;
|
|
4801
|
-
loginPath: string;
|
|
4802
|
-
userOverride: {
|
|
4803
|
-
username: string;
|
|
4804
|
-
domain: string;
|
|
4805
|
-
};
|
|
4806
|
-
userOverrideActive: boolean;
|
|
4807
|
-
useCredentials: boolean;
|
|
4808
|
-
useSSO: boolean;
|
|
4809
|
-
useSAML: boolean;
|
|
4810
|
-
logLevel: _sinequa_atomic.LogLevel;
|
|
4811
|
-
createRoutes: boolean;
|
|
4812
|
-
} & Record<string, any>>;
|
|
4813
|
-
/**
|
|
4814
|
-
* Represents the user credentials for login.
|
|
4815
|
-
*/
|
|
4816
|
-
credentials: _angular_core.WritableSignal<Credentials>;
|
|
4817
|
-
readonly authenticated: _angular_core.WritableSignal<boolean>;
|
|
4818
|
-
readonly user: _angular_core.WritableSignal<Principal | null>;
|
|
4819
|
-
readonly returnUrl: _angular_core.WritableSignal<string[] | null>;
|
|
4820
|
-
private readonly router;
|
|
4821
|
-
private readonly route;
|
|
4822
|
-
private readonly principalService;
|
|
4823
|
-
private readonly applicationService;
|
|
4824
|
-
/**
|
|
4825
|
-
* Indicates whether the login credentials are valid.
|
|
4826
|
-
* Returns true if both the username and password are non-empty, otherwise false.
|
|
4827
|
-
*/
|
|
4828
|
-
valid: _angular_core.Signal<boolean>;
|
|
4829
|
-
constructor(destroyRef: DestroyRef);
|
|
4830
|
-
/**
|
|
4831
|
-
* Updates the credentials with the provided values.
|
|
4832
|
-
* @param credentials - An object containing the username and password.
|
|
4833
|
-
*/
|
|
4834
|
-
updateCredentials(credentials: {
|
|
4835
|
-
username?: string;
|
|
4836
|
-
password?: string;
|
|
4837
|
-
}): void;
|
|
4838
|
-
handleLogout(): Promise<void>;
|
|
4839
|
-
/**
|
|
4840
|
-
* Handles the login process without credentials.
|
|
4841
|
-
* This method calls the login function asynchronously.
|
|
4842
|
-
*/
|
|
4843
|
-
handleLogin(): Promise<void>;
|
|
4844
|
-
/**
|
|
4845
|
-
* Handles the login process with credentials.
|
|
4846
|
-
* Calls the login function with the provided credentials and handles any errors that occur.
|
|
4847
|
-
*/
|
|
4848
|
-
handleLoginWithCredentials(): Promise<void>;
|
|
4849
|
-
handleBack(): void;
|
|
4850
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SignInComponent, never>;
|
|
4851
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SignInComponent, "signIn, signin, sign-in", never, {}, {}, never, ["[logo]"], true, never>;
|
|
4852
|
-
}
|
|
4853
|
-
|
|
4854
5153
|
type ExportQueryOptions = {
|
|
4855
5154
|
model: ExportQueryModel;
|
|
4856
5155
|
appName: string;
|
|
@@ -4916,17 +5215,16 @@ declare class ExportDialog implements DialogInterface {
|
|
|
4916
5215
|
private appStore;
|
|
4917
5216
|
readonly exportService: ExportService;
|
|
4918
5217
|
readonly queryParamsStore: {
|
|
4919
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
4920
5218
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
4921
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
4922
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
4923
5219
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
5220
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
4924
5221
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
4925
5222
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
4926
5223
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
4927
5224
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
4928
5225
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
4929
5226
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
5227
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
4930
5228
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
4931
5229
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
4932
5230
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -4940,6 +5238,7 @@ declare class ExportDialog implements DialogInterface {
|
|
|
4940
5238
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
4941
5239
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
4942
5240
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
5241
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
4943
5242
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
4944
5243
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
4945
5244
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -4947,6 +5246,14 @@ declare class ExportDialog implements DialogInterface {
|
|
|
4947
5246
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
4948
5247
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
4949
5248
|
setFromUrl: (url: string) => void;
|
|
5249
|
+
getQueryParams: () => {
|
|
5250
|
+
f?: string;
|
|
5251
|
+
p?: number;
|
|
5252
|
+
s?: string;
|
|
5253
|
+
t?: string;
|
|
5254
|
+
q?: string;
|
|
5255
|
+
b?: string;
|
|
5256
|
+
};
|
|
4950
5257
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
4951
5258
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
4952
5259
|
removeFilter: (field?: string) => void;
|
|
@@ -4962,17 +5269,16 @@ declare class ExportDialog implements DialogInterface {
|
|
|
4962
5269
|
}> | null;
|
|
4963
5270
|
getQuery: () => _sinequa_atomic.Query;
|
|
4964
5271
|
} & _ngrx_signals.StateSource<{
|
|
4965
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
4966
5272
|
name?: string | undefined;
|
|
4967
|
-
sort?: string | undefined;
|
|
4968
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
4969
5273
|
text?: string | undefined;
|
|
5274
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
4970
5275
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
4971
5276
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
4972
5277
|
page?: number | undefined;
|
|
4973
5278
|
pageSize?: number | undefined;
|
|
4974
5279
|
tab?: string | undefined;
|
|
4975
5280
|
scope?: string | undefined;
|
|
5281
|
+
sort?: string | undefined;
|
|
4976
5282
|
basket?: string | undefined;
|
|
4977
5283
|
isFirstPage?: boolean | undefined;
|
|
4978
5284
|
strictRefine?: boolean | undefined;
|
|
@@ -4986,6 +5292,7 @@ declare class ExportDialog implements DialogInterface {
|
|
|
4986
5292
|
relevanceTransforms?: string | undefined;
|
|
4987
5293
|
removeDuplicates?: boolean | undefined;
|
|
4988
5294
|
queryId?: string | undefined;
|
|
5295
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
4989
5296
|
orderBy?: string | undefined;
|
|
4990
5297
|
groupBy?: string | undefined;
|
|
4991
5298
|
neuralSearch?: boolean | undefined;
|
|
@@ -5041,7 +5348,20 @@ declare class LabelService {
|
|
|
5041
5348
|
};
|
|
5042
5349
|
};
|
|
5043
5350
|
features?: {
|
|
5351
|
+
[key: string]: boolean | {
|
|
5352
|
+
[key: string]: boolean | undefined;
|
|
5353
|
+
} | undefined;
|
|
5354
|
+
allowChangePassword?: boolean;
|
|
5044
5355
|
advancedSearch?: boolean;
|
|
5356
|
+
allowChatDrawer?: boolean;
|
|
5357
|
+
filterLinkChildren?: boolean;
|
|
5358
|
+
quickFilter?: boolean;
|
|
5359
|
+
assistant?: {
|
|
5360
|
+
usePrefixName?: boolean;
|
|
5361
|
+
};
|
|
5362
|
+
filters?: {
|
|
5363
|
+
homepage?: boolean;
|
|
5364
|
+
};
|
|
5045
5365
|
};
|
|
5046
5366
|
} | undefined>;
|
|
5047
5367
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -5057,13 +5377,15 @@ declare class LabelService {
|
|
|
5057
5377
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
5058
5378
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
5059
5379
|
allowEmptySearch: (queryName: string) => boolean;
|
|
5380
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
5060
5381
|
allowLabels: () => boolean;
|
|
5061
5382
|
getColumnAlias: (column: string) => string;
|
|
5062
5383
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
5063
5384
|
isDateColumn: (column: string) => boolean;
|
|
5064
5385
|
isTabSearch: (queryName: string) => boolean;
|
|
5065
5386
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
5066
|
-
getAuthorizedFilters: (
|
|
5387
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
5388
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
5067
5389
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
5068
5390
|
getAggregationIcon: (column: string) => string | undefined;
|
|
5069
5391
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -5149,6 +5471,7 @@ type Article = Article$1 & {
|
|
|
5149
5471
|
[key: string]: any;
|
|
5150
5472
|
};
|
|
5151
5473
|
declare class MultiSelectLabelsComponent {
|
|
5474
|
+
injector: Injector;
|
|
5152
5475
|
article: _angular_core.ModelSignal<Article | undefined>;
|
|
5153
5476
|
isPublic: _angular_core.InputSignal<boolean>;
|
|
5154
5477
|
allowModification: _angular_core.InputSignal<boolean>;
|
|
@@ -5248,7 +5571,20 @@ declare class FeedbackDialogComponent implements DialogInterface {
|
|
|
5248
5571
|
};
|
|
5249
5572
|
};
|
|
5250
5573
|
features?: {
|
|
5574
|
+
[key: string]: boolean | {
|
|
5575
|
+
[key: string]: boolean | undefined;
|
|
5576
|
+
} | undefined;
|
|
5577
|
+
allowChangePassword?: boolean;
|
|
5251
5578
|
advancedSearch?: boolean;
|
|
5579
|
+
allowChatDrawer?: boolean;
|
|
5580
|
+
filterLinkChildren?: boolean;
|
|
5581
|
+
quickFilter?: boolean;
|
|
5582
|
+
assistant?: {
|
|
5583
|
+
usePrefixName?: boolean;
|
|
5584
|
+
};
|
|
5585
|
+
filters?: {
|
|
5586
|
+
homepage?: boolean;
|
|
5587
|
+
};
|
|
5252
5588
|
};
|
|
5253
5589
|
} | undefined>;
|
|
5254
5590
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -5264,13 +5600,15 @@ declare class FeedbackDialogComponent implements DialogInterface {
|
|
|
5264
5600
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
5265
5601
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
5266
5602
|
allowEmptySearch: (queryName: string) => boolean;
|
|
5603
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
5267
5604
|
allowLabels: () => boolean;
|
|
5268
5605
|
getColumnAlias: (column: string) => string;
|
|
5269
5606
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
5270
5607
|
isDateColumn: (column: string) => boolean;
|
|
5271
5608
|
isTabSearch: (queryName: string) => boolean;
|
|
5272
5609
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
5273
|
-
getAuthorizedFilters: (
|
|
5610
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
5611
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
5274
5612
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
5275
5613
|
getAggregationIcon: (column: string) => string | undefined;
|
|
5276
5614
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -5301,17 +5639,16 @@ declare class SearchFeedbackComponent {
|
|
|
5301
5639
|
pages: _angular_core.InputSignal<any>;
|
|
5302
5640
|
readonly auditService: AuditService;
|
|
5303
5641
|
protected readonly queryParamsStore: {
|
|
5304
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
5305
5642
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
5306
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
5307
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
5308
5643
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
5644
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
5309
5645
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
5310
5646
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
5311
5647
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
5312
5648
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
5313
5649
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
5314
5650
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
5651
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
5315
5652
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
5316
5653
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
5317
5654
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -5325,6 +5662,7 @@ declare class SearchFeedbackComponent {
|
|
|
5325
5662
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
5326
5663
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
5327
5664
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
5665
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
5328
5666
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
5329
5667
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
5330
5668
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -5332,6 +5670,14 @@ declare class SearchFeedbackComponent {
|
|
|
5332
5670
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
5333
5671
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
5334
5672
|
setFromUrl: (url: string) => void;
|
|
5673
|
+
getQueryParams: () => {
|
|
5674
|
+
f?: string;
|
|
5675
|
+
p?: number;
|
|
5676
|
+
s?: string;
|
|
5677
|
+
t?: string;
|
|
5678
|
+
q?: string;
|
|
5679
|
+
b?: string;
|
|
5680
|
+
};
|
|
5335
5681
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
5336
5682
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
5337
5683
|
removeFilter: (field?: string) => void;
|
|
@@ -5347,17 +5693,16 @@ declare class SearchFeedbackComponent {
|
|
|
5347
5693
|
}> | null;
|
|
5348
5694
|
getQuery: () => _sinequa_atomic.Query;
|
|
5349
5695
|
} & _ngrx_signals.StateSource<{
|
|
5350
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
5351
5696
|
name?: string | undefined;
|
|
5352
|
-
sort?: string | undefined;
|
|
5353
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
5354
5697
|
text?: string | undefined;
|
|
5698
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
5355
5699
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
5356
5700
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
5357
5701
|
page?: number | undefined;
|
|
5358
5702
|
pageSize?: number | undefined;
|
|
5359
5703
|
tab?: string | undefined;
|
|
5360
5704
|
scope?: string | undefined;
|
|
5705
|
+
sort?: string | undefined;
|
|
5361
5706
|
basket?: string | undefined;
|
|
5362
5707
|
isFirstPage?: boolean | undefined;
|
|
5363
5708
|
strictRefine?: boolean | undefined;
|
|
@@ -5371,6 +5716,7 @@ declare class SearchFeedbackComponent {
|
|
|
5371
5716
|
relevanceTransforms?: string | undefined;
|
|
5372
5717
|
removeDuplicates?: boolean | undefined;
|
|
5373
5718
|
queryId?: string | undefined;
|
|
5719
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
5374
5720
|
orderBy?: string | undefined;
|
|
5375
5721
|
groupBy?: string | undefined;
|
|
5376
5722
|
neuralSearch?: boolean | undefined;
|
|
@@ -5404,8 +5750,10 @@ declare class FilterButtonComponent {
|
|
|
5404
5750
|
name: _angular_core.InputSignal<string>;
|
|
5405
5751
|
column: _angular_core.InputSignal<string>;
|
|
5406
5752
|
position: _angular_core.InputSignal<Placement>;
|
|
5407
|
-
|
|
5753
|
+
offset: _angular_core.InputSignal<number>;
|
|
5754
|
+
protected variant: _angular_core.WritableSignal<"default" | "icon" | "primary" | "secondary" | "destructive" | "ai" | "none" | "ghost" | null | undefined>;
|
|
5408
5755
|
protected filter: _angular_core.WritableSignal<CFilterEx>;
|
|
5756
|
+
popoverRef: _angular_core.Signal<PopoverComponent | undefined>;
|
|
5409
5757
|
protected nativeElement: any;
|
|
5410
5758
|
protected aggregationsStore: {
|
|
5411
5759
|
aggregations: _angular_core.Signal<_sinequa_atomic.Aggregation[]>;
|
|
@@ -5417,17 +5765,16 @@ declare class FilterButtonComponent {
|
|
|
5417
5765
|
aggregations: _sinequa_atomic.Aggregation[];
|
|
5418
5766
|
}>;
|
|
5419
5767
|
protected queryParamsStore: {
|
|
5420
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
5421
5768
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
5422
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
5423
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
5424
5769
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
5770
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
5425
5771
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
5426
5772
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
5427
5773
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
5428
5774
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
5429
5775
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
5430
5776
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
5777
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
5431
5778
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
5432
5779
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
5433
5780
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -5441,6 +5788,7 @@ declare class FilterButtonComponent {
|
|
|
5441
5788
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
5442
5789
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
5443
5790
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
5791
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
5444
5792
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
5445
5793
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
5446
5794
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -5448,6 +5796,14 @@ declare class FilterButtonComponent {
|
|
|
5448
5796
|
filters?: _angular_core.Signal<LegacyFilter[] | undefined> | undefined;
|
|
5449
5797
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
5450
5798
|
setFromUrl: (url: string) => void;
|
|
5799
|
+
getQueryParams: () => {
|
|
5800
|
+
f?: string;
|
|
5801
|
+
p?: number;
|
|
5802
|
+
s?: string;
|
|
5803
|
+
t?: string;
|
|
5804
|
+
q?: string;
|
|
5805
|
+
b?: string;
|
|
5806
|
+
};
|
|
5451
5807
|
addFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
5452
5808
|
updateFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
5453
5809
|
removeFilter: (field?: string) => void;
|
|
@@ -5463,17 +5819,16 @@ declare class FilterButtonComponent {
|
|
|
5463
5819
|
}> | null;
|
|
5464
5820
|
getQuery: () => _sinequa_atomic.Query;
|
|
5465
5821
|
} & _ngrx_signals.StateSource<{
|
|
5466
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
5467
5822
|
name?: string | undefined;
|
|
5468
|
-
sort?: string | undefined;
|
|
5469
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
5470
5823
|
text?: string | undefined;
|
|
5824
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
5471
5825
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
5472
5826
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
5473
5827
|
page?: number | undefined;
|
|
5474
5828
|
pageSize?: number | undefined;
|
|
5475
5829
|
tab?: string | undefined;
|
|
5476
5830
|
scope?: string | undefined;
|
|
5831
|
+
sort?: string | undefined;
|
|
5477
5832
|
basket?: string | undefined;
|
|
5478
5833
|
isFirstPage?: boolean | undefined;
|
|
5479
5834
|
strictRefine?: boolean | undefined;
|
|
@@ -5487,6 +5842,7 @@ declare class FilterButtonComponent {
|
|
|
5487
5842
|
relevanceTransforms?: string | undefined;
|
|
5488
5843
|
removeDuplicates?: boolean | undefined;
|
|
5489
5844
|
queryId?: string | undefined;
|
|
5845
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
5490
5846
|
orderBy?: string | undefined;
|
|
5491
5847
|
groupBy?: string | undefined;
|
|
5492
5848
|
neuralSearch?: boolean | undefined;
|
|
@@ -5516,7 +5872,20 @@ declare class FilterButtonComponent {
|
|
|
5516
5872
|
};
|
|
5517
5873
|
};
|
|
5518
5874
|
features?: {
|
|
5875
|
+
[key: string]: boolean | {
|
|
5876
|
+
[key: string]: boolean | undefined;
|
|
5877
|
+
} | undefined;
|
|
5878
|
+
allowChangePassword?: boolean;
|
|
5519
5879
|
advancedSearch?: boolean;
|
|
5880
|
+
allowChatDrawer?: boolean;
|
|
5881
|
+
filterLinkChildren?: boolean;
|
|
5882
|
+
quickFilter?: boolean;
|
|
5883
|
+
assistant?: {
|
|
5884
|
+
usePrefixName?: boolean;
|
|
5885
|
+
};
|
|
5886
|
+
filters?: {
|
|
5887
|
+
homepage?: boolean;
|
|
5888
|
+
};
|
|
5520
5889
|
};
|
|
5521
5890
|
} | undefined>;
|
|
5522
5891
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -5532,13 +5901,15 @@ declare class FilterButtonComponent {
|
|
|
5532
5901
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
5533
5902
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
5534
5903
|
allowEmptySearch: (queryName: string) => boolean;
|
|
5904
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
5535
5905
|
allowLabels: () => boolean;
|
|
5536
5906
|
getColumnAlias: (column: string) => string;
|
|
5537
5907
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
5538
5908
|
isDateColumn: (column: string) => boolean;
|
|
5539
5909
|
isTabSearch: (queryName: string) => boolean;
|
|
5540
5910
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
5541
|
-
getAuthorizedFilters: (
|
|
5911
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
5912
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
5542
5913
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
5543
5914
|
getAggregationIcon: (column: string) => string | undefined;
|
|
5544
5915
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -5559,11 +5930,10 @@ declare class FilterButtonComponent {
|
|
|
5559
5930
|
*/
|
|
5560
5931
|
protected isDate(column: string): boolean;
|
|
5561
5932
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterButtonComponent, never>;
|
|
5562
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterButtonComponent, "filter-button, FilterButton", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5933
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterButtonComponent, "filter-button, FilterButton", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5563
5934
|
}
|
|
5564
5935
|
|
|
5565
5936
|
declare class MoreButtonComponent {
|
|
5566
|
-
route: ActivatedRoute;
|
|
5567
5937
|
appStore: {
|
|
5568
5938
|
webServices: _ngrx_signals.DeepSignal<{}>;
|
|
5569
5939
|
queries: _ngrx_signals.DeepSignal<{}>;
|
|
@@ -5586,7 +5956,20 @@ declare class MoreButtonComponent {
|
|
|
5586
5956
|
};
|
|
5587
5957
|
};
|
|
5588
5958
|
features?: {
|
|
5959
|
+
[key: string]: boolean | {
|
|
5960
|
+
[key: string]: boolean | undefined;
|
|
5961
|
+
} | undefined;
|
|
5962
|
+
allowChangePassword?: boolean;
|
|
5589
5963
|
advancedSearch?: boolean;
|
|
5964
|
+
allowChatDrawer?: boolean;
|
|
5965
|
+
filterLinkChildren?: boolean;
|
|
5966
|
+
quickFilter?: boolean;
|
|
5967
|
+
assistant?: {
|
|
5968
|
+
usePrefixName?: boolean;
|
|
5969
|
+
};
|
|
5970
|
+
filters?: {
|
|
5971
|
+
homepage?: boolean;
|
|
5972
|
+
};
|
|
5590
5973
|
};
|
|
5591
5974
|
} | undefined>;
|
|
5592
5975
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -5602,13 +5985,15 @@ declare class MoreButtonComponent {
|
|
|
5602
5985
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
5603
5986
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
5604
5987
|
allowEmptySearch: (queryName: string) => boolean;
|
|
5988
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
5605
5989
|
allowLabels: () => boolean;
|
|
5606
5990
|
getColumnAlias: (column: string) => string;
|
|
5607
5991
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
5608
5992
|
isDateColumn: (column: string) => boolean;
|
|
5609
5993
|
isTabSearch: (queryName: string) => boolean;
|
|
5610
5994
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
5611
|
-
getAuthorizedFilters: (
|
|
5995
|
+
getAuthorizedFilters: () => Aggregation[];
|
|
5996
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => Aggregation[];
|
|
5612
5997
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
5613
5998
|
getAggregationIcon: (column: string) => string | undefined;
|
|
5614
5999
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -5621,17 +6006,16 @@ declare class MoreButtonComponent {
|
|
|
5621
6006
|
data: {};
|
|
5622
6007
|
}>;
|
|
5623
6008
|
queryParamsStore: {
|
|
5624
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
5625
6009
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
5626
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
5627
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
5628
6010
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
6011
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
5629
6012
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
5630
6013
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
5631
6014
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
5632
6015
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
5633
6016
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
5634
6017
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
6018
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
5635
6019
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
5636
6020
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
5637
6021
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -5645,6 +6029,7 @@ declare class MoreButtonComponent {
|
|
|
5645
6029
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
5646
6030
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
5647
6031
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
6032
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
5648
6033
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
5649
6034
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
5650
6035
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -5652,6 +6037,14 @@ declare class MoreButtonComponent {
|
|
|
5652
6037
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
5653
6038
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
5654
6039
|
setFromUrl: (url: string) => void;
|
|
6040
|
+
getQueryParams: () => {
|
|
6041
|
+
f?: string;
|
|
6042
|
+
p?: number;
|
|
6043
|
+
s?: string;
|
|
6044
|
+
t?: string;
|
|
6045
|
+
q?: string;
|
|
6046
|
+
b?: string;
|
|
6047
|
+
};
|
|
5655
6048
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
5656
6049
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
5657
6050
|
removeFilter: (field?: string) => void;
|
|
@@ -5667,17 +6060,16 @@ declare class MoreButtonComponent {
|
|
|
5667
6060
|
}> | null;
|
|
5668
6061
|
getQuery: () => _sinequa_atomic.Query;
|
|
5669
6062
|
} & _ngrx_signals.StateSource<{
|
|
5670
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
5671
6063
|
name?: string | undefined;
|
|
5672
|
-
sort?: string | undefined;
|
|
5673
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
5674
6064
|
text?: string | undefined;
|
|
6065
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
5675
6066
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
5676
6067
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
5677
6068
|
page?: number | undefined;
|
|
5678
6069
|
pageSize?: number | undefined;
|
|
5679
6070
|
tab?: string | undefined;
|
|
5680
6071
|
scope?: string | undefined;
|
|
6072
|
+
sort?: string | undefined;
|
|
5681
6073
|
basket?: string | undefined;
|
|
5682
6074
|
isFirstPage?: boolean | undefined;
|
|
5683
6075
|
strictRefine?: boolean | undefined;
|
|
@@ -5691,6 +6083,7 @@ declare class MoreButtonComponent {
|
|
|
5691
6083
|
relevanceTransforms?: string | undefined;
|
|
5692
6084
|
removeDuplicates?: boolean | undefined;
|
|
5693
6085
|
queryId?: string | undefined;
|
|
6086
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
5694
6087
|
orderBy?: string | undefined;
|
|
5695
6088
|
groupBy?: string | undefined;
|
|
5696
6089
|
neuralSearch?: boolean | undefined;
|
|
@@ -5702,15 +6095,17 @@ declare class MoreButtonComponent {
|
|
|
5702
6095
|
count: _angular_core.InputSignal<number>;
|
|
5703
6096
|
position: _angular_core.InputSignal<Placement>;
|
|
5704
6097
|
excludedFilters: _angular_core.InputSignal<string[]>;
|
|
6098
|
+
aggregations: _angular_core.InputSignal<Aggregation[] | undefined>;
|
|
5705
6099
|
totalFiltersCount: _angular_core.Signal<number>;
|
|
5706
6100
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MoreButtonComponent, never>;
|
|
5707
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MoreButtonComponent, "more-button, MoreButton", never, { "count": { "alias": "count"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "excludedFilters": { "alias": "excludedFilters"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6101
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MoreButtonComponent, "more-button, MoreButton", never, { "count": { "alias": "count"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "excludedFilters": { "alias": "excludedFilters"; "required": false; "isSignal": true; }; "aggregations": { "alias": "aggregations"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5708
6102
|
}
|
|
5709
6103
|
|
|
5710
6104
|
declare class FiltersBarComponent {
|
|
5711
6105
|
class: _angular_core.InputSignal<string | undefined>;
|
|
5712
6106
|
position: _angular_core.InputSignal<Placement>;
|
|
5713
6107
|
morePosition: _angular_core.InputSignal<Placement>;
|
|
6108
|
+
aggregations: _angular_core.InputSignal<Aggregation[] | undefined>;
|
|
5714
6109
|
/**
|
|
5715
6110
|
* Filters that should be excluded from the filters bar.
|
|
5716
6111
|
* This can be used to hide specific filters from the UI.
|
|
@@ -5725,7 +6120,22 @@ declare class FiltersBarComponent {
|
|
|
5725
6120
|
* The default value is set by the FILTERS_BREAKPOINT injection token.
|
|
5726
6121
|
*/
|
|
5727
6122
|
filtersCount: _angular_core.InputSignal<number>;
|
|
6123
|
+
/**
|
|
6124
|
+
* Input property that determines whether the "More Filters" button is displayed.
|
|
6125
|
+
*
|
|
6126
|
+
* Accepts a boolean value or a string that can be transformed to a boolean.
|
|
6127
|
+
* Uses the `booleanAttribute` transformer to ensure the value is interpreted as a boolean.
|
|
6128
|
+
*
|
|
6129
|
+
* @default true
|
|
6130
|
+
*/
|
|
6131
|
+
showMoreFiltersButton: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5728
6132
|
direction: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
6133
|
+
/**
|
|
6134
|
+
* The distance in pixels between the popover and its trigger element.
|
|
6135
|
+
*
|
|
6136
|
+
* @defaultValue 8px
|
|
6137
|
+
*/
|
|
6138
|
+
offset: _angular_core.InputSignal<number>;
|
|
5729
6139
|
/**
|
|
5730
6140
|
* Event emitted when the clear filters button is clicked.
|
|
5731
6141
|
* This event can be used to perform additional actions when filters are cleared.
|
|
@@ -5737,11 +6147,10 @@ declare class FiltersBarComponent {
|
|
|
5737
6147
|
*/
|
|
5738
6148
|
onClearBasket: _angular_core.OutputEmitterRef<void>;
|
|
5739
6149
|
protected cn: typeof cn;
|
|
5740
|
-
protected
|
|
5741
|
-
protected
|
|
5742
|
-
protected readonly
|
|
6150
|
+
protected readonly moreButtonRef: _angular_core.Signal<MoreButtonComponent | undefined>;
|
|
6151
|
+
protected readonly filterButtonRefs: _angular_core.Signal<readonly FilterButtonComponent[]>;
|
|
6152
|
+
protected readonly overflowManagerRef: _angular_core.Signal<OverflowManagerDirective | undefined>;
|
|
5743
6153
|
protected cdr: ChangeDetectorRef;
|
|
5744
|
-
protected route: ActivatedRoute;
|
|
5745
6154
|
protected appStore: {
|
|
5746
6155
|
webServices: _ngrx_signals.DeepSignal<{}>;
|
|
5747
6156
|
queries: _ngrx_signals.DeepSignal<{}>;
|
|
@@ -5764,7 +6173,20 @@ declare class FiltersBarComponent {
|
|
|
5764
6173
|
};
|
|
5765
6174
|
};
|
|
5766
6175
|
features?: {
|
|
6176
|
+
[key: string]: boolean | {
|
|
6177
|
+
[key: string]: boolean | undefined;
|
|
6178
|
+
} | undefined;
|
|
6179
|
+
allowChangePassword?: boolean;
|
|
5767
6180
|
advancedSearch?: boolean;
|
|
6181
|
+
allowChatDrawer?: boolean;
|
|
6182
|
+
filterLinkChildren?: boolean;
|
|
6183
|
+
quickFilter?: boolean;
|
|
6184
|
+
assistant?: {
|
|
6185
|
+
usePrefixName?: boolean;
|
|
6186
|
+
};
|
|
6187
|
+
filters?: {
|
|
6188
|
+
homepage?: boolean;
|
|
6189
|
+
};
|
|
5768
6190
|
};
|
|
5769
6191
|
} | undefined>;
|
|
5770
6192
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -5780,13 +6202,15 @@ declare class FiltersBarComponent {
|
|
|
5780
6202
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
5781
6203
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
5782
6204
|
allowEmptySearch: (queryName: string) => boolean;
|
|
6205
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
5783
6206
|
allowLabels: () => boolean;
|
|
5784
6207
|
getColumnAlias: (column: string) => string;
|
|
5785
6208
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
5786
6209
|
isDateColumn: (column: string) => boolean;
|
|
5787
6210
|
isTabSearch: (queryName: string) => boolean;
|
|
5788
6211
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
5789
|
-
getAuthorizedFilters: (
|
|
6212
|
+
getAuthorizedFilters: () => Aggregation[];
|
|
6213
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => Aggregation[];
|
|
5790
6214
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
5791
6215
|
getAggregationIcon: (column: string) => string | undefined;
|
|
5792
6216
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -5799,26 +6223,25 @@ declare class FiltersBarComponent {
|
|
|
5799
6223
|
data: {};
|
|
5800
6224
|
}>;
|
|
5801
6225
|
protected aggregationsStore: {
|
|
5802
|
-
aggregations: _angular_core.Signal<
|
|
5803
|
-
update: (aggregations:
|
|
5804
|
-
updateAggregation: (aggregation:
|
|
6226
|
+
aggregations: _angular_core.Signal<Aggregation[]>;
|
|
6227
|
+
update: (aggregations: Aggregation[]) => void;
|
|
6228
|
+
updateAggregation: (aggregation: Aggregation) => void;
|
|
5805
6229
|
clear: () => void;
|
|
5806
|
-
getAggregation: (name: string, kind?: "column" | "name") =>
|
|
6230
|
+
getAggregation: (name: string, kind?: "column" | "name") => Aggregation | undefined;
|
|
5807
6231
|
} & _ngrx_signals.StateSource<{
|
|
5808
|
-
aggregations:
|
|
6232
|
+
aggregations: Aggregation[];
|
|
5809
6233
|
}>;
|
|
5810
6234
|
protected queryParamsStore: {
|
|
5811
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
5812
6235
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
5813
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
5814
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
5815
6236
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
6237
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
5816
6238
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
5817
6239
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
5818
6240
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
5819
6241
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
5820
6242
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
5821
6243
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
6244
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
5822
6245
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
5823
6246
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
5824
6247
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -5832,6 +6255,7 @@ declare class FiltersBarComponent {
|
|
|
5832
6255
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
5833
6256
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
5834
6257
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
6258
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
5835
6259
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
5836
6260
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
5837
6261
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -5839,6 +6263,14 @@ declare class FiltersBarComponent {
|
|
|
5839
6263
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
5840
6264
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
5841
6265
|
setFromUrl: (url: string) => void;
|
|
6266
|
+
getQueryParams: () => {
|
|
6267
|
+
f?: string;
|
|
6268
|
+
p?: number;
|
|
6269
|
+
s?: string;
|
|
6270
|
+
t?: string;
|
|
6271
|
+
q?: string;
|
|
6272
|
+
b?: string;
|
|
6273
|
+
};
|
|
5842
6274
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
5843
6275
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
5844
6276
|
removeFilter: (field?: string) => void;
|
|
@@ -5854,17 +6286,16 @@ declare class FiltersBarComponent {
|
|
|
5854
6286
|
}> | null;
|
|
5855
6287
|
getQuery: () => _sinequa_atomic.Query;
|
|
5856
6288
|
} & _ngrx_signals.StateSource<{
|
|
5857
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
5858
6289
|
name?: string | undefined;
|
|
5859
|
-
sort?: string | undefined;
|
|
5860
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
5861
6290
|
text?: string | undefined;
|
|
6291
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
5862
6292
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
5863
6293
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
5864
6294
|
page?: number | undefined;
|
|
5865
6295
|
pageSize?: number | undefined;
|
|
5866
6296
|
tab?: string | undefined;
|
|
5867
6297
|
scope?: string | undefined;
|
|
6298
|
+
sort?: string | undefined;
|
|
5868
6299
|
basket?: string | undefined;
|
|
5869
6300
|
isFirstPage?: boolean | undefined;
|
|
5870
6301
|
strictRefine?: boolean | undefined;
|
|
@@ -5878,6 +6309,7 @@ declare class FiltersBarComponent {
|
|
|
5878
6309
|
relevanceTransforms?: string | undefined;
|
|
5879
6310
|
removeDuplicates?: boolean | undefined;
|
|
5880
6311
|
queryId?: string | undefined;
|
|
6312
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
5881
6313
|
orderBy?: string | undefined;
|
|
5882
6314
|
groupBy?: string | undefined;
|
|
5883
6315
|
neuralSearch?: boolean | undefined;
|
|
@@ -5897,7 +6329,7 @@ declare class FiltersBarComponent {
|
|
|
5897
6329
|
protected hasFilters: _angular_core.Signal<string | boolean>;
|
|
5898
6330
|
protected currentBasket: _angular_core.Signal<string | undefined>;
|
|
5899
6331
|
protected hasAggregations: _angular_core.Signal<boolean>;
|
|
5900
|
-
protected hasMoreFilters: _angular_core.Signal<(
|
|
6332
|
+
protected hasMoreFilters: _angular_core.Signal<(Aggregation | undefined)[]>;
|
|
5901
6333
|
constructor();
|
|
5902
6334
|
/**
|
|
5903
6335
|
* Clears all filters (included baskets) by invoking the clearFilters method on the queryParamsStore.
|
|
@@ -5919,8 +6351,27 @@ declare class FiltersBarComponent {
|
|
|
5919
6351
|
*
|
|
5920
6352
|
*/
|
|
5921
6353
|
protected adjustFiltersCount(count: number): void;
|
|
6354
|
+
/**
|
|
6355
|
+
* Handles click events on the filter bar component.
|
|
6356
|
+
*
|
|
6357
|
+
* triggers the `onClick` handler
|
|
6358
|
+
* for each filter button's popover reference, if available.
|
|
6359
|
+
*
|
|
6360
|
+
* @param event - The mouse event triggered by the user's click.
|
|
6361
|
+
*/
|
|
6362
|
+
handleClick(event: MouseEvent): void;
|
|
5922
6363
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FiltersBarComponent, never>;
|
|
5923
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FiltersBarComponent, "filters-bar, FiltersBar, filtersbar", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "morePosition": { "alias": "morePosition"; "required": false; "isSignal": true; }; "excludeFilters": { "alias": "excludeFilters"; "required": false; "isSignal": true; }; "filtersCount": { "alias": "filtersCount"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; }, { "onClearFilters": "onClearFilters"; "onClearBasket": "onClearBasket"; }, never, never, true, never>;
|
|
6364
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FiltersBarComponent, "filters-bar, FiltersBar, filtersbar", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "morePosition": { "alias": "morePosition"; "required": false; "isSignal": true; }; "aggregations": { "alias": "aggregations"; "required": false; "isSignal": true; }; "excludeFilters": { "alias": "excludeFilters"; "required": false; "isSignal": true; }; "filtersCount": { "alias": "filtersCount"; "required": false; "isSignal": true; }; "showMoreFiltersButton": { "alias": "showMoreFiltersButton"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; }, { "onClearFilters": "onClearFilters"; "onClearBasket": "onClearBasket"; }, never, never, true, never>;
|
|
6365
|
+
}
|
|
6366
|
+
|
|
6367
|
+
declare class AsideFiltersComponent {
|
|
6368
|
+
cn: typeof cn;
|
|
6369
|
+
class: _angular_core.InputSignal<string | undefined>;
|
|
6370
|
+
position: _angular_core.InputSignal<"both" | "left" | undefined>;
|
|
6371
|
+
private readonly appStore;
|
|
6372
|
+
asideFilters: _angular_core.Signal<Aggregation[]>;
|
|
6373
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AsideFiltersComponent, never>;
|
|
6374
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AsideFiltersComponent, "aside-filters, AsideFilters, asidefilters", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5924
6375
|
}
|
|
5925
6376
|
|
|
5926
6377
|
type AggregationTitle = {
|
|
@@ -5928,6 +6379,7 @@ type AggregationTitle = {
|
|
|
5928
6379
|
icon?: string;
|
|
5929
6380
|
};
|
|
5930
6381
|
declare class AggregationComponent {
|
|
6382
|
+
cn: typeof cn;
|
|
5931
6383
|
aggregationsStore: {
|
|
5932
6384
|
aggregations: _angular_core.Signal<Aggregation[]>;
|
|
5933
6385
|
update: (aggregations: Aggregation[]) => void;
|
|
@@ -5938,17 +6390,16 @@ declare class AggregationComponent {
|
|
|
5938
6390
|
aggregations: Aggregation[];
|
|
5939
6391
|
}>;
|
|
5940
6392
|
queryParamsStore: {
|
|
5941
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
5942
6393
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
5943
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
5944
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
5945
6394
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
6395
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
5946
6396
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
5947
6397
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
5948
6398
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
5949
6399
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
5950
6400
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
5951
6401
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
6402
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
5952
6403
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
5953
6404
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
5954
6405
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -5962,6 +6413,7 @@ declare class AggregationComponent {
|
|
|
5962
6413
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
5963
6414
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
5964
6415
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
6416
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
5965
6417
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
5966
6418
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
5967
6419
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -5969,6 +6421,14 @@ declare class AggregationComponent {
|
|
|
5969
6421
|
filters?: _angular_core.Signal<LegacyFilter[] | undefined> | undefined;
|
|
5970
6422
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
5971
6423
|
setFromUrl: (url: string) => void;
|
|
6424
|
+
getQueryParams: () => {
|
|
6425
|
+
f?: string;
|
|
6426
|
+
p?: number;
|
|
6427
|
+
s?: string;
|
|
6428
|
+
t?: string;
|
|
6429
|
+
q?: string;
|
|
6430
|
+
b?: string;
|
|
6431
|
+
};
|
|
5972
6432
|
addFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
5973
6433
|
updateFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
5974
6434
|
removeFilter: (field?: string) => void;
|
|
@@ -5984,17 +6444,16 @@ declare class AggregationComponent {
|
|
|
5984
6444
|
}> | null;
|
|
5985
6445
|
getQuery: () => Query;
|
|
5986
6446
|
} & _ngrx_signals.StateSource<{
|
|
5987
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
5988
6447
|
name?: string | undefined;
|
|
5989
|
-
sort?: string | undefined;
|
|
5990
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
5991
6448
|
text?: string | undefined;
|
|
6449
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
5992
6450
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
5993
6451
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
5994
6452
|
page?: number | undefined;
|
|
5995
6453
|
pageSize?: number | undefined;
|
|
5996
6454
|
tab?: string | undefined;
|
|
5997
6455
|
scope?: string | undefined;
|
|
6456
|
+
sort?: string | undefined;
|
|
5998
6457
|
basket?: string | undefined;
|
|
5999
6458
|
isFirstPage?: boolean | undefined;
|
|
6000
6459
|
strictRefine?: boolean | undefined;
|
|
@@ -6008,6 +6467,7 @@ declare class AggregationComponent {
|
|
|
6008
6467
|
relevanceTransforms?: string | undefined;
|
|
6009
6468
|
removeDuplicates?: boolean | undefined;
|
|
6010
6469
|
queryId?: string | undefined;
|
|
6470
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
6011
6471
|
orderBy?: string | undefined;
|
|
6012
6472
|
groupBy?: string | undefined;
|
|
6013
6473
|
neuralSearch?: boolean | undefined;
|
|
@@ -6017,6 +6477,13 @@ declare class AggregationComponent {
|
|
|
6017
6477
|
}>;
|
|
6018
6478
|
aggregationsService: AggregationsService;
|
|
6019
6479
|
el: ElementRef<any>;
|
|
6480
|
+
injector: Injector;
|
|
6481
|
+
class: _angular_core.InputSignal<string>;
|
|
6482
|
+
/**
|
|
6483
|
+
* The name of the <details> element. When you provide the same id, the component work as an accordion
|
|
6484
|
+
* @defaultValue null
|
|
6485
|
+
*/
|
|
6486
|
+
id: _angular_core.InputSignal<string | null>;
|
|
6020
6487
|
name: _angular_core.InputSignal<string | null>;
|
|
6021
6488
|
column: _angular_core.InputSignal<string | null>;
|
|
6022
6489
|
onSelect: _angular_core.OutputEmitterRef<boolean>;
|
|
@@ -6026,7 +6493,37 @@ declare class AggregationComponent {
|
|
|
6026
6493
|
*
|
|
6027
6494
|
* @default false
|
|
6028
6495
|
*/
|
|
6029
|
-
headless: _angular_core.
|
|
6496
|
+
headless: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
6497
|
+
/**
|
|
6498
|
+
* Determines whether the aggregation component can be collapsed or expanded.
|
|
6499
|
+
* When true, the component will display collapse/expand controls allowing users
|
|
6500
|
+
* to show or hide the aggregation content.
|
|
6501
|
+
*
|
|
6502
|
+
* @default false
|
|
6503
|
+
*/
|
|
6504
|
+
collapsible: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6505
|
+
/**
|
|
6506
|
+
* Controls whether the aggregation component is in a collapsed state.
|
|
6507
|
+
* When true, the component will be visually collapsed/hidden.
|
|
6508
|
+
* When false, the component will be expanded/visible.
|
|
6509
|
+
*
|
|
6510
|
+
* @default false
|
|
6511
|
+
*/
|
|
6512
|
+
collapsed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6513
|
+
/**
|
|
6514
|
+
* A computed signal that tracks the collapsed state of the component.
|
|
6515
|
+
* This signal is linked to the `collapsed()` signal and automatically updates
|
|
6516
|
+
* when the collapsed state changes.
|
|
6517
|
+
*/
|
|
6518
|
+
isCollapsed: _angular_core.WritableSignal<boolean>;
|
|
6519
|
+
/**
|
|
6520
|
+
* Computed property that returns an empty string when the component is not collapsed,
|
|
6521
|
+
* or null when the component is collapsed. This is typically used to control
|
|
6522
|
+
* expansion state in UI components with conditional rendering or styling.
|
|
6523
|
+
*
|
|
6524
|
+
* @returns Empty string if not collapsed, null if collapsed
|
|
6525
|
+
*/
|
|
6526
|
+
expanded: _angular_core.Signal<"" | null>;
|
|
6030
6527
|
/**
|
|
6031
6528
|
* A boolean flag indicating whether the component is searchable.
|
|
6032
6529
|
* This property is initialized to `undefined` by default.
|
|
@@ -6038,9 +6535,14 @@ declare class AggregationComponent {
|
|
|
6038
6535
|
* A boolean flag indicating whether we want to see the filters count when some is applied
|
|
6039
6536
|
* This property is initialized to `false` by default.
|
|
6040
6537
|
*/
|
|
6041
|
-
showFiltersCount: _angular_core.
|
|
6538
|
+
showFiltersCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6042
6539
|
aggregation: _angular_core.Signal<_sinequa_atomic_angular.AggEx | null>;
|
|
6043
6540
|
items: _angular_core.Signal<AggregationListItem[]>;
|
|
6541
|
+
/**
|
|
6542
|
+
* Computed signal that determines whether the items collection is empty.
|
|
6543
|
+
* @returns True if the items array has no elements, false otherwise.
|
|
6544
|
+
*/
|
|
6545
|
+
isEmpty: _angular_core.Signal<boolean>;
|
|
6044
6546
|
/**
|
|
6045
6547
|
* A computed property that determines whether there are active filters
|
|
6046
6548
|
* for the current aggregation column.
|
|
@@ -6058,7 +6560,7 @@ declare class AggregationComponent {
|
|
|
6058
6560
|
* @returns {number} the filters count.
|
|
6059
6561
|
*/
|
|
6060
6562
|
filtersCount: _angular_core.Signal<number>;
|
|
6061
|
-
|
|
6563
|
+
isAllSelected: _angular_core.WritableSignal<boolean>;
|
|
6062
6564
|
searchText: _angular_core.ModelSignal<string>;
|
|
6063
6565
|
debouncedSearchText: _angular_core.Signal<string>;
|
|
6064
6566
|
normalizedSearchText: _angular_core.Signal<string>;
|
|
@@ -6073,6 +6575,7 @@ declare class AggregationComponent {
|
|
|
6073
6575
|
items: never[];
|
|
6074
6576
|
}[]>;
|
|
6075
6577
|
query: Query;
|
|
6578
|
+
filters: _angular_core.WritableSignal<LegacyFilter[]>;
|
|
6076
6579
|
constructor();
|
|
6077
6580
|
/**
|
|
6078
6581
|
* Clears the current filter for the aggregation column.
|
|
@@ -6081,6 +6584,14 @@ declare class AggregationComponent {
|
|
|
6081
6584
|
* of the current aggregation column to an empty string.
|
|
6082
6585
|
*/
|
|
6083
6586
|
clear(): void;
|
|
6587
|
+
/**
|
|
6588
|
+
* Select all filters for the aggregation column.
|
|
6589
|
+
*/
|
|
6590
|
+
selectAll(): void;
|
|
6591
|
+
/**
|
|
6592
|
+
* Unselect all filters for the aggregation column.
|
|
6593
|
+
*/
|
|
6594
|
+
unselectAll(): void;
|
|
6084
6595
|
/**
|
|
6085
6596
|
* Applies the current filters to the query parameters store.
|
|
6086
6597
|
*
|
|
@@ -6091,9 +6602,15 @@ declare class AggregationComponent {
|
|
|
6091
6602
|
*
|
|
6092
6603
|
* After applying the filters, the search text is reset.
|
|
6093
6604
|
*/
|
|
6094
|
-
apply(): void;
|
|
6605
|
+
apply(overrideFilters?: LegacyFilter[]): void;
|
|
6095
6606
|
loadMore(): void;
|
|
6096
6607
|
open(node: AggregationListItem): Promise<void>;
|
|
6608
|
+
/**
|
|
6609
|
+
* Quick filter in or out a node whether it is already applied or not
|
|
6610
|
+
*
|
|
6611
|
+
* @param node - The node to be added or removed.
|
|
6612
|
+
*/
|
|
6613
|
+
quickFilter(node: AggregationListItem): void;
|
|
6097
6614
|
/**
|
|
6098
6615
|
* Updates the selected state of the given item in the aggregation list.
|
|
6099
6616
|
*
|
|
@@ -6106,6 +6623,10 @@ declare class AggregationComponent {
|
|
|
6106
6623
|
* If the item is deselected, the selection count is decremented by 1.
|
|
6107
6624
|
*/
|
|
6108
6625
|
select(): void;
|
|
6626
|
+
/**
|
|
6627
|
+
* Updates the collapsed status on header click if the component is collapsible.
|
|
6628
|
+
*/
|
|
6629
|
+
onHeaderClick(event: Event): void;
|
|
6109
6630
|
/**
|
|
6110
6631
|
* Retrieves the appropriate filters based on the aggregation type.
|
|
6111
6632
|
*
|
|
@@ -6141,8 +6662,20 @@ declare class AggregationComponent {
|
|
|
6141
6662
|
*/
|
|
6142
6663
|
private getFlattenTreeItems;
|
|
6143
6664
|
private addCurrentFiltersToItems;
|
|
6665
|
+
/**
|
|
6666
|
+
* Update the $selected property to the selected parameter to all items
|
|
6667
|
+
*
|
|
6668
|
+
* @param items the items to apply to
|
|
6669
|
+
* @param selected the selected status
|
|
6670
|
+
*/
|
|
6671
|
+
private selectItems;
|
|
6672
|
+
/**
|
|
6673
|
+
* Check whether all items are selected and update isAllSelected accordingly
|
|
6674
|
+
*/
|
|
6675
|
+
private verifySelected;
|
|
6676
|
+
onToggle(event: Event): void;
|
|
6144
6677
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationComponent, never>;
|
|
6145
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationComponent, "Aggregation, aggregation", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "headless": { "alias": "headless"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "showFiltersCount": { "alias": "showFiltersCount"; "required": false; "isSignal": true; }; "searchText": { "alias": "searchText"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; "searchText": "searchTextChange"; }, never, ["label"], true, never>;
|
|
6678
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationComponent, "Aggregation, aggregation", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "headless": { "alias": "headless"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "showFiltersCount": { "alias": "showFiltersCount"; "required": false; "isSignal": true; }; "searchText": { "alias": "searchText"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; "searchText": "searchTextChange"; }, never, ["label"], true, never>;
|
|
6146
6679
|
}
|
|
6147
6680
|
|
|
6148
6681
|
/**
|
|
@@ -6163,7 +6696,7 @@ declare class AggregationComponent {
|
|
|
6163
6696
|
declare const FILTER_DATE_ALLOW_CUSTOM_RANGE: InjectionToken<boolean>;
|
|
6164
6697
|
declare class DateComponent extends AggregationComponent {
|
|
6165
6698
|
private destroyRef;
|
|
6166
|
-
|
|
6699
|
+
datepicker: _angular_core.Signal<DateRangePickerDirective | undefined>;
|
|
6167
6700
|
readonly title: _angular_core.InputSignal<AggregationTitle>;
|
|
6168
6701
|
readonly displayEmptyDistributionIntervals: _angular_core.InputSignal<boolean>;
|
|
6169
6702
|
readonly allowCustomRange: boolean;
|
|
@@ -6176,7 +6709,8 @@ declare class DateComponent extends AggregationComponent {
|
|
|
6176
6709
|
to: FormControl<string | null>;
|
|
6177
6710
|
}>;
|
|
6178
6711
|
}>;
|
|
6179
|
-
protected today:
|
|
6712
|
+
protected today: Date;
|
|
6713
|
+
protected lang: _angular_core.WritableSignal<string>;
|
|
6180
6714
|
protected readonly validSelection: _angular_core.WritableSignal<boolean>;
|
|
6181
6715
|
constructor(destroyRef: DestroyRef);
|
|
6182
6716
|
aggregation: _angular_core.Signal<AggEx | null>;
|
|
@@ -6184,15 +6718,16 @@ declare class DateComponent extends AggregationComponent {
|
|
|
6184
6718
|
clear(notify?: boolean): void;
|
|
6185
6719
|
private updateForm;
|
|
6186
6720
|
private getFormValueFilter;
|
|
6721
|
+
private onDateChange;
|
|
6187
6722
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateComponent, never>;
|
|
6188
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateComponent, "date-filter,DateFilter", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "displayEmptyDistributionIntervals": { "alias": "displayEmptyDistributionIntervals"; "required": false; "isSignal": true; }; }, {}, never,
|
|
6723
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateComponent, "date-filter,DateFilter", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "displayEmptyDistributionIntervals": { "alias": "displayEmptyDistributionIntervals"; "required": false; "isSignal": true; }; }, {}, never, ["label"], true, never>;
|
|
6189
6724
|
}
|
|
6190
6725
|
|
|
6191
6726
|
declare class MoreComponent {
|
|
6192
6727
|
cn: typeof cn;
|
|
6193
6728
|
count: _angular_core.InputSignal<number>;
|
|
6194
6729
|
excludedFilters: _angular_core.InputSignal<string[]>;
|
|
6195
|
-
|
|
6730
|
+
aggregations: _angular_core.InputSignal<Aggregation[] | undefined>;
|
|
6196
6731
|
appStore: {
|
|
6197
6732
|
webServices: _ngrx_signals.DeepSignal<{}>;
|
|
6198
6733
|
queries: _ngrx_signals.DeepSignal<{}>;
|
|
@@ -6215,7 +6750,20 @@ declare class MoreComponent {
|
|
|
6215
6750
|
};
|
|
6216
6751
|
};
|
|
6217
6752
|
features?: {
|
|
6753
|
+
[key: string]: boolean | {
|
|
6754
|
+
[key: string]: boolean | undefined;
|
|
6755
|
+
} | undefined;
|
|
6756
|
+
allowChangePassword?: boolean;
|
|
6218
6757
|
advancedSearch?: boolean;
|
|
6758
|
+
allowChatDrawer?: boolean;
|
|
6759
|
+
filterLinkChildren?: boolean;
|
|
6760
|
+
quickFilter?: boolean;
|
|
6761
|
+
assistant?: {
|
|
6762
|
+
usePrefixName?: boolean;
|
|
6763
|
+
};
|
|
6764
|
+
filters?: {
|
|
6765
|
+
homepage?: boolean;
|
|
6766
|
+
};
|
|
6219
6767
|
};
|
|
6220
6768
|
} | undefined>;
|
|
6221
6769
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -6231,13 +6779,15 @@ declare class MoreComponent {
|
|
|
6231
6779
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
6232
6780
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
6233
6781
|
allowEmptySearch: (queryName: string) => boolean;
|
|
6782
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
6234
6783
|
allowLabels: () => boolean;
|
|
6235
6784
|
getColumnAlias: (column: string) => string;
|
|
6236
6785
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
6237
6786
|
isDateColumn: (column: string) => boolean;
|
|
6238
6787
|
isTabSearch: (queryName: string) => boolean;
|
|
6239
6788
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
6240
|
-
getAuthorizedFilters: (
|
|
6789
|
+
getAuthorizedFilters: () => Aggregation[];
|
|
6790
|
+
getAuthorized: (filters: Pick<CFilter, "column" | "name">[]) => Aggregation[];
|
|
6241
6791
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
6242
6792
|
getAggregationIcon: (column: string) => string | undefined;
|
|
6243
6793
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -6259,17 +6809,16 @@ declare class MoreComponent {
|
|
|
6259
6809
|
aggregations: Aggregation[];
|
|
6260
6810
|
}>;
|
|
6261
6811
|
queryParamsStore: {
|
|
6262
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
6263
6812
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
6264
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
6265
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
6266
6813
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
6814
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
6267
6815
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
6268
6816
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
6269
6817
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
6270
6818
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
6271
6819
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
6272
6820
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
6821
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
6273
6822
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
6274
6823
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
6275
6824
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -6283,6 +6832,7 @@ declare class MoreComponent {
|
|
|
6283
6832
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
6284
6833
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
6285
6834
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
6835
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
6286
6836
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
6287
6837
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
6288
6838
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -6290,6 +6840,14 @@ declare class MoreComponent {
|
|
|
6290
6840
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
6291
6841
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
6292
6842
|
setFromUrl: (url: string) => void;
|
|
6843
|
+
getQueryParams: () => {
|
|
6844
|
+
f?: string;
|
|
6845
|
+
p?: number;
|
|
6846
|
+
s?: string;
|
|
6847
|
+
t?: string;
|
|
6848
|
+
q?: string;
|
|
6849
|
+
b?: string;
|
|
6850
|
+
};
|
|
6293
6851
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
6294
6852
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
6295
6853
|
removeFilter: (field?: string) => void;
|
|
@@ -6305,17 +6863,16 @@ declare class MoreComponent {
|
|
|
6305
6863
|
}> | null;
|
|
6306
6864
|
getQuery: () => _sinequa_atomic.Query;
|
|
6307
6865
|
} & _ngrx_signals.StateSource<{
|
|
6308
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
6309
6866
|
name?: string | undefined;
|
|
6310
|
-
sort?: string | undefined;
|
|
6311
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
6312
6867
|
text?: string | undefined;
|
|
6868
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
6313
6869
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
6314
6870
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
6315
6871
|
page?: number | undefined;
|
|
6316
6872
|
pageSize?: number | undefined;
|
|
6317
6873
|
tab?: string | undefined;
|
|
6318
6874
|
scope?: string | undefined;
|
|
6875
|
+
sort?: string | undefined;
|
|
6319
6876
|
basket?: string | undefined;
|
|
6320
6877
|
isFirstPage?: boolean | undefined;
|
|
6321
6878
|
strictRefine?: boolean | undefined;
|
|
@@ -6329,6 +6886,7 @@ declare class MoreComponent {
|
|
|
6329
6886
|
relevanceTransforms?: string | undefined;
|
|
6330
6887
|
removeDuplicates?: boolean | undefined;
|
|
6331
6888
|
queryId?: string | undefined;
|
|
6889
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
6332
6890
|
orderBy?: string | undefined;
|
|
6333
6891
|
groupBy?: string | undefined;
|
|
6334
6892
|
neuralSearch?: boolean | undefined;
|
|
@@ -6336,7 +6894,22 @@ declare class MoreComponent {
|
|
|
6336
6894
|
filters?: _sinequa_atomic.LegacyFilter[] | undefined;
|
|
6337
6895
|
id?: string | undefined;
|
|
6338
6896
|
}>;
|
|
6897
|
+
/**
|
|
6898
|
+
* Signal containing an array of extended filter objects.
|
|
6899
|
+
*
|
|
6900
|
+
* @remarks
|
|
6901
|
+
* This signal holds the current state of filters that can be applied to data.
|
|
6902
|
+
* The filters are of type CFilterEx[], which extends the base filter functionality.
|
|
6903
|
+
*
|
|
6904
|
+
*/
|
|
6339
6905
|
filters: _angular_core.WritableSignal<CFilterEx[]>;
|
|
6906
|
+
/**
|
|
6907
|
+
* Computed property that returns an array of filters that are currently visible.
|
|
6908
|
+
* Filters out any filters where the `hidden` property is set to true.
|
|
6909
|
+
*
|
|
6910
|
+
* @returns An array of filters that are not hidden
|
|
6911
|
+
*/
|
|
6912
|
+
visibleFilters: _angular_core.Signal<CFilterEx[]>;
|
|
6340
6913
|
constructor();
|
|
6341
6914
|
clearFilter(field: string): void;
|
|
6342
6915
|
updateFilters(): void;
|
|
@@ -6356,7 +6929,7 @@ declare class MoreComponent {
|
|
|
6356
6929
|
*/
|
|
6357
6930
|
hasFilters(aggregation: Aggregation): boolean;
|
|
6358
6931
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MoreComponent, never>;
|
|
6359
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MoreComponent, "more, More", never, { "count": { "alias": "count"; "required": false; "isSignal": true; }; "excludedFilters": { "alias": "excludedFilters"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6932
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MoreComponent, "more, More", never, { "count": { "alias": "count"; "required": false; "isSignal": true; }; "excludedFilters": { "alias": "excludedFilters"; "required": false; "isSignal": true; }; "aggregations": { "alias": "aggregations"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6360
6933
|
}
|
|
6361
6934
|
|
|
6362
6935
|
declare class DrawerService {
|
|
@@ -6401,7 +6974,7 @@ declare class DrawerComponent {
|
|
|
6401
6974
|
declare const DRAWER_COMPONENT: InjectionToken<Type<DrawerComponent>>;
|
|
6402
6975
|
declare const DRAWER_STACK_MAX_COUNT: InjectionToken<number>;
|
|
6403
6976
|
declare class DrawerStackComponent {
|
|
6404
|
-
drawerOpened: boolean
|
|
6977
|
+
drawerOpened: _angular_core.Signal<boolean>;
|
|
6405
6978
|
readonly drawerStackService: DrawerStackService;
|
|
6406
6979
|
protected readonly selectionHistory: SelectionHistoryService;
|
|
6407
6980
|
protected readonly viewContainer: ViewContainerRef;
|
|
@@ -6444,7 +7017,8 @@ declare class DrawerAdvancedFiltersComponent extends DrawerComponent {
|
|
|
6444
7017
|
private readonly formBuilder;
|
|
6445
7018
|
private readonly overlay;
|
|
6446
7019
|
private readonly transloco;
|
|
6447
|
-
private readonly
|
|
7020
|
+
private readonly syslangPipe;
|
|
7021
|
+
private readonly translocoPipe;
|
|
6448
7022
|
protected scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
6449
7023
|
protected noop: _angular_cdk_overlay.NoopScrollStrategy;
|
|
6450
7024
|
selectData: {
|
|
@@ -6469,12 +7043,15 @@ declare class DrawerAdvancedFiltersComponent extends DrawerComponent {
|
|
|
6469
7043
|
values: DropdownItem[];
|
|
6470
7044
|
}[]>;
|
|
6471
7045
|
suggestions: _angular_core.WritableSignal<DropdownItem[]>;
|
|
6472
|
-
aggregations: _angular_core.WritableSignal<(Aggregation | TreeAggregation)[]
|
|
7046
|
+
aggregations: _angular_core.WritableSignal<(Aggregation | TreeAggregation)[]>;
|
|
7047
|
+
inputVariant: _angular_core.WritableSignal<"default" | "destructive">;
|
|
6473
7048
|
tabs: _angular_core.Signal<Tab[]>;
|
|
6474
7049
|
filters: _angular_core.Signal<Filter[]>;
|
|
7050
|
+
protected enableFieldedSearch: _angular_core.Signal<boolean>;
|
|
7051
|
+
protected allowEmptySearch: _angular_core.Signal<boolean>;
|
|
6475
7052
|
text: string;
|
|
6476
7053
|
constructor();
|
|
6477
|
-
|
|
7054
|
+
getFirstPageQuery(): Promise<void>;
|
|
6478
7055
|
onTabChange(tab: string): void;
|
|
6479
7056
|
onSearch(): void;
|
|
6480
7057
|
/** Generate the LegacyFilter to add to the query */
|
|
@@ -6494,6 +7071,7 @@ declare class DrawerAdvancedFiltersComponent extends DrawerComponent {
|
|
|
6494
7071
|
onInputTyping(value: string | null): void;
|
|
6495
7072
|
private setSuggestions;
|
|
6496
7073
|
private getSuggestionItems;
|
|
7074
|
+
private getWithSubItems;
|
|
6497
7075
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerAdvancedFiltersComponent, never>;
|
|
6498
7076
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerAdvancedFiltersComponent, "advanced-filters", never, {}, {}, never, never, true, never>;
|
|
6499
7077
|
}
|
|
@@ -6501,6 +7079,7 @@ declare class DrawerAdvancedFiltersComponent extends DrawerComponent {
|
|
|
6501
7079
|
declare class AdvancedSearchComponent {
|
|
6502
7080
|
cn: typeof cn;
|
|
6503
7081
|
readonly article: _angular_core.InputSignal<Article$1>;
|
|
7082
|
+
readonly previewStrategy: _angular_core.InputSignal<SelectionStrategy | undefined>;
|
|
6504
7083
|
protected readonly selectionStore: {
|
|
6505
7084
|
article: _ngrx_signals.DeepSignal<Article$1>;
|
|
6506
7085
|
id: _angular_core.Signal<string>;
|
|
@@ -6523,17 +7102,16 @@ declare class AdvancedSearchComponent {
|
|
|
6523
7102
|
multiSelection: Article$1[];
|
|
6524
7103
|
}>;
|
|
6525
7104
|
protected readonly queryParamsStore: {
|
|
6526
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
6527
7105
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
6528
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
6529
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
6530
7106
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
7107
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
6531
7108
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
6532
7109
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
6533
7110
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
6534
7111
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
6535
7112
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
6536
7113
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
7114
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
6537
7115
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
6538
7116
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
6539
7117
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -6547,6 +7125,7 @@ declare class AdvancedSearchComponent {
|
|
|
6547
7125
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
6548
7126
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
6549
7127
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
7128
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
6550
7129
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
6551
7130
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
6552
7131
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -6554,6 +7133,14 @@ declare class AdvancedSearchComponent {
|
|
|
6554
7133
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
6555
7134
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
6556
7135
|
setFromUrl: (url: string) => void;
|
|
7136
|
+
getQueryParams: () => {
|
|
7137
|
+
f?: string;
|
|
7138
|
+
p?: number;
|
|
7139
|
+
s?: string;
|
|
7140
|
+
t?: string;
|
|
7141
|
+
q?: string;
|
|
7142
|
+
b?: string;
|
|
7143
|
+
};
|
|
6557
7144
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
6558
7145
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
6559
7146
|
removeFilter: (field?: string) => void;
|
|
@@ -6569,17 +7156,16 @@ declare class AdvancedSearchComponent {
|
|
|
6569
7156
|
}> | null;
|
|
6570
7157
|
getQuery: () => _sinequa_atomic.Query;
|
|
6571
7158
|
} & _ngrx_signals.StateSource<{
|
|
6572
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
6573
7159
|
name?: string | undefined;
|
|
6574
|
-
sort?: string | undefined;
|
|
6575
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
6576
7160
|
text?: string | undefined;
|
|
7161
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
6577
7162
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
6578
7163
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
6579
7164
|
page?: number | undefined;
|
|
6580
7165
|
pageSize?: number | undefined;
|
|
6581
7166
|
tab?: string | undefined;
|
|
6582
7167
|
scope?: string | undefined;
|
|
7168
|
+
sort?: string | undefined;
|
|
6583
7169
|
basket?: string | undefined;
|
|
6584
7170
|
isFirstPage?: boolean | undefined;
|
|
6585
7171
|
strictRefine?: boolean | undefined;
|
|
@@ -6593,6 +7179,7 @@ declare class AdvancedSearchComponent {
|
|
|
6593
7179
|
relevanceTransforms?: string | undefined;
|
|
6594
7180
|
removeDuplicates?: boolean | undefined;
|
|
6595
7181
|
queryId?: string | undefined;
|
|
7182
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
6596
7183
|
orderBy?: string | undefined;
|
|
6597
7184
|
groupBy?: string | undefined;
|
|
6598
7185
|
neuralSearch?: boolean | undefined;
|
|
@@ -6605,7 +7192,7 @@ declare class AdvancedSearchComponent {
|
|
|
6605
7192
|
protected executeSearch(): void;
|
|
6606
7193
|
protected clearInput(): void;
|
|
6607
7194
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdvancedSearchComponent, never>;
|
|
6608
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdvancedSearchComponent, "advanced-search", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7195
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdvancedSearchComponent, "advanced-search", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; "previewStrategy": { "alias": "previewStrategy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6609
7196
|
}
|
|
6610
7197
|
|
|
6611
7198
|
declare class DrawerNavbarComponent {
|
|
@@ -6648,7 +7235,20 @@ declare class DrawerPreviewComponent extends DrawerComponent {
|
|
|
6648
7235
|
};
|
|
6649
7236
|
};
|
|
6650
7237
|
features?: {
|
|
7238
|
+
[key: string]: boolean | {
|
|
7239
|
+
[key: string]: boolean | undefined;
|
|
7240
|
+
} | undefined;
|
|
7241
|
+
allowChangePassword?: boolean;
|
|
6651
7242
|
advancedSearch?: boolean;
|
|
7243
|
+
allowChatDrawer?: boolean;
|
|
7244
|
+
filterLinkChildren?: boolean;
|
|
7245
|
+
quickFilter?: boolean;
|
|
7246
|
+
assistant?: {
|
|
7247
|
+
usePrefixName?: boolean;
|
|
7248
|
+
};
|
|
7249
|
+
filters?: {
|
|
7250
|
+
homepage?: boolean;
|
|
7251
|
+
};
|
|
6652
7252
|
};
|
|
6653
7253
|
} | undefined>;
|
|
6654
7254
|
assistants: _angular_core.Signal<Record<string, any>>;
|
|
@@ -6664,13 +7264,15 @@ declare class DrawerPreviewComponent extends DrawerComponent {
|
|
|
6664
7264
|
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
6665
7265
|
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
6666
7266
|
allowEmptySearch: (queryName: string) => boolean;
|
|
7267
|
+
enableFieldedSearch: (queryName: string) => boolean;
|
|
6667
7268
|
allowLabels: () => boolean;
|
|
6668
7269
|
getColumnAlias: (column: string) => string;
|
|
6669
7270
|
getColumn: (column: string) => _sinequa_atomic.CCColumn | undefined;
|
|
6670
7271
|
isDateColumn: (column: string) => boolean;
|
|
6671
7272
|
isTabSearch: (queryName: string) => boolean;
|
|
6672
7273
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
6673
|
-
getAuthorizedFilters: (
|
|
7274
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
7275
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
6674
7276
|
getNamedCustomizationJson: (name: string) => any | undefined;
|
|
6675
7277
|
getAggregationIcon: (column: string) => string | undefined;
|
|
6676
7278
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
@@ -6704,17 +7306,16 @@ declare class DrawerPreviewComponent extends DrawerComponent {
|
|
|
6704
7306
|
multiSelection: _sinequa_atomic.Article[];
|
|
6705
7307
|
}>;
|
|
6706
7308
|
queryParamsStore: {
|
|
6707
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
6708
7309
|
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
6709
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
6710
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
6711
7310
|
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
7311
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
6712
7312
|
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
6713
7313
|
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
6714
7314
|
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
6715
7315
|
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
6716
7316
|
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
6717
7317
|
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
7318
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
6718
7319
|
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
6719
7320
|
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
6720
7321
|
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -6728,6 +7329,7 @@ declare class DrawerPreviewComponent extends DrawerComponent {
|
|
|
6728
7329
|
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
6729
7330
|
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
6730
7331
|
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
7332
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
6731
7333
|
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
6732
7334
|
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
6733
7335
|
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
@@ -6735,6 +7337,14 @@ declare class DrawerPreviewComponent extends DrawerComponent {
|
|
|
6735
7337
|
filters?: _angular_core.Signal<_sinequa_atomic.LegacyFilter[] | undefined> | undefined;
|
|
6736
7338
|
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
6737
7339
|
setFromUrl: (url: string) => void;
|
|
7340
|
+
getQueryParams: () => {
|
|
7341
|
+
f?: string;
|
|
7342
|
+
p?: number;
|
|
7343
|
+
s?: string;
|
|
7344
|
+
t?: string;
|
|
7345
|
+
q?: string;
|
|
7346
|
+
b?: string;
|
|
7347
|
+
};
|
|
6738
7348
|
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
6739
7349
|
updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
|
|
6740
7350
|
removeFilter: (field?: string) => void;
|
|
@@ -6750,17 +7360,16 @@ declare class DrawerPreviewComponent extends DrawerComponent {
|
|
|
6750
7360
|
}> | null;
|
|
6751
7361
|
getQuery: () => _sinequa_atomic.Query;
|
|
6752
7362
|
} & _ngrx_signals.StateSource<{
|
|
6753
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
6754
7363
|
name?: string | undefined;
|
|
6755
|
-
sort?: string | undefined;
|
|
6756
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
6757
7364
|
text?: string | undefined;
|
|
7365
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
6758
7366
|
select?: _sinequa_atomic.Select[] | undefined;
|
|
6759
7367
|
open?: _sinequa_atomic.Open[] | undefined;
|
|
6760
7368
|
page?: number | undefined;
|
|
6761
7369
|
pageSize?: number | undefined;
|
|
6762
7370
|
tab?: string | undefined;
|
|
6763
7371
|
scope?: string | undefined;
|
|
7372
|
+
sort?: string | undefined;
|
|
6764
7373
|
basket?: string | undefined;
|
|
6765
7374
|
isFirstPage?: boolean | undefined;
|
|
6766
7375
|
strictRefine?: boolean | undefined;
|
|
@@ -6774,6 +7383,7 @@ declare class DrawerPreviewComponent extends DrawerComponent {
|
|
|
6774
7383
|
relevanceTransforms?: string | undefined;
|
|
6775
7384
|
removeDuplicates?: boolean | undefined;
|
|
6776
7385
|
queryId?: string | undefined;
|
|
7386
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
6777
7387
|
orderBy?: string | undefined;
|
|
6778
7388
|
groupBy?: string | undefined;
|
|
6779
7389
|
neuralSearch?: boolean | undefined;
|
|
@@ -6792,5 +7402,72 @@ declare class DrawerPreviewComponent extends DrawerComponent {
|
|
|
6792
7402
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerPreviewComponent, "DrawerPreview, drawerpreview", never, { "articleId": { "alias": "articleId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6793
7403
|
}
|
|
6794
7404
|
|
|
6795
|
-
|
|
7405
|
+
/**
|
|
7406
|
+
* Represents the LoginComponent class, which is responsible for handling the login functionality.
|
|
7407
|
+
* This component is used to authenticate users and manage the user's authentication status.
|
|
7408
|
+
*/
|
|
7409
|
+
declare class SignInComponent {
|
|
7410
|
+
private destroyRef;
|
|
7411
|
+
config: Partial<{
|
|
7412
|
+
app: string;
|
|
7413
|
+
backendUrl: string;
|
|
7414
|
+
autoOAuthProvider: string;
|
|
7415
|
+
autoSAMLProvider: string;
|
|
7416
|
+
bearerToken: string;
|
|
7417
|
+
loginPath: string;
|
|
7418
|
+
userOverride: {
|
|
7419
|
+
username: string;
|
|
7420
|
+
domain: string;
|
|
7421
|
+
};
|
|
7422
|
+
userOverrideActive: boolean;
|
|
7423
|
+
useCredentials: boolean;
|
|
7424
|
+
useSSO: boolean;
|
|
7425
|
+
useSAML: boolean;
|
|
7426
|
+
logLevel: _sinequa_atomic.LogLevel;
|
|
7427
|
+
createRoutes: boolean;
|
|
7428
|
+
} & Record<string, any>>;
|
|
7429
|
+
readonly changePassword: _angular_core.OutputEmitterRef<void>;
|
|
7430
|
+
username: _angular_core.ModelSignal<string>;
|
|
7431
|
+
password: _angular_core.ModelSignal<string>;
|
|
7432
|
+
credentials: _angular_core.Signal<Credentials>;
|
|
7433
|
+
readonly authenticated: _angular_core.WritableSignal<boolean>;
|
|
7434
|
+
readonly user: _angular_core.WritableSignal<Principal | null>;
|
|
7435
|
+
readonly returnUrl: _angular_core.WritableSignal<string[] | null>;
|
|
7436
|
+
private readonly router;
|
|
7437
|
+
private readonly route;
|
|
7438
|
+
private readonly principalService;
|
|
7439
|
+
private readonly applicationService;
|
|
7440
|
+
private readonly appStore;
|
|
7441
|
+
valid: _angular_core.Signal<boolean>;
|
|
7442
|
+
constructor(destroyRef: DestroyRef);
|
|
7443
|
+
allowChangePassword: _angular_core.Signal<boolean>;
|
|
7444
|
+
handleLogout(): Promise<void>;
|
|
7445
|
+
handleLogin(): Promise<void>;
|
|
7446
|
+
handleLoginWithCredentials(): Promise<void>;
|
|
7447
|
+
handleBack(): void;
|
|
7448
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SignInComponent, never>;
|
|
7449
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SignInComponent, "signIn, signin, sign-in", never, { "username": { "alias": "username"; "required": false; "isSignal": true; }; "password": { "alias": "password"; "required": false; "isSignal": true; }; }, { "changePassword": "changePassword"; "username": "usernameChange"; "password": "passwordChange"; }, never, never, true, never>;
|
|
7450
|
+
}
|
|
7451
|
+
|
|
7452
|
+
declare class ChangePasswordComponent {
|
|
7453
|
+
readonly success: _angular_core.OutputEmitterRef<void>;
|
|
7454
|
+
readonly cancel: _angular_core.OutputEmitterRef<void>;
|
|
7455
|
+
private readonly transloco;
|
|
7456
|
+
newPassword: _angular_core.ModelSignal<string>;
|
|
7457
|
+
confirmPassword: _angular_core.ModelSignal<string>;
|
|
7458
|
+
valid: _angular_core.Signal<boolean>;
|
|
7459
|
+
changePassword(): Promise<void>;
|
|
7460
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChangePasswordComponent, never>;
|
|
7461
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChangePasswordComponent, "change-password, ChangePassword, changepassword", never, { "newPassword": { "alias": "newPassword"; "required": false; "isSignal": true; }; "confirmPassword": { "alias": "confirmPassword"; "required": false; "isSignal": true; }; }, { "success": "success"; "cancel": "cancel"; "newPassword": "newPasswordChange"; "confirmPassword": "confirmPasswordChange"; }, never, never, true, never>;
|
|
7462
|
+
}
|
|
7463
|
+
|
|
7464
|
+
declare class AuthPageComponent {
|
|
7465
|
+
mode: _angular_core.InputSignal<"login" | "signin" | "changepassword" | undefined>;
|
|
7466
|
+
view: _angular_core.WritableSignal<"login" | "signin" | "changepassword">;
|
|
7467
|
+
constructor();
|
|
7468
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthPageComponent, never>;
|
|
7469
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthPageComponent, "auth-page, AuthPage, authpage", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7470
|
+
}
|
|
7471
|
+
|
|
7472
|
+
export { AGGREGATIONS_NAMES, AGGREGATIONS_NAMES_PRESET_DEFAULT, APP_FEATURES, AdvancedSearchComponent, AggregationComponent, AggregationsService, AggregationsStore, Alert, AlertDialog, AlertsComponent, AppService, AppStore, ApplicationService, ApplicationStore, AsideFiltersComponent, AuditFeedbackType, AuditService, AuthGuard, AuthPageComponent, AutocompleteService, BOOKMARKS_CONFIG, BOOKMARKS_OPTIONS, BackdropComponent, BackdropService, BookmarkButtonComponent, BookmarksComponent, COLLECTIONS_CONFIG, COLLECTIONS_OPTIONS, COMPONENTS_FOR_DOCUMENT_TYPE, ChangePasswordComponent, ChildMarkerDirective, CollectionsComponent, CollectionsDialog, DRAWER_COMPONENT, DRAWER_STACK_MAX_COUNT, DateComponent, DeleteCollectionDialog, DidYouMeanComponent, DocumentLocatorComponent, DrawerAdvancedFiltersComponent, DrawerComponent, DrawerNavbarComponent, DrawerPreviewComponent, DrawerService, DrawerStackComponent, DrawerStackService, DropdownInputComponent, DropdownListComponent, ErrorComponent, ExportDialog, ExportService, FILTERS_BREAKPOINT, FILTER_DATE_ALLOW_CUSTOM_RANGE, FeedbackDialogComponent, FileSizePipe, FilterButtonComponent, FiltersBarComponent, HIGHLIGHTS, HighlightWordPipe, InfinityScrollDirective, InlineWorker, JsonMethodPluginService, KeyboardNavigatorDirective, LabelService, LabelsEditDialog, LoadingComponent, MetadataComponent, MissingTermsComponent, MoreButtonComponent, MoreComponent, MultiSelectLabelsComponent, MultiSelectionToolbarComponent, NON_SEARCHABLE_COLUMNS, NON_SEARCHABLE_DEFAULTS, NavbarTabsComponent, NavigationService, NoResultComponent, OpenArticleOnCtrlEnterDirective, OperatorPipe, OverflowItemDirective, OverflowManagerDirective, OverflowStopDirective, OverrideUserDialogComponent, PREVIEW_CONFIG, PagerComponent, PreviewNavigator, PreviewService, PrincipalService, PrincipalStore, QueryParamsStore, QueryService, RECENT_SEARCHES_CONFIG, RECENT_SEARCHES_OPTIONS, ROUTE_COMPONENTS, RecentSearchesComponent, ResetUserSettingsDialogComponent, SAVED_SEARCHES_CONFIG, SAVED_SEARCHES_OPTIONS, SavedSearchDialog, SavedSearchesComponent, SavedSearchesService, SearchFeedbackComponent, SearchInputComponent, SearchInputFooter, SearchService, SelectArticleOnClickDirective, SelectionHistoryService, SelectionService, SelectionStore, ShowBookmarkDirective, SignInComponent, SortSelectorComponent, SourceComponent, SourceIconPipe, SponsoredResultsComponent, SyslangPipe, THEMES, TextChunkService, ThemeProviderDirective, ThemeSelectorComponent, ThemeStore, ThemeToggleComponent, TranslocoDateImpurePipe, UserSettingsStore, applyThemeToNativeElement, auditInterceptorFn, authInterceptorFn, bodyInterceptorFn, buildQuery, debouncedSignal, errorInterceptorFn, getCurrentPath, getCurrentQueryName, getQueryNameFromRoute, processCssVars, queryNameResolver, searchVariants, signIn, themeColorNameToCssVariable, themeColorsToCssVariables, toastInterceptorFn, withAggregationsFeatures, withAlertsFeatures, withAppCustomizationFeatures, withAppFeatures, withApplicationFeatures, withAssistantFeatures, withBasketsFeatures, withBookmarkFeatures, withBootstrapApp, withExtractsFeatures, withFetch, withMultiSelectionFeatures, withPrincipalFeatures, withQueryParamsFeatures, withRecentSearchesFeatures, withSavedSearchesFeatures, withSelectionFeatures, withThemeBodyHook, withThemes, withThemesFeatures, withUserSettingsFeatures };
|
|
6796
7473
|
export type { AggEx, AggregationEx, AggregationListEx, AggregationListItem, AggregationTitle, AggregationTreeEx, AggregationsState, AppCJson, AppFeatures, ApplicationState, ArticleMetadata, Autocomplete, Basket, Bookmark, BookmarksConfig, CAggregation, CAggregationItem, CCAppState, CCWebServiceLabels, CFilter, CFilterEx, CFilterItem, CJ, CJson, CJsonMint, CSources, CollectionsConfig, ComponentMapping, CssVars, DocumentTypeMap, DropdownItem, ExportQueryOptions, Extract, FilterDropdown, KeyboardNavigationOnSelectionHandlers, KeyboardNavigatorOptions, LabelsConfig, MultiSelectionState, MultiSelectionToolbarVariants, PageConfiguration, PreviewEvents, PreviewHighlight, PreviewHighlightName, PreviewHighlights, PrincipalState, SearchItem, SearchOptions, SearchVariants, SearchesConfig, SelectionHistoryEvent, SelectionState, SelectionStrategy, SideCJson, SortingChoice, Theme, ThemeBodyHookParameters, ThemeScope, ThemeStoreState, UserSettingsState };
|