@kms-ngx-ui/presentational 20.4.4 → 20.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,43 +1,43 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnInit, EventEmitter, DoCheck, Renderer2, ElementRef, ApplicationRef, ChangeDetectorRef, NgZone, OnChanges, AfterViewInit, WritableSignal, Signal, SimpleChanges, TemplateRef, OnDestroy, PipeTransform, AfterContentChecked, InputSignal, Type } from '@angular/core';
3
- import * as i52 from '@ngx-translate/core';
2
+ import { OnInit, EventEmitter, DoCheck, Renderer2, ElementRef, ApplicationRef, ChangeDetectorRef, NgZone, OnChanges, AfterViewInit, WritableSignal, Signal, SimpleChanges, TemplateRef, OnDestroy, PipeTransform, AfterContentChecked, InputSignal, AfterContentInit, QueryList, Type } from '@angular/core';
3
+ import * as i53 from '@ngx-translate/core';
4
4
  import { TranslateService } from '@ngx-translate/core';
5
- import * as i40 from '@angular/forms';
5
+ import * as i41 from '@angular/forms';
6
6
  import { ControlValueAccessor, FormControl, UntypedFormGroup, NgControl, AbstractControl, UntypedFormControl, FormArray, Validator, ValidationErrors, AsyncValidatorFn, ValidatorFn, FormGroup } from '@angular/forms';
7
- import * as i36 from '@angular/material/checkbox';
7
+ import * as i37 from '@angular/material/checkbox';
8
8
  import { MatCheckboxChange } from '@angular/material/checkbox';
9
9
  import { Subscription, Observable } from 'rxjs';
10
- import * as i39 from '@angular/material/dialog';
10
+ import * as i40 from '@angular/material/dialog';
11
11
  import { MatDialogRef } from '@angular/material/dialog';
