@sinequa/atomic-angular 0.3.8 → 0.3.22

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
@@ -4,7 +4,7 @@ import * as rxjs from 'rxjs';
4
4
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
5
5
  import * as _ngrx_signals from '@ngrx/signals';
6
6
  import * as _sinequa_atomic from '@sinequa/atomic';
7
- import { Article as Article$1, LegacyFilter, KeyOf, CCApp, Query, QueryParams as QueryParams$1, AggregationItem, TreeAggregationNode, Aggregation, TreeAggregation, Result, AuditEvents, CCQuery, AuditEventType, AuditEventTypeValues, CCWebService, Suggestion, CCColumn, Principal, SpellingCorrectionMode, CustomHighlights, PreviewData, TextLocation, TextChunk, CCSortingChoice, LinkResult, ExportQueryModel, ExportOutputFormat, FilterOperator } from '@sinequa/atomic';
7
+ import { Article as Article$1, LegacyFilter, KeyOf, CCApp, Query, QueryParams as QueryParams$1, AggregationItem, TreeAggregationNode, Aggregation, TreeAggregation, Result, AuditEvents, CCQuery, AuditEventType, AuditEventTypeValues, CCWebService, Suggestion, CCColumn, Principal, SpellingCorrectionMode, CustomHighlights, PreviewData, TextLocation, TextChunk, UserProfile, CCSortingChoice, LinkResult, ExportQueryModel, ExportOutputFormat, FilterOperator } from '@sinequa/atomic';
8
8
  import { Router, NavigationEnd, ActivatedRoute, 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';
@@ -119,10 +119,10 @@ declare class DocumentLocatorComponent implements OnDestroy {
119
119
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
120
120
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
121
121
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
122
- path: _angular_core.Signal<string>;
122
+ path?: _angular_core.Signal<string | undefined> | undefined;
123
123
  filters: _angular_core.Signal<LegacyFilter[]>;
124
- id: _angular_core.Signal<string>;
125
- setFromUrl: (url: string) => void;
124
+ id?: _angular_core.Signal<string | undefined> | undefined;
125
+ setFromUrl: (href: string) => void;
126
126
  getQueryParams: () => {
127
127
  f?: string;
128
128
  p?: number;
@@ -130,6 +130,7 @@ declare class DocumentLocatorComponent implements OnDestroy {
130
130
  t?: string;
131
131
  q?: string;
132
132
  b?: string;
133
+ n?: string;
133
134
  };
134
135
  addFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
135
136
  updateFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -173,9 +174,9 @@ declare class DocumentLocatorComponent implements OnDestroy {
173
174
  orderBy?: string | undefined;
174
175
  groupBy?: string | undefined;
175
176
  neuralSearch?: boolean | undefined;
176
- path: string;
177
+ path?: string | undefined;
177
178
  filters: LegacyFilter[];
178
- id: string;
179
+ id?: string | undefined;
179
180
  }>;
180
181
  readonly aggregationStore: {
181
182
  aggregations: _angular_core.Signal<_sinequa_atomic.Aggregation[]>;
@@ -267,10 +268,10 @@ declare class MissingTermsComponent {
267
268
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
268
269
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
269
270
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
270
- path: _angular_core.Signal<string>;
271
+ path?: _angular_core.Signal<string | undefined> | undefined;
271
272
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
272
- id: _angular_core.Signal<string>;
273
- setFromUrl: (url: string) => void;
273
+ id?: _angular_core.Signal<string | undefined> | undefined;
274
+ setFromUrl: (href: string) => void;
274
275
  getQueryParams: () => {
275
276
  f?: string;
276
277
  p?: number;
@@ -278,6 +279,7 @@ declare class MissingTermsComponent {
278
279
  t?: string;
279
280
  q?: string;
280
281
  b?: string;
282
+ n?: string;
281
283
  };
282
284
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
283
285
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -321,9 +323,9 @@ declare class MissingTermsComponent {
321
323
  orderBy?: string | undefined;
322
324
  groupBy?: string | undefined;
323
325
  neuralSearch?: boolean | undefined;
324
- path: string;
326
+ path?: string | undefined;
325
327
  filters: _sinequa_atomic.LegacyFilter[];
326
- id: string;
328
+ id?: string | undefined;
327
329
  }>;
328
330
  router: Router;
329
331
  missingTerms: _angular_core.Signal<{
@@ -497,7 +499,7 @@ declare class MultiSelectionToolbarComponent {
497
499
  getNamedCustomizationJson: (name: string) => unknown | undefined;
498
500
  getAggregationIcon: (column: string) => string | undefined;
499
501
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
500
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
502
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
501
503
  isAssistantAllowed: (assistantName: string) => boolean;
502
504
  } & _ngrx_signals.StateSource<{
503
505
  name: string;
@@ -962,7 +964,7 @@ declare class QueryService {
962
964
  private readonly queryParamsStore;
963
965
  private readonly transloco;
964
966
  protected readonly API_URL: string;
965
- result: Result;
967
+ result: _angular_core.WritableSignal<Result>;
966
968
  audit?: AuditEvents;
967
969
  /**
968
970
  * Performs a search query.
@@ -1157,7 +1159,7 @@ declare class AggregationsService {
1157
1159
  getNamedCustomizationJson: (name: string) => unknown | undefined;
1158
1160
  getAggregationIcon: (column: string) => string | undefined;
1159
1161
  getAggregationItemsCustomization: (column: string) => CFilterItem[] | undefined;
1160
- getAggregationCustomization: (column: string, name?: string) => CFilter | undefined;
1162
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => CFilter | undefined;
1161
1163
  isAssistantAllowed: (assistantName: string) => boolean;
1162
1164
  } & _ngrx_signals.StateSource<{
1163
1165
  name: string;
@@ -1290,10 +1292,10 @@ declare class AggregationsService {
1290
1292
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
1291
1293
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
1292
1294
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
1293
- path: _angular_core.Signal<string>;
1295
+ path?: _angular_core.Signal<string | undefined> | undefined;
1294
1296
  filters: _angular_core.Signal<LegacyFilter[]>;
1295
- id: _angular_core.Signal<string>;
1296
- setFromUrl: (url: string) => void;
1297
+ id?: _angular_core.Signal<string | undefined> | undefined;
1298
+ setFromUrl: (href: string) => void;
1297
1299
  getQueryParams: () => {
1298
1300
  f?: string;
1299
1301
  p?: number;
@@ -1301,6 +1303,7 @@ declare class AggregationsService {
1301
1303
  t?: string;
1302
1304
  q?: string;
1303
1305
  b?: string;
1306
+ n?: string;
1304
1307
  };
1305
1308
  addFilter: (filter: LegacyFilter, audit?: AuditEvents) => void;
1306
1309
  updateFilter: (filter: LegacyFilter, audit?: AuditEvents) => void;
@@ -1344,9 +1347,9 @@ declare class AggregationsService {
1344
1347
  orderBy?: string | undefined;
1345
1348
  groupBy?: string | undefined;
1346
1349
  neuralSearch?: boolean | undefined;
1347
- path: string;
1350
+ path?: string | undefined;
1348
1351
  filters: LegacyFilter[];
1349
- id: string;
1352
+ id?: string | undefined;
1350
1353
  }>;
1351
1354
  nonSearchableColumns: string[];
1352
1355
  protected API_URL: string;
@@ -1661,7 +1664,7 @@ declare class ApplicationService {
1661
1664
  getNamedCustomizationJson: (name: string) => unknown | undefined;
1662
1665
  getAggregationIcon: (column: string) => string | undefined;
1663
1666
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
1664
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
1667
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
1665
1668
  isAssistantAllowed: (assistantName: string) => boolean;
1666
1669
  } & _ngrx_signals.StateSource<{
1667
1670
  name: string;
@@ -1981,7 +1984,7 @@ declare class AuditService {
1981
1984
  getNamedCustomizationJson: (name: string) => unknown | undefined;
1982
1985
  getAggregationIcon: (column: string) => string | undefined;
1983
1986
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
1984
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
1987
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
1985
1988
  isAssistantAllowed: (assistantName: string) => boolean;
1986
1989
  } & _ngrx_signals.StateSource<{
1987
1990
  name: string;
@@ -2321,7 +2324,7 @@ declare class AutocompleteService {
2321
2324
  getNamedCustomizationJson: (name: string) => unknown | undefined;
2322
2325
  getAggregationIcon: (column: string) => string | undefined;
2323
2326
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
2324
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
2327
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
2325
2328
  isAssistantAllowed: (assistantName: string) => boolean;
2326
2329
  } & _ngrx_signals.StateSource<{
2327
2330
  name: string;
@@ -2731,7 +2734,7 @@ declare const AppStore: _angular_core.Type<{
2731
2734
  getNamedCustomizationJson: (name: string) => unknown | undefined;
2732
2735
  getAggregationIcon: (column: string) => string | undefined;
2733
2736
  getAggregationItemsCustomization: (column: string) => CFilterItem[] | undefined;
2734
- getAggregationCustomization: (column: string, name?: string) => CFilter | undefined;
2737
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => CFilter | undefined;
2735
2738
  isAssistantAllowed: (assistantName: string) => boolean;
2736
2739
  } & _ngrx_signals.StateSource<{
2737
2740
  name: string;
@@ -2925,39 +2928,6 @@ declare function withAppFeatures(): _ngrx_signals.SignalStoreFeature<_ngrx_signa
2925
2928
  authorizationLevel?: string | undefined;
2926
2929
  columnMap?: Record<string, CCColumn> | undefined;
2927
2930
  };
2928
- props: {};
2929
- methods: {
2930
- initialize: () => Promise<void>;
2931
- initializeWithAppName: (appName: string) => Promise<void>;
2932
- update: (app: CCApp) => void;
2933
- getWebServiceByType: (type: CCWebService["webServiceType"]) => CCWebService | undefined;
2934
- getLabels: () => {
2935
- private: string;
2936
- public: string;
2937
- };
2938
- getQueryByName: (name: string) => CCQuery | undefined;
2939
- getQueryByIndex: (index: number) => CCQuery | undefined;
2940
- getDefaultQuery: () => CCQuery | undefined;
2941
- allowEmptySearch: (queryName: string) => boolean;
2942
- enableFieldedSearch: (queryName: string) => boolean;
2943
- allowLabels: () => boolean;
2944
- getColumnAlias: (column: string) => string;
2945
- getColumn: (columnOrAlias: string) => CCColumn | undefined;
2946
- isDateColumn: (column: string) => boolean;
2947
- isTabSearch: (queryName: string) => boolean;
2948
- getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
2949
- getAuthorizedFilters: () => Aggregation[];
2950
- getAuthorized: (filters: Pick<CFilter, "column" | "name">[]) => Aggregation[];
2951
- };
2952
- }>;
2953
- /**
2954
- * Management of customization JSONs features for the app
2955
- */
2956
- declare function withAppCustomizationFeatures(): _ngrx_signals.SignalStoreFeature<_ngrx_signals.EmptyFeatureResult, {
2957
- state: {
2958
- customJSONs: SideCJson[];
2959
- data: {};
2960
- };
2961
2931
  props: {
2962
2932
  customizationJson: _angular_core.Signal<CJsonMint>;
2963
2933
  sources: _angular_core.Signal<CSources>;
@@ -2997,10 +2967,31 @@ declare function withAppCustomizationFeatures(): _ngrx_signals.SignalStoreFeatur
2997
2967
  assistants: _angular_core.Signal<AssistantConfiguration>;
2998
2968
  };
2999
2969
  methods: {
2970
+ initialize: () => Promise<void>;
2971
+ initializeWithAppName: (appName: string) => Promise<void>;
2972
+ update: (app: CCApp) => void;
2973
+ getWebServiceByType: (type: CCWebService["webServiceType"]) => CCWebService | undefined;
2974
+ getLabels: () => {
2975
+ private: string;
2976
+ public: string;
2977
+ };
2978
+ getQueryByName: (name: string) => CCQuery | undefined;
2979
+ getQueryByIndex: (index: number) => CCQuery | undefined;
2980
+ getDefaultQuery: () => CCQuery | undefined;
2981
+ allowEmptySearch: (queryName: string) => boolean;
2982
+ enableFieldedSearch: (queryName: string) => boolean;
2983
+ allowLabels: () => boolean;
2984
+ getColumnAlias: (column: string) => string;
2985
+ getColumn: (columnOrAlias: string) => CCColumn | undefined;
2986
+ isDateColumn: (column: string) => boolean;
2987
+ isTabSearch: (queryName: string) => boolean;
2988
+ getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
2989
+ getAuthorizedFilters: () => Aggregation[];
2990
+ getAuthorized: (filters: Pick<CFilter, "column" | "name">[]) => Aggregation[];
3000
2991
  getNamedCustomizationJson: (name: string) => unknown | undefined;
3001
2992
  getAggregationIcon: (column: string) => string | undefined;
3002
2993
  getAggregationItemsCustomization: (column: string) => CFilterItem[] | undefined;
3003
- getAggregationCustomization: (column: string, name?: string) => CFilter | undefined;
2994
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => CFilter | undefined;
3004
2995
  isAssistantAllowed: (assistantName: string) => boolean;
3005
2996
  };
3006
2997
  }>;
@@ -3131,6 +3122,7 @@ type QueryParams = {
3131
3122
  t?: string;
3132
3123
  q?: string;
3133
3124
  b?: string;
3125
+ n?: string;
3134
3126
  };
3135
3127
  declare const QueryParamsStore: _angular_core.Type<{
3136
3128
  text?: _angular_core.Signal<string | undefined> | undefined;
@@ -3160,10 +3152,10 @@ declare const QueryParamsStore: _angular_core.Type<{
3160
3152
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
3161
3153
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
3162
3154
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
3163
- path: _angular_core.Signal<string>;
3155
+ path?: _angular_core.Signal<string | undefined> | undefined;
3164
3156
  filters: _angular_core.Signal<LegacyFilter[]>;
3165
- id: _angular_core.Signal<string>;
3166
- setFromUrl: (url: string) => void;
3157
+ id?: _angular_core.Signal<string | undefined> | undefined;
3158
+ setFromUrl: (href: string) => void;
3167
3159
  getQueryParams: () => QueryParams;
3168
3160
  addFilter: (filter: LegacyFilter, audit?: AuditEvents) => void;
3169
3161
  updateFilter: (filter: LegacyFilter, audit?: AuditEvents) => void;
@@ -3207,9 +3199,9 @@ declare const QueryParamsStore: _angular_core.Type<{
3207
3199
  orderBy?: string | undefined;
3208
3200
  groupBy?: string | undefined;
3209
3201
  neuralSearch?: boolean | undefined;
3210
- path: string;
3202
+ path?: string | undefined;
3211
3203
  filters: LegacyFilter[];
3212
- id: string;
3204
+ id?: string | undefined;
3213
3205
  }>>;
3214
3206
  declare function withQueryParamsFeatures(): _ngrx_signals.SignalStoreFeature<_ngrx_signals.EmptyFeatureResult, {
3215
3207
  state: {
@@ -3240,13 +3232,13 @@ declare function withQueryParamsFeatures(): _ngrx_signals.SignalStoreFeature<_ng
3240
3232
  orderBy?: string | undefined;
3241
3233
  groupBy?: string | undefined;
3242
3234
  neuralSearch?: boolean | undefined;
3243
- path: string;
3235
+ path?: string | undefined;
3244
3236
  filters: LegacyFilter[];
3245
- id: string;
3237
+ id?: string | undefined;
3246
3238
  };
3247
3239
  props: {};
3248
3240
  methods: {
3249
- setFromUrl: (url: string) => void;
3241
+ setFromUrl: (href: string) => void;
3250
3242
  _updateUrlQueryParams: (state: QueryParams$1, audit?: AuditEvents) => void;
3251
3243
  getQueryParams: () => QueryParams;
3252
3244
  addFilter: (filter: LegacyFilter, audit?: AuditEvents) => void;
@@ -3811,10 +3803,10 @@ declare class PreviewService {
3811
3803
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
3812
3804
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
3813
3805
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
3814
- path: _angular_core.Signal<string>;
3806
+ path?: _angular_core.Signal<string | undefined> | undefined;
3815
3807
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
3816
- id: _angular_core.Signal<string>;
3817
- setFromUrl: (url: string) => void;
3808
+ id?: _angular_core.Signal<string | undefined> | undefined;
3809
+ setFromUrl: (href: string) => void;
3818
3810
  getQueryParams: () => {
3819
3811
  f?: string;
3820
3812
  p?: number;
@@ -3822,6 +3814,7 @@ declare class PreviewService {
3822
3814
  t?: string;
3823
3815
  q?: string;
3824
3816
  b?: string;
3817
+ n?: string;
3825
3818
  };
3826
3819
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: AuditEvents) => void;
3827
3820
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: AuditEvents) => void;
@@ -3865,9 +3858,9 @@ declare class PreviewService {
3865
3858
  orderBy?: string | undefined;
3866
3859
  groupBy?: string | undefined;
3867
3860
  neuralSearch?: boolean | undefined;
3868
- path: string;
3861
+ path?: string | undefined;
3869
3862
  filters: _sinequa_atomic.LegacyFilter[];
3870
- id: string;
3863
+ id?: string | undefined;
3871
3864
  }>;
3872
3865
  protected readonly appStore: {
3873
3866
  name: _angular_core.Signal<string>;
@@ -4024,7 +4017,7 @@ declare class PreviewService {
4024
4017
  getNamedCustomizationJson: (name: string) => unknown | undefined;
4025
4018
  getAggregationIcon: (column: string) => string | undefined;
4026
4019
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
4027
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
4020
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
4028
4021
  isAssistantAllowed: (assistantName: string) => boolean;
4029
4022
  } & _ngrx_signals.StateSource<{
4030
4023
  name: string;
@@ -4371,10 +4364,10 @@ declare class SavedSearchesService {
4371
4364
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
4372
4365
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
4373
4366
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
4374
- path: _angular_core.Signal<string>;
4367
+ path?: _angular_core.Signal<string | undefined> | undefined;
4375
4368
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
4376
- id: _angular_core.Signal<string>;
4377
- setFromUrl: (url: string) => void;
4369
+ id?: _angular_core.Signal<string | undefined> | undefined;
4370
+ setFromUrl: (href: string) => void;
4378
4371
  getQueryParams: () => {
4379
4372
  f?: string;
4380
4373
  p?: number;
@@ -4382,6 +4375,7 @@ declare class SavedSearchesService {
4382
4375
  t?: string;
4383
4376
  q?: string;
4384
4377
  b?: string;
4378
+ n?: string;
4385
4379
  };
4386
4380
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
4387
4381
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -4425,9 +4419,9 @@ declare class SavedSearchesService {
4425
4419
  orderBy?: string | undefined;
4426
4420
  groupBy?: string | undefined;
4427
4421
  neuralSearch?: boolean | undefined;
4428
- path: string;
4422
+ path?: string | undefined;
4429
4423
  filters: _sinequa_atomic.LegacyFilter[];
4430
- id: string;
4424
+ id?: string | undefined;
4431
4425
  }>;
4432
4426
  /**
4433
4427
  * Retrieves the list of saved searches from the user settings store.
@@ -4511,10 +4505,10 @@ declare class SearchService {
4511
4505
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
4512
4506
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
4513
4507
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
4514
- path: _angular_core.Signal<string>;
4508
+ path?: _angular_core.Signal<string | undefined> | undefined;
4515
4509
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
4516
- id: _angular_core.Signal<string>;
4517
- setFromUrl: (url: string) => void;
4510
+ id?: _angular_core.Signal<string | undefined> | undefined;
4511
+ setFromUrl: (href: string) => void;
4518
4512
  getQueryParams: () => {
4519
4513
  f?: string;
4520
4514
  p?: number;
@@ -4522,6 +4516,7 @@ declare class SearchService {
4522
4516
  t?: string;
4523
4517
  q?: string;
4524
4518
  b?: string;
4519
+ n?: string;
4525
4520
  };
4526
4521
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: AuditEvents) => void;
4527
4522
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: AuditEvents) => void;
@@ -4565,9 +4560,9 @@ declare class SearchService {
4565
4560
  orderBy?: string | undefined;
4566
4561
  groupBy?: string | undefined;
4567
4562
  neuralSearch?: boolean | undefined;
4568
- path: string;
4563
+ path?: string | undefined;
4569
4564
  filters: _sinequa_atomic.LegacyFilter[];
4570
- id: string;
4565
+ id?: string | undefined;
4571
4566
  }>;
4572
4567
  protected readonly userSettingsStore: {
4573
4568
  bookmarks: _angular_core.Signal<_sinequa_atomic_angular.Bookmark[]>;
@@ -4664,54 +4659,6 @@ declare class SearchService {
4664
4659
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<SearchService>;
4665
4660
  }
4666
4661
 
4667
- type SelectionHistoryEvent = 'back' | 'new';
4668
- declare class SelectionHistoryService {
4669
- readonly selectionHistoryEvent: EventEmitter<SelectionHistoryEvent>;
4670
- private readonly selectionService;
4671
- private readonly selectionStore;
4672
- private readonly history;
4673
- constructor();
4674
- /**
4675
- * Retrieves the index of the current selection.
4676
- *
4677
- * @returns {number} The index of the current selection, which is the last element in the history array.
4678
- */
4679
- getCurrentSelectionIndex(): number;
4680
- /**
4681
- * Retrieves an article from the selection history at the specified index.
4682
- *
4683
- * @param index - The index of the article to retrieve.
4684
- * @returns The article at the specified index, or `undefined` if the index is out of bounds.
4685
- */
4686
- getSelection(index: number): Article$1 | undefined;
4687
- /**
4688
- * Retrieves the length of the history array.
4689
- *
4690
- * @returns {number} The number of entries in the history.
4691
- */
4692
- getHistoryLength(): number;
4693
- /**
4694
- * Clears the selection history and resets the current article selection.
4695
- *
4696
- * This method performs the following actions:
4697
- * - Empties the history array.
4698
- * - Calls the `clearCurrentArticle` method on the `selectionService` to reset the current article selection.
4699
- */
4700
- clearHistory(): void;
4701
- /**
4702
- * Navigates back in the selection history.
4703
- *
4704
- * Removes the most recent entry from the history. If the history is empty after this operation,
4705
- * it returns `undefined`. Otherwise, it sets the current article to the last entry in the history,
4706
- * triggers a 'back' event, and returns the last entry.
4707
- *
4708
- * @returns {Article | undefined} The last article in the history, or `undefined` if the history is empty.
4709
- */
4710
- back(): Article$1 | undefined;
4711
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectionHistoryService, never>;
4712
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<SelectionHistoryService>;
4713
- }
4714
-
4715
4662
  declare class SelectionService {
4716
4663
  private readonly route;
4717
4664
  private readonly router;
@@ -4745,10 +4692,10 @@ declare class SelectionService {
4745
4692
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
4746
4693
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
4747
4694
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
4748
- path: _angular_core.Signal<string>;
4695
+ path?: _angular_core.Signal<string | undefined> | undefined;
4749
4696
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
4750
- id: _angular_core.Signal<string>;
4751
- setFromUrl: (url: string) => void;
4697
+ id?: _angular_core.Signal<string | undefined> | undefined;
4698
+ setFromUrl: (href: string) => void;
4752
4699
  getQueryParams: () => {
4753
4700
  f?: string;
4754
4701
  p?: number;
@@ -4756,6 +4703,7 @@ declare class SelectionService {
4756
4703
  t?: string;
4757
4704
  q?: string;
4758
4705
  b?: string;
4706
+ n?: string;
4759
4707
  };
4760
4708
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
4761
4709
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -4799,9 +4747,9 @@ declare class SelectionService {
4799
4747
  orderBy?: string | undefined;
4800
4748
  groupBy?: string | undefined;
4801
4749
  neuralSearch?: boolean | undefined;
4802
- path: string;
4750
+ path?: string | undefined;
4803
4751
  filters: _sinequa_atomic.LegacyFilter[];
4804
- id: string;
4752
+ id?: string | undefined;
4805
4753
  }>;
4806
4754
  /**
4807
4755
  * Sets the current article in the selection store and optionally updates the query text.
@@ -4846,6 +4794,54 @@ declare class SelectionService {
4846
4794
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<SelectionService>;
4847
4795
  }
4848
4796
 
4797
+ type SelectionHistoryEvent = 'back' | 'new';
4798
+ declare class SelectionHistoryService {
4799
+ readonly selectionHistoryEvent: EventEmitter<SelectionHistoryEvent>;
4800
+ private readonly selectionService;
4801
+ private readonly selectionStore;
4802
+ private readonly history;
4803
+ constructor();
4804
+ /**
4805
+ * Retrieves the index of the current selection.
4806
+ *
4807
+ * @returns {number} The index of the current selection, which is the last element in the history array.
4808
+ */
4809
+ getCurrentSelectionIndex(): number;
4810
+ /**
4811
+ * Retrieves an article from the selection history at the specified index.
4812
+ *
4813
+ * @param index - The index of the article to retrieve.
4814
+ * @returns The article at the specified index, or `undefined` if the index is out of bounds.
4815
+ */
4816
+ getSelection(index: number): Article$1 | undefined;
4817
+ /**
4818
+ * Retrieves the length of the history array.
4819
+ *
4820
+ * @returns {number} The number of entries in the history.
4821
+ */
4822
+ getHistoryLength(): number;
4823
+ /**
4824
+ * Clears the selection history and resets the current article selection.
4825
+ *
4826
+ * This method performs the following actions:
4827
+ * - Empties the history array.
4828
+ * - Calls the `clearCurrentArticle` method on the `selectionService` to reset the current article selection.
4829
+ */
4830
+ clearHistory(): void;
4831
+ /**
4832
+ * Navigates back in the selection history.
4833
+ *
4834
+ * Removes the most recent entry from the history. If the history is empty after this operation,
4835
+ * it returns `undefined`. Otherwise, it sets the current article to the last entry in the history,
4836
+ * triggers a 'back' event, and returns the last entry.
4837
+ *
4838
+ * @returns {Article | undefined} The last article in the history, or `undefined` if the history is empty.
4839
+ */
4840
+ back(): Article$1 | undefined;
4841
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectionHistoryService, never>;
4842
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<SelectionHistoryService>;
4843
+ }
4844
+
4849
4845
  declare class TextChunkService {
4850
4846
  protected readonly http: HttpClient;
4851
4847
  protected readonly API_URL: string;
@@ -4865,6 +4861,19 @@ declare class TextChunkService {
4865
4861
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<TextChunkService>;
4866
4862
  }
4867
4863
 
4864
+ declare class UserProfileService {
4865
+ protected readonly API_URL: string;
4866
+ /**
4867
+ * Retrieves the user profile by user ID.
4868
+ *
4869
+ * @param id - The ID of the user.
4870
+ * @returns An Observable that emits an the UserProfile object.
4871
+ */
4872
+ getUserProfile(principal: Signal<Principal | undefined>): _angular_common_http.HttpResourceRef<UserProfile | undefined>;
4873
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserProfileService, never>;
4874
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<UserProfileService>;
4875
+ }
4876
+
4868
4877
  type NavbarTab = {
4869
4878
  display: string;
4870
4879
  wsQueryTab: string;
@@ -4907,10 +4916,10 @@ declare class NavbarTabsComponent {
4907
4916
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
4908
4917
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
4909
4918
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
4910
- path: _angular_core.Signal<string>;
4919
+ path?: _angular_core.Signal<string | undefined> | undefined;
4911
4920
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
4912
- id: _angular_core.Signal<string>;
4913
- setFromUrl: (url: string) => void;
4921
+ id?: _angular_core.Signal<string | undefined> | undefined;
4922
+ setFromUrl: (href: string) => void;
4914
4923
  getQueryParams: () => {
4915
4924
  f?: string;
4916
4925
  p?: number;
@@ -4918,6 +4927,7 @@ declare class NavbarTabsComponent {
4918
4927
  t?: string;
4919
4928
  q?: string;
4920
4929
  b?: string;
4930
+ n?: string;
4921
4931
  };
4922
4932
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
4923
4933
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -4961,9 +4971,9 @@ declare class NavbarTabsComponent {
4961
4971
  orderBy?: string | undefined;
4962
4972
  groupBy?: string | undefined;
4963
4973
  neuralSearch?: boolean | undefined;
4964
- path: string;
4974
+ path?: string | undefined;
4965
4975
  filters: _sinequa_atomic.LegacyFilter[];
4966
- id: string;
4976
+ id?: string | undefined;
4967
4977
  }>;
4968
4978
  readonly queryService: QueryService;
4969
4979
  /**
@@ -4974,6 +4984,15 @@ declare class NavbarTabsComponent {
4974
4984
  * This works only if tabSearch is enabled in the administration panel.
4975
4985
  */
4976
4986
  showCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
4987
+ /**
4988
+ * The base path for the search routes.
4989
+ * This value is provided as an input property and defaults to "search".
4990
+ *
4991
+ * @remarks
4992
+ * This path is used to find the corresponding route configuration and its children
4993
+ * to populate the tabs in the navbar.
4994
+ */
4995
+ path: _angular_core.InputSignal<string>;
4977
4996
  searchText: _angular_core.Signal<string>;
4978
4997
  readonly visibleTabCount: _angular_core.WritableSignal<number | undefined>;
4979
4998
  readonly currentPath: _angular_core.Signal<string>;
@@ -4981,7 +5000,7 @@ declare class NavbarTabsComponent {
4981
5000
  readonly moreTabs: _angular_core.Signal<NavbarTab[]>;
4982
5001
  protected changeTab(): void;
4983
5002
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavbarTabsComponent, never>;
4984
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavbarTabsComponent, "navbar-tabs", never, { "showCount": { "alias": "showCount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
5003
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavbarTabsComponent, "navbar-tabs", never, { "showCount": { "alias": "showCount"; "required": false; "isSignal": true; }; "path": { "alias": "path"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
4985
5004
  }
4986
5005
 
4987
5006
  declare class NoResultComponent {
@@ -5180,7 +5199,7 @@ declare class SortSelectorComponent {
5180
5199
  getNamedCustomizationJson: (name: string) => unknown | undefined;
5181
5200
  getAggregationIcon: (column: string) => string | undefined;
5182
5201
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
5183
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
5202
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
5184
5203
  isAssistantAllowed: (assistantName: string) => boolean;
5185
5204
  } & _ngrx_signals.StateSource<{
5186
5205
  name: string;
@@ -5856,7 +5875,7 @@ declare class SponsoredResultsComponent {
5856
5875
  getNamedCustomizationJson: (name: string) => unknown | undefined;
5857
5876
  getAggregationIcon: (column: string) => string | undefined;
5858
5877
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
5859
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
5878
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
5860
5879
  isAssistantAllowed: (assistantName: string) => boolean;
5861
5880
  } & _ngrx_signals.StateSource<{
5862
5881
  name: string;
@@ -5980,10 +5999,10 @@ declare class SponsoredResultsComponent {
5980
5999
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
5981
6000
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
5982
6001
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
5983
- path: _angular_core.Signal<string>;
6002
+ path?: _angular_core.Signal<string | undefined> | undefined;
5984
6003
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
5985
- id: _angular_core.Signal<string>;
5986
- setFromUrl: (url: string) => void;
6004
+ id?: _angular_core.Signal<string | undefined> | undefined;
6005
+ setFromUrl: (href: string) => void;
5987
6006
  getQueryParams: () => {
5988
6007
  f?: string;
5989
6008
  p?: number;
@@ -5991,6 +6010,7 @@ declare class SponsoredResultsComponent {
5991
6010
  t?: string;
5992
6011
  q?: string;
5993
6012
  b?: string;
6013
+ n?: string;
5994
6014
  };
5995
6015
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
5996
6016
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -6034,9 +6054,9 @@ declare class SponsoredResultsComponent {
6034
6054
  orderBy?: string | undefined;
6035
6055
  groupBy?: string | undefined;
6036
6056
  neuralSearch?: boolean | undefined;
6037
- path: string;
6057
+ path?: string | undefined;
6038
6058
  filters: _sinequa_atomic.LegacyFilter[];
6039
- id: string;
6059
+ id?: string | undefined;
6040
6060
  }>;
6041
6061
  injector: Injector;
6042
6062
  /**
@@ -6194,6 +6214,7 @@ declare class AuthPageComponent {
6194
6214
  mode: _angular_core.InputSignal<AuthView | undefined>;
6195
6215
  view: _angular_core.WritableSignal<AuthView>;
6196
6216
  readonly username: _angular_core.WritableSignal<string>;
6217
+ readonly alert: _angular_core.WritableSignal<string | undefined>;
6197
6218
  private readonly route;
6198
6219
  constructor();
6199
6220
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthPageComponent, never>;
@@ -6204,6 +6225,8 @@ declare class ChangePasswordComponent {
6204
6225
  readonly success: _angular_core.OutputEmitterRef<void>;
6205
6226
  readonly cancel: _angular_core.OutputEmitterRef<void>;
6206
6227
  username: _angular_core.InputSignal<string | null>;
6228
+ alert: _angular_core.InputSignal<string | undefined>;
6229
+ redirectAfterSuccess: _angular_core.InputSignal<boolean>;
6207
6230
  private readonly transloco;
6208
6231
  private readonly router;
6209
6232
  private readonly principalStore;
@@ -6214,13 +6237,17 @@ declare class ChangePasswordComponent {
6214
6237
  confirmPassword: _angular_core.ModelSignal<string>;
6215
6238
  pending: _angular_core.WritableSignal<boolean>;
6216
6239
  errorMsg: _angular_core.WritableSignal<string | null>;
6240
+ currentPasswordType: string;
6241
+ newPasswordType: string;
6242
+ confirmPasswordType: string;
6217
6243
  valid: _angular_core.Signal<boolean>;
6244
+ confirmInvalid: _angular_core.Signal<boolean>;
6218
6245
  readonly effectiveUsername: _angular_core.Signal<string | null>;
6219
6246
  private clearLocalAuthState;
6220
6247
  changePassword(): Promise<void>;
6221
6248
  onCancel(): void;
6222
6249
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChangePasswordComponent, never>;
6223
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChangePasswordComponent, "change-password, ChangePassword, changepassword", never, { "username": { "alias": "username"; "required": false; "isSignal": true; }; "currentPassword": { "alias": "currentPassword"; "required": false; "isSignal": true; }; "newPassword": { "alias": "newPassword"; "required": false; "isSignal": true; }; "confirmPassword": { "alias": "confirmPassword"; "required": false; "isSignal": true; }; }, { "success": "success"; "cancel": "cancel"; "currentPassword": "currentPasswordChange"; "newPassword": "newPasswordChange"; "confirmPassword": "confirmPasswordChange"; }, never, never, true, never>;
6250
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChangePasswordComponent, "change-password, ChangePassword, changepassword", never, { "username": { "alias": "username"; "required": false; "isSignal": true; }; "alert": { "alias": "alert"; "required": false; "isSignal": true; }; "redirectAfterSuccess": { "alias": "redirectAfterSuccess"; "required": false; "isSignal": true; }; "currentPassword": { "alias": "currentPassword"; "required": false; "isSignal": true; }; "newPassword": { "alias": "newPassword"; "required": false; "isSignal": true; }; "confirmPassword": { "alias": "confirmPassword"; "required": false; "isSignal": true; }; }, { "success": "success"; "cancel": "cancel"; "currentPassword": "currentPasswordChange"; "newPassword": "newPasswordChange"; "confirmPassword": "confirmPasswordChange"; }, never, never, true, never>;
6224
6251
  }
6225
6252
 
6226
6253
  /**
@@ -6590,10 +6617,10 @@ declare class AdvancedSearchComponent {
6590
6617
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
6591
6618
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
6592
6619
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
6593
- path: _angular_core.Signal<string>;
6620
+ path?: _angular_core.Signal<string | undefined> | undefined;
6594
6621
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
6595
- id: _angular_core.Signal<string>;
6596
- setFromUrl: (url: string) => void;
6622
+ id?: _angular_core.Signal<string | undefined> | undefined;
6623
+ setFromUrl: (href: string) => void;
6597
6624
  getQueryParams: () => {
6598
6625
  f?: string;
6599
6626
  p?: number;
@@ -6601,6 +6628,7 @@ declare class AdvancedSearchComponent {
6601
6628
  t?: string;
6602
6629
  q?: string;
6603
6630
  b?: string;
6631
+ n?: string;
6604
6632
  };
6605
6633
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
6606
6634
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -6644,9 +6672,9 @@ declare class AdvancedSearchComponent {
6644
6672
  orderBy?: string | undefined;
6645
6673
  groupBy?: string | undefined;
6646
6674
  neuralSearch?: boolean | undefined;
6647
- path: string;
6675
+ path?: string | undefined;
6648
6676
  filters: _sinequa_atomic.LegacyFilter[];
6649
- id: string;
6677
+ id?: string | undefined;
6650
6678
  }>;
6651
6679
  protected readonly queryText: _angular_core.WritableSignal<string>;
6652
6680
  queryName: _angular_core.Signal<string>;
@@ -6829,7 +6857,7 @@ declare class DrawerPreviewComponent extends DrawerComponent {
6829
6857
  getNamedCustomizationJson: (name: string) => unknown | undefined;
6830
6858
  getAggregationIcon: (column: string) => string | undefined;
6831
6859
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
6832
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
6860
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
6833
6861
  isAssistantAllowed: (assistantName: string) => boolean;
6834
6862
  } & _ngrx_signals.StateSource<{
6835
6863
  name: string;
@@ -6974,10 +7002,10 @@ declare class DrawerPreviewComponent extends DrawerComponent {
6974
7002
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
6975
7003
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
6976
7004
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
6977
- path: _angular_core.Signal<string>;
7005
+ path?: _angular_core.Signal<string | undefined> | undefined;
6978
7006
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
6979
- id: _angular_core.Signal<string>;
6980
- setFromUrl: (url: string) => void;
7007
+ id?: _angular_core.Signal<string | undefined> | undefined;
7008
+ setFromUrl: (href: string) => void;
6981
7009
  getQueryParams: () => {
6982
7010
  f?: string;
6983
7011
  p?: number;
@@ -6985,6 +7013,7 @@ declare class DrawerPreviewComponent extends DrawerComponent {
6985
7013
  t?: string;
6986
7014
  q?: string;
6987
7015
  b?: string;
7016
+ n?: string;
6988
7017
  };
6989
7018
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
6990
7019
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -7028,9 +7057,9 @@ declare class DrawerPreviewComponent extends DrawerComponent {
7028
7057
  orderBy?: string | undefined;
7029
7058
  groupBy?: string | undefined;
7030
7059
  neuralSearch?: boolean | undefined;
7031
- path: string;
7060
+ path?: string | undefined;
7032
7061
  filters: _sinequa_atomic.LegacyFilter[];
7033
- id: string;
7062
+ id?: string | undefined;
7034
7063
  }>;
7035
7064
  previewService: PreviewService;
7036
7065
  getComponentsForDocumentType: (documentType?: string) => DocumentTypeMap;
@@ -7162,10 +7191,10 @@ declare class ExportDialog implements DialogInterface {
7162
7191
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
7163
7192
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
7164
7193
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
7165
- path: _angular_core.Signal<string>;
7194
+ path?: _angular_core.Signal<string | undefined> | undefined;
7166
7195
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
7167
- id: _angular_core.Signal<string>;
7168
- setFromUrl: (url: string) => void;
7196
+ id?: _angular_core.Signal<string | undefined> | undefined;
7197
+ setFromUrl: (href: string) => void;
7169
7198
  getQueryParams: () => {
7170
7199
  f?: string;
7171
7200
  p?: number;
@@ -7173,6 +7202,7 @@ declare class ExportDialog implements DialogInterface {
7173
7202
  t?: string;
7174
7203
  q?: string;
7175
7204
  b?: string;
7205
+ n?: string;
7176
7206
  };
7177
7207
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
7178
7208
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -7216,9 +7246,9 @@ declare class ExportDialog implements DialogInterface {
7216
7246
  orderBy?: string | undefined;
7217
7247
  groupBy?: string | undefined;
7218
7248
  neuralSearch?: boolean | undefined;
7219
- path: string;
7249
+ path?: string | undefined;
7220
7250
  filters: _sinequa_atomic.LegacyFilter[];
7221
- id: string;
7251
+ id?: string | undefined;
7222
7252
  }>;
7223
7253
  readonly dialog: _angular_core.Signal<DialogComponent | undefined>;
7224
7254
  private selection;
@@ -7395,7 +7425,7 @@ declare class FeedbackDialogComponent implements DialogInterface {
7395
7425
  getNamedCustomizationJson: (name: string) => unknown | undefined;
7396
7426
  getAggregationIcon: (column: string) => string | undefined;
7397
7427
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
7398
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
7428
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
7399
7429
  isAssistantAllowed: (assistantName: string) => boolean;
7400
7430
  } & _ngrx_signals.StateSource<{
7401
7431
  name: string;
@@ -7537,10 +7567,10 @@ declare class SearchFeedbackComponent {
7537
7567
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
7538
7568
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
7539
7569
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
7540
- path: _angular_core.Signal<string>;
7570
+ path?: _angular_core.Signal<string | undefined> | undefined;
7541
7571
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
7542
- id: _angular_core.Signal<string>;
7543
- setFromUrl: (url: string) => void;
7572
+ id?: _angular_core.Signal<string | undefined> | undefined;
7573
+ setFromUrl: (href: string) => void;
7544
7574
  getQueryParams: () => {
7545
7575
  f?: string;
7546
7576
  p?: number;
@@ -7548,6 +7578,7 @@ declare class SearchFeedbackComponent {
7548
7578
  t?: string;
7549
7579
  q?: string;
7550
7580
  b?: string;
7581
+ n?: string;
7551
7582
  };
7552
7583
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
7553
7584
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -7591,9 +7622,9 @@ declare class SearchFeedbackComponent {
7591
7622
  orderBy?: string | undefined;
7592
7623
  groupBy?: string | undefined;
7593
7624
  neuralSearch?: boolean | undefined;
7594
- path: string;
7625
+ path?: string | undefined;
7595
7626
  filters: _sinequa_atomic.LegacyFilter[];
7596
- id: string;
7627
+ id?: string | undefined;
7597
7628
  }>;
7598
7629
  private readonly transloco;
7599
7630
  liked: _angular_core.WritableSignal<boolean>;
@@ -7613,6 +7644,7 @@ type AggregationTitle = {
7613
7644
  };
7614
7645
  declare class AggregationComponent {
7615
7646
  cn: typeof cn;
7647
+ searchInput: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
7616
7648
  aggregationsStore: {
7617
7649
  aggregations: _angular_core.Signal<Aggregation[]>;
7618
7650
  update: (aggregations: Aggregation[]) => void;
@@ -7650,10 +7682,10 @@ declare class AggregationComponent {
7650
7682
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
7651
7683
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
7652
7684
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
7653
- path: _angular_core.Signal<string>;
7685
+ path?: _angular_core.Signal<string | undefined> | undefined;
7654
7686
  filters: _angular_core.Signal<LegacyFilter[]>;
7655
- id: _angular_core.Signal<string>;
7656
- setFromUrl: (url: string) => void;
7687
+ id?: _angular_core.Signal<string | undefined> | undefined;
7688
+ setFromUrl: (href: string) => void;
7657
7689
  getQueryParams: () => {
7658
7690
  f?: string;
7659
7691
  p?: number;
@@ -7661,6 +7693,7 @@ declare class AggregationComponent {
7661
7693
  t?: string;
7662
7694
  q?: string;
7663
7695
  b?: string;
7696
+ n?: string;
7664
7697
  };
7665
7698
  addFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
7666
7699
  updateFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -7704,9 +7737,9 @@ declare class AggregationComponent {
7704
7737
  orderBy?: string | undefined;
7705
7738
  groupBy?: string | undefined;
7706
7739
  neuralSearch?: boolean | undefined;
7707
- path: string;
7740
+ path?: string | undefined;
7708
7741
  filters: LegacyFilter[];
7709
- id: string;
7742
+ id?: string | undefined;
7710
7743
  }>;
7711
7744
  appStore: {
7712
7745
  name: _angular_core.Signal<string>;
@@ -7863,7 +7896,7 @@ declare class AggregationComponent {
7863
7896
  getNamedCustomizationJson: (name: string) => unknown | undefined;
7864
7897
  getAggregationIcon: (column: string) => string | undefined;
7865
7898
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
7866
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
7899
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
7867
7900
  isAssistantAllowed: (assistantName: string) => boolean;
7868
7901
  } & _ngrx_signals.StateSource<{
7869
7902
  name: string;
@@ -8235,7 +8268,7 @@ declare class FilterButtonComponent {
8235
8268
  column: _angular_core.InputSignal<string>;
8236
8269
  position: _angular_core.InputSignal<Placement>;
8237
8270
  offset: _angular_core.InputSignal<number>;
8238
- protected variant: _angular_core.WritableSignal<"default" | "icon" | "none" | "secondary" | "destructive" | "ai" | "primary" | "link" | "outline" | "ghost" | null | undefined>;
8271
+ protected variant: _angular_core.WritableSignal<"default" | "icon" | "none" | "primary" | "secondary" | "destructive" | "ai" | "outline" | "ghost" | "link" | null | undefined>;
8239
8272
  protected filter: _angular_core.WritableSignal<CFilterEx>;
8240
8273
  popoverRef: _angular_core.Signal<PopoverComponent | undefined>;
8241
8274
  protected nativeElement: any;
@@ -8276,10 +8309,10 @@ declare class FilterButtonComponent {
8276
8309
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
8277
8310
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
8278
8311
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
8279
- path: _angular_core.Signal<string>;
8312
+ path?: _angular_core.Signal<string | undefined> | undefined;
8280
8313
  filters: _angular_core.Signal<LegacyFilter[]>;
8281
- id: _angular_core.Signal<string>;
8282
- setFromUrl: (url: string) => void;
8314
+ id?: _angular_core.Signal<string | undefined> | undefined;
8315
+ setFromUrl: (href: string) => void;
8283
8316
  getQueryParams: () => {
8284
8317
  f?: string;
8285
8318
  p?: number;
@@ -8287,6 +8320,7 @@ declare class FilterButtonComponent {
8287
8320
  t?: string;
8288
8321
  q?: string;
8289
8322
  b?: string;
8323
+ n?: string;
8290
8324
  };
8291
8325
  addFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
8292
8326
  updateFilter: (filter: LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -8330,9 +8364,9 @@ declare class FilterButtonComponent {
8330
8364
  orderBy?: string | undefined;
8331
8365
  groupBy?: string | undefined;
8332
8366
  neuralSearch?: boolean | undefined;
8333
- path: string;
8367
+ path?: string | undefined;
8334
8368
  filters: LegacyFilter[];
8335
- id: string;
8369
+ id?: string | undefined;
8336
8370
  }>;
8337
8371
  protected appStore: {
8338
8372
  name: _angular_core.Signal<string>;
@@ -8489,7 +8523,7 @@ declare class FilterButtonComponent {
8489
8523
  getNamedCustomizationJson: (name: string) => unknown | undefined;
8490
8524
  getAggregationIcon: (column: string) => string | undefined;
8491
8525
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
8492
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
8526
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
8493
8527
  isAssistantAllowed: (assistantName: string) => boolean;
8494
8528
  } & _ngrx_signals.StateSource<{
8495
8529
  name: string;
@@ -8753,7 +8787,7 @@ declare class MoreButtonComponent {
8753
8787
  getNamedCustomizationJson: (name: string) => unknown | undefined;
8754
8788
  getAggregationIcon: (column: string) => string | undefined;
8755
8789
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
8756
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
8790
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
8757
8791
  isAssistantAllowed: (assistantName: string) => boolean;
8758
8792
  } & _ngrx_signals.StateSource<{
8759
8793
  name: string;
@@ -8877,10 +8911,10 @@ declare class MoreButtonComponent {
8877
8911
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
8878
8912
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
8879
8913
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
8880
- path: _angular_core.Signal<string>;
8914
+ path?: _angular_core.Signal<string | undefined> | undefined;
8881
8915
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
8882
- id: _angular_core.Signal<string>;
8883
- setFromUrl: (url: string) => void;
8916
+ id?: _angular_core.Signal<string | undefined> | undefined;
8917
+ setFromUrl: (href: string) => void;
8884
8918
  getQueryParams: () => {
8885
8919
  f?: string;
8886
8920
  p?: number;
@@ -8888,6 +8922,7 @@ declare class MoreButtonComponent {
8888
8922
  t?: string;
8889
8923
  q?: string;
8890
8924
  b?: string;
8925
+ n?: string;
8891
8926
  };
8892
8927
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
8893
8928
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -8931,9 +8966,9 @@ declare class MoreButtonComponent {
8931
8966
  orderBy?: string | undefined;
8932
8967
  groupBy?: string | undefined;
8933
8968
  neuralSearch?: boolean | undefined;
8934
- path: string;
8969
+ path?: string | undefined;
8935
8970
  filters: _sinequa_atomic.LegacyFilter[];
8936
- id: string;
8971
+ id?: string | undefined;
8937
8972
  }>;
8938
8973
  nativeElement: any;
8939
8974
  aggregationsService: AggregationsService;
@@ -9160,7 +9195,7 @@ declare class FiltersBarComponent {
9160
9195
  getNamedCustomizationJson: (name: string) => unknown | undefined;
9161
9196
  getAggregationIcon: (column: string) => string | undefined;
9162
9197
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
9163
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
9198
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
9164
9199
  isAssistantAllowed: (assistantName: string) => boolean;
9165
9200
  } & _ngrx_signals.StateSource<{
9166
9201
  name: string;
@@ -9293,10 +9328,10 @@ declare class FiltersBarComponent {
9293
9328
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
9294
9329
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
9295
9330
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
9296
- path: _angular_core.Signal<string>;
9331
+ path?: _angular_core.Signal<string | undefined> | undefined;
9297
9332
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
9298
- id: _angular_core.Signal<string>;
9299
- setFromUrl: (url: string) => void;
9333
+ id?: _angular_core.Signal<string | undefined> | undefined;
9334
+ setFromUrl: (href: string) => void;
9300
9335
  getQueryParams: () => {
9301
9336
  f?: string;
9302
9337
  p?: number;
@@ -9304,6 +9339,7 @@ declare class FiltersBarComponent {
9304
9339
  t?: string;
9305
9340
  q?: string;
9306
9341
  b?: string;
9342
+ n?: string;
9307
9343
  };
9308
9344
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
9309
9345
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -9347,9 +9383,9 @@ declare class FiltersBarComponent {
9347
9383
  orderBy?: string | undefined;
9348
9384
  groupBy?: string | undefined;
9349
9385
  neuralSearch?: boolean | undefined;
9350
- path: string;
9386
+ path?: string | undefined;
9351
9387
  filters: _sinequa_atomic.LegacyFilter[];
9352
- id: string;
9388
+ id?: string | undefined;
9353
9389
  }>;
9354
9390
  protected el: ElementRef<any>;
9355
9391
  protected readonly transloco: TranslocoService;
@@ -9584,7 +9620,7 @@ declare class MoreComponent {
9584
9620
  getNamedCustomizationJson: (name: string) => unknown | undefined;
9585
9621
  getAggregationIcon: (column: string) => string | undefined;
9586
9622
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
9587
- getAggregationCustomization: (column: string, name?: string) => CFilter | undefined;
9623
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => CFilter | undefined;
9588
9624
  isAssistantAllowed: (assistantName: string) => boolean;
9589
9625
  } & _ngrx_signals.StateSource<{
9590
9626
  name: string;
@@ -9717,10 +9753,10 @@ declare class MoreComponent {
9717
9753
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
9718
9754
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
9719
9755
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
9720
- path: _angular_core.Signal<string>;
9756
+ path?: _angular_core.Signal<string | undefined> | undefined;
9721
9757
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
9722
- id: _angular_core.Signal<string>;
9723
- setFromUrl: (url: string) => void;
9758
+ id?: _angular_core.Signal<string | undefined> | undefined;
9759
+ setFromUrl: (href: string) => void;
9724
9760
  getQueryParams: () => {
9725
9761
  f?: string;
9726
9762
  p?: number;
@@ -9728,6 +9764,7 @@ declare class MoreComponent {
9728
9764
  t?: string;
9729
9765
  q?: string;
9730
9766
  b?: string;
9767
+ n?: string;
9731
9768
  };
9732
9769
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
9733
9770
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -9771,9 +9808,9 @@ declare class MoreComponent {
9771
9808
  orderBy?: string | undefined;
9772
9809
  groupBy?: string | undefined;
9773
9810
  neuralSearch?: boolean | undefined;
9774
- path: string;
9811
+ path?: string | undefined;
9775
9812
  filters: _sinequa_atomic.LegacyFilter[];
9776
- id: string;
9813
+ id?: string | undefined;
9777
9814
  }>;
9778
9815
  aggregationsService: AggregationsService;
9779
9816
  /**
@@ -9979,7 +10016,7 @@ declare class LabelService {
9979
10016
  getNamedCustomizationJson: (name: string) => unknown | undefined;
9980
10017
  getAggregationIcon: (column: string) => string | undefined;
9981
10018
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
9982
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
10019
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
9983
10020
  isAssistantAllowed: (assistantName: string) => boolean;
9984
10021
  } & _ngrx_signals.StateSource<{
9985
10022
  name: string;
@@ -10163,7 +10200,7 @@ declare class LabelsEditDialog implements DialogInterface {
10163
10200
  }
10164
10201
 
10165
10202
  type Article = Article$1 & {
10166
- [key: string]: any;
10203
+ [key: string]: unknown;
10167
10204
  };
10168
10205
  declare class MultiSelectLabelsComponent {
10169
10206
  injector: Injector;
@@ -10178,6 +10215,7 @@ declare class MultiSelectLabelsComponent {
10178
10215
  protected popover: _angular_core.Signal<ElementRef<any> | undefined>;
10179
10216
  protected popoverElement: _angular_core.Signal<any>;
10180
10217
  protected labels: _angular_core.WritableSignal<string[]>;
10218
+ protected hasError: _angular_core.WritableSignal<boolean>;
10181
10219
  protected id: _angular_core.WritableSignal<string>;
10182
10220
  constructor();
10183
10221
  itemClicked(label: string): void;
@@ -10216,7 +10254,6 @@ declare class MultiSelectLabelsComponent {
10216
10254
  * Ensure that `this.article`, `this.labelsField`, and `this.labels` return valid values
10217
10255
  * before invoking this method to avoid runtime errors.
10218
10256
  *
10219
- * @throws {TypeError} If `this.article` or `this.labelsField` returns `undefined`.
10220
10257
  */
10221
10258
  updateArticleWithLabels(): void;
10222
10259
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultiSelectLabelsComponent, never>;
@@ -10333,10 +10370,10 @@ declare class SavedSearchDialog implements DialogInterface {
10333
10370
  orderBy?: _angular_core.Signal<string | undefined> | undefined;
10334
10371
  groupBy?: _angular_core.Signal<string | undefined> | undefined;
10335
10372
  neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
10336
- path: _angular_core.Signal<string>;
10373
+ path?: _angular_core.Signal<string | undefined> | undefined;
10337
10374
  filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
10338
- id: _angular_core.Signal<string>;
10339
- setFromUrl: (url: string) => void;
10375
+ id?: _angular_core.Signal<string | undefined> | undefined;
10376
+ setFromUrl: (href: string) => void;
10340
10377
  getQueryParams: () => {
10341
10378
  f?: string;
10342
10379
  p?: number;
@@ -10344,6 +10381,7 @@ declare class SavedSearchDialog implements DialogInterface {
10344
10381
  t?: string;
10345
10382
  q?: string;
10346
10383
  b?: string;
10384
+ n?: string;
10347
10385
  };
10348
10386
  addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
10349
10387
  updateFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents) => void;
@@ -10387,9 +10425,9 @@ declare class SavedSearchDialog implements DialogInterface {
10387
10425
  orderBy?: string | undefined;
10388
10426
  groupBy?: string | undefined;
10389
10427
  neuralSearch?: boolean | undefined;
10390
- path: string;
10428
+ path?: string | undefined;
10391
10429
  filters: _sinequa_atomic.LegacyFilter[];
10392
- id: string;
10430
+ id?: string | undefined;
10393
10431
  }>;
10394
10432
  private readonly transloco;
10395
10433
  dialog: _angular_core.Signal<DialogComponent | undefined>;
@@ -10468,6 +10506,135 @@ declare class SavedSearchesComponent {
10468
10506
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SavedSearchesComponent, "saved-searches, SavedSearches", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
10469
10507
  }
10470
10508
 
10509
+ declare class UserProfileDialog implements DialogInterface {
10510
+ dialog: _angular_core.Signal<DialogComponent | undefined>;
10511
+ open(): void;
10512
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserProfileDialog, never>;
10513
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserProfileDialog, "user-profile-dialog, userprofiledialog, UserProfileDialog", never, {}, {}, never, never, true, never>;
10514
+ }
10515
+
10516
+ declare const SUPPORTED_LANGUAGES: readonly ["en", "fr"];
10517
+ type SupportedLanguage = (typeof SUPPORTED_LANGUAGES)[number];
10518
+ declare class UserProfileFormComponent {
10519
+ protected principalStore: {
10520
+ principal: _ngrx_signals.DeepSignal<_sinequa_atomic.Principal>;
10521
+ userOverrideActive: _angular_core.Signal<boolean>;
10522
+ allowUserOverride: _angular_core.Signal<boolean>;
10523
+ isOverridingUser: _angular_core.Signal<boolean>;
10524
+ initialize: () => Promise<void>;
10525
+ } & _ngrx_signals.StateSource<{
10526
+ principal: _sinequa_atomic.Principal;
10527
+ userOverrideActive: boolean;
10528
+ }>;
10529
+ protected userSettingsStore: {
10530
+ bookmarks: _angular_core.Signal<_sinequa_atomic_angular.Bookmark[]>;
10531
+ recentSearches: _angular_core.Signal<_sinequa_atomic_angular.SearchItem[]>;
10532
+ savedSearches: _angular_core.Signal<_sinequa_atomic_angular.SearchItem[]>;
10533
+ baskets: _angular_core.Signal<_sinequa_atomic_angular.Basket[]>;
10534
+ assistants: _angular_core.Signal<Record<string, unknown>>;
10535
+ alerts: _angular_core.Signal<_sinequa_atomic_angular.Alert[]>;
10536
+ collapseAssistant?: _angular_core.Signal<boolean | undefined> | undefined;
10537
+ language?: _angular_core.Signal<string | undefined> | undefined;
10538
+ userTheme: _angular_core.Signal<"dark" | "light" | "system" | undefined>;
10539
+ isDarkMode: _angular_core.Signal<boolean>;
10540
+ updateBookmarks: (bookmarks: _sinequa_atomic_angular.UserSettingsState["bookmarks"], auditEvents?: _sinequa_atomic.AuditEvents) => Promise<void>;
10541
+ bookmark: (article: _sinequa_atomic.Article, queryName?: string) => Promise<void>;
10542
+ unbookmark: (id: string) => Promise<void>;
10543
+ isBookmarked: (article: Partial<_sinequa_atomic.Article>) => boolean;
10544
+ toggleBookmark: (article: _sinequa_atomic.Article) => Promise<void>;
10545
+ deleteRecentSearch: (index: number) => Promise<void>;
10546
+ updateRecentSearches: (recentSearches: _sinequa_atomic_angular.UserSettingsState["recentSearches"], auditEvents?: _sinequa_atomic.AuditEvents) => Promise<void>;
10547
+ addCurrentSearch: (queryParams: _sinequa_atomic.QueryParams) => Promise<void>;
10548
+ deleteSavedSearch: (index: number) => Promise<void>;
10549
+ updateSavedSearches: (savedSearches: _sinequa_atomic_angular.UserSettingsState["savedSearches"]) => Promise<void>;
10550
+ getSavedSearch: (search: string) => _sinequa_atomic_angular.SearchItem | undefined;
10551
+ deleteBasket: (index: number) => Promise<void>;
10552
+ createBasket: (basket: _sinequa_atomic_angular.Basket) => Promise<void>;
10553
+ updateBaskets: (baskets: _sinequa_atomic_angular.UserSettingsState["baskets"]) => Promise<void>;
10554
+ updateBasket: (basket: _sinequa_atomic_angular.Basket, index: number) => Promise<void>;
10555
+ addToBasket: (name: string, ids: string | string[]) => Promise<void>;
10556
+ removeFromBasket: (name: string, ids: string | string[]) => Promise<void>;
10557
+ updateAssistantSettings: (assistantSettings: _sinequa_atomic_angular.UserSettingsState["assistants"]) => Promise<void>;
10558
+ updateLanguage: (language: _sinequa_atomic_angular.UserSettingsState["language"], auditEvents?: _sinequa_atomic.AuditEvents) => Promise<void>;
10559
+ updateAssistantCollapsed: (collapseAssistant: _sinequa_atomic_angular.UserSettingsState["collapseAssistant"], auditEvents?: _sinequa_atomic.AuditEvents) => Promise<void>;
10560
+ initialize: () => Promise<void>;
10561
+ reset: () => Promise<void>;
10562
+ deleteAlert: (index: number) => Promise<void>;
10563
+ createAlert: (alert: _sinequa_atomic_angular.Alert) => Promise<void>;
10564
+ updateAlert: (alert: _sinequa_atomic_angular.Alert, index: number) => Promise<void>;
10565
+ updateAlerts: (alerts: _sinequa_atomic_angular.Alert[]) => Promise<void>;
10566
+ setUserTheme: (userTheme: "dark" | "light" | "system") => Promise<void>;
10567
+ toggleDarkMode: () => Promise<void>;
10568
+ } & _ngrx_signals.StateSource<{
10569
+ bookmarks: _sinequa_atomic_angular.Bookmark[];
10570
+ recentSearches: _sinequa_atomic_angular.SearchItem[];
10571
+ savedSearches: _sinequa_atomic_angular.SearchItem[];
10572
+ baskets: _sinequa_atomic_angular.Basket[];
10573
+ assistants: Record<string, unknown>;
10574
+ alerts: _sinequa_atomic_angular.Alert[];
10575
+ collapseAssistant?: boolean | undefined;
10576
+ language?: string | undefined;
10577
+ userTheme: "dark" | "light" | "system";
10578
+ }>;
10579
+ protected userProfileService: UserProfileService;
10580
+ private readonly transloco;
10581
+ readonly createInputElement: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
10582
+ dataKeys: string[];
10583
+ readonly initials: _angular_core.Signal<string | undefined>;
10584
+ propertyToEdit: _angular_core.WritableSignal<string | undefined>;
10585
+ value: _angular_core.ModelSignal<string | number | boolean | undefined>;
10586
+ currentLanguage: _angular_core.ModelSignal<string | undefined>;
10587
+ AllLanguages: {
10588
+ code: SupportedLanguage;
10589
+ label: string;
10590
+ icon: Type<unknown>;
10591
+ }[];
10592
+ changingPassword: _angular_core.WritableSignal<boolean>;
10593
+ principal: _angular_core.Signal<_sinequa_atomic.Principal>;
10594
+ constructor();
10595
+ protected userProfileResource: _angular_common_http.HttpResourceRef<_sinequa_atomic.UserProfile | undefined>;
10596
+ readonly userProfile: _angular_core.WritableSignal<_sinequa_atomic.UserProfile | undefined>;
10597
+ createUserProfile(): Promise<void>;
10598
+ /**
10599
+ * On editing a value, we save its former value to set it back in case of error
10600
+ *
10601
+ * @param category data or customData
10602
+ * @param propertyName property name
10603
+ */
10604
+ onEdit(propertyName: string): void;
10605
+ /**
10606
+ * On data property deletion, for now we make the property an empty string
10607
+ *
10608
+ * @param propertyName property name
10609
+ */
10610
+ onDeleteData(propertyName: string): void;
10611
+ /**
10612
+ * Saving a data property
10613
+ *
10614
+ * @param propertyName property name
10615
+ */
10616
+ onSaveData(propertyName: string): Promise<void>;
10617
+ /**
10618
+ * Get the value of a data key
10619
+ *
10620
+ * @param key property key
10621
+ * @returns the value
10622
+ */
10623
+ getDataValue(key: string): any;
10624
+ /**
10625
+ * TODO: how do we save the picture?
10626
+ *
10627
+ * @param event
10628
+ */
10629
+ uploadAvatar(event: Event): void;
10630
+ /**
10631
+ * Change the app language
10632
+ */
10633
+ changeLanguage(): void;
10634
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserProfileFormComponent, never>;
10635
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserProfileFormComponent, "user-profile-form, UserProfileForm, userprofileform", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "currentLanguage": { "alias": "currentLanguage"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "currentLanguage": "currentLanguageChange"; }, never, never, true, never>;
10636
+ }
10637
+
10471
10638
  /**
10472
10639
  * Returns a guard function that checks if the user is authenticated.
10473
10640
  * If the user is not authenticated, it navigates to the login page.
@@ -10730,7 +10897,7 @@ declare class SourceIconPipe implements PipeTransform {
10730
10897
  getNamedCustomizationJson: (name: string) => unknown | undefined;
10731
10898
  getAggregationIcon: (column: string) => string | undefined;
10732
10899
  getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
10733
- getAggregationCustomization: (column: string, name?: string) => _sinequa_atomic_angular.CFilter | undefined;
10900
+ getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
10734
10901
  isAssistantAllowed: (assistantName: string) => boolean;
10735
10902
  } & _ngrx_signals.StateSource<{
10736
10903
  name: string;
@@ -10942,5 +11109,5 @@ type AppFeatures = {
10942
11109
  */
10943
11110
  declare const APP_FEATURES: InjectionToken<AppFeatures>;
10944
11111
 
10945
- export { AGGREGATIONS_NAMES, AGGREGATIONS_NAMES_PRESET_DEFAULT, APP_FEATURES, AdvancedSearchComponent, AggregationComponent, AggregationsService, AggregationsStore, Alert, AlertDialog, AlertsComponent, AppService, AppStore, ApplicationService, ApplicationStore, AsideFiltersComponent, AuditFeedbackType, AuditService, AuthGuard, AuthPageComponent, AutocompleteService, BOOKMARKS_CONFIG, BOOKMARKS_OPTIONS, BackdropComponent, BackdropService, BookmarkButtonComponent, BookmarksComponent, COLLECTIONS_CONFIG, COLLECTIONS_OPTIONS, COMPONENTS_FOR_DOCUMENT_TYPE, ChangePasswordComponent, ChildMarkerDirective, CollectionsComponent, CollectionsDialog, DRAWER_COMPONENT, DRAWER_STACK_MAX_COUNT, DateComponent, DeleteCollectionDialog, DidYouMeanComponent, DocumentLocatorComponent, DrawerAdvancedFiltersComponent, DrawerComponent, DrawerNavbarComponent, DrawerPreviewComponent, DrawerService, DrawerStackComponent, DrawerStackService, DropdownInputComponent, DropdownListComponent, ErrorComponent, ExportDialog, ExportService, FILTERS_BREAKPOINT, FILTER_DATE_ALLOW_CUSTOM_RANGE, FeedbackDialogComponent, FileSizePipe, FilterButtonComponent, FiltersBarComponent, HIGHLIGHTS, HighlightWordPipe, InfinityScrollDirective, InlineWorker, JsonMethodPluginService, KeyboardNavigatorDirective, LabelService, LabelsEditDialog, LoadingComponent, MetadataComponent, MissingTermsComponent, MoreButtonComponent, MoreComponent, MultiSelectLabelsComponent, MultiSelectionToolbarComponent, NON_SEARCHABLE_COLUMNS, NON_SEARCHABLE_DEFAULTS, NavbarTabsComponent, NavigationService, NoResultComponent, OpenArticleOnCtrlEnterDirective, OperatorPipe, OverflowItemDirective, OverflowManagerDirective, OverflowStopDirective, OverrideUserDialogComponent, PREVIEW_CONFIG, PagerComponent, PasswordExpiryGuard, 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, SelectArticleOnClickDirective, SelectionHistoryService, SelectionService, SelectionStore, ShowBookmarkDirective, SignInComponent, SortSelectorComponent, SourceComponent, SourceIconPipe, SponsoredResultsComponent, SyslangPipe, THEMES, TextChunkService, ThemeProviderDirective, ThemeSelectorComponent, ThemeStore, ThemeToggleComponent, TranslocoDateImpurePipe, UserSettingsStore, applyThemeToNativeElement, auditInterceptorFn, authInterceptorFn, bodyInterceptorFn, buildQuery, debouncedSignal, errorInterceptorFn, getCurrentPath, getCurrentQueryName, getQueryNameFromRoute, processCssVars, queryNameResolver, signIn, themeColorNameToCssVariable, themeColorsToCssVariables, toastInterceptorFn, withAggregationsFeatures, withAlertsFeatures, withAppCustomizationFeatures, withAppFeatures, withApplicationFeatures, withAssistantFeatures, withBasketsFeatures, withBookmarkFeatures, withBootstrapApp, withExtractsFeatures, withFetch, withMultiSelectionFeatures, withPrincipalFeatures, withQueryParamsFeatures, withRecentSearchesFeatures, withSavedSearchesFeatures, withSelectionFeatures, withThemeBodyHook, withThemes, withThemesFeatures, withUserSettingsFeatures };
11112
+ export { AGGREGATIONS_NAMES, AGGREGATIONS_NAMES_PRESET_DEFAULT, APP_FEATURES, AdvancedSearchComponent, AggregationComponent, AggregationsService, AggregationsStore, Alert, AlertDialog, AlertsComponent, AppService, AppStore, ApplicationService, ApplicationStore, AsideFiltersComponent, AuditFeedbackType, AuditService, AuthGuard, AuthPageComponent, AutocompleteService, BOOKMARKS_CONFIG, BOOKMARKS_OPTIONS, BackdropComponent, BackdropService, BookmarkButtonComponent, BookmarksComponent, COLLECTIONS_CONFIG, COLLECTIONS_OPTIONS, COMPONENTS_FOR_DOCUMENT_TYPE, ChangePasswordComponent, ChildMarkerDirective, CollectionsComponent, CollectionsDialog, DRAWER_COMPONENT, DRAWER_STACK_MAX_COUNT, DateComponent, DeleteCollectionDialog, DidYouMeanComponent, DocumentLocatorComponent, DrawerAdvancedFiltersComponent, DrawerComponent, DrawerNavbarComponent, DrawerPreviewComponent, DrawerService, DrawerStackComponent, DrawerStackService, DropdownInputComponent, DropdownListComponent, ErrorComponent, ExportDialog, ExportService, FILTERS_BREAKPOINT, FILTER_DATE_ALLOW_CUSTOM_RANGE, FeedbackDialogComponent, FileSizePipe, FilterButtonComponent, FiltersBarComponent, HIGHLIGHTS, HighlightWordPipe, InfinityScrollDirective, InlineWorker, JsonMethodPluginService, KeyboardNavigatorDirective, LabelService, LabelsEditDialog, LoadingComponent, MetadataComponent, MissingTermsComponent, MoreButtonComponent, MoreComponent, MultiSelectLabelsComponent, MultiSelectionToolbarComponent, NON_SEARCHABLE_COLUMNS, NON_SEARCHABLE_DEFAULTS, NavbarTabsComponent, NavigationService, NoResultComponent, OpenArticleOnCtrlEnterDirective, OperatorPipe, OverflowItemDirective, OverflowManagerDirective, OverflowStopDirective, OverrideUserDialogComponent, PREVIEW_CONFIG, PagerComponent, PasswordExpiryGuard, 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, 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 };
10946
11113
  export type { AggEx, AggregationEx, AggregationListEx, AggregationListItem, AggregationTitle, AggregationTreeEx, AggregationsState, AppCJson, AppFeatures, ApplicationState, ArticleMetadata, AssistantDetails, Autocomplete, Basket, Bookmark, BookmarksConfig, CAggregation, CAggregationItem, CCAppState, CCWebServiceLabels, CFilter, CFilterEx, CFilterItem, CJ, CJson, CJsonMint, CSources, CollectionsConfig, ComponentMapping, CssVars, DocumentTypeMap, DropdownItem, ExportQueryOptions, Extract, FilterDropdown, KeyboardNavigationOnSelectionHandlers, KeyboardNavigatorOptions, LabelsConfig, MultiSelectionState, MultiSelectionToolbarVariants, PageConfiguration, PreviewEvents, PreviewHighlight, PreviewHighlightName, PreviewHighlights, PrincipalState, SearchItem, SearchOptions, SearchesConfig, SelectionHistoryEvent, SelectionState, SelectionStrategy, SideCJson, SortingChoice, Theme, ThemeBodyHookParameters, ThemeScope, ThemeStoreState, UserSettingsState };