@siemens/ix-angular 2.4.1 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components.d.ts +191 -24
- package/control-value-accessors/boolean-value-accessor.d.ts +10 -0
- package/control-value-accessors/date-value-accessor.d.ts +9 -0
- package/control-value-accessors/index.d.ts +5 -0
- package/control-value-accessors/radio-value-accessor.d.ts +10 -0
- package/control-value-accessors/select-value-accessor.d.ts +9 -0
- package/control-value-accessors/text-value-accessor.d.ts +9 -0
- package/{value-accessor.d.ts → control-value-accessors/value-accessor.d.ts} +12 -6
- package/declare-components.d.ts +1 -1
- package/esm2020/app-initialize.mjs +2 -2
- package/esm2020/components.mjs +328 -63
- package/esm2020/control-value-accessors/boolean-value-accessor.mjs +49 -0
- package/esm2020/control-value-accessors/date-value-accessor.mjs +45 -0
- package/esm2020/control-value-accessors/index.mjs +14 -0
- package/esm2020/control-value-accessors/radio-value-accessor.mjs +51 -0
- package/esm2020/control-value-accessors/select-value-accessor.mjs +45 -0
- package/esm2020/control-value-accessors/text-value-accessor.mjs +48 -0
- package/esm2020/control-value-accessors/value-accessor.mjs +125 -0
- package/esm2020/declare-components.mjs +13 -3
- package/esm2020/index.mjs +2 -3
- package/esm2020/module.mjs +22 -10
- package/fesm2015/siemens-ix-angular.mjs +700 -180
- package/fesm2015/siemens-ix-angular.mjs.map +1 -1
- package/fesm2020/siemens-ix-angular.mjs +700 -180
- package/fesm2020/siemens-ix-angular.mjs.map +1 -1
- package/index.d.ts +1 -2
- package/module.d.ts +6 -3
- package/package.json +2 -2
- package/boolean-value-accessor.d.ts +0 -9
- package/esm2020/boolean-value-accessor.mjs +0 -38
- package/esm2020/select-value-accessor.mjs +0 -35
- package/esm2020/value-accessor.mjs +0 -40
- 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
|
|
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) => {
|
|
@@ -191,13 +119,14 @@ let IxApplicationHeader = class IxApplicationHeader {
|
|
|
191
119
|
this.z = z;
|
|
192
120
|
c.detach();
|
|
193
121
|
this.el = r.nativeElement;
|
|
122
|
+
proxyOutputs(this, this.el, ['menuToggle']);
|
|
194
123
|
}
|
|
195
124
|
};
|
|
196
125
|
/** @nocollapse */ IxApplicationHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxApplicationHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
197
|
-
/** @nocollapse */ IxApplicationHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxApplicationHeader, selector: "ix-application-header", inputs: { name: "name" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
126
|
+
/** @nocollapse */ IxApplicationHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: IxApplicationHeader, selector: "ix-application-header", inputs: { name: "name", showMenu: "showMenu" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
198
127
|
IxApplicationHeader = __decorate([
|
|
199
128
|
ProxyCmp({
|
|
200
|
-
inputs: ['name']
|
|
129
|
+
inputs: ['name', 'showMenu']
|
|
201
130
|
})
|
|
202
131
|
], IxApplicationHeader);
|
|
203
132
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxApplicationHeader, decorators: [{
|
|
@@ -207,7 +136,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
207
136
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
208
137
|
template: '<ng-content></ng-content>',
|
|
209
138
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
210
|
-
inputs: ['name'],
|
|
139
|
+
inputs: ['name', 'showMenu'],
|
|
211
140
|
}]
|
|
212
141
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
213
142
|
let IxAvatar = class IxAvatar {
|
|
@@ -478,7 +407,7 @@ let IxCategoryFilter = class IxCategoryFilter {
|
|
|
478
407
|
this.z = z;
|
|
479
408
|
c.detach();
|
|
480
409
|
this.el = r.nativeElement;
|
|
481
|
-
proxyOutputs(this, this.el, ['categoryChanged', 'inputChanged', 'filterChanged']);
|
|
410
|
+
proxyOutputs(this, this.el, ['categoryChanged', 'inputChanged', 'filterChanged', 'filterCleared']);
|
|
482
411
|
}
|
|
483
412
|
};
|
|
484
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 });
|
|
@@ -498,6 +427,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
498
427
|
inputs: ['categories', 'disabled', 'filterState', 'hideIcon', 'i18nPlainText', 'icon', 'labelCategories', 'nonSelectableCategories', 'placeholder', 'readonly', 'repeatCategories', 'staticOperator', 'suggestions'],
|
|
499
428
|
}]
|
|
500
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 }]; } });
|
|
501
479
|
let IxChip = class IxChip {
|
|
502
480
|
constructor(c, r, z) {
|
|
503
481
|
this.z = z;
|
|
@@ -594,6 +572,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
594
572
|
inputs: ['hasBackButton', 'headerSubtitle', 'headerTitle', 'variant'],
|
|
595
573
|
}]
|
|
596
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 }]; } });
|
|
597
599
|
let IxDateDropdown = class IxDateDropdown {
|
|
598
600
|
constructor(c, r, z) {
|
|
599
601
|
this.z = z;
|
|
@@ -603,10 +605,10 @@ let IxDateDropdown = class IxDateDropdown {
|
|
|
603
605
|
}
|
|
604
606
|
};
|
|
605
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 });
|
|
606
|
-
/** @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 });
|
|
607
609
|
IxDateDropdown = __decorate([
|
|
608
610
|
ProxyCmp({
|
|
609
|
-
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'],
|
|
610
612
|
methods: ['getDateRange']
|
|
611
613
|
})
|
|
612
614
|
], IxDateDropdown);
|
|
@@ -617,7 +619,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
617
619
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
618
620
|
template: '<ng-content></ng-content>',
|
|
619
621
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
620
|
-
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'],
|
|
621
649
|
}]
|
|
622
650
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
623
651
|
let IxDatePicker = class IxDatePicker {
|
|
@@ -939,6 +967,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
939
967
|
inputs: ['fullWidth', 'icon', 'placeholder', 'value'],
|
|
940
968
|
}]
|
|
941
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 }]; } });
|
|
942
994
|
let IxFilterChip = class IxFilterChip {
|
|
943
995
|
constructor(c, r, z) {
|
|
944
996
|
this.z = z;
|
|
@@ -1010,30 +1062,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1010
1062
|
inputs: [],
|
|
1011
1063
|
}]
|
|
1012
1064
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1013
|
-
let IxFormField = class IxFormField {
|
|
1014
|
-
constructor(c, r, z) {
|
|
1015
|
-
this.z = z;
|
|
1016
|
-
c.detach();
|
|
1017
|
-
this.el = r.nativeElement;
|
|
1018
|
-
}
|
|
1019
|
-
};
|
|
1020
|
-
/** @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 });
|
|
1021
|
-
/** @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 });
|
|
1022
|
-
IxFormField = __decorate([
|
|
1023
|
-
ProxyCmp({
|
|
1024
|
-
inputs: ['label']
|
|
1025
|
-
})
|
|
1026
|
-
], IxFormField);
|
|
1027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxFormField, decorators: [{
|
|
1028
|
-
type: Component,
|
|
1029
|
-
args: [{
|
|
1030
|
-
selector: 'ix-form-field',
|
|
1031
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1032
|
-
template: '<ng-content></ng-content>',
|
|
1033
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1034
|
-
inputs: ['label'],
|
|
1035
|
-
}]
|
|
1036
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1037
1065
|
let IxGroup = class IxGroup {
|
|
1038
1066
|
constructor(c, r, z) {
|
|
1039
1067
|
this.z = z;
|
|
@@ -1106,6 +1134,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1106
1134
|
inputs: ['focusable', 'icon', 'index', 'secondaryText', 'selected', 'suppressSelection', 'text'],
|
|
1107
1135
|
}]
|
|
1108
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 }]; } });
|
|
1109
1161
|
let IxIconButton = class IxIconButton {
|
|
1110
1162
|
constructor(c, r, z) {
|
|
1111
1163
|
this.z = z;
|
|
@@ -1155,6 +1207,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1155
1207
|
inputs: ['disabled', 'ghost', 'icon', 'loading', 'outline', 'pressed', 'size', 'variant'],
|
|
1156
1208
|
}]
|
|
1157
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 }]; } });
|
|
1158
1236
|
let IxInputGroup = class IxInputGroup {
|
|
1159
1237
|
constructor(c, r, z) {
|
|
1160
1238
|
this.z = z;
|
|
@@ -1249,6 +1327,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1249
1327
|
inputs: ['label', 'orientation', 'state', 'unit', 'value'],
|
|
1250
1328
|
}]
|
|
1251
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 }]; } });
|
|
1252
1354
|
let IxLayoutGrid = class IxLayoutGrid {
|
|
1253
1355
|
constructor(c, r, z) {
|
|
1254
1356
|
this.z = z;
|
|
@@ -1670,28 +1772,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1670
1772
|
inputs: [],
|
|
1671
1773
|
}]
|
|
1672
1774
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1673
|
-
let IxModalExample = class IxModalExample {
|
|
1674
|
-
constructor(c, r, z) {
|
|
1675
|
-
this.z = z;
|
|
1676
|
-
c.detach();
|
|
1677
|
-
this.el = r.nativeElement;
|
|
1678
|
-
}
|
|
1679
|
-
};
|
|
1680
|
-
/** @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 });
|
|
1681
|
-
/** @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 });
|
|
1682
|
-
IxModalExample = __decorate([
|
|
1683
|
-
ProxyCmp({})
|
|
1684
|
-
], IxModalExample);
|
|
1685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModalExample, decorators: [{
|
|
1686
|
-
type: Component,
|
|
1687
|
-
args: [{
|
|
1688
|
-
selector: 'ix-modal-example',
|
|
1689
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1690
|
-
template: '<ng-content></ng-content>',
|
|
1691
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1692
|
-
inputs: [],
|
|
1693
|
-
}]
|
|
1694
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1695
1775
|
let IxModalFooter = class IxModalFooter {
|
|
1696
1776
|
constructor(c, r, z) {
|
|
1697
1777
|
this.z = z;
|
|
@@ -1739,6 +1819,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1739
1819
|
inputs: ['hideClose', 'icon', 'iconColor'],
|
|
1740
1820
|
}]
|
|
1741
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 }]; } });
|
|
1742
1848
|
let IxPagination = class IxPagination {
|
|
1743
1849
|
constructor(c, r, z) {
|
|
1744
1850
|
this.z = z;
|
|
@@ -1861,6 +1967,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1861
1967
|
inputs: ['collapse', 'heading', 'icon', 'notification', 'subheading', 'variant'],
|
|
1862
1968
|
}]
|
|
1863
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 }]; } });
|
|
1864
2020
|
let IxRow = class IxRow {
|
|
1865
2021
|
constructor(c, r, z) {
|
|
1866
2022
|
this.z = z;
|
|
@@ -1888,14 +2044,15 @@ let IxSelect = class IxSelect {
|
|
|
1888
2044
|
this.z = z;
|
|
1889
2045
|
c.detach();
|
|
1890
2046
|
this.el = r.nativeElement;
|
|
1891
|
-
proxyOutputs(this, this.el, ['valueChange', 'itemSelectionChange', 'inputChange', 'addItem']);
|
|
2047
|
+
proxyOutputs(this, this.el, ['valueChange', 'itemSelectionChange', 'inputChange', 'addItem', 'ixBlur']);
|
|
1892
2048
|
}
|
|
1893
2049
|
};
|
|
1894
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 });
|
|
1895
|
-
/** @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 });
|
|
1896
2052
|
IxSelect = __decorate([
|
|
1897
2053
|
ProxyCmp({
|
|
1898
|
-
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']
|
|
1899
2056
|
})
|
|
1900
2057
|
], IxSelect);
|
|
1901
2058
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxSelect, decorators: [{
|
|
@@ -1905,7 +2062,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
1905
2062
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1906
2063
|
template: '<ng-content></ng-content>',
|
|
1907
2064
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1908
|
-
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'],
|
|
1909
2066
|
}]
|
|
1910
2067
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1911
2068
|
let IxSelectItem = class IxSelectItem {
|
|
@@ -2082,6 +2239,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
2082
2239
|
inputs: ['layout', 'placement', 'rounded', 'selected', 'small'],
|
|
2083
2240
|
}]
|
|
2084
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 }]; } });
|
|
2085
2268
|
let IxTile = class IxTile {
|
|
2086
2269
|
constructor(c, r, z) {
|
|
2087
2270
|
this.z = z;
|
|
@@ -2191,10 +2374,10 @@ let IxToggle = class IxToggle {
|
|
|
2191
2374
|
}
|
|
2192
2375
|
};
|
|
2193
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 });
|
|
2194
|
-
/** @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 });
|
|
2195
2378
|
IxToggle = __decorate([
|
|
2196
2379
|
ProxyCmp({
|
|
2197
|
-
inputs: ['checked', 'disabled', 'hideText', 'indeterminate', 'textIndeterminate', 'textOff', 'textOn']
|
|
2380
|
+
inputs: ['checked', 'disabled', 'hideText', 'indeterminate', 'name', 'required', 'textIndeterminate', 'textOff', 'textOn', 'value']
|
|
2198
2381
|
})
|
|
2199
2382
|
], IxToggle);
|
|
2200
2383
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxToggle, decorators: [{
|
|
@@ -2204,7 +2387,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
2204
2387
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2205
2388
|
template: '<ng-content></ng-content>',
|
|
2206
2389
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2207
|
-
inputs: ['checked', 'disabled', 'hideText', 'indeterminate', 'textIndeterminate', 'textOff', 'textOn'],
|
|
2390
|
+
inputs: ['checked', 'disabled', 'hideText', 'indeterminate', 'name', 'required', 'textIndeterminate', 'textOff', 'textOn', 'value'],
|
|
2208
2391
|
}]
|
|
2209
2392
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2210
2393
|
let IxToggleButton = class IxToggleButton {
|
|
@@ -2587,6 +2770,172 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
2587
2770
|
* LICENSE file in the root directory of this source tree.
|
|
2588
2771
|
*/
|
|
2589
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-field,ix-textarea-field", 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-field,ix-textarea-field',
|
|
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
|
+
|
|
2590
2939
|
/*
|
|
2591
2940
|
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
2592
2941
|
*
|
|
@@ -2604,8 +2953,8 @@ const appInitialize = (doc) => {
|
|
|
2604
2953
|
return;
|
|
2605
2954
|
}
|
|
2606
2955
|
didInitialize = true;
|
|
2607
|
-
defineCustomElements();
|
|
2608
|
-
|
|
2956
|
+
await defineCustomElements();
|
|
2957
|
+
defineCustomElements$1();
|
|
2609
2958
|
}
|
|
2610
2959
|
};
|
|
2611
2960
|
};
|
|
@@ -2626,11 +2975,15 @@ const DIRECTIVES = [
|
|
|
2626
2975
|
IxCardList,
|
|
2627
2976
|
IxCardTitle,
|
|
2628
2977
|
IxCategoryFilter,
|
|
2978
|
+
IxCheckbox,
|
|
2979
|
+
IxCheckboxGroup,
|
|
2629
2980
|
IxChip,
|
|
2630
2981
|
IxCol,
|
|
2631
2982
|
IxContent,
|
|
2632
2983
|
IxContentHeader,
|
|
2984
|
+
IxCustomField,
|
|
2633
2985
|
IxDateDropdown,
|
|
2986
|
+
IxDateInput,
|
|
2634
2987
|
IxDatePicker,
|
|
2635
2988
|
IxDatetimePicker,
|
|
2636
2989
|
IxDivider,
|
|
@@ -2644,19 +2997,22 @@ const DIRECTIVES = [
|
|
|
2644
2997
|
IxEventList,
|
|
2645
2998
|
IxEventListItem,
|
|
2646
2999
|
IxExpandingSearch,
|
|
3000
|
+
IxFieldLabel,
|
|
2647
3001
|
IxFilterChip,
|
|
2648
3002
|
IxFlipTile,
|
|
2649
3003
|
IxFlipTileContent,
|
|
2650
|
-
IxFormField,
|
|
2651
3004
|
IxGroup,
|
|
2652
3005
|
IxGroupContextMenu,
|
|
2653
3006
|
IxGroupItem,
|
|
3007
|
+
IxHelperText,
|
|
2654
3008
|
IxIconButton,
|
|
2655
3009
|
IxIconToggleButton,
|
|
3010
|
+
IxInput,
|
|
2656
3011
|
IxInputGroup,
|
|
2657
3012
|
IxKeyValue,
|
|
2658
3013
|
IxKeyValueList,
|
|
2659
3014
|
IxKpi,
|
|
3015
|
+
IxLayoutAuto,
|
|
2660
3016
|
IxLayoutGrid,
|
|
2661
3017
|
IxLinkButton,
|
|
2662
3018
|
IxMapNavigation,
|
|
@@ -2674,14 +3030,16 @@ const DIRECTIVES = [
|
|
|
2674
3030
|
IxMessageBar,
|
|
2675
3031
|
IxModal,
|
|
2676
3032
|
IxModalContent,
|
|
2677
|
-
IxModalExample,
|
|
2678
3033
|
IxModalFooter,
|
|
2679
3034
|
IxModalHeader,
|
|
3035
|
+
IxNumberInput,
|
|
2680
3036
|
IxPagination,
|
|
2681
3037
|
IxPane,
|
|
2682
3038
|
IxPaneLayout,
|
|
2683
3039
|
IxPill,
|
|
2684
3040
|
IxPushCard,
|
|
3041
|
+
IxRadio,
|
|
3042
|
+
IxRadioGroup,
|
|
2685
3043
|
IxRow,
|
|
2686
3044
|
IxSelect,
|
|
2687
3045
|
IxSelectItem,
|
|
@@ -2691,6 +3049,7 @@ const DIRECTIVES = [
|
|
|
2691
3049
|
IxSplitButtonItem,
|
|
2692
3050
|
IxTabItem,
|
|
2693
3051
|
IxTabs,
|
|
3052
|
+
IxTextarea,
|
|
2694
3053
|
IxTile,
|
|
2695
3054
|
IxTimePicker,
|
|
2696
3055
|
IxToast,
|
|
@@ -2706,37 +3065,6 @@ const DIRECTIVES = [
|
|
|
2706
3065
|
IxWorkflowSteps
|
|
2707
3066
|
];
|
|
2708
3067
|
|
|
2709
|
-
class SelectValueAccessor extends ValueAccessor {
|
|
2710
|
-
constructor(el) {
|
|
2711
|
-
super(el);
|
|
2712
|
-
}
|
|
2713
|
-
}
|
|
2714
|
-
/** @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 });
|
|
2715
|
-
/** @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: [
|
|
2716
|
-
{
|
|
2717
|
-
provide: NG_VALUE_ACCESSOR,
|
|
2718
|
-
useExisting: SelectValueAccessor,
|
|
2719
|
-
multi: true
|
|
2720
|
-
}
|
|
2721
|
-
], usesInheritance: true, ngImport: i0 });
|
|
2722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SelectValueAccessor, decorators: [{
|
|
2723
|
-
type: Directive,
|
|
2724
|
-
args: [{
|
|
2725
|
-
/* tslint:disable-next-line:directive-selector */
|
|
2726
|
-
selector: 'ix-select[ngModel],ix-select[formControlName],ix-select[formControl]',
|
|
2727
|
-
host: {
|
|
2728
|
-
'(valueChange)': 'handleChangeEvent($event.target.value)'
|
|
2729
|
-
},
|
|
2730
|
-
providers: [
|
|
2731
|
-
{
|
|
2732
|
-
provide: NG_VALUE_ACCESSOR,
|
|
2733
|
-
useExisting: SelectValueAccessor,
|
|
2734
|
-
multi: true
|
|
2735
|
-
}
|
|
2736
|
-
]
|
|
2737
|
-
}]
|
|
2738
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
2739
|
-
|
|
2740
3068
|
/*
|
|
2741
3069
|
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
2742
3070
|
*
|
|
@@ -2916,6 +3244,189 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
2916
3244
|
* LICENSE file in the root directory of this source tree.
|
|
2917
3245
|
*/
|
|
2918
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
|
+
|
|
2919
3430
|
/*
|
|
2920
3431
|
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
2921
3432
|
*
|
|
@@ -2929,8 +3440,11 @@ const DECLARATIONS = [
|
|
|
2929
3440
|
IxTree,
|
|
2930
3441
|
IxDropdownTriggerDirective,
|
|
2931
3442
|
IxIcon,
|
|
2932
|
-
|
|
2933
|
-
|
|
3443
|
+
TextValueAccessorDirective,
|
|
3444
|
+
SelectValueAccessorDirective,
|
|
3445
|
+
RadioValueAccessorDirective,
|
|
3446
|
+
BooleanValueAccessorDirective,
|
|
3447
|
+
DateValueAccessorDirective,
|
|
2934
3448
|
];
|
|
2935
3449
|
class IxModule {
|
|
2936
3450
|
static forRoot() {
|
|
@@ -2951,13 +3465,19 @@ class IxModule {
|
|
|
2951
3465
|
}
|
|
2952
3466
|
}
|
|
2953
3467
|
/** @nocollapse */ IxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2954
|
-
/** @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,
|
|
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,
|
|
2955
3469
|
IxIcon,
|
|
2956
|
-
|
|
2957
|
-
|
|
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,
|
|
2958
3475
|
IxIcon,
|
|
2959
|
-
|
|
2960
|
-
|
|
3476
|
+
TextValueAccessorDirective,
|
|
3477
|
+
SelectValueAccessorDirective,
|
|
3478
|
+
RadioValueAccessorDirective,
|
|
3479
|
+
BooleanValueAccessorDirective,
|
|
3480
|
+
DateValueAccessorDirective] });
|
|
2961
3481
|
/** @nocollapse */ IxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModule });
|
|
2962
3482
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModule, decorators: [{
|
|
2963
3483
|
type: NgModule,
|
|
@@ -2980,5 +3500,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
2980
3500
|
* Generated bundle index. Do not edit.
|
|
2981
3501
|
*/
|
|
2982
3502
|
|
|
2983
|
-
export {
|
|
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 };
|
|
2984
3504
|
//# sourceMappingURL=siemens-ix-angular.mjs.map
|