igniteui-angular 12.3.37 → 12.3.38

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.
@@ -12,6 +12,7 @@ import { OverlaySettings } from '../services/public_api';
12
12
  import { IgxComboDropDownComponent } from './combo-dropdown.component';
13
13
  import { IgxComboAPIService } from './combo.api';
14
14
  import { IComboFilteringOptions, IComboItemAdditionEvent, IComboSearchInputEventArgs } from './public_api';
15
+ import { IComboResourceStrings } from '../core/i18n/combo-resources';
15
16
  export declare const IGX_COMBO_COMPONENT: InjectionToken<IgxComboBase>;
16
17
  /** @hidden @internal TODO: Evaluate */
17
18
  export interface IgxComboBase {
@@ -303,6 +304,14 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
303
304
  */
304
305
  get type(): IgxInputGroupType;
305
306
  set type(val: IgxInputGroupType);
307
+ /**
308
+ * Gets/Sets the resource strings.
309
+ *
310
+ * @remarks
311
+ * By default it uses EN resources.
312
+ */
313
+ get resourceStrings(): IComboResourceStrings;
314
+ set resourceStrings(value: IComboResourceStrings);
306
315
  /**
307
316
  * Emitted before the dropdown is opened
308
317
  *
@@ -629,6 +638,7 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
629
638
  protected _filteredData: any[];
630
639
  protected _displayKey: string;
631
640
  protected _remoteSelection: {};
641
+ protected _resourceStrings: any;
632
642
  protected _valid: IgxComboState;
633
643
  protected ngControl: NgControl;
634
644
  protected destroy$: Subject<any>;
@@ -0,0 +1,4 @@
1
+ export interface IComboResourceStrings {
2
+ igx_combo_empty_message?: string;
3
+ }
4
+ export declare const ComboResourceStringsEN: IComboResourceStrings;
@@ -10,7 +10,8 @@ import { ICalendarResourceStrings } from './calendar-resources';
10
10
  import { IInputResourceStrings } from './input-resources';
11
11
  import { ITreeResourceStrings } from './tree-resources';
12
12
  import { IActionStripResourceStrings } from './action-strip-resources';
13
- export interface IResourceStrings extends IGridResourceStrings, ITimePickerResourceStrings, ICalendarResourceStrings, ICarouselResourceStrings, IChipResourceStrings, IInputResourceStrings, IDatePickerResourceStrings, IDateRangePickerResourceStrings, IListResourceStrings, IPaginatorResourceStrings, ITreeResourceStrings, IActionStripResourceStrings {
13
+ import { IComboResourceStrings } from './combo-resources';
14
+ export interface IResourceStrings extends IGridResourceStrings, ITimePickerResourceStrings, ICalendarResourceStrings, ICarouselResourceStrings, IChipResourceStrings, IComboResourceStrings, IInputResourceStrings, IDatePickerResourceStrings, IDateRangePickerResourceStrings, IListResourceStrings, IPaginatorResourceStrings, ITreeResourceStrings, IActionStripResourceStrings {
14
15
  }
15
16
  /**
16
17
  * @hidden
@@ -30,6 +31,7 @@ export declare const CurrentResourceStrings: {
30
31
  TimePickerResStrings: any;
31
32
  CalendarResStrings: any;
32
33
  ChipResStrings: any;
34
+ ComboResStrings: any;
33
35
  DatePickerResourceStrings: any;
34
36
  DateRangePickerResStrings: any;
35
37
  CarouselResStrings: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "12.3.37",
3
+ "version": "12.3.38",
4
4
  "description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
5
5
  "author": "Infragistics",
6
6
  "license": "SEE LICENSE IN LICENSE",
package/public_api.d.ts CHANGED
@@ -108,6 +108,7 @@ export { CancelableEventArgs, CancelableBrowserEventArgs } from './lib/core/util
108
108
  export { changei18n, getCurrentResourceStrings, IResourceStrings } from './lib/core/i18n/resources';
109
109
  export { ICarouselResourceStrings } from './lib/core/i18n/carousel-resources';
110
110
  export { IGridResourceStrings } from './lib/core/i18n/grid-resources';
111
+ export { IComboResourceStrings } from './lib/core/i18n/combo-resources';
111
112
  export { IPaginatorResourceStrings } from './lib/core/i18n/paginator-resources';
112
113
  export { ICalendarResourceStrings } from './lib/core/i18n/calendar-resources';
113
114
  export { ITimePickerResourceStrings } from './lib/core/i18n/time-picker-resources';