igniteui-angular 21.2.0-rc.0 → 21.2.0-rc.2

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 (134) hide show
  1. package/fesm2022/igniteui-angular-accordion.mjs +7 -7
  2. package/fesm2022/igniteui-angular-action-strip.mjs +10 -10
  3. package/fesm2022/igniteui-angular-avatar.mjs +7 -7
  4. package/fesm2022/igniteui-angular-badge.mjs +7 -8
  5. package/fesm2022/igniteui-angular-badge.mjs.map +1 -1
  6. package/fesm2022/igniteui-angular-banner.mjs +10 -10
  7. package/fesm2022/igniteui-angular-bottom-nav.mjs +22 -22
  8. package/fesm2022/igniteui-angular-button-group.mjs +7 -7
  9. package/fesm2022/igniteui-angular-calendar.mjs +61 -61
  10. package/fesm2022/igniteui-angular-card.mjs +31 -31
  11. package/fesm2022/igniteui-angular-carousel.mjs +32 -33
  12. package/fesm2022/igniteui-angular-carousel.mjs.map +1 -1
  13. package/fesm2022/igniteui-angular-chat-extras.mjs +6 -6
  14. package/fesm2022/igniteui-angular-chat.mjs +12 -12
  15. package/fesm2022/igniteui-angular-checkbox.mjs +7 -7
  16. package/fesm2022/igniteui-angular-chips.mjs +10 -10
  17. package/fesm2022/igniteui-angular-combo.mjs +52 -52
  18. package/fesm2022/igniteui-angular-core.mjs +63 -110
  19. package/fesm2022/igniteui-angular-core.mjs.map +1 -1
  20. package/fesm2022/igniteui-angular-date-picker.mjs +38 -38
  21. package/fesm2022/igniteui-angular-dialog.mjs +13 -13
  22. package/fesm2022/igniteui-angular-directives.mjs +191 -191
  23. package/fesm2022/igniteui-angular-drop-down.mjs +29 -29
  24. package/fesm2022/igniteui-angular-expansion-panel.mjs +28 -28
  25. package/fesm2022/igniteui-angular-grids-core.mjs +454 -453
  26. package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
  27. package/fesm2022/igniteui-angular-grids-grid.mjs +49 -49
  28. package/fesm2022/igniteui-angular-grids-hierarchical-grid.mjs +37 -37
  29. package/fesm2022/igniteui-angular-grids-lite.mjs +12 -12
  30. package/fesm2022/igniteui-angular-grids-pivot-grid.mjs +79 -79
  31. package/fesm2022/igniteui-angular-grids-tree-grid.mjs +55 -55
  32. package/fesm2022/igniteui-angular-icon.mjs +10 -10
  33. package/fesm2022/igniteui-angular-input-group.mjs +25 -25
  34. package/fesm2022/igniteui-angular-list.mjs +40 -40
  35. package/fesm2022/igniteui-angular-navbar.mjs +13 -13
  36. package/fesm2022/igniteui-angular-navigation-drawer.mjs +16 -16
  37. package/fesm2022/igniteui-angular-paginator.mjs +19 -19
  38. package/fesm2022/igniteui-angular-progressbar.mjs +19 -19
  39. package/fesm2022/igniteui-angular-query-builder.mjs +22 -22
  40. package/fesm2022/igniteui-angular-radio.mjs +14 -14
  41. package/fesm2022/igniteui-angular-radio.mjs.map +1 -1
  42. package/fesm2022/igniteui-angular-select.mjs +25 -25
  43. package/fesm2022/igniteui-angular-simple-combo.mjs +7 -7
  44. package/fesm2022/igniteui-angular-slider.mjs +39 -42
  45. package/fesm2022/igniteui-angular-slider.mjs.map +1 -1
  46. package/fesm2022/igniteui-angular-snackbar.mjs +7 -7
  47. package/fesm2022/igniteui-angular-splitter.mjs +13 -13
  48. package/fesm2022/igniteui-angular-stepper.mjs +38 -38
  49. package/fesm2022/igniteui-angular-stepper.mjs.map +1 -1
  50. package/fesm2022/igniteui-angular-switch.mjs +7 -7
  51. package/fesm2022/igniteui-angular-tabs.mjs +44 -43
  52. package/fesm2022/igniteui-angular-tabs.mjs.map +1 -1
  53. package/fesm2022/igniteui-angular-time-picker.mjs +19 -19
  54. package/fesm2022/igniteui-angular-toast.mjs +7 -7
  55. package/fesm2022/igniteui-angular-tree.mjs +28 -28
  56. package/lib/core/styles/components/badge/_badge-theme.scss +6 -1
  57. package/lib/core/styles/components/button-group/_button-group-theme.scss +78 -324
  58. package/lib/core/styles/components/chip/_chip-theme.scss +6 -2
  59. package/lib/core/styles/components/grid/_excel-filtering-theme.scss +16 -118
  60. package/lib/core/styles/components/grid/_grid-theme-builder.scss +391 -0
  61. package/lib/core/styles/components/grid/_grid-theme.scss +37 -39
  62. package/lib/core/styles/components/input/_input-group-theme.scss +1 -1
  63. package/lib/core/styles/components/progress/circular/_circular-theme.scss +1 -1
  64. package/lib/core/styles/components/query-builder/_query-builder-theme.scss +8 -8
  65. package/lib/core/styles/components/select/_select-theme.scss +1 -1
  66. package/migrations/common/ServerHost.js +35 -2
  67. package/migrations/common/UpdateChanges.js +37 -4
  68. package/migrations/common/tsLogger.js +34 -1
  69. package/migrations/common/tsUtils.js +35 -2
  70. package/migrations/common/util.d.ts +1 -1
  71. package/migrations/common/util.js +34 -1
  72. package/migrations/migration-collection.json +5 -0
  73. package/migrations/update-11_0_0/index.js +2 -3
  74. package/migrations/update-12_0_0/index.d.ts +1 -1
  75. package/migrations/update-12_0_0/index.js +2 -3
  76. package/migrations/update-12_1_0/index.js +2 -3
  77. package/migrations/update-13_0_0/index.js +2 -3
  78. package/migrations/update-13_1_0/index.js +2 -3
  79. package/migrations/update-15_1_0/index.js +2 -3
  80. package/migrations/update-16_1_0/index.js +2 -3
  81. package/migrations/update-17_0_0/index.js +36 -4
  82. package/migrations/update-17_1_0/index.js +2 -3
  83. package/migrations/update-18_0_0/index.js +2 -2
  84. package/migrations/update-20_0_6/index.js +3 -4
  85. package/migrations/update-21_0_0_import-migration/index.js +34 -1
  86. package/migrations/update-21_1_0_import-migration/index.js +34 -1
  87. package/migrations/update-21_2_0/changes/theme-changes.json +11 -0
  88. package/migrations/update-21_2_0/index.d.ts +3 -0
  89. package/migrations/update-21_2_0/index.js +18 -0
  90. package/package.json +2 -2
  91. package/schematics/ng-add/add-normalize.js +34 -1
  92. package/schematics/ng-add/index.spec.js +34 -1
  93. package/schematics/tsconfig.tsbuildinfo +1 -1
  94. package/skills/igniteui-angular-components/references/charts.md +4 -4
  95. package/skills/igniteui-angular-grids/SKILL.md +2 -0
  96. package/skills/igniteui-angular-grids/references/data-operations.md +3 -2
  97. package/skills/igniteui-angular-grids/references/sizing.md +204 -0
  98. package/skills/igniteui-angular-theming/SKILL.md +0 -3
  99. package/styles/igniteui-angular-dark.css +1 -1
  100. package/styles/igniteui-angular.css +1 -1
  101. package/styles/igniteui-bootstrap-dark.css +1 -1
  102. package/styles/igniteui-bootstrap-light.css +1 -1
  103. package/styles/igniteui-dark-green.css +1 -1
  104. package/styles/igniteui-fluent-dark-excel.css +1 -1
  105. package/styles/igniteui-fluent-dark-word.css +1 -1
  106. package/styles/igniteui-fluent-dark.css +1 -1
  107. package/styles/igniteui-fluent-light-excel.css +1 -1
  108. package/styles/igniteui-fluent-light-word.css +1 -1
  109. package/styles/igniteui-fluent-light.css +1 -1
  110. package/styles/igniteui-indigo-dark.css +1 -1
  111. package/styles/igniteui-indigo-light.css +1 -1
  112. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  113. package/styles/maps/igniteui-angular.css.map +1 -1
  114. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  115. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  116. package/styles/maps/igniteui-dark-green.css.map +1 -1
  117. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  118. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  119. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  120. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  121. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  122. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  123. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  124. package/styles/maps/igniteui-indigo-light.css.map +1 -1
  125. package/types/igniteui-angular-badge.d.ts +0 -2
  126. package/types/igniteui-angular-carousel.d.ts +0 -2
  127. package/types/igniteui-angular-core.d.ts +8 -35
  128. package/types/igniteui-angular-grids-core.d.ts +5 -0
  129. package/types/igniteui-angular-radio.d.ts +1 -1
  130. package/types/igniteui-angular-slider.d.ts +0 -2
  131. package/types/igniteui-angular-stepper.d.ts +0 -1
  132. package/types/igniteui-angular-tabs.d.ts +2 -4
  133. package/migrations/common/import-helper.js +0 -14
  134. package/skills/igniteui-angular-theming/references/contributing.md +0 -471
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ChangeDetectorRef, signal, QueryList, EventEmitter, effect, booleanAttribute, Input, HostListener, HostBinding, Output, Directive, Component, NgModule } from '@angular/core';
3
- import { ɵIgxDirectionality as _IgxDirectionality, EDITOR_PROVIDER } from 'igniteui-angular/core';
2
+ import { inject, ChangeDetectorRef, ElementRef, signal, QueryList, EventEmitter, effect, booleanAttribute, Input, HostListener, HostBinding, Output, Directive, Component, NgModule } from '@angular/core';
3
+ import { isLeftToRight, EDITOR_PROVIDER } from 'igniteui-angular/core';
4
4
  import { CheckboxBaseDirective, IgxRippleDirective } from 'igniteui-angular/directives';
5
5
  import { NgControl, Validators } from '@angular/forms';
6
6
  import { noop, Subject, takeUntil, fromEvent } from 'rxjs';
