@sinequa/atomic-angular 1.0.14 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnDestroy, ElementRef, DestroyRef, InjectionToken, Type, Injector, Signal, ApplicationRef, EventEmitter, TemplateRef, ChangeDetectorRef, ViewContainerRef, ComponentRef, PipeTransform } from '@angular/core';
2
+ import { OnDestroy, ElementRef, DestroyRef, Signal, InjectionToken, Type, Injector, ApplicationRef, EventEmitter, TemplateRef, ViewContainerRef, ComponentRef, ChangeDetectorRef, PipeTransform } from '@angular/core';
3
3
  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
7
  import { Article as Article$1, LegacyFilter, KeyOf, Query, QueryParams as QueryParams$1, AggregationItem, TreeAggregationNode, Aggregation, TreeAggregation, Conversion, CCApp, CCColumn, CCQuery, CCWebService, Principal, SpellingCorrectionMode, AuditEvents, CustomHighlights, Result, AuditEventType, AuditEventTypeValues, Suggestion, PreviewData, TextLocation, TextChunk, UserProfile, CCSortingChoice, LinkResult, ExportQueryModel, ExportOutputFormat, FilterOperator } from '@sinequa/atomic';
8
- import { Router, NavigationEnd, ActivatedRoute, CanActivateFn, ResolveFn } from '@angular/router';
8
+ import { Router, Route, NavigationEnd, CanActivateFn, ResolveFn } from '@angular/router';
9
9
  import * as _sinequa_atomic_angular from '@sinequa/atomic-angular';
10
10
  import * as _sinequa_ui from '@sinequa/ui';
11
11
  import { cn, DialogService, DropdownComponent, SheetService, DateRangePickerDirective, DatepickerDirective, DialogComponent, DialogInterface, DialogEvent, PopoverComponent, PopoverContentComponent, DialogResult, BreakpointObserverService } from '@sinequa/ui';
@@ -18,9 +18,9 @@ import { Placement } from '@floating-ui/dom';
18
18
  import * as _angular_forms from '@angular/forms';
19
19
  import { FormGroup, FormControl } from '@angular/forms';
20
20
  import { TranslocoService } from '@jsverse/transloco';
21
- import * as _tanstack_angular_virtual from '@tanstack/angular-virtual';
22
21
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
23
22
  import * as _angular_cdk_overlay from '@angular/cdk/overlay';
23
+ import * as _tanstack_angular_virtual from '@tanstack/angular-virtual';
24
24
  import { HighlightWords } from 'highlight-words';
25
25
  import { DatePipe, DatePipeConfig } from '@angular/common';
26
26
 
@@ -250,7 +250,7 @@ declare class MetadataComponent {
250
250
  event: Event;
251
251
  }>;
252
252
  class: _angular_core.InputSignal<string | undefined>;
253
- variant: _angular_core.InputSignal<"error" | "default" | "secondary" | "destructive" | "ai" | "outline" | "none" | "accent" | "ghost" | "info" | "success" | "warning" | null | undefined>;
253
+ variant: _angular_core.InputSignal<"secondary" | "primary" | "outline" | null | undefined>;
254
254
  metadata: _angular_core.InputSignal<KeyOf<Article$1> | (string & Record<never, never>)>;
255
255
  article: _angular_core.InputSignal<Partial<Article$1> | (string & Record<never, never>)>;
256
256
  limit: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
@@ -755,6 +755,74 @@ declare class MultiSelectionToolbarComponent {
755
755
  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>;
756
756
  }
757
757
 
