@sinequa/galactik 2.3.0 → 2.4.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
|
@@ -1360,6 +1360,23 @@ export declare class LoadingCircleIcon {
|
|
|
1360
1360
|
*/
|
|
1361
1361
|
export declare const LoadingCircleIconComponent: typeof LoadingCircleIcon;
|
|
1362
1362
|
export type LoadingCircleIconComponent = LoadingCircleIcon;
|
|
1363
|
+
export declare class LockIcon {
|
|
1364
|
+
class: import("@angular/core").InputSignal<string | undefined>;
|
|
1365
|
+
classes: import("@angular/core").Signal<string>;
|
|
1366
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LockIcon, never>;
|
|
1367
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LockIcon, "lock, lock-icon, Lock, LockIcon", never, {
|
|
1368
|
+
"class": {
|
|
1369
|
+
"alias": "class";
|
|
1370
|
+
"required": false;
|
|
1371
|
+
"isSignal": true;
|
|
1372
|
+
};
|
|
1373
|
+
}, {}, never, never, true, never>;
|
|
1374
|
+
}
|
|
1375
|
+
/**
|
|
1376
|
+
* @deprecated Use LockIcon instead.
|
|
1377
|
+
*/
|
|
1378
|
+
export declare const LockIconComponent: typeof LockIcon;
|
|
1379
|
+
export type LockIconComponent = LockIcon;
|
|
1363
1380
|
export declare class MagnifyingGlassIcon {
|
|
1364
1381
|
class: import("@angular/core").InputSignal<string | undefined>;
|
|
1365
1382
|
classes: import("@angular/core").Signal<string>;
|
|
@@ -2716,7 +2733,24 @@ export declare class MenuComponent {
|
|
|
2716
2733
|
classes: import("@angular/core").Signal<string>;
|
|
2717
2734
|
ngMenu: Menu<any>;
|
|
2718
2735
|
readonly popover: PopoverDirective;
|
|
2736
|
+
private readonly host;
|
|
2737
|
+
/** Whether a submenu was open when the last Escape keydown started its way down to its target. */
|
|
2738
|
+
private submenuOpenAtEscape;
|
|
2719
2739
|
constructor();
|
|
2740
|
+
/**
|
|
2741
|
+
* Escape closes the menu and gives the focus back to its trigger.
|
|
2742
|
+
*
|
|
2743
|
+
* Left to the browser, it does nothing: a `popover="auto"` is dismissed by Escape through the browser's
|
|
2744
|
+
* close request, but `@angular/aria` handles the same keydown and calls `preventDefault()` on it, which
|
|
2745
|
+
* cancels that request — while its own Escape only closes a *sub*menu (a standalone `ngMenu` has no
|
|
2746
|
+
* trigger of its own to close). Hence it is done here.
|
|
2747
|
+
*
|
|
2748
|
+
* While a submenu is open, Escape stays with `@angular/aria`: it closes that submenu alone and puts the
|
|
2749
|
+
* focus back on the parent item (APG: one level per press); the next Escape then reaches this method.
|
|
2750
|
+
* Whether a submenu was open is read in the capture phase (see the constructor): by the time this bubbling
|
|
2751
|
+
* listener runs, `@angular/aria` has already closed it.
|
|
2752
|
+
*/
|
|
2753
|
+
onEscape(): void;
|
|
2720
2754
|
onClick(event: MouseEvent): void;
|
|
2721
2755
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
2722
2756
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuComponent, "Menu,menu", ["menu"], {
|
|
@@ -3745,7 +3779,7 @@ export declare class ButtonComponent {
|
|
|
3745
3779
|
variant: import("@angular/core").InputSignal<"primary" | "secondary" | "none" | "light-accent" | "accent" | "tertiary" | null | undefined>;
|
|
3746
3780
|
scheme: import("@angular/core").InputSignal<"default" | "neutral" | null | undefined>;
|
|
3747
3781
|
iconOnly: import("@angular/core").InputSignal<boolean | null | undefined>;
|
|
3748
|
-
size: import("@angular/core").InputSignal<"small" | "medium" | "
|
|
3782
|
+
size: import("@angular/core").InputSignal<"small" | "medium" | "large" | "xs" | "sm" | "md" | "lg" | "xsmall" | null | undefined>;
|
|
3749
3783
|
variants: import("@angular/core").Signal<string | undefined>;
|
|
3750
3784
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
3751
3785
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonComponent, "button", never, {
|
|
@@ -3789,7 +3823,7 @@ declare const BUTTON_ICON_SOLO_CLASS = "btn-icon-solo";
|
|
|
3789
3823
|
declare const buttonVariants: (props?: ({
|
|
3790
3824
|
variant?: "primary" | "secondary" | "none" | "light-accent" | "accent" | "tertiary" | null | undefined;
|
|
3791
3825
|
scheme?: "default" | "neutral" | null | undefined;
|
|
3792
|
-
size?: "small" | "medium" | "
|
|
3826
|
+
size?: "small" | "medium" | "large" | "xs" | "sm" | "md" | "lg" | "xsmall" | null | undefined;
|
|
3793
3827
|
iconOnly?: boolean | null | undefined;
|
|
3794
3828
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3795
3829
|
type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
@@ -5004,7 +5038,7 @@ export declare class TagComponent {
|
|
|
5004
5038
|
class: import("@angular/core").InputSignal<string | undefined>;
|
|
5005
5039
|
variant: import("@angular/core").InputSignal<"primary" | "secondary" | null | undefined>;
|
|
5006
5040
|
scheme: import("@angular/core").InputSignal<"error" | "sage" | "success" | "almond" | "pink" | "grey" | "yellow" | "cherry" | "indigo" | "cyan" | "warning" | "info" | null | undefined>;
|
|
5007
|
-
size: import("@angular/core").InputSignal<"small" | "medium" | "
|
|
5041
|
+
size: import("@angular/core").InputSignal<"small" | "medium" | "xs" | "sm" | "md" | "xsmall" | null | undefined>;
|
|
5008
5042
|
variants: import("@angular/core").Signal<string>;
|
|
5009
5043
|
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
5010
5044
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TagComponent, "tag, Tag", never, {
|
|
@@ -5036,7 +5070,7 @@ declare const TAG_FLAG_CLASS = "tag-flag";
|
|
|
5036
5070
|
declare const tagVariants: (props?: ({
|
|
5037
5071
|
variant?: "primary" | "secondary" | null | undefined;
|
|
5038
5072
|
scheme?: "error" | "sage" | "success" | "almond" | "pink" | "grey" | "yellow" | "cherry" | "indigo" | "cyan" | "warning" | "info" | null | undefined;
|
|
5039
|
-
size?: "small" | "medium" | "
|
|
5073
|
+
size?: "small" | "medium" | "xs" | "sm" | "md" | "xsmall" | null | undefined;
|
|
5040
5074
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5041
5075
|
type TagVariants = VariantProps<typeof tagVariants>;
|
|
5042
5076
|
/**
|
|
@@ -5247,7 +5281,7 @@ export declare class BadgeComponent {
|
|
|
5247
5281
|
variant: import("@angular/core").InputSignal<"number" | "icon" | null | undefined>;
|
|
5248
5282
|
fill: import("@angular/core").InputSignal<"primary" | "secondary" | null | undefined>;
|
|
5249
5283
|
scheme: import("@angular/core").InputSignal<"error" | "sage" | "success" | "almond" | "pink" | "grey" | "yellow" | "cherry" | "indigo" | "cyan" | "warning" | "info" | null | undefined>;
|
|
5250
|
-
size: import("@angular/core").InputSignal<"
|
|
5284
|
+
size: import("@angular/core").InputSignal<"xs" | "sm" | "md" | null | undefined>;
|
|
5251
5285
|
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
5252
5286
|
variants: import("@angular/core").Signal<string>;
|
|
5253
5287
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
@@ -5291,7 +5325,7 @@ declare const badgeVariants: (props?: ({
|
|
|
5291
5325
|
variant?: "number" | "icon" | null | undefined;
|
|
5292
5326
|
style?: "primary" | "secondary" | null | undefined;
|
|
5293
5327
|
scheme?: "error" | "sage" | "success" | "almond" | "pink" | "grey" | "yellow" | "cherry" | "indigo" | "cyan" | "warning" | "info" | null | undefined;
|
|
5294
|
-
size?: "
|
|
5328
|
+
size?: "xs" | "sm" | "md" | null | undefined;
|
|
5295
5329
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5296
5330
|
type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
5297
5331
|
/**
|
|
@@ -5313,7 +5347,7 @@ export declare class BulletComponent {
|
|
|
5313
5347
|
readonly class: import("@angular/core").InputSignal<string | undefined>;
|
|
5314
5348
|
readonly scheme: import("@angular/core").InputSignal<"error" | "sage" | "success" | "almond" | "pink" | "grey" | "yellow" | "cherry" | "indigo" | "cyan" | "warning" | "info" | null | undefined>;
|
|
5315
5349
|
readonly fill: import("@angular/core").InputSignal<"primary" | "secondary" | null | undefined>;
|
|
5316
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
5350
|
+
readonly size: import("@angular/core").InputSignal<"xs" | "sm" | "md" | null | undefined>;
|
|
5317
5351
|
/**
|
|
5318
5352
|
* Wraps the dot in an expanding, fading halo — the "live" status light. Off by default; it
|
|
5319
5353
|
* animates nothing under `prefers-reduced-motion`.
|
|
@@ -5358,7 +5392,7 @@ export declare class BulletComponent {
|
|
|
5358
5392
|
declare const bulletVariants: (props?: ({
|
|
5359
5393
|
scheme?: "error" | "sage" | "success" | "almond" | "pink" | "grey" | "yellow" | "cherry" | "indigo" | "cyan" | "warning" | "info" | null | undefined;
|
|
5360
5394
|
fill?: "primary" | "secondary" | null | undefined;
|
|
5361
|
-
size?: "
|
|
5395
|
+
size?: "xs" | "sm" | "md" | null | undefined;
|
|
5362
5396
|
pulse?: boolean | null | undefined;
|
|
5363
5397
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5364
5398
|
type BulletVariants = VariantProps<typeof bulletVariants>;
|
|
@@ -5372,7 +5406,7 @@ type BulletVariants = VariantProps<typeof bulletVariants>;
|
|
|
5372
5406
|
*/
|
|
5373
5407
|
export declare class KbdComponent {
|
|
5374
5408
|
class: import("@angular/core").InputSignal<string | undefined>;
|
|
5375
|
-
size: import("@angular/core").InputSignal<"
|
|
5409
|
+
size: import("@angular/core").InputSignal<"xs" | "sm" | "md" | null | undefined>;
|
|
5376
5410
|
variants: import("@angular/core").Signal<string>;
|
|
5377
5411
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbdComponent, never>;
|
|
5378
5412
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbdComponent, "kbd, Kbd", never, {
|
|
@@ -5426,7 +5460,7 @@ export declare class KbdGroupComponent {
|
|
|
5426
5460
|
* n'aurait pas de sens et gêne le copier d'un texte l'entourant.
|
|
5427
5461
|
*/
|
|
5428
5462
|
declare const kbdVariants: (props?: ({
|
|
5429
|
-
size?: "
|
|
5463
|
+
size?: "xs" | "sm" | "md" | null | undefined;
|
|
5430
5464
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5431
5465
|
type KbdVariants = VariantProps<typeof kbdVariants>;
|
|
5432
5466
|
/**
|
|
@@ -5440,14 +5474,14 @@ export declare class AvatarFallbackComponent {
|
|
|
5440
5474
|
canrender: import("@angular/core").WritableSignal<boolean>;
|
|
5441
5475
|
class: import("@angular/core").InputSignal<string | undefined>;
|
|
5442
5476
|
/** Explicite ; à défaut, hérité de l'`<avatar>` parent, sinon `"large"` (aligné sur le cva). */
|
|
5443
|
-
size: import("@angular/core").InputSignal<"small" | "medium" | "
|
|
5477
|
+
size: import("@angular/core").InputSignal<"small" | "medium" | "large" | "xsmall" | null | undefined>;
|
|
5444
5478
|
/** Explicite ; à défaut, hérité de l'`<avatar>` parent, sinon `"primary"`. */
|
|
5445
5479
|
fill: import("@angular/core").InputSignal<"primary" | "secondary" | null | undefined>;
|
|
5446
5480
|
/** Explicite ; à défaut, hérité de l'`<avatar>` parent, sinon `"sage"`. */
|
|
5447
5481
|
scheme: import("@angular/core").InputSignal<"error" | "sage" | "success" | "almond" | "pink" | "grey" | "yellow" | "cherry" | "indigo" | "cyan" | "warning" | "info" | null | undefined>;
|
|
5448
5482
|
/** Conteneur parent, pour hériter size/fill/scheme par défaut. */
|
|
5449
5483
|
private readonly avatar;
|
|
5450
|
-
protected readonly resolvedSize: import("@angular/core").Signal<NonNullable<"small" | "medium" | "
|
|
5484
|
+
protected readonly resolvedSize: import("@angular/core").Signal<NonNullable<"small" | "medium" | "large" | "xsmall" | null | undefined>>;
|
|
5451
5485
|
protected readonly resolvedFill: import("@angular/core").Signal<NonNullable<"primary" | "secondary" | null | undefined>>;
|
|
5452
5486
|
protected readonly resolvedScheme: import("@angular/core").Signal<NonNullable<"error" | "sage" | "success" | "almond" | "pink" | "grey" | "yellow" | "cherry" | "indigo" | "cyan" | "warning" | "info" | null | undefined>>;
|
|
5453
5487
|
variants: import("@angular/core").Signal<string>;
|
|
@@ -5529,7 +5563,7 @@ export declare class AvatarComponent {
|
|
|
5529
5563
|
avatarImage: import("@angular/core").Signal<AvatarImageComponent | undefined>;
|
|
5530
5564
|
avatarFallback: import("@angular/core").Signal<AvatarFallbackComponent | undefined>;
|
|
5531
5565
|
class: import("@angular/core").InputSignal<string | undefined>;
|
|
5532
|
-
size: import("@angular/core").InputSignal<"small" | "medium" | "
|
|
5566
|
+
size: import("@angular/core").InputSignal<"small" | "medium" | "large" | "xsmall" | null | undefined>;
|
|
5533
5567
|
fill: import("@angular/core").InputSignal<"primary" | "secondary" | null | undefined>;
|
|
5534
5568
|
scheme: import("@angular/core").InputSignal<"error" | "sage" | "success" | "almond" | "pink" | "grey" | "yellow" | "cherry" | "indigo" | "cyan" | "warning" | "info" | null | undefined>;
|
|
5535
5569
|
variants: import("@angular/core").Signal<string>;
|
|
@@ -5590,7 +5624,7 @@ declare const avatarVariants: (props?: ({
|
|
|
5590
5624
|
content?: "picture" | "initials" | null | undefined;
|
|
5591
5625
|
style?: "primary" | "secondary" | null | undefined;
|
|
5592
5626
|
scheme?: "error" | "sage" | "success" | "almond" | "pink" | "grey" | "yellow" | "cherry" | "indigo" | "cyan" | "warning" | "info" | null | undefined;
|
|
5593
|
-
size?: "small" | "medium" | "
|
|
5627
|
+
size?: "small" | "medium" | "large" | "xsmall" | null | undefined;
|
|
5594
5628
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5595
5629
|
type AvatarVariants = VariantProps<typeof avatarVariants>;
|
|
5596
5630
|
/** Left icon slot — tags its host with the `link-icon-left` class and pins it to the start. */
|
|
@@ -6064,7 +6098,7 @@ declare abstract class SearchInputBase implements FormValueControl<string> {
|
|
|
6064
6098
|
* The clear button is a square box: it drops to `xs` (16px) with small text, and always at `size="sm"`
|
|
6065
6099
|
* so it fits inside the 24px field whatever the text size.
|
|
6066
6100
|
*/
|
|
6067
|
-
buttonSize: import("@angular/core").Signal<"
|
|
6101
|
+
buttonSize: import("@angular/core").Signal<"xs" | "sm">;
|
|
6068
6102
|
/** Icon size follows the text: below the default 16px with small text, like `SearchBar`'s `small`. */
|
|
6069
6103
|
iconClass: import("@angular/core").Signal<"" | "size-3">;
|
|
6070
6104
|
/** Leading magnifier: focus-rotation animation + size-aware sizing. */
|
|
@@ -6201,7 +6235,14 @@ declare abstract class SearchBarBase implements FormValueControl<string> {
|
|
|
6201
6235
|
* (`<SearchBar [formField]="form.query" />`).
|
|
6202
6236
|
*/
|
|
6203
6237
|
value: import("@angular/core").ModelSignal<string>;
|
|
6204
|
-
/**
|
|
6238
|
+
/**
|
|
6239
|
+
* Emitted with the current query, always a `string`: when the built-in send button is activated (click or Enter on
|
|
6240
|
+
* it) and, on the plain bar, when Enter is pressed in the field. The bar with `suggestions` is a combobox, so
|
|
6241
|
+
* Enter in its field commits the active option instead and does not emit.
|
|
6242
|
+
*
|
|
6243
|
+
* The native DOM `search` event of the inner `<input type="search">` (fired by Chromium on Enter) is stopped
|
|
6244
|
+
* inside the component: `(search)` on the host never receives an `Event`.
|
|
6245
|
+
*/
|
|
6205
6246
|
search: import("@angular/core").OutputEmitterRef<string>;
|
|
6206
6247
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
6207
6248
|
/**
|
|
@@ -6236,7 +6277,7 @@ declare abstract class SearchBarBase implements FormValueControl<string> {
|
|
|
6236
6277
|
* Icon-only action buttons (clear / send) shrink to `xs` at the `small`
|
|
6237
6278
|
* size so their square box fits inside the `h-6` pill instead of overflowing.
|
|
6238
6279
|
*/
|
|
6239
|
-
buttonSize: import("@angular/core").Signal<"
|
|
6280
|
+
buttonSize: import("@angular/core").Signal<"xs" | "sm">;
|
|
6240
6281
|
/**
|
|
6241
6282
|
* Trailing/leading icons drop below the default 16px at the `small` size
|
|
6242
6283
|
* so they leave breathing room inside the smaller buttons/pill.
|
|
@@ -6250,6 +6291,12 @@ declare abstract class SearchBarBase implements FormValueControl<string> {
|
|
|
6250
6291
|
searchIconClass: import("@angular/core").Signal<string>;
|
|
6251
6292
|
clearSearch(e: Event): void;
|
|
6252
6293
|
emitSearch(e: Event): void;
|
|
6294
|
+
/**
|
|
6295
|
+
* Enter in the field of the plain bar: emits the current text, and leaves the keydown to bubble up to the host
|
|
6296
|
+
* (unlike `emitSearch`, which is for the buttons). Ignored while an IME composition is running — that Enter
|
|
6297
|
+
* validates the candidate, not the search — and while disabled.
|
|
6298
|
+
*/
|
|
6299
|
+
emitSearchOnEnter(e: Event): void;
|
|
6253
6300
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchBarBase, never>;
|
|
6254
6301
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SearchBarBase, never, never, {
|
|
6255
6302
|
"value": {
|