@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, __awaiter } 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 {
|
|
@@ -2584,6 +2767,172 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
2584
2767
|
* LICENSE file in the root directory of this source tree.
|
|
2585
2768
|
*/
|
|
2586
2769
|
|
|
2770
|
+
/*
|
|
2771
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
2772
|
+
*
|
|
2773
|
+
* SPDX-License-Identifier: MIT
|
|
2774
|
+
*
|
|
2775
|
+
* This source code is licensed under the MIT license found in the
|
|
2776
|
+
* LICENSE file in the root directory of this source tree.
|
|
2777
|
+
*/
|
|
2778
|
+
class ValueAccessor {
|
|
2779
|
+
constructor(injector, elementRef) {
|
|
2780
|
+
this.injector = injector;
|
|
2781
|
+
this.elementRef = elementRef;
|
|
2782
|
+
this.onChange = () => {
|
|
2783
|
+
/**/
|
|
2784
|
+
};
|
|
2785
|
+
this.onTouched = () => {
|
|
2786
|
+
/**/
|
|
2787
|
+
};
|
|
2788
|
+
}
|
|
2789
|
+
writeValue(value) {
|
|
2790
|
+
this.elementRef.nativeElement.value = this.lastValue = value;
|
|
2791
|
+
mapNgToIxClassNames(this.elementRef);
|
|
2792
|
+
}
|
|
2793
|
+
handleValueChange(el, value) {
|
|
2794
|
+
if (el === this.elementRef.nativeElement) {
|
|
2795
|
+
if (value !== this.lastValue) {
|
|
2796
|
+
this.lastValue = value;
|
|
2797
|
+
this.onChange(value);
|
|
2798
|
+
}
|
|
2799
|
+
mapNgToIxClassNames(this.elementRef);
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
_handleBlurEvent(el) {
|
|
2803
|
+
if (el === this.elementRef.nativeElement) {
|
|
2804
|
+
this.onTouched();
|
|
2805
|
+
mapNgToIxClassNames(this.elementRef);
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
registerOnChange(fn) {
|
|
2809
|
+
this.onChange = fn;
|
|
2810
|
+
}
|
|
2811
|
+
registerOnTouched(fn) {
|
|
2812
|
+
this.onTouched = fn;
|
|
2813
|
+
}
|
|
2814
|
+
setDisabledState(isDisabled) {
|
|
2815
|
+
this.elementRef.nativeElement.disabled = isDisabled;
|
|
2816
|
+
}
|
|
2817
|
+
ngOnDestroy() {
|
|
2818
|
+
if (this.statusChanges) {
|
|
2819
|
+
this.statusChanges.unsubscribe();
|
|
2820
|
+
}
|
|
2821
|
+
}
|
|
2822
|
+
ngAfterViewInit() {
|
|
2823
|
+
let ngControl;
|
|
2824
|
+
try {
|
|
2825
|
+
ngControl = this.injector.get(NgControl);
|
|
2826
|
+
}
|
|
2827
|
+
catch (_a) {
|
|
2828
|
+
/* No FormControl or ngModel binding */
|
|
2829
|
+
}
|
|
2830
|
+
if (!ngControl) {
|
|
2831
|
+
return;
|
|
2832
|
+
}
|
|
2833
|
+
if (ngControl.statusChanges) {
|
|
2834
|
+
this.statusChanges = ngControl.statusChanges.subscribe(() => {
|
|
2835
|
+
mapNgToIxClassNames(this.elementRef);
|
|
2836
|
+
});
|
|
2837
|
+
}
|
|
2838
|
+
detourFormControlMethods(ngControl, this.elementRef);
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2841
|
+
ValueAccessor.ANGULAR_CLASS_PREFIX = 'ng-';
|
|
2842
|
+
/** @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 });
|
|
2843
|
+
/** @nocollapse */ ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: ValueAccessor, host: { listeners: { "ixBlur": "_handleBlurEvent($event.target)" } }, ngImport: i0 });
|
|
2844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ValueAccessor, decorators: [{
|
|
2845
|
+
type: Directive
|
|
2846
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
|
|
2847
|
+
type: HostListener,
|
|
2848
|
+
args: ['ixBlur', ['$event.target']]
|
|
2849
|
+
}] } });
|
|
2850
|
+
const detourFormControlMethods = (ngControl, elementRef) => {
|
|
2851
|
+
const formControl = ngControl.control;
|
|
2852
|
+
if (formControl) {
|
|
2853
|
+
const methodsToPatch = [
|
|
2854
|
+
'markAsTouched',
|
|
2855
|
+
'markAllAsTouched',
|
|
2856
|
+
'markAsUntouched',
|
|
2857
|
+
'markAsDirty',
|
|
2858
|
+
'markAsPristine',
|
|
2859
|
+
];
|
|
2860
|
+
methodsToPatch.forEach((method) => {
|
|
2861
|
+
if (typeof formControl[method] !== 'undefined') {
|
|
2862
|
+
const oldFn = formControl[method].bind(formControl);
|
|
2863
|
+
formControl[method] = (...params) => {
|
|
2864
|
+
oldFn(...params);
|
|
2865
|
+
mapNgToIxClassNames(elementRef);
|
|
2866
|
+
};
|
|
2867
|
+
}
|
|
2868
|
+
});
|
|
2869
|
+
}
|
|
2870
|
+
};
|
|
2871
|
+
const mapNgToIxClassNames = (element) => {
|
|
2872
|
+
setTimeout(() => {
|
|
2873
|
+
const input = element.nativeElement;
|
|
2874
|
+
const classes = getClasses(input);
|
|
2875
|
+
const classList = input.classList;
|
|
2876
|
+
classList.remove('ix-valid', 'ix-invalid', 'ix-touched', 'ix-untouched', 'ix-dirty', 'ix-pristine');
|
|
2877
|
+
classList.add(...classes);
|
|
2878
|
+
});
|
|
2879
|
+
};
|
|
2880
|
+
const getClasses = (element) => {
|
|
2881
|
+
const classList = element.classList;
|
|
2882
|
+
const classes = [];
|
|
2883
|
+
for (let i = 0; i < classList.length; i++) {
|
|
2884
|
+
const item = classList.item(i);
|
|
2885
|
+
if (item === null || item === void 0 ? void 0 : item.startsWith(ValueAccessor.ANGULAR_CLASS_PREFIX)) {
|
|
2886
|
+
classes.push(`ix-${item.substring(3)}`);
|
|
2887
|
+
}
|
|
2888
|
+
}
|
|
2889
|
+
return classes;
|
|
2890
|
+
};
|
|
2891
|
+
|
|
2892
|
+
/*
|
|
2893
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
2894
|
+
*
|
|
2895
|
+
* SPDX-License-Identifier: MIT
|
|
2896
|
+
*
|
|
2897
|
+
* This source code is licensed under the MIT license found in the
|
|
2898
|
+
* LICENSE file in the root directory of this source tree.
|
|
2899
|
+
*/
|
|
2900
|
+
class TextValueAccessorDirective extends ValueAccessor {
|
|
2901
|
+
constructor(injector, el) {
|
|
2902
|
+
super(injector, el);
|
|
2903
|
+
}
|
|
2904
|
+
handleInputEvent(el) {
|
|
2905
|
+
super.handleValueChange(el, el.value);
|
|
2906
|
+
}
|
|
2907
|
+
}
|
|
2908
|
+
/** @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 });
|
|
2909
|
+
/** @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: [
|
|
2910
|
+
{
|
|
2911
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2912
|
+
useExisting: TextValueAccessorDirective,
|
|
2913
|
+
multi: true,
|
|
2914
|
+
},
|
|
2915
|
+
], usesInheritance: true, ngImport: i0 });
|
|
2916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TextValueAccessorDirective, decorators: [{
|
|
2917
|
+
type: Directive,
|
|
2918
|
+
args: [{
|
|
2919
|
+
selector: 'ix-input,ix-number-field,ix-textarea-field',
|
|
2920
|
+
providers: [
|
|
2921
|
+
{
|
|
2922
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2923
|
+
useExisting: TextValueAccessorDirective,
|
|
2924
|
+
multi: true,
|
|
2925
|
+
},
|
|
2926
|
+
],
|
|
2927
|
+
}]
|
|
2928
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
|
|
2929
|
+
type: HostListener,
|
|
2930
|
+
args: ['input', ['$event.target']]
|
|
2931
|
+
}, {
|
|
2932
|
+
type: HostListener,
|
|
2933
|
+
args: ['valueChange', ['$event.target']]
|
|
2934
|
+
}] } });
|
|
2935
|
+
|
|
2587
2936
|
let didInitialize = false;
|
|
2588
2937
|
const appInitialize = (doc) => {
|
|
2589
2938
|
return () => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -2593,8 +2942,8 @@ const appInitialize = (doc) => {
|
|
|
2593
2942
|
return;
|
|
2594
2943
|
}
|
|
2595
2944
|
didInitialize = true;
|
|
2596
|
-
defineCustomElements();
|
|
2597
|
-
|
|
2945
|
+
yield defineCustomElements();
|
|
2946
|
+
defineCustomElements$1();
|
|
2598
2947
|
}
|
|
2599
2948
|
});
|
|
2600
2949
|
};
|
|
@@ -2615,11 +2964,15 @@ const DIRECTIVES = [
|
|
|
2615
2964
|
IxCardList,
|
|
2616
2965
|
IxCardTitle,
|
|
2617
2966
|
IxCategoryFilter,
|
|
2967
|
+
IxCheckbox,
|
|
2968
|
+
IxCheckboxGroup,
|
|
2618
2969
|
IxChip,
|
|
2619
2970
|
IxCol,
|
|
2620
2971
|
IxContent,
|
|
2621
2972
|
IxContentHeader,
|
|
2973
|
+
IxCustomField,
|
|
2622
2974
|
IxDateDropdown,
|
|
2975
|
+
IxDateInput,
|
|
2623
2976
|
IxDatePicker,
|
|
2624
2977
|
IxDatetimePicker,
|
|
2625
2978
|
IxDivider,
|
|
@@ -2633,19 +2986,22 @@ const DIRECTIVES = [
|
|
|
2633
2986
|
IxEventList,
|
|
2634
2987
|
IxEventListItem,
|
|
2635
2988
|
IxExpandingSearch,
|
|
2989
|
+
IxFieldLabel,
|
|
2636
2990
|
IxFilterChip,
|
|
2637
2991
|
IxFlipTile,
|
|
2638
2992
|
IxFlipTileContent,
|
|
2639
|
-
IxFormField,
|
|
2640
2993
|
IxGroup,
|
|
2641
2994
|
IxGroupContextMenu,
|
|
2642
2995
|
IxGroupItem,
|
|
2996
|
+
IxHelperText,
|
|
2643
2997
|
IxIconButton,
|
|
2644
2998
|
IxIconToggleButton,
|
|
2999
|
+
IxInput,
|
|
2645
3000
|
IxInputGroup,
|
|
2646
3001
|
IxKeyValue,
|
|
2647
3002
|
IxKeyValueList,
|
|
2648
3003
|
IxKpi,
|
|
3004
|
+
IxLayoutAuto,
|
|
2649
3005
|
IxLayoutGrid,
|
|
2650
3006
|
IxLinkButton,
|
|
2651
3007
|
IxMapNavigation,
|
|
@@ -2663,14 +3019,16 @@ const DIRECTIVES = [
|
|
|
2663
3019
|
IxMessageBar,
|
|
2664
3020
|
IxModal,
|
|
2665
3021
|
IxModalContent,
|
|
2666
|
-
IxModalExample,
|
|
2667
3022
|
IxModalFooter,
|
|
2668
3023
|
IxModalHeader,
|
|
3024
|
+
IxNumberInput,
|
|
2669
3025
|
IxPagination,
|
|
2670
3026
|
IxPane,
|
|
2671
3027
|
IxPaneLayout,
|
|
2672
3028
|
IxPill,
|
|
2673
3029
|
IxPushCard,
|
|
3030
|
+
IxRadio,
|
|
3031
|
+
IxRadioGroup,
|
|
2674
3032
|
IxRow,
|
|
2675
3033
|
IxSelect,
|
|
2676
3034
|
IxSelectItem,
|
|
@@ -2680,6 +3038,7 @@ const DIRECTIVES = [
|
|
|
2680
3038
|
IxSplitButtonItem,
|
|
2681
3039
|
IxTabItem,
|
|
2682
3040
|
IxTabs,
|
|
3041
|
+
IxTextarea,
|
|
2683
3042
|
IxTile,
|
|
2684
3043
|
IxTimePicker,
|
|
2685
3044
|
IxToast,
|
|
@@ -2695,37 +3054,6 @@ const DIRECTIVES = [
|
|
|
2695
3054
|
IxWorkflowSteps
|
|
2696
3055
|
];
|
|
2697
3056
|
|
|
2698
|
-
class SelectValueAccessor extends ValueAccessor {
|
|
2699
|
-
constructor(el) {
|
|
2700
|
-
super(el);
|
|
2701
|
-
}
|
|
2702
|
-
}
|
|
2703
|
-
/** @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 });
|
|
2704
|
-
/** @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: [
|
|
2705
|
-
{
|
|
2706
|
-
provide: NG_VALUE_ACCESSOR,
|
|
2707
|
-
useExisting: SelectValueAccessor,
|
|
2708
|
-
multi: true
|
|
2709
|
-
}
|
|
2710
|
-
], usesInheritance: true, ngImport: i0 });
|
|
2711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SelectValueAccessor, decorators: [{
|
|
2712
|
-
type: Directive,
|
|
2713
|
-
args: [{
|
|
2714
|
-
/* tslint:disable-next-line:directive-selector */
|
|
2715
|
-
selector: 'ix-select[ngModel],ix-select[formControlName],ix-select[formControl]',
|
|
2716
|
-
host: {
|
|
2717
|
-
'(valueChange)': 'handleChangeEvent($event.target.value)'
|
|
2718
|
-
},
|
|
2719
|
-
providers: [
|
|
2720
|
-
{
|
|
2721
|
-
provide: NG_VALUE_ACCESSOR,
|
|
2722
|
-
useExisting: SelectValueAccessor,
|
|
2723
|
-
multi: true
|
|
2724
|
-
}
|
|
2725
|
-
]
|
|
2726
|
-
}]
|
|
2727
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
2728
|
-
|
|
2729
3057
|
/*
|
|
2730
3058
|
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
2731
3059
|
*
|
|
@@ -2898,6 +3226,189 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
2898
3226
|
* LICENSE file in the root directory of this source tree.
|
|
2899
3227
|
*/
|
|
2900
3228
|
|
|
3229
|
+
/*
|
|
3230
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
3231
|
+
*
|
|
3232
|
+
* SPDX-License-Identifier: MIT
|
|
3233
|
+
*
|
|
3234
|
+
* This source code is licensed under the MIT license found in the
|
|
3235
|
+
* LICENSE file in the root directory of this source tree.
|
|
3236
|
+
*/
|
|
3237
|
+
class SelectValueAccessorDirective extends ValueAccessor {
|
|
3238
|
+
constructor(injector, el) {
|
|
3239
|
+
super(injector, el);
|
|
3240
|
+
}
|
|
3241
|
+
handleChangeEvent(el) {
|
|
3242
|
+
super.handleValueChange(el, el.value);
|
|
3243
|
+
}
|
|
3244
|
+
}
|
|
3245
|
+
/** @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 });
|
|
3246
|
+
/** @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: [
|
|
3247
|
+
{
|
|
3248
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3249
|
+
useExisting: SelectValueAccessorDirective,
|
|
3250
|
+
multi: true,
|
|
3251
|
+
},
|
|
3252
|
+
], usesInheritance: true, ngImport: i0 });
|
|
3253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SelectValueAccessorDirective, decorators: [{
|
|
3254
|
+
type: Directive,
|
|
3255
|
+
args: [{
|
|
3256
|
+
selector: 'ix-select',
|
|
3257
|
+
providers: [
|
|
3258
|
+
{
|
|
3259
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3260
|
+
useExisting: SelectValueAccessorDirective,
|
|
3261
|
+
multi: true,
|
|
3262
|
+
},
|
|
3263
|
+
],
|
|
3264
|
+
}]
|
|
3265
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
|
|
3266
|
+
type: HostListener,
|
|
3267
|
+
args: ['valueChange', ['$event.target']]
|
|
3268
|
+
}] } });
|
|
3269
|
+
|
|
3270
|
+
/*
|
|
3271
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
3272
|
+
*
|
|
3273
|
+
* SPDX-License-Identifier: MIT
|
|
3274
|
+
*
|
|
3275
|
+
* This source code is licensed under the MIT license found in the
|
|
3276
|
+
* LICENSE file in the root directory of this source tree.
|
|
3277
|
+
*/
|
|
3278
|
+
class RadioValueAccessorDirective extends ValueAccessor {
|
|
3279
|
+
constructor(injector, el) {
|
|
3280
|
+
super(injector, el);
|
|
3281
|
+
}
|
|
3282
|
+
writeValue(value) {
|
|
3283
|
+
this.lastValue = value;
|
|
3284
|
+
this.elementRef.nativeElement.checked =
|
|
3285
|
+
this.elementRef.nativeElement.value === value;
|
|
3286
|
+
mapNgToIxClassNames(this.elementRef);
|
|
3287
|
+
}
|
|
3288
|
+
handleChangeEvent(el) {
|
|
3289
|
+
super.handleValueChange(el, el.value);
|
|
3290
|
+
}
|
|
3291
|
+
}
|
|
3292
|
+
/** @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 });
|
|
3293
|
+
/** @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: [
|
|
3294
|
+
{
|
|
3295
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3296
|
+
useExisting: RadioValueAccessorDirective,
|
|
3297
|
+
multi: true,
|
|
3298
|
+
},
|
|
3299
|
+
], usesInheritance: true, ngImport: i0 });
|
|
3300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RadioValueAccessorDirective, decorators: [{
|
|
3301
|
+
type: Directive,
|
|
3302
|
+
args: [{
|
|
3303
|
+
selector: 'ix-radio',
|
|
3304
|
+
providers: [
|
|
3305
|
+
{
|
|
3306
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3307
|
+
useExisting: RadioValueAccessorDirective,
|
|
3308
|
+
multi: true,
|
|
3309
|
+
},
|
|
3310
|
+
],
|
|
3311
|
+
}]
|
|
3312
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
|
|
3313
|
+
type: HostListener,
|
|
3314
|
+
args: ['checkedChange', ['$event.target']]
|
|
3315
|
+
}] } });
|
|
3316
|
+
|
|
3317
|
+
/*
|
|
3318
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
3319
|
+
*
|
|
3320
|
+
* SPDX-License-Identifier: MIT
|
|
3321
|
+
*
|
|
3322
|
+
* This source code is licensed under the MIT license found in the
|
|
3323
|
+
* LICENSE file in the root directory of this source tree.
|
|
3324
|
+
*/
|
|
3325
|
+
class BooleanValueAccessorDirective extends ValueAccessor {
|
|
3326
|
+
constructor(injector, el) {
|
|
3327
|
+
super(injector, el);
|
|
3328
|
+
}
|
|
3329
|
+
writeValue(value) {
|
|
3330
|
+
this.elementRef.nativeElement.checked = this.lastValue = value;
|
|
3331
|
+
mapNgToIxClassNames(this.elementRef);
|
|
3332
|
+
}
|
|
3333
|
+
handleChangeEvent(el) {
|
|
3334
|
+
super.handleValueChange(el, el.checked);
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
/** @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 });
|
|
3338
|
+
/** @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: [
|
|
3339
|
+
{
|
|
3340
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3341
|
+
useExisting: BooleanValueAccessorDirective,
|
|
3342
|
+
multi: true,
|
|
3343
|
+
},
|
|
3344
|
+
], usesInheritance: true, ngImport: i0 });
|
|
3345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BooleanValueAccessorDirective, decorators: [{
|
|
3346
|
+
type: Directive,
|
|
3347
|
+
args: [{
|
|
3348
|
+
selector: 'ix-checkbox,ix-toggle',
|
|
3349
|
+
providers: [
|
|
3350
|
+
{
|
|
3351
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3352
|
+
useExisting: BooleanValueAccessorDirective,
|
|
3353
|
+
multi: true,
|
|
3354
|
+
},
|
|
3355
|
+
],
|
|
3356
|
+
}]
|
|
3357
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
|
|
3358
|
+
type: HostListener,
|
|
3359
|
+
args: ['checkedChange', ['$event.target']]
|
|
3360
|
+
}] } });
|
|
3361
|
+
|
|
3362
|
+
/*
|
|
3363
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
3364
|
+
*
|
|
3365
|
+
* SPDX-License-Identifier: MIT
|
|
3366
|
+
*
|
|
3367
|
+
* This source code is licensed under the MIT license found in the
|
|
3368
|
+
* LICENSE file in the root directory of this source tree.
|
|
3369
|
+
*/
|
|
3370
|
+
class DateValueAccessorDirective extends ValueAccessor {
|
|
3371
|
+
constructor(injector, el) {
|
|
3372
|
+
super(injector, el);
|
|
3373
|
+
}
|
|
3374
|
+
handleInputEvent(el) {
|
|
3375
|
+
super.handleValueChange(el, el.value);
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3378
|
+
/** @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 });
|
|
3379
|
+
/** @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: [
|
|
3380
|
+
{
|
|
3381
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3382
|
+
useExisting: DateValueAccessorDirective,
|
|
3383
|
+
multi: true,
|
|
3384
|
+
},
|
|
3385
|
+
], usesInheritance: true, ngImport: i0 });
|
|
3386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DateValueAccessorDirective, decorators: [{
|
|
3387
|
+
type: Directive,
|
|
3388
|
+
args: [{
|
|
3389
|
+
selector: 'ix-date-input',
|
|
3390
|
+
providers: [
|
|
3391
|
+
{
|
|
3392
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3393
|
+
useExisting: DateValueAccessorDirective,
|
|
3394
|
+
multi: true,
|
|
3395
|
+
},
|
|
3396
|
+
],
|
|
3397
|
+
}]
|
|
3398
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
|
|
3399
|
+
type: HostListener,
|
|
3400
|
+
args: ['valueChange', ['$event.target']]
|
|
3401
|
+
}] } });
|
|
3402
|
+
|
|
3403
|
+
/*
|
|
3404
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
3405
|
+
*
|
|
3406
|
+
* SPDX-License-Identifier: MIT
|
|
3407
|
+
*
|
|
3408
|
+
* This source code is licensed under the MIT license found in the
|
|
3409
|
+
* LICENSE file in the root directory of this source tree.
|
|
3410
|
+
*/
|
|
3411
|
+
|
|
2901
3412
|
/*
|
|
2902
3413
|
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
2903
3414
|
*
|
|
@@ -2911,8 +3422,11 @@ const DECLARATIONS = [
|
|
|
2911
3422
|
IxTree,
|
|
2912
3423
|
IxDropdownTriggerDirective,
|
|
2913
3424
|
IxIcon,
|
|
2914
|
-
|
|
2915
|
-
|
|
3425
|
+
TextValueAccessorDirective,
|
|
3426
|
+
SelectValueAccessorDirective,
|
|
3427
|
+
RadioValueAccessorDirective,
|
|
3428
|
+
BooleanValueAccessorDirective,
|
|
3429
|
+
DateValueAccessorDirective,
|
|
2916
3430
|
];
|
|
2917
3431
|
class IxModule {
|
|
2918
3432
|
static forRoot() {
|
|
@@ -2933,13 +3447,19 @@ class IxModule {
|
|
|
2933
3447
|
}
|
|
2934
3448
|
}
|
|
2935
3449
|
/** @nocollapse */ IxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2936
|
-
/** @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,
|
|
3450
|
+
/** @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,
|
|
2937
3451
|
IxIcon,
|
|
2938
|
-
|
|
2939
|
-
|
|
3452
|
+
TextValueAccessorDirective,
|
|
3453
|
+
SelectValueAccessorDirective,
|
|
3454
|
+
RadioValueAccessorDirective,
|
|
3455
|
+
BooleanValueAccessorDirective,
|
|
3456
|
+
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,
|
|
2940
3457
|
IxIcon,
|
|
2941
|
-
|
|
2942
|
-
|
|
3458
|
+
TextValueAccessorDirective,
|
|
3459
|
+
SelectValueAccessorDirective,
|
|
3460
|
+
RadioValueAccessorDirective,
|
|
3461
|
+
BooleanValueAccessorDirective,
|
|
3462
|
+
DateValueAccessorDirective] });
|
|
2943
3463
|
/** @nocollapse */ IxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModule });
|
|
2944
3464
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IxModule, decorators: [{
|
|
2945
3465
|
type: NgModule,
|
|
@@ -2962,5 +3482,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
2962
3482
|
* Generated bundle index. Do not edit.
|
|
2963
3483
|
*/
|
|
2964
3484
|
|
|
2965
|
-
export {
|
|
3485
|
+
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 };
|
|
2966
3486
|
//# sourceMappingURL=siemens-ix-angular.mjs.map
|