@indigina/ui-kit 1.1.303 → 1.1.305
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/indigina-ui-kit.mjs +541 -528
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/index.d.ts +179 -179
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InputSignal, EventEmitter, Predicate,
|
|
2
|
+
import { InputSignal, EventEmitter, Predicate, ModelSignal, TemplateRef, OutputEmitterRef, Signal, OnInit, OnDestroy, WritableSignal, OnChanges, ModuleWithProviders, SimpleChanges, ElementRef, AfterContentInit, QueryList, AfterViewInit, ViewContainerRef, PipeTransform, InjectionToken } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, ValidatorFn, FormControl, AbstractControl, UntypedFormGroup } from '@angular/forms';
|
|
4
4
|
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
5
5
|
import { PopupSettings, DropDownListComponent, ItemDisabledFn, MultiSelectComponent } from '@progress/kendo-angular-dropdowns';
|
|
@@ -403,67 +403,69 @@ declare enum KitTextboxSize {
|
|
|
403
403
|
}
|
|
404
404
|
|
|
405
405
|
declare class KitTextboxComponent implements ControlValueAccessor {
|
|
406
|
-
readonly cdr: ChangeDetectorRef;
|
|
407
406
|
textbox: TextBoxComponent | undefined;
|
|
408
407
|
/**
|
|
409
408
|
* Defines a value that is going to be applied as an input placeholder
|
|
410
409
|
*/
|
|
411
|
-
placeholder
|
|
410
|
+
readonly placeholder: InputSignal<string | undefined>;
|
|
412
411
|
/**
|
|
413
412
|
* Defines a value that is going to be applied as an input label
|
|
414
413
|
*/
|
|
415
|
-
label
|
|
414
|
+
readonly label: InputSignal<string | undefined>;
|
|
416
415
|
/**
|
|
417
416
|
* Defines a value that is going to be applied as an input label tooltip
|
|
418
417
|
*/
|
|
419
|
-
labelTooltip
|
|
418
|
+
readonly labelTooltip: InputSignal<string | undefined>;
|
|
420
419
|
/**
|
|
421
420
|
* Defines a value that is going to be applied as a default input value
|
|
422
421
|
*/
|
|
423
|
-
defaultValue
|
|
422
|
+
readonly defaultValue: ModelSignal<string>;
|
|
424
423
|
/**
|
|
425
424
|
* Defines an icon which will be used to the left of the info message
|
|
426
425
|
*/
|
|
427
|
-
messageIcon
|
|
426
|
+
readonly messageIcon: InputSignal<KitSvgIcon | undefined>;
|
|
428
427
|
/**
|
|
429
428
|
* Defines a value which going to be an info message text
|
|
430
429
|
*/
|
|
431
|
-
messageText
|
|
430
|
+
readonly messageText: InputSignal<string | undefined>;
|
|
432
431
|
/**
|
|
433
432
|
* Defines a message template
|
|
434
433
|
*/
|
|
435
|
-
messageTemplate
|
|
434
|
+
readonly messageTemplate: InputSignal<TemplateRef<HTMLElement> | undefined>;
|
|
436
435
|
/**
|
|
437
436
|
* Defines a state whether the textbox will be disabled or not
|
|
438
437
|
*/
|
|
439
|
-
disabled: boolean
|
|
438
|
+
readonly disabled: ModelSignal<boolean>;
|
|
440
439
|
/**
|
|
441
440
|
* Defines the maximum length of the textbox value
|
|
442
441
|
*/
|
|
443
|
-
maxlength
|
|
442
|
+
readonly maxlength: InputSignal<number | undefined>;
|
|
444
443
|
/**
|
|
445
444
|
* Defines the state of the textbox
|
|
446
445
|
*/
|
|
447
|
-
state: KitTextboxState
|
|
446
|
+
readonly state: InputSignal<KitTextboxState>;
|
|
448
447
|
/**
|
|
449
448
|
* Defines the size of the textbox
|
|
450
449
|
*/
|
|
451
|
-
size: KitTextboxSize
|
|
450
|
+
readonly size: InputSignal<KitTextboxSize>;
|
|
452
451
|
/**
|
|
453
452
|
* Defines the icon which will be used with the input field
|
|
454
453
|
*/
|
|
455
|
-
icon
|
|
456
|
-
clearButton: boolean
|
|
457
|
-
showStateIcon: boolean
|
|
454
|
+
readonly icon: InputSignal<KitSvgIcon | undefined>;
|
|
455
|
+
readonly clearButton: InputSignal<boolean>;
|
|
456
|
+
readonly showStateIcon: InputSignal<boolean>;
|
|
458
457
|
/**
|
|
459
458
|
* An action which is emitted when input field lost focus
|
|
460
459
|
*/
|
|
461
|
-
blured:
|
|
462
|
-
|
|
460
|
+
readonly blured: OutputEmitterRef<void>;
|
|
461
|
+
/**
|
|
462
|
+
* An action which is emitted when input field received focus
|
|
463
|
+
*/
|
|
464
|
+
readonly focused: OutputEmitterRef<void>;
|
|
463
465
|
/**
|
|
464
466
|
* An action which is emitted when input value changed
|
|
465
467
|
*/
|
|
466
|
-
changed:
|
|
468
|
+
readonly changed: OutputEmitterRef<string>;
|
|
467
469
|
readonly textboxComponent: Signal<TextBoxComponent>;
|
|
468
470
|
readonly textboxStateIcon: Record<KitTextboxState, KitSvgIcon>;
|
|
469
471
|
/**
|
|
@@ -488,7 +490,7 @@ declare class KitTextboxComponent implements ControlValueAccessor {
|
|
|
488
490
|
onInputChange(value: string): void;
|
|
489
491
|
updateValue(value: string): void;
|
|
490
492
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextboxComponent, never>;
|
|
491
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "messageTemplate": { "alias": "messageTemplate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "state": { "alias": "state"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "showStateIcon": { "alias": "showStateIcon"; "required": false; }; }, { "blured": "blured"; "focused": "focused"; "changed": "changed"; }, never, never, true, never>;
|
|
493
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; "messageTemplate": { "alias": "messageTemplate"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "clearButton": { "alias": "clearButton"; "required": false; "isSignal": true; }; "showStateIcon": { "alias": "showStateIcon"; "required": false; "isSignal": true; }; }, { "defaultValue": "defaultValueChange"; "disabled": "disabledChange"; "blured": "blured"; "focused": "focused"; "changed": "changed"; }, never, never, true, never>;
|
|
492
494
|
}
|
|
493
495
|
|
|
494
496
|
declare class KitTextboxActionsComponent implements OnInit, OnDestroy {
|
|
@@ -541,64 +543,64 @@ declare class KitNumericTextboxComponent implements ControlValueAccessor {
|
|
|
541
543
|
/**
|
|
542
544
|
* Defines a value that is going to be applied as an input placeholder
|
|
543
545
|
*/
|
|
544
|
-
placeholder
|
|
546
|
+
readonly placeholder: InputSignal<string | undefined>;
|
|
545
547
|
/**
|
|
546
548
|
* Defines a value that is going to be applied as an input label
|
|
547
549
|
*/
|
|
548
|
-
label
|
|
550
|
+
readonly label: InputSignal<string | undefined>;
|
|
549
551
|
/**
|
|
550
552
|
* Defines a value that is going to be applied as a default input value
|
|
551
553
|
*/
|
|
552
|
-
defaultValue
|
|
554
|
+
readonly defaultValue: ModelSignal<number | undefined>;
|
|
553
555
|
/**
|
|
554
556
|
* Specifies the number of decimals that the user can enter when the input is focused
|
|
555
557
|
*/
|
|
556
|
-
decimals
|
|
558
|
+
readonly decimals: InputSignal<number | undefined>;
|
|
557
559
|
/**
|
|
558
560
|
* Specifies the smallest value that is valid
|
|
559
561
|
*/
|
|
560
|
-
min
|
|
562
|
+
readonly min: InputSignal<number | undefined>;
|
|
561
563
|
/**
|
|
562
564
|
* Specifies the greatest value that is valid
|
|
563
565
|
*/
|
|
564
|
-
max
|
|
566
|
+
readonly max: InputSignal<number | undefined>;
|
|
565
567
|
/**
|
|
566
568
|
* Specifies the maximum number of characters the end user can type
|
|
567
569
|
*/
|
|
568
|
-
maxlength
|
|
570
|
+
readonly maxlength: InputSignal<number | undefined>;
|
|
569
571
|
/**
|
|
570
572
|
* Defines an icon which will be used to the left of the info message
|
|
571
573
|
*/
|
|
572
|
-
messageIcon
|
|
574
|
+
readonly messageIcon: InputSignal<KitSvgIcon | undefined>;
|
|
573
575
|
/**
|
|
574
576
|
* Defines a value which going to be an info message text
|
|
575
577
|
*/
|
|
576
|
-
messageText
|
|
578
|
+
readonly messageText: InputSignal<string | undefined>;
|
|
577
579
|
/**
|
|
578
580
|
* Defines a state whether the textbox will be disabled or not
|
|
579
581
|
*/
|
|
580
|
-
disabled: boolean
|
|
582
|
+
readonly disabled: ModelSignal<boolean>;
|
|
581
583
|
/**
|
|
582
584
|
* Specifies the number format
|
|
583
585
|
*/
|
|
584
|
-
format
|
|
586
|
+
readonly format: InputSignal<string | undefined>;
|
|
585
587
|
/**
|
|
586
588
|
* Defines the state of the textbox
|
|
587
589
|
*/
|
|
588
|
-
state: KitNumericTextboxState
|
|
590
|
+
readonly state: InputSignal<KitNumericTextboxState>;
|
|
589
591
|
/**
|
|
590
592
|
* Defines the icon which will be used with the input field
|
|
591
593
|
*/
|
|
592
|
-
icon
|
|
594
|
+
readonly icon: InputSignal<KitSvgIcon | undefined>;
|
|
593
595
|
readonly size: InputSignal<KitNumericTextboxSize>;
|
|
594
596
|
/**
|
|
595
597
|
* An action which is emitted when input field lost focus
|
|
596
598
|
*/
|
|
597
|
-
blured:
|
|
599
|
+
readonly blured: OutputEmitterRef<void>;
|
|
598
600
|
/**
|
|
599
601
|
* An action which is emitted when input value changed
|
|
600
602
|
*/
|
|
601
|
-
changed:
|
|
603
|
+
readonly changed: OutputEmitterRef<number>;
|
|
602
604
|
readonly numericTextboxStateIcon: Record<KitNumericTextboxState, KitSvgIcon>;
|
|
603
605
|
/**
|
|
604
606
|
* Function that should be called every time the form control value changes
|
|
@@ -621,7 +623,7 @@ declare class KitNumericTextboxComponent implements ControlValueAccessor {
|
|
|
621
623
|
*/
|
|
622
624
|
onInputChange(value: number): void;
|
|
623
625
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitNumericTextboxComponent, never>;
|
|
624
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitNumericTextboxComponent, "kit-numeric-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "format": { "alias": "format"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "blured": "blured"; "changed": "changed"; }, never, never, true, never>;
|
|
626
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitNumericTextboxComponent, "kit-numeric-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "decimals": { "alias": "decimals"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "defaultValue": "defaultValueChange"; "disabled": "disabledChange"; "blured": "blured"; "changed": "changed"; }, never, never, true, never>;
|
|
625
627
|
}
|
|
626
628
|
|
|
627
629
|
declare class KitInputMessageComponent {
|
|
@@ -649,54 +651,53 @@ interface KitDropdownItem<T, U = unknown> {
|
|
|
649
651
|
disabled?: Predicate<KitDropdownItem<T>>;
|
|
650
652
|
}
|
|
651
653
|
declare class KitDropdownComponent<T> implements ControlValueAccessor {
|
|
652
|
-
private readonly changeDetectorRef;
|
|
653
654
|
/**
|
|
654
655
|
* an items list which is going to be rendered as dropdown items
|
|
655
656
|
*/
|
|
656
|
-
items: KitDropdownItem<T>[]
|
|
657
|
+
readonly items: InputSignal<KitDropdownItem<T>[]>;
|
|
657
658
|
/**
|
|
658
659
|
* an item which needs to be selected as a default value
|
|
659
660
|
*/
|
|
660
|
-
selectedItem
|
|
661
|
+
readonly selectedItem: ModelSignal<T | undefined>;
|
|
661
662
|
/**
|
|
662
663
|
* an informative text that will be above the dropdown
|
|
663
664
|
*/
|
|
664
|
-
label
|
|
665
|
+
readonly label: InputSignal<string | undefined>;
|
|
665
666
|
/**
|
|
666
667
|
* defines whether the component will be in disabled state
|
|
667
668
|
*/
|
|
668
|
-
disabled
|
|
669
|
+
readonly disabled: ModelSignal<boolean | undefined>;
|
|
669
670
|
/**
|
|
670
671
|
* Defines an icon which will be used to the left of the info message
|
|
671
672
|
*/
|
|
672
|
-
messageIcon
|
|
673
|
+
readonly messageIcon: InputSignal<KitSvgIcon | undefined>;
|
|
673
674
|
/**
|
|
674
675
|
* Defines a value which going to be an info message text
|
|
675
676
|
*/
|
|
676
|
-
messageText
|
|
677
|
+
readonly messageText: InputSignal<string | undefined>;
|
|
677
678
|
/**
|
|
678
679
|
* Defines a state whether the component will be invalid
|
|
679
680
|
*/
|
|
680
|
-
invalid
|
|
681
|
+
readonly invalid: InputSignal<boolean>;
|
|
681
682
|
/**
|
|
682
683
|
* An item that is going to be presented as a default value.
|
|
683
684
|
* Using as a placeholder
|
|
684
685
|
*/
|
|
685
|
-
defaultItem
|
|
686
|
+
readonly defaultItem: InputSignal<KitDropdownItem<T> | undefined>;
|
|
686
687
|
/**
|
|
687
688
|
* Defines dropdown popup list height. By default, listHeight is 200px.
|
|
688
689
|
*/
|
|
689
|
-
listHeight: number
|
|
690
|
+
readonly listHeight: InputSignal<number>;
|
|
690
691
|
/**
|
|
691
692
|
* Whether the default item will be hidden. "true" by default
|
|
692
693
|
*/
|
|
693
|
-
hideDefaultItem: boolean
|
|
694
|
+
readonly hideDefaultItem: InputSignal<boolean>;
|
|
694
695
|
/**
|
|
695
696
|
* Defines the icon which going to be the icon for the dropdown toggle button
|
|
696
697
|
*/
|
|
697
|
-
toggleIcon: KitSvgIcon
|
|
698
|
-
popupSettings: PopupSettings
|
|
699
|
-
isValuePrimitive: boolean
|
|
698
|
+
readonly toggleIcon: InputSignal<KitSvgIcon>;
|
|
699
|
+
readonly popupSettings: InputSignal<PopupSettings>;
|
|
700
|
+
readonly isValuePrimitive: InputSignal<boolean>;
|
|
700
701
|
readonly footerTemplate: InputSignal<TemplateRef<HTMLTemplateElement> | undefined>;
|
|
701
702
|
readonly noDataTemplate: InputSignal<TemplateRef<HTMLTemplateElement> | undefined>;
|
|
702
703
|
/**
|
|
@@ -706,7 +707,7 @@ declare class KitDropdownComponent<T> implements ControlValueAccessor {
|
|
|
706
707
|
/**
|
|
707
708
|
* occurs once an item in the dropdown is selected
|
|
708
709
|
*/
|
|
709
|
-
selected:
|
|
710
|
+
readonly selected: OutputEmitterRef<KitDropdownItem<T>>;
|
|
710
711
|
/**
|
|
711
712
|
* Defines template for a dropdown value
|
|
712
713
|
*/
|
|
@@ -744,7 +745,7 @@ declare class KitDropdownComponent<T> implements ControlValueAccessor {
|
|
|
744
745
|
onClose(): void;
|
|
745
746
|
getCssClasses(): Record<string, boolean>;
|
|
746
747
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitDropdownComponent<any>, never>;
|
|
747
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitDropdownComponent<any>, "kit-dropdown", never, { "items": { "alias": "items"; "required": false; }; "selectedItem": { "alias": "selectedItem"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "defaultItem": { "alias": "defaultItem"; "required": false; }; "listHeight": { "alias": "listHeight"; "required": false; }; "hideDefaultItem": { "alias": "hideDefaultItem"; "required": false; }; "toggleIcon": { "alias": "toggleIcon"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "isValuePrimitive": { "alias": "isValuePrimitive"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; "isSignal": true; }; "noDataTemplate": { "alias": "noDataTemplate"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, ["kitDropdownValueTemplate", "kitDropdownItemTemplate"], never, true, never>;
|
|
748
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDropdownComponent<any>, "kit-dropdown", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "selectedItem": { "alias": "selectedItem"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "defaultItem": { "alias": "defaultItem"; "required": false; "isSignal": true; }; "listHeight": { "alias": "listHeight"; "required": false; "isSignal": true; }; "hideDefaultItem": { "alias": "hideDefaultItem"; "required": false; "isSignal": true; }; "toggleIcon": { "alias": "toggleIcon"; "required": false; "isSignal": true; }; "popupSettings": { "alias": "popupSettings"; "required": false; "isSignal": true; }; "isValuePrimitive": { "alias": "isValuePrimitive"; "required": false; "isSignal": true; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; "isSignal": true; }; "noDataTemplate": { "alias": "noDataTemplate"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "selectedItem": "selectedItemChange"; "disabled": "disabledChange"; "selected": "selected"; }, ["kitDropdownValueTemplate", "kitDropdownItemTemplate"], never, true, never>;
|
|
748
749
|
}
|
|
749
750
|
|
|
750
751
|
declare class KitDropdownItemTemplateDirective {
|
|
@@ -767,78 +768,77 @@ declare enum KitTextareaState {
|
|
|
767
768
|
}
|
|
768
769
|
|
|
769
770
|
declare class KitTextareaComponent implements ControlValueAccessor, OnChanges {
|
|
770
|
-
private readonly cdr;
|
|
771
771
|
/**
|
|
772
772
|
* Defines a value that is going to be applied as a textarea placeholder
|
|
773
773
|
*/
|
|
774
|
-
placeholder
|
|
774
|
+
readonly placeholder: InputSignal<string | undefined>;
|
|
775
775
|
/**
|
|
776
776
|
* Defines a value that is going to be applied as a textarea label
|
|
777
777
|
*/
|
|
778
|
-
label
|
|
778
|
+
readonly label: InputSignal<string | undefined>;
|
|
779
779
|
/**
|
|
780
780
|
* Defines a value that is going to be applied as a default textarea value
|
|
781
781
|
*/
|
|
782
|
-
defaultValue
|
|
782
|
+
readonly defaultValue: ModelSignal<string>;
|
|
783
783
|
/**
|
|
784
784
|
* Defines a value that will determine the maximum number of characters in the textarea field
|
|
785
785
|
*/
|
|
786
|
-
maxlength
|
|
786
|
+
readonly maxlength: InputSignal<number | undefined>;
|
|
787
787
|
/**
|
|
788
788
|
* Defines a value that is going to be applied as a minimal number of visible text lines in
|
|
789
789
|
* the textarea field
|
|
790
790
|
*/
|
|
791
|
-
minLines
|
|
791
|
+
readonly minLines: InputSignal<number | undefined>;
|
|
792
792
|
/**
|
|
793
793
|
* Defines a value that is going to be applied as a maximal number of visible text lines in
|
|
794
794
|
* the textarea field
|
|
795
795
|
*/
|
|
796
|
-
maxLines
|
|
796
|
+
readonly maxLines: InputSignal<number | undefined>;
|
|
797
797
|
/**
|
|
798
798
|
* Defines a state whether the textarea will be disabled or not
|
|
799
799
|
*/
|
|
800
|
-
disabled: boolean
|
|
800
|
+
readonly disabled: ModelSignal<boolean>;
|
|
801
801
|
/**
|
|
802
802
|
* Defines an icon which will be used to the left of the info message
|
|
803
803
|
*/
|
|
804
|
-
messageIcon
|
|
804
|
+
readonly messageIcon: InputSignal<KitSvgIcon | undefined>;
|
|
805
805
|
/**
|
|
806
806
|
* Defines a value which going to be an info message text
|
|
807
807
|
*/
|
|
808
|
-
messageText
|
|
808
|
+
readonly messageText: InputSignal<string | undefined>;
|
|
809
809
|
/**
|
|
810
810
|
* Defines a particular state for the component
|
|
811
811
|
*/
|
|
812
|
-
state: KitTextareaState
|
|
812
|
+
readonly state: InputSignal<KitTextareaState>;
|
|
813
813
|
/**
|
|
814
814
|
* Defines the icon which will be used with the input field
|
|
815
815
|
*/
|
|
816
|
-
icon
|
|
816
|
+
readonly icon: InputSignal<KitSvgIcon | undefined>;
|
|
817
817
|
/**
|
|
818
818
|
* Defines whether the textarea will be in the readonly mode
|
|
819
819
|
*/
|
|
820
|
-
readonly: boolean
|
|
821
|
-
tooltip
|
|
820
|
+
readonly readonly: InputSignal<boolean>;
|
|
821
|
+
readonly tooltip: InputSignal<string | undefined>;
|
|
822
822
|
/**
|
|
823
823
|
* Defines a value that is going to be applied as a minimal textarea height
|
|
824
824
|
*/
|
|
825
|
-
minHeight
|
|
825
|
+
readonly minHeight: WritableSignal<number | undefined>;
|
|
826
826
|
/**
|
|
827
827
|
* Defines a value that is going to be applied as a maximal textarea height
|
|
828
828
|
*/
|
|
829
|
-
maxHeight
|
|
829
|
+
readonly maxHeight: WritableSignal<number | undefined>;
|
|
830
830
|
/**
|
|
831
831
|
* An action which is emitted when textarea field received focus
|
|
832
832
|
*/
|
|
833
|
-
focused:
|
|
833
|
+
readonly focused: OutputEmitterRef<void>;
|
|
834
834
|
/**
|
|
835
835
|
* An action which is emitted when textarea field lost focus
|
|
836
836
|
*/
|
|
837
|
-
blured:
|
|
837
|
+
readonly blured: OutputEmitterRef<void>;
|
|
838
838
|
/**
|
|
839
839
|
* An action which is emitted when textarea value changed
|
|
840
840
|
*/
|
|
841
|
-
changed:
|
|
841
|
+
readonly changed: OutputEmitterRef<string>;
|
|
842
842
|
readonly textareaStateIcon: Record<KitTextareaState, KitSvgIcon>;
|
|
843
843
|
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
844
844
|
ngOnChanges(): void;
|
|
@@ -871,7 +871,7 @@ declare class KitTextareaComponent implements ControlValueAccessor, OnChanges {
|
|
|
871
871
|
*/
|
|
872
872
|
onTextareaChange(event: Event): void;
|
|
873
873
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextareaComponent, never>;
|
|
874
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextareaComponent, "kit-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minLines": { "alias": "minLines"; "required": false; }; "maxLines": { "alias": "maxLines"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "focused": "focused"; "blured": "blured"; "changed": "changed"; }, never, never, true, never>;
|
|
874
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextareaComponent, "kit-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "minLines": { "alias": "minLines"; "required": false; "isSignal": true; }; "maxLines": { "alias": "maxLines"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "defaultValue": "defaultValueChange"; "disabled": "disabledChange"; "focused": "focused"; "blured": "blured"; "changed": "changed"; }, never, never, true, never>;
|
|
875
875
|
}
|
|
876
876
|
|
|
877
877
|
declare class KitTextareaAutoresizeDirective implements OnInit {
|
|
@@ -1049,63 +1049,62 @@ declare class KitUnitsTextboxComponent<T> {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
1051
1051
|
declare class KitDatetimepickerComponent implements ControlValueAccessor {
|
|
1052
|
-
private readonly cdr;
|
|
1053
1052
|
/**
|
|
1054
1053
|
* Defines a value that is going to be applied as a datetimepicker label
|
|
1055
1054
|
*/
|
|
1056
|
-
label
|
|
1055
|
+
readonly label: InputSignal<string | undefined>;
|
|
1057
1056
|
/**
|
|
1058
1057
|
* Defines a value that is going to be applied as a datepicker label tooltip
|
|
1059
1058
|
*/
|
|
1060
|
-
labelTooltip
|
|
1059
|
+
readonly labelTooltip: InputSignal<string | undefined>;
|
|
1061
1060
|
/**
|
|
1062
1061
|
* Defines a value that is going to be applied as a datetimepicker placeholder
|
|
1063
1062
|
*/
|
|
1064
|
-
placeholder
|
|
1063
|
+
readonly placeholder: InputSignal<string | undefined>;
|
|
1065
1064
|
/**
|
|
1066
1065
|
* Defines whether the component will be in disabled state
|
|
1067
1066
|
*/
|
|
1068
|
-
disabled
|
|
1067
|
+
readonly disabled: ModelSignal<boolean>;
|
|
1069
1068
|
/**
|
|
1070
1069
|
* Defines an icon which will be used to the left of the info message
|
|
1071
1070
|
*/
|
|
1072
|
-
messageIcon
|
|
1071
|
+
readonly messageIcon: InputSignal<KitSvgIcon | undefined>;
|
|
1073
1072
|
/**
|
|
1074
1073
|
* Defines a value which going to be an info message text
|
|
1075
1074
|
*/
|
|
1076
|
-
messageText
|
|
1075
|
+
readonly messageText: InputSignal<string | undefined>;
|
|
1077
1076
|
/**
|
|
1078
1077
|
* Defines a state whether the component will be invalid
|
|
1079
1078
|
*/
|
|
1080
|
-
invalid
|
|
1079
|
+
readonly invalid: InputSignal<boolean>;
|
|
1081
1080
|
/**
|
|
1082
1081
|
* Defines a value that is going to be applied as a datetimepicker format
|
|
1083
1082
|
*/
|
|
1084
|
-
format: string
|
|
1083
|
+
readonly format: InputSignal<string>;
|
|
1085
1084
|
/**
|
|
1086
1085
|
* Defines a value that is going to be applied as a default datetimepicker value
|
|
1087
1086
|
*/
|
|
1088
|
-
defaultDate
|
|
1087
|
+
readonly defaultDate: ModelSignal<Date | null | undefined>;
|
|
1089
1088
|
/**
|
|
1090
1089
|
* Specifies the smallest valid date
|
|
1091
1090
|
*/
|
|
1092
|
-
min
|
|
1091
|
+
readonly min: InputSignal<Date | undefined>;
|
|
1093
1092
|
/**
|
|
1094
1093
|
* Specifies the biggest valid date
|
|
1095
1094
|
*/
|
|
1096
|
-
max
|
|
1095
|
+
readonly max: InputSignal<Date | undefined>;
|
|
1097
1096
|
/**
|
|
1098
1097
|
* Defines the text of the Apply button in the popup footer of the component, "Apply" by default
|
|
1099
1098
|
*/
|
|
1100
|
-
applyButtonText: string
|
|
1099
|
+
readonly applyButtonText: InputSignal<string>;
|
|
1101
1100
|
/**
|
|
1102
1101
|
* Defines the text of the Cancel button in the popup footer of the component, "Cancel" by default
|
|
1103
1102
|
*/
|
|
1104
|
-
cancelButtonText: string
|
|
1103
|
+
readonly cancelButtonText: InputSignal<string>;
|
|
1105
1104
|
/**
|
|
1106
1105
|
* An action which is emitted when datetimepicker value changed
|
|
1107
1106
|
*/
|
|
1108
|
-
changed:
|
|
1107
|
+
readonly changed: OutputEmitterRef<Date>;
|
|
1109
1108
|
/**
|
|
1110
1109
|
* Defines a reference of the DateTimePicker component
|
|
1111
1110
|
*/
|
|
@@ -1139,12 +1138,12 @@ declare class KitDatetimepickerComponent implements ControlValueAccessor {
|
|
|
1139
1138
|
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
1140
1139
|
*/
|
|
1141
1140
|
onTouched: () => void;
|
|
1142
|
-
writeValue(value: string): void;
|
|
1141
|
+
writeValue(value: string | Date | null): void;
|
|
1143
1142
|
registerOnChange(fn: (_: Date | null) => void): void;
|
|
1144
1143
|
registerOnTouched(fn: () => void): void;
|
|
1145
1144
|
setDisabledState(disabled: boolean): void;
|
|
1146
1145
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitDatetimepickerComponent, never>;
|
|
1147
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitDatetimepickerComponent, "kit-datetimepicker", never, { "label": { "alias": "label"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "format": { "alias": "format"; "required": false; }; "defaultDate": { "alias": "defaultDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "applyButtonText": { "alias": "applyButtonText"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
1146
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDatetimepickerComponent, "kit-datetimepicker", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "defaultDate": { "alias": "defaultDate"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "applyButtonText": { "alias": "applyButtonText"; "required": false; "isSignal": true; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "defaultDate": "defaultDateChange"; "changed": "changed"; }, never, never, true, never>;
|
|
1148
1147
|
}
|
|
1149
1148
|
|
|
1150
1149
|
declare enum KitNotificationType {
|
|
@@ -1221,39 +1220,39 @@ declare class KitAutocompleteComponent<T> implements ControlValueAccessor {
|
|
|
1221
1220
|
/**
|
|
1222
1221
|
* Defines a value that is going to be applied as an input label
|
|
1223
1222
|
*/
|
|
1224
|
-
label
|
|
1223
|
+
readonly label: InputSignal<string | undefined>;
|
|
1225
1224
|
/**
|
|
1226
1225
|
* Defines a value that is going to be applied as an input placeholder
|
|
1227
1226
|
*/
|
|
1228
|
-
placeholder
|
|
1227
|
+
readonly placeholder: InputSignal<string | undefined>;
|
|
1229
1228
|
/**
|
|
1230
1229
|
* Defines an items list which is going to be an autocomplete items data
|
|
1231
1230
|
*/
|
|
1232
|
-
items: KitAutocompleteItem<T>[]
|
|
1231
|
+
readonly items: InputSignal<KitAutocompleteItem<T>[]>;
|
|
1233
1232
|
/**
|
|
1234
1233
|
* An item which is going to be an autocomplete selected value
|
|
1235
1234
|
*/
|
|
1236
|
-
selectedValue: T | null
|
|
1235
|
+
readonly selectedValue: ModelSignal<T | null>;
|
|
1237
1236
|
/**
|
|
1238
1237
|
* Defines whether the component will be in disabled state
|
|
1239
1238
|
*/
|
|
1240
|
-
disabled
|
|
1239
|
+
readonly disabled: ModelSignal<boolean>;
|
|
1241
1240
|
/**
|
|
1242
1241
|
* Defines whether the loader will be visible or not
|
|
1243
1242
|
*/
|
|
1244
|
-
loaderVisible: boolean
|
|
1243
|
+
readonly loaderVisible: InputSignal<boolean>;
|
|
1245
1244
|
/**
|
|
1246
1245
|
* Defines an icon which will be used to the left of the info message
|
|
1247
1246
|
*/
|
|
1248
|
-
messageIcon
|
|
1247
|
+
readonly messageIcon: InputSignal<KitSvgIcon | undefined>;
|
|
1249
1248
|
/**
|
|
1250
1249
|
* Defines a value which going to be an info message text
|
|
1251
1250
|
*/
|
|
1252
|
-
messageText
|
|
1251
|
+
readonly messageText: InputSignal<string | undefined>;
|
|
1253
1252
|
/**
|
|
1254
1253
|
* Defines a state whether the component will be invalid
|
|
1255
1254
|
*/
|
|
1256
|
-
invalid
|
|
1255
|
+
readonly invalid: InputSignal<boolean>;
|
|
1257
1256
|
/**
|
|
1258
1257
|
* Specifies whether the autocomplete allows user-defined values
|
|
1259
1258
|
*/
|
|
@@ -1277,11 +1276,11 @@ declare class KitAutocompleteComponent<T> implements ControlValueAccessor {
|
|
|
1277
1276
|
/**
|
|
1278
1277
|
* An action which is emitted when input lost focus
|
|
1279
1278
|
*/
|
|
1280
|
-
blured:
|
|
1279
|
+
readonly blured: OutputEmitterRef<void>;
|
|
1281
1280
|
/**
|
|
1282
1281
|
* An action which is emitted when input field got focus
|
|
1283
1282
|
*/
|
|
1284
|
-
focused:
|
|
1283
|
+
readonly focused: OutputEmitterRef<void>;
|
|
1285
1284
|
private combobox;
|
|
1286
1285
|
/**
|
|
1287
1286
|
* Settings for popup that will be opened as dropdown options list
|
|
@@ -1319,7 +1318,7 @@ declare class KitAutocompleteComponent<T> implements ControlValueAccessor {
|
|
|
1319
1318
|
registerOnTouched(fn: () => void): void;
|
|
1320
1319
|
setDisabledState(disabled: boolean): void;
|
|
1321
1320
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitAutocompleteComponent<any>, never>;
|
|
1322
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitAutocompleteComponent<any>, "kit-autocomplete", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "items": { "alias": "items"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loaderVisible": { "alias": "loaderVisible"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "allowCustom": { "alias": "allowCustom"; "required": false; "isSignal": true; }; "closePopupIfDataNotFound": { "alias": "closePopupIfDataNotFound"; "required": false; "isSignal": true; }; }, { "filterChanged": "filterChanged"; "valueChanged": "valueChanged"; "selectionChanged": "selectionChanged"; "blured": "blured"; "focused": "focused"; }, never, never, true, never>;
|
|
1321
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitAutocompleteComponent<any>, "kit-autocomplete", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "selectedValue": { "alias": "selectedValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loaderVisible": { "alias": "loaderVisible"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "allowCustom": { "alias": "allowCustom"; "required": false; "isSignal": true; }; "closePopupIfDataNotFound": { "alias": "closePopupIfDataNotFound"; "required": false; "isSignal": true; }; }, { "selectedValue": "selectedValueChange"; "disabled": "disabledChange"; "filterChanged": "filterChanged"; "valueChanged": "valueChanged"; "selectionChanged": "selectionChanged"; "blured": "blured"; "focused": "focused"; }, never, never, true, never>;
|
|
1323
1322
|
}
|
|
1324
1323
|
|
|
1325
1324
|
declare class KitAutocompleteDirective<T> {
|
|
@@ -1396,40 +1395,41 @@ declare class KitToggleComponent implements ControlValueAccessor {
|
|
|
1396
1395
|
/**
|
|
1397
1396
|
* Defines a label text which will be displayed next to the toggle
|
|
1398
1397
|
*/
|
|
1399
|
-
label
|
|
1398
|
+
readonly label: InputSignal<string | undefined>;
|
|
1400
1399
|
/**
|
|
1401
1400
|
* Defines whether the component will be in disabled state
|
|
1402
1401
|
*/
|
|
1403
|
-
disabled: boolean
|
|
1402
|
+
readonly disabled: ModelSignal<boolean>;
|
|
1404
1403
|
/**
|
|
1405
1404
|
* Defines whether the component will be in readonly state
|
|
1406
1405
|
*/
|
|
1407
|
-
readonly: boolean
|
|
1406
|
+
readonly readonly: InputSignal<boolean>;
|
|
1408
1407
|
/**
|
|
1409
1408
|
* Defines a default value
|
|
1410
1409
|
*/
|
|
1411
|
-
defaultChecked: boolean
|
|
1410
|
+
readonly defaultChecked: ModelSignal<boolean>;
|
|
1412
1411
|
/**
|
|
1413
1412
|
* Defines the left label of the toggle
|
|
1414
1413
|
*/
|
|
1415
|
-
leftLabel
|
|
1414
|
+
readonly leftLabel: InputSignal<string | undefined>;
|
|
1416
1415
|
/**
|
|
1417
1416
|
* Defines the right label of the toggle
|
|
1418
1417
|
*/
|
|
1419
|
-
rightLabel
|
|
1418
|
+
readonly rightLabel: InputSignal<string | undefined>;
|
|
1420
1419
|
/**
|
|
1421
1420
|
* Defines an icon which will be used to the left of the info message
|
|
1422
1421
|
*/
|
|
1423
|
-
messageIcon
|
|
1422
|
+
readonly messageIcon: InputSignal<KitSvgIcon | undefined>;
|
|
1424
1423
|
/**
|
|
1425
1424
|
* Defines a value which going to be an info message text
|
|
1426
1425
|
*/
|
|
1427
|
-
messageText
|
|
1426
|
+
readonly messageText: InputSignal<string | undefined>;
|
|
1428
1427
|
readonly size: InputSignal<KitToggleSize>;
|
|
1429
1428
|
/**
|
|
1430
1429
|
* Occurs as soon as toggle state is changed
|
|
1431
1430
|
*/
|
|
1432
|
-
changed:
|
|
1431
|
+
readonly changed: OutputEmitterRef<boolean>;
|
|
1432
|
+
private readonly isFormControlled;
|
|
1433
1433
|
/**
|
|
1434
1434
|
* Function that is called when toggle state changed
|
|
1435
1435
|
*/
|
|
@@ -1447,7 +1447,7 @@ declare class KitToggleComponent implements ControlValueAccessor {
|
|
|
1447
1447
|
writeValue(value: boolean): void;
|
|
1448
1448
|
setDisabledState(disabled: boolean): void;
|
|
1449
1449
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitToggleComponent, never>;
|
|
1450
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitToggleComponent, "kit-toggle", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "defaultChecked": { "alias": "defaultChecked"; "required": false; }; "leftLabel": { "alias": "leftLabel"; "required": false; }; "rightLabel": { "alias": "rightLabel"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
1450
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitToggleComponent, "kit-toggle", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "defaultChecked": { "alias": "defaultChecked"; "required": false; "isSignal": true; }; "leftLabel": { "alias": "leftLabel"; "required": false; "isSignal": true; }; "rightLabel": { "alias": "rightLabel"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "defaultChecked": "defaultCheckedChange"; "changed": "changed"; }, never, never, true, never>;
|
|
1451
1451
|
}
|
|
1452
1452
|
|
|
1453
1453
|
interface KitOptionToggleOption {
|
|
@@ -1456,26 +1456,26 @@ interface KitOptionToggleOption {
|
|
|
1456
1456
|
}
|
|
1457
1457
|
|
|
1458
1458
|
declare class KitOptionToggleComponent implements ControlValueAccessor {
|
|
1459
|
-
readonly disabled:
|
|
1460
|
-
readonly defaultActiveOption:
|
|
1459
|
+
readonly disabled: ModelSignal<boolean>;
|
|
1460
|
+
readonly defaultActiveOption: ModelSignal<string | undefined>;
|
|
1461
1461
|
readonly leftOption: InputSignal<KitOptionToggleOption>;
|
|
1462
1462
|
readonly rightOption: InputSignal<KitOptionToggleOption>;
|
|
1463
|
-
readonly
|
|
1463
|
+
readonly handleChange: OutputEmitterRef<string>;
|
|
1464
1464
|
readonly name: string;
|
|
1465
1465
|
readonly leftOptionChecked: Signal<boolean>;
|
|
1466
1466
|
readonly rightOptionChecked: Signal<boolean>;
|
|
1467
|
-
private readonly
|
|
1468
|
-
toggleOption(): void;
|
|
1469
|
-
onChange(value: string)
|
|
1467
|
+
private readonly isFormControlled;
|
|
1468
|
+
toggleOption(option?: string): void;
|
|
1469
|
+
onChange: (value: string) => void;
|
|
1470
|
+
onTouched: () => void;
|
|
1470
1471
|
writeValue(value: string): void;
|
|
1471
1472
|
registerOnChange(fn: (value: string) => void): void;
|
|
1472
1473
|
registerOnTouched(fn: () => void): void;
|
|
1473
|
-
|
|
1474
|
-
private onTouchedFn;
|
|
1474
|
+
setDisabledState(disabled: boolean): void;
|
|
1475
1475
|
private buildUniqName;
|
|
1476
1476
|
private getFirstPartOfUUID;
|
|
1477
1477
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitOptionToggleComponent, never>;
|
|
1478
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitOptionToggleComponent, "kit-option-toggle", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "defaultActiveOption": { "alias": "defaultActiveOption"; "required": false; "isSignal": true; }; "leftOption": { "alias": "leftOption"; "required": true; "isSignal": true; }; "rightOption": { "alias": "rightOption"; "required": true; "isSignal": true; }; }, { "
|
|
1478
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitOptionToggleComponent, "kit-option-toggle", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "defaultActiveOption": { "alias": "defaultActiveOption"; "required": false; "isSignal": true; }; "leftOption": { "alias": "leftOption"; "required": true; "isSignal": true; }; "rightOption": { "alias": "rightOption"; "required": true; "isSignal": true; }; }, { "disabled": "disabledChange"; "defaultActiveOption": "defaultActiveOptionChange"; "handleChange": "handleChange"; }, never, never, true, never>;
|
|
1479
1479
|
}
|
|
1480
1480
|
|
|
1481
1481
|
declare enum KitPillType {
|
|
@@ -1609,83 +1609,83 @@ interface KitDaterangeValue {
|
|
|
1609
1609
|
end: Date | null;
|
|
1610
1610
|
}
|
|
1611
1611
|
declare class KitDaterangeComponent {
|
|
1612
|
-
type: KitDaterangeType
|
|
1612
|
+
readonly type: InputSignal<KitDaterangeType>;
|
|
1613
1613
|
/**
|
|
1614
1614
|
* Defines a value that is going to be applied as a daterange button label
|
|
1615
1615
|
*/
|
|
1616
|
-
label
|
|
1616
|
+
readonly label: InputSignal<string | undefined>;
|
|
1617
1617
|
/**
|
|
1618
1618
|
* Defines a value that is going to be applied as a daterange start input label
|
|
1619
1619
|
*/
|
|
1620
|
-
startLabel
|
|
1620
|
+
readonly startLabel: InputSignal<string | undefined>;
|
|
1621
1621
|
/**
|
|
1622
1622
|
* Defines a value that is going to be applied as a daterange end input label
|
|
1623
1623
|
*/
|
|
1624
|
-
endLabel
|
|
1624
|
+
readonly endLabel: InputSignal<string | undefined>;
|
|
1625
1625
|
/**
|
|
1626
1626
|
* Defines a value that is going to be applied as a daterange start input placeholder
|
|
1627
1627
|
*/
|
|
1628
|
-
startPlaceholder
|
|
1628
|
+
readonly startPlaceholder: InputSignal<string | undefined>;
|
|
1629
1629
|
/**
|
|
1630
1630
|
* Defines a value that is going to be applied as a daterange end input placeholder
|
|
1631
1631
|
*/
|
|
1632
|
-
endPlaceholder
|
|
1632
|
+
readonly endPlaceholder: InputSignal<string | undefined>;
|
|
1633
1633
|
/**
|
|
1634
1634
|
* Defines a value that is going to be applied as a daterange format
|
|
1635
1635
|
*/
|
|
1636
|
-
format: string
|
|
1636
|
+
readonly format: InputSignal<string>;
|
|
1637
1637
|
/**
|
|
1638
1638
|
* Defines a value that is going to be applied as a default daterange start date value
|
|
1639
1639
|
*/
|
|
1640
|
-
defaultStartDate
|
|
1640
|
+
readonly defaultStartDate: ModelSignal<Date | undefined>;
|
|
1641
1641
|
/**
|
|
1642
1642
|
* Defines a value that is going to be applied as a default daterange end date value
|
|
1643
1643
|
*/
|
|
1644
|
-
defaultEndDate
|
|
1644
|
+
readonly defaultEndDate: ModelSignal<Date | undefined>;
|
|
1645
1645
|
/**
|
|
1646
1646
|
* Specifies the smallest valid date
|
|
1647
1647
|
*/
|
|
1648
|
-
min
|
|
1648
|
+
readonly min: InputSignal<Date | undefined>;
|
|
1649
1649
|
/**
|
|
1650
1650
|
* Specifies the biggest valid date
|
|
1651
1651
|
*/
|
|
1652
|
-
max
|
|
1652
|
+
readonly max: InputSignal<Date | undefined>;
|
|
1653
1653
|
/**
|
|
1654
1654
|
* Defines whether the component will be in disabled state
|
|
1655
1655
|
*/
|
|
1656
|
-
disabled
|
|
1656
|
+
readonly disabled: ModelSignal<boolean>;
|
|
1657
1657
|
/**
|
|
1658
1658
|
* Defines a state whether the component will be invalid
|
|
1659
1659
|
*/
|
|
1660
|
-
invalid: boolean
|
|
1660
|
+
readonly invalid: InputSignal<boolean>;
|
|
1661
1661
|
/**
|
|
1662
1662
|
* Defines an icon which will be used to the left of the info message
|
|
1663
1663
|
*/
|
|
1664
|
-
messageIcon
|
|
1664
|
+
readonly messageIcon: InputSignal<KitSvgIcon | undefined>;
|
|
1665
1665
|
/**
|
|
1666
1666
|
* Defines a value which going to be an info message text
|
|
1667
1667
|
*/
|
|
1668
|
-
messageText
|
|
1668
|
+
readonly messageText: InputSignal<string | undefined>;
|
|
1669
1669
|
/**
|
|
1670
1670
|
* Defines a value that is going to be applied as a start date form control
|
|
1671
1671
|
*/
|
|
1672
|
-
startDateControl: AbstractControl
|
|
1672
|
+
readonly startDateControl: InputSignal<AbstractControl>;
|
|
1673
1673
|
/**
|
|
1674
1674
|
* Defines a value that is going to be applied as an end date form control
|
|
1675
1675
|
*/
|
|
1676
|
-
endDateControl: AbstractControl
|
|
1676
|
+
readonly endDateControl: InputSignal<AbstractControl>;
|
|
1677
1677
|
/**
|
|
1678
1678
|
* An action which is emitted when start date changed
|
|
1679
1679
|
*/
|
|
1680
|
-
startDateChanged:
|
|
1680
|
+
readonly startDateChanged: OutputEmitterRef<Date>;
|
|
1681
1681
|
/**
|
|
1682
1682
|
* An action which is emitted when daterange popup closed
|
|
1683
1683
|
*/
|
|
1684
|
-
closed:
|
|
1684
|
+
readonly closed: OutputEmitterRef<KitDaterangeValue>;
|
|
1685
1685
|
/**
|
|
1686
1686
|
* An action which is emitted when end date changed
|
|
1687
1687
|
*/
|
|
1688
|
-
endDateChanged:
|
|
1688
|
+
readonly endDateChanged: OutputEmitterRef<Date>;
|
|
1689
1689
|
popup: DateRangePopupComponent;
|
|
1690
1690
|
/**
|
|
1691
1691
|
* An icon which will be used in a daterange input icon
|
|
@@ -1698,7 +1698,7 @@ declare class KitDaterangeComponent {
|
|
|
1698
1698
|
onBlur(): void;
|
|
1699
1699
|
onClose(): void;
|
|
1700
1700
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitDaterangeComponent, never>;
|
|
1701
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitDaterangeComponent, "kit-daterange", never, { "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "startLabel": { "alias": "startLabel"; "required": false; }; "endLabel": { "alias": "endLabel"; "required": false; }; "startPlaceholder": { "alias": "startPlaceholder"; "required": false; }; "endPlaceholder": { "alias": "endPlaceholder"; "required": false; }; "format": { "alias": "format"; "required": false; }; "defaultStartDate": { "alias": "defaultStartDate"; "required": false; }; "defaultEndDate": { "alias": "defaultEndDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "startDateControl": { "alias": "startDateControl"; "required": false; }; "endDateControl": { "alias": "endDateControl"; "required": false; }; }, { "startDateChanged": "startDateChanged"; "closed": "closed"; "endDateChanged": "endDateChanged"; }, never, never, true, never>;
|
|
1701
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDaterangeComponent, "kit-daterange", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "startLabel": { "alias": "startLabel"; "required": false; "isSignal": true; }; "endLabel": { "alias": "endLabel"; "required": false; "isSignal": true; }; "startPlaceholder": { "alias": "startPlaceholder"; "required": false; "isSignal": true; }; "endPlaceholder": { "alias": "endPlaceholder"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "defaultStartDate": { "alias": "defaultStartDate"; "required": false; "isSignal": true; }; "defaultEndDate": { "alias": "defaultEndDate"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; "startDateControl": { "alias": "startDateControl"; "required": false; "isSignal": true; }; "endDateControl": { "alias": "endDateControl"; "required": false; "isSignal": true; }; }, { "defaultStartDate": "defaultStartDateChange"; "defaultEndDate": "defaultEndDateChange"; "disabled": "disabledChange"; "startDateChanged": "startDateChanged"; "closed": "closed"; "endDateChanged": "endDateChanged"; }, never, never, true, never>;
|
|
1702
1702
|
}
|
|
1703
1703
|
|
|
1704
1704
|
interface KitCtaPanelItem {
|
|
@@ -1824,13 +1824,13 @@ interface KitRadioButton<T> {
|
|
|
1824
1824
|
}
|
|
1825
1825
|
|
|
1826
1826
|
declare class KitRadioButtonComponent<T> implements ControlValueAccessor {
|
|
1827
|
-
items: KitRadioButton<T>[]
|
|
1828
|
-
label: string | null
|
|
1829
|
-
name: string
|
|
1830
|
-
readonly: boolean
|
|
1831
|
-
disabled: boolean
|
|
1832
|
-
type: KitRadioButtonType
|
|
1833
|
-
changed:
|
|
1827
|
+
readonly items: InputSignal<KitRadioButton<T>[]>;
|
|
1828
|
+
readonly label: InputSignal<string | null>;
|
|
1829
|
+
readonly name: InputSignal<string>;
|
|
1830
|
+
readonly readonly: InputSignal<boolean>;
|
|
1831
|
+
readonly disabled: ModelSignal<boolean>;
|
|
1832
|
+
readonly type: InputSignal<KitRadioButtonType>;
|
|
1833
|
+
readonly changed: OutputEmitterRef<KitRadioButton<T>>;
|
|
1834
1834
|
readonly kitRadioButtonType: typeof KitRadioButtonType;
|
|
1835
1835
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
1836
1836
|
readonly KitSvgIconType: typeof KitSvgIconType;
|
|
@@ -1848,7 +1848,7 @@ declare class KitRadioButtonComponent<T> implements ControlValueAccessor {
|
|
|
1848
1848
|
private getFirstPartOfUUID;
|
|
1849
1849
|
private needToPrevent;
|
|
1850
1850
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitRadioButtonComponent<any>, never>;
|
|
1851
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitRadioButtonComponent<any>, "kit-radio-button", never, { "items": { "alias": "items"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
1851
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitRadioButtonComponent<any>, "kit-radio-button", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "changed": "changed"; }, never, never, true, never>;
|
|
1852
1852
|
}
|
|
1853
1853
|
|
|
1854
1854
|
declare const buildRandomUUID: () => string;
|
|
@@ -1926,67 +1926,67 @@ declare class KitTimepickerComponent implements ControlValueAccessor {
|
|
|
1926
1926
|
/**
|
|
1927
1927
|
* Defines a value that is going to be applied as a timepicker label
|
|
1928
1928
|
*/
|
|
1929
|
-
label: string | null
|
|
1929
|
+
readonly label: InputSignal<string | null>;
|
|
1930
1930
|
/**
|
|
1931
1931
|
* Defines a value that is going to be applied as a timepicker placeholder
|
|
1932
1932
|
*/
|
|
1933
|
-
placeholder: string | null
|
|
1933
|
+
readonly placeholder: InputSignal<string | null>;
|
|
1934
1934
|
/**
|
|
1935
1935
|
* Defines a value that is going to be applied as a default timepicker value
|
|
1936
1936
|
*/
|
|
1937
|
-
defaultValue: Date | null
|
|
1937
|
+
readonly defaultValue: ModelSignal<Date | null>;
|
|
1938
1938
|
/**
|
|
1939
1939
|
* Defines whether 24-hour time format will be applied to timepicker component
|
|
1940
1940
|
*/
|
|
1941
|
-
longFormatEnabled: boolean
|
|
1941
|
+
readonly longFormatEnabled: InputSignal<boolean>;
|
|
1942
1942
|
/**
|
|
1943
1943
|
* Defines whether the component will be in disabled state
|
|
1944
1944
|
*/
|
|
1945
|
-
disabled: boolean
|
|
1945
|
+
readonly disabled: ModelSignal<boolean>;
|
|
1946
1946
|
/**
|
|
1947
1947
|
* Defines a state whether the component will be invalid
|
|
1948
1948
|
*/
|
|
1949
|
-
invalid: boolean
|
|
1949
|
+
readonly invalid: InputSignal<boolean>;
|
|
1950
1950
|
/**
|
|
1951
1951
|
* Specifies the smallest valid time value
|
|
1952
1952
|
*/
|
|
1953
|
-
min: Date | null
|
|
1953
|
+
readonly min: InputSignal<Date | null>;
|
|
1954
1954
|
/**
|
|
1955
1955
|
* Specifies the biggest valid time value
|
|
1956
1956
|
*/
|
|
1957
|
-
max: Date | null
|
|
1957
|
+
readonly max: InputSignal<Date | null>;
|
|
1958
1958
|
/**
|
|
1959
1959
|
* Defines the text of the Apply button in the popup footer of the component, "Apply" by default
|
|
1960
1960
|
*/
|
|
1961
|
-
applyButtonText: string
|
|
1961
|
+
readonly applyButtonText: InputSignal<string>;
|
|
1962
1962
|
/**
|
|
1963
1963
|
* Defines the text of the Cancel button in the popup footer of the component, "Cancel" by default
|
|
1964
1964
|
*/
|
|
1965
|
-
cancelButtonText: string
|
|
1965
|
+
readonly cancelButtonText: InputSignal<string>;
|
|
1966
1966
|
/**
|
|
1967
1967
|
* Defines an icon which will be used to the left of the info message
|
|
1968
1968
|
*/
|
|
1969
|
-
messageIcon
|
|
1969
|
+
readonly messageIcon: InputSignal<KitSvgIcon | undefined>;
|
|
1970
1970
|
/**
|
|
1971
1971
|
* Defines a value which going to be an info message text
|
|
1972
1972
|
*/
|
|
1973
|
-
messageText
|
|
1973
|
+
readonly messageText: InputSignal<string | undefined>;
|
|
1974
1974
|
/**
|
|
1975
1975
|
* An action which is emitted when timepicker popup opened
|
|
1976
1976
|
*/
|
|
1977
|
-
popupOpened:
|
|
1977
|
+
readonly popupOpened: OutputEmitterRef<void>;
|
|
1978
1978
|
/**
|
|
1979
1979
|
* An action which is emitted when timepicker popup closed
|
|
1980
1980
|
*/
|
|
1981
|
-
popupClosed:
|
|
1981
|
+
readonly popupClosed: OutputEmitterRef<void>;
|
|
1982
1982
|
/**
|
|
1983
1983
|
* An action which is emitted when timepicker value changed
|
|
1984
1984
|
*/
|
|
1985
|
-
changed:
|
|
1985
|
+
readonly changed: OutputEmitterRef<Date>;
|
|
1986
1986
|
/**
|
|
1987
1987
|
* An action which is emitted when timepicker input field lost focus
|
|
1988
1988
|
*/
|
|
1989
|
-
blured:
|
|
1989
|
+
readonly blured: OutputEmitterRef<void>;
|
|
1990
1990
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
1991
1991
|
readonly longTimeFormat: string;
|
|
1992
1992
|
readonly shortTimeFormat: string;
|
|
@@ -2000,7 +2000,7 @@ declare class KitTimepickerComponent implements ControlValueAccessor {
|
|
|
2000
2000
|
registerOnTouched(fn: () => void): void;
|
|
2001
2001
|
setDisabledState(disabled: boolean): void;
|
|
2002
2002
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimepickerComponent, never>;
|
|
2003
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimepickerComponent, "kit-timepicker", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "longFormatEnabled": { "alias": "longFormatEnabled"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "applyButtonText": { "alias": "applyButtonText"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; }, { "popupOpened": "popupOpened"; "popupClosed": "popupClosed"; "changed": "changed"; "blured": "blured"; }, never, never, true, never>;
|
|
2003
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimepickerComponent, "kit-timepicker", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "longFormatEnabled": { "alias": "longFormatEnabled"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "applyButtonText": { "alias": "applyButtonText"; "required": false; "isSignal": true; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; }, { "defaultValue": "defaultValueChange"; "disabled": "disabledChange"; "popupOpened": "popupOpened"; "popupClosed": "popupClosed"; "changed": "changed"; "blured": "blured"; }, never, never, true, never>;
|
|
2004
2004
|
}
|
|
2005
2005
|
|
|
2006
2006
|
declare enum KitSkeletonShape {
|
|
@@ -2450,43 +2450,43 @@ declare class KitDatepickerComponent implements ControlValueAccessor {
|
|
|
2450
2450
|
/**
|
|
2451
2451
|
* Defines a value that is going to be applied as a datepicker placeholder
|
|
2452
2452
|
*/
|
|
2453
|
-
placeholder
|
|
2453
|
+
readonly placeholder: InputSignal<string | undefined>;
|
|
2454
2454
|
/**
|
|
2455
2455
|
* Defines a value that is going to be applied as a datepicker label
|
|
2456
2456
|
*/
|
|
2457
|
-
label
|
|
2457
|
+
readonly label: InputSignal<string | undefined>;
|
|
2458
2458
|
/**
|
|
2459
2459
|
* Defines a value that is going to be applied as a datepicker label tooltip
|
|
2460
2460
|
*/
|
|
2461
|
-
labelTooltip
|
|
2461
|
+
readonly labelTooltip: InputSignal<string | undefined>;
|
|
2462
2462
|
/**
|
|
2463
2463
|
* Defines a value that is going to be applied as a default datepicker value
|
|
2464
2464
|
*/
|
|
2465
|
-
defaultDate
|
|
2465
|
+
readonly defaultDate: ModelSignal<Date | undefined>;
|
|
2466
2466
|
/**
|
|
2467
2467
|
* Defines whether the component will be in disabled state
|
|
2468
2468
|
*/
|
|
2469
|
-
disabled
|
|
2469
|
+
readonly disabled: ModelSignal<boolean>;
|
|
2470
2470
|
/**
|
|
2471
2471
|
* Defines a value that is going to be applied as a datepicker format
|
|
2472
2472
|
*/
|
|
2473
|
-
format: string
|
|
2473
|
+
readonly format: InputSignal<string>;
|
|
2474
2474
|
/**
|
|
2475
2475
|
* Specifies the smallest valid date
|
|
2476
2476
|
*/
|
|
2477
|
-
min
|
|
2477
|
+
readonly min: InputSignal<Date | undefined>;
|
|
2478
2478
|
/**
|
|
2479
2479
|
* Specifies the biggest valid date
|
|
2480
2480
|
*/
|
|
2481
|
-
max
|
|
2481
|
+
readonly max: InputSignal<Date | undefined>;
|
|
2482
2482
|
/**
|
|
2483
2483
|
* Defines an icon which will be used to the left of the info message
|
|
2484
2484
|
*/
|
|
2485
|
-
messageIcon
|
|
2485
|
+
readonly messageIcon: InputSignal<KitSvgIcon | undefined>;
|
|
2486
2486
|
/**
|
|
2487
2487
|
* Defines a value which going to be an info message text
|
|
2488
2488
|
*/
|
|
2489
|
-
messageText
|
|
2489
|
+
readonly messageText: InputSignal<string | undefined>;
|
|
2490
2490
|
/**
|
|
2491
2491
|
* Defines the size of the datepicker input field
|
|
2492
2492
|
*/
|
|
@@ -2494,7 +2494,7 @@ declare class KitDatepickerComponent implements ControlValueAccessor {
|
|
|
2494
2494
|
/**
|
|
2495
2495
|
* An action which is emitted when datepicker value changed
|
|
2496
2496
|
*/
|
|
2497
|
-
changed:
|
|
2497
|
+
readonly changed: OutputEmitterRef<Date>;
|
|
2498
2498
|
/**
|
|
2499
2499
|
* Defines a reference of the DatePicker component
|
|
2500
2500
|
*/
|
|
@@ -2513,12 +2513,12 @@ declare class KitDatepickerComponent implements ControlValueAccessor {
|
|
|
2513
2513
|
onBlur(): void;
|
|
2514
2514
|
onChange: (_value: Date) => void;
|
|
2515
2515
|
onTouched: () => void;
|
|
2516
|
-
writeValue(value: string): void;
|
|
2516
|
+
writeValue(value: string | Date): void;
|
|
2517
2517
|
registerOnChange(fn: (_: Date) => void): void;
|
|
2518
2518
|
registerOnTouched(fn: () => void): void;
|
|
2519
2519
|
setDisabledState(disabled: boolean): void;
|
|
2520
2520
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitDatepickerComponent, never>;
|
|
2521
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitDatepickerComponent, "kit-datepicker", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "defaultDate": { "alias": "defaultDate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "format": { "alias": "format"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
2521
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDatepickerComponent, "kit-datepicker", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; "isSignal": true; }; "defaultDate": { "alias": "defaultDate"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "defaultDate": "defaultDateChange"; "disabled": "disabledChange"; "changed": "changed"; }, never, never, true, never>;
|
|
2522
2522
|
}
|
|
2523
2523
|
|
|
2524
2524
|
interface KitProfileMenuItem {
|