@sinequa/atomic-angular 0.4.28 → 0.4.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnDestroy, ElementRef, DestroyRef, EventEmitter, Type, InjectionToken, Injector, Signal, ApplicationRef, TemplateRef, ChangeDetectorRef, ViewContainerRef, ComponentRef, PipeTransform } from '@angular/core';
2
+ import { OnDestroy, ElementRef, DestroyRef, InjectionToken, Type, Injector, Signal, ApplicationRef, EventEmitter, TemplateRef, ChangeDetectorRef, ViewContainerRef, ComponentRef, PipeTransform } from '@angular/core';
3
3
  import * as rxjs from 'rxjs';
4
4
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
5
5
  import * as _ngrx_signals from '@ngrx/signals';
@@ -8,7 +8,7 @@ import { Article as Article$1, LegacyFilter, KeyOf, Query, QueryParams as QueryP
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';
11
- import { cn, DialogService, DropdownComponent, SheetService, DateRangePickerDirective, DialogInterface, DialogComponent, DialogEvent, PopoverComponent, PopoverContentComponent, DialogResult, BreakpointObserverService } from '@sinequa/ui';
11
+ import { cn, DialogService, DropdownComponent, SheetService, DateRangePickerDirective, DatepickerDirective, DialogComponent, DialogInterface, DialogEvent, PopoverComponent, PopoverContentComponent, DialogResult, BreakpointObserverService } from '@sinequa/ui';
12
12
  import * as class_variance_authority_types from 'class-variance-authority/types';
13
13
  import { VariantProps } from 'class-variance-authority';
14
14
  import * as _angular_common_http from '@angular/common/http';
@@ -747,79 +747,6 @@ declare class MultiSelectionToolbarComponent {
747
747
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultiSelectionToolbarComponent, "MultiSelectionToolbar, multi-selection-toolbar", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "updatedCollections": "updatedCollections"; }, never, never, true, never>;
748
748
  }
749
749
 
