igniteui-angular 14.0.13 → 14.0.16

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 { 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 */
@@ -329,6 +330,14 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
329
330
  */
330
331
  get type(): IgxInputGroupType;
331
332
  set type(val: IgxInputGroupType);
333
+ /**
334
+ * Gets/Sets the resource strings.
335
+ *
336
+ * @remarks
337
+ * By default it uses EN resources.
338
+ */
339
+ get resourceStrings(): IComboResourceStrings;
340
+ set resourceStrings(value: IComboResourceStrings);
332
341
  /**
333
342
  * Emitted before the dropdown is opened
334
343
  *
@@ -668,6 +677,7 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
668
677
  protected _filteredData: any[];
669
678
  protected _displayKey: string;
670
679
  protected _remoteSelection: {};
680
+ protected _resourceStrings: any;
671
681
  protected _valid: IgxComboState;
672
682
  protected ngControl: NgControl;
673
683
  protected destroy$: Subject<any>;
@@ -796,5 +806,5 @@ export declare abstract class IgxComboBaseDirective extends DisplayDensityBase i
796
806
  protected abstract setSelection(newSelection: Set<any>, event?: Event): void;
797
807
  protected abstract createDisplayText(newSelection: any[], oldSelection: any[]): any;
798
808
  static ɵfac: i0.ɵɵFactoryDeclaration<IgxComboBaseDirective, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
799
- 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"; "filterFunction": "filterFunction"; "ariaLabelledBy": "ariaLabelledBy"; "disabled": "disabled"; "type": "type"; "filteringOptions": "filteringOptions"; }, { "opening": "opening"; "opened": "opened"; "closing": "closing"; "closed": "closed"; "addition": "addition"; "searchInputUpdate": "searchInputUpdate"; "dataPreLoad": "dataPreLoad"; }, ["itemTemplate", "headerTemplate", "footerTemplate", "headerItemTemplate", "addItemTemplate", "emptyTemplate", "toggleIconTemplate", "clearIconTemplate"], never, false>;
809
+ 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"; "filterFunction": "filterFunction"; "ariaLabelledBy": "ariaLabelledBy"; "disabled": "disabled"; "type": "type"; "resourceStrings": "resourceStrings"; "filteringOptions": "filteringOptions"; }, { "opening": "opening"; "opened": "opened"; "closing": "closing"; "closed": "closed"; "addition": "addition"; "searchInputUpdate": "searchInputUpdate"; "dataPreLoad": "dataPreLoad"; }, ["itemTemplate", "headerTemplate", "footerTemplate", "headerItemTemplate", "addItemTemplate", "emptyTemplate", "toggleIconTemplate", "clearIconTemplate"], never, false>;
800
810
  }
@@ -1,6 +1,7 @@
1
- export * from './combo.component';
2
- export * from './combo.directives';
3
1
  export { IgxComboAddItemComponent } from './combo-add-item.component';
4
2
  export { IgxComboDropDownComponent } from './combo-dropdown.component';
5
3
  export { IgxComboItemComponent } from './combo-item.component';
4
+ export { IComboFilteringOptions } from './combo.common';
5
+ export * from './combo.component';
6
+ export * from './combo.directives';
6
7
  export * from './combo.pipes';
@@ -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": "14.0.13",
3
+ "version": "14.0.16",
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';