@sinequa/atomic-angular 2.3.0 → 2.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinequa/atomic-angular",
3
- "version": "2.3.0",
3
+ "version": "2.4.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,7 +35,7 @@
35
35
  "@angular/core": "^22.0.0",
36
36
  "@angular/aria": "^22.2.0",
37
37
  "@sinequa/galactik": "^2.0.0",
38
- "@sinequa/atomic": ">=2.9.0",
38
+ "@sinequa/atomic": ">=2.10.0",
39
39
  "vanilla-calendar-pro": "^3.4.0",
40
40
  "chart.js": "^4.4.0",
41
41
  "chartjs-chart-matrix": "^3.0.0",
@@ -1551,7 +1551,7 @@ export declare class WorkspaceList {
1551
1551
  labelKey: string;
1552
1552
  }[];
1553
1553
  protected readonly viewMode: import("@angular/core").WritableSignal<ViewMode$1>;
1554
- protected readonly status: import("@angular/core").WritableSignal<"error" | "loading" | "ready">;
1554
+ protected readonly status: import("@angular/core").WritableSignal<"loading" | "ready" | "error">;
1555
1555
  protected readonly loadError: import("@angular/core").WritableSignal<Message | null>;
1556
1556
  protected readonly refreshError: import("@angular/core").WritableSignal<string | null>;
1557
1557
  protected readonly loadingMore: import("@angular/core").WritableSignal<boolean>;
