igniteui-angular 13.2.14 → 13.2.15

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.
@@ -13,6 +13,7 @@ import { OverlaySettings } from '../services/public_api';
13
13
  import { IgxComboDropDownComponent } from './combo-dropdown.component';
14
14
  import { IgxComboAPIService } from './combo.api';
15
15
  import { IComboFilteringOptions, IComboItemAdditionEvent, IComboSearchInputEventArgs } from './public_api';
16
+ import { IComboResourceStrings } from '../core/i18n/combo-resources';
16
17
  import * as i0 from "@angular/core";
17
18
  export declare const IGX_COMBO_COMPONENT: InjectionToken<IgxComboBase>;
18
19
  /** @hidden @internal TODO: Evaluate */
@@ -311,6 +312,14 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
311
312
  */
312
313
  get type(): IgxInputGroupType;
313
314
  set type(val: IgxInputGroupType);
315
+ /**
316
+ * Gets/Sets the resource strings.
317
+ *
318
+ * @remarks
319
+ * By default it uses EN resources.
320
+ */
321
+ get resourceStrings(): IComboResourceStrings;
322
+ set resourceStrings(value: IComboResourceStrings);
314
323
  /**
315
324
  * Emitted before the dropdown is opened
316
325
  *
@@ -637,6 +646,7 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
637
646
  protected _filteredData: any[];
638
647
  protected _displayKey: string;
639
648
  protected _remoteSelection: {};
649
+ protected _resourceStrings: any;
640
650
  protected _valid: IgxComboState;
641
651
  protected ngControl: NgControl;
642
652
  protected destroy$: Subject<any>;
@@ -763,5 +773,5 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
763
773
  protected abstract setSelection(newSelection: Set<any>, event?: Event): void;
764
774
  protected abstract createDisplayText(newSelection: any[], oldSelection: any[]): any;
765
775
  static ɵfac: i0.ɵɵFactoryDeclaration<IgxComboBaseDirective, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
766
- static ɵdir: i0.ɵɵDirectiveDeclaration<IgxComboBaseDirective, never, never, { "showSearchCaseIcon": "showSearchCaseIcon"; "overlaySettings": "overlaySettings"; "id": "id"; "width": "width"; "allowCustomValues": "allowCustomValues"; "itemsMaxHeight": "itemsMaxHeight"; "itemHeight": "itemHeight"; "itemsWidth": "itemsWidth"; "placeholder": "placeholder"; "data": "data"; "valueKey": "valueKey"; "displayKey": "displayKey"; "groupKey": "groupKey"; "groupSortingDirection": "groupSortingDirection"; "ariaLabelledBy": "ariaLabelledBy"; "disabled": "disabled"; "type": "type"; }, { "opening": "opening"; "opened": "opened"; "closing": "closing"; "closed": "closed"; "addition": "addition"; "searchInputUpdate": "searchInputUpdate"; "dataPreLoad": "dataPreLoad"; }, ["itemTemplate", "headerTemplate", "footerTemplate", "headerItemTemplate", "addItemTemplate", "emptyTemplate", "toggleIconTemplate", "clearIconTemplate"]>;
776
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IgxComboBaseDirective, never, never, { "showSearchCaseIcon": "showSearchCaseIcon"; "overlaySettings": "overlaySettings"; "id": "id"; "width": "width"; "allowCustomValues": "allowCustomValues"; "itemsMaxHeight": "itemsMaxHeight"; "itemHeight": "itemHeight"; "itemsWidth": "itemsWidth"; "placeholder": "placeholder"; "data": "data"; "valueKey": "valueKey"; "displayKey": "displayKey"; "groupKey": "groupKey"; "groupSortingDirection": "groupSortingDirection"; "ariaLabelledBy": "ariaLabelledBy"; "disabled": "disabled"; "type": "type"; "resourceStrings": "resourceStrings"; }, { "opening": "opening"; "opened": "opened"; "closing": "closing"; "closed": "closed"; "addition": "addition"; "searchInputUpdate": "searchInputUpdate"; "dataPreLoad": "dataPreLoad"; }, ["itemTemplate", "headerTemplate", "footerTemplate", "headerItemTemplate", "addItemTemplate", "emptyTemplate", "toggleIconTemplate", "clearIconTemplate"]>;
767
777
  }
@@ -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": "13.2.14",
3
+ "version": "13.2.15",
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
@@ -114,6 +114,7 @@ export { CancelableEventArgs, CancelableBrowserEventArgs } from './lib/core/util
114
114
  export { changei18n, getCurrentResourceStrings, IResourceStrings } from './lib/core/i18n/resources';
115
115
  export { ICarouselResourceStrings } from './lib/core/i18n/carousel-resources';
116
116
  export { IGridResourceStrings } from './lib/core/i18n/grid-resources';
117
+ export { IComboResourceStrings } from './lib/core/i18n/combo-resources';
117
118
  export { IPaginatorResourceStrings } from './lib/core/i18n/paginator-resources';
118
119
  export { ICalendarResourceStrings } from './lib/core/i18n/calendar-resources';
119
120
  export { ITimePickerResourceStrings } from './lib/core/i18n/time-picker-resources';