@siemens/ix-angular 0.0.0-pr-1318-20240627080522 → 0.0.0-pr-1522-20241021144048
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/boolean-value-accessor.d.ts +9 -0
- package/components.d.ts +19 -183
- package/declare-components.d.ts +1 -1
- package/esm2020/app-initialize.mjs +2 -2
- package/esm2020/boolean-value-accessor.mjs +38 -0
- package/esm2020/components.mjs +37 -323
- package/esm2020/declare-components.mjs +2 -13
- package/esm2020/index.mjs +3 -2
- package/esm2020/module.mjs +10 -22
- package/esm2020/select-value-accessor.mjs +35 -0
- package/esm2020/value-accessor.mjs +40 -0
- package/fesm2015/siemens-ix-angular.mjs +154 -695
- package/fesm2015/siemens-ix-angular.mjs.map +1 -1
- package/fesm2020/siemens-ix-angular.mjs +154 -695
- package/fesm2020/siemens-ix-angular.mjs.map +1 -1
- package/index.d.ts +2 -1
- package/module.d.ts +3 -6
- package/package.json +2 -2
- package/select-value-accessor.d.ts +8 -0
- package/{control-value-accessors/value-accessor.d.ts → value-accessor.d.ts} +6 -12
- package/control-value-accessors/boolean-value-accessor.d.ts +0 -10
- package/control-value-accessors/date-value-accessor.d.ts +0 -9
- package/control-value-accessors/index.d.ts +0 -5
- package/control-value-accessors/radio-value-accessor.d.ts +0 -10
- package/control-value-accessors/select-value-accessor.d.ts +0 -9
- package/control-value-accessors/text-value-accessor.d.ts +0 -9
- package/esm2020/control-value-accessors/boolean-value-accessor.mjs +0 -49
- package/esm2020/control-value-accessors/date-value-accessor.mjs +0 -45
- package/esm2020/control-value-accessors/index.mjs +0 -14
- package/esm2020/control-value-accessors/radio-value-accessor.mjs +0 -51
- package/esm2020/control-value-accessors/select-value-accessor.mjs +0 -45
- package/esm2020/control-value-accessors/text-value-accessor.mjs +0 -48
- package/esm2020/control-value-accessors/value-accessor.mjs +0 -125
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from './value-accessor';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BooleanValueAccessor extends ValueAccessor {
|
|
5
|
+
constructor(el: ElementRef);
|
|
6
|
+
writeValue(value: any): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanValueAccessor, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BooleanValueAccessor, "ix-toggle[ngModel],ix-toggle[formControlName],ix-toggle[formControl]", never, {}, {}, never>;
|
|
9
|
+
}
|
package/components.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { Components } from '@siemens/ix';
|
|
|
3
3
|
import type { InputState as IIxCategoryFilterInputState } from '@siemens/ix';
|
|
4
4
|
import type { FilterState as IIxCategoryFilterFilterState } from '@siemens/ix';
|
|
5
5
|
import type { DateRangeChangeEvent as IIxDateDropdownDateRangeChangeEvent } from '@siemens/ix';
|
|
6
|
-
import type { DateFieldValidityState as IIxDateFieldDateFieldValidityState } from '@siemens/ix';
|
|
7
6
|
import type { DateChangeEvent as IIxDatePickerDateChangeEvent } from '@siemens/ix';
|
|
8
7
|
import type { DateTimeDateChangeEvent as IIxDatetimePickerDateTimeDateChangeEvent } from '@siemens/ix';
|
|
9
8
|
import type { DateTimeSelectEvent as IIxDatetimePickerDateTimeSelectEvent } from '@siemens/ix';
|
|
@@ -39,9 +38,13 @@ export declare class IxApplicationHeader {
|
|
|
39
38
|
protected el: HTMLElement;
|
|
40
39
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
41
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxApplicationHeader, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxApplicationHeader, "ix-application-header", never, { "name": "name"; }, {}, never, ["*"]>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxApplicationHeader, "ix-application-header", never, { "name": "name"; "showMenu": "showMenu"; }, {}, never, ["*"]>;
|
|
43
42
|
}
|
|
44
43
|
export declare interface IxApplicationHeader extends Components.IxApplicationHeader {
|
|
44
|
+
/**
|
|
45
|
+
* Event emitted when the menu toggle button is clicked @since 2.5.0
|
|
46
|
+
*/
|
|
47
|
+
menuToggle: EventEmitter<CustomEvent<boolean>>;
|
|
45
48
|
}
|
|
46
49
|
export declare class IxAvatar {
|
|
47
50
|
protected z: NgZone;
|
|
@@ -182,7 +185,7 @@ export declare class IxCategoryFilter {
|
|
|
182
185
|
}
|
|
183
186
|
export declare interface IxCategoryFilter extends Components.IxCategoryFilter {
|
|
184
187
|
/**
|
|
185
|
-
* Event dispatched whenever
|
|
188
|
+
* Event dispatched whenever a category gets selected in the dropdown
|
|
186
189
|
*/
|
|
187
190
|
categoryChanged: EventEmitter<CustomEvent<string>>;
|
|
188
191
|
/**
|
|
@@ -194,32 +197,6 @@ export declare interface IxCategoryFilter extends Components.IxCategoryFilter {
|
|
|
194
197
|
*/
|
|
195
198
|
filterChanged: EventEmitter<CustomEvent<IIxCategoryFilterFilterState>>;
|
|
196
199
|
}
|
|
197
|
-
export declare class IxCheckbox {
|
|
198
|
-
protected z: NgZone;
|
|
199
|
-
protected el: HTMLElement;
|
|
200
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
201
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxCheckbox, never>;
|
|
202
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxCheckbox, "ix-checkbox", never, { "checked": "checked"; "disabled": "disabled"; "indeterminate": "indeterminate"; "label": "label"; "name": "name"; "required": "required"; "value": "value"; }, {}, never, ["*"]>;
|
|
203
|
-
}
|
|
204
|
-
export declare interface IxCheckbox extends Components.IxCheckbox {
|
|
205
|
-
/**
|
|
206
|
-
* Event emitted when the checked state of the checkbox changes
|
|
207
|
-
*/
|
|
208
|
-
checkedChange: EventEmitter<CustomEvent<boolean>>;
|
|
209
|
-
/**
|
|
210
|
-
* Event emitted when the value of the checkbox changes
|
|
211
|
-
*/
|
|
212
|
-
valueChange: EventEmitter<CustomEvent<string>>;
|
|
213
|
-
}
|
|
214
|
-
export declare class IxCheckboxGroup {
|
|
215
|
-
protected z: NgZone;
|
|
216
|
-
protected el: HTMLElement;
|
|
217
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
218
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxCheckboxGroup, never>;
|
|
219
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxCheckboxGroup, "ix-checkbox-group", never, { "helperText": "helperText"; "infoText": "infoText"; "invalidText": "invalidText"; "label": "label"; "validText": "validText"; "warningText": "warningText"; }, {}, never, ["*"]>;
|
|
220
|
-
}
|
|
221
|
-
export declare interface IxCheckboxGroup extends Components.IxCheckboxGroup {
|
|
222
|
-
}
|
|
223
200
|
export declare class IxChip {
|
|
224
201
|
protected z: NgZone;
|
|
225
202
|
protected el: HTMLElement;
|
|
@@ -264,15 +241,6 @@ export declare interface IxContentHeader extends Components.IxContentHeader {
|
|
|
264
241
|
*/
|
|
265
242
|
backButtonClick: EventEmitter<CustomEvent<void>>;
|
|
266
243
|
}
|
|
267
|
-
export declare class IxCustomField {
|
|
268
|
-
protected z: NgZone;
|
|
269
|
-
protected el: HTMLElement;
|
|
270
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
271
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxCustomField, never>;
|
|
272
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxCustomField, "ix-custom-field", never, { "helperText": "helperText"; "infoText": "infoText"; "invalidText": "invalidText"; "label": "label"; "required": "required"; "showTextAsTooltip": "showTextAsTooltip"; "validText": "validText"; "warningText": "warningText"; }, {}, never, ["*"]>;
|
|
273
|
-
}
|
|
274
|
-
export declare interface IxCustomField extends Components.IxCustomField {
|
|
275
|
-
}
|
|
276
244
|
export declare class IxDateDropdown {
|
|
277
245
|
protected z: NgZone;
|
|
278
246
|
protected el: HTMLElement;
|
|
@@ -289,23 +257,6 @@ export declare interface IxDateDropdown extends Components.IxDateDropdown {
|
|
|
289
257
|
*/
|
|
290
258
|
dateRangeChange: EventEmitter<CustomEvent<IIxDateDropdownDateRangeChangeEvent>>;
|
|
291
259
|
}
|
|
292
|
-
export declare class IxDateField {
|
|
293
|
-
protected z: NgZone;
|
|
294
|
-
protected el: HTMLElement;
|
|
295
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
296
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxDateField, never>;
|
|
297
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxDateField, "ix-date-field", never, { "disabled": "disabled"; "format": "format"; "helperText": "helperText"; "i18nErrorDateUnparsable": "i18nErrorDateUnparsable"; "infoText": "infoText"; "invalidText": "invalidText"; "label": "label"; "name": "name"; "placeholder": "placeholder"; "readonly": "readonly"; "required": "required"; "showTextAsTooltip": "showTextAsTooltip"; "validText": "validText"; "value": "value"; "warningText": "warningText"; }, {}, never, ["*"]>;
|
|
298
|
-
}
|
|
299
|
-
export declare interface IxDateField extends Components.IxDateField {
|
|
300
|
-
/**
|
|
301
|
-
* Input change event.
|
|
302
|
-
*/
|
|
303
|
-
valueChange: EventEmitter<CustomEvent<string>>;
|
|
304
|
-
/**
|
|
305
|
-
* Validation state change event.
|
|
306
|
-
*/
|
|
307
|
-
validityStateChange: EventEmitter<CustomEvent<IIxDateFieldDateFieldValidityState>>;
|
|
308
|
-
}
|
|
309
260
|
export declare class IxDatePicker {
|
|
310
261
|
protected z: NgZone;
|
|
311
262
|
protected el: HTMLElement;
|
|
@@ -483,15 +434,6 @@ export declare interface IxExpandingSearch extends Components.IxExpandingSearch
|
|
|
483
434
|
*/
|
|
484
435
|
valueChange: EventEmitter<CustomEvent<string>>;
|
|
485
436
|
}
|
|
486
|
-
export declare class IxFieldLabel {
|
|
487
|
-
protected z: NgZone;
|
|
488
|
-
protected el: HTMLElement;
|
|
489
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
490
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxFieldLabel, never>;
|
|
491
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxFieldLabel, "ix-field-label", never, { "htmlFor": "htmlFor"; "required": "required"; }, {}, never, ["*"]>;
|
|
492
|
-
}
|
|
493
|
-
export declare interface IxFieldLabel extends Components.IxFieldLabel {
|
|
494
|
-
}
|
|
495
437
|
export declare class IxFilterChip {
|
|
496
438
|
protected z: NgZone;
|
|
497
439
|
protected el: HTMLElement;
|
|
@@ -523,6 +465,15 @@ export declare class IxFlipTileContent {
|
|
|
523
465
|
}
|
|
524
466
|
export declare interface IxFlipTileContent extends Components.IxFlipTileContent {
|
|
525
467
|
}
|
|
468
|
+
export declare class IxFormField {
|
|
469
|
+
protected z: NgZone;
|
|
470
|
+
protected el: HTMLElement;
|
|
471
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
472
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxFormField, never>;
|
|
473
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxFormField, "ix-form-field", never, { "label": "label"; }, {}, never, ["*"]>;
|
|
474
|
+
}
|
|
475
|
+
export declare interface IxFormField extends Components.IxFormField {
|
|
476
|
+
}
|
|
526
477
|
export declare class IxGroup {
|
|
527
478
|
protected z: NgZone;
|
|
528
479
|
protected el: HTMLElement;
|
|
@@ -566,15 +517,6 @@ export declare interface IxGroupItem extends Components.IxGroupItem {
|
|
|
566
517
|
*/
|
|
567
518
|
selectedChanged: EventEmitter<CustomEvent<HTMLIxGroupItemElement>>;
|
|
568
519
|
}
|
|
569
|
-
export declare class IxHelperText {
|
|
570
|
-
protected z: NgZone;
|
|
571
|
-
protected el: HTMLElement;
|
|
572
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
573
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxHelperText, never>;
|
|
574
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxHelperText, "ix-helper-text", never, { "helperText": "helperText"; "htmlFor": "htmlFor"; "infoText": "infoText"; "invalidText": "invalidText"; "validText": "validText"; "warningText": "warningText"; }, {}, never, ["*"]>;
|
|
575
|
-
}
|
|
576
|
-
export declare interface IxHelperText extends Components.IxHelperText {
|
|
577
|
-
}
|
|
578
520
|
export declare class IxIconButton {
|
|
579
521
|
protected z: NgZone;
|
|
580
522
|
protected el: HTMLElement;
|
|
@@ -633,15 +575,6 @@ export declare class IxKpi {
|
|
|
633
575
|
}
|
|
634
576
|
export declare interface IxKpi extends Components.IxKpi {
|
|
635
577
|
}
|
|
636
|
-
export declare class IxLayoutForm {
|
|
637
|
-
protected z: NgZone;
|
|
638
|
-
protected el: HTMLElement;
|
|
639
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
640
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxLayoutForm, never>;
|
|
641
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxLayoutForm, "ix-layout-form", never, { "layout": "layout"; }, {}, never, ["*"]>;
|
|
642
|
-
}
|
|
643
|
-
export declare interface IxLayoutForm extends Components.IxLayoutForm {
|
|
644
|
-
}
|
|
645
578
|
export declare class IxLayoutGrid {
|
|
646
579
|
protected z: NgZone;
|
|
647
580
|
protected el: HTMLElement;
|
|
@@ -891,27 +824,6 @@ export declare interface IxModalHeader extends Components.IxModalHeader {
|
|
|
891
824
|
*/
|
|
892
825
|
closeClick: EventEmitter<CustomEvent<MouseEvent>>;
|
|
893
826
|
}
|
|
894
|
-
export declare class IxNumberField {
|
|
895
|
-
protected z: NgZone;
|
|
896
|
-
protected el: HTMLElement;
|
|
897
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
898
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxNumberField, never>;
|
|
899
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxNumberField, "ix-number-field", never, { "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"; }, {}, never, ["*"]>;
|
|
900
|
-
}
|
|
901
|
-
export declare interface IxNumberField extends Components.IxNumberField {
|
|
902
|
-
/**
|
|
903
|
-
* Event emitted when the value of the input field changes
|
|
904
|
-
*/
|
|
905
|
-
valueChange: EventEmitter<CustomEvent<number>>;
|
|
906
|
-
/**
|
|
907
|
-
* Event emitted when the validity state of the input field changes
|
|
908
|
-
*/
|
|
909
|
-
validityStateChange: EventEmitter<CustomEvent<ValidityState>>;
|
|
910
|
-
/**
|
|
911
|
-
* Event emitted when the input field loses focus
|
|
912
|
-
*/
|
|
913
|
-
ixBlur: EventEmitter<CustomEvent<void>>;
|
|
914
|
-
}
|
|
915
827
|
export declare class IxPagination {
|
|
916
828
|
protected z: NgZone;
|
|
917
829
|
protected el: HTMLElement;
|
|
@@ -977,36 +889,6 @@ export declare class IxPushCard {
|
|
|
977
889
|
}
|
|
978
890
|
export declare interface IxPushCard extends Components.IxPushCard {
|
|
979
891
|
}
|
|
980
|
-
export declare class IxRadio {
|
|
981
|
-
protected z: NgZone;
|
|
982
|
-
protected el: HTMLElement;
|
|
983
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
984
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxRadio, never>;
|
|
985
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxRadio, "ix-radio", never, { "checked": "checked"; "disabled": "disabled"; "label": "label"; "name": "name"; "value": "value"; }, {}, never, ["*"]>;
|
|
986
|
-
}
|
|
987
|
-
export declare interface IxRadio extends Components.IxRadio {
|
|
988
|
-
/**
|
|
989
|
-
* Event emitted when the checked state of the radio changes
|
|
990
|
-
*/
|
|
991
|
-
checkedChange: EventEmitter<CustomEvent<boolean>>;
|
|
992
|
-
/**
|
|
993
|
-
* Event emitted when the value of the radio changes
|
|
994
|
-
*/
|
|
995
|
-
valueChange: EventEmitter<CustomEvent<string>>;
|
|
996
|
-
}
|
|
997
|
-
export declare class IxRadioGroup {
|
|
998
|
-
protected z: NgZone;
|
|
999
|
-
protected el: HTMLElement;
|
|
1000
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1001
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxRadioGroup, never>;
|
|
1002
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxRadioGroup, "ix-radio-group", never, { "helperText": "helperText"; "infoText": "infoText"; "invalidText": "invalidText"; "label": "label"; "showTextAsTooltip": "showTextAsTooltip"; "validText": "validText"; "value": "value"; "warningText": "warningText"; }, {}, never, ["*"]>;
|
|
1003
|
-
}
|
|
1004
|
-
export declare interface IxRadioGroup extends Components.IxRadioGroup {
|
|
1005
|
-
/**
|
|
1006
|
-
* Event emitted when the value of the radiobutton group changes
|
|
1007
|
-
*/
|
|
1008
|
-
valueChange: EventEmitter<CustomEvent<string>>;
|
|
1009
|
-
}
|
|
1010
892
|
export declare class IxRow {
|
|
1011
893
|
protected z: NgZone;
|
|
1012
894
|
protected el: HTMLElement;
|
|
@@ -1021,7 +903,7 @@ export declare class IxSelect {
|
|
|
1021
903
|
protected el: HTMLElement;
|
|
1022
904
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1023
905
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxSelect, never>;
|
|
1024
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxSelect, "ix-select", never, { "allowClear": "allowClear"; "disabled": "disabled"; "editable": "editable"; "
|
|
906
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxSelect, "ix-select", never, { "allowClear": "allowClear"; "disabled": "disabled"; "editable": "editable"; "hideListHeader": "hideListHeader"; "i18nNoMatches": "i18nNoMatches"; "i18nPlaceholder": "i18nPlaceholder"; "i18nPlaceholderEditable": "i18nPlaceholderEditable"; "i18nSelectListHeader": "i18nSelectListHeader"; "mode": "mode"; "readonly": "readonly"; "selectedIndices": "selectedIndices"; "value": "value"; }, {}, never, ["*"]>;
|
|
1025
907
|
}
|
|
1026
908
|
export declare interface IxSelect extends Components.IxSelect {
|
|
1027
909
|
/**
|
|
@@ -1040,10 +922,6 @@ export declare interface IxSelect extends Components.IxSelect {
|
|
|
1040
922
|
* Item added to selection
|
|
1041
923
|
*/
|
|
1042
924
|
addItem: EventEmitter<CustomEvent<string>>;
|
|
1043
|
-
/**
|
|
1044
|
-
* Blur input
|
|
1045
|
-
*/
|
|
1046
|
-
ixBlur: EventEmitter<CustomEvent<void>>;
|
|
1047
925
|
}
|
|
1048
926
|
export declare class IxSelectItem {
|
|
1049
927
|
protected z: NgZone;
|
|
@@ -1112,7 +990,7 @@ export declare class IxTabItem {
|
|
|
1112
990
|
}
|
|
1113
991
|
export declare interface IxTabItem extends Components.IxTabItem {
|
|
1114
992
|
/**
|
|
1115
|
-
*
|
|
993
|
+
* Emitted when the tab is clicked. @since 2.0.0
|
|
1116
994
|
*/
|
|
1117
995
|
tabClick: EventEmitter<CustomEvent<IIxTabItemTabClickDetail>>;
|
|
1118
996
|
}
|
|
@@ -1129,48 +1007,6 @@ export declare interface IxTabs extends Components.IxTabs {
|
|
|
1129
1007
|
*/
|
|
1130
1008
|
selectedChange: EventEmitter<CustomEvent<number>>;
|
|
1131
1009
|
}
|
|
1132
|
-
export declare class IxTextField {
|
|
1133
|
-
protected z: NgZone;
|
|
1134
|
-
protected el: HTMLElement;
|
|
1135
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1136
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxTextField, never>;
|
|
1137
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxTextField, "ix-text-field", never, { "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"; }, {}, never, ["*"]>;
|
|
1138
|
-
}
|
|
1139
|
-
export declare interface IxTextField extends Components.IxTextField {
|
|
1140
|
-
/**
|
|
1141
|
-
* Event emitted when the value of the text field changes.
|
|
1142
|
-
*/
|
|
1143
|
-
valueChange: EventEmitter<CustomEvent<string>>;
|
|
1144
|
-
/**
|
|
1145
|
-
* Event emitted when the validity state of the text field changes.
|
|
1146
|
-
*/
|
|
1147
|
-
validityStateChange: EventEmitter<CustomEvent<ValidityState>>;
|
|
1148
|
-
/**
|
|
1149
|
-
* Event emitted when the text field loses focus.
|
|
1150
|
-
*/
|
|
1151
|
-
ixBlur: EventEmitter<CustomEvent<void>>;
|
|
1152
|
-
}
|
|
1153
|
-
export declare class IxTextareaField {
|
|
1154
|
-
protected z: NgZone;
|
|
1155
|
-
protected el: HTMLElement;
|
|
1156
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1157
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxTextareaField, never>;
|
|
1158
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxTextareaField, "ix-textarea-field", never, { "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"; }, {}, never, ["*"]>;
|
|
1159
|
-
}
|
|
1160
|
-
export declare interface IxTextareaField extends Components.IxTextareaField {
|
|
1161
|
-
/**
|
|
1162
|
-
* Event emitted when the value of the textarea field changes.
|
|
1163
|
-
*/
|
|
1164
|
-
valueChange: EventEmitter<CustomEvent<string>>;
|
|
1165
|
-
/**
|
|
1166
|
-
* Event emitted when the validity state of the textarea field changes.
|
|
1167
|
-
*/
|
|
1168
|
-
validityStateChange: EventEmitter<CustomEvent<ValidityState>>;
|
|
1169
|
-
/**
|
|
1170
|
-
* Event emitted when the textarea field loses focus.
|
|
1171
|
-
*/
|
|
1172
|
-
ixBlur: EventEmitter<CustomEvent<void>>;
|
|
1173
|
-
}
|
|
1174
1010
|
export declare class IxTile {
|
|
1175
1011
|
protected z: NgZone;
|
|
1176
1012
|
protected el: HTMLElement;
|
|
@@ -1228,7 +1064,7 @@ export declare class IxToggle {
|
|
|
1228
1064
|
protected el: HTMLElement;
|
|
1229
1065
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1230
1066
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxToggle, never>;
|
|
1231
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxToggle, "ix-toggle", never, { "checked": "checked"; "disabled": "disabled"; "hideText": "hideText"; "indeterminate": "indeterminate"; "
|
|
1067
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxToggle, "ix-toggle", never, { "checked": "checked"; "disabled": "disabled"; "hideText": "hideText"; "indeterminate": "indeterminate"; "textIndeterminate": "textIndeterminate"; "textOff": "textOff"; "textOn": "textOn"; }, {}, never, ["*"]>;
|
|
1232
1068
|
}
|
|
1233
1069
|
export declare interface IxToggle extends Components.IxToggle {
|
|
1234
1070
|
/**
|
|
@@ -1271,7 +1107,7 @@ export declare interface IxTreeItem extends Components.IxTreeItem {
|
|
|
1271
1107
|
*/
|
|
1272
1108
|
toggle: EventEmitter<CustomEvent<void>>;
|
|
1273
1109
|
/**
|
|
1274
|
-
*
|
|
1110
|
+
* Click on item not on the expand/collapse icon
|
|
1275
1111
|
*/
|
|
1276
1112
|
itemClick: EventEmitter<CustomEvent<void>>;
|
|
1277
1113
|
}
|
package/declare-components.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as d from './components';
|
|
2
|
-
export declare const DIRECTIVES: (typeof d.IxActionCard | typeof d.IxApplication | typeof d.IxApplicationHeader | typeof d.IxAvatar | typeof d.IxBasicNavigation | typeof d.IxBlind | typeof d.IxBreadcrumb | typeof d.IxBreadcrumbItem | typeof d.IxButton | typeof d.IxCard | typeof d.IxCardAccordion | typeof d.IxCardContent | typeof d.IxCardList | typeof d.IxCardTitle | typeof d.IxCategoryFilter | typeof d.
|
|
2
|
+
export declare const DIRECTIVES: (typeof d.IxActionCard | typeof d.IxApplication | typeof d.IxApplicationHeader | typeof d.IxAvatar | typeof d.IxBasicNavigation | typeof d.IxBlind | typeof d.IxBreadcrumb | typeof d.IxBreadcrumbItem | typeof d.IxButton | typeof d.IxCard | typeof d.IxCardAccordion | typeof d.IxCardContent | typeof d.IxCardList | typeof d.IxCardTitle | typeof d.IxCategoryFilter | typeof d.IxChip | typeof d.IxCol | typeof d.IxContent | typeof d.IxContentHeader | typeof d.IxDateDropdown | typeof d.IxDatePicker | typeof d.IxDatetimePicker | typeof d.IxDivider | typeof d.IxDrawer | typeof d.IxDropdown | typeof d.IxDropdownButton | typeof d.IxDropdownHeader | typeof d.IxDropdownItem | typeof d.IxDropdownQuickActions | typeof d.IxEmptyState | typeof d.IxEventList | typeof d.IxEventListItem | typeof d.IxExpandingSearch | typeof d.IxFilterChip | typeof d.IxFlipTile | typeof d.IxFlipTileContent | typeof d.IxFormField | typeof d.IxGroup | typeof d.IxGroupContextMenu | typeof d.IxGroupItem | typeof d.IxIconButton | typeof d.IxIconToggleButton | typeof d.IxInputGroup | typeof d.IxKeyValue | typeof d.IxKeyValueList | typeof d.IxKpi | typeof d.IxLayoutGrid | typeof d.IxLinkButton | typeof d.IxMapNavigation | typeof d.IxMapNavigationOverlay | typeof d.IxMenu | typeof d.IxMenuAbout | typeof d.IxMenuAboutItem | typeof d.IxMenuAboutNews | typeof d.IxMenuAvatar | typeof d.IxMenuAvatarItem | typeof d.IxMenuCategory | typeof d.IxMenuItem | typeof d.IxMenuSettings | typeof d.IxMenuSettingsItem | typeof d.IxMessageBar | typeof d.IxModal | typeof d.IxModalContent | typeof d.IxModalExample | typeof d.IxModalFooter | typeof d.IxModalHeader | typeof d.IxPagination | typeof d.IxPane | typeof d.IxPaneLayout | typeof d.IxPill | typeof d.IxPushCard | typeof d.IxRow | typeof d.IxSelect | typeof d.IxSelectItem | typeof d.IxSlider | typeof d.IxSpinner | typeof d.IxSplitButton | typeof d.IxSplitButtonItem | typeof d.IxTabItem | typeof d.IxTabs | typeof d.IxTile | typeof d.IxTimePicker | typeof d.IxToast | typeof d.IxToastContainer | typeof d.IxToggle | typeof d.IxToggleButton | typeof d.IxTooltip | typeof d.IxTreeItem | typeof d.IxTypography | typeof d.IxUpload | typeof d.IxValidationTooltip | typeof d.IxWorkflowStep | typeof d.IxWorkflowSteps)[];
|
|
@@ -17,9 +17,9 @@ export const appInitialize = (doc) => {
|
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
19
|
didInitialize = true;
|
|
20
|
-
await iconsDefineCustomElements();
|
|
21
20
|
defineCustomElements();
|
|
21
|
+
await iconsDefineCustomElements();
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWluaXRpYWxpemUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYXBwLWluaXRpYWxpemUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7R0FPRztBQUVILE9BQU8sRUF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SBmcm9tICdAc2llbWVucy9peC9sb2FkZXInO1xuXG5sZXQgZGlkSW5pdGlhbGl6ZSA9IGZhbHNlO1xuXG5leHBvcnQgY29uc3QgYXBwSW5pdGlhbGl6ZSA9IChkb2M6IERvY3VtZW50KSA9PiB7XG4gIHJldHVybiBhc3luYyAoKSA9PiB7XG4gICAgY29uc3Qgd2luOiBXaW5kb3cgfCB1bmRlZmluZWQgPSBkb2MuZGVmYXVsdFZpZXcgYXMgYW55O1xuICAgIGlmICh3aW4gJiYgdHlwZW9mICh3aW5kb3cgYXMgYW55KSAhPT0gJ3VuZGVmaW5lZCcpIHtcbiAgICAgIGlmIChkaWRJbml0aWFsaXplKSB7XG4gICAgICAgIHJldHVybjtcbiAgICAgIH1cblxuICAgICAgZGlkSW5pdGlhbGl6ZSA9IHRydWU7XG5cbiAgICAgIGRlZmluZUN1c3RvbUVsZW1lbnRzKCk7XG4gICAgICBhd2FpdCBpY29uc0RlZmluZUN1c3RvbUVsZW1lbnRzKCk7XG4gICAgfVxuICB9O1xufTtcbiJdfQ==
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { ValueAccessor } from './value-accessor';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class BooleanValueAccessor extends ValueAccessor {
|
|
6
|
+
constructor(el) {
|
|
7
|
+
super(el);
|
|
8
|
+
}
|
|
9
|
+
writeValue(value) {
|
|
10
|
+
this.el.nativeElement.checked = this.lastValue = value == null ? false : value;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
/** @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 });
|
|
14
|
+
/** @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: [
|
|
15
|
+
{
|
|
16
|
+
provide: NG_VALUE_ACCESSOR,
|
|
17
|
+
useExisting: BooleanValueAccessor,
|
|
18
|
+
multi: true
|
|
19
|
+
}
|
|
20
|
+
], usesInheritance: true, ngImport: i0 });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BooleanValueAccessor, decorators: [{
|
|
22
|
+
type: Directive,
|
|
23
|
+
args: [{
|
|
24
|
+
/* tslint:disable-next-line:directive-selector */
|
|
25
|
+
selector: 'ix-toggle[ngModel],ix-toggle[formControlName],ix-toggle[formControl]',
|
|
26
|
+
host: {
|
|
27
|
+
'(checkedChange)': 'handleChangeEvent($event.target.checked)'
|
|
28
|
+
},
|
|
29
|
+
providers: [
|
|
30
|
+
{
|
|
31
|
+
provide: NG_VALUE_ACCESSOR,
|
|
32
|
+
useExisting: BooleanValueAccessor,
|
|
33
|
+
multi: true
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}]
|
|
37
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9vbGVhbi12YWx1ZS1hY2Nlc3Nvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ib29sZWFuLXZhbHVlLWFjY2Vzc29yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWMsTUFBTSxlQUFlLENBQUM7QUFDdEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFbkQsT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