@sinequa/atomic-angular 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinequa/atomic-angular",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
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.8.0",
38
+ "@sinequa/atomic": ">=2.9.0",
39
39
  "vanilla-calendar-pro": "^3.4.0",
40
40
  "chart.js": "^4.4.0",
41
41
  "chartjs-chart-matrix": "^3.0.0",
@@ -1,4 +1,4 @@
1
- import { SecurityPrincipal, UpdateContainerInput, UploadJobStatus } from "@sinequa/atomic";
1
+ import { SecurityPrincipal, UpdateWorkspaceInput, UploadJobStatus } from "@sinequa/atomic";
2
2
  import * as i0 from "@angular/core";
3
3
  import { AfterContentInit, InjectionToken, PipeTransform, Signal } from "@angular/core";
4
4
  import { DetailedError } from "tus-js-client";
@@ -219,7 +219,7 @@ export declare const WorkspacesStore: import("@angular/core").Type<{
219
219
  loadMore: () => Promise<Workspace[]>;
220
220
  fetch: (id: string) => Promise<Workspace>;
221
221
  create: ({ name, description, tags, owners, readers }: CreateWorkspaceInput) => Promise<Workspace>;
222
- update: (id: string, patch: UpdateContainerInput) => Promise<Workspace | null>;
222
+ update: (id: string, patch: UpdateWorkspaceInput) => Promise<Workspace | null>;
223
223
  remove: (ids: string[]) => Promise<RemoveWorkspacesResult>;
224
224
  forget: (id: string) => void;
225
225
  loadDocuments: (workspaceId: string, signal?: AbortSignal) => Promise<WorkspaceDocument[]>;
@@ -1521,7 +1521,7 @@ export declare class WorkspaceList {
1521
1521
  loadMore: () => Promise<Workspace[]>;
1522
1522
  fetch: (id: string) => Promise<Workspace>;
1523
1523
  create: ({ name, description, tags, owners, readers }: import("@sinequa/atomic-angular/document-workspaces").CreateWorkspaceInput) => Promise<Workspace>;
1524
- update: (id: string, patch: import("@sinequa/atomic").UpdateContainerInput) => Promise<Workspace | null>;
1524
+ update: (id: string, patch: import("@sinequa/atomic").UpdateWorkspaceInput) => Promise<Workspace | null>;
1525
1525
  remove: (ids: string[]) => Promise<import("@sinequa/atomic-angular/document-workspaces").RemoveWorkspacesResult>;
1526
1526
  forget: (id: string) => void;
1527
1527
  loadDocuments: (workspaceId: string, signal?: AbortSignal) => Promise<import("@sinequa/atomic-angular/document-workspaces").WorkspaceDocument[]>;
@@ -2592,11 +2592,11 @@ export declare class WorkspaceMention implements WorkspaceMentionApi, AfterConte
2592
2592
  */
2593
2593
  export declare class WorkspaceMentionNew implements AfterContentInit {
2594
2594
  /** The button's variant. */
2595
- readonly variant: import("@angular/core").InputSignal<"primary" | "secondary" | "none" | "light-accent" | "accent" | "tertiary" | null | undefined>;
2595
+ readonly variant: import("@angular/core").InputSignal<"none" | "primary" | "secondary" | "light-accent" | "accent" | "tertiary" | null | undefined>;
2596
2596
  /** The button's colour scheme. */
2597
2597
  readonly scheme: import("@angular/core").InputSignal<"default" | "neutral" | null | undefined>;
2598
2598
  /** The button's size. */
2599
- readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | "small" | "xs" | "xsmall" | "medium" | "large" | null | undefined>;
2599
+ readonly size: import("@angular/core").InputSignal<"small" | "medium" | "md" | "lg" | "sm" | "xs" | "xsmall" | "large" | null | undefined>;
2600
2600
  private readonly mention;
2601
2601
  private readonly slot;
2602
2602
  /** Whether the host put its own content inside: the icon and the label then stay out. */
@@ -2661,9 +2661,9 @@ export declare class WorkspaceMentionRows {
2661
2661
  /** The search box of the enclosing `<workspace-mention>`: it narrows what the menu offers. */
2662
2662
  export declare class WorkspaceMentionSearch {
2663
2663
  /** The size of the box, as `<SearchInput>` sizes it. */
2664
- readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | null | undefined>;
2664
+ readonly size: import("@angular/core").InputSignal<"md" | "lg" | "sm" | null | undefined>;
2665
2665
  /** The size of the text, as `<SearchInput>` sizes it; follows `size` when absent. */
2666
- readonly textSize: import("@angular/core").InputSignal<"sm" | "base" | null | undefined>;
2666
+ readonly textSize: import("@angular/core").InputSignal<"base" | "sm" | null | undefined>;
2667
2667
  /** The hint shown in the empty box; the translated "Search workspace..." when absent. */
2668
2668
  readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
2669
2669
  /** The accessible name of the box; the placeholder when absent. */