@clr/angular 18.0.0-beta.1 → 18.0.0-beta.3
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/fesm2022/clr-angular-accordion.mjs +1 -1
- package/fesm2022/clr-angular-accordion.mjs.map +1 -1
- package/fesm2022/clr-angular-button.mjs +6 -6
- package/fesm2022/clr-angular-button.mjs.map +1 -1
- package/fesm2022/clr-angular-data-datagrid.mjs +19 -33
- package/fesm2022/clr-angular-data-datagrid.mjs.map +1 -1
- package/fesm2022/clr-angular-data-tree-view.mjs +2 -2
- package/fesm2022/clr-angular-data-tree-view.mjs.map +1 -1
- package/fesm2022/clr-angular-data.mjs +11 -9116
- package/fesm2022/clr-angular-data.mjs.map +1 -1
- package/fesm2022/clr-angular-emphasis-alert.mjs +2 -2
- package/fesm2022/clr-angular-emphasis-alert.mjs.map +1 -1
- package/fesm2022/clr-angular-emphasis.mjs +12 -778
- package/fesm2022/clr-angular-emphasis.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-checkbox.mjs +13 -44
- package/fesm2022/clr-angular-forms-checkbox.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-combobox.mjs +97 -64
- package/fesm2022/clr-angular-forms-combobox.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-common.mjs +62 -57
- package/fesm2022/clr-angular-forms-common.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-datalist.mjs +2 -14
- package/fesm2022/clr-angular-forms-datalist.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-datepicker.mjs +20 -28
- package/fesm2022/clr-angular-forms-datepicker.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-file-input.mjs +72 -53
- package/fesm2022/clr-angular-forms-file-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-input.mjs +4 -18
- package/fesm2022/clr-angular-forms-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-number-input.mjs +2 -14
- package/fesm2022/clr-angular-forms-number-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-password.mjs +2 -14
- package/fesm2022/clr-angular-forms-password.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-radio.mjs +13 -44
- package/fesm2022/clr-angular-forms-radio.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-range.mjs +3 -16
- package/fesm2022/clr-angular-forms-range.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-select.mjs +3 -16
- package/fesm2022/clr-angular-forms-select.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-textarea.mjs +4 -17
- package/fesm2022/clr-angular-forms-textarea.mjs.map +1 -1
- package/fesm2022/clr-angular-forms.mjs +68 -8560
- package/fesm2022/clr-angular-forms.mjs.map +1 -1
- package/fesm2022/clr-angular-layout-tabs.mjs +1 -1
- package/fesm2022/clr-angular-layout-tabs.mjs.map +1 -1
- package/fesm2022/clr-angular-layout.mjs +15 -2057
- package/fesm2022/clr-angular-layout.mjs.map +1 -1
- package/fesm2022/clr-angular-modal.mjs +2 -2
- package/fesm2022/clr-angular-modal.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-common.mjs +151 -85
- package/fesm2022/clr-angular-popover-common.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-dropdown.mjs +7 -4
- package/fesm2022/clr-angular-popover-dropdown.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-signpost.mjs +30 -15
- package/fesm2022/clr-angular-popover-signpost.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-tooltip.mjs +7 -7
- package/fesm2022/clr-angular-popover-tooltip.mjs.map +1 -1
- package/fesm2022/clr-angular-popover.mjs +12 -2242
- package/fesm2022/clr-angular-popover.mjs.map +1 -1
- package/fesm2022/clr-angular-stepper.mjs +5 -5
- package/fesm2022/clr-angular-stepper.mjs.map +1 -1
- package/fesm2022/clr-angular-utils.mjs +15 -485
- package/fesm2022/clr-angular-utils.mjs.map +1 -1
- package/fesm2022/clr-angular-wizard.mjs +19 -11
- package/fesm2022/clr-angular-wizard.mjs.map +1 -1
- package/fesm2022/clr-angular.mjs +94 -38740
- package/fesm2022/clr-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/popover/common/README.md +14 -12
- package/types/clr-angular-accordion.d.ts +1 -1
- package/types/clr-angular-button.d.ts +1 -1
- package/types/clr-angular-data-datagrid.d.ts +23 -33
- package/types/clr-angular-data.d.ts +4 -2136
- package/types/clr-angular-emphasis.d.ts +4 -220
- package/types/clr-angular-forms-combobox.d.ts +12 -5
- package/types/clr-angular-forms-common.d.ts +9 -9
- package/types/clr-angular-forms-datepicker.d.ts +8 -1
- package/types/clr-angular-forms-file-input.d.ts +5 -2
- package/types/clr-angular-forms.d.ts +26 -2062
- package/types/clr-angular-layout-tabs.d.ts +1 -1
- package/types/clr-angular-layout.d.ts +6 -463
- package/types/clr-angular-popover-common.d.ts +38 -13
- package/types/clr-angular-popover-dropdown.d.ts +2 -1
- package/types/clr-angular-popover-signpost.d.ts +15 -7
- package/types/clr-angular-popover-tooltip.d.ts +1 -1
- package/types/clr-angular-popover.d.ts +7 -559
- package/types/clr-angular-stepper.d.ts +1 -1
- package/types/clr-angular-utils.d.ts +8 -175
- package/types/clr-angular-wizard.d.ts +7 -4
- package/types/clr-angular.d.ts +22 -10238
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, Directive, ViewChild, Component, PLATFORM_ID, Inject, DOCUMENT, EventEmitter, ElementRef, booleanAttribute, Input, Output, Optional, ContentChild, ChangeDetectionStrategy, ContentChildren, forwardRef, HostListener, ViewContainerRef, runInInjectionContext, Injector, ChangeDetectorRef, NgZone, Renderer2, inject, EnvironmentInjector, TemplateRef, IterableDiffers, ViewChildren, InjectionToken, NgModule } from '@angular/core';
|
|
3
3
|
import * as i2 from '@clr/angular/utils';
|
|
4
|
-
import { uniqueIdFactory,
|
|
4
|
+
import { uniqueIdFactory, Keys, HostWrapper, IfExpandService, ClrLoadingState, ClrExpandableAnimationDirective, LoadingListener, WillyWonka, OompaLoompa, ClrKeyFocus, DomAdapter, ClrIfExpanded, CdkDragModule, CdkTrapFocusModule, ClrLoadingModule, ClrConditionalModule, ClrOutsideClickModule, ClrExpandableAnimationModule, ClrKeyFocusModule } from '@clr/angular/utils';
|
|
5
5
|
import * as i2$2 from 'rxjs';
|
|
6
6
|
import { Subject, BehaviorSubject, fromEvent, ReplaySubject, combineLatest, merge, of } from 'rxjs';
|
|
7
7
|
import { filter, takeUntil, delay, debounceTime, map, switchMap } from 'rxjs/operators';
|
|
8
8
|
import * as i3 from '@clr/angular/popover/common';
|
|
9
|
-
import { ClrPopoverPosition, ClrPopoverType, ClrPopoverHostDirective, mapPopoverKeyToPosition,
|
|
9
|
+
import { ClrPopoverPosition, ClrPopoverType, ClrPopoverHostDirective, mapPopoverKeyToPosition, ClrPopoverModuleNext } from '@clr/angular/popover/common';
|
|
10
10
|
import * as i1 from '@clr/angular/modal';
|
|
11
11
|
import * as i9 from '@angular/common';
|
|
12
12
|
import { isPlatformBrowser, NgForOf, CommonModule } from '@angular/common';
|
|
13
13
|
import * as i5 from '@clr/angular/icon';
|
|
14
|
-
import { ClarityIcons, ellipsisVerticalIcon, viewColumnsIcon, windowCloseIcon, arrowIcon, timesIcon, stepForward2Icon, angleDoubleIcon, filterGridCircleIcon, filterGridIcon, ClrIcon } from '@clr/angular/icon';
|
|
14
|
+
import { ClarityIcons, ellipsisVerticalIcon, viewColumnsIcon, windowCloseIcon, arrowIcon, timesIcon, twoWayArrowsIcon, stepForward2Icon, angleDoubleIcon, filterGridCircleIcon, filterGridIcon, ClrIcon } from '@clr/angular/icon';
|
|
15
15
|
import * as i4 from '@clr/angular/forms/common';
|
|
16
16
|
import { ClrControlLabel } from '@clr/angular/forms/common';
|
|
17
17
|
import * as i5$1 from '@clr/angular/forms/number-input';
|
|
@@ -382,10 +382,6 @@ class CustomFilter {
|
|
|
382
382
|
* This software is released under MIT license.
|
|
383
383
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
384
384
|
*/
|
|
385
|
-
// @TODO The top two are not used now, which is probably a performance drag that was broken along the way.
|
|
386
|
-
// There was a previous pattern to hide everything to do computation then display, for Firefox, needs revisiting.
|
|
387
|
-
const NO_LAYOUT_CLASS = 'datagrid-no-layout';
|
|
388
|
-
const COMPUTE_WIDTH_CLASS = 'datagrid-computing-columns-width';
|
|
389
385
|
const STRICT_WIDTH_CLASS = 'datagrid-fixed-width';
|
|
390
386
|
const HIDDEN_COLUMN_CLASS = 'datagrid-hidden-column';
|
|
391
387
|
|
|
@@ -1162,10 +1158,10 @@ class ClrDatagridColumnSeparator {
|
|
|
1162
1158
|
}
|
|
1163
1159
|
}
|
|
1164
1160
|
isArrowLeftKeyEvent(event) {
|
|
1165
|
-
return
|
|
1161
|
+
return event.key === Keys.ArrowLeft;
|
|
1166
1162
|
}
|
|
1167
1163
|
isArrowRightKeyEvent(event) {
|
|
1168
|
-
return
|
|
1164
|
+
return event.key === Keys.ArrowRight;
|
|
1169
1165
|
}
|
|
1170
1166
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrDatagridColumnSeparator, deps: [{ token: ColumnResizerService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: TableSizeService }, { token: i2.ClrCommonStringsService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1171
1167
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: ClrDatagridColumnSeparator, isStandalone: false, selector: "clr-dg-column-separator", host: { properties: { "class.datagrid-column-separator": "true" } }, viewQueries: [{ propertyName: "resizeTrackerRef", first: true, predicate: ["resizeTracker"], descendants: true }, { propertyName: "columnHandleRef", first: true, predicate: ["columnHandle"], descendants: true }], ngImport: i0, template: `
|
|
@@ -1977,7 +1973,7 @@ class ClrDatagridFilter extends DatagridFilterRegistrar {
|
|
|
1977
1973
|
#anchor
|
|
1978
1974
|
[attr.aria-expanded]="ariaExpanded"
|
|
1979
1975
|
[attr.aria-controls]="popoverId"
|
|
1980
|
-
|
|
1976
|
+
clrPopoverOrigin
|
|
1981
1977
|
clrPopoverOpenCloseButton
|
|
1982
1978
|
[class.datagrid-filter-open]="open"
|
|
1983
1979
|
[class.datagrid-filtered]="active"
|
|
@@ -2005,7 +2001,7 @@ class ClrDatagridFilter extends DatagridFilterRegistrar {
|
|
|
2005
2001
|
|
|
2006
2002
|
<ng-content></ng-content>
|
|
2007
2003
|
</div>
|
|
2008
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.CdkTrapFocusModule_CdkTrapFocus, selector: "[cdkTrapFocus]" }, { kind: "component", type: i5.ClrIcon, selector: "clr-icon, cds-icon", inputs: ["shape", "size", "direction", "flip", "solid", "status", "inverse", "badge"] }, { kind: "directive", type: i3.
|
|
2004
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.CdkTrapFocusModule_CdkTrapFocus, selector: "[cdkTrapFocus]" }, { kind: "component", type: i5.ClrIcon, selector: "clr-icon, cds-icon", inputs: ["shape", "size", "direction", "flip", "solid", "status", "inverse", "badge"] }, { kind: "directive", type: i3.ClrPopoverOrigin, selector: "[clrPopoverOrigin]" }, { kind: "directive", type: i3.ClrPopoverCloseButton, selector: "[clrPopoverCloseButton]", outputs: ["clrPopoverOnCloseChange"] }, { kind: "directive", type: i3.ClrPopoverOpenCloseButton, selector: "[clrPopoverOpenCloseButton]", outputs: ["clrPopoverOpenCloseChange"] }, { kind: "directive", type: i3.ClrPopoverContent, selector: "[clrPopoverContent]", inputs: ["clrPopoverContent", "clrPopoverContentAt", "clrPopoverContentAvailablePositions", "clrPopoverContentType", "clrPopoverContentOutsideClickToClose", "clrPopoverContentScrollToClose", "clrPopoverContentOrigin"] }] }); }
|
|
2009
2005
|
}
|
|
2010
2006
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrDatagridFilter, decorators: [{
|
|
2011
2007
|
type: Component,
|
|
@@ -2020,7 +2016,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
2020
2016
|
#anchor
|
|
2021
2017
|
[attr.aria-expanded]="ariaExpanded"
|
|
2022
2018
|
[attr.aria-controls]="popoverId"
|
|
2023
|
-
|
|
2019
|
+
clrPopoverOrigin
|
|
2024
2020
|
clrPopoverOpenCloseButton
|
|
2025
2021
|
[class.datagrid-filter-open]="open"
|
|
2026
2022
|
[class.datagrid-filtered]="active"
|
|
@@ -5490,7 +5486,7 @@ class ClrDatagridActionOverflow {
|
|
|
5490
5486
|
[attr.aria-controls]="popoverId"
|
|
5491
5487
|
[attr.aria-expanded]="open"
|
|
5492
5488
|
[attr.aria-label]="buttonLabel || commonStrings.keys.rowActions"
|
|
5493
|
-
|
|
5489
|
+
clrPopoverOrigin
|
|
5494
5490
|
clrPopoverOpenCloseButton
|
|
5495
5491
|
>
|
|
5496
5492
|
<cds-icon shape="ellipsis-vertical" [attr.title]="buttonLabel || commonStrings.keys.rowActions"></cds-icon>
|
|
@@ -5514,7 +5510,7 @@ class ClrDatagridActionOverflow {
|
|
|
5514
5510
|
>
|
|
5515
5511
|
<ng-content></ng-content>
|
|
5516
5512
|
</div>
|
|
5517
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.CdkTrapFocusModule_CdkTrapFocus, selector: "[cdkTrapFocus]" }, { kind: "component", type: i5.ClrIcon, selector: "clr-icon, cds-icon", inputs: ["shape", "size", "direction", "flip", "solid", "status", "inverse", "badge"] }, { kind: "directive", type: i3.
|
|
5513
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.CdkTrapFocusModule_CdkTrapFocus, selector: "[cdkTrapFocus]" }, { kind: "component", type: i5.ClrIcon, selector: "clr-icon, cds-icon", inputs: ["shape", "size", "direction", "flip", "solid", "status", "inverse", "badge"] }, { kind: "directive", type: i3.ClrPopoverOrigin, selector: "[clrPopoverOrigin]" }, { kind: "directive", type: i3.ClrPopoverOpenCloseButton, selector: "[clrPopoverOpenCloseButton]", outputs: ["clrPopoverOpenCloseChange"] }, { kind: "directive", type: i3.ClrPopoverContent, selector: "[clrPopoverContent]", inputs: ["clrPopoverContent", "clrPopoverContentAt", "clrPopoverContentAvailablePositions", "clrPopoverContentType", "clrPopoverContentOutsideClickToClose", "clrPopoverContentScrollToClose", "clrPopoverContentOrigin"] }, { kind: "component", type: i2.ClrKeyFocus, selector: "[clrKeyFocus]", inputs: ["clrDirection", "clrFocusOnLoad", "clrKeyFocus"], outputs: ["clrFocusChange"] }] }); }
|
|
5518
5514
|
}
|
|
5519
5515
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrDatagridActionOverflow, decorators: [{
|
|
5520
5516
|
type: Component,
|
|
@@ -5532,7 +5528,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
5532
5528
|
[attr.aria-controls]="popoverId"
|
|
5533
5529
|
[attr.aria-expanded]="open"
|
|
5534
5530
|
[attr.aria-label]="buttonLabel || commonStrings.keys.rowActions"
|
|
5535
|
-
|
|
5531
|
+
clrPopoverOrigin
|
|
5536
5532
|
clrPopoverOpenCloseButton
|
|
5537
5533
|
>
|
|
5538
5534
|
<cds-icon shape="ellipsis-vertical" [attr.title]="buttonLabel || commonStrings.keys.rowActions"></cds-icon>
|
|
@@ -5702,7 +5698,7 @@ class ClrDatagridColumnToggle {
|
|
|
5702
5698
|
role="button"
|
|
5703
5699
|
type="button"
|
|
5704
5700
|
class="btn btn-sm column-toggle-action"
|
|
5705
|
-
|
|
5701
|
+
clrPopoverOrigin
|
|
5706
5702
|
clrPopoverOpenCloseButton
|
|
5707
5703
|
[attr.aria-controls]="popoverId"
|
|
5708
5704
|
[attr.aria-expanded]="openState"
|
|
@@ -5760,7 +5756,7 @@ class ClrDatagridColumnToggle {
|
|
|
5760
5756
|
<clr-dg-column-toggle-button (clrAllSelected)="allColumnsSelected()"></clr-dg-column-toggle-button>
|
|
5761
5757
|
</div>
|
|
5762
5758
|
</div>
|
|
5763
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i9.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.CdkTrapFocusModule_CdkTrapFocus, selector: "[cdkTrapFocus]" }, { kind: "component", type: i5.ClrIcon, selector: "clr-icon, cds-icon", inputs: ["shape", "size", "direction", "flip", "solid", "status", "inverse", "badge"] }, { kind: "directive", type: i4.ClrControlLabel, selector: "label", inputs: ["id", "for"] }, { kind: "directive", type: i7.ClrCheckbox, selector: "[clrCheckbox],[clrToggle]" }, { kind: "component", type: i7.ClrCheckboxWrapper, selector: "clr-checkbox-wrapper,clr-toggle-wrapper" }, { kind: "directive", type: i13.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i13.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i13.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.
|
|
5759
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i9.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.CdkTrapFocusModule_CdkTrapFocus, selector: "[cdkTrapFocus]" }, { kind: "component", type: i5.ClrIcon, selector: "clr-icon, cds-icon", inputs: ["shape", "size", "direction", "flip", "solid", "status", "inverse", "badge"] }, { kind: "directive", type: i4.ClrControlLabel, selector: "label", inputs: ["id", "for"] }, { kind: "directive", type: i7.ClrCheckbox, selector: "[clrCheckbox],[clrToggle]" }, { kind: "component", type: i7.ClrCheckboxWrapper, selector: "clr-checkbox-wrapper,clr-toggle-wrapper" }, { kind: "directive", type: i13.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i13.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i13.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.ClrPopoverOrigin, selector: "[clrPopoverOrigin]" }, { kind: "directive", type: i3.ClrPopoverCloseButton, selector: "[clrPopoverCloseButton]", outputs: ["clrPopoverOnCloseChange"] }, { kind: "directive", type: i3.ClrPopoverOpenCloseButton, selector: "[clrPopoverOpenCloseButton]", outputs: ["clrPopoverOpenCloseChange"] }, { kind: "directive", type: i3.ClrPopoverContent, selector: "[clrPopoverContent]", inputs: ["clrPopoverContent", "clrPopoverContentAt", "clrPopoverContentAvailablePositions", "clrPopoverContentType", "clrPopoverContentOutsideClickToClose", "clrPopoverContentScrollToClose", "clrPopoverContentOrigin"] }, { kind: "component", type: ClrDatagridColumnToggleButton, selector: "clr-dg-column-toggle-button", outputs: ["clrAllSelected"] }] }); }
|
|
5764
5760
|
}
|
|
5765
5761
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrDatagridColumnToggle, decorators: [{
|
|
5766
5762
|
type: Component,
|
|
@@ -5771,7 +5767,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
5771
5767
|
role="button"
|
|
5772
5768
|
type="button"
|
|
5773
5769
|
class="btn btn-sm column-toggle-action"
|
|
5774
|
-
|
|
5770
|
+
clrPopoverOrigin
|
|
5775
5771
|
clrPopoverOpenCloseButton
|
|
5776
5772
|
[attr.aria-controls]="popoverId"
|
|
5777
5773
|
[attr.aria-expanded]="openState"
|
|
@@ -7223,16 +7219,6 @@ class DatagridMainRenderer {
|
|
|
7223
7219
|
}
|
|
7224
7220
|
return false;
|
|
7225
7221
|
}
|
|
7226
|
-
/**
|
|
7227
|
-
* Computes the height of the datagrid.
|
|
7228
|
-
*
|
|
7229
|
-
* NOTE: We had to choose to set the height instead of the min-height because
|
|
7230
|
-
* IE 11 requires the height on the parent for the children flex grow/shrink properties to work.
|
|
7231
|
-
* When we used min-height, 1 1 auto doesn't used to work in IE11 :-(
|
|
7232
|
-
* But this doesn't affect the fix. It works in both fixed & variable height datagrids.
|
|
7233
|
-
*
|
|
7234
|
-
* Refer: http://stackoverflow.com/questions/24396205/flex-grow-not-working-in-internet-explorer-11-0
|
|
7235
|
-
*/
|
|
7236
7222
|
computeDatagridHeight() {
|
|
7237
7223
|
const height = window.getComputedStyle(this.el.nativeElement).height;
|
|
7238
7224
|
this.renderer.setStyle(this.el.nativeElement, 'height', height);
|
|
@@ -7441,7 +7427,7 @@ const CLR_DATAGRID_STANDALONE_DIRECTIVES = [ClrDatagridSingleSelectionValueAcces
|
|
|
7441
7427
|
const CLR_DATAGRID_SHARED_DIRECTIVES = [ClrIfExpanded];
|
|
7442
7428
|
class ClrDatagridModule {
|
|
7443
7429
|
constructor() {
|
|
7444
|
-
ClarityIcons.addIcons(ellipsisVerticalIcon, viewColumnsIcon, windowCloseIcon, arrowIcon, timesIcon, stepForward2Icon, angleDoubleIcon, filterGridCircleIcon, filterGridIcon);
|
|
7430
|
+
ClarityIcons.addIcons(ellipsisVerticalIcon, viewColumnsIcon, windowCloseIcon, arrowIcon, timesIcon, twoWayArrowsIcon, stepForward2Icon, angleDoubleIcon, filterGridCircleIcon, filterGridIcon);
|
|
7445
7431
|
}
|
|
7446
7432
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrDatagridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7447
7433
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrDatagridModule, declarations: [
|
|
@@ -7498,7 +7484,7 @@ class ClrDatagridModule {
|
|
|
7498
7484
|
ClrOutsideClickModule,
|
|
7499
7485
|
ClrExpandableAnimationModule,
|
|
7500
7486
|
ClrSpinnerModule,
|
|
7501
|
-
|
|
7487
|
+
ClrPopoverModuleNext,
|
|
7502
7488
|
ClrKeyFocusModule, ClrDatagridSingleSelectionValueAccessor, ClrIfExpanded], exports: [
|
|
7503
7489
|
// Core
|
|
7504
7490
|
ClrDatagrid,
|
|
@@ -7554,7 +7540,7 @@ class ClrDatagridModule {
|
|
|
7554
7540
|
ClrOutsideClickModule,
|
|
7555
7541
|
ClrExpandableAnimationModule,
|
|
7556
7542
|
ClrSpinnerModule,
|
|
7557
|
-
|
|
7543
|
+
ClrPopoverModuleNext,
|
|
7558
7544
|
ClrKeyFocusModule] }); }
|
|
7559
7545
|
}
|
|
7560
7546
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrDatagridModule, decorators: [{
|
|
@@ -7576,7 +7562,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
7576
7562
|
ClrOutsideClickModule,
|
|
7577
7563
|
ClrExpandableAnimationModule,
|
|
7578
7564
|
ClrSpinnerModule,
|
|
7579
|
-
|
|
7565
|
+
ClrPopoverModuleNext,
|
|
7580
7566
|
ClrKeyFocusModule,
|
|
7581
7567
|
CLR_DATAGRID_STANDALONE_DIRECTIVES,
|
|
7582
7568
|
CLR_DATAGRID_SHARED_DIRECTIVES,
|
|
@@ -7597,5 +7583,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
7597
7583
|
* Generated bundle index. Do not edit.
|
|
7598
7584
|
*/
|
|
7599
7585
|
|
|
7600
|
-
export { CLR_DATAGRID_DIRECTIVES, ClrDatagrid, ClrDatagridActionBar, ClrDatagridActionOverflow, ClrDatagridAriaSortOrder, ClrDatagridCell, ClrDatagridColumn, ClrDatagridColumnSeparator, ClrDatagridColumnToggle, ClrDatagridColumnToggleButton, ClrDatagridDetail, ClrDatagridDetailBody, ClrDatagridDetailHeader, ClrDatagridFilter, ClrDatagridFooter, ClrDatagridHideableColumn, ClrDatagridItems, ClrDatagridModule, ClrDatagridPageSize, ClrDatagridPagination, ClrDatagridPlaceholder, ClrDatagridRow, ClrDatagridRowDetail,
|
|
7586
|
+
export { ActionableOompaLoompa, CLR_DATAGRID_DIRECTIVES, ClrDatagrid, ClrDatagridActionBar, ClrDatagridActionOverflow, ClrDatagridAriaSortOrder, ClrDatagridCell, ClrDatagridColumn, ClrDatagridColumnSeparator, ClrDatagridColumnToggle, ClrDatagridColumnToggleButton, ClrDatagridDetail, ClrDatagridDetailBody, ClrDatagridDetailHeader, ClrDatagridFilter, ClrDatagridFooter, ClrDatagridHideableColumn, ClrDatagridItems, ClrDatagridModule, ClrDatagridPageSize, ClrDatagridPagination, ClrDatagridPlaceholder, ClrDatagridRow, ClrDatagridRowDetail, ClrDatagridSelectionCellDirective, ClrDatagridSingleSelectionValueAccessor, ClrDatagridSortOrder, ClrDatagridVirtualScrollDirective, ClrIfDetail, DatagridCellRenderer, DatagridDetailRegisterer, DatagridHeaderRenderer, DatagridMainRenderer, DatagridNumericFilter, DatagridPropertyComparator, DatagridPropertyNumericFilter, DatagridPropertyStringFilter, DatagridRowDetailRenderer, DatagridRowRenderer, DatagridStringFilter, DatagridWillyWonka, ExpandableOompaLoompa, Selection, SelectionType, WrappedCell, WrappedColumn, WrappedRow, selectionTypeAttribute };
|
|
7601
7587
|
//# sourceMappingURL=clr-angular-data-datagrid.mjs.map
|