igniteui-angular 13.2.13 → 13.2.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.
- package/esm2020/lib/combo/combo.common.mjs +22 -3
- package/esm2020/lib/combo/combo.component.mjs +3 -3
- package/esm2020/lib/core/i18n/combo-resources.mjs +4 -0
- package/esm2020/lib/core/i18n/resources.mjs +4 -1
- package/esm2020/lib/directives/drag-drop/drag-drop.directive.mjs +9 -5
- package/esm2020/lib/simple-combo/simple-combo.component.mjs +14 -11
- package/esm2020/public_api.mjs +1 -1
- package/fesm2015/igniteui-angular.mjs +50 -19
- package/fesm2015/igniteui-angular.mjs.map +1 -1
- package/fesm2020/igniteui-angular.mjs +49 -18
- package/fesm2020/igniteui-angular.mjs.map +1 -1
- package/lib/combo/combo.common.d.ts +11 -1
- package/lib/core/i18n/combo-resources.d.ts +4 -0
- package/lib/core/i18n/resources.d.ts +3 -1
- package/lib/simple-combo/simple-combo.component.d.ts +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -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
|
}
|
|
@@ -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
|
-
|
|
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;
|
|
@@ -139,7 +139,7 @@ export declare class IgxSimpleComboComponent extends IgxComboBaseDirective imple
|
|
|
139
139
|
protected createDisplayText(newSelection: any[], oldSelection: any[]): string;
|
|
140
140
|
private clearSelection;
|
|
141
141
|
private clearOnBlur;
|
|
142
|
-
private
|
|
142
|
+
private getElementKey;
|
|
143
143
|
private getElementVal;
|
|
144
144
|
private clearAndClose;
|
|
145
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxSimpleComboComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
package/package.json
CHANGED
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';
|