@siemens/ix-angular 2.5.0 → 2.6.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.
Files changed (33) hide show
  1. package/components.d.ts +184 -21
  2. package/control-value-accessors/boolean-value-accessor.d.ts +10 -0
  3. package/control-value-accessors/date-value-accessor.d.ts +9 -0
  4. package/control-value-accessors/index.d.ts +5 -0
  5. package/control-value-accessors/radio-value-accessor.d.ts +10 -0
  6. package/control-value-accessors/select-value-accessor.d.ts +9 -0
  7. package/control-value-accessors/text-value-accessor.d.ts +9 -0
  8. package/{value-accessor.d.ts → control-value-accessors/value-accessor.d.ts} +12 -6
  9. package/declare-components.d.ts +1 -1
  10. package/esm2020/app-initialize.mjs +2 -2
  11. package/esm2020/components.mjs +324 -60
  12. package/esm2020/control-value-accessors/boolean-value-accessor.mjs +49 -0
  13. package/esm2020/control-value-accessors/date-value-accessor.mjs +45 -0
  14. package/esm2020/control-value-accessors/index.mjs +14 -0
  15. package/esm2020/control-value-accessors/radio-value-accessor.mjs +51 -0
  16. package/esm2020/control-value-accessors/select-value-accessor.mjs +45 -0
  17. package/esm2020/control-value-accessors/text-value-accessor.mjs +48 -0
  18. package/esm2020/control-value-accessors/value-accessor.mjs +125 -0
  19. package/esm2020/declare-components.mjs +13 -3
  20. package/esm2020/index.mjs +2 -3
  21. package/esm2020/module.mjs +22 -10
  22. package/fesm2015/siemens-ix-angular.mjs +696 -177
  23. package/fesm2015/siemens-ix-angular.mjs.map +1 -1
  24. package/fesm2020/siemens-ix-angular.mjs +696 -177
  25. package/fesm2020/siemens-ix-angular.mjs.map +1 -1
  26. package/index.d.ts +1 -2
  27. package/module.d.ts +6 -3
  28. package/package.json +2 -2
  29. package/boolean-value-accessor.d.ts +0 -9
  30. package/esm2020/boolean-value-accessor.mjs +0 -38
  31. package/esm2020/select-value-accessor.mjs +0 -35
  32. package/esm2020/value-accessor.mjs +0 -40
  33. package/select-value-accessor.d.ts +0 -8
@@ -1,85 +1,13 @@
1
1
  import { closeModal, dismissModal, showModal, themeSwitcher, getToastContainer, toast } from '@siemens/ix';
2
2
  export * from '@siemens/ix';
3
- import * as i0 from '@angular/core';
4
- import { Directive, HostListener, Component, ChangeDetectionStrategy, Input, Type, Injector, ElementRef, Injectable, EventEmitter, Output, APP_INITIALIZER, NgZone, NgModule } from '@angular/core';
5
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
3
  import { __decorate } from 'tslib';
4
+ import * as i0 from '@angular/core';
5
+ import { Component, ChangeDetectionStrategy, Directive, Input, Type, Injector, ElementRef, Injectable, HostListener, EventEmitter, Output, APP_INITIALIZER, NgZone, NgModule } from '@angular/core';
7
6
  import { fromEvent } from 'rxjs';
7
+ import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
8
8
  import { DOCUMENT } from '@angular/common';
9
- import { defineCustomElements as defineCustomElements$1 } from '@siemens/ix-icons/loader';
10
- import { defineCustomElements } from '@siemens/ix/loader';
11
-
12
- class ValueAccessor {
13
- constructor(el) {
14
- this.el = el;
15
- this.onChange = () => { };
16
- this.onTouched = () => { };
17
- }
18
- writeValue(value) {
19
- this.el.nativeElement.value = this.lastValue = value == null ? '' : value;
20
- }
21
- handleChangeEvent(value) {
22
- if (value !== this.lastValue) {
23
- this.lastValue = value;
24
- this.onChange(value);
25
- }
26
- }
27
- _handleBlurEvent() {
28
- this.onTouched();
29
- }
30
- registerOnChange(fn) {
31
- this.onChange = fn;
32
- }
33
- registerOnTouched(fn) {
34
- this.onTouched = fn;
35
- }
36
- setDisabledState(isDisabled) {
37
- this.el.nativeElement.disabled = isDisabled;
38
- }
39
- }
40
- /** @nocollapse */ ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
41
- /** @nocollapse */ ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: ValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ValueAccessor, decorators: [{
43
- type: Directive,
44
- args: [{}]
45
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
46
- type: HostListener,
47
- args: ['focusout']
48
- }] } });
49
-
50
- class BooleanValueAccessor extends ValueAccessor {
51
- constructor(el) {
52
- super(el);
53
- }
54
- writeValue(value) {
55
- this.el.nativeElement.checked = this.lastValue = value == null ? false : value;
56
- }
57
- }
58
- /** @nocollapse */ BooleanValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BooleanValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
59
- /** @nocollapse */ BooleanValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: BooleanValueAccessor, selector: "ix-toggle[ngModel],ix-toggle[formControlName],ix-toggle[formControl]", host: { listeners: { "checkedChange": "handleChangeEvent($event.target.checked)" } }, providers: [
60
- {
61
- provide: NG_VALUE_ACCESSOR,
62
- useExisting: BooleanValueAccessor,
63
- multi: true
64
- }
65
- ], usesInheritance: true, ngImport: i0 });
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BooleanValueAccessor, decorators: [{
67
- type: Directive,
68
- args: [{
69
- /* tslint:disable-next-line:directive-selector */
70
- selector: 'ix-toggle[ngModel],ix-toggle[formControlName],ix-toggle[formControl]',
71
- host: {
72
- '(checkedChange)': 'handleChangeEvent($event.target.checked)'
73
- },
74
- providers: [
75
- {
76
- provide: NG_VALUE_ACCESSOR,
77
- useExisting: BooleanValueAccessor,
78
- multi: true
79
- }
80
- ]
81
- }]
82
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
9
+ import { defineCustomElements } from '@siemens/ix-icons/loader';
10
+ import { defineCustomElements as defineCustomElements$1 } from '@siemens/ix/loader';
83
11
 
84
12
  /* eslint-disable */
85
13
  const proxyInputs = (Cmp, inputs) => {
@@ -479,7 +407,7 @@ let IxCategoryFilter = class IxCategoryFilter {
479
407
  this.z = z;
480
408
  c.detach();
481
409
  this.el = r.nativeElement;
482
- proxyOutputs(this, this.el, ['categoryChanged', 'inputChanged', 'filterChanged']);
410
+ proxyOutputs(this, this.el, ['categoryChanged', 'inputChanged', 'filterChanged', 'filterCleared']);
483
411
  }
484
412
  };
485
413
  /** @nocollapse */ IxCategoryFilter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxCategoryFilter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
@@ -499,6 +427,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
499
427
  inputs: ['categories', 'disabled', 'filterState', 'hideIcon', 'i18nPlainText', 'icon', 'labelCategories', 'nonSelectableCategories', 'placeholder', 'readonly', 'repeatCategories', 'staticOperator', 'suggestions'],
500
428
  }]