12
- import * as i35 from '@angular/cdk/drag-drop';
12
+ import * as i36 from '@angular/cdk/drag-drop';
13
13
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
14
14
  import { SafeHtml, DomSanitizer, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
15
- import * as i51 from '@angular/material/slide-toggle';
15
+ import * as i52 from '@angular/material/slide-toggle';
16
16
  import { MatSlideToggleChange } from '@angular/material/slide-toggle';
17
17
  import { Placement } from '@floating-ui/dom';
18
- import * as i54 from '@angular-slider/ngx-slider';
18
+ import * as i55 from '@angular-slider/ngx-slider';
19
19
  import { Options, ChangeContext } from '@angular-slider/ngx-slider';
20
20
  export { ChangeContext as KmsSliderChange, Options as KmsSliderOptions } from '@angular-slider/ngx-slider';
21
21
  import * as _kms_ngx_ui_presentational from '@kms-ngx-ui/presentational';
22
- import * as i59 from '@angular/material/core';
22
+ import * as i60 from '@angular/material/core';
23
23
  import { ErrorStateMatcher } from '@angular/material/core';
24
24
  import * as i8 from '@angular/common';
25
25
  import { CurrencyPipe } from '@angular/common';
26
- import * as i37 from '@angular/material/button';
27
- import * as i38 from '@angular/material/radio';
28
- import * as i41 from '@angular/material/form-field';
29
- import * as i42 from '@angular/material/input';
30
- import * as i43 from '@angular/material/menu';
31
- import * as i45 from '@angular/google-maps';
32
- import * as i46 from '@angular/material/expansion';
33
- import * as i47 from '@angular/material/select';
34
- import * as i48 from 'ngx-mat-select-search';
35
- import * as i49 from '@angular/material/progress-spinner';
36
- import * as i53 from '@angular/material/tooltip';
37
- import * as i55 from '@angular/material/autocomplete';
38
- import * as i56 from '@angular/material/list';
39
- import * as i57 from '@angular/material/card';
40
- import * as i58 from '@angular/material/datepicker';
26
+ import * as i38 from '@angular/material/button';
27
+ import * as i39 from '@angular/material/radio';
28
+ import * as i42 from '@angular/material/form-field';
29
+ import * as i43 from '@angular/material/input';
30
+ import * as i44 from '@angular/material/menu';
31
+ import * as i46 from '@angular/google-maps';
32
+ import * as i47 from '@angular/material/expansion';
33
+ import * as i48 from '@angular/material/select';
34
+ import * as i49 from 'ngx-mat-select-search';
35
+ import * as i50 from '@angular/material/progress-spinner';
36
+ import * as i54 from '@angular/material/tooltip';
37
+ import * as i56 from '@angular/material/autocomplete';
38
+ import * as i57 from '@angular/material/list';
39
+ import * as i58 from '@angular/material/card';
40
+ import * as i59 from '@angular/material/datepicker';
41
41
  import { MatDatepicker } from '@angular/material/datepicker';
42
42
  import * as icons from '@ui-presentational/assets/icons.json';
43
43
 
@@ -99,7 +99,9 @@ declare class CheckboxComponent implements ControlValueAccessor {
99
99
  infoText: string;
100
100
  set checked(value: boolean);
101
101
  get checked(): boolean;
102
- disabled: boolean;
102
+ set disabled(value: boolean);
103
+ get disabled(): boolean;
104
+ private _disabled;
103
105
  /**
104
106
  * Internal description name. All checkboxes with the same name belong to the same group.
105
107
  * User can select none, one or all checkboxes with the same name.
@@ -1001,6 +1003,29 @@ declare class ButtonComponent {
1001
1003
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "kms-button", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, never, false, never>;
1002
1004
  }
1003
1005
 
1006
+ interface ButtonToggleOption {
1007
+ Text: string;
1008
+ Value: any;
1009
+ Icon?: string;
1010
+ Disabled?: boolean;
1011
+ }
1012
+ declare class ButtonToggleGroupComponent implements ControlValueAccessor {
1013
+ options: ButtonToggleOption[];
1014
+ disabled: boolean;
1015
+ rounded: boolean;
1016
+ value: any;
1017
+ readonly ButtonAppearance: typeof ButtonAppearance;
1018
+ readonly StylingTheme: typeof StylingTheme;
1019
+ onChange: (value: any) => void;
1020
+ onTouched: () => void;
1021
+ writeValue(value: any): void;
1022
+ registerOnChange(fn: any): void;
1023
+ registerOnTouched(fn: any): void;
1024
+ select(option: ButtonToggleOption): void;
1025
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonToggleGroupComponent, never>;
1026
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonToggleGroupComponent, "kms-button-toggle-group", never, { "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
1027
+ }
1028
+
1004
1029
  declare class NumericInputComponent implements ControlValueAccessor {
1005
1030
  disabled: _angular_core.ModelSignal<boolean>;
1006
1031
  min: _angular_core.InputSignal<number>;
@@ -1669,10 +1694,40 @@ declare class DateInputComponent implements ControlValueAccessor {
1669
1694
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateInputComponent, "kms-date-input", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "monthPicker": { "alias": "monthPicker"; "required": false; "isSignal": true; }; "startView": { "alias": "startView"; "required": false; "isSignal": true; }; }, { "dateChange": "dateChange"; "rangeChange": "rangeChange"; }, never, never, true, never>;
1670
1695
  }
1671
1696
 
1697
+ interface KmsTab {
1698
+ /** Text displayed in the tab label. */
1699
+ label: string;
1700
+ /** Optional count badge displayed next to the label. */
1701
+ count?: number;
1702
+ }
1703
+
1704
+ declare class KmsTabContentDirective {
1705
+ templateRef: TemplateRef<unknown>;
1706
+ constructor(templateRef: TemplateRef<unknown>);
1707
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<KmsTabContentDirective, never>;
1708
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<KmsTabContentDirective, "ng-template[kmsTabContent]", never, {}, {}, never, never, true, never>;
1709
+ }
1710
+ declare class TabGroupComponent implements AfterContentInit {
1711
+ /** Tab definitions with label and optional count. When omitted, mat-tab children are projected directly. */
1712
+ tabs: _angular_core.InputSignal<KmsTab[]>;
1713
+ /** Index of the initially selected tab. */
1714
+ selectedIndex: _angular_core.InputSignal<number>;
1715
+ /** Emits the new index whenever the user switches tabs. */
1716
+ selectedIndexChange: _angular_core.OutputEmitterRef<number>;
1717
+ /** Whether to disable the Material ripple effect on tabs. */
1718
+ disableRipple: _angular_core.InputSignal<boolean>;
1719
+ tabContents: QueryList<KmsTabContentDirective>;
1720
+ contentTemplates: TemplateRef<unknown>[];
1721
+ ngAfterContentInit(): void;
1722
+ onTabChange(index: number): void;
1723
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabGroupComponent, never>;
1724
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabGroupComponent, "kms-tab-group", never, { "tabs": { "alias": "tabs"; "required": false; "isSignal": true; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; "disableRipple": { "alias": "disableRipple"; "required": false; "isSignal": true; }; }, { "selectedIndexChange": "selectedIndexChange"; }, ["tabContents"], ["*"], true, never>;
1725
+ }
1726
+
1672
1727
  declare class KmsUiPresentationalModule {
1673
1728
  constructor(translate: TranslateService);
1674
1729
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<KmsUiPresentationalModule, never>;
1675
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<KmsUiPresentationalModule, [typeof BackToTopComponent, typeof CheckboxComponent, typeof ColorInputComponent, typeof DropdownFromDataComponent, typeof EnumRadiogroupComponent, typeof FileInputComponent, typeof ImageUploadComponent, typeof FlyoutComponent, typeof ConfirmationDialogComponent, typeof ImageSliderComponent, typeof KMSAccordionItemComponent, typeof KmsUiPresentationalComponent, typeof LoaderComponent, typeof MapComponent, typeof RadioButtonComponent, typeof RadioGroupComponent, typeof SalutationDropdownComponent, typeof SalutationRadiogroupComponent, typeof SlideToggleComponent, typeof TimeInputComponent, typeof TooltipIconComponent, typeof YesNoRadiogroupComponent, typeof PasswordComponent, typeof SliderComponent, typeof CardComponent, typeof ButtonComponent, typeof NumericInputComponent, typeof GenericFormComponent, typeof FormSectionComponent, typeof FormFieldComponent, typeof FormActionsComponent, typeof DynamicFieldDirective, typeof TextInputComponent], [typeof i8.CommonModule, typeof i35.DragDropModule, typeof i36.MatCheckboxModule, typeof i37.MatButtonModule, typeof i38.MatRadioModule, typeof i39.MatDialogModule, typeof i40.FormsModule, typeof i40.ReactiveFormsModule, typeof i41.MatFormFieldModule, typeof i42.MatInputModule, typeof i43.MatMenuModule, typeof CustomPipesModule, typeof i45.GoogleMapsModule, typeof i46.MatExpansionModule, typeof i47.MatSelectModule, typeof i48.NgxMatSelectSearchModule, typeof i49.MatProgressSpinnerModule, typeof DirectivesModule, typeof i51.MatSlideToggleModule, typeof i52.TranslateModule, typeof i53.MatTooltipModule, typeof i54.NgxSliderModule, typeof i55.MatAutocompleteModule, typeof i56.MatListModule, typeof i57.MatCardModule, typeof i58.MatDatepickerModule, typeof i59.MatNativeDateModule, typeof IconComponent, typeof InlineAlertComponent, typeof DateInputComponent], [typeof BackToTopComponent, typeof CheckboxComponent, typeof ColorInputComponent, typeof DropdownFromDataComponent, typeof EnumRadiogroupComponent, typeof RadioGroupComponent, typeof FileInputComponent, typeof ImageUploadComponent, typeof FlyoutComponent, typeof ConfirmationDialogComponent, typeof IconComponent, typeof ImageSliderComponent, typeof InlineAlertComponent, typeof KMSAccordionItemComponent, typeof KmsUiPresentationalComponent, typeof LoaderComponent, typeof MapComponent, typeof RadioButtonComponent, typeof SalutationDropdownComponent, typeof SalutationRadiogroupComponent, typeof SlideToggleComponent, typeof TimeInputComponent, typeof TooltipIconComponent, typeof YesNoRadiogroupComponent, typeof PasswordComponent, typeof SliderComponent, typeof CardComponent, typeof ButtonComponent, typeof NumericInputComponent, typeof GenericFormComponent, typeof FormSectionComponent, typeof FormActionsComponent, typeof DynamicFieldDirective, typeof DateInputComponent, typeof TextInputComponent]>;
1730
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<KmsUiPresentationalModule, [typeof BackToTopComponent, typeof CheckboxComponent, typeof ColorInputComponent, typeof DropdownFromDataComponent, typeof EnumRadiogroupComponent, typeof FileInputComponent, typeof ImageUploadComponent, typeof FlyoutComponent, typeof ConfirmationDialogComponent, typeof ImageSliderComponent, typeof KMSAccordionItemComponent, typeof KmsUiPresentationalComponent, typeof LoaderComponent, typeof MapComponent, typeof RadioButtonComponent, typeof RadioGroupComponent, typeof SalutationDropdownComponent, typeof SalutationRadiogroupComponent, typeof SlideToggleComponent, typeof TimeInputComponent, typeof TooltipIconComponent, typeof YesNoRadiogroupComponent, typeof PasswordComponent, typeof SliderComponent, typeof CardComponent, typeof ButtonComponent, typeof ButtonToggleGroupComponent, typeof NumericInputComponent, typeof GenericFormComponent, typeof FormSectionComponent, typeof FormFieldComponent, typeof FormActionsComponent, typeof DynamicFieldDirective, typeof TextInputComponent], [typeof i8.CommonModule, typeof i36.DragDropModule, typeof i37.MatCheckboxModule, typeof i38.MatButtonModule, typeof i39.MatRadioModule, typeof i40.MatDialogModule, typeof i41.FormsModule, typeof i41.ReactiveFormsModule, typeof i42.MatFormFieldModule, typeof i43.MatInputModule, typeof i44.MatMenuModule, typeof CustomPipesModule, typeof i46.GoogleMapsModule, typeof i47.MatExpansionModule, typeof i48.MatSelectModule, typeof i49.NgxMatSelectSearchModule, typeof i50.MatProgressSpinnerModule, typeof DirectivesModule, typeof i52.MatSlideToggleModule, typeof i53.TranslateModule, typeof i54.MatTooltipModule, typeof i55.NgxSliderModule, typeof i56.MatAutocompleteModule, typeof i57.MatListModule, typeof i58.MatCardModule, typeof i59.MatDatepickerModule, typeof i60.MatNativeDateModule, typeof IconComponent, typeof InlineAlertComponent, typeof DateInputComponent, typeof TabGroupComponent, typeof KmsTabContentDirective], [typeof BackToTopComponent, typeof CheckboxComponent, typeof ColorInputComponent, typeof DropdownFromDataComponent, typeof EnumRadiogroupComponent, typeof RadioGroupComponent, typeof FileInputComponent, typeof ImageUploadComponent, typeof FlyoutComponent, typeof ConfirmationDialogComponent, typeof IconComponent, typeof ImageSliderComponent, typeof InlineAlertComponent, typeof KMSAccordionItemComponent, typeof KmsUiPresentationalComponent, typeof LoaderComponent, typeof MapComponent, typeof RadioButtonComponent, typeof SalutationDropdownComponent, typeof SalutationRadiogroupComponent, typeof SlideToggleComponent, typeof TimeInputComponent, typeof TooltipIconComponent, typeof YesNoRadiogroupComponent, typeof PasswordComponent, typeof SliderComponent, typeof CardComponent, typeof ButtonComponent, typeof ButtonToggleGroupComponent, typeof NumericInputComponent, typeof GenericFormComponent, typeof FormSectionComponent, typeof FormActionsComponent, typeof DynamicFieldDirective, typeof DateInputComponent, typeof TextInputComponent, typeof TabGroupComponent, typeof KmsTabContentDirective]>;
1676
1731
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<KmsUiPresentationalModule>;
1677
1732
  }
1678
1733
 
@@ -1857,7 +1912,7 @@ declare function noSpecialCharsOnly(): ValidatorFn;
1857
1912
  */
1858
1913
  declare class GenericFormModule {
1859
1914
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GenericFormModule, never>;
1860
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GenericFormModule, never, [typeof i52.TranslateModule], never>;
1915
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GenericFormModule, never, [typeof i53.TranslateModule], never>;
1861
1916
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<GenericFormModule>;
1862
1917
  }
1863
1918
 
@@ -1908,5 +1963,5 @@ declare class FieldRegistryService {
1908
1963
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<FieldRegistryService>;
1909
1964
  }
1910
1965
 
1911
- export { BackToTopComponent, Breakpoint, ButtonAppearance, ButtonComponent, ButtonResponseType, CardComponent, CheckboxComponent, Color, ColorInputComponent, ConfirmationDialogComponent, CustomPipesModule, DateInputComponent, DirectivesModule, DropdownFromDataComponent, DynamicFieldDirective, EnumRadiogroupComponent, FieldRegistryService, FieldType, FileInputComponent, FlyoutComponent, FormActionsComponent, FormFieldComponent, FormLayout, FormParentComponent, FormSectionComponent, GenericFormComponent, GenericFormModule, GenericFormService, GetMaxHeightDirective, IconComponent, IconSizePx, IconSizesArr, ImageSliderComponent, ImageSnippet$1 as ImageSnippet, ImageSourceType$1 as ImageSourceType, ImageUploadComponent, InlineAlertComponent, IntegerCurrency, KMSAccordionItemComponent, KeyValuePair, KmsUiPresentationalComponent, KmsUiPresentationalModule, KmsUiPresentationalService, LabelValuePair, LoaderComponent, MapComponent, Marker, MarkerLabel, MarkerOptions, NumericInputComponent, PasswordComponent, RadioButtonComponent, RadioButtonSize, RadioGroupComponent, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, SalutationDropdownComponent, SalutationEnum, SalutationRadiogroupComponent, SanitizeNullPipe, SimpleBreakpoint, SlideToggleComponent, SliderComponent, StylingTheme, SwipeDirective, TextInputComponent, TextValuePair, TextValuePairArray, TimeDirective, TimeInputComponent, TooltipDirective, TooltipIconComponent, TrimPipe, TypeofPipe, ViewportService, WindowDimensions, YesNoRadiogroupComponent, noSpecialCharsOnly, noWhitespaceOnly };
1912
- export type { AsyncValidatorConfig, AutocompleteFieldOptions, CounterFieldOptions, DateFieldOptions, DateRangeFieldOptions, DateRangeValue, DialogConfig, DialogData, DisabledConfig, ErrorDisplayConfig, ErrorDisplayStrategy, FieldAffixConfig, FieldConfig, FieldTypeOptions, FormActionsConfig, FormSectionConfig, GenericFormConfig, GenericFormState, GridAlign, GridVerticalAlign, ImagePosition, ImageUploadFieldOptions, InlineAlertType, NullAble, NumberFieldOptions, PasswordFieldOptions, RadioGroupFieldOptions, RadiobuttonInterface, SelectFieldOptions, SelectTranslation, TextareaFieldOptions, TimeFieldOptions, ValidatorConfig };
1966
+ export { BackToTopComponent, Breakpoint, ButtonAppearance, ButtonComponent, ButtonResponseType, ButtonToggleGroupComponent, CardComponent, CheckboxComponent, Color, ColorInputComponent, ConfirmationDialogComponent, CustomPipesModule, DateInputComponent, DirectivesModule, DropdownFromDataComponent, DynamicFieldDirective, EnumRadiogroupComponent, FieldRegistryService, FieldType, FileInputComponent, FlyoutComponent, FormActionsComponent, FormFieldComponent, FormLayout, FormParentComponent, FormSectionComponent, GenericFormComponent, GenericFormModule, GenericFormService, GetMaxHeightDirective, IconComponent, IconSizePx, IconSizesArr, ImageSliderComponent, ImageSnippet$1 as ImageSnippet, ImageSourceType$1 as ImageSourceType, ImageUploadComponent, InlineAlertComponent, IntegerCurrency, KMSAccordionItemComponent, KeyValuePair, KmsTabContentDirective, KmsUiPresentationalComponent, KmsUiPresentationalModule, KmsUiPresentationalService, LabelValuePair, LoaderComponent, MapComponent, Marker, MarkerLabel, MarkerOptions, NumericInputComponent, PasswordComponent, RadioButtonComponent, RadioButtonSize, RadioGroupComponent, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, SalutationDropdownComponent, SalutationEnum, SalutationRadiogroupComponent, SanitizeNullPipe, SimpleBreakpoint, SlideToggleComponent, SliderComponent, StylingTheme, SwipeDirective, TabGroupComponent, TextInputComponent, TextValuePair, TextValuePairArray, TimeDirective, TimeInputComponent, TooltipDirective, TooltipIconComponent, TrimPipe, TypeofPipe, ViewportService, WindowDimensions, YesNoRadiogroupComponent, noSpecialCharsOnly, noWhitespaceOnly };
1967
+ export type { AsyncValidatorConfig, AutocompleteFieldOptions, ButtonToggleOption, CounterFieldOptions, DateFieldOptions, DateRangeFieldOptions, DateRangeValue, DialogConfig, DialogData, DisabledConfig, ErrorDisplayConfig, ErrorDisplayStrategy, FieldAffixConfig, FieldConfig, FieldTypeOptions, FormActionsConfig, FormSectionConfig, GenericFormConfig, GenericFormState, GridAlign, GridVerticalAlign, ImagePosition, ImageUploadFieldOptions, InlineAlertType, KmsTab, NullAble, NumberFieldOptions, PasswordFieldOptions, RadioGroupFieldOptions, RadiobuttonInterface, SelectFieldOptions, SelectTranslation, TextareaFieldOptions, TimeFieldOptions, ValidatorConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kms-ngx-ui/presentational",
3
- "version": "20.4.4",
3
+ "version": "20.8.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^20.2.14",
6
6
  "@angular/common": "^20.3.15",
@@ -1 +1 @@
1
- ["alert-outline","arrow-down","arrow-left","arrow-right-left","arrow-right","arrow-top","arrow-up-down","arrows-left","blocked","calendar","camera","cardealer","checkbox_active","checkbox_inactive","checkbox_inner","checkmark-circle","checkmark-filled","chevron-down","chevron-left","chevron-right","chevron-top","circle","clock","close-circle","close","cog","collapse-right","create","credit","diamond","distance_range","download","drag1","edit-circle","efficiency","electro-cable","ellipse","end","exclamation","export-all","facebook","file-download","file-upload","filter-outline","filter","floating_button","floating_button_clear","fullscreen","hearth-thick","ic-invoice","ic-policy","ic_GEZ","ic_Voucher","ic_abbrechen-filled","ic_abbrechen","ic_ai","ic_back","ic_bereifung","ic_bezeichnung","ic_booking","ic_cancel_form","ic_car","ic_check","ic_check_form","ic_checkin-checkout","ic_co2","ic_credit-card","ic_edit","ic_energie","ic_equipment","ic_extras","ic_eye","ic_eye_active","ic_filter","ic_form_error","ic_form_finished","ic_gkm","ic_heart","ic_heart_filled","ic_historie","ic_history","ic_home","ic_home_new","ic_inclusivekm","ic_info","ic_kraftstoff","ic_language","ic_large-arrow","ic_last","ic_laufleistung","ic_left","ic_lkm","ic_lock","ic_menu","ic_minus","ic_new-car","ic_next","ic_pickup","ic_pin","ic_plus-circle","ic_plus","ic_radiobutton_active","ic_radiobutton_inactive","ic_redirect","ic_return","ic_schaltung","ic_settings","ic_shops","ic_side_front","ic_side_front_left","ic_side_front_left_tire","ic_side_front_right","ic_side_front_right_tire","ic_side_front_zoomed","ic_side_rear","ic_side_rear_left","ic_side_rear_left_tire","ic_side_rear_right","ic_side_rear_right_tire","ic_slider","ic_spezification","ic_steuer_versicherung","ic_tool","ic_tooltip_drag","ic_used-car","ic_vertrag","ic_wartung_verschleiss","ic_zulassung","image","instagram","insurance","kms-logo-white","kms-logo","large-arrow","linkedin","mail","map","mileage","move-list-left","move-list-right","palette","pdf","polestar","position","price-tag","print","profile-filled","profile","profile2","question-circle","question-filled","question","rent","search","security","special_entry","star-outline","star","start","submenu-dots","subscription","support","trash","tumblr","twitter","tyre","upload","user-circle","users","water","whatsapp","width","xing","youtube","zahlung_active","zahlungsanforderung"]
1
+ ["alert-outline","arrow-down","arrow-left","arrow-right-left","arrow-right","arrow-top","arrow-up-down","arrows-left","blocked","calendar","camera","cardealer","checkbox_active","checkbox_inactive","checkbox_inner","checkmark-circle","checkmark-filled","chevron-down","chevron-left","chevron-right","chevron-top","circle","clock","close-circle","close","cog","collapse-right","create","credit","diamond","distance_range","download","drag1","edit-circle","efficiency","electro-cable","ellipse","end","exclamation","export-all","facebook","file-download","file-upload","filter-outline","filter","floating_button","floating_button_clear","fullscreen","hearth-thick","ic-invoice","ic-policy","ic_GEZ","ic_Voucher","ic_abbrechen-filled","ic_abbrechen","ic_ai","ic_back","ic_bereifung","ic_bezeichnung","ic_booking","ic_cancel_form","ic_car","ic_check","ic_check_form","ic_checkin-checkout","ic_co2","ic_credit-card","ic_edit","ic_energie","ic_equipment","ic_extras","ic_eye","ic_eye_active","ic_filter","ic_form_error","ic_form_finished","ic_gkm","ic_heart","ic_heart_filled","ic_historie","ic_history","ic_home","ic_home_new","ic_inclusivekm","ic_info","ic_kraftstoff","ic_language","ic_large-arrow","ic_last","ic_laufleistung","ic_left","ic_lkm","ic_lock","ic_menu","ic_minus","ic_new-car","ic_next","ic_pickup","ic_pin","ic_plus-circle","ic_plus","ic_radiobutton_active","ic_radiobutton_inactive","ic_redirect","ic_return","ic_schaltung","ic_settings","ic_shops","ic_side_front","ic_side_front_left","ic_side_front_left_tire","ic_side_front_right","ic_side_front_right_tire","ic_side_front_zoomed","ic_side_rear","ic_side_rear_left","ic_side_rear_left_tire","ic_side_rear_right","ic_side_rear_right_tire","ic_slider","ic_spezification","ic_steuer_versicherung","ic_tool","ic_tooltip_drag","ic_used-car","ic_vertrag","ic_wartung_verschleiss","ic_zulassung","image","instagram","insurance","kms-logo-white","kms-logo","large-arrow","link","linkedin","mail","map","mileage","move-list-left","move-list-right","palette","pdf","polestar","position","price-tag","print","profile-filled","profile","profile2","question-circle","question-filled","question","rent","search","security","special_entry","star-outline","star","start","submenu-dots","subscription","support","trash","tumblr","twitter","tyre","upload","user-circle","users","water","whatsapp","width","xing","youtube","zahlung_active","zahlungsanforderung"]
@@ -29,7 +29,7 @@ import { ComponentName } from '@kms-ngx-ui/presentational';
29
29
  | Name | Type | Default | Description |
30
30
  |------|------|---------|-------------|
31
31
  | `checked` | `boolean` | `-` | |
32
- | `disabled` | `boolean` | `false` | |
32
+ | `disabled` | `boolean` | `-` | |
33
33
  | `infoText` | `string` | `''` | |
34
34
  | `name` | `string` | `''` | Internal description name. All checkboxes with the same name belong to the same group. User can select none, one or all checkboxes with the same name. |
35
35
 
@@ -171,6 +171,16 @@ Component to show marker on google map for specific address
171
171
  |------|------|
172
172
  | `buttonClick` | `Event` |
173
173
 
174
+ ### `<kms-button-toggle-group>` — ButtonToggleGroupComponent
175
+
176
+ **Inputs:**
177
+ | Name | Type | Default | Description |
178
+ |------|------|---------|-------------|
179
+ | `disabled` | `boolean` | `false` | |
180
+ | `options` | `ButtonToggleOption[]` | `[]` | |
181
+ | `rounded` | `boolean` | `false` | |
182
+ | `value` | `any` | `null` | |
183
+
174
184
  ### `<kms-color-input>` — ColorInputComponent
175
185
 
176
186
  **Inputs:**
@@ -389,6 +399,20 @@ A generic dialog component
389
399
  | `onSelectItemEmitter` | `EventEmitter` |
390
400
  | `formDataChanged` | `EventEmitter<UntypedFormGroup>` |
391
401
 
402
+ ### `<kms-tab-group>` — TabGroupComponent
403
+
404
+ **Inputs:**
405
+ | Name | Type | Default | Description |
406
+ |------|------|---------|-------------|
407
+ | `disableRipple` | `any` | `true` | Whether to disable the Material ripple effect on tabs. |
408
+ | `selectedIndex` | `number` | `0` | Index of the initially selected tab. |
409
+ | `tabs` | `KmsTab[]` | `-` | Tab definitions with label and optional count. When omitted, mat-tab children are projected directly. |
410
+
411
+ **Outputs:**
412
+ | Name | Type |
413
+ |------|------|
414
+ | `selectedIndexChange` | `number` |
415
+
392
416
  ### `<kms-text-input>` — TextInputComponent
393
417
 
394
418
  **Inputs:**
@@ -528,6 +552,9 @@ Directive to calc the height of all inner elements
528
552
  | `getMaxHeight` | `string` | `''` | CSS class name of the child items (markup elements) that should be checked for their height. This is mandatory. |
529
553
 
530
554
 
555
+ ### `[ng-template[kmsTabContent]]` — KmsTabContentDirective
556
+
557
+
531
558
  ### `[[swipeDirective]]` — SwipeDirective
532
559
 
533
560
  **Inputs:**
@@ -681,6 +708,12 @@ Usage: `value | kmsTypeOf`
681
708
  - `minChars`: `number` (optional)
682
709
  - `selectFirst`: `boolean` (optional)
683
710
 
711
+ ### ButtonToggleOption
712
+ - `Disabled`: `boolean` (optional)
713
+ - `Icon`: `string` (optional)
714
+ - `Text`: `string`
715
+ - `Value`: `any`
716
+
684
717
  ### ColorGroup
685
718
  - `colors`: `literal type[]`
686
719
  - `name`: `string`
@@ -847,6 +880,10 @@ Usage: `value | kmsTypeOf`
847
880
  - `service`: `any`
848
881
  - `useKeyAsValue`: `boolean` (optional)
849
882
 
883
+ ### KmsTab
884
+ - `count`: `number` (optional)
885
+ - `label`: `string`
886
+
850
887
  ### NumberFieldOptions
851
888
  - `max`: `number` (optional)
852
889
  - `min`: `number` (optional)
@@ -1073,5 +1110,5 @@ Usage: `value | kmsTypeOf`
1073
1110
 
1074
1111
  ## Icons
1075
1112
 
1076
- 176 icons available for `<kms-icon icon="name">`.
1113
+ 177 icons available for `<kms-icon icon="name">`.
1077
1114
  See `icons.json` (same directory as this file) for the full list of icon names.