@@ -2061,7 +2061,6 @@ export declare class DocumentPreviewPanel {
2061
2061
  protected readonly search: import("@sinequa/atomic-angular/document-workspaces").TextSearch;
2062
2062
  /** A slow answer for a document the user has already left must not replace the one on screen. */
2063
2063
  private token;
2064
- private readonly searchHost;
2065
2064
  constructor();
2066
2065
  private load;
2067
2066
  protected onFrameLoad(): void;
@@ -2136,7 +2135,7 @@ export declare class WorkspaceEditDialog {
2136
2135
  protected readonly busy: import("@angular/core").WritableSignal<boolean>;
2137
2136
  protected readonly error: import("@angular/core").WritableSignal<WorkspaceErrorMessage | null>;
2138
2137
  protected readonly descriptionTooLong: import("@angular/core").Signal<boolean>;
2139
- protected readonly saveLabel: import("@angular/core").Signal<"documentWorkspaces.common.save" | "documentWorkspaces.edit.creating" | "documentWorkspaces.edit.saving" | "documentWorkspaces.common.create">;
2138
+ protected readonly saveLabel: import("@angular/core").Signal<"documentWorkspaces.edit.creating" | "documentWorkspaces.edit.saving" | "documentWorkspaces.common.create" | "documentWorkspaces.common.save">;
2140
2139
  /** What to resolve with once the native dialog has closed: the saved workspace, or the plain dismissal. */
2141
2140
  private outcome;
2142
2141
  constructor();
@@ -2193,7 +2192,7 @@ export declare class WorkspaceDetail {
2193
2192
  protected readonly query: import("@angular/core").WritableSignal<string>;
2194
2193
  /** The search box, bound to `query`. */
2195
2194
  protected readonly searchForm: import("@angular/forms/signals").FieldTree<string, string | number, "writable">;
2196
- protected readonly status: import("@angular/core").WritableSignal<"error" | "loading" | "ready">;
2195
+ protected readonly status: import("@angular/core").WritableSignal<"loading" | "ready" | "error">;
2197
2196
  protected readonly loadError: import("@angular/core").WritableSignal<Message | null>;
2198
2197
  protected readonly refreshError: import("@angular/core").WritableSignal<string | null>;
2199
2198
  protected readonly refreshing: import("@angular/core").WritableSignal<boolean>;
@@ -2328,7 +2327,7 @@ export declare function injectWorkspaceMention(options?: WorkspaceMentionOptions
2328
2327
  /** The workspaces in each category — the whole list, not what the search left. */
2329
2328
  counts: import("@angular/core").Signal<import("@sinequa/atomic-angular/document-workspaces").WorkspaceTabCounts>;
2330
2329
  /** Whether the first page is loading, ready or failed. */
2331
- status: import("@angular/core").Signal<"error" | "loading" | "ready">;
2330
+ status: import("@angular/core").Signal<"loading" | "ready" | "error">;
2332
2331
  /** More workspaces than the loaded ones exist on the server: `loadMore()` fetches the next page. */
2333
2332
  hasMore: import("@angular/core").Signal<boolean>;
2334
2333
  /** The loading cap is reached: some workspaces will never be offered, search included. */
@@ -2375,7 +2374,7 @@ export declare const WORKSPACE_MENTION: InjectionToken<{
2375
2374
  /** The workspaces in each category — the whole list, not what the search left. */
2376
2375
  counts: import("@angular/core").Signal<import("@sinequa/atomic-angular/document-workspaces").WorkspaceTabCounts>;
2377
2376
  /** Whether the first page is loading, ready or failed. */
2378
- status: import("@angular/core").Signal<"error" | "loading" | "ready">;
2377
+ status: import("@angular/core").Signal<"loading" | "ready" | "error">;
2379
2378
  /** More workspaces than the loaded ones exist on the server: `loadMore()` fetches the next page. */
2380
2379
  hasMore: import("@angular/core").Signal<boolean>;
2381
2380
  /** The loading cap is reached: some workspaces will never be offered, search included. */
@@ -2526,7 +2525,7 @@ export declare class WorkspaceMention implements WorkspaceMentionApi, AfterConte
2526
2525
  labelKey: string;
2527
2526
  }[];
2528
2527
  readonly counts: import("@angular/core").Signal<import("@sinequa/atomic-angular/document-workspaces").WorkspaceTabCounts>;
2529
- readonly status: import("@angular/core").Signal<"error" | "loading" | "ready">;
2528
+ readonly status: import("@angular/core").Signal<"loading" | "ready" | "error">;
2530
2529
  readonly hasMore: import("@angular/core").Signal<boolean>;
2531
2530
  readonly truncated: import("@angular/core").Signal<boolean>;
2532
2531
  readonly loadingMore: import("@angular/core").Signal<boolean>;
@@ -2592,11 +2591,11 @@ export declare class WorkspaceMention implements WorkspaceMentionApi, AfterConte
2592
2591
  */
2593
2592
  export declare class WorkspaceMentionNew implements AfterContentInit {
2594
2593
  /** The button's variant. */
2595
- readonly variant: import("@angular/core").InputSignal<"none" | "primary" | "secondary" | "light-accent" | "accent" | "tertiary" | null | undefined>;
2594
+ readonly variant: import("@angular/core").InputSignal<"primary" | "secondary" | "none" | "light-accent" | "accent" | "tertiary" | null | undefined>;
2596
2595
  /** The button's colour scheme. */
2597
2596
  readonly scheme: import("@angular/core").InputSignal<"default" | "neutral" | null | undefined>;
2598
2597
  /** The button's size. */
2599
- readonly size: import("@angular/core").InputSignal<"small" | "medium" | "md" | "lg" | "sm" | "xs" | "xsmall" | "large" | null | undefined>;
2598
+ readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | "small" | "xs" | "xsmall" | "medium" | "large" | null | undefined>;
2600
2599
  private readonly mention;
2601
2600
  private readonly slot;
2602
2601
  /** Whether the host put its own content inside: the icon and the label then stay out. */
@@ -2639,7 +2638,7 @@ export declare class WorkspaceMentionRows {
2639
2638
  labelKey: string;
2640
2639
  }[];
2641
2640
  counts: import("@angular/core").Signal<import("@sinequa/atomic-angular/document-workspaces").WorkspaceTabCounts>;
2642
- status: import("@angular/core").Signal<"error" | "loading" | "ready">;
2641
+ status: import("@angular/core").Signal<"loading" | "ready" | "error">;
2643
2642
  hasMore: import("@angular/core").Signal<boolean>;
2644
2643
  truncated: import("@angular/core").Signal<boolean>;
2645
2644
  loadingMore: import("@angular/core").Signal<boolean>;
@@ -2661,9 +2660,9 @@ export declare class WorkspaceMentionRows {
2661
2660
  /** The search box of the enclosing `<workspace-mention>`: it narrows what the menu offers. */
2662
2661
  export declare class WorkspaceMentionSearch {
2663
2662
  /** The size of the box, as `<SearchInput>` sizes it. */
2664
- readonly size: import("@angular/core").InputSignal<"md" | "lg" | "sm" | null | undefined>;
2663
+ readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | null | undefined>;
2665
2664
  /** The size of the text, as `<SearchInput>` sizes it; follows `size` when absent. */
2666
- readonly textSize: import("@angular/core").InputSignal<"base" | "sm" | null | undefined>;
2665
+ readonly textSize: import("@angular/core").InputSignal<"sm" | "base" | null | undefined>;
2667
2666
  /** The hint shown in the empty box; the translated "Search workspace..." when absent. */
2668
2667
  readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
2669
2668
  /** The accessible name of the box; the placeholder when absent. */
@@ -2710,7 +2709,7 @@ export declare class WorkspaceMentionSelectAll {
2710
2709
  labelKey: string;
2711
2710
  }[];
2712
2711
  counts: import("@angular/core").Signal<import("@sinequa/atomic-angular/document-workspaces").WorkspaceTabCounts>;
2713
- status: import("@angular/core").Signal<"error" | "loading" | "ready">;
2712
+ status: import("@angular/core").Signal<"loading" | "ready" | "error">;
2714
2713
  hasMore: import("@angular/core").Signal<boolean>;
2715
2714
  truncated: import("@angular/core").Signal<boolean>;
2716
2715
  loadingMore: import("@angular/core").Signal<boolean>;
@@ -2746,7 +2745,7 @@ export declare class WorkspaceMentionTabs {
2746
2745
  labelKey: string;
2747
2746
  }[];
2748
2747
  counts: import("@angular/core").Signal<import("@sinequa/atomic-angular/document-workspaces").WorkspaceTabCounts>;
2749
- status: import("@angular/core").Signal<"error" | "loading" | "ready">;
2748
+ status: import("@angular/core").Signal<"loading" | "ready" | "error">;
2750
2749
  hasMore: import("@angular/core").Signal<boolean>;
2751
2750
  truncated: import("@angular/core").Signal<boolean>;
2752
2751
  loadingMore: import("@angular/core").Signal<boolean>;
@@ -2791,14 +2790,14 @@ export declare const NEW_WORKSPACE_NAME_MAX = 50;
2791
2790
  */
2792
2791
  export declare class WorkspacePicker {
2793
2792
  /** `save` attaches `documents` to the chosen workspace; `move` takes `documentIds` from `fromWorkspaceId` to it. */
2794
- readonly mode: import("@angular/core").InputSignal<"move" | "save">;
2793
+ readonly mode: import("@angular/core").InputSignal<"save" | "move">;
2795
2794
  readonly documents: import("@angular/core").InputSignal<readonly PickerDocument[]>;
2796
2795
  readonly fromWorkspaceId: import("@angular/core").InputSignal<string | null>;
2797
2796
  readonly documentIds: import("@angular/core").InputSignal<readonly string[]>;
2798
2797
  /** The documents are in the workspace, and the check mark has been seen. */
2799
2798
  readonly completed: import("@angular/core").OutputEmitterRef<Workspace>;
2800
2799
  private readonly store;
2801
- protected readonly status: import("@angular/core").WritableSignal<"error" | "loading" | "ready">;
2800
+ protected readonly status: import("@angular/core").WritableSignal<"loading" | "ready" | "error">;
2802
2801
  protected readonly busyId: import("@angular/core").WritableSignal<string | null>;
2803
2802
  protected readonly doneId: import("@angular/core").WritableSignal<string | null>;
2804
2803
  protected readonly error: import("@angular/core").WritableSignal<Message | null>;