@siemens/ix-angular 0.0.0-pr-1318-20240627080522 → 0.0.0-pr-1373-20240705054533

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.
Files changed (33) hide show
  1. package/boolean-value-accessor.d.ts +9 -0
  2. package/components.d.ts +12 -180
  3. package/declare-components.d.ts +1 -1
  4. package/esm2020/app-initialize.mjs +2 -2
  5. package/esm2020/boolean-value-accessor.mjs +38 -0
  6. package/esm2020/components.mjs +33 -320
  7. package/esm2020/declare-components.mjs +2 -13
  8. package/esm2020/index.mjs +3 -2
  9. package/esm2020/module.mjs +10 -22
  10. package/esm2020/select-value-accessor.mjs +35 -0
  11. package/esm2020/value-accessor.mjs +40 -0
  12. package/fesm2015/siemens-ix-angular.mjs +150 -692
  13. package/fesm2015/siemens-ix-angular.mjs.map +1 -1
  14. package/fesm2020/siemens-ix-angular.mjs +150 -692
  15. package/fesm2020/siemens-ix-angular.mjs.map +1 -1
  16. package/index.d.ts +2 -1
  17. package/module.d.ts +3 -6
  18. package/package.json +2 -2
  19. package/select-value-accessor.d.ts +8 -0
  20. package/{control-value-accessors/value-accessor.d.ts → value-accessor.d.ts} +6 -12
  21. package/control-value-accessors/boolean-value-accessor.d.ts +0 -10
  22. package/control-value-accessors/date-value-accessor.d.ts +0 -9
  23. package/control-value-accessors/index.d.ts +0 -5
  24. package/control-value-accessors/radio-value-accessor.d.ts +0 -10
  25. package/control-value-accessors/select-value-accessor.d.ts +0 -9
  26. package/control-value-accessors/text-value-accessor.d.ts +0 -9
  27. package/esm2020/control-value-accessors/boolean-value-accessor.mjs +0 -49
  28. package/esm2020/control-value-accessors/date-value-accessor.mjs +0 -45
  29. package/esm2020/control-value-accessors/index.mjs +0 -14
  30. package/esm2020/control-value-accessors/radio-value-accessor.mjs +0 -51
  31. package/esm2020/control-value-accessors/select-value-accessor.mjs +0 -45
  32. package/esm2020/control-value-accessors/text-value-accessor.mjs +0 -48
  33. 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';
