igniteui-angular 14.0.12 → 14.0.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.
- package/esm2020/lib/combo/public_api.mjs +3 -3
- package/esm2020/lib/date-picker/date-picker.component.mjs +2 -1
- package/esm2020/lib/date-range-picker/date-range-picker.component.mjs +3 -3
- package/esm2020/lib/directives/drag-drop/drag-drop.directive.mjs +9 -5
- package/esm2020/lib/directives/radio/radio-group.directive.mjs +11 -5
- package/esm2020/lib/grids/grid-navigation.service.mjs +8 -3
- package/esm2020/lib/grids/selection/selection.service.mjs +9 -4
- package/esm2020/lib/radio/radio.component.mjs +15 -2
- package/esm2020/lib/simple-combo/simple-combo.component.mjs +7 -2
- package/esm2020/lib/time-picker/time-picker.component.mjs +3 -2
- package/fesm2015/igniteui-angular.mjs +174 -134
- package/fesm2015/igniteui-angular.mjs.map +1 -1
- package/fesm2020/igniteui-angular.mjs +174 -134
- package/fesm2020/igniteui-angular.mjs.map +1 -1
- package/lib/combo/public_api.d.ts +3 -2
- package/lib/directives/radio/radio-group.directive.d.ts +5 -0
- package/lib/grids/selection/selection.service.d.ts +2 -1
- package/lib/radio/radio.component.d.ts +13 -2
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import { NgModel, FormControlName, NG_VALUE_ACCESSOR, NG_VALIDATORS, CheckboxReq
|
|
|
7
7
|
import * as i1$1 from '@angular/common';
|
|
8
8
|
import { isPlatformBrowser, formatDate as formatDate$1, CurrencyPipe, formatPercent, formatNumber, getLocaleCurrencyCode, DatePipe, DOCUMENT, CommonModule, FormatWidth, getLocaleDateFormat, getLocaleFirstDayOfWeek, getLocaleNumberFormat, NumberFormatStyle, getCurrencySymbol } from '@angular/common';
|
|
9
9
|
import { Observable, Subject, fromEvent, interval, animationFrameScheduler, noop, merge, Subscription, timer, pipe } from 'rxjs';
|
|
10
|
-
import { takeUntil, filter, first as first$1, throttleTime, take, throttle, debounce, tap, switchMap, skipLast, map, debounceTime, shareReplay, takeWhile, pluck } from 'rxjs/operators';
|
|
10
|
+
import { takeUntil, filter, first as first$1, throttleTime, take, throttle, startWith, debounce, tap, switchMap, skipLast, map, debounceTime, shareReplay, takeWhile, pluck } from 'rxjs/operators';
|
|
11
11
|
import mergeWith from 'lodash.mergewith';
|
|
12
12
|
import { __awaiter, __decorate, __param } from 'tslib';
|
|
13
13
|
import * as JSZip from 'jszip';
|
|
@@ -14826,7 +14826,9 @@ class IgxDragDirective {
|
|
|
14826
14826
|
}
|
|
14827
14827
|
}
|
|
14828
14828
|
get ghostLeft() {
|
|
14829
|
-
|
|
14829
|
+
if (this.ghostElement) {
|
|
14830
|
+
return parseInt(this.ghostElement.style.left, 10) + this._ghostHostX;
|
|
14831
|
+
}
|
|
14830
14832
|
}
|
|
14831
14833
|
set ghostTop(pageY) {
|
|
14832
14834
|
if (this.ghostElement) {
|
|
@@ -14837,7 +14839,9 @@ class IgxDragDirective {
|
|
|
14837
14839
|
}
|
|
14838
14840
|
}
|
|
14839
14841
|
get ghostTop() {
|
|
14840
|
-
|
|
14842
|
+
if (this.ghostElement) {
|
|
14843
|
+
return parseInt(this.ghostElement.style.top, 10) + this._ghostHostY;
|
|
14844
|
+
}
|
|
14841
14845
|
}
|
|
14842
14846
|
get windowScrollTop() {
|
|
14843
14847
|
return document.documentElement.scrollTop || window.scrollY;
|
|
@@ -15400,7 +15404,7 @@ class IgxDragDirective {
|
|
|
15400
15404
|
const ghostMarginLeft = parseInt(document.defaultView.getComputedStyle(this.ghostElement)['margin-left'], 10);
|
|
15401
15405
|
const ghostMarginTop = parseInt(document.defaultView.getComputedStyle(this.ghostElement)['margin-top'], 10);
|
|
15402
15406
|
this.ghostElement.style.left = (this._ghostStartX - ghostMarginLeft + totalMovedX - this._ghostHostX) + 'px';
|
|
15403
|
-
this.ghostElement.style.top = (this._ghostStartY - ghostMarginTop + totalMovedY - this.
|
|
15407
|
+
this.ghostElement.style.top = (this._ghostStartY - ghostMarginTop + totalMovedY - this._ghostHostY) + 'px';
|
|
15404
15408
|
if (this.pointerEventsEnabled) {
|
|
15405
15409
|
// The ghostElement takes control for moving and dragging after it has been rendered.
|
|
15406
15410
|
if (this._pointerDownId !== null) {
|
|
@@ -15587,7 +15591,7 @@ class IgxDragDirective {
|
|
|
15587
15591
|
const elementHeight = this.ghost && this.ghostElement ? this.ghostElement.offsetHeight : this.element.nativeElement.offsetHeight;
|
|
15588
15592
|
const bottomBorder = (!this.scrollContainer ? window.innerHeight : containerBounds.bottom) +
|
|
15589
15593
|
this.windowScrollTop - this._scrollContainerThreshold - elementHeight;
|
|
15590
|
-
// Same for window scroll left
|
|
15594
|
+
// Same for window scroll left
|
|
15591
15595
|
const leftBorder = (!this.scrollContainer ? 0 : containerBounds.left) + this.windowScrollLeft + this._scrollContainerThreshold;
|
|
15592
15596
|
// Subtract the element width again because we position it from top left corner.
|
|
15593
15597
|
const elementWidth = this.ghost && this.ghostElement ? this.ghostElement.offsetWidth : this.element.nativeElement.offsetWidth;
|
|
@@ -17494,6 +17498,11 @@ let nextId$3 = 0;
|
|
|
17494
17498
|
class IgxRadioComponent {
|
|
17495
17499
|
constructor(cdr) {
|
|
17496
17500
|
this.cdr = cdr;
|
|
17501
|
+
/**
|
|
17502
|
+
* @hidden
|
|
17503
|
+
* @internal
|
|
17504
|
+
*/
|
|
17505
|
+
this.destroy$ = new Subject();
|
|
17497
17506
|
/**
|
|
17498
17507
|
* Sets/gets the `id` of the radio component.
|
|
17499
17508
|
* If not set, the `id` of the first radio component will be `"igx-radio-0"`.
|
|
@@ -17667,6 +17676,14 @@ class IgxRadioComponent {
|
|
|
17667
17676
|
set disabled(value) {
|
|
17668
17677
|
this._disabled = (value === '') || value;
|
|
17669
17678
|
}
|
|
17679
|
+
/**
|
|
17680
|
+
* @hidden
|
|
17681
|
+
* @internal
|
|
17682
|
+
*/
|
|
17683
|
+
ngOnDestroy() {
|
|
17684
|
+
this.destroy$.next(true);
|
|
17685
|
+
this.destroy$.complete();
|
|
17686
|
+
}
|
|
17670
17687
|
/**
|
|
17671
17688
|
* @hidden
|
|
17672
17689
|
* @internal
|
|
@@ -17966,6 +17983,11 @@ class IgxRadioGroupDirective {
|
|
|
17966
17983
|
* @internal
|
|
17967
17984
|
*/
|
|
17968
17985
|
this.destroy$ = new Subject();
|
|
17986
|
+
/**
|
|
17987
|
+
* @hidden
|
|
17988
|
+
* @internal
|
|
17989
|
+
*/
|
|
17990
|
+
this.queryChange$ = new Subject();
|
|
17969
17991
|
}
|
|
17970
17992
|
/**
|
|
17971
17993
|
* Sets/gets the `value` attribute.
|
|
@@ -18111,8 +18133,9 @@ class IgxRadioGroupDirective {
|
|
|
18111
18133
|
// The initial value can possibly be set by NgModel and it is possible that
|
|
18112
18134
|
// the OnInit of the NgModel occurs after the OnInit of this class.
|
|
18113
18135
|
this._isInitialized = true;
|
|
18114
|
-
|
|
18115
|
-
this.
|
|
18136
|
+
this.radioButtons.changes.pipe(startWith(0), takeUntil(this.destroy$)).subscribe(() => {
|
|
18137
|
+
this.queryChange$.next();
|
|
18138
|
+
setTimeout(() => this._initRadioButtons());
|
|
18116
18139
|
});
|
|
18117
18140
|
}
|
|
18118
18141
|
/**
|
|
@@ -18190,7 +18213,7 @@ class IgxRadioGroupDirective {
|
|
|
18190
18213
|
button.checked = true;
|
|
18191
18214
|
this._selected = button;
|
|
18192
18215
|
}
|
|
18193
|
-
button.change.pipe(takeUntil(this.destroy$)).subscribe((ev) => this._selectedRadioButtonChanged(ev));
|
|
18216
|
+
button.change.pipe(takeUntil(button.destroy$), takeUntil(this.destroy$), takeUntil(this.queryChange$)).subscribe((ev) => this._selectedRadioButtonChanged(ev));
|
|
18194
18217
|
});
|
|
18195
18218
|
}
|
|
18196
18219
|
}
|
|
@@ -23800,9 +23823,13 @@ class IgxGridSelectionService {
|
|
|
23800
23823
|
*/
|
|
23801
23824
|
this.pointerEventInGridBody = false;
|
|
23802
23825
|
this._ranges = new Set();
|
|
23803
|
-
this.pointerOriginHandler = () => {
|
|
23826
|
+
this.pointerOriginHandler = (event) => {
|
|
23804
23827
|
this.pointerEventInGridBody = false;
|
|
23805
23828
|
document.body.removeEventListener('pointerup', this.pointerOriginHandler);
|
|
23829
|
+
const targetTagName = event.target.tagName.toLowerCase();
|
|
23830
|
+
if (targetTagName !== 'igx-grid-cell' && targetTagName !== 'igx-tree-grid-cell') {
|
|
23831
|
+
this.pointerUp(this._lastSelectedNode, this.grid.rangeSelected, true);
|
|
23832
|
+
}
|
|
23806
23833
|
};
|
|
23807
23834
|
this.initPointerState();
|
|
23808
23835
|
this.initKeyboardState();
|
|
@@ -23919,6 +23946,7 @@ class IgxGridSelectionService {
|
|
|
23919
23946
|
* and the start node of the `state`.
|
|
23920
23947
|
*/
|
|
23921
23948
|
generateRange(node, state) {
|
|
23949
|
+
this._lastSelectedNode = node;
|
|
23922
23950
|
if (!state) {
|
|
23923
23951
|
return {
|
|
23924
23952
|
rowStart: node.row,
|
|
@@ -24036,8 +24064,8 @@ class IgxGridSelectionService {
|
|
|
24036
24064
|
}
|
|
24037
24065
|
return true;
|
|
24038
24066
|
}
|
|
24039
|
-
pointerUp(node, emitter) {
|
|
24040
|
-
if (this.dragMode) {
|
|
24067
|
+
pointerUp(node, emitter, firedOutsideGrid) {
|
|
24068
|
+
if (this.dragMode || firedOutsideGrid) {
|
|
24041
24069
|
this.restoreTextSelection();
|
|
24042
24070
|
this.addRangeMeta(node, this.pointerState);
|
|
24043
24071
|
this.mergeMap(this.selection, this.temp);
|
|
@@ -34996,95 +35024,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImpor
|
|
|
34996
35024
|
}]
|
|
34997
35025
|
}] });
|
|
34998
35026
|
|
|
34999
|
-
/**
|
|
35000
|
-
* @hidden
|
|
35001
|
-
*/
|
|
35002
|
-
class IgxComboHeaderDirective {
|
|
35003
|
-
}
|
|
35004
|
-
IgxComboHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35005
|
-
IgxComboHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboHeaderDirective, selector: "[igxComboHeader]", ngImport: i0 });
|
|
35006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderDirective, decorators: [{
|
|
35007
|
-
type: Directive,
|
|
35008
|
-
args: [{ selector: '[igxComboHeader]' }]
|
|
35009
|
-
}] });
|
|
35010
|
-
/**
|
|
35011
|
-
* @hidden
|
|
35012
|
-
*/
|
|
35013
|
-
class IgxComboFooterDirective {
|
|
35014
|
-
}
|
|
35015
|
-
IgxComboFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35016
|
-
IgxComboFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboFooterDirective, selector: "[igxComboFooter]", ngImport: i0 });
|
|
35017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboFooterDirective, decorators: [{
|
|
35018
|
-
type: Directive,
|
|
35019
|
-
args: [{ selector: '[igxComboFooter]' }]
|
|
35020
|
-
}] });
|
|
35021
|
-
/**
|
|
35022
|
-
* @hidden
|
|
35023
|
-
*/
|
|
35024
|
-
class IgxComboItemDirective {
|
|
35025
|
-
}
|
|
35026
|
-
IgxComboItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35027
|
-
IgxComboItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboItemDirective, selector: "[igxComboItem]", ngImport: i0 });
|
|
35028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboItemDirective, decorators: [{
|
|
35029
|
-
type: Directive,
|
|
35030
|
-
args: [{ selector: '[igxComboItem]' }]
|
|
35031
|
-
}] });
|
|
35032
|
-
/**
|
|
35033
|
-
* @hidden
|
|
35034
|
-
*/
|
|
35035
|
-
class IgxComboEmptyDirective {
|
|
35036
|
-
}
|
|
35037
|
-
IgxComboEmptyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboEmptyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35038
|
-
IgxComboEmptyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboEmptyDirective, selector: "[igxComboEmpty]", ngImport: i0 });
|
|
35039
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboEmptyDirective, decorators: [{
|
|
35040
|
-
type: Directive,
|
|
35041
|
-
args: [{ selector: '[igxComboEmpty]' }]
|
|
35042
|
-
}] });
|
|
35043
|
-
/**
|
|
35044
|
-
* @hidden
|
|
35045
|
-
*/
|
|
35046
|
-
class IgxComboHeaderItemDirective {
|
|
35047
|
-
}
|
|
35048
|
-
IgxComboHeaderItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35049
|
-
IgxComboHeaderItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboHeaderItemDirective, selector: "[igxComboHeaderItem]", ngImport: i0 });
|
|
35050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderItemDirective, decorators: [{
|
|
35051
|
-
type: Directive,
|
|
35052
|
-
args: [{ selector: '[igxComboHeaderItem]' }]
|
|
35053
|
-
}] });
|
|
35054
|
-
/**
|
|
35055
|
-
* @hidden
|
|
35056
|
-
*/
|
|
35057
|
-
class IgxComboAddItemDirective {
|
|
35058
|
-
}
|
|
35059
|
-
IgxComboAddItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35060
|
-
IgxComboAddItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboAddItemDirective, selector: "[igxComboAddItem]", ngImport: i0 });
|
|
35061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemDirective, decorators: [{
|
|
35062
|
-
type: Directive,
|
|
35063
|
-
args: [{ selector: '[igxComboAddItem]' }]
|
|
35064
|
-
}] });
|
|
35065
|
-
/**
|
|
35066
|
-
* @hidden
|
|
35067
|
-
*/
|
|
35068
|
-
class IgxComboToggleIconDirective {
|
|
35069
|
-
}
|
|
35070
|
-
IgxComboToggleIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35071
|
-
IgxComboToggleIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboToggleIconDirective, selector: "[igxComboToggleIcon]", ngImport: i0 });
|
|
35072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboToggleIconDirective, decorators: [{
|
|
35073
|
-
type: Directive,
|
|
35074
|
-
args: [{ selector: '[igxComboToggleIcon]' }]
|
|
35075
|
-
}] });
|
|
35076
|
-
/**
|
|
35077
|
-
* @hidden
|
|
35078
|
-
*/
|
|
35079
|
-
class IgxComboClearIconDirective {
|
|
35080
|
-
}
|
|
35081
|
-
IgxComboClearIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboClearIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35082
|
-
IgxComboClearIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboClearIconDirective, selector: "[igxComboClearIcon]", ngImport: i0 });
|
|
35083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboClearIconDirective, decorators: [{
|
|
35084
|
-
type: Directive,
|
|
35085
|
-
args: [{ selector: '[igxComboClearIcon]' }]
|
|
35086
|
-
}] });
|
|
35087
|
-
|
|
35088
35027
|
/**
|
|
35089
35028
|
* @hidden
|
|
35090
35029
|
*/
|
|
@@ -35239,6 +35178,123 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImpor
|
|
|
35239
35178
|
type: Input
|
|
35240
35179
|
}] } });
|
|
35241
35180
|
|
|
35181
|
+
/**
|
|
35182
|
+
* @hidden
|
|
35183
|
+
*/
|
|
35184
|
+
class IgxComboAddItemComponent extends IgxComboItemComponent {
|
|
35185
|
+
get selected() {
|
|
35186
|
+
return false;
|
|
35187
|
+
}
|
|
35188
|
+
set selected(value) {
|
|
35189
|
+
}
|
|
35190
|
+
/**
|
|
35191
|
+
* @inheritdoc
|
|
35192
|
+
*/
|
|
35193
|
+
clicked(event) {
|
|
35194
|
+
this.comboAPI.disableTransitions = false;
|
|
35195
|
+
this.comboAPI.add_custom_item();
|
|
35196
|
+
}
|
|
35197
|
+
}
|
|
35198
|
+
IgxComboAddItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
35199
|
+
IgxComboAddItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboAddItemComponent, selector: "igx-combo-add-item", providers: [{ provide: IgxComboItemComponent, useExisting: IgxComboAddItemComponent }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
35200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemComponent, decorators: [{
|
|
35201
|
+
type: Component,
|
|
35202
|
+
args: [{
|
|
35203
|
+
selector: 'igx-combo-add-item',
|
|
35204
|
+
template: '<ng-content></ng-content>',
|
|
35205
|
+
providers: [{ provide: IgxComboItemComponent, useExisting: IgxComboAddItemComponent }]
|
|
35206
|
+
}]
|
|
35207
|
+
}] });
|
|
35208
|
+
|
|
35209
|
+
/**
|
|
35210
|
+
* @hidden
|
|
35211
|
+
*/
|
|
35212
|
+
class IgxComboHeaderDirective {
|
|
35213
|
+
}
|
|
35214
|
+
IgxComboHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35215
|
+
IgxComboHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboHeaderDirective, selector: "[igxComboHeader]", ngImport: i0 });
|
|
35216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderDirective, decorators: [{
|
|
35217
|
+
type: Directive,
|
|
35218
|
+
args: [{ selector: '[igxComboHeader]' }]
|
|
35219
|
+
}] });
|
|
35220
|
+
/**
|
|
35221
|
+
* @hidden
|
|
35222
|
+
*/
|
|
35223
|
+
class IgxComboFooterDirective {
|
|
35224
|
+
}
|
|
35225
|
+
IgxComboFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35226
|
+
IgxComboFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboFooterDirective, selector: "[igxComboFooter]", ngImport: i0 });
|
|
35227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboFooterDirective, decorators: [{
|
|
35228
|
+
type: Directive,
|
|
35229
|
+
args: [{ selector: '[igxComboFooter]' }]
|
|
35230
|
+
}] });
|
|
35231
|
+
/**
|
|
35232
|
+
* @hidden
|
|
35233
|
+
*/
|
|
35234
|
+
class IgxComboItemDirective {
|
|
35235
|
+
}
|
|
35236
|
+
IgxComboItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35237
|
+
IgxComboItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboItemDirective, selector: "[igxComboItem]", ngImport: i0 });
|
|
35238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboItemDirective, decorators: [{
|
|
35239
|
+
type: Directive,
|
|
35240
|
+
args: [{ selector: '[igxComboItem]' }]
|
|
35241
|
+
}] });
|
|
35242
|
+
/**
|
|
35243
|
+
* @hidden
|
|
35244
|
+
*/
|
|
35245
|
+
class IgxComboEmptyDirective {
|
|
35246
|
+
}
|
|
35247
|
+
IgxComboEmptyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboEmptyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35248
|
+
IgxComboEmptyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboEmptyDirective, selector: "[igxComboEmpty]", ngImport: i0 });
|
|
35249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboEmptyDirective, decorators: [{
|
|
35250
|
+
type: Directive,
|
|
35251
|
+
args: [{ selector: '[igxComboEmpty]' }]
|
|
35252
|
+
}] });
|
|
35253
|
+
/**
|
|
35254
|
+
* @hidden
|
|
35255
|
+
*/
|
|
35256
|
+
class IgxComboHeaderItemDirective {
|
|
35257
|
+
}
|
|
35258
|
+
IgxComboHeaderItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35259
|
+
IgxComboHeaderItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboHeaderItemDirective, selector: "[igxComboHeaderItem]", ngImport: i0 });
|
|
35260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderItemDirective, decorators: [{
|
|
35261
|
+
type: Directive,
|
|
35262
|
+
args: [{ selector: '[igxComboHeaderItem]' }]
|
|
35263
|
+
}] });
|
|
35264
|
+
/**
|
|
35265
|
+
* @hidden
|
|
35266
|
+
*/
|
|
35267
|
+
class IgxComboAddItemDirective {
|
|
35268
|
+
}
|
|
35269
|
+
IgxComboAddItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35270
|
+
IgxComboAddItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboAddItemDirective, selector: "[igxComboAddItem]", ngImport: i0 });
|
|
35271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemDirective, decorators: [{
|
|
35272
|
+
type: Directive,
|
|
35273
|
+
args: [{ selector: '[igxComboAddItem]' }]
|
|
35274
|
+
}] });
|
|
35275
|
+
/**
|
|
35276
|
+
* @hidden
|
|
35277
|
+
*/
|
|
35278
|
+
class IgxComboToggleIconDirective {
|
|
35279
|
+
}
|
|
35280
|
+
IgxComboToggleIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35281
|
+
IgxComboToggleIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboToggleIconDirective, selector: "[igxComboToggleIcon]", ngImport: i0 });
|
|
35282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboToggleIconDirective, decorators: [{
|
|
35283
|
+
type: Directive,
|
|
35284
|
+
args: [{ selector: '[igxComboToggleIcon]' }]
|
|
35285
|
+
}] });
|
|
35286
|
+
/**
|
|
35287
|
+
* @hidden
|
|
35288
|
+
*/
|
|
35289
|
+
class IgxComboClearIconDirective {
|
|
35290
|
+
}
|
|
35291
|
+
IgxComboClearIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboClearIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35292
|
+
IgxComboClearIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboClearIconDirective, selector: "[igxComboClearIcon]", ngImport: i0 });
|
|
35293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboClearIconDirective, decorators: [{
|
|
35294
|
+
type: Directive,
|
|
35295
|
+
args: [{ selector: '[igxComboClearIcon]' }]
|
|
35296
|
+
}] });
|
|
35297
|
+
|
|
35242
35298
|
const IGX_COMBO_COMPONENT = new InjectionToken('IgxComboComponentToken');
|
|
35243
35299
|
let NEXT_ID$e = 0;
|
|
35244
35300
|
/**
|
|
@@ -36364,34 +36420,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImpor
|
|
|
36364
36420
|
args: ['keydown.Alt.ArrowDown', ['$event']]
|
|
36365
36421
|
}] } });
|
|
36366
36422
|
|
|
36367
|
-
/**
|
|
36368
|
-
* @hidden
|
|
36369
|
-
*/
|
|
36370
|
-
class IgxComboAddItemComponent extends IgxComboItemComponent {
|
|
36371
|
-
get selected() {
|
|
36372
|
-
return false;
|
|
36373
|
-
}
|
|
36374
|
-
set selected(value) {
|
|
36375
|
-
}
|
|
36376
|
-
/**
|
|
36377
|
-
* @inheritdoc
|
|
36378
|
-
*/
|
|
36379
|
-
clicked(event) {
|
|
36380
|
-
this.comboAPI.disableTransitions = false;
|
|
36381
|
-
this.comboAPI.add_custom_item();
|
|
36382
|
-
}
|
|
36383
|
-
}
|
|
36384
|
-
IgxComboAddItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
36385
|
-
IgxComboAddItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboAddItemComponent, selector: "igx-combo-add-item", providers: [{ provide: IgxComboItemComponent, useExisting: IgxComboAddItemComponent }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
36386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemComponent, decorators: [{
|
|
36387
|
-
type: Component,
|
|
36388
|
-
args: [{
|
|
36389
|
-
selector: 'igx-combo-add-item',
|
|
36390
|
-
template: '<ng-content></ng-content>',
|
|
36391
|
-
providers: [{ provide: IgxComboItemComponent, useExisting: IgxComboAddItemComponent }]
|
|
36392
|
-
}]
|
|
36393
|
-
}] });
|
|
36394
|
-
|
|
36395
36423
|
/** @hidden */
|
|
36396
36424
|
class IgxComboDropDownComponent extends IgxDropDownComponent {
|
|
36397
36425
|
constructor(elementRef, cdr, selection, combo, comboAPI, _displayDensityOptions) {
|
|
@@ -37291,7 +37319,12 @@ class IgxSimpleComboComponent extends IgxComboBaseDirective {
|
|
|
37291
37319
|
}
|
|
37292
37320
|
return current === this.selection[0];
|
|
37293
37321
|
});
|
|
37294
|
-
this.
|
|
37322
|
+
if (!this.isRemote) {
|
|
37323
|
+
// navigate to item only if we have local data
|
|
37324
|
+
// as with remote data this will fiddle with igxFor's scroll handler
|
|
37325
|
+
// and will trigger another chunk load which will break the visualization
|
|
37326
|
+
this.dropdown.navigateItem(index);
|
|
37327
|
+
}
|
|
37295
37328
|
}
|
|
37296
37329
|
});
|
|
37297
37330
|
this.dropdown.opening.pipe(takeUntil(this.destroy$)).subscribe(() => {
|
|
@@ -38168,6 +38201,7 @@ class IgxDatePickerComponent extends PickerBaseDirective {
|
|
|
38168
38201
|
this._onTouchedCallback = noop;
|
|
38169
38202
|
this._onValidatorChange = noop;
|
|
38170
38203
|
this.onStatusChanged = () => {
|
|
38204
|
+
this.disabled = this._ngControl.disabled;
|
|
38171
38205
|
this.updateValidity();
|
|
38172
38206
|
this.inputGroup.isRequired = this.required;
|
|
38173
38207
|
};
|
|
@@ -42142,7 +42176,8 @@ class IgxTimePickerComponent extends PickerBaseDirective {
|
|
|
42142
42176
|
}
|
|
42143
42177
|
onStatusChanged() {
|
|
42144
42178
|
if ((this._ngControl.control.touched || this._ngControl.control.dirty) &&
|
|
42145
|
-
(this._ngControl.control.validator || this._ngControl.control.asyncValidator)
|
|
42179
|
+
(this._ngControl.control.validator || this._ngControl.control.asyncValidator) &&
|
|
42180
|
+
!this._ngControl.disabled) {
|
|
42146
42181
|
if (this._inputGroup.isFocused) {
|
|
42147
42182
|
this.inputDirective.valid = this._ngControl.valid ? IgxInputState.VALID : IgxInputState.INVALID;
|
|
42148
42183
|
}
|
|
@@ -58465,8 +58500,13 @@ class IgxGridNavigationService {
|
|
|
58465
58500
|
this.grid.clearCellSelection();
|
|
58466
58501
|
this.grid.navigateTo(this.activeNode.row, this.activeNode.column, (obj) => {
|
|
58467
58502
|
var _a;
|
|
58468
|
-
(
|
|
58469
|
-
|
|
58503
|
+
if (this.activeNode.row === obj.target.row.index) {
|
|
58504
|
+
(_a = obj.target) === null || _a === void 0 ? void 0 : _a.activate(event);
|
|
58505
|
+
this.grid.cdr.detectChanges();
|
|
58506
|
+
}
|
|
58507
|
+
else {
|
|
58508
|
+
this.grid.navigateTo(this.activeNode.row, this.activeNode.column);
|
|
58509
|
+
}
|
|
58470
58510
|
});
|
|
58471
58511
|
}
|
|
58472
58512
|
else {
|
|
@@ -83857,14 +83897,14 @@ class IgxDateRangePickerComponent extends PickerBaseDirective {
|
|
|
83857
83897
|
this.onValidatorChange = noop;
|
|
83858
83898
|
this.onStatusChanged = () => {
|
|
83859
83899
|
if (this.inputGroup) {
|
|
83860
|
-
this.inputDirective.valid = this.isTouchedOrDirty
|
|
83900
|
+
this.inputDirective.valid = this.isTouchedOrDirty && !this._ngControl.disabled
|
|
83861
83901
|
? this.getInputState(this.inputGroup.isFocused)
|
|
83862
83902
|
: IgxInputState.INITIAL;
|
|
83863
83903
|
}
|
|
83864
83904
|
else if (this.hasProjectedInputs) {
|
|
83865
83905
|
this.projectedInputs
|
|
83866
83906
|
.forEach(i => {
|
|
83867
|
-
i.inputDirective.valid = this.isTouchedOrDirty
|
|
83907
|
+
i.inputDirective.valid = this.isTouchedOrDirty && !this._ngControl.disabled
|
|
83868
83908
|
? this.getInputState(i.isFocused)
|
|
83869
83909
|
: IgxInputState.INITIAL;
|
|
83870
83910
|
;
|