@sinequa/atomic-angular 1.8.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/sinequa-atomic-angular.mjs +136 -128
- package/fesm2022/sinequa-atomic-angular.mjs.map +1 -1
- package/index.d.ts +265 -502
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -175,6 +175,9 @@ declare class DocumentLocatorComponent implements OnDestroy {
|
|
|
175
175
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
176
176
|
syncUrl?: boolean;
|
|
177
177
|
}) => void;
|
|
178
|
+
reset: (options?: {
|
|
179
|
+
syncUrl?: boolean;
|
|
180
|
+
}) => void;
|
|
178
181
|
getFilter: ({ field, name }: {
|
|
179
182
|
field: string | undefined;
|
|
180
183
|
name: string | undefined;
|
|
@@ -346,6 +349,9 @@ declare class MissingTermsComponent {
|
|
|
346
349
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
347
350
|
syncUrl?: boolean;
|
|
348
351
|
}) => void;
|
|
352
|
+
reset: (options?: {
|
|
353
|
+
syncUrl?: boolean;
|
|
354
|
+
}) => void;
|
|
349
355
|
getFilter: ({ field, name }: {
|
|
350
356
|
field: string | undefined;
|
|
351
357
|
name: string | undefined;
|
|
@@ -2288,6 +2294,7 @@ declare const QueryParamsStore: _angular_core.Type<{
|
|
|
2288
2294
|
clearFilters: (options?: FilterMutationOptions) => void;
|
|
2289
2295
|
clearBasket: (options?: FilterMutationOptions) => void;
|
|
2290
2296
|
patch: (params: Partial<QueryParams$1>, audit?: AuditEvents, options?: FilterMutationOptions) => void;
|
|
2297
|
+
reset: (options?: FilterMutationOptions) => void;
|
|
2291
2298
|
getFilter: ({ field, name }: {
|
|
2292
2299
|
field: string | undefined;
|
|
2293
2300
|
name: string | undefined;
|
|
@@ -2372,6 +2379,7 @@ declare function withQueryParamsFeatures(): _ngrx_signals.SignalStoreFeature<_ng
|
|
|
2372
2379
|
clearFilters: (options?: FilterMutationOptions) => void;
|
|
2373
2380
|
clearBasket: (options?: FilterMutationOptions) => void;
|
|
2374
2381
|
patch: (params: Partial<QueryParams$1>, audit?: AuditEvents, options?: FilterMutationOptions) => void;
|
|
2382
|
+
reset: (options?: FilterMutationOptions) => void;
|
|
2375
2383
|
getFilter: ({ field, name }: {
|
|
2376
2384
|
field: string | undefined;
|
|
2377
2385
|
name: string | undefined;
|
|
@@ -3147,6 +3155,9 @@ declare class AggregationsService {
|
|
|
3147
3155
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: AuditEvents, options?: {
|
|
3148
3156
|
syncUrl?: boolean;
|
|
3149
3157
|
}) => void;
|
|
3158
|
+
reset: (options?: {
|
|
3159
|
+
syncUrl?: boolean;
|
|
3160
|
+
}) => void;
|
|
3150
3161
|
getFilter: ({ field, name }: {
|
|
3151
3162
|
field: string | undefined;
|
|
3152
3163
|
name: string | undefined;
|
|
@@ -3250,6 +3261,17 @@ declare class AggregationsService {
|
|
|
3250
3261
|
column: string;
|
|
3251
3262
|
name: string;
|
|
3252
3263
|
}[];
|
|
3264
|
+
/**
|
|
3265
|
+
* Removes the aggregations flagged `hidden: true` in the `filters` custom JSON
|
|
3266
|
+
* configuration (the administrator does not want them displayed).
|
|
3267
|
+
*
|
|
3268
|
+
* Exposed for consumers that build their own aggregation list without going through
|
|
3269
|
+
* {@link getAuthorizedFilters} (e.g. the aside filters drawer).
|
|
3270
|
+
*
|
|
3271
|
+
* @param aggregations - The aggregations to filter.
|
|
3272
|
+
* @returns The aggregations that are not flagged hidden.
|
|
3273
|
+
*/
|
|
3274
|
+
rejectHidden(aggregations: Aggregation[]): Aggregation[];
|
|
3253
3275
|
/**
|
|
3254
3276
|
* Determines whether a custom JSON filter refers to the given aggregation.
|
|
3255
3277
|
*
|
|
@@ -3264,6 +3286,7 @@ declare class AggregationsService {
|
|
|
3264
3286
|
private getFilterCriteria;
|
|
3265
3287
|
private getHomepageFilterCriteria;
|
|
3266
3288
|
private getLeftOnlyFilterCriteria;
|
|
3289
|
+
private getHiddenFilterCriteria;
|
|
3267
3290
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationsService, never>;
|
|
3268
3291
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AggregationsService>;
|
|
3269
3292
|
}
|
|
@@ -3738,6 +3761,110 @@ declare class ApplicationService {
|
|
|
3738
3761
|
authorizationLevel?: string | undefined;
|
|
3739
3762
|
columnMap?: Record<string, _sinequa_atomic.CCColumn> | undefined;
|
|
3740
3763
|
}>;
|
|
3764
|
+
queryParamsStore: {
|
|
3765
|
+
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
3766
|
+
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
3767
|
+
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
3768
|
+
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
3769
|
+
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
3770
|
+
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
3771
|
+
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
3772
|
+
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
3773
|
+
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
3774
|
+
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
3775
|
+
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
3776
|
+
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
3777
|
+
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
3778
|
+
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
3779
|
+
globalRelevance?: _angular_core.Signal<number | undefined> | undefined;
|
|
3780
|
+
questionLanguage?: _angular_core.Signal<string | undefined> | undefined;
|
|
3781
|
+
questionDefaultLanguage?: _angular_core.Signal<string | undefined> | undefined;
|
|
3782
|
+
spellingCorrectionMode?: _angular_core.Signal<_sinequa_atomic.SpellingCorrectionMode | undefined> | undefined;
|
|
3783
|
+
spellingCorrectionFilter?: _angular_core.Signal<string | undefined> | undefined;
|
|
3784
|
+
documentWeight?: _angular_core.Signal<string | undefined> | undefined;
|
|
3785
|
+
textPartWeights?: _angular_core.Signal<string | undefined> | undefined;
|
|
3786
|
+
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
3787
|
+
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
3788
|
+
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
3789
|
+
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
3790
|
+
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
3791
|
+
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
3792
|
+
path?: _angular_core.Signal<string | undefined> | undefined;
|
|
3793
|
+
filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
|
|
3794
|
+
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
3795
|
+
setFromUrl: (href: string) => void;
|
|
3796
|
+
getQueryParams: () => {
|
|
3797
|
+
f?: string;
|
|
3798
|
+
p?: number;
|
|
3799
|
+
s?: string;
|
|
3800
|
+
t?: string;
|
|
3801
|
+
q?: string;
|
|
3802
|
+
b?: string;
|
|
3803
|
+
n?: string;
|
|
3804
|
+
};
|
|
3805
|
+
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
3806
|
+
syncUrl?: boolean;
|
|
3807
|
+
}) => void;
|
|
3808
|
+
updateFilter: (newFilter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
3809
|
+
syncUrl?: boolean;
|
|
3810
|
+
}) => void;
|
|
3811
|
+
removeFilter: (field?: string, options?: {
|
|
3812
|
+
syncUrl?: boolean;
|
|
3813
|
+
}) => void;
|
|
3814
|
+
removeFilterByName: (name?: string, column?: string, options?: {
|
|
3815
|
+
syncUrl?: boolean;
|
|
3816
|
+
}) => void;
|
|
3817
|
+
clearFilters: (options?: {
|
|
3818
|
+
syncUrl?: boolean;
|
|
3819
|
+
}) => void;
|
|
3820
|
+
clearBasket: (options?: {
|
|
3821
|
+
syncUrl?: boolean;
|
|
3822
|
+
}) => void;
|
|
3823
|
+
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
3824
|
+
syncUrl?: boolean;
|
|
3825
|
+
}) => void;
|
|
3826
|
+
reset: (options?: {
|
|
3827
|
+
syncUrl?: boolean;
|
|
3828
|
+
}) => void;
|
|
3829
|
+
getFilter: ({ field, name }: {
|
|
3830
|
+
field: string | undefined;
|
|
3831
|
+
name: string | undefined;
|
|
3832
|
+
}) => Partial<_sinequa_atomic.LegacyFilter & {
|
|
3833
|
+
count: number;
|
|
3834
|
+
}> | null;
|
|
3835
|
+
getQuery: () => _sinequa_atomic.Query;
|
|
3836
|
+
} & _ngrx_signals.StateSource<{
|
|
3837
|
+
text?: string | undefined;
|
|
3838
|
+
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
3839
|
+
name?: string | undefined;
|
|
3840
|
+
sort?: string | undefined;
|
|
3841
|
+
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
3842
|
+
select?: _sinequa_atomic.Select[] | undefined;
|
|
3843
|
+
open?: _sinequa_atomic.Open[] | undefined;
|
|
3844
|
+
page?: number | undefined;
|
|
3845
|
+
pageSize?: number | undefined;
|
|
3846
|
+
tab?: string | undefined;
|
|
3847
|
+
scope?: string | undefined;
|
|
3848
|
+
basket?: string | undefined;
|
|
3849
|
+
isFirstPage?: boolean | undefined;
|
|
3850
|
+
strictRefine?: boolean | undefined;
|
|
3851
|
+
globalRelevance?: number | undefined;
|
|
3852
|
+
questionLanguage?: string | undefined;
|
|
3853
|
+
questionDefaultLanguage?: string | undefined;
|
|
3854
|
+
spellingCorrectionMode?: _sinequa_atomic.SpellingCorrectionMode | undefined;
|
|
3855
|
+
spellingCorrectionFilter?: string | undefined;
|
|
3856
|
+
documentWeight?: string | undefined;
|
|
3857
|
+
textPartWeights?: string | undefined;
|
|
3858
|
+
relevanceTransforms?: string | undefined;
|
|
3859
|
+
removeDuplicates?: boolean | undefined;
|
|
3860
|
+
queryId?: string | undefined;
|
|
3861
|
+
orderBy?: string | undefined;
|
|
3862
|
+
groupBy?: string | undefined;
|
|
3863
|
+
neuralSearch?: boolean | undefined;
|
|
3864
|
+
path?: string | undefined;
|
|
3865
|
+
filters: _sinequa_atomic.LegacyFilter[];
|
|
3866
|
+
id?: string | undefined;
|
|
3867
|
+
}>;
|
|
3741
3868
|
router: Router;
|
|
3742
3869
|
titleService: Title;
|
|
3743
3870
|
components: ComponentMapping[];
|
|
@@ -3758,6 +3885,8 @@ declare class ApplicationService {
|
|
|
3758
3885
|
* Initializes the application stores.
|
|
3759
3886
|
* - Fetches the application configuration.
|
|
3760
3887
|
* - Sets the fetched application configuration in the app store.
|
|
3888
|
+
* - Resets the query params store (runs on first login as well as on every subsequent
|
|
3889
|
+
* re-initialization, e.g. user override, so no previous user's search state leaks in).
|
|
3761
3890
|
* - Loads the user settings and logs the state of the user settings store.
|
|
3762
3891
|
*/
|
|
3763
3892
|
initializeStores(): Promise<void>;
|
|
@@ -4975,6 +5104,9 @@ declare class PreviewService {
|
|
|
4975
5104
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: AuditEvents, options?: {
|
|
4976
5105
|
syncUrl?: boolean;
|
|
4977
5106
|
}) => void;
|
|
5107
|
+
reset: (options?: {
|
|
5108
|
+
syncUrl?: boolean;
|
|
5109
|
+
}) => void;
|
|
4978
5110
|
getFilter: ({ field, name }: {
|
|
4979
5111
|
field: string | undefined;
|
|
4980
5112
|
name: string | undefined;
|
|
@@ -5624,6 +5756,9 @@ declare class SavedSearchesService {
|
|
|
5624
5756
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
5625
5757
|
syncUrl?: boolean;
|
|
5626
5758
|
}) => void;
|
|
5759
|
+
reset: (options?: {
|
|
5760
|
+
syncUrl?: boolean;
|
|
5761
|
+
}) => void;
|
|
5627
5762
|
getFilter: ({ field, name }: {
|
|
5628
5763
|
field: string | undefined;
|
|
5629
5764
|
name: string | undefined;
|
|
@@ -5779,6 +5914,9 @@ declare class SearchService {
|
|
|
5779
5914
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: AuditEvents, options?: {
|
|
5780
5915
|
syncUrl?: boolean;
|
|
5781
5916
|
}) => void;
|
|
5917
|
+
reset: (options?: {
|
|
5918
|
+
syncUrl?: boolean;
|
|
5919
|
+
}) => void;
|
|
5782
5920
|
getFilter: ({ field, name }: {
|
|
5783
5921
|
field: string | undefined;
|
|
5784
5922
|
name: string | undefined;
|
|
@@ -5984,6 +6122,9 @@ declare class SelectionService {
|
|
|
5984
6122
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
5985
6123
|
syncUrl?: boolean;
|
|
5986
6124
|
}) => void;
|
|
6125
|
+
reset: (options?: {
|
|
6126
|
+
syncUrl?: boolean;
|
|
6127
|
+
}) => void;
|
|
5987
6128
|
getFilter: ({ field, name }: {
|
|
5988
6129
|
field: string | undefined;
|
|
5989
6130
|
name: string | undefined;
|
|
@@ -7418,6 +7559,9 @@ declare class SponsoredResultsComponent {
|
|
|
7418
7559
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
7419
7560
|
syncUrl?: boolean;
|
|
7420
7561
|
}) => void;
|
|
7562
|
+
reset: (options?: {
|
|
7563
|
+
syncUrl?: boolean;
|
|
7564
|
+
}) => void;
|
|
7421
7565
|
getFilter: ({ field, name }: {
|
|
7422
7566
|
field: string | undefined;
|
|
7423
7567
|
name: string | undefined;
|
|
@@ -7822,6 +7966,9 @@ declare class AggregationDateComponent {
|
|
|
7822
7966
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
7823
7967
|
syncUrl?: boolean;
|
|
7824
7968
|
}) => void;
|
|
7969
|
+
reset: (options?: {
|
|
7970
|
+
syncUrl?: boolean;
|
|
7971
|
+
}) => void;
|
|
7825
7972
|
getFilter: ({ field, name }: {
|
|
7826
7973
|
field: string | undefined;
|
|
7827
7974
|
name: string | undefined;
|
|
@@ -8040,6 +8187,9 @@ declare class AdvancedSearch {
|
|
|
8040
8187
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
8041
8188
|
syncUrl?: boolean;
|
|
8042
8189
|
}) => void;
|
|
8190
|
+
reset: (options?: {
|
|
8191
|
+
syncUrl?: boolean;
|
|
8192
|
+
}) => void;
|
|
8043
8193
|
getFilter: ({ field, name }: {
|
|
8044
8194
|
field: string | undefined;
|
|
8045
8195
|
name: string | undefined;
|
|
@@ -8526,6 +8676,9 @@ declare class ArticleSimilarDocuments {
|
|
|
8526
8676
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
8527
8677
|
syncUrl?: boolean;
|
|
8528
8678
|
}) => void;
|
|
8679
|
+
reset: (options?: {
|
|
8680
|
+
syncUrl?: boolean;
|
|
8681
|
+
}) => void;
|
|
8529
8682
|
getFilter: ({ field, name }: {
|
|
8530
8683
|
field: string | undefined;
|
|
8531
8684
|
name: string | undefined;
|
|
@@ -9307,6 +9460,9 @@ declare class AdvancedSearchComponent {
|
|
|
9307
9460
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
9308
9461
|
syncUrl?: boolean;
|
|
9309
9462
|
}) => void;
|
|
9463
|
+
reset: (options?: {
|
|
9464
|
+
syncUrl?: boolean;
|
|
9465
|
+
}) => void;
|
|
9310
9466
|
getFilter: ({ field, name }: {
|
|
9311
9467
|
field: string | undefined;
|
|
9312
9468
|
name: string | undefined;
|
|
@@ -9785,6 +9941,9 @@ declare class DrawerPreviewComponent extends DrawerComponent {
|
|
|
9785
9941
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
9786
9942
|
syncUrl?: boolean;
|
|
9787
9943
|
}) => void;
|
|
9944
|
+
reset: (options?: {
|
|
9945
|
+
syncUrl?: boolean;
|
|
9946
|
+
}) => void;
|
|
9788
9947
|
getFilter: ({ field, name }: {
|
|
9789
9948
|
field: string | undefined;
|
|
9790
9949
|
name: string | undefined;
|
|
@@ -9997,6 +10156,9 @@ declare class ExportDialog implements DialogInterface {
|
|
|
9997
10156
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
9998
10157
|
syncUrl?: boolean;
|
|
9999
10158
|
}) => void;
|
|
10159
|
+
reset: (options?: {
|
|
10160
|
+
syncUrl?: boolean;
|
|
10161
|
+
}) => void;
|
|
10000
10162
|
getFilter: ({ field, name }: {
|
|
10001
10163
|
field: string | undefined;
|
|
10002
10164
|
name: string | undefined;
|
|
@@ -10453,6 +10615,9 @@ declare class SearchFeedbackComponent {
|
|
|
10453
10615
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
10454
10616
|
syncUrl?: boolean;
|
|
10455
10617
|
}) => void;
|
|
10618
|
+
reset: (options?: {
|
|
10619
|
+
syncUrl?: boolean;
|
|
10620
|
+
}) => void;
|
|
10456
10621
|
getFilter: ({ field, name }: {
|
|
10457
10622
|
field: string | undefined;
|
|
10458
10623
|
name: string | undefined;
|
|
@@ -10665,6 +10830,9 @@ declare class AggregationTreeComponent {
|
|
|
10665
10830
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
10666
10831
|
syncUrl?: boolean;
|
|
10667
10832
|
}) => void;
|
|
10833
|
+
reset: (options?: {
|
|
10834
|
+
syncUrl?: boolean;
|
|
10835
|
+
}) => void;
|
|
10668
10836
|
getFilter: ({ field, name }: {
|
|
10669
10837
|
field: string | undefined;
|
|
10670
10838
|
name: string | undefined;
|
|
@@ -11229,6 +11397,9 @@ declare class AggregationListComponent {
|
|
|
11229
11397
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
11230
11398
|
syncUrl?: boolean;
|
|
11231
11399
|
}) => void;
|
|
11400
|
+
reset: (options?: {
|
|
11401
|
+
syncUrl?: boolean;
|
|
11402
|
+
}) => void;
|
|
11232
11403
|
getFilter: ({ field, name }: {
|
|
11233
11404
|
field: string | undefined;
|
|
11234
11405
|
name: string | undefined;
|
|
@@ -12152,18 +12323,37 @@ declare class AggregationPanelComponent {
|
|
|
12152
12323
|
declare class AsideFiltersComponent {
|
|
12153
12324
|
cn: typeof cn;
|
|
12154
12325
|
class: _angular_core.InputSignal<string | undefined>;
|
|
12155
|
-
position: _angular_core.InputSignal<"left" | "both" | undefined>;
|
|
12156
|
-
private readonly appStore;
|
|
12157
|
-
asideFilters: _angular_core.Signal<Aggregation[]>;
|
|
12158
12326
|
/**
|
|
12159
|
-
*
|
|
12327
|
+
* Explicit, developer-defined list of aggregations to display.
|
|
12160
12328
|
*
|
|
12161
|
-
*
|
|
12162
|
-
*
|
|
12329
|
+
* Each entry is an aggregation **name** (preferred) or **column** — e.g.
|
|
12330
|
+
* `['Authors', 'Sources', 'Geo']`. Although typed as `string[]`, this is the list of
|
|
12331
|
+
* aggregations to render, not a list of raw column keys.
|
|
12332
|
+
*
|
|
12333
|
+
* When provided, it fully bypasses the JSON `filters` configuration (neither
|
|
12334
|
+
* `position`, `getAuthorized`, nor the admin `hidden` rule are applied): the listed
|
|
12335
|
+
* aggregations are rendered as-is, in the given order, provided they exist in the
|
|
12336
|
+
* {@link AggregationsStore}. When empty (default), the component falls back to the
|
|
12337
|
+
* JSON-driven behavior (`position: 'left' | 'both'`, excluding `hidden` aggregations).
|
|
12338
|
+
*
|
|
12339
|
+
* Resolution tries by `name` first — the canonical, unambiguous identifier, since a
|
|
12340
|
+
* `column` can be shared by several aggregations with distinct names — then falls back
|
|
12341
|
+
* to the first aggregation matching the given column. Prefer passing names.
|
|
12163
12342
|
*/
|
|
12164
|
-
|
|
12343
|
+
aggregations: _angular_core.InputSignal<string[]>;
|
|
12344
|
+
/**
|
|
12345
|
+
* When `true` (default), every section shares the same `id`, producing a native
|
|
12346
|
+
* `<details name>` accordion where a single section is open at a time. When `false`,
|
|
12347
|
+
* each section gets a unique id (based on the aggregation `name`) and expands
|
|
12348
|
+
* independently — closer to a typical SBA v2 "Facets List".
|
|
12349
|
+
*/
|
|
12350
|
+
exclusive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
12351
|
+
private readonly appStore;
|
|
12352
|
+
private readonly aggregationsStore;
|
|
12353
|
+
private readonly aggregationsService;
|
|
12354
|
+
asideFilters: _angular_core.Signal<Pick<Aggregation, "column" | "name">[]>;
|
|
12165
12355
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AsideFiltersComponent, never>;
|
|
12166
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AsideFiltersComponent, "aside-filters, AsideFilters, asidefilters", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "
|
|
12356
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AsideFiltersComponent, "aside-filters, AsideFilters, asidefilters", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "aggregations": { "alias": "aggregations"; "required": false; "isSignal": true; }; "exclusive": { "alias": "exclusive"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12167
12357
|
}
|
|
12168
12358
|
|
|
12169
12359
|
type CFilterEx = CFilter & {
|
|
@@ -12256,6 +12446,9 @@ declare class FilterButtonComponent {
|
|
|
12256
12446
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
12257
12447
|
syncUrl?: boolean;
|
|
12258
12448
|
}) => void;
|
|
12449
|
+
reset: (options?: {
|
|
12450
|
+
syncUrl?: boolean;
|
|
12451
|
+
}) => void;
|
|
12259
12452
|
getFilter: ({ field, name }: {
|
|
12260
12453
|
field: string | undefined;
|
|
12261
12454
|
name: string | undefined;
|
|
@@ -13000,6 +13193,9 @@ declare class MoreButtonComponent {
|
|
|
13000
13193
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
13001
13194
|
syncUrl?: boolean;
|
|
13002
13195
|
}) => void;
|
|
13196
|
+
reset: (options?: {
|
|
13197
|
+
syncUrl?: boolean;
|
|
13198
|
+
}) => void;
|
|
13003
13199
|
getFilter: ({ field, name }: {
|
|
13004
13200
|
field: string | undefined;
|
|
13005
13201
|
name: string | undefined;
|
|
@@ -13507,6 +13703,9 @@ declare class FiltersBarComponent {
|
|
|
13507
13703
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
13508
13704
|
syncUrl?: boolean;
|
|
13509
13705
|
}) => void;
|
|
13706
|
+
reset: (options?: {
|
|
13707
|
+
syncUrl?: boolean;
|
|
13708
|
+
}) => void;
|
|
13510
13709
|
getFilter: ({ field, name }: {
|
|
13511
13710
|
field: string | undefined;
|
|
13512
13711
|
name: string | undefined;
|
|
@@ -13633,12 +13832,59 @@ declare class FiltersBarComponent {
|
|
|
13633
13832
|
}
|
|
13634
13833
|
|
|
13635
13834
|
declare class MoreComponent {
|
|
13636
|
-
cn: typeof cn;
|
|
13637
13835
|
count: _angular_core.InputSignal<number>;
|
|
13638
13836
|
includedFilters: _angular_core.InputSignal<string[]>;
|
|
13639
13837
|
excludedFilters: _angular_core.InputSignal<string[]>;
|
|
13640
13838
|
aggregations: _angular_core.InputSignal<Aggregation[] | undefined>;
|
|
13641
13839
|
homepage: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
13840
|
+
aggregationsService: AggregationsService;
|
|
13841
|
+
/**
|
|
13842
|
+
* The overflow filters rendered as accordions: the authorized filters beyond the
|
|
13843
|
+
* first `count` (which are already shown in the bar).
|
|
13844
|
+
*
|
|
13845
|
+
* @remarks
|
|
13846
|
+
* Pure display wiring — authorization (and the admin `hidden` rule) is handled by
|
|
13847
|
+
* {@link AggregationsService.getAuthorizedFilters}; `toSpliced` just drops the
|
|
13848
|
+
* filters already shown in the bar.
|
|
13849
|
+
*/
|
|
13850
|
+
filters: _angular_core.Signal<{
|
|
13851
|
+
field: string;
|
|
13852
|
+
column: string;
|
|
13853
|
+
name: string;
|
|
13854
|
+
}[]>;
|
|
13855
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MoreComponent, never>;
|
|
13856
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MoreComponent, "more, More", never, { "count": { "alias": "count"; "required": false; "isSignal": true; }; "includedFilters": { "alias": "includedFilters"; "required": false; "isSignal": true; }; "excludedFilters": { "alias": "excludedFilters"; "required": false; "isSignal": true; }; "aggregations": { "alias": "aggregations"; "required": false; "isSignal": true; }; "homepage": { "alias": "homepage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13857
|
+
}
|
|
13858
|
+
|
|
13859
|
+
/**
|
|
13860
|
+
* Injection token that indicates whether custom date ranges are allowed.
|
|
13861
|
+
*
|
|
13862
|
+
* @remarks
|
|
13863
|
+
* This token is used to configure the date component to allow users to select custom date ranges.
|
|
13864
|
+
*
|
|
13865
|
+
* @example
|
|
13866
|
+
* ```typescript
|
|
13867
|
+
* providers: [
|
|
13868
|
+
* { provide: FILTER_DATE_ALLOW_CUSTOM_RANGE, useValue: false }
|
|
13869
|
+
* ]
|
|
13870
|
+
* ```
|
|
13871
|
+
*
|
|
13872
|
+
* @public
|
|
13873
|
+
*/
|
|
13874
|
+
declare const FILTER_DATE_ALLOW_CUSTOM_RANGE: InjectionToken<boolean>;
|
|
13875
|
+
|
|
13876
|
+
declare const FILTERS_BREAKPOINT: InjectionToken<number>;
|
|
13877
|
+
|
|
13878
|
+
interface LabelsConfig {
|
|
13879
|
+
allowPublicLabelsCreation?: boolean;
|
|
13880
|
+
allowPublicLabelsModification?: boolean;
|
|
13881
|
+
privateLabelsField?: string;
|
|
13882
|
+
publicLabelsField?: string;
|
|
13883
|
+
defaultPublicLabels?: string;
|
|
13884
|
+
labelsAutoSuggestMaxCount?: string;
|
|
13885
|
+
labelsAutoSuggestWildcard?: string;
|
|
13886
|
+
}
|
|
13887
|
+
declare class LabelService {
|
|
13642
13888
|
appStore: {
|
|
13643
13889
|
name: _angular_core.Signal<string>;
|
|
13644
13890
|
description?: _angular_core.Signal<string | undefined> | undefined;
|
|
@@ -13649,7 +13895,7 @@ declare class MoreComponent {
|
|
|
13649
13895
|
_: _sinequa_atomic.CCIndex;
|
|
13650
13896
|
} & Record<string, _sinequa_atomic.CCIndex>>;
|
|
13651
13897
|
lists: _angular_core.Signal<Record<string, _sinequa_atomic.CCList>>;
|
|
13652
|
-
webServices: _angular_core.Signal<Record<string,
|
|
13898
|
+
webServices: _angular_core.Signal<Record<string, CCWebService>>;
|
|
13653
13899
|
queryNames: _angular_core.Signal<string>;
|
|
13654
13900
|
labels: _angular_core.Signal<string>;
|
|
13655
13901
|
preview: _angular_core.Signal<string>;
|
|
@@ -13757,7 +14003,7 @@ declare class MoreComponent {
|
|
|
13757
14003
|
columnMap?: _angular_core.Signal<Record<string, _sinequa_atomic.CCColumn> | undefined> | undefined;
|
|
13758
14004
|
customizationJson: _angular_core.Signal<_sinequa_atomic_angular.CJsonMint>;
|
|
13759
14005
|
sources: _angular_core.Signal<_sinequa_atomic_angular.CSources>;
|
|
13760
|
-
filters: _angular_core.Signal<CFilter[]>;
|
|
14006
|
+
filters: _angular_core.Signal<_sinequa_atomic_angular.CFilter[]>;
|
|
13761
14007
|
general: _angular_core.Signal<{
|
|
13762
14008
|
name?: string;
|
|
13763
14009
|
logo?: {
|
|
@@ -13813,7 +14059,7 @@ declare class MoreComponent {
|
|
|
13813
14059
|
initialize: () => Promise<void>;
|
|
13814
14060
|
initializeWithAppName: (appName: string) => Promise<void>;
|
|
13815
14061
|
update: (app: Partial<_sinequa_atomic_angular.CCAppState>) => void;
|
|
13816
|
-
getWebServiceByType: (type:
|
|
14062
|
+
getWebServiceByType: (type: CCWebService["webServiceType"]) => CCWebService | undefined;
|
|
13817
14063
|
getLabels: () => {
|
|
13818
14064
|
private: string;
|
|
13819
14065
|
public: string;
|
|
@@ -13829,12 +14075,12 @@ declare class MoreComponent {
|
|
|
13829
14075
|
isDateColumn: (column: string) => boolean;
|
|
13830
14076
|
isTabSearch: (queryName: string) => boolean;
|
|
13831
14077
|
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
13832
|
-
getAuthorizedFilters: () => Aggregation[];
|
|
13833
|
-
getAuthorized: (filters: Pick<CFilter, "column" | "name">[]) => Aggregation[];
|
|
14078
|
+
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
14079
|
+
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
13834
14080
|
getNamedCustomizationJson: (name: string) => unknown | undefined;
|
|
13835
14081
|
getAggregationIcon: (column: string) => string | undefined;
|
|
13836
14082
|
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
13837
|
-
getAggregationCustomization: (aggColumn: string, aggName?: string) => CFilter | undefined;
|
|
14083
|
+
getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
|
|
13838
14084
|
isAssistantAllowed: (assistantName: string) => boolean;
|
|
13839
14085
|
isAgentAllowed: (agentName: string) => boolean;
|
|
13840
14086
|
} & _ngrx_signals.StateSource<{
|
|
@@ -13847,493 +14093,7 @@ declare class MoreComponent {
|
|
|
13847
14093
|
_: _sinequa_atomic.CCIndex;
|
|
13848
14094
|
} & Record<string, _sinequa_atomic.CCIndex>;
|
|
13849
14095
|
lists: Record<string, _sinequa_atomic.CCList>;
|
|
13850
|
-
webServices: Record<string,
|
|
13851
|
-
queryNames: string;
|
|
13852
|
-
labels: string;
|
|
13853
|
-
preview: string;
|
|
13854
|
-
autocomplete: string;
|
|
13855
|
-
sponsoredLinks: string;
|
|
13856
|
-
queryExport: string;
|
|
13857
|
-
queryRssEnabled: boolean;
|
|
13858
|
-
data: Record<string, unknown> & _sinequa_atomic_angular.CJson & {
|
|
13859
|
-
filters?: _sinequa_atomic_angular.CAggregation[];
|
|
13860
|
-
autocomplete?: _sinequa_atomic_angular.Autocomplete;
|
|
13861
|
-
tabs?: Record<string, {
|
|
13862
|
-
filters: string[];
|
|
13863
|
-
overviews?: Record<string, {
|
|
13864
|
-
minRelevance: number;
|
|
13865
|
-
}>;
|
|
13866
|
-
}>;
|
|
13867
|
-
sources?: _sinequa_atomic_angular.CSources;
|
|
13868
|
-
features?: {
|
|
13869
|
-
[key: string]: boolean | {
|
|
13870
|
-
[key: string]: string | boolean | string[] | undefined;
|
|
13871
|
-
} | undefined;
|
|
13872
|
-
allowChangePassword?: boolean;
|
|
13873
|
-
editablepartition?: boolean;
|
|
13874
|
-
advancedSearch?: boolean;
|
|
13875
|
-
allowChatDrawer?: boolean;
|
|
13876
|
-
filterLinkChildren?: boolean;
|
|
13877
|
-
expandPreview?: boolean;
|
|
13878
|
-
quickFilter?: boolean;
|
|
13879
|
-
showAggregationItemCount?: boolean;
|
|
13880
|
-
assistant?: {
|
|
13881
|
-
usePrefixName?: boolean;
|
|
13882
|
-
};
|
|
13883
|
-
filters?: {
|
|
13884
|
-
homepage?: boolean;
|
|
13885
|
-
};
|
|
13886
|
-
userProfile?: {
|
|
13887
|
-
enabled?: boolean;
|
|
13888
|
-
data?: string[];
|
|
13889
|
-
customData?: string[];
|
|
13890
|
-
};
|
|
13891
|
-
previewMultiConversion?: boolean;
|
|
13892
|
-
persistFiltersAcrossTabs?: boolean;
|
|
13893
|
-
};
|
|
13894
|
-
allowAdvancedFilters?: boolean;
|
|
13895
|
-
general?: {
|
|
13896
|
-
name?: string;
|
|
13897
|
-
logo?: {
|
|
13898
|
-
alt?: string;
|
|
13899
|
-
light?: {
|
|
13900
|
-
small?: string;
|
|
13901
|
-
large?: string;
|
|
13902
|
-
sidebar?: string;
|
|
13903
|
-
};
|
|
13904
|
-
dark?: {
|
|
13905
|
-
small?: string;
|
|
13906
|
-
large?: string;
|
|
13907
|
-
sidebar?: string;
|
|
13908
|
-
};
|
|
13909
|
-
};
|
|
13910
|
-
features?: {
|
|
13911
|
-
[key: string]: boolean | {
|
|
13912
|
-
[key: string]: string | boolean | string[] | undefined;
|
|
13913
|
-
} | undefined;
|
|
13914
|
-
allowChangePassword?: boolean;
|
|
13915
|
-
editablepartition?: boolean;
|
|
13916
|
-
advancedSearch?: boolean;
|
|
13917
|
-
allowChatDrawer?: boolean;
|
|
13918
|
-
filterLinkChildren?: boolean;
|
|
13919
|
-
expandPreview?: boolean;
|
|
13920
|
-
quickFilter?: boolean;
|
|
13921
|
-
showAggregationItemCount?: boolean;
|
|
13922
|
-
assistant?: {
|
|
13923
|
-
usePrefixName?: boolean;
|
|
13924
|
-
};
|
|
13925
|
-
filters?: {
|
|
13926
|
-
homepage?: boolean;
|
|
13927
|
-
};
|
|
13928
|
-
userProfile?: {
|
|
13929
|
-
enabled?: boolean;
|
|
13930
|
-
data?: string[];
|
|
13931
|
-
customData?: string[];
|
|
13932
|
-
};
|
|
13933
|
-
previewMultiConversion?: boolean;
|
|
13934
|
-
persistFiltersAcrossTabs?: boolean;
|
|
13935
|
-
};
|
|
13936
|
-
converters?: _sinequa_atomic_angular.CConverter[];
|
|
13937
|
-
feedback?: _sinequa_atomic_angular.CFeedback;
|
|
13938
|
-
};
|
|
13939
|
-
documentsUploadSettings?: {
|
|
13940
|
-
enabled?: boolean;
|
|
13941
|
-
};
|
|
13942
|
-
};
|
|
13943
|
-
customJSONs: {
|
|
13944
|
-
name: string;
|
|
13945
|
-
data: Record<string, unknown>;
|
|
13946
|
-
}[] & _sinequa_atomic_angular.SideCJson[];
|
|
13947
|
-
apiVersion: string;
|
|
13948
|
-
workspaceApp: string;
|
|
13949
|
-
defaultQueryName: string;
|
|
13950
|
-
auditEnabled?: boolean | undefined;
|
|
13951
|
-
dataSets?: string | undefined;
|
|
13952
|
-
revision?: number | undefined;
|
|
13953
|
-
runnableModels?: string | undefined;
|
|
13954
|
-
authorizationLevel?: string | undefined;
|
|
13955
|
-
columnMap?: Record<string, _sinequa_atomic.CCColumn> | undefined;
|
|
13956
|
-
}>;
|
|
13957
|
-
aggregationsStore: {
|
|
13958
|
-
aggregations: _angular_core.Signal<Aggregation[]>;
|
|
13959
|
-
update: (aggregations: Aggregation[]) => void;
|
|
13960
|
-
updateAggregation: (aggregation: Aggregation) => void;
|
|
13961
|
-
clear: () => void;
|
|
13962
|
-
getAggregation: (name: string, kind?: "column" | "name") => Aggregation | undefined;
|
|
13963
|
-
} & _ngrx_signals.StateSource<{
|
|
13964
|
-
aggregations: Aggregation[];
|
|
13965
|
-
}>;
|
|
13966
|
-
queryParamsStore: {
|
|
13967
|
-
text?: _angular_core.Signal<string | undefined> | undefined;
|
|
13968
|
-
aggregations?: _angular_core.Signal<string[] | Record<string, _sinequa_atomic.AggregationOptions> | undefined> | undefined;
|
|
13969
|
-
name?: _angular_core.Signal<string | undefined> | undefined;
|
|
13970
|
-
sort?: _angular_core.Signal<string | undefined> | undefined;
|
|
13971
|
-
action?: _angular_core.Signal<"" | "open" | "search" | "aggregate" | undefined> | undefined;
|
|
13972
|
-
select?: _angular_core.Signal<_sinequa_atomic.Select[] | undefined> | undefined;
|
|
13973
|
-
open?: _angular_core.Signal<_sinequa_atomic.Open[] | undefined> | undefined;
|
|
13974
|
-
page?: _angular_core.Signal<number | undefined> | undefined;
|
|
13975
|
-
pageSize?: _angular_core.Signal<number | undefined> | undefined;
|
|
13976
|
-
tab?: _angular_core.Signal<string | undefined> | undefined;
|
|
13977
|
-
scope?: _angular_core.Signal<string | undefined> | undefined;
|
|
13978
|
-
basket?: _angular_core.Signal<string | undefined> | undefined;
|
|
13979
|
-
isFirstPage?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
13980
|
-
strictRefine?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
13981
|
-
globalRelevance?: _angular_core.Signal<number | undefined> | undefined;
|
|
13982
|
-
questionLanguage?: _angular_core.Signal<string | undefined> | undefined;
|
|
13983
|
-
questionDefaultLanguage?: _angular_core.Signal<string | undefined> | undefined;
|
|
13984
|
-
spellingCorrectionMode?: _angular_core.Signal<_sinequa_atomic.SpellingCorrectionMode | undefined> | undefined;
|
|
13985
|
-
spellingCorrectionFilter?: _angular_core.Signal<string | undefined> | undefined;
|
|
13986
|
-
documentWeight?: _angular_core.Signal<string | undefined> | undefined;
|
|
13987
|
-
textPartWeights?: _angular_core.Signal<string | undefined> | undefined;
|
|
13988
|
-
relevanceTransforms?: _angular_core.Signal<string | undefined> | undefined;
|
|
13989
|
-
removeDuplicates?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
13990
|
-
queryId?: _angular_core.Signal<string | undefined> | undefined;
|
|
13991
|
-
orderBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
13992
|
-
groupBy?: _angular_core.Signal<string | undefined> | undefined;
|
|
13993
|
-
neuralSearch?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
13994
|
-
path?: _angular_core.Signal<string | undefined> | undefined;
|
|
13995
|
-
filters: _angular_core.Signal<_sinequa_atomic.LegacyFilter[]>;
|
|
13996
|
-
id?: _angular_core.Signal<string | undefined> | undefined;
|
|
13997
|
-
setFromUrl: (href: string) => void;
|
|
13998
|
-
getQueryParams: () => {
|
|
13999
|
-
f?: string;
|
|
14000
|
-
p?: number;
|
|
14001
|
-
s?: string;
|
|
14002
|
-
t?: string;
|
|
14003
|
-
q?: string;
|
|
14004
|
-
b?: string;
|
|
14005
|
-
n?: string;
|
|
14006
|
-
};
|
|
14007
|
-
addFilter: (filter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
14008
|
-
syncUrl?: boolean;
|
|
14009
|
-
}) => void;
|
|
14010
|
-
updateFilter: (newFilter: _sinequa_atomic.LegacyFilter, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
14011
|
-
syncUrl?: boolean;
|
|
14012
|
-
}) => void;
|
|
14013
|
-
removeFilter: (field?: string, options?: {
|
|
14014
|
-
syncUrl?: boolean;
|
|
14015
|
-
}) => void;
|
|
14016
|
-
removeFilterByName: (name?: string, column?: string, options?: {
|
|
14017
|
-
syncUrl?: boolean;
|
|
14018
|
-
}) => void;
|
|
14019
|
-
clearFilters: (options?: {
|
|
14020
|
-
syncUrl?: boolean;
|
|
14021
|
-
}) => void;
|
|
14022
|
-
clearBasket: (options?: {
|
|
14023
|
-
syncUrl?: boolean;
|
|
14024
|
-
}) => void;
|
|
14025
|
-
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
14026
|
-
syncUrl?: boolean;
|
|
14027
|
-
}) => void;
|
|
14028
|
-
getFilter: ({ field, name }: {
|
|
14029
|
-
field: string | undefined;
|
|
14030
|
-
name: string | undefined;
|
|
14031
|
-
}) => Partial<_sinequa_atomic.LegacyFilter & {
|
|
14032
|
-
count: number;
|
|
14033
|
-
}> | null;
|
|
14034
|
-
getQuery: () => _sinequa_atomic.Query;
|
|
14035
|
-
} & _ngrx_signals.StateSource<{
|
|
14036
|
-
text?: string | undefined;
|
|
14037
|
-
aggregations?: (Record<string, _sinequa_atomic.AggregationOptions> | string[]) | undefined;
|
|
14038
|
-
name?: string | undefined;
|
|
14039
|
-
sort?: string | undefined;
|
|
14040
|
-
action?: "" | "search" | "open" | "aggregate" | undefined;
|
|
14041
|
-
select?: _sinequa_atomic.Select[] | undefined;
|
|
14042
|
-
open?: _sinequa_atomic.Open[] | undefined;
|
|
14043
|
-
page?: number | undefined;
|
|
14044
|
-
pageSize?: number | undefined;
|
|
14045
|
-
tab?: string | undefined;
|
|
14046
|
-
scope?: string | undefined;
|
|
14047
|
-
basket?: string | undefined;
|
|
14048
|
-
isFirstPage?: boolean | undefined;
|
|
14049
|
-
strictRefine?: boolean | undefined;
|
|
14050
|
-
globalRelevance?: number | undefined;
|
|
14051
|
-
questionLanguage?: string | undefined;
|
|
14052
|
-
questionDefaultLanguage?: string | undefined;
|
|
14053
|
-
spellingCorrectionMode?: _sinequa_atomic.SpellingCorrectionMode | undefined;
|
|
14054
|
-
spellingCorrectionFilter?: string | undefined;
|
|
14055
|
-
documentWeight?: string | undefined;
|
|
14056
|
-
textPartWeights?: string | undefined;
|
|
14057
|
-
relevanceTransforms?: string | undefined;
|
|
14058
|
-
removeDuplicates?: boolean | undefined;
|
|
14059
|
-
queryId?: string | undefined;
|
|
14060
|
-
orderBy?: string | undefined;
|
|
14061
|
-
groupBy?: string | undefined;
|
|
14062
|
-
neuralSearch?: boolean | undefined;
|
|
14063
|
-
path?: string | undefined;
|
|
14064
|
-
filters: _sinequa_atomic.LegacyFilter[];
|
|
14065
|
-
id?: string | undefined;
|
|
14066
|
-
}>;
|
|
14067
|
-
aggregationsService: AggregationsService;
|
|
14068
|
-
/**
|
|
14069
|
-
* Signal containing an array of extended filter objects.
|
|
14070
|
-
*
|
|
14071
|
-
* @remarks
|
|
14072
|
-
* This signal holds the current state of filters that can be applied to data.
|
|
14073
|
-
* The filters are of type CFilterEx[], which extends the base filter functionality.
|
|
14074
|
-
*
|
|
14075
|
-
*/
|
|
14076
|
-
filters: _angular_core.WritableSignal<CFilterEx[]>;
|
|
14077
|
-
/**
|
|
14078
|
-
* Computed property that returns an array of filters that are currently visible.
|
|
14079
|
-
* Filters out any filters where the `hidden` property is set to true.
|
|
14080
|
-
*
|
|
14081
|
-
* @returns An array of filters that are not hidden
|
|
14082
|
-
*/
|
|
14083
|
-
visibleFilters: _angular_core.Signal<CFilterEx[]>;
|
|
14084
|
-
constructor();
|
|
14085
|
-
clearFilter(field: string): void;
|
|
14086
|
-
updateFilters(): void;
|
|
14087
|
-
/**
|
|
14088
|
-
* Checks whether there are active filters for the current aggregation column.
|
|
14089
|
-
*
|
|
14090
|
-
* if True, the clear button is shown.
|
|
14091
|
-
*
|
|
14092
|
-
* @returns {boolean} `true` if the filter count for the aggregation column is greater than 0, otherwise `false`.
|
|
14093
|
-
*/
|
|
14094
|
-
hasFilters(aggregation: Aggregation): boolean;
|
|
14095
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MoreComponent, never>;
|
|
14096
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MoreComponent, "more, More", never, { "count": { "alias": "count"; "required": false; "isSignal": true; }; "includedFilters": { "alias": "includedFilters"; "required": false; "isSignal": true; }; "excludedFilters": { "alias": "excludedFilters"; "required": false; "isSignal": true; }; "aggregations": { "alias": "aggregations"; "required": false; "isSignal": true; }; "homepage": { "alias": "homepage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14097
|
-
}
|
|
14098
|
-
|
|
14099
|
-
/**
|
|
14100
|
-
* Injection token that indicates whether custom date ranges are allowed.
|
|
14101
|
-
*
|
|
14102
|
-
* @remarks
|
|
14103
|
-
* This token is used to configure the date component to allow users to select custom date ranges.
|
|
14104
|
-
*
|
|
14105
|
-
* @example
|
|
14106
|
-
* ```typescript
|
|
14107
|
-
* providers: [
|
|
14108
|
-
* { provide: FILTER_DATE_ALLOW_CUSTOM_RANGE, useValue: false }
|
|
14109
|
-
* ]
|
|
14110
|
-
* ```
|
|
14111
|
-
*
|
|
14112
|
-
* @public
|
|
14113
|
-
*/
|
|
14114
|
-
declare const FILTER_DATE_ALLOW_CUSTOM_RANGE: InjectionToken<boolean>;
|
|
14115
|
-
|
|
14116
|
-
declare const FILTERS_BREAKPOINT: InjectionToken<number>;
|
|
14117
|
-
|
|
14118
|
-
interface LabelsConfig {
|
|
14119
|
-
allowPublicLabelsCreation?: boolean;
|
|
14120
|
-
allowPublicLabelsModification?: boolean;
|
|
14121
|
-
privateLabelsField?: string;
|
|
14122
|
-
publicLabelsField?: string;
|
|
14123
|
-
defaultPublicLabels?: string;
|
|
14124
|
-
labelsAutoSuggestMaxCount?: string;
|
|
14125
|
-
labelsAutoSuggestWildcard?: string;
|
|
14126
|
-
}
|
|
14127
|
-
declare class LabelService {
|
|
14128
|
-
appStore: {
|
|
14129
|
-
name: _angular_core.Signal<string>;
|
|
14130
|
-
description?: _angular_core.Signal<string | undefined> | undefined;
|
|
14131
|
-
versionId: _angular_core.Signal<string>;
|
|
14132
|
-
queries: _angular_core.Signal<Record<string, _sinequa_atomic.CCQuery>>;
|
|
14133
|
-
rfms: _angular_core.Signal<Record<string, _sinequa_atomic.CCRFM>>;
|
|
14134
|
-
indexes: _angular_core.Signal<{
|
|
14135
|
-
_: _sinequa_atomic.CCIndex;
|
|
14136
|
-
} & Record<string, _sinequa_atomic.CCIndex>>;
|
|
14137
|
-
lists: _angular_core.Signal<Record<string, _sinequa_atomic.CCList>>;
|
|
14138
|
-
webServices: _angular_core.Signal<Record<string, CCWebService>>;
|
|
14139
|
-
queryNames: _angular_core.Signal<string>;
|
|
14140
|
-
labels: _angular_core.Signal<string>;
|
|
14141
|
-
preview: _angular_core.Signal<string>;
|
|
14142
|
-
autocomplete: _angular_core.Signal<string>;
|
|
14143
|
-
sponsoredLinks: _angular_core.Signal<string>;
|
|
14144
|
-
queryExport: _angular_core.Signal<string>;
|
|
14145
|
-
queryRssEnabled: _angular_core.Signal<boolean>;
|
|
14146
|
-
data: _angular_core.Signal<Record<string, unknown> & _sinequa_atomic_angular.CJson & {
|
|
14147
|
-
filters?: _sinequa_atomic_angular.CAggregation[];
|
|
14148
|
-
autocomplete?: _sinequa_atomic_angular.Autocomplete;
|
|
14149
|
-
tabs?: Record<string, {
|
|
14150
|
-
filters: string[];
|
|
14151
|
-
overviews?: Record<string, {
|
|
14152
|
-
minRelevance: number;
|
|
14153
|
-
}>;
|
|
14154
|
-
}>;
|
|
14155
|
-
sources?: _sinequa_atomic_angular.CSources;
|
|
14156
|
-
features?: {
|
|
14157
|
-
[key: string]: boolean | {
|
|
14158
|
-
[key: string]: string | boolean | string[] | undefined;
|
|
14159
|
-
} | undefined;
|
|
14160
|
-
allowChangePassword?: boolean;
|
|
14161
|
-
editablepartition?: boolean;
|
|
14162
|
-
advancedSearch?: boolean;
|
|
14163
|
-
allowChatDrawer?: boolean;
|
|
14164
|
-
filterLinkChildren?: boolean;
|
|
14165
|
-
expandPreview?: boolean;
|
|
14166
|
-
quickFilter?: boolean;
|
|
14167
|
-
showAggregationItemCount?: boolean;
|
|
14168
|
-
assistant?: {
|
|
14169
|
-
usePrefixName?: boolean;
|
|
14170
|
-
};
|
|
14171
|
-
filters?: {
|
|
14172
|
-
homepage?: boolean;
|
|
14173
|
-
};
|
|
14174
|
-
userProfile?: {
|
|
14175
|
-
enabled?: boolean;
|
|
14176
|
-
data?: string[];
|
|
14177
|
-
customData?: string[];
|
|
14178
|
-
};
|
|
14179
|
-
previewMultiConversion?: boolean;
|
|
14180
|
-
persistFiltersAcrossTabs?: boolean;
|
|
14181
|
-
};
|
|
14182
|
-
allowAdvancedFilters?: boolean;
|
|
14183
|
-
general?: {
|
|
14184
|
-
name?: string;
|
|
14185
|
-
logo?: {
|
|
14186
|
-
alt?: string;
|
|
14187
|
-
light?: {
|
|
14188
|
-
small?: string;
|
|
14189
|
-
large?: string;
|
|
14190
|
-
sidebar?: string;
|
|
14191
|
-
};
|
|
14192
|
-
dark?: {
|
|
14193
|
-
small?: string;
|
|
14194
|
-
large?: string;
|
|
14195
|
-
sidebar?: string;
|
|
14196
|
-
};
|
|
14197
|
-
};
|
|
14198
|
-
features?: {
|
|
14199
|
-
[key: string]: boolean | {
|
|
14200
|
-
[key: string]: string | boolean | string[] | undefined;
|
|
14201
|
-
} | undefined;
|
|
14202
|
-
allowChangePassword?: boolean;
|
|
14203
|
-
editablepartition?: boolean;
|
|
14204
|
-
advancedSearch?: boolean;
|
|
14205
|
-
allowChatDrawer?: boolean;
|
|
14206
|
-
filterLinkChildren?: boolean;
|
|
14207
|
-
expandPreview?: boolean;
|
|
14208
|
-
quickFilter?: boolean;
|
|
14209
|
-
showAggregationItemCount?: boolean;
|
|
14210
|
-
assistant?: {
|
|
14211
|
-
usePrefixName?: boolean;
|
|
14212
|
-
};
|
|
14213
|
-
filters?: {
|
|
14214
|
-
homepage?: boolean;
|
|
14215
|
-
};
|
|
14216
|
-
userProfile?: {
|
|
14217
|
-
enabled?: boolean;
|
|
14218
|
-
data?: string[];
|
|
14219
|
-
customData?: string[];
|
|
14220
|
-
};
|
|
14221
|
-
previewMultiConversion?: boolean;
|
|
14222
|
-
persistFiltersAcrossTabs?: boolean;
|
|
14223
|
-
};
|
|
14224
|
-
converters?: _sinequa_atomic_angular.CConverter[];
|
|
14225
|
-
feedback?: _sinequa_atomic_angular.CFeedback;
|
|
14226
|
-
};
|
|
14227
|
-
documentsUploadSettings?: {
|
|
14228
|
-
enabled?: boolean;
|
|
14229
|
-
};
|
|
14230
|
-
}>;
|
|
14231
|
-
customJSONs: _angular_core.Signal<{
|
|
14232
|
-
name: string;
|
|
14233
|
-
data: Record<string, unknown>;
|
|
14234
|
-
}[] & _sinequa_atomic_angular.SideCJson[]>;
|
|
14235
|
-
apiVersion: _angular_core.Signal<string>;
|
|
14236
|
-
workspaceApp: _angular_core.Signal<string>;
|
|
14237
|
-
defaultQueryName: _angular_core.Signal<string>;
|
|
14238
|
-
auditEnabled?: _angular_core.Signal<boolean | undefined> | undefined;
|
|
14239
|
-
dataSets?: _angular_core.Signal<string | undefined> | undefined;
|
|
14240
|
-
revision?: _angular_core.Signal<number | undefined> | undefined;
|
|
14241
|
-
runnableModels?: _angular_core.Signal<string | undefined> | undefined;
|
|
14242
|
-
authorizationLevel?: _angular_core.Signal<string | undefined> | undefined;
|
|
14243
|
-
columnMap?: _angular_core.Signal<Record<string, _sinequa_atomic.CCColumn> | undefined> | undefined;
|
|
14244
|
-
customizationJson: _angular_core.Signal<_sinequa_atomic_angular.CJsonMint>;
|
|
14245
|
-
sources: _angular_core.Signal<_sinequa_atomic_angular.CSources>;
|
|
14246
|
-
filters: _angular_core.Signal<_sinequa_atomic_angular.CFilter[]>;
|
|
14247
|
-
general: _angular_core.Signal<{
|
|
14248
|
-
name?: string;
|
|
14249
|
-
logo?: {
|
|
14250
|
-
alt?: string;
|
|
14251
|
-
light?: {
|
|
14252
|
-
small?: string;
|
|
14253
|
-
large?: string;
|
|
14254
|
-
sidebar?: string;
|
|
14255
|
-
};
|
|
14256
|
-
dark?: {
|
|
14257
|
-
small?: string;
|
|
14258
|
-
large?: string;
|
|
14259
|
-
sidebar?: string;
|
|
14260
|
-
};
|
|
14261
|
-
};
|
|
14262
|
-
features?: {
|
|
14263
|
-
[key: string]: boolean | {
|
|
14264
|
-
[key: string]: string | boolean | string[] | undefined;
|
|
14265
|
-
} | undefined;
|
|
14266
|
-
allowChangePassword?: boolean;
|
|
14267
|
-
editablepartition?: boolean;
|
|
14268
|
-
advancedSearch?: boolean;
|
|
14269
|
-
allowChatDrawer?: boolean;
|
|
14270
|
-
filterLinkChildren?: boolean;
|
|
14271
|
-
expandPreview?: boolean;
|
|
14272
|
-
quickFilter?: boolean;
|
|
14273
|
-
showAggregationItemCount?: boolean;
|
|
14274
|
-
assistant?: {
|
|
14275
|
-
usePrefixName?: boolean;
|
|
14276
|
-
};
|
|
14277
|
-
filters?: {
|
|
14278
|
-
homepage?: boolean;
|
|
14279
|
-
};
|
|
14280
|
-
userProfile?: {
|
|
14281
|
-
enabled?: boolean;
|
|
14282
|
-
data?: string[];
|
|
14283
|
-
customData?: string[];
|
|
14284
|
-
};
|
|
14285
|
-
previewMultiConversion?: boolean;
|
|
14286
|
-
persistFiltersAcrossTabs?: boolean;
|
|
14287
|
-
};
|
|
14288
|
-
converters?: _sinequa_atomic_angular.CConverter[];
|
|
14289
|
-
feedback?: _sinequa_atomic_angular.CFeedback;
|
|
14290
|
-
} | undefined>;
|
|
14291
|
-
assistants: _angular_core.Signal<{
|
|
14292
|
-
[x: string]: _sinequa_atomic_angular.AssistantDetails;
|
|
14293
|
-
}>;
|
|
14294
|
-
agents: _angular_core.Signal<{
|
|
14295
|
-
[x: string]: {
|
|
14296
|
-
defaultAgent: string;
|
|
14297
|
-
};
|
|
14298
|
-
}>;
|
|
14299
|
-
initialize: () => Promise<void>;
|
|
14300
|
-
initializeWithAppName: (appName: string) => Promise<void>;
|
|
14301
|
-
update: (app: Partial<_sinequa_atomic_angular.CCAppState>) => void;
|
|
14302
|
-
getWebServiceByType: (type: CCWebService["webServiceType"]) => CCWebService | undefined;
|
|
14303
|
-
getLabels: () => {
|
|
14304
|
-
private: string;
|
|
14305
|
-
public: string;
|
|
14306
|
-
};
|
|
14307
|
-
getQueryByName: (name: string) => _sinequa_atomic.CCQuery | undefined;
|
|
14308
|
-
getQueryByIndex: (index: number) => _sinequa_atomic.CCQuery | undefined;
|
|
14309
|
-
getDefaultQuery: () => _sinequa_atomic.CCQuery | undefined;
|
|
14310
|
-
allowEmptySearch: (queryName: string) => boolean;
|
|
14311
|
-
enableFieldedSearch: (queryName: string) => boolean;
|
|
14312
|
-
allowLabels: () => boolean;
|
|
14313
|
-
getColumnAlias: (column: string) => string;
|
|
14314
|
-
getColumn: (columnOrAlias: string) => _sinequa_atomic.CCColumn | undefined;
|
|
14315
|
-
isDateColumn: (column: string) => boolean;
|
|
14316
|
-
isTabSearch: (queryName: string) => boolean;
|
|
14317
|
-
getAggregationCount: (queryName: string | undefined, aggregationName: string) => number;
|
|
14318
|
-
getAuthorizedFilters: () => _sinequa_atomic.Aggregation[];
|
|
14319
|
-
getAuthorized: (filters: Pick<_sinequa_atomic_angular.CFilter, "column" | "name">[]) => _sinequa_atomic.Aggregation[];
|
|
14320
|
-
getNamedCustomizationJson: (name: string) => unknown | undefined;
|
|
14321
|
-
getAggregationIcon: (column: string) => string | undefined;
|
|
14322
|
-
getAggregationItemsCustomization: (column: string) => _sinequa_atomic_angular.CFilterItem[] | undefined;
|
|
14323
|
-
getAggregationCustomization: (aggColumn: string, aggName?: string) => _sinequa_atomic_angular.CFilter | undefined;
|
|
14324
|
-
isAssistantAllowed: (assistantName: string) => boolean;
|
|
14325
|
-
isAgentAllowed: (agentName: string) => boolean;
|
|
14326
|
-
} & _ngrx_signals.StateSource<{
|
|
14327
|
-
name: string;
|
|
14328
|
-
description?: string | undefined;
|
|
14329
|
-
versionId: string;
|
|
14330
|
-
queries: Record<string, _sinequa_atomic.CCQuery>;
|
|
14331
|
-
rfms: Record<string, _sinequa_atomic.CCRFM>;
|
|
14332
|
-
indexes: {
|
|
14333
|
-
_: _sinequa_atomic.CCIndex;
|
|
14334
|
-
} & Record<string, _sinequa_atomic.CCIndex>;
|
|
14335
|
-
lists: Record<string, _sinequa_atomic.CCList>;
|
|
14336
|
-
webServices: Record<string, CCWebService>;
|
|
14096
|
+
webServices: Record<string, CCWebService>;
|
|
14337
14097
|
queryNames: string;
|
|
14338
14098
|
labels: string;
|
|
14339
14099
|
preview: string;
|
|
@@ -14736,6 +14496,9 @@ declare class SavedSearchDialog implements DialogInterface {
|
|
|
14736
14496
|
patch: (params: Partial<_sinequa_atomic.QueryParams>, audit?: _sinequa_atomic.AuditEvents, options?: {
|
|
14737
14497
|
syncUrl?: boolean;
|
|
14738
14498
|
}) => void;
|
|
14499
|
+
reset: (options?: {
|
|
14500
|
+
syncUrl?: boolean;
|
|
14501
|
+
}) => void;
|
|
14739
14502
|
getFilter: ({ field, name }: {
|
|
14740
14503
|
field: string | undefined;
|
|
14741
14504
|
name: string | undefined;
|