@@ -194,32 +193,6 @@ export declare interface IxCategoryFilter extends Components.IxCategoryFilter {
194
193
  */
195
194
  filterChanged: EventEmitter<CustomEvent<IIxCategoryFilterFilterState>>;
196
195
  }
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
196
  export declare class IxChip {
224
197
  protected z: NgZone;
225
198
  protected el: HTMLElement;
@@ -264,15 +237,6 @@ export declare interface IxContentHeader extends Components.IxContentHeader {
264
237
  */
265
238
  backButtonClick: EventEmitter<CustomEvent<void>>;
266
239
  }
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
240
  export declare class IxDateDropdown {
277
241
  protected z: NgZone;
278
242
  protected el: HTMLElement;
@@ -289,23 +253,6 @@ export declare interface IxDateDropdown extends Components.IxDateDropdown {
289
253
  */
290
254
  dateRangeChange: EventEmitter<CustomEvent<IIxDateDropdownDateRangeChangeEvent>>;
291
255
  }
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
256
  export declare class IxDatePicker {
310
257
  protected z: NgZone;
311
258
  protected el: HTMLElement;
@@ -483,15 +430,6 @@ export declare interface IxExpandingSearch extends Components.IxExpandingSearch
483
430
  */
484
431
  valueChange: EventEmitter<CustomEvent<string>>;
485
432
  }
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
433
  export declare class IxFilterChip {
496
434
  protected z: NgZone;
497
435
  protected el: HTMLElement;
@@ -523,6 +461,15 @@ export declare class IxFlipTileContent {
523
461
  }
524
462
  export declare interface IxFlipTileContent extends Components.IxFlipTileContent {
525
463
  }
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
+ }
526
473
  export declare class IxGroup {
527
474
  protected z: NgZone;
528
475
  protected el: HTMLElement;
@@ -566,15 +513,6 @@ export declare interface IxGroupItem extends Components.IxGroupItem {
566
513
  */
567
514
  selectedChanged: EventEmitter<CustomEvent<HTMLIxGroupItemElement>>;
568
515
  }
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
516
  export declare class IxIconButton {
579
517
  protected z: NgZone;
580
518
  protected el: HTMLElement;
@@ -633,15 +571,6 @@ export declare class IxKpi {
633
571
  }
634
572
  export declare interface IxKpi extends Components.IxKpi {
635
573
  }
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
574
  export declare class IxLayoutGrid {
646
575
  protected z: NgZone;
647
576
  protected el: HTMLElement;
@@ -891,27 +820,6 @@ export declare interface IxModalHeader extends Components.IxModalHeader {
891
820
  */
892
821
  closeClick: EventEmitter<CustomEvent<MouseEvent>>;
893
822
  }
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
823
  export declare class IxPagination {
916
824
  protected z: NgZone;
917
825
  protected el: HTMLElement;
@@ -977,36 +885,6 @@ export declare class IxPushCard {
977
885
  }
978
886
  export declare interface IxPushCard extends Components.IxPushCard {
979
887
  }
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
888
  export declare class IxRow {
1011
889
  protected z: NgZone;
1012
890
  protected el: HTMLElement;
@@ -1021,7 +899,7 @@ export declare class IxSelect {
1021
899
  protected el: HTMLElement;
1022
900
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1023
901
  static ɵfac: i0.ɵɵFactoryDeclaration<IxSelect, never>;
1024
- 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, ["*"]>;
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, ["*"]>;
1025
903
  }
1026
904
  export declare interface IxSelect extends Components.IxSelect {
1027
905
  /**
@@ -1040,10 +918,6 @@ export declare interface IxSelect extends Components.IxSelect {
1040
918
  * Item added to selection
1041
919
  */
1042
920
  addItem: EventEmitter<CustomEvent<string>>;
1043
- /**
1044
- * Blur input
1045
- */
1046
- ixBlur: EventEmitter<CustomEvent<void>>;
1047
921
  }
1048
922
  export declare class IxSelectItem {
1049
923
  protected z: NgZone;
@@ -1112,7 +986,7 @@ export declare class IxTabItem {
1112
986
  }
1113
987
  export declare interface IxTabItem extends Components.IxTabItem {
1114
988
  /**
1115
- * On tab click @since 2.0.0
989
+ * Emitted when the tab is clicked. @since 2.0.0
1116
990
  */
1117
991
  tabClick: EventEmitter<CustomEvent<IIxTabItemTabClickDetail>>;
1118
992
  }
@@ -1129,48 +1003,6 @@ export declare interface IxTabs extends Components.IxTabs {
1129
1003
  */
1130
1004
  selectedChange: EventEmitter<CustomEvent<number>>;
1131
1005
  }
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
1006
  export declare class IxTile {
1175
1007
  protected z: NgZone;
1176
1008
  protected el: HTMLElement;
@@ -1228,7 +1060,7 @@ export declare class IxToggle {
1228
1060
  protected el: HTMLElement;
1229
1061
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1230
1062
  static ɵfac: i0.ɵɵFactoryDeclaration<IxToggle, never>;
1231
- 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, ["*"]>;
1063
+ static ɵcmp: i0.ɵɵComponentDeclaration<IxToggle, "ix-toggle", never, { "checked": "checked"; "disabled": "disabled"; "hideText": "hideText"; "indeterminate": "indeterminate"; "textIndeterminate": "textIndeterminate"; "textOff": "textOff"; "textOn": "textOn"; }, {}, never, ["*"]>;
1232
1064
  }
1233
1065
  export declare interface IxToggle extends Components.IxToggle {
1234
1066
  /**
@@ -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.IxCheckbox | typeof d.IxCheckboxGroup | typeof d.IxChip | typeof d.IxCol | typeof d.IxContent | typeof d.IxContentHeader | typeof d.IxCustomField | typeof d.IxDateDropdown | typeof d.IxDateField | 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.IxInputGroup | typeof d.IxKeyValue | typeof d.IxKeyValueList | typeof d.IxKpi | typeof d.IxLayoutForm | 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.IxNumberField | 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.IxTextField | typeof d.IxTextareaField | 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)[];
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWluaXRpYWxpemUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYXBwLWluaXRpYWxpemUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7R0FPRztBQUVILE9BQU8sRUFBRSxvQkFBb0IsSUFBSSx5QkFBeUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzdGLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRTFELElBQUksYUFBYSxHQUFHLEtBQUssQ0FBQztBQUUxQixNQUFNLENBQUMsTUFBTSxhQUFhLEdBQUcsQ0FBQyxHQUFhLEVBQUUsRUFBRTtJQUM3QyxPQUFPLEtBQUssSUFBSSxFQUFFO1FBQ2hCLE1BQU0sR0FBRyxHQUF1QixHQUFHLENBQUMsV0FBa0IsQ0FBQztRQUN2RCxJQUFJLEdBQUcsSUFBSSxPQUFRLE1BQWMsS0FBSyxXQUFXLEVBQUU7WUFDakQsSUFBSSxhQUFhLEVBQUU7Z0JBQ2pCLE9BQU87YUFDUjtZQUVELGFBQWEsR0FBRyxJQUFJ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cmNlIGNvZGUgaXMgbGljZW5zZWQgdW5kZXIgdGhlIE1JVCBsaWNlbnNlIGZvdW5kIGluIHRoZVxuICogTElDRU5TRSBmaWxlIGluIHRoZSByb290IGRpcmVjdG9yeSBvZiB0aGlzIHNvdXJjZSB0cmVlLlxuICovXG5cbmltcG9ydCB7IGRlZmluZUN1c3RvbUVsZW1lbnRzIGFzIGljb25zRGVmaW5lQ3VzdG9tRWxlbWVudHMgfSBmcm9tICdAc2llbWVucy9peC1pY29ucy9sb2FkZXInO1xuaW1wb3J0IHsgZGVmaW5lQ3VzdG9tRWxlbWVudHMgfSBmcm9tICdAc2llbWVucy9peC9sb2FkZXInO1xuXG5sZXQgZGlkSW5pdGlhbGl6ZSA9IGZhbHNlO1xuXG5leHBvcnQgY29uc3QgYXBwSW5pdGlhbGl6ZSA9IChkb2M6IERvY3VtZW50KSA9PiB7XG4gIHJldHVybiBhc3luYyAoKSA9PiB7XG4gICAgY29uc3Qgd2luOiBXaW5kb3cgfCB1bmRlZmluZWQgPSBkb2MuZGVmYXVsdFZpZXcgYXMgYW55O1xuICAgIGlmICh3aW4gJiYgdHlwZW9mICh3aW5kb3cgYXMgYW55KSAhPT0gJ3VuZGVmaW5lZCcpIHtcbiAgICAgIGlmIChkaWRJbml0aWFsaXplKSB7XG4gICAgICAgIHJldHVybjtcbiAgICAgIH1cblxuICAgICAgZGlkSW5pdGlhbGl6ZSA9IHRydWU7XG5cbiAgICAgIGRlZmluZUN1c3RvbUVsZW1lbnRzKCk7XG4gICAgICBhd2FpdCBpY29uc0RlZmluZUN1c3RvbUVsZW1lbnRzKCk7XG4gICAgfVxuICB9O1xufTtcbiJdfQ==
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9vbGVhbi12YWx1ZS1hY2Nlc3Nvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ib29sZWFuLXZhbHVlLWFjY2Vzc29yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWMsTUFBTSx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