igniteui-angular 18.2.15 → 18.2.17
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/esm2022/lib/calendar/days-view/day-item.component.mjs +3 -2
- package/esm2022/lib/grids/moving/moving.drag.directive.mjs +3 -2
- package/esm2022/lib/services/exporter-common/base-export-service.mjs +5 -6
- package/fesm2022/igniteui-angular.mjs +8 -8
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/lib/core/styles/components/chip/_chip-theme.scss +3 -1
- package/lib/core/styles/components/combo/_combo-theme.scss +8 -0
- package/lib/services/exporter-common/base-export-service.d.ts +1 -0
- package/package.json +1 -1
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- package/styles/maps/igniteui-indigo-light.css.map +1 -1
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Injectable, Directive, Input, HostListener, EventEmitter, InjectionToken, isDevMode, inject, PLATFORM_ID, Inject, ElementRef, ViewContainerRef, createComponent, Output, HostBinding, Self, Optional, booleanAttribute, SecurityContext, DestroyRef, Component, ContentChildren, ContentChild, RendererStyleFlags2, Pipe, ViewChild, LOCALE_ID, forwardRef, Host, QueryList, ViewChildren, TemplateRef, ChangeDetectionStrategy, SimpleChange, SkipSelf, CUSTOM_ELEMENTS_SCHEMA, reflectComponentType, NgModule } from '@angular/core';
|
|
3
3
|
import * as i4 from '@angular/forms';
|
|
4
4
|
import { NgModel, NgControl, FormControlName, NG_VALUE_ACCESSOR, Validators, NG_VALIDATORS, FormGroup, FormsModule, RequiredValidator, MinValidator, MaxValidator, EmailValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { Observable, NEVER, Subject, fromEvent, BehaviorSubject, interval, animationFrameScheduler, noop, merge, Subscription, timer,
|
|
5
|
+
import { Observable, NEVER, Subject, fromEvent, BehaviorSubject, interval, animationFrameScheduler, noop, merge, Subscription, timer, pipe } from 'rxjs';
|
|
6
6
|
import { takeUntil, filter, throttle, throttleTime, first as first$2, startWith, take, debounce, tap, switchMap, skipLast, debounceTime, map, shareReplay, takeWhile, timeout, pluck } from 'rxjs/operators';
|
|
7
7
|
import { isPlatformBrowser, formatDate as formatDate$1, CurrencyPipe, formatPercent, formatNumber, getLocaleCurrencyCode, DatePipe, getLocaleDateFormat, FormatWidth, getLocaleDateTimeFormat, DOCUMENT, NgIf, NgTemplateOutlet, NgClass, NgSwitch, NgSwitchCase, NgSwitchDefault, NgFor, TitleCasePipe, getLocaleFirstDayOfWeek, NgStyle, getLocaleCurrencySymbol, formatCurrency as formatCurrency$1, getLocaleNumberFormat, NumberFormatStyle, DecimalPipe, PercentPipe, getCurrencySymbol, AsyncPipe } from '@angular/common';
|
|
8
8
|
import { mergeWith, isEqual as isEqual$1 } from 'lodash-es';
|
|
@@ -2299,8 +2299,7 @@ class IgxBaseExporter {
|
|
|
2299
2299
|
}, {});
|
|
2300
2300
|
}
|
|
2301
2301
|
else {
|
|
2302
|
-
|
|
2303
|
-
record.data = record.data.filter(d => filteredHeaders.indexOf(d) === -1);
|
|
2302
|
+
record.data = record.data.filter((_, i) => !record.references[i].skip);
|
|
2304
2303
|
}
|
|
2305
2304
|
}
|
|
2306
2305
|
const rowArgs = {
|
|
@@ -2527,15 +2526,15 @@ class IgxBaseExporter {
|
|
|
2527
2526
|
getAllChildColumnsAndData(island, childData, expansionStateVal, grid) {
|
|
2528
2527
|
const hierarchicalOwner = `${GRID_CHILD}${++this.rowIslandCounter}`;
|
|
2529
2528
|
const columnList = this._ownersMap.get(island).columns;
|
|
2530
|
-
const
|
|
2531
|
-
|
|
2532
|
-
.map(col => col.header ? col.header : col.field);
|
|
2529
|
+
const columnHeaders = columnList.filter(col => col.headerType === ExportHeaderType.ColumnHeader);
|
|
2530
|
+
const columnHeader = columnHeaders.map(col => col.header ? col.header : col.field);
|
|
2533
2531
|
const headerRecord = {
|
|
2534
2532
|
data: columnHeader,
|
|
2535
2533
|
level: island.level,
|
|
2536
2534
|
type: ExportRecordType.HeaderRecord,
|
|
2537
2535
|
owner: island,
|
|
2538
2536
|
hidden: !expansionStateVal,
|
|
2537
|
+
references: columnHeaders,
|
|
2539
2538
|
hierarchicalOwner
|
|
2540
2539
|
};
|
|
2541
2540
|
if (childData && childData.length > 0) {
|
|
@@ -30889,7 +30888,8 @@ class IgxDayItemComponent {
|
|
|
30889
30888
|
return this.elementRef.nativeElement;
|
|
30890
30889
|
}
|
|
30891
30890
|
get isSelectedCSS() {
|
|
30892
|
-
const selectable = !this.isInactive ||
|
|
30891
|
+
const selectable = !this.isInactive || this.isWithinPreviewRange ||
|
|
30892
|
+
(this.isWithinRange && this.selection === "range");
|
|
30893
30893
|
return !this.isDisabled && selectable && this.selected;
|
|
30894
30894
|
}
|
|
30895
30895
|
get isInactive() {
|
|
@@ -55495,7 +55495,7 @@ class IgxColumnMovingDragDirective extends IgxDragDirective {
|
|
|
55495
55495
|
source: this.column
|
|
55496
55496
|
};
|
|
55497
55497
|
this.column.grid.columnMovingStart.emit(movingStartArgs);
|
|
55498
|
-
this.subscription$ = fromEvent(this.column.grid.document.defaultView, 'keydown').pipe(takeUntil
|
|
55498
|
+
this.subscription$ = fromEvent(this.column.grid.document.defaultView, 'keydown').pipe(takeUntil(this._destroy)).subscribe((ev) => {
|
|
55499
55499
|
if (ev.key === this.platformUtil.KEYMAP.ESCAPE) {
|
|
55500
55500
|
this.onEscape(ev);
|
|
55501
55501
|
}
|