@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
package/components.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ 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 { DateInputValidityState as IIxDateInputDateInputValidityState } from '@siemens/ix';
|
|
6
7
|
import type { DateChangeEvent as IIxDatePickerDateChangeEvent } from '@siemens/ix';
|
|
7
8
|
import type { DateTimeDateChangeEvent as IIxDatetimePickerDateTimeDateChangeEvent } from '@siemens/ix';
|
|
8
9
|
import type { DateTimeSelectEvent as IIxDatetimePickerDateTimeSelectEvent } from '@siemens/ix';
|
|
@@ -38,9 +39,13 @@ export declare class IxApplicationHeader {
|
|
|
38
39
|
protected el: HTMLElement;
|
|
39
40
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
40
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxApplicationHeader, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxApplicationHeader, "ix-application-header", never, { "name": "name"; }, {}, never, ["*"]>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxApplicationHeader, "ix-application-header", never, { "name": "name"; "showMenu": "showMenu"; }, {}, never, ["*"]>;
|
|
42
43
|
}
|
|
43
44
|
export declare interface IxApplicationHeader extends Components.IxApplicationHeader {
|
|
45
|
+
/**
|
|
46
|
+
* Event emitted when the menu toggle button is clicked @since 2.5.0
|
|
47
|
+
*/
|
|
48
|
+
menuToggle: EventEmitter<CustomEvent<boolean>>;
|
|
44
49
|
}
|
|
45
50
|
export declare class IxAvatar {
|
|
46
51
|
protected z: NgZone;
|
|
@@ -181,7 +186,7 @@ export declare class IxCategoryFilter {
|
|
|
181
186
|
}
|
|
182
187
|
export declare interface IxCategoryFilter extends Components.IxCategoryFilter {
|
|
183
188
|
/**
|
|
184
|
-
* Event dispatched whenever
|
|
189
|
+
* Event dispatched whenever a category gets selected in the dropdown
|
|
185
190
|
*/
|
|
186
191
|
categoryChanged: EventEmitter<CustomEvent<string>>;
|
|
187
192
|
/**
|
|
@@ -192,6 +197,36 @@ export declare interface IxCategoryFilter extends Components.IxCategoryFilter {
|
|
|
192
197
|
* Event dispatched whenever the filter state changes.
|
|
193
198
|
*/
|
|
194
199
|
filterChanged: EventEmitter<CustomEvent<IIxCategoryFilterFilterState>>;
|
|
200
|
+
/**
|
|
201
|
+
* Event dispatched whenever the filter gets cleared.
|
|
202
|
+
*/
|
|
203
|
+
filterCleared: EventEmitter<CustomEvent<void>>;
|
|
204
|
+
}
|
|
205
|
+
export declare class IxCheckbox {
|
|
206
|
+
protected z: NgZone;
|
|
207
|
+
protected el: HTMLElement;
|
|
208
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
209
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxCheckbox, never>;
|
|
210
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxCheckbox, "ix-checkbox", never, { "checked": "checked"; "disabled": "disabled"; "indeterminate": "indeterminate"; "label": "label"; "name": "name"; "required": "required"; "value": "value"; }, {}, never, ["*"]>;
|
|
211
|
+
}
|
|
212
|
+
export declare interface IxCheckbox extends Components.IxCheckbox {
|
|
213
|
+
/**
|
|
214
|
+
* Event emitted when the checked state of the checkbox changes
|
|
215
|
+
*/
|
|
216
|
+
checkedChange: EventEmitter<CustomEvent<boolean>>;
|
|
217
|
+
/**
|
|
218
|
+
* Event emitted when the value of the checkbox changes
|
|
219
|
+
*/
|
|
220
|
+
valueChange: EventEmitter<CustomEvent<string>>;
|
|
221
|
+
}
|
|
222
|
+
export declare class IxCheckboxGroup {
|
|
223
|
+
protected z: NgZone;
|
|
224
|
+
protected el: HTMLElement;
|
|
225
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
226
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxCheckboxGroup, never>;
|
|
227
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxCheckboxGroup, "ix-checkbox-group", never, { "direction": "direction"; "helperText": "helperText"; "infoText": "infoText"; "invalidText": "invalidText"; "label": "label"; "showTextAsTooltip": "showTextAsTooltip"; "validText": "validText"; "warningText": "warningText"; }, {}, never, ["*"]>;
|
|
228
|
+
}
|
|
229
|
+
export declare interface IxCheckboxGroup extends Components.IxCheckboxGroup {
|
|
195
230
|
}
|
|
196
231
|
export declare class IxChip {
|
|
197
232
|
protected z: NgZone;
|
|
@@ -237,12 +272,21 @@ export declare interface IxContentHeader extends Components.IxContentHeader {
|
|
|
237
272
|
*/
|
|
238
273
|
backButtonClick: EventEmitter<CustomEvent<void>>;
|
|
239
274
|
}
|
|
275
|
+
export declare class IxCustomField {
|
|
276
|
+
protected z: NgZone;
|
|
277
|
+
protected el: HTMLElement;
|
|
278
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
279
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxCustomField, never>;
|
|
280
|
+
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, ["*"]>;
|
|
281
|
+
}
|
|
282
|
+
export declare interface IxCustomField extends Components.IxCustomField {
|
|
283
|
+
}
|
|
240
284
|
export declare class IxDateDropdown {
|
|
241
285
|
protected z: NgZone;
|
|
242
286
|
protected el: HTMLElement;
|
|
243
287
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
244
288
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxDateDropdown, never>;
|
|
245
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxDateDropdown, "ix-date-dropdown", never, { "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"; }, {}, never, ["*"]>;
|
|
289
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxDateDropdown, "ix-date-dropdown", never, { "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"; }, {}, never, ["*"]>;
|
|
246
290
|
}
|
|
247
291
|
export declare interface IxDateDropdown extends Components.IxDateDropdown {
|
|
248
292
|
/**
|
|
@@ -253,6 +297,23 @@ export declare interface IxDateDropdown extends Components.IxDateDropdown {
|
|
|
253
297
|
*/
|
|
254
298
|
dateRangeChange: EventEmitter<CustomEvent<IIxDateDropdownDateRangeChangeEvent>>;
|
|
255
299
|
}
|
|
300
|
+
export declare class IxDateInput {
|
|
301
|
+
protected z: NgZone;
|
|
302
|
+
protected el: HTMLElement;
|
|
303
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
304
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxDateInput, never>;
|
|
305
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxDateInput, "ix-date-input", never, { "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"; }, {}, never, ["*"]>;
|
|
306
|
+
}
|
|
307
|
+
export declare interface IxDateInput extends Components.IxDateInput {
|
|
308
|
+
/**
|
|
309
|
+
* Input change event.
|
|
310
|
+
*/
|
|
311
|
+
valueChange: EventEmitter<CustomEvent<string>>;
|
|
312
|
+
/**
|
|
313
|
+
* Validation state change event.
|
|
314
|
+
*/
|
|
315
|
+
validityStateChange: EventEmitter<CustomEvent<IIxDateInputDateInputValidityState>>;
|
|
316
|
+
}
|
|
256
317
|
export declare class IxDatePicker {
|
|
257
318
|
protected z: NgZone;
|
|
258
319
|
protected el: HTMLElement;
|
|
@@ -430,6 +491,15 @@ export declare interface IxExpandingSearch extends Components.IxExpandingSearch
|
|
|
430
491
|
*/
|
|
431
492
|
valueChange: EventEmitter<CustomEvent<string>>;
|
|
432
493
|
}
|
|
494
|
+
export declare class IxFieldLabel {
|
|
495
|
+
protected z: NgZone;
|
|
496
|
+
protected el: HTMLElement;
|
|
497
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
498
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxFieldLabel, never>;
|
|
499
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxFieldLabel, "ix-field-label", never, { "htmlFor": "htmlFor"; "required": "required"; }, {}, never, ["*"]>;
|
|
500
|
+
}
|
|
501
|
+
export declare interface IxFieldLabel extends Components.IxFieldLabel {
|
|
502
|
+
}
|
|
433
503
|
export declare class IxFilterChip {
|
|
434
504
|
protected z: NgZone;
|
|
435
505
|
protected el: HTMLElement;
|
|
@@ -461,15 +531,6 @@ export declare class IxFlipTileContent {
|
|
|
461
531
|
}
|
|
462
532
|
export declare interface IxFlipTileContent extends Components.IxFlipTileContent {
|
|
463
533
|
}
|
|
464
|
-
export declare class IxFormField {
|
|
465
|
-
protected z: NgZone;
|
|
466
|
-
protected el: HTMLElement;
|
|
467
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
468
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxFormField, never>;
|
|
469
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxFormField, "ix-form-field", never, { "label": "label"; }, {}, never, ["*"]>;
|
|
470
|
-
}
|
|
471
|
-
export declare interface IxFormField extends Components.IxFormField {
|
|
472
|
-
}
|
|
473
534
|
export declare class IxGroup {
|
|
474
535
|
protected z: NgZone;
|
|
475
536
|
protected el: HTMLElement;
|
|
@@ -513,6 +574,15 @@ export declare interface IxGroupItem extends Components.IxGroupItem {
|
|
|
513
574
|
*/
|
|
514
575
|
selectedChanged: EventEmitter<CustomEvent<HTMLIxGroupItemElement>>;
|
|
515
576
|
}
|
|
577
|
+
export declare class IxHelperText {
|
|
578
|
+
protected z: NgZone;
|
|
579
|
+
protected el: HTMLElement;
|
|
580
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
581
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxHelperText, never>;
|
|
582
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxHelperText, "ix-helper-text", never, { "helperText": "helperText"; "htmlFor": "htmlFor"; "infoText": "infoText"; "invalidText": "invalidText"; "validText": "validText"; "warningText": "warningText"; }, {}, never, ["*"]>;
|
|
583
|
+
}
|
|
584
|
+
export declare interface IxHelperText extends Components.IxHelperText {
|
|
585
|
+
}
|
|
516
586
|
export declare class IxIconButton {
|
|
517
587
|
protected z: NgZone;
|
|
518
588
|
protected el: HTMLElement;
|
|
@@ -535,6 +605,27 @@ export declare interface IxIconToggleButton extends Components.IxIconToggleButto
|
|
|
535
605
|
*/
|
|
536
606
|
pressedChange: EventEmitter<CustomEvent<boolean>>;
|
|
537
607
|
}
|
|
608
|
+
export declare class IxInput {
|
|
609
|
+
protected z: NgZone;
|
|
610
|
+
protected el: HTMLElement;
|
|
611
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
612
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxInput, never>;
|
|
613
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxInput, "ix-input", 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, ["*"]>;
|
|
614
|
+
}
|
|
615
|
+
export declare interface IxInput extends Components.IxInput {
|
|
616
|
+
/**
|
|
617
|
+
* Event emitted when the value of the text field changes.
|
|
618
|
+
*/
|
|
619
|
+
valueChange: EventEmitter<CustomEvent<string>>;
|
|
620
|
+
/**
|
|
621
|
+
* Event emitted when the validity state of the text field changes.
|
|
622
|
+
*/
|
|
623
|
+
validityStateChange: EventEmitter<CustomEvent<ValidityState>>;
|
|
624
|
+
/**
|
|
625
|
+
* Event emitted when the text field loses focus.
|
|
626
|
+
*/
|
|
627
|
+
ixBlur: EventEmitter<CustomEvent<void>>;
|
|
628
|
+
}
|
|
538
629
|
export declare class IxInputGroup {
|
|
539
630
|
protected z: NgZone;
|
|
540
631
|
protected el: HTMLElement;
|
|
@@ -571,6 +662,15 @@ export declare class IxKpi {
|
|
|
571
662
|
}
|
|
572
663
|
export declare interface IxKpi extends Components.IxKpi {
|
|
573
664
|
}
|
|
665
|
+
export declare class IxLayoutAuto {
|
|
666
|
+
protected z: NgZone;
|
|
667
|
+
protected el: HTMLElement;
|
|
668
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
669
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxLayoutAuto, never>;
|
|
670
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxLayoutAuto, "ix-layout-auto", never, { "layout": "layout"; }, {}, never, ["*"]>;
|
|
671
|
+
}
|
|
672
|
+
export declare interface IxLayoutAuto extends Components.IxLayoutAuto {
|
|
673
|
+
}
|
|
574
674
|
export declare class IxLayoutGrid {
|
|
575
675
|
protected z: NgZone;
|
|
576
676
|
protected el: HTMLElement;
|
|
@@ -788,15 +888,6 @@ export declare class IxModalContent {
|
|
|
788
888
|
}
|
|
789
889
|
export declare interface IxModalContent extends Components.IxModalContent {
|
|
790
890
|
}
|
|
791
|
-
export declare class IxModalExample {
|
|
792
|
-
protected z: NgZone;
|
|
793
|
-
protected el: HTMLElement;
|
|
794
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
795
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxModalExample, never>;
|
|
796
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxModalExample, "ix-modal-example", never, {}, {}, never, ["*"]>;
|
|
797
|
-
}
|
|
798
|
-
export declare interface IxModalExample extends Components.IxModalExample {
|
|
799
|
-
}
|
|
800
891
|
export declare class IxModalFooter {
|
|
801
892
|
protected z: NgZone;
|
|
802
893
|
protected el: HTMLElement;
|
|
@@ -820,6 +911,27 @@ export declare interface IxModalHeader extends Components.IxModalHeader {
|
|
|
820
911
|
*/
|
|
821
912
|
closeClick: EventEmitter<CustomEvent<MouseEvent>>;
|
|
822
913
|
}
|
|
914
|
+
export declare class IxNumberInput {
|
|
915
|
+
protected z: NgZone;
|
|
916
|
+
protected el: HTMLElement;
|
|
917
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
918
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxNumberInput, never>;
|
|
919
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxNumberInput, "ix-number-input", 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, ["*"]>;
|
|
920
|
+
}
|
|
921
|
+
export declare interface IxNumberInput extends Components.IxNumberInput {
|
|
922
|
+
/**
|
|
923
|
+
* Event emitted when the value of the input field changes
|
|
924
|
+
*/
|
|
925
|
+
valueChange: EventEmitter<CustomEvent<number>>;
|
|
926
|
+
/**
|
|
927
|
+
* Event emitted when the validity state of the input field changes
|
|
928
|
+
*/
|
|
929
|
+
validityStateChange: EventEmitter<CustomEvent<ValidityState>>;
|
|
930
|
+
/**
|
|
931
|
+
* Event emitted when the input field loses focus
|
|
932
|
+
*/
|
|
933
|
+
ixBlur: EventEmitter<CustomEvent<void>>;
|
|
934
|
+
}
|
|
823
935
|
export declare class IxPagination {
|
|
824
936
|
protected z: NgZone;
|
|
825
937
|
protected el: HTMLElement;
|
|
@@ -885,6 +997,36 @@ export declare class IxPushCard {
|
|
|
885
997
|
}
|
|
886
998
|
export declare interface IxPushCard extends Components.IxPushCard {
|
|
887
999
|
}
|
|
1000
|
+
export declare class IxRadio {
|
|
1001
|
+
protected z: NgZone;
|
|
1002
|
+
protected el: HTMLElement;
|
|
1003
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1004
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxRadio, never>;
|
|
1005
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxRadio, "ix-radio", never, { "checked": "checked"; "disabled": "disabled"; "label": "label"; "name": "name"; "value": "value"; }, {}, never, ["*"]>;
|
|
1006
|
+
}
|
|
1007
|
+
export declare interface IxRadio extends Components.IxRadio {
|
|
1008
|
+
/**
|
|
1009
|
+
* Event emitted when the checked state of the radio changes
|
|
1010
|
+
*/
|
|
1011
|
+
checkedChange: EventEmitter<CustomEvent<boolean>>;
|
|
1012
|
+
/**
|
|
1013
|
+
* Event emitted when the value of the radio changes
|
|
1014
|
+
*/
|
|
1015
|
+
valueChange: EventEmitter<CustomEvent<string>>;
|
|
1016
|
+
}
|
|
1017
|
+
export declare class IxRadioGroup {
|
|
1018
|
+
protected z: NgZone;
|
|
1019
|
+
protected el: HTMLElement;
|
|
1020
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1021
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxRadioGroup, never>;
|
|
1022
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxRadioGroup, "ix-radio-group", never, { "direction": "direction"; "helperText": "helperText"; "infoText": "infoText"; "invalidText": "invalidText"; "label": "label"; "showTextAsTooltip": "showTextAsTooltip"; "validText": "validText"; "value": "value"; "warningText": "warningText"; }, {}, never, ["*"]>;
|
|
1023
|
+
}
|
|
1024
|
+
export declare interface IxRadioGroup extends Components.IxRadioGroup {
|
|
1025
|
+
/**
|
|
1026
|
+
* Event emitted when the value of the radiobutton group changes
|
|
1027
|
+
*/
|
|
1028
|
+
valueChange: EventEmitter<CustomEvent<string>>;
|
|
1029
|
+
}
|
|
888
1030
|
export declare class IxRow {
|
|
889
1031
|
protected z: NgZone;
|
|
890
1032
|
protected el: HTMLElement;
|
|
@@ -899,7 +1041,7 @@ export declare class IxSelect {
|
|
|
899
1041
|
protected el: HTMLElement;
|
|
900
1042
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
901
1043
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxSelect, never>;
|
|
902
|
-
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, ["*"]>;
|
|
1044
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxSelect, "ix-select", never, { "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"; }, {}, never, ["*"]>;
|
|
903
1045
|
}
|
|
904
1046
|
export declare interface IxSelect extends Components.IxSelect {
|
|
905
1047
|
/**
|
|
@@ -918,6 +1060,10 @@ export declare interface IxSelect extends Components.IxSelect {
|
|
|
918
1060
|
* Item added to selection
|
|
919
1061
|
*/
|
|
920
1062
|
addItem: EventEmitter<CustomEvent<string>>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Blur input
|
|
1065
|
+
*/
|
|
1066
|
+
ixBlur: EventEmitter<CustomEvent<void>>;
|
|
921
1067
|
}
|
|
922
1068
|
export declare class IxSelectItem {
|
|
923
1069
|
protected z: NgZone;
|
|
@@ -1003,6 +1149,27 @@ export declare interface IxTabs extends Components.IxTabs {
|
|
|
1003
1149
|
*/
|
|
1004
1150
|
selectedChange: EventEmitter<CustomEvent<number>>;
|
|
1005
1151
|
}
|
|
1152
|
+
export declare class IxTextarea {
|
|
1153
|
+
protected z: NgZone;
|
|
1154
|
+
protected el: HTMLElement;
|
|
1155
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1156
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxTextarea, never>;
|
|
1157
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxTextarea, "ix-textarea", 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, ["*"]>;
|
|
1158
|
+
}
|
|
1159
|
+
export declare interface IxTextarea extends Components.IxTextarea {
|
|
1160
|
+
/**
|
|
1161
|
+
* Event emitted when the value of the textarea field changes.
|
|
1162
|
+
*/
|
|
1163
|
+
valueChange: EventEmitter<CustomEvent<string>>;
|
|
1164
|
+
/**
|
|
1165
|
+
* Event emitted when the validity state of the textarea field changes.
|
|
1166
|
+
*/
|
|
1167
|
+
validityStateChange: EventEmitter<CustomEvent<ValidityState>>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Event emitted when the textarea field loses focus.
|
|
1170
|
+
*/
|
|
1171
|
+
ixBlur: EventEmitter<CustomEvent<void>>;
|
|
1172
|
+
}
|
|
1006
1173
|
export declare class IxTile {
|
|
1007
1174
|
protected z: NgZone;
|
|
1008
1175
|
protected el: HTMLElement;
|
|
@@ -1060,7 +1227,7 @@ export declare class IxToggle {
|
|
|
1060
1227
|
protected el: HTMLElement;
|
|
1061
1228
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1062
1229
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxToggle, never>;
|
|
1063
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxToggle, "ix-toggle", never, { "checked": "checked"; "disabled": "disabled"; "hideText": "hideText"; "indeterminate": "indeterminate"; "textIndeterminate": "textIndeterminate"; "textOff": "textOff"; "textOn": "textOn"; }, {}, never, ["*"]>;
|
|
1230
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxToggle, "ix-toggle", never, { "checked": "checked"; "disabled": "disabled"; "hideText": "hideText"; "indeterminate": "indeterminate"; "name": "name"; "required": "required"; "textIndeterminate": "textIndeterminate"; "textOff": "textOff"; "textOn": "textOn"; "value": "value"; }, {}, never, ["*"]>;
|
|
1064
1231
|
}
|
|
1065
1232
|
export declare interface IxToggle extends Components.IxToggle {
|
|
1066
1233
|
/**
|
|
@@ -1103,7 +1270,7 @@ export declare interface IxTreeItem extends Components.IxTreeItem {
|
|
|
1103
1270
|
*/
|
|
1104
1271
|
toggle: EventEmitter<CustomEvent<void>>;
|
|
1105
1272
|
/**
|
|
1106
|
-
*
|
|
1273
|
+
* Click on item not on the expand/collapse icon
|
|
1107
1274
|
*/
|
|
1108
1275
|
itemClick: EventEmitter<CustomEvent<void>>;
|
|
1109
1276
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from './value-accessor';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BooleanValueAccessorDirective extends ValueAccessor {
|
|
5
|
+
constructor(injector: Injector, el: ElementRef);
|
|
6
|
+
writeValue(value: boolean): void;
|
|
7
|
+
handleChangeEvent(el: any): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanValueAccessorDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BooleanValueAccessorDirective, "ix-checkbox,ix-toggle", never, {}, {}, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from './value-accessor';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DateValueAccessorDirective extends ValueAccessor {
|
|
5
|
+
constructor(injector: Injector, el: ElementRef);
|
|
6
|
+
handleInputEvent(el: any): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateValueAccessorDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateValueAccessorDirective, "ix-date-input", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from './value-accessor';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RadioValueAccessorDirective extends ValueAccessor {
|
|
5
|
+
constructor(injector: Injector, el: ElementRef);
|
|
6
|
+
writeValue(value: string): void;
|
|
7
|
+
handleChangeEvent(el: any): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioValueAccessorDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RadioValueAccessorDirective, "ix-radio", never, {}, {}, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from './value-accessor';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SelectValueAccessorDirective extends ValueAccessor {
|
|
5
|
+
constructor(injector: Injector, el: ElementRef);
|
|
6
|
+
handleChangeEvent(el: any): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectValueAccessorDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectValueAccessorDirective, "ix-select", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from './value-accessor';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TextValueAccessorDirective extends ValueAccessor {
|
|
5
|
+
constructor(injector: Injector, el: ElementRef);
|
|
6
|
+
handleInputEvent(el: any): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextValueAccessorDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextValueAccessorDirective, "ix-input,ix-number-field,ix-textarea-field", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, Injector, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ValueAccessor implements ControlValueAccessor {
|
|
5
|
-
protected
|
|
4
|
+
export declare class ValueAccessor implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
5
|
+
protected injector: Injector;
|
|
6
|
+
protected elementRef: ElementRef;
|
|
7
|
+
static readonly ANGULAR_CLASS_PREFIX = "ng-";
|
|
6
8
|
private onChange;
|
|
7
9
|
private onTouched;
|
|
8
10
|
protected lastValue: any;
|
|
9
|
-
|
|
11
|
+
private statusChanges?;
|
|
12
|
+
constructor(injector: Injector, elementRef: ElementRef);
|
|
10
13
|
writeValue(value: any): void;
|
|
11
|
-
|
|
12
|
-
_handleBlurEvent(): void;
|
|
14
|
+
handleValueChange(el: HTMLElement, value: any): void;
|
|
15
|
+
_handleBlurEvent(el: any): void;
|
|
13
16
|
registerOnChange(fn: (value: any) => void): void;
|
|
14
17
|
registerOnTouched(fn: () => void): void;
|
|
15
18
|
setDisabledState(isDisabled: boolean): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
16
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessor, never>;
|
|
17
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessor, never, never, {}, {}, never>;
|
|
18
23
|
}
|
|
24
|
+
export declare const mapNgToIxClassNames: (element: ElementRef) => void;
|
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.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.
|
|
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.IxCheckbox | typeof d.IxCheckboxGroup | typeof d.IxChip | typeof d.IxCol | typeof d.IxContent | typeof d.IxContentHeader | typeof d.IxCustomField | typeof d.IxDateDropdown | typeof d.IxDateInput | 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.IxFieldLabel | typeof d.IxFilterChip | typeof d.IxFlipTile | typeof d.IxFlipTileContent | typeof d.IxGroup | typeof d.IxGroupContextMenu | typeof d.IxGroupItem | typeof d.IxHelperText | typeof d.IxIconButton | typeof d.IxIconToggleButton | typeof d.IxInput | typeof d.IxInputGroup | typeof d.IxKeyValue | typeof d.IxKeyValueList | typeof d.IxKpi | typeof d.IxLayoutAuto | 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.IxModalFooter | typeof d.IxModalHeader | typeof d.IxNumberInput | typeof d.IxPagination | typeof d.IxPane | typeof d.IxPaneLayout | typeof d.IxPill | typeof d.IxPushCard | typeof d.IxRadio | typeof d.IxRadioGroup | 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.IxTextarea | 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
|
-
defineCustomElements();
|
|
21
20
|
await iconsDefineCustomElements();
|
|
21
|
+
defineCustomElements();
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWluaXRpYWxpemUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYXBwLWluaXRpYWxpemUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7R0FPRztBQUVILE9BQU8sRUFBRSxvQkFBb0IsSUFBSSx5QkFBeUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzdGLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRTFELElBQUksYUFBYSxHQUFHLEtBQUssQ0FBQztBQUUxQixNQUFNLENBQUMsTUFBTSxhQUFhLEdBQUcsQ0FBQyxHQUFhLEVBQUUsRUFBRTtJQUM3QyxPQUFPLEtBQUssSUFBSSxFQUFFO1FBQ2hCLE1BQU0sR0FBRyxHQUF1QixHQUFHLENBQUMsV0FBa0IsQ0FBQztRQUN2RCxJQUFJLEdBQUcsSUFBSSxPQUFRLE1BQWMsS0FBSyxXQUFXLEVBQUU7WUFDakQsSUFBSSxhQUFhLEVBQUU7Z0JBQ2pCLE9BQU87YUFDUjtZQUVELGFBQWEsR0FBRyxJQUFJLENBQUM7WUFFckIsTUFBTSx5QkFBeUIsRUFBRSxDQUFDO1lBQ2xDLG9CQUFvQixFQUFFLENBQUM7U0FDeEI7SUFDSCxDQUFDLENBQUM7QUFDSixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogU1BEWC1GaWxlQ29weXJpZ2h0VGV4dDogMjAyNCBTaWVtZW5zIEFHXG4gKlxuICogU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVFxuICpcbiAqIFRoaXMgc291cmNlIGNvZGUgaXMgbGljZW5zZWQgdW5kZXIgdGhlIE1JVCBsaWNlbnNlIGZvdW5kIGluIHRoZVxuICogTElDRU5TRSBmaWxlIGluIHRoZSByb290IGRpcmVjdG9yeSBvZiB0aGlzIHNvdXJjZSB0cmVlLlxuICovXG5cbmltcG9ydCB7IGRlZmluZUN1c3RvbUVsZW1lbnRzIGFzIGljb25zRGVmaW5lQ3VzdG9tRWxlbWVudHMgfSBmcm9tICdAc2llbWVucy9peC1pY29ucy9sb2FkZXInO1xuaW1wb3J0IHsgZGVmaW5lQ3VzdG9tRWxlbWVudHMgfSBmcm9tICdAc2llbWVucy9peC9sb2FkZXInO1xuXG5sZXQgZGlkSW5pdGlhbGl6ZSA9IGZhbHNlO1xuXG5leHBvcnQgY29uc3QgYXBwSW5pdGlhbGl6ZSA9IChkb2M6IERvY3VtZW50KSA9PiB7XG4gIHJldHVybiBhc3luYyAoKSA9PiB7XG4gICAgY29uc3Qgd2luOiBXaW5kb3cgfCB1bmRlZmluZWQgPSBkb2MuZGVmYXVsdFZpZXcgYXMgYW55O1xuICAgIGlmICh3aW4gJiYgdHlwZW9mICh3aW5kb3cgYXMgYW55KSAhPT0gJ3VuZGVmaW5lZCcpIHtcbiAgICAgIGlmIChkaWRJbml0aWFsaXplKSB7XG4gICAgICAgIHJldHVybjtcbiAgICAgIH1cblxuICAgICAgZGlkSW5pdGlhbGl6ZSA9IHRydWU7XG5cbiAgICAgIGF3YWl0IGljb25zRGVmaW5lQ3VzdG9tRWxlbWVudHMoKTtcbiAgICAgIGRlZmluZUN1c3RvbUVsZW1lbnRzKCk7XG4gICAgfVxuICB9O1xufTtcbiJdfQ==
|