758
+ interface NavRouteTab {
759
+ display: string;
760
+ wsQueryTab: string;
761
+ path: string;
762
+ icon: string;
763
+ routerLink: string;
764
+ queryName?: string;
765
+ count?: number;
766
+ }
767
+ declare function injectRouteNavigation(path: Signal<string>, showCount: Signal<boolean>): {
768
+ tabs: Signal<NavRouteTab[]>;
769
+ currentPath: Signal<string>;
770
+ searchText: Signal<string>;
771
+ };
772
+
773
+ declare class NavbarTabsComponent {
774
+ cn: typeof cn;
775
+ class: _angular_core.InputSignal<string | undefined>;
776
+ readonly router: Router;
777
+ showCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
778
+ /**
779
+ * When enabled (default), tab labels are never clipped: tabs that do not fit
780
+ * collapse into the ellipsis dropdown instead. Set to `false` to truncate
781
+ * overflowing labels with an ellipsis inside their slot.
782
+ *
783
+ * @default true
784
+ */
785
+ noTruncate: _angular_core.InputSignalWithTransform<boolean, unknown>;
786
+ minTabWidth: _angular_core.InputSignal<string | undefined>;
787
+ path: _angular_core.InputSignal<string>;
788
+ readonly nav: {
789
+ tabs: _angular_core.Signal<_sinequa_atomic_angular.NavRouteTab[]>;
790
+ currentPath: _angular_core.Signal<string>;
791
+ searchText: _angular_core.Signal<string>;
792
+ };
793
+ readonly visibleTabCount: _angular_core.WritableSignal<number | undefined>;
794
+ readonly moreTabs: _angular_core.Signal<_sinequa_atomic_angular.NavRouteTab[]>;
795
+ /**
796
+ * Minimum width applied to a tab (through the `--tab-min-width` CSS variable)
797
+ * when labels are truncated (`noTruncate` is `false`), so a tab never shrinks
798
+ * into an unusable sliver. An explicit `minTabWidth` input always wins.
799
+ *
800
+ * - tab with an icon: the icon (16px) plus the tab's horizontal padding (1.5rem)
801
+ * - text-only tab: enough room for a few characters and the ellipsis
802
+ */
803
+ protected tabMinWidth(hasIcon: boolean): string | undefined;
804
+ protected changeTab(): void;
805
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavbarTabsComponent, never>;
806
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavbarTabsComponent, "navbar-tabs", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "showCount": { "alias": "showCount"; "required": false; "isSignal": true; }; "noTruncate": { "alias": "noTruncate"; "required": false; "isSignal": true; }; "minTabWidth": { "alias": "minTabWidth"; "required": false; "isSignal": true; }; "path": { "alias": "path"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
807
+ }
808
+
809
+ declare class SidebarNavComponent {
810
+ readonly path: _angular_core.InputSignal<string>;
811
+ readonly showCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
812
+ readonly nav: {
813
+ tabs: _angular_core.Signal<_sinequa_atomic_angular.NavRouteTab[]>;
814
+ currentPath: _angular_core.Signal<string>;
815
+ searchText: _angular_core.Signal<string>;
816
+ };
817
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarNavComponent, never>;
818
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarNavComponent, "sidebar-nav", never, { "path": { "alias": "path"; "required": false; "isSignal": true; }; "showCount": { "alias": "showCount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
819
+ }
820
+
821
+ declare class NoResultComponent {
822
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NoResultComponent, never>;
823
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NoResultComponent, "NoResult", never, {}, {}, never, never, true, never>;
824
+ }
825
+
758
826
  declare namespace Alert {
759
827
  enum Frequency {
760
828
  Daily = 0,
@@ -2727,6 +2795,10 @@ declare class AggregationsService {
2727
2795
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AggregationsService>;
2728
2796
  }
2729
2797
 
2798
+ /**
2799
+ * @deprecated Use `fetchApp()` from `@sinequa/atomic` instead, which accepts an optional `appName` argument.
2800
+ * This service will be removed in a future version.
2801
+ */
2730
2802
  declare class AppService {
2731
2803
  protected readonly http: HttpClient;
2732
2804
  protected readonly API_URL: string;
@@ -3189,6 +3261,7 @@ declare class ApplicationService {
3189
3261
  components: ComponentMapping[];
3190
3262
  defaultComponent: _angular_core.Signal<Type<unknown> | undefined>;
3191
3263
  defaultLayoutComponent: _angular_core.Signal<Type<unknown> | undefined>;
3264
+ routerConfig: _angular_core.WritableSignal<Route[] | undefined>;
3192
3265
  /**
3193
3266
  * Initializes the application and creates routes if needed.
3194
3267
  *
@@ -5456,142 +5529,6 @@ declare class UserProfileService {
5456
5529
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<UserProfileService>;
5457
5530
  }
5458
5531
 
5459
- type NavbarTab = {
5460
- display: string;
5461
- wsQueryTab: string;
5462
- path: string;
5463
- icon: string;
5464
- routerLink: string;
5465
- queryName?: string;
5466
- count?: number;
5467
- };
5468
- declare class NavbarTabsComponent {
5469
- cn: typeof cn;
5470
- class: _angular_core.InputSignal<string | undefined>;
5471
- readonly router: Router;
5472
- readonly route: ActivatedRoute;
5473
- readonly queryParamsStore: {
5474
- name?: _angular_core.Signal<string | undefined> | undefined;
5475
- action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
5476
- text?: _angular_core.Signal<string | undefined> | undefined;
5477
- select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
5478
- open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
5479
- page?: _angular_core.Signal<number | undefined> | undefined;
5480
- pageSize?: _angular_core.Signal<number | undefined> | undefined;
5481
- tab?: _angular_core.Signal<string | undefined> | undefined;
5482
- scope?: _angular_core.Signal<string | undefined> | undefined;
5483
- sort?: _angular_core.Signal<string | undefined> | undefined;
5484
- basket?: _angular_core.Signal<string | undefined> | undefined;
5485
- isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
5486
- strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
5487
- globalRelevance?: _angular_core.Signal<number | undefined> | undefined;
5488
- questionLanguage?: _angular_core.Signal<string | undefined> | undefined;
5489
- questionDefaultLanguage?: _angular_core.Signal<string | undefined> | undefined;
5490
- spellingCorrectionMode?: _angular_core.Signal<_sinequa_atomic.SpellingCorrectionMode | undefined> | undefined;
5491
- spellingCorrectionFilter?: _angular_core.Signal<string | undefined> | undefined;
5492
- documentWeight?: _angular_core.Signal<string | undefined> | undefined;
5493
- textPartWeights?: _angular_core.Signal<string | undefined> | undefined;
5494
- relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
5495
- removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
5496
- queryId?: _angular_core.Signal<string | undefined> | undefined;
5497
- aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
5498
- orderBy?: _angular_core.Signal<string | undefined> | undefined;
5499
- groupBy?: _angular_core.Signal<string | undefined> | undefined;
5500
- neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
5501
- path?: _angular_core.Signal<string | undefined> | undefined;
5502
- filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
5503
- id?: _angular_core.Signal<string | undefined> | undefined;
5504
- setFromUrl: (href: string) => void;
5505
- getQueryParams: () => {
5506
- f?: string;
5507
- p?: number;
5508
- s?: string;
5509
- t?: string;
5510
- q?: string;
5511
- b?: string;
5512
- n?: string;
5513
- };
5514
- addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
5515
- updateFilter: (newFilter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
5516
- removeFilter: (field?: string) => void;
5517
- removeFilterByName: (name?: string, column?: string) => void;
5518
- clearFilters: () => void;
5519
- clearBasket: () => void;
5520
- patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents) => void;
5521
- getFilter: ({ field, name }: {
5522
- field: string | undefined;
5523
- name: string | undefined;
5524
- }) => Partial<_sinequa_atomic.LegacyFilter & {
5525
- count: number;
5526
- }> | null;
5527
- getQuery: () => _sinequa_atomic.Query;
5528
- } & _ngrx_signals.StateSource<{
5529
- name?: string | undefined;
5530
- action?: "" | "search" | "open" | "aggregate" | undefined;
5531
- text?: string | undefined;
5532
- select?: _sinequa_atomic.Select[] | undefined;
5533
- open?: _sinequa_atomic.Open[] | undefined;
5534
- page?: number | undefined;
5535
- pageSize?: number | undefined;
5536
- tab?: string | undefined;
5537
- scope?: string | undefined;
5538
- sort?: string | undefined;
5539
- basket?: string | undefined;
5540
- isFirstPage?: boolean | undefined;
5541
- strictRefine?: boolean | undefined;
5542
- globalRelevance?: number | undefined;
5543
- questionLanguage?: string | undefined;
5544
- questionDefaultLanguage?: string | undefined;
5545
- spellingCorrectionMode?: _sinequa_atomic.SpellingCorrectionMode | undefined;
5546
- spellingCorrectionFilter?: string | undefined;
5547
- documentWeight?: string | undefined;
5548
- textPartWeights?: string | undefined;
5549
- relevanceTransforms?: string | undefined;
5550
- removeDuplicates?: boolean | undefined;
5551
- queryId?: string | undefined;
5552
- aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
5553
- orderBy?: string | undefined;
5554
- groupBy?: string | undefined;
5555
- neuralSearch?: boolean | undefined;
5556
- path?: string | undefined;
5557
- filters: _sinequa_atomic.LegacyFilter[];
5558
- id?: string | undefined;
5559
- }>;
5560
- readonly queryService: QueryService;
5561
- /**
5562
- * Determines whether the count should be displayed in the navbar tabs component.
5563
- * This value is provided as an input property.
5564
- *
5565
- * @remarks
5566
- * This works only if tabSearch is enabled in the administration panel.
5567
- */
5568
- showCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
5569
- noTruncate: _angular_core.InputSignalWithTransform<boolean, unknown>;
5570
- minTabWidth: _angular_core.InputSignal<string | undefined>;
5571
- /**
5572
- * The base path for the search routes.
5573
- * This value is provided as an input property and defaults to "search".
5574
- *
5575
- * @remarks
5576
- * This path is used to find the corresponding route configuration and its children
5577
- * to populate the tabs in the navbar.
5578
- */
5579
- path: _angular_core.InputSignal<string>;
5580
- searchText: _angular_core.Signal<string>;
5581
- readonly visibleTabCount: _angular_core.WritableSignal<number | undefined>;
5582
- readonly currentPath: _angular_core.Signal<string>;
5583
- readonly tabs: _angular_core.Signal<NavbarTab[]>;
5584
- readonly moreTabs: _angular_core.Signal<NavbarTab[]>;
5585
- protected changeTab(): void;
5586
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavbarTabsComponent, never>;
5587
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavbarTabsComponent, "navbar-tabs", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "showCount": { "alias": "showCount"; "required": false; "isSignal": true; }; "noTruncate": { "alias": "noTruncate"; "required": false; "isSignal": true; }; "minTabWidth": { "alias": "minTabWidth"; "required": false; "isSignal": true; }; "path": { "alias": "path"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
5588
- }
5589
-
5590
- declare class NoResultComponent {
5591
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<NoResultComponent, never>;
5592
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NoResultComponent, "NoResult", never, {}, {}, never, never, true, never>;
5593
- }
5594
-
5595
5532
  declare class PreviewNavigator {
5596
5533
  protected readonly preview: PreviewService;
5597
5534
  readonly total: _angular_core.Signal<number>;
@@ -6813,8 +6750,7 @@ declare class SponsoredResultsComponent {
6813
6750
  */
6814
6751
  displayPromoted: _angular_core.InputSignal<boolean>;
6815
6752
  sponsoredLinks: _angular_core.Signal<string>;
6816
- readonly sponsoredResults: _angular_core.WritableSignal<LinkResult[] | undefined>;
6817
- constructor();
6753
+ readonly sponsoredResults: _angular_core.ResourceRef<LinkResult[]>;
6818
6754
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SponsoredResultsComponent, never>;
6819
6755
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SponsoredResultsComponent, "sponsored-results, SponsoredResults, sponsoredresults", never, { "slice": { "alias": "slice"; "required": false; "isSignal": true; }; "displayPromoted": { "alias": "displayPromoted"; "required": false; "isSignal": true; }; }, {}, ["childElement"], never, true, never>;
6820
6756
  }
@@ -7032,22 +6968,28 @@ type AggregationTitle = {
7032
6968
  icon?: string;
7033
6969
  };
7034
6970
 
7035
- declare class AggregationListComponent {
6971
+ declare class AggregationDateComponent {
7036
6972
  cn: typeof cn;
7037
- cdr: ChangeDetectorRef;
7038
- scrollElement: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
7039
- virtualizer: _tanstack_angular_virtual.AngularVirtualizer<HTMLDivElement, Element>;
7040
- searchInput: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
7041
- aggregationsStore: {
7042
- aggregations: _angular_core.Signal<Aggregation[]>;
7043
- update: (aggregations: Aggregation[]) => void;
7044
- updateAggregation: (aggregation: Aggregation) => void;
7045
- clear: () => void;
7046
- getAggregation: (name: string, kind?: "column" | "name") => Aggregation | undefined;
7047
- } & _ngrx_signals.StateSource<{
7048
- aggregations: Aggregation[];
7049
- }>;
7050
- queryParamsStore: {
6973
+ dateRangeDialog: _angular_core.Signal<AggregationDateRangeDialogComponent | undefined>;
6974
+ name: _angular_core.InputSignal<string | null>;
6975
+ column: _angular_core.InputSignal<string | null>;
6976
+ id: _angular_core.InputSignal<string | null>;
6977
+ collapsible: _angular_core.InputSignal<boolean>;
6978
+ collapsed: _angular_core.InputSignal<boolean>;
6979
+ searchable: _angular_core.InputSignal<boolean | undefined>;
6980
+ showFiltersCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
6981
+ readonly title: _angular_core.InputSignal<AggregationTitle>;
6982
+ readonly displayEmptyDistributionIntervals: _angular_core.InputSignal<boolean>;
6983
+ onSelect: _angular_core.OutputEmitterRef<AggregationItem[]>;
6984
+ onApply: _angular_core.OutputEmitterRef<void>;
6985
+ onClear: _angular_core.OutputEmitterRef<void>;
6986
+ isCollapsed: _angular_core.WritableSignal<boolean>;
6987
+ expanded: _angular_core.Signal<"" | null>;
6988
+ protected readonly searchText: _angular_core.ModelSignal<string>;
6989
+ private readonly searchInput;
6990
+ private readonly base;
6991
+ readonly aggregationsService: _sinequa_atomic_angular.AggregationsService;
6992
+ readonly queryParamsStore: {
7051
6993
  name?: _angular_core.Signal<string | undefined> | undefined;
7052
6994
  action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
7053
6995
  text?: _angular_core.Signal<string | undefined> | undefined;
@@ -7101,7 +7043,7 @@ declare class AggregationListComponent {
7101
7043
  }) => Partial<LegacyFilter & {
7102
7044
  count: number;
7103
7045
  }> | null;
7104
- getQuery: () => Query;
7046
+ getQuery: () => _sinequa_atomic.Query;
7105
7047
  } & _ngrx_signals.StateSource<{
7106
7048
  name?: string | undefined;
7107
7049
  action?: "" | "search" | "open" | "aggregate" | undefined;
@@ -7134,66 +7076,241 @@ declare class AggregationListComponent {
7134
7076
  filters: LegacyFilter[];
7135
7077
  id?: string | undefined;
7136
7078
  }>;
7137
- appStore: {
7138
- name: _angular_core.Signal<string>;
7139
- description?: _angular_core.Signal<string | undefined> | undefined;
7140
- versionId: _angular_core.Signal<string>;
7141
- queries: _angular_core.Signal<Record<string, _sinequa_atomic.CCQuery>>;
7142
- rfms: _angular_core.Signal<Record<string, _sinequa_atomic.CCRFM>>;
7143
- indexes: _angular_core.Signal<{
7144
- _: _sinequa_atomic.CCIndex;
7145
- } & Record<string, _sinequa_atomic.CCIndex>>;
7146
- lists: _angular_core.Signal<Record<string, _sinequa_atomic.CCList>>;
7147
- webServices: _angular_core.Signal<Record<string, _sinequa_atomic.CCWebService>>;
7148
- queryNames: _angular_core.Signal<string>;
7149
- labels: _angular_core.Signal<string>;
7150
- preview: _angular_core.Signal<string>;
7151
- autocomplete: _angular_core.Signal<string>;
7152
- sponsoredLinks: _angular_core.Signal<string>;
7153
- queryExport: _angular_core.Signal<string>;
7154
- queryRssEnabled: _angular_core.Signal<boolean>;
7155
- data: _angular_core.Signal<Record<string, unknown> & _sinequa_atomic_angular.CJson & {
7156
- filters?: _sinequa_atomic_angular.CAggregation[];
7157
- autocomplete?: _sinequa_atomic_angular.Autocomplete;
7158
- tabs?: Record<string, {
7159
- filters: string[];
7160
- overviews?: Record<string, {
7161
- minRelevance: number;
7162
- }>;
7163
- }>;
7164
- sources?: _sinequa_atomic_angular.CSources;
7165
- features?: {
7166
- [key: string]: boolean | {
7167
- [key: string]: string | boolean | string[] | undefined;
7168
- } | undefined;
7169
- allowChangePassword?: boolean;
7170
- editablepartition?: boolean;
7171
- advancedSearch?: boolean;
7172
- allowChatDrawer?: boolean;
7173
- filterLinkChildren?: boolean;
7174
- expandPreview?: boolean;
7175
- quickFilter?: boolean;
7176
- showAggregationItemCount?: boolean;
7177
- assistant?: {
7178
- usePrefixName?: boolean;
7179
- };
7180
- filters?: {
7181
- homepage?: boolean;
7182
- };
7183
- userProfile?: {
7184
- enabled?: boolean;
7185
- data?: string[];
7186
- customData?: string[];
7187
- };
7188
- previewMultiConversion?: boolean;
7189
- };
7190
- allowAdvancedFilters?: boolean;
7191
- general?: {
7192
- name?: string;
7193
- logo?: {
7194
- alt?: string;
7195
- light?: {
7196
- small?: string;
7079
+ readonly hasFilters: _angular_core.Signal<boolean>;
7080
+ readonly destroyRef: _angular_core.DestroyRef;
7081
+ readonly allowCustomRange: boolean;
7082
+ readonly transloco: TranslocoService;
7083
+ protected readonly selection: _angular_core.WritableSignal<boolean>;
7084
+ protected readonly validSelection: _angular_core.WritableSignal<boolean>;
7085
+ readonly aggregation: _angular_core.Signal<AggEx | null>;
7086
+ readonly isEmpty: _angular_core.Signal<boolean>;
7087
+ readonly items: _angular_core.Signal<AggregationItem[]>;
7088
+ protected readonly dateOptions: _angular_core.Signal<_sinequa_atomic.DateFilter[]>;
7089
+ protected readonly form: FormGroup<{
7090
+ option: FormControl<string | null>;
7091
+ customRange: FormGroup<{
7092
+ from: FormControl<string | null>;
7093
+ to: FormControl<string | null>;
7094
+ }>;
7095
+ }>;
7096
+ protected today: Date;
7097
+ protected lang: _angular_core.WritableSignal<string>;
7098
+ private readonly formValue;
7099
+ protected readonly customRangeFrom: _angular_core.Signal<string>;
7100
+ protected readonly customRangeTo: _angular_core.Signal<string>;
7101
+ constructor();
7102
+ select(): void;
7103
+ apply(): void;
7104
+ clear(notify?: boolean): void;
7105
+ onHeaderClick(event: Event): void;
7106
+ protected selectAndOpenDialog(): void;
7107
+ protected onRangeSelected(range: DateRange): void;
7108
+ private updateForm;
7109
+ private toEndOfDay;
7110
+ private getFormValueFilter;
7111
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationDateComponent, never>;
7112
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationDateComponent, "aggregation-date, AggregationDate, aggregationdate", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "id": { "alias": "id"; "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; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "displayEmptyDistributionIntervals": { "alias": "displayEmptyDistributionIntervals"; "required": false; "isSignal": true; }; "searchText": { "alias": "searchText"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; "onApply": "onApply"; "onClear": "onClear"; "searchText": "searchTextChange"; }, never, ["label"], true, never>;
7113
+ }
7114
+
7115
+ /**
7116
+ * Component that allows users to select a date or a date range for filtering search results.
7117
+ *
7118
+ * @deprecated since version 4. Use `AggregationDateComponent` instead.
7119
+ */
7120
+ declare class DateComponent extends AggregationDateComponent {
7121
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateComponent, never>;
7122
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateComponent, "date-filter,DateFilter", never, {}, {}, never, ["label"], true, never>;
7123
+ }
7124
+
7125
+ declare class AdvancedSearch {
7126
+ cn: typeof cn;
7127
+ readonly article: _angular_core.InputSignal<Article$1>;
7128
+ readonly previewStrategy: _angular_core.InputSignal<SelectionStrategy>;
7129
+ readonly selected: _angular_core.OutputEmitterRef<Article$1>;
7130
+ protected readonly selectionStore: {
7131
+ article?: _angular_core.Signal<Article$1 | undefined> | undefined;
7132
+ id?: _angular_core.Signal<string | undefined> | undefined;
7133
+ queryText?: _angular_core.Signal<string | undefined> | undefined;
7134
+ queryName?: _angular_core.Signal<string | undefined> | undefined;
7135
+ previewHighlights?: _angular_core.Signal<_sinequa_atomic_angular.PreviewHighlights | undefined> | undefined;
7136
+ assistantIdsToAttach: _angular_core.Signal<string[]>;
7137
+ multiSelection: _angular_core.Signal<Article$1[]>;
7138
+ multiSelectCount: _angular_core.Signal<number>;
7139
+ update: (newState: Partial<_sinequa_atomic_angular.SelectionState>) => void;
7140
+ clear: () => void;
7141
+ addArticleToMultiSelection: (article: Article$1) => void;
7142
+ removeArticleFromMultiSelection: (article: Article$1) => void;
7143
+ clearMultiSelection: () => void;
7144
+ } & _ngrx_signals.StateSource<{
7145
+ article?: Article$1 | undefined;
7146
+ id?: string | undefined;
7147
+ queryText?: string | undefined;
7148
+ queryName?: string | undefined;
7149
+ previewHighlights?: _sinequa_atomic_angular.PreviewHighlights | undefined;
7150
+ assistantIdsToAttach: string[];
7151
+ multiSelection: Article$1[];
7152
+ }>;
7153
+ protected readonly queryParamsStore: {
7154
+ name?: _angular_core.Signal<string | undefined> | undefined;
7155
+ action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
7156
+ text?: _angular_core.Signal<string | undefined> | undefined;
7157
+ select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
7158
+ open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
7159
+ page?: _angular_core.Signal<number | undefined> | undefined;
7160
+ pageSize?: _angular_core.Signal<number | undefined> | undefined;
7161
+ tab?: _angular_core.Signal<string | undefined> | undefined;
7162
+ scope?: _angular_core.Signal<string | undefined> | undefined;
7163
+ sort?: _angular_core.Signal<string | undefined> | undefined;
7164
+ basket?: _angular_core.Signal<string | undefined> | undefined;
7165
+ isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
7166
+ strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
7167
+ globalRelevance?: _angular_core.Signal<number | undefined> | undefined;
7168
+ questionLanguage?: _angular_core.Signal<string | undefined> | undefined;
7169
+ questionDefaultLanguage?: _angular_core.Signal<string | undefined> | undefined;
7170
+ spellingCorrectionMode?: _angular_core.Signal<_sinequa_atomic.SpellingCorrectionMode | undefined> | undefined;
7171
+ spellingCorrectionFilter?: _angular_core.Signal<string | undefined> | undefined;
7172
+ documentWeight?: _angular_core.Signal<string | undefined> | undefined;
7173
+ textPartWeights?: _angular_core.Signal<string | undefined> | undefined;
7174
+ relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
7175
+ removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
7176
+ queryId?: _angular_core.Signal<string | undefined> | undefined;
7177
+ aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
7178
+ orderBy?: _angular_core.Signal<string | undefined> | undefined;
7179
+ groupBy?: _angular_core.Signal<string | undefined> | undefined;
7180
+ neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
7181
+ path?: _angular_core.Signal<string | undefined> | undefined;
7182
+ filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
7183
+ id?: _angular_core.Signal<string | undefined> | undefined;
7184
+ setFromUrl: (href: string) => void;
7185
+ getQueryParams: () => {
7186
+ f?: string;
7187
+ p?: number;
7188
+ s?: string;
7189
+ t?: string;
7190
+ q?: string;
7191
+ b?: string;
7192
+ n?: string;
7193
+ };
7194
+ addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
7195
+ updateFilter: (newFilter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
7196
+ removeFilter: (field?: string) => void;
7197
+ removeFilterByName: (name?: string, column?: string) => void;
7198
+ clearFilters: () => void;
7199
+ clearBasket: () => void;
7200
+ patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents) => void;
7201
+ getFilter: ({ field, name }: {
7202
+ field: string | undefined;
7203
+ name: string | undefined;
7204
+ }) => Partial<_sinequa_atomic.LegacyFilter & {
7205
+ count: number;
7206
+ }> | null;
7207
+ getQuery: () => _sinequa_atomic.Query;
7208
+ } & _ngrx_signals.StateSource<{
7209
+ name?: string | undefined;
7210
+ action?: "" | "search" | "open" | "aggregate" | undefined;
7211
+ text?: string | undefined;
7212
+ select?: _sinequa_atomic.Select[] | undefined;
7213
+ open?: _sinequa_atomic.Open[] | undefined;
7214
+ page?: number | undefined;
7215
+ pageSize?: number | undefined;
7216
+ tab?: string | undefined;
7217
+ scope?: string | undefined;
7218
+ sort?: string | undefined;
7219
+ basket?: string | undefined;
7220
+ isFirstPage?: boolean | undefined;
7221
+ strictRefine?: boolean | undefined;
7222
+ globalRelevance?: number | undefined;
7223
+ questionLanguage?: string | undefined;
7224
+ questionDefaultLanguage?: string | undefined;
7225
+ spellingCorrectionMode?: _sinequa_atomic.SpellingCorrectionMode | undefined;
7226
+ spellingCorrectionFilter?: string | undefined;
7227
+ documentWeight?: string | undefined;
7228
+ textPartWeights?: string | undefined;
7229
+ relevanceTransforms?: string | undefined;
7230
+ removeDuplicates?: boolean | undefined;
7231
+ queryId?: string | undefined;
7232
+ aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
7233
+ orderBy?: string | undefined;
7234
+ groupBy?: string | undefined;
7235
+ neuralSearch?: boolean | undefined;
7236
+ path?: string | undefined;
7237
+ filters: _sinequa_atomic.LegacyFilter[];
7238
+ id?: string | undefined;
7239
+ }>;
7240
+ protected readonly queryText: _angular_core.WritableSignal<string>;
7241
+ queryName: _angular_core.Signal<string>;
7242
+ protected executeSearch(): void;
7243
+ protected clearInput(): void;
7244
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdvancedSearch, never>;
7245
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdvancedSearch, "advanced-search", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; "previewStrategy": { "alias": "previewStrategy"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, never, true, never>;
7246
+ }
7247
+
7248
+ interface MetadataNavigation {
7249
+ index: number;
7250
+ value: string;
7251
+ }
7252
+ declare class ArticleEntities {
7253
+ cn: typeof cn;
7254
+ protected readonly appStore: {
7255
+ name: _angular_core.Signal<string>;
7256
+ description?: _angular_core.Signal<string | undefined> | undefined;
7257
+ versionId: _angular_core.Signal<string>;
7258
+ queries: _angular_core.Signal<Record<string, _sinequa_atomic.CCQuery>>;
7259
+ rfms: _angular_core.Signal<Record<string, _sinequa_atomic.CCRFM>>;
7260
+ indexes: _angular_core.Signal<{
7261
+ _: _sinequa_atomic.CCIndex;
7262
+ } & Record<string, _sinequa_atomic.CCIndex>>;
7263
+ lists: _angular_core.Signal<Record<string, _sinequa_atomic.CCList>>;
7264
+ webServices: _angular_core.Signal<Record<string, CCWebService>>;
7265
+ queryNames: _angular_core.Signal<string>;
7266
+ labels: _angular_core.Signal<string>;
7267
+ preview: _angular_core.Signal<string>;
7268
+ autocomplete: _angular_core.Signal<string>;
7269
+ sponsoredLinks: _angular_core.Signal<string>;
7270
+ queryExport: _angular_core.Signal<string>;
7271
+ queryRssEnabled: _angular_core.Signal<boolean>;
7272
+ data: _angular_core.Signal<Record<string, unknown> & _sinequa_atomic_angular.CJson & {
7273
+ filters?: _sinequa_atomic_angular.CAggregation[];
7274
+ autocomplete?: _sinequa_atomic_angular.Autocomplete;
7275
+ tabs?: Record<string, {
7276
+ filters: string[];
7277
+ overviews?: Record<string, {
7278
+ minRelevance: number;
7279
+ }>;
7280
+ }>;
7281
+ sources?: _sinequa_atomic_angular.CSources;
7282
+ features?: {
7283
+ [key: string]: boolean | {
7284
+ [key: string]: string | boolean | string[] | undefined;
7285
+ } | undefined;
7286
+ allowChangePassword?: boolean;
7287
+ editablepartition?: boolean;
7288
+ advancedSearch?: boolean;
7289
+ allowChatDrawer?: boolean;
7290
+ filterLinkChildren?: boolean;
7291
+ expandPreview?: boolean;
7292
+ quickFilter?: boolean;
7293
+ showAggregationItemCount?: boolean;
7294
+ assistant?: {
7295
+ usePrefixName?: boolean;
7296
+ };
7297
+ filters?: {
7298
+ homepage?: boolean;
7299
+ };
7300
+ userProfile?: {
7301
+ enabled?: boolean;
7302
+ data?: string[];
7303
+ customData?: string[];
7304
+ };
7305
+ previewMultiConversion?: boolean;
7306
+ };
7307
+ allowAdvancedFilters?: boolean;
7308
+ general?: {
7309
+ name?: string;
7310
+ logo?: {
7311
+ alt?: string;
7312
+ light?: {
7313
+ small?: string;
7197
7314
  large?: string;
7198
7315
  sidebar?: string;
7199
7316
  };
@@ -7303,7 +7420,7 @@ declare class AggregationListComponent {
7303
7420
  initialize: () => Promise<void>;
7304
7421
  initializeWithAppName: (appName: string) => Promise<void>;
7305
7422
  update: (app: Partial<_sinequa_atomic_angular.CCAppState>) => void;
7306
- getWebServiceByType: (type: _sinequa_atomic.CCWebService["webServiceType"]) => _sinequa_atomic.CCWebService | undefined;
7423
+ getWebServiceByType: (type: CCWebService["webServiceType"]) => CCWebService | undefined;
7307
7424
  getLabels: () => {
7308
7425
  private: string;
7309
7426
  public: string;
@@ -7319,8 +7436,8 @@ declare class AggregationListComponent {
7319
7436
  isDateColumn: (column: string) => boolean;
7320
7437
  isTabSearch: (queryName: string) => boolean;
7321
7438
  getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
7322
- getAuthorizedFilters: () => Aggregation[];
7323
- getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => Aggregation[];
7439
+ getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
7440
+ getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
7324
7441
  getNamedCustomizationJson: (name: string) => unknown | undefined;
7325
7442
  getAggregationIcon: (column: string) => string | undefined;
7326
7443
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
@@ -7337,7 +7454,7 @@ declare class AggregationListComponent {
7337
7454
  _: _sinequa_atomic.CCIndex;
7338
7455
  } & Record<string, _sinequa_atomic.CCIndex>;
7339
7456
  lists: Record<string, _sinequa_atomic.CCList>;
7340
- webServices: Record<string, _sinequa_atomic.CCWebService>;
7457
+ webServices: Record<string, CCWebService>;
7341
7458
  queryNames: string;
7342
7459
  labels: string;
7343
7460
  preview: string;
@@ -7441,234 +7558,62 @@ declare class AggregationListComponent {
7441
7558
  authorizationLevel?: string | undefined;
7442
7559
  columnMap?: Record<string, _sinequa_atomic.CCColumn> | undefined;
7443
7560
  }>;
7444
- aggregationsService: AggregationsService;
7445
- el: ElementRef<any>;
7446
- injector: Injector;
7447
- destroyRef: DestroyRef;
7448
- class: _angular_core.InputSignal<string>;
7449
- /**
7450
- * The name of the <details> element. When you provide the same id, the component work as an accordion
7451
- * @defaultValue null
7452
- */
7453
- id: _angular_core.InputSignal<string | null>;
7454
- name: _angular_core.InputSignal<string | null>;
7455
- column: _angular_core.InputSignal<string | null>;
7456
- onSelect: _angular_core.OutputEmitterRef<AggregationItem[]>;
7457
- onApply: _angular_core.OutputEmitterRef<void>;
7458
- onClear: _angular_core.OutputEmitterRef<void>;
7459
- /**
7460
- * Determines whether the aggregation component can be collapsed or expanded.
7461
- * When true, the component will display collapse/expand controls allowing users
7462
- * to show or hide the aggregation content.
7463
- *
7464
- * @default false
7465
- */
7466
- collapsible: _angular_core.InputSignal<boolean>;
7467
- /**
7468
- * Controls whether the aggregation component is in a collapsed state.
7469
- * When true, the component will be visually collapsed/hidden.
7470
- * When false, the component will be expanded/visible.
7471
- *
7472
- * @default false
7473
- */
7474
- collapsed: _angular_core.InputSignal<boolean>;
7475
- /**
7476
- * A computed signal that tracks the collapsed state of the component.
7477
- * This signal is linked to the `collapsed()` signal and automatically updates
7478
- * when the collapsed state changes.
7479
- */
7480
- isCollapsed: _angular_core.WritableSignal<boolean>;
7481
- /**
7482
- * Computed property that returns an empty string when the component is not collapsed,
7483
- * or null when the component is collapsed. This is typically used to control
7484
- * expansion state in UI components with conditional rendering or styling.
7485
- *
7486
- * @returns empty string if not collapsed, null if collapsed
7487
- */
7488
- expanded: _angular_core.Signal<"" | null>;
7489
- /**
7490
- * A boolean flag indicating whether the component is searchable.
7491
- * This property is initialized to `undefined` by default.
7492
- * "Undefined" and not "false" because this input overrides the custom json settings
7493
- */
7494
- searchable: _angular_core.InputSignal<undefined>;
7495
- selection: _angular_core.WritableSignal<boolean>;
7496
- /**
7497
- * A boolean flag indicating whether we want to see the filters count when some is applied
7498
- * This property is initialized to `false` by default.
7499
- */
7500
- showFiltersCount: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
7501
- aggregation: _angular_core.Signal<_sinequa_atomic_angular.AggEx | null>;
7502
- items: _angular_core.Signal<AggregationItem[]>;
7503
- /**
7504
- * Computed signal that determines whether the items collection is empty.
7505
- * @returns True if the items array has no elements, false otherwise.
7506
- */
7507
- isEmpty: _angular_core.Signal<boolean>;
7508
- /**
7509
- * A computed property that determines whether there are active filters
7510
- * for the current aggregation column.
7511
- *
7512
- * if True, the clear button is shown.
7513
- *
7514
- * @returns {boolean} `true` if the filter count for the aggregation column is greater than 0, otherwise `false`.
7515
- */
7516
- hasFilters: _angular_core.Signal<boolean>;
7517
- /**
7518
- * A computed property that returns the number of items of this aggregation applied in the active filters
7519
- *
7520
- * if more than 0 and the showCount input is set as True, the count number is shown.
7521
- *
7522
- * @returns {number} the filters count.
7523
- */
7524
- filtersCount: _angular_core.Signal<number>;
7525
- isAllSelected: _angular_core.WritableSignal<boolean>;
7526
- searchText: _angular_core.ModelSignal<string>;
7527
- debouncedSearchText: _angular_core.Signal<string>;
7528
- normalizedSearchText: _angular_core.Signal<string>;
7529
- readonly suggests: _angular_core.WritableSignal<Suggestion[]>;
7530
- readonly searchedItems: _angular_core.Signal<AggregationItem[]>;
7531
- query: Query;
7532
- filters: _angular_core.WritableSignal<LegacyFilter[]>;
7533
- constructor();
7534
- /**
7535
- * Clears the current filter for the aggregation column.
7536
- *
7537
- * This method updates the filter in the `queryParamsStore` by setting the display value
7538
- * of the current aggregation column to an empty string.
7539
- */
7540
- clear(): void;
7541
- /**
7542
- * Select all filters for the aggregation column.
7543
- */
7544
- selectAll(): void;
7545
- /**
7546
- * Unselect all filters for the aggregation column.
7547
- */
7548
- unselectAll(): void;
7549
- /**
7550
- * Applies the current filters to the query parameters store.
7551
- *
7552
- * - If there are multiple filters, they are wrapped in an "or" filter.
7553
- * - If the aggregation is not a distribution, the filters are merged into a single filter with an "in" operator.
7554
- * - If there is only one filter, it is directly applied.
7555
- * - If there are no filters, the current filters are cleared.
7556
- *
7557
- * After applying the filters, the search text is reset.
7558
- */
7559
- apply(): void;
7560
- loadMore(): void;
7561
- /**
7562
- * Updates the selected state of the given item in the aggregation list.
7563
- *
7564
- * @param item - The item to be selected or deselected.
7565
- *
7566
- * This method iterates through the items in the aggregation list and updates
7567
- * the `$selected` property of the item that matches the value of the given item.
7568
- *
7569
- * If the item is selected, the selection count is incremented by 1.
7570
- * If the item is deselected, the selection count is decremented by 1.
7571
- */
7572
- select(): void;
7573
- /**
7574
- * Updates the collapsed status on header click if the component is collapsible.
7575
- */
7576
- onHeaderClick(event: Event): void;
7577
- /**
7578
- * Retrieves a list of filters based on the selected items.
7579
- *
7580
- * This method filters the items to include only those that are selected,
7581
- * and then maps each selected item to a filter using the `toFilter` method.
7582
- *
7583
- * @returns {LegacyFilter[]} An array of filters corresponding to the selected items.
7584
- */
7585
- protected getFilters(): LegacyFilter[];
7586
- private addCurrentFiltersToItems;
7587
- /**
7588
- * Update the $selected property to the selected parameter to all items
7589
- *
7590
- * @param items the items to apply to
7591
- * @param selected the selected status
7592
- */
7593
- private selectItems;
7594
- onToggle(event: Event): void;
7595
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationListComponent, never>;
7596
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationListComponent, "AggregationList, aggregation-list, aggregationlist", 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; }; "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"; "onApply": "onApply"; "onClear": "onClear"; "searchText": "searchTextChange"; }, never, ["label"], true, never>;
7561
+ protected readonly previewService: PreviewService;
7562
+ readonly article: _angular_core.InputSignal<Article$1>;
7563
+ protected readonly previewHighlights: _angular_core.Signal<{
7564
+ name: string;
7565
+ entity: string;
7566
+ metadata: ArticleMetadata[];
7567
+ }[] | undefined>;
7568
+ getMetadata(article: Partial<Article$1 & Record<string, unknown>>, entity: string): ArticleMetadata[];
7569
+ navigation: _angular_core.WritableSignal<MetadataNavigation | undefined>;
7570
+ hovering: _angular_core.WritableSignal<string | undefined>;
7571
+ hoverIndex: _angular_core.Signal<number>;
7572
+ scrollTo(type: string | undefined, index: number, usePassageHighlighter?: boolean): void;
7573
+ private navigate;
7574
+ navigateNext(entity: string, data: ArticleMetadata): void;
7575
+ navigatePrev(entity: string, data: ArticleMetadata): void;
7576
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ArticleEntities, never>;
7577
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ArticleEntities, "article-entities,ArticleEntities,articleentities", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
7597
7578
  }
7598
7579
 
7599
- declare class AggregationDateComponent extends AggregationListComponent {
7600
- dateRangeDialog: _angular_core.Signal<AggregationDateRangeDialogComponent | undefined>;
7601
- readonly title: _angular_core.InputSignal<AggregationTitle>;
7602
- readonly displayEmptyDistributionIntervals: _angular_core.InputSignal<boolean>;
7603
- readonly allowCustomRange: boolean;
7604
- readonly transloco: TranslocoService;
7605
- name: _angular_core.InputSignal<string | null>;
7606
- protected readonly dateOptions: _angular_core.Signal<_sinequa_atomic.DateFilter[]>;
7607
- protected readonly form: FormGroup<{
7608
- option: FormControl<string | null>;
7609
- customRange: FormGroup<{
7610
- from: FormControl<string | null>;
7611
- to: FormControl<string | null>;
7612
- }>;
7580
+ declare class ArticleExtracts {
7581
+ cn: typeof cn;
7582
+ protected readonly destroyRef: DestroyRef;
7583
+ protected readonly applicationStore: {
7584
+ ready: _angular_core.Signal<boolean>;
7585
+ extracts: _angular_core.Signal<Map<string, Extract[]>>;
7586
+ extractsCount: _angular_core.Signal<number>;
7587
+ update: (state: Partial<_sinequa_atomic_angular.ApplicationState>) => void;
7588
+ updateReadyState: (value?: boolean) => void;
7589
+ updateExtracts: (id: string, extracts: Extract[]) => void;
7590
+ getExtracts: (id: string) => Extract[];
7591
+ } & _ngrx_signals.WritableStateSource<{
7592
+ ready: boolean;
7593
+ extracts: Map<string, Extract[]>;
7613
7594
  }>;
7614
- protected today: Date;
7615
- protected lang: _angular_core.WritableSignal<string>;
7616
- protected readonly validSelection: _angular_core.WritableSignal<boolean>;
7617
- private readonly formValue;
7618
- protected readonly customRangeFrom: _angular_core.Signal<string>;
7619
- protected readonly customRangeTo: _angular_core.Signal<string>;
7595
+ protected readonly previewService: PreviewService;
7596
+ readonly article: _angular_core.InputSignal<Article$1>;
7597
+ loading: _angular_core.WritableSignal<boolean>;
7598
+ protected readonly extracts: _angular_core.WritableSignal<Extract[]>;
7620
7599
  constructor();
7621
- aggregation: _angular_core.Signal<AggEx | null>;
7622
- select(): void;
7623
- apply(): void;
7624
- clear(notify?: boolean): void;
7625
- protected selectAndOpenDialog(): void;
7626
- protected onRangeSelected(range: DateRange): void;
7627
- private updateForm;
7628
- private toEndOfDay;
7629
- private getFormValueFilter;
7630
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationDateComponent, never>;
7631
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationDateComponent, "aggregation-date, AggregationDate, aggregationdate", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "displayEmptyDistributionIntervals": { "alias": "displayEmptyDistributionIntervals"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; }, {}, never, ["label"], true, never>;
7600
+ scrollTo(type: string | undefined, index: number, usePassageHighlighter?: boolean): void;
7601
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ArticleExtracts, never>;
7602
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ArticleExtracts, "article-extracts, ArticleExtracts, articleextracts", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
7632
7603
  }
7633
7604
 
7634
- /**
7635
- * Component that allows users to select a date or a date range for filtering search results.
7636
- *
7637
- * @deprecated since version 4. Use `AggregationDateComponent` instead.
7638
- */
7639
- declare class DateComponent extends AggregationDateComponent {
7640
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateComponent, never>;
7641
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateComponent, "date-filter,DateFilter", never, {}, {}, never, ["label"], true, never>;
7605
+ declare class ArticleLabels {
7606
+ protected readonly labels: {
7607
+ private: string;
7608
+ public: string;
7609
+ };
7610
+ readonly article: _angular_core.InputSignal<Article$1>;
7611
+ readonly hasLabels: _angular_core.Signal<boolean | undefined>;
7612
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ArticleLabels, never>;
7613
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ArticleLabels, "article-labels, ArticleLabels, articlelabels", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
7642
7614
  }
7643
7615
 
7644
- declare class AdvancedSearch {
7645
- cn: typeof cn;
7646
- readonly article: _angular_core.InputSignal<Article$1>;
7647
- readonly previewStrategy: _angular_core.InputSignal<SelectionStrategy>;
7648
- readonly selected: _angular_core.OutputEmitterRef<Article$1>;
7649
- protected readonly selectionStore: {
7650
- article?: _angular_core.Signal<Article$1 | undefined> | undefined;
7651
- id?: _angular_core.Signal<string | undefined> | undefined;
7652
- queryText?: _angular_core.Signal<string | undefined> | undefined;
7653
- queryName?: _angular_core.Signal<string | undefined> | undefined;
7654
- previewHighlights?: _angular_core.Signal<_sinequa_atomic_angular.PreviewHighlights | undefined> | undefined;
7655
- assistantIdsToAttach: _angular_core.Signal<string[]>;
7656
- multiSelection: _angular_core.Signal<Article$1[]>;
7657
- multiSelectCount: _angular_core.Signal<number>;
7658
- update: (newState: Partial<_sinequa_atomic_angular.SelectionState>) => void;
7659
- clear: () => void;
7660
- addArticleToMultiSelection: (article: Article$1) => void;
7661
- removeArticleFromMultiSelection: (article: Article$1) => void;
7662
- clearMultiSelection: () => void;
7663
- } & _ngrx_signals.StateSource<{
7664
- article?: Article$1 | undefined;
7665
- id?: string | undefined;
7666
- queryText?: string | undefined;
7667
- queryName?: string | undefined;
7668
- previewHighlights?: _sinequa_atomic_angular.PreviewHighlights | undefined;
7669
- assistantIdsToAttach: string[];
7670
- multiSelection: Article$1[];
7671
- }>;
7616
+ declare class ArticleSimilarDocuments {
7672
7617
  protected readonly queryParamsStore: {
7673
7618
  name?: _angular_core.Signal<string | undefined> | undefined;
7674
7619
  action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
@@ -7756,513 +7701,49 @@ declare class AdvancedSearch {
7756
7701
  filters: _sinequa_atomic.LegacyFilter[];
7757
7702
  id?: string | undefined;
7758
7703
  }>;
7759
- protected readonly queryText: _angular_core.WritableSignal<string>;
7704
+ readonly article: _angular_core.InputSignal<Article$1>;
7705
+ readonly strategy: _angular_core.InputSignal<SelectionStrategy>;
7706
+ readonly selected: _angular_core.OutputEmitterRef<Article$1>;
7760
7707
  queryName: _angular_core.Signal<string>;
7761
- protected executeSearch(): void;
7762
- protected clearInput(): void;
7763
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdvancedSearch, never>;
7764
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdvancedSearch, "advanced-search", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; "previewStrategy": { "alias": "previewStrategy"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, never, true, never>;
7708
+ readonly similarDocumentsResource: _angular_core.ResourceRef<Article$1[]>;
7709
+ protected readonly similarDocuments: _angular_core.Signal<Article$1[]>;
7710
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ArticleSimilarDocuments, never>;
7711
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ArticleSimilarDocuments, "article-similar-documents, ArticleSimilarDocuments, articlesimilardocuments", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; "strategy": { "alias": "strategy"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, never, true, never>;
7765
7712
  }
7766
7713
 
7767
- interface MetadataNavigation {
7768
- index: number;
7769
- value: string;
7770
- }
7771
- declare class ArticleEntities {
7772
- cn: typeof cn;
7773
- protected readonly appStore: {
7774
- name: _angular_core.Signal<string>;
7775
- description?: _angular_core.Signal<string | undefined> | undefined;
7776
- versionId: _angular_core.Signal<string>;
7777
- queries: _angular_core.Signal<Record<string, _sinequa_atomic.CCQuery>>;
7778
- rfms: _angular_core.Signal<Record<string, _sinequa_atomic.CCRFM>>;
7779
- indexes: _angular_core.Signal<{
7780
- _: _sinequa_atomic.CCIndex;
7781
- } & Record<string, _sinequa_atomic.CCIndex>>;
7782
- lists: _angular_core.Signal<Record<string, _sinequa_atomic.CCList>>;
7783
- webServices: _angular_core.Signal<Record<string, CCWebService>>;
7784
- queryNames: _angular_core.Signal<string>;
7785
- labels: _angular_core.Signal<string>;
7786
- preview: _angular_core.Signal<string>;
7787
- autocomplete: _angular_core.Signal<string>;
7788
- sponsoredLinks: _angular_core.Signal<string>;
7789
- queryExport: _angular_core.Signal<string>;
7790
- queryRssEnabled: _angular_core.Signal<boolean>;
7791
- data: _angular_core.Signal<Record<string, unknown> & _sinequa_atomic_angular.CJson & {
7792
- filters?: _sinequa_atomic_angular.CAggregation[];
7793
- autocomplete?: _sinequa_atomic_angular.Autocomplete;
7794
- tabs?: Record<string, {
7795
- filters: string[];
7796
- overviews?: Record<string, {
7797
- minRelevance: number;
7798
- }>;
7799
- }>;
7800
- sources?: _sinequa_atomic_angular.CSources;
7801
- features?: {
7802
- [key: string]: boolean | {
7803
- [key: string]: string | boolean | string[] | undefined;
7804
- } | undefined;
7805
- allowChangePassword?: boolean;
7806
- editablepartition?: boolean;
7807
- advancedSearch?: boolean;
7808
- allowChatDrawer?: boolean;
7809
- filterLinkChildren?: boolean;
7810
- expandPreview?: boolean;
7811
- quickFilter?: boolean;
7812
- showAggregationItemCount?: boolean;
7813
- assistant?: {
7814
- usePrefixName?: boolean;
7815
- };
7816
- filters?: {
7817
- homepage?: boolean;
7818
- };
7819
- userProfile?: {
7820
- enabled?: boolean;
7821
- data?: string[];
7822
- customData?: string[];
7823
- };
7824
- previewMultiConversion?: boolean;
7825
- };
7826
- allowAdvancedFilters?: boolean;
7827
- general?: {
7828
- name?: string;
7829
- logo?: {
7830
- alt?: string;
7831
- light?: {
7832
- small?: string;
7833
- large?: string;
7834
- sidebar?: string;
7835
- };
7836
- dark?: {
7837
- small?: string;
7838
- large?: string;
7839
- sidebar?: string;
7840
- };
7841
- };
7842
- features?: {
7843
- [key: string]: boolean | {
7844
- [key: string]: string | boolean | string[] | undefined;
7845
- } | undefined;
7846
- allowChangePassword?: boolean;
7847
- editablepartition?: boolean;
7848
- advancedSearch?: boolean;
7849
- allowChatDrawer?: boolean;
7850
- filterLinkChildren?: boolean;
7851
- expandPreview?: boolean;
7852
- quickFilter?: boolean;
7853
- showAggregationItemCount?: boolean;
7854
- assistant?: {
7855
- usePrefixName?: boolean;
7856
- };
7857
- filters?: {
7858
- homepage?: boolean;
7859
- };
7860
- userProfile?: {
7861
- enabled?: boolean;
7862
- data?: string[];
7863
- customData?: string[];
7864
- };
7865
- previewMultiConversion?: boolean;
7866
- };
7867
- converters?: _sinequa_atomic_angular.CConverter[];
7868
- };
7869
- documentsUploadSettings?: {
7870
- enabled?: boolean;
7871
- };
7872
- }>;
7873
- customJSONs: _angular_core.Signal<{
7874
- name: string;
7875
- data: Record<string, unknown>;
7876
- }[] & _sinequa_atomic_angular.SideCJson[]>;
7877
- apiVersion: _angular_core.Signal<string>;
7878
- workspaceApp: _angular_core.Signal<string>;
7879
- defaultQueryName: _angular_core.Signal<string>;
7880
- auditEnabled?: _angular_core.Signal<boolean | undefined> | undefined;
7881
- dataSets?: _angular_core.Signal<string | undefined> | undefined;
7882
- revision?: _angular_core.Signal<number | undefined> | undefined;
7883
- runnableModels?: _angular_core.Signal<string | undefined> | undefined;
7884
- authorizationLevel?: _angular_core.Signal<string | undefined> | undefined;
7885
- columnMap?: _angular_core.Signal<Record<string, _sinequa_atomic.CCColumn> | undefined> | undefined;
7886
- customizationJson: _angular_core.Signal<_sinequa_atomic_angular.CJsonMint>;
7887
- sources: _angular_core.Signal<_sinequa_atomic_angular.CSources>;
7888
- filters: _angular_core.Signal<_sinequa_atomic_angular.CFilter[]>;
7889
- general: _angular_core.Signal<{
7890
- name?: string;
7891
- logo?: {
7892
- alt?: string;
7893
- light?: {
7894
- small?: string;
7895
- large?: string;
7896
- sidebar?: string;
7897
- };
7898
- dark?: {
7899
- small?: string;
7900
- large?: string;
7901
- sidebar?: string;
7902
- };
7903
- };
7904
- features?: {
7905
- [key: string]: boolean | {
7906
- [key: string]: string | boolean | string[] | undefined;
7907
- } | undefined;
7908
- allowChangePassword?: boolean;
7909
- editablepartition?: boolean;
7910
- advancedSearch?: boolean;
7911
- allowChatDrawer?: boolean;
7912
- filterLinkChildren?: boolean;
7913
- expandPreview?: boolean;
7914
- quickFilter?: boolean;
7915
- showAggregationItemCount?: boolean;
7916
- assistant?: {
7917
- usePrefixName?: boolean;
7918
- };
7919
- filters?: {
7920
- homepage?: boolean;
7921
- };
7922
- userProfile?: {
7923
- enabled?: boolean;
7924
- data?: string[];
7925
- customData?: string[];
7926
- };
7927
- previewMultiConversion?: boolean;
7928
- };
7929
- converters?: _sinequa_atomic_angular.CConverter[];
7930
- } | undefined>;
7931
- assistants: _angular_core.Signal<{
7932
- [x: string]: _sinequa_atomic_angular.AssistantDetails;
7933
- }>;
7934
- agents: _angular_core.Signal<{
7935
- [x: string]: {
7936
- defaultAgent: string;
7937
- };
7938
- }>;
7939
- initialize: () => Promise<void>;
7940
- initializeWithAppName: (appName: string) => Promise<void>;
7941
- update: (app: Partial<_sinequa_atomic_angular.CCAppState>) => void;
7942
- getWebServiceByType: (type: CCWebService["webServiceType"]) => CCWebService | undefined;
7943
- getLabels: () => {
7944
- private: string;
7945
- public: string;
7946
- };
7947
- getQueryByName: (name: string) => _sinequa_atomic.CCQuery | undefined;
7948
- getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
7949
- getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
7950
- allowEmptySearch: (queryName: string) => boolean;
7951
- enableFieldedSearch: (queryName: string) => boolean;
7952
- allowLabels: () => boolean;
7953
- getColumnAlias: (column: string) => string;
7954
- getColumn: (columnOrAlias: string) => _sinequa_atomic.CCColumn | undefined;
7955
- isDateColumn: (column: string) => boolean;
7956
- isTabSearch: (queryName: string) => boolean;
7957
- getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
7958
- getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
7959
- getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
7960
- getNamedCustomizationJson: (name: string) => unknown | undefined;
7961
- getAggregationIcon: (column: string) => string | undefined;
7962
- getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
7963
- getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
7964
- isAssistantAllowed: (assistantName: string) => boolean;
7965
- isAgentAllowed: (agentName: string) => boolean;
7966
- } & _ngrx_signals.StateSource<{
7967
- name: string;
7968
- description?: string | undefined;
7969
- versionId: string;
7970
- queries: Record<string, _sinequa_atomic.CCQuery>;
7971
- rfms: Record<string, _sinequa_atomic.CCRFM>;
7972
- indexes: {
7973
- _: _sinequa_atomic.CCIndex;
7974
- } & Record<string, _sinequa_atomic.CCIndex>;
7975
- lists: Record<string, _sinequa_atomic.CCList>;
7976
- webServices: Record<string, CCWebService>;
7977
- queryNames: string;
7978
- labels: string;
7979
- preview: string;
7980
- autocomplete: string;
7981
- sponsoredLinks: string;
7982
- queryExport: string;
7983
- queryRssEnabled: boolean;
7984
- data: Record<string, unknown> & _sinequa_atomic_angular.CJson & {
7985
- filters?: _sinequa_atomic_angular.CAggregation[];
7986
- autocomplete?: _sinequa_atomic_angular.Autocomplete;
7987
- tabs?: Record<string, {
7988
- filters: string[];
7989
- overviews?: Record<string, {
7990
- minRelevance: number;
7991
- }>;
7992
- }>;
7993
- sources?: _sinequa_atomic_angular.CSources;
7994
- features?: {
7995
- [key: string]: boolean | {
7996
- [key: string]: string | boolean | string[] | undefined;
7997
- } | undefined;
7998
- allowChangePassword?: boolean;
7999
- editablepartition?: boolean;
8000
- advancedSearch?: boolean;
8001
- allowChatDrawer?: boolean;
8002
- filterLinkChildren?: boolean;
8003
- expandPreview?: boolean;
8004
- quickFilter?: boolean;
8005
- showAggregationItemCount?: boolean;
8006
- assistant?: {
8007
- usePrefixName?: boolean;
8008
- };
8009
- filters?: {
8010
- homepage?: boolean;
8011
- };
8012
- userProfile?: {
8013
- enabled?: boolean;
8014
- data?: string[];
8015
- customData?: string[];
8016
- };
8017
- previewMultiConversion?: boolean;
8018
- };
8019
- allowAdvancedFilters?: boolean;
8020
- general?: {
8021
- name?: string;
8022
- logo?: {
8023
- alt?: string;
8024
- light?: {
8025
- small?: string;
8026
- large?: string;
8027
- sidebar?: string;
8028
- };
8029
- dark?: {
8030
- small?: string;
8031
- large?: string;
8032
- sidebar?: string;
8033
- };
8034
- };
8035
- features?: {
8036
- [key: string]: boolean | {
8037
- [key: string]: string | boolean | string[] | undefined;
8038
- } | undefined;
8039
- allowChangePassword?: boolean;
8040
- editablepartition?: boolean;
8041
- advancedSearch?: boolean;
8042
- allowChatDrawer?: boolean;
8043
- filterLinkChildren?: boolean;
8044
- expandPreview?: boolean;
8045
- quickFilter?: boolean;
8046
- showAggregationItemCount?: boolean;
8047
- assistant?: {
8048
- usePrefixName?: boolean;
8049
- };
8050
- filters?: {
8051
- homepage?: boolean;
8052
- };
8053
- userProfile?: {
8054
- enabled?: boolean;
8055
- data?: string[];
8056
- customData?: string[];
8057
- };
8058
- previewMultiConversion?: boolean;
8059
- };
8060
- converters?: _sinequa_atomic_angular.CConverter[];
8061
- };
8062
- documentsUploadSettings?: {
8063
- enabled?: boolean;
8064
- };
8065
- };
8066
- customJSONs: {
8067
- name: string;
8068
- data: Record<string, unknown>;
8069
- }[] & _sinequa_atomic_angular.SideCJson[];
8070
- apiVersion: string;
8071
- workspaceApp: string;
8072
- defaultQueryName: string;
8073
- auditEnabled?: boolean | undefined;
8074
- dataSets?: string | undefined;
8075
- revision?: number | undefined;
8076
- runnableModels?: string | undefined;
8077
- authorizationLevel?: string | undefined;
8078
- columnMap?: Record<string, _sinequa_atomic.CCColumn> | undefined;
8079
- }>;
8080
- protected readonly previewService: PreviewService;
8081
- readonly article: _angular_core.InputSignal<Article$1>;
8082
- protected readonly previewHighlights: _angular_core.Signal<{
8083
- name: string;
8084
- entity: string;
8085
- metadata: ArticleMetadata[];
8086
- }[] | undefined>;
8087
- getMetadata(article: Partial<Article$1 & Record<string, unknown>>, entity: string): ArticleMetadata[];
8088
- navigation: _angular_core.WritableSignal<MetadataNavigation | undefined>;
8089
- hovering: _angular_core.WritableSignal<string | undefined>;
8090
- hoverIndex: _angular_core.Signal<number>;
8091
- scrollTo(type: string | undefined, index: number, usePassageHighlighter?: boolean): void;
8092
- private navigate;
8093
- navigateNext(entity: string, data: ArticleMetadata): void;
8094
- navigatePrev(entity: string, data: ArticleMetadata): void;
8095
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ArticleEntities, never>;
8096
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ArticleEntities, "article-entities,ArticleEntities,articleentities", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
8097
- }
8098
-
8099
- declare class ArticleExtracts {
8100
- cn: typeof cn;
8101
- protected readonly destroyRef: DestroyRef;
8102
- protected readonly applicationStore: {
8103
- ready: _angular_core.Signal<boolean>;
8104
- extracts: _angular_core.Signal<Map<string, Extract[]>>;
8105
- extractsCount: _angular_core.Signal<number>;
8106
- update: (state: Partial<_sinequa_atomic_angular.ApplicationState>) => void;
8107
- updateReadyState: (value?: boolean) => void;
8108
- updateExtracts: (id: string, extracts: Extract[]) => void;
8109
- getExtracts: (id: string) => Extract[];
8110
- } & _ngrx_signals.WritableStateSource<{
8111
- ready: boolean;
8112
- extracts: Map<string, Extract[]>;
8113
- }>;
8114
- protected readonly previewService: PreviewService;
8115
- readonly article: _angular_core.InputSignal<Article$1>;
8116
- loading: _angular_core.WritableSignal<boolean>;
8117
- protected readonly extracts: _angular_core.WritableSignal<Extract[]>;
8118
- constructor();
8119
- scrollTo(type: string | undefined, index: number, usePassageHighlighter?: boolean): void;
8120
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ArticleExtracts, never>;
8121
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ArticleExtracts, "article-extracts, ArticleExtracts, articleextracts", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
8122
- }
8123
-
8124
- declare class ArticleLabels {
8125
- protected readonly labels: {
8126
- private: string;
8127
- public: string;
8128
- };
8129
- readonly article: _angular_core.InputSignal<Article$1>;
8130
- readonly hasLabels: _angular_core.Signal<boolean | undefined>;
8131
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ArticleLabels, never>;
8132
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ArticleLabels, "article-labels, ArticleLabels, articlelabels", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
8133
- }
8134
-
8135
- declare class ArticleSimilarDocuments {
8136
- protected readonly queryParamsStore: {
8137
- name?: _angular_core.Signal<string | undefined> | undefined;
8138
- action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
8139
- text?: _angular_core.Signal<string | undefined> | undefined;
8140
- select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
8141
- open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
8142
- page?: _angular_core.Signal<number | undefined> | undefined;
8143
- pageSize?: _angular_core.Signal<number | undefined> | undefined;
8144
- tab?: _angular_core.Signal<string | undefined> | undefined;
8145
- scope?: _angular_core.Signal<string | undefined> | undefined;
8146
- sort?: _angular_core.Signal<string | undefined> | undefined;
8147
- basket?: _angular_core.Signal<string | undefined> | undefined;
8148
- isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
8149
- strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
8150
- globalRelevance?: _angular_core.Signal<number | undefined> | undefined;
8151
- questionLanguage?: _angular_core.Signal<string | undefined> | undefined;
8152
- questionDefaultLanguage?: _angular_core.Signal<string | undefined> | undefined;
8153
- spellingCorrectionMode?: _angular_core.Signal<_sinequa_atomic.SpellingCorrectionMode | undefined> | undefined;
8154
- spellingCorrectionFilter?: _angular_core.Signal<string | undefined> | undefined;
8155
- documentWeight?: _angular_core.Signal<string | undefined> | undefined;
8156
- textPartWeights?: _angular_core.Signal<string | undefined> | undefined;
8157
- relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
8158
- removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
8159
- queryId?: _angular_core.Signal<string | undefined> | undefined;
8160
- aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
8161
- orderBy?: _angular_core.Signal<string | undefined> | undefined;
8162
- groupBy?: _angular_core.Signal<string | undefined> | undefined;
8163
- neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
8164
- path?: _angular_core.Signal<string | undefined> | undefined;
8165
- filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
8166
- id?: _angular_core.Signal<string | undefined> | undefined;
8167
- setFromUrl: (href: string) => void;
8168
- getQueryParams: () => {
8169
- f?: string;
8170
- p?: number;
8171
- s?: string;
8172
- t?: string;
8173
- q?: string;
8174
- b?: string;
8175
- n?: string;
8176
- };
8177
- addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
8178
- updateFilter: (newFilter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
8179
- removeFilter: (field?: string) => void;
8180
- removeFilterByName: (name?: string, column?: string) => void;
8181
- clearFilters: () => void;
8182
- clearBasket: () => void;
8183
- patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents) => void;
8184
- getFilter: ({ field, name }: {
8185
- field: string | undefined;
8186
- name: string | undefined;
8187
- }) => Partial<_sinequa_atomic.LegacyFilter & {
8188
- count: number;
8189
- }> | null;
8190
- getQuery: () => _sinequa_atomic.Query;
8191
- } & _ngrx_signals.StateSource<{
8192
- name?: string | undefined;
8193
- action?: "" | "search" | "open" | "aggregate" | undefined;
8194
- text?: string | undefined;
8195
- select?: _sinequa_atomic.Select[] | undefined;
8196
- open?: _sinequa_atomic.Open[] | undefined;
8197
- page?: number | undefined;
8198
- pageSize?: number | undefined;
8199
- tab?: string | undefined;
8200
- scope?: string | undefined;
8201
- sort?: string | undefined;
8202
- basket?: string | undefined;
8203
- isFirstPage?: boolean | undefined;
8204
- strictRefine?: boolean | undefined;
8205
- globalRelevance?: number | undefined;
8206
- questionLanguage?: string | undefined;
8207
- questionDefaultLanguage?: string | undefined;
8208
- spellingCorrectionMode?: _sinequa_atomic.SpellingCorrectionMode | undefined;
8209
- spellingCorrectionFilter?: string | undefined;
8210
- documentWeight?: string | undefined;
8211
- textPartWeights?: string | undefined;
8212
- relevanceTransforms?: string | undefined;
8213
- removeDuplicates?: boolean | undefined;
8214
- queryId?: string | undefined;
8215
- aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
8216
- orderBy?: string | undefined;
8217
- groupBy?: string | undefined;
8218
- neuralSearch?: boolean | undefined;
8219
- path?: string | undefined;
8220
- filters: _sinequa_atomic.LegacyFilter[];
8221
- id?: string | undefined;
8222
- }>;
8223
- readonly article: _angular_core.InputSignal<Article$1>;
8224
- readonly strategy: _angular_core.InputSignal<SelectionStrategy>;
8225
- readonly selected: _angular_core.OutputEmitterRef<Article$1>;
8226
- queryName: _angular_core.Signal<string>;
8227
- readonly similarDocumentsResource: _angular_core.ResourceRef<Article$1[]>;
8228
- protected readonly similarDocuments: _angular_core.Signal<Article$1[]>;
8229
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ArticleSimilarDocuments, never>;
8230
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ArticleSimilarDocuments, "article-similar-documents, ArticleSimilarDocuments, articlesimilardocuments", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; "strategy": { "alias": "strategy"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, never, true, never>;
8231
- }
8232
-
8233
- declare class AlertDialog implements DialogInterface {
8234
- private readonly queryService;
8235
- private readonly queryParamsStore;
8236
- private readonly userSettingsStore;
8237
- readonly dialog: _angular_core.Signal<DialogComponent | undefined>;
8238
- frequencies: Alert.Frequency[];
8239
- frequency: typeof Alert.Frequency;
8240
- weekdays: {
8241
- key: string;
8242
- value: Alert.Days;
8243
- }[];
8244
- index?: number;
8245
- alert?: Alert;
8246
- alertName: _angular_core.WritableSignal<string>;
8247
- alertFrequency: _angular_core.WritableSignal<Alert.Frequency>;
8248
- alertDays: _angular_core.WritableSignal<Alert.Days>;
8249
- alertTimes: _angular_core.WritableSignal<string>;
8250
- alertActive: _angular_core.WritableSignal<boolean>;
8251
- canUpdateQuery: _angular_core.WritableSignal<boolean>;
8252
- updateStatus: _angular_core.WritableSignal<"idle" | "updating" | "updated">;
8253
- invalidForm: _angular_core.Signal<boolean>;
8254
- closed: _angular_core.OutputEmitterRef<DialogEvent>;
8255
- open(index: number): void;
8256
- showModal(index?: number): Promise<void>;
8257
- confirm(): Promise<void>;
8258
- private create;
8259
- private update;
8260
- dayChecked(day: Alert.Days): boolean;
8261
- dayChange(event: Event, day: Alert.Days): void;
8262
- updateQuery(): void;
8263
- execute(): void;
8264
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialog, never>;
8265
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialog, "alert-dialog, alertdialog, AlertDialog", never, {}, { "closed": "closed"; }, never, never, true, never>;
7714
+ declare class AlertDialog implements DialogInterface {
7715
+ private readonly queryService;
7716
+ private readonly queryParamsStore;
7717
+ private readonly userSettingsStore;
7718
+ readonly dialog: _angular_core.Signal<DialogComponent | undefined>;
7719
+ frequencies: Alert.Frequency[];
7720
+ frequency: typeof Alert.Frequency;
7721
+ weekdays: {
7722
+ key: string;
7723
+ value: Alert.Days;
7724
+ }[];
7725
+ index?: number;
7726
+ alert?: Alert;
7727
+ alertName: _angular_core.WritableSignal<string>;
7728
+ alertFrequency: _angular_core.WritableSignal<Alert.Frequency>;
7729
+ alertDays: _angular_core.WritableSignal<Alert.Days>;
7730
+ alertTimes: _angular_core.WritableSignal<string>;
7731
+ alertActive: _angular_core.WritableSignal<boolean>;
7732
+ canUpdateQuery: _angular_core.WritableSignal<boolean>;
7733
+ updateStatus: _angular_core.WritableSignal<"idle" | "updating" | "updated">;
7734
+ invalidForm: _angular_core.Signal<boolean>;
7735
+ closed: _angular_core.OutputEmitterRef<DialogEvent>;
7736
+ open(index: number): void;
7737
+ showModal(index?: number): Promise<void>;
7738
+ confirm(): Promise<void>;
7739
+ private create;
7740
+ private update;
7741
+ dayChecked(day: Alert.Days): boolean;
7742
+ dayChange(event: Event, day: Alert.Days): void;
7743
+ updateQuery(): void;
7744
+ execute(): void;
7745
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialog, never>;
7746
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialog, "alert-dialog, alertdialog, AlertDialog", never, {}, { "closed": "closed"; }, never, never, true, never>;
8266
7747
  }
8267
7748
 
8268
7749
  declare class AlertsComponent {
@@ -8416,6 +7897,8 @@ declare class SignInComponent {
8416
7897
  }
8417
7898
 
8418
7899
  declare class BookmarkButtonComponent {
7900
+ variant: _angular_core.InputSignal<"default" | "secondary" | "ai" | "ghost" | "link" | "primary" | "outline" | "accent" | "tertiary" | "light-accent" | "destructive" | "icon" | "none" | null | undefined>;
7901
+ size: _angular_core.InputSignal<"icon" | "xs" | "sm" | "md" | "lg" | null | undefined>;
8419
7902
  readonly article: _angular_core.InputSignal<Partial<Article$1>>;
8420
7903
  private readonly userSettingsStore;
8421
7904
  private readonly route;
@@ -8424,7 +7907,7 @@ declare class BookmarkButtonComponent {
8424
7907
  protected title: _angular_core.Signal<string>;
8425
7908
  bookmark(e: Event): Promise<void>;
8426
7909
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookmarkButtonComponent, never>;
8427
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookmarkButtonComponent, "bookmark-button, bookmarkbutton, BookmarkButton", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
7910
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookmarkButtonComponent, "bookmark-button, bookmarkbutton, BookmarkButton", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "article": { "alias": "article"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
8428
7911
  }
8429
7912
 
8430
7913
  type BookmarksConfig = {
@@ -8723,86 +8206,740 @@ declare class DrawerAdvancedFiltersComponent extends DrawerComponent {
8723
8206
  operator: _angular_forms.FormControl<Operator>;
8724
8207
  value: _angular_forms.FormControl<undefined>;
8725
8208
  }>;
8726
- title: _angular_forms.FormGroup<{
8727
- operator: _angular_forms.FormControl<Operator>;
8728
- value: _angular_forms.FormControl<undefined>;
8209
+ title: _angular_forms.FormGroup<{
8210
+ operator: _angular_forms.FormControl<Operator>;
8211
+ value: _angular_forms.FormControl<undefined>;
8212
+ }>;
8213
+ }>;
8214
+ currentTab: _angular_core.WritableSignal<string>;
8215
+ currentFilter: _angular_core.WritableSignal<string | undefined>;
8216
+ appliedFilters: _angular_core.WritableSignal<{
8217
+ column: string;
8218
+ values: DropdownItem[];
8219
+ }[]>;
8220
+ suggestions: _angular_core.WritableSignal<DropdownItem[]>;
8221
+ aggregations: _angular_core.WritableSignal<(Aggregation | TreeAggregation)[]>;
8222
+ inputVariant: _angular_core.WritableSignal<"default" | "destructive">;
8223
+ tabs: _angular_core.Signal<Tab[]>;
8224
+ filters: _angular_core.Signal<Filter[]>;
8225
+ protected enableFieldedSearch: _angular_core.Signal<boolean>;
8226
+ protected allowEmptySearch: _angular_core.Signal<boolean>;
8227
+ text: string;
8228
+ constructor();
8229
+ getFirstPageQuery(queryName: string): Promise<void>;
8230
+ onTabChange(tab: string): void;
8231
+ onSearch(): void;
8232
+ /** Generate the LegacyFilter to add to the query */
8233
+ private getFilter;
8234
+ /** Format content/title filters */
8235
+ private formatFilter;
8236
+ getPlaceholder(key: string): string;
8237
+ /** Get applied filters for a column */
8238
+ getItems(column: string): DropdownItem[];
8239
+ /** add item to current selection */
8240
+ addItem(item: DropdownItem, filter: Filter): void;
8241
+ /** remove item from current selection */
8242
+ removeItem(item: DropdownItem, filter: Filter): void;
8243
+ /** Update suggestions on input focus */
8244
+ setFilterFocus(value: string | null, filter: Filter): void;
8245
+ /** Update suggestions when typing */
8246
+ onInputTyping(value: string | null): void;
8247
+ private setSuggestions;
8248
+ private getSuggestionItems;
8249
+ private getWithSubItems;
8250
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerAdvancedFiltersComponent, never>;
8251
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerAdvancedFiltersComponent, "advanced-filters", never, {}, {}, never, never, true, never>;
8252
+ }
8253
+
8254
+ /**
8255
+ * Advanced Search Component
8256
+ * This component provides an advanced search interface with various panels for entities, extracts, labels, and similar documents.
8257
+ *
8258
+ * @deprecated Use `AdvancedSearch` component instead.
8259
+ */
8260
+ declare class AdvancedSearchComponent {
8261
+ cn: typeof cn;
8262
+ readonly article: _angular_core.InputSignal<Article$1>;
8263
+ readonly previewStrategy: _angular_core.InputSignal<SelectionStrategy | undefined>;
8264
+ readonly selected: _angular_core.OutputEmitterRef<Article$1>;
8265
+ protected readonly selectionStore: {
8266
+ article?: _angular_core.Signal<Article$1 | undefined> | undefined;
8267
+ id?: _angular_core.Signal<string | undefined> | undefined;
8268
+ queryText?: _angular_core.Signal<string | undefined> | undefined;
8269
+ queryName?: _angular_core.Signal<string | undefined> | undefined;
8270
+ previewHighlights?: _angular_core.Signal<_sinequa_atomic_angular.PreviewHighlights | undefined> | undefined;
8271
+ assistantIdsToAttach: _angular_core.Signal<string[]>;
8272
+ multiSelection: _angular_core.Signal<Article$1[]>;
8273
+ multiSelectCount: _angular_core.Signal<number>;
8274
+ update: (newState: Partial<_sinequa_atomic_angular.SelectionState>) => void;
8275
+ clear: () => void;
8276
+ addArticleToMultiSelection: (article: Article$1) => void;
8277
+ removeArticleFromMultiSelection: (article: Article$1) => void;
8278
+ clearMultiSelection: () => void;
8279
+ } & _ngrx_signals.StateSource<{
8280
+ article?: Article$1 | undefined;
8281
+ id?: string | undefined;
8282
+ queryText?: string | undefined;
8283
+ queryName?: string | undefined;
8284
+ previewHighlights?: _sinequa_atomic_angular.PreviewHighlights | undefined;
8285
+ assistantIdsToAttach: string[];
8286
+ multiSelection: Article$1[];
8287
+ }>;
8288
+ protected readonly queryParamsStore: {
8289
+ name?: _angular_core.Signal<string | undefined> | undefined;
8290
+ action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
8291
+ text?: _angular_core.Signal<string | undefined> | undefined;
8292
+ select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
8293
+ open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
8294
+ page?: _angular_core.Signal<number | undefined> | undefined;
8295
+ pageSize?: _angular_core.Signal<number | undefined> | undefined;
8296
+ tab?: _angular_core.Signal<string | undefined> | undefined;
8297
+ scope?: _angular_core.Signal<string | undefined> | undefined;
8298
+ sort?: _angular_core.Signal<string | undefined> | undefined;
8299
+ basket?: _angular_core.Signal<string | undefined> | undefined;
8300
+ isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
8301
+ strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
8302
+ globalRelevance?: _angular_core.Signal<number | undefined> | undefined;
8303
+ questionLanguage?: _angular_core.Signal<string | undefined> | undefined;
8304
+ questionDefaultLanguage?: _angular_core.Signal<string | undefined> | undefined;
8305
+ spellingCorrectionMode?: _angular_core.Signal<_sinequa_atomic.SpellingCorrectionMode | undefined> | undefined;
8306
+ spellingCorrectionFilter?: _angular_core.Signal<string | undefined> | undefined;
8307
+ documentWeight?: _angular_core.Signal<string | undefined> | undefined;
8308
+ textPartWeights?: _angular_core.Signal<string | undefined> | undefined;
8309
+ relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
8310
+ removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
8311
+ queryId?: _angular_core.Signal<string | undefined> | undefined;
8312
+ aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
8313
+ orderBy?: _angular_core.Signal<string | undefined> | undefined;
8314
+ groupBy?: _angular_core.Signal<string | undefined> | undefined;
8315
+ neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
8316
+ path?: _angular_core.Signal<string | undefined> | undefined;
8317
+ filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
8318
+ id?: _angular_core.Signal<string | undefined> | undefined;
8319
+ setFromUrl: (href: string) => void;
8320
+ getQueryParams: () => {
8321
+ f?: string;
8322
+ p?: number;
8323
+ s?: string;
8324
+ t?: string;
8325
+ q?: string;
8326
+ b?: string;
8327
+ n?: string;
8328
+ };
8329
+ addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
8330
+ updateFilter: (newFilter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
8331
+ removeFilter: (field?: string) => void;
8332
+ removeFilterByName: (name?: string, column?: string) => void;
8333
+ clearFilters: () => void;
8334
+ clearBasket: () => void;
8335
+ patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents) => void;
8336
+ getFilter: ({ field, name }: {
8337
+ field: string | undefined;
8338
+ name: string | undefined;
8339
+ }) => Partial<_sinequa_atomic.LegacyFilter & {
8340
+ count: number;
8341
+ }> | null;
8342
+ getQuery: () => _sinequa_atomic.Query;
8343
+ } & _ngrx_signals.StateSource<{
8344
+ name?: string | undefined;
8345
+ action?: "" | "search" | "open" | "aggregate" | undefined;
8346
+ text?: string | undefined;
8347
+ select?: _sinequa_atomic.Select[] | undefined;
8348
+ open?: _sinequa_atomic.Open[] | undefined;
8349
+ page?: number | undefined;
8350
+ pageSize?: number | undefined;
8351
+ tab?: string | undefined;
8352
+ scope?: string | undefined;
8353
+ sort?: string | undefined;
8354
+ basket?: string | undefined;
8355
+ isFirstPage?: boolean | undefined;
8356
+ strictRefine?: boolean | undefined;
8357
+ globalRelevance?: number | undefined;
8358
+ questionLanguage?: string | undefined;
8359
+ questionDefaultLanguage?: string | undefined;
8360
+ spellingCorrectionMode?: _sinequa_atomic.SpellingCorrectionMode | undefined;
8361
+ spellingCorrectionFilter?: string | undefined;
8362
+ documentWeight?: string | undefined;
8363
+ textPartWeights?: string | undefined;
8364
+ relevanceTransforms?: string | undefined;
8365
+ removeDuplicates?: boolean | undefined;
8366
+ queryId?: string | undefined;
8367
+ aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
8368
+ orderBy?: string | undefined;
8369
+ groupBy?: string | undefined;
8370
+ neuralSearch?: boolean | undefined;
8371
+ path?: string | undefined;
8372
+ filters: _sinequa_atomic.LegacyFilter[];
8373
+ id?: string | undefined;
8374
+ }>;
8375
+ protected readonly queryText: _angular_core.WritableSignal<string>;
8376
+ queryName: _angular_core.Signal<string>;
8377
+ protected executeSearch(): void;
8378
+ protected clearInput(): void;
8379
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdvancedSearchComponent, never>;
8380
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdvancedSearchComponent, "advanced-search", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; "previewStrategy": { "alias": "previewStrategy"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, never, true, never>;
8381
+ }
8382
+
8383
+ /**
8384
+ * Navbar component for drawers, providing navigation controls such as a back button.
8385
+ * It interacts with the DrawerStackService to manage drawer navigation.
8386
+ *
8387
+ * @deprecated we do not use it anymore.
8388
+ */
8389
+ declare class DrawerNavbarComponent {
8390
+ protected readonly drawerStack: DrawerStackService;
8391
+ protected readonly drawerService: DrawerService;
8392
+ readonly isExtended: boolean;
8393
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerNavbarComponent, never>;
8394
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerNavbarComponent, "DrawerNavbar, drawernavbar", never, {}, {}, never, ["*"], true, never>;
8395
+ }
8396
+
8397
+ type DocumentTypeMap = {
8398
+ documentType: string;
8399
+ articleComponent: Type<unknown>;
8400
+ previewComponent: Type<unknown>;
8401
+ };
8402
+ declare const COMPONENTS_FOR_DOCUMENT_TYPE: InjectionToken<(documentType?: string) => DocumentTypeMap>;
8403
+ /**
8404
+ * Component for previewing articles in a drawer.
8405
+ * It dynamically loads the appropriate preview component based on the article's document type.
8406
+ * It also manages the lifecycle of the preview, ensuring that resources are cleaned up when the drawer is closed.
8407
+ *
8408
+ * @extends DrawerComponent
8409
+ * @deprecated we do not use it anymore.
8410
+ */
8411
+ declare class DrawerPreviewComponent extends DrawerComponent {
8412
+ private destroyRef;
8413
+ injector: Injector;
8414
+ appStore: {
8415
+ name: _angular_core.Signal<string>;
8416
+ description?: _angular_core.Signal<string | undefined> | undefined;
8417
+ versionId: _angular_core.Signal<string>;
8418
+ queries: _angular_core.Signal<Record<string, _sinequa_atomic.CCQuery>>;
8419
+ rfms: _angular_core.Signal<Record<string, _sinequa_atomic.CCRFM>>;
8420
+ indexes: _angular_core.Signal<{
8421
+ _: _sinequa_atomic.CCIndex;
8422
+ } & Record<string, _sinequa_atomic.CCIndex>>;
8423
+ lists: _angular_core.Signal<Record<string, _sinequa_atomic.CCList>>;
8424
+ webServices: _angular_core.Signal<Record<string, _sinequa_atomic.CCWebService>>;
8425
+ queryNames: _angular_core.Signal<string>;
8426
+ labels: _angular_core.Signal<string>;
8427
+ preview: _angular_core.Signal<string>;
8428
+ autocomplete: _angular_core.Signal<string>;
8429
+ sponsoredLinks: _angular_core.Signal<string>;
8430
+ queryExport: _angular_core.Signal<string>;
8431
+ queryRssEnabled: _angular_core.Signal<boolean>;
8432
+ data: _angular_core.Signal<Record<string, unknown> & _sinequa_atomic_angular.CJson & {
8433
+ filters?: _sinequa_atomic_angular.CAggregation[];
8434
+ autocomplete?: _sinequa_atomic_angular.Autocomplete;
8435
+ tabs?: Record<string, {
8436
+ filters: string[];
8437
+ overviews?: Record<string, {
8438
+ minRelevance: number;
8439
+ }>;
8440
+ }>;
8441
+ sources?: _sinequa_atomic_angular.CSources;
8442
+ features?: {
8443
+ [key: string]: boolean | {
8444
+ [key: string]: string | boolean | string[] | undefined;
8445
+ } | undefined;
8446
+ allowChangePassword?: boolean;
8447
+ editablepartition?: boolean;
8448
+ advancedSearch?: boolean;
8449
+ allowChatDrawer?: boolean;
8450
+ filterLinkChildren?: boolean;
8451
+ expandPreview?: boolean;
8452
+ quickFilter?: boolean;
8453
+ showAggregationItemCount?: boolean;
8454
+ assistant?: {
8455
+ usePrefixName?: boolean;
8456
+ };
8457
+ filters?: {
8458
+ homepage?: boolean;
8459
+ };
8460
+ userProfile?: {
8461
+ enabled?: boolean;
8462
+ data?: string[];
8463
+ customData?: string[];
8464
+ };
8465
+ previewMultiConversion?: boolean;
8466
+ };
8467
+ allowAdvancedFilters?: boolean;
8468
+ general?: {
8469
+ name?: string;
8470
+ logo?: {
8471
+ alt?: string;
8472
+ light?: {
8473
+ small?: string;
8474
+ large?: string;
8475
+ sidebar?: string;
8476
+ };
8477
+ dark?: {
8478
+ small?: string;
8479
+ large?: string;
8480
+ sidebar?: string;
8481
+ };
8482
+ };
8483
+ features?: {
8484
+ [key: string]: boolean | {
8485
+ [key: string]: string | boolean | string[] | undefined;
8486
+ } | undefined;
8487
+ allowChangePassword?: boolean;
8488
+ editablepartition?: boolean;
8489
+ advancedSearch?: boolean;
8490
+ allowChatDrawer?: boolean;
8491
+ filterLinkChildren?: boolean;
8492
+ expandPreview?: boolean;
8493
+ quickFilter?: boolean;
8494
+ showAggregationItemCount?: boolean;
8495
+ assistant?: {
8496
+ usePrefixName?: boolean;
8497
+ };
8498
+ filters?: {
8499
+ homepage?: boolean;
8500
+ };
8501
+ userProfile?: {
8502
+ enabled?: boolean;
8503
+ data?: string[];
8504
+ customData?: string[];
8505
+ };
8506
+ previewMultiConversion?: boolean;
8507
+ };
8508
+ converters?: _sinequa_atomic_angular.CConverter[];
8509
+ };
8510
+ documentsUploadSettings?: {
8511
+ enabled?: boolean;
8512
+ };
8513
+ }>;
8514
+ customJSONs: _angular_core.Signal<{
8515
+ name: string;
8516
+ data: Record<string, unknown>;
8517
+ }[] & _sinequa_atomic_angular.SideCJson[]>;
8518
+ apiVersion: _angular_core.Signal<string>;
8519
+ workspaceApp: _angular_core.Signal<string>;
8520
+ defaultQueryName: _angular_core.Signal<string>;
8521
+ auditEnabled?: _angular_core.Signal<boolean | undefined> | undefined;
8522
+ dataSets?: _angular_core.Signal<string | undefined> | undefined;
8523
+ revision?: _angular_core.Signal<number | undefined> | undefined;
8524
+ runnableModels?: _angular_core.Signal<string | undefined> | undefined;
8525
+ authorizationLevel?: _angular_core.Signal<string | undefined> | undefined;
8526
+ columnMap?: _angular_core.Signal<Record<string, _sinequa_atomic.CCColumn> | undefined> | undefined;
8527
+ customizationJson: _angular_core.Signal<_sinequa_atomic_angular.CJsonMint>;
8528
+ sources: _angular_core.Signal<_sinequa_atomic_angular.CSources>;
8529
+ filters: _angular_core.Signal<_sinequa_atomic_angular.CFilter[]>;
8530
+ general: _angular_core.Signal<{
8531
+ name?: string;
8532
+ logo?: {
8533
+ alt?: string;
8534
+ light?: {
8535
+ small?: string;
8536
+ large?: string;
8537
+ sidebar?: string;
8538
+ };
8539
+ dark?: {
8540
+ small?: string;
8541
+ large?: string;
8542
+ sidebar?: string;
8543
+ };
8544
+ };
8545
+ features?: {
8546
+ [key: string]: boolean | {
8547
+ [key: string]: string | boolean | string[] | undefined;
8548
+ } | undefined;
8549
+ allowChangePassword?: boolean;
8550
+ editablepartition?: boolean;
8551
+ advancedSearch?: boolean;
8552
+ allowChatDrawer?: boolean;
8553
+ filterLinkChildren?: boolean;
8554
+ expandPreview?: boolean;
8555
+ quickFilter?: boolean;
8556
+ showAggregationItemCount?: boolean;
8557
+ assistant?: {
8558
+ usePrefixName?: boolean;
8559
+ };
8560
+ filters?: {
8561
+ homepage?: boolean;
8562
+ };
8563
+ userProfile?: {
8564
+ enabled?: boolean;
8565
+ data?: string[];
8566
+ customData?: string[];
8567
+ };
8568
+ previewMultiConversion?: boolean;
8569
+ };
8570
+ converters?: _sinequa_atomic_angular.CConverter[];
8571
+ } | undefined>;
8572
+ assistants: _angular_core.Signal<{
8573
+ [x: string]: _sinequa_atomic_angular.AssistantDetails;
8574
+ }>;
8575
+ agents: _angular_core.Signal<{
8576
+ [x: string]: {
8577
+ defaultAgent: string;
8578
+ };
8729
8579
  }>;
8580
+ initialize: () => Promise<void>;
8581
+ initializeWithAppName: (appName: string) => Promise<void>;
8582
+ update: (app: Partial<_sinequa_atomic_angular.CCAppState>) => void;
8583
+ getWebServiceByType: (type: _sinequa_atomic.CCWebService["webServiceType"]) => _sinequa_atomic.CCWebService | undefined;
8584
+ getLabels: () => {
8585
+ private: string;
8586
+ public: string;
8587
+ };
8588
+ getQueryByName: (name: string) => _sinequa_atomic.CCQuery | undefined;
8589
+ getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
8590
+ getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
8591
+ allowEmptySearch: (queryName: string) => boolean;
8592
+ enableFieldedSearch: (queryName: string) => boolean;
8593
+ allowLabels: () => boolean;
8594
+ getColumnAlias: (column: string) => string;
8595
+ getColumn: (columnOrAlias: string) => _sinequa_atomic.CCColumn | undefined;
8596
+ isDateColumn: (column: string) => boolean;
8597
+ isTabSearch: (queryName: string) => boolean;
8598
+ getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
8599
+ getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
8600
+ getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
8601
+ getNamedCustomizationJson: (name: string) => unknown | undefined;
8602
+ getAggregationIcon: (column: string) => string | undefined;
8603
+ getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
8604
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
8605
+ isAssistantAllowed: (assistantName: string) => boolean;
8606
+ isAgentAllowed: (agentName: string) => boolean;
8607
+ } & _ngrx_signals.StateSource<{
8608
+ name: string;
8609
+ description?: string | undefined;
8610
+ versionId: string;
8611
+ queries: Record<string, _sinequa_atomic.CCQuery>;
8612
+ rfms: Record<string, _sinequa_atomic.CCRFM>;
8613
+ indexes: {
8614
+ _: _sinequa_atomic.CCIndex;
8615
+ } & Record<string, _sinequa_atomic.CCIndex>;
8616
+ lists: Record<string, _sinequa_atomic.CCList>;
8617
+ webServices: Record<string, _sinequa_atomic.CCWebService>;
8618
+ queryNames: string;
8619
+ labels: string;
8620
+ preview: string;
8621
+ autocomplete: string;
8622
+ sponsoredLinks: string;
8623
+ queryExport: string;
8624
+ queryRssEnabled: boolean;
8625
+ data: Record<string, unknown> & _sinequa_atomic_angular.CJson & {
8626
+ filters?: _sinequa_atomic_angular.CAggregation[];
8627
+ autocomplete?: _sinequa_atomic_angular.Autocomplete;
8628
+ tabs?: Record<string, {
8629
+ filters: string[];
8630
+ overviews?: Record<string, {
8631
+ minRelevance: number;
8632
+ }>;
8633
+ }>;
8634
+ sources?: _sinequa_atomic_angular.CSources;
8635
+ features?: {
8636
+ [key: string]: boolean | {
8637
+ [key: string]: string | boolean | string[] | undefined;
8638
+ } | undefined;
8639
+ allowChangePassword?: boolean;
8640
+ editablepartition?: boolean;
8641
+ advancedSearch?: boolean;
8642
+ allowChatDrawer?: boolean;
8643
+ filterLinkChildren?: boolean;
8644
+ expandPreview?: boolean;
8645
+ quickFilter?: boolean;
8646
+ showAggregationItemCount?: boolean;
8647
+ assistant?: {
8648
+ usePrefixName?: boolean;
8649
+ };
8650
+ filters?: {
8651
+ homepage?: boolean;
8652
+ };
8653
+ userProfile?: {
8654
+ enabled?: boolean;
8655
+ data?: string[];
8656
+ customData?: string[];
8657
+ };
8658
+ previewMultiConversion?: boolean;
8659
+ };
8660
+ allowAdvancedFilters?: boolean;
8661
+ general?: {
8662
+ name?: string;
8663
+ logo?: {
8664
+ alt?: string;
8665
+ light?: {
8666
+ small?: string;
8667
+ large?: string;
8668
+ sidebar?: string;
8669
+ };
8670
+ dark?: {
8671
+ small?: string;
8672
+ large?: string;
8673
+ sidebar?: string;
8674
+ };
8675
+ };
8676
+ features?: {
8677
+ [key: string]: boolean | {
8678
+ [key: string]: string | boolean | string[] | undefined;
8679
+ } | undefined;
8680
+ allowChangePassword?: boolean;
8681
+ editablepartition?: boolean;
8682
+ advancedSearch?: boolean;
8683
+ allowChatDrawer?: boolean;
8684
+ filterLinkChildren?: boolean;
8685
+ expandPreview?: boolean;
8686
+ quickFilter?: boolean;
8687
+ showAggregationItemCount?: boolean;
8688
+ assistant?: {
8689
+ usePrefixName?: boolean;
8690
+ };
8691
+ filters?: {
8692
+ homepage?: boolean;
8693
+ };
8694
+ userProfile?: {
8695
+ enabled?: boolean;
8696
+ data?: string[];
8697
+ customData?: string[];
8698
+ };
8699
+ previewMultiConversion?: boolean;
8700
+ };
8701
+ converters?: _sinequa_atomic_angular.CConverter[];
8702
+ };
8703
+ documentsUploadSettings?: {
8704
+ enabled?: boolean;
8705
+ };
8706
+ };
8707
+ customJSONs: {
8708
+ name: string;
8709
+ data: Record<string, unknown>;
8710
+ }[] & _sinequa_atomic_angular.SideCJson[];
8711
+ apiVersion: string;
8712
+ workspaceApp: string;
8713
+ defaultQueryName: string;
8714
+ auditEnabled?: boolean | undefined;
8715
+ dataSets?: string | undefined;
8716
+ revision?: number | undefined;
8717
+ runnableModels?: string | undefined;
8718
+ authorizationLevel?: string | undefined;
8719
+ columnMap?: Record<string, _sinequa_atomic.CCColumn> | undefined;
8730
8720
  }>;
8731
- currentTab: _angular_core.WritableSignal<string>;
8732
- currentFilter: _angular_core.WritableSignal<string | undefined>;
8733
- appliedFilters: _angular_core.WritableSignal<{
8734
- column: string;
8735
- values: DropdownItem[];
8736
- }[]>;
8737
- suggestions: _angular_core.WritableSignal<DropdownItem[]>;
8738
- aggregations: _angular_core.WritableSignal<(Aggregation | TreeAggregation)[]>;
8739
- inputVariant: _angular_core.WritableSignal<"default" | "destructive">;
8740
- tabs: _angular_core.Signal<Tab[]>;
8741
- filters: _angular_core.Signal<Filter[]>;
8742
- protected enableFieldedSearch: _angular_core.Signal<boolean>;
8743
- protected allowEmptySearch: _angular_core.Signal<boolean>;
8744
- text: string;
8745
- constructor();
8746
- getFirstPageQuery(queryName: string): Promise<void>;
8747
- onTabChange(tab: string): void;
8748
- onSearch(): void;
8749
- /** Generate the LegacyFilter to add to the query */
8750
- private getFilter;
8751
- /** Format content/title filters */
8752
- private formatFilter;
8753
- getPlaceholder(key: string): string;
8754
- /** Get applied filters for a column */
8755
- getItems(column: string): DropdownItem[];
8756
- /** add item to current selection */
8757
- addItem(item: DropdownItem, filter: Filter): void;
8758
- /** remove item from current selection */
8759
- removeItem(item: DropdownItem, filter: Filter): void;
8760
- /** Update suggestions on input focus */
8761
- setFilterFocus(value: string | null, filter: Filter): void;
8762
- /** Update suggestions when typing */
8763
- onInputTyping(value: string | null): void;
8764
- private setSuggestions;
8765
- private getSuggestionItems;
8766
- private getWithSubItems;
8767
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerAdvancedFiltersComponent, never>;
8768
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerAdvancedFiltersComponent, "advanced-filters", never, {}, {}, never, never, true, never>;
8769
- }
8770
-
8771
- /**
8772
- * Advanced Search Component
8773
- * This component provides an advanced search interface with various panels for entities, extracts, labels, and similar documents.
8774
- *
8775
- * @deprecated Use `AdvancedSearch` component instead.
8776
- */
8777
- declare class AdvancedSearchComponent {
8778
- cn: typeof cn;
8779
- readonly article: _angular_core.InputSignal<Article$1>;
8780
- readonly previewStrategy: _angular_core.InputSignal<SelectionStrategy | undefined>;
8781
- readonly selected: _angular_core.OutputEmitterRef<Article$1>;
8782
- protected readonly selectionStore: {
8783
- article?: _angular_core.Signal<Article$1 | undefined> | undefined;
8721
+ selectionStore: {
8722
+ article?: _angular_core.Signal<_sinequa_atomic.Article | undefined> | undefined;
8784
8723
  id?: _angular_core.Signal<string | undefined> | undefined;
8785
8724
  queryText?: _angular_core.Signal<string | undefined> | undefined;
8786
8725
  queryName?: _angular_core.Signal<string | undefined> | undefined;
8787
8726
  previewHighlights?: _angular_core.Signal<_sinequa_atomic_angular.PreviewHighlights | undefined> | undefined;
8788
8727
  assistantIdsToAttach: _angular_core.Signal<string[]>;
8789
- multiSelection: _angular_core.Signal<Article$1[]>;
8728
+ multiSelection: _angular_core.Signal<_sinequa_atomic.Article[]>;
8790
8729
  multiSelectCount: _angular_core.Signal<number>;
8791
8730
  update: (newState: Partial<_sinequa_atomic_angular.SelectionState>) => void;
8792
8731
  clear: () => void;
8793
- addArticleToMultiSelection: (article: Article$1) => void;
8794
- removeArticleFromMultiSelection: (article: Article$1) => void;
8732
+ addArticleToMultiSelection: (article: _sinequa_atomic.Article) => void;
8733
+ removeArticleFromMultiSelection: (article: _sinequa_atomic.Article) => void;
8795
8734
  clearMultiSelection: () => void;
8796
8735
  } & _ngrx_signals.StateSource<{
8797
- article?: Article$1 | undefined;
8736
+ article?: _sinequa_atomic.Article | undefined;
8798
8737
  id?: string | undefined;
8799
8738
  queryText?: string | undefined;
8800
8739
  queryName?: string | undefined;
8801
8740
  previewHighlights?: _sinequa_atomic_angular.PreviewHighlights | undefined;
8802
8741
  assistantIdsToAttach: string[];
8803
- multiSelection: Article$1[];
8742
+ multiSelection: _sinequa_atomic.Article[];
8804
8743
  }>;
8805
- protected readonly queryParamsStore: {
8744
+ queryParamsStore: {
8745
+ name?: _angular_core.Signal<string | undefined> | undefined;
8746
+ action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
8747
+ text?: _angular_core.Signal<string | undefined> | undefined;
8748
+ select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
8749
+ open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
8750
+ page?: _angular_core.Signal<number | undefined> | undefined;
8751
+ pageSize?: _angular_core.Signal<number | undefined> | undefined;
8752
+ tab?: _angular_core.Signal<string | undefined> | undefined;
8753
+ scope?: _angular_core.Signal<string | undefined> | undefined;
8754
+ sort?: _angular_core.Signal<string | undefined> | undefined;
8755
+ basket?: _angular_core.Signal<string | undefined> | undefined;
8756
+ isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
8757
+ strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
8758
+ globalRelevance?: _angular_core.Signal<number | undefined> | undefined;
8759
+ questionLanguage?: _angular_core.Signal<string | undefined> | undefined;
8760
+ questionDefaultLanguage?: _angular_core.Signal<string | undefined> | undefined;
8761
+ spellingCorrectionMode?: _angular_core.Signal<_sinequa_atomic.SpellingCorrectionMode | undefined> | undefined;
8762
+ spellingCorrectionFilter?: _angular_core.Signal<string | undefined> | undefined;
8763
+ documentWeight?: _angular_core.Signal<string | undefined> | undefined;
8764
+ textPartWeights?: _angular_core.Signal<string | undefined> | undefined;
8765
+ relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
8766
+ removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
8767
+ queryId?: _angular_core.Signal<string | undefined> | undefined;
8768
+ aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
8769
+ orderBy?: _angular_core.Signal<string | undefined> | undefined;
8770
+ groupBy?: _angular_core.Signal<string | undefined> | undefined;
8771
+ neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
8772
+ path?: _angular_core.Signal<string | undefined> | undefined;
8773
+ filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
8774
+ id?: _angular_core.Signal<string | undefined> | undefined;
8775
+ setFromUrl: (href: string) => void;
8776
+ getQueryParams: () => {
8777
+ f?: string;
8778
+ p?: number;
8779
+ s?: string;
8780
+ t?: string;
8781
+ q?: string;
8782
+ b?: string;
8783
+ n?: string;
8784
+ };
8785
+ addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
8786
+ updateFilter: (newFilter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
8787
+ removeFilter: (field?: string) => void;
8788
+ removeFilterByName: (name?: string, column?: string) => void;
8789
+ clearFilters: () => void;
8790
+ clearBasket: () => void;
8791
+ patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents) => void;
8792
+ getFilter: ({ field, name }: {
8793
+ field: string | undefined;
8794
+ name: string | undefined;
8795
+ }) => Partial<_sinequa_atomic.LegacyFilter & {
8796
+ count: number;
8797
+ }> | null;
8798
+ getQuery: () => _sinequa_atomic.Query;
8799
+ } & _ngrx_signals.StateSource<{
8800
+ name?: string | undefined;
8801
+ action?: "" | "search" | "open" | "aggregate" | undefined;
8802
+ text?: string | undefined;
8803
+ select?: _sinequa_atomic.Select[] | undefined;
8804
+ open?: _sinequa_atomic.Open[] | undefined;
8805
+ page?: number | undefined;
8806
+ pageSize?: number | undefined;
8807
+ tab?: string | undefined;
8808
+ scope?: string | undefined;
8809
+ sort?: string | undefined;
8810
+ basket?: string | undefined;
8811
+ isFirstPage?: boolean | undefined;
8812
+ strictRefine?: boolean | undefined;
8813
+ globalRelevance?: number | undefined;
8814
+ questionLanguage?: string | undefined;
8815
+ questionDefaultLanguage?: string | undefined;
8816
+ spellingCorrectionMode?: _sinequa_atomic.SpellingCorrectionMode | undefined;
8817
+ spellingCorrectionFilter?: string | undefined;
8818
+ documentWeight?: string | undefined;
8819
+ textPartWeights?: string | undefined;
8820
+ relevanceTransforms?: string | undefined;
8821
+ removeDuplicates?: boolean | undefined;
8822
+ queryId?: string | undefined;
8823
+ aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
8824
+ orderBy?: string | undefined;
8825
+ groupBy?: string | undefined;
8826
+ neuralSearch?: boolean | undefined;
8827
+ path?: string | undefined;
8828
+ filters: _sinequa_atomic.LegacyFilter[];
8829
+ id?: string | undefined;
8830
+ }>;
8831
+ previewService: PreviewService;
8832
+ getComponentsForDocumentType: (documentType?: string) => DocumentTypeMap;
8833
+ readonly articleId: _angular_core.InputSignal<string>;
8834
+ queryText: _angular_core.Signal<string | undefined>;
8835
+ readonly article: _angular_core.Signal<_sinequa_atomic.Article | undefined>;
8836
+ readonly previewType: _angular_core.Signal<Type<unknown>>;
8837
+ private readonly globalQueryName;
8838
+ constructor(destroyRef: DestroyRef);
8839
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerPreviewComponent, never>;
8840
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerPreviewComponent, "DrawerPreview, drawerpreview", never, { "articleId": { "alias": "articleId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
8841
+ }
8842
+
8843
+ declare const DRAWER_COMPONENT: InjectionToken<Type<DrawerComponent>>;
8844
+ declare const DRAWER_STACK_MAX_COUNT: InjectionToken<number>;
8845
+ /**
8846
+ * Component that manages a stack of drawers in the application.
8847
+ * It listens to the DrawerStackService for events to open, close,
8848
+ * and manage drawers, and dynamically creates and destroys drawer
8849
+ * components as needed.
8850
+ *
8851
+ * @deprecated we do not use it anymore.
8852
+ */
8853
+ declare class DrawerStackComponent {
8854
+ drawerOpened: _angular_core.Signal<boolean>;
8855
+ readonly drawerStackService: DrawerStackService;
8856
+ protected readonly selectionHistory: SelectionHistoryService;
8857
+ protected readonly viewContainer: ViewContainerRef;
8858
+ protected readonly drawerComponent: Type<DrawerComponent>;
8859
+ protected readonly drawerStackMaxCount: number;
8860
+ protected readonly selectionHistory$: _angular_core.EventEmitter<_sinequa_atomic_angular.SelectionHistoryEvent>;
8861
+ protected readonly drawers: ComponentRef<DrawerComponent>[];
8862
+ get drawersLength(): number;
8863
+ constructor(destroyRef: DestroyRef);
8864
+ protected toggleAssistant(): void;
8865
+ private openTopDrawer;
8866
+ private closeTopDrawer;
8867
+ private closeAllDrawers;
8868
+ private collapseTopDrawer;
8869
+ private toggleTopDrawerExtension;
8870
+ private pushDrawer;
8871
+ private shiftDrawer;
8872
+ private unshiftDrawer;
8873
+ private closeAndDestroyDrawer;
8874
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerStackComponent, never>;
8875
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerStackComponent, "DrawerStack, drawerstack", never, {}, {}, never, never, true, never>;
8876
+ }
8877
+
8878
+ type ExportQueryOptions = {
8879
+ model: ExportQueryModel;
8880
+ appName: string;
8881
+ query: Query;
8882
+ article?: Article$1;
8883
+ name?: string;
8884
+ selection?: string[];
8885
+ };
8886
+ declare class ExportService {
8887
+ protected readonly API_URL: string;
8888
+ protected readonly http: HttpClient;
8889
+ /**
8890
+ * Downloads a file based on the provided options and triggers a browser download.
8891
+ *
8892
+ * @param options - The options for the download operation.
8893
+ * @param options.model - The export query model containing web service, format, max count, and exported columns.
8894
+ * @param options.appName - The name of the application initiating the download.
8895
+ * @param options.query - The query object used for the export operation.
8896
+ * @param options.article - (Optional) The article associated with the export.
8897
+ * @param options.name - (Optional) The custom name for the downloaded file. If not provided, the name is extracted from the response headers.
8898
+ * @param options.selection - (Optional) An array of id of selected items to export.
8899
+ * @returns An observable that emits the HTTP response containing the file blob.
8900
+ *
8901
+ * @remarks
8902
+ * This method handles file downloads for both modern browsers and Internet Explorer.
8903
+ * For modern browsers, it creates a temporary anchor element to trigger the download.
8904
+ * For Internet Explorer, it uses `msSaveOrOpenBlob` to handle the download.
8905
+ *
8906
+ * @example
8907
+ * ```typescript
8908
+ * const options = {
8909
+ * model: { webService: 'service', format: 'csv', maxCount: 100, exportedColumns: [] },
8910
+ * appName: 'MyApp',
8911
+ * query: myQuery,
8912
+ * name: 'exported-file.csv'
8913
+ * };
8914
+ * exportService.download(options).subscribe(response => {
8915
+ * console.log('File downloaded successfully');
8916
+ * });
8917
+ * ```
8918
+ */
8919
+ download(options: ExportQueryOptions): Observable<HttpResponse<Blob>>;
8920
+ /**
8921
+ * Exports the current result.
8922
+ *
8923
+ * @param webService The configuration for the export web service.
8924
+ * @param query The query to export.
8925
+ * @param format The export format.
8926
+ * @param maxCount (Optional) The maximum number of exported rows.
8927
+ * @param exportedColumns (Optional) The columns to export, empty means all columns.
8928
+ * @param selection - (Optional) The list of id of selected items to export.
8929
+ *
8930
+ * @remarks If `selection` is provided, the type of export will be set to 'Selection'.
8931
+ */
8932
+ exportResult(appName: string, webService: string, query: Query, format: ExportOutputFormat, results?: Article$1, maxCount?: number, exportedColumns?: string[], selection?: string[]): Observable<HttpResponse<Blob>>;
8933
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExportService, never>;
8934
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ExportService>;
8935
+ }
8936
+
8937
+ declare class ExportDialog implements DialogInterface {
8938
+ cn: typeof cn;
8939
+ onExport: _angular_core.OutputEmitterRef<ExportQueryModel>;
8940
+ private appStore;
8941
+ readonly exportService: ExportService;
8942
+ readonly queryParamsStore: {
8806
8943
  name?: _angular_core.Signal<string | undefined> | undefined;
8807
8944
  action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
8808
8945
  text?: _angular_core.Signal<string | undefined> | undefined;
@@ -8889,46 +9026,27 @@ declare class AdvancedSearchComponent {
8889
9026
  filters: _sinequa_atomic.LegacyFilter[];
8890
9027
  id?: string | undefined;
8891
9028
  }>;
8892
- protected readonly queryText: _angular_core.WritableSignal<string>;
8893
- queryName: _angular_core.Signal<string>;
8894
- protected executeSearch(): void;
8895
- protected clearInput(): void;
8896
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdvancedSearchComponent, never>;
8897
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdvancedSearchComponent, "advanced-search", never, { "article": { "alias": "article"; "required": true; "isSignal": true; }; "previewStrategy": { "alias": "previewStrategy"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, never, true, never>;
8898
- }
8899
-
8900
- /**
8901
- * Navbar component for drawers, providing navigation controls such as a back button.
8902
- * It interacts with the DrawerStackService to manage drawer navigation.
8903
- *
8904
- * @deprecated we do not use it anymore.
8905
- */
8906
- declare class DrawerNavbarComponent {
8907
- protected readonly drawerStack: DrawerStackService;
8908
- protected readonly drawerService: DrawerService;
8909
- readonly isExtended: boolean;
8910
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerNavbarComponent, never>;
8911
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerNavbarComponent, "DrawerNavbar, drawernavbar", never, {}, {}, never, ["*"], true, never>;
9029
+ readonly dialog: _angular_core.Signal<DialogComponent | undefined>;
9030
+ private selection;
9031
+ readonly fromSelection: _angular_core.WritableSignal<boolean>;
9032
+ exportableColumns: _angular_core.WritableSignal<string[]>;
9033
+ readonly supportedFormats: ExportOutputFormat[];
9034
+ format: _angular_core.ModelSignal<ExportOutputFormat>;
9035
+ maxCount: _angular_core.ModelSignal<number | undefined>;
9036
+ columnsToExport: _angular_core.ModelSignal<string[]>;
9037
+ private destroyRef;
9038
+ open(selection?: string[]): void;
9039
+ onDownload(): void;
9040
+ onMaxCountInput(event: Event): void;
9041
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExportDialog, never>;
9042
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ExportDialog, "export-dialog", never, { "format": { "alias": "format"; "required": false; "isSignal": true; }; "maxCount": { "alias": "maxCount"; "required": false; "isSignal": true; }; "columnsToExport": { "alias": "columnsToExport"; "required": false; "isSignal": true; }; }, { "onExport": "onExport"; "format": "formatChange"; "maxCount": "maxCountChange"; "columnsToExport": "columnsToExportChange"; }, never, never, true, never>;
8912
9043
  }
8913
9044
 
8914
- type DocumentTypeMap = {
8915
- documentType: string;
8916
- articleComponent: Type<unknown>;
8917
- previewComponent: Type<unknown>;
8918
- };
8919
- declare const COMPONENTS_FOR_DOCUMENT_TYPE: InjectionToken<(documentType?: string) => DocumentTypeMap>;
8920
- /**
8921
- * Component for previewing articles in a drawer.
8922
- * It dynamically loads the appropriate preview component based on the article's document type.
8923
- * It also manages the lifecycle of the preview, ensuring that resources are cleaned up when the drawer is closed.
8924
- *
8925
- * @extends DrawerComponent
8926
- * @deprecated we do not use it anymore.
8927
- */
8928
- declare class DrawerPreviewComponent extends DrawerComponent {
8929
- private destroyRef;
8930
- injector: Injector;
8931
- appStore: {
9045
+ declare const AuditFeedbackType = "UserFeedback_UserFeedback";
9046
+ declare class FeedbackDialogComponent implements DialogInterface {
9047
+ readonly dialog: _angular_core.Signal<DialogComponent | undefined>;
9048
+ readonly auditService: AuditService;
9049
+ readonly appStore: {
8932
9050
  name: _angular_core.Signal<string>;
8933
9051
  description?: _angular_core.Signal<string | undefined> | undefined;
8934
9052
  versionId: _angular_core.Signal<string>;
@@ -9235,30 +9353,27 @@ declare class DrawerPreviewComponent extends DrawerComponent {
9235
9353
  authorizationLevel?: string | undefined;
9236
9354
  columnMap?: Record<string, _sinequa_atomic.CCColumn> | undefined;
9237
9355
  }>;
9238
- selectionStore: {
9239
- article?: _angular_core.Signal<_sinequa_atomic.Article | undefined> | undefined;
9240
- id?: _angular_core.Signal<string | undefined> | undefined;
9241
- queryText?: _angular_core.Signal<string | undefined> | undefined;
9242
- queryName?: _angular_core.Signal<string | undefined> | undefined;
9243
- previewHighlights?: _angular_core.Signal<_sinequa_atomic_angular.PreviewHighlights | undefined> | undefined;
9244
- assistantIdsToAttach: _angular_core.Signal<string[]>;
9245
- multiSelection: _angular_core.Signal<_sinequa_atomic.Article[]>;
9246
- multiSelectCount: _angular_core.Signal<number>;
9247
- update: (newState: Partial<_sinequa_atomic_angular.SelectionState>) => void;
9248
- clear: () => void;
9249
- addArticleToMultiSelection: (article: _sinequa_atomic.Article) => void;
9250
- removeArticleFromMultiSelection: (article: _sinequa_atomic.Article) => void;
9251
- clearMultiSelection: () => void;
9252
- } & _ngrx_signals.StateSource<{
9253
- article?: _sinequa_atomic.Article | undefined;
9254
- id?: string | undefined;
9255
- queryText?: string | undefined;
9256
- queryName?: string | undefined;
9257
- previewHighlights?: _sinequa_atomic_angular.PreviewHighlights | undefined;
9258
- assistantIdsToAttach: string[];
9259
- multiSelection: _sinequa_atomic.Article[];
9260
- }>;
9261
- queryParamsStore: {
9356
+ private readonly transloco;
9357
+ comment: _angular_core.ModelSignal<string>;
9358
+ type: _angular_core.WritableSignal<string | undefined>;
9359
+ open(type: string): void;
9360
+ submit(): void;
9361
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeedbackDialogComponent, never>;
9362
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeedbackDialogComponent, "feedback-dialog, feedbackdialog, FeedbackDialog", never, { "comment": { "alias": "comment"; "required": false; "isSignal": true; }; }, { "comment": "commentChange"; }, never, never, true, never>;
9363
+ }
9364
+
9365
+ interface FeedbackMenu {
9366
+ type: string;
9367
+ icon: string;
9368
+ }
9369
+ declare class SearchFeedbackComponent {
9370
+ onClose: _angular_core.OutputEmitterRef<void>;
9371
+ readonly feedbackDialog: _angular_core.Signal<FeedbackDialogComponent | undefined>;
9372
+ pages: _angular_core.InputSignal<any>;
9373
+ variant: _angular_core.InputSignal<"default" | "secondary" | "ai" | "ghost" | "link" | "primary" | "outline" | "accent" | "tertiary" | "light-accent" | "destructive" | "icon" | "none" | null | undefined>;
9374
+ solid: _angular_core.InputSignal<boolean | null | undefined>;
9375
+ readonly auditService: AuditService;
9376
+ protected readonly queryParamsStore: {
9262
9377
  name?: _angular_core.Signal<string | undefined> | undefined;
9263
9378
  action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
9264
9379
  text?: _angular_core.Signal<string | undefined> | undefined;
@@ -9317,145 +9432,76 @@ declare class DrawerPreviewComponent extends DrawerComponent {
9317
9432
  name?: string | undefined;
9318
9433
  action?: "" | "search" | "open" | "aggregate" | undefined;
9319
9434
  text?: string | undefined;
9320
- select?: _sinequa_atomic.Select[] | undefined;
9321
- open?: _sinequa_atomic.Open[] | undefined;
9322
- page?: number | undefined;
9323
- pageSize?: number | undefined;
9324
- tab?: string | undefined;
9325
- scope?: string | undefined;
9326
- sort?: string | undefined;
9327
- basket?: string | undefined;
9328
- isFirstPage?: boolean | undefined;
9329
- strictRefine?: boolean | undefined;
9330
- globalRelevance?: number | undefined;
9331
- questionLanguage?: string | undefined;
9332
- questionDefaultLanguage?: string | undefined;
9333
- spellingCorrectionMode?: _sinequa_atomic.SpellingCorrectionMode | undefined;
9334
- spellingCorrectionFilter?: string | undefined;
9335
- documentWeight?: string | undefined;
9336
- textPartWeights?: string | undefined;
9337
- relevanceTransforms?: string | undefined;
9338
- removeDuplicates?: boolean | undefined;
9339
- queryId?: string | undefined;
9340
- aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
9341
- orderBy?: string | undefined;
9342
- groupBy?: string | undefined;
9343
- neuralSearch?: boolean | undefined;
9344
- path?: string | undefined;
9345
- filters: _sinequa_atomic.LegacyFilter[];
9346
- id?: string | undefined;
9347
- }>;
9348
- previewService: PreviewService;
9349
- getComponentsForDocumentType: (documentType?: string) => DocumentTypeMap;
9350
- readonly articleId: _angular_core.InputSignal<string>;
9351
- queryText: _angular_core.Signal<string | undefined>;
9352
- readonly article: _angular_core.Signal<_sinequa_atomic.Article | undefined>;
9353
- readonly previewType: _angular_core.Signal<Type<unknown>>;
9354
- private readonly globalQueryName;
9355
- constructor(destroyRef: DestroyRef);
9356
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerPreviewComponent, never>;
9357
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerPreviewComponent, "DrawerPreview, drawerpreview", never, { "articleId": { "alias": "articleId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
9358
- }
9359
-
9360
- declare const DRAWER_COMPONENT: InjectionToken<Type<DrawerComponent>>;
9361
- declare const DRAWER_STACK_MAX_COUNT: InjectionToken<number>;
9362
- /**
9363
- * Component that manages a stack of drawers in the application.
9364
- * It listens to the DrawerStackService for events to open, close,
9365
- * and manage drawers, and dynamically creates and destroys drawer
9366
- * components as needed.
9367
- *
9368
- * @deprecated we do not use it anymore.
9369
- */
9370
- declare class DrawerStackComponent {
9371
- drawerOpened: _angular_core.Signal<boolean>;
9372
- readonly drawerStackService: DrawerStackService;
9373
- protected readonly selectionHistory: SelectionHistoryService;
9374
- protected readonly viewContainer: ViewContainerRef;
9375
- protected readonly drawerComponent: Type<DrawerComponent>;
9376
- protected readonly drawerStackMaxCount: number;
9377
- protected readonly selectionHistory$: _angular_core.EventEmitter<_sinequa_atomic_angular.SelectionHistoryEvent>;
9378
- protected readonly drawers: ComponentRef<DrawerComponent>[];
9379
- get drawersLength(): number;
9380
- constructor(destroyRef: DestroyRef);
9381
- protected toggleAssistant(): void;
9382
- private openTopDrawer;
9383
- private closeTopDrawer;
9384
- private closeAllDrawers;
9385
- private collapseTopDrawer;
9386
- private toggleTopDrawerExtension;
9387
- private pushDrawer;
9388
- private shiftDrawer;
9389
- private unshiftDrawer;
9390
- private closeAndDestroyDrawer;
9391
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerStackComponent, never>;
9392
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerStackComponent, "DrawerStack, drawerstack", never, {}, {}, never, never, true, never>;
9393
- }
9394
-
9395
- type ExportQueryOptions = {
9396
- model: ExportQueryModel;
9397
- appName: string;
9398
- query: Query;
9399
- article?: Article$1;
9400
- name?: string;
9401
- selection?: string[];
9402
- };
9403
- declare class ExportService {
9404
- protected readonly API_URL: string;
9405
- protected readonly http: HttpClient;
9406
- /**
9407
- * Downloads a file based on the provided options and triggers a browser download.
9408
- *
9409
- * @param options - The options for the download operation.
9410
- * @param options.model - The export query model containing web service, format, max count, and exported columns.
9411
- * @param options.appName - The name of the application initiating the download.
9412
- * @param options.query - The query object used for the export operation.
9413
- * @param options.article - (Optional) The article associated with the export.
9414
- * @param options.name - (Optional) The custom name for the downloaded file. If not provided, the name is extracted from the response headers.
9415
- * @param options.selection - (Optional) An array of id of selected items to export.
9416
- * @returns An observable that emits the HTTP response containing the file blob.
9417
- *
9418
- * @remarks
9419
- * This method handles file downloads for both modern browsers and Internet Explorer.
9420
- * For modern browsers, it creates a temporary anchor element to trigger the download.
9421
- * For Internet Explorer, it uses `msSaveOrOpenBlob` to handle the download.
9422
- *
9423
- * @example
9424
- * ```typescript
9425
- * const options = {
9426
- * model: { webService: 'service', format: 'csv', maxCount: 100, exportedColumns: [] },
9427
- * appName: 'MyApp',
9428
- * query: myQuery,
9429
- * name: 'exported-file.csv'
9430
- * };
9431
- * exportService.download(options).subscribe(response => {
9432
- * console.log('File downloaded successfully');
9433
- * });
9434
- * ```
9435
- */
9436
- download(options: ExportQueryOptions): Observable<HttpResponse<Blob>>;
9437
- /**
9438
- * Exports the current result.
9439
- *
9440
- * @param webService The configuration for the export web service.
9441
- * @param query The query to export.
9442
- * @param format The export format.
9443
- * @param maxCount (Optional) The maximum number of exported rows.
9444
- * @param exportedColumns (Optional) The columns to export, empty means all columns.
9445
- * @param selection - (Optional) The list of id of selected items to export.
9446
- *
9447
- * @remarks If `selection` is provided, the type of export will be set to 'Selection'.
9448
- */
9449
- exportResult(appName: string, webService: string, query: Query, format: ExportOutputFormat, results?: Article$1, maxCount?: number, exportedColumns?: string[], selection?: string[]): Observable<HttpResponse<Blob>>;
9450
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExportService, never>;
9451
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<ExportService>;
9435
+ select?: _sinequa_atomic.Select[] | undefined;
9436
+ open?: _sinequa_atomic.Open[] | undefined;
9437
+ page?: number | undefined;
9438
+ pageSize?: number | undefined;
9439
+ tab?: string | undefined;
9440
+ scope?: string | undefined;
9441
+ sort?: string | undefined;
9442
+ basket?: string | undefined;
9443
+ isFirstPage?: boolean | undefined;
9444
+ strictRefine?: boolean | undefined;
9445
+ globalRelevance?: number | undefined;
9446
+ questionLanguage?: string | undefined;
9447
+ questionDefaultLanguage?: string | undefined;
9448
+ spellingCorrectionMode?: _sinequa_atomic.SpellingCorrectionMode | undefined;
9449
+ spellingCorrectionFilter?: string | undefined;
9450
+ documentWeight?: string | undefined;
9451
+ textPartWeights?: string | undefined;
9452
+ relevanceTransforms?: string | undefined;
9453
+ removeDuplicates?: boolean | undefined;
9454
+ queryId?: string | undefined;
9455
+ aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
9456
+ orderBy?: string | undefined;
9457
+ groupBy?: string | undefined;
9458
+ neuralSearch?: boolean | undefined;
9459
+ path?: string | undefined;
9460
+ filters: _sinequa_atomic.LegacyFilter[];
9461
+ id?: string | undefined;
9462
+ }>;
9463
+ private readonly transloco;
9464
+ liked: _angular_core.WritableSignal<boolean>;
9465
+ disliked: _angular_core.WritableSignal<boolean>;
9466
+ menus: FeedbackMenu[];
9467
+ close(event: Event): void;
9468
+ like(): void;
9469
+ dislike(): void;
9470
+ openFeedbackDialog(type: string): void;
9471
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchFeedbackComponent, never>;
9472
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchFeedbackComponent, "feedback, Feedback", never, { "pages": { "alias": "pages"; "required": true; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "solid": { "alias": "solid"; "required": false; "isSignal": true; }; }, { "onClose": "onClose"; }, never, never, true, never>;
9452
9473
  }
9453
9474
 
9454
- declare class ExportDialog implements DialogInterface {
9475
+ declare class AggregationTreeComponent {
9476
+ #private;
9455
9477
  cn: typeof cn;
9456
- onExport: _angular_core.OutputEmitterRef<ExportQueryModel>;
9457
- private appStore;
9458
- readonly exportService: ExportService;
9478
+ class: _angular_core.InputSignal<string>;
9479
+ id: _angular_core.InputSignal<string | null>;
9480
+ name: _angular_core.InputSignal<string | null>;
9481
+ column: _angular_core.InputSignal<string | null>;
9482
+ collapsible: _angular_core.InputSignal<boolean>;
9483
+ collapsed: _angular_core.InputSignal<boolean>;
9484
+ searchable: _angular_core.InputSignal<boolean | undefined>;
9485
+ showFiltersCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
9486
+ expandedLevel: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
9487
+ onSelect: _angular_core.OutputEmitterRef<AggregationItem[]>;
9488
+ onApply: _angular_core.OutputEmitterRef<void>;
9489
+ onClear: _angular_core.OutputEmitterRef<void>;
9490
+ virtualItems: _angular_core.Signal<readonly ElementRef<HTMLDivElement>[]>;
9491
+ scrollElement: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
9492
+ selection: _angular_core.WritableSignal<boolean>;
9493
+ isAllSelected: _angular_core.WritableSignal<boolean>;
9494
+ searchText: _angular_core.ModelSignal<string>;
9495
+ private readonly base;
9496
+ readonly aggregationsStore: {
9497
+ aggregations: _angular_core.Signal<Aggregation[]>;
9498
+ update: (aggregations: Aggregation[]) => void;
9499
+ updateAggregation: (aggregation: Aggregation) => void;
9500
+ clear: () => void;
9501
+ getAggregation: (name: string, kind?: "column" | "name") => Aggregation | undefined;
9502
+ } & _ngrx_signals.StateSource<{
9503
+ aggregations: Aggregation[];
9504
+ }>;
9459
9505
  readonly queryParamsStore: {
9460
9506
  name?: _angular_core.Signal<string | undefined> | undefined;
9461
9507
  action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
@@ -9485,7 +9531,7 @@ declare class ExportDialog implements DialogInterface {
9485
9531
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
9486
9532
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
9487
9533
  path?: _angular_core.Signal<string | undefined> | undefined;
9488
- filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
9534
+ filters: _angular_core.Signal<LegacyFilter[]>;
9489
9535
  id?: _angular_core.Signal<string | undefined> | undefined;
9490
9536
  setFromUrl: (href: string) => void;
9491
9537
  getQueryParams: () => {
@@ -9497,8 +9543,8 @@ declare class ExportDialog implements DialogInterface {
9497
9543
  b?: string;
9498
9544
  n?: string;
9499
9545
  };
9500
- addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
9501
- updateFilter: (newFilter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
9546
+ addFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
9547
+ updateFilter: (newFilter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
9502
9548
  removeFilter: (field?: string) => void;
9503
9549
  removeFilterByName: (name?: string, column?: string) => void;
9504
9550
  clearFilters: () => void;
@@ -9507,7 +9553,7 @@ declare class ExportDialog implements DialogInterface {
9507
9553
  getFilter: ({ field, name }: {
9508
9554
  field: string | undefined;
9509
9555
  name: string | undefined;
9510
- }) => Partial<_sinequa_atomic.LegacyFilter & {
9556
+ }) => Partial<LegacyFilter & {
9511
9557
  count: number;
9512
9558
  }> | null;
9513
9559
  getQuery: () => _sinequa_atomic.Query;
@@ -9540,29 +9586,9 @@ declare class ExportDialog implements DialogInterface {
9540
9586
  groupBy?: string | undefined;
9541
9587
  neuralSearch?: boolean | undefined;
9542
9588
  path?: string | undefined;
9543
- filters: _sinequa_atomic.LegacyFilter[];
9589
+ filters: LegacyFilter[];
9544
9590
  id?: string | undefined;
9545
9591
  }>;
9546
- readonly dialog: _angular_core.Signal<DialogComponent | undefined>;
9547
- private selection;
9548
- readonly fromSelection: _angular_core.WritableSignal<boolean>;
9549
- exportableColumns: _angular_core.WritableSignal<string[]>;
9550
- readonly supportedFormats: ExportOutputFormat[];
9551
- format: _angular_core.ModelSignal<ExportOutputFormat>;
9552
- maxCount: _angular_core.ModelSignal<number | undefined>;
9553
- columnsToExport: _angular_core.ModelSignal<string[]>;
9554
- private destroyRef;
9555
- open(selection?: string[]): void;
9556
- onDownload(): void;
9557
- onMaxCountInput(event: Event): void;
9558
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExportDialog, never>;
9559
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ExportDialog, "export-dialog", never, { "format": { "alias": "format"; "required": false; "isSignal": true; }; "maxCount": { "alias": "maxCount"; "required": false; "isSignal": true; }; "columnsToExport": { "alias": "columnsToExport"; "required": false; "isSignal": true; }; }, { "onExport": "onExport"; "format": "formatChange"; "maxCount": "maxCountChange"; "columnsToExport": "columnsToExportChange"; }, never, never, true, never>;
9560
- }
9561
-
9562
- declare const AuditFeedbackType = "UserFeedback_UserFeedback";
9563
- declare class FeedbackDialogComponent implements DialogInterface {
9564
- readonly dialog: _angular_core.Signal<DialogComponent | undefined>;
9565
- readonly auditService: AuditService;
9566
9592
  readonly appStore: {
9567
9593
  name: _angular_core.Signal<string>;
9568
9594
  description?: _angular_core.Signal<string | undefined> | undefined;
@@ -9748,8 +9774,8 @@ declare class FeedbackDialogComponent implements DialogInterface {
9748
9774
  isDateColumn: (column: string) => boolean;
9749
9775
  isTabSearch: (queryName: string) => boolean;
9750
9776
  getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
9751
- getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
9752
- getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
9777
+ getAuthorizedFilters: () => Aggregation[];
9778
+ getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => Aggregation[];
9753
9779
  getNamedCustomizationJson: (name: string) => unknown | undefined;
9754
9780
  getAggregationIcon: (column: string) => string | undefined;
9755
9781
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
@@ -9819,182 +9845,135 @@ declare class FeedbackDialogComponent implements DialogInterface {
9819
9845
  large?: string;
9820
9846
  sidebar?: string;
9821
9847
  };
9822
- dark?: {
9823
- small?: string;
9824
- large?: string;
9825
- sidebar?: string;
9826
- };
9827
- };
9828
- features?: {
9829
- [key: string]: boolean | {
9830
- [key: string]: string | boolean | string[] | undefined;
9831
- } | undefined;
9832
- allowChangePassword?: boolean;
9833
- editablepartition?: boolean;
9834
- advancedSearch?: boolean;
9835
- allowChatDrawer?: boolean;
9836
- filterLinkChildren?: boolean;
9837
- expandPreview?: boolean;
9838
- quickFilter?: boolean;
9839
- showAggregationItemCount?: boolean;
9840
- assistant?: {
9841
- usePrefixName?: boolean;
9842
- };
9843
- filters?: {
9844
- homepage?: boolean;
9845
- };
9846
- userProfile?: {
9847
- enabled?: boolean;
9848
- data?: string[];
9849
- customData?: string[];
9850
- };
9851
- previewMultiConversion?: boolean;
9852
- };
9853
- converters?: _sinequa_atomic_angular.CConverter[];
9854
- };
9855
- documentsUploadSettings?: {
9856
- enabled?: boolean;
9857
- };
9858
- };
9859
- customJSONs: {
9860
- name: string;
9861
- data: Record<string, unknown>;
9862
- }[] & _sinequa_atomic_angular.SideCJson[];
9863
- apiVersion: string;
9864
- workspaceApp: string;
9865
- defaultQueryName: string;
9866
- auditEnabled?: boolean | undefined;
9867
- dataSets?: string | undefined;
9868
- revision?: number | undefined;
9869
- runnableModels?: string | undefined;
9870
- authorizationLevel?: string | undefined;
9871
- columnMap?: Record<string, _sinequa_atomic.CCColumn> | undefined;
9872
- }>;
9873
- private readonly transloco;
9874
- comment: _angular_core.ModelSignal<string>;
9875
- type: _angular_core.WritableSignal<string | undefined>;
9876
- open(type: string): void;
9877
- submit(): void;
9878
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeedbackDialogComponent, never>;
9879
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeedbackDialogComponent, "feedback-dialog, feedbackdialog, FeedbackDialog", never, { "comment": { "alias": "comment"; "required": false; "isSignal": true; }; }, { "comment": "commentChange"; }, never, never, true, never>;
9880
- }
9881
-
9882
- interface FeedbackMenu {
9883
- type: string;
9884
- icon: string;
9885
- }
9886
- declare class SearchFeedbackComponent {
9887
- onClose: _angular_core.OutputEmitterRef<void>;
9888
- readonly feedbackDialog: _angular_core.Signal<FeedbackDialogComponent | undefined>;
9889
- pages: _angular_core.InputSignal<any>;
9890
- readonly auditService: AuditService;
9891
- protected readonly queryParamsStore: {
9892
- name?: _angular_core.Signal<string | undefined> | undefined;
9893
- action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
9894
- text?: _angular_core.Signal<string | undefined> | undefined;
9895
- select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
9896
- open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
9897
- page?: _angular_core.Signal<number | undefined> | undefined;
9898
- pageSize?: _angular_core.Signal<number | undefined> | undefined;
9899
- tab?: _angular_core.Signal<string | undefined> | undefined;
9900
- scope?: _angular_core.Signal<string | undefined> | undefined;
9901
- sort?: _angular_core.Signal<string | undefined> | undefined;
9902
- basket?: _angular_core.Signal<string | undefined> | undefined;
9903
- isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
9904
- strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
9905
- globalRelevance?: _angular_core.Signal<number | undefined> | undefined;
9906
- questionLanguage?: _angular_core.Signal<string | undefined> | undefined;
9907
- questionDefaultLanguage?: _angular_core.Signal<string | undefined> | undefined;
9908
- spellingCorrectionMode?: _angular_core.Signal<_sinequa_atomic.SpellingCorrectionMode | undefined> | undefined;
9909
- spellingCorrectionFilter?: _angular_core.Signal<string | undefined> | undefined;
9910
- documentWeight?: _angular_core.Signal<string | undefined> | undefined;
9911
- textPartWeights?: _angular_core.Signal<string | undefined> | undefined;
9912
- relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
9913
- removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
9914
- queryId?: _angular_core.Signal<string | undefined> | undefined;
9915
- aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
9916
- orderBy?: _angular_core.Signal<string | undefined> | undefined;
9917
- groupBy?: _angular_core.Signal<string | undefined> | undefined;
9918
- neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
9919
- path?: _angular_core.Signal<string | undefined> | undefined;
9920
- filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
9921
- id?: _angular_core.Signal<string | undefined> | undefined;
9922
- setFromUrl: (href: string) => void;
9923
- getQueryParams: () => {
9924
- f?: string;
9925
- p?: number;
9926
- s?: string;
9927
- t?: string;
9928
- q?: string;
9929
- b?: string;
9930
- n?: string;
9931
- };
9932
- addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
9933
- updateFilter: (newFilter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
9934
- removeFilter: (field?: string) => void;
9935
- removeFilterByName: (name?: string, column?: string) => void;
9936
- clearFilters: () => void;
9937
- clearBasket: () => void;
9938
- patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents) => void;
9939
- getFilter: ({ field, name }: {
9940
- field: string | undefined;
9941
- name: string | undefined;
9942
- }) => Partial<_sinequa_atomic.LegacyFilter & {
9943
- count: number;
9944
- }> | null;
9945
- getQuery: () => _sinequa_atomic.Query;
9946
- } & _ngrx_signals.StateSource<{
9947
- name?: string | undefined;
9948
- action?: "" | "search" | "open" | "aggregate" | undefined;
9949
- text?: string | undefined;
9950
- select?: _sinequa_atomic.Select[] | undefined;
9951
- open?: _sinequa_atomic.Open[] | undefined;
9952
- page?: number | undefined;
9953
- pageSize?: number | undefined;
9954
- tab?: string | undefined;
9955
- scope?: string | undefined;
9956
- sort?: string | undefined;
9957
- basket?: string | undefined;
9958
- isFirstPage?: boolean | undefined;
9959
- strictRefine?: boolean | undefined;
9960
- globalRelevance?: number | undefined;
9961
- questionLanguage?: string | undefined;
9962
- questionDefaultLanguage?: string | undefined;
9963
- spellingCorrectionMode?: _sinequa_atomic.SpellingCorrectionMode | undefined;
9964
- spellingCorrectionFilter?: string | undefined;
9965
- documentWeight?: string | undefined;
9966
- textPartWeights?: string | undefined;
9967
- relevanceTransforms?: string | undefined;
9968
- removeDuplicates?: boolean | undefined;
9969
- queryId?: string | undefined;
9970
- aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
9971
- orderBy?: string | undefined;
9972
- groupBy?: string | undefined;
9973
- neuralSearch?: boolean | undefined;
9974
- path?: string | undefined;
9975
- filters: _sinequa_atomic.LegacyFilter[];
9976
- id?: string | undefined;
9848
+ dark?: {
9849
+ small?: string;
9850
+ large?: string;
9851
+ sidebar?: string;
9852
+ };
9853
+ };
9854
+ features?: {
9855
+ [key: string]: boolean | {
9856
+ [key: string]: string | boolean | string[] | undefined;
9857
+ } | undefined;
9858
+ allowChangePassword?: boolean;
9859
+ editablepartition?: boolean;
9860
+ advancedSearch?: boolean;
9861
+ allowChatDrawer?: boolean;
9862
+ filterLinkChildren?: boolean;
9863
+ expandPreview?: boolean;
9864
+ quickFilter?: boolean;
9865
+ showAggregationItemCount?: boolean;
9866
+ assistant?: {
9867
+ usePrefixName?: boolean;
9868
+ };
9869
+ filters?: {
9870
+ homepage?: boolean;
9871
+ };
9872
+ userProfile?: {
9873
+ enabled?: boolean;
9874
+ data?: string[];
9875
+ customData?: string[];
9876
+ };
9877
+ previewMultiConversion?: boolean;
9878
+ };
9879
+ converters?: _sinequa_atomic_angular.CConverter[];
9880
+ };
9881
+ documentsUploadSettings?: {
9882
+ enabled?: boolean;
9883
+ };
9884
+ };
9885
+ customJSONs: {
9886
+ name: string;
9887
+ data: Record<string, unknown>;
9888
+ }[] & _sinequa_atomic_angular.SideCJson[];
9889
+ apiVersion: string;
9890
+ workspaceApp: string;
9891
+ defaultQueryName: string;
9892
+ auditEnabled?: boolean | undefined;
9893
+ dataSets?: string | undefined;
9894
+ revision?: number | undefined;
9895
+ runnableModels?: string | undefined;
9896
+ authorizationLevel?: string | undefined;
9897
+ columnMap?: Record<string, _sinequa_atomic.CCColumn> | undefined;
9977
9898
  }>;
9978
- private readonly transloco;
9979
- liked: _angular_core.WritableSignal<boolean>;
9980
- disliked: _angular_core.WritableSignal<boolean>;
9981
- menus: FeedbackMenu[];
9982
- close(event: Event): void;
9983
- like(): void;
9984
- dislike(): void;
9985
- openFeedbackDialog(type: string): void;
9986
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchFeedbackComponent, never>;
9987
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchFeedbackComponent, "feedback, Feedback", never, { "pages": { "alias": "pages"; "required": true; "isSignal": true; }; }, { "onClose": "onClose"; }, never, never, true, never>;
9899
+ readonly aggregationsService: _sinequa_atomic_angular.AggregationsService;
9900
+ readonly injector: _angular_core.Injector;
9901
+ readonly destroyRef: _angular_core.DestroyRef;
9902
+ readonly debouncedSearchText: _angular_core.Signal<string>;
9903
+ readonly normalizedSearchText: _angular_core.Signal<string>;
9904
+ readonly suggests: _angular_core.WritableSignal<_sinequa_atomic.Suggestion[]>;
9905
+ readonly hasFilters: _angular_core.Signal<boolean>;
9906
+ readonly filtersCount: _angular_core.Signal<number>;
9907
+ readonly query: _sinequa_atomic.Query;
9908
+ readonly filters: _angular_core.WritableSignal<LegacyFilter[]>;
9909
+ readonly showCount: _angular_core.Signal<boolean>;
9910
+ readonly quickFilter: _angular_core.Signal<boolean | undefined>;
9911
+ readonly isDate: _angular_core.Signal<boolean>;
9912
+ readonly virtualizer: _tanstack_angular_virtual.AngularVirtualizer<HTMLDivElement, Element>;
9913
+ readonly linkChildren: _angular_core.Signal<boolean | undefined>;
9914
+ aggregation: _angular_core.Signal<_sinequa_atomic_angular.AggEx | null>;
9915
+ items: _angular_core.Signal<AggregationListItem[]>;
9916
+ isEmpty: _angular_core.Signal<boolean>;
9917
+ readonly searchedItems: _angular_core.Signal<TreeAggregationNode[] | {
9918
+ name: string | null;
9919
+ value: string;
9920
+ display: string;
9921
+ column: string;
9922
+ count: number;
9923
+ $selected: boolean;
9924
+ items: never[];
9925
+ }[]>;
9926
+ constructor();
9927
+ clear(): void;
9928
+ selectAll(): void;
9929
+ unselectAll(): void;
9930
+ apply(overrideFilters?: LegacyFilter[]): void;
9931
+ loadMore(): void;
9932
+ open(node: AggregationListItem): Promise<void>;
9933
+ select(): void;
9934
+ protected treeItemName(item: AggregationListItem): string;
9935
+ protected isTreeItemFiltered(item: AggregationListItem, field: string | null | undefined): boolean;
9936
+ protected treeItemLevel(item: AggregationListItem): number;
9937
+ protected treeChildrenPath(item: AggregationListItem, parentPath: string[]): string[];
9938
+ protected selectTreeItem(node: AggregationListItem, parent: AggregationListItem | null, e?: Event, updateChildren?: boolean): void;
9939
+ protected toggleTreeNode(e: Event, node: AggregationListItem): void;
9940
+ protected onTreeItemTextClick(node: AggregationListItem, parent: AggregationListItem | null, event: Event): void;
9941
+ protected getFilters(): LegacyFilter[];
9942
+ protected getFiltersForTree(): LegacyFilter[];
9943
+ protected getFiltersForList(): LegacyFilter[];
9944
+ private getFlattenTreeItems;
9945
+ private addCurrentFiltersToItems;
9946
+ private verifySelected;
9947
+ private setSelected;
9948
+ private processAggregations;
9949
+ private selectVisually;
9950
+ private selectTreeItemChildren;
9951
+ private handleTreeChildSelect;
9952
+ private expandItems;
9953
+ private traverse;
9954
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationTreeComponent, never>;
9955
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationTreeComponent, "AggregationTree, aggregation-tree, aggregationtree", 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; }; "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; }; "expandedLevel": { "alias": "expandedLevel"; "required": false; "isSignal": true; }; "searchText": { "alias": "searchText"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; "onApply": "onApply"; "onClear": "onClear"; "searchText": "searchTextChange"; }, never, never, true, never>;
9988
9956
  }
9989
9957
 
9990
- declare class AggregationTreeComponent {
9991
- #private;
9958
+ declare class AggregationListComponent {
9992
9959
  cn: typeof cn;
9993
- virtualItems: _angular_core.Signal<readonly ElementRef<HTMLDivElement>[]>;
9960
+ class: _angular_core.InputSignal<string>;
9961
+ id: _angular_core.InputSignal<string | null>;
9962
+ name: _angular_core.InputSignal<string | null>;
9963
+ column: _angular_core.InputSignal<string | null>;
9964
+ collapsible: _angular_core.InputSignal<boolean>;
9965
+ collapsed: _angular_core.InputSignal<boolean>;
9966
+ searchable: _angular_core.InputSignal<boolean | undefined>;
9967
+ showFiltersCount: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
9968
+ onSelect: _angular_core.OutputEmitterRef<AggregationItem[]>;
9969
+ onApply: _angular_core.OutputEmitterRef<void>;
9970
+ onClear: _angular_core.OutputEmitterRef<void>;
9994
9971
  scrollElement: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
9995
- virtualizer: _tanstack_angular_virtual.AngularVirtualizer<HTMLDivElement, Element>;
9996
- searchInput: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
9997
- aggregationsStore: {
9972
+ selection: _angular_core.WritableSignal<boolean>;
9973
+ isAllSelected: _angular_core.WritableSignal<boolean>;
9974
+ searchText: _angular_core.ModelSignal<string>;
9975
+ private readonly base;
9976
+ readonly aggregationsStore: {
9998
9977
  aggregations: _angular_core.Signal<Aggregation[]>;
9999
9978
  update: (aggregations: Aggregation[]) => void;
10000
9979
  updateAggregation: (aggregation: Aggregation) => void;
@@ -10003,7 +9982,7 @@ declare class AggregationTreeComponent {
10003
9982
  } & _ngrx_signals.StateSource<{
10004
9983
  aggregations: Aggregation[];
10005
9984
  }>;
10006
- queryParamsStore: {
9985
+ readonly queryParamsStore: {
10007
9986
  name?: _angular_core.Signal<string | undefined> | undefined;
10008
9987
  action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
10009
9988
  text?: _angular_core.Signal<string | undefined> | undefined;
@@ -10057,7 +10036,7 @@ declare class AggregationTreeComponent {
10057
10036
  }) => Partial<LegacyFilter & {
10058
10037
  count: number;
10059
10038
  }> | null;
10060
- getQuery: () => Query;
10039
+ getQuery: () => _sinequa_atomic.Query;
10061
10040
  } & _ngrx_signals.StateSource<{
10062
10041
  name?: string | undefined;
10063
10042
  action?: "" | "search" | "open" | "aggregate" | undefined;
@@ -10090,7 +10069,7 @@ declare class AggregationTreeComponent {
10090
10069
  filters: LegacyFilter[];
10091
10070
  id?: string | undefined;
10092
10071
  }>;
10093
- appStore: {
10072
+ readonly appStore: {
10094
10073
  name: _angular_core.Signal<string>;
10095
10074
  description?: _angular_core.Signal<string | undefined> | undefined;
10096
10075
  versionId: _angular_core.Signal<string>;
@@ -10397,213 +10376,38 @@ declare class AggregationTreeComponent {
10397
10376
  authorizationLevel?: string | undefined;
10398
10377
  columnMap?: Record<string, _sinequa_atomic.CCColumn> | undefined;
10399
10378
  }>;
10400
- aggregationsService: AggregationsService;
10401
- el: ElementRef<any>;
10402
- injector: Injector;
10403
- destroyRef: DestroyRef;
10404
- class: _angular_core.InputSignal<string>;
10405
- /**
10406
- * The name of the <details> element. When you provide the same id, the component work as an accordion
10407
- * @defaultValue null
10408
- */
10409
- id: _angular_core.InputSignal<string | null>;
10410
- name: _angular_core.InputSignal<string | null>;
10411
- column: _angular_core.InputSignal<string | null>;
10412
- expandedLevel: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
10413
- onSelect: _angular_core.OutputEmitterRef<AggregationItem[]>;
10414
- onApply: _angular_core.OutputEmitterRef<void>;
10415
- onClear: _angular_core.OutputEmitterRef<void>;
10416
- /**
10417
- * Determines whether the aggregation component can be collapsed or expanded.
10418
- * When true, the component will display collapse/expand controls allowing users
10419
- * to show or hide the aggregation content.
10420
- *
10421
- * @default false
10422
- */
10423
- collapsible: _angular_core.InputSignal<boolean>;
10424
- /**
10425
- * Controls whether the aggregation component is in a collapsed state.
10426
- * When true, the component will be visually collapsed/hidden.
10427
- * When false, the component will be expanded/visible.
10428
- *
10429
- * @default false
10430
- */
10431
- collapsed: _angular_core.InputSignal<boolean>;
10432
- /**
10433
- * A computed signal that tracks the collapsed state of the component.
10434
- * This signal is linked to the `collapsed()` signal and automatically updates
10435
- * when the collapsed state changes.
10436
- */
10437
- isCollapsed: _angular_core.WritableSignal<boolean>;
10438
- /**
10439
- * Computed property that returns an empty string when the component is not collapsed,
10440
- * or null when the component is collapsed. This is typically used to control
10441
- * expansion state in UI components with conditional rendering or styling.
10442
- *
10443
- * @returns Empty string if not collapsed, null if collapsed
10444
- */
10445
- expanded: _angular_core.Signal<"" | null>;
10446
- /**
10447
- * A boolean flag indicating whether the component is searchable.
10448
- * This property is initialized to `undefined` by default.
10449
- * "Undefined" and not "false" because this input overrides the custom json settings
10450
- */
10451
- searchable: _angular_core.InputSignal<undefined>;
10452
- selection: _angular_core.WritableSignal<boolean>;
10453
- /**
10454
- * A boolean flag indicating whether we want to see the filters count when some is applied
10455
- * This property is initialized to `false` by default.
10456
- */
10457
- showFiltersCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
10379
+ readonly aggregationsService: _sinequa_atomic_angular.AggregationsService;
10380
+ readonly injector: _angular_core.Injector;
10381
+ readonly destroyRef: _angular_core.DestroyRef;
10382
+ readonly suggests: _angular_core.WritableSignal<_sinequa_atomic.Suggestion[]>;
10383
+ readonly hasFilters: _angular_core.Signal<boolean>;
10384
+ readonly filtersCount: _angular_core.Signal<number>;
10385
+ readonly query: _sinequa_atomic.Query;
10386
+ readonly filters: _angular_core.WritableSignal<LegacyFilter[]>;
10387
+ readonly showCount: _angular_core.Signal<boolean>;
10388
+ readonly quickFilter: _angular_core.Signal<boolean | undefined>;
10389
+ readonly isDate: _angular_core.Signal<boolean>;
10390
+ private readonly cdr;
10391
+ readonly virtualizer: _tanstack_angular_virtual.AngularVirtualizer<HTMLDivElement, Element>;
10458
10392
  aggregation: _angular_core.Signal<_sinequa_atomic_angular.AggEx | null>;
10459
10393
  items: _angular_core.Signal<AggregationListItem[]>;
10460
- /**
10461
- * Computed signal that determines whether the items collection is empty.
10462
- * @returns True if the items array has no elements, false otherwise.
10463
- */
10464
10394
  isEmpty: _angular_core.Signal<boolean>;
10465
- /**
10466
- * A computed property that determines whether there are active filters
10467
- * for the current aggregation column.
10468
- *
10469
- * if True, the clear button is shown.
10470
- *
10471
- * @returns {boolean} `true` if the filter count for the aggregation column is greater than 0, otherwise `false`.
10472
- */
10473
- hasFilters: _angular_core.Signal<boolean>;
10474
- /**
10475
- * A computed property that returns the number of items of this aggregation applied in the active filters
10476
- *
10477
- * if more than 0 and the showCount input is set as True, the count number is shown.
10478
- *
10479
- * @returns {number} the filters count.
10480
- */
10481
- filtersCount: _angular_core.Signal<number>;
10482
- isAllSelected: _angular_core.WritableSignal<boolean>;
10483
- searchText: _angular_core.ModelSignal<string>;
10484
- debouncedSearchText: _angular_core.Signal<string>;
10485
- normalizedSearchText: _angular_core.Signal<string>;
10486
- readonly suggests: _angular_core.WritableSignal<Suggestion[]>;
10487
- readonly searchedItems: _angular_core.Signal<TreeAggregationNode[] | {
10488
- name: string | null;
10489
- value: string;
10490
- display: string;
10491
- column: string;
10492
- count: number;
10493
- $selected: boolean;
10494
- items: never[];
10495
- }[]>;
10496
- linkChildren: _angular_core.Signal<boolean | undefined>;
10497
- query: Query;
10498
- filters: _angular_core.WritableSignal<LegacyFilter[]>;
10395
+ searchedItems: _angular_core.Signal<AggregationItem[]>;
10499
10396
  constructor();
10500
- private addNewItems;
10501
- /**
10502
- * Clears the current filter for the aggregation column.
10503
- *
10504
- * This method updates the filter in the `queryParamsStore` by setting the display value
10505
- * of the current aggregation column to an empty string.
10506
- */
10507
10397
  clear(): void;
10508
- /**
10509
- * Select all filters for the aggregation column.
10510
- */
10511
10398
  selectAll(): void;
10512
- /**
10513
- * Unselect all filters for the aggregation column.
10514
- */
10515
10399
  unselectAll(): void;
10516
- /**
10517
- * Applies the current filters to the query parameters store.
10518
- *
10519
- * - If there are multiple filters, they are wrapped in an "or" filter.
10520
- * - If the aggregation is not a distribution, the filters are merged into a single filter with an "in" operator.
10521
- * - If there is only one filter, it is directly applied.
10522
- * - If there are no filters, the current filters are cleared.
10523
- *
10524
- * After applying the filters, the search text is reset.
10525
- */
10526
- apply(overrideFilters?: LegacyFilter[]): void;
10400
+ apply(): void;
10527
10401
  loadMore(): void;
10528
- open(node: AggregationListItem): Promise<void>;
10529
- /**
10530
- * Updates the selected state of the given item in the aggregation list.
10531
- *
10532
- * @param item - The item to be selected or deselected.
10533
- *
10534
- * This method iterates through the items in the aggregation list and updates
10535
- * the `$selected` property of the item that matches the value of the given item.
10536
- *
10537
- * If the item is selected, the selection count is incremented by 1.
10538
- * If the item is deselected, the selection count is decremented by 1.
10539
- */
10540
10402
  select(): void;
10541
- /**
10542
- * Updates the collapsed status on header click if the component is collapsible.
10543
- */
10544
- onHeaderClick(event: Event): void;
10545
- /**
10546
- * Retrieves the appropriate filters based on the aggregation type.
10547
- *
10548
- * If the aggregation is a tree structure, it returns filters specific to trees.
10549
- * Otherwise, it returns filters for a list structure.
10550
- *
10551
- * @returns Filters for either a tree or list aggregation.
10552
- */
10403
+ protected listItemName(item: AggregationItem): string;
10404
+ protected isListItemFiltered(item: AggregationItem, field: string | null | undefined): boolean;
10405
+ protected selectListItem(item: AggregationItem, e?: Event): void;
10406
+ protected onListItemTextClick(item: AggregationItem, event: Event): void;
10553
10407
  protected getFilters(): LegacyFilter[];
10554
- /**
10555
- * Retrieves the filters for the tree structure.
10556
- *
10557
- * This method collects the selected items from the tree, constructs their paths,
10558
- * and creates a filter object based on these paths. If no items are selected,
10559
- * it returns an empty array.
10560
- *
10561
- * @returns {LegacyFilter[]} An array of filters for the tree structure.
10562
- */
10563
- protected getFiltersForTree(): LegacyFilter[];
10564
- /**
10565
- * Retrieves a list of filters based on the selected items.
10566
- *
10567
- * This method filters the items to include only those that are selected,
10568
- * and then maps each selected item to a filter using the `toFilter` method.
10569
- *
10570
- * @returns {LegacyFilter[]} An array of filters corresponding to the selected items.
10571
- */
10572
- protected getFiltersForList(): LegacyFilter[];
10573
- /**
10574
- * Recursively flattens a tree structure of `TreeAggregationNode` items into a single array.
10575
- *
10576
- * @returns {TreeAggregationNode[]} An array containing all nodes from the tree structure, flattened.
10577
- */
10578
- private getFlattenTreeItems;
10579
10408
  private addCurrentFiltersToItems;
10580
- /**
10581
- * Update the $selected property to the selected parameter to all items
10582
- *
10583
- * @param items the items to apply to
10584
- * @param selected the selected status
10585
- */
10586
- private selectItems;
10587
- /**
10588
- * Check whether all items are selected and update isAllSelected accordingly
10589
- */
10590
- private verifySelected;
10591
- /**
10592
- * set @items $selected and $selectedVisually to the values from @savedItems
10593
- */
10594
- private setSelected;
10595
- private processAggregations;
10596
- private selectVisually;
10597
- onToggle(event: Event): void;
10598
- expandItems(items: TreeAggregationNode[], expandedLevel: number): void;
10599
- /**
10600
- * Traverses a tree structure, executing a callback function at every node
10601
- * @param nodes the nodes to traverse
10602
- * @param callback the callback function
10603
- */
10604
- traverse<T extends TreeAggregationNode>(nodes: T[], callback: (lineage: T[], node: T, depth: number) => boolean): boolean;
10605
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationTreeComponent, never>;
10606
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationTreeComponent, "AggregationTree, aggregation-tree, aggregationtree", 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; }; "expandedLevel": { "alias": "expandedLevel"; "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"; "onApply": "onApply"; "onClear": "onClear"; "searchText": "searchTextChange"; }, never, ["label"], true, never>;
10409
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationListComponent, never>;
10410
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationListComponent, "AggregationList, aggregation-list, aggregationlist", 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; }; "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"; "onApply": "onApply"; "onClear": "onClear"; "searchText": "searchTextChange"; }, never, never, true, never>;
10607
10411
  }
10608
10412
 
10609
10413
  /**
@@ -11017,6 +10821,39 @@ declare class AggregationComponent {
11017
10821
  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; }; "showFiltersCount": { "alias": "showFiltersCount"; "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; }; "expandedLevel": { "alias": "expandedLevel"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; "onApply": "onApply"; "onClear": "onClear"; }, never, never, true, never>;
11018
10822
  }
11019
10823
 
10824
+ declare class AggregationPanelComponent {
10825
+ id: _angular_core.InputSignal<string | null>;
10826
+ collapsible: _angular_core.InputSignal<boolean>;
10827
+ collapsed: _angular_core.InputSignal<boolean>;
10828
+ isDate: _angular_core.InputSignal<boolean>;
10829
+ isEmpty: _angular_core.InputSignal<boolean>;
10830
+ aggregation: _angular_core.InputSignal<AggEx | null>;
10831
+ showFiltersCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
10832
+ filtersCount: _angular_core.InputSignal<number>;
10833
+ hasFilters: _angular_core.InputSignal<boolean>;
10834
+ selection: _angular_core.InputSignal<boolean>;
10835
+ isAllSelected: _angular_core.InputSignal<boolean>;
10836
+ searchText: _angular_core.ModelSignal<string>;
10837
+ itemsLength: _angular_core.InputSignal<number>;
10838
+ hasMore: _angular_core.InputSignal<boolean>;
10839
+ searchedItemsLength: _angular_core.InputSignal<number>;
10840
+ cleared: _angular_core.OutputEmitterRef<void>;
10841
+ applied: _angular_core.OutputEmitterRef<void>;
10842
+ allSelected: _angular_core.OutputEmitterRef<void>;
10843
+ allUnselected: _angular_core.OutputEmitterRef<void>;
10844
+ loadedMore: _angular_core.OutputEmitterRef<void>;
10845
+ isCollapsed: _angular_core.WritableSignal<boolean>;
10846
+ expanded: _angular_core.Signal<"" | null>;
10847
+ private readonly searchInput;
10848
+ private readonly isInPopover;
10849
+ constructor();
10850
+ onHeaderClick(event: Event): void;
10851
+ onToggle(event: Event): void;
10852
+ protected clearSearch(e: Event): void;
10853
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationPanelComponent, never>;
10854
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationPanelComponent, "AggregationPanel, aggregation-panel", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "isDate": { "alias": "isDate"; "required": false; "isSignal": true; }; "isEmpty": { "alias": "isEmpty"; "required": false; "isSignal": true; }; "aggregation": { "alias": "aggregation"; "required": false; "isSignal": true; }; "showFiltersCount": { "alias": "showFiltersCount"; "required": false; "isSignal": true; }; "filtersCount": { "alias": "filtersCount"; "required": false; "isSignal": true; }; "hasFilters": { "alias": "hasFilters"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "isAllSelected": { "alias": "isAllSelected"; "required": false; "isSignal": true; }; "searchText": { "alias": "searchText"; "required": false; "isSignal": true; }; "itemsLength": { "alias": "itemsLength"; "required": false; "isSignal": true; }; "hasMore": { "alias": "hasMore"; "required": false; "isSignal": true; }; "searchedItemsLength": { "alias": "searchedItemsLength"; "required": false; "isSignal": true; }; }, { "searchText": "searchTextChange"; "cleared": "cleared"; "applied": "applied"; "allSelected": "allSelected"; "allUnselected": "allUnselected"; "loadedMore": "loadedMore"; }, never, ["label", "[search-addon]", "*"], true, never>;
10855
+ }
10856
+
11020
10857
  declare class AsideFiltersComponent {
11021
10858
  cn: typeof cn;
11022
10859
  class: _angular_core.InputSignal<string | undefined>;
@@ -11049,7 +10886,7 @@ declare class FilterButtonComponent {
11049
10886
  position: _angular_core.InputSignal<Placement>;
11050
10887
  offset: _angular_core.InputSignal<number>;
11051
10888
  expandedLevel: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
11052
- protected variant: _angular_core.WritableSignal<"default" | "primary" | "secondary" | "destructive" | "ai" | "outline" | "none" | "accent" | "ghost" | "light-accent" | "tertiary" | "link" | "icon" | null | undefined>;
10889
+ protected variant: _angular_core.WritableSignal<"default" | "secondary" | "ai" | "ghost" | "link" | "primary" | "outline" | "accent" | "tertiary" | "light-accent" | "destructive" | "icon" | "none" | null | undefined>;
11053
10890
  protected filter: _angular_core.WritableSignal<CFilterEx>;
11054
10891
  popoverRef: _angular_core.Signal<PopoverComponent | undefined>;
11055
10892
  protected nativeElement: any;
@@ -14204,7 +14041,7 @@ declare class HighlightWordPipe implements PipeTransform {
14204
14041
  }
14205
14042
 
14206
14043
  /**
14207
- * Pipe that transforms a collection of strings into a corresponding icon class.
14044
+ * Pipe that transforms a collection of strings into a corresponding Font Awesome icon class.
14208
14045
  *
14209
14046
  * This pipe uses the first element of the collection to determine the icon class
14210
14047
  * based on the source name. If the collection is empty or undefined, it returns
@@ -14639,5 +14476,5 @@ type AppFeatures = {
14639
14476
  */
14640
14477
  declare const APP_FEATURES: InjectionToken<AppFeatures>;
14641
14478
 
14642
- export { AGGREGATIONS_NAMES, AGGREGATIONS_NAMES_PRESET_DEFAULT, APP_FEATURES, AdvancedFiltersComponent, AdvancedSearch, AdvancedSearchComponent, AggregationComponent, AggregationDateComponent, AggregationDateRangeDialogComponent, AggregationListComponent, AggregationTreeComponent, AggregationsService, AggregationsStore, Alert, AlertDialog, AlertsComponent, AppService, AppStore, ApplicationService, ApplicationStore, ArticleEntities, ArticleExtracts, ArticleLabels, ArticleSimilarDocuments, 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, SearchInputFooter, SearchService, SelectArticleDirective, SelectArticleOnClickDirective, SelectionHistoryService, SelectionService, SelectionStore, ShowBookmarkDirective, SignInComponent, SortSelectorComponent, SourceComponent, SourceIconPipe, SponsoredResultsComponent, SyslangPipe, THEMES, TextChunkService, ThemeProviderDirective, ThemeSelectorComponent, ThemeStore, ThemeToggleComponent, TranslocoDateImpurePipe, UserProfileDialog, UserProfileFormComponent, UserProfileService, UserSettingsStore, applyThemeToNativeElement, auditInterceptorFn, authInterceptorFn, bodyInterceptorFn, buildQuery, debouncedSignal, errorInterceptorFn, getCurrentPath, getCurrentQueryName, getQueryNameFromRoute, processCssVars, queryNameResolver, signIn, themeColorNameToCssVariable, themeColorsToCssVariables, toastInterceptorFn, withAggregationsFeatures, withAlertsFeatures, withAppFeatures, withApplicationFeatures, withAssistantFeatures, withBasketsFeatures, withBookmarkFeatures, withBootstrapApp, withExtractsFeatures, withFetch, withMultiSelectionFeatures, withPrincipalFeatures, withQueryParamsFeatures, withRecentSearchesFeatures, withSavedSearchesFeatures, withSelectionFeatures, withThemeBodyHook, withThemes, withThemesFeatures, withUserSettingsFeatures };
14643
- export type { AgentUserSettings, AggEx, AggregationEx, AggregationListEx, AggregationListItem, AggregationTitle, AggregationTreeEx, AggregationsState, AppCJson, AppFeatures, ApplicationState, ArticleMetadata, AssistantDetails, Autocomplete, Basket, Bookmark, BookmarksConfig, CAggregation, CAggregationItem, CCAppState, CCWebServiceLabels, CConverter, CFilter, CFilterEx, CFilterItem, CJ, CJson, CJsonMint, CSources, CollectionsConfig, ComponentMapping, CssVars, DateRange, DocumentOffsets, DocumentPages, DocumentTypeMap, DropdownItem, ExportQueryOptions, Extract, FilterDropdown, KeyboardNavigationOnSelectionHandlers, KeyboardNavigatorOptions, LabelsConfig, MultiSelectionState, MultiSelectionToolbarVariants, PageConfiguration, PreviewEvents, PreviewHighlight, PreviewHighlightName, PreviewHighlights, PrincipalState, SearchItem, SearchOptions, SearchesConfig, SelectionHistoryEvent, SelectionState, SelectionStrategy, SideCJson, SortingChoice, Theme, ThemeBodyHookParameters, ThemeScope, ThemeStoreState, UserSettingsState };
14479
+ export { AGGREGATIONS_NAMES, AGGREGATIONS_NAMES_PRESET_DEFAULT, APP_FEATURES, AdvancedFiltersComponent, AdvancedSearch, AdvancedSearchComponent, AggregationComponent, AggregationDateComponent, AggregationDateRangeDialogComponent, AggregationListComponent, AggregationPanelComponent, AggregationTreeComponent, AggregationsService, AggregationsStore, Alert, AlertDialog, AlertsComponent, AppService, AppStore, ApplicationService, ApplicationStore, ArticleEntities, ArticleExtracts, ArticleLabels, ArticleSimilarDocuments, 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, SearchInputFooter, SearchService, SelectArticleDirective, SelectArticleOnClickDirective, SelectionHistoryService, SelectionService, SelectionStore, ShowBookmarkDirective, SidebarNavComponent, SignInComponent, SortSelectorComponent, SourceComponent, SourceIconPipe, SponsoredResultsComponent, SyslangPipe, THEMES, TextChunkService, ThemeProviderDirective, ThemeSelectorComponent, ThemeStore, ThemeToggleComponent, TranslocoDateImpurePipe, UserProfileDialog, UserProfileFormComponent, UserProfileService, UserSettingsStore, applyThemeToNativeElement, auditInterceptorFn, authInterceptorFn, bodyInterceptorFn, buildQuery, debouncedSignal, errorInterceptorFn, getCurrentPath, getCurrentQueryName, getQueryNameFromRoute, injectRouteNavigation, processCssVars, queryNameResolver, signIn, themeColorNameToCssVariable, themeColorsToCssVariables, toastInterceptorFn, withAggregationsFeatures, withAlertsFeatures, withAppFeatures, withApplicationFeatures, withAssistantFeatures, withBasketsFeatures, withBookmarkFeatures, withBootstrapApp, withExtractsFeatures, withFetch, withMultiSelectionFeatures, withPrincipalFeatures, withQueryParamsFeatures, withRecentSearchesFeatures, withSavedSearchesFeatures, withSelectionFeatures, withThemeBodyHook, withThemes, withThemesFeatures, withUserSettingsFeatures };
14480
+ export type { AgentUserSettings, AggEx, AggregationEx, AggregationListEx, AggregationListItem, AggregationTitle, AggregationTreeEx, AggregationsState, AppCJson, AppFeatures, ApplicationState, ArticleMetadata, AssistantDetails, Autocomplete, Basket, Bookmark, BookmarksConfig, CAggregation, CAggregationItem, CCAppState, CCWebServiceLabels, CConverter, CFilter, CFilterEx, CFilterItem, CJ, CJson, CJsonMint, CSources, CollectionsConfig, ComponentMapping, CssVars, DateRange, DocumentOffsets, DocumentPages, DocumentTypeMap, DropdownItem, ExportQueryOptions, Extract, FilterDropdown, KeyboardNavigationOnSelectionHandlers, KeyboardNavigatorOptions, LabelsConfig, MultiSelectionState, MultiSelectionToolbarVariants, NavRouteTab, PageConfiguration, PreviewEvents, PreviewHighlight, PreviewHighlightName, PreviewHighlights, PrincipalState, SearchItem, SearchOptions, SearchesConfig, SelectionHistoryEvent, SelectionState, SelectionStrategy, SideCJson, SortingChoice, Theme, ThemeBodyHookParameters, ThemeScope, ThemeStoreState, UserSettingsState };