@kms-ngx-ui/presentational 20.8.0 → 20.8.1

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, AfterContentInit, QueryList, Type } from '@angular/core';
3
- import * as i53 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, InjectionToken, Type } from '@angular/core';
3
+ import * as i52 from '@ngx-translate/core';
4
4
  import { TranslateService } from '@ngx-translate/core';
5
- import * as i41 from '@angular/forms';
5
+ import * as i40 from '@angular/forms';
6
6
  import { ControlValueAccessor, FormControl, UntypedFormGroup, NgControl, AbstractControl, UntypedFormControl, FormArray, Validator, ValidationErrors, AsyncValidatorFn, ValidatorFn, FormGroup } from '@angular/forms';
7
- import * as i37 from '@angular/material/checkbox';
7
+ import * as i36 from '@angular/material/checkbox';
8
8
  import { MatCheckboxChange } from '@angular/material/checkbox';
9
9
  import { Subscription, Observable } from 'rxjs';
10
- import * as i40 from '@angular/material/dialog';
10
+ import * as i39 from '@angular/material/dialog';
11
11
  import { MatDialogRef } from '@angular/material/dialog';
12
- import * as i36 from '@angular/cdk/drag-drop';
12
+ import * as i35 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 i52 from '@angular/material/slide-toggle';
15
+ import * as i51 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 i55 from '@angular-slider/ngx-slider';
18
+ import * as i54 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 i60 from '@angular/material/core';
22
+ import * as i59 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 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';
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';
41
41
  import { MatDatepicker } from '@angular/material/datepicker';
42
42
  import * as icons from '@ui-presentational/assets/icons.json';
43
43
 
@@ -808,17 +808,6 @@ declare enum SalutationEnum {
808
808
  FEMALE = "Frau"
809
809
  }
810
810
 
811
- declare class SalutationDropdownComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
812
- renderer: Renderer2;
813
- placeholder: NullAble<string>;
814
- SalutationEnum: typeof SalutationEnum;
815
- Object: ObjectConstructor;
816
- constructor(renderer: Renderer2);
817
- ngOnInit(): void;
818
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<SalutationDropdownComponent, never>;
819
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SalutationDropdownComponent, "kms-salutation-dropdown", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, false, never>;
820
- }
821
-
822
811
  declare class SalutationRadiogroupComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
823
812
  renderer: Renderer2;
824
813
  SalutationEnum: typeof SalutationEnum;
@@ -1611,6 +1600,7 @@ declare class DirectivesModule {
1611
1600
 
1612
1601
  declare class IconComponent {
1613
1602
  sanitizer: DomSanitizer;
1603
+ spriteUrl: string;
1614
1604
  /**
1615
1605
  * Required: Name of the SVG icon inside your sprite sheet file with name 'icons.svg'.
1616
1606
  * Pass 'none' if no icon should be rendered.
@@ -1727,7 +1717,7 @@ declare class TabGroupComponent implements AfterContentInit {
1727
1717
  declare class KmsUiPresentationalModule {
1728
1718
  constructor(translate: TranslateService);
1729
1719
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<KmsUiPresentationalModule, never>;
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]>;
1720
+ 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 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 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 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 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]>;
1731
1721
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<KmsUiPresentationalModule>;
1732
1722
  }
1733
1723
 
@@ -1892,6 +1882,15 @@ declare enum ButtonResponseType {
1892
1882
  secondary = "secondary"
1893
1883
  }
1894
1884
 
1885
+ /**
1886
+ * Base URL used by `kms-icon` to resolve the SVG sprite sheet referenced
1887
+ * by `<use xlink:href>`. Override this when the consuming app is loaded
1888
+ * from a different origin than the host page (e.g. an Angular Element
1889
+ * widget embedded in a third-party site), so the browser resolves the
1890
+ * sprite against the bundle's location instead of the host page.
1891
+ */
1892
+ declare const KMS_SPRITE_URL: InjectionToken<string>;
1893
+
1895
1894
  declare function noWhitespaceOnly(): ValidatorFn;
1896
1895
  declare function noSpecialCharsOnly(): ValidatorFn;
1897
1896
 
@@ -1912,7 +1911,7 @@ declare function noSpecialCharsOnly(): ValidatorFn;
1912
1911
  */
1913
1912
  declare class GenericFormModule {
1914
1913
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GenericFormModule, never>;
1915
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GenericFormModule, never, [typeof i53.TranslateModule], never>;
1914
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GenericFormModule, never, [typeof i52.TranslateModule], never>;
1916
1915
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<GenericFormModule>;
1917
1916
  }
1918
1917
 
@@ -1963,5 +1962,5 @@ declare class FieldRegistryService {
1963
1962
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<FieldRegistryService>;
1964
1963
  }
1965
1964
 
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 };
1965
+ 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, KMS_SPRITE_URL, KeyValuePair, KmsTabContentDirective, KmsUiPresentationalComponent, KmsUiPresentationalModule, KmsUiPresentationalService, LabelValuePair, LoaderComponent, MapComponent, Marker, MarkerLabel, MarkerOptions, NumericInputComponent, PasswordComponent, RadioButtonComponent, RadioButtonSize, RadioGroupComponent, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, SalutationEnum, SalutationRadiogroupComponent, SanitizeNullPipe, SimpleBreakpoint, SlideToggleComponent, SliderComponent, StylingTheme, SwipeDirective, TabGroupComponent, TextInputComponent, TextValuePair, TextValuePairArray, TimeDirective, TimeInputComponent, TooltipDirective, TooltipIconComponent, TrimPipe, TypeofPipe, ViewportService, WindowDimensions, YesNoRadiogroupComponent, noSpecialCharsOnly, noWhitespaceOnly };
1967
1966
  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.8.0",
3
+ "version": "20.8.1",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^20.2.14",
6
6
  "@angular/common": "^20.3.15",
@@ -370,21 +370,6 @@ A generic dialog component
370
370
  | `size` | `RadioButtonSize` | `RadioButtonSize.MD` | |
371
371
  | `value` | `any` | `null` | |
372
372
 
373
- ### `<kms-salutation-dropdown>` — SalutationDropdownComponent
374
-
375
- **Inputs:**
376
- | Name | Type | Default | Description |
377
- |------|------|---------|-------------|
378
- | `placeholder` | `NullAble<string>` | `-` | |
379
- | `defaultDataOverride` | `string` | `''` | |
380
- | `disabled` | `boolean` | `false` | |
381
-
382
- **Outputs:**
383
- | Name | Type |
384
- |------|------|
385
- | `onSelectItemEmitter` | `EventEmitter` |
386
- | `formDataChanged` | `EventEmitter<UntypedFormGroup>` |
387
-
388
373
  ### `<kms-salutation-radiogroup>` — SalutationRadiogroupComponent
389
374
 
390
375
  **Inputs:**