@kirana-ui/angular 0.1.1 → 0.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/fesm2022/kirana-ui-angular-agent.mjs +1 -0
- package/fesm2022/kirana-ui-angular-testing.mjs +1 -0
- package/fesm2022/kirana-ui-angular.mjs +781 -847
- package/fesm2022/kirana-ui-angular.mjs.map +1 -1
- package/llms.txt +1695 -313
- package/package.json +10 -2
- package/skills/kirana-ui-primitives/SKILL.md +142 -0
- package/types/kirana-ui-angular-agent.d.ts +1 -0
- package/types/kirana-ui-angular-testing.d.ts +1 -0
- package/types/kirana-ui-angular.d.ts +501 -498
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { DoCheck, OnInit, Signal } from "@angular/core";
|
|
3
|
-
import { Align, ChangeDetails, Direction, ListCollection, Orientation, Part, ReadonlySignal, Side, Signal as Signal$
|
|
2
|
+
import { AfterViewInit, DoCheck, ElementRef, OnInit, Signal as Signal$1, TemplateRef } from "@angular/core";
|
|
3
|
+
import { Align, Align as Align$1, Anchor, Anchor as Anchor$1, AnchorOption, Bindable, ChangeDetails, ChangeDetails as ChangeDetails$1, ChangeSource, ComponentDefinition, Direction, Direction as Direction$1, ItemLabels, ItemLabels as ItemLabels$1, ListCollection, ListCollection as ListCollection$1, Orientation, Orientation as Orientation$1, Part, Part as Part$1, PartDefinition, PartEvent, PartProps, PartState, PartStyle, PhysicalSide, PositionOptions, PositionOptions as PositionOptions$1, ReadonlySignal, ReadonlySignal as ReadonlySignal$1, Side, Side as Side$1, Signal, Signal as Signal$2, StateDefinition, StateOf } from "@kirana-ui/core";
|
|
4
4
|
import { Accordion, AccordionItem } from "@kirana-ui/core/accordion";
|
|
5
5
|
import { Checkbox } from "@kirana-ui/core/checkbox";
|
|
6
6
|
import { Collapsible } from "@kirana-ui/core/collapsible";
|
|
7
|
-
import { DrawerSide, DrawerSnapPoint } from "@kirana-ui/core/drawer";
|
|
7
|
+
import { DrawerSide, DrawerSide as DrawerSide$1, DrawerSnapPoint, DrawerSnapPoint as DrawerSnapPoint$1 } from "@kirana-ui/core/drawer";
|
|
8
8
|
import { Dialog } from "@kirana-ui/core/dialog";
|
|
9
9
|
import { Combobox, ComboboxGroup } from "@kirana-ui/core/combobox";
|
|
10
10
|
import { Listbox, ListboxGroup } from "@kirana-ui/core/listbox";
|
|
@@ -12,20 +12,21 @@ import { Menu, MenuCheckboxItem, MenuGroup, MenuRadioGroup } from "@kirana-ui/co
|
|
|
12
12
|
import { Menubar } from "@kirana-ui/core/menubar";
|
|
13
13
|
import { NavigationMenu, NavigationMenuItem } from "@kirana-ui/core/navigation-menu";
|
|
14
14
|
import { Otp, OtpSlot } from "@kirana-ui/core/otp";
|
|
15
|
-
import { QrCode, QrCorrection } from "@kirana-ui/core/qr-code";
|
|
16
|
-
import { DateField, DateFieldSegment } from "@kirana-ui/core/date-field";
|
|
17
|
-
import { Calendar, CalendarValue, CalendarWeekday } from "@kirana-ui/core/calendar";
|
|
15
|
+
import { QrCode, QrCorrection, QrCorrection as QrCorrection$1 } from "@kirana-ui/core/qr-code";
|
|
16
|
+
import { DateField, DateFieldProps, DateFieldSegment, DateFieldSegment as DateFieldSegment$1, DateUnit } from "@kirana-ui/core/date-field";
|
|
17
|
+
import { Calendar, CalendarDay, CalendarDay as CalendarDay$1, CalendarProps, CalendarValue, CalendarValue as CalendarValue$1, CalendarWeekday, CalendarWeekday as CalendarWeekday$1, DateRange, IsoDate } from "@kirana-ui/core/calendar";
|
|
18
18
|
import { MessageScroller } from "@kirana-ui/core/message-scroller";
|
|
19
19
|
import { Autosize } from "@kirana-ui/core/autosize";
|
|
20
|
-
import { Pagination } from "@kirana-ui/core/pagination";
|
|
20
|
+
import { Pagination, PaginationEntry, PaginationEntry as PaginationEntry$1 } from "@kirana-ui/core/pagination";
|
|
21
21
|
import { DatePicker } from "@kirana-ui/core/date-picker";
|
|
22
22
|
import { NumberField } from "@kirana-ui/core/number-field";
|
|
23
23
|
import { Command, CommandGroup } from "@kirana-ui/core/command";
|
|
24
24
|
import { Carousel } from "@kirana-ui/core/carousel";
|
|
25
|
-
import
|
|
25
|
+
import * as Core from "@kirana-ui/core/toast";
|
|
26
|
+
import { ToasterOptions } from "@kirana-ui/core/toast";
|
|
26
27
|
import { Resizable } from "@kirana-ui/core/resizable";
|
|
27
28
|
import { Popover } from "@kirana-ui/core/popover";
|
|
28
|
-
import { Select, SelectGroup } from "@kirana-ui/core/select";
|
|
29
|
+
import { Select, SelectGroup, SelectShown, SelectShown as SelectShown$1 } from "@kirana-ui/core/select";
|
|
29
30
|
import { RadioGroup } from "@kirana-ui/core/radio-group";
|
|
30
31
|
import { Switch } from "@kirana-ui/core/switch";
|
|
31
32
|
import { Tabs } from "@kirana-ui/core/tabs";
|
|
@@ -37,32 +38,32 @@ import { ValueBar as ValueBar$1 } from "@kirana-ui/core/progress";
|
|
|
37
38
|
import { ToggleGroup } from "@kirana-ui/core/toggle-group";
|
|
38
39
|
import { Toolbar } from "@kirana-ui/core/toolbar";
|
|
39
40
|
import { ScrollArea, ScrollAreaScrollbar } from "@kirana-ui/core/scroll-area";
|
|
40
|
-
import { Slider, SliderChangeDetails, SliderValue } from "@kirana-ui/core/slider";
|
|
41
|
-
import { Field, FieldValidity, ValidityKey } from "@kirana-ui/core/field";
|
|
42
|
-
import { Form, FormErrors, FormValues, ValidationMode } from "@kirana-ui/core/form";
|
|
41
|
+
import { Slider, SliderChangeDetails, SliderChangeDetails as SliderChangeDetails$1, SliderTold, SliderTold as SliderTold$1, SliderValue } from "@kirana-ui/core/slider";
|
|
42
|
+
import { Field, FieldValidity, FieldValidity as FieldValidity$1, ValidityKey, ValidityKey as ValidityKey$1 } from "@kirana-ui/core/field";
|
|
43
|
+
import { Form, FormErrors, FormErrors as FormErrors$1, FormValues, FormValues as FormValues$1, ValidationMode, ValidationMode as ValidationMode$1 } from "@kirana-ui/core/form";
|
|
43
44
|
import { Fieldset } from "@kirana-ui/core/fieldset";
|
|
44
|
-
export declare class KuiAccordion implements OnInit {
|
|
45
|
-
readonly value: import("@angular/core").ModelSignal<readonly
|
|
46
|
-
readonly defaultValue: import("@angular/core").InputSignal<readonly
|
|
45
|
+
export declare class KuiAccordion<Value = unknown> implements OnInit {
|
|
46
|
+
readonly value: import("@angular/core").ModelSignal<readonly Value[] | undefined>;
|
|
47
|
+
readonly defaultValue: import("@angular/core").InputSignal<readonly Value[] | undefined>;
|
|
47
48
|
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
48
49
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
49
|
-
readonly orientation: import("@angular/core").InputSignal<Orientation | undefined>;
|
|
50
|
+
readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
|
|
50
51
|
readonly loop: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
51
52
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
52
53
|
/** The change with why it happened; `details.cancel()` keeps the value. */
|
|
53
54
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
54
|
-
value:
|
|
55
|
-
details: ChangeDetails;
|
|
55
|
+
value: Value[];
|
|
56
|
+
details: ChangeDetails$1;
|
|
56
57
|
}>;
|
|
57
|
-
controller: Accordion
|
|
58
|
+
controller: Accordion<Value>;
|
|
58
59
|
private readonly around;
|
|
59
60
|
private readonly generated;
|
|
60
61
|
private readonly props;
|
|
61
62
|
private readonly part;
|
|
62
63
|
private readonly mount;
|
|
63
64
|
ngOnInit(): void;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KuiAccordion
|
|
65
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiAccordion
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiAccordion<any>, never>;
|
|
66
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiAccordion<any>, "[kuiAccordion]", ["kuiAccordion"], {
|
|
66
67
|
"value": {
|
|
67
68
|
"alias": "value";
|
|
68
69
|
"required": false;
|
|
@@ -103,12 +104,14 @@ export declare class KuiAccordion implements OnInit {
|
|
|
103
104
|
"valueChanged": "valueChanged";
|
|
104
105
|
}, never, never, true, never>;
|
|
105
106
|
}
|
|
107
|
+
/** `value` tells this item from the others; an item that is given none makes its own. */
|
|
106
108
|
export declare class KuiAccordionItem implements OnInit {
|
|
107
109
|
readonly value: import("@angular/core").InputSignal<unknown>;
|
|
108
110
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
109
111
|
item: AccordionItem;
|
|
110
112
|
private readonly root;
|
|
111
113
|
private readonly destroy;
|
|
114
|
+
private readonly generated;
|
|
112
115
|
private readonly part;
|
|
113
116
|
private readonly options;
|
|
114
117
|
ngOnInit(): void;
|
|
@@ -116,7 +119,7 @@ export declare class KuiAccordionItem implements OnInit {
|
|
|
116
119
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiAccordionItem, "[kuiAccordionItem]", never, {
|
|
117
120
|
"value": {
|
|
118
121
|
"alias": "value";
|
|
119
|
-
"required":
|
|
122
|
+
"required": false;
|
|
120
123
|
"isSignal": true;
|
|
121
124
|
};
|
|
122
125
|
"disabled": {
|
|
@@ -142,6 +145,10 @@ export declare class KuiAccordionTrigger implements OnInit {
|
|
|
142
145
|
}
|
|
143
146
|
/** `<div *kuiAccordionPanel>`: in the page while open; `{ keepMounted: true }` keeps it, hidden. */
|
|
144
147
|
export declare class KuiAccordionPanel implements OnInit {
|
|
148
|
+
/**
|
|
149
|
+
* Its options: `{ keepMounted: true }` keeps the panel in the page, hidden, while its item is
|
|
150
|
+
* closed.
|
|
151
|
+
*/
|
|
145
152
|
readonly kuiAccordionPanel: import("@angular/core").InputSignal<"" | {
|
|
146
153
|
keepMounted?: boolean;
|
|
147
154
|
}>;
|
|
@@ -173,7 +180,7 @@ export declare class KuiCheckbox implements OnInit {
|
|
|
173
180
|
/** The change with why it happened; `details.cancel()` keeps the value. */
|
|
174
181
|
readonly checkedChanged: import("@angular/core").OutputEmitterRef<{
|
|
175
182
|
checked: boolean;
|
|
176
|
-
details: ChangeDetails;
|
|
183
|
+
details: ChangeDetails$1;
|
|
177
184
|
}>;
|
|
178
185
|
controller: Checkbox;
|
|
179
186
|
private readonly field;
|
|
@@ -256,7 +263,7 @@ export declare class KuiCollapsible implements OnInit {
|
|
|
256
263
|
/** The change with why it happened; `details.cancel()` keeps the value. */
|
|
257
264
|
readonly openChanged: import("@angular/core").OutputEmitterRef<{
|
|
258
265
|
open: boolean;
|
|
259
|
-
details: ChangeDetails;
|
|
266
|
+
details: ChangeDetails$1;
|
|
260
267
|
}>;
|
|
261
268
|
controller: Collapsible;
|
|
262
269
|
private readonly generated;
|
|
@@ -300,6 +307,9 @@ export declare class KuiCollapsibleTrigger implements OnInit {
|
|
|
300
307
|
}
|
|
301
308
|
/** `<div *kuiCollapsiblePanel>`: in the page while open; `{ keepMounted: true }` keeps it, hidden. */
|
|
302
309
|
export declare class KuiCollapsiblePanel implements OnInit {
|
|
310
|
+
/**
|
|
311
|
+
* Its options: `{ keepMounted: true }` keeps the panel in the page, hidden, while it is closed.
|
|
312
|
+
*/
|
|
303
313
|
readonly kuiCollapsiblePanel: import("@angular/core").InputSignal<"" | {
|
|
304
314
|
keepMounted?: boolean;
|
|
305
315
|
}>;
|
|
@@ -315,42 +325,47 @@ export declare class KuiCollapsiblePanel implements OnInit {
|
|
|
315
325
|
};
|
|
316
326
|
}, {}, never, never, true, never>;
|
|
317
327
|
}
|
|
318
|
-
/** On any element, or on `<ng-container>` to draw none. */
|
|
319
328
|
/**
|
|
320
|
-
* `
|
|
321
|
-
*
|
|
322
|
-
*
|
|
329
|
+
* On any element, or on `<ng-container>` to draw none. `kuiDrawer` in place of `kuiDialog` is a
|
|
330
|
+
* dialog that comes from an edge and is dragged back to it (`swipeDirection`): its parts are a
|
|
331
|
+
* dialog's (`kuiDialogPopup` …). An alert dialog has a root of its own, `kuiAlertDialog`.
|
|
323
332
|
*/
|
|
324
333
|
export declare class KuiDialog implements OnInit {
|
|
325
334
|
readonly open: import("@angular/core").ModelSignal<boolean | undefined>;
|
|
326
335
|
readonly defaultOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
336
|
+
/** Blocks the page behind it and traps focus. Default `true`. */
|
|
327
337
|
readonly modal: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
338
|
+
/** Whether a press outside closes it. Default `true`. */
|
|
328
339
|
readonly dismissible: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
329
340
|
/** With `kuiDrawer`: the way it is dragged to close it. Default: `"down"`. */
|
|
330
|
-
readonly swipeDirection: import("@angular/core").InputSignal<DrawerSide | undefined>;
|
|
341
|
+
readonly swipeDirection: import("@angular/core").InputSignal<DrawerSide$1 | undefined>;
|
|
331
342
|
/** With `kuiDrawer`: places it rests at, each the share of itself that shows. */
|
|
332
|
-
readonly snapPoints: import("@angular/core").InputSignal<readonly DrawerSnapPoint[] | undefined>;
|
|
343
|
+
readonly snapPoints: import("@angular/core").InputSignal<readonly DrawerSnapPoint$1[] | undefined>;
|
|
333
344
|
/** With `kuiDrawer`: which of them it rests at, `[(snapPoint)]`. */
|
|
334
|
-
readonly snapPoint: import("@angular/core").ModelSignal<DrawerSnapPoint | undefined>;
|
|
335
|
-
|
|
345
|
+
readonly snapPoint: import("@angular/core").ModelSignal<DrawerSnapPoint$1 | undefined>;
|
|
346
|
+
/** With `kuiDrawer`: where it opens. Default: the smallest. */
|
|
347
|
+
readonly defaultSnapPoint: import("@angular/core").InputSignal<DrawerSnapPoint$1 | undefined>;
|
|
348
|
+
/**
|
|
349
|
+
* With `kuiDrawer`: heard as it is about to rest at another snap point; `details.cancel()` keeps
|
|
350
|
+
* it where it was.
|
|
351
|
+
*/
|
|
336
352
|
readonly snapPointChanged: import("@angular/core").OutputEmitterRef<{
|
|
337
|
-
snapPoint: DrawerSnapPoint;
|
|
338
|
-
details: ChangeDetails;
|
|
353
|
+
snapPoint: DrawerSnapPoint$1;
|
|
354
|
+
details: ChangeDetails$1;
|
|
339
355
|
}>;
|
|
340
356
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
341
357
|
readonly openChanged: import("@angular/core").OutputEmitterRef<{
|
|
342
358
|
open: boolean;
|
|
343
|
-
details: ChangeDetails;
|
|
359
|
+
details: ChangeDetails$1;
|
|
344
360
|
}>;
|
|
345
361
|
controller: Dialog;
|
|
346
|
-
private readonly alert;
|
|
347
362
|
private readonly drawer;
|
|
348
363
|
private readonly generated;
|
|
349
364
|
private readonly props;
|
|
350
365
|
private readonly mount;
|
|
351
366
|
ngOnInit(): void;
|
|
352
367
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiDialog, never>;
|
|
353
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiDialog, "[kuiDialog],[
|
|
368
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiDialog, "[kuiDialog],[kuiDrawer]", ["kuiDialog"], {
|
|
354
369
|
"open": {
|
|
355
370
|
"alias": "open";
|
|
356
371
|
"required": false;
|
|
@@ -403,6 +418,47 @@ export declare class KuiDialog implements OnInit {
|
|
|
403
418
|
"openChanged": "openChanged";
|
|
404
419
|
}, never, never, true, never>;
|
|
405
420
|
}
|
|
421
|
+
/**
|
|
422
|
+
* `kuiAlertDialog`, on any element or on `<ng-container>`: a dialog that asks for an answer.
|
|
423
|
+
* It is always modal and a press outside it never closes it, so it takes neither `[modal]`
|
|
424
|
+
* nor `[dismissible]`. Its parts are a dialog's (`kuiDialogTrigger`, `kuiDialogPopup` …), which
|
|
425
|
+
* find it as their root.
|
|
426
|
+
*/
|
|
427
|
+
export declare class KuiAlertDialog implements OnInit {
|
|
428
|
+
readonly open: import("@angular/core").ModelSignal<boolean | undefined>;
|
|
429
|
+
readonly defaultOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
430
|
+
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
431
|
+
readonly openChanged: import("@angular/core").OutputEmitterRef<{
|
|
432
|
+
open: boolean;
|
|
433
|
+
details: ChangeDetails$1;
|
|
434
|
+
}>;
|
|
435
|
+
controller: Dialog;
|
|
436
|
+
private readonly generated;
|
|
437
|
+
private readonly props;
|
|
438
|
+
private readonly mount;
|
|
439
|
+
ngOnInit(): void;
|
|
440
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiAlertDialog, never>;
|
|
441
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiAlertDialog, "[kuiAlertDialog]", ["kuiDialog"], {
|
|
442
|
+
"open": {
|
|
443
|
+
"alias": "open";
|
|
444
|
+
"required": false;
|
|
445
|
+
"isSignal": true;
|
|
446
|
+
};
|
|
447
|
+
"defaultOpen": {
|
|
448
|
+
"alias": "defaultOpen";
|
|
449
|
+
"required": false;
|
|
450
|
+
"isSignal": true;
|
|
451
|
+
};
|
|
452
|
+
"kuiId": {
|
|
453
|
+
"alias": "kuiId";
|
|
454
|
+
"required": false;
|
|
455
|
+
"isSignal": true;
|
|
456
|
+
};
|
|
457
|
+
}, {
|
|
458
|
+
"open": "openChange";
|
|
459
|
+
"openChanged": "openChanged";
|
|
460
|
+
}, never, never, true, never>;
|
|
461
|
+
}
|
|
406
462
|
/** `<ng-template kuiDialogPortal>` or `*kuiDialogPortal`: its content at the end of the page while open. */
|
|
407
463
|
export declare class KuiDialogPortal implements OnInit {
|
|
408
464
|
private readonly root;
|
|
@@ -447,14 +503,124 @@ export declare class KuiDialogClose implements OnInit {
|
|
|
447
503
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiDialogClose, never>;
|
|
448
504
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiDialogClose, "[kuiDialogClose]", never, {}, {}, never, never, true, never>;
|
|
449
505
|
}
|
|
506
|
+
/** Ids for parts whose caller gave none: one counter per application, so a server and its client agree. */
|
|
507
|
+
export declare class KuiIds {
|
|
508
|
+
private next;
|
|
509
|
+
make(): string;
|
|
510
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiIds, never>;
|
|
511
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* A core signal that follows a directive's inputs. Call it where injection works (a field
|
|
515
|
+
* initialiser or the constructor); `read` first runs when the directive's inputs are set.
|
|
516
|
+
*/
|
|
517
|
+
export declare function inputsSignal<T extends Record<string, unknown>>(read: () => T): (() => Signal$2<T>) & {
|
|
518
|
+
sync(): void;
|
|
519
|
+
};
|
|
520
|
+
/**
|
|
521
|
+
* Puts a part on the directive's host element: the core writes its attributes and listens for its
|
|
522
|
+
* events itself, so nothing waits for change detection. Returns a function to call in `ngOnInit`,
|
|
523
|
+
* when the part's controller exists.
|
|
524
|
+
*/
|
|
525
|
+
export declare function hostPart(): (part: Part$1) => void;
|
|
526
|
+
/**
|
|
527
|
+
* What a positioner's `anchor` may be: an element (a template variable, `#box`), an
|
|
528
|
+
* `ElementRef`, a place in the viewport (an object with `getBoundingClientRect`), or a function
|
|
529
|
+
* that gives one of those (a `viewChild` signal).
|
|
530
|
+
*/
|
|
531
|
+
type PositionerAnchor = Anchor$1 | ElementRef<Element> | (() => Anchor$1 | ElementRef<Element> | null | undefined) | null | undefined;
|
|
532
|
+
/**
|
|
533
|
+
* A positioner: where its popup goes, as inputs. The one place they are named: each
|
|
534
|
+
* component's positioner extends this and says which controller it is a part of.
|
|
535
|
+
*/
|
|
536
|
+
export declare abstract class KuiPositioner implements OnInit {
|
|
537
|
+
readonly side: import("@angular/core").InputSignal<Side$1 | undefined>;
|
|
538
|
+
readonly align: import("@angular/core").InputSignal<Align$1 | undefined>;
|
|
539
|
+
readonly sideOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
540
|
+
readonly alignOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
541
|
+
readonly collisionPadding: import("@angular/core").InputSignal<number | undefined>;
|
|
542
|
+
/**
|
|
543
|
+
* What the popup is placed against, when that is not its trigger. It may change while the
|
|
544
|
+
* popup is open: the popup follows.
|
|
545
|
+
*/
|
|
546
|
+
readonly anchor: import("@angular/core").InputSignal<any>;
|
|
547
|
+
private readonly host;
|
|
548
|
+
private readonly options;
|
|
549
|
+
/** The controller it is a part of, once its root has made one. */
|
|
550
|
+
protected abstract placed(): {
|
|
551
|
+
positioning: Signal$2<Partial<PositionOptions$1>>;
|
|
552
|
+
positioner: Part$1;
|
|
553
|
+
} | undefined;
|
|
554
|
+
constructor();
|
|
555
|
+
ngOnInit(): void;
|
|
556
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiPositioner, never>;
|
|
557
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiPositioner, never, never, {
|
|
558
|
+
"side": {
|
|
559
|
+
"alias": "side";
|
|
560
|
+
"required": false;
|
|
561
|
+
"isSignal": true;
|
|
562
|
+
};
|
|
563
|
+
"align": {
|
|
564
|
+
"alias": "align";
|
|
565
|
+
"required": false;
|
|
566
|
+
"isSignal": true;
|
|
567
|
+
};
|
|
568
|
+
"sideOffset": {
|
|
569
|
+
"alias": "sideOffset";
|
|
570
|
+
"required": false;
|
|
571
|
+
"isSignal": true;
|
|
572
|
+
};
|
|
573
|
+
"alignOffset": {
|
|
574
|
+
"alias": "alignOffset";
|
|
575
|
+
"required": false;
|
|
576
|
+
"isSignal": true;
|
|
577
|
+
};
|
|
578
|
+
"collisionPadding": {
|
|
579
|
+
"alias": "collisionPadding";
|
|
580
|
+
"required": false;
|
|
581
|
+
"isSignal": true;
|
|
582
|
+
};
|
|
583
|
+
"anchor": {
|
|
584
|
+
"alias": "anchor";
|
|
585
|
+
"required": false;
|
|
586
|
+
"isSignal": true;
|
|
587
|
+
};
|
|
588
|
+
}, {}, never, never, true, never>;
|
|
589
|
+
}
|
|
590
|
+
/** Whether this is a server's document: no layout, no observers, and nothing changes once written. */
|
|
591
|
+
export declare const onServer: () => boolean;
|
|
592
|
+
/**
|
|
593
|
+
* A part the directive draws itself, as the last child of its host: the hidden native input of a
|
|
594
|
+
* form control, which the caller does not write. Returns a function to call in `ngOnInit`.
|
|
595
|
+
*/
|
|
596
|
+
export declare function innerPart(tag: string): (part: Part$1) => void;
|
|
597
|
+
/** Runs a controller's own effects for the directive's life. */
|
|
598
|
+
export declare function mounted(): (controller: {
|
|
599
|
+
mount(): () => void;
|
|
600
|
+
}) => void;
|
|
601
|
+
/**
|
|
602
|
+
* For a structural directive (`*kuiCollapsiblePanel`): its template is in the page only while
|
|
603
|
+
* `show` holds, so a closed panel is really gone, its content with it. `part` goes on the
|
|
604
|
+
* template's element. With `portal`, the template is drawn in a container at the end of the page.
|
|
605
|
+
* Returns a function to call in `ngOnInit`.
|
|
606
|
+
*/
|
|
607
|
+
export declare function presentWhile(options?: {
|
|
608
|
+
portal?: boolean;
|
|
609
|
+
/** Drawn as children of this element instead, which is elsewhere in the page. */
|
|
610
|
+
into?: () => HTMLElement | undefined;
|
|
611
|
+
}): (show: ReadonlySignal$1<boolean> | (() => boolean), part?: Part$1,
|
|
612
|
+
/** Called with the template's element each time it is drawn; what it returns runs when it goes. */
|
|
613
|
+
drawn?: (element: HTMLElement) => () => void) => void;
|
|
450
614
|
/**
|
|
451
615
|
* `kuiAutocomplete` is a combobox whose text is the value: `[(value)]` is the text, and the
|
|
452
616
|
* list only suggests. Its parts are the combobox's directives.
|
|
453
617
|
*/
|
|
454
|
-
export declare class KuiCombobox implements OnInit {
|
|
455
|
-
readonly value: import("@angular/core").ModelSignal<
|
|
456
|
-
readonly defaultValue: import("@angular/core").InputSignal<
|
|
618
|
+
export declare class KuiCombobox<Value = unknown> implements OnInit {
|
|
619
|
+
readonly value: import("@angular/core").ModelSignal<Value | null | undefined>;
|
|
620
|
+
readonly defaultValue: import("@angular/core").InputSignal<NoInfer<Value> | null>;
|
|
621
|
+
/** What the input says, `[(inputValue)]`. With `kuiAutocomplete` the text is `[(value)]`. */
|
|
457
622
|
readonly inputValue: import("@angular/core").ModelSignal<string | undefined>;
|
|
623
|
+
/** The text the input starts with, when the caller does not hold `inputValue`. Read once. */
|
|
458
624
|
readonly defaultInputValue: import("@angular/core").InputSignal<string | undefined>;
|
|
459
625
|
readonly open: import("@angular/core").ModelSignal<boolean | undefined>;
|
|
460
626
|
readonly defaultOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -462,52 +628,64 @@ export declare class KuiCombobox implements OnInit {
|
|
|
462
628
|
readonly name: import("@angular/core").InputSignal<string | undefined>;
|
|
463
629
|
/** The id of the form the control belongs to, when it is not inside it. */
|
|
464
630
|
readonly form: import("@angular/core").InputSignal<string | undefined>;
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
label: string;
|
|
468
|
-
}[] | undefined>;
|
|
631
|
+
/** The values' labels: a list of values with their labels, or the labels by value. */
|
|
632
|
+
readonly items: import("@angular/core").InputSignal<ItemLabels$1<Value> | undefined>;
|
|
469
633
|
/** Whether an item is shown for what was typed; `null` shows every item. */
|
|
470
634
|
readonly filter: import("@angular/core").InputSignal<((label: string, query: string) => boolean) | null | undefined>;
|
|
471
635
|
/** In a field, "none" is then wrong. */
|
|
472
636
|
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
473
637
|
/** Several values, each shown as a chip: they are `values`, not `value`. */
|
|
474
638
|
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
475
|
-
|
|
476
|
-
readonly
|
|
639
|
+
/** With `multiple`: the chosen values, in the order they were chosen, `[(values)]`. */
|
|
640
|
+
readonly values: import("@angular/core").ModelSignal<readonly Value[] | undefined>;
|
|
641
|
+
/**
|
|
642
|
+
* With `multiple`: the values it starts with, when the caller does not hold `values`. Read once.
|
|
643
|
+
*/
|
|
644
|
+
readonly defaultValues: import("@angular/core").InputSignal<readonly Value[] | undefined>;
|
|
645
|
+
/**
|
|
646
|
+
* With `multiple`: heard as a value is about to be added or taken away; `details.cancel()` keeps
|
|
647
|
+
* the values as they were.
|
|
648
|
+
*/
|
|
477
649
|
readonly valuesChanged: import("@angular/core").OutputEmitterRef<{
|
|
478
|
-
values:
|
|
479
|
-
details: ChangeDetails;
|
|
650
|
+
values: Value[];
|
|
651
|
+
details: ChangeDetails$1;
|
|
480
652
|
}>;
|
|
481
653
|
/** The list is always in the page, with no popup: a command palette. */
|
|
482
654
|
readonly inline: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
483
655
|
/** Every row, when only some are in the page: each item is then given its `index`. */
|
|
484
|
-
readonly virtualized: import("@angular/core").InputSignal<ListCollection | undefined>;
|
|
656
|
+
readonly virtualized: import("@angular/core").InputSignal<ListCollection$1 | undefined>;
|
|
657
|
+
/**
|
|
658
|
+
* The first item shown for what was typed is highlighted as one types, so Enter chooses it.
|
|
659
|
+
* Off by default.
|
|
660
|
+
*/
|
|
661
|
+
readonly autoHighlight: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
485
662
|
/** With `kuiAutocomplete`: `"none"` shows the suggestions as the caller draws them. */
|
|
486
663
|
readonly mode: import("@angular/core").InputSignal<"none" | "list" | undefined>;
|
|
487
664
|
/** With `kuiAutocomplete`: a press on the input opens the list. */
|
|
488
665
|
readonly openOnInputClick: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
489
666
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
490
667
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
491
|
-
value:
|
|
492
|
-
details: ChangeDetails;
|
|
668
|
+
value: Value | null;
|
|
669
|
+
details: ChangeDetails$1;
|
|
493
670
|
}>;
|
|
671
|
+
/** Heard as the input's text is about to change; `details.cancel()` keeps it as it was. */
|
|
494
672
|
readonly inputValueChanged: import("@angular/core").OutputEmitterRef<{
|
|
495
673
|
value: string;
|
|
496
|
-
details: ChangeDetails;
|
|
674
|
+
details: ChangeDetails$1;
|
|
497
675
|
}>;
|
|
498
676
|
readonly openChanged: import("@angular/core").OutputEmitterRef<{
|
|
499
677
|
open: boolean;
|
|
500
|
-
details: ChangeDetails;
|
|
678
|
+
details: ChangeDetails$1;
|
|
501
679
|
}>;
|
|
502
|
-
controller: Combobox
|
|
680
|
+
controller: Combobox<Value>;
|
|
503
681
|
private readonly autocomplete;
|
|
504
682
|
private readonly field;
|
|
505
683
|
private readonly generated;
|
|
506
684
|
private readonly props;
|
|
507
685
|
private readonly mount;
|
|
508
686
|
ngOnInit(): void;
|
|
509
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KuiCombobox
|
|
510
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiCombobox
|
|
687
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiCombobox<any>, never>;
|
|
688
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiCombobox<any>, "[kuiCombobox],[kuiAutocomplete]", ["kuiCombobox"], {
|
|
511
689
|
"value": {
|
|
512
690
|
"alias": "value";
|
|
513
691
|
"required": false;
|
|
@@ -593,6 +771,11 @@ export declare class KuiCombobox implements OnInit {
|
|
|
593
771
|
"required": false;
|
|
594
772
|
"isSignal": true;
|
|
595
773
|
};
|
|
774
|
+
"autoHighlight": {
|
|
775
|
+
"alias": "autoHighlight";
|
|
776
|
+
"required": false;
|
|
777
|
+
"isSignal": true;
|
|
778
|
+
};
|
|
596
779
|
"mode": {
|
|
597
780
|
"alias": "mode";
|
|
598
781
|
"required": false;
|
|
@@ -626,45 +809,11 @@ export declare class KuiComboboxPortal implements OnInit {
|
|
|
626
809
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiComboboxPortal, never>;
|
|
627
810
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiComboboxPortal, "[kuiComboboxPortal]", never, {}, {}, never, never, true, never>;
|
|
628
811
|
}
|
|
629
|
-
export declare class KuiComboboxPositioner
|
|
630
|
-
readonly side: import("@angular/core").InputSignal<Side | undefined>;
|
|
631
|
-
readonly align: import("@angular/core").InputSignal<Align | undefined>;
|
|
632
|
-
readonly sideOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
633
|
-
readonly alignOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
634
|
-
readonly collisionPadding: import("@angular/core").InputSignal<number | undefined>;
|
|
812
|
+
export declare class KuiComboboxPositioner extends KuiPositioner {
|
|
635
813
|
private readonly root;
|
|
636
|
-
|
|
637
|
-
private readonly options;
|
|
638
|
-
constructor();
|
|
639
|
-
ngOnInit(): void;
|
|
814
|
+
protected placed(): Combobox<any>;
|
|
640
815
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiComboboxPositioner, never>;
|
|
641
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiComboboxPositioner, "[kuiComboboxPositioner]", never, {
|
|
642
|
-
"side": {
|
|
643
|
-
"alias": "side";
|
|
644
|
-
"required": false;
|
|
645
|
-
"isSignal": true;
|
|
646
|
-
};
|
|
647
|
-
"align": {
|
|
648
|
-
"alias": "align";
|
|
649
|
-
"required": false;
|
|
650
|
-
"isSignal": true;
|
|
651
|
-
};
|
|
652
|
-
"sideOffset": {
|
|
653
|
-
"alias": "sideOffset";
|
|
654
|
-
"required": false;
|
|
655
|
-
"isSignal": true;
|
|
656
|
-
};
|
|
657
|
-
"alignOffset": {
|
|
658
|
-
"alias": "alignOffset";
|
|
659
|
-
"required": false;
|
|
660
|
-
"isSignal": true;
|
|
661
|
-
};
|
|
662
|
-
"collisionPadding": {
|
|
663
|
-
"alias": "collisionPadding";
|
|
664
|
-
"required": false;
|
|
665
|
-
"isSignal": true;
|
|
666
|
-
};
|
|
667
|
-
}, {}, never, never, true, never>;
|
|
816
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiComboboxPositioner, "[kuiComboboxPositioner]", never, {}, {}, never, never, true, never>;
|
|
668
817
|
}
|
|
669
818
|
/** `<input kuiComboboxInput>`: what is typed filters the list, which is placed against it. */
|
|
670
819
|
export declare class KuiComboboxInput implements OnInit {
|
|
@@ -685,6 +834,16 @@ export declare class KuiComboboxPopup implements OnInit {
|
|
|
685
834
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiComboboxPopup, never>;
|
|
686
835
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiComboboxPopup, "[kuiComboboxPopup]", never, {}, {}, never, never, true, never>;
|
|
687
836
|
}
|
|
837
|
+
/**
|
|
838
|
+
* The items' own box inside the popup, when the popup holds more than items (an input): it is
|
|
839
|
+
* then the listbox.
|
|
840
|
+
*/
|
|
841
|
+
export declare class KuiComboboxList implements OnInit {
|
|
842
|
+
private readonly init;
|
|
843
|
+
ngOnInit(): void;
|
|
844
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiComboboxList, never>;
|
|
845
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiComboboxList, "[kuiComboboxList]", never, {}, {}, never, never, true, never>;
|
|
846
|
+
}
|
|
688
847
|
/** `<input kuiComboboxHiddenInput>`: submits the value with the form around it. */
|
|
689
848
|
export declare class KuiComboboxHiddenInput implements OnInit {
|
|
690
849
|
private readonly init;
|
|
@@ -734,7 +893,7 @@ export declare class KuiComboboxItem implements OnInit {
|
|
|
734
893
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
735
894
|
/** Its place among all the rows, in a virtualized list. */
|
|
736
895
|
readonly index: import("@angular/core").InputSignal<number | undefined>;
|
|
737
|
-
readonly root: KuiCombobox
|
|
896
|
+
readonly root: KuiCombobox<any>;
|
|
738
897
|
private readonly within;
|
|
739
898
|
private readonly generated;
|
|
740
899
|
private readonly put;
|
|
@@ -787,7 +946,7 @@ export declare class KuiComboboxChips implements OnInit {
|
|
|
787
946
|
/** With `multiple`: one chosen value. Its `value` is what its remove button takes away. */
|
|
788
947
|
export declare class KuiComboboxChip implements OnInit {
|
|
789
948
|
readonly value: import("@angular/core").InputSignal<unknown>;
|
|
790
|
-
readonly root: KuiCombobox
|
|
949
|
+
readonly root: KuiCombobox<any>;
|
|
791
950
|
private readonly put;
|
|
792
951
|
ngOnInit(): void;
|
|
793
952
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiComboboxChip, never>;
|
|
@@ -822,9 +981,9 @@ export declare class KuiComboboxEmpty implements OnInit {
|
|
|
822
981
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiComboboxEmpty, never>;
|
|
823
982
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiComboboxEmpty, "[kuiComboboxEmpty]", never, {}, {}, never, never, true, never>;
|
|
824
983
|
}
|
|
825
|
-
export declare class KuiListbox implements OnInit {
|
|
826
|
-
readonly value: import("@angular/core").ModelSignal<readonly
|
|
827
|
-
readonly defaultValue: import("@angular/core").InputSignal<readonly
|
|
984
|
+
export declare class KuiListbox<Value = unknown> implements OnInit {
|
|
985
|
+
readonly value: import("@angular/core").ModelSignal<readonly Value[] | undefined>;
|
|
986
|
+
readonly defaultValue: import("@angular/core").InputSignal<readonly Value[] | undefined>;
|
|
828
987
|
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
829
988
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
830
989
|
readonly loop: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
@@ -833,19 +992,19 @@ export declare class KuiListbox implements OnInit {
|
|
|
833
992
|
/** The id of the form the list belongs to, when it is not inside it. */
|
|
834
993
|
readonly form: import("@angular/core").InputSignal<string | undefined>;
|
|
835
994
|
/** Every row, when only some are in the page: each item is then given its `index`. */
|
|
836
|
-
readonly virtualized: import("@angular/core").InputSignal<ListCollection | undefined>;
|
|
995
|
+
readonly virtualized: import("@angular/core").InputSignal<ListCollection$1 | undefined>;
|
|
837
996
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
838
997
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
839
|
-
value:
|
|
840
|
-
details: ChangeDetails;
|
|
998
|
+
value: Value[];
|
|
999
|
+
details: ChangeDetails$1;
|
|
841
1000
|
}>;
|
|
842
|
-
controller: Listbox
|
|
1001
|
+
controller: Listbox<Value>;
|
|
843
1002
|
private readonly generated;
|
|
844
1003
|
private readonly put;
|
|
845
1004
|
private readonly props;
|
|
846
1005
|
ngOnInit(): void;
|
|
847
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KuiListbox
|
|
848
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiListbox
|
|
1006
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiListbox<any>, never>;
|
|
1007
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiListbox<any>, "[kuiListbox]", ["kuiListbox"], {
|
|
849
1008
|
"value": {
|
|
850
1009
|
"alias": "value";
|
|
851
1010
|
"required": false;
|
|
@@ -903,7 +1062,7 @@ export declare class KuiListboxItem implements OnInit {
|
|
|
903
1062
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
904
1063
|
/** Its place among all the rows, in a virtualized list. */
|
|
905
1064
|
readonly index: import("@angular/core").InputSignal<number | undefined>;
|
|
906
|
-
readonly root: KuiListbox
|
|
1065
|
+
readonly root: KuiListbox<any>;
|
|
907
1066
|
private readonly put;
|
|
908
1067
|
private readonly options;
|
|
909
1068
|
ngOnInit(): void;
|
|
@@ -973,7 +1132,7 @@ declare abstract class MenuRoot implements OnInit {
|
|
|
973
1132
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
974
1133
|
readonly openChanged: import("@angular/core").OutputEmitterRef<{
|
|
975
1134
|
open: boolean;
|
|
976
|
-
details: ChangeDetails;
|
|
1135
|
+
details: ChangeDetails$1;
|
|
977
1136
|
}>;
|
|
978
1137
|
controller: Menu;
|
|
979
1138
|
protected abstract readonly parent: {
|
|
@@ -1042,7 +1201,7 @@ export declare class KuiMenu extends MenuRoot {
|
|
|
1042
1201
|
export declare class KuiMenubar implements OnInit {
|
|
1043
1202
|
readonly loop: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
1044
1203
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
1045
|
-
readonly orientation: import("@angular/core").InputSignal<Orientation | undefined>;
|
|
1204
|
+
readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
|
|
1046
1205
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
1047
1206
|
controller: Menubar;
|
|
1048
1207
|
private readonly around;
|
|
@@ -1089,45 +1248,11 @@ export declare class KuiMenuPortal implements OnInit {
|
|
|
1089
1248
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiMenuPortal, never>;
|
|
1090
1249
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiMenuPortal, "[kuiMenuPortal]", never, {}, {}, never, never, true, never>;
|
|
1091
1250
|
}
|
|
1092
|
-
export declare class KuiMenuPositioner
|
|
1093
|
-
readonly side: import("@angular/core").InputSignal<Side | undefined>;
|
|
1094
|
-
readonly align: import("@angular/core").InputSignal<Align | undefined>;
|
|
1095
|
-
readonly sideOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
1096
|
-
readonly alignOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
1097
|
-
readonly collisionPadding: import("@angular/core").InputSignal<number | undefined>;
|
|
1251
|
+
export declare class KuiMenuPositioner extends KuiPositioner {
|
|
1098
1252
|
private readonly root;
|
|
1099
|
-
|
|
1100
|
-
private readonly options;
|
|
1101
|
-
constructor();
|
|
1102
|
-
ngOnInit(): void;
|
|
1253
|
+
protected placed(): Menu;
|
|
1103
1254
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiMenuPositioner, never>;
|
|
1104
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiMenuPositioner, "[kuiMenuPositioner]", never, {
|
|
1105
|
-
"side": {
|
|
1106
|
-
"alias": "side";
|
|
1107
|
-
"required": false;
|
|
1108
|
-
"isSignal": true;
|
|
1109
|
-
};
|
|
1110
|
-
"align": {
|
|
1111
|
-
"alias": "align";
|
|
1112
|
-
"required": false;
|
|
1113
|
-
"isSignal": true;
|
|
1114
|
-
};
|
|
1115
|
-
"sideOffset": {
|
|
1116
|
-
"alias": "sideOffset";
|
|
1117
|
-
"required": false;
|
|
1118
|
-
"isSignal": true;
|
|
1119
|
-
};
|
|
1120
|
-
"alignOffset": {
|
|
1121
|
-
"alias": "alignOffset";
|
|
1122
|
-
"required": false;
|
|
1123
|
-
"isSignal": true;
|
|
1124
|
-
};
|
|
1125
|
-
"collisionPadding": {
|
|
1126
|
-
"alias": "collisionPadding";
|
|
1127
|
-
"required": false;
|
|
1128
|
-
"isSignal": true;
|
|
1129
|
-
};
|
|
1130
|
-
}, {}, never, never, true, never>;
|
|
1255
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiMenuPositioner, "[kuiMenuPositioner]", never, {}, {}, never, never, true, never>;
|
|
1131
1256
|
}
|
|
1132
1257
|
export declare class KuiMenuTrigger implements OnInit {
|
|
1133
1258
|
private readonly init;
|
|
@@ -1261,7 +1386,7 @@ export declare class KuiMenuCheckboxItem implements OnInit {
|
|
|
1261
1386
|
readonly closeOnClick: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
1262
1387
|
readonly checkedChanged: import("@angular/core").OutputEmitterRef<{
|
|
1263
1388
|
checked: boolean;
|
|
1264
|
-
details: ChangeDetails;
|
|
1389
|
+
details: ChangeDetails$1;
|
|
1265
1390
|
}>;
|
|
1266
1391
|
item: MenuCheckboxItem;
|
|
1267
1392
|
private readonly root;
|
|
@@ -1308,22 +1433,22 @@ export declare class KuiMenuCheckboxItemIndicator implements OnInit {
|
|
|
1308
1433
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiMenuCheckboxItemIndicator, never>;
|
|
1309
1434
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiMenuCheckboxItemIndicator, "[kuiMenuCheckboxItemIndicator]", never, {}, {}, never, never, true, never>;
|
|
1310
1435
|
}
|
|
1311
|
-
export declare class KuiMenuRadioGroup implements OnInit {
|
|
1312
|
-
readonly value: import("@angular/core").ModelSignal<
|
|
1313
|
-
readonly defaultValue: import("@angular/core").InputSignal<
|
|
1436
|
+
export declare class KuiMenuRadioGroup<Value = unknown> implements OnInit {
|
|
1437
|
+
readonly value: import("@angular/core").ModelSignal<Value | null | undefined>;
|
|
1438
|
+
readonly defaultValue: import("@angular/core").InputSignal<NoInfer<Value> | null>;
|
|
1314
1439
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
1315
1440
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
1316
|
-
value:
|
|
1317
|
-
details: ChangeDetails;
|
|
1441
|
+
value: Value;
|
|
1442
|
+
details: ChangeDetails$1;
|
|
1318
1443
|
}>;
|
|
1319
|
-
group: MenuRadioGroup
|
|
1444
|
+
group: MenuRadioGroup<Value>;
|
|
1320
1445
|
private readonly root;
|
|
1321
1446
|
private readonly put;
|
|
1322
1447
|
private readonly mount;
|
|
1323
1448
|
private readonly props;
|
|
1324
1449
|
ngOnInit(): void;
|
|
1325
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KuiMenuRadioGroup
|
|
1326
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiMenuRadioGroup
|
|
1450
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiMenuRadioGroup<any>, never>;
|
|
1451
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiMenuRadioGroup<any>, "[kuiMenuRadioGroup]", ["kuiMenuRadioGroup"], {
|
|
1327
1452
|
"value": {
|
|
1328
1453
|
"alias": "value";
|
|
1329
1454
|
"required": false;
|
|
@@ -1350,7 +1475,7 @@ export declare class KuiMenuRadioItem implements OnInit {
|
|
|
1350
1475
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
1351
1476
|
/** Whether choosing the item closes the menu. Default: it does not. */
|
|
1352
1477
|
readonly closeOnClick: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
1353
|
-
readonly owner: KuiMenuRadioGroup
|
|
1478
|
+
readonly owner: KuiMenuRadioGroup<any>;
|
|
1354
1479
|
private readonly put;
|
|
1355
1480
|
private readonly options;
|
|
1356
1481
|
ngOnInit(): void;
|
|
@@ -1386,26 +1511,26 @@ export declare class KuiMenuRadioItemIndicator implements OnInit {
|
|
|
1386
1511
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiMenuRadioItemIndicator, never>;
|
|
1387
1512
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiMenuRadioItemIndicator, "[kuiMenuRadioItemIndicator]", never, {}, {}, never, never, true, never>;
|
|
1388
1513
|
}
|
|
1389
|
-
export declare class KuiNavigationMenu implements OnInit {
|
|
1390
|
-
readonly value: import("@angular/core").ModelSignal<
|
|
1391
|
-
readonly defaultValue: import("@angular/core").InputSignal<
|
|
1514
|
+
export declare class KuiNavigationMenu<Value = unknown> implements OnInit {
|
|
1515
|
+
readonly value: import("@angular/core").ModelSignal<Value | null | undefined>;
|
|
1516
|
+
readonly defaultValue: import("@angular/core").InputSignal<NoInfer<Value> | null>;
|
|
1392
1517
|
readonly delay: import("@angular/core").InputSignal<number | undefined>;
|
|
1393
1518
|
readonly closeDelay: import("@angular/core").InputSignal<number | undefined>;
|
|
1394
|
-
readonly orientation: import("@angular/core").InputSignal<Orientation | undefined>;
|
|
1519
|
+
readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
|
|
1395
1520
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
1396
1521
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
1397
|
-
value:
|
|
1398
|
-
details: ChangeDetails;
|
|
1522
|
+
value: Value | null;
|
|
1523
|
+
details: ChangeDetails$1;
|
|
1399
1524
|
}>;
|
|
1400
|
-
controller: NavigationMenu
|
|
1525
|
+
controller: NavigationMenu<Value>;
|
|
1401
1526
|
private readonly around;
|
|
1402
1527
|
private readonly generated;
|
|
1403
1528
|
private readonly put;
|
|
1404
1529
|
private readonly mount;
|
|
1405
1530
|
private readonly props;
|
|
1406
1531
|
ngOnInit(): void;
|
|
1407
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KuiNavigationMenu
|
|
1408
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiNavigationMenu
|
|
1532
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiNavigationMenu<any>, never>;
|
|
1533
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiNavigationMenu<any>, "[kuiNavigationMenu]", ["kuiNavigationMenu"], {
|
|
1409
1534
|
"value": {
|
|
1410
1535
|
"alias": "value";
|
|
1411
1536
|
"required": false;
|
|
@@ -1447,11 +1572,12 @@ export declare class KuiNavigationMenuList implements OnInit {
|
|
|
1447
1572
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiNavigationMenuList, never>;
|
|
1448
1573
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiNavigationMenuList, "[kuiNavigationMenuList]", never, {}, {}, never, never, true, never>;
|
|
1449
1574
|
}
|
|
1450
|
-
/** On an item's `<li>`. `value` tells it from the others; an item that is
|
|
1575
|
+
/** On an item's `<li>`. `value` tells it from the others; an item that is given none makes its own. */
|
|
1451
1576
|
export declare class KuiNavigationMenuItem implements OnInit {
|
|
1452
1577
|
readonly value: import("@angular/core").InputSignal<unknown>;
|
|
1453
|
-
readonly root: KuiNavigationMenu
|
|
1454
|
-
item: NavigationMenuItem
|
|
1578
|
+
readonly root: KuiNavigationMenu<any>;
|
|
1579
|
+
item: NavigationMenuItem;
|
|
1580
|
+
private readonly generated;
|
|
1455
1581
|
private readonly mount;
|
|
1456
1582
|
ngOnInit(): void;
|
|
1457
1583
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiNavigationMenuItem, never>;
|
|
@@ -1519,45 +1645,11 @@ export declare class KuiNavigationMenuPortal implements OnInit {
|
|
|
1519
1645
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiNavigationMenuPortal, never>;
|
|
1520
1646
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiNavigationMenuPortal, "[kuiNavigationMenuPortal]", never, {}, {}, never, never, true, never>;
|
|
1521
1647
|
}
|
|
1522
|
-
export declare class KuiNavigationMenuPositioner
|
|
1523
|
-
readonly side: import("@angular/core").InputSignal<Side | undefined>;
|
|
1524
|
-
readonly align: import("@angular/core").InputSignal<Align | undefined>;
|
|
1525
|
-
readonly sideOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
1526
|
-
readonly alignOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
1527
|
-
readonly collisionPadding: import("@angular/core").InputSignal<number | undefined>;
|
|
1648
|
+
export declare class KuiNavigationMenuPositioner extends KuiPositioner {
|
|
1528
1649
|
private readonly root;
|
|
1529
|
-
|
|
1530
|
-
private readonly options;
|
|
1531
|
-
constructor();
|
|
1532
|
-
ngOnInit(): void;
|
|
1650
|
+
protected placed(): NavigationMenu<any>;
|
|
1533
1651
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiNavigationMenuPositioner, never>;
|
|
1534
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiNavigationMenuPositioner, "[kuiNavigationMenuPositioner]", never, {
|
|
1535
|
-
"side": {
|
|
1536
|
-
"alias": "side";
|
|
1537
|
-
"required": false;
|
|
1538
|
-
"isSignal": true;
|
|
1539
|
-
};
|
|
1540
|
-
"align": {
|
|
1541
|
-
"alias": "align";
|
|
1542
|
-
"required": false;
|
|
1543
|
-
"isSignal": true;
|
|
1544
|
-
};
|
|
1545
|
-
"sideOffset": {
|
|
1546
|
-
"alias": "sideOffset";
|
|
1547
|
-
"required": false;
|
|
1548
|
-
"isSignal": true;
|
|
1549
|
-
};
|
|
1550
|
-
"alignOffset": {
|
|
1551
|
-
"alias": "alignOffset";
|
|
1552
|
-
"required": false;
|
|
1553
|
-
"isSignal": true;
|
|
1554
|
-
};
|
|
1555
|
-
"collisionPadding": {
|
|
1556
|
-
"alias": "collisionPadding";
|
|
1557
|
-
"required": false;
|
|
1558
|
-
"isSignal": true;
|
|
1559
|
-
};
|
|
1560
|
-
}, {}, never, never, true, never>;
|
|
1652
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiNavigationMenuPositioner, "[kuiNavigationMenuPositioner]", never, {}, {}, never, never, true, never>;
|
|
1561
1653
|
}
|
|
1562
1654
|
export declare class KuiNavigationMenuPopup implements OnInit {
|
|
1563
1655
|
private readonly init;
|
|
@@ -1595,7 +1687,7 @@ export declare class KuiOtp implements OnInit {
|
|
|
1595
1687
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
1596
1688
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
1597
1689
|
value: string;
|
|
1598
|
-
details: ChangeDetails;
|
|
1690
|
+
details: ChangeDetails$1;
|
|
1599
1691
|
}>;
|
|
1600
1692
|
/** Every character is in: the moment to send the code. */
|
|
1601
1693
|
readonly completed: import("@angular/core").OutputEmitterRef<string>;
|
|
@@ -1704,7 +1796,7 @@ export declare class KuiOtpCaret implements OnInit {
|
|
|
1704
1796
|
export declare class KuiQrCode implements OnInit {
|
|
1705
1797
|
/** What the code says: a link, a text. */
|
|
1706
1798
|
readonly value: import("@angular/core").InputSignal<string>;
|
|
1707
|
-
readonly correction: import("@angular/core").InputSignal<QrCorrection | undefined>;
|
|
1799
|
+
readonly correction: import("@angular/core").InputSignal<QrCorrection$1 | undefined>;
|
|
1708
1800
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
1709
1801
|
controller: QrCode;
|
|
1710
1802
|
private readonly generated;
|
|
@@ -1754,7 +1846,7 @@ export declare class KuiDateField implements OnInit {
|
|
|
1754
1846
|
readonly locale: import("@angular/core").InputSignal<string | undefined>;
|
|
1755
1847
|
readonly min: import("@angular/core").InputSignal<string | undefined>;
|
|
1756
1848
|
readonly max: import("@angular/core").InputSignal<string | undefined>;
|
|
1757
|
-
readonly placeholders: import("@angular/core").InputSignal<Partial<Record<import("@kirana-ui/
|
|
1849
|
+
readonly placeholders: import("@angular/core").InputSignal<Partial<Record<import("@kirana-ui/angular").DateUnit, string>> | undefined>;
|
|
1758
1850
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
1759
1851
|
readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
1760
1852
|
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -1764,7 +1856,7 @@ export declare class KuiDateField implements OnInit {
|
|
|
1764
1856
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
1765
1857
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
1766
1858
|
value: string | null;
|
|
1767
|
-
details: ChangeDetails;
|
|
1859
|
+
details: ChangeDetails$1;
|
|
1768
1860
|
}>;
|
|
1769
1861
|
controller: DateField;
|
|
1770
1862
|
private readonly around;
|
|
@@ -1849,12 +1941,15 @@ export declare class KuiDateFieldSegments implements OnInit {
|
|
|
1849
1941
|
private readonly server;
|
|
1850
1942
|
private views;
|
|
1851
1943
|
ngOnInit(): void;
|
|
1944
|
+
static ngTemplateContextGuard(_directive: KuiDateFieldSegments, _context: unknown): _context is {
|
|
1945
|
+
$implicit: DateFieldSegment$1;
|
|
1946
|
+
};
|
|
1852
1947
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiDateFieldSegments, never>;
|
|
1853
1948
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiDateFieldSegments, "[kuiDateFieldSegments]", never, {}, {}, never, never, true, never>;
|
|
1854
1949
|
}
|
|
1855
1950
|
/** One piece: a part that is typed, or what stands between two. It writes its own text. */
|
|
1856
1951
|
export declare class KuiDateFieldSegment implements OnInit {
|
|
1857
|
-
readonly segment: import("@angular/core").InputSignal<DateFieldSegment>;
|
|
1952
|
+
readonly segment: import("@angular/core").InputSignal<DateFieldSegment$1>;
|
|
1858
1953
|
private readonly root;
|
|
1859
1954
|
private readonly element;
|
|
1860
1955
|
private readonly destroy;
|
|
@@ -1880,8 +1975,8 @@ export declare class KuiDateFieldInput implements OnInit {
|
|
|
1880
1975
|
}
|
|
1881
1976
|
export declare class KuiCalendar implements OnInit {
|
|
1882
1977
|
/** One day, or with `mode="range"` a first and a last: `[(value)]`. */
|
|
1883
|
-
readonly value: import("@angular/core").ModelSignal<CalendarValue | undefined>;
|
|
1884
|
-
readonly defaultValue: import("@angular/core").InputSignal<CalendarValue | undefined>;
|
|
1978
|
+
readonly value: import("@angular/core").ModelSignal<CalendarValue$1 | undefined>;
|
|
1979
|
+
readonly defaultValue: import("@angular/core").InputSignal<CalendarValue$1 | undefined>;
|
|
1885
1980
|
readonly mode: import("@angular/core").InputSignal<"single" | "range" | undefined>;
|
|
1886
1981
|
readonly defaultFocusedValue: import("@angular/core").InputSignal<string | undefined>;
|
|
1887
1982
|
/** The language and region its names, first day of the week and calendar follow. */
|
|
@@ -1896,8 +1991,8 @@ export declare class KuiCalendar implements OnInit {
|
|
|
1896
1991
|
readonly fixedWeeks: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
1897
1992
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
1898
1993
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
1899
|
-
value: CalendarValue;
|
|
1900
|
-
details: ChangeDetails;
|
|
1994
|
+
value: CalendarValue$1;
|
|
1995
|
+
details: ChangeDetails$1;
|
|
1901
1996
|
}>;
|
|
1902
1997
|
/** Another month is shown: its first day. */
|
|
1903
1998
|
readonly monthChanged: import("@angular/core").OutputEmitterRef<string>;
|
|
@@ -2014,6 +2109,9 @@ export declare class KuiCalendarWeekdays implements OnInit {
|
|
|
2014
2109
|
private readonly root;
|
|
2015
2110
|
private readonly draw;
|
|
2016
2111
|
ngOnInit(): void;
|
|
2112
|
+
static ngTemplateContextGuard(_directive: KuiCalendarWeekdays, _context: unknown): _context is {
|
|
2113
|
+
$implicit: CalendarWeekday$1;
|
|
2114
|
+
};
|
|
2017
2115
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiCalendarWeekdays, never>;
|
|
2018
2116
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiCalendarWeekdays, "[kuiCalendarWeekdays]", never, {}, {}, never, never, true, never>;
|
|
2019
2117
|
}
|
|
@@ -2022,11 +2120,14 @@ export declare class KuiCalendarWeeks implements OnInit {
|
|
|
2022
2120
|
private readonly root;
|
|
2023
2121
|
private readonly draw;
|
|
2024
2122
|
ngOnInit(): void;
|
|
2123
|
+
static ngTemplateContextGuard(_directive: KuiCalendarWeeks, _context: unknown): _context is {
|
|
2124
|
+
$implicit: readonly CalendarDay$1[];
|
|
2125
|
+
};
|
|
2025
2126
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiCalendarWeeks, never>;
|
|
2026
2127
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiCalendarWeeks, "[kuiCalendarWeeks]", never, {}, {}, never, never, true, never>;
|
|
2027
2128
|
}
|
|
2028
2129
|
export declare class KuiCalendarHeadCell implements OnInit {
|
|
2029
|
-
readonly weekday: import("@angular/core").InputSignal<CalendarWeekday>;
|
|
2130
|
+
readonly weekday: import("@angular/core").InputSignal<CalendarWeekday$1>;
|
|
2030
2131
|
private readonly root;
|
|
2031
2132
|
private readonly put;
|
|
2032
2133
|
ngOnInit(): void;
|
|
@@ -2075,7 +2176,7 @@ export declare class KuiMessageScroller implements OnInit {
|
|
|
2075
2176
|
/** It came to the end, or left it. */
|
|
2076
2177
|
readonly atBottomChanged: import("@angular/core").OutputEmitterRef<{
|
|
2077
2178
|
atBottom: boolean;
|
|
2078
|
-
details: ChangeDetails;
|
|
2179
|
+
details: ChangeDetails$1;
|
|
2079
2180
|
}>;
|
|
2080
2181
|
controller: MessageScroller;
|
|
2081
2182
|
private readonly generated;
|
|
@@ -2140,7 +2241,7 @@ export declare class KuiInput implements OnInit {
|
|
|
2140
2241
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
2141
2242
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
2142
2243
|
value: string;
|
|
2143
|
-
details: ChangeDetails;
|
|
2244
|
+
details: ChangeDetails$1;
|
|
2144
2245
|
}>;
|
|
2145
2246
|
private readonly field;
|
|
2146
2247
|
private readonly props;
|
|
@@ -2170,7 +2271,7 @@ export declare class KuiPagination implements OnInit {
|
|
|
2170
2271
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
2171
2272
|
readonly pageChanged: import("@angular/core").OutputEmitterRef<{
|
|
2172
2273
|
page: number;
|
|
2173
|
-
details: ChangeDetails;
|
|
2274
|
+
details: ChangeDetails$1;
|
|
2174
2275
|
}>;
|
|
2175
2276
|
controller: Pagination;
|
|
2176
2277
|
private readonly generated;
|
|
@@ -2237,6 +2338,9 @@ export declare class KuiPaginationItems implements OnInit {
|
|
|
2237
2338
|
private readonly server;
|
|
2238
2339
|
private readonly views;
|
|
2239
2340
|
ngOnInit(): void;
|
|
2341
|
+
static ngTemplateContextGuard(_directive: KuiPaginationItems, _context: unknown): _context is {
|
|
2342
|
+
$implicit: PaginationEntry$1;
|
|
2343
|
+
};
|
|
2240
2344
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiPaginationItems, never>;
|
|
2241
2345
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiPaginationItems, "[kuiPaginationItems]", never, {}, {}, never, never, true, never>;
|
|
2242
2346
|
}
|
|
@@ -2288,10 +2392,10 @@ export declare class KuiDatePicker implements OnInit {
|
|
|
2288
2392
|
readonly locale: import("@angular/core").InputSignal<string | undefined>;
|
|
2289
2393
|
readonly min: import("@angular/core").InputSignal<string | undefined>;
|
|
2290
2394
|
readonly max: import("@angular/core").InputSignal<string | undefined>;
|
|
2291
|
-
readonly isDateUnavailable: import("@angular/core").InputSignal<((date: import("@kirana-ui/
|
|
2395
|
+
readonly isDateUnavailable: import("@angular/core").InputSignal<((date: import("@kirana-ui/angular").IsoDate) => boolean) | undefined>;
|
|
2292
2396
|
readonly calendarSystem: import("@angular/core").InputSignal<import("@internationalized/date").Calendar | undefined>;
|
|
2293
2397
|
readonly fixedWeeks: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
2294
|
-
readonly placeholders: import("@angular/core").InputSignal<Partial<Record<import("@kirana-ui/
|
|
2398
|
+
readonly placeholders: import("@angular/core").InputSignal<Partial<Record<import("@kirana-ui/angular").DateUnit, string>> | undefined>;
|
|
2295
2399
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
2296
2400
|
readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
2297
2401
|
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -2301,11 +2405,11 @@ export declare class KuiDatePicker implements OnInit {
|
|
|
2301
2405
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
2302
2406
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
2303
2407
|
value: string | null;
|
|
2304
|
-
details: ChangeDetails;
|
|
2408
|
+
details: ChangeDetails$1;
|
|
2305
2409
|
}>;
|
|
2306
2410
|
readonly openChanged: import("@angular/core").OutputEmitterRef<{
|
|
2307
2411
|
open: boolean;
|
|
2308
|
-
details: ChangeDetails;
|
|
2412
|
+
details: ChangeDetails$1;
|
|
2309
2413
|
}>;
|
|
2310
2414
|
controller: DatePicker;
|
|
2311
2415
|
private readonly around;
|
|
@@ -2448,12 +2552,12 @@ export declare class KuiNumberField implements OnInit {
|
|
|
2448
2552
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
2449
2553
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
2450
2554
|
value: number | null;
|
|
2451
|
-
details: ChangeDetails;
|
|
2555
|
+
details: ChangeDetails$1;
|
|
2452
2556
|
}>;
|
|
2453
2557
|
/** A change that is done: focus left the input, a key or a button stepped it. */
|
|
2454
2558
|
readonly valueCommitted: import("@angular/core").OutputEmitterRef<{
|
|
2455
2559
|
value: number | null;
|
|
2456
|
-
details: ChangeDetails;
|
|
2560
|
+
details: ChangeDetails$1;
|
|
2457
2561
|
}>;
|
|
2458
2562
|
controller: NumberField;
|
|
2459
2563
|
private readonly field;
|
|
@@ -2586,7 +2690,7 @@ export declare class KuiLabel implements OnInit {
|
|
|
2586
2690
|
private readonly part;
|
|
2587
2691
|
ngOnInit(): void;
|
|
2588
2692
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiLabel, never>;
|
|
2589
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiLabel, "[kuiLabel]",
|
|
2693
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiLabel, "[kuiLabel]", ["kuiLabel"], {}, {}, never, never, true, never>;
|
|
2590
2694
|
}
|
|
2591
2695
|
export declare class KuiCommand implements OnInit {
|
|
2592
2696
|
readonly inputValue: import("@angular/core").ModelSignal<string | undefined>;
|
|
@@ -2598,12 +2702,12 @@ export declare class KuiCommand implements OnInit {
|
|
|
2598
2702
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
2599
2703
|
readonly inputValueChanged: import("@angular/core").OutputEmitterRef<{
|
|
2600
2704
|
value: string;
|
|
2601
|
-
details: ChangeDetails;
|
|
2705
|
+
details: ChangeDetails$1;
|
|
2602
2706
|
}>;
|
|
2603
2707
|
/** An item was chosen. */
|
|
2604
2708
|
readonly itemSelected: import("@angular/core").OutputEmitterRef<{
|
|
2605
2709
|
value: string;
|
|
2606
|
-
details: ChangeDetails;
|
|
2710
|
+
details: ChangeDetails$1;
|
|
2607
2711
|
}>;
|
|
2608
2712
|
controller: Command;
|
|
2609
2713
|
private readonly generated;
|
|
@@ -2758,12 +2862,12 @@ export declare class KuiCarousel implements OnInit {
|
|
|
2758
2862
|
/** Which slide is at the start of the view: `[(index)]`. */
|
|
2759
2863
|
readonly index: import("@angular/core").ModelSignal<number | undefined>;
|
|
2760
2864
|
readonly defaultIndex: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
2761
|
-
readonly orientation: import("@angular/core").InputSignal<Orientation | undefined>;
|
|
2865
|
+
readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
|
|
2762
2866
|
readonly loop: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
2763
2867
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
2764
2868
|
readonly indexChanged: import("@angular/core").OutputEmitterRef<{
|
|
2765
2869
|
index: number;
|
|
2766
|
-
details: ChangeDetails;
|
|
2870
|
+
details: ChangeDetails$1;
|
|
2767
2871
|
}>;
|
|
2768
2872
|
controller: Carousel;
|
|
2769
2873
|
private readonly around;
|
|
@@ -2850,14 +2954,32 @@ export declare class KuiCarouselIndicator implements OnInit {
|
|
|
2850
2954
|
};
|
|
2851
2955
|
}, {}, never, never, true, never>;
|
|
2852
2956
|
}
|
|
2957
|
+
/**
|
|
2958
|
+
* What a toast's title, description and action's label may be here: a string, or a template
|
|
2959
|
+
* that draws it (`<ng-template #saved>`, read with `viewChild`).
|
|
2960
|
+
*/
|
|
2961
|
+
type ToastContent = string | TemplateRef<unknown>;
|
|
2962
|
+
type ToastActionOptions<Content = ToastContent> = Core.ToastActionOptions<Content>;
|
|
2963
|
+
type ToastOptions<Content = ToastContent> = Core.ToastOptions<Content>;
|
|
2964
|
+
type ToastRecord<Content = ToastContent> = Core.ToastRecord<Content>;
|
|
2965
|
+
type ToastState<Content = ToastContent> = Core.ToastState<Content>;
|
|
2966
|
+
type Toaster<Content = ToastContent> = Core.Toaster<Content>;
|
|
2967
|
+
/**
|
|
2968
|
+
* The toasts of a page, made once, in a module: `toaster.add({ title })` from anywhere. A
|
|
2969
|
+
* title, a description and an action's label are a string or a template, unless `Content`
|
|
2970
|
+
* says otherwise.
|
|
2971
|
+
*/
|
|
2972
|
+
export declare const createToaster: <Content = ToastContent>(options?: Core.ToasterOptions) => Toaster<Content>;
|
|
2973
|
+
type Toast = Core.Toast<ToastContent>;
|
|
2974
|
+
type ToastParts = Core.ToastParts<ToastContent>;
|
|
2853
2975
|
/** Where a toaster's toasts are drawn. Always in the page: put it once, near the root. */
|
|
2854
2976
|
export declare class KuiToastViewport implements OnInit {
|
|
2855
|
-
/** The page's toaster
|
|
2856
|
-
readonly toaster: import("@angular/core").InputSignal<Toaster
|
|
2977
|
+
/** The page's toaster: one is made with `createToaster()`, once, in a module. */
|
|
2978
|
+
readonly toaster: import("@angular/core").InputSignal<Toaster<ToastContent>>;
|
|
2857
2979
|
/** What the region of toasts is called, for assistive technology. */
|
|
2858
2980
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
2859
2981
|
readonly hotkey: import("@angular/core").InputSignal<string | undefined>;
|
|
2860
|
-
readonly swipeDirection: import("@angular/core").InputSignal<"
|
|
2982
|
+
readonly swipeDirection: import("@angular/core").InputSignal<"right" | "left" | "up" | "down" | undefined>;
|
|
2861
2983
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
2862
2984
|
controller: Toast;
|
|
2863
2985
|
private readonly generated;
|
|
@@ -2869,7 +2991,7 @@ export declare class KuiToastViewport implements OnInit {
|
|
|
2869
2991
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiToastViewport, "[kuiToastViewport]", ["kuiToastViewport"], {
|
|
2870
2992
|
"toaster": {
|
|
2871
2993
|
"alias": "toaster";
|
|
2872
|
-
"required":
|
|
2994
|
+
"required": true;
|
|
2873
2995
|
"isSignal": true;
|
|
2874
2996
|
};
|
|
2875
2997
|
"label": {
|
|
@@ -2903,11 +3025,16 @@ export declare class KuiToastList implements OnInit {
|
|
|
2903
3025
|
private readonly server;
|
|
2904
3026
|
private readonly views;
|
|
2905
3027
|
ngOnInit(): void;
|
|
3028
|
+
static ngTemplateContextGuard(_directive: KuiToastList, _context: unknown): _context is {
|
|
3029
|
+
$implicit: ToastRecord;
|
|
3030
|
+
};
|
|
2906
3031
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiToastList, never>;
|
|
2907
3032
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiToastList, "[kuiToastList]", never, {}, {}, never, never, true, never>;
|
|
2908
3033
|
}
|
|
3034
|
+
/** One toast, on the element `*kuiToastList` draws for it. */
|
|
2909
3035
|
export declare class KuiToastRoot implements OnInit {
|
|
2910
|
-
|
|
3036
|
+
/** The toast it draws: the one `*kuiToastList` gave its template (`let toast`). */
|
|
3037
|
+
readonly toast: import("@angular/core").InputSignal<ToastRecord<ToastContent>>;
|
|
2911
3038
|
parts: ToastParts;
|
|
2912
3039
|
private readonly owner;
|
|
2913
3040
|
private readonly put;
|
|
@@ -2928,12 +3055,14 @@ export declare class KuiToastContent implements OnInit {
|
|
|
2928
3055
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiToastContent, never>;
|
|
2929
3056
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiToastContent, "[kuiToastContent]", never, {}, {}, never, never, true, never>;
|
|
2930
3057
|
}
|
|
3058
|
+
/** The toast's title, unless something is written in its element. */
|
|
2931
3059
|
export declare class KuiToastTitle implements OnInit {
|
|
2932
3060
|
private readonly init;
|
|
2933
3061
|
ngOnInit(): void;
|
|
2934
3062
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiToastTitle, never>;
|
|
2935
3063
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiToastTitle, "[kuiToastTitle]", never, {}, {}, never, never, true, never>;
|
|
2936
3064
|
}
|
|
3065
|
+
/** The toast's description, unless something is written in its element. */
|
|
2937
3066
|
export declare class KuiToastDescription implements OnInit {
|
|
2938
3067
|
private readonly init;
|
|
2939
3068
|
ngOnInit(): void;
|
|
@@ -2946,6 +3075,10 @@ export declare class KuiToastClose implements OnInit {
|
|
|
2946
3075
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiToastClose, never>;
|
|
2947
3076
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiToastClose, "[kuiToastClose]", never, {}, {}, never, never, true, never>;
|
|
2948
3077
|
}
|
|
3078
|
+
/**
|
|
3079
|
+
* The toast's action, its label unless something is written in its element. A press tells the
|
|
3080
|
+
* action (`onAction`), then closes the toast unless the action called `details.cancel()`.
|
|
3081
|
+
*/
|
|
2949
3082
|
export declare class KuiToastAction implements OnInit {
|
|
2950
3083
|
private readonly init;
|
|
2951
3084
|
ngOnInit(): void;
|
|
@@ -2953,14 +3086,14 @@ export declare class KuiToastAction implements OnInit {
|
|
|
2953
3086
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiToastAction, "[kuiToastAction]", never, {}, {}, never, never, true, never>;
|
|
2954
3087
|
}
|
|
2955
3088
|
export declare class KuiResizableGroup implements OnInit {
|
|
2956
|
-
readonly orientation: import("@angular/core").InputSignal<Orientation | undefined>;
|
|
3089
|
+
readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
|
|
2957
3090
|
readonly keyboardStep: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
2958
3091
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
2959
3092
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
2960
3093
|
/** Each panel's share as the panels are resized, with why. */
|
|
2961
3094
|
readonly sizesChanged: import("@angular/core").OutputEmitterRef<{
|
|
2962
3095
|
sizes: number[];
|
|
2963
|
-
details: ChangeDetails;
|
|
3096
|
+
details: ChangeDetails$1;
|
|
2964
3097
|
}>;
|
|
2965
3098
|
controller: Resizable;
|
|
2966
3099
|
private readonly around;
|
|
@@ -3042,7 +3175,7 @@ export declare class KuiPopover implements OnInit {
|
|
|
3042
3175
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
3043
3176
|
readonly openChanged: import("@angular/core").OutputEmitterRef<{
|
|
3044
3177
|
open: boolean;
|
|
3045
|
-
details: ChangeDetails;
|
|
3178
|
+
details: ChangeDetails$1;
|
|
3046
3179
|
}>;
|
|
3047
3180
|
controller: Popover;
|
|
3048
3181
|
private readonly generated;
|
|
@@ -3078,45 +3211,11 @@ export declare class KuiPopoverPortal implements OnInit {
|
|
|
3078
3211
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiPopoverPortal, never>;
|
|
3079
3212
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiPopoverPortal, "[kuiPopoverPortal]", never, {}, {}, never, never, true, never>;
|
|
3080
3213
|
}
|
|
3081
|
-
export declare class KuiPopoverPositioner
|
|
3082
|
-
readonly side: import("@angular/core").InputSignal<Side | undefined>;
|
|
3083
|
-
readonly align: import("@angular/core").InputSignal<Align | undefined>;
|
|
3084
|
-
readonly sideOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
3085
|
-
readonly alignOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
3086
|
-
readonly collisionPadding: import("@angular/core").InputSignal<number | undefined>;
|
|
3214
|
+
export declare class KuiPopoverPositioner extends KuiPositioner {
|
|
3087
3215
|
private readonly root;
|
|
3088
|
-
|
|
3089
|
-
private readonly options;
|
|
3090
|
-
constructor();
|
|
3091
|
-
ngOnInit(): void;
|
|
3216
|
+
protected placed(): Popover;
|
|
3092
3217
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiPopoverPositioner, never>;
|
|
3093
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiPopoverPositioner, "[kuiPopoverPositioner]", never, {
|
|
3094
|
-
"side": {
|
|
3095
|
-
"alias": "side";
|
|
3096
|
-
"required": false;
|
|
3097
|
-
"isSignal": true;
|
|
3098
|
-
};
|
|
3099
|
-
"align": {
|
|
3100
|
-
"alias": "align";
|
|
3101
|
-
"required": false;
|
|
3102
|
-
"isSignal": true;
|
|
3103
|
-
};
|
|
3104
|
-
"sideOffset": {
|
|
3105
|
-
"alias": "sideOffset";
|
|
3106
|
-
"required": false;
|
|
3107
|
-
"isSignal": true;
|
|
3108
|
-
};
|
|
3109
|
-
"alignOffset": {
|
|
3110
|
-
"alias": "alignOffset";
|
|
3111
|
-
"required": false;
|
|
3112
|
-
"isSignal": true;
|
|
3113
|
-
};
|
|
3114
|
-
"collisionPadding": {
|
|
3115
|
-
"alias": "collisionPadding";
|
|
3116
|
-
"required": false;
|
|
3117
|
-
"isSignal": true;
|
|
3118
|
-
};
|
|
3119
|
-
}, {}, never, never, true, never>;
|
|
3218
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiPopoverPositioner, "[kuiPopoverPositioner]", never, {}, {}, never, never, true, never>;
|
|
3120
3219
|
}
|
|
3121
3220
|
export declare class KuiPopoverTrigger implements OnInit {
|
|
3122
3221
|
private readonly init;
|
|
@@ -3148,9 +3247,9 @@ export declare class KuiPopoverClose implements OnInit {
|
|
|
3148
3247
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiPopoverClose, never>;
|
|
3149
3248
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiPopoverClose, "[kuiPopoverClose]", never, {}, {}, never, never, true, never>;
|
|
3150
3249
|
}
|
|
3151
|
-
export declare class KuiSelect implements OnInit {
|
|
3152
|
-
readonly value: import("@angular/core").ModelSignal<
|
|
3153
|
-
readonly defaultValue: import("@angular/core").InputSignal<
|
|
3250
|
+
export declare class KuiSelect<Value = unknown> implements OnInit {
|
|
3251
|
+
readonly value: import("@angular/core").ModelSignal<Value | null | undefined>;
|
|
3252
|
+
readonly defaultValue: import("@angular/core").InputSignal<NoInfer<Value> | null>;
|
|
3154
3253
|
readonly open: import("@angular/core").ModelSignal<boolean | undefined>;
|
|
3155
3254
|
readonly defaultOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3156
3255
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -3158,29 +3257,35 @@ export declare class KuiSelect implements OnInit {
|
|
|
3158
3257
|
readonly name: import("@angular/core").InputSignal<string | undefined>;
|
|
3159
3258
|
/** The id of the form the control belongs to, when it is not inside it. */
|
|
3160
3259
|
readonly form: import("@angular/core").InputSignal<string | undefined>;
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3260
|
+
/** The values' labels: a list of values with their labels, or the labels by value. */
|
|
3261
|
+
readonly items: import("@angular/core").InputSignal<ItemLabels$1<Value> | undefined>;
|
|
3262
|
+
/** Several values: they are `values`, not `value`. */
|
|
3263
|
+
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3264
|
+
readonly values: import("@angular/core").ModelSignal<readonly Value[] | undefined>;
|
|
3265
|
+
readonly defaultValues: import("@angular/core").InputSignal<readonly Value[] | undefined>;
|
|
3266
|
+
readonly valuesChanged: import("@angular/core").OutputEmitterRef<{
|
|
3267
|
+
values: Value[];
|
|
3268
|
+
details: ChangeDetails$1;
|
|
3269
|
+
}>;
|
|
3165
3270
|
/** Every row, when only some are in the page: each item is then given its `index`. */
|
|
3166
|
-
readonly virtualized: import("@angular/core").InputSignal<ListCollection | undefined>;
|
|
3271
|
+
readonly virtualized: import("@angular/core").InputSignal<ListCollection$1 | undefined>;
|
|
3167
3272
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
3168
3273
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
3169
|
-
value:
|
|
3170
|
-
details: ChangeDetails;
|
|
3274
|
+
value: Value | null;
|
|
3275
|
+
details: ChangeDetails$1;
|
|
3171
3276
|
}>;
|
|
3172
3277
|
readonly openChanged: import("@angular/core").OutputEmitterRef<{
|
|
3173
3278
|
open: boolean;
|
|
3174
|
-
details: ChangeDetails;
|
|
3279
|
+
details: ChangeDetails$1;
|
|
3175
3280
|
}>;
|
|
3176
|
-
controller: Select
|
|
3281
|
+
controller: Select<Value>;
|
|
3177
3282
|
private readonly field;
|
|
3178
3283
|
private readonly generated;
|
|
3179
3284
|
private readonly props;
|
|
3180
3285
|
private readonly mount;
|
|
3181
3286
|
ngOnInit(): void;
|
|
3182
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KuiSelect
|
|
3183
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiSelect
|
|
3287
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiSelect<any>, never>;
|
|
3288
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiSelect<any>, "[kuiSelect]", ["kuiSelect"], {
|
|
3184
3289
|
"value": {
|
|
3185
3290
|
"alias": "value";
|
|
3186
3291
|
"required": false;
|
|
@@ -3226,6 +3331,21 @@ export declare class KuiSelect implements OnInit {
|
|
|
3226
3331
|
"required": false;
|
|
3227
3332
|
"isSignal": true;
|
|
3228
3333
|
};
|
|
3334
|
+
"multiple": {
|
|
3335
|
+
"alias": "multiple";
|
|
3336
|
+
"required": false;
|
|
3337
|
+
"isSignal": true;
|
|
3338
|
+
};
|
|
3339
|
+
"values": {
|
|
3340
|
+
"alias": "values";
|
|
3341
|
+
"required": false;
|
|
3342
|
+
"isSignal": true;
|
|
3343
|
+
};
|
|
3344
|
+
"defaultValues": {
|
|
3345
|
+
"alias": "defaultValues";
|
|
3346
|
+
"required": false;
|
|
3347
|
+
"isSignal": true;
|
|
3348
|
+
};
|
|
3229
3349
|
"virtualized": {
|
|
3230
3350
|
"alias": "virtualized";
|
|
3231
3351
|
"required": false;
|
|
@@ -3239,6 +3359,8 @@ export declare class KuiSelect implements OnInit {
|
|
|
3239
3359
|
}, {
|
|
3240
3360
|
"value": "valueChange";
|
|
3241
3361
|
"open": "openChange";
|
|
3362
|
+
"values": "valuesChange";
|
|
3363
|
+
"valuesChanged": "valuesChanged";
|
|
3242
3364
|
"valueChanged": "valueChanged";
|
|
3243
3365
|
"openChanged": "openChanged";
|
|
3244
3366
|
}, never, never, true, never>;
|
|
@@ -3250,49 +3372,18 @@ export declare class KuiSelectPortal implements OnInit {
|
|
|
3250
3372
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiSelectPortal, never>;
|
|
3251
3373
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiSelectPortal, "[kuiSelectPortal]", never, {}, {}, never, never, true, never>;
|
|
3252
3374
|
}
|
|
3253
|
-
export declare class KuiSelectPositioner
|
|
3254
|
-
readonly side: import("@angular/core").InputSignal<Side | undefined>;
|
|
3255
|
-
readonly align: import("@angular/core").InputSignal<Align | undefined>;
|
|
3256
|
-
readonly sideOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
3257
|
-
readonly alignOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
3258
|
-
readonly collisionPadding: import("@angular/core").InputSignal<number | undefined>;
|
|
3375
|
+
export declare class KuiSelectPositioner extends KuiPositioner {
|
|
3259
3376
|
/**
|
|
3260
3377
|
* The list opens over its trigger, the chosen item's text on the trigger's own, where
|
|
3261
3378
|
* there is room and unless a finger opened it.
|
|
3262
3379
|
*/
|
|
3263
3380
|
readonly alignItemWithTrigger: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3264
3381
|
private readonly root;
|
|
3265
|
-
|
|
3266
|
-
private readonly options;
|
|
3382
|
+
protected placed(): Select<any>;
|
|
3267
3383
|
constructor();
|
|
3268
3384
|
ngOnInit(): void;
|
|
3269
3385
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiSelectPositioner, never>;
|
|
3270
3386
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiSelectPositioner, "[kuiSelectPositioner]", never, {
|
|
3271
|
-
"side": {
|
|
3272
|
-
"alias": "side";
|
|
3273
|
-
"required": false;
|
|
3274
|
-
"isSignal": true;
|
|
3275
|
-
};
|
|
3276
|
-
"align": {
|
|
3277
|
-
"alias": "align";
|
|
3278
|
-
"required": false;
|
|
3279
|
-
"isSignal": true;
|
|
3280
|
-
};
|
|
3281
|
-
"sideOffset": {
|
|
3282
|
-
"alias": "sideOffset";
|
|
3283
|
-
"required": false;
|
|
3284
|
-
"isSignal": true;
|
|
3285
|
-
};
|
|
3286
|
-
"alignOffset": {
|
|
3287
|
-
"alias": "alignOffset";
|
|
3288
|
-
"required": false;
|
|
3289
|
-
"isSignal": true;
|
|
3290
|
-
};
|
|
3291
|
-
"collisionPadding": {
|
|
3292
|
-
"alias": "collisionPadding";
|
|
3293
|
-
"required": false;
|
|
3294
|
-
"isSignal": true;
|
|
3295
|
-
};
|
|
3296
3387
|
"alignItemWithTrigger": {
|
|
3297
3388
|
"alias": "alignItemWithTrigger";
|
|
3298
3389
|
"required": false;
|
|
@@ -3319,16 +3410,27 @@ export declare class KuiSelectInput implements OnInit {
|
|
|
3319
3410
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiSelectInput, never>;
|
|
3320
3411
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiSelectInput, "input[kuiSelectInput]", never, {}, {}, never, never, true, never>;
|
|
3321
3412
|
}
|
|
3322
|
-
/**
|
|
3413
|
+
/**
|
|
3414
|
+
* `<span kuiSelectValue>` shows the chosen value's label, or `placeholder` while nothing is
|
|
3415
|
+
* chosen; with `multiple`, the chosen labels with commas between.
|
|
3416
|
+
* `<span *kuiSelectValue="let shown">` draws its own content instead, with what is chosen:
|
|
3417
|
+
* `shown.value` and `shown.label`, with `multiple` `shown.values` and `shown.labels`, in the
|
|
3418
|
+
* items' order.
|
|
3419
|
+
*/
|
|
3323
3420
|
export declare class KuiSelectValue implements OnInit {
|
|
3324
3421
|
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
3325
3422
|
private readonly root;
|
|
3326
3423
|
private readonly element;
|
|
3424
|
+
private readonly template;
|
|
3425
|
+
private readonly container;
|
|
3327
3426
|
private readonly destroy;
|
|
3328
3427
|
private readonly put;
|
|
3329
3428
|
constructor();
|
|
3330
3429
|
private write;
|
|
3331
3430
|
ngOnInit(): void;
|
|
3431
|
+
static ngTemplateContextGuard(_directive: KuiSelectValue, _context: unknown): _context is {
|
|
3432
|
+
$implicit: SelectShown$1;
|
|
3433
|
+
};
|
|
3332
3434
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiSelectValue, never>;
|
|
3333
3435
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiSelectValue, "[kuiSelectValue]", never, {
|
|
3334
3436
|
"placeholder": {
|
|
@@ -3345,7 +3447,7 @@ export declare class KuiSelectItem implements OnInit {
|
|
|
3345
3447
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
3346
3448
|
/** Its place among all the rows, in a virtualized list. */
|
|
3347
3449
|
readonly index: import("@angular/core").InputSignal<number | undefined>;
|
|
3348
|
-
readonly root: KuiSelect
|
|
3450
|
+
readonly root: KuiSelect<any>;
|
|
3349
3451
|
private readonly put;
|
|
3350
3452
|
private readonly options;
|
|
3351
3453
|
ngOnInit(): void;
|
|
@@ -3447,9 +3549,9 @@ export declare class KuiSelectItemIndicator implements OnInit {
|
|
|
3447
3549
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiSelectItemIndicator, never>;
|
|
3448
3550
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiSelectItemIndicator, "[kuiSelectItemIndicator]", never, {}, {}, never, never, true, never>;
|
|
3449
3551
|
}
|
|
3450
|
-
export declare class KuiRadioGroup implements OnInit {
|
|
3451
|
-
readonly value: import("@angular/core").ModelSignal<
|
|
3452
|
-
readonly defaultValue: import("@angular/core").InputSignal<
|
|
3552
|
+
export declare class KuiRadioGroup<Value = unknown> implements OnInit {
|
|
3553
|
+
readonly value: import("@angular/core").ModelSignal<Value | null | undefined>;
|
|
3554
|
+
readonly defaultValue: import("@angular/core").InputSignal<NoInfer<Value> | null>;
|
|
3453
3555
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3454
3556
|
readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3455
3557
|
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -3459,10 +3561,10 @@ export declare class KuiRadioGroup implements OnInit {
|
|
|
3459
3561
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
3460
3562
|
/** The change with why it happened; `details.cancel()` keeps the value. */
|
|
3461
3563
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
3462
|
-
value:
|
|
3463
|
-
details: ChangeDetails;
|
|
3564
|
+
value: Value | null;
|
|
3565
|
+
details: ChangeDetails$1;
|
|
3464
3566
|
}>;
|
|
3465
|
-
controller: RadioGroup
|
|
3567
|
+
controller: RadioGroup<Value>;
|
|
3466
3568
|
private readonly around;
|
|
3467
3569
|
private readonly field;
|
|
3468
3570
|
private readonly generated;
|
|
@@ -3470,8 +3572,8 @@ export declare class KuiRadioGroup implements OnInit {
|
|
|
3470
3572
|
private readonly part;
|
|
3471
3573
|
private readonly mount;
|
|
3472
3574
|
ngOnInit(): void;
|
|
3473
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KuiRadioGroup
|
|
3474
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiRadioGroup
|
|
3575
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiRadioGroup<any>, never>;
|
|
3576
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiRadioGroup<any>, "[kuiRadioGroup]", ["kuiRadioGroup"], {
|
|
3475
3577
|
"value": {
|
|
3476
3578
|
"alias": "value";
|
|
3477
3579
|
"required": false;
|
|
@@ -3521,7 +3623,7 @@ export declare class KuiRadioGroup implements OnInit {
|
|
|
3521
3623
|
export declare class KuiRadioGroupItem implements OnInit {
|
|
3522
3624
|
readonly value: import("@angular/core").InputSignal<unknown>;
|
|
3523
3625
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3524
|
-
readonly group: KuiRadioGroup
|
|
3626
|
+
readonly group: KuiRadioGroup<any>;
|
|
3525
3627
|
private readonly part;
|
|
3526
3628
|
private readonly inner;
|
|
3527
3629
|
private readonly options;
|
|
@@ -3564,7 +3666,7 @@ export declare class KuiSwitch implements OnInit {
|
|
|
3564
3666
|
/** The change with why it happened; `details.cancel()` keeps the value. */
|
|
3565
3667
|
readonly checkedChanged: import("@angular/core").OutputEmitterRef<{
|
|
3566
3668
|
checked: boolean;
|
|
3567
|
-
details: ChangeDetails;
|
|
3669
|
+
details: ChangeDetails$1;
|
|
3568
3670
|
}>;
|
|
3569
3671
|
controller: Switch;
|
|
3570
3672
|
private readonly field;
|
|
@@ -3633,25 +3735,25 @@ export declare class KuiSwitchThumb implements OnInit {
|
|
|
3633
3735
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiSwitchThumb, never>;
|
|
3634
3736
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiSwitchThumb, "[kuiSwitchThumb]", never, {}, {}, never, never, true, never>;
|
|
3635
3737
|
}
|
|
3636
|
-
export declare class KuiTabs implements OnInit {
|
|
3637
|
-
readonly value: import("@angular/core").ModelSignal<
|
|
3638
|
-
readonly defaultValue: import("@angular/core").InputSignal<
|
|
3639
|
-
readonly orientation: import("@angular/core").InputSignal<Orientation | undefined>;
|
|
3738
|
+
export declare class KuiTabs<Value = unknown> implements OnInit {
|
|
3739
|
+
readonly value: import("@angular/core").ModelSignal<Value | null | undefined>;
|
|
3740
|
+
readonly defaultValue: import("@angular/core").InputSignal<NoInfer<Value> | null>;
|
|
3741
|
+
readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
|
|
3640
3742
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
3641
3743
|
/** The change with why it happened; `details.cancel()` keeps the value. */
|
|
3642
3744
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
3643
|
-
value:
|
|
3644
|
-
details: ChangeDetails;
|
|
3745
|
+
value: Value;
|
|
3746
|
+
details: ChangeDetails$1;
|
|
3645
3747
|
}>;
|
|
3646
|
-
controller: Tabs
|
|
3748
|
+
controller: Tabs<Value>;
|
|
3647
3749
|
private readonly around;
|
|
3648
3750
|
private readonly generated;
|
|
3649
3751
|
private readonly props;
|
|
3650
3752
|
private readonly part;
|
|
3651
3753
|
private readonly mount;
|
|
3652
3754
|
ngOnInit(): void;
|
|
3653
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KuiTabs
|
|
3654
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiTabs
|
|
3755
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiTabs<any>, never>;
|
|
3756
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiTabs<any>, "[kuiTabs]", ["kuiTabs"], {
|
|
3655
3757
|
"value": {
|
|
3656
3758
|
"alias": "value";
|
|
3657
3759
|
"required": false;
|
|
@@ -3732,6 +3834,7 @@ export declare class KuiTabsIndicator implements OnInit {
|
|
|
3732
3834
|
* `*kuiTabsPanel="'account'; keepMounted: true"` keeps it, hidden.
|
|
3733
3835
|
*/
|
|
3734
3836
|
export declare class KuiTabsPanel implements OnInit {
|
|
3837
|
+
/** The value of the tab this is the panel of. */
|
|
3735
3838
|
readonly kuiTabsPanel: import("@angular/core").InputSignal<unknown>;
|
|
3736
3839
|
readonly kuiTabsPanelKeepMounted: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3737
3840
|
private readonly root;
|
|
@@ -3763,7 +3866,7 @@ export declare class KuiHoverCard implements OnInit {
|
|
|
3763
3866
|
/** The change with why it happened; `details.cancel()` keeps the value. */
|
|
3764
3867
|
readonly openChanged: import("@angular/core").OutputEmitterRef<{
|
|
3765
3868
|
open: boolean;
|
|
3766
|
-
details: ChangeDetails;
|
|
3869
|
+
details: ChangeDetails$1;
|
|
3767
3870
|
}>;
|
|
3768
3871
|
controller: HoverPopup;
|
|
3769
3872
|
private readonly generated;
|
|
@@ -3814,45 +3917,11 @@ export declare class KuiHoverCardPortal implements OnInit {
|
|
|
3814
3917
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiHoverCardPortal, never>;
|
|
3815
3918
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiHoverCardPortal, "[kuiHoverCardPortal]", never, {}, {}, never, never, true, never>;
|
|
3816
3919
|
}
|
|
3817
|
-
export declare class KuiHoverCardPositioner
|
|
3818
|
-
readonly side: import("@angular/core").InputSignal<Side | undefined>;
|
|
3819
|
-
readonly align: import("@angular/core").InputSignal<Align | undefined>;
|
|
3820
|
-
readonly sideOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
3821
|
-
readonly alignOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
3822
|
-
readonly collisionPadding: import("@angular/core").InputSignal<number | undefined>;
|
|
3920
|
+
export declare class KuiHoverCardPositioner extends KuiPositioner {
|
|
3823
3921
|
private readonly root;
|
|
3824
|
-
|
|
3825
|
-
private readonly options;
|
|
3826
|
-
constructor();
|
|
3827
|
-
ngOnInit(): void;
|
|
3922
|
+
protected placed(): HoverPopup;
|
|
3828
3923
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiHoverCardPositioner, never>;
|
|
3829
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiHoverCardPositioner, "[kuiHoverCardPositioner]", never, {
|
|
3830
|
-
"side": {
|
|
3831
|
-
"alias": "side";
|
|
3832
|
-
"required": false;
|
|
3833
|
-
"isSignal": true;
|
|
3834
|
-
};
|
|
3835
|
-
"align": {
|
|
3836
|
-
"alias": "align";
|
|
3837
|
-
"required": false;
|
|
3838
|
-
"isSignal": true;
|
|
3839
|
-
};
|
|
3840
|
-
"sideOffset": {
|
|
3841
|
-
"alias": "sideOffset";
|
|
3842
|
-
"required": false;
|
|
3843
|
-
"isSignal": true;
|
|
3844
|
-
};
|
|
3845
|
-
"alignOffset": {
|
|
3846
|
-
"alias": "alignOffset";
|
|
3847
|
-
"required": false;
|
|
3848
|
-
"isSignal": true;
|
|
3849
|
-
};
|
|
3850
|
-
"collisionPadding": {
|
|
3851
|
-
"alias": "collisionPadding";
|
|
3852
|
-
"required": false;
|
|
3853
|
-
"isSignal": true;
|
|
3854
|
-
};
|
|
3855
|
-
}, {}, never, never, true, never>;
|
|
3924
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiHoverCardPositioner, "[kuiHoverCardPositioner]", never, {}, {}, never, never, true, never>;
|
|
3856
3925
|
}
|
|
3857
3926
|
export declare class KuiHoverCardTrigger implements OnInit {
|
|
3858
3927
|
/** Its own waits, which come before the root's. */
|
|
@@ -3899,7 +3968,7 @@ export declare class KuiTooltip implements OnInit {
|
|
|
3899
3968
|
/** The change with why it happened; `details.cancel()` keeps the value. */
|
|
3900
3969
|
readonly openChanged: import("@angular/core").OutputEmitterRef<{
|
|
3901
3970
|
open: boolean;
|
|
3902
|
-
details: ChangeDetails;
|
|
3971
|
+
details: ChangeDetails$1;
|
|
3903
3972
|
}>;
|
|
3904
3973
|
controller: HoverPopup$1;
|
|
3905
3974
|
private readonly generated;
|
|
@@ -3950,45 +4019,11 @@ export declare class KuiTooltipPortal implements OnInit {
|
|
|
3950
4019
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiTooltipPortal, never>;
|
|
3951
4020
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiTooltipPortal, "[kuiTooltipPortal]", never, {}, {}, never, never, true, never>;
|
|
3952
4021
|
}
|
|
3953
|
-
export declare class KuiTooltipPositioner
|
|
3954
|
-
readonly side: import("@angular/core").InputSignal<Side | undefined>;
|
|
3955
|
-
readonly align: import("@angular/core").InputSignal<Align | undefined>;
|
|
3956
|
-
readonly sideOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
3957
|
-
readonly alignOffset: import("@angular/core").InputSignal<number | undefined>;
|
|
3958
|
-
readonly collisionPadding: import("@angular/core").InputSignal<number | undefined>;
|
|
4022
|
+
export declare class KuiTooltipPositioner extends KuiPositioner {
|
|
3959
4023
|
private readonly root;
|
|
3960
|
-
|
|
3961
|
-
private readonly options;
|
|
3962
|
-
constructor();
|
|
3963
|
-
ngOnInit(): void;
|
|
4024
|
+
protected placed(): HoverPopup$1;
|
|
3964
4025
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiTooltipPositioner, never>;
|
|
3965
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiTooltipPositioner, "[kuiTooltipPositioner]", never, {
|
|
3966
|
-
"side": {
|
|
3967
|
-
"alias": "side";
|
|
3968
|
-
"required": false;
|
|
3969
|
-
"isSignal": true;
|
|
3970
|
-
};
|
|
3971
|
-
"align": {
|
|
3972
|
-
"alias": "align";
|
|
3973
|
-
"required": false;
|
|
3974
|
-
"isSignal": true;
|
|
3975
|
-
};
|
|
3976
|
-
"sideOffset": {
|
|
3977
|
-
"alias": "sideOffset";
|
|
3978
|
-
"required": false;
|
|
3979
|
-
"isSignal": true;
|
|
3980
|
-
};
|
|
3981
|
-
"alignOffset": {
|
|
3982
|
-
"alias": "alignOffset";
|
|
3983
|
-
"required": false;
|
|
3984
|
-
"isSignal": true;
|
|
3985
|
-
};
|
|
3986
|
-
"collisionPadding": {
|
|
3987
|
-
"alias": "collisionPadding";
|
|
3988
|
-
"required": false;
|
|
3989
|
-
"isSignal": true;
|
|
3990
|
-
};
|
|
3991
|
-
}, {}, never, never, true, never>;
|
|
4026
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiTooltipPositioner, "[kuiTooltipPositioner]", never, {}, {}, never, never, true, never>;
|
|
3992
4027
|
}
|
|
3993
4028
|
export declare class KuiTooltipTrigger implements OnInit {
|
|
3994
4029
|
/** Its own waits, which come before the root's. */
|
|
@@ -4034,6 +4069,7 @@ export declare class KuiAvatar implements OnInit {
|
|
|
4034
4069
|
}
|
|
4035
4070
|
/** `<img *kuiAvatarImage="address" alt="…">`: in the page once the picture has loaded. */
|
|
4036
4071
|
export declare class KuiAvatarImage implements OnInit {
|
|
4072
|
+
/** The picture's address: the element is in the page once it has loaded. */
|
|
4037
4073
|
readonly kuiAvatarImage: import("@angular/core").InputSignal<string | undefined>;
|
|
4038
4074
|
private readonly root;
|
|
4039
4075
|
private readonly present;
|
|
@@ -4065,7 +4101,7 @@ export declare class KuiButton implements OnInit {
|
|
|
4065
4101
|
private readonly part;
|
|
4066
4102
|
ngOnInit(): void;
|
|
4067
4103
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiButton, never>;
|
|
4068
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiButton, "[kuiButton]",
|
|
4104
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiButton, "[kuiButton]", ["kuiButton"], {
|
|
4069
4105
|
"disabled": {
|
|
4070
4106
|
"alias": "disabled";
|
|
4071
4107
|
"required": false;
|
|
@@ -4244,12 +4280,12 @@ export declare class KuiProgressValue implements OnInit {
|
|
|
4244
4280
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiProgressValue, "[kuiProgressValue]", never, {}, {}, never, never, true, never>;
|
|
4245
4281
|
}
|
|
4246
4282
|
export declare class KuiSeparator implements OnInit {
|
|
4247
|
-
readonly orientation: import("@angular/core").InputSignal<Orientation | undefined>;
|
|
4283
|
+
readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
|
|
4248
4284
|
private readonly props;
|
|
4249
4285
|
private readonly part;
|
|
4250
4286
|
ngOnInit(): void;
|
|
4251
4287
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiSeparator, never>;
|
|
4252
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiSeparator, "[kuiSeparator]",
|
|
4288
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiSeparator, "[kuiSeparator]", ["kuiSeparator"], {
|
|
4253
4289
|
"orientation": {
|
|
4254
4290
|
"alias": "orientation";
|
|
4255
4291
|
"required": false;
|
|
@@ -4267,7 +4303,7 @@ export declare class KuiToggle implements OnInit {
|
|
|
4267
4303
|
/** The change with why it happened; `details.cancel()` keeps the value. */
|
|
4268
4304
|
readonly pressedChanged: import("@angular/core").OutputEmitterRef<{
|
|
4269
4305
|
pressed: boolean;
|
|
4270
|
-
details: ChangeDetails;
|
|
4306
|
+
details: ChangeDetails$1;
|
|
4271
4307
|
}>;
|
|
4272
4308
|
private readonly group;
|
|
4273
4309
|
private readonly toolbar;
|
|
@@ -4302,7 +4338,7 @@ export declare class KuiToggle implements OnInit {
|
|
|
4302
4338
|
}, never, never, true, never>;
|
|
4303
4339
|
}
|
|
4304
4340
|
export declare class KuiToolbar implements OnInit {
|
|
4305
|
-
readonly orientation: import("@angular/core").InputSignal<Orientation | undefined>;
|
|
4341
|
+
readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
|
|
4306
4342
|
readonly loop: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
4307
4343
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
4308
4344
|
controller: Toolbar;
|
|
@@ -4390,25 +4426,25 @@ export declare class KuiToolbarSeparator implements OnInit {
|
|
|
4390
4426
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiToolbarSeparator, "[kuiToolbarSeparator]", never, {}, {}, never, never, true, never>;
|
|
4391
4427
|
}
|
|
4392
4428
|
/** Toggles that are one control. Each `kuiToggle` with a `value` inside it is one of its toggles. */
|
|
4393
|
-
export declare class KuiToggleGroup implements OnInit {
|
|
4394
|
-
readonly value: import("@angular/core").ModelSignal<readonly
|
|
4395
|
-
readonly defaultValue: import("@angular/core").InputSignal<readonly
|
|
4429
|
+
export declare class KuiToggleGroup<Value = unknown> implements OnInit {
|
|
4430
|
+
readonly value: import("@angular/core").ModelSignal<readonly Value[] | undefined>;
|
|
4431
|
+
readonly defaultValue: import("@angular/core").InputSignal<readonly Value[] | undefined>;
|
|
4396
4432
|
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
4397
4433
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
4398
|
-
readonly orientation: import("@angular/core").InputSignal<Orientation | undefined>;
|
|
4434
|
+
readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
|
|
4399
4435
|
readonly loop: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
4400
4436
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
4401
|
-
value:
|
|
4402
|
-
details: ChangeDetails;
|
|
4437
|
+
value: Value[];
|
|
4438
|
+
details: ChangeDetails$1;
|
|
4403
4439
|
}>;
|
|
4404
|
-
controller: ToggleGroup
|
|
4440
|
+
controller: ToggleGroup<Value>;
|
|
4405
4441
|
private readonly around;
|
|
4406
4442
|
private readonly toolbar;
|
|
4407
4443
|
private readonly put;
|
|
4408
4444
|
private readonly props;
|
|
4409
4445
|
ngOnInit(): void;
|
|
4410
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KuiToggleGroup
|
|
4411
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiToggleGroup
|
|
4446
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiToggleGroup<any>, never>;
|
|
4447
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiToggleGroup<any>, "[kuiToggleGroup]", ["kuiToggleGroup"], {
|
|
4412
4448
|
"value": {
|
|
4413
4449
|
"alias": "value";
|
|
4414
4450
|
"required": false;
|
|
@@ -4472,7 +4508,8 @@ export declare class KuiScrollAreaContent implements OnInit {
|
|
|
4472
4508
|
* its way (`vertical` when no orientation is given).
|
|
4473
4509
|
*/
|
|
4474
4510
|
export declare class KuiScrollAreaScrollbar implements OnInit {
|
|
4475
|
-
|
|
4511
|
+
/** Which way it scrolls: `'horizontal'`, or `'vertical'` when none is given. */
|
|
4512
|
+
readonly kuiScrollAreaScrollbar: import("@angular/core").InputSignal<"" | Orientation$1>;
|
|
4476
4513
|
readonly keepMounted: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
4477
4514
|
bar: ScrollAreaScrollbar;
|
|
4478
4515
|
private readonly root;
|
|
@@ -4507,9 +4544,10 @@ export declare class KuiScrollAreaCorner implements OnInit {
|
|
|
4507
4544
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiScrollAreaCorner, never>;
|
|
4508
4545
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiScrollAreaCorner, "[kuiScrollAreaCorner]", never, {}, {}, never, never, true, never>;
|
|
4509
4546
|
}
|
|
4510
|
-
export declare class KuiSlider implements OnInit {
|
|
4511
|
-
|
|
4512
|
-
readonly
|
|
4547
|
+
export declare class KuiSlider<Value extends SliderValue = SliderValue> implements OnInit, AfterViewInit {
|
|
4548
|
+
/** A number for one thumb, a list for a range: what is told back is the same kind. */
|
|
4549
|
+
readonly value: import("@angular/core").ModelSignal<Value | undefined>;
|
|
4550
|
+
readonly defaultValue: import("@angular/core").InputSignal<NoInfer<Value> | undefined>;
|
|
4513
4551
|
readonly min: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
4514
4552
|
readonly max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
4515
4553
|
readonly step: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
@@ -4528,13 +4566,13 @@ export declare class KuiSlider implements OnInit {
|
|
|
4528
4566
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
4529
4567
|
/** Each step of a drag and each key, with why; `details.cancel()` keeps the value. */
|
|
4530
4568
|
readonly valueChanged: import("@angular/core").OutputEmitterRef<{
|
|
4531
|
-
value:
|
|
4532
|
-
details: SliderChangeDetails;
|
|
4569
|
+
value: SliderTold$1<Value>;
|
|
4570
|
+
details: SliderChangeDetails$1;
|
|
4533
4571
|
}>;
|
|
4534
4572
|
/** When the pointer lets go, and after each key. */
|
|
4535
4573
|
readonly valueCommitted: import("@angular/core").OutputEmitterRef<{
|
|
4536
|
-
value:
|
|
4537
|
-
details: SliderChangeDetails;
|
|
4574
|
+
value: SliderTold$1<Value>;
|
|
4575
|
+
details: SliderChangeDetails$1;
|
|
4538
4576
|
}>;
|
|
4539
4577
|
controller: Slider;
|
|
4540
4578
|
private readonly around;
|
|
@@ -4543,9 +4581,13 @@ export declare class KuiSlider implements OnInit {
|
|
|
4543
4581
|
private readonly props;
|
|
4544
4582
|
private readonly part;
|
|
4545
4583
|
private readonly mount;
|
|
4584
|
+
private waiting;
|
|
4546
4585
|
ngOnInit(): void;
|
|
4547
|
-
|
|
4548
|
-
|
|
4586
|
+
ngAfterViewInit(): void;
|
|
4587
|
+
/** Puts a thumb on its element: with the others of the first drawing, at once after it. */
|
|
4588
|
+
thumb(element: HTMLElement, put: () => void): void;
|
|
4589
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KuiSlider<any>, never>;
|
|
4590
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiSlider<any>, "[kuiSlider]", ["kuiSlider"], {
|
|
4549
4591
|
"value": {
|
|
4550
4592
|
"alias": "value";
|
|
4551
4593
|
"required": false;
|
|
@@ -4652,9 +4694,14 @@ export declare class KuiSliderIndicator implements OnInit {
|
|
|
4652
4694
|
}
|
|
4653
4695
|
/** On a thumb's element. It draws the hidden input inside it, which a form reads. */
|
|
4654
4696
|
export declare class KuiSliderThumb implements OnInit {
|
|
4655
|
-
/**
|
|
4656
|
-
|
|
4697
|
+
/**
|
|
4698
|
+
* Which value of a range the thumb is, from 0. A thumb that is given none takes its place
|
|
4699
|
+
* among the slider's thumbs, in the order they are written.
|
|
4700
|
+
*/
|
|
4701
|
+
readonly index: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
4657
4702
|
private readonly root;
|
|
4703
|
+
private readonly element;
|
|
4704
|
+
private readonly generated;
|
|
4658
4705
|
private readonly part;
|
|
4659
4706
|
private readonly inner;
|
|
4660
4707
|
ngOnInit(): void;
|
|
@@ -4682,7 +4729,7 @@ export declare class KuiField implements OnInit {
|
|
|
4682
4729
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
4683
4730
|
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
4684
4731
|
readonly validate: import("@angular/core").InputSignal<((value: string) => string | readonly string[] | null | Promise<string | readonly string[] | null>) | undefined>;
|
|
4685
|
-
readonly validationMode: import("@angular/core").InputSignal<ValidationMode | undefined>;
|
|
4732
|
+
readonly validationMode: import("@angular/core").InputSignal<ValidationMode$1 | undefined>;
|
|
4686
4733
|
readonly validationDebounceTime: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
4687
4734
|
readonly kuiId: import("@angular/core").InputSignal<string | undefined>;
|
|
4688
4735
|
controller: Field;
|
|
@@ -4757,7 +4804,7 @@ export declare class KuiFieldDescription implements OnInit {
|
|
|
4757
4804
|
* of the browser's, `*kuiFieldError="true"` always.
|
|
4758
4805
|
*/
|
|
4759
4806
|
export declare class KuiFieldError implements OnInit {
|
|
4760
|
-
readonly match: import("@angular/core").InputSignal<boolean | "" | ValidityKey | undefined>;
|
|
4807
|
+
readonly match: import("@angular/core").InputSignal<boolean | "" | ValidityKey$1 | undefined>;
|
|
4761
4808
|
private readonly root;
|
|
4762
4809
|
private readonly destroy;
|
|
4763
4810
|
private readonly present;
|
|
@@ -4780,7 +4827,7 @@ export declare class KuiFieldValidity implements OnInit {
|
|
|
4780
4827
|
private readonly destroy;
|
|
4781
4828
|
ngOnInit(): void;
|
|
4782
4829
|
static ngTemplateContextGuard(_directive: KuiFieldValidity, _context: unknown): _context is {
|
|
4783
|
-
$implicit: FieldValidity;
|
|
4830
|
+
$implicit: FieldValidity$1;
|
|
4784
4831
|
};
|
|
4785
4832
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiFieldValidity, never>;
|
|
4786
4833
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KuiFieldValidity, "[kuiFieldValidity]", never, {}, {}, never, never, true, never>;
|
|
@@ -4820,14 +4867,14 @@ export declare class KuiFieldsetLegend implements OnInit {
|
|
|
4820
4867
|
* valid. As with Angular's own forms, the page is left only when the form has an `action`.
|
|
4821
4868
|
*/
|
|
4822
4869
|
export declare class KuiForm implements OnInit {
|
|
4823
|
-
readonly errors: import("@angular/core").InputSignal<FormErrors | undefined>;
|
|
4824
|
-
readonly validationMode: import("@angular/core").InputSignal<ValidationMode | undefined>;
|
|
4870
|
+
readonly errors: import("@angular/core").InputSignal<FormErrors$1 | undefined>;
|
|
4871
|
+
readonly validationMode: import("@angular/core").InputSignal<ValidationMode$1 | undefined>;
|
|
4825
4872
|
readonly formSubmit: import("@angular/core").OutputEmitterRef<{
|
|
4826
|
-
values: FormValues;
|
|
4827
|
-
details: ChangeDetails;
|
|
4873
|
+
values: FormValues$1;
|
|
4874
|
+
details: ChangeDetails$1;
|
|
4828
4875
|
}>;
|
|
4829
4876
|
/** A field's value changed while it showed one of `errors`: what is left of them. */
|
|
4830
|
-
readonly clearErrors: import("@angular/core").OutputEmitterRef<FormErrors>;
|
|
4877
|
+
readonly clearErrors: import("@angular/core").OutputEmitterRef<FormErrors$1>;
|
|
4831
4878
|
controller: Form;
|
|
4832
4879
|
private readonly element;
|
|
4833
4880
|
private readonly props;
|
|
@@ -4856,8 +4903,8 @@ export declare class KuiForm implements OnInit {
|
|
|
4856
4903
|
* It writes nothing on its element: the `dir` attribute is set with it.
|
|
4857
4904
|
*/
|
|
4858
4905
|
export declare class KuiDirection implements OnInit {
|
|
4859
|
-
readonly kuiDirection: import("@angular/core").InputSignal<"" | Direction | undefined>;
|
|
4860
|
-
readonly direction: import("@kirana-ui/core").Signal<Direction>;
|
|
4906
|
+
readonly kuiDirection: import("@angular/core").InputSignal<"" | Direction$1 | undefined>;
|
|
4907
|
+
readonly direction: import("@kirana-ui/core").Signal<Direction$1>;
|
|
4861
4908
|
constructor();
|
|
4862
4909
|
ngOnInit(): void;
|
|
4863
4910
|
static ɵfac: i0.ɵɵFactoryDeclaration<KuiDirection, never>;
|
|
@@ -4870,7 +4917,7 @@ export declare class KuiDirection implements OnInit {
|
|
|
4870
4917
|
}, {}, never, never, true, never>;
|
|
4871
4918
|
}
|
|
4872
4919
|
/** The direction the nearest `kuiDirection` states; `ltr` outside one. */
|
|
4873
|
-
export declare function injectDirection(): Signal<Direction>;
|
|
4920
|
+
export declare function injectDirection(): Signal$1<Direction$1>;
|
|
4874
4921
|
/**
|
|
4875
4922
|
* `<ng-container kuiPortalProvider [container]="element">`: says where every popup inside
|
|
4876
4923
|
* it is drawn, the popups those open included: an element of the page (a shadow root's host,
|
|
@@ -4888,48 +4935,4 @@ export declare class KuiPortalProvider {
|
|
|
4888
4935
|
};
|
|
4889
4936
|
}, {}, never, never, true, never>;
|
|
4890
4937
|
}
|
|
4891
|
-
|
|
4892
|
-
export declare class KuiIds {
|
|
4893
|
-
private next;
|
|
4894
|
-
make(): string;
|
|
4895
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KuiIds, never>;
|
|
4896
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
4897
|
-
}
|
|
4898
|
-
/**
|
|
4899
|
-
* A core signal that follows a directive's inputs. Call it where injection works (a field
|
|
4900
|
-
* initialiser or the constructor); `read` first runs when the directive's inputs are set.
|
|
4901
|
-
*/
|
|
4902
|
-
export declare function inputsSignal<T extends Record<string, unknown>>(read: () => T): (() => Signal$1<T>) & {
|
|
4903
|
-
sync(): void;
|
|
4904
|
-
};
|
|
4905
|
-
/**
|
|
4906
|
-
* Puts a part on the directive's host element: the core writes its attributes and listens for its
|
|
4907
|
-
* events itself, so nothing waits for change detection. Returns a function to call in `ngOnInit`,
|
|
4908
|
-
* when the part's controller exists.
|
|
4909
|
-
*/
|
|
4910
|
-
export declare function hostPart(): (part: Part) => void;
|
|
4911
|
-
/** Whether this is a server's document: no layout, no observers, and nothing changes once written. */
|
|
4912
|
-
export declare const onServer: () => boolean;
|
|
4913
|
-
/**
|
|
4914
|
-
* A part the directive draws itself, as the last child of its host: the hidden native input of a
|
|
4915
|
-
* form control, which the caller does not write. Returns a function to call in `ngOnInit`.
|
|
4916
|
-
*/
|
|
4917
|
-
export declare function innerPart(tag: string): (part: Part) => void;
|
|
4918
|
-
/** Runs a controller's own effects for the directive's life. */
|
|
4919
|
-
export declare function mounted(): (controller: {
|
|
4920
|
-
mount(): () => void;
|
|
4921
|
-
}) => void;
|
|
4922
|
-
/**
|
|
4923
|
-
* For a structural directive (`*kuiCollapsiblePanel`): its template is in the page only while
|
|
4924
|
-
* `show` holds, so a closed panel is really gone, its content with it. `part` goes on the
|
|
4925
|
-
* template's element. With `portal`, the template is drawn in a container at the end of the page.
|
|
4926
|
-
* Returns a function to call in `ngOnInit`.
|
|
4927
|
-
*/
|
|
4928
|
-
export declare function presentWhile(options?: {
|
|
4929
|
-
portal?: boolean;
|
|
4930
|
-
/** Drawn as children of this element instead, which is elsewhere in the page. */
|
|
4931
|
-
into?: () => HTMLElement | undefined;
|
|
4932
|
-
}): (show: ReadonlySignal<boolean> | (() => boolean), part?: Part,
|
|
4933
|
-
/** Called with the template's element each time it is drawn; what it returns runs when it goes. */
|
|
4934
|
-
drawn?: (element: HTMLElement) => () => void) => void;
|
|
4935
|
-
export { createToaster };
|
|
4938
|
+
export type { Align, Anchor, AnchorOption, Bindable, CalendarDay, CalendarProps, CalendarValue, CalendarWeekday, ChangeDetails, ChangeSource, ComponentDefinition, DateFieldProps, DateFieldSegment, DateRange, DateUnit, Direction, DrawerSide, DrawerSnapPoint, FieldValidity, FormErrors, FormValues, IsoDate, ItemLabels, ListCollection, Orientation, PaginationEntry, Part, PartDefinition, PartEvent, PartProps, PartState, PartStyle, PhysicalSide, PositionOptions, PositionerAnchor, QrCorrection, ReadonlySignal, SelectShown, Side, Signal, SliderChangeDetails, SliderTold, StateDefinition, StateOf, ToastActionOptions, ToastContent, ToastOptions, ToastRecord, ToastState, Toaster, ToasterOptions, ValidationMode, ValidityKey };
|