@@ -169,7 +169,7 @@ class IgxRadioGroupDirective {
169
169
  const checked = buttons.find((radio) => radio.checked);
170
170
  if (['ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight'].includes(key)) {
171
171
  let index = checked ? buttons.indexOf(checked) : -1;
172
- const ltr = this._directionality.value === 'ltr';
172
+ const ltr = isLeftToRight(this._element.nativeElement);
173
173
  switch (key) {
174
174
  case 'ArrowUp':
175
175
  index += -1;
@@ -323,8 +323,8 @@ class IgxRadioGroupDirective {
323
323
  }
324
324
  constructor() {
325
325
  this.ngControl = inject(NgControl, { optional: true, self: true });
326
- this._directionality = inject(_IgxDirectionality);
327
326
  this.cdr = inject(ChangeDetectorRef);
327
+ this._element = inject(ElementRef);
328
328
  this._radioButtons = signal([], ...(ngDevMode ? [{ debugName: "_radioButtons" }] : /* istanbul ignore next */ []));
329
329
  this._radioButtonsList = new QueryList();
330
330
  /**
@@ -576,10 +576,10 @@ class IgxRadioGroupDirective {
576
576
  });
577
577
  }
578
578
  }
579
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxRadioGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
580
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.2.6", type: IgxRadioGroupDirective, isStandalone: true, selector: "[igxRadioGroup],igx-radio-group", inputs: { value: "value", name: "name", required: ["required", "required", booleanAttribute], selected: "selected", invalid: ["invalid", "invalid", booleanAttribute], alignment: "alignment" }, outputs: { change: "change" }, host: { listeners: { "click": "handleClick($event)", "keydown": "handleKeyDown($event)" }, properties: { "class.igx-radio-group": "this.cssClass", "class.igx-radio-group--vertical": "this.vertical", "class.igx-radio-group--before": "this.labelBefore", "class.igx-radio-group--disabled": "this.disabled" } }, exportAs: ["igxRadioGroup"], ngImport: i0 }); }
579
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxRadioGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
580
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.2.9", type: IgxRadioGroupDirective, isStandalone: true, selector: "[igxRadioGroup],igx-radio-group", inputs: { value: "value", name: "name", required: ["required", "required", booleanAttribute], selected: "selected", invalid: ["invalid", "invalid", booleanAttribute], alignment: "alignment" }, outputs: { change: "change" }, host: { listeners: { "click": "handleClick($event)", "keydown": "handleKeyDown($event)" }, properties: { "class.igx-radio-group": "this.cssClass", "class.igx-radio-group--vertical": "this.vertical", "class.igx-radio-group--before": "this.labelBefore", "class.igx-radio-group--disabled": "this.disabled" } }, exportAs: ["igxRadioGroup"], ngImport: i0 }); }
581
581
  }
582
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxRadioGroupDirective, decorators: [{
582
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxRadioGroupDirective, decorators: [{
583
583
  type: Directive,
584
584
  args: [{
585
585
  exportAs: 'igxRadioGroup',
@@ -801,14 +801,14 @@ class IgxRadioComponent extends CheckboxBaseDirective {
801
801
  this.radioGroup._removeRadioButton(this);
802
802
  }
803
803
  }
804
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxRadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
805
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.2.6", type: IgxRadioComponent, isStandalone: true, selector: "igx-radio", inputs: { checked: ["checked", "checked", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], invalid: ["invalid", "invalid", booleanAttribute] }, host: { listeners: { "change": "_changed($event)", "click": "_onCheckboxClick()", "blur": "onBlur()" }, properties: { "class.igx-radio": "this.cssClass", "class.igx-radio--checked": "this.checked", "class.igx-radio--disabled": "this.disabled", "class.igx-radio--invalid": "this.invalid", "class.igx-radio--focused": "this.focused" } }, providers: [{
804
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxRadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
805
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.2.9", type: IgxRadioComponent, isStandalone: true, selector: "igx-radio", inputs: { checked: ["checked", "checked", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], invalid: ["invalid", "invalid", booleanAttribute] }, host: { listeners: { "change": "_changed($event)", "click": "_onCheckboxClick()", "blur": "onBlur()" }, properties: { "class.igx-radio": "this.cssClass", "class.igx-radio--checked": "this.checked", "class.igx-radio--disabled": "this.disabled", "class.igx-radio--invalid": "this.invalid", "class.igx-radio--focused": "this.focused" } }, providers: [{
806
806
  provide: EDITOR_PROVIDER,
807
807
  useExisting: IgxRadioComponent,
808
808
  multi: true
809
809
  }], usesInheritance: true, ngImport: i0, template: "<input #checkbox class=\"igx-radio__input\" type=\"radio\"\n [id]=\"inputId\"\n [name]=\"name\"\n [value]=\"value\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled\"\n [checked]=\"checked\"\n [required]=\"required\"\n [attr.aria-required]=\"required\"\n [attr.aria-invalid]=\"invalid\"\n [attr.aria-checked]=\"checked\"\n [attr.aria-labelledby]=\"ariaLabel ? null : ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n (blur)=\"onBlur()\" />\n\n<span #label class=\"igx-radio__composite\" igxRipple\n igxRippleTarget=\".igx-radio__ripple\"\n [igxRippleDisabled]=\"disableRipple\"\n [igxRippleCentered]=\"true\"\n [igxRippleDuration]=\"300\">\n <div class=\"igx-radio__ripple\"></div>\n</span>\n\n<span #placeholderLabel\n [id]=\"labelId\"\n [class]=\"labelClass\">\n <ng-content></ng-content>\n</span>\n", dependencies: [{ kind: "directive", type: IgxRippleDirective, selector: "[igxRipple]", inputs: ["igxRippleTarget", "igxRipple", "igxRippleDuration", "igxRippleCentered", "igxRippleDisabled"] }] }); }
810
810
  }
811
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxRadioComponent, decorators: [{
811
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxRadioComponent, decorators: [{
812
812
  type: Component,
813
813
  args: [{ selector: 'igx-radio', providers: [{
814
814
  provide: EDITOR_PROVIDER,
@@ -862,11 +862,11 @@ const IGX_RADIO_GROUP_DIRECTIVES = [
862
862
  * IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components
863
863
  */
864
864
  class IgxRadioModule {
865
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
866
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.6", ngImport: i0, type: IgxRadioModule, imports: [IgxRadioGroupDirective, IgxRadioComponent], exports: [IgxRadioGroupDirective, IgxRadioComponent] }); }
867
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxRadioModule }); }
865
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
866
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: IgxRadioModule, imports: [IgxRadioGroupDirective, IgxRadioComponent], exports: [IgxRadioGroupDirective, IgxRadioComponent] }); }
867
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxRadioModule }); }
868
868
  }