750
- /**
751
- * Service to manage the state and behavior of a stack of drawers in the application.
752
- * It provides methods to open, close, and manage drawers, as well as to handle
753
- * interactions with a chat assistant drawer.
754
- *
755
- * @deprecated we do not use it anymore.
756
- */
757
- declare class DrawerStackService {
758
- readonly isOpened: _angular_core.WritableSignal<boolean>;
759
- readonly toggleTopDrawerExtension$: EventEmitter<void>;
760
- readonly forceTopDrawerCollapse$: EventEmitter<void>;
761
- readonly closeTopDrawer$: EventEmitter<void>;
762
- readonly closeAllDrawers$: EventEmitter<void>;
763
- readonly isChatOpened: _angular_core.WritableSignal<boolean>;
764
- readonly openChatDrawer$: EventEmitter<void>;
765
- readonly closeChatDrawer$: EventEmitter<void>;
766
- readonly askAI$: EventEmitter<string>;
767
- private readonly selection;
768
- private readonly selectionHistory;
769
- private readonly selectionStore;
770
- private readonly navigationService;
771
- private readonly backdropService;
772
- private readonly destroyRef;
773
- componentType?: Type<any>;
774
- constructor();
775
- /**
776
- * Sets current drawer stack status to open
777
- */
778
- open(componentType?: Type<any>): void;
779
- /**
780
- * Emits event to extend the top drawer
781
- */
782
- extend(): void;
783
- /**
784
- * Emits event to close the top drawer, checks if history is empty, if so,
785
- * sets current drawer stack status to closed and clears history and current
786
- * selection
787
- */
788
- close(): void;
789
- /**
790
- * Emits event to close the top drawer
791
- */
792
- closeTop(): void;
793
- /**
794
- * Sets current drawer stack status to closed, clears history and emits event
795
- * to close all drawers
796
- *
797
- * @param keepDrawerOpen if true, do not trigger layout animation
798
- */
799
- closeAll(keepDrawerOpen?: boolean): void;
800
- /**
801
- * Replace the current selection with the given article by closing all
802
- * drawers and opening the drawer with the new selection without triggering
803
- * layout animation
804
- *
805
- * @param article the article to replace the current selection with
806
- */
807
- replace(article: Article$1 | undefined, withQueryText?: boolean): void;
808
- /**
809
- * Stack the given article by setting the current selection and opening the
810
- * drawer
811
- *
812
- * @param article the article to stack
813
- */
814
- stack(article: Article$1 | undefined, withQueryText?: boolean): void;
815
- toggleAssistant(): void;
816
- openAssistant(): void;
817
- closeAssistant(keepDrawerOpen?: boolean): void;
818
- askAI(text: string): void;
819
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerStackService, never>;
820
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<DrawerStackService>;
821
- }
822
-
823
750
  declare namespace Alert {
824
751
  enum Frequency {
825
752
  Daily = 0,
@@ -1742,7 +1669,7 @@ declare const PrincipalStore: _angular_core.Type<{
1742
1669
  param9: _angular_core.Signal<string>;
1743
1670
  param10: _angular_core.Signal<string>;
1744
1671
  userOverrideActive: _angular_core.Signal<boolean>;
1745
- state: _angular_core.Signal<"error" | "loading" | "initial" | "loaded">;
1672
+ state: _angular_core.Signal<"error" | "loading" | "loaded" | "initial">;
1746
1673
  allowUserOverride: _angular_core.Signal<boolean>;
1747
1674
  isOverridingUser: _angular_core.Signal<boolean>;
1748
1675
  initials: _angular_core.Signal<string>;
@@ -2864,7 +2791,7 @@ declare class ApplicationService {
2864
2791
  param9: _angular_core.Signal<string>;
2865
2792
  param10: _angular_core.Signal<string>;
2866
2793
  userOverrideActive: _angular_core.Signal<boolean>;
2867
- state: _angular_core.Signal<"error" | "loading" | "initial" | "loaded">;
2794
+ state: _angular_core.Signal<"error" | "loading" | "loaded" | "initial">;
2868
2795
  allowUserOverride: _angular_core.Signal<boolean>;
2869
2796
  isOverridingUser: _angular_core.Signal<boolean>;
2870
2797
  initials: _angular_core.Signal<string>;
@@ -4234,7 +4161,7 @@ declare function withFetch<T>(callback: () => Promise<T>, injector?: any): Promi
4234
4161
  declare const PREVIEW_CONFIG: InjectionToken<{
4235
4162
  allowWorker: boolean;
4236
4163
  }>;
4237
- type PreviewEvents = "idle" | "fetching" | "fetched" | "error" | "scrollTo";
4164
+ type PreviewEvents = "idle" | "loading" | "loaded" | "fetching" | "fetched" | "error" | "scrollTo";
4238
4165
  declare class PreviewService {
4239
4166
  protected destroyRef: DestroyRef;
4240
4167
  protected readonly http: HttpClient;
@@ -4674,7 +4601,7 @@ declare class PreviewService {
4674
4601
  worker: InlineWorker | undefined;
4675
4602
  allowWorker: boolean;
4676
4603
  highlights: _sinequa_atomic_angular.PreviewHighlight[];
4677
- protected previewData: PreviewData | undefined;
4604
+ previewData: PreviewData | undefined;
4678
4605
  protected iframe: Window | null | undefined;
4679
4606
  passageOffset: _angular_core.WritableSignal<{
4680
4607
  id: string;
@@ -5446,8 +5373,6 @@ declare class NavbarTabsComponent {
5446
5373
  class: _angular_core.InputSignal<string | undefined>;
5447
5374
  readonly router: Router;
5448
5375
  readonly route: ActivatedRoute;
5449
- readonly drawerStack: DrawerStackService;
5450
- readonly drawerOpened: _angular_core.Signal<boolean>;
5451
5376
  readonly queryParamsStore: {
5452
5377
  page?: _angular_core.Signal<number | undefined> | undefined;
5453
5378
  pageSize?: _angular_core.Signal<number | undefined> | undefined;
@@ -5544,6 +5469,8 @@ declare class NavbarTabsComponent {
5544
5469
  * This works only if tabSearch is enabled in the administration panel.
5545
5470
  */
5546
5471
  showCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
5472
+ noTruncate: _angular_core.InputSignalWithTransform<boolean, unknown>;
5473
+ minTabWidth: _angular_core.InputSignal<string | undefined>;
5547
5474
  /**
5548
5475
  * The base path for the search routes.
5549
5476
  * This value is provided as an input property and defaults to "search".
@@ -5560,7 +5487,7 @@ declare class NavbarTabsComponent {
5560
5487
  readonly moreTabs: _angular_core.Signal<NavbarTab[]>;
5561
5488
  protected changeTab(): void;
5562
5489
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavbarTabsComponent, never>;
5563
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavbarTabsComponent, "navbar-tabs", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "showCount": { "alias": "showCount"; "required": false; "isSignal": true; }; "path": { "alias": "path"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
5490
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavbarTabsComponent, "navbar-tabs", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "showCount": { "alias": "showCount"; "required": false; "isSignal": true; }; "noTruncate": { "alias": "noTruncate"; "required": false; "isSignal": true; }; "minTabWidth": { "alias": "minTabWidth"; "required": false; "isSignal": true; }; "path": { "alias": "path"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
5564
5491
  }
5565
5492
 
5566
5493
  declare class NoResultComponent {
@@ -6296,7 +6223,6 @@ declare class OverflowManagerDirective {
6296
6223
  /**
6297
6224
  * Counts the number of items that can fit before the stop element.
6298
6225
  * Emits the count if it has changed.
6299
- * Debounces the count to avoid multiple updates.
6300
6226
  */
6301
6227
  countItems(): void;
6302
6228
  /**
@@ -6916,6 +6842,59 @@ declare class AdvancedFiltersComponent {
6916
6842
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdvancedFiltersComponent, "advanced-filters", never, {}, {}, never, never, true, never>;
6917
6843
  }
6918
6844
 
6845
+ declare class AggregationDateCustomRangeComponent {
6846
+ private readonly el;
6847
+ readonly lang: _angular_core.InputSignal<string>;
6848
+ readonly min: _angular_core.InputSignal<string | undefined>;
6849
+ readonly max: _angular_core.InputSignal<string | undefined>;
6850
+ readonly datepicker: _angular_core.Signal<DateRangePickerDirective | undefined>;
6851
+ readonly dateSelected: _angular_core.OutputEmitterRef<void>;
6852
+ constructor(destroyRef: DestroyRef);
6853
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationDateCustomRangeComponent, never>;
6854
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationDateCustomRangeComponent, "aggregation-date-custom-range", never, { "lang": { "alias": "lang"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; }, { "dateSelected": "dateSelected"; }, never, never, true, never>;
6855
+ }
6856
+
6857
+ declare class AggregationDateDualPickersComponent {
6858
+ private readonly el;
6859
+ readonly lang: _angular_core.InputSignal<string>;
6860
+ readonly min: _angular_core.InputSignal<string | undefined>;
6861
+ readonly max: _angular_core.InputSignal<string | undefined>;
6862
+ readonly datepickerStart: _angular_core.Signal<DatepickerDirective | undefined>;
6863
+ readonly datepickerEnd: _angular_core.Signal<DatepickerDirective | undefined>;
6864
+ readonly dateSelected: _angular_core.OutputEmitterRef<void>;
6865
+ constructor(destroyRef: DestroyRef);
6866
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationDateDualPickersComponent, never>;
6867
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationDateDualPickersComponent, "aggregation-date-dual-pickers", never, { "lang": { "alias": "lang"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; }, { "dateSelected": "dateSelected"; }, never, never, true, never>;
6868
+ }
6869
+
6870
+ type DateRange = {
6871
+ from: string | null;
6872
+ to: string | null;
6873
+ };
6874
+ declare class AggregationDateRangeDialogComponent {
6875
+ cn: typeof cn;
6876
+ readonly hasSelection: _angular_core.WritableSignal<boolean>;
6877
+ readonly dialog: _angular_core.Signal<DialogComponent | undefined>;
6878
+ readonly customRange: _angular_core.Signal<AggregationDateCustomRangeComponent | undefined>;
6879
+ readonly dualPickers: _angular_core.Signal<AggregationDateDualPickersComponent | undefined>;
6880
+ readonly min: _angular_core.InputSignal<string | undefined>;
6881
+ readonly max: _angular_core.InputSignal<string | undefined>;
6882
+ readonly lang: _angular_core.InputSignal<string>;
6883
+ /**
6884
+ * Whether to use the date range picker or two separate date pickers for start and end dates.
6885
+ * The date range picker is used when the user can select a range of dates, while the separate date pickers are used when the user can only select a single
6886
+ * date (e.g., for "last week" or "last month" options).
6887
+ *
6888
+ * @defaultValue false
6889
+ */
6890
+ readonly useDateRange: _angular_core.InputSignalWithTransform<boolean, unknown>;
6891
+ readonly rangeSelected: _angular_core.OutputEmitterRef<DateRange>;
6892
+ open(): void;
6893
+ confirm(): void;
6894
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationDateRangeDialogComponent, never>;
6895
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationDateRangeDialogComponent, "aggregation-date-range-dialog", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "lang": { "alias": "lang"; "required": false; "isSignal": true; }; "useDateRange": { "alias": "useDateRange"; "required": false; "isSignal": true; }; }, { "rangeSelected": "rangeSelected"; }, never, never, true, never>;
6896
+ }
6897
+
6919
6898
  type AggregationTitle = {
6920
6899
  label: string;
6921
6900
  icon?: string;
@@ -7336,6 +7315,8 @@ declare class AggregationListComponent {
7336
7315
  name: _angular_core.InputSignal<string | null>;
7337
7316
  column: _angular_core.InputSignal<string | null>;
7338
7317
  onSelect: _angular_core.OutputEmitterRef<AggregationItem[]>;
7318
+ onApply: _angular_core.OutputEmitterRef<void>;
7319
+ onClear: _angular_core.OutputEmitterRef<void>;
7339
7320
  /**
7340
7321
  * Determines whether the aggregation component can be collapsed or expanded.
7341
7322
  * When true, the component will display collapse/expand controls allowing users
@@ -7473,12 +7454,12 @@ declare class AggregationListComponent {
7473
7454
  private selectItems;
7474
7455
  onToggle(event: Event): void;
7475
7456
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationListComponent, never>;
7476
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationListComponent, "AggregationList, aggregation-list, aggregationlist", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "showFiltersCount": { "alias": "showFiltersCount"; "required": false; "isSignal": true; }; "searchText": { "alias": "searchText"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; "searchText": "searchTextChange"; }, never, ["label"], true, never>;
7457
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationListComponent, "AggregationList, aggregation-list, aggregationlist", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "showFiltersCount": { "alias": "showFiltersCount"; "required": false; "isSignal": true; }; "searchText": { "alias": "searchText"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; "onApply": "onApply"; "onClear": "onClear"; "searchText": "searchTextChange"; }, never, ["label"], true, never>;
7477
7458
  }
7478
7459
 
7479
7460
  declare class AggregationDateComponent extends AggregationListComponent {
7480
7461
  private destroyRef;
7481
- datepicker: _angular_core.Signal<DateRangePickerDirective | undefined>;
7462
+ dateRangeDialog: _angular_core.Signal<AggregationDateRangeDialogComponent | undefined>;
7482
7463
  readonly title: _angular_core.InputSignal<AggregationTitle>;
7483
7464
  readonly displayEmptyDistributionIntervals: _angular_core.InputSignal<boolean>;
7484
7465
  readonly allowCustomRange: boolean;
@@ -7494,13 +7475,15 @@ declare class AggregationDateComponent extends AggregationListComponent {
7494
7475
  protected today: Date;
7495
7476
  protected lang: _angular_core.WritableSignal<string>;
7496
7477
  protected readonly validSelection: _angular_core.WritableSignal<boolean>;
7478
+ private readonly formValue;
7479
+ protected readonly customRangeLabel: _angular_core.Signal<string | null>;
7497
7480
  constructor(destroyRef: DestroyRef);
7498
7481
  aggregation: _angular_core.Signal<AggEx | null>;
7499
7482
  apply(): void;
7500
7483
  clear(notify?: boolean): void;
7484
+ protected onRangeSelected(range: DateRange): void;
7501
7485
  private updateForm;
7502
7486
  private getFormValueFilter;
7503
- private onDateChange;
7504
7487
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationDateComponent, never>;
7505
7488
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationDateComponent, "aggregation-date, AggregationDate, aggregationdate", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "displayEmptyDistributionIntervals": { "alias": "displayEmptyDistributionIntervals"; "required": false; "isSignal": true; }; }, {}, never, ["label"], true, never>;
7506
7489
  }
@@ -8418,6 +8401,79 @@ declare class DidYouMeanComponent {
8418
8401
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DidYouMeanComponent, "did-you-mean, DidYouMean, didyoumean", never, { "result": { "alias": "result"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8419
8402
  }
8420
8403
 
8404
+ /**
8405
+ * Service to manage the state and behavior of a stack of drawers in the application.
8406
+ * It provides methods to open, close, and manage drawers, as well as to handle
8407
+ * interactions with a chat assistant drawer.
8408
+ *
8409
+ * @deprecated we do not use it anymore.
8410
+ */
8411
+ declare class DrawerStackService {
8412
+ readonly isOpened: _angular_core.WritableSignal<boolean>;
8413
+ readonly toggleTopDrawerExtension$: EventEmitter<void>;
8414
+ readonly forceTopDrawerCollapse$: EventEmitter<void>;
8415
+ readonly closeTopDrawer$: EventEmitter<void>;
8416
+ readonly closeAllDrawers$: EventEmitter<void>;
8417
+ readonly isChatOpened: _angular_core.WritableSignal<boolean>;
8418
+ readonly openChatDrawer$: EventEmitter<void>;
8419
+ readonly closeChatDrawer$: EventEmitter<void>;
8420
+ readonly askAI$: EventEmitter<string>;
8421
+ private readonly selection;
8422
+ private readonly selectionHistory;
8423
+ private readonly selectionStore;
8424
+ private readonly navigationService;
8425
+ private readonly backdropService;
8426
+ private readonly destroyRef;
8427
+ componentType?: Type<any>;
8428
+ constructor();
8429
+ /**
8430
+ * Sets current drawer stack status to open
8431
+ */
8432
+ open(componentType?: Type<any>): void;
8433
+ /**
8434
+ * Emits event to extend the top drawer
8435
+ */
8436
+ extend(): void;
8437
+ /**
8438
+ * Emits event to close the top drawer, checks if history is empty, if so,
8439
+ * sets current drawer stack status to closed and clears history and current
8440
+ * selection
8441
+ */
8442
+ close(): void;
8443
+ /**
8444
+ * Emits event to close the top drawer
8445
+ */
8446
+ closeTop(): void;
8447
+ /**
8448
+ * Sets current drawer stack status to closed, clears history and emits event
8449
+ * to close all drawers
8450
+ *
8451
+ * @param keepDrawerOpen if true, do not trigger layout animation
8452
+ */
8453
+ closeAll(keepDrawerOpen?: boolean): void;
8454
+ /**
8455
+ * Replace the current selection with the given article by closing all
8456
+ * drawers and opening the drawer with the new selection without triggering
8457
+ * layout animation
8458
+ *
8459
+ * @param article the article to replace the current selection with
8460
+ */
8461
+ replace(article: Article$1 | undefined, withQueryText?: boolean): void;
8462
+ /**
8463
+ * Stack the given article by setting the current selection and opening the
8464
+ * drawer
8465
+ *
8466
+ * @param article the article to stack
8467
+ */
8468
+ stack(article: Article$1 | undefined, withQueryText?: boolean): void;
8469
+ toggleAssistant(): void;
8470
+ openAssistant(): void;
8471
+ closeAssistant(keepDrawerOpen?: boolean): void;
8472
+ askAI(text: string): void;
8473
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerStackService, never>;
8474
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<DrawerStackService>;
8475
+ }
8476
+
8421
8477
  /**
8422
8478
  * Service to manage the state and behavior of a drawer component.
8423
8479
  * It provides methods to open, close, extend, collapse, and toggle
@@ -10178,6 +10234,8 @@ declare class AggregationTreeComponent {
10178
10234
  column: _angular_core.InputSignal<string | null>;
10179
10235
  expandedLevel: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
10180
10236
  onSelect: _angular_core.OutputEmitterRef<AggregationItem[]>;
10237
+ onApply: _angular_core.OutputEmitterRef<void>;
10238
+ onClear: _angular_core.OutputEmitterRef<void>;
10181
10239
  /**
10182
10240
  * Determines whether the aggregation component can be collapsed or expanded.
10183
10241
  * When true, the component will display collapse/expand controls allowing users
@@ -10368,7 +10426,7 @@ declare class AggregationTreeComponent {
10368
10426
  */
10369
10427
  traverse<T extends TreeAggregationNode>(nodes: T[], callback: (lineage: T[], node: T, depth: number) => boolean): boolean;
10370
10428
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationTreeComponent, never>;
10371
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationTreeComponent, "AggregationTree, aggregation-tree, aggregationtree", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "expandedLevel": { "alias": "expandedLevel"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "showFiltersCount": { "alias": "showFiltersCount"; "required": false; "isSignal": true; }; "searchText": { "alias": "searchText"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; "searchText": "searchTextChange"; }, never, ["label"], true, never>;
10429
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationTreeComponent, "AggregationTree, aggregation-tree, aggregationtree", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "expandedLevel": { "alias": "expandedLevel"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "showFiltersCount": { "alias": "showFiltersCount"; "required": false; "isSignal": true; }; "searchText": { "alias": "searchText"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; "onApply": "onApply"; "onClear": "onClear"; "searchText": "searchTextChange"; }, never, ["label"], true, never>;
10372
10430
  }
10373
10431
 
10374
10432
  /**
@@ -10750,6 +10808,8 @@ declare class AggregationComponent {
10750
10808
  * An output event that emits an array of selected `AggregationItem` objects when the user selects items in the aggregation component. This allows parent components to listen for selection changes and react accordingly, such as applying filters or updating the UI based on the selected items.
10751
10809
  */
10752
10810
  onSelect: _angular_core.OutputEmitterRef<AggregationItem[]>;
10811
+ onApply: _angular_core.OutputEmitterRef<void>;
10812
+ onClear: _angular_core.OutputEmitterRef<void>;
10753
10813
  /**
10754
10814
  * A computed property that retrieves the items to be displayed in the aggregation component. It checks for the presence of date, tree, or list aggregation components and returns their respective items. If none of these components are present, it returns an empty array. This allows the component to dynamically display the appropriate items based on the type of aggregation being rendered.
10755
10815
  *
@@ -10771,7 +10831,7 @@ declare class AggregationComponent {
10771
10831
  */
10772
10832
  protected isDate(column: string | undefined): boolean;
10773
10833
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AggregationComponent, never>;
10774
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationComponent, "Aggregation, aggregation", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "showFiltersCount": { "alias": "showFiltersCount"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "expandedLevel": { "alias": "expandedLevel"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; }, never, never, true, never>;
10834
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AggregationComponent, "Aggregation, aggregation", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "column": { "alias": "column"; "required": true; "isSignal": true; }; "showFiltersCount": { "alias": "showFiltersCount"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "expandedLevel": { "alias": "expandedLevel"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; "onApply": "onApply"; "onClear": "onClear"; }, never, never, true, never>;
10775
10835
  }
10776
10836
 
10777
10837
  declare class AsideFiltersComponent {
@@ -10806,7 +10866,7 @@ declare class FilterButtonComponent {
10806
10866
  position: _angular_core.InputSignal<Placement>;
10807
10867
  offset: _angular_core.InputSignal<number>;
10808
10868
  expandedLevel: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
10809
- protected variant: _angular_core.WritableSignal<"default" | "icon" | "secondary" | "destructive" | "ai" | "primary" | "link" | "accent" | "outline" | "ghost" | "none" | null | undefined>;
10869
+ protected variant: _angular_core.WritableSignal<"default" | "icon" | "secondary" | "destructive" | "ai" | "primary" | "link" | "accent" | "outline" | "ghost" | "none" | "light-accent" | "tertiary" | null | undefined>;
10810
10870
  protected filter: _angular_core.WritableSignal<CFilterEx>;
10811
10871
  popoverRef: _angular_core.Signal<PopoverComponent | undefined>;
10812
10872
  protected nativeElement: any;
@@ -13346,7 +13406,7 @@ declare class UserProfileFormComponent {
13346
13406
  param9: _angular_core.Signal<string>;
13347
13407
  param10: _angular_core.Signal<string>;
13348
13408
  userOverrideActive: _angular_core.Signal<boolean>;
13349
- state: _angular_core.Signal<"error" | "loading" | "initial" | "loaded">;
13409
+ state: _angular_core.Signal<"error" | "loading" | "loaded" | "initial">;
13350
13410
  allowUserOverride: _angular_core.Signal<boolean>;
13351
13411
  isOverridingUser: _angular_core.Signal<boolean>;
13352
13412
  initials: _angular_core.Signal<string>;
@@ -14317,5 +14377,5 @@ type AppFeatures = {
14317
14377
  */
14318
14378
  declare const APP_FEATURES: InjectionToken<AppFeatures>;
14319
14379
 
14320
- export { AGGREGATIONS_NAMES, AGGREGATIONS_NAMES_PRESET_DEFAULT, APP_FEATURES, AdvancedFiltersComponent, AdvancedSearch, AdvancedSearchComponent, AggregationComponent, AggregationDateComponent, AggregationListComponent, AggregationTreeComponent, AggregationsService, AggregationsStore, Alert, AlertDialog, AlertsComponent, AppService, AppStore, ApplicationService, ApplicationStore, ArticleEntities, ArticleExtracts, ArticleLabels, ArticleSimilarDocuments, AsideFiltersComponent, AuditFeedbackType, AuditService, AuthGuard, AuthPageComponent, AutocompleteService, BOOKMARKS_CONFIG, BOOKMARKS_OPTIONS, BackdropComponent, BackdropService, BookmarkButtonComponent, BookmarksComponent, COLLECTIONS_CONFIG, COLLECTIONS_OPTIONS, COMPONENTS_FOR_DOCUMENT_TYPE, ChangePasswordComponent, ChildMarkerDirective, CollectionsComponent, CollectionsDialog, DRAWER_COMPONENT, DRAWER_STACK_MAX_COUNT, DateComponent, DeleteCollectionDialog, DidYouMeanComponent, DocumentLocatorComponent, DrawerAdvancedFiltersComponent, DrawerComponent, DrawerNavbarComponent, DrawerPreviewComponent, DrawerService, DrawerStackComponent, DrawerStackService, DropdownInputComponent, DropdownListComponent, ErrorComponent, ExportDialog, ExportService, FILTERS_BREAKPOINT, FILTER_DATE_ALLOW_CUSTOM_RANGE, FeedbackDialogComponent, FileSizePipe, FilterButtonComponent, FiltersBarComponent, HIGHLIGHTS, HighlightWordPipe, InfinityScrollDirective, InlineWorker, JsonMethodPluginService, KeyboardNavigatorDirective, LabelService, LabelsEditDialog, LoadingComponent, MetadataComponent, MissingTermsComponent, MoreButtonComponent, MoreComponent, MultiSelectLabelsComponent, MultiSelectionToolbarComponent, NON_SEARCHABLE_COLUMNS, NON_SEARCHABLE_DEFAULTS, NavbarTabsComponent, NavigationService, NoResultComponent, OpenArticleOnCtrlEnterDirective, OperatorPipe, OverflowItemDirective, OverflowManagerDirective, OverflowStopDirective, OverrideUserDialogComponent, PREVIEW_CONFIG, PagerComponent, PreviewNavigator, PreviewService, PrincipalService, PrincipalStore, QueryParamsStore, QueryService, RECENT_SEARCHES_CONFIG, RECENT_SEARCHES_OPTIONS, ROUTE_COMPONENTS, RecentSearchesComponent, ResetUserSettingsDialogComponent, SAVED_SEARCHES_CONFIG, SAVED_SEARCHES_OPTIONS, SavedSearchDialog, SavedSearchesComponent, SavedSearchesService, SearchFeedbackComponent, SearchInputFooter, SearchService, SelectArticleDirective, SelectArticleOnClickDirective, SelectionHistoryService, SelectionService, SelectionStore, ShowBookmarkDirective, SignInComponent, SortSelectorComponent, SourceComponent, SourceIconPipe, SponsoredResultsComponent, SyslangPipe, THEMES, TextChunkService, ThemeProviderDirective, ThemeSelectorComponent, ThemeStore, ThemeToggleComponent, TranslocoDateImpurePipe, UserProfileDialog, UserProfileFormComponent, UserProfileService, UserSettingsStore, applyThemeToNativeElement, auditInterceptorFn, authInterceptorFn, bodyInterceptorFn, buildQuery, debouncedSignal, errorInterceptorFn, getCurrentPath, getCurrentQueryName, getQueryNameFromRoute, processCssVars, queryNameResolver, signIn, themeColorNameToCssVariable, themeColorsToCssVariables, toastInterceptorFn, withAggregationsFeatures, withAlertsFeatures, withAppFeatures, withApplicationFeatures, withAssistantFeatures, withBasketsFeatures, withBookmarkFeatures, withBootstrapApp, withExtractsFeatures, withFetch, withMultiSelectionFeatures, withPrincipalFeatures, withQueryParamsFeatures, withRecentSearchesFeatures, withSavedSearchesFeatures, withSelectionFeatures, withThemeBodyHook, withThemes, withThemesFeatures, withUserSettingsFeatures };
14321
- export type { AggEx, AggregationEx, AggregationListEx, AggregationListItem, AggregationTitle, AggregationTreeEx, AggregationsState, AppCJson, AppFeatures, ApplicationState, ArticleMetadata, AssistantDetails, Autocomplete, Basket, Bookmark, BookmarksConfig, CAggregation, CAggregationItem, CCAppState, CCWebServiceLabels, CConverter, CFilter, CFilterEx, CFilterItem, CJ, CJson, CJsonMint, CSources, CollectionsConfig, ComponentMapping, CssVars, DocumentOffsets, DocumentPages, DocumentTypeMap, DropdownItem, ExportQueryOptions, Extract, FilterDropdown, KeyboardNavigationOnSelectionHandlers, KeyboardNavigatorOptions, LabelsConfig, MultiSelectionState, MultiSelectionToolbarVariants, PageConfiguration, PreviewEvents, PreviewHighlight, PreviewHighlightName, PreviewHighlights, PrincipalState, SearchItem, SearchOptions, SearchesConfig, SelectionHistoryEvent, SelectionState, SelectionStrategy, SideCJson, SortingChoice, Theme, ThemeBodyHookParameters, ThemeScope, ThemeStoreState, UserSettingsState };
14380
+ export { AGGREGATIONS_NAMES, AGGREGATIONS_NAMES_PRESET_DEFAULT, APP_FEATURES, AdvancedFiltersComponent, AdvancedSearch, AdvancedSearchComponent, AggregationComponent, AggregationDateComponent, AggregationDateRangeDialogComponent, AggregationListComponent, AggregationTreeComponent, AggregationsService, AggregationsStore, Alert, AlertDialog, AlertsComponent, AppService, AppStore, ApplicationService, ApplicationStore, ArticleEntities, ArticleExtracts, ArticleLabels, ArticleSimilarDocuments, AsideFiltersComponent, AuditFeedbackType, AuditService, AuthGuard, AuthPageComponent, AutocompleteService, BOOKMARKS_CONFIG, BOOKMARKS_OPTIONS, BackdropComponent, BackdropService, BookmarkButtonComponent, BookmarksComponent, COLLECTIONS_CONFIG, COLLECTIONS_OPTIONS, COMPONENTS_FOR_DOCUMENT_TYPE, ChangePasswordComponent, ChildMarkerDirective, CollectionsComponent, CollectionsDialog, DRAWER_COMPONENT, DRAWER_STACK_MAX_COUNT, DateComponent, DeleteCollectionDialog, DidYouMeanComponent, DocumentLocatorComponent, DrawerAdvancedFiltersComponent, DrawerComponent, DrawerNavbarComponent, DrawerPreviewComponent, DrawerService, DrawerStackComponent, DrawerStackService, DropdownInputComponent, DropdownListComponent, ErrorComponent, ExportDialog, ExportService, FILTERS_BREAKPOINT, FILTER_DATE_ALLOW_CUSTOM_RANGE, FeedbackDialogComponent, FileSizePipe, FilterButtonComponent, FiltersBarComponent, HIGHLIGHTS, HighlightWordPipe, InfinityScrollDirective, InlineWorker, JsonMethodPluginService, KeyboardNavigatorDirective, LabelService, LabelsEditDialog, LoadingComponent, MetadataComponent, MissingTermsComponent, MoreButtonComponent, MoreComponent, MultiSelectLabelsComponent, MultiSelectionToolbarComponent, NON_SEARCHABLE_COLUMNS, NON_SEARCHABLE_DEFAULTS, NavbarTabsComponent, NavigationService, NoResultComponent, OpenArticleOnCtrlEnterDirective, OperatorPipe, OverflowItemDirective, OverflowManagerDirective, OverflowStopDirective, OverrideUserDialogComponent, PREVIEW_CONFIG, PagerComponent, PreviewNavigator, PreviewService, PrincipalService, PrincipalStore, QueryParamsStore, QueryService, RECENT_SEARCHES_CONFIG, RECENT_SEARCHES_OPTIONS, ROUTE_COMPONENTS, RecentSearchesComponent, ResetUserSettingsDialogComponent, SAVED_SEARCHES_CONFIG, SAVED_SEARCHES_OPTIONS, SavedSearchDialog, SavedSearchesComponent, SavedSearchesService, SearchFeedbackComponent, SearchInputFooter, SearchService, SelectArticleDirective, SelectArticleOnClickDirective, SelectionHistoryService, SelectionService, SelectionStore, ShowBookmarkDirective, SignInComponent, SortSelectorComponent, SourceComponent, SourceIconPipe, SponsoredResultsComponent, SyslangPipe, THEMES, TextChunkService, ThemeProviderDirective, ThemeSelectorComponent, ThemeStore, ThemeToggleComponent, TranslocoDateImpurePipe, UserProfileDialog, UserProfileFormComponent, UserProfileService, UserSettingsStore, applyThemeToNativeElement, auditInterceptorFn, authInterceptorFn, bodyInterceptorFn, buildQuery, debouncedSignal, errorInterceptorFn, getCurrentPath, getCurrentQueryName, getQueryNameFromRoute, processCssVars, queryNameResolver, signIn, themeColorNameToCssVariable, themeColorsToCssVariables, toastInterceptorFn, withAggregationsFeatures, withAlertsFeatures, withAppFeatures, withApplicationFeatures, withAssistantFeatures, withBasketsFeatures, withBookmarkFeatures, withBootstrapApp, withExtractsFeatures, withFetch, withMultiSelectionFeatures, withPrincipalFeatures, withQueryParamsFeatures, withRecentSearchesFeatures, withSavedSearchesFeatures, withSelectionFeatures, withThemeBodyHook, withThemes, withThemesFeatures, withUserSettingsFeatures };
14381
+ export type { AggEx, AggregationEx, AggregationListEx, AggregationListItem, AggregationTitle, AggregationTreeEx, AggregationsState, AppCJson, AppFeatures, ApplicationState, ArticleMetadata, AssistantDetails, Autocomplete, Basket, Bookmark, BookmarksConfig, CAggregation, CAggregationItem, CCAppState, CCWebServiceLabels, CConverter, CFilter, CFilterEx, CFilterItem, CJ, CJson, CJsonMint, CSources, CollectionsConfig, ComponentMapping, CssVars, DateRange, DocumentOffsets, DocumentPages, DocumentTypeMap, DropdownItem, ExportQueryOptions, Extract, FilterDropdown, KeyboardNavigationOnSelectionHandlers, KeyboardNavigatorOptions, LabelsConfig, MultiSelectionState, MultiSelectionToolbarVariants, PageConfiguration, PreviewEvents, PreviewHighlight, PreviewHighlightName, PreviewHighlights, PrincipalState, SearchItem, SearchOptions, SearchesConfig, SelectionHistoryEvent, SelectionState, SelectionStrategy, SideCJson, SortingChoice, Theme, ThemeBodyHookParameters, ThemeScope, ThemeStoreState, UserSettingsState };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinequa/atomic-angular",
3
- "version": "0.4.28",
3
+ "version": "0.4.37",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^20.0.0"
6
6
  },