@siemens/ix-angular 2.5.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components.d.ts +184 -21
- 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 +324 -60
- 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 +696 -177
- package/fesm2015/siemens-ix-angular.mjs.map +1 -1
- package/fesm2020/siemens-ix-angular.mjs +696 -177
- 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';
|
|
@@ -196,6 +197,36 @@ export declare interface IxCategoryFilter extends Components.IxCategoryFilter {
|
|
|
196
197
|
* Event dispatched whenever the filter state changes.
|
|
197
198
|
*/
|
|
198
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 {
|
|
199
230
|
}
|
|
200
231
|
export declare class IxChip {
|
|
201
232
|
protected z: NgZone;
|
|
@@ -241,12 +272,21 @@ export declare interface IxContentHeader extends Components.IxContentHeader {
|
|
|
241
272
|
*/
|
|
242
273
|
backButtonClick: EventEmitter<CustomEvent<void>>;
|
|
243
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
|
+
}
|
|
244
284
|
export declare class IxDateDropdown {
|
|
245
285
|
protected z: NgZone;
|
|
246
286
|
protected el: HTMLElement;
|
|
247
287
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
248
288
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxDateDropdown, never>;
|
|
249
|
-
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, ["*"]>;
|
|
250
290
|
}
|
|
251
291
|
export declare interface IxDateDropdown extends Components.IxDateDropdown {
|
|
252
292
|
/**
|
|
@@ -257,6 +297,23 @@ export declare interface IxDateDropdown extends Components.IxDateDropdown {
|
|
|
257
297
|
*/
|
|
258
298
|
dateRangeChange: EventEmitter<CustomEvent<IIxDateDropdownDateRangeChangeEvent>>;
|
|
259
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
|
+
}
|
|
260
317
|
export declare class IxDatePicker {
|
|
261
318
|
protected z: NgZone;
|
|
262
319
|
protected el: HTMLElement;
|
|
@@ -434,6 +491,15 @@ export declare interface IxExpandingSearch extends Components.IxExpandingSearch
|
|
|
434
491
|
*/
|
|
435
492
|
valueChange: EventEmitter<CustomEvent<string>>;
|
|
436
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
|
+
}
|
|
437
503
|
export declare class IxFilterChip {
|
|
438
504
|
protected z: NgZone;
|
|
439
505
|
protected el: HTMLElement;
|
|
@@ -465,15 +531,6 @@ export declare class IxFlipTileContent {
|
|
|
465
531
|
}
|
|
466
532
|
export declare interface IxFlipTileContent extends Components.IxFlipTileContent {
|
|
467
533
|
}
|
|
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
|
-
}
|
|
477
534
|
export declare class IxGroup {
|
|
478
535
|
protected z: NgZone;
|
|
479
536
|
protected el: HTMLElement;
|
|
@@ -517,6 +574,15 @@ export declare interface IxGroupItem extends Components.IxGroupItem {
|
|
|
517
574
|
*/
|
|
518
575
|
selectedChanged: EventEmitter<CustomEvent<HTMLIxGroupItemElement>>;
|
|
519
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
|
+
}
|
|
520
586
|
export declare class IxIconButton {
|
|
521
587
|
protected z: NgZone;
|
|
522
588
|
protected el: HTMLElement;
|
|
@@ -539,6 +605,27 @@ export declare interface IxIconToggleButton extends Components.IxIconToggleButto
|
|
|
539
605
|
*/
|
|
540
606
|
pressedChange: EventEmitter<CustomEvent<boolean>>;
|
|
541
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
|
+
}
|
|
542
629
|
export declare class IxInputGroup {
|
|
543
630
|
protected z: NgZone;
|
|
544
631
|
protected el: HTMLElement;
|
|
@@ -575,6 +662,15 @@ export declare class IxKpi {
|
|
|
575
662
|
}
|
|
576
663
|
export declare interface IxKpi extends Components.IxKpi {
|
|
577
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
|
+
}
|
|
578
674
|
export declare class IxLayoutGrid {
|
|
579
675
|
protected z: NgZone;
|
|
580
676
|
protected el: HTMLElement;
|
|
@@ -792,15 +888,6 @@ export declare class IxModalContent {
|
|
|
792
888
|
}
|
|
793
889
|
export declare interface IxModalContent extends Components.IxModalContent {
|
|
794
890
|
}
|
|
795
|
-
export declare class IxModalExample {
|
|
796
|
-
protected z: NgZone;
|
|
797
|
-
protected el: HTMLElement;
|
|
798
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
799
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IxModalExample, never>;
|
|
800
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxModalExample, "ix-modal-example", never, {}, {}, never, ["*"]>;
|
|
801
|
-
}
|
|
802
|
-
export declare interface IxModalExample extends Components.IxModalExample {
|
|
803
|
-
}
|
|
804
891
|
export declare class IxModalFooter {
|
|
805
892
|
protected z: NgZone;
|
|
806
893
|
protected el: HTMLElement;
|
|
@@ -824,6 +911,27 @@ export declare interface IxModalHeader extends Components.IxModalHeader {
|
|
|
824
911
|
*/
|
|
825
912
|
closeClick: EventEmitter<CustomEvent<MouseEvent>>;
|
|
826
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
|
+
}
|
|
827
935
|
export declare class IxPagination {
|
|
828
936
|
protected z: NgZone;
|
|
829
937
|
protected el: HTMLElement;
|
|
@@ -889,6 +997,36 @@ export declare class IxPushCard {
|
|
|
889
997
|
}
|
|
890
998
|
export declare interface IxPushCard extends Components.IxPushCard {
|
|
891
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
|
+
}
|
|
892
1030
|
export declare class IxRow {
|
|
893
1031
|
protected z: NgZone;
|
|
894
1032
|
protected el: HTMLElement;
|
|
@@ -903,7 +1041,7 @@ export declare class IxSelect {
|
|
|
903
1041
|
protected el: HTMLElement;
|
|
904
1042
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
905
1043
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxSelect, never>;
|
|
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, ["*"]>;
|
|
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, ["*"]>;
|
|
907
1045
|
}
|
|
908
1046
|
export declare interface IxSelect extends Components.IxSelect {
|
|
909
1047
|
/**
|
|
@@ -922,6 +1060,10 @@ export declare interface IxSelect extends Components.IxSelect {
|
|
|
922
1060
|
* Item added to selection
|
|
923
1061
|
*/
|
|
924
1062
|
addItem: EventEmitter<CustomEvent<string>>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Blur input
|
|
1065
|
+
*/
|
|
1066
|
+
ixBlur: EventEmitter<CustomEvent<void>>;
|
|
925
1067
|
}
|
|
926
1068
|
export declare class IxSelectItem {
|
|
927
1069
|
protected z: NgZone;
|
|
@@ -1007,6 +1149,27 @@ export declare interface IxTabs extends Components.IxTabs {
|
|
|
1007
1149
|
*/
|
|
1008
1150
|
selectedChange: EventEmitter<CustomEvent<number>>;
|
|
1009
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
|
+
}
|
|
1010
1173
|
export declare class IxTile {
|
|
1011
1174
|
protected z: NgZone;
|
|
1012
1175
|
protected el: HTMLElement;
|
|
@@ -1064,7 +1227,7 @@ export declare class IxToggle {
|
|
|
1064
1227
|
protected el: HTMLElement;
|
|
1065
1228
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1066
1229
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxToggle, never>;
|
|
1067
|
-
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, ["*"]>;
|
|
1068
1231
|
}
|
|
1069
1232
|
export declare interface IxToggle extends Components.IxToggle {
|
|
1070
1233
|
/**
|
|
@@ -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-input,ix-textarea", 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==
|