869
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxRadioModule, decorators: [{
869
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxRadioModule, decorators: [{
870
870
  type: NgModule,
871
871
  args: [{
872
872
  imports: [IgxRadioGroupDirective, IgxRadioComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"igniteui-angular-radio.mjs","sources":["../../../projects/igniteui-angular/radio/src/radio/radio-group/radio-group.directive.ts","../../../projects/igniteui-angular/radio/src/radio/radio.component.ts","../../../projects/igniteui-angular/radio/src/radio/radio.component.html","../../../projects/igniteui-angular/radio/src/radio/radio-group/public_api.ts","../../../projects/igniteui-angular/radio/src/radio/radio-group/radio-group.module.ts","../../../projects/igniteui-angular/radio/src/igniteui-angular-radio.ts"],"sourcesContent":["import {\n ChangeDetectorRef,\n Directive,\n DoCheck,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n OnDestroy,\n Output,\n QueryList,\n booleanAttribute,\n effect,\n signal,\n inject\n} from '@angular/core';\nimport { ControlValueAccessor, NgControl, Validators } from '@angular/forms';\nimport { fromEvent, noop, Subject, takeUntil } from 'rxjs';\nimport { IgxRadioComponent } from '../radio.component';\nimport { ɵIgxDirectionality } from 'igniteui-angular/core';\nimport { IChangeCheckboxEventArgs } from 'igniteui-angular/directives';\n/**\n * Determines the Radio Group alignment\n */\nexport const RadioGroupAlignment = {\n horizontal: 'horizontal',\n vertical: 'vertical'\n} as const;\nexport type RadioGroupAlignment = typeof RadioGroupAlignment[keyof typeof RadioGroupAlignment];\n\nlet nextId = 0;\n\n/**\n * Radio group directive renders set of radio buttons.\n *\n * @igxModule IgxRadioModule\n *\n * @igxTheme igx-radio-theme\n *\n * @igxKeywords radiogroup, radio, button, input\n *\n * @igxGroup Data Entry & Display\n *\n * @remarks\n * The Ignite UI Radio Group allows the user to select a single option from an available set of options that are listed side by side.\n *\n * @example:\n * ```html\n * <igx-radio-group name=\"radioGroup\">\n * <igx-radio *ngFor=\"let item of ['Foo', 'Bar', 'Baz']\" value=\"{{item}}\">\n * {{item}}\n * </igx-radio>\n * </igx-radio-group>\n * ```\n */\n@Directive({\n exportAs: 'igxRadioGroup',\n selector: '[igxRadioGroup],igx-radio-group',\n standalone: true\n})\nexport class IgxRadioGroupDirective implements ControlValueAccessor, OnDestroy, DoCheck {\n public ngControl = inject(NgControl, { optional: true, self: true });\n private _directionality = inject(ɵIgxDirectionality);\n private cdr = inject(ChangeDetectorRef);\n\n private _radioButtons = signal<IgxRadioComponent[]>([]);\n private _radioButtonsList = new QueryList<IgxRadioComponent>();\n\n /**\n * Returns reference to the child radio buttons.\n *\n * @example\n * ```typescript\n * let radioButtons = this.radioGroup.radioButtons;\n * ```\n */\n public get radioButtons(): QueryList<IgxRadioComponent> {\n this._radioButtonsList.reset(this._radioButtons());\n return this._radioButtonsList;\n }\n\n /**\n * Sets/gets the `value` attribute.\n *\n * @example\n * ```html\n * <igx-radio-group [value] = \"'radioButtonValue'\"></igx-radio-group>\n * ```\n */\n @Input()\n public get value(): any {\n return this._value;\n }\n\n public set value(newValue: any) {\n if (this._value !== newValue) {\n this._value = newValue;\n this._selectRadioButton();\n }\n }\n\n /**\n * Sets/gets the `name` attribute of the radio group component. All child radio buttons inherits this name.\n *\n * @example\n * ```html\n * <igx-radio-group name = \"Radio1\"></igx-radio-group>\n * ```\n */\n @Input()\n public get name(): string {\n return this._name;\n }\n public set name(newValue: string) {\n if (this._name !== newValue) {\n this._name = newValue;\n this._setRadioButtonNames();\n }\n }\n\n /**\n * Sets/gets whether the radio group is required.\n *\n * @remarks\n * If not set, `required` will have value `false`.\n *\n * @example\n * ```html\n * <igx-radio-group [required] = \"true\"></igx-radio-group>\n * ```\n */\n @Input({ transform: booleanAttribute })\n public get required(): boolean {\n return this._required;\n }\n\n public set required(value: boolean) {\n this._required = value;\n this._setRadioButtonsRequired();\n }\n\n /**\n * Sets/gets the selected child radio button.\n *\n * @example\n * ```typescript\n * let selectedButton = this.radioGroup.selected;\n * this.radioGroup.selected = selectedButton;\n * ```\n */\n @Input()\n public get selected() {\n return this._selected;\n }\n\n public set selected(selected: IgxRadioComponent | null) {\n if (this._selected !== selected) {\n this._selected = selected;\n this.value = selected ? selected.value : null;\n }\n }\n\n /**\n * Sets/gets whether the radio group is invalid.\n *\n * @remarks\n * If not set, `invalid` will have value `false`.\n *\n * @example\n * ```html\n * <igx-radio-group [invalid] = \"true\"></igx-radio-group>\n * ```\n */\n @Input({ transform: booleanAttribute })\n public get invalid(): boolean {\n return this._invalid;\n }\n\n public set invalid(value: boolean) {\n this._invalid = value;\n this._setRadioButtonsInvalid();\n }\n\n /**\n * An event that is emitted after the radio group `value` is changed.\n *\n * @remarks\n * Provides references to the selected `IgxRadioComponent` and the `value` property as event arguments.\n *\n * @example\n * ```html\n * <igx-radio-group (change)=\"handler($event)\"></igx-radio-group>\n * ```\n */\n // eslint-disable-next-line @angular-eslint/no-output-native\n @Output() public readonly change: EventEmitter<IChangeCheckboxEventArgs> = new EventEmitter<IChangeCheckboxEventArgs>();\n\n /**\n * The css class applied to the component.\n *\n * @hidden\n * @internal\n */\n @HostBinding('class.igx-radio-group')\n public cssClass = 'igx-radio-group';\n\n /**\n * @hidden\n * @internal\n * Sets vertical alignment to the radio group, if `alignment` is set to `vertical`.\n * By default the alignment is horizontal.\n *\n * @example\n * ```html\n * <igx-radio-group alignment=\"vertical\"></igx-radio-group>\n * ```\n */\n @HostBinding('class.igx-radio-group--vertical')\n protected vertical = false;\n\n /**\n * A css class applied to the component if any of the\n * child radio buttons labelPosition is set to `before`.\n *\n * @hidden\n * @internal\n */\n @HostBinding('class.igx-radio-group--before')\n protected get labelBefore() {\n return this._radioButtons().some((radio) => radio.labelPosition === 'before');\n }\n\n /**\n * A css class applied to the component if all\n * child radio buttons are disabled.\n *\n * @hidden\n * @internal\n */\n @HostBinding('class.igx-radio-group--disabled')\n protected get disabled() {\n return this._radioButtons().every((radio) => radio.disabled);\n }\n\n @HostListener('click', ['$event'])\n protected handleClick(event: MouseEvent) {\n event.stopPropagation();\n\n if (this.selected) {\n this.selected.nativeElement.focus();\n }\n }\n\n @HostListener('keydown', ['$event'])\n protected handleKeyDown(event: KeyboardEvent) {\n const { key } = event;\n const buttons = this._radioButtons().filter(radio => !radio.disabled);\n const checked = buttons.find((radio) => radio.checked);\n\n if (['ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight'].includes(key)) {\n let index = checked ? buttons.indexOf(checked) : -1;\n const ltr = this._directionality.value === 'ltr';\n\n switch (key) {\n case 'ArrowUp':\n index += -1;\n break;\n case 'ArrowLeft':\n index += ltr ? -1 : 1;\n break;\n case 'ArrowRight':\n index += ltr ? 1 : -1;\n break;\n default:\n index += 1;\n }\n\n if (index < 0) index = buttons.length - 1;\n if (index > buttons.length - 1) index = 0;\n\n buttons.forEach((radio) => {\n radio.deselect();\n radio.nativeElement.blur();\n });\n\n buttons[index].focused = true;\n buttons[index].nativeElement.focus();\n buttons[index].select();\n event.preventDefault();\n }\n\n if (event.key === \"Tab\") {\n buttons.forEach((radio) => {\n if (radio !== checked) {\n event.stopPropagation();\n }\n });\n }\n }\n\n /**\n * Returns the alignment of the `igx-radio-group`.\n * ```typescript\n * @ViewChild(\"MyRadioGroup\")\n * public radioGroup: IgxRadioGroupDirective;\n * ngAfterViewInit(){\n * let radioAlignment = this.radioGroup.alignment;\n * }\n * ```\n */\n @Input()\n public get alignment(): RadioGroupAlignment {\n return this.vertical ? RadioGroupAlignment.vertical : RadioGroupAlignment.horizontal;\n }\n /**\n * Allows you to set the radio group alignment.\n * Available options are `RadioGroupAlignment.horizontal` (default) and `RadioGroupAlignment.vertical`.\n * ```typescript\n * public alignment = RadioGroupAlignment.vertical;\n * //..\n * ```\n * ```html\n * <igx-radio-group [alignment]=\"alignment\"></igx-radio-group>\n * ```\n */\n public set alignment(value: RadioGroupAlignment) {\n this.vertical = value === RadioGroupAlignment.vertical;\n }\n\n /**\n * @hidden\n * @internal\n */\n private _onChangeCallback: (_: any) => void = noop;\n\n /**\n * @hidden\n * @internal\n */\n private _name = `igx-radio-group-${nextId++}`;\n\n /**\n * @hidden\n * @internal\n */\n private _value: any = null;\n\n /**\n * @hidden\n * @internal\n */\n private _selected: IgxRadioComponent | null = null;\n\n /**\n * @hidden\n * @internal\n */\n private _isInitialized = signal(false);\n\n /**\n * @hidden\n * @internal\n */\n private _required = false;\n\n /**\n * @hidden\n * @internal\n */\n private _invalid = false;\n\n /**\n * @hidden\n * @internal\n */\n private destroy$ = new Subject<boolean>();\n\n /**\n * @hidden\n * @internal\n */\n private queryChange$ = new Subject<void>();\n\n /**\n * @hidden\n * @internal\n */\n private updateValidityOnBlur() {\n this._radioButtons().forEach((button) => {\n button.focused = false;\n\n if (button.invalid) {\n this.invalid = true;\n }\n });\n }\n\n /**\n * @hidden\n * @internal\n */\n private updateOnKeyUp(event: KeyboardEvent) {\n const checked = this._radioButtons().find(x => x.checked);\n\n if (event.key === \"Tab\") {\n this._radioButtons().forEach((radio) => {\n if (radio === checked) {\n checked.focused = true;\n }\n });\n }\n }\n\n public ngDoCheck(): void {\n this._updateTabIndex();\n }\n\n private _updateTabIndex() {\n // Needed so that the keyboard navigation of a radio group\n // placed inside a dialog works properly\n if (this._radioButtons) {\n const checked = this._radioButtons().find(x => x.checked);\n\n if (checked) {\n this._radioButtons().forEach((button) => {\n checked.nativeElement.tabIndex = 0;\n\n if (button !== checked) {\n button.nativeElement.tabIndex = -1;\n button.focused = false;\n }\n });\n }\n }\n }\n\n /**\n * Sets the \"checked\" property value on the radio input element.\n *\n * @remarks\n * Checks whether the provided value is consistent to the current radio button.\n * If it is, the checked attribute will have value `true` and selected property will contain the selected `IgxRadioComponent`.\n *\n * @example\n * ```typescript\n * this.radioGroup.writeValue('radioButtonValue');\n * ```\n */\n public writeValue(value: any) {\n this.value = value;\n }\n\n /**\n * Registers a function called when the control value changes.\n *\n * @hidden\n * @internal\n */\n public registerOnChange(fn: (_: any) => void) {\n this._onChangeCallback = fn;\n }\n\n /**\n * Registers a function called when the control is touched.\n *\n * @hidden\n * @internal\n */\n public registerOnTouched(fn: () => void) {\n if (this._radioButtons) {\n this._radioButtons().forEach((button) => {\n button.registerOnTouched(fn);\n });\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n public ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n\n constructor() {\n if (this.ngControl !== null) {\n this.ngControl.valueAccessor = this;\n }\n\n effect(() => {\n this.initialize();\n this.setRadioButtons();\n });\n }\n\n /**\n * @hidden\n * @internal\n */\n private initialize() {\n // The initial value can possibly be set by NgModel and it is possible that\n // the OnInit of the NgModel occurs after the OnInit of this class.\n this._isInitialized.set(true);\n\n if (this.ngControl) {\n this.ngControl.statusChanges\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => {\n this.invalid = false;\n });\n\n if (this.ngControl.control.validator || this.ngControl.control.asyncValidator) {\n this._required = this.ngControl?.control?.hasValidator(Validators.required);\n }\n\n this._radioButtons().forEach((button) => {\n if (this.ngControl.disabled) {\n button.disabled = this.ngControl.disabled;\n }\n });\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n private setRadioButtons() {\n this._radioButtons().forEach((button) => {\n Promise.resolve().then(() => {\n button.name = this._name;\n button.required = this._required;\n });\n\n if (button.value === this._value) {\n button.checked = true;\n this._selected = button;\n this.cdr.markForCheck();\n }\n\n this._setRadioButtonEvents(button);\n });\n }\n\n /**\n * @hidden\n * @internal\n */\n private _setRadioButtonEvents(button: any) {\n button.change.pipe(\n takeUntil(button.destroy$),\n takeUntil(this.destroy$),\n takeUntil(this.queryChange$)\n ).subscribe((ev: IChangeCheckboxEventArgs) => this._selectedRadioButtonChanged(ev));\n\n button.blurRadio\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => this.updateValidityOnBlur());\n\n fromEvent(button.nativeElement, 'keyup')\n .pipe(takeUntil(this.destroy$))\n .subscribe((event: KeyboardEvent) => this.updateOnKeyUp(event));\n }\n\n /**\n * @hidden\n * @internal\n */\n private _selectedRadioButtonChanged(args: IChangeCheckboxEventArgs) {\n this._radioButtons().forEach((button) => {\n button.checked = button.id === args.owner.id;\n if (button.checked && button.ngControl) {\n this.invalid = button.ngControl.invalid;\n } else if (button.checked) {\n this.invalid = false;\n }\n });\n\n this._selected = args.owner;\n this._value = args.value;\n\n if (this._isInitialized) {\n this.change.emit(args);\n this._onChangeCallback(this.value);\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n private _setRadioButtonNames() {\n if (this._radioButtons) {\n this._radioButtons().forEach((button) => {\n button.name = this._name;\n });\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n private _selectRadioButton() {\n if (this._radioButtons) {\n this._radioButtons().forEach((button) => {\n if (this._value === null) {\n // no value - uncheck all radio buttons\n if (button.checked) {\n button.checked = false;\n }\n } else {\n if (this._value === button.value) {\n // selected button\n if (this._selected !== button) {\n this._selected = button;\n }\n\n if (!button.checked) {\n button.checked = true;\n }\n } else {\n // non-selected button\n if (button.checked) {\n button.checked = false;\n }\n }\n }\n });\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n private _setRadioButtonsRequired() {\n if (this._radioButtons) {\n this._radioButtons().forEach((button) => {\n button.required = this._required;\n });\n }\n }\n\n\n /**\n * Registers a radio button with this radio group.\n * This method is called by radio button components when they are created.\n * @hidden @internal\n */\n public _addRadioButton(radioButton: IgxRadioComponent): void {\n this._radioButtons.update(buttons => {\n if (!buttons.includes(radioButton)) {\n this._setRadioButtonEvents(radioButton);\n\n return [...buttons, radioButton];\n }\n return buttons;\n });\n }\n\n /**\n * Unregisters a radio button from this radio group.\n * This method is called by radio button components when they are destroyed.\n * @hidden @internal\n */\n public _removeRadioButton(radioButton: IgxRadioComponent): void {\n this._radioButtons.update(buttons =>\n buttons.filter(btn => btn !== radioButton)\n );\n }\n\n /**\n * @hidden\n * @internal\n */\n private _setRadioButtonsInvalid() {\n if (this._radioButtons) {\n this._radioButtons().forEach((button) => {\n button.invalid = this._invalid;\n });\n }\n }\n}\n","import {\n AfterViewInit,\n Component,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n booleanAttribute,\n OnDestroy,\n inject\n} from '@angular/core';\nimport { ControlValueAccessor } from '@angular/forms';\nimport { EditorProvider, EDITOR_PROVIDER } from 'igniteui-angular/core';\nimport { CheckboxBaseDirective, IgxRippleDirective, IChangeCheckboxEventArgs } from 'igniteui-angular/directives';\nimport { IgxRadioGroupDirective } from './radio-group/radio-group.directive';\n\n/**\n * **Ignite UI for Angular Radio Button** -\n * [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/radio_button.html)\n *\n * The Ignite UI Radio Button allows the user to select a single option from an available set of options that are listed side by side.\n *\n * Example:\n * ```html\n * <igx-radio>\n * Simple radio button\n * </igx-radio>\n * ```\n */\n@Component({\n selector: 'igx-radio',\n providers: [{\n provide: EDITOR_PROVIDER,\n useExisting: IgxRadioComponent,\n multi: true\n }],\n templateUrl: 'radio.component.html',\n imports: [IgxRippleDirective]\n})\nexport class IgxRadioComponent\n extends CheckboxBaseDirective\n implements AfterViewInit, OnDestroy, ControlValueAccessor, EditorProvider {\n /** @hidden @internal */\n public blurRadio = new EventEmitter();\n\n private radioGroup = inject(IgxRadioGroupDirective, { optional: true, skipSelf: true });\n\n /**\n * Returns the class of the radio component.\n * ```typescript\n * let radioClass = this.radio.cssClass;\n * ```\n *\n * @memberof IgxRadioComponent\n */\n @HostBinding('class.igx-radio')\n public override cssClass = 'igx-radio';\n\n /**\n * Sets/gets the `checked` attribute.\n * Default value is `false`.\n * ```html\n * <igx-radio [checked]=\"true\"></igx-radio>\n * ```\n * ```typescript\n * let isChecked = this.radio.checked;\n * ```\n *\n * @memberof IgxRadioComponent\n */\n @HostBinding('class.igx-radio--checked')\n @Input({ transform: booleanAttribute })\n public override set checked(value: boolean) {\n this._checked = value;\n }\n public override get checked() {\n return this._checked;\n }\n\n /**\n * Sets/gets the `disabled` attribute.\n * Default value is `false`.\n * ```html\n * <igx-radio disabled></igx-radio>\n * ```\n * ```typescript\n * let isDisabled = this.radio.disabled;\n * ```\n *\n * @memberof IgxRadioComponent\n */\n @HostBinding('class.igx-radio--disabled')\n @Input({ transform: booleanAttribute })\n public override disabled = false;\n\n /**\n * Sets/gets whether the radio button is invalid.\n * Default value is `false`.\n * ```html\n * <igx-radio invalid></igx-radio>\n * ```\n * ```typescript\n * let isInvalid = this.radio.invalid;\n * ```\n *\n * @memberof IgxRadioComponent\n */\n @HostBinding('class.igx-radio--invalid')\n @Input({ transform: booleanAttribute })\n public override invalid = false;\n\n /**\n * Sets/gets whether the radio component is on focus.\n * Default value is `false`.\n * ```typescript\n * this.radio.focus = true;\n * ```\n * ```typescript\n * let isFocused = this.radio.focused;\n * ```\n *\n * @memberof IgxRadioComponent\n */\n @HostBinding('class.igx-radio--focused')\n public override focused = false;\n\n /**\n * @hidden\n * @internal\n */\n @HostListener('change', ['$event'])\n public _changed(event: IChangeCheckboxEventArgs) {\n if (event instanceof Event) {\n event.preventDefault();\n }\n }\n\n /**\n * @hidden\n */\n @HostListener('click')\n public override _onCheckboxClick() {\n this.select();\n }\n\n /**\n * Selects the current radio button.\n * ```typescript\n * this.radio.select();\n * ```\n *\n * @memberof IgxRadioComponent\n */\n public select() {\n if (!this.checked) {\n this.checked = true;\n this.change.emit({\n value: this.value,\n owner: this,\n checked: this.checked,\n });\n this._onChangeCallback(this.value);\n }\n }\n\n /**\n * Deselects the current radio button.\n * ```typescript\n * this.radio.deselect();\n * ```\n *\n * @memberof IgxRadioComponent\n */\n public deselect() {\n this.checked = false;\n this.focused = false;\n this.cdr.markForCheck();\n }\n\n /**\n * Checks whether the provided value is consistent to the current radio button.\n * If it is, the checked attribute will have value `true`;\n * ```typescript\n * this.radio.writeValue('radioButtonValue');\n * ```\n */\n public override writeValue(value: any) {\n this.value = this.value ?? value;\n\n if (value === this.value) {\n if (!this.checked) {\n this.checked = true;\n }\n } else {\n this.deselect();\n }\n }\n\n /**\n * @hidden\n */\n @HostListener('blur')\n public override onBlur() {\n super.onBlur();\n this.blurRadio.emit();\n }\n\n /**\n * @hidden\n * @internal\n */\n public override ngAfterViewInit(): void {\n super.ngAfterViewInit();\n\n // Register with parent radio group if it exists\n if (this.radioGroup) {\n this.radioGroup._addRadioButton(this);\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n public ngOnDestroy(): void {\n // Unregister from parent radio group if it exists\n if (this.radioGroup) {\n this.radioGroup._removeRadioButton(this);\n }\n }\n}\n","<input #checkbox class=\"igx-radio__input\" type=\"radio\"\n [id]=\"inputId\"\n [name]=\"name\"\n [value]=\"value\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled\"\n [checked]=\"checked\"\n [required]=\"required\"\n [attr.aria-required]=\"required\"\n [attr.aria-invalid]=\"invalid\"\n [attr.aria-checked]=\"checked\"\n [attr.aria-labelledby]=\"ariaLabel ? null : ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n (blur)=\"onBlur()\" />\n\n<span #label class=\"igx-radio__composite\" igxRipple\n igxRippleTarget=\".igx-radio__ripple\"\n [igxRippleDisabled]=\"disableRipple\"\n [igxRippleCentered]=\"true\"\n [igxRippleDuration]=\"300\">\n <div class=\"igx-radio__ripple\"></div>\n</span>\n\n<span #placeholderLabel\n [id]=\"labelId\"\n [class]=\"labelClass\">\n <ng-content></ng-content>\n</span>\n","import { IgxRadioComponent } from '../../radio/radio.component';\nimport { IgxRadioGroupDirective } from './radio-group.directive';\n\nexport * from './radio-group.directive';\n\n/* NOTE: Radio Group directives collection for ease-of-use import in standalone components scenario */\nexport const IGX_RADIO_GROUP_DIRECTIVES = [\n IgxRadioGroupDirective,\n IgxRadioComponent\n] as const;\n","import { NgModule } from '@angular/core';\nimport { IgxRadioGroupDirective } from './radio-group.directive';\nimport { IgxRadioComponent } from '../radio.component';\n\n/**\n * @hidden\n * @deprecated\n * IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components\n */\n@NgModule({\n imports: [IgxRadioGroupDirective, IgxRadioComponent],\n exports: [IgxRadioGroupDirective, IgxRadioComponent]\n})\nexport class IgxRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["ɵIgxDirectionality"],"mappings":";;;;;;;AAqBA;;AAEG;AACI,MAAM,mBAAmB,GAAG;AAC/B,IAAA,UAAU,EAAE,YAAY;AACxB,IAAA,QAAQ,EAAE;;AAId,IAAI,MAAM,GAAG,CAAC;AAEd;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAMU,sBAAsB,CAAA;AAQ/B;;;;;;;AAOG;AACH,IAAA,IAAW,YAAY,GAAA;QACnB,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;QAClD,OAAO,IAAI,CAAC,iBAAiB;IACjC;AAEA;;;;;;;AAOG;AACH,IAAA,IACW,KAAK,GAAA;QACZ,OAAO,IAAI,CAAC,MAAM;IACtB;IAEA,IAAW,KAAK,CAAC,QAAa,EAAA;AAC1B,QAAA,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ACN,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,iBAAiB,CAAC;AACpD,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,iBAAiB;AACtD,iBAAA;;;ACZD;;AAEG;;;;"}
1
+ {"version":3,"file":"igniteui-angular-radio.mjs","sources":["../../../projects/igniteui-angular/radio/src/radio/radio-group/radio-group.directive.ts","../../../projects/igniteui-angular/radio/src/radio/radio.component.ts","../../../projects/igniteui-angular/radio/src/radio/radio.component.html","../../../projects/igniteui-angular/radio/src/radio/radio-group/public_api.ts","../../../projects/igniteui-angular/radio/src/radio/radio-group/radio-group.module.ts","../../../projects/igniteui-angular/radio/src/igniteui-angular-radio.ts"],"sourcesContent":["import {\n ChangeDetectorRef,\n Directive,\n DoCheck,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n OnDestroy,\n Output,\n QueryList,\n booleanAttribute,\n effect,\n signal,\n inject,\n ElementRef\n} from '@angular/core';\nimport { ControlValueAccessor, NgControl, Validators } from '@angular/forms';\nimport { fromEvent, noop, Subject, takeUntil } from 'rxjs';\nimport { IgxRadioComponent } from '../radio.component';\nimport { isLeftToRight } from 'igniteui-angular/core';\nimport { IChangeCheckboxEventArgs } from 'igniteui-angular/directives';\n/**\n * Determines the Radio Group alignment\n */\nexport const RadioGroupAlignment = {\n horizontal: 'horizontal',\n vertical: 'vertical'\n} as const;\nexport type RadioGroupAlignment = typeof RadioGroupAlignment[keyof typeof RadioGroupAlignment];\n\nlet nextId = 0;\n\n/**\n * Radio group directive renders set of radio buttons.\n *\n * @igxModule IgxRadioModule\n *\n * @igxTheme igx-radio-theme\n *\n * @igxKeywords radiogroup, radio, button, input\n *\n * @igxGroup Data Entry & Display\n *\n * @remarks\n * The Ignite UI Radio Group allows the user to select a single option from an available set of options that are listed side by side.\n *\n * @example:\n * ```html\n * <igx-radio-group name=\"radioGroup\">\n * <igx-radio *ngFor=\"let item of ['Foo', 'Bar', 'Baz']\" value=\"{{item}}\">\n * {{item}}\n * </igx-radio>\n * </igx-radio-group>\n * ```\n */\n@Directive({\n exportAs: 'igxRadioGroup',\n selector: '[igxRadioGroup],igx-radio-group',\n standalone: true\n})\nexport class IgxRadioGroupDirective implements ControlValueAccessor, OnDestroy, DoCheck {\n public ngControl = inject(NgControl, { optional: true, self: true });\n private cdr = inject(ChangeDetectorRef);\n private readonly _element = inject<ElementRef<HTMLElement>>(ElementRef);\n\n private _radioButtons = signal<IgxRadioComponent[]>([]);\n private _radioButtonsList = new QueryList<IgxRadioComponent>();\n\n /**\n * Returns reference to the child radio buttons.\n *\n * @example\n * ```typescript\n * let radioButtons = this.radioGroup.radioButtons;\n * ```\n */\n public get radioButtons(): QueryList<IgxRadioComponent> {\n this._radioButtonsList.reset(this._radioButtons());\n return this._radioButtonsList;\n }\n\n /**\n * Sets/gets the `value` attribute.\n *\n * @example\n * ```html\n * <igx-radio-group [value] = \"'radioButtonValue'\"></igx-radio-group>\n * ```\n */\n @Input()\n public get value(): any {\n return this._value;\n }\n\n public set value(newValue: any) {\n if (this._value !== newValue) {\n this._value = newValue;\n this._selectRadioButton();\n }\n }\n\n /**\n * Sets/gets the `name` attribute of the radio group component. All child radio buttons inherits this name.\n *\n * @example\n * ```html\n * <igx-radio-group name = \"Radio1\"></igx-radio-group>\n * ```\n */\n @Input()\n public get name(): string {\n return this._name;\n }\n public set name(newValue: string) {\n if (this._name !== newValue) {\n this._name = newValue;\n this._setRadioButtonNames();\n }\n }\n\n /**\n * Sets/gets whether the radio group is required.\n *\n * @remarks\n * If not set, `required` will have value `false`.\n *\n * @example\n * ```html\n * <igx-radio-group [required] = \"true\"></igx-radio-group>\n * ```\n */\n @Input({ transform: booleanAttribute })\n public get required(): boolean {\n return this._required;\n }\n\n public set required(value: boolean) {\n this._required = value;\n this._setRadioButtonsRequired();\n }\n\n /**\n * Sets/gets the selected child radio button.\n *\n * @example\n * ```typescript\n * let selectedButton = this.radioGroup.selected;\n * this.radioGroup.selected = selectedButton;\n * ```\n */\n @Input()\n public get selected() {\n return this._selected;\n }\n\n public set selected(selected: IgxRadioComponent | null) {\n if (this._selected !== selected) {\n this._selected = selected;\n this.value = selected ? selected.value : null;\n }\n }\n\n /**\n * Sets/gets whether the radio group is invalid.\n *\n * @remarks\n * If not set, `invalid` will have value `false`.\n *\n * @example\n * ```html\n * <igx-radio-group [invalid] = \"true\"></igx-radio-group>\n * ```\n */\n @Input({ transform: booleanAttribute })\n public get invalid(): boolean {\n return this._invalid;\n }\n\n public set invalid(value: boolean) {\n this._invalid = value;\n this._setRadioButtonsInvalid();\n }\n\n /**\n * An event that is emitted after the radio group `value` is changed.\n *\n * @remarks\n * Provides references to the selected `IgxRadioComponent` and the `value` property as event arguments.\n *\n * @example\n * ```html\n * <igx-radio-group (change)=\"handler($event)\"></igx-radio-group>\n * ```\n */\n // eslint-disable-next-line @angular-eslint/no-output-native\n @Output() public readonly change: EventEmitter<IChangeCheckboxEventArgs> = new EventEmitter<IChangeCheckboxEventArgs>();\n\n /**\n * The css class applied to the component.\n *\n * @hidden\n * @internal\n */\n @HostBinding('class.igx-radio-group')\n public cssClass = 'igx-radio-group';\n\n /**\n * @hidden\n * @internal\n * Sets vertical alignment to the radio group, if `alignment` is set to `vertical`.\n * By default the alignment is horizontal.\n *\n * @example\n * ```html\n * <igx-radio-group alignment=\"vertical\"></igx-radio-group>\n * ```\n */\n @HostBinding('class.igx-radio-group--vertical')\n protected vertical = false;\n\n /**\n * A css class applied to the component if any of the\n * child radio buttons labelPosition is set to `before`.\n *\n * @hidden\n * @internal\n */\n @HostBinding('class.igx-radio-group--before')\n protected get labelBefore() {\n return this._radioButtons().some((radio) => radio.labelPosition === 'before');\n }\n\n /**\n * A css class applied to the component if all\n * child radio buttons are disabled.\n *\n * @hidden\n * @internal\n */\n @HostBinding('class.igx-radio-group--disabled')\n protected get disabled() {\n return this._radioButtons().every((radio) => radio.disabled);\n }\n\n @HostListener('click', ['$event'])\n protected handleClick(event: MouseEvent) {\n event.stopPropagation();\n\n if (this.selected) {\n this.selected.nativeElement.focus();\n }\n }\n\n @HostListener('keydown', ['$event'])\n protected handleKeyDown(event: KeyboardEvent) {\n const { key } = event;\n const buttons = this._radioButtons().filter(radio => !radio.disabled);\n const checked = buttons.find((radio) => radio.checked);\n\n if (['ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight'].includes(key)) {\n let index = checked ? buttons.indexOf(checked) : -1;\n const ltr = isLeftToRight(this._element.nativeElement);\n\n switch (key) {\n case 'ArrowUp':\n index += -1;\n break;\n case 'ArrowLeft':\n index += ltr ? -1 : 1;\n break;\n case 'ArrowRight':\n index += ltr ? 1 : -1;\n break;\n default:\n index += 1;\n }\n\n if (index < 0) index = buttons.length - 1;\n if (index > buttons.length - 1) index = 0;\n\n buttons.forEach((radio) => {\n radio.deselect();\n radio.nativeElement.blur();\n });\n\n buttons[index].focused = true;\n buttons[index].nativeElement.focus();\n buttons[index].select();\n event.preventDefault();\n }\n\n if (event.key === \"Tab\") {\n buttons.forEach((radio) => {\n if (radio !== checked) {\n event.stopPropagation();\n }\n });\n }\n }\n\n /**\n * Returns the alignment of the `igx-radio-group`.\n * ```typescript\n * @ViewChild(\"MyRadioGroup\")\n * public radioGroup: IgxRadioGroupDirective;\n * ngAfterViewInit(){\n * let radioAlignment = this.radioGroup.alignment;\n * }\n * ```\n */\n @Input()\n public get alignment(): RadioGroupAlignment {\n return this.vertical ? RadioGroupAlignment.vertical : RadioGroupAlignment.horizontal;\n }\n /**\n * Allows you to set the radio group alignment.\n * Available options are `RadioGroupAlignment.horizontal` (default) and `RadioGroupAlignment.vertical`.\n * ```typescript\n * public alignment = RadioGroupAlignment.vertical;\n * //..\n * ```\n * ```html\n * <igx-radio-group [alignment]=\"alignment\"></igx-radio-group>\n * ```\n */\n public set alignment(value: RadioGroupAlignment) {\n this.vertical = value === RadioGroupAlignment.vertical;\n }\n\n /**\n * @hidden\n * @internal\n */\n private _onChangeCallback: (_: any) => void = noop;\n\n /**\n * @hidden\n * @internal\n */\n private _name = `igx-radio-group-${nextId++}`;\n\n /**\n * @hidden\n * @internal\n */\n private _value: any = null;\n\n /**\n * @hidden\n * @internal\n */\n private _selected: IgxRadioComponent | null = null;\n\n /**\n * @hidden\n * @internal\n */\n private _isInitialized = signal(false);\n\n /**\n * @hidden\n * @internal\n */\n private _required = false;\n\n /**\n * @hidden\n * @internal\n */\n private _invalid = false;\n\n /**\n * @hidden\n * @internal\n */\n private destroy$ = new Subject<boolean>();\n\n /**\n * @hidden\n * @internal\n */\n private queryChange$ = new Subject<void>();\n\n /**\n * @hidden\n * @internal\n */\n private updateValidityOnBlur() {\n this._radioButtons().forEach((button) => {\n button.focused = false;\n\n if (button.invalid) {\n this.invalid = true;\n }\n });\n }\n\n /**\n * @hidden\n * @internal\n */\n private updateOnKeyUp(event: KeyboardEvent) {\n const checked = this._radioButtons().find(x => x.checked);\n\n if (event.key === \"Tab\") {\n this._radioButtons().forEach((radio) => {\n if (radio === checked) {\n checked.focused = true;\n }\n });\n }\n }\n\n public ngDoCheck(): void {\n this._updateTabIndex();\n }\n\n private _updateTabIndex() {\n // Needed so that the keyboard navigation of a radio group\n // placed inside a dialog works properly\n if (this._radioButtons) {\n const checked = this._radioButtons().find(x => x.checked);\n\n if (checked) {\n this._radioButtons().forEach((button) => {\n checked.nativeElement.tabIndex = 0;\n\n if (button !== checked) {\n button.nativeElement.tabIndex = -1;\n button.focused = false;\n }\n });\n }\n }\n }\n\n /**\n * Sets the \"checked\" property value on the radio input element.\n *\n * @remarks\n * Checks whether the provided value is consistent to the current radio button.\n * If it is, the checked attribute will have value `true` and selected property will contain the selected `IgxRadioComponent`.\n *\n * @example\n * ```typescript\n * this.radioGroup.writeValue('radioButtonValue');\n * ```\n */\n public writeValue(value: any) {\n this.value = value;\n }\n\n /**\n * Registers a function called when the control value changes.\n *\n * @hidden\n * @internal\n */\n public registerOnChange(fn: (_: any) => void) {\n this._onChangeCallback = fn;\n }\n\n /**\n * Registers a function called when the control is touched.\n *\n * @hidden\n * @internal\n */\n public registerOnTouched(fn: () => void) {\n if (this._radioButtons) {\n this._radioButtons().forEach((button) => {\n button.registerOnTouched(fn);\n });\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n public ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n\n constructor() {\n if (this.ngControl !== null) {\n this.ngControl.valueAccessor = this;\n }\n\n effect(() => {\n this.initialize();\n this.setRadioButtons();\n });\n }\n\n /**\n * @hidden\n * @internal\n */\n private initialize() {\n // The initial value can possibly be set by NgModel and it is possible that\n // the OnInit of the NgModel occurs after the OnInit of this class.\n this._isInitialized.set(true);\n\n if (this.ngControl) {\n this.ngControl.statusChanges\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => {\n this.invalid = false;\n });\n\n if (this.ngControl.control.validator || this.ngControl.control.asyncValidator) {\n this._required = this.ngControl?.control?.hasValidator(Validators.required);\n }\n\n this._radioButtons().forEach((button) => {\n if (this.ngControl.disabled) {\n button.disabled = this.ngControl.disabled;\n }\n });\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n private setRadioButtons() {\n this._radioButtons().forEach((button) => {\n Promise.resolve().then(() => {\n button.name = this._name;\n button.required = this._required;\n });\n\n if (button.value === this._value) {\n button.checked = true;\n this._selected = button;\n this.cdr.markForCheck();\n }\n\n this._setRadioButtonEvents(button);\n });\n }\n\n /**\n * @hidden\n * @internal\n */\n private _setRadioButtonEvents(button: any) {\n button.change.pipe(\n takeUntil(button.destroy$),\n takeUntil(this.destroy$),\n takeUntil(this.queryChange$)\n ).subscribe((ev: IChangeCheckboxEventArgs) => this._selectedRadioButtonChanged(ev));\n\n button.blurRadio\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => this.updateValidityOnBlur());\n\n fromEvent(button.nativeElement, 'keyup')\n .pipe(takeUntil(this.destroy$))\n .subscribe((event: KeyboardEvent) => this.updateOnKeyUp(event));\n }\n\n /**\n * @hidden\n * @internal\n */\n private _selectedRadioButtonChanged(args: IChangeCheckboxEventArgs) {\n this._radioButtons().forEach((button) => {\n button.checked = button.id === args.owner.id;\n if (button.checked && button.ngControl) {\n this.invalid = button.ngControl.invalid;\n } else if (button.checked) {\n this.invalid = false;\n }\n });\n\n this._selected = args.owner;\n this._value = args.value;\n\n if (this._isInitialized) {\n this.change.emit(args);\n this._onChangeCallback(this.value);\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n private _setRadioButtonNames() {\n if (this._radioButtons) {\n this._radioButtons().forEach((button) => {\n button.name = this._name;\n });\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n private _selectRadioButton() {\n if (this._radioButtons) {\n this._radioButtons().forEach((button) => {\n if (this._value === null) {\n // no value - uncheck all radio buttons\n if (button.checked) {\n button.checked = false;\n }\n } else {\n if (this._value === button.value) {\n // selected button\n if (this._selected !== button) {\n this._selected = button;\n }\n\n if (!button.checked) {\n button.checked = true;\n }\n } else {\n // non-selected button\n if (button.checked) {\n button.checked = false;\n }\n }\n }\n });\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n private _setRadioButtonsRequired() {\n if (this._radioButtons) {\n this._radioButtons().forEach((button) => {\n button.required = this._required;\n });\n }\n }\n\n\n /**\n * Registers a radio button with this radio group.\n * This method is called by radio button components when they are created.\n * @hidden @internal\n */\n public _addRadioButton(radioButton: IgxRadioComponent): void {\n this._radioButtons.update(buttons => {\n if (!buttons.includes(radioButton)) {\n this._setRadioButtonEvents(radioButton);\n\n return [...buttons, radioButton];\n }\n return buttons;\n });\n }\n\n /**\n * Unregisters a radio button from this radio group.\n * This method is called by radio button components when they are destroyed.\n * @hidden @internal\n */\n public _removeRadioButton(radioButton: IgxRadioComponent): void {\n this._radioButtons.update(buttons =>\n buttons.filter(btn => btn !== radioButton)\n );\n }\n\n /**\n * @hidden\n * @internal\n */\n private _setRadioButtonsInvalid() {\n if (this._radioButtons) {\n this._radioButtons().forEach((button) => {\n button.invalid = this._invalid;\n });\n }\n }\n}\n","import {\n AfterViewInit,\n Component,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n booleanAttribute,\n OnDestroy,\n inject\n} from '@angular/core';\nimport { ControlValueAccessor } from '@angular/forms';\nimport { EditorProvider, EDITOR_PROVIDER } from 'igniteui-angular/core';\nimport { CheckboxBaseDirective, IgxRippleDirective, IChangeCheckboxEventArgs } from 'igniteui-angular/directives';\nimport { IgxRadioGroupDirective } from './radio-group/radio-group.directive';\n\n/**\n * **Ignite UI for Angular Radio Button** -\n * [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/radio_button.html)\n *\n * The Ignite UI Radio Button allows the user to select a single option from an available set of options that are listed side by side.\n *\n * Example:\n * ```html\n * <igx-radio>\n * Simple radio button\n * </igx-radio>\n * ```\n */\n@Component({\n selector: 'igx-radio',\n providers: [{\n provide: EDITOR_PROVIDER,\n useExisting: IgxRadioComponent,\n multi: true\n }],\n templateUrl: 'radio.component.html',\n imports: [IgxRippleDirective]\n})\nexport class IgxRadioComponent\n extends CheckboxBaseDirective\n implements AfterViewInit, OnDestroy, ControlValueAccessor, EditorProvider {\n /** @hidden @internal */\n public blurRadio = new EventEmitter();\n\n private radioGroup = inject(IgxRadioGroupDirective, { optional: true, skipSelf: true });\n\n /**\n * Returns the class of the radio component.\n * ```typescript\n * let radioClass = this.radio.cssClass;\n * ```\n *\n * @memberof IgxRadioComponent\n */\n @HostBinding('class.igx-radio')\n public override cssClass = 'igx-radio';\n\n /**\n * Sets/gets the `checked` attribute.\n * Default value is `false`.\n * ```html\n * <igx-radio [checked]=\"true\"></igx-radio>\n * ```\n * ```typescript\n * let isChecked = this.radio.checked;\n * ```\n *\n * @memberof IgxRadioComponent\n */\n @HostBinding('class.igx-radio--checked')\n @Input({ transform: booleanAttribute })\n public override set checked(value: boolean) {\n this._checked = value;\n }\n public override get checked() {\n return this._checked;\n }\n\n /**\n * Sets/gets the `disabled` attribute.\n * Default value is `false`.\n * ```html\n * <igx-radio disabled></igx-radio>\n * ```\n * ```typescript\n * let isDisabled = this.radio.disabled;\n * ```\n *\n * @memberof IgxRadioComponent\n */\n @HostBinding('class.igx-radio--disabled')\n @Input({ transform: booleanAttribute })\n public override disabled = false;\n\n /**\n * Sets/gets whether the radio button is invalid.\n * Default value is `false`.\n * ```html\n * <igx-radio invalid></igx-radio>\n * ```\n * ```typescript\n * let isInvalid = this.radio.invalid;\n * ```\n *\n * @memberof IgxRadioComponent\n */\n @HostBinding('class.igx-radio--invalid')\n @Input({ transform: booleanAttribute })\n public override invalid = false;\n\n /**\n * Sets/gets whether the radio component is on focus.\n * Default value is `false`.\n * ```typescript\n * this.radio.focus = true;\n * ```\n * ```typescript\n * let isFocused = this.radio.focused;\n * ```\n *\n * @memberof IgxRadioComponent\n */\n @HostBinding('class.igx-radio--focused')\n public override focused = false;\n\n /**\n * @hidden\n * @internal\n */\n @HostListener('change', ['$event'])\n public _changed(event: IChangeCheckboxEventArgs) {\n if (event instanceof Event) {\n event.preventDefault();\n }\n }\n\n /**\n * @hidden\n */\n @HostListener('click')\n public override _onCheckboxClick() {\n this.select();\n }\n\n /**\n * Selects the current radio button.\n * ```typescript\n * this.radio.select();\n * ```\n *\n * @memberof IgxRadioComponent\n */\n public select() {\n if (!this.checked) {\n this.checked = true;\n this.change.emit({\n value: this.value,\n owner: this,\n checked: this.checked,\n });\n this._onChangeCallback(this.value);\n }\n }\n\n /**\n * Deselects the current radio button.\n * ```typescript\n * this.radio.deselect();\n * ```\n *\n * @memberof IgxRadioComponent\n */\n public deselect() {\n this.checked = false;\n this.focused = false;\n this.cdr.markForCheck();\n }\n\n /**\n * Checks whether the provided value is consistent to the current radio button.\n * If it is, the checked attribute will have value `true`;\n * ```typescript\n * this.radio.writeValue('radioButtonValue');\n * ```\n */\n public override writeValue(value: any) {\n this.value = this.value ?? value;\n\n if (value === this.value) {\n if (!this.checked) {\n this.checked = true;\n }\n } else {\n this.deselect();\n }\n }\n\n /**\n * @hidden\n */\n @HostListener('blur')\n public override onBlur() {\n super.onBlur();\n this.blurRadio.emit();\n }\n\n /**\n * @hidden\n * @internal\n */\n public override ngAfterViewInit(): void {\n super.ngAfterViewInit();\n\n // Register with parent radio group if it exists\n if (this.radioGroup) {\n this.radioGroup._addRadioButton(this);\n }\n }\n\n /**\n * @hidden\n * @internal\n */\n public ngOnDestroy(): void {\n // Unregister from parent radio group if it exists\n if (this.radioGroup) {\n this.radioGroup._removeRadioButton(this);\n }\n }\n}\n","<input #checkbox class=\"igx-radio__input\" type=\"radio\"\n [id]=\"inputId\"\n [name]=\"name\"\n [value]=\"value\"\n [tabindex]=\"tabindex\"\n [disabled]=\"disabled\"\n [checked]=\"checked\"\n [required]=\"required\"\n [attr.aria-required]=\"required\"\n [attr.aria-invalid]=\"invalid\"\n [attr.aria-checked]=\"checked\"\n [attr.aria-labelledby]=\"ariaLabel ? null : ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n (blur)=\"onBlur()\" />\n\n<span #label class=\"igx-radio__composite\" igxRipple\n igxRippleTarget=\".igx-radio__ripple\"\n [igxRippleDisabled]=\"disableRipple\"\n [igxRippleCentered]=\"true\"\n [igxRippleDuration]=\"300\">\n <div class=\"igx-radio__ripple\"></div>\n</span>\n\n<span #placeholderLabel\n [id]=\"labelId\"\n [class]=\"labelClass\">\n <ng-content></ng-content>\n</span>\n","import { IgxRadioComponent } from '../../radio/radio.component';\nimport { IgxRadioGroupDirective } from './radio-group.directive';\n\nexport * from './radio-group.directive';\n\n/* NOTE: Radio Group directives collection for ease-of-use import in standalone components scenario */\nexport const IGX_RADIO_GROUP_DIRECTIVES = [\n IgxRadioGroupDirective,\n IgxRadioComponent\n] as const;\n","import { NgModule } from '@angular/core';\nimport { IgxRadioGroupDirective } from './radio-group.directive';\nimport { IgxRadioComponent } from '../radio.component';\n\n/**\n * @hidden\n * @deprecated\n * IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components\n */\n@NgModule({\n imports: [IgxRadioGroupDirective, IgxRadioComponent],\n exports: [IgxRadioGroupDirective, IgxRadioComponent]\n})\nexport class IgxRadioModule {}\n","/**\n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IACtC,sBAAsB;IACtB;;;ACJJ;;;;AAIG;MAKU,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAHb,sBAAsB,EAAE,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACzC,sBAAsB,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA;+GAE1C,cAAc,EAAA,CAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,iBAAiB,CAAC;AACpD,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,iBAAiB;AACtD,iBAAA;;;ACZD;;AAEG;;;;"}
@@ -18,13 +18,13 @@ import { IgxIconComponent } from 'igniteui-angular/icon';
18
18
  * a `<igx-select>` container.
19
19
  */
20
20
  class IgxSelectGroupComponent extends IgxDropDownGroupComponent {
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: IgxSelectGroupComponent, isStandalone: true, selector: "igx-select-item-group", usesInheritance: true, ngImport: i0, template: `
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: IgxSelectGroupComponent, isStandalone: true, selector: "igx-select-item-group", usesInheritance: true, ngImport: i0, template: `
23
23
  <label id="{{labelId}}">{{ label }}</label>
24
24
  <ng-content select="igx-select-item"></ng-content>
25
25
  `, isInline: true }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectGroupComponent, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectGroupComponent, decorators: [{
28
28
  type: Component,
29
29
  args: [{
30
30
  selector: 'igx-select-item-group',
@@ -81,10 +81,10 @@ class IgxSelectItemComponent extends IgxDropDownItemComponent {
81
81
  this.dropDown.selectItem(this);
82
82
  }
83
83
  }
84
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
85
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: IgxSelectItemComponent, isStandalone: true, selector: "igx-select-item", inputs: { text: "text" }, usesInheritance: true, ngImport: i0, template: "<span class=\"igx-drop-down__content\">\n <ng-content select=\"igx-prefix, [igxPrefix]\"></ng-content>\n <span class=\"igx-drop-down__inner\"><ng-content></ng-content></span>\n <ng-content select=\"igx-suffix, [igxSuffix]\"></ng-content>\n</span>\n" }); }
84
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
85
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: IgxSelectItemComponent, isStandalone: true, selector: "igx-select-item", inputs: { text: "text" }, usesInheritance: true, ngImport: i0, template: "<span class=\"igx-drop-down__content\">\n <ng-content select=\"igx-prefix, [igxPrefix]\"></ng-content>\n <span class=\"igx-drop-down__inner\"><ng-content></ng-content></span>\n <ng-content select=\"igx-suffix, [igxSuffix]\"></ng-content>\n</span>\n" }); }
86
86
  }
87
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectItemComponent, decorators: [{
87
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectItemComponent, decorators: [{
88
88
  type: Component,
89
89
  args: [{ selector: 'igx-select-item', standalone: true, template: "<span class=\"igx-drop-down__content\">\n <ng-content select=\"igx-prefix, [igxPrefix]\"></ng-content>\n <span class=\"igx-drop-down__inner\"><ng-content></ng-content></span>\n <ng-content select=\"igx-suffix, [igxSuffix]\"></ng-content>\n</span>\n" }]
90
90
  }], propDecorators: { text: [{
@@ -385,10 +385,10 @@ class IgxSelectItemNavigationDirective extends IgxDropDownItemNavigationDirectiv
385
385
  return items.slice(activeItemIndex + 1).find(x => !x.disabled && (x.itemText.toLowerCase().startsWith(text.toLowerCase()))) ||
386
386
  items.slice(0, activeItemIndex).find(x => !x.disabled && (x.itemText.toLowerCase().startsWith(text.toLowerCase())));
387
387
  }
388
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectItemNavigationDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
389
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: IgxSelectItemNavigationDirective, isStandalone: true, selector: "[igxSelectItemNavigation]", inputs: { target: ["igxSelectItemNavigation", "target"] }, usesInheritance: true, ngImport: i0 }); }
388
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectItemNavigationDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
389
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: IgxSelectItemNavigationDirective, isStandalone: true, selector: "[igxSelectItemNavigation]", inputs: { target: ["igxSelectItemNavigation", "target"] }, usesInheritance: true, ngImport: i0 }); }
390
390
  }
391
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectItemNavigationDirective, decorators: [{
391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectItemNavigationDirective, decorators: [{
392
392
  type: Directive,
393
393
  args: [{
394
394
  selector: '[igxSelectItemNavigation]',
@@ -401,10 +401,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
401
401
 
402
402
  /** @hidden @internal */
403
403
  class IgxSelectToggleIconDirective {
404
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
405
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: IgxSelectToggleIconDirective, isStandalone: true, selector: "[igxSelectToggleIcon]", ngImport: i0 }); }
404
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
405
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: IgxSelectToggleIconDirective, isStandalone: true, selector: "[igxSelectToggleIcon]", ngImport: i0 }); }
406
406
  }
407
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectToggleIconDirective, decorators: [{
407
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectToggleIconDirective, decorators: [{
408
408
  type: Directive,
409
409
  args: [{
410
410
  selector: '[igxSelectToggleIcon]',
@@ -413,10 +413,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
413
413
  }] });
414
414
  /** @hidden @internal */
415
415
  class IgxSelectHeaderDirective {
416
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
417
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: IgxSelectHeaderDirective, isStandalone: true, selector: "[igxSelectHeader]", ngImport: i0 }); }
416
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
417
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: IgxSelectHeaderDirective, isStandalone: true, selector: "[igxSelectHeader]", ngImport: i0 }); }
418
418
  }
419
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectHeaderDirective, decorators: [{
419
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectHeaderDirective, decorators: [{
420
420
  type: Directive,
421
421
  args: [{
422
422
  selector: '[igxSelectHeader]',
@@ -425,10 +425,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
425
425
  }] });
426
426
  /** @hidden @internal */
427
427
  class IgxSelectFooterDirective {
428
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
429
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: IgxSelectFooterDirective, isStandalone: true, selector: "[igxSelectFooter]", ngImport: i0 }); }
428
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
429
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: IgxSelectFooterDirective, isStandalone: true, selector: "[igxSelectFooter]", ngImport: i0 }); }
430
430
  }
431
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectFooterDirective, decorators: [{
431
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectFooterDirective, decorators: [{
432
432
  type: Directive,
433
433
  args: [{
434
434
  selector: '[igxSelectFooter]',
@@ -854,13 +854,13 @@ class IgxSelectComponent extends IgxDropDownComponent {
854
854
  this.selection.clear(this.id);
855
855
  }
856
856
  }
857
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
858
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: IgxSelectComponent, isStandalone: true, selector: "igx-select", inputs: { placeholder: "placeholder", disabled: ["disabled", "disabled", booleanAttribute], overlaySettings: "overlaySettings", value: "value", type: "type" }, outputs: { opening: "opening", opened: "opened", closing: "closing", closed: "closed" }, host: { properties: { "style.maxHeight": "this.maxHeight" } }, providers: [
857
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
858
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: IgxSelectComponent, isStandalone: true, selector: "igx-select", inputs: { placeholder: "placeholder", disabled: ["disabled", "disabled", booleanAttribute], overlaySettings: "overlaySettings", value: "value", type: "type" }, outputs: { opening: "opening", opened: "opened", closing: "closing", closed: "closed" }, host: { properties: { "style.maxHeight": "this.maxHeight" } }, providers: [
859
859
  { provide: NG_VALUE_ACCESSOR, useExisting: IgxSelectComponent, multi: true },
860
860
  { provide: IGX_DROPDOWN_BASE, useExisting: IgxSelectComponent }
861
861
  ], queries: [{ propertyName: "label", first: true, predicate: i0.forwardRef(() => IgxLabelDirective), descendants: true, static: true }, { propertyName: "toggleIconTemplate", first: true, predicate: IgxSelectToggleIconDirective, descendants: true, read: TemplateRef }, { propertyName: "headerTemplate", first: true, predicate: IgxSelectHeaderDirective, descendants: true, read: TemplateRef }, { propertyName: "footerTemplate", first: true, predicate: IgxSelectFooterDirective, descendants: true, read: TemplateRef }, { propertyName: "hintElement", first: true, predicate: IgxHintDirective, descendants: true, read: ElementRef }, { propertyName: "children", predicate: i0.forwardRef(() => IgxSelectItemComponent), descendants: true }, { propertyName: "prefixes", predicate: IgxPrefixDirective, descendants: true }, { propertyName: "suffixes", predicate: IgxSuffixDirective, descendants: true }], viewQueries: [{ propertyName: "inputGroup", first: true, predicate: ["inputGroup"], descendants: true, read: IgxInputGroupComponent, static: true }, { propertyName: "input", first: true, predicate: ["input"], descendants: true, read: IgxInputDirective, static: true }, { propertyName: "internalSuffixes", predicate: IgxSuffixDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<igx-input-group #inputGroup class=\"input-group\" (click)=\"inputGroupClick($event)\" [type]=\"type === 'search' ? 'line' : type\">\n <ng-container ngProjectAs=\"[igxLabel]\">\n <ng-content select=\"[igxLabel]\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"igx-prefix\">\n <ng-content select=\"igx-prefix,[igxPrefix]\"></ng-content>\n </ng-container>\n <input #input class=\"input\" type=\"text\" igxInput [igxSelectItemNavigation]=\"this\"\n [disabled]=\"disabled\"\n readonly=\"true\"\n [igxReadOnlyInput]=\"false\"\n [attr.placeholder]=\"this.placeholder\"\n [value]=\"this.selectionValue\"\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n [attr.aria-labelledby]=\"labelledBy || label?.id\"\n [attr.aria-expanded]=\"!this.collapsed\"\n [attr.aria-owns]=\"this.listId\"\n [attr.aria-activedescendant]=\"!this.collapsed ? this.focusedItem?.id : null\"\n (blur)=\"onBlur()\"\n (focus)=\"onFocus()\"\n />\n <ng-container ngProjectAs=\"igx-suffix\">\n <ng-content select=\"igx-suffix,[igxSuffix]\"></ng-content>\n </ng-container>\n <igx-suffix class=\"igx-select__toggle-button\">\n @if (toggleIconTemplate) {\n <ng-container *ngTemplateOutlet=\"toggleIconTemplate; context: {$implicit: this.collapsed}\"></ng-container>\n }\n @if (!toggleIconTemplate) {\n <igx-icon family=\"default\" [name]=\"toggleIcon\"></igx-icon>\n }\n </igx-suffix>\n <ng-container ngProjectAs=\"igx-hint, [igxHint]\" >\n <ng-content select=\"igx-hint, [igxHint]\"></ng-content>\n </ng-container>\n</igx-input-group>\n<div igxToggle class=\"igx-drop-down__list\" (mousedown)=\"mousedownHandler($event);\"\n (appended)=\"onToggleContentAppended($event)\"\n (opening)=\"handleOpening($event)\"\n (opened)=\"handleOpened()\"\n (closing)=\"handleClosing($event)\"\n (closed)=\"handleClosed()\">\n\n @if (headerTemplate) {\n <div class=\"igx-drop-down__select-header\">\n <ng-content *ngTemplateOutlet=\"headerTemplate\"></ng-content>\n </div>\n }\n\n <!-- #7436 LMB scrolling closes items container - unselectable attribute is IE specific -->\n <div #scrollContainer class=\"igx-drop-down__list-scroll\" unselectable=\"on\" [style.maxHeight]=\"maxHeight\"\n [attr.id]=\"this.listId\" role=\"listbox\" [attr.aria-labelledby]=\"labelledBy || label?.id\">\n <ng-content select=\"igx-select-item, igx-select-item-group\"></ng-content>\n </div>\n\n @if (footerTemplate) {\n <div class=\"igx-drop-down__select-footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n }\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: IgxInputGroupComponent, selector: "igx-input-group", inputs: ["resourceStrings", "suppressInputAutofocus", "type", "theme"] }, { kind: "directive", type: IgxInputDirective, selector: "[igxInput]", inputs: ["value", "disabled", "required"], exportAs: ["igxInput"] }, { kind: "directive", type: IgxSelectItemNavigationDirective, selector: "[igxSelectItemNavigation]", inputs: ["igxSelectItemNavigation"] }, { kind: "directive", type: IgxSuffixDirective, selector: "[igxSuffix],[igxEnd],igx-suffix" }, { kind: "directive", type: IgxReadOnlyInputDirective, selector: "[igxReadOnlyInput]", inputs: ["igxReadOnlyInput"], exportAs: ["igxReadOnlyInput"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IgxIconComponent, selector: "igx-icon", inputs: ["ariaHidden", "family", "name", "active"] }, { kind: "directive", type: IgxToggleDirective, selector: "[igxToggle]", inputs: ["id"], outputs: ["opened", "opening", "closed", "closing", "appended"], exportAs: ["toggle"] }] }); }
862
862
  }
863
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectComponent, decorators: [{
863
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectComponent, decorators: [{
864
864
  type: Component,
865
865
  args: [{ selector: 'igx-select', providers: [
866
866
  { provide: NG_VALUE_ACCESSOR, useExisting: IgxSelectComponent, multi: true },
@@ -943,11 +943,11 @@ const IGX_SELECT_DIRECTIVES = [
943
943
  * IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components
944
944
  */
945
945
  class IgxSelectModule {
946
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
947
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectModule, imports: [IgxSelectComponent, IgxSelectItemComponent, IgxSelectGroupComponent, IgxSelectHeaderDirective, IgxSelectFooterDirective, IgxSelectToggleIconDirective, i4.IgxLabelDirective, i4.IgxPrefixDirective, i4.IgxSuffixDirective, i4.IgxHintDirective], exports: [IgxSelectComponent, IgxSelectItemComponent, IgxSelectGroupComponent, IgxSelectHeaderDirective, IgxSelectFooterDirective, IgxSelectToggleIconDirective, i4.IgxLabelDirective, i4.IgxPrefixDirective, i4.IgxSuffixDirective, i4.IgxHintDirective] }); }
948
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectModule, imports: [IgxSelectComponent] }); }
946
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
947
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectModule, imports: [IgxSelectComponent, IgxSelectItemComponent, IgxSelectGroupComponent, IgxSelectHeaderDirective, IgxSelectFooterDirective, IgxSelectToggleIconDirective, i4.IgxLabelDirective, i4.IgxPrefixDirective, i4.IgxSuffixDirective, i4.IgxHintDirective], exports: [IgxSelectComponent, IgxSelectItemComponent, IgxSelectGroupComponent, IgxSelectHeaderDirective, IgxSelectFooterDirective, IgxSelectToggleIconDirective, i4.IgxLabelDirective, i4.IgxPrefixDirective, i4.IgxSuffixDirective, i4.IgxHintDirective] }); }
948
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectModule, imports: [IgxSelectComponent] }); }
949
949
  }
950
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSelectModule, decorators: [{
950
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSelectModule, decorators: [{
951
951
  type: NgModule,
952
952
  args: [{
953
953
  imports: [
@@ -563,14 +563,14 @@ class IgxSimpleComboComponent extends IgxComboBaseDirective {
563
563
  }
564
564
  return value !== undefined;
565
565
  }
566
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSimpleComboComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
567
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: IgxSimpleComboComponent, isStandalone: true, selector: "igx-simple-combo", outputs: { selectionChanging: "selectionChanging", selectionChanged: "selectionChanged" }, host: { listeners: { "keydown.ArrowDown": "onArrowDown($event)", "keydown.Alt.ArrowDown": "onArrowDown($event)" } }, providers: [
566
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSimpleComboComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
567
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: IgxSimpleComboComponent, isStandalone: true, selector: "igx-simple-combo", outputs: { selectionChanging: "selectionChanging", selectionChanged: "selectionChanged" }, host: { listeners: { "keydown.ArrowDown": "onArrowDown($event)", "keydown.Alt.ArrowDown": "onArrowDown($event)" } }, providers: [
568
568
  IgxComboAPIService,
569
569
  { provide: IGX_COMBO_COMPONENT, useExisting: IgxSimpleComboComponent },
570
570
  { provide: NG_VALUE_ACCESSOR, useExisting: IgxSimpleComboComponent, multi: true }
571
571
  ], viewQueries: [{ propertyName: "dropdown", first: true, predicate: IgxComboDropDownComponent, descendants: true, static: true }, { propertyName: "addItem", first: true, predicate: IgxComboAddItemComponent, descendants: true }, { propertyName: "textSelection", first: true, predicate: IgxTextSelectionDirective, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<igx-input-group #inputGroup [type]=\"type\">\n\n <ng-container ngProjectAs=\"[igxLabel]\">\n <ng-content select=\"[igxLabel]\"></ng-content>\n </ng-container>\n\n <ng-container ngProjectAs=\"igx-prefix\">\n <ng-content select=\"igx-prefix,[igxPrefix]\"></ng-content>\n </ng-container>\n\n <ng-container ngProjectAs=\"igx-hint, [igxHint]\">\n <ng-content select=\"igx-hint, [igxHint]\"></ng-content>\n </ng-container>\n\n <input #comboInput igxInput [value]=\"displayValue\" role=\"combobox\"\n aria-haspopup=\"listbox\" aria-autocomplete=\"list\" aria-readonly=\"false\"\n [attr.aria-expanded]=\"!this.dropdown.collapsed\" [attr.aria-controls]=\"this.dropdown.listId\"\n [attr.aria-labelledby]=\"this.ariaLabelledBy || this.label?.id || this.placeholder\"\n [attr.placeholder]=\"placeholder\" [disabled]=\"disabled\" [igxTextSelection]=\"!composing\"\n [attr.aria-label]=\"getAriaLabel()\"\n (input)=\"handleInputChange($event)\" (click)=\"handleInputClick()\"\n (keyup)=\"handleKeyUp($event)\" (keydown)=\"handleKeyDown($event)\" (blur)=\"onBlur()\" (paste)=\"handleInputChange($event)\"/>\n\n <ng-container ngProjectAs=\"igx-suffix\">\n <ng-content select=\"igx-suffix,[igxSuffix]\"></ng-content>\n </ng-container>\n\n @if (hasSelectedItem && !disableClear) {\n <igx-suffix [attr.aria-label]=\"resourceStrings.igx_combo_clearItems_placeholder\" class=\"igx-combo__clear-button\"\n (click)=\"handleClear($event)\">\n @if (clearIconTemplate) {\n <ng-container *ngTemplateOutlet=\"clearIconTemplate\"></ng-container>\n }\n @if (!clearIconTemplate) {\n <igx-icon family=\"default\" name=\"input_clear\"></igx-icon>\n }\n </igx-suffix>\n }\n\n @if (showSearchCaseIcon) {\n <igx-suffix>\n <igx-icon family=\"default\" name=\"case_sensitive\" [active]=\"filteringOptions.caseSensitive\"\n (click)=\"toggleCaseSensitive()\">\n </igx-icon>\n </igx-suffix>\n }\n\n <igx-suffix class=\"igx-combo__toggle-button\" (click)=\"onClick($event)\">\n @if (toggleIconTemplate) {\n <ng-container *ngTemplateOutlet=\"toggleIconTemplate; context: {$implicit: collapsed}\"></ng-container>\n }\n @if (!toggleIconTemplate) {\n <igx-icon family=\"default\" [name]=\"toggleIcon\"></igx-icon>\n }\n </igx-suffix>\n\n</igx-input-group>\n\n<igx-combo-drop-down #igxComboDropDown class=\"igx-combo__drop-down\"\n [labelledBy]=\"this.ariaLabelledBy || this.label?.id || this.placeholder || ''\"\n [width]=\"itemsWidth || '100%'\" (opening)=\"handleOpening($event)\" (closing)=\"handleClosing($event)\"\n (opened)=\"handleOpened()\" (closed)=\"handleClosed()\" [singleMode]=\"true\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\">\n </ng-container>\n <div #dropdownItemContainer class=\"igx-combo__content\" [style.overflow]=\"'hidden'\"\n [style.maxHeight.rem]=\"itemsMaxHeightInRem\" [igxDropDownItemNavigation]=\"dropdown\"\n [tabindex]=\"dropdown.collapsed ? -1 : 0\" [attr.id]=\"dropdown.id\"\n [attr.aria-activedescendant]=\"this.activeDescendant\"\n (focus)=\"dropdown.onFocus()\" (keydown)=\"handleItemKeyDown($event)\">\n <igx-combo-item [role]=\"item?.isHeader? 'group' : 'option'\" [singleMode]=\"true\"\n [itemHeight]=\"itemHeight\" (click)=\"handleItemClick()\" *igxFor=\"let item of data\n | comboFiltering:filterValue:displayKey:filteringOptions:filterFunction:disableFiltering\n | comboGrouping:groupKey:valueKey:groupSortingDirection:compareCollator;\n index as rowIndex; initialChunkSize: 10; containerSize: itemsMaxHeight || containerSize; itemSize: itemHeight || itemSize; scrollOrientation: 'vertical';\"\n [value]=\"item\" [isHeader]=\"item?.isHeader\" [index]=\"rowIndex\">\n @if (item?.isHeader) {\n <ng-container\n *ngTemplateOutlet=\"headerItemTemplate ? headerItemTemplate : headerItemBase;\n context: {$implicit: item, data: data, valueKey: valueKey, groupKey: groupKey, displayKey: displayKey}\">\n </ng-container>\n }\n <!-- if item is 'null' it should be displayed and !!(item?.isHeader) would resolve it to 'false' and not display it -->\n @if (!item?.isHeader) {\n <ng-container #listItem\n *ngTemplateOutlet=\"template; context: {$implicit: item, data: data, valueKey: valueKey, displayKey: displayKey};\">\n </ng-container>\n }\n </igx-combo-item>\n </div>\n\n @if (filteredData.length === 0 || isAddButtonVisible()) {\n <div class=\"igx-combo__add\">\n @if (filteredData.length === 0) {\n <div class=\"igx-combo__empty\">\n <ng-container *ngTemplateOutlet=\"emptyTemplate ? emptyTemplate : empty\">\n </ng-container>\n </div>\n }\n @if (isAddButtonVisible()) {\n <igx-combo-add-item #addItem [itemHeight]=\"itemHeight\"\n [tabindex]=\"dropdown.collapsed ? -1 : customValueFlag ? 1 : -1\" class=\"igx-combo__add-item\" role=\"button\"\n [attr.aria-label]=\"resourceStrings.igx_combo_addCustomValues_placeholder\" [index]=\"virtualScrollContainer.igxForOf.length\">\n <ng-container *ngTemplateOutlet=\"addItemTemplate ? addItemTemplate : addItemDefault\">\n </ng-container>\n </igx-combo-add-item>\n }\n </div>\n }\n <ng-container *ngTemplateOutlet=\"footerTemplate\">\n </ng-container>\n</igx-combo-drop-down>\n\n<ng-template #complex let-display let-data=\"data\" let-key=\"displayKey\">\n {{display[key]}}\n</ng-template>\n<ng-template #primitive let-display>\n {{display}}\n</ng-template>\n<ng-template #empty>\n <span>{{resourceStrings.igx_combo_empty_message}}</span>\n</ng-template>\n<ng-template #addItemDefault let-control>\n <button type=\"button\" igxButton=\"flat\" igxRipple>{{ resourceStrings.igx_combo_addCustomValues_placeholder }}</button>\n</ng-template>\n<ng-template #headerItemBase let-item let-key=\"valueKey\" let-groupKey=\"groupKey\">\n {{ item[key] }}\n</ng-template>\n", dependencies: [{ kind: "component", type: IgxInputGroupComponent, selector: "igx-input-group", inputs: ["resourceStrings", "suppressInputAutofocus", "type", "theme"] }, { kind: "directive", type: IgxInputDirective, selector: "[igxInput]", inputs: ["value", "disabled", "required"], exportAs: ["igxInput"] }, { kind: "directive", type: IgxTextSelectionDirective, selector: "[igxTextSelection]", inputs: ["igxTextSelection"], exportAs: ["igxTextSelection"] }, { kind: "directive", type: IgxSuffixDirective, selector: "[igxSuffix],[igxEnd],igx-suffix" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IgxIconComponent, selector: "igx-icon", inputs: ["ariaHidden", "family", "name", "active"] }, { kind: "component", type: IgxComboDropDownComponent, selector: "igx-combo-drop-down", inputs: ["singleMode"] }, { kind: "directive", type: IgxDropDownItemNavigationDirective, selector: "[igxDropDownItemNavigation]", inputs: ["igxDropDownItemNavigation"] }, { kind: "directive", type: IgxForOfDirective, selector: "[igxFor][igxForOf]", inputs: ["igxForOf", "igxForSizePropName", "igxForScrollOrientation", "igxForScrollContainer", "igxForContainerSize", "igxForInitialChunkSize", "igxForItemSize", "igxForTotalItemCount", "igxForTrackBy"], outputs: ["chunkLoad", "scrollbarVisibilityChanged", "chunkSizeChange", "contentSizeChange", "dataChanged", "beforeViewDestroyed", "chunkPreload"] }, { kind: "component", type: IgxComboItemComponent, selector: "igx-combo-item", inputs: ["itemHeight", "ariaLabel", "singleMode"] }, { kind: "component", type: IgxComboAddItemComponent, selector: "igx-combo-add-item" }, { kind: "directive", type: IgxButtonDirective, selector: "[igxButton]", inputs: ["selected", "igxButton", "igxLabel"], outputs: ["buttonSelected"] }, { kind: "directive", type: IgxRippleDirective, selector: "[igxRipple]", inputs: ["igxRippleTarget", "igxRipple", "igxRippleDuration", "igxRippleCentered", "igxRippleDisabled"] }, { kind: "pipe", type: IgxComboFilteringPipe, name: "comboFiltering" }, { kind: "pipe", type: IgxComboGroupingPipe, name: "comboGrouping" }] }); }
572
572
  }
573
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSimpleComboComponent, decorators: [{
573
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSimpleComboComponent, decorators: [{
574
574
  type: Component,
575
575
  args: [{ selector: 'igx-simple-combo', providers: [
576
576
  IgxComboAPIService,
@@ -620,11 +620,11 @@ const IGX_SIMPLE_COMBO_DIRECTIVES = [
620
620
  * IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components
621
621
  */
622
622
  class IgxSimpleComboModule {
623
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSimpleComboModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
624
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.6", ngImport: i0, type: IgxSimpleComboModule, imports: [IgxSimpleComboComponent, i2.IgxComboAddItemDirective, i2.IgxComboClearIconDirective, i2.IgxComboEmptyDirective, i2.IgxComboFooterDirective, i2.IgxComboHeaderDirective, i2.IgxComboHeaderItemDirective, i2.IgxComboItemDirective, i2.IgxComboToggleIconDirective, i3.IgxLabelDirective, i3.IgxPrefixDirective, i3.IgxSuffixDirective, i3.IgxHintDirective], exports: [IgxSimpleComboComponent, i2.IgxComboAddItemDirective, i2.IgxComboClearIconDirective, i2.IgxComboEmptyDirective, i2.IgxComboFooterDirective, i2.IgxComboHeaderDirective, i2.IgxComboHeaderItemDirective, i2.IgxComboItemDirective, i2.IgxComboToggleIconDirective, i3.IgxLabelDirective, i3.IgxPrefixDirective, i3.IgxSuffixDirective, i3.IgxHintDirective] }); }
625
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSimpleComboModule, imports: [IgxSimpleComboComponent] }); }
623
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSimpleComboModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
624
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: IgxSimpleComboModule, imports: [IgxSimpleComboComponent, i2.IgxComboAddItemDirective, i2.IgxComboClearIconDirective, i2.IgxComboEmptyDirective, i2.IgxComboFooterDirective, i2.IgxComboHeaderDirective, i2.IgxComboHeaderItemDirective, i2.IgxComboItemDirective, i2.IgxComboToggleIconDirective, i3.IgxLabelDirective, i3.IgxPrefixDirective, i3.IgxSuffixDirective, i3.IgxHintDirective], exports: [IgxSimpleComboComponent, i2.IgxComboAddItemDirective, i2.IgxComboClearIconDirective, i2.IgxComboEmptyDirective, i2.IgxComboFooterDirective, i2.IgxComboHeaderDirective, i2.IgxComboHeaderItemDirective, i2.IgxComboItemDirective, i2.IgxComboToggleIconDirective, i3.IgxLabelDirective, i3.IgxPrefixDirective, i3.IgxSuffixDirective, i3.IgxHintDirective] }); }
625
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSimpleComboModule, imports: [IgxSimpleComboComponent] }); }
626
626
  }
627
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IgxSimpleComboModule, decorators: [{
627
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: IgxSimpleComboModule, decorators: [{
628
628
  type: NgModule,
629
629
  args: [{
630
630
  imports: [