501
429
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
430
+ let IxCheckbox = class IxCheckbox {
431
+ constructor(c, r, z) {
432
+ this.z = z;
433
+ c.detach();
434
+ this.el = r.nativeElement;
435
+ proxyOutputs(this, this.el, ['checkedChange', 'valueChange']);
436
+ }
437
+ };
438
+ /** @nocollapse */ IxCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
439
+ /** @nocollapse */ IxCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxCheckbox, selector: "ix-checkbox", inputs: { checked: "checked", disabled: "disabled", indeterminate: "indeterminate", label: "label", name: "name", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
440
+ IxCheckbox = __decorate([
441
+ ProxyCmp({
442
+ inputs: ['checked', 'disabled', 'indeterminate', 'label', 'name', 'required', 'value']
443
+ })
444
+ ], IxCheckbox);
445
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxCheckbox, decorators: [{
446
+ type: Component,
447
+ args: [{
448
+ selector: 'ix-checkbox',
449
+ changeDetection: ChangeDetectionStrategy.OnPush,
450
+ template: '<ng-content></ng-content>',
451
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
452
+ inputs: ['checked', 'disabled', 'indeterminate', 'label', 'name', 'required', 'value'],
453
+ }]
454
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
455
+ let IxCheckboxGroup = class IxCheckboxGroup {
456
+ constructor(c, r, z) {
457
+ this.z = z;
458
+ c.detach();
459
+ this.el = r.nativeElement;
460
+ }
461
+ };
462
+ /** @nocollapse */ IxCheckboxGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxCheckboxGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
463
+ /** @nocollapse */ IxCheckboxGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxCheckboxGroup, selector: "ix-checkbox-group", inputs: { direction: "direction", helperText: "helperText", infoText: "infoText", invalidText: "invalidText", label: "label", showTextAsTooltip: "showTextAsTooltip", validText: "validText", warningText: "warningText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
464
+ IxCheckboxGroup = __decorate([
465
+ ProxyCmp({
466
+ inputs: ['direction', 'helperText', 'infoText', 'invalidText', 'label', 'showTextAsTooltip', 'validText', 'warningText']
467
+ })
468
+ ], IxCheckboxGroup);
469
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxCheckboxGroup, decorators: [{
470
+ type: Component,
471
+ args: [{
472
+ selector: 'ix-checkbox-group',
473
+ changeDetection: ChangeDetectionStrategy.OnPush,
474
+ template: '<ng-content></ng-content>',
475
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
476
+ inputs: ['direction', 'helperText', 'infoText', 'invalidText', 'label', 'showTextAsTooltip', 'validText', 'warningText'],
477
+ }]
478
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
502
479
  let IxChip = class IxChip {
503
480
  constructor(c, r, z) {
504
481
  this.z = z;
@@ -595,6 +572,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
595
572
  inputs: ['hasBackButton', 'headerSubtitle', 'headerTitle', 'variant'],
596
573
  }]
597
574
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
575
+ let IxCustomField = class IxCustomField {
576
+ constructor(c, r, z) {
577
+ this.z = z;
578
+ c.detach();
579
+ this.el = r.nativeElement;
580
+ }
581
+ };
582
+ /** @nocollapse */ IxCustomField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxCustomField, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
583
+ /** @nocollapse */ IxCustomField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxCustomField, selector: "ix-custom-field", inputs: { helperText: "helperText", infoText: "infoText", invalidText: "invalidText", label: "label", required: "required", showTextAsTooltip: "showTextAsTooltip", validText: "validText", warningText: "warningText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
584
+ IxCustomField = __decorate([
585
+ ProxyCmp({
586
+ inputs: ['helperText', 'infoText', 'invalidText', 'label', 'required', 'showTextAsTooltip', 'validText', 'warningText']
587
+ })
588
+ ], IxCustomField);
589
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxCustomField, decorators: [{
590
+ type: Component,
591
+ args: [{
592
+ selector: 'ix-custom-field',
593
+ changeDetection: ChangeDetectionStrategy.OnPush,
594
+ template: '<ng-content></ng-content>',
595
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
596
+ inputs: ['helperText', 'infoText', 'invalidText', 'label', 'required', 'showTextAsTooltip', 'validText', 'warningText'],
597
+ }]
598
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
598
599
  let IxDateDropdown = class IxDateDropdown {
599
600
  constructor(c, r, z) {
600
601
  this.z = z;
@@ -604,10 +605,10 @@ let IxDateDropdown = class IxDateDropdown {
604
605
  }
605
606
  };
606
607
  /** @nocollapse */ IxDateDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxDateDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
607
- /** @nocollapse */ IxDateDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxDateDropdown, selector: "ix-date-dropdown", inputs: { customRangeAllowed: "customRangeAllowed", dateRangeId: "dateRangeId", dateRangeOptions: "dateRangeOptions", disabled: "disabled", format: "format", from: "from", i18nCustomItem: "i18nCustomItem", i18nDone: "i18nDone", i18nNoRange: "i18nNoRange", maxDate: "maxDate", minDate: "minDate", range: "range", to: "to" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
608
+ /** @nocollapse */ IxDateDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxDateDropdown, selector: "ix-date-dropdown", inputs: { customRangeAllowed: "customRangeAllowed", dateRangeId: "dateRangeId", dateRangeOptions: "dateRangeOptions", disabled: "disabled", format: "format", from: "from", i18nCustomItem: "i18nCustomItem", i18nDone: "i18nDone", i18nNoRange: "i18nNoRange", locale: "locale", maxDate: "maxDate", minDate: "minDate", range: "range", to: "to", weekStartIndex: "weekStartIndex" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
608
609
  IxDateDropdown = __decorate([
609
610
  ProxyCmp({
610
- inputs: ['customRangeAllowed', 'dateRangeId', 'dateRangeOptions', 'disabled', 'format', 'from', 'i18nCustomItem', 'i18nDone', 'i18nNoRange', 'maxDate', 'minDate', 'range', 'to'],
611
+ inputs: ['customRangeAllowed', 'dateRangeId', 'dateRangeOptions', 'disabled', 'format', 'from', 'i18nCustomItem', 'i18nDone', 'i18nNoRange', 'locale', 'maxDate', 'minDate', 'range', 'to', 'weekStartIndex'],
611
612
  methods: ['getDateRange']
612
613
  })
613
614
  ], IxDateDropdown);
@@ -618,7 +619,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
618
619
  changeDetection: ChangeDetectionStrategy.OnPush,
619
620
  template: '<ng-content></ng-content>',
620
621
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
621
- inputs: ['customRangeAllowed', 'dateRangeId', 'dateRangeOptions', 'disabled', 'format', 'from', 'i18nCustomItem', 'i18nDone', 'i18nNoRange', 'maxDate', 'minDate', 'range', 'to'],
622
+ inputs: ['customRangeAllowed', 'dateRangeId', 'dateRangeOptions', 'disabled', 'format', 'from', 'i18nCustomItem', 'i18nDone', 'i18nNoRange', 'locale', 'maxDate', 'minDate', 'range', 'to', 'weekStartIndex'],
623
+ }]
624
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
625
+ let IxDateInput = class IxDateInput {
626
+ constructor(c, r, z) {
627
+ this.z = z;
628
+ c.detach();
629
+ this.el = r.nativeElement;
630
+ proxyOutputs(this, this.el, ['valueChange', 'validityStateChange']);
631
+ }
632
+ };
633
+ /** @nocollapse */ IxDateInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxDateInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
634
+ /** @nocollapse */ IxDateInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxDateInput, selector: "ix-date-input", inputs: { disabled: "disabled", format: "format", helperText: "helperText", i18nErrorDateUnparsable: "i18nErrorDateUnparsable", infoText: "infoText", invalidText: "invalidText", label: "label", locale: "locale", name: "name", placeholder: "placeholder", readonly: "readonly", required: "required", showTextAsTooltip: "showTextAsTooltip", validText: "validText", value: "value", warningText: "warningText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
635
+ IxDateInput = __decorate([
636
+ ProxyCmp({
637
+ inputs: ['disabled', 'format', 'helperText', 'i18nErrorDateUnparsable', 'infoText', 'invalidText', 'label', 'locale', 'name', 'placeholder', 'readonly', 'required', 'showTextAsTooltip', 'validText', 'value', 'warningText'],
638
+ methods: ['getNativeInputElement', 'focusInput']
639
+ })
640
+ ], IxDateInput);
641
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxDateInput, decorators: [{
642
+ type: Component,
643
+ args: [{
644
+ selector: 'ix-date-input',
645
+ changeDetection: ChangeDetectionStrategy.OnPush,
646
+ template: '<ng-content></ng-content>',
647
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
648
+ inputs: ['disabled', 'format', 'helperText', 'i18nErrorDateUnparsable', 'infoText', 'invalidText', 'label', 'locale', 'name', 'placeholder', 'readonly', 'required', 'showTextAsTooltip', 'validText', 'value', 'warningText'],
622
649
  }]
623
650
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
624
651
  let IxDatePicker = class IxDatePicker {
@@ -940,6 +967,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
940
967
  inputs: ['fullWidth', 'icon', 'placeholder', 'value'],
941
968
  }]
942
969
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
970
+ let IxFieldLabel = class IxFieldLabel {
971
+ constructor(c, r, z) {
972
+ this.z = z;
973
+ c.detach();
974
+ this.el = r.nativeElement;
975
+ }
976
+ };
977
+ /** @nocollapse */ IxFieldLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxFieldLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
978
+ /** @nocollapse */ IxFieldLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxFieldLabel, selector: "ix-field-label", inputs: { htmlFor: "htmlFor", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
979
+ IxFieldLabel = __decorate([
980
+ ProxyCmp({
981
+ inputs: ['htmlFor', 'required']
982
+ })
983
+ ], IxFieldLabel);
984
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxFieldLabel, decorators: [{
985
+ type: Component,
986
+ args: [{
987
+ selector: 'ix-field-label',
988
+ changeDetection: ChangeDetectionStrategy.OnPush,
989
+ template: '<ng-content></ng-content>',
990
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
991
+ inputs: ['htmlFor', 'required'],
992
+ }]
993
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
943
994
  let IxFilterChip = class IxFilterChip {
944
995
  constructor(c, r, z) {
945
996
  this.z = z;
@@ -1011,30 +1062,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
1011
1062
  inputs: [],
1012
1063
  }]
1013
1064
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1014
- let IxFormField = class IxFormField {
1015
- constructor(c, r, z) {
1016
- this.z = z;
1017
- c.detach();
1018
- this.el = r.nativeElement;
1019
- }
1020
- };
1021
- /** @nocollapse */ IxFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxFormField, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1022
- /** @nocollapse */ IxFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxFormField, selector: "ix-form-field", inputs: { label: "label" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1023
- IxFormField = __decorate([
1024
- ProxyCmp({
1025
- inputs: ['label']
1026
- })
1027
- ], IxFormField);
1028
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxFormField, decorators: [{
1029
- type: Component,
1030
- args: [{
1031
- selector: 'ix-form-field',
1032
- changeDetection: ChangeDetectionStrategy.OnPush,
1033
- template: '<ng-content></ng-content>',
1034
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1035
- inputs: ['label'],
1036
- }]
1037
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1038
1065
  let IxGroup = class IxGroup {
1039
1066
  constructor(c, r, z) {
1040
1067
  this.z = z;
@@ -1107,6 +1134,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
1107
1134
  inputs: ['focusable', 'icon', 'index', 'secondaryText', 'selected', 'suppressSelection', 'text'],
1108
1135
  }]
1109
1136
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1137
+ let IxHelperText = class IxHelperText {
1138
+ constructor(c, r, z) {
1139
+ this.z = z;
1140
+ c.detach();
1141
+ this.el = r.nativeElement;
1142
+ }
1143
+ };
1144
+ /** @nocollapse */ IxHelperText.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxHelperText, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1145
+ /** @nocollapse */ IxHelperText.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxHelperText, selector: "ix-helper-text", inputs: { helperText: "helperText", htmlFor: "htmlFor", infoText: "infoText", invalidText: "invalidText", validText: "validText", warningText: "warningText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1146
+ IxHelperText = __decorate([
1147
+ ProxyCmp({
1148
+ inputs: ['helperText', 'htmlFor', 'infoText', 'invalidText', 'validText', 'warningText']
1149
+ })
1150
+ ], IxHelperText);
1151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxHelperText, decorators: [{
1152
+ type: Component,
1153
+ args: [{
1154
+ selector: 'ix-helper-text',
1155
+ changeDetection: ChangeDetectionStrategy.OnPush,
1156
+ template: '<ng-content></ng-content>',
1157
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1158
+ inputs: ['helperText', 'htmlFor', 'infoText', 'invalidText', 'validText', 'warningText'],
1159
+ }]
1160
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1110
1161
  let IxIconButton = class IxIconButton {
1111
1162
  constructor(c, r, z) {
1112
1163
  this.z = z;
@@ -1156,6 +1207,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
1156
1207
  inputs: ['disabled', 'ghost', 'icon', 'loading', 'outline', 'pressed', 'size', 'variant'],
1157
1208
  }]
1158
1209
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1210
+ let IxInput = class IxInput {
1211
+ constructor(c, r, z) {
1212
+ this.z = z;
1213
+ c.detach();
1214
+ this.el = r.nativeElement;
1215
+ proxyOutputs(this, this.el, ['valueChange', 'validityStateChange', 'ixBlur']);
1216
+ }
1217
+ };
1218
+ /** @nocollapse */ IxInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1219
+ /** @nocollapse */ IxInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxInput, selector: "ix-input", inputs: { allowedCharactersPattern: "allowedCharactersPattern", disabled: "disabled", helperText: "helperText", infoText: "infoText", invalidText: "invalidText", label: "label", maxLength: "maxLength", minLength: "minLength", name: "name", pattern: "pattern", placeholder: "placeholder", readonly: "readonly", required: "required", showTextAsTooltip: "showTextAsTooltip", type: "type", validText: "validText", value: "value", warningText: "warningText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1220
+ IxInput = __decorate([
1221
+ ProxyCmp({
1222
+ inputs: ['allowedCharactersPattern', 'disabled', 'helperText', 'infoText', 'invalidText', 'label', 'maxLength', 'minLength', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'showTextAsTooltip', 'type', 'validText', 'value', 'warningText'],
1223
+ methods: ['getNativeInputElement', 'focusInput']
1224
+ })
1225
+ ], IxInput);
1226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxInput, decorators: [{
1227
+ type: Component,
1228
+ args: [{
1229
+ selector: 'ix-input',
1230
+ changeDetection: ChangeDetectionStrategy.OnPush,
1231
+ template: '<ng-content></ng-content>',
1232
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1233
+ inputs: ['allowedCharactersPattern', 'disabled', 'helperText', 'infoText', 'invalidText', 'label', 'maxLength', 'minLength', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'showTextAsTooltip', 'type', 'validText', 'value', 'warningText'],
1234
+ }]
1235
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1159
1236
  let IxInputGroup = class IxInputGroup {
1160
1237
  constructor(c, r, z) {
1161
1238
  this.z = z;
@@ -1250,6 +1327,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
1250
1327
  inputs: ['label', 'orientation', 'state', 'unit', 'value'],
1251
1328
  }]
1252
1329
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1330
+ let IxLayoutAuto = class IxLayoutAuto {
1331
+ constructor(c, r, z) {
1332
+ this.z = z;
1333
+ c.detach();
1334
+ this.el = r.nativeElement;
1335
+ }
1336
+ };
1337
+ /** @nocollapse */ IxLayoutAuto.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxLayoutAuto, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1338
+ /** @nocollapse */ IxLayoutAuto.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxLayoutAuto, selector: "ix-layout-auto", inputs: { layout: "layout" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1339
+ IxLayoutAuto = __decorate([
1340
+ ProxyCmp({
1341
+ inputs: ['layout']
1342
+ })
1343
+ ], IxLayoutAuto);
1344
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxLayoutAuto, decorators: [{
1345
+ type: Component,
1346
+ args: [{
1347
+ selector: 'ix-layout-auto',
1348
+ changeDetection: ChangeDetectionStrategy.OnPush,
1349
+ template: '<ng-content></ng-content>',
1350
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1351
+ inputs: ['layout'],
1352
+ }]
1353
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1253
1354
  let IxLayoutGrid = class IxLayoutGrid {
1254
1355
  constructor(c, r, z) {
1255
1356
  this.z = z;
@@ -1671,28 +1772,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
1671
1772
  inputs: [],
1672
1773
  }]
1673
1774
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1674
- let IxModalExample = class IxModalExample {
1675
- constructor(c, r, z) {
1676
- this.z = z;
1677
- c.detach();
1678
- this.el = r.nativeElement;
1679
- }
1680
- };
1681
- /** @nocollapse */ IxModalExample.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModalExample, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1682
- /** @nocollapse */ IxModalExample.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxModalExample, selector: "ix-modal-example", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1683
- IxModalExample = __decorate([
1684
- ProxyCmp({})
1685
- ], IxModalExample);
1686
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModalExample, decorators: [{
1687
- type: Component,
1688
- args: [{
1689
- selector: 'ix-modal-example',
1690
- changeDetection: ChangeDetectionStrategy.OnPush,
1691
- template: '<ng-content></ng-content>',
1692
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1693
- inputs: [],
1694
- }]
1695
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1696
1775
  let IxModalFooter = class IxModalFooter {
1697
1776
  constructor(c, r, z) {
1698
1777
  this.z = z;
@@ -1740,6 +1819,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
1740
1819
  inputs: ['hideClose', 'icon', 'iconColor'],
1741
1820
  }]
1742
1821
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1822
+ let IxNumberInput = class IxNumberInput {
1823
+ constructor(c, r, z) {
1824
+ this.z = z;
1825
+ c.detach();
1826
+ this.el = r.nativeElement;
1827
+ proxyOutputs(this, this.el, ['valueChange', 'validityStateChange', 'ixBlur']);
1828
+ }
1829
+ };
1830
+ /** @nocollapse */ IxNumberInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxNumberInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1831
+ /** @nocollapse */ IxNumberInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxNumberInput, selector: "ix-number-input", inputs: { allowedCharactersPattern: "allowedCharactersPattern", disabled: "disabled", helperText: "helperText", infoText: "infoText", invalidText: "invalidText", label: "label", max: "max", min: "min", name: "name", pattern: "pattern", placeholder: "placeholder", readonly: "readonly", required: "required", showStepperButtons: "showStepperButtons", showTextAsTooltip: "showTextAsTooltip", validText: "validText", value: "value", warningText: "warningText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1832
+ IxNumberInput = __decorate([
1833
+ ProxyCmp({
1834
+ inputs: ['allowedCharactersPattern', 'disabled', 'helperText', 'infoText', 'invalidText', 'label', 'max', 'min', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'showStepperButtons', 'showTextAsTooltip', 'validText', 'value', 'warningText'],
1835
+ methods: ['getNativeInputElement', 'focusInput']
1836
+ })
1837
+ ], IxNumberInput);
1838
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxNumberInput, decorators: [{
1839
+ type: Component,
1840
+ args: [{
1841
+ selector: 'ix-number-input',
1842
+ changeDetection: ChangeDetectionStrategy.OnPush,
1843
+ template: '<ng-content></ng-content>',
1844
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1845
+ inputs: ['allowedCharactersPattern', 'disabled', 'helperText', 'infoText', 'invalidText', 'label', 'max', 'min', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'showStepperButtons', 'showTextAsTooltip', 'validText', 'value', 'warningText'],
1846
+ }]
1847
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1743
1848
  let IxPagination = class IxPagination {
1744
1849
  constructor(c, r, z) {
1745
1850
  this.z = z;
@@ -1862,6 +1967,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
1862
1967
  inputs: ['collapse', 'heading', 'icon', 'notification', 'subheading', 'variant'],
1863
1968
  }]
1864
1969
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1970
+ let IxRadio = class IxRadio {
1971
+ constructor(c, r, z) {
1972
+ this.z = z;
1973
+ c.detach();
1974
+ this.el = r.nativeElement;
1975
+ proxyOutputs(this, this.el, ['checkedChange', 'valueChange']);
1976
+ }
1977
+ };
1978
+ /** @nocollapse */ IxRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1979
+ /** @nocollapse */ IxRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxRadio, selector: "ix-radio", inputs: { checked: "checked", disabled: "disabled", label: "label", name: "name", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1980
+ IxRadio = __decorate([
1981
+ ProxyCmp({
1982
+ inputs: ['checked', 'disabled', 'label', 'name', 'value']
1983
+ })
1984
+ ], IxRadio);
1985
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxRadio, decorators: [{
1986
+ type: Component,
1987
+ args: [{
1988
+ selector: 'ix-radio',
1989
+ changeDetection: ChangeDetectionStrategy.OnPush,
1990
+ template: '<ng-content></ng-content>',
1991
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1992
+ inputs: ['checked', 'disabled', 'label', 'name', 'value'],
1993
+ }]
1994
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1995
+ let IxRadioGroup = class IxRadioGroup {
1996
+ constructor(c, r, z) {
1997
+ this.z = z;
1998
+ c.detach();
1999
+ this.el = r.nativeElement;
2000
+ proxyOutputs(this, this.el, ['valueChange']);
2001
+ }
2002
+ };
2003
+ /** @nocollapse */ IxRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2004
+ /** @nocollapse */ IxRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxRadioGroup, selector: "ix-radio-group", inputs: { direction: "direction", helperText: "helperText", infoText: "infoText", invalidText: "invalidText", label: "label", showTextAsTooltip: "showTextAsTooltip", validText: "validText", value: "value", warningText: "warningText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2005
+ IxRadioGroup = __decorate([
2006
+ ProxyCmp({
2007
+ inputs: ['direction', 'helperText', 'infoText', 'invalidText', 'label', 'showTextAsTooltip', 'validText', 'value', 'warningText']
2008
+ })
2009
+ ], IxRadioGroup);
2010
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxRadioGroup, decorators: [{
2011
+ type: Component,
2012
+ args: [{
2013
+ selector: 'ix-radio-group',
2014
+ changeDetection: ChangeDetectionStrategy.OnPush,
2015
+ template: '<ng-content></ng-content>',
2016
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2017
+ inputs: ['direction', 'helperText', 'infoText', 'invalidText', 'label', 'showTextAsTooltip', 'validText', 'value', 'warningText'],
2018
+ }]
2019
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1865
2020
  let IxRow = class IxRow {
1866
2021
  constructor(c, r, z) {
1867
2022
  this.z = z;
@@ -1889,14 +2044,15 @@ let IxSelect = class IxSelect {
1889
2044
  this.z = z;
1890
2045
  c.detach();
1891
2046
  this.el = r.nativeElement;
1892
- proxyOutputs(this, this.el, ['valueChange', 'itemSelectionChange', 'inputChange', 'addItem']);
2047
+ proxyOutputs(this, this.el, ['valueChange', 'itemSelectionChange', 'inputChange', 'addItem', 'ixBlur']);
1893
2048
  }
1894
2049
  };
1895
2050
  /** @nocollapse */ IxSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1896
- /** @nocollapse */ IxSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxSelect, selector: "ix-select", inputs: { allowClear: "allowClear", disabled: "disabled", editable: "editable", hideListHeader: "hideListHeader", i18nNoMatches: "i18nNoMatches", i18nPlaceholder: "i18nPlaceholder", i18nPlaceholderEditable: "i18nPlaceholderEditable", i18nSelectListHeader: "i18nSelectListHeader", mode: "mode", readonly: "readonly", selectedIndices: "selectedIndices", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2051
+ /** @nocollapse */ IxSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxSelect, selector: "ix-select", inputs: { allowClear: "allowClear", disabled: "disabled", editable: "editable", helperText: "helperText", hideListHeader: "hideListHeader", i18nNoMatches: "i18nNoMatches", i18nPlaceholder: "i18nPlaceholder", i18nPlaceholderEditable: "i18nPlaceholderEditable", i18nSelectListHeader: "i18nSelectListHeader", infoText: "infoText", invalidText: "invalidText", label: "label", mode: "mode", name: "name", readonly: "readonly", required: "required", selectedIndices: "selectedIndices", showTextAsTooltip: "showTextAsTooltip", validText: "validText", value: "value", warningText: "warningText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1897
2052
  IxSelect = __decorate([
1898
2053
  ProxyCmp({
1899
- inputs: ['allowClear', 'disabled', 'editable', 'hideListHeader', 'i18nNoMatches', 'i18nPlaceholder', 'i18nPlaceholderEditable', 'i18nSelectListHeader', 'mode', 'readonly', 'selectedIndices', 'value']
2054
+ inputs: ['allowClear', 'disabled', 'editable', 'helperText', 'hideListHeader', 'i18nNoMatches', 'i18nPlaceholder', 'i18nPlaceholderEditable', 'i18nSelectListHeader', 'infoText', 'invalidText', 'label', 'mode', 'name', 'readonly', 'required', 'selectedIndices', 'showTextAsTooltip', 'validText', 'value', 'warningText'],
2055
+ methods: ['getNativeInputElement', 'focusInput']
1900
2056
  })
1901
2057
  ], IxSelect);
1902
2058
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxSelect, decorators: [{
@@ -1906,7 +2062,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
1906
2062
  changeDetection: ChangeDetectionStrategy.OnPush,
1907
2063
  template: '<ng-content></ng-content>',
1908
2064
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1909
- inputs: ['allowClear', 'disabled', 'editable', 'hideListHeader', 'i18nNoMatches', 'i18nPlaceholder', 'i18nPlaceholderEditable', 'i18nSelectListHeader', 'mode', 'readonly', 'selectedIndices', 'value'],
2065
+ inputs: ['allowClear', 'disabled', 'editable', 'helperText', 'hideListHeader', 'i18nNoMatches', 'i18nPlaceholder', 'i18nPlaceholderEditable', 'i18nSelectListHeader', 'infoText', 'invalidText', 'label', 'mode', 'name', 'readonly', 'required', 'selectedIndices', 'showTextAsTooltip', 'validText', 'value', 'warningText'],
1910
2066
  }]
1911
2067
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1912
2068
  let IxSelectItem = class IxSelectItem {
@@ -2083,6 +2239,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
2083
2239
  inputs: ['layout', 'placement', 'rounded', 'selected', 'small'],
2084
2240
  }]
2085
2241
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
2242
+ let IxTextarea = class IxTextarea {
2243
+ constructor(c, r, z) {
2244
+ this.z = z;
2245
+ c.detach();
2246
+ this.el = r.nativeElement;
2247
+ proxyOutputs(this, this.el, ['valueChange', 'validityStateChange', 'ixBlur']);
2248
+ }
2249
+ };
2250
+ /** @nocollapse */ IxTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2251
+ /** @nocollapse */ IxTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxTextarea, selector: "ix-textarea", inputs: { disabled: "disabled", helperText: "helperText", infoText: "infoText", invalidText: "invalidText", label: "label", maxLength: "maxLength", minLength: "minLength", name: "name", placeholder: "placeholder", readonly: "readonly", required: "required", resizeBehavior: "resizeBehavior", showTextAsTooltip: "showTextAsTooltip", textareaCols: "textareaCols", textareaHeight: "textareaHeight", textareaRows: "textareaRows", textareaWidth: "textareaWidth", validText: "validText", value: "value", warningText: "warningText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2252
+ IxTextarea = __decorate([
2253
+ ProxyCmp({
2254
+ inputs: ['disabled', 'helperText', 'infoText', 'invalidText', 'label', 'maxLength', 'minLength', 'name', 'placeholder', 'readonly', 'required', 'resizeBehavior', 'showTextAsTooltip', 'textareaCols', 'textareaHeight', 'textareaRows', 'textareaWidth', 'validText', 'value', 'warningText'],
2255
+ methods: ['getNativeInputElement', 'focusInput']
2256
+ })
2257
+ ], IxTextarea);
2258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxTextarea, decorators: [{
2259
+ type: Component,
2260
+ args: [{
2261
+ selector: 'ix-textarea',
2262
+ changeDetection: ChangeDetectionStrategy.OnPush,
2263
+ template: '<ng-content></ng-content>',
2264
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2265
+ inputs: ['disabled', 'helperText', 'infoText', 'invalidText', 'label', 'maxLength', 'minLength', 'name', 'placeholder', 'readonly', 'required', 'resizeBehavior', 'showTextAsTooltip', 'textareaCols', 'textareaHeight', 'textareaRows', 'textareaWidth', 'validText', 'value', 'warningText'],
2266
+ }]
2267
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
2086
2268
  let IxTile = class IxTile {
2087
2269
  constructor(c, r, z) {
2088
2270
  this.z = z;
@@ -2192,10 +2374,10 @@ let IxToggle = class IxToggle {
2192
2374
  }
2193
2375
  };
2194
2376
  /** @nocollapse */ IxToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2195
- /** @nocollapse */ IxToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxToggle, selector: "ix-toggle", inputs: { checked: "checked", disabled: "disabled", hideText: "hideText", indeterminate: "indeterminate", textIndeterminate: "textIndeterminate", textOff: "textOff", textOn: "textOn" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2377
+ /** @nocollapse */ IxToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxToggle, selector: "ix-toggle", inputs: { checked: "checked", disabled: "disabled", hideText: "hideText", indeterminate: "indeterminate", name: "name", required: "required", textIndeterminate: "textIndeterminate", textOff: "textOff", textOn: "textOn", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2196
2378
  IxToggle = __decorate([
2197
2379
  ProxyCmp({
2198
- inputs: ['checked', 'disabled', 'hideText', 'indeterminate', 'textIndeterminate', 'textOff', 'textOn']
2380
+ inputs: ['checked', 'disabled', 'hideText', 'indeterminate', 'name', 'required', 'textIndeterminate', 'textOff', 'textOn', 'value']
2199
2381
  })
2200
2382
  ], IxToggle);
2201
2383
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxToggle, decorators: [{
@@ -2205,7 +2387,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
2205
2387
  changeDetection: ChangeDetectionStrategy.OnPush,
2206
2388
  template: '<ng-content></ng-content>',
2207
2389
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2208
- inputs: ['checked', 'disabled', 'hideText', 'indeterminate', 'textIndeterminate', 'textOff', 'textOn'],
2390
+ inputs: ['checked', 'disabled', 'hideText', 'indeterminate', 'name', 'required', 'textIndeterminate', 'textOff', 'textOn', 'value'],
2209
2391
  }]
2210
2392
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
2211
2393
  let IxToggleButton = class IxToggleButton {
@@ -2588,6 +2770,172 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
2588
2770
  * LICENSE file in the root directory of this source tree.
2589
2771
  */
2590
2772
 
2773
+ /*
2774
+ * SPDX-FileCopyrightText: 2024 Siemens AG
2775
+ *
2776
+ * SPDX-License-Identifier: MIT
2777
+ *
2778
+ * This source code is licensed under the MIT license found in the
2779
+ * LICENSE file in the root directory of this source tree.
2780
+ */
2781
+ class ValueAccessor {
2782
+ constructor(injector, elementRef) {
2783
+ this.injector = injector;
2784
+ this.elementRef = elementRef;
2785
+ this.onChange = () => {
2786
+ /**/
2787
+ };
2788
+ this.onTouched = () => {
2789
+ /**/
2790
+ };
2791
+ }
2792
+ writeValue(value) {
2793
+ this.elementRef.nativeElement.value = this.lastValue = value;
2794
+ mapNgToIxClassNames(this.elementRef);
2795
+ }
2796
+ handleValueChange(el, value) {
2797
+ if (el === this.elementRef.nativeElement) {
2798
+ if (value !== this.lastValue) {
2799
+ this.lastValue = value;
2800
+ this.onChange(value);
2801
+ }
2802
+ mapNgToIxClassNames(this.elementRef);
2803
+ }
2804
+ }
2805
+ _handleBlurEvent(el) {
2806
+ if (el === this.elementRef.nativeElement) {
2807
+ this.onTouched();
2808
+ mapNgToIxClassNames(this.elementRef);
2809
+ }
2810
+ }
2811
+ registerOnChange(fn) {
2812
+ this.onChange = fn;
2813
+ }
2814
+ registerOnTouched(fn) {
2815
+ this.onTouched = fn;
2816
+ }
2817
+ setDisabledState(isDisabled) {
2818
+ this.elementRef.nativeElement.disabled = isDisabled;
2819
+ }
2820
+ ngOnDestroy() {
2821
+ if (this.statusChanges) {
2822
+ this.statusChanges.unsubscribe();
2823
+ }
2824
+ }
2825
+ ngAfterViewInit() {
2826
+ let ngControl;
2827
+ try {
2828
+ ngControl = this.injector.get(NgControl);
2829
+ }
2830
+ catch {
2831
+ /* No FormControl or ngModel binding */
2832
+ }
2833
+ if (!ngControl) {
2834
+ return;
2835
+ }
2836
+ if (ngControl.statusChanges) {
2837
+ this.statusChanges = ngControl.statusChanges.subscribe(() => {
2838
+ mapNgToIxClassNames(this.elementRef);
2839
+ });
2840
+ }
2841
+ detourFormControlMethods(ngControl, this.elementRef);
2842
+ }
2843
+ }
2844
+ ValueAccessor.ANGULAR_CLASS_PREFIX = 'ng-';
2845
+ /** @nocollapse */ ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2846
+ /** @nocollapse */ ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: ValueAccessor, host: { listeners: { "ixBlur": "_handleBlurEvent($event.target)" } }, ngImport: i0 });
2847
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ValueAccessor, decorators: [{
2848
+ type: Directive
2849
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
2850
+ type: HostListener,
2851
+ args: ['ixBlur', ['$event.target']]
2852
+ }] } });
2853
+ const detourFormControlMethods = (ngControl, elementRef) => {
2854
+ const formControl = ngControl.control;
2855
+ if (formControl) {
2856
+ const methodsToPatch = [
2857
+ 'markAsTouched',
2858
+ 'markAllAsTouched',
2859
+ 'markAsUntouched',
2860
+ 'markAsDirty',
2861
+ 'markAsPristine',
2862
+ ];
2863
+ methodsToPatch.forEach((method) => {
2864
+ if (typeof formControl[method] !== 'undefined') {
2865
+ const oldFn = formControl[method].bind(formControl);
2866
+ formControl[method] = (...params) => {
2867
+ oldFn(...params);
2868
+ mapNgToIxClassNames(elementRef);
2869
+ };
2870
+ }
2871
+ });
2872
+ }
2873
+ };
2874
+ const mapNgToIxClassNames = (element) => {
2875
+ setTimeout(() => {
2876
+ const input = element.nativeElement;
2877
+ const classes = getClasses(input);
2878
+ const classList = input.classList;
2879
+ classList.remove('ix-valid', 'ix-invalid', 'ix-touched', 'ix-untouched', 'ix-dirty', 'ix-pristine');
2880
+ classList.add(...classes);
2881
+ });
2882
+ };
2883
+ const getClasses = (element) => {
2884
+ const classList = element.classList;
2885
+ const classes = [];
2886
+ for (let i = 0; i < classList.length; i++) {
2887
+ const item = classList.item(i);
2888
+ if (item?.startsWith(ValueAccessor.ANGULAR_CLASS_PREFIX)) {
2889
+ classes.push(`ix-${item.substring(3)}`);
2890
+ }
2891
+ }
2892
+ return classes;
2893
+ };
2894
+
2895
+ /*
2896
+ * SPDX-FileCopyrightText: 2024 Siemens AG
2897
+ *
2898
+ * SPDX-License-Identifier: MIT
2899
+ *
2900
+ * This source code is licensed under the MIT license found in the
2901
+ * LICENSE file in the root directory of this source tree.
2902
+ */
2903
+ class TextValueAccessorDirective extends ValueAccessor {
2904
+ constructor(injector, el) {
2905
+ super(injector, el);
2906
+ }
2907
+ handleInputEvent(el) {
2908
+ super.handleValueChange(el, el.value);
2909
+ }
2910
+ }
2911
+ /** @nocollapse */ TextValueAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TextValueAccessorDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2912
+ /** @nocollapse */ TextValueAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: TextValueAccessorDirective, selector: "ix-input,ix-number-input,ix-textarea", host: { listeners: { "input": "handleInputEvent($event.target)", "valueChange": "handleInputEvent($event.target)" } }, providers: [
2913
+ {
2914
+ provide: NG_VALUE_ACCESSOR,
2915
+ useExisting: TextValueAccessorDirective,
2916
+ multi: true,
2917
+ },
2918
+ ], usesInheritance: true, ngImport: i0 });
2919
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TextValueAccessorDirective, decorators: [{
2920
+ type: Directive,
2921
+ args: [{
2922
+ selector: 'ix-input,ix-number-input,ix-textarea',
2923
+ providers: [
2924
+ {
2925
+ provide: NG_VALUE_ACCESSOR,
2926
+ useExisting: TextValueAccessorDirective,
2927
+ multi: true,
2928
+ },
2929
+ ],
2930
+ }]
2931
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
2932
+ type: HostListener,
2933
+ args: ['input', ['$event.target']]
2934
+ }, {
2935
+ type: HostListener,
2936
+ args: ['valueChange', ['$event.target']]
2937
+ }] } });
2938
+
2591
2939
  /*
2592
2940
  * SPDX-FileCopyrightText: 2024 Siemens AG
2593
2941
  *
@@ -2605,8 +2953,8 @@ const appInitialize = (doc) => {
2605
2953
  return;
2606
2954
  }
2607
2955
  didInitialize = true;
2608
- defineCustomElements();
2609
- await defineCustomElements$1();
2956
+ await defineCustomElements();
2957
+ defineCustomElements$1();
2610
2958
  }
2611
2959
  };
2612
2960
  };
@@ -2627,11 +2975,15 @@ const DIRECTIVES = [
2627
2975
  IxCardList,
2628
2976
  IxCardTitle,
2629
2977
  IxCategoryFilter,
2978
+ IxCheckbox,
2979
+ IxCheckboxGroup,
2630
2980
  IxChip,
2631
2981
  IxCol,
2632
2982
  IxContent,
2633
2983
  IxContentHeader,
2984
+ IxCustomField,
2634
2985
  IxDateDropdown,
2986
+ IxDateInput,
2635
2987
  IxDatePicker,
2636
2988
  IxDatetimePicker,
2637
2989
  IxDivider,
@@ -2645,19 +2997,22 @@ const DIRECTIVES = [
2645
2997
  IxEventList,
2646
2998
  IxEventListItem,
2647
2999
  IxExpandingSearch,
3000
+ IxFieldLabel,
2648
3001
  IxFilterChip,
2649
3002
  IxFlipTile,
2650
3003
  IxFlipTileContent,
2651
- IxFormField,
2652
3004
  IxGroup,
2653
3005
  IxGroupContextMenu,
2654
3006
  IxGroupItem,
3007
+ IxHelperText,
2655
3008
  IxIconButton,
2656
3009
  IxIconToggleButton,
3010
+ IxInput,
2657
3011
  IxInputGroup,
2658
3012
  IxKeyValue,
2659
3013
  IxKeyValueList,
2660
3014
  IxKpi,
3015
+ IxLayoutAuto,
2661
3016
  IxLayoutGrid,
2662
3017
  IxLinkButton,
2663
3018
  IxMapNavigation,
@@ -2675,14 +3030,16 @@ const DIRECTIVES = [
2675
3030
  IxMessageBar,
2676
3031
  IxModal,
2677
3032
  IxModalContent,
2678
- IxModalExample,
2679
3033
  IxModalFooter,
2680
3034
  IxModalHeader,
3035
+ IxNumberInput,
2681
3036
  IxPagination,
2682
3037
  IxPane,
2683
3038
  IxPaneLayout,
2684
3039
  IxPill,
2685
3040
  IxPushCard,
3041
+ IxRadio,
3042
+ IxRadioGroup,
2686
3043
  IxRow,
2687
3044
  IxSelect,
2688
3045
  IxSelectItem,
@@ -2692,6 +3049,7 @@ const DIRECTIVES = [
2692
3049
  IxSplitButtonItem,
2693
3050
  IxTabItem,
2694
3051
  IxTabs,
3052
+ IxTextarea,
2695
3053
  IxTile,
2696
3054
  IxTimePicker,
2697
3055
  IxToast,
@@ -2707,37 +3065,6 @@ const DIRECTIVES = [
2707
3065
  IxWorkflowSteps
2708
3066
  ];
2709
3067
 
2710
- class SelectValueAccessor extends ValueAccessor {
2711
- constructor(el) {
2712
- super(el);
2713
- }
2714
- }
2715
- /** @nocollapse */ SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SelectValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2716
- /** @nocollapse */ SelectValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: SelectValueAccessor, selector: "ix-select[ngModel],ix-select[formControlName],ix-select[formControl]", host: { listeners: { "valueChange": "handleChangeEvent($event.target.value)" } }, providers: [
2717
- {
2718
- provide: NG_VALUE_ACCESSOR,
2719
- useExisting: SelectValueAccessor,
2720
- multi: true
2721
- }
2722
- ], usesInheritance: true, ngImport: i0 });
2723
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SelectValueAccessor, decorators: [{
2724
- type: Directive,
2725
- args: [{
2726
- /* tslint:disable-next-line:directive-selector */
2727
- selector: 'ix-select[ngModel],ix-select[formControlName],ix-select[formControl]',
2728
- host: {
2729
- '(valueChange)': 'handleChangeEvent($event.target.value)'
2730
- },
2731
- providers: [
2732
- {
2733
- provide: NG_VALUE_ACCESSOR,
2734
- useExisting: SelectValueAccessor,
2735
- multi: true
2736
- }
2737
- ]
2738
- }]
2739
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
2740
-
2741
3068
  /*
2742
3069
  * SPDX-FileCopyrightText: 2024 Siemens AG
2743
3070
  *
@@ -2917,6 +3244,189 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
2917
3244
  * LICENSE file in the root directory of this source tree.
2918
3245
  */
2919
3246
 
3247
+ /*
3248
+ * SPDX-FileCopyrightText: 2024 Siemens AG
3249
+ *
3250
+ * SPDX-License-Identifier: MIT
3251
+ *
3252
+ * This source code is licensed under the MIT license found in the
3253
+ * LICENSE file in the root directory of this source tree.
3254
+ */
3255
+ class SelectValueAccessorDirective extends ValueAccessor {
3256
+ constructor(injector, el) {
3257
+ super(injector, el);
3258
+ }
3259
+ handleChangeEvent(el) {
3260
+ super.handleValueChange(el, el.value);
3261
+ }
3262
+ }
3263
+ /** @nocollapse */ SelectValueAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SelectValueAccessorDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
3264
+ /** @nocollapse */ SelectValueAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: SelectValueAccessorDirective, selector: "ix-select", host: { listeners: { "valueChange": "handleChangeEvent($event.target)" } }, providers: [
3265
+ {
3266
+ provide: NG_VALUE_ACCESSOR,
3267
+ useExisting: SelectValueAccessorDirective,
3268
+ multi: true,
3269
+ },
3270
+ ], usesInheritance: true, ngImport: i0 });
3271
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SelectValueAccessorDirective, decorators: [{
3272
+ type: Directive,
3273
+ args: [{
3274
+ selector: 'ix-select',
3275
+ providers: [
3276
+ {
3277
+ provide: NG_VALUE_ACCESSOR,
3278
+ useExisting: SelectValueAccessorDirective,
3279
+ multi: true,
3280
+ },
3281
+ ],
3282
+ }]
3283
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
3284
+ type: HostListener,
3285
+ args: ['valueChange', ['$event.target']]
3286
+ }] } });
3287
+
3288
+ /*
3289
+ * SPDX-FileCopyrightText: 2024 Siemens AG
3290
+ *
3291
+ * SPDX-License-Identifier: MIT
3292
+ *
3293
+ * This source code is licensed under the MIT license found in the
3294
+ * LICENSE file in the root directory of this source tree.
3295
+ */
3296
+ class RadioValueAccessorDirective extends ValueAccessor {
3297
+ constructor(injector, el) {
3298
+ super(injector, el);
3299
+ }
3300
+ writeValue(value) {
3301
+ this.lastValue = value;
3302
+ this.elementRef.nativeElement.checked =
3303
+ this.elementRef.nativeElement.value === value;
3304
+ mapNgToIxClassNames(this.elementRef);
3305
+ }
3306
+ handleChangeEvent(el) {
3307
+ super.handleValueChange(el, el.value);
3308
+ }
3309
+ }
3310
+ /** @nocollapse */ RadioValueAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RadioValueAccessorDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
3311
+ /** @nocollapse */ RadioValueAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: RadioValueAccessorDirective, selector: "ix-radio", host: { listeners: { "checkedChange": "handleChangeEvent($event.target)" } }, providers: [
3312
+ {
3313
+ provide: NG_VALUE_ACCESSOR,
3314
+ useExisting: RadioValueAccessorDirective,
3315
+ multi: true,
3316
+ },
3317
+ ], usesInheritance: true, ngImport: i0 });
3318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RadioValueAccessorDirective, decorators: [{
3319
+ type: Directive,
3320
+ args: [{
3321
+ selector: 'ix-radio',
3322
+ providers: [
3323
+ {
3324
+ provide: NG_VALUE_ACCESSOR,
3325
+ useExisting: RadioValueAccessorDirective,
3326
+ multi: true,
3327
+ },
3328
+ ],
3329
+ }]
3330
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
3331
+ type: HostListener,
3332
+ args: ['checkedChange', ['$event.target']]
3333
+ }] } });
3334
+
3335
+ /*
3336
+ * SPDX-FileCopyrightText: 2024 Siemens AG
3337
+ *
3338
+ * SPDX-License-Identifier: MIT
3339
+ *
3340
+ * This source code is licensed under the MIT license found in the
3341
+ * LICENSE file in the root directory of this source tree.
3342
+ */
3343
+ class BooleanValueAccessorDirective extends ValueAccessor {
3344
+ constructor(injector, el) {
3345
+ super(injector, el);
3346
+ }
3347
+ writeValue(value) {
3348
+ this.elementRef.nativeElement.checked = this.lastValue = value;
3349
+ mapNgToIxClassNames(this.elementRef);
3350
+ }
3351
+ handleChangeEvent(el) {
3352
+ super.handleValueChange(el, el.checked);
3353
+ }
3354
+ }
3355
+ /** @nocollapse */ BooleanValueAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BooleanValueAccessorDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
3356
+ /** @nocollapse */ BooleanValueAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: BooleanValueAccessorDirective, selector: "ix-checkbox,ix-toggle", host: { listeners: { "checkedChange": "handleChangeEvent($event.target)" } }, providers: [
3357
+ {
3358
+ provide: NG_VALUE_ACCESSOR,
3359
+ useExisting: BooleanValueAccessorDirective,
3360
+ multi: true,
3361
+ },
3362
+ ], usesInheritance: true, ngImport: i0 });
3363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BooleanValueAccessorDirective, decorators: [{
3364
+ type: Directive,
3365
+ args: [{
3366
+ selector: 'ix-checkbox,ix-toggle',
3367
+ providers: [
3368
+ {
3369
+ provide: NG_VALUE_ACCESSOR,
3370
+ useExisting: BooleanValueAccessorDirective,
3371
+ multi: true,
3372
+ },
3373
+ ],
3374
+ }]
3375
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
3376
+ type: HostListener,
3377
+ args: ['checkedChange', ['$event.target']]
3378
+ }] } });
3379
+
3380
+ /*
3381
+ * SPDX-FileCopyrightText: 2024 Siemens AG
3382
+ *
3383
+ * SPDX-License-Identifier: MIT
3384
+ *
3385
+ * This source code is licensed under the MIT license found in the
3386
+ * LICENSE file in the root directory of this source tree.
3387
+ */
3388
+ class DateValueAccessorDirective extends ValueAccessor {
3389
+ constructor(injector, el) {
3390
+ super(injector, el);
3391
+ }
3392
+ handleInputEvent(el) {
3393
+ super.handleValueChange(el, el.value);
3394
+ }
3395
+ }
3396
+ /** @nocollapse */ DateValueAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DateValueAccessorDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
3397
+ /** @nocollapse */ DateValueAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: DateValueAccessorDirective, selector: "ix-date-input", host: { listeners: { "valueChange": "handleInputEvent($event.target)" } }, providers: [
3398
+ {
3399
+ provide: NG_VALUE_ACCESSOR,
3400
+ useExisting: DateValueAccessorDirective,
3401
+ multi: true,
3402
+ },
3403
+ ], usesInheritance: true, ngImport: i0 });
3404
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DateValueAccessorDirective, decorators: [{
3405
+ type: Directive,
3406
+ args: [{
3407
+ selector: 'ix-date-input',
3408
+ providers: [
3409
+ {
3410
+ provide: NG_VALUE_ACCESSOR,
3411
+ useExisting: DateValueAccessorDirective,
3412
+ multi: true,
3413
+ },
3414
+ ],
3415
+ }]
3416
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
3417
+ type: HostListener,
3418
+ args: ['valueChange', ['$event.target']]
3419
+ }] } });
3420
+
3421
+ /*
3422
+ * SPDX-FileCopyrightText: 2024 Siemens AG
3423
+ *
3424
+ * SPDX-License-Identifier: MIT
3425
+ *
3426
+ * This source code is licensed under the MIT license found in the
3427
+ * LICENSE file in the root directory of this source tree.
3428
+ */
3429
+
2920
3430
  /*
2921
3431
  * SPDX-FileCopyrightText: 2024 Siemens AG
2922
3432
  *
@@ -2930,8 +3440,11 @@ const DECLARATIONS = [
2930
3440
  IxTree,
2931
3441
  IxDropdownTriggerDirective,
2932
3442
  IxIcon,
2933
- SelectValueAccessor,
2934
- BooleanValueAccessor
3443
+ TextValueAccessorDirective,
3444
+ SelectValueAccessorDirective,
3445
+ RadioValueAccessorDirective,
3446
+ BooleanValueAccessorDirective,
3447
+ DateValueAccessorDirective,
2935
3448
  ];
2936
3449
  class IxModule {
2937
3450
  static forRoot() {
@@ -2952,13 +3465,19 @@ class IxModule {
2952
3465
  }
2953
3466
  }
2954
3467
  /** @nocollapse */ IxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2955
- /** @nocollapse */ IxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModule, declarations: [IxActionCard, IxApplication, IxApplicationHeader, IxAvatar, IxBasicNavigation, IxBlind, IxBreadcrumb, IxBreadcrumbItem, IxButton, IxCard, IxCardAccordion, IxCardContent, IxCardList, IxCardTitle, IxCategoryFilter, IxChip, IxCol, IxContent, IxContentHeader, IxDateDropdown, IxDatePicker, IxDatetimePicker, IxDivider, IxDrawer, IxDropdown, IxDropdownButton, IxDropdownHeader, IxDropdownItem, IxDropdownQuickActions, IxEmptyState, IxEventList, IxEventListItem, IxExpandingSearch, IxFilterChip, IxFlipTile, IxFlipTileContent, IxFormField, IxGroup, IxGroupContextMenu, IxGroupItem, IxIconButton, IxIconToggleButton, IxInputGroup, IxKeyValue, IxKeyValueList, IxKpi, IxLayoutGrid, IxLinkButton, IxMapNavigation, IxMapNavigationOverlay, IxMenu, IxMenuAbout, IxMenuAboutItem, IxMenuAboutNews, IxMenuAvatar, IxMenuAvatarItem, IxMenuCategory, IxMenuItem, IxMenuSettings, IxMenuSettingsItem, IxMessageBar, IxModal, IxModalContent, IxModalExample, IxModalFooter, IxModalHeader, IxPagination, IxPane, IxPaneLayout, IxPill, IxPushCard, IxRow, IxSelect, IxSelectItem, IxSlider, IxSpinner, IxSplitButton, IxSplitButtonItem, IxTabItem, IxTabs, IxTile, IxTimePicker, IxToast, IxToastContainer, IxToggle, IxToggleButton, IxTooltip, IxTreeItem, IxTypography, IxUpload, IxValidationTooltip, IxWorkflowStep, IxWorkflowSteps, IxTree, IxDropdownTriggerDirective,
3468
+ /** @nocollapse */ IxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModule, declarations: [IxActionCard, IxApplication, IxApplicationHeader, IxAvatar, IxBasicNavigation, IxBlind, IxBreadcrumb, IxBreadcrumbItem, IxButton, IxCard, IxCardAccordion, IxCardContent, IxCardList, IxCardTitle, IxCategoryFilter, IxCheckbox, IxCheckboxGroup, IxChip, IxCol, IxContent, IxContentHeader, IxCustomField, IxDateDropdown, IxDateInput, IxDatePicker, IxDatetimePicker, IxDivider, IxDrawer, IxDropdown, IxDropdownButton, IxDropdownHeader, IxDropdownItem, IxDropdownQuickActions, IxEmptyState, IxEventList, IxEventListItem, IxExpandingSearch, IxFieldLabel, IxFilterChip, IxFlipTile, IxFlipTileContent, IxGroup, IxGroupContextMenu, IxGroupItem, IxHelperText, IxIconButton, IxIconToggleButton, IxInput, IxInputGroup, IxKeyValue, IxKeyValueList, IxKpi, IxLayoutAuto, IxLayoutGrid, IxLinkButton, IxMapNavigation, IxMapNavigationOverlay, IxMenu, IxMenuAbout, IxMenuAboutItem, IxMenuAboutNews, IxMenuAvatar, IxMenuAvatarItem, IxMenuCategory, IxMenuItem, IxMenuSettings, IxMenuSettingsItem, IxMessageBar, IxModal, IxModalContent, IxModalFooter, IxModalHeader, IxNumberInput, IxPagination, IxPane, IxPaneLayout, IxPill, IxPushCard, IxRadio, IxRadioGroup, IxRow, IxSelect, IxSelectItem, IxSlider, IxSpinner, IxSplitButton, IxSplitButtonItem, IxTabItem, IxTabs, IxTextarea, IxTile, IxTimePicker, IxToast, IxToastContainer, IxToggle, IxToggleButton, IxTooltip, IxTreeItem, IxTypography, IxUpload, IxValidationTooltip, IxWorkflowStep, IxWorkflowSteps, IxTree, IxDropdownTriggerDirective,
2956
3469
  IxIcon,
2957
- SelectValueAccessor,
2958
- BooleanValueAccessor], exports: [IxActionCard, IxApplication, IxApplicationHeader, IxAvatar, IxBasicNavigation, IxBlind, IxBreadcrumb, IxBreadcrumbItem, IxButton, IxCard, IxCardAccordion, IxCardContent, IxCardList, IxCardTitle, IxCategoryFilter, IxChip, IxCol, IxContent, IxContentHeader, IxDateDropdown, IxDatePicker, IxDatetimePicker, IxDivider, IxDrawer, IxDropdown, IxDropdownButton, IxDropdownHeader, IxDropdownItem, IxDropdownQuickActions, IxEmptyState, IxEventList, IxEventListItem, IxExpandingSearch, IxFilterChip, IxFlipTile, IxFlipTileContent, IxFormField, IxGroup, IxGroupContextMenu, IxGroupItem, IxIconButton, IxIconToggleButton, IxInputGroup, IxKeyValue, IxKeyValueList, IxKpi, IxLayoutGrid, IxLinkButton, IxMapNavigation, IxMapNavigationOverlay, IxMenu, IxMenuAbout, IxMenuAboutItem, IxMenuAboutNews, IxMenuAvatar, IxMenuAvatarItem, IxMenuCategory, IxMenuItem, IxMenuSettings, IxMenuSettingsItem, IxMessageBar, IxModal, IxModalContent, IxModalExample, IxModalFooter, IxModalHeader, IxPagination, IxPane, IxPaneLayout, IxPill, IxPushCard, IxRow, IxSelect, IxSelectItem, IxSlider, IxSpinner, IxSplitButton, IxSplitButtonItem, IxTabItem, IxTabs, IxTile, IxTimePicker, IxToast, IxToastContainer, IxToggle, IxToggleButton, IxTooltip, IxTreeItem, IxTypography, IxUpload, IxValidationTooltip, IxWorkflowStep, IxWorkflowSteps, IxTree, IxDropdownTriggerDirective,
3470
+ TextValueAccessorDirective,
3471
+ SelectValueAccessorDirective,
3472
+ RadioValueAccessorDirective,
3473
+ BooleanValueAccessorDirective,
3474
+ DateValueAccessorDirective], exports: [IxActionCard, IxApplication, IxApplicationHeader, IxAvatar, IxBasicNavigation, IxBlind, IxBreadcrumb, IxBreadcrumbItem, IxButton, IxCard, IxCardAccordion, IxCardContent, IxCardList, IxCardTitle, IxCategoryFilter, IxCheckbox, IxCheckboxGroup, IxChip, IxCol, IxContent, IxContentHeader, IxCustomField, IxDateDropdown, IxDateInput, IxDatePicker, IxDatetimePicker, IxDivider, IxDrawer, IxDropdown, IxDropdownButton, IxDropdownHeader, IxDropdownItem, IxDropdownQuickActions, IxEmptyState, IxEventList, IxEventListItem, IxExpandingSearch, IxFieldLabel, IxFilterChip, IxFlipTile, IxFlipTileContent, IxGroup, IxGroupContextMenu, IxGroupItem, IxHelperText, IxIconButton, IxIconToggleButton, IxInput, IxInputGroup, IxKeyValue, IxKeyValueList, IxKpi, IxLayoutAuto, IxLayoutGrid, IxLinkButton, IxMapNavigation, IxMapNavigationOverlay, IxMenu, IxMenuAbout, IxMenuAboutItem, IxMenuAboutNews, IxMenuAvatar, IxMenuAvatarItem, IxMenuCategory, IxMenuItem, IxMenuSettings, IxMenuSettingsItem, IxMessageBar, IxModal, IxModalContent, IxModalFooter, IxModalHeader, IxNumberInput, IxPagination, IxPane, IxPaneLayout, IxPill, IxPushCard, IxRadio, IxRadioGroup, IxRow, IxSelect, IxSelectItem, IxSlider, IxSpinner, IxSplitButton, IxSplitButtonItem, IxTabItem, IxTabs, IxTextarea, IxTile, IxTimePicker, IxToast, IxToastContainer, IxToggle, IxToggleButton, IxTooltip, IxTreeItem, IxTypography, IxUpload, IxValidationTooltip, IxWorkflowStep, IxWorkflowSteps, IxTree, IxDropdownTriggerDirective,
2959
3475
  IxIcon,
2960
- SelectValueAccessor,
2961
- BooleanValueAccessor] });
3476
+ TextValueAccessorDirective,
3477
+ SelectValueAccessorDirective,
3478
+ RadioValueAccessorDirective,
3479
+ BooleanValueAccessorDirective,
3480
+ DateValueAccessorDirective] });
2962
3481
  /** @nocollapse */ IxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModule });
2963
3482
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModule, decorators: [{
2964
3483
  type: NgModule,
@@ -2981,5 +3500,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
2981
3500
  * Generated bundle index. Do not edit.
2982
3501
  */
2983
3502
 
2984
- export { BooleanValueAccessor, IxActionCard, IxActiveModal, IxApplication, IxApplicationHeader, IxAvatar, IxBasicNavigation, IxBlind, IxBreadcrumb, IxBreadcrumbItem, IxButton, IxCard, IxCardAccordion, IxCardContent, IxCardList, IxCardTitle, IxCategoryFilter, IxChip, IxCol, IxContent, IxContentHeader, IxDateDropdown, IxDatePicker, IxDatetimePicker, IxDivider, IxDrawer, IxDropdown, IxDropdownButton, IxDropdownHeader, IxDropdownItem, IxDropdownQuickActions, IxDropdownTriggerDirective, IxEmptyState, IxEventList, IxEventListItem, IxExpandingSearch, IxFilterChip, IxFlipTile, IxFlipTileContent, IxFormField, IxGroup, IxGroupContextMenu, IxGroupItem, IxIcon, IxIconButton, IxIconToggleButton, IxInputGroup, IxKeyValue, IxKeyValueList, IxKpi, IxLayoutGrid, IxLinkButton, IxMapNavigation, IxMapNavigationOverlay, IxMenu, IxMenuAbout, IxMenuAboutItem, IxMenuAboutNews, IxMenuAvatar, IxMenuAvatarItem, IxMenuCategory, IxMenuItem, IxMenuSettings, IxMenuSettingsItem, IxMessageBar, IxModal, IxModalContent, IxModalExample, IxModalFooter, IxModalHeader, IxModule, IxPagination, IxPane, IxPaneLayout, IxPill, IxPushCard, IxRow, IxSelect, IxSelectItem, IxSlider, IxSpinner, IxSplitButton, IxSplitButtonItem, IxTabItem, IxTabs, IxTile, IxTimePicker, IxToast, IxToastContainer, IxToggle, IxToggleButton, IxTooltip, IxTree, IxTreeItem, IxTypography, IxUpload, IxValidationTooltip, IxWorkflowStep, IxWorkflowSteps, ModalService, SelectValueAccessor, ThemeService, ToastService };
3503
+ export { BooleanValueAccessorDirective, DateValueAccessorDirective, IxActionCard, IxActiveModal, IxApplication, IxApplicationHeader, IxAvatar, IxBasicNavigation, IxBlind, IxBreadcrumb, IxBreadcrumbItem, IxButton, IxCard, IxCardAccordion, IxCardContent, IxCardList, IxCardTitle, IxCategoryFilter, IxCheckbox, IxCheckboxGroup, IxChip, IxCol, IxContent, IxContentHeader, IxCustomField, IxDateDropdown, IxDateInput, IxDatePicker, IxDatetimePicker, IxDivider, IxDrawer, IxDropdown, IxDropdownButton, IxDropdownHeader, IxDropdownItem, IxDropdownQuickActions, IxDropdownTriggerDirective, IxEmptyState, IxEventList, IxEventListItem, IxExpandingSearch, IxFieldLabel, IxFilterChip, IxFlipTile, IxFlipTileContent, IxGroup, IxGroupContextMenu, IxGroupItem, IxHelperText, IxIcon, IxIconButton, IxIconToggleButton, IxInput, IxInputGroup, IxKeyValue, IxKeyValueList, IxKpi, IxLayoutAuto, IxLayoutGrid, IxLinkButton, IxMapNavigation, IxMapNavigationOverlay, IxMenu, IxMenuAbout, IxMenuAboutItem, IxMenuAboutNews, IxMenuAvatar, IxMenuAvatarItem, IxMenuCategory, IxMenuItem, IxMenuSettings, IxMenuSettingsItem, IxMessageBar, IxModal, IxModalContent, IxModalFooter, IxModalHeader, IxModule, IxNumberInput, IxPagination, IxPane, IxPaneLayout, IxPill, IxPushCard, IxRadio, IxRadioGroup, IxRow, IxSelect, IxSelectItem, IxSlider, IxSpinner, IxSplitButton, IxSplitButtonItem, IxTabItem, IxTabs, IxTextarea, IxTile, IxTimePicker, IxToast, IxToastContainer, IxToggle, IxToggleButton, IxTooltip, IxTree, IxTreeItem, IxTypography, IxUpload, IxValidationTooltip, IxWorkflowStep, IxWorkflowSteps, ModalService, RadioValueAccessorDirective, SelectValueAccessorDirective, TextValueAccessorDirective, ThemeService, ToastService };
2985
3504
  //# sourceMappingURL=siemens-ix-angular.mjs.map