igniteui-angular 14.0.14 → 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/directives/drag-drop/drag-drop.directive.mjs +9 -5
- package/esm2020/lib/simple-combo/simple-combo.component.mjs +7 -2
- package/fesm2015/igniteui-angular.mjs +131 -122
- package/fesm2015/igniteui-angular.mjs.map +1 -1
- package/fesm2020/igniteui-angular.mjs +131 -122
- package/fesm2020/igniteui-angular.mjs.map +1 -1
- package/lib/combo/public_api.d.ts +3 -2
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -35420,95 +35424,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImpor
|
|
|
35420
35424
|
}]
|
|
35421
35425
|
}] });
|
|
35422
35426
|
|
|
35423
|
-
/**
|
|
35424
|
-
* @hidden
|
|
35425
|
-
*/
|
|
35426
|
-
class IgxComboHeaderDirective {
|
|
35427
|
-
}
|
|
35428
|
-
IgxComboHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35429
|
-
IgxComboHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboHeaderDirective, selector: "[igxComboHeader]", ngImport: i0 });
|
|
35430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderDirective, decorators: [{
|
|
35431
|
-
type: Directive,
|
|
35432
|
-
args: [{ selector: '[igxComboHeader]' }]
|
|
35433
|
-
}] });
|
|
35434
|
-
/**
|
|
35435
|
-
* @hidden
|
|
35436
|
-
*/
|
|
35437
|
-
class IgxComboFooterDirective {
|
|
35438
|
-
}
|
|
35439
|
-
IgxComboFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35440
|
-
IgxComboFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboFooterDirective, selector: "[igxComboFooter]", ngImport: i0 });
|
|
35441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboFooterDirective, decorators: [{
|
|
35442
|
-
type: Directive,
|
|
35443
|
-
args: [{ selector: '[igxComboFooter]' }]
|
|
35444
|
-
}] });
|
|
35445
|
-
/**
|
|
35446
|
-
* @hidden
|
|
35447
|
-
*/
|
|
35448
|
-
class IgxComboItemDirective {
|
|
35449
|
-
}
|
|
35450
|
-
IgxComboItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35451
|
-
IgxComboItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboItemDirective, selector: "[igxComboItem]", ngImport: i0 });
|
|
35452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboItemDirective, decorators: [{
|
|
35453
|
-
type: Directive,
|
|
35454
|
-
args: [{ selector: '[igxComboItem]' }]
|
|
35455
|
-
}] });
|
|
35456
|
-
/**
|
|
35457
|
-
* @hidden
|
|
35458
|
-
*/
|
|
35459
|
-
class IgxComboEmptyDirective {
|
|
35460
|
-
}
|
|
35461
|
-
IgxComboEmptyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboEmptyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35462
|
-
IgxComboEmptyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboEmptyDirective, selector: "[igxComboEmpty]", ngImport: i0 });
|
|
35463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboEmptyDirective, decorators: [{
|
|
35464
|
-
type: Directive,
|
|
35465
|
-
args: [{ selector: '[igxComboEmpty]' }]
|
|
35466
|
-
}] });
|
|
35467
|
-
/**
|
|
35468
|
-
* @hidden
|
|
35469
|
-
*/
|
|
35470
|
-
class IgxComboHeaderItemDirective {
|
|
35471
|
-
}
|
|
35472
|
-
IgxComboHeaderItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35473
|
-
IgxComboHeaderItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboHeaderItemDirective, selector: "[igxComboHeaderItem]", ngImport: i0 });
|
|
35474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboHeaderItemDirective, decorators: [{
|
|
35475
|
-
type: Directive,
|
|
35476
|
-
args: [{ selector: '[igxComboHeaderItem]' }]
|
|
35477
|
-
}] });
|
|
35478
|
-
/**
|
|
35479
|
-
* @hidden
|
|
35480
|
-
*/
|
|
35481
|
-
class IgxComboAddItemDirective {
|
|
35482
|
-
}
|
|
35483
|
-
IgxComboAddItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35484
|
-
IgxComboAddItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboAddItemDirective, selector: "[igxComboAddItem]", ngImport: i0 });
|
|
35485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemDirective, decorators: [{
|
|
35486
|
-
type: Directive,
|
|
35487
|
-
args: [{ selector: '[igxComboAddItem]' }]
|
|
35488
|
-
}] });
|
|
35489
|
-
/**
|
|
35490
|
-
* @hidden
|
|
35491
|
-
*/
|
|
35492
|
-
class IgxComboToggleIconDirective {
|
|
35493
|
-
}
|
|
35494
|
-
IgxComboToggleIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35495
|
-
IgxComboToggleIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboToggleIconDirective, selector: "[igxComboToggleIcon]", ngImport: i0 });
|
|
35496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboToggleIconDirective, decorators: [{
|
|
35497
|
-
type: Directive,
|
|
35498
|
-
args: [{ selector: '[igxComboToggleIcon]' }]
|
|
35499
|
-
}] });
|
|
35500
|
-
/**
|
|
35501
|
-
* @hidden
|
|
35502
|
-
*/
|
|
35503
|
-
class IgxComboClearIconDirective {
|
|
35504
|
-
}
|
|
35505
|
-
IgxComboClearIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboClearIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35506
|
-
IgxComboClearIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IgxComboClearIconDirective, selector: "[igxComboClearIcon]", ngImport: i0 });
|
|
35507
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboClearIconDirective, decorators: [{
|
|
35508
|
-
type: Directive,
|
|
35509
|
-
args: [{ selector: '[igxComboClearIcon]' }]
|
|
35510
|
-
}] });
|
|
35511
|
-
|
|
35512
35427
|
/**
|
|
35513
35428
|
* @hidden
|
|
35514
35429
|
*/
|
|
@@ -35661,6 +35576,123 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImpor
|
|
|
35661
35576
|
type: Input
|
|
35662
35577
|
}] } });
|
|
35663
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
|
+
|
|
35664
35696
|
const IGX_COMBO_COMPONENT = new InjectionToken('IgxComboComponentToken');
|
|
35665
35697
|
let NEXT_ID$e = 0;
|
|
35666
35698
|
/**
|
|
@@ -36782,34 +36814,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImpor
|
|
|
36782
36814
|
args: ['keydown.Alt.ArrowDown', ['$event']]
|
|
36783
36815
|
}] } });
|
|
36784
36816
|
|
|
36785
|
-
/**
|
|
36786
|
-
* @hidden
|
|
36787
|
-
*/
|
|
36788
|
-
class IgxComboAddItemComponent extends IgxComboItemComponent {
|
|
36789
|
-
get selected() {
|
|
36790
|
-
return false;
|
|
36791
|
-
}
|
|
36792
|
-
set selected(value) {
|
|
36793
|
-
}
|
|
36794
|
-
/**
|
|
36795
|
-
* @inheritdoc
|
|
36796
|
-
*/
|
|
36797
|
-
clicked(event) {
|
|
36798
|
-
this.comboAPI.disableTransitions = false;
|
|
36799
|
-
this.comboAPI.add_custom_item();
|
|
36800
|
-
}
|
|
36801
|
-
}
|
|
36802
|
-
IgxComboAddItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
36803
|
-
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 });
|
|
36804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IgxComboAddItemComponent, decorators: [{
|
|
36805
|
-
type: Component,
|
|
36806
|
-
args: [{
|
|
36807
|
-
selector: 'igx-combo-add-item',
|
|
36808
|
-
template: '<ng-content></ng-content>',
|
|
36809
|
-
providers: [{ provide: IgxComboItemComponent, useExisting: IgxComboAddItemComponent }]
|
|
36810
|
-
}]
|
|
36811
|
-
}] });
|
|
36812
|
-
|
|
36813
36817
|
/** @hidden */
|
|
36814
36818
|
class IgxComboDropDownComponent extends IgxDropDownComponent {
|
|
36815
36819
|
constructor(elementRef, cdr, selection, combo, comboAPI, _displayDensityOptions) {
|
|
@@ -37699,7 +37703,12 @@ class IgxSimpleComboComponent extends IgxComboBaseDirective {
|
|
|
37699
37703
|
}
|
|
37700
37704
|
return current === this.selection[0];
|
|
37701
37705
|
});
|
|
37702
|
-
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
|
+
}
|
|
37703
37712
|
}
|
|
37704
37713
|
});
|
|
37705
37714
|
this.dropdown.opening.pipe(takeUntil(this.destroy$)).subscribe(() => {
|