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 * as JSZip from 'jszip';
|
|
13
13
|
import * as i1$2 from '@angular/platform-browser';
|
|
@@ -15275,7 +15275,9 @@ class IgxDragDirective {
|
|
|
15275
15275
|
}
|
|
15276
15276
|
}
|
|
15277
15277
|
get ghostLeft() {
|
|
15278
|
-
|
|
15278
|
+
if (this.ghostElement) {
|
|
15279
|
+
return parseInt(this.ghostElement.style.left, 10) + this._ghostHostX;
|
|
15280
|
+
}
|
|
15279
15281
|
}
|
|
15280
15282
|
set ghostTop(pageY) {
|
|
15281
15283
|
if (this.ghostElement) {
|
|
@@ -15286,7 +15288,9 @@ class IgxDragDirective {
|
|
|
15286
15288
|
}
|
|
15287
15289
|
}
|
|
15288
15290
|
get ghostTop() {
|
|
15289
|
-
|
|
15291
|
+
if (this.ghostElement) {
|
|
15292
|
+
return parseInt(this.ghostElement.style.top, 10) + this._ghostHostY;
|
|
15293
|
+
}
|
|
15290
15294
|
}
|
|
15291
15295
|
get windowScrollTop() {
|
|
15292
15296
|
return document.documentElement.scrollTop || window.scrollY;
|
|
@@ -15849,7 +15853,7 @@ class IgxDragDirective {
|
|
|
15849
15853
|
const ghostMarginLeft = parseInt(document.defaultView.getComputedStyle(this.ghostElement)['margin-left'], 10);
|
|
15850
15854
|
const ghostMarginTop = parseInt(document.defaultView.getComputedStyle(this.ghostElement)['margin-top'], 10);
|
|
15851
15855
|
this.ghostElement.style.left = (this._ghostStartX - ghostMarginLeft + totalMovedX - this._ghostHostX) + 'px';
|
|
15852
|
-
this.ghostElement.style.top = (this._ghostStartY - ghostMarginTop + totalMovedY - this.
|
|
15856
|
+
this.ghostElement.style.top = (this._ghostStartY - ghostMarginTop + totalMovedY - this._ghostHostY) + 'px';
|
|
15853
15857
|
if (this.pointerEventsEnabled) {
|
|
15854
15858
|
// The ghostElement takes control for moving and dragging after it has been rendered.
|
|
15855
15859
|
if (this._pointerDownId !== null) {
|
|
@@ -16036,7 +16040,7 @@ class IgxDragDirective {
|
|
|
16036
16040
|
const elementHeight = this.ghost && this.ghostElement ? this.ghostElement.offsetHeight : this.element.nativeElement.offsetHeight;
|
|
16037
16041
|
const bottomBorder = (!this.scrollContainer ? window.innerHeight : containerBounds.bottom) +
|
|
16038
16042
|
this.windowScrollTop - this._scrollContainerThreshold - elementHeight;
|
|
16039
|
-
// Same for window scroll left
|
|
16043
|
+
// Same for window scroll left
|
|
16040
16044
|
const leftBorder = (!this.scrollContainer ? 0 : containerBounds.left) + this.windowScrollLeft + this._scrollContainerThreshold;
|
|
16041
16045
|
// Subtract the element width again because we position it from top left corner.
|
|
16042
16046
|
const elementWidth = this.ghost && this.ghostElement ? this.ghostElement.offsetWidth : this.element.nativeElement.offsetWidth;
|
|
@@ -17941,6 +17945,11 @@ let nextId$3 = 0;
|
|
|
17941
17945
|
class IgxRadioComponent {
|
|
17942
17946
|
constructor(cdr) {
|
|
17943
17947
|
this.cdr = cdr;
|
|
17948
|
+
/**
|
|
17949
|
+
* @hidden
|
|
17950
|
+
* @internal
|
|
17951
|
+
*/
|
|
17952
|
+
this.destroy$ = new Subject();
|
|
17944
17953
|
/**
|
|
17945
17954
|
* Sets/gets the `id` of the radio component.
|
|
17946
17955
|
* If not set, the `id` of the first radio component will be `"igx-radio-0"`.
|
|
@@ -18114,6 +18123,14 @@ class IgxRadioComponent {
|
|
|
18114
18123
|
set disabled(value) {
|
|
18115
18124
|
this._disabled = (value === '') || value;
|
|
18116
18125
|
}
|
|
18126
|
+
/**
|
|
18127
|
+
* @hidden
|
|
18128
|
+
* @internal
|
|
18129
|
+
*/
|
|
18130
|
+
ngOnDestroy() {
|
|
18131
|
+
this.destroy$.next(true);
|
|
18132
|
+
this.destroy$.complete();
|
|
18133
|
+
}
|
|
18117
18134
|
/**
|
|
18118
18135
|
* @hidden
|
|
18119
18136
|
* @internal
|
|
@@ -18413,6 +18430,11 @@ class IgxRadioGroupDirective {
|
|
|
18413
18430
|
* @internal
|
|
18414
18431
|
*/
|
|
18415
18432
|
this.destroy$ = new Subject();
|
|
18433
|
+
/**
|
|
18434
|
+
* @hidden
|
|
18435
|
+
* @internal
|
|
18436
|
+
*/
|
|
18437
|
+
this.queryChange$ = new Subject();
|
|
18416
18438
|
}
|
|
18417
18439
|
/**
|
|
18418
18440
|
* Sets/gets the `value` attribute.
|
|
@@ -18558,8 +18580,9 @@ class IgxRadioGroupDirective {
|
|
|
18558
18580
|
// The initial value can possibly be set by NgModel and it is possible that
|
|
18559
18581
|
// the OnInit of the NgModel occurs after the OnInit of this class.
|
|
18560
18582
|
this._isInitialized = true;
|
|
18561
|
-
|
|
18562
|
-
this.
|
|
18583
|
+
this.radioButtons.changes.pipe(startWith(0), takeUntil(this.destroy$)).subscribe(() => {
|
|
18584
|
+
this.queryChange$.next();
|
|
18585
|
+
setTimeout(() => this._initRadioButtons());
|
|
18563
18586
|
});
|
|
18564
18587
|
}
|
|
18565
18588
|
/**
|
|
@@ -18637,7 +18660,7 @@ class IgxRadioGroupDirective {
|
|
|
18637
18660
|
button.checked = true;
|
|
18638
18661
|
this._selected = button;
|
|
18639
18662
|
}
|
|
18640
|
-
button.change.pipe(takeUntil(this.destroy$)).subscribe((ev) => this._selectedRadioButtonChanged(ev));
|
|
18663
|
+
button.change.pipe(takeUntil(button.destroy$), takeUntil(this.destroy$), takeUntil(this.queryChange$)).subscribe((ev) => this._selectedRadioButtonChanged(ev));
|
|
18641
18664
|
});
|
|
18642
18665
|
}
|
|
18643
18666
|
}
|
|
@@ -24232,9 +24255,13 @@ class IgxGridSelectionService {
|
|
|
24232
24255
|
*/
|
|
24233
24256
|
this.pointerEventInGridBody = false;
|
|
24234
24257
|
this._ranges = new Set();
|
|
24235
|
-
this.pointerOriginHandler = () => {
|
|
24258
|
+
this.pointerOriginHandler = (event) => {
|
|
24236
24259
|
this.pointerEventInGridBody = false;
|
|
24237
24260
|
document.body.removeEventListener('pointerup', this.pointerOriginHandler);
|
|
24261
|
+
const targetTagName = event.target.tagName.toLowerCase();
|
|
24262
|
+
if (targetTagName !== 'igx-grid-cell' && targetTagName !== 'igx-tree-grid-cell') {
|
|
24263
|
+
this.pointerUp(this._lastSelectedNode, this.grid.rangeSelected, true);
|
|
24264
|
+
}
|
|
24238
24265
|
};
|
|
24239
24266
|
this.initPointerState();
|
|
24240
24267
|
this.initKeyboardState();
|
|
@@ -24351,6 +24378,7 @@ class IgxGridSelectionService {
|
|
|
24351
24378
|
* and the start node of the `state`.
|
|
24352
24379
|
*/
|
|
24353
24380
|
generateRange(node, state) {
|
|
24381
|
+
this._lastSelectedNode = node;
|
|
24354
24382
|
if (!state) {
|
|
24355
24383
|
return {
|
|
24356
24384
|
rowStart: node.row,
|
|
@@ -24468,8 +24496,8 @@ class IgxGridSelectionService {
|
|
|
24468
24496
|
}
|
|
24469
24497
|
return true;
|
|
24470
24498
|
}
|
|
24471
|
-
pointerUp(node, emitter) {
|
|
24472
|
-
if (this.dragMode) {
|
|
24499
|
+
pointerUp(node, emitter, firedOutsideGrid) {
|
|
24500
|
+
if (this.dragMode || firedOutsideGrid) {
|
|
24473
24501
|
this.restoreTextSelection();
|
|
24474
24502
|
this.addRangeMeta(node, this.pointerState);
|
|
24475
24503
|
this.mergeMap(this.selection, this.temp);
|
|
@@ -35396,95 +35424,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImpor
|
|
|
35396
35424
|
}]
|
|
35397
35425
|
}] });
|
|
35398
35426
|
|
|
35399
|
-
/**
|
|
35400
|
-
* @hidden
|
|
35401
|
-
*/
|
|
35402
|
-
class IgxComboHeaderDirective {
|
|
35403
|
-
}
|
|
35404
|
-
IgxComboHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35405
|
-
IgxComboHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboHeaderDirective, selector: "[igxComboHeader]", ngImport: i0 });
|
|
35406
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderDirective, decorators: [{
|
|
35407
|
-
type: Directive,
|
|
35408
|
-
args: [{ selector: '[igxComboHeader]' }]
|
|
35409
|
-
}] });
|
|
35410
|
-
/**
|
|
35411
|
-
* @hidden
|
|
35412
|
-
*/
|
|
35413
|
-
class IgxComboFooterDirective {
|
|
35414
|
-
}
|
|
35415
|
-
IgxComboFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35416
|
-
IgxComboFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboFooterDirective, selector: "[igxComboFooter]", ngImport: i0 });
|
|
35417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboFooterDirective, decorators: [{
|
|
35418
|
-
type: Directive,
|
|
35419
|
-
args: [{ selector: '[igxComboFooter]' }]
|
|
35420
|
-
}] });
|
|
35421
|
-
/**
|
|
35422
|
-
* @hidden
|
|
35423
|
-
*/
|
|
35424
|
-
class IgxComboItemDirective {
|
|
35425
|
-
}
|
|
35426
|
-
IgxComboItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35427
|
-
IgxComboItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboItemDirective, selector: "[igxComboItem]", ngImport: i0 });
|
|
35428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboItemDirective, decorators: [{
|
|
35429
|
-
type: Directive,
|
|
35430
|
-
args: [{ selector: '[igxComboItem]' }]
|
|
35431
|
-
}] });
|
|
35432
|
-
/**
|
|
35433
|
-
* @hidden
|
|
35434
|
-
*/
|
|
35435
|
-
class IgxComboEmptyDirective {
|
|
35436
|
-
}
|
|
35437
|
-
IgxComboEmptyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboEmptyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35438
|
-
IgxComboEmptyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboEmptyDirective, selector: "[igxComboEmpty]", ngImport: i0 });
|
|
35439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboEmptyDirective, decorators: [{
|
|
35440
|
-
type: Directive,
|
|
35441
|
-
args: [{ selector: '[igxComboEmpty]' }]
|
|
35442
|
-
}] });
|
|
35443
|
-
/**
|
|
35444
|
-
* @hidden
|
|
35445
|
-
*/
|
|
35446
|
-
class IgxComboHeaderItemDirective {
|
|
35447
|
-
}
|
|
35448
|
-
IgxComboHeaderItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35449
|
-
IgxComboHeaderItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboHeaderItemDirective, selector: "[igxComboHeaderItem]", ngImport: i0 });
|
|
35450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderItemDirective, decorators: [{
|
|
35451
|
-
type: Directive,
|
|
35452
|
-
args: [{ selector: '[igxComboHeaderItem]' }]
|
|
35453
|
-
}] });
|
|
35454
|
-
/**
|
|
35455
|
-
* @hidden
|
|
35456
|
-
*/
|
|
35457
|
-
class IgxComboAddItemDirective {
|
|
35458
|
-
}
|
|
35459
|
-
IgxComboAddItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35460
|
-
IgxComboAddItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboAddItemDirective, selector: "[igxComboAddItem]", ngImport: i0 });
|
|
35461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemDirective, decorators: [{
|
|
35462
|
-
type: Directive,
|
|
35463
|
-
args: [{ selector: '[igxComboAddItem]' }]
|
|
35464
|
-
}] });
|
|
35465
|
-
/**
|
|
35466
|
-
* @hidden
|
|
35467
|
-
*/
|
|
35468
|
-
class IgxComboToggleIconDirective {
|
|
35469
|
-
}
|
|
35470
|
-
IgxComboToggleIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35471
|
-
IgxComboToggleIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboToggleIconDirective, selector: "[igxComboToggleIcon]", ngImport: i0 });
|
|
35472
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboToggleIconDirective, decorators: [{
|
|
35473
|
-
type: Directive,
|
|
35474
|
-
args: [{ selector: '[igxComboToggleIcon]' }]
|
|
35475
|
-
}] });
|
|
35476
|
-
/**
|
|
35477
|
-
* @hidden
|
|
35478
|
-
*/
|
|
35479
|
-
class IgxComboClearIconDirective {
|
|
35480
|
-
}
|
|
35481
|
-
IgxComboClearIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboClearIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35482
|
-
IgxComboClearIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboClearIconDirective, selector: "[igxComboClearIcon]", ngImport: i0 });
|
|
35483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboClearIconDirective, decorators: [{
|
|
35484
|
-
type: Directive,
|
|
35485
|
-
args: [{ selector: '[igxComboClearIcon]' }]
|
|
35486
|
-
}] });
|
|
35487
|
-
|
|
35488
35427
|
/**
|
|
35489
35428
|
* @hidden
|
|
35490
35429
|
*/
|
|
@@ -35637,6 +35576,123 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImpor
|
|
|
35637
35576
|
type: Input
|
|
35638
35577
|
}] } });
|
|
35639
35578
|
|
|
35579
|
+
/**
|
|
35580
|
+
* @hidden
|
|
35581
|
+
*/
|
|
35582
|
+
class IgxComboAddItemComponent extends IgxComboItemComponent {
|
|
35583
|
+
get selected() {
|
|
35584
|
+
return false;
|
|
35585
|
+
}
|
|
35586
|
+
set selected(value) {
|
|
35587
|
+
}
|
|
35588
|
+
/**
|
|
35589
|
+
* @inheritdoc
|
|
35590
|
+
*/
|
|
35591
|
+
clicked(event) {
|
|
35592
|
+
this.comboAPI.disableTransitions = false;
|
|
35593
|
+
this.comboAPI.add_custom_item();
|
|
35594
|
+
}
|
|
35595
|
+
}
|
|
35596
|
+
IgxComboAddItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
35597
|
+
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 });
|
|
35598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemComponent, decorators: [{
|
|
35599
|
+
type: Component,
|
|
35600
|
+
args: [{
|
|
35601
|
+
selector: 'igx-combo-add-item',
|
|
35602
|
+
template: '<ng-content></ng-content>',
|
|
35603
|
+
providers: [{ provide: IgxComboItemComponent, useExisting: IgxComboAddItemComponent }]
|
|
35604
|
+
}]
|
|
35605
|
+
}] });
|
|
35606
|
+
|
|
35607
|
+
/**
|
|
35608
|
+
* @hidden
|
|
35609
|
+
*/
|
|
35610
|
+
class IgxComboHeaderDirective {
|
|
35611
|
+
}
|
|
35612
|
+
IgxComboHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35613
|
+
IgxComboHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboHeaderDirective, selector: "[igxComboHeader]", ngImport: i0 });
|
|
35614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderDirective, decorators: [{
|
|
35615
|
+
type: Directive,
|
|
35616
|
+
args: [{ selector: '[igxComboHeader]' }]
|
|
35617
|
+
}] });
|
|
35618
|
+
/**
|
|
35619
|
+
* @hidden
|
|
35620
|
+
*/
|
|
35621
|
+
class IgxComboFooterDirective {
|
|
35622
|
+
}
|
|
35623
|
+
IgxComboFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35624
|
+
IgxComboFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboFooterDirective, selector: "[igxComboFooter]", ngImport: i0 });
|
|
35625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboFooterDirective, decorators: [{
|
|
35626
|
+
type: Directive,
|
|
35627
|
+
args: [{ selector: '[igxComboFooter]' }]
|
|
35628
|
+
}] });
|
|
35629
|
+
/**
|
|
35630
|
+
* @hidden
|
|
35631
|
+
*/
|
|
35632
|
+
class IgxComboItemDirective {
|
|
35633
|
+
}
|
|
35634
|
+
IgxComboItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35635
|
+
IgxComboItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboItemDirective, selector: "[igxComboItem]", ngImport: i0 });
|
|
35636
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboItemDirective, decorators: [{
|
|
35637
|
+
type: Directive,
|
|
35638
|
+
args: [{ selector: '[igxComboItem]' }]
|
|
35639
|
+
}] });
|
|
35640
|
+
/**
|
|
35641
|
+
* @hidden
|
|
35642
|
+
*/
|
|
35643
|
+
class IgxComboEmptyDirective {
|
|
35644
|
+
}
|
|
35645
|
+
IgxComboEmptyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboEmptyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35646
|
+
IgxComboEmptyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboEmptyDirective, selector: "[igxComboEmpty]", ngImport: i0 });
|
|
35647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboEmptyDirective, decorators: [{
|
|
35648
|
+
type: Directive,
|
|
35649
|
+
args: [{ selector: '[igxComboEmpty]' }]
|
|
35650
|
+
}] });
|
|
35651
|
+
/**
|
|
35652
|
+
* @hidden
|
|
35653
|
+
*/
|
|
35654
|
+
class IgxComboHeaderItemDirective {
|
|
35655
|
+
}
|
|
35656
|
+
IgxComboHeaderItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35657
|
+
IgxComboHeaderItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboHeaderItemDirective, selector: "[igxComboHeaderItem]", ngImport: i0 });
|
|
35658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderItemDirective, decorators: [{
|
|
35659
|
+
type: Directive,
|
|
35660
|
+
args: [{ selector: '[igxComboHeaderItem]' }]
|
|
35661
|
+
}] });
|
|
35662
|
+
/**
|
|
35663
|
+
* @hidden
|
|
35664
|
+
*/
|
|
35665
|
+
class IgxComboAddItemDirective {
|
|
35666
|
+
}
|
|
35667
|
+
IgxComboAddItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35668
|
+
IgxComboAddItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboAddItemDirective, selector: "[igxComboAddItem]", ngImport: i0 });
|
|
35669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemDirective, decorators: [{
|
|
35670
|
+
type: Directive,
|
|
35671
|
+
args: [{ selector: '[igxComboAddItem]' }]
|
|
35672
|
+
}] });
|
|
35673
|
+
/**
|
|
35674
|
+
* @hidden
|
|
35675
|
+
*/
|
|
35676
|
+
class IgxComboToggleIconDirective {
|
|
35677
|
+
}
|
|
35678
|
+
IgxComboToggleIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35679
|
+
IgxComboToggleIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboToggleIconDirective, selector: "[igxComboToggleIcon]", ngImport: i0 });
|
|
35680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboToggleIconDirective, decorators: [{
|
|
35681
|
+
type: Directive,
|
|
35682
|
+
args: [{ selector: '[igxComboToggleIcon]' }]
|
|
35683
|
+
}] });
|
|
35684
|
+
/**
|
|
35685
|
+
* @hidden
|
|
35686
|
+
*/
|
|
35687
|
+
class IgxComboClearIconDirective {
|
|
35688
|
+
}
|
|
35689
|
+
IgxComboClearIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboClearIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35690
|
+
IgxComboClearIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboClearIconDirective, selector: "[igxComboClearIcon]", ngImport: i0 });
|
|
35691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboClearIconDirective, decorators: [{
|
|
35692
|
+
type: Directive,
|
|
35693
|
+
args: [{ selector: '[igxComboClearIcon]' }]
|
|
35694
|
+
}] });
|
|
35695
|
+
|
|
35640
35696
|
const IGX_COMBO_COMPONENT = new InjectionToken('IgxComboComponentToken');
|
|
35641
35697
|
let NEXT_ID$e = 0;
|
|
35642
35698
|
/**
|
|
@@ -36758,34 +36814,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImpor
|
|
|
36758
36814
|
args: ['keydown.Alt.ArrowDown', ['$event']]
|
|
36759
36815
|
}] } });
|
|
36760
36816
|
|
|
36761
|
-
/**
|
|
36762
|
-
* @hidden
|
|
36763
|
-
*/
|
|
36764
|
-
class IgxComboAddItemComponent extends IgxComboItemComponent {
|
|
36765
|
-
get selected() {
|
|
36766
|
-
return false;
|
|
36767
|
-
}
|
|
36768
|
-
set selected(value) {
|
|
36769
|
-
}
|
|
36770
|
-
/**
|
|
36771
|
-
* @inheritdoc
|
|
36772
|
-
*/
|
|
36773
|
-
clicked(event) {
|
|
36774
|
-
this.comboAPI.disableTransitions = false;
|
|
36775
|
-
this.comboAPI.add_custom_item();
|
|
36776
|
-
}
|
|
36777
|
-
}
|
|
36778
|
-
IgxComboAddItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
36779
|
-
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 });
|
|
36780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemComponent, decorators: [{
|
|
36781
|
-
type: Component,
|
|
36782
|
-
args: [{
|
|
36783
|
-
selector: 'igx-combo-add-item',
|
|
36784
|
-
template: '<ng-content></ng-content>',
|
|
36785
|
-
providers: [{ provide: IgxComboItemComponent, useExisting: IgxComboAddItemComponent }]
|
|
36786
|
-
}]
|
|
36787
|
-
}] });
|
|
36788
|
-
|
|
36789
36817
|
/** @hidden */
|
|
36790
36818
|
class IgxComboDropDownComponent extends IgxDropDownComponent {
|
|
36791
36819
|
constructor(elementRef, cdr, selection, combo, comboAPI, _displayDensityOptions) {
|
|
@@ -37675,7 +37703,12 @@ class IgxSimpleComboComponent extends IgxComboBaseDirective {
|
|
|
37675
37703
|
}
|
|
37676
37704
|
return current === this.selection[0];
|
|
37677
37705
|
});
|
|
37678
|
-
this.
|
|
37706
|
+
if (!this.isRemote) {
|
|
37707
|
+
// navigate to item only if we have local data
|
|
37708
|
+
// as with remote data this will fiddle with igxFor's scroll handler
|
|
37709
|
+
// and will trigger another chunk load which will break the visualization
|
|
37710
|
+
this.dropdown.navigateItem(index);
|
|
37711
|
+
}
|
|
37679
37712
|
}
|
|
37680
37713
|
});
|
|
37681
37714
|
this.dropdown.opening.pipe(takeUntil(this.destroy$)).subscribe(() => {
|
|
@@ -38546,6 +38579,7 @@ class IgxDatePickerComponent extends PickerBaseDirective {
|
|
|
38546
38579
|
this._onTouchedCallback = noop;
|
|
38547
38580
|
this._onValidatorChange = noop;
|
|
38548
38581
|
this.onStatusChanged = () => {
|
|
38582
|
+
this.disabled = this._ngControl.disabled;
|
|
38549
38583
|
this.updateValidity();
|
|
38550
38584
|
this.inputGroup.isRequired = this.required;
|
|
38551
38585
|
};
|
|
@@ -42498,7 +42532,8 @@ class IgxTimePickerComponent extends PickerBaseDirective {
|
|
|
42498
42532
|
}
|
|
42499
42533
|
onStatusChanged() {
|
|
42500
42534
|
if ((this._ngControl.control.touched || this._ngControl.control.dirty) &&
|
|
42501
|
-
(this._ngControl.control.validator || this._ngControl.control.asyncValidator)
|
|
42535
|
+
(this._ngControl.control.validator || this._ngControl.control.asyncValidator) &&
|
|
42536
|
+
!this._ngControl.disabled) {
|
|
42502
42537
|
if (this._inputGroup.isFocused) {
|
|
42503
42538
|
this.inputDirective.valid = this._ngControl.valid ? IgxInputState.VALID : IgxInputState.INVALID;
|
|
42504
42539
|
}
|
|
@@ -58723,8 +58758,13 @@ class IgxGridNavigationService {
|
|
|
58723
58758
|
if (shouldClearSelection || (this.grid.cellSelection !== GridSelectionMode.multiple)) {
|
|
58724
58759
|
this.grid.clearCellSelection();
|
|
58725
58760
|
this.grid.navigateTo(this.activeNode.row, this.activeNode.column, (obj) => {
|
|
58726
|
-
obj.target
|
|
58727
|
-
|
|
58761
|
+
if (this.activeNode.row === obj.target.row.index) {
|
|
58762
|
+
obj.target?.activate(event);
|
|
58763
|
+
this.grid.cdr.detectChanges();
|
|
58764
|
+
}
|
|
58765
|
+
else {
|
|
58766
|
+
this.grid.navigateTo(this.activeNode.row, this.activeNode.column);
|
|
58767
|
+
}
|
|
58728
58768
|
});
|
|
58729
58769
|
}
|
|
58730
58770
|
else {
|
|
@@ -83964,14 +84004,14 @@ class IgxDateRangePickerComponent extends PickerBaseDirective {
|
|
|
83964
84004
|
this.onValidatorChange = noop;
|
|
83965
84005
|
this.onStatusChanged = () => {
|
|
83966
84006
|
if (this.inputGroup) {
|
|
83967
|
-
this.inputDirective.valid = this.isTouchedOrDirty
|
|
84007
|
+
this.inputDirective.valid = this.isTouchedOrDirty && !this._ngControl.disabled
|
|
83968
84008
|
? this.getInputState(this.inputGroup.isFocused)
|
|
83969
84009
|
: IgxInputState.INITIAL;
|
|
83970
84010
|
}
|
|
83971
84011
|
else if (this.hasProjectedInputs) {
|
|
83972
84012
|
this.projectedInputs
|
|
83973
84013
|
.forEach(i => {
|
|
83974
|
-
i.inputDirective.valid = this.isTouchedOrDirty
|
|
84014
|
+
i.inputDirective.valid = this.isTouchedOrDirty && !this._ngControl.disabled
|
|
83975
84015
|
? this.getInputState(i.isFocused)
|
|
83976
84016
|
: IgxInputState.INITIAL;
|
|
83977
84017
|
;
|