@kirana-ui/angular 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,9 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
1
4
  import * as i0 from "@angular/core";
2
5
  import { AfterViewInit, DoCheck, ElementRef, InputSignalWithTransform, OnChanges, OnInit, ProviderToken, Signal as Signal$1, SimpleChanges, TemplateRef } from "@angular/core";
3
- import { Align, Align as Align$1, Anchor, Anchor as Anchor$1, AnchorOption, Bindable, ChangeDetails, ChangeDetails as ChangeDetails$1, ChangeSource, CollisionAvoidance, CollisionAvoidance as CollisionAvoidance$1, CollisionBoundary, CollisionBoundary as CollisionBoundary$1, CollisionPadding, CollisionPadding as CollisionPadding$1, ComponentDefinition, Direction, Direction as Direction$1, ItemLabels, ItemLabels as ItemLabels$1, ListCollection, ListCollection as ListCollection$1, OffsetData, OffsetFunction, OffsetFunction as OffsetFunction$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";
6
+ import { Align, Align as Align$1, Anchor, Anchor as Anchor$1, AnchorOption, Bindable, ChangeDetails, ChangeDetails as ChangeDetails$1, ChangeSource, CollisionAvoidance, CollisionAvoidance as CollisionAvoidance$1, CollisionBoundary, CollisionBoundary as CollisionBoundary$1, CollisionPadding, CollisionPadding as CollisionPadding$1, ComponentDefinition, Direction, Direction as Direction$1, ItemLabels, ItemLabels as ItemLabels$1, ListCollection, ListCollection as ListCollection$1, OffsetData, OffsetFunction, OffsetFunction as OffsetFunction$1, Orientation, Orientation as Orientation$1, Part, Part as Part$1, PartDefinition, PartEvent, PartProps, PartState, PartStyle, PhysicalSide, PositionOptions, PositionOptions as PositionOptions$1, Presentation, Presentation as Presentation$1, ReadonlySignal, ReadonlySignal as ReadonlySignal$1, Side, Side as Side$1, Signal, Signal as Signal$2, StateDefinition, StateOf } from "@kirana-ui/core";
4
7
  import { Accordion, AccordionItem } from "@kirana-ui/core/accordion";
5
8
  import { Checkbox } from "@kirana-ui/core/checkbox";
6
9
  import { CheckboxGroup } from "@kirana-ui/core/checkbox-group";
@@ -12,14 +15,24 @@ import { Listbox, ListboxGroup } from "@kirana-ui/core/listbox";
12
15
  import { Menu, MenuCheckboxItem, MenuGroup, MenuRadioGroup } from "@kirana-ui/core/menu";
13
16
  import { Menubar } from "@kirana-ui/core/menubar";
14
17
  import { NavigationMenu, NavigationMenuItem } from "@kirana-ui/core/navigation-menu";
15
- import { Otp, OtpSlot } from "@kirana-ui/core/otp";
18
+ import { Otp, OtpSlot, OtpValidation } from "@kirana-ui/core/otp";
16
19
  import { QrCode, QrCorrection, QrCorrection as QrCorrection$1 } from "@kirana-ui/core/qr-code";
17
20
  import { DateField, DateFieldProps, DateFieldSegment, DateFieldSegment as DateFieldSegment$1, DateUnit } from "@kirana-ui/core/date-field";
18
21
  import { Calendar, CalendarDay, CalendarDay as CalendarDay$1, CalendarMode, CalendarMode as CalendarMode$1, CalendarMonth, CalendarMonth as CalendarMonth$1, CalendarProps, CalendarValue, CalendarValueOf, CalendarValueOf as CalendarValueOf$1, CalendarWeekday, CalendarWeekday as CalendarWeekday$1, DateRange, IsoDate } from "@kirana-ui/core/calendar";
19
22
  import { MessageScroller } from "@kirana-ui/core/message-scroller";
20
23
  import { Autosize } from "@kirana-ui/core/autosize";
21
24
  import { Pagination, PaginationEntry, PaginationEntry as PaginationEntry$1 } from "@kirana-ui/core/pagination";
22
- import { DatePicker } from "@kirana-ui/core/date-picker";
25
+ import { Rating } from "@kirana-ui/core/rating";
26
+ import { Tree, TreeItem, TreeSelectionMode, TreeSelectionMode as TreeSelectionMode$1 } from "@kirana-ui/core/tree";
27
+ import { ColorFormat, ColorFormat as ColorFormat$1, ColorPicker, ColorPickerInputChannel, ColorPickerInputChannel as ColorPickerInputChannel$1, ColorPickerSliderChannel, ColorPickerSliderChannel as ColorPickerSliderChannel$1, ColorPickerThumb, Hsva } from "@kirana-ui/core/color-picker";
28
+ import { Tour, TourStep, TourStep as TourStep$1, TourTarget } from "@kirana-ui/core/tour";
29
+ import { TagsInput, TagsInputEntry, TagsInputEntry as TagsInputEntry$1 } from "@kirana-ui/core/tags-input";
30
+ import { FileRejection, FileRejection as FileRejection$1, FileRejectionReason, FileUpload, FileUploadEntry, FileUploadEntry as FileUploadEntry$1 } from "@kirana-ui/core/file-upload";
31
+ import { HourCycle, HourCycle as HourCycle$1, IsoTime, TimeField, TimeFieldSegment, TimeFieldSegment as TimeFieldSegment$1, TimeGranularity, TimeGranularity as TimeGranularity$1, TimeUnit } from "@kirana-ui/core/time-field";
32
+ import { Steps, StepsItem } from "@kirana-ui/core/steps";
33
+ import { Editable } from "@kirana-ui/core/editable";
34
+ import { PasswordInput } from "@kirana-ui/core/password-input";
35
+ import { DatePicker, DatePickerMode, DatePickerMode as DatePickerMode$1, DatePickerRange, DatePickerRange as DatePickerRange$1, DatePickerValue, DatePickerValueOf, DatePickerValueOf as DatePickerValueOf$1 } from "@kirana-ui/core/date-picker";
23
36
  import { NumberField } from "@kirana-ui/core/number-field";
24
37
  import { Command, CommandGroup } from "@kirana-ui/core/command";
25
38
  import { Carousel } from "@kirana-ui/core/carousel";
@@ -49,6 +62,11 @@ export declare class KpAccordion<Value = unknown> implements OnInit {
49
62
  readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
50
63
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
51
64
  readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
65
+ readonly loopFocus: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
66
+ /**
67
+ * Whether the arrows wrap from the last item to the first.
68
+ * @deprecated Base UI's name is `loopFocus`, which wins when both are given.
69
+ */
52
70
  readonly loop: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
53
71
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
54
72
  /** The change with why it happened; `details.cancel()` keeps the value. */
@@ -91,6 +109,11 @@ export declare class KpAccordion<Value = unknown> implements OnInit {
91
109
  "required": false;
92
110
  "isSignal": true;
93
111
  };
112
+ "loopFocus": {
113
+ "alias": "loopFocus";
114
+ "required": false;
115
+ "isSignal": true;
116
+ };
94
117
  "loop": {
95
118
  "alias": "loop";
96
119
  "required": false;
@@ -172,7 +195,13 @@ export declare class KpCheckbox implements OnInit {
172
195
  readonly checked: import("@angular/core").ModelSignal<boolean | undefined>;
173
196
  readonly defaultChecked: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
174
197
  readonly indeterminate: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
175
- /** In a `kpCheckboxGroup` with `allValues`: the box that stands for them all. */
198
+ /**
199
+ * In a `kpCheckboxGroup` with `allValues`: the box that stands for them all, written anywhere
200
+ * inside the group. It is checked when every one is, mixed when some are, and it is not
201
+ * submitted; its `aria-controls` names the boxes. A press from mixed checks them all, the next
202
+ * unchecks them all, and the next brings back the set they were left in (left all checked or
203
+ * none, a press goes between all and none); a disabled box keeps its state. Read once.
204
+ */
176
205
  readonly parent: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
177
206
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
178
207
  readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
@@ -181,6 +210,7 @@ export declare class KpCheckbox implements OnInit {
181
210
  /** The id of the form the control belongs to, when it is not inside it. */
182
211
  readonly form: import("@angular/core").InputSignal<string | undefined>;
183
212
  readonly value: import("@angular/core").InputSignal<string | undefined>;
213
+ /** The id of the box's hidden native checkbox, not of the box: a `<label for>` names it. Inside a `Field`, that input takes the field's id instead. */
184
214
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
185
215
  /** The change with why it happened; `details.cancel()` keeps the value. */
186
216
  readonly checkedChanged: import("@angular/core").OutputEmitterRef<{
@@ -259,7 +289,12 @@ export declare class KpCheckbox implements OnInit {
259
289
  "checkedChanged": "checkedChanged";
260
290
  }, never, never, true, never>;
261
291
  }
262
- /** `<span *kpCheckboxIndicator>`: in the page while the box is checked or indeterminate. */
292
+ /**
293
+ * `<span *kpCheckboxIndicator>`: in the page while the box is checked or indeterminate. Its
294
+ * template is given nothing: a dash while mixed and a tick while checked are both written in it
295
+ * and chosen in CSS by the element's `data-indeterminate` (`[data-indeterminate] .tick`,
296
+ * `:not([data-indeterminate]) > .dash`, each `display: none`).
297
+ */
263
298
  export declare class KpCheckboxIndicator implements OnInit {
264
299
  private readonly root;
265
300
  private readonly present;
@@ -275,9 +310,14 @@ export declare class KpCheckboxIndicator implements OnInit {
275
310
  export declare class KpCheckboxGroup implements OnInit {
276
311
  readonly value: import("@angular/core").ModelSignal<readonly string[] | undefined>;
277
312
  readonly defaultValue: import("@angular/core").InputSignal<readonly string[] | undefined>;
278
- /** The value of every checkbox of the group, for a parent checkbox. */
313
+ /**
314
+ * The value of every checkbox of the group, for a parent checkbox: it is checked when all of
315
+ * them are, mixed when some are, and a press on it goes from the set they were left in to
316
+ * all, then none, then back. Its order names the boxes' elements (`<id>-0` …).
317
+ */
279
318
  readonly allValues: import("@angular/core").InputSignal<readonly string[] | undefined>;
280
319
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
320
+ /** The group's own id, and what its boxes' elements are named from (`<id>-0`, `<id>-1` …, by their place in `allValues`), which a parent box's `aria-controls` names. Inside a `Field`, the group takes the field's id instead. */
281
321
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
282
322
  /** The change with why it happened; `details.cancel()` keeps the value. */
283
323
  readonly valueChanged: import("@angular/core").OutputEmitterRef<{
@@ -404,7 +444,23 @@ export declare class KpDialog implements OnInit {
404
444
  readonly defaultOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
405
445
  /** Blocks the page behind it and traps focus. Default `true`. */
406
446
  readonly modal: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
407
- /** Whether a press outside closes it. Default `true`. */
447
+ /**
448
+ * Keeps it open when the pointer presses outside it. Default `false`. Escape always closes
449
+ * it: a caller who must keep it open cancels the change whose `details.reason` is
450
+ * `"escape-key"`.
451
+ */
452
+ readonly disablePointerDismissal: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
453
+ /**
454
+ * Whether a press outside closes it. Default `true`.
455
+ * @deprecated Base UI's name is `[disablePointerDismissal]`, the other way round, which wins
456
+ * when both are given.
457
+ */
458
+ readonly closeOnOutsidePress: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
459
+ /**
460
+ * Whether a press outside closes it. Default `true`.
461
+ * @deprecated Base UI's name is `[disablePointerDismissal]`, the other way round, which wins
462
+ * over this and over `[closeOnOutsidePress]`.
463
+ */
408
464
  readonly dismissible: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
409
465
  /** With `kpDrawer`: the way it is dragged to close it. Default: `"down"`. */
410
466
  readonly swipeDirection: import("@angular/core").InputSignal<DrawerSide$1 | undefined>;
@@ -429,6 +485,7 @@ export declare class KpDialog implements OnInit {
429
485
  }>;
430
486
  controller: Dialog;
431
487
  private readonly drawer;
488
+ private readonly around;
432
489
  private readonly generated;
433
490
  private readonly props;
434
491
  private readonly mount;
@@ -451,6 +508,16 @@ export declare class KpDialog implements OnInit {
451
508
  "required": false;
452
509
  "isSignal": true;
453
510
  };
511
+ "disablePointerDismissal": {
512
+ "alias": "disablePointerDismissal";
513
+ "required": false;
514
+ "isSignal": true;
515
+ };
516
+ "closeOnOutsidePress": {
517
+ "alias": "closeOnOutsidePress";
518
+ "required": false;
519
+ "isSignal": true;
520
+ };
454
521
  "dismissible": {
455
522
  "alias": "dismissible";
456
523
  "required": false;
@@ -491,7 +558,7 @@ export declare class KpDialog implements OnInit {
491
558
  /**
492
559
  * `kpAlertDialog`, on any element or on `<ng-container>`: a dialog that asks for an answer.
493
560
  * It is always modal and a press outside it never closes it, so it takes neither `[modal]`
494
- * nor `[dismissible]`. Its parts are a dialog's (`kpDialogTrigger`, `kpDialogPopup` …), which
561
+ * nor `[disablePointerDismissal]`. Its parts are a dialog's (`kpDialogTrigger`, `kpDialogPopup` …), which
495
562
  * find it as their root.
496
563
  */
497
564
  export declare class KpAlertDialog implements OnInit {
@@ -503,6 +570,7 @@ export declare class KpAlertDialog implements OnInit {
503
570
  details: ChangeDetails$1;
504
571
  }>;
505
572
  controller: Dialog;
573
+ private readonly around;
506
574
  private readonly generated;
507
575
  private readonly props;
508
576
  private readonly mount;
@@ -538,9 +606,26 @@ export declare class KpDialogPortal implements OnInit {
538
606
  static ɵfac: i0.ɵɵFactoryDeclaration<KpDialogPortal, never>;
539
607
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpDialogPortal, "[kpDialogPortal]", never, {}, {}, never, never, true, never>;
540
608
  }
541
- export declare class KpDialogTrigger implements OnInit {
542
- private readonly init;
609
+ /** A trigger or a close button, with its own `[disabled]`. */
610
+ declare abstract class DialogButton implements OnInit {
611
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
612
+ protected abstract readonly which: "triggerPart" | "closePart";
613
+ private readonly root;
614
+ private readonly put;
615
+ private readonly options;
616
+ ngOnChanges(changes: SimpleChanges): void;
543
617
  ngOnInit(): void;
618
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogButton, never>;
619
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogButton, never, never, {
620
+ "disabled": {
621
+ "alias": "disabled";
622
+ "required": false;
623
+ "isSignal": true;
624
+ };
625
+ }, {}, never, never, true, never>;
626
+ }
627
+ export declare class KpDialogTrigger extends DialogButton {
628
+ protected readonly which = "triggerPart";
544
629
  static ɵfac: i0.ɵɵFactoryDeclaration<KpDialogTrigger, never>;
545
630
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpDialogTrigger, "[kpDialogTrigger]", never, {}, {}, never, never, true, never>;
546
631
  }
@@ -578,9 +663,8 @@ export declare class KpDialogDescription implements OnInit {
578
663
  static ɵfac: i0.ɵɵFactoryDeclaration<KpDialogDescription, never>;
579
664
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpDialogDescription, "[kpDialogDescription]", never, {}, {}, never, never, true, never>;
580
665
  }
581
- export declare class KpDialogClose implements OnInit {
582
- private readonly init;
583
- ngOnInit(): void;
666
+ export declare class KpDialogClose extends DialogButton {
667
+ protected readonly which = "closePart";
584
668
  static ɵfac: i0.ɵɵFactoryDeclaration<KpDialogClose, never>;
585
669
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpDialogClose, "[kpDialogClose]", never, {}, {}, never, never, true, never>;
586
670
  }
@@ -608,7 +692,10 @@ type HostInputs<Directive> = { [Name in keyof InputsOf<Directive>]?: () => Input
608
692
  * Each value is a function read like a signal, so one worked out from the host's own inputs
609
693
  * (`{ disabled: computed(() => !this.collapsed()) }`) follows them. An input the element binds
610
694
  * (one the host exposes through `hostDirectives`' `inputs`, written on the element) wins over
611
- * what is given here. Call it where injection works (a field initialiser or the constructor):
695
+ * what is given here. A value of `undefined` gives nothing: the primitive's own input stands,
696
+ * so a model given `undefined` is the primitive's to hold. Of hosts nested in one another that
697
+ * give the same input, the outermost wins, and one that gives `undefined` leaves it to the
698
+ * host inside it. Call it where injection works (a field initialiser or the constructor):
612
699
  * host directives are made before their host, and read their inputs after it is made.
613
700
  */
614
701
  export declare function hostInputs<Directive extends object>(directive: ProviderToken<Directive>, given: NoInfer<HostInputs<Directive>>): void;
@@ -764,9 +851,10 @@ drawn?: (element: HTMLElement) => () => void) => void;
764
851
  * `kpAutocomplete` is a combobox whose text is the value: `[(value)]` is the text, and the
765
852
  * list only suggests. Its parts are the combobox's directives.
766
853
  */
767
- export declare class KpCombobox<Value = unknown> implements OnInit {
768
- readonly value: import("@angular/core").ModelSignal<Value | null | undefined>;
769
- readonly defaultValue: import("@angular/core").InputSignal<NoInfer<Value> | null>;
854
+ export declare class KpCombobox<Value = unknown, Multiple extends boolean = false> implements OnInit {
855
+ /** With `[multiple]="true"`, the chosen values. */
856
+ readonly value: import("@angular/core").ModelSignal<(Multiple extends true ? readonly Value[] : Value | null) | undefined>;
857
+ readonly defaultValue: import("@angular/core").InputSignal<NoInfer<Multiple extends true ? readonly Value[] : Value | null> | undefined>;
770
858
  /** What the input says, `[(inputValue)]`. With `kpAutocomplete` the text is `[(value)]`. */
771
859
  readonly inputValue: import("@angular/core").ModelSignal<string | undefined>;
772
860
  /** The text the input starts with, when the caller does not hold `inputValue`. Read once. */
@@ -793,17 +881,27 @@ export declare class KpCombobox<Value = unknown> implements OnInit {
793
881
  readonly filter: import("@angular/core").InputSignal<((label: string, query: string) => boolean) | null | undefined>;
794
882
  /** In a field, "none" is then wrong. */
795
883
  readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
796
- /** Several values, each shown as a chip: they are `values`, not `value`. */
797
- readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
798
- /** With `multiple`: the chosen values, in the order they were chosen, `[(values)]`. */
884
+ /**
885
+ * Several values, each shown as a chip: `value` and `valueChanged` then hold a list. Bound
886
+ * to `true` (`[multiple]="true"`), it types them so. The bare attribute, or a bound boolean,
887
+ * works the same, and then `value` takes either and `valueChanged` is typed as one value:
888
+ * Angular's compiler gives a type parameter it cannot infer `any`, so only a literal `true`
889
+ * says it.
890
+ */
891
+ readonly multiple: import("@angular/core").InputSignalWithTransform<Multiple | undefined, "" | Multiple | undefined>;
892
+ /**
893
+ * With `multiple`: the chosen values.
894
+ * @deprecated Base UI's shape is `[(value)]` holding the list, which wins when both are given.
895
+ */
799
896
  readonly values: import("@angular/core").ModelSignal<readonly Value[] | undefined>;
800
897
  /**
801
- * With `multiple`: the values it starts with, when the caller does not hold `values`. Read once.
898
+ * With `multiple`: the values it starts with.
899
+ * @deprecated Base UI's shape is `[defaultValue]` holding the list, which wins.
802
900
  */
803
901
  readonly defaultValues: import("@angular/core").InputSignal<readonly Value[] | undefined>;
804
902
  /**
805
- * With `multiple`: heard as a value is about to be added or taken away; `details.cancel()` keeps
806
- * the values as they were.
903
+ * With `multiple`: heard as a value is about to be added or taken away.
904
+ * @deprecated Base UI's shape is `(valueChanged)` told the list. Both are emitted.
807
905
  */
808
906
  readonly valuesChanged: import("@angular/core").OutputEmitterRef<{
809
907
  values: Value[];
@@ -813,18 +911,32 @@ export declare class KpCombobox<Value = unknown> implements OnInit {
813
911
  readonly inline: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
814
912
  /** Every row, when only some are in the page: each item is then given its `index`. */
815
913
  readonly virtualized: import("@angular/core").InputSignal<ListCollection$1 | undefined>;
914
+ /**
915
+ * How the list opens: `"sheet"` from the bottom edge, modal, with a backdrop, the input then
916
+ * in the popup; `"auto"` a sheet on a narrow touch screen. Default `"popup"`.
917
+ */
918
+ readonly presentation: import("@angular/core").InputSignal<Presentation$1 | undefined>;
919
+ /** With `presentation="auto"`: the viewport's width under which a coarse pointer opens a sheet. Default 640. */
920
+ readonly sheetBelow: import("@angular/core").InputSignal<number | undefined>;
816
921
  /**
817
922
  * The first item shown for what was typed is highlighted as one types, so Enter chooses it.
818
923
  * Off by default.
819
924
  */
820
925
  readonly autoHighlight: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
821
- /** With `kpAutocomplete`: `"none"` shows the suggestions as the caller draws them. */
822
- readonly mode: import("@angular/core").InputSignal<"none" | "list" | undefined>;
926
+ /** For values that are objects: the text the input shows for one, and what is filtered. */
927
+ readonly itemToStringLabel: import("@angular/core").InputSignal<((value: Value) => string) | undefined>;
928
+ /** For values that are objects: the text the form is sent for one. */
929
+ readonly itemToStringValue: import("@angular/core").InputSignal<((value: Value) => string) | undefined>;
930
+ /**
931
+ * With `kpAutocomplete`: `"none"` shows the suggestions as the caller draws them; `"both"`
932
+ * and `"inline"` write the rest of the first that begins with what is typed into the input.
933
+ */
934
+ readonly mode: import("@angular/core").InputSignal<"none" | "list" | "both" | "inline" | undefined>;
823
935
  /** With `kpAutocomplete`: a press on the input opens the list. */
824
936
  readonly openOnInputClick: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
825
937
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
826
938
  readonly valueChanged: import("@angular/core").OutputEmitterRef<{
827
- value: Value | null;
939
+ value: true extends Multiple ? (false extends Multiple ? Value | null : Value[]) : Value | null;
828
940
  details: ChangeDetails$1;
829
941
  }>;
830
942
  /** Heard as the input's text is about to change; `details.cancel()` keeps it as it was. */
@@ -839,13 +951,14 @@ export declare class KpCombobox<Value = unknown> implements OnInit {
839
951
  controller: Combobox<Value>;
840
952
  private readonly autocomplete;
841
953
  private readonly field;
954
+ private readonly direction;
842
955
  private readonly generated;
843
956
  private readonly props;
844
957
  private readonly mount;
845
958
  ngOnChanges(changes: SimpleChanges): void;
846
959
  ngOnInit(): void;
847
- static ɵfac: i0.ɵɵFactoryDeclaration<KpCombobox<any>, never>;
848
- static ɵdir: i0.ɵɵDirectiveDeclaration<KpCombobox<any>, "[kpCombobox],[kpAutocomplete]", ["kpCombobox"], {
960
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpCombobox<any, any>, never>;
961
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpCombobox<any, any>, "[kpCombobox],[kpAutocomplete]", ["kpCombobox"], {
849
962
  "value": {
850
963
  "alias": "value";
851
964
  "required": false;
@@ -936,11 +1049,31 @@ export declare class KpCombobox<Value = unknown> implements OnInit {
936
1049
  "required": false;
937
1050
  "isSignal": true;
938
1051
  };
1052
+ "presentation": {
1053
+ "alias": "presentation";
1054
+ "required": false;
1055
+ "isSignal": true;
1056
+ };
1057
+ "sheetBelow": {
1058
+ "alias": "sheetBelow";
1059
+ "required": false;
1060
+ "isSignal": true;
1061
+ };
939
1062
  "autoHighlight": {
940
1063
  "alias": "autoHighlight";
941
1064
  "required": false;
942
1065
  "isSignal": true;
943
1066
  };
1067
+ "itemToStringLabel": {
1068
+ "alias": "itemToStringLabel";
1069
+ "required": false;
1070
+ "isSignal": true;
1071
+ };
1072
+ "itemToStringValue": {
1073
+ "alias": "itemToStringValue";
1074
+ "required": false;
1075
+ "isSignal": true;
1076
+ };
944
1077
  "mode": {
945
1078
  "alias": "mode";
946
1079
  "required": false;
@@ -976,7 +1109,7 @@ export declare class KpComboboxPortal implements OnInit {
976
1109
  }
977
1110
  export declare class KpComboboxPositioner extends KpPositioner {
978
1111
  private readonly root;
979
- protected placed(): Combobox<any>;
1112
+ protected placed(): Combobox<unknown>;
980
1113
  static ɵfac: i0.ɵɵFactoryDeclaration<KpComboboxPositioner, never>;
981
1114
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpComboboxPositioner, "[kpComboboxPositioner]", never, {}, {}, never, never, true, never>;
982
1115
  }
@@ -999,6 +1132,13 @@ export declare class KpComboboxPopup implements OnInit {
999
1132
  static ɵfac: i0.ɵɵFactoryDeclaration<KpComboboxPopup, never>;
1000
1133
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpComboboxPopup, "[kpComboboxPopup]", never, {}, {}, never, never, true, never>;
1001
1134
  }
1135
+ /** `<div kpComboboxBackdrop>`, in the portal: what lies over the page behind the list. */
1136
+ export declare class KpComboboxBackdrop implements OnInit {
1137
+ private readonly init;
1138
+ ngOnInit(): void;
1139
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpComboboxBackdrop, never>;
1140
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpComboboxBackdrop, "[kpComboboxBackdrop]", never, {}, {}, never, never, true, never>;
1141
+ }
1002
1142
  /**
1003
1143
  * The items' own box inside the popup, when the popup holds more than items (an input): it is
1004
1144
  * then the listbox.
@@ -1058,7 +1198,7 @@ export declare class KpComboboxItem implements OnInit {
1058
1198
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
1059
1199
  /** Its place among all the rows, in a virtualized list. */
1060
1200
  readonly index: import("@angular/core").InputSignal<number | undefined>;
1061
- readonly root: KpCombobox<any>;
1201
+ readonly root: KpCombobox<unknown, boolean>;
1062
1202
  private readonly within;
1063
1203
  private readonly generated;
1064
1204
  private readonly put;
@@ -1098,6 +1238,7 @@ export declare class KpComboboxItem implements OnInit {
1098
1238
  export declare class KpComboboxItemIndicator implements OnInit {
1099
1239
  private readonly item;
1100
1240
  private readonly present;
1241
+ private readonly mount;
1101
1242
  ngOnInit(): void;
1102
1243
  static ɵfac: i0.ɵɵFactoryDeclaration<KpComboboxItemIndicator, never>;
1103
1244
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpComboboxItemIndicator, "[kpComboboxItemIndicator]", never, {}, {}, never, never, true, never>;
@@ -1112,7 +1253,7 @@ export declare class KpComboboxChips implements OnInit {
1112
1253
  /** With `multiple`: one chosen value. Its `value` is what its remove button takes away. */
1113
1254
  export declare class KpComboboxChip implements OnInit {
1114
1255
  readonly value: import("@angular/core").InputSignal<unknown>;
1115
- readonly root: KpCombobox<any>;
1256
+ readonly root: KpCombobox<unknown, boolean>;
1116
1257
  private readonly put;
1117
1258
  ngOnInit(): void;
1118
1259
  static ɵfac: i0.ɵɵFactoryDeclaration<KpComboboxChip, never>;
@@ -1161,6 +1302,7 @@ export declare class KpComboboxStatus implements OnInit {
1161
1302
  /**
1162
1303
  * `<span kpComboboxValue [placeholder]="'Pick one'">` says the chosen value's label, or its
1163
1304
  * placeholder while nothing is chosen; with `multiple`, the chosen labels with commas between.
1305
+ * An element with content of its own says that instead.
1164
1306
  * `<ng-container *kpComboboxValue="let shown">` draws its own content instead, with what is
1165
1307
  * chosen: `shown.value` and `shown.label`, with `multiple` `shown.values` and `shown.labels`,
1166
1308
  * in the order they were chosen. For a button that is the combobox, its input inside the popup.
@@ -1172,6 +1314,8 @@ export declare class KpComboboxValue implements OnInit {
1172
1314
  private readonly template;
1173
1315
  private readonly container;
1174
1316
  private readonly destroy;
1317
+ private readonly server;
1318
+ private text;
1175
1319
  constructor();
1176
1320
  private write;
1177
1321
  ngOnInit(): void;
@@ -1362,6 +1506,11 @@ declare abstract class MenuRoot implements OnInit {
1362
1506
  readonly open: import("@angular/core").ModelSignal<boolean | undefined>;
1363
1507
  readonly defaultOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1364
1508
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1509
+ readonly loopFocus: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1510
+ /**
1511
+ * Whether the arrows wrap from the last item to the first.
1512
+ * @deprecated Base UI's name is `loopFocus`, which wins when both are given.
1513
+ */
1365
1514
  readonly loop: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1366
1515
  /** Holds the page while the menu is open. Not for a submenu. */
1367
1516
  readonly modal: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
@@ -1401,6 +1550,11 @@ declare abstract class MenuRoot implements OnInit {
1401
1550
  "required": false;
1402
1551
  "isSignal": true;
1403
1552
  };
1553
+ "loopFocus": {
1554
+ "alias": "loopFocus";
1555
+ "required": false;
1556
+ "isSignal": true;
1557
+ };
1404
1558
  "loop": {
1405
1559
  "alias": "loop";
1406
1560
  "required": false;
@@ -1436,9 +1590,16 @@ export declare class KpMenu extends MenuRoot {
1436
1590
  }
1437
1591
  /** A row of menus that work as one. Each `kpMenu` inside it is one of its items. */
1438
1592
  export declare class KpMenubar implements OnInit {
1593
+ readonly loopFocus: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1594
+ /**
1595
+ * Whether the arrows wrap from the last item to the first.
1596
+ * @deprecated Base UI's name is `loopFocus`, which wins when both are given.
1597
+ */
1439
1598
  readonly loop: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1440
1599
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1441
1600
  readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
1601
+ /** Holds the page while one of its menus is open. Default `false`. */
1602
+ readonly modal: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1442
1603
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
1443
1604
  controller: Menubar;
1444
1605
  private readonly around;
@@ -1449,6 +1610,11 @@ export declare class KpMenubar implements OnInit {
1449
1610
  ngOnInit(): void;
1450
1611
  static ɵfac: i0.ɵɵFactoryDeclaration<KpMenubar, never>;
1451
1612
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpMenubar, "[kpMenubar]", ["kpMenubar"], {
1613
+ "loopFocus": {
1614
+ "alias": "loopFocus";
1615
+ "required": false;
1616
+ "isSignal": true;
1617
+ };
1452
1618
  "loop": {
1453
1619
  "alias": "loop";
1454
1620
  "required": false;
@@ -1464,6 +1630,11 @@ export declare class KpMenubar implements OnInit {
1464
1630
  "required": false;
1465
1631
  "isSignal": true;
1466
1632
  };
1633
+ "modal": {
1634
+ "alias": "modal";
1635
+ "required": false;
1636
+ "isSignal": true;
1637
+ };
1467
1638
  "kpId": {
1468
1639
  "alias": "kpId";
1469
1640
  "required": false;
@@ -1535,6 +1706,8 @@ export declare class KpMenuItem implements OnInit {
1535
1706
  /** What typing matches; the item's text when left out. */
1536
1707
  readonly label: import("@angular/core").InputSignal<string | undefined>;
1537
1708
  /** Whether choosing the item closes the menu. Default: it does. */
1709
+ readonly closeOnSelect: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1710
+ /** @deprecated Use `[closeOnSelect]`, which wins when both are given. */
1538
1711
  readonly closeOnClick: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1539
1712
  private readonly root;
1540
1713
  private readonly put;
@@ -1553,6 +1726,11 @@ export declare class KpMenuItem implements OnInit {
1553
1726
  "required": false;
1554
1727
  "isSignal": true;
1555
1728
  };
1729
+ "closeOnSelect": {
1730
+ "alias": "closeOnSelect";
1731
+ "required": false;
1732
+ "isSignal": true;
1733
+ };
1556
1734
  "closeOnClick": {
1557
1735
  "alias": "closeOnClick";
1558
1736
  "required": false;
@@ -1565,6 +1743,8 @@ export declare class KpMenuLinkItem implements OnInit {
1565
1743
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1566
1744
  readonly label: import("@angular/core").InputSignal<string | undefined>;
1567
1745
  /** Whether choosing the item closes the menu. Default: it does. */
1746
+ readonly closeOnSelect: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1747
+ /** @deprecated Use `[closeOnSelect]`, which wins when both are given. */
1568
1748
  readonly closeOnClick: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1569
1749
  private readonly root;
1570
1750
  private readonly put;
@@ -1583,6 +1763,11 @@ export declare class KpMenuLinkItem implements OnInit {
1583
1763
  "required": false;
1584
1764
  "isSignal": true;
1585
1765
  };
1766
+ "closeOnSelect": {
1767
+ "alias": "closeOnSelect";
1768
+ "required": false;
1769
+ "isSignal": true;
1770
+ };
1586
1771
  "closeOnClick": {
1587
1772
  "alias": "closeOnClick";
1588
1773
  "required": false;
@@ -1623,6 +1808,8 @@ export declare class KpMenuCheckboxItem implements OnInit {
1623
1808
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1624
1809
  readonly label: import("@angular/core").InputSignal<string | undefined>;
1625
1810
  /** Whether choosing the item closes the menu. Default: it does not. */
1811
+ readonly closeOnSelect: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1812
+ /** @deprecated Use `[closeOnSelect]`, which wins when both are given. */
1626
1813
  readonly closeOnClick: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1627
1814
  readonly checkedChanged: import("@angular/core").OutputEmitterRef<{
1628
1815
  checked: boolean;
@@ -1656,6 +1843,11 @@ export declare class KpMenuCheckboxItem implements OnInit {
1656
1843
  "required": false;
1657
1844
  "isSignal": true;
1658
1845
  };
1846
+ "closeOnSelect": {
1847
+ "alias": "closeOnSelect";
1848
+ "required": false;
1849
+ "isSignal": true;
1850
+ };
1659
1851
  "closeOnClick": {
1660
1852
  "alias": "closeOnClick";
1661
1853
  "required": false;
@@ -1670,6 +1862,7 @@ export declare class KpMenuCheckboxItem implements OnInit {
1670
1862
  export declare class KpMenuCheckboxItemIndicator implements OnInit {
1671
1863
  private readonly owner;
1672
1864
  private readonly present;
1865
+ private readonly mount;
1673
1866
  ngOnInit(): void;
1674
1867
  static ɵfac: i0.ɵɵFactoryDeclaration<KpMenuCheckboxItemIndicator, never>;
1675
1868
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpMenuCheckboxItemIndicator, "[kpMenuCheckboxItemIndicator]", never, {}, {}, never, never, true, never>;
@@ -1716,6 +1909,8 @@ export declare class KpMenuRadioItem implements OnInit {
1716
1909
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1717
1910
  readonly label: import("@angular/core").InputSignal<string | undefined>;
1718
1911
  /** Whether choosing the item closes the menu. Default: it does not. */
1912
+ readonly closeOnSelect: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1913
+ /** @deprecated Use `[closeOnSelect]`, which wins when both are given. */
1719
1914
  readonly closeOnClick: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1720
1915
  readonly owner: KpMenuRadioGroup<any>;
1721
1916
  private readonly put;
@@ -1739,6 +1934,11 @@ export declare class KpMenuRadioItem implements OnInit {
1739
1934
  "required": false;
1740
1935
  "isSignal": true;
1741
1936
  };
1937
+ "closeOnSelect": {
1938
+ "alias": "closeOnSelect";
1939
+ "required": false;
1940
+ "isSignal": true;
1941
+ };
1742
1942
  "closeOnClick": {
1743
1943
  "alias": "closeOnClick";
1744
1944
  "required": false;
@@ -1750,6 +1950,7 @@ export declare class KpMenuRadioItem implements OnInit {
1750
1950
  export declare class KpMenuRadioItemIndicator implements OnInit {
1751
1951
  private readonly item;
1752
1952
  private readonly present;
1953
+ private readonly mount;
1753
1954
  ngOnInit(): void;
1754
1955
  static ɵfac: i0.ɵɵFactoryDeclaration<KpMenuRadioItemIndicator, never>;
1755
1956
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpMenuRadioItemIndicator, "[kpMenuRadioItemIndicator]", never, {}, {}, never, never, true, never>;
@@ -1767,6 +1968,7 @@ export declare class KpNavigationMenu<Value = unknown> implements OnInit {
1767
1968
  }>;
1768
1969
  controller: NavigationMenu<Value>;
1769
1970
  private readonly around;
1971
+ private readonly outer;
1770
1972
  private readonly generated;
1771
1973
  private readonly put;
1772
1974
  private readonly mount;
@@ -1834,11 +2036,21 @@ export declare class KpNavigationMenuItem implements OnInit {
1834
2036
  }, {}, never, never, true, never>;
1835
2037
  }
1836
2038
  export declare class KpNavigationMenuTrigger implements OnInit {
2039
+ /** The trigger cannot be pressed, and the pointer resting on it shows nothing. */
2040
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1837
2041
  private readonly item;
1838
2042
  private readonly put;
2043
+ private readonly options;
2044
+ ngOnChanges(changes: SimpleChanges): void;
1839
2045
  ngOnInit(): void;
1840
2046
  static ɵfac: i0.ɵɵFactoryDeclaration<KpNavigationMenuTrigger, never>;
1841
- static ɵdir: i0.ɵɵDirectiveDeclaration<KpNavigationMenuTrigger, "[kpNavigationMenuTrigger]", never, {}, {}, never, never, true, never>;
2047
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpNavigationMenuTrigger, "[kpNavigationMenuTrigger]", never, {
2048
+ "disabled": {
2049
+ "alias": "disabled";
2050
+ "required": false;
2051
+ "isSignal": true;
2052
+ };
2053
+ }, {}, never, never, true, never>;
1842
2054
  }
1843
2055
  export declare class KpNavigationMenuIcon implements OnInit {
1844
2056
  private readonly item;
@@ -1863,6 +2075,8 @@ export declare class KpNavigationMenuLink implements OnInit {
1863
2075
  /** The link is the page the reader is on. */
1864
2076
  readonly active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1865
2077
  /** Whether following it closes the menu. Default: it does. */
2078
+ readonly closeOnSelect: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
2079
+ /** @deprecated Use `[closeOnSelect]`, which wins when both are given. */
1866
2080
  readonly closeOnClick: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
1867
2081
  private readonly root;
1868
2082
  private readonly put;
@@ -1876,6 +2090,11 @@ export declare class KpNavigationMenuLink implements OnInit {
1876
2090
  "required": false;
1877
2091
  "isSignal": true;
1878
2092
  };
2093
+ "closeOnSelect": {
2094
+ "alias": "closeOnSelect";
2095
+ "required": false;
2096
+ "isSignal": true;
2097
+ };
1879
2098
  "closeOnClick": {
1880
2099
  "alias": "closeOnClick";
1881
2100
  "required": false;
@@ -1924,21 +2143,41 @@ export declare class KpOtp implements OnInit {
1924
2143
  readonly length: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
1925
2144
  readonly value: import("@angular/core").ModelSignal<string | undefined>;
1926
2145
  readonly defaultValue: import("@angular/core").InputSignal<string | undefined>;
1927
- readonly mode: import("@angular/core").InputSignal<"numeric" | "alphabetic" | "alphanumeric" | "text" | undefined>;
2146
+ readonly validationType: import("@angular/core").InputSignal<import("@kirana-ui/angular").OtpValidation | undefined>;
2147
+ /**
2148
+ * What a character may be.
2149
+ * @deprecated Base UI's name is `validationType`, which wins when both are given.
2150
+ */
2151
+ readonly mode: import("@angular/core").InputSignal<import("@kirana-ui/angular").OtpValidation | undefined>;
1928
2152
  readonly pattern: import("@angular/core").InputSignal<string | undefined>;
1929
2153
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
2154
+ /** Shown as it is, focusable, not changeable. */
2155
+ readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
2156
+ /** Needed: in a field, an empty code is then invalid. */
2157
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1930
2158
  readonly name: import("@angular/core").InputSignal<string | undefined>;
1931
2159
  /** The id of the form the input belongs to, when it is not inside it. */
1932
2160
  readonly form: import("@angular/core").InputSignal<string | undefined>;
2161
+ /** The id of its input, not of the root: a `<label for>` names it. */
1933
2162
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
1934
2163
  readonly valueChanged: import("@angular/core").OutputEmitterRef<{
1935
2164
  value: string;
1936
2165
  details: ChangeDetails$1;
1937
2166
  }>;
1938
- /** Every character is in: the moment to send the code. */
2167
+ /** Every character is in: the moment to send the code, with the change's details. */
2168
+ readonly valueCompleted: import("@angular/core").OutputEmitterRef<{
2169
+ value: string;
2170
+ details: ChangeDetails$1;
2171
+ }>;
2172
+ /**
2173
+ * Every character is in.
2174
+ * @deprecated Base UI's name is `valueCompleted`, which carries the details too. Both are
2175
+ * emitted: an output cannot tell whether it is bound.
2176
+ */
1939
2177
  readonly completed: import("@angular/core").OutputEmitterRef<string>;
1940
2178
  controller: Otp;
1941
2179
  private readonly generated;
2180
+ private readonly field;
1942
2181
  private readonly put;
1943
2182
  private readonly props;
1944
2183
  ngOnChanges(changes: SimpleChanges): void;
@@ -1960,6 +2199,11 @@ export declare class KpOtp implements OnInit {
1960
2199
  "required": false;
1961
2200
  "isSignal": true;
1962
2201
  };
2202
+ "validationType": {
2203
+ "alias": "validationType";
2204
+ "required": false;
2205
+ "isSignal": true;
2206
+ };
1963
2207
  "mode": {
1964
2208
  "alias": "mode";
1965
2209
  "required": false;
@@ -1975,6 +2219,16 @@ export declare class KpOtp implements OnInit {
1975
2219
  "required": false;
1976
2220
  "isSignal": true;
1977
2221
  };
2222
+ "readOnly": {
2223
+ "alias": "readOnly";
2224
+ "required": false;
2225
+ "isSignal": true;
2226
+ };
2227
+ "required": {
2228
+ "alias": "required";
2229
+ "required": false;
2230
+ "isSignal": true;
2231
+ };
1978
2232
  "name": {
1979
2233
  "alias": "name";
1980
2234
  "required": false;
@@ -1993,6 +2247,7 @@ export declare class KpOtp implements OnInit {
1993
2247
  }, {
1994
2248
  "value": "valueChange";
1995
2249
  "valueChanged": "valueChanged";
2250
+ "valueCompleted": "valueCompleted";
1996
2251
  "completed": "completed";
1997
2252
  }, never, never, true, never>;
1998
2253
  }
@@ -2097,6 +2352,11 @@ export declare class KpDateField implements OnInit {
2097
2352
  readonly defaultValue: import("@angular/core").InputSignal<string | null | undefined>;
2098
2353
  /** The language and region that order the day, the month and the year. */
2099
2354
  readonly locale: import("@angular/core").InputSignal<string | undefined>;
2355
+ /**
2356
+ * The calendar its parts are typed in, when it is not the Gregorian one: an instance from
2357
+ * `@internationalized/date`. The value is still an ISO day.
2358
+ */
2359
+ readonly calendarSystem: import("@angular/core").InputSignal<import("@internationalized/date").Calendar | undefined>;
2100
2360
  readonly min: import("@angular/core").InputSignal<string | undefined>;
2101
2361
  readonly max: import("@angular/core").InputSignal<string | undefined>;
2102
2362
  readonly placeholders: import("@angular/core").InputSignal<Partial<Record<import("@kirana-ui/angular").DateUnit, string>> | undefined>;
@@ -2136,6 +2396,11 @@ export declare class KpDateField implements OnInit {
2136
2396
  "required": false;
2137
2397
  "isSignal": true;
2138
2398
  };
2399
+ "calendarSystem": {
2400
+ "alias": "calendarSystem";
2401
+ "required": false;
2402
+ "isSignal": true;
2403
+ };
2139
2404
  "min": {
2140
2405
  "alias": "min";
2141
2406
  "required": false;
@@ -2236,6 +2501,11 @@ export declare class KpCalendar<Mode extends CalendarMode$1 = CalendarMode$1> im
2236
2501
  readonly defaultValue: import("@angular/core").InputSignal<NoInfer<CalendarValueOf$1<Mode>> | undefined>;
2237
2502
  /** One day (the default), a first and a last (`"range"`), or any number (`"multiple"`). */
2238
2503
  readonly mode: import("@angular/core").InputSignal<Mode | undefined>;
2504
+ /**
2505
+ * A chosen day stays chosen: pressed again it is kept, and with `mode="multiple"` the last day
2506
+ * cannot be taken away. Without it, a second press on the chosen day empties the value.
2507
+ */
2508
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
2239
2509
  /** With `mode="multiple"`: the fewest days that can be left chosen. */
2240
2510
  readonly minDays: import("@angular/core").InputSignal<number | undefined>;
2241
2511
  /** With `mode="multiple"`: the most days that can be chosen. */
@@ -2249,7 +2519,11 @@ export declare class KpCalendar<Mode extends CalendarMode$1 = CalendarMode$1> im
2249
2519
  /** The month it starts on, when the caller does not hold `month`. Read once. */
2250
2520
  readonly defaultMonth: import("@angular/core").InputSignal<string | undefined>;
2251
2521
  readonly defaultFocusedValue: import("@angular/core").InputSignal<string | undefined>;
2252
- /** The language and region its names, first day of the week and calendar follow. */
2522
+ /**
2523
+ * The language and region its names, first day of the week and calendar follow. The week
2524
+ * begins where the region begins it, or on the day a `-u-fw-` extension names
2525
+ * (`"en-US-u-fw-mon"`).
2526
+ */
2253
2527
  readonly locale: import("@angular/core").InputSignal<string | undefined>;
2254
2528
  /** The calendar its months are laid out in, when it is not the Gregorian one. */
2255
2529
  readonly calendarSystem: import("@angular/core").InputSignal<import("@internationalized/date").Calendar | undefined>;
@@ -2297,6 +2571,11 @@ export declare class KpCalendar<Mode extends CalendarMode$1 = CalendarMode$1> im
2297
2571
  "required": false;
2298
2572
  "isSignal": true;
2299
2573
  };
2574
+ "required": {
2575
+ "alias": "required";
2576
+ "required": false;
2577
+ "isSignal": true;
2578
+ };
2300
2579
  "minDays": {
2301
2580
  "alias": "minDays";
2302
2581
  "required": false;
@@ -2394,7 +2673,10 @@ export declare class KpCalendar<Mode extends CalendarMode$1 = CalendarMode$1> im
2394
2673
  "monthChanged": "monthChanged";
2395
2674
  }, never, never, true, never>;
2396
2675
  }
2397
- /** Names the month shown: it writes the name before whatever is inside it. */
2676
+ /**
2677
+ * Names the month shown, unless the element has content of its own: then that is what it says,
2678
+ * and the live region reads it as the month changes.
2679
+ */
2398
2680
  export declare class KpCalendarHeading implements OnInit {
2399
2681
  private readonly root;
2400
2682
  private readonly index;
@@ -2476,6 +2758,7 @@ export declare class KpCalendarHeadCell implements OnInit {
2476
2758
  }, {}, never, never, true, never>;
2477
2759
  }
2478
2760
  export declare class KpCalendarCell implements OnInit {
2761
+ /** The day it holds, as `*kpCalendarWeeks` gave it; a `kpCalendarDay` inside takes it too. */
2479
2762
  readonly date: import("@angular/core").InputSignal<string>;
2480
2763
  private readonly root;
2481
2764
  private readonly index;
@@ -2491,8 +2774,10 @@ export declare class KpCalendarCell implements OnInit {
2491
2774
  }, {}, never, never, true, never>;
2492
2775
  }
2493
2776
  export declare class KpCalendarDay implements OnInit {
2494
- readonly date: import("@angular/core").InputSignal<string>;
2777
+ /** The day it is the button of. Left out, its `kpCalendarCell`'s. */
2778
+ readonly date: import("@angular/core").InputSignal<string | undefined>;
2495
2779
  private readonly root;
2780
+ private readonly cell;
2496
2781
  private readonly index;
2497
2782
  private readonly put;
2498
2783
  ngOnInit(): void;
@@ -2500,7 +2785,7 @@ export declare class KpCalendarDay implements OnInit {
2500
2785
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpCalendarDay, "[kpCalendarDay]", never, {
2501
2786
  "date": {
2502
2787
  "alias": "date";
2503
- "required": true;
2788
+ "required": false;
2504
2789
  "isSignal": true;
2505
2790
  };
2506
2791
  }, {}, never, never, true, never>;
@@ -2615,46 +2900,1621 @@ export declare class KpPagination implements OnInit {
2615
2900
  readonly boundaryCount: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
2616
2901
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
2617
2902
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
2618
- readonly pageChanged: import("@angular/core").OutputEmitterRef<{
2619
- page: number;
2903
+ readonly pageChanged: import("@angular/core").OutputEmitterRef<{
2904
+ page: number;
2905
+ details: ChangeDetails$1;
2906
+ }>;
2907
+ controller: Pagination;
2908
+ private readonly generated;
2909
+ private readonly props;
2910
+ private readonly part;
2911
+ private readonly mount;
2912
+ ngOnChanges(changes: SimpleChanges): void;
2913
+ ngOnInit(): void;
2914
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpPagination, never>;
2915
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpPagination, "[kpPagination]", ["kpPagination"], {
2916
+ "page": {
2917
+ "alias": "page";
2918
+ "required": false;
2919
+ "isSignal": true;
2920
+ };
2921
+ "defaultPage": {
2922
+ "alias": "defaultPage";
2923
+ "required": false;
2924
+ "isSignal": true;
2925
+ };
2926
+ "count": {
2927
+ "alias": "count";
2928
+ "required": true;
2929
+ "isSignal": true;
2930
+ };
2931
+ "pageSize": {
2932
+ "alias": "pageSize";
2933
+ "required": false;
2934
+ "isSignal": true;
2935
+ };
2936
+ "siblingCount": {
2937
+ "alias": "siblingCount";
2938
+ "required": false;
2939
+ "isSignal": true;
2940
+ };
2941
+ "boundaryCount": {
2942
+ "alias": "boundaryCount";
2943
+ "required": false;
2944
+ "isSignal": true;
2945
+ };
2946
+ "disabled": {
2947
+ "alias": "disabled";
2948
+ "required": false;
2949
+ "isSignal": true;
2950
+ };
2951
+ "kpId": {
2952
+ "alias": "kpId";
2953
+ "required": false;
2954
+ "isSignal": true;
2955
+ };
2956
+ }, {
2957
+ "page": "pageChange";
2958
+ "pageChanged": "pageChanged";
2959
+ }, never, never, true, never>;
2960
+ }
2961
+ /**
2962
+ * `<ng-container *kpPaginationItems="let entry">`: once for each piece of the row, a page or
2963
+ * the mark for pages left out.
2964
+ */
2965
+ export declare class KpPaginationItems implements OnInit {
2966
+ private readonly root;
2967
+ private readonly template;
2968
+ private readonly container;
2969
+ private readonly destroy;
2970
+ private readonly server;
2971
+ private readonly views;
2972
+ ngOnInit(): void;
2973
+ static ngTemplateContextGuard(_directive: KpPaginationItems, _context: unknown): _context is {
2974
+ $implicit: PaginationEntry$1;
2975
+ };
2976
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpPaginationItems, never>;
2977
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpPaginationItems, "[kpPaginationItems]", never, {}, {}, never, never, true, never>;
2978
+ }
2979
+ export declare class KpPaginationItem implements OnInit {
2980
+ readonly page: import("@angular/core").InputSignalWithTransform<number, unknown>;
2981
+ private readonly root;
2982
+ private readonly put;
2983
+ ngOnInit(): void;
2984
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpPaginationItem, never>;
2985
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpPaginationItem, "[kpPaginationItem]", never, {
2986
+ "page": {
2987
+ "alias": "page";
2988
+ "required": true;
2989
+ "isSignal": true;
2990
+ };
2991
+ }, {}, never, never, true, never>;
2992
+ }
2993
+ /** The mark for pages left out of the row. */
2994
+ export declare class KpPaginationEllipsis implements OnInit {
2995
+ private readonly init;
2996
+ ngOnInit(): void;
2997
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpPaginationEllipsis, never>;
2998
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpPaginationEllipsis, "[kpPaginationEllipsis]", never, {}, {}, never, never, true, never>;
2999
+ }
3000
+ export declare class KpPaginationPrevious implements OnInit {
3001
+ private readonly init;
3002
+ ngOnInit(): void;
3003
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpPaginationPrevious, never>;
3004
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpPaginationPrevious, "[kpPaginationPrevious]", never, {}, {}, never, never, true, never>;
3005
+ }
3006
+ export declare class KpPaginationNext implements OnInit {
3007
+ private readonly init;
3008
+ ngOnInit(): void;
3009
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpPaginationNext, never>;
3010
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpPaginationNext, "[kpPaginationNext]", never, {}, {}, never, never, true, never>;
3011
+ }
3012
+ /**
3013
+ * On the element that holds the items. `[(value)]` is how much is given, from 0 to `count`. It
3014
+ * draws the hidden input a form reads, as its last child.
3015
+ */
3016
+ export declare class KpRating implements OnInit {
3017
+ readonly value: import("@angular/core").ModelSignal<number | undefined>;
3018
+ readonly defaultValue: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
3019
+ /** How many items there are. Default 5. */
3020
+ readonly count: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
3021
+ readonly allowHalf: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3022
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3023
+ readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3024
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3025
+ readonly name: import("@angular/core").InputSignal<string | undefined>;
3026
+ /** The id of the form the control belongs to, when it is not inside it. */
3027
+ readonly form: import("@angular/core").InputSignal<string | undefined>;
3028
+ readonly kpId: import("@angular/core").InputSignal<string | undefined>;
3029
+ /** The change with why it happened; `details.cancel()` keeps the value. */
3030
+ readonly valueChanged: import("@angular/core").OutputEmitterRef<{
3031
+ value: number;
3032
+ details: ChangeDetails$1;
3033
+ }>;
3034
+ /** The value the pointer is over, and `null` as it leaves: nothing is chosen by it. */
3035
+ readonly hoverChanged: import("@angular/core").OutputEmitterRef<number | null>;
3036
+ controller: Rating;
3037
+ private readonly around;
3038
+ private readonly field;
3039
+ private readonly generated;
3040
+ private readonly props;
3041
+ private readonly part;
3042
+ private readonly inner;
3043
+ private readonly mount;
3044
+ ngOnChanges(changes: SimpleChanges): void;
3045
+ ngOnInit(): void;
3046
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpRating, never>;
3047
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpRating, "[kpRating]", ["kpRating"], {
3048
+ "value": {
3049
+ "alias": "value";
3050
+ "required": false;
3051
+ "isSignal": true;
3052
+ };
3053
+ "defaultValue": {
3054
+ "alias": "defaultValue";
3055
+ "required": false;
3056
+ "isSignal": true;
3057
+ };
3058
+ "count": {
3059
+ "alias": "count";
3060
+ "required": false;
3061
+ "isSignal": true;
3062
+ };
3063
+ "allowHalf": {
3064
+ "alias": "allowHalf";
3065
+ "required": false;
3066
+ "isSignal": true;
3067
+ };
3068
+ "disabled": {
3069
+ "alias": "disabled";
3070
+ "required": false;
3071
+ "isSignal": true;
3072
+ };
3073
+ "readOnly": {
3074
+ "alias": "readOnly";
3075
+ "required": false;
3076
+ "isSignal": true;
3077
+ };
3078
+ "required": {
3079
+ "alias": "required";
3080
+ "required": false;
3081
+ "isSignal": true;
3082
+ };
3083
+ "name": {
3084
+ "alias": "name";
3085
+ "required": false;
3086
+ "isSignal": true;
3087
+ };
3088
+ "form": {
3089
+ "alias": "form";
3090
+ "required": false;
3091
+ "isSignal": true;
3092
+ };
3093
+ "kpId": {
3094
+ "alias": "kpId";
3095
+ "required": false;
3096
+ "isSignal": true;
3097
+ };
3098
+ }, {
3099
+ "value": "valueChange";
3100
+ "valueChanged": "valueChanged";
3101
+ "hoverChanged": "hoverChanged";
3102
+ }, never, never, true, never>;
3103
+ }
3104
+ /** `<ng-container *kpRatingItems="let place">`: once for each item, from 1 to `count`. */
3105
+ export declare class KpRatingItems implements OnInit {
3106
+ private readonly root;
3107
+ private readonly template;
3108
+ private readonly container;
3109
+ private readonly destroy;
3110
+ private readonly server;
3111
+ private readonly views;
3112
+ ngOnInit(): void;
3113
+ static ngTemplateContextGuard(_directive: KpRatingItems, _context: unknown): _context is {
3114
+ $implicit: number;
3115
+ };
3116
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpRatingItems, never>;
3117
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpRatingItems, "[kpRatingItems]", never, {}, {}, never, never, true, never>;
3118
+ }
3119
+ export declare class KpRatingItem implements OnInit {
3120
+ /** Its place among the items, from 1. */
3121
+ readonly place: import("@angular/core").InputSignalWithTransform<number, unknown>;
3122
+ private readonly root;
3123
+ private readonly put;
3124
+ ngOnInit(): void;
3125
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpRatingItem, never>;
3126
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpRatingItem, "[kpRatingItem]", never, {
3127
+ "place": {
3128
+ "alias": "place";
3129
+ "required": true;
3130
+ "isSignal": true;
3131
+ };
3132
+ }, {}, never, never, true, never>;
3133
+ }
3134
+ /**
3135
+ * On the element that holds the nodes. `[(expandedValue)]` are the open branches' values and
3136
+ * `[(selectedValue)]` the chosen nodes' values.
3137
+ */
3138
+ export declare class KpTree<Value = unknown> implements OnInit {
3139
+ readonly expandedValue: import("@angular/core").ModelSignal<readonly Value[] | undefined>;
3140
+ readonly defaultExpandedValue: import("@angular/core").InputSignal<readonly Value[] | undefined>;
3141
+ readonly selectionMode: import("@angular/core").InputSignal<TreeSelectionMode$1 | undefined>;
3142
+ readonly selectedValue: import("@angular/core").ModelSignal<readonly Value[] | undefined>;
3143
+ readonly defaultSelectedValue: import("@angular/core").InputSignal<readonly Value[] | undefined>;
3144
+ /** Whether a press on a branch (or Enter on it) also opens or closes it. Default `true`. */
3145
+ readonly expandOnClick: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
3146
+ readonly kpId: import("@angular/core").InputSignal<string | undefined>;
3147
+ /** A branch about to open or close, with the values then open; `details.cancel()` keeps them. */
3148
+ readonly expandedChanged: import("@angular/core").OutputEmitterRef<{
3149
+ value: Value[];
3150
+ details: ChangeDetails$1;
3151
+ }>;
3152
+ /** Nodes about to be chosen or taken away; `details.cancel()` keeps them. */
3153
+ readonly selectedChanged: import("@angular/core").OutputEmitterRef<{
3154
+ value: Value[];
3155
+ details: ChangeDetails$1;
3156
+ }>;
3157
+ controller: Tree<Value>;
3158
+ private readonly around;
3159
+ private readonly generated;
3160
+ private readonly props;
3161
+ private readonly part;
3162
+ private readonly mount;
3163
+ ngOnChanges(changes: SimpleChanges): void;
3164
+ ngOnInit(): void;
3165
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTree<any>, never>;
3166
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTree<any>, "[kpTree]", ["kpTree"], {
3167
+ "expandedValue": {
3168
+ "alias": "expandedValue";
3169
+ "required": false;
3170
+ "isSignal": true;
3171
+ };
3172
+ "defaultExpandedValue": {
3173
+ "alias": "defaultExpandedValue";
3174
+ "required": false;
3175
+ "isSignal": true;
3176
+ };
3177
+ "selectionMode": {
3178
+ "alias": "selectionMode";
3179
+ "required": false;
3180
+ "isSignal": true;
3181
+ };
3182
+ "selectedValue": {
3183
+ "alias": "selectedValue";
3184
+ "required": false;
3185
+ "isSignal": true;
3186
+ };
3187
+ "defaultSelectedValue": {
3188
+ "alias": "defaultSelectedValue";
3189
+ "required": false;
3190
+ "isSignal": true;
3191
+ };
3192
+ "expandOnClick": {
3193
+ "alias": "expandOnClick";
3194
+ "required": false;
3195
+ "isSignal": true;
3196
+ };
3197
+ "kpId": {
3198
+ "alias": "kpId";
3199
+ "required": false;
3200
+ "isSignal": true;
3201
+ };
3202
+ }, {
3203
+ "expandedValue": "expandedValueChange";
3204
+ "selectedValue": "selectedValueChange";
3205
+ "expandedChanged": "expandedChanged";
3206
+ "selectedChanged": "selectedChanged";
3207
+ }, never, never, true, never>;
3208
+ }
3209
+ /**
3210
+ * One node. `value` tells it from the others in the tree; `branch` makes it one that holds
3211
+ * children in its `kpTreeGroup`. Its depth is known from how the nodes are nested, so a server
3212
+ * writes it too.
3213
+ */
3214
+ export declare class KpTreeItem implements OnInit {
3215
+ readonly value: import("@angular/core").InputSignal<unknown>;
3216
+ readonly branch: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3217
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3218
+ /** A branch whose children are being loaded. */
3219
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3220
+ /** What typing matches, when it is not the node's text. */
3221
+ readonly label: import("@angular/core").InputSignal<string | undefined>;
3222
+ item: TreeItem;
3223
+ /** How deep it is, from 1: one more than the node around it. */
3224
+ readonly level: number;
3225
+ private readonly root;
3226
+ private readonly part;
3227
+ private readonly mount;
3228
+ private readonly options;
3229
+ ngOnChanges(changes: SimpleChanges): void;
3230
+ ngOnInit(): void;
3231
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTreeItem, never>;
3232
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTreeItem, "[kpTreeItem]", never, {
3233
+ "value": {
3234
+ "alias": "value";
3235
+ "required": true;
3236
+ "isSignal": true;
3237
+ };
3238
+ "branch": {
3239
+ "alias": "branch";
3240
+ "required": false;
3241
+ "isSignal": true;
3242
+ };
3243
+ "disabled": {
3244
+ "alias": "disabled";
3245
+ "required": false;
3246
+ "isSignal": true;
3247
+ };
3248
+ "loading": {
3249
+ "alias": "loading";
3250
+ "required": false;
3251
+ "isSignal": true;
3252
+ };
3253
+ "label": {
3254
+ "alias": "label";
3255
+ "required": false;
3256
+ "isSignal": true;
3257
+ };
3258
+ }, {}, never, never, true, never>;
3259
+ }
3260
+ export declare class KpTreeItemRow implements OnInit {
3261
+ private readonly init;
3262
+ ngOnInit(): void;
3263
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTreeItemRow, never>;
3264
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTreeItemRow, "[kpTreeItemRow]", never, {}, {}, never, never, true, never>;
3265
+ }
3266
+ export declare class KpTreeItemIndicator implements OnInit {
3267
+ private readonly init;
3268
+ ngOnInit(): void;
3269
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTreeItemIndicator, never>;
3270
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTreeItemIndicator, "[kpTreeItemIndicator]", never, {}, {}, never, never, true, never>;
3271
+ }
3272
+ export declare class KpTreeItemText implements OnInit {
3273
+ private readonly init;
3274
+ ngOnInit(): void;
3275
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTreeItemText, never>;
3276
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTreeItemText, "[kpTreeItemText]", never, {}, {}, never, never, true, never>;
3277
+ }
3278
+ /** `<div *kpTreeGroup>`: in the page while its branch is open; `{ keepMounted: true }` keeps it, hidden. */
3279
+ export declare class KpTreeGroup implements OnInit {
3280
+ /**
3281
+ * Its options: `{ keepMounted: true }` keeps the group in the page, hidden, while its branch
3282
+ * is closed.
3283
+ */
3284
+ readonly kpTreeGroup: import("@angular/core").InputSignal<"" | {
3285
+ keepMounted?: boolean;
3286
+ }>;
3287
+ private readonly owner;
3288
+ private readonly present;
3289
+ ngOnInit(): void;
3290
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTreeGroup, never>;
3291
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTreeGroup, "[kpTreeGroup]", never, {
3292
+ "kpTreeGroup": {
3293
+ "alias": "kpTreeGroup";
3294
+ "required": false;
3295
+ "isSignal": true;
3296
+ };
3297
+ }, {}, never, never, true, never>;
3298
+ }
3299
+ /**
3300
+ * On the element that holds the picker's parts. `[(value)]` is the colour as text in its
3301
+ * format, `[(format)]` the format. It draws the hidden input a form reads, as its last child.
3302
+ */
3303
+ export declare class KpColorPicker implements OnInit {
3304
+ /** The colour as text in `format`. Any format is read. */
3305
+ readonly value: import("@angular/core").ModelSignal<string | undefined>;
3306
+ /** Read once. Default `#000000`. */
3307
+ readonly defaultValue: import("@angular/core").InputSignal<string | undefined>;
3308
+ readonly format: import("@angular/core").ModelSignal<ColorFormat$1 | undefined>;
3309
+ /** Read once. Default `"hex"`. */
3310
+ readonly defaultFormat: import("@angular/core").InputSignal<ColorFormat$1 | undefined>;
3311
+ /** Whether the opacity can be chosen: the value then always carries its alpha. */
3312
+ readonly alpha: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3313
+ /** `"edge"` keeps a thumb inside its area or track at the ends of its range. */
3314
+ readonly thumbAlignment: import("@angular/core").InputSignal<"center" | "edge" | undefined>;
3315
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3316
+ /** Shown as it is, focusable, not changeable; its value is still submitted. */
3317
+ readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3318
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3319
+ readonly name: import("@angular/core").InputSignal<string | undefined>;
3320
+ /** The id of the form the picker belongs to, when it is not inside it. */
3321
+ readonly form: import("@angular/core").InputSignal<string | undefined>;
3322
+ readonly getAriaValueText: import("@angular/core").InputSignal<((text: string, thumb: import("@kirana-ui/angular").ColorPickerThumb, color: import("@kirana-ui/angular").Hsva) => string) | undefined>;
3323
+ readonly kpId: import("@angular/core").InputSignal<string | undefined>;
3324
+ /** Each step of a drag, each key, each colour typed or chosen; `details.cancel()` keeps it. */
3325
+ readonly valueChanged: import("@angular/core").OutputEmitterRef<{
3326
+ value: string;
3327
+ details: ChangeDetails$1;
3328
+ }>;
3329
+ /** When the pointer lets go, after each key, when a typed channel is left: the value to save. */
3330
+ readonly valueCommitted: import("@angular/core").OutputEmitterRef<{
3331
+ value: string;
3332
+ details: ChangeDetails$1;
3333
+ }>;
3334
+ /** When the format trigger goes to the next format; `details.cancel()` keeps it. */
3335
+ readonly formatChanged: import("@angular/core").OutputEmitterRef<{
3336
+ format: ColorFormat$1;
3337
+ details: ChangeDetails$1;
3338
+ }>;
3339
+ controller: ColorPicker;
3340
+ private readonly around;
3341
+ private readonly field;
3342
+ private readonly generated;
3343
+ private readonly props;
3344
+ private readonly part;
3345
+ private readonly inner;
3346
+ private readonly mount;
3347
+ ngOnChanges(changes: SimpleChanges): void;
3348
+ ngOnInit(): void;
3349
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPicker, never>;
3350
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPicker, "[kpColorPicker]", ["kpColorPicker"], {
3351
+ "value": {
3352
+ "alias": "value";
3353
+ "required": false;
3354
+ "isSignal": true;
3355
+ };
3356
+ "defaultValue": {
3357
+ "alias": "defaultValue";
3358
+ "required": false;
3359
+ "isSignal": true;
3360
+ };
3361
+ "format": {
3362
+ "alias": "format";
3363
+ "required": false;
3364
+ "isSignal": true;
3365
+ };
3366
+ "defaultFormat": {
3367
+ "alias": "defaultFormat";
3368
+ "required": false;
3369
+ "isSignal": true;
3370
+ };
3371
+ "alpha": {
3372
+ "alias": "alpha";
3373
+ "required": false;
3374
+ "isSignal": true;
3375
+ };
3376
+ "thumbAlignment": {
3377
+ "alias": "thumbAlignment";
3378
+ "required": false;
3379
+ "isSignal": true;
3380
+ };
3381
+ "disabled": {
3382
+ "alias": "disabled";
3383
+ "required": false;
3384
+ "isSignal": true;
3385
+ };
3386
+ "readOnly": {
3387
+ "alias": "readOnly";
3388
+ "required": false;
3389
+ "isSignal": true;
3390
+ };
3391
+ "required": {
3392
+ "alias": "required";
3393
+ "required": false;
3394
+ "isSignal": true;
3395
+ };
3396
+ "name": {
3397
+ "alias": "name";
3398
+ "required": false;
3399
+ "isSignal": true;
3400
+ };
3401
+ "form": {
3402
+ "alias": "form";
3403
+ "required": false;
3404
+ "isSignal": true;
3405
+ };
3406
+ "getAriaValueText": {
3407
+ "alias": "getAriaValueText";
3408
+ "required": false;
3409
+ "isSignal": true;
3410
+ };
3411
+ "kpId": {
3412
+ "alias": "kpId";
3413
+ "required": false;
3414
+ "isSignal": true;
3415
+ };
3416
+ }, {
3417
+ "value": "valueChange";
3418
+ "format": "formatChange";
3419
+ "valueChanged": "valueChanged";
3420
+ "valueCommitted": "valueCommitted";
3421
+ "formatChanged": "formatChanged";
3422
+ }, never, never, true, never>;
3423
+ }
3424
+ export declare class KpColorPickerArea implements OnInit {
3425
+ private readonly init;
3426
+ ngOnInit(): void;
3427
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPickerArea, never>;
3428
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPickerArea, "[kpColorPickerArea]", never, {}, {}, never, never, true, never>;
3429
+ }
3430
+ export declare class KpColorPickerAreaThumb implements OnInit {
3431
+ private readonly init;
3432
+ ngOnInit(): void;
3433
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPickerAreaThumb, never>;
3434
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPickerAreaThumb, "[kpColorPickerAreaThumb]", never, {}, {}, never, never, true, never>;
3435
+ }
3436
+ /** What a pointer presses and drags on to move a channel: its track and thumb are inside it. */
3437
+ export declare class KpColorPickerChannelSlider implements OnInit {
3438
+ /** The channel it moves: the hue, or the alpha. */
3439
+ readonly channel: import("@angular/core").InputSignal<ColorPickerSliderChannel$1>;
3440
+ /** The way its track runs. Default `horizontal`. */
3441
+ readonly orientation: import("@angular/core").InputSignal<Orientation$1>;
3442
+ private readonly root;
3443
+ private readonly put;
3444
+ ngOnInit(): void;
3445
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPickerChannelSlider, never>;
3446
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPickerChannelSlider, "[kpColorPickerChannelSlider]", never, {
3447
+ "channel": {
3448
+ "alias": "channel";
3449
+ "required": true;
3450
+ "isSignal": true;
3451
+ };
3452
+ "orientation": {
3453
+ "alias": "orientation";
3454
+ "required": false;
3455
+ "isSignal": true;
3456
+ };
3457
+ }, {}, never, never, true, never>;
3458
+ }
3459
+ export declare class KpColorPickerChannelSliderTrack implements OnInit {
3460
+ private readonly init;
3461
+ ngOnInit(): void;
3462
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPickerChannelSliderTrack, never>;
3463
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPickerChannelSliderTrack, "[kpColorPickerChannelSliderTrack]", never, {}, {}, never, never, true, never>;
3464
+ }
3465
+ export declare class KpColorPickerChannelSliderThumb implements OnInit {
3466
+ private readonly init;
3467
+ ngOnInit(): void;
3468
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPickerChannelSliderThumb, never>;
3469
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPickerChannelSliderThumb, "[kpColorPickerChannelSliderThumb]", never, {}, {}, never, never, true, never>;
3470
+ }
3471
+ /** On an `<input>`: one channel typed in, or the whole colour in hex. Its text is the core's. */
3472
+ export declare class KpColorPickerChannelInput implements OnInit {
3473
+ /** The channel it is typed in, or `hex` for the whole colour. */
3474
+ readonly channel: import("@angular/core").InputSignal<ColorPickerInputChannel$1>;
3475
+ private readonly root;
3476
+ private readonly put;
3477
+ ngOnInit(): void;
3478
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPickerChannelInput, never>;
3479
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPickerChannelInput, "[kpColorPickerChannelInput]", never, {
3480
+ "channel": {
3481
+ "alias": "channel";
3482
+ "required": true;
3483
+ "isSignal": true;
3484
+ };
3485
+ }, {}, never, never, true, never>;
3486
+ }
3487
+ export declare class KpColorPickerSwatch implements OnInit {
3488
+ private readonly init;
3489
+ ngOnInit(): void;
3490
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPickerSwatch, never>;
3491
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPickerSwatch, "[kpColorPickerSwatch]", never, {}, {}, never, never, true, never>;
3492
+ }
3493
+ /** A preset: pressed, the colour is this one. */
3494
+ export declare class KpColorPickerSwatchTrigger implements OnInit {
3495
+ /** The preset's colour, in any format. */
3496
+ readonly value: import("@angular/core").InputSignal<string>;
3497
+ private readonly root;
3498
+ private readonly put;
3499
+ ngOnInit(): void;
3500
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPickerSwatchTrigger, never>;
3501
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPickerSwatchTrigger, "[kpColorPickerSwatchTrigger]", never, {
3502
+ "value": {
3503
+ "alias": "value";
3504
+ "required": true;
3505
+ "isSignal": true;
3506
+ };
3507
+ }, {}, never, never, true, never>;
3508
+ }
3509
+ /** Picks a colour from the screen, where the browser can; hidden where it cannot. */
3510
+ export declare class KpColorPickerEyeDropperTrigger implements OnInit {
3511
+ private readonly init;
3512
+ ngOnInit(): void;
3513
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPickerEyeDropperTrigger, never>;
3514
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPickerEyeDropperTrigger, "[kpColorPickerEyeDropperTrigger]", never, {}, {}, never, never, true, never>;
3515
+ }
3516
+ /** Says the colour in its format, unless the element has content of its own. */
3517
+ export declare class KpColorPickerValueText implements OnInit {
3518
+ private readonly init;
3519
+ ngOnInit(): void;
3520
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPickerValueText, never>;
3521
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPickerValueText, "[kpColorPickerValueText]", never, {}, {}, never, never, true, never>;
3522
+ }
3523
+ /** Goes to the next format; says the current one, unless the element has content of its own. */
3524
+ export declare class KpColorPickerFormatTrigger implements OnInit {
3525
+ private readonly init;
3526
+ ngOnInit(): void;
3527
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpColorPickerFormatTrigger, never>;
3528
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpColorPickerFormatTrigger, "[kpColorPickerFormatTrigger]", never, {}, {}, never, never, true, never>;
3529
+ }
3530
+ /**
3531
+ * `<ng-container kpTour [steps]="steps" [(open)]="touring">`: a tour of the page, a step at a
3532
+ * time. It draws no element of its own. `[(step)]` is the index of the step asked for, from 0.
3533
+ */
3534
+ export declare class KpTour<Step extends TourStep$1 = TourStep$1> implements OnInit {
3535
+ /** The steps, in order. */
3536
+ readonly steps: import("@angular/core").InputSignal<readonly Step[]>;
3537
+ readonly open: import("@angular/core").ModelSignal<boolean | undefined>;
3538
+ readonly defaultOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3539
+ readonly step: import("@angular/core").ModelSignal<number | undefined>;
3540
+ /** The step it starts at, when the caller does not hold `step`. Read once. Default 0. */
3541
+ readonly defaultStep: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
3542
+ /** How long a step waits for a target that is not in the page, in milliseconds. Default 1000. */
3543
+ readonly waitForTarget: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
3544
+ /** The room between the target and the edge of the spotlight's hole, in pixels. Default 4. */
3545
+ readonly spotlightPadding: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
3546
+ /** Whether a press on the dimmed page ends the tour. Default `false`. */
3547
+ readonly closeOnOutsidePress: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3548
+ /** Whether the target can be used while its step is shown. Default `false`. */
3549
+ readonly interactive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3550
+ /** Whether ArrowRight and ArrowLeft go on and back a step. Default `true`. */
3551
+ readonly keyboardNavigation: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
3552
+ readonly kpId: import("@angular/core").InputSignal<string | undefined>;
3553
+ /** As it is about to open or close; `details.cancel()` keeps it as it was. */
3554
+ readonly openChanged: import("@angular/core").OutputEmitterRef<{
3555
+ open: boolean;
3556
+ details: ChangeDetails$1;
3557
+ }>;
3558
+ /** As another step is about to be shown; `details.cancel()` keeps it as it was. */
3559
+ readonly stepChanged: import("@angular/core").OutputEmitterRef<{
3560
+ step: number;
3561
+ details: ChangeDetails$1;
3562
+ }>;
3563
+ controller: Tour<Step>;
3564
+ private readonly around;
3565
+ private readonly generated;
3566
+ private readonly props;
3567
+ private readonly mount;
3568
+ ngOnChanges(changes: SimpleChanges): void;
3569
+ ngOnInit(): void;
3570
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTour<any>, never>;
3571
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTour<any>, "[kpTour]", ["kpTour"], {
3572
+ "steps": {
3573
+ "alias": "steps";
3574
+ "required": true;
3575
+ "isSignal": true;
3576
+ };
3577
+ "open": {
3578
+ "alias": "open";
3579
+ "required": false;
3580
+ "isSignal": true;
3581
+ };
3582
+ "defaultOpen": {
3583
+ "alias": "defaultOpen";
3584
+ "required": false;
3585
+ "isSignal": true;
3586
+ };
3587
+ "step": {
3588
+ "alias": "step";
3589
+ "required": false;
3590
+ "isSignal": true;
3591
+ };
3592
+ "defaultStep": {
3593
+ "alias": "defaultStep";
3594
+ "required": false;
3595
+ "isSignal": true;
3596
+ };
3597
+ "waitForTarget": {
3598
+ "alias": "waitForTarget";
3599
+ "required": false;
3600
+ "isSignal": true;
3601
+ };
3602
+ "spotlightPadding": {
3603
+ "alias": "spotlightPadding";
3604
+ "required": false;
3605
+ "isSignal": true;
3606
+ };
3607
+ "closeOnOutsidePress": {
3608
+ "alias": "closeOnOutsidePress";
3609
+ "required": false;
3610
+ "isSignal": true;
3611
+ };
3612
+ "interactive": {
3613
+ "alias": "interactive";
3614
+ "required": false;
3615
+ "isSignal": true;
3616
+ };
3617
+ "keyboardNavigation": {
3618
+ "alias": "keyboardNavigation";
3619
+ "required": false;
3620
+ "isSignal": true;
3621
+ };
3622
+ "kpId": {
3623
+ "alias": "kpId";
3624
+ "required": false;
3625
+ "isSignal": true;
3626
+ };
3627
+ }, {
3628
+ "open": "openChange";
3629
+ "step": "stepChange";
3630
+ "openChanged": "openChanged";
3631
+ "stepChanged": "stepChanged";
3632
+ }, never, never, true, never>;
3633
+ }
3634
+ /** `<ng-container *kpTourPortal>`: what it holds is drawn at the end of `<body>` while a step is shown. */
3635
+ export declare class KpTourPortal implements OnInit {
3636
+ private readonly root;
3637
+ private readonly present;
3638
+ ngOnInit(): void;
3639
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTourPortal, never>;
3640
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTourPortal, "[kpTourPortal]", never, {}, {}, never, never, true, never>;
3641
+ }
3642
+ export declare class KpTourPositioner extends KpPositioner {
3643
+ private readonly root;
3644
+ protected placed(): Tour<TourStep$1>;
3645
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTourPositioner, never>;
3646
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTourPositioner, "[kpTourPositioner]", never, {}, {}, never, never, true, never>;
3647
+ }
3648
+ /** What the popup's template is told of the step it shows, to draw it. */
3649
+ interface TourShownStep<Step extends TourStep$1 = TourStep$1> {
3650
+ /** The step shown, as the page gave it; `undefined` while none is. */
3651
+ step: Step | undefined;
3652
+ /** Its index, from 0. */
3653
+ index: number;
3654
+ /** Its place, from 1: the "2" of "2 of 5". */
3655
+ current: number;
3656
+ /** How many steps there are: the "5" of "2 of 5". */
3657
+ total: number;
3658
+ }
3659
+ /** The popup's template context: the step shown, whole and by its names. */
3660
+ type TourPopupContext<Step extends TourStep$1 = TourStep$1> = TourShownStep<Step> & {
3661
+ $implicit: TourShownStep<Step>;
3662
+ };
3663
+ /**
3664
+ * `<div *kpTourPopup="let shown">`: the step, drawn by its template from the step shown
3665
+ * (`shown.step`, `shown.index`, `shown.current`, `shown.total`, each also given by its name:
3666
+ * `let current = current`).
3667
+ */
3668
+ export declare class KpTourPopup implements OnInit {
3669
+ private readonly root;
3670
+ private readonly template;
3671
+ private readonly container;
3672
+ private readonly destroy;
3673
+ private readonly put;
3674
+ ngOnInit(): void;
3675
+ static ngTemplateContextGuard(_directive: KpTourPopup, _context: unknown): _context is TourPopupContext;
3676
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTourPopup, never>;
3677
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTourPopup, "[kpTourPopup]", never, {}, {}, never, never, true, never>;
3678
+ }
3679
+ /** A layer over the page with a hole over the target. */
3680
+ export declare class KpTourSpotlight implements OnInit {
3681
+ private readonly init;
3682
+ ngOnInit(): void;
3683
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTourSpotlight, never>;
3684
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTourSpotlight, "[kpTourSpotlight]", never, {}, {}, never, never, true, never>;
3685
+ }
3686
+ export declare class KpTourArrow implements OnInit {
3687
+ private readonly init;
3688
+ ngOnInit(): void;
3689
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTourArrow, never>;
3690
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTourArrow, "[kpTourArrow]", never, {}, {}, never, never, true, never>;
3691
+ }
3692
+ export declare class KpTourTitle implements OnInit {
3693
+ private readonly init;
3694
+ ngOnInit(): void;
3695
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTourTitle, never>;
3696
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTourTitle, "[kpTourTitle]", never, {}, {}, never, never, true, never>;
3697
+ }
3698
+ export declare class KpTourDescription implements OnInit {
3699
+ private readonly init;
3700
+ ngOnInit(): void;
3701
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTourDescription, never>;
3702
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTourDescription, "[kpTourDescription]", never, {}, {}, never, never, true, never>;
3703
+ }
3704
+ export declare class KpTourPrevious implements OnInit {
3705
+ private readonly init;
3706
+ ngOnInit(): void;
3707
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTourPrevious, never>;
3708
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTourPrevious, "[kpTourPrevious]", never, {}, {}, never, never, true, never>;
3709
+ }
3710
+ /** Goes on a step; on the last, it finishes the tour. */
3711
+ export declare class KpTourNext implements OnInit {
3712
+ private readonly init;
3713
+ ngOnInit(): void;
3714
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTourNext, never>;
3715
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTourNext, "[kpTourNext]", never, {}, {}, never, never, true, never>;
3716
+ }
3717
+ export declare class KpTourClose implements OnInit {
3718
+ private readonly init;
3719
+ ngOnInit(): void;
3720
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTourClose, never>;
3721
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTourClose, "[kpTourClose]", never, {}, {}, never, never, true, never>;
3722
+ }
3723
+ /**
3724
+ * On the element that holds the tags' parts. `[(value)]` is the tags, in order. It draws the
3725
+ * hidden input a form reads as its last child; with a name, each tag is submitted under it.
3726
+ */
3727
+ export declare class KpTagsInput implements OnInit {
3728
+ readonly value: import("@angular/core").ModelSignal<readonly string[] | undefined>;
3729
+ readonly defaultValue: import("@angular/core").InputSignal<readonly string[] | undefined>;
3730
+ /** Whether a text may be a tag. Asked after the text is trimmed, and not for an empty one. */
3731
+ readonly validate: import("@angular/core").InputSignal<((text: string, value: readonly string[]) => boolean) | undefined>;
3732
+ /** How many tags it holds at most. */
3733
+ readonly max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
3734
+ /** Whether the same text may be a tag twice. Default `false`. */
3735
+ readonly allowDuplicates: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
3736
+ /** What ends a tag as it is typed or pasted, beside Enter. Default `","`. `null` for nothing. */
3737
+ readonly delimiter: import("@angular/core").InputSignal<string | RegExp | null | undefined>;
3738
+ /** Whether what is typed becomes a tag as focus leaves the input. Default `false`. */
3739
+ readonly addOnBlur: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
3740
+ /** Whether a pasted text is cut into tags at its delimiters and line ends. Default `true`. */
3741
+ readonly addOnPaste: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
3742
+ /** Whether a tag can be edited in place, by two presses or Enter on it. Default `true`. */
3743
+ readonly editable: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
3744
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3745
+ readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3746
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3747
+ readonly name: import("@angular/core").InputSignal<string | undefined>;
3748
+ /** The id of the form the control belongs to, when it is not inside it. */
3749
+ readonly form: import("@angular/core").InputSignal<string | undefined>;
3750
+ readonly kpId: import("@angular/core").InputSignal<string | undefined>;
3751
+ /** The tags about to change; `details.cancel()` keeps them as they were. */
3752
+ readonly valueChanged: import("@angular/core").OutputEmitterRef<{
3753
+ value: string[];
3754
+ details: ChangeDetails$1;
3755
+ }>;
3756
+ /** A text that was not made a tag, and why. */
3757
+ readonly valueInvalid: import("@angular/core").OutputEmitterRef<{
3758
+ text: string;
3759
+ reason: "duplicate" | "max" | "invalid";
3760
+ }>;
3761
+ controller: TagsInput;
3762
+ private readonly field;
3763
+ private readonly around;
3764
+ private readonly generated;
3765
+ private readonly props;
3766
+ private readonly part;
3767
+ private readonly inner;
3768
+ private readonly mount;
3769
+ ngOnChanges(changes: SimpleChanges): void;
3770
+ ngOnInit(): void;
3771
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTagsInput, never>;
3772
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTagsInput, "[kpTagsInput]", ["kpTagsInput"], {
3773
+ "value": {
3774
+ "alias": "value";
3775
+ "required": false;
3776
+ "isSignal": true;
3777
+ };
3778
+ "defaultValue": {
3779
+ "alias": "defaultValue";
3780
+ "required": false;
3781
+ "isSignal": true;
3782
+ };
3783
+ "validate": {
3784
+ "alias": "validate";
3785
+ "required": false;
3786
+ "isSignal": true;
3787
+ };
3788
+ "max": {
3789
+ "alias": "max";
3790
+ "required": false;
3791
+ "isSignal": true;
3792
+ };
3793
+ "allowDuplicates": {
3794
+ "alias": "allowDuplicates";
3795
+ "required": false;
3796
+ "isSignal": true;
3797
+ };
3798
+ "delimiter": {
3799
+ "alias": "delimiter";
3800
+ "required": false;
3801
+ "isSignal": true;
3802
+ };
3803
+ "addOnBlur": {
3804
+ "alias": "addOnBlur";
3805
+ "required": false;
3806
+ "isSignal": true;
3807
+ };
3808
+ "addOnPaste": {
3809
+ "alias": "addOnPaste";
3810
+ "required": false;
3811
+ "isSignal": true;
3812
+ };
3813
+ "editable": {
3814
+ "alias": "editable";
3815
+ "required": false;
3816
+ "isSignal": true;
3817
+ };
3818
+ "disabled": {
3819
+ "alias": "disabled";
3820
+ "required": false;
3821
+ "isSignal": true;
3822
+ };
3823
+ "readOnly": {
3824
+ "alias": "readOnly";
3825
+ "required": false;
3826
+ "isSignal": true;
3827
+ };
3828
+ "required": {
3829
+ "alias": "required";
3830
+ "required": false;
3831
+ "isSignal": true;
3832
+ };
3833
+ "name": {
3834
+ "alias": "name";
3835
+ "required": false;
3836
+ "isSignal": true;
3837
+ };
3838
+ "form": {
3839
+ "alias": "form";
3840
+ "required": false;
3841
+ "isSignal": true;
3842
+ };
3843
+ "kpId": {
3844
+ "alias": "kpId";
3845
+ "required": false;
3846
+ "isSignal": true;
3847
+ };
3848
+ }, {
3849
+ "value": "valueChange";
3850
+ "valueChanged": "valueChanged";
3851
+ "valueInvalid": "valueInvalid";
3852
+ }, never, never, true, never>;
3853
+ }
3854
+ /** What holds the tags: a list. */
3855
+ export declare class KpTagsInputList implements OnInit {
3856
+ private readonly init;
3857
+ ngOnInit(): void;
3858
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTagsInputList, never>;
3859
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTagsInputList, "[kpTagsInputList]", never, {}, {}, never, never, true, never>;
3860
+ }
3861
+ /** `<span *kpTagsInputItems="let entry">`: once for each tag, kept by the tag's key. */
3862
+ export declare class KpTagsInputItems implements OnInit {
3863
+ private readonly root;
3864
+ private readonly template;
3865
+ private readonly container;
3866
+ private readonly destroy;
3867
+ private readonly server;
3868
+ private readonly views;
3869
+ ngOnInit(): void;
3870
+ static ngTemplateContextGuard(_directive: KpTagsInputItems, _context: unknown): _context is {
3871
+ $implicit: TagsInputEntry$1;
3872
+ };
3873
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTagsInputItems, never>;
3874
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTagsInputItems, "[kpTagsInputItems]", never, {}, {}, never, never, true, never>;
3875
+ }
3876
+ /** A tag, on the element `*kpTagsInputItems` draws for it. */
3877
+ export declare class KpTagsInputItem implements OnInit {
3878
+ /** The tag it is, as `*kpTagsInputItems` gave it. */
3879
+ readonly entry: import("@angular/core").InputSignal<TagsInputEntry$1>;
3880
+ readonly root: KpTagsInput;
3881
+ private readonly put;
3882
+ ngOnInit(): void;
3883
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTagsInputItem, never>;
3884
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTagsInputItem, "[kpTagsInputItem]", never, {
3885
+ "entry": {
3886
+ "alias": "entry";
3887
+ "required": true;
3888
+ "isSignal": true;
3889
+ };
3890
+ }, {}, never, never, true, never>;
3891
+ }
3892
+ /** Says the tag's text unless the element has content of its own. Hidden while the tag is edited. */
3893
+ export declare class KpTagsInputItemText implements OnInit {
3894
+ private readonly item;
3895
+ private readonly element;
3896
+ private readonly put;
3897
+ private readonly server;
3898
+ ngOnInit(): void;
3899
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTagsInputItemText, never>;
3900
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTagsInputItemText, "[kpTagsInputItemText]", never, {}, {}, never, never, true, never>;
3901
+ }
3902
+ /** `<input kpTagsInputItemInput>`: where a tag is edited in place, hidden unless it is. */
3903
+ export declare class KpTagsInputItemInput implements OnInit {
3904
+ private readonly init;
3905
+ ngOnInit(): void;
3906
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTagsInputItemInput, never>;
3907
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTagsInputItemInput, "input[kpTagsInputItemInput]", never, {}, {}, never, never, true, never>;
3908
+ }
3909
+ /** A tag's button that takes it away. */
3910
+ export declare class KpTagsInputItemRemove implements OnInit {
3911
+ private readonly init;
3912
+ ngOnInit(): void;
3913
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTagsInputItemRemove, never>;
3914
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTagsInputItemRemove, "[kpTagsInputItemRemove]", never, {}, {}, never, never, true, never>;
3915
+ }
3916
+ /** `<input kpTagsInputInput>`: where a new tag is typed. */
3917
+ export declare class KpTagsInputInput implements OnInit {
3918
+ private readonly init;
3919
+ ngOnInit(): void;
3920
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTagsInputInput, never>;
3921
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTagsInputInput, "input[kpTagsInputInput]", never, {}, {}, never, never, true, never>;
3922
+ }
3923
+ /** Takes every tag away: hidden while there is none. */
3924
+ export declare class KpTagsInputClear implements OnInit {
3925
+ private readonly init;
3926
+ ngOnInit(): void;
3927
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTagsInputClear, never>;
3928
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTagsInputClear, "[kpTagsInputClear]", never, {}, {}, never, never, true, never>;
3929
+ }
3930
+ /** On the element that holds the file upload's parts. `[(files)]` is the files held, in order. */
3931
+ export declare class KpFileUpload implements OnInit {
3932
+ readonly files: import("@angular/core").ModelSignal<readonly File[] | undefined>;
3933
+ readonly defaultFiles: import("@angular/core").InputSignal<readonly File[] | undefined>;
3934
+ /**
3935
+ * What may be taken, as a file input's `accept`: extensions (`".png"`), types (`"image/png"`)
3936
+ * and kinds (`"image/*"`), in a list or one text with commas. Without it, anything.
3937
+ */
3938
+ readonly accept: import("@angular/core").InputSignal<string | readonly string[] | undefined>;
3939
+ /** Whether several files are held. Default `false`: a file taken is the one held. */
3940
+ readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3941
+ /** With `multiple`, how many files it holds at most. */
3942
+ readonly maxFiles: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
3943
+ /** The largest a file may be, in bytes. */
3944
+ readonly maxSize: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
3945
+ /** The smallest a file may be, in bytes. */
3946
+ readonly minSize: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
3947
+ /** Whether a file may be taken, asked after the checks above. */
3948
+ readonly validate: import("@angular/core").InputSignal<((file: File) => boolean) | undefined>;
3949
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3950
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3951
+ readonly name: import("@angular/core").InputSignal<string | undefined>;
3952
+ /** The id of the form the control belongs to, when it is not inside it. */
3953
+ readonly form: import("@angular/core").InputSignal<string | undefined>;
3954
+ readonly kpId: import("@angular/core").InputSignal<string | undefined>;
3955
+ /** The files about to change; `details.cancel()` keeps them as they were. */
3956
+ readonly filesChanged: import("@angular/core").OutputEmitterRef<{
3957
+ files: File[];
3958
+ details: ChangeDetails$1;
3959
+ }>;
3960
+ /** The files that were not taken, each with its reasons. */
3961
+ readonly filesRejected: import("@angular/core").OutputEmitterRef<FileRejection$1[]>;
3962
+ controller: FileUpload;
3963
+ private readonly field;
3964
+ private readonly generated;
3965
+ private readonly props;
3966
+ private readonly part;
3967
+ private readonly mount;
3968
+ ngOnChanges(changes: SimpleChanges): void;
3969
+ ngOnInit(): void;
3970
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpFileUpload, never>;
3971
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpFileUpload, "[kpFileUpload]", ["kpFileUpload"], {
3972
+ "files": {
3973
+ "alias": "files";
3974
+ "required": false;
3975
+ "isSignal": true;
3976
+ };
3977
+ "defaultFiles": {
3978
+ "alias": "defaultFiles";
3979
+ "required": false;
3980
+ "isSignal": true;
3981
+ };
3982
+ "accept": {
3983
+ "alias": "accept";
3984
+ "required": false;
3985
+ "isSignal": true;
3986
+ };
3987
+ "multiple": {
3988
+ "alias": "multiple";
3989
+ "required": false;
3990
+ "isSignal": true;
3991
+ };
3992
+ "maxFiles": {
3993
+ "alias": "maxFiles";
3994
+ "required": false;
3995
+ "isSignal": true;
3996
+ };
3997
+ "maxSize": {
3998
+ "alias": "maxSize";
3999
+ "required": false;
4000
+ "isSignal": true;
4001
+ };
4002
+ "minSize": {
4003
+ "alias": "minSize";
4004
+ "required": false;
4005
+ "isSignal": true;
4006
+ };
4007
+ "validate": {
4008
+ "alias": "validate";
4009
+ "required": false;
4010
+ "isSignal": true;
4011
+ };
4012
+ "disabled": {
4013
+ "alias": "disabled";
4014
+ "required": false;
4015
+ "isSignal": true;
4016
+ };
4017
+ "required": {
4018
+ "alias": "required";
4019
+ "required": false;
4020
+ "isSignal": true;
4021
+ };
4022
+ "name": {
4023
+ "alias": "name";
4024
+ "required": false;
4025
+ "isSignal": true;
4026
+ };
4027
+ "form": {
4028
+ "alias": "form";
4029
+ "required": false;
4030
+ "isSignal": true;
4031
+ };
4032
+ "kpId": {
4033
+ "alias": "kpId";
4034
+ "required": false;
4035
+ "isSignal": true;
4036
+ };
4037
+ }, {
4038
+ "files": "filesChange";
4039
+ "filesChanged": "filesChanged";
4040
+ "filesRejected": "filesRejected";
4041
+ }, never, never, true, never>;
4042
+ }
4043
+ /**
4044
+ * Where files are dropped, pasted, or pressed to be picked. It draws the native file input, hidden,
4045
+ * as its last child: what a form submits, and what the picker fills.
4046
+ */
4047
+ export declare class KpFileUploadDropzone implements OnInit {
4048
+ private readonly root;
4049
+ private readonly put;
4050
+ private readonly inner;
4051
+ ngOnInit(): void;
4052
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpFileUploadDropzone, never>;
4053
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpFileUploadDropzone, "[kpFileUploadDropzone]", never, {}, {}, never, never, true, never>;
4054
+ }
4055
+ /** A button that opens the file picker. */
4056
+ export declare class KpFileUploadTrigger implements OnInit {
4057
+ private readonly init;
4058
+ ngOnInit(): void;
4059
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpFileUploadTrigger, never>;
4060
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpFileUploadTrigger, "[kpFileUploadTrigger]", never, {}, {}, never, never, true, never>;
4061
+ }
4062
+ /** What holds the files: a list. */
4063
+ export declare class KpFileUploadList implements OnInit {
4064
+ private readonly init;
4065
+ ngOnInit(): void;
4066
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpFileUploadList, never>;
4067
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpFileUploadList, "[kpFileUploadList]", never, {}, {}, never, never, true, never>;
4068
+ }
4069
+ /** `<li *kpFileUploadItems="let entry">`: once for each file, kept by the file's key. */
4070
+ export declare class KpFileUploadItems implements OnInit {
4071
+ private readonly root;
4072
+ private readonly template;
4073
+ private readonly container;
4074
+ private readonly destroy;
4075
+ private readonly server;
4076
+ private readonly views;
4077
+ ngOnInit(): void;
4078
+ static ngTemplateContextGuard(_directive: KpFileUploadItems, _context: unknown): _context is {
4079
+ $implicit: FileUploadEntry$1;
4080
+ };
4081
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpFileUploadItems, never>;
4082
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpFileUploadItems, "[kpFileUploadItems]", never, {}, {}, never, never, true, never>;
4083
+ }
4084
+ /** A file, on the element `*kpFileUploadItems` draws for it. */
4085
+ export declare class KpFileUploadItem implements OnInit {
4086
+ /** The file it is, as `*kpFileUploadItems` gave it. */
4087
+ readonly entry: import("@angular/core").InputSignal<FileUploadEntry$1>;
4088
+ readonly root: KpFileUpload;
4089
+ private readonly put;
4090
+ ngOnInit(): void;
4091
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpFileUploadItem, never>;
4092
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpFileUploadItem, "[kpFileUploadItem]", never, {
4093
+ "entry": {
4094
+ "alias": "entry";
4095
+ "required": true;
4096
+ "isSignal": true;
4097
+ };
4098
+ }, {}, never, never, true, never>;
4099
+ }
4100
+ /** Says the file's name unless the element has content of its own. */
4101
+ export declare class KpFileUploadItemName implements OnInit {
4102
+ private readonly init;
4103
+ ngOnInit(): void;
4104
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpFileUploadItemName, never>;
4105
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpFileUploadItemName, "[kpFileUploadItemName]", never, {}, {}, never, never, true, never>;
4106
+ }
4107
+ /** Says the file's size as people read one unless the element has content of its own. */
4108
+ export declare class KpFileUploadItemSize implements OnInit {
4109
+ /** The language the number is written in. Default: the reader's. */
4110
+ readonly locale: import("@angular/core").InputSignal<string | undefined>;
4111
+ private readonly init;
4112
+ ngOnInit(): void;
4113
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpFileUploadItemSize, never>;
4114
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpFileUploadItemSize, "[kpFileUploadItemSize]", never, {
4115
+ "locale": {
4116
+ "alias": "locale";
4117
+ "required": false;
4118
+ "isSignal": true;
4119
+ };
4120
+ }, {}, never, never, true, never>;
4121
+ }
4122
+ /** A file's button that takes it away. */
4123
+ export declare class KpFileUploadItemRemove implements OnInit {
4124
+ private readonly item;
4125
+ private readonly put;
4126
+ ngOnInit(): void;
4127
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpFileUploadItemRemove, never>;
4128
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpFileUploadItemRemove, "[kpFileUploadItemRemove]", never, {}, {}, never, never, true, never>;
4129
+ }
4130
+ /** Takes every file away: hidden while there is none. */
4131
+ export declare class KpFileUploadClear implements OnInit {
4132
+ private readonly init;
4133
+ ngOnInit(): void;
4134
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpFileUploadClear, never>;
4135
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpFileUploadClear, "[kpFileUploadClear]", never, {}, {}, never, never, true, never>;
4136
+ }
4137
+ export declare class KpTimeField implements OnInit {
4138
+ /** The time typed, once all of it is: `[(value)]`. */
4139
+ readonly value: import("@angular/core").ModelSignal<string | null | undefined>;
4140
+ readonly defaultValue: import("@angular/core").InputSignal<string | null | undefined>;
4141
+ /** To the minute (`HH:MM`, the default) or to the second (`HH:MM:SS`). */
4142
+ readonly granularity: import("@angular/core").InputSignal<TimeGranularity$1 | undefined>;
4143
+ /** A clock of 12 or 24 hours, whatever the locale's is. */
4144
+ readonly hourCycle: import("@angular/core").InputSignal<HourCycle$1 | undefined>;
4145
+ /** The language and region that order the parts and say how many hours the clock has. */
4146
+ readonly locale: import("@angular/core").InputSignal<string | undefined>;
4147
+ readonly min: import("@angular/core").InputSignal<string | undefined>;
4148
+ readonly max: import("@angular/core").InputSignal<string | undefined>;
4149
+ readonly placeholders: import("@angular/core").InputSignal<Partial<Record<import("@kirana-ui/angular").TimeUnit, string>> | undefined>;
4150
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4151
+ readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4152
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4153
+ readonly name: import("@angular/core").InputSignal<string | undefined>;
4154
+ /** The id of the form it belongs to, when it is not inside it. */
4155
+ readonly form: import("@angular/core").InputSignal<string | undefined>;
4156
+ readonly kpId: import("@angular/core").InputSignal<string | undefined>;
4157
+ readonly valueChanged: import("@angular/core").OutputEmitterRef<{
4158
+ value: string | null;
4159
+ details: ChangeDetails$1;
4160
+ }>;
4161
+ controller: TimeField;
4162
+ private readonly around;
4163
+ private readonly field;
4164
+ private readonly generated;
4165
+ private readonly put;
4166
+ private readonly mount;
4167
+ private readonly props;
4168
+ ngOnChanges(changes: SimpleChanges): void;
4169
+ ngOnInit(): void;
4170
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTimeField, never>;
4171
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTimeField, "[kpTimeField]", ["kpTimeField"], {
4172
+ "value": {
4173
+ "alias": "value";
4174
+ "required": false;
4175
+ "isSignal": true;
4176
+ };
4177
+ "defaultValue": {
4178
+ "alias": "defaultValue";
4179
+ "required": false;
4180
+ "isSignal": true;
4181
+ };
4182
+ "granularity": {
4183
+ "alias": "granularity";
4184
+ "required": false;
4185
+ "isSignal": true;
4186
+ };
4187
+ "hourCycle": {
4188
+ "alias": "hourCycle";
4189
+ "required": false;
4190
+ "isSignal": true;
4191
+ };
4192
+ "locale": {
4193
+ "alias": "locale";
4194
+ "required": false;
4195
+ "isSignal": true;
4196
+ };
4197
+ "min": {
4198
+ "alias": "min";
4199
+ "required": false;
4200
+ "isSignal": true;
4201
+ };
4202
+ "max": {
4203
+ "alias": "max";
4204
+ "required": false;
4205
+ "isSignal": true;
4206
+ };
4207
+ "placeholders": {
4208
+ "alias": "placeholders";
4209
+ "required": false;
4210
+ "isSignal": true;
4211
+ };
4212
+ "disabled": {
4213
+ "alias": "disabled";
4214
+ "required": false;
4215
+ "isSignal": true;
4216
+ };
4217
+ "readOnly": {
4218
+ "alias": "readOnly";
4219
+ "required": false;
4220
+ "isSignal": true;
4221
+ };
4222
+ "required": {
4223
+ "alias": "required";
4224
+ "required": false;
4225
+ "isSignal": true;
4226
+ };
4227
+ "name": {
4228
+ "alias": "name";
4229
+ "required": false;
4230
+ "isSignal": true;
4231
+ };
4232
+ "form": {
4233
+ "alias": "form";
4234
+ "required": false;
4235
+ "isSignal": true;
4236
+ };
4237
+ "kpId": {
4238
+ "alias": "kpId";
4239
+ "required": false;
4240
+ "isSignal": true;
4241
+ };
4242
+ }, {
4243
+ "value": "valueChange";
4244
+ "valueChanged": "valueChanged";
4245
+ }, never, never, true, never>;
4246
+ }
4247
+ /** `<span *kpTimeFieldSegments="let segment">`: once for each piece of the time. */
4248
+ export declare class KpTimeFieldSegments implements OnInit {
4249
+ private readonly root;
4250
+ private readonly template;
4251
+ private readonly container;
4252
+ private readonly destroy;
4253
+ private readonly server;
4254
+ private views;
4255
+ ngOnInit(): void;
4256
+ static ngTemplateContextGuard(_directive: KpTimeFieldSegments, _context: unknown): _context is {
4257
+ $implicit: TimeFieldSegment$1;
4258
+ };
4259
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTimeFieldSegments, never>;
4260
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTimeFieldSegments, "[kpTimeFieldSegments]", never, {}, {}, never, never, true, never>;
4261
+ }
4262
+ /** One piece: a part that is typed, or what stands between two. It writes its own text. */
4263
+ export declare class KpTimeFieldSegment implements OnInit {
4264
+ readonly segment: import("@angular/core").InputSignal<TimeFieldSegment$1>;
4265
+ private readonly root;
4266
+ private readonly element;
4267
+ private readonly destroy;
4268
+ private readonly put;
4269
+ private readonly server;
4270
+ ngOnInit(): void;
4271
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTimeFieldSegment, never>;
4272
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTimeFieldSegment, "[kpTimeFieldSegment]", never, {
4273
+ "segment": {
4274
+ "alias": "segment";
4275
+ "required": true;
4276
+ "isSignal": true;
4277
+ };
4278
+ }, {}, never, never, true, never>;
4279
+ }
4280
+ /** `<input kpTimeFieldInput>`: the hidden input it is submitted by. */
4281
+ export declare class KpTimeFieldInput implements OnInit {
4282
+ private readonly root;
4283
+ private readonly put;
4284
+ ngOnInit(): void;
4285
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpTimeFieldInput, never>;
4286
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpTimeFieldInput, "input[kpTimeFieldInput]", never, {}, {}, never, never, true, never>;
4287
+ }
4288
+ /** On the element that holds the steps. `[(step)]` is the step shown, from 0; equal to `count`, every step is done. */
4289
+ export declare class KpSteps implements OnInit {
4290
+ readonly step: import("@angular/core").ModelSignal<number | undefined>;
4291
+ readonly defaultStep: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
4292
+ /**
4293
+ * How many steps there are. Left out, the items in the page, once they are there; until then
4294
+ * (and on a server) none is the last.
4295
+ */
4296
+ readonly count: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
4297
+ /** In order only: a step that is not done yet cannot be gone to by its trigger. */
4298
+ readonly linear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4299
+ readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
4300
+ readonly kpId: import("@angular/core").InputSignal<string | undefined>;
4301
+ /** The change with why it happened; `details.cancel()` keeps the step. */
4302
+ readonly stepChanged: import("@angular/core").OutputEmitterRef<{
4303
+ step: number;
4304
+ details: ChangeDetails$1;
4305
+ }>;
4306
+ controller: Steps;
4307
+ private readonly around;
4308
+ private readonly generated;
4309
+ private readonly props;
4310
+ private readonly part;
4311
+ private readonly mount;
4312
+ ngOnChanges(changes: SimpleChanges): void;
4313
+ ngOnInit(): void;
4314
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpSteps, never>;
4315
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpSteps, "[kpSteps]", ["kpSteps"], {
4316
+ "step": {
4317
+ "alias": "step";
4318
+ "required": false;
4319
+ "isSignal": true;
4320
+ };
4321
+ "defaultStep": {
4322
+ "alias": "defaultStep";
4323
+ "required": false;
4324
+ "isSignal": true;
4325
+ };
4326
+ "count": {
4327
+ "alias": "count";
4328
+ "required": false;
4329
+ "isSignal": true;
4330
+ };
4331
+ "linear": {
4332
+ "alias": "linear";
4333
+ "required": false;
4334
+ "isSignal": true;
4335
+ };
4336
+ "orientation": {
4337
+ "alias": "orientation";
4338
+ "required": false;
4339
+ "isSignal": true;
4340
+ };
4341
+ "kpId": {
4342
+ "alias": "kpId";
4343
+ "required": false;
4344
+ "isSignal": true;
4345
+ };
4346
+ }, {
4347
+ "step": "stepChange";
4348
+ "stepChanged": "stepChanged";
4349
+ }, never, never, true, never>;
4350
+ }
4351
+ /** The row of steps. */
4352
+ export declare class KpStepsList implements OnInit {
4353
+ private readonly init;
4354
+ ngOnInit(): void;
4355
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpStepsList, never>;
4356
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpStepsList, "[kpStepsList]", never, {}, {}, never, never, true, never>;
4357
+ }
4358
+ /** One step of the row, around its trigger and its separator. */
4359
+ export declare class KpStepsItem implements OnInit {
4360
+ /**
4361
+ * Which step it is, from 0. Left out, its place among the items in the page, once it is
4362
+ * there: give it on a page a server draws, which cannot count them.
4363
+ */
4364
+ readonly index: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
4365
+ readonly root: KpSteps;
4366
+ item: StepsItem;
4367
+ private readonly put;
4368
+ ngOnInit(): void;
4369
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpStepsItem, never>;
4370
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpStepsItem, "[kpStepsItem]", never, {
4371
+ "index": {
4372
+ "alias": "index";
4373
+ "required": false;
4374
+ "isSignal": true;
4375
+ };
4376
+ }, {}, never, never, true, never>;
4377
+ }
4378
+ /** What names a step and goes to it. */
4379
+ export declare class KpStepsTrigger implements OnInit {
4380
+ private readonly init;
4381
+ ngOnInit(): void;
4382
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpStepsTrigger, never>;
4383
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpStepsTrigger, "[kpStepsTrigger]", never, {}, {}, never, never, true, never>;
4384
+ }
4385
+ /** A step's mark: its number, or a tick once it is done. */
4386
+ export declare class KpStepsIndicator implements OnInit {
4387
+ private readonly init;
4388
+ ngOnInit(): void;
4389
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpStepsIndicator, never>;
4390
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpStepsIndicator, "[kpStepsIndicator]", never, {}, {}, never, never, true, never>;
4391
+ }
4392
+ /** The line from a step to the next. */
4393
+ export declare class KpStepsSeparator implements OnInit {
4394
+ private readonly init;
4395
+ ngOnInit(): void;
4396
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpStepsSeparator, never>;
4397
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpStepsSeparator, "[kpStepsSeparator]", never, {}, {}, never, never, true, never>;
4398
+ }
4399
+ /** What a step shows: in the page always, hidden unless its step is the one shown. */
4400
+ export declare class KpStepsContent implements OnInit {
4401
+ /** The step it is shown for, from 0. */
4402
+ readonly index: import("@angular/core").InputSignalWithTransform<number, unknown>;
4403
+ private readonly root;
4404
+ private readonly put;
4405
+ ngOnInit(): void;
4406
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpStepsContent, never>;
4407
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpStepsContent, "[kpStepsContent]", never, {
4408
+ "index": {
4409
+ "alias": "index";
4410
+ "required": true;
4411
+ "isSignal": true;
4412
+ };
4413
+ }, {}, never, never, true, never>;
4414
+ }
4415
+ /** What is shown once every step is done. */
4416
+ export declare class KpStepsCompleted implements OnInit {
4417
+ private readonly init;
4418
+ ngOnInit(): void;
4419
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpStepsCompleted, never>;
4420
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpStepsCompleted, "[kpStepsCompleted]", never, {}, {}, never, never, true, never>;
4421
+ }
4422
+ export declare class KpStepsPrevious implements OnInit {
4423
+ private readonly init;
4424
+ ngOnInit(): void;
4425
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpStepsPrevious, never>;
4426
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpStepsPrevious, "[kpStepsPrevious]", never, {}, {}, never, never, true, never>;
4427
+ }
4428
+ export declare class KpStepsNext implements OnInit {
4429
+ private readonly init;
4430
+ ngOnInit(): void;
4431
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpStepsNext, never>;
4432
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpStepsNext, "[kpStepsNext]", never, {}, {}, never, never, true, never>;
4433
+ }
4434
+ /**
4435
+ * On the element that holds the editable's parts. `[(value)]` is the text, `[(editing)]` whether
4436
+ * it is being edited. With a name, its input is what a form reads.
4437
+ */
4438
+ export declare class KpEditable implements OnInit {
4439
+ readonly value: import("@angular/core").ModelSignal<string | undefined>;
4440
+ readonly defaultValue: import("@angular/core").InputSignal<string | undefined>;
4441
+ readonly editing: import("@angular/core").ModelSignal<boolean | undefined>;
4442
+ readonly defaultEditing: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4443
+ /** What the preview shows while the text is empty. */
4444
+ readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
4445
+ /** What on the preview starts an edit. Default `"focus"`. */
4446
+ readonly activation: import("@angular/core").InputSignal<"none" | "focus" | "click" | "dblclick" | undefined>;
4447
+ /** Whether focus leaving the input keeps the edit (the default) or drops it. */
4448
+ readonly submitOnBlur: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
4449
+ /** Whether the text is selected as editing starts. Default `true`. */
4450
+ readonly selectOnFocus: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
4451
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4452
+ readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4453
+ /** Needed: in a field, leaving it empty is then invalid. */
4454
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4455
+ /** The name it is submitted under; in a field, the field's by default. */
4456
+ readonly name: import("@angular/core").InputSignal<string | undefined>;
4457
+ /** The id of the form the input belongs to, when it is not inside it. */
4458
+ readonly form: import("@angular/core").InputSignal<string | undefined>;
4459
+ /** The input's id, which a `<label for>` names. Inside a field, the field's id unless the input has one of its own. */
4460
+ readonly kpId: import("@angular/core").InputSignal<string | undefined>;
4461
+ /** An edit about to be kept; `details.cancel()` keeps the text, and the edit open. */
4462
+ readonly valueChanged: import("@angular/core").OutputEmitterRef<{
4463
+ value: string;
2620
4464
  details: ChangeDetails$1;
2621
4465
  }>;
2622
- controller: Pagination;
4466
+ /** Editing about to start or end; `details.cancel()` keeps it as it was. */
4467
+ readonly editingChanged: import("@angular/core").OutputEmitterRef<{
4468
+ editing: boolean;
4469
+ details: ChangeDetails$1;
4470
+ }>;
4471
+ controller: Editable;
4472
+ private readonly field;
2623
4473
  private readonly generated;
2624
4474
  private readonly props;
2625
4475
  private readonly part;
2626
4476
  private readonly mount;
2627
4477
  ngOnChanges(changes: SimpleChanges): void;
2628
4478
  ngOnInit(): void;
2629
- static ɵfac: i0.ɵɵFactoryDeclaration<KpPagination, never>;
2630
- static ɵdir: i0.ɵɵDirectiveDeclaration<KpPagination, "[kpPagination]", ["kpPagination"], {
2631
- "page": {
2632
- "alias": "page";
4479
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpEditable, never>;
4480
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpEditable, "[kpEditable]", ["kpEditable"], {
4481
+ "value": {
4482
+ "alias": "value";
2633
4483
  "required": false;
2634
4484
  "isSignal": true;
2635
4485
  };
2636
- "defaultPage": {
2637
- "alias": "defaultPage";
4486
+ "defaultValue": {
4487
+ "alias": "defaultValue";
2638
4488
  "required": false;
2639
4489
  "isSignal": true;
2640
4490
  };
2641
- "count": {
2642
- "alias": "count";
2643
- "required": true;
4491
+ "editing": {
4492
+ "alias": "editing";
4493
+ "required": false;
2644
4494
  "isSignal": true;
2645
4495
  };
2646
- "pageSize": {
2647
- "alias": "pageSize";
4496
+ "defaultEditing": {
4497
+ "alias": "defaultEditing";
2648
4498
  "required": false;
2649
4499
  "isSignal": true;
2650
4500
  };
2651
- "siblingCount": {
2652
- "alias": "siblingCount";
4501
+ "placeholder": {
4502
+ "alias": "placeholder";
2653
4503
  "required": false;
2654
4504
  "isSignal": true;
2655
4505
  };
2656
- "boundaryCount": {
2657
- "alias": "boundaryCount";
4506
+ "activation": {
4507
+ "alias": "activation";
4508
+ "required": false;
4509
+ "isSignal": true;
4510
+ };
4511
+ "submitOnBlur": {
4512
+ "alias": "submitOnBlur";
4513
+ "required": false;
4514
+ "isSignal": true;
4515
+ };
4516
+ "selectOnFocus": {
4517
+ "alias": "selectOnFocus";
2658
4518
  "required": false;
2659
4519
  "isSignal": true;
2660
4520
  };
@@ -2663,78 +4523,162 @@ export declare class KpPagination implements OnInit {
2663
4523
  "required": false;
2664
4524
  "isSignal": true;
2665
4525
  };
4526
+ "readOnly": {
4527
+ "alias": "readOnly";
4528
+ "required": false;
4529
+ "isSignal": true;
4530
+ };
4531
+ "required": {
4532
+ "alias": "required";
4533
+ "required": false;
4534
+ "isSignal": true;
4535
+ };
4536
+ "name": {
4537
+ "alias": "name";
4538
+ "required": false;
4539
+ "isSignal": true;
4540
+ };
4541
+ "form": {
4542
+ "alias": "form";
4543
+ "required": false;
4544
+ "isSignal": true;
4545
+ };
2666
4546
  "kpId": {
2667
4547
  "alias": "kpId";
2668
4548
  "required": false;
2669
4549
  "isSignal": true;
2670
4550
  };
2671
4551
  }, {
2672
- "page": "pageChange";
2673
- "pageChanged": "pageChanged";
4552
+ "value": "valueChange";
4553
+ "editing": "editingChange";
4554
+ "valueChanged": "valueChanged";
4555
+ "editingChanged": "editingChanged";
2674
4556
  }, never, never, true, never>;
2675
4557
  }
2676
- /**
2677
- * `<ng-container *kpPaginationItems="let entry">`: once for each piece of the row, a page or
2678
- * the mark for pages left out.
2679
- */
2680
- export declare class KpPaginationItems implements OnInit {
4558
+ /** Says the text, or the placeholder while there is none, unless the element has content of its own. */
4559
+ export declare class KpEditablePreview implements OnInit {
2681
4560
  private readonly root;
2682
- private readonly template;
2683
- private readonly container;
4561
+ private readonly element;
2684
4562
  private readonly destroy;
4563
+ private readonly part;
2685
4564
  private readonly server;
2686
- private readonly views;
2687
4565
  ngOnInit(): void;
2688
- static ngTemplateContextGuard(_directive: KpPaginationItems, _context: unknown): _context is {
2689
- $implicit: PaginationEntry$1;
2690
- };
2691
- static ɵfac: i0.ɵɵFactoryDeclaration<KpPaginationItems, never>;
2692
- static ɵdir: i0.ɵɵDirectiveDeclaration<KpPaginationItems, "[kpPaginationItems]", never, {}, {}, never, never, true, never>;
4566
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpEditablePreview, never>;
4567
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpEditablePreview, "[kpEditablePreview]", never, {}, {}, never, never, true, never>;
2693
4568
  }
2694
- export declare class KpPaginationItem implements OnInit {
2695
- readonly page: import("@angular/core").InputSignalWithTransform<number, unknown>;
4569
+ /** `<input kpEditableInput>` or `<textarea kpEditableInput>`: in the page always, hidden unless editing. */
4570
+ export declare class KpEditableInput implements OnInit {
2696
4571
  private readonly root;
2697
4572
  private readonly put;
2698
4573
  ngOnInit(): void;
2699
- static ɵfac: i0.ɵɵFactoryDeclaration<KpPaginationItem, never>;
2700
- static ɵdir: i0.ɵɵDirectiveDeclaration<KpPaginationItem, "[kpPaginationItem]", never, {
2701
- "page": {
2702
- "alias": "page";
2703
- "required": true;
4574
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpEditableInput, never>;
4575
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpEditableInput, "[kpEditableInput]", never, {}, {}, never, never, true, never>;
4576
+ }
4577
+ export declare class KpEditableEditTrigger implements OnInit {
4578
+ private readonly init;
4579
+ ngOnInit(): void;
4580
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpEditableEditTrigger, never>;
4581
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpEditableEditTrigger, "[kpEditableEditTrigger]", never, {}, {}, never, never, true, never>;
4582
+ }
4583
+ export declare class KpEditableSubmitTrigger implements OnInit {
4584
+ private readonly init;
4585
+ ngOnInit(): void;
4586
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpEditableSubmitTrigger, never>;
4587
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpEditableSubmitTrigger, "[kpEditableSubmitTrigger]", never, {}, {}, never, never, true, never>;
4588
+ }
4589
+ export declare class KpEditableCancelTrigger implements OnInit {
4590
+ private readonly init;
4591
+ ngOnInit(): void;
4592
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpEditableCancelTrigger, never>;
4593
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpEditableCancelTrigger, "[kpEditableCancelTrigger]", never, {}, {}, never, never, true, never>;
4594
+ }
4595
+ /**
4596
+ * On the element that holds the password's parts. `[(visible)]` is whether the password can be
4597
+ * read. Its value is the input's own (`[value]`, `ngModel`).
4598
+ */
4599
+ export declare class KpPasswordInput implements OnInit {
4600
+ readonly visible: import("@angular/core").ModelSignal<boolean | undefined>;
4601
+ readonly defaultVisible: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4602
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4603
+ /** About to be shown or hidden; `details.cancel()` keeps it as it was. */
4604
+ readonly visibleChanged: import("@angular/core").OutputEmitterRef<{
4605
+ visible: boolean;
4606
+ details: ChangeDetails$1;
4607
+ }>;
4608
+ /** What was typed, as text, each time it changes. */
4609
+ readonly valueChanged: import("@angular/core").OutputEmitterRef<{
4610
+ value: string;
4611
+ details: ChangeDetails$1;
4612
+ }>;
4613
+ controller: PasswordInput;
4614
+ private readonly field;
4615
+ private readonly props;
4616
+ private readonly part;
4617
+ private readonly mount;
4618
+ ngOnChanges(changes: SimpleChanges): void;
4619
+ ngOnInit(): void;
4620
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpPasswordInput, never>;
4621
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpPasswordInput, "[kpPasswordInput]", ["kpPasswordInput"], {
4622
+ "visible": {
4623
+ "alias": "visible";
4624
+ "required": false;
2704
4625
  "isSignal": true;
2705
4626
  };
2706
- }, {}, never, never, true, never>;
4627
+ "defaultVisible": {
4628
+ "alias": "defaultVisible";
4629
+ "required": false;
4630
+ "isSignal": true;
4631
+ };
4632
+ "disabled": {
4633
+ "alias": "disabled";
4634
+ "required": false;
4635
+ "isSignal": true;
4636
+ };
4637
+ }, {
4638
+ "visible": "visibleChange";
4639
+ "visibleChanged": "visibleChanged";
4640
+ "valueChanged": "valueChanged";
4641
+ }, never, never, true, never>;
2707
4642
  }
2708
- /** The mark for pages left out of the row. */
2709
- export declare class KpPaginationEllipsis implements OnInit {
4643
+ /** `<input kpPasswordInputInput>`: a password, or text while it is shown. */
4644
+ export declare class KpPasswordInputInput implements OnInit {
2710
4645
  private readonly init;
2711
4646
  ngOnInit(): void;
2712
- static ɵfac: i0.ɵɵFactoryDeclaration<KpPaginationEllipsis, never>;
2713
- static ɵdir: i0.ɵɵDirectiveDeclaration<KpPaginationEllipsis, "[kpPaginationEllipsis]", never, {}, {}, never, never, true, never>;
4647
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpPasswordInputInput, never>;
4648
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpPasswordInputInput, "[kpPasswordInputInput]", never, {}, {}, never, never, true, never>;
2714
4649
  }
2715
- export declare class KpPaginationPrevious implements OnInit {
4650
+ /** Shows the password, and hides it again. */
4651
+ export declare class KpPasswordInputToggle implements OnInit {
2716
4652
  private readonly init;
2717
4653
  ngOnInit(): void;
2718
- static ɵfac: i0.ɵɵFactoryDeclaration<KpPaginationPrevious, never>;
2719
- static ɵdir: i0.ɵɵDirectiveDeclaration<KpPaginationPrevious, "[kpPaginationPrevious]", never, {}, {}, never, never, true, never>;
4654
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpPasswordInputToggle, never>;
4655
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpPasswordInputToggle, "[kpPasswordInputToggle]", never, {}, {}, never, never, true, never>;
2720
4656
  }
2721
- export declare class KpPaginationNext implements OnInit {
4657
+ /** What draws which of the two it is: it says the state only. */
4658
+ export declare class KpPasswordInputIndicator implements OnInit {
2722
4659
  private readonly init;
2723
4660
  ngOnInit(): void;
2724
- static ɵfac: i0.ɵɵFactoryDeclaration<KpPaginationNext, never>;
2725
- static ɵdir: i0.ɵɵDirectiveDeclaration<KpPaginationNext, "[kpPaginationNext]", never, {}, {}, never, never, true, never>;
4661
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpPasswordInputIndicator, never>;
4662
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpPasswordInputIndicator, "[kpPasswordInputIndicator]", never, {}, {}, never, never, true, never>;
2726
4663
  }
2727
4664
  /**
2728
4665
  * A date field, and a calendar in a popover, with one value between them. On any element, or
2729
4666
  * on `<ng-container>` to draw none. Inside it the date field's, the popover's and the
2730
4667
  * calendar's own directives are its parts (`kpDateFieldSegments`, `kpPopoverTrigger`,
2731
4668
  * `kpCalendarGrid` …), with `kpDatePickerField` and `kpDatePickerCalendar` for the two
2732
- * elements that hold them. `[(value)]` is the day, `[(open)]` whether the calendar shows,
2733
- * `[(month)]` the first day of the month it shows.
4669
+ * elements that hold them, and `kpDatePickerClear` and `kpDatePickerPreset` buttons.
4670
+ * `[(value)]` is the day (with `mode="range"` the range), `[(open)]` whether the calendar
4671
+ * shows, `[(month)]` the first day of the month it shows.
2734
4672
  */
2735
- export declare class KpDatePicker implements OnInit {
2736
- readonly value: import("@angular/core").ModelSignal<string | null | undefined>;
2737
- readonly defaultValue: import("@angular/core").InputSignal<string | null | undefined>;
4673
+ export declare class KpDatePicker<Mode extends DatePickerMode$1 = DatePickerMode$1> implements OnInit {
4674
+ /** The day; with `mode="range"` a first and a last: `[(value)]`. Typed by `mode`. */
4675
+ readonly value: import("@angular/core").ModelSignal<DatePickerValueOf$1<Mode> | undefined>;
4676
+ readonly defaultValue: import("@angular/core").InputSignal<NoInfer<DatePickerValueOf$1<Mode>> | undefined>;
4677
+ /**
4678
+ * One day (the default), or a first and a last (`"range"`): two `kpDatePickerField`s,
4679
+ * `range="start"` and `range="end"`. Read once.
4680
+ */
4681
+ readonly mode: import("@angular/core").InputSignal<Mode | undefined>;
2738
4682
  readonly open: import("@angular/core").ModelSignal<boolean | undefined>;
2739
4683
  readonly defaultOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
2740
4684
  readonly locale: import("@angular/core").InputSignal<string | undefined>;
@@ -2760,7 +4704,7 @@ export declare class KpDatePicker implements OnInit {
2760
4704
  readonly form: import("@angular/core").InputSignal<string | undefined>;
2761
4705
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
2762
4706
  readonly valueChanged: import("@angular/core").OutputEmitterRef<{
2763
- value: string | null;
4707
+ value: DatePickerValueOf$1<Mode>;
2764
4708
  details: ChangeDetails$1;
2765
4709
  }>;
2766
4710
  readonly openChanged: import("@angular/core").OutputEmitterRef<{
@@ -2779,8 +4723,8 @@ export declare class KpDatePicker implements OnInit {
2779
4723
  private readonly props;
2780
4724
  ngOnChanges(changes: SimpleChanges): void;
2781
4725
  ngOnInit(): void;
2782
- static ɵfac: i0.ɵɵFactoryDeclaration<KpDatePicker, never>;
2783
- static ɵdir: i0.ɵɵDirectiveDeclaration<KpDatePicker, "[kpDatePicker]", ["kpDatePicker"], {
4726
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpDatePicker<any>, never>;
4727
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpDatePicker<any>, "[kpDatePicker]", ["kpDatePicker"], {
2784
4728
  "value": {
2785
4729
  "alias": "value";
2786
4730
  "required": false;
@@ -2791,6 +4735,11 @@ export declare class KpDatePicker implements OnInit {
2791
4735
  "required": false;
2792
4736
  "isSignal": true;
2793
4737
  };
4738
+ "mode": {
4739
+ "alias": "mode";
4740
+ "required": false;
4741
+ "isSignal": true;
4742
+ };
2794
4743
  "open": {
2795
4744
  "alias": "open";
2796
4745
  "required": false;
@@ -2895,13 +4844,54 @@ export declare class KpDatePicker implements OnInit {
2895
4844
  "monthChanged": "monthChanged";
2896
4845
  }, never, never, true, never>;
2897
4846
  }
2898
- /** The typed date: what holds its segments and its hidden input. */
4847
+ /**
4848
+ * The typed date: what holds its segments and its hidden input. With `mode="range"` there are
4849
+ * two, `range="start"` and `range="end"`, each giving the date field's directives inside it
4850
+ * their field.
4851
+ */
2899
4852
  export declare class KpDatePickerField implements OnInit {
4853
+ /**
4854
+ * With `mode="range"`: which day of the range it is typed in, the first (`"start"`, the
4855
+ * default) or the last (`"end"`).
4856
+ */
4857
+ readonly range: import("@angular/core").InputSignal<"start" | "end" | undefined>;
2900
4858
  private readonly root;
2901
4859
  private readonly put;
4860
+ /** The field it is: its end's, in a range. */
4861
+ get field(): import("@kirana-ui/core/date-field").DateField;
2902
4862
  ngOnInit(): void;
2903
4863
  static ɵfac: i0.ɵɵFactoryDeclaration<KpDatePickerField, never>;
2904
- static ɵdir: i0.ɵɵDirectiveDeclaration<KpDatePickerField, "[kpDatePickerField]", never, {}, {}, never, never, true, never>;
4864
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpDatePickerField, "[kpDatePickerField]", never, {
4865
+ "range": {
4866
+ "alias": "range";
4867
+ "required": false;
4868
+ "isSignal": true;
4869
+ };
4870
+ }, {}, never, never, true, never>;
4871
+ }
4872
+ /** Empties the value, and gives focus to the field. Disabled while there is none. */
4873
+ export declare class KpDatePickerClear implements OnInit {
4874
+ private readonly root;
4875
+ private readonly put;
4876
+ ngOnInit(): void;
4877
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpDatePickerClear, never>;
4878
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpDatePickerClear, "[kpDatePickerClear]", never, {}, {}, never, never, true, never>;
4879
+ }
4880
+ /** `<button kpDatePickerPreset [value]="…">`: makes the value the one it is given, pressed while it is. */
4881
+ export declare class KpDatePickerPreset implements OnInit {
4882
+ /** The value its press gives: a day, or with `mode="range"` a range. */
4883
+ readonly value: import("@angular/core").InputSignal<string | DatePickerRange$1>;
4884
+ private readonly root;
4885
+ private readonly put;
4886
+ ngOnInit(): void;
4887
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpDatePickerPreset, never>;
4888
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpDatePickerPreset, "[kpDatePickerPreset]", never, {
4889
+ "value": {
4890
+ "alias": "value";
4891
+ "required": true;
4892
+ "isSignal": true;
4893
+ };
4894
+ }, {}, never, never, true, never>;
2905
4895
  }
2906
4896
  /** The calendar: what holds its heading, its buttons and its grid. */
2907
4897
  export declare class KpDatePickerCalendar implements OnInit {
@@ -2933,6 +4923,7 @@ export declare class KpNumberField implements OnInit {
2933
4923
  readonly name: import("@angular/core").InputSignal<string | undefined>;
2934
4924
  /** The id of the form the control belongs to, when it is not inside it. */
2935
4925
  readonly form: import("@angular/core").InputSignal<string | undefined>;
4926
+ /** What its input's id is made from: the input is `<id>-input`, which a `<label for>` names. Inside a `Field`, the input takes the field's id instead. */
2936
4927
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
2937
4928
  readonly valueChanged: import("@angular/core").OutputEmitterRef<{
2938
4929
  value: number | null;
@@ -3244,8 +5235,8 @@ export declare class KpCommandGroupHeading implements OnInit {
3244
5235
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpCommandGroupHeading, "[kpCommandGroupHeading]", never, {}, {}, never, never, true, never>;
3245
5236
  }
3246
5237
  export declare class KpCommandItem implements OnInit {
3247
- /** What `itemSelected` is told. */
3248
- readonly value: import("@angular/core").InputSignal<string>;
5238
+ /** What `itemSelected` is told; its `label`, or its text, when left out. */
5239
+ readonly value: import("@angular/core").InputSignal<string | undefined>;
3249
5240
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3250
5241
  /** What is filtered; the item's text when left out. */
3251
5242
  readonly label: import("@angular/core").InputSignal<string | undefined>;
@@ -3263,7 +5254,7 @@ export declare class KpCommandItem implements OnInit {
3263
5254
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpCommandItem, "[kpCommandItem]", never, {
3264
5255
  "value": {
3265
5256
  "alias": "value";
3266
- "required": true;
5257
+ "required": false;
3267
5258
  "isSignal": true;
3268
5259
  };
3269
5260
  "disabled": {
@@ -3375,7 +5366,11 @@ export declare class KpCarouselNext implements OnInit {
3375
5366
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpCarouselNext, "[kpCarouselNext]", never, {}, {}, never, never, true, never>;
3376
5367
  }
3377
5368
  export declare class KpCarouselItem implements OnInit {
3378
- readonly index: import("@angular/core").InputSignalWithTransform<number, unknown>;
5369
+ /**
5370
+ * Its place among the slides, from 0. Left out, its place in the page, once it is there:
5371
+ * give it on a page a server draws, which cannot count them.
5372
+ */
5373
+ readonly index: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
3379
5374
  private readonly root;
3380
5375
  private readonly put;
3381
5376
  ngOnInit(): void;
@@ -3383,7 +5378,7 @@ export declare class KpCarouselItem implements OnInit {
3383
5378
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpCarouselItem, "[kpCarouselItem]", never, {
3384
5379
  "index": {
3385
5380
  "alias": "index";
3386
- "required": true;
5381
+ "required": false;
3387
5382
  "isSignal": true;
3388
5383
  };
3389
5384
  }, {}, never, never, true, never>;
@@ -3752,9 +5747,10 @@ export declare class KpPopoverClose implements OnInit {
3752
5747
  static ɵfac: i0.ɵɵFactoryDeclaration<KpPopoverClose, never>;
3753
5748
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpPopoverClose, "[kpPopoverClose]", never, {}, {}, never, never, true, never>;
3754
5749
  }
3755
- export declare class KpSelect<Value = unknown> implements OnInit {
3756
- readonly value: import("@angular/core").ModelSignal<Value | null | undefined>;
3757
- readonly defaultValue: import("@angular/core").InputSignal<NoInfer<Value> | null>;
5750
+ export declare class KpSelect<Value = unknown, Multiple extends boolean = false> implements OnInit {
5751
+ /** With `[multiple]="true"`, the chosen values. */
5752
+ readonly value: import("@angular/core").ModelSignal<(Multiple extends true ? readonly Value[] : Value | null) | undefined>;
5753
+ readonly defaultValue: import("@angular/core").InputSignal<NoInfer<Multiple extends true ? readonly Value[] : Value | null> | undefined>;
3758
5754
  readonly open: import("@angular/core").ModelSignal<boolean | undefined>;
3759
5755
  readonly defaultOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3760
5756
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
@@ -3766,19 +5762,47 @@ export declare class KpSelect<Value = unknown> implements OnInit {
3766
5762
  readonly form: import("@angular/core").InputSignal<string | undefined>;
3767
5763
  /** The values' labels: a list of values with their labels, or the labels by value. */
3768
5764
  readonly items: import("@angular/core").InputSignal<ItemLabels$1<Value> | undefined>;
3769
- /** Several values: they are `values`, not `value`. */
3770
- readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
5765
+ /**
5766
+ * Several values: `value` and `valueChanged` then hold a list. Bound to `true`
5767
+ * (`[multiple]="true"`), it types them so. The bare attribute, or a bound boolean, works the
5768
+ * same, and then `value` takes either and `valueChanged` is typed as one value: Angular's
5769
+ * compiler gives a type parameter it cannot infer `any`, so only a literal `true` says it.
5770
+ */
5771
+ readonly multiple: import("@angular/core").InputSignalWithTransform<Multiple | undefined, "" | Multiple | undefined>;
5772
+ /**
5773
+ * With `multiple`: the chosen values.
5774
+ * @deprecated Base UI's shape is `[(value)]` holding the list, which wins when both are given.
5775
+ */
3771
5776
  readonly values: import("@angular/core").ModelSignal<readonly Value[] | undefined>;
5777
+ /**
5778
+ * With `multiple`: the values it starts with.
5779
+ * @deprecated Base UI's shape is `[defaultValue]` holding the list, which wins.
5780
+ */
3772
5781
  readonly defaultValues: import("@angular/core").InputSignal<readonly Value[] | undefined>;
5782
+ /**
5783
+ * With `multiple`: heard as a value is about to be added or taken away.
5784
+ * @deprecated Base UI's shape is `(valueChanged)` told the list. Both are emitted.
5785
+ */
3773
5786
  readonly valuesChanged: import("@angular/core").OutputEmitterRef<{
3774
5787
  values: Value[];
3775
5788
  details: ChangeDetails$1;
3776
5789
  }>;
3777
5790
  /** Every row, when only some are in the page: each item is then given its `index`. */
3778
5791
  readonly virtualized: import("@angular/core").InputSignal<ListCollection$1 | undefined>;
5792
+ /**
5793
+ * How the list opens: `"sheet"` from the bottom edge, modal, with a backdrop; `"auto"` a sheet
5794
+ * on a narrow touch screen. Default `"popup"`.
5795
+ */
5796
+ readonly presentation: import("@angular/core").InputSignal<Presentation$1 | undefined>;
5797
+ /** With `presentation="auto"`: the viewport's width under which a coarse pointer opens a sheet. Default 640. */
5798
+ readonly sheetBelow: import("@angular/core").InputSignal<number | undefined>;
5799
+ /** For values that are objects: the text the trigger shows for one, and what typing matches. */
5800
+ readonly itemToStringLabel: import("@angular/core").InputSignal<((value: Value) => string) | undefined>;
5801
+ /** For values that are objects: the text the form is sent for one. */
5802
+ readonly itemToStringValue: import("@angular/core").InputSignal<((value: Value) => string) | undefined>;
3779
5803
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
3780
5804
  readonly valueChanged: import("@angular/core").OutputEmitterRef<{
3781
- value: Value | null;
5805
+ value: true extends Multiple ? (false extends Multiple ? Value | null : Value[]) : Value | null;
3782
5806
  details: ChangeDetails$1;
3783
5807
  }>;
3784
5808
  readonly openChanged: import("@angular/core").OutputEmitterRef<{
@@ -3786,14 +5810,16 @@ export declare class KpSelect<Value = unknown> implements OnInit {
3786
5810
  details: ChangeDetails$1;
3787
5811
  }>;
3788
5812
  controller: Select<Value>;
5813
+ /** Whether the page writes its own hidden input (`kpSelectInput`): none is drawn then. */
5814
+ written: boolean;
3789
5815
  private readonly field;
3790
5816
  private readonly generated;
3791
5817
  private readonly props;
3792
5818
  private readonly mount;
3793
5819
  ngOnChanges(changes: SimpleChanges): void;
3794
5820
  ngOnInit(): void;
3795
- static ɵfac: i0.ɵɵFactoryDeclaration<KpSelect<any>, never>;
3796
- static ɵdir: i0.ɵɵDirectiveDeclaration<KpSelect<any>, "[kpSelect]", ["kpSelect"], {
5821
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpSelect<any, any>, never>;
5822
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpSelect<any, any>, "[kpSelect]", ["kpSelect"], {
3797
5823
  "value": {
3798
5824
  "alias": "value";
3799
5825
  "required": false;
@@ -3864,6 +5890,26 @@ export declare class KpSelect<Value = unknown> implements OnInit {
3864
5890
  "required": false;
3865
5891
  "isSignal": true;
3866
5892
  };
5893
+ "presentation": {
5894
+ "alias": "presentation";
5895
+ "required": false;
5896
+ "isSignal": true;
5897
+ };
5898
+ "sheetBelow": {
5899
+ "alias": "sheetBelow";
5900
+ "required": false;
5901
+ "isSignal": true;
5902
+ };
5903
+ "itemToStringLabel": {
5904
+ "alias": "itemToStringLabel";
5905
+ "required": false;
5906
+ "isSignal": true;
5907
+ };
5908
+ "itemToStringValue": {
5909
+ "alias": "itemToStringValue";
5910
+ "required": false;
5911
+ "isSignal": true;
5912
+ };
3867
5913
  "kpId": {
3868
5914
  "alias": "kpId";
3869
5915
  "required": false;
@@ -3887,12 +5933,14 @@ export declare class KpSelectPortal implements OnInit {
3887
5933
  }
3888
5934
  export declare class KpSelectPositioner extends KpPositioner {
3889
5935
  /**
3890
- * The list opens over its trigger, the chosen item's text on the trigger's own, where
3891
- * there is room and unless a finger opened it.
5936
+ * The list opens over its trigger, the chosen item's text on the trigger's own, where there is
5937
+ * room and unless a finger opened it. While it lies there the page's scroll is held (its
5938
+ * scrollbar's room kept), and a scroll of a box around the trigger closes the list
5939
+ * (`"ancestor-scroll"`), as a change of the window's size does (`"window-resize"`).
3892
5940
  */
3893
5941
  readonly alignItemWithTrigger: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
3894
5942
  private readonly root;
3895
- protected placed(): Select<any>;
5943
+ protected placed(): Select<unknown>;
3896
5944
  constructor();
3897
5945
  ngOnInit(): void;
3898
5946
  static ɵfac: i0.ɵɵFactoryDeclaration<KpSelectPositioner, never>;
@@ -3904,8 +5952,15 @@ export declare class KpSelectPositioner extends KpPositioner {
3904
5952
  };
3905
5953
  }, {}, never, never, true, never>;
3906
5954
  }
5955
+ /**
5956
+ * `<button kpSelectTrigger>`. A select with a name, its own or its field's, submits its value
5957
+ * through a hidden input drawn right after the trigger, where the other adapters draw it after
5958
+ * the root's content.
5959
+ */
3907
5960
  export declare class KpSelectTrigger implements OnInit {
5961
+ private readonly root;
3908
5962
  private readonly init;
5963
+ private readonly inner;
3909
5964
  ngOnInit(): void;
3910
5965
  static ɵfac: i0.ɵɵFactoryDeclaration<KpSelectTrigger, never>;
3911
5966
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpSelectTrigger, "[kpSelectTrigger]", never, {}, {}, never, never, true, never>;
@@ -3916,16 +5971,29 @@ export declare class KpSelectPopup implements OnInit {
3916
5971
  static ɵfac: i0.ɵɵFactoryDeclaration<KpSelectPopup, never>;
3917
5972
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpSelectPopup, "[kpSelectPopup]", never, {}, {}, never, never, true, never>;
3918
5973
  }
3919
- /** `<input kpSelectInput>`: submits the value with the form around it. */
5974
+ /** `<div kpSelectBackdrop>`, in the portal: what lies over the page behind the list. */
5975
+ export declare class KpSelectBackdrop implements OnInit {
5976
+ private readonly init;
5977
+ ngOnInit(): void;
5978
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpSelectBackdrop, never>;
5979
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KpSelectBackdrop, "[kpSelectBackdrop]", never, {}, {}, never, never, true, never>;
5980
+ }
5981
+ /**
5982
+ * `<input kpSelectInput>`: submits the value with the form around it. A page that writes one
5983
+ * keeps it, and the trigger then draws none.
5984
+ * @deprecated The trigger draws the hidden input itself; leave this out.
5985
+ */
3920
5986
  export declare class KpSelectInput implements OnInit {
3921
5987
  private readonly init;
5988
+ constructor();
3922
5989
  ngOnInit(): void;
3923
5990
  static ɵfac: i0.ɵɵFactoryDeclaration<KpSelectInput, never>;
3924
5991
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpSelectInput, "input[kpSelectInput]", never, {}, {}, never, never, true, never>;
3925
5992
  }
3926
5993
  /**
3927
5994
  * `<span kpSelectValue>` shows the chosen value's label, or `placeholder` while nothing is
3928
- * chosen; with `multiple`, the chosen labels with commas between.
5995
+ * chosen; with `multiple`, the chosen labels with commas between. An element with content of
5996
+ * its own says that instead.
3929
5997
  * `<span *kpSelectValue="let shown">` draws its own content instead, with what is chosen:
3930
5998
  * `shown.value` and `shown.label`, with `multiple` `shown.values` and `shown.labels`, in the
3931
5999
  * items' order.
@@ -3938,6 +6006,8 @@ export declare class KpSelectValue implements OnInit {
3938
6006
  private readonly container;
3939
6007
  private readonly destroy;
3940
6008
  private readonly put;
6009
+ private readonly server;
6010
+ private text;
3941
6011
  constructor();
3942
6012
  private write;
3943
6013
  ngOnInit(): void;
@@ -3960,7 +6030,7 @@ export declare class KpSelectItem implements OnInit {
3960
6030
  readonly label: import("@angular/core").InputSignal<string | undefined>;
3961
6031
  /** Its place among all the rows, in a virtualized list. */
3962
6032
  readonly index: import("@angular/core").InputSignal<number | undefined>;
3963
- readonly root: KpSelect<any>;
6033
+ readonly root: KpSelect<unknown, boolean>;
3964
6034
  private readonly put;
3965
6035
  private readonly options;
3966
6036
  ngOnChanges(changes: SimpleChanges): void;
@@ -4059,6 +6129,7 @@ export declare class KpSelectScrollDownArrow implements OnInit {
4059
6129
  export declare class KpSelectItemIndicator implements OnInit {
4060
6130
  private readonly item;
4061
6131
  private readonly present;
6132
+ private readonly mount;
4062
6133
  ngOnInit(): void;
4063
6134
  static ɵfac: i0.ɵɵFactoryDeclaration<KpSelectItemIndicator, never>;
4064
6135
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpSelectItemIndicator, "[kpSelectItemIndicator]", never, {}, {}, never, never, true, never>;
@@ -4185,6 +6256,7 @@ export declare class KpSwitch implements OnInit {
4185
6256
  /** The id of the form the control belongs to, when it is not inside it. */
4186
6257
  readonly form: import("@angular/core").InputSignal<string | undefined>;
4187
6258
  readonly value: import("@angular/core").InputSignal<string | undefined>;
6259
+ /** The id of the switch's hidden native checkbox, not of the switch: a `<label for>` names it. Inside a `Field`, that input takes the field's id instead. */
4188
6260
  readonly kpId: import("@angular/core").InputSignal<string | undefined>;
4189
6261
  /** The change with why it happened; `details.cancel()` keeps the value. */
4190
6262
  readonly checkedChanged: import("@angular/core").OutputEmitterRef<{
@@ -4306,6 +6378,11 @@ export declare class KpTabs<Value = unknown> implements OnInit {
4306
6378
  }
4307
6379
  export declare class KpTabsList implements OnInit {
4308
6380
  readonly activateOnFocus: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
6381
+ readonly loopFocus: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
6382
+ /**
6383
+ * Whether the arrows wrap from the last item to the first.
6384
+ * @deprecated Base UI's name is `loopFocus`, which wins when both are given.
6385
+ */
4309
6386
  readonly loop: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
4310
6387
  private readonly root;
4311
6388
  private readonly part;
@@ -4319,6 +6396,11 @@ export declare class KpTabsList implements OnInit {
4319
6396
  "required": false;
4320
6397
  "isSignal": true;
4321
6398
  };
6399
+ "loopFocus": {
6400
+ "alias": "loopFocus";
6401
+ "required": false;
6402
+ "isSignal": true;
6403
+ };
4322
6404
  "loop": {
4323
6405
  "alias": "loop";
4324
6406
  "required": false;
@@ -4613,7 +6695,10 @@ export declare class KpAvatar implements OnInit {
4613
6695
  * element, kept in the page as Base UI's `keepMounted` image: it loads the picture itself
4614
6696
  * (`loading="lazy"` works), its own `src` is the address and is followed as it changes, and
4615
6697
  * until it has loaded it is `aria-hidden`, with `data-loading` or `data-error` for the design to
4616
- * hide or fade it by. The root's `(loadingStatusChanged)` hears the loading either way.
6698
+ * hide or fade it by. The root's `(loadingStatusChanged)` hears the loading either way. Write the
6699
+ * structural form when the picture only has to appear once it is there; the attribute form when
6700
+ * the element must be in the page from the start: to fade the picture in, to load it lazily, or
6701
+ * to keep its attributes and place while it loads.
4617
6702
  */
4618
6703
  export declare class KpAvatarImage implements OnInit {
4619
6704
  /** The picture's address, in the structural form: the element is in the page once it has loaded. */
@@ -4659,7 +6744,10 @@ export declare class KpAvatarFallback implements OnInit {
4659
6744
  };
4660
6745
  }, {}, never, never, true, never>;
4661
6746
  }
4662
- /** On a `<button>`, or with `[nativeButton]="false"` on another element that acts as one. */
6747
+ /**
6748
+ * On a `<button>`, or with `[nativeButton]="false"` on another element that acts as one; on a
6749
+ * link that navigates (`<a href>`), it stays a link.
6750
+ */
4663
6751
  export declare class KpButton implements OnInit {
4664
6752
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4665
6753
  readonly focusableWhenDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
@@ -4758,12 +6846,13 @@ export declare class KpMeterLabel implements OnInit {
4758
6846
  static ɵfac: i0.ɵɵFactoryDeclaration<KpMeterLabel, never>;
4759
6847
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpMeterLabel, "[kpMeterLabel]", never, {}, {}, never, never, true, never>;
4760
6848
  }
4761
- /** Shows the written value. */
6849
+ /** Shows the written value, unless the element has content of its own. */
4762
6850
  export declare class KpMeterValue implements OnInit {
4763
6851
  private readonly root;
4764
6852
  private readonly element;
4765
6853
  private readonly destroy;
4766
6854
  private readonly part;
6855
+ private readonly server;
4767
6856
  ngOnInit(): void;
4768
6857
  static ɵfac: i0.ɵɵFactoryDeclaration<KpMeterValue, never>;
4769
6858
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpMeterValue, "[kpMeterValue]", never, {}, {}, never, never, true, never>;
@@ -4839,12 +6928,13 @@ export declare class KpProgressLabel implements OnInit {
4839
6928
  static ɵfac: i0.ɵɵFactoryDeclaration<KpProgressLabel, never>;
4840
6929
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpProgressLabel, "[kpProgressLabel]", never, {}, {}, never, never, true, never>;
4841
6930
  }
4842
- /** Shows the written value. */
6931
+ /** Shows the written value, unless the element has content of its own. */
4843
6932
  export declare class KpProgressValue implements OnInit {
4844
6933
  private readonly root;
4845
6934
  private readonly element;
4846
6935
  private readonly destroy;
4847
6936
  private readonly part;
6937
+ private readonly server;
4848
6938
  ngOnInit(): void;
4849
6939
  static ɵfac: i0.ɵɵFactoryDeclaration<KpProgressValue, never>;
4850
6940
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpProgressValue, "[kpProgressValue]", never, {}, {}, never, never, true, never>;
@@ -4911,6 +7001,11 @@ export declare class KpToggle implements OnInit {
4911
7001
  }
4912
7002
  export declare class KpToolbar implements OnInit {
4913
7003
  readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
7004
+ readonly loopFocus: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
7005
+ /**
7006
+ * Whether the arrows wrap from the last item to the first.
7007
+ * @deprecated Base UI's name is `loopFocus`, which wins when both are given.
7008
+ */
4914
7009
  readonly loop: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
4915
7010
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4916
7011
  controller: Toolbar;
@@ -4926,6 +7021,11 @@ export declare class KpToolbar implements OnInit {
4926
7021
  "required": false;
4927
7022
  "isSignal": true;
4928
7023
  };
7024
+ "loopFocus": {
7025
+ "alias": "loopFocus";
7026
+ "required": false;
7027
+ "isSignal": true;
7028
+ };
4929
7029
  "loop": {
4930
7030
  "alias": "loop";
4931
7031
  "required": false;
@@ -4940,6 +7040,8 @@ export declare class KpToolbar implements OnInit {
4940
7040
  }
4941
7041
  export declare class KpToolbarButton implements OnInit {
4942
7042
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
7043
+ /** Keeps it focusable while disabled, as Base UI's: the arrows still reach it. Default `true`. */
7044
+ readonly focusableWhenDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4943
7045
  private readonly root;
4944
7046
  private readonly put;
4945
7047
  private readonly options;
@@ -4952,11 +7054,18 @@ export declare class KpToolbarButton implements OnInit {
4952
7054
  "required": false;
4953
7055
  "isSignal": true;
4954
7056
  };
7057
+ "focusableWhenDisabled": {
7058
+ "alias": "focusableWhenDisabled";
7059
+ "required": false;
7060
+ "isSignal": true;
7061
+ };
4955
7062
  }, {}, never, never, true, never>;
4956
7063
  }
4957
7064
  /** `<input kpToolbarInput>`: the arrows are its own until the caret is at an end. */
4958
7065
  export declare class KpToolbarInput implements OnInit {
4959
7066
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
7067
+ /** Keeps it focusable while disabled, as Base UI's: the arrows still reach it. Default `true`. */
7068
+ readonly focusableWhenDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4960
7069
  private readonly root;
4961
7070
  private readonly put;
4962
7071
  private readonly options;
@@ -4969,6 +7078,11 @@ export declare class KpToolbarInput implements OnInit {
4969
7078
  "required": false;
4970
7079
  "isSignal": true;
4971
7080
  };
7081
+ "focusableWhenDisabled": {
7082
+ "alias": "focusableWhenDisabled";
7083
+ "required": false;
7084
+ "isSignal": true;
7085
+ };
4972
7086
  }, {}, never, never, true, never>;
4973
7087
  }
4974
7088
  export declare class KpToolbarGroup implements OnInit {
@@ -5008,6 +7122,11 @@ export declare class KpToggleGroup<Value = unknown> implements OnInit {
5008
7122
  readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
5009
7123
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
5010
7124
  readonly orientation: import("@angular/core").InputSignal<Orientation$1 | undefined>;
7125
+ readonly loopFocus: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
7126
+ /**
7127
+ * Whether the arrows wrap from the last item to the first.
7128
+ * @deprecated Base UI's name is `loopFocus`, which wins when both are given.
7129
+ */
5011
7130
  readonly loop: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
5012
7131
  readonly valueChanged: import("@angular/core").OutputEmitterRef<{
5013
7132
  value: Value[];
@@ -5047,6 +7166,11 @@ export declare class KpToggleGroup<Value = unknown> implements OnInit {
5047
7166
  "required": false;
5048
7167
  "isSignal": true;
5049
7168
  };
7169
+ "loopFocus": {
7170
+ "alias": "loopFocus";
7171
+ "required": false;
7172
+ "isSignal": true;
7173
+ };
5050
7174
  "loop": {
5051
7175
  "alias": "loop";
5052
7176
  "required": false;
@@ -5299,12 +7423,13 @@ export declare class KpSliderThumb implements OnInit {
5299
7423
  };
5300
7424
  }, {}, never, never, true, never>;
5301
7425
  }
5302
- /** Shows the written value. */
7426
+ /** Shows the written value, unless the element has content of its own. */
5303
7427
  export declare class KpSliderValue implements OnInit {
5304
7428
  private readonly root;
5305
7429
  private readonly element;
5306
7430
  private readonly destroy;
5307
7431
  private readonly part;
7432
+ private readonly server;
5308
7433
  ngOnInit(): void;
5309
7434
  static ɵfac: i0.ɵɵFactoryDeclaration<KpSliderValue, never>;
5310
7435
  static ɵdir: i0.ɵɵDirectiveDeclaration<KpSliderValue, "[kpSliderValue]", never, {}, {}, never, never, true, never>;
@@ -5505,6 +7630,12 @@ export declare class KpDirection implements OnInit {
5505
7630
  };
5506
7631
  }, {}, never, never, true, never>;
5507
7632
  }
7633
+ /**
7634
+ * The reading direction a `kpDirection` around this directive states, as the signal a controller
7635
+ * takes (`{ direction }`); `undefined` outside one, where the controller reads the direction its
7636
+ * element is laid out in. For a directive of your own: the library's read the same.
7637
+ */
7638
+ export declare function injectDirectionAround(): ReadonlySignal$1<Direction$1> | undefined;
5508
7639
  /** The direction the nearest `kpDirection` states; `ltr` outside one. */
5509
7640
  export declare function injectDirection(): Signal$1<Direction$1>;
5510
7641
  /**
@@ -5524,4 +7655,4 @@ export declare class KpPortalProvider {
5524
7655
  };
5525
7656
  }, {}, never, never, true, never>;
5526
7657
  }
5527
- export type { Align, Anchor, AnchorOption, Bindable, CalendarDay, CalendarMode, CalendarMonth, CalendarProps, CalendarValue, CalendarValueOf, CalendarWeekday, ChangeDetails, ChangeSource, CollisionAvoidance, CollisionBoundary, CollisionPadding, ComboboxEntry, ComboboxGroupData, ComboboxGroupEntry, ComboboxItemData, ComboboxItemEntry, ComboboxShown, ComponentDefinition, DateFieldProps, DateFieldSegment, DateRange, DateUnit, Direction, DrawerSide, DrawerSnapPoint, FieldValidity, FormErrors, FormValues, HostInputs, ImageStatus, InputsOf, InputsSignal, IsoDate, ItemLabels, ListCollection, OffsetData, OffsetFunction, 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 };
7658
+ export type { Align, Anchor, AnchorOption, Bindable, CalendarDay, CalendarMode, CalendarMonth, CalendarProps, CalendarValue, CalendarValueOf, CalendarWeekday, ChangeDetails, ChangeSource, CollisionAvoidance, CollisionBoundary, CollisionPadding, ColorFormat, ColorPickerInputChannel, ColorPickerSliderChannel, ColorPickerThumb, ComboboxEntry, ComboboxGroupData, ComboboxGroupEntry, ComboboxItemData, ComboboxItemEntry, ComboboxShown, ComponentDefinition, DateFieldProps, DateFieldSegment, DatePickerMode, DatePickerRange, DatePickerValue, DatePickerValueOf, DateRange, DateUnit, Direction, DrawerSide, DrawerSnapPoint, FieldValidity, FileRejection, FileRejectionReason, FileUploadEntry, FormErrors, FormValues, HostInputs, HourCycle, Hsva, ImageStatus, InputsOf, InputsSignal, IsoDate, IsoTime, ItemLabels, ListCollection, OffsetData, OffsetFunction, Orientation, OtpValidation, PaginationEntry, Part, PartDefinition, PartEvent, PartProps, PartState, PartStyle, PhysicalSide, PositionOptions, PositionerAnchor, Presentation, QrCorrection, ReadonlySignal, SelectShown, Side, Signal, SliderChangeDetails, SliderTold, StateDefinition, StateOf, TagsInputEntry, TimeFieldSegment, TimeGranularity, TimeUnit, ToastActionOptions, ToastContent, ToastOptions, ToastRecord, ToastState, Toaster, ToasterOptions, TourPopupContext, TourShownStep, TourStep, TourTarget, TreeSelectionMode, ValidationMode, ValidityKey };