@clr/angular 17.11.7 → 17.11.9
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/clarity.api.md +38 -17
- package/data/datagrid/datagrid-row.d.ts +1 -0
- package/data/datagrid/datagrid-single-selection.directive.d.ts +16 -0
- package/data/datagrid/datagrid.d.ts +3 -2
- package/data/datagrid/datagrid.module.d.ts +27 -26
- package/data/datagrid/index.d.ts +1 -0
- package/data/datagrid/providers/selection.d.ts +13 -3
- package/esm2020/data/datagrid/datagrid-row.mjs +8 -3
- package/esm2020/data/datagrid/datagrid-single-selection.directive.mjs +62 -0
- package/esm2020/data/datagrid/datagrid.mjs +6 -1
- package/esm2020/data/datagrid/datagrid.module.mjs +5 -1
- package/esm2020/data/datagrid/index.mjs +2 -1
- package/esm2020/data/datagrid/providers/selection.mjs +48 -34
- package/fesm2015/clr-angular.mjs +123 -37
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +122 -37
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/package.json +2 -2
package/clarity.api.md
CHANGED
|
@@ -21,6 +21,7 @@ import { CdkVirtualForOfContext } from '@angular/cdk/scrolling';
|
|
|
21
21
|
import { ChangeDetectorRef } from '@angular/core';
|
|
22
22
|
import { ComponentFactoryResolver } from '@angular/core';
|
|
23
23
|
import { ControlValueAccessor } from '@angular/forms';
|
|
24
|
+
import { DefaultValueAccessor } from '@angular/forms';
|
|
24
25
|
import { Directionality } from '@angular/cdk/bidi';
|
|
25
26
|
import { DoCheck } from '@angular/core';
|
|
26
27
|
import { DragDrop } from '@angular/cdk/drag-drop';
|
|
@@ -34,7 +35,7 @@ import { FormGroup } from '@angular/forms';
|
|
|
34
35
|
import { FormGroupDirective } from '@angular/forms';
|
|
35
36
|
import { FormGroupName } from '@angular/forms';
|
|
36
37
|
import * as i0 from '@angular/core';
|
|
37
|
-
import * as
|
|
38
|
+
import * as i44 from '@angular/forms';
|
|
38
39
|
import * as i6 from '@angular/common';
|
|
39
40
|
import * as i6_10 from '@angular/router';
|
|
40
41
|
import { InjectionToken } from '@angular/core';
|
|
@@ -991,10 +992,10 @@ export class ClrComboboxModule {
|
|
|
991
992
|
// Warning: (ae-forgotten-export) The symbol "i5_4" needs to be exported by the entry point index.d.ts
|
|
992
993
|
// Warning: (ae-forgotten-export) The symbol "i6_5" needs to be exported by the entry point index.d.ts
|
|
993
994
|
// Warning: (ae-forgotten-export) The symbol "i7_4" needs to be exported by the entry point index.d.ts
|
|
994
|
-
// Warning: (ae-forgotten-export) The symbol "
|
|
995
|
+
// Warning: (ae-forgotten-export) The symbol "i51" needs to be exported by the entry point index.d.ts
|
|
995
996
|
//
|
|
996
997
|
// (undocumented)
|
|
997
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrComboboxModule, [typeof i1_15.ClrCombobox, typeof i2_9.ClrComboboxContainer, typeof i3_9.ClrOptions, typeof i4_6.ClrOption, typeof i5_4.ClrOptionGroup, typeof i6_5.ClrOptionSelected, typeof i7_4.ClrOptionItems], [typeof i6.CommonModule, typeof
|
|
998
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrComboboxModule, [typeof i1_15.ClrCombobox, typeof i2_9.ClrComboboxContainer, typeof i3_9.ClrOptions, typeof i4_6.ClrOption, typeof i5_4.ClrOptionGroup, typeof i6_5.ClrOptionSelected, typeof i7_4.ClrOptionItems], [typeof i6.CommonModule, typeof i44.FormsModule, typeof i3_2.ClrIconModule, typeof i51.ClrKeyFocusModule, typeof i2_6.ClrCommonFormsModule, typeof i6_2.ClrConditionalModule, typeof i17_2.ClrPopoverModuleNext, typeof i15.ClrSpinnerModule], [typeof i2_6.ClrCommonFormsModule, typeof i1_15.ClrCombobox, typeof i2_9.ClrComboboxContainer, typeof i3_9.ClrOptions, typeof i4_6.ClrOption, typeof i5_4.ClrOptionGroup, typeof i6_5.ClrOptionSelected, typeof i6_2.ClrConditionalModule, typeof i7_4.ClrOptionItems]>;
|
|
998
999
|
}
|
|
999
1000
|
|
|
1000
1001
|
// @public (undocumented)
|
|
@@ -1269,7 +1270,7 @@ export class ClrControlSuccess extends ClrAbstractControl {
|
|
|
1269
1270
|
}
|
|
1270
1271
|
|
|
1271
1272
|
// @public (undocumented)
|
|
1272
|
-
export class ClrDatagrid<T = any> implements AfterContentInit, AfterViewInit, OnDestroy {
|
|
1273
|
+
export class ClrDatagrid<T = any> implements AfterContentInit, AfterViewInit, OnDestroy, DoCheck {
|
|
1273
1274
|
// Warning: (ae-forgotten-export) The symbol "DatagridRenderOrganizer" needs to be exported by the entry point index.d.ts
|
|
1274
1275
|
// Warning: (ae-forgotten-export) The symbol "StateProvider" needs to be exported by the entry point index.d.ts
|
|
1275
1276
|
// Warning: (ae-forgotten-export) The symbol "DisplayModeService" needs to be exported by the entry point index.d.ts
|
|
@@ -1339,6 +1340,8 @@ export class ClrDatagrid<T = any> implements AfterContentInit, AfterViewInit, On
|
|
|
1339
1340
|
ngAfterContentInit(): void;
|
|
1340
1341
|
ngAfterViewInit(): void;
|
|
1341
1342
|
// (undocumented)
|
|
1343
|
+
ngDoCheck(): void;
|
|
1344
|
+
// (undocumented)
|
|
1342
1345
|
ngOnDestroy(): void;
|
|
1343
1346
|
placeholder: ClrDatagridPlaceholder<T>;
|
|
1344
1347
|
// (undocumented)
|
|
@@ -1794,13 +1797,14 @@ export class ClrDatagridModule {
|
|
|
1794
1797
|
// Warning: (ae-forgotten-export) The symbol "i35" needs to be exported by the entry point index.d.ts
|
|
1795
1798
|
// Warning: (ae-forgotten-export) The symbol "i36" needs to be exported by the entry point index.d.ts
|
|
1796
1799
|
// Warning: (ae-forgotten-export) The symbol "i37" needs to be exported by the entry point index.d.ts
|
|
1797
|
-
// Warning: (ae-forgotten-export) The symbol "
|
|
1800
|
+
// Warning: (ae-forgotten-export) The symbol "i38" needs to be exported by the entry point index.d.ts
|
|
1798
1801
|
// Warning: (ae-forgotten-export) The symbol "i40" needs to be exported by the entry point index.d.ts
|
|
1799
|
-
// Warning: (ae-forgotten-export) The symbol "
|
|
1802
|
+
// Warning: (ae-forgotten-export) The symbol "i41" needs to be exported by the entry point index.d.ts
|
|
1800
1803
|
// Warning: (ae-forgotten-export) The symbol "i47" needs to be exported by the entry point index.d.ts
|
|
1804
|
+
// Warning: (ae-forgotten-export) The symbol "i48" needs to be exported by the entry point index.d.ts
|
|
1801
1805
|
//
|
|
1802
1806
|
// (undocumented)
|
|
1803
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatagridModule, [typeof i1_11.ClrDatagrid, typeof i2_5.ClrDatagridActionBar, typeof i3_5.ClrDatagridActionOverflow, typeof i4_3.ClrDatagridCell, typeof i5_2.ClrDatagridColumn, typeof i6_3.ClrDatagridColumnSeparator, typeof i7.ClrDatagridDetail, typeof i8_2.ClrDatagridDetailBody, typeof i9.ClrDatagridDetailHeader, typeof i10.ClrDatagridFilter, typeof i11.ClrDatagridFooter, typeof i12.ClrDatagridHideableColumn, typeof i13.ClrDatagridItems, typeof i14.ClrDatagridPageSize, typeof i15_2.ClrDatagridPagination, typeof i16.ClrDatagridPlaceholder, typeof i17.ClrDatagridRow, typeof i18.ClrDatagridRowDetail, typeof i19.ClrDatagridSelectionCellDirective, typeof i20.ClrDatagridVirtualScrollDirective, typeof i21.ClrIfDetail, typeof i22.DatagridDetailRegisterer, typeof i23.WrappedCell, typeof i24.WrappedColumn, typeof i25.WrappedRow, typeof i26.
|
|
1807
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatagridModule, [typeof i1_11.ClrDatagrid, typeof i2_5.ClrDatagridActionBar, typeof i3_5.ClrDatagridActionOverflow, typeof i4_3.ClrDatagridCell, typeof i5_2.ClrDatagridColumn, typeof i6_3.ClrDatagridColumnSeparator, typeof i7.ClrDatagridDetail, typeof i8_2.ClrDatagridDetailBody, typeof i9.ClrDatagridDetailHeader, typeof i10.ClrDatagridFilter, typeof i11.ClrDatagridFooter, typeof i12.ClrDatagridHideableColumn, typeof i13.ClrDatagridItems, typeof i14.ClrDatagridPageSize, typeof i15_2.ClrDatagridPagination, typeof i16.ClrDatagridPlaceholder, typeof i17.ClrDatagridRow, typeof i18.ClrDatagridRowDetail, typeof i19.ClrDatagridSelectionCellDirective, typeof i20.ClrDatagridVirtualScrollDirective, typeof i21.ClrIfDetail, typeof i22.DatagridDetailRegisterer, typeof i23.WrappedCell, typeof i24.WrappedColumn, typeof i25.WrappedRow, typeof i26.ClrDatagridSingleSelectionValueAccessor, typeof i27.DatagridCellRenderer, typeof i28.DatagridHeaderRenderer, typeof i29.DatagridMainRenderer, typeof i30.DatagridRowDetailRenderer, typeof i31.DatagridRowRenderer, typeof i32.ActionableOompaLoompa, typeof i33.DatagridWillyWonka, typeof i34.ExpandableOompaLoompa, typeof i35.DatagridNumericFilter, typeof i36.DatagridStringFilter, typeof i37.ClrDatagridColumnToggle, typeof i38.ClrDatagridColumnToggleButton], [typeof i6.CommonModule, typeof i40.CdkDragModule, typeof i41.CdkTrapFocusModule, typeof i3_2.ClrIconModule, typeof i9_2.ClrFormsModule, typeof i44.FormsModule, typeof i5_9.ClrLoadingModule, typeof i6_2.ClrConditionalModule, typeof i47.ClrOutsideClickModule, typeof i48.ClrExpandableAnimationModule, typeof i15.ClrSpinnerModule, typeof i17_2.ClrPopoverModuleNext, typeof i51.ClrKeyFocusModule], [typeof i1_11.ClrDatagrid, typeof i2_5.ClrDatagridActionBar, typeof i3_5.ClrDatagridActionOverflow, typeof i4_3.ClrDatagridCell, typeof i5_2.ClrDatagridColumn, typeof i6_3.ClrDatagridColumnSeparator, typeof i7.ClrDatagridDetail, typeof i8_2.ClrDatagridDetailBody, typeof i9.ClrDatagridDetailHeader, typeof i10.ClrDatagridFilter, typeof i11.ClrDatagridFooter, typeof i12.ClrDatagridHideableColumn, typeof i13.ClrDatagridItems, typeof i14.ClrDatagridPageSize, typeof i15_2.ClrDatagridPagination, typeof i16.ClrDatagridPlaceholder, typeof i17.ClrDatagridRow, typeof i18.ClrDatagridRowDetail, typeof i19.ClrDatagridSelectionCellDirective, typeof i20.ClrDatagridVirtualScrollDirective, typeof i21.ClrIfDetail, typeof i22.DatagridDetailRegisterer, typeof i23.WrappedCell, typeof i24.WrappedColumn, typeof i25.WrappedRow, typeof i26.ClrDatagridSingleSelectionValueAccessor, typeof i27.DatagridCellRenderer, typeof i28.DatagridHeaderRenderer, typeof i29.DatagridMainRenderer, typeof i30.DatagridRowDetailRenderer, typeof i31.DatagridRowRenderer, typeof i32.ActionableOompaLoompa, typeof i33.DatagridWillyWonka, typeof i34.ExpandableOompaLoompa, typeof i35.DatagridNumericFilter, typeof i36.DatagridStringFilter]>;
|
|
1804
1808
|
}
|
|
1805
1809
|
|
|
1806
1810
|
// @public (undocumented)
|
|
@@ -1977,6 +1981,8 @@ export class ClrDatagridRow<T = any> implements AfterContentInit, AfterViewInit
|
|
|
1977
1981
|
// (undocumented)
|
|
1978
1982
|
toggleExpand(): void;
|
|
1979
1983
|
// (undocumented)
|
|
1984
|
+
get trackBy(): ClrDatagridItemsTrackByFunction<any>;
|
|
1985
|
+
// (undocumented)
|
|
1980
1986
|
get _view(): any;
|
|
1981
1987
|
// (undocumented)
|
|
1982
1988
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDatagridRow<any>, "clr-dg-row", never, { "detailDisabled": "clrDgDetailDisabled"; "detailHidden": "clrDgDetailHidden"; "skeletonLoading": "clrDgSkeletonLoading"; "item": "clrDgItem"; "clrDgSelectable": "clrDgSelectable"; "selected": "clrDgSelected"; "expanded": "clrDgExpanded"; "clrDgDetailOpenLabel": "clrDgDetailOpenLabel"; "clrDgDetailCloseLabel": "clrDgDetailCloseLabel"; "clrDgRowSelectionLabel": "clrDgRowSelectionLabel"; }, { "selectedChanged": "clrDgSelectedChange"; "expandedChange": "clrDgExpandedChange"; }, ["dgCells"], ["clr-dg-action-overflow", "clr-dg-cell", "clr-dg-row-detail"], false, never>;
|
|
@@ -2316,7 +2322,7 @@ export class ClrDatepickerModule {
|
|
|
2316
2322
|
// Warning: (ae-forgotten-export) The symbol "i20_2" needs to be exported by the entry point index.d.ts
|
|
2317
2323
|
//
|
|
2318
2324
|
// (undocumented)
|
|
2319
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatepickerModule, [typeof i1_18.ClrDay, typeof i2_12.ClrDateContainer, typeof i3_12.ClrDateInput, typeof i4_8.ClrDateInputValidator, typeof i5_6.ClrStartDateInput, typeof i6_6.ClrEndDateInput, typeof i4_8.ClrStartDateInputValidator, typeof i4_8.ClrEndDateInputValidator, typeof i7_5.ClrDatepickerViewManager, typeof i8_4.ClrMonthpicker, typeof i9_4.ClrYearpicker, typeof i10_3.ClrDaypicker, typeof i11_2.ClrCalendar, typeof i12_2.ClrDatepickerActions], [typeof i6.CommonModule, typeof
|
|
2325
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatepickerModule, [typeof i1_18.ClrDay, typeof i2_12.ClrDateContainer, typeof i3_12.ClrDateInput, typeof i4_8.ClrDateInputValidator, typeof i5_6.ClrStartDateInput, typeof i6_6.ClrEndDateInput, typeof i4_8.ClrStartDateInputValidator, typeof i4_8.ClrEndDateInputValidator, typeof i7_5.ClrDatepickerViewManager, typeof i8_4.ClrMonthpicker, typeof i9_4.ClrYearpicker, typeof i10_3.ClrDaypicker, typeof i11_2.ClrCalendar, typeof i12_2.ClrDatepickerActions], [typeof i6.CommonModule, typeof i41.CdkTrapFocusModule, typeof i7_3.ClrHostWrappingModule, typeof i6_2.ClrConditionalModule, typeof i17_2.ClrPopoverModuleNext, typeof i3_2.ClrIconModule, typeof i2_6.ClrCommonFormsModule, typeof i20_2.ClrVerticalNavModule], [typeof i1_18.ClrDay, typeof i2_12.ClrDateContainer, typeof i3_12.ClrDateInput, typeof i4_8.ClrDateInputValidator, typeof i5_6.ClrStartDateInput, typeof i6_6.ClrEndDateInput, typeof i4_8.ClrStartDateInputValidator, typeof i4_8.ClrEndDateInputValidator, typeof i7_5.ClrDatepickerViewManager, typeof i8_4.ClrMonthpicker, typeof i9_4.ClrYearpicker, typeof i10_3.ClrDaypicker, typeof i11_2.ClrCalendar, typeof i12_2.ClrDatepickerActions]>;
|
|
2320
2326
|
}
|
|
2321
2327
|
|
|
2322
2328
|
// @public (undocumented)
|
|
@@ -3031,7 +3037,7 @@ export class ClrInputModule {
|
|
|
3031
3037
|
// Warning: (ae-forgotten-export) The symbol "i2_15" needs to be exported by the entry point index.d.ts
|
|
3032
3038
|
//
|
|
3033
3039
|
// (undocumented)
|
|
3034
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrInputModule, [typeof i1_22.ClrInput, typeof i2_15.ClrInputContainer], [typeof i6.CommonModule, typeof
|
|
3040
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrInputModule, [typeof i1_22.ClrInput, typeof i2_15.ClrInputContainer], [typeof i6.CommonModule, typeof i44.FormsModule, typeof i3_2.ClrIconModule, typeof i2_6.ClrCommonFormsModule], [typeof i2_6.ClrCommonFormsModule, typeof i1_22.ClrInput, typeof i2_15.ClrInputContainer]>;
|
|
3035
3041
|
}
|
|
3036
3042
|
|
|
3037
3043
|
// @public (undocumented)
|
|
@@ -3296,7 +3302,7 @@ export class ClrModalModule {
|
|
|
3296
3302
|
// Warning: (ae-forgotten-export) The symbol "i3_20" needs to be exported by the entry point index.d.ts
|
|
3297
3303
|
//
|
|
3298
3304
|
// (undocumented)
|
|
3299
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrModalModule, [typeof i1_35.ClrModal, typeof i2_27.ClrModalBody, typeof i3_20.ClrModalHostComponent], [typeof i6.CommonModule, typeof
|
|
3305
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrModalModule, [typeof i1_35.ClrModal, typeof i2_27.ClrModalBody, typeof i3_20.ClrModalHostComponent], [typeof i6.CommonModule, typeof i41.CdkTrapFocusModule, typeof i3_2.ClrIconModule], [typeof i1_35.ClrModal, typeof i2_27.ClrModalBody, typeof i3_20.ClrModalHostComponent, typeof i3_2.ClrIconModule]>;
|
|
3300
3306
|
}
|
|
3301
3307
|
|
|
3302
3308
|
// @public (undocumented)
|
|
@@ -3448,7 +3454,7 @@ export class ClrNumberInputModule {
|
|
|
3448
3454
|
// Warning: (ae-forgotten-export) The symbol "i2_22" needs to be exported by the entry point index.d.ts
|
|
3449
3455
|
//
|
|
3450
3456
|
// (undocumented)
|
|
3451
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrNumberInputModule, [typeof i1_29.ClrNumberInput, typeof i2_22.ClrNumberInputContainer], [typeof i6.CommonModule, typeof
|
|
3457
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrNumberInputModule, [typeof i1_29.ClrNumberInput, typeof i2_22.ClrNumberInputContainer], [typeof i6.CommonModule, typeof i44.FormsModule, typeof i3_2.ClrIconModule, typeof i2_6.ClrCommonFormsModule], [typeof i2_6.ClrCommonFormsModule, typeof i1_29.ClrNumberInput, typeof i2_22.ClrNumberInputContainer]>;
|
|
3452
3458
|
}
|
|
3453
3459
|
|
|
3454
3460
|
// @public (undocumented)
|
|
@@ -3623,7 +3629,7 @@ export class ClrPasswordModule {
|
|
|
3623
3629
|
// Warning: (ae-forgotten-export) The symbol "i2_16" needs to be exported by the entry point index.d.ts
|
|
3624
3630
|
//
|
|
3625
3631
|
// (undocumented)
|
|
3626
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrPasswordModule, [typeof i1_23.ClrPassword, typeof i2_16.ClrPasswordContainer], [typeof i6.CommonModule, typeof
|
|
3632
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrPasswordModule, [typeof i1_23.ClrPassword, typeof i2_16.ClrPasswordContainer], [typeof i6.CommonModule, typeof i44.FormsModule, typeof i3_2.ClrIconModule, typeof i2_6.ClrCommonFormsModule], [typeof i2_6.ClrCommonFormsModule, typeof i1_23.ClrPassword, typeof i2_16.ClrPasswordContainer]>;
|
|
3627
3633
|
}
|
|
3628
3634
|
|
|
3629
3635
|
// @public (undocumented)
|
|
@@ -4037,7 +4043,7 @@ export class ClrSelectModule {
|
|
|
4037
4043
|
// Warning: (ae-forgotten-export) The symbol "i2_18" needs to be exported by the entry point index.d.ts
|
|
4038
4044
|
//
|
|
4039
4045
|
// (undocumented)
|
|
4040
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrSelectModule, [typeof i1_25.ClrSelect, typeof i2_18.ClrSelectContainer], [typeof i6.CommonModule, typeof
|
|
4046
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrSelectModule, [typeof i1_25.ClrSelect, typeof i2_18.ClrSelectContainer], [typeof i6.CommonModule, typeof i44.FormsModule, typeof i3_2.ClrIconModule, typeof i2_6.ClrCommonFormsModule], [typeof i2_6.ClrCommonFormsModule, typeof i1_25.ClrSelect, typeof i2_18.ClrSelectContainer]>;
|
|
4041
4047
|
}
|
|
4042
4048
|
|
|
4043
4049
|
// @public (undocumented)
|
|
@@ -4114,7 +4120,7 @@ export class ClrSidePanelModule {
|
|
|
4114
4120
|
// Warning: (ae-forgotten-export) The symbol "i1_49" needs to be exported by the entry point index.d.ts
|
|
4115
4121
|
//
|
|
4116
4122
|
// (undocumented)
|
|
4117
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrSidePanelModule, [typeof i1_49.ClrSidePanel], [typeof i6.CommonModule, typeof
|
|
4123
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrSidePanelModule, [typeof i1_49.ClrSidePanel], [typeof i6.CommonModule, typeof i41.CdkTrapFocusModule, typeof i3_2.ClrIconModule, typeof i4_13.ClrModalModule], [typeof i1_49.ClrSidePanel, typeof i4_13.ClrModalModule, typeof i3_2.ClrIconModule]>;
|
|
4118
4124
|
}
|
|
4119
4125
|
|
|
4120
4126
|
// @public (undocumented)
|
|
@@ -4360,7 +4366,7 @@ export class ClrStackViewModule {
|
|
|
4360
4366
|
// Warning: (ae-forgotten-export) The symbol "i5_10" needs to be exported by the entry point index.d.ts
|
|
4361
4367
|
//
|
|
4362
4368
|
// (undocumented)
|
|
4363
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrStackViewModule, [typeof i1_33.ClrStackView, typeof i2_25.ClrStackHeader, typeof i3_17.ClrStackBlock, typeof i4_11.ClrStackContentInput, typeof i5_10.ClrStackViewLabel, typeof i5_10.ClrStackViewCustomTags], [typeof i6.CommonModule, typeof
|
|
4369
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrStackViewModule, [typeof i1_33.ClrStackView, typeof i2_25.ClrStackHeader, typeof i3_17.ClrStackBlock, typeof i4_11.ClrStackContentInput, typeof i5_10.ClrStackViewLabel, typeof i5_10.ClrStackViewCustomTags], [typeof i6.CommonModule, typeof i44.FormsModule, typeof i3_2.ClrIconModule, typeof i48.ClrExpandableAnimationModule], [typeof i1_33.ClrStackView, typeof i2_25.ClrStackHeader, typeof i3_17.ClrStackBlock, typeof i4_11.ClrStackContentInput, typeof i5_10.ClrStackViewLabel, typeof i5_10.ClrStackViewCustomTags]>;
|
|
4364
4370
|
}
|
|
4365
4371
|
|
|
4366
4372
|
// @public (undocumented)
|
|
@@ -4709,7 +4715,7 @@ export class ClrTabsModule {
|
|
|
4709
4715
|
// Warning: (ae-forgotten-export) The symbol "i13_3" needs to be exported by the entry point index.d.ts
|
|
4710
4716
|
//
|
|
4711
4717
|
// (undocumented)
|
|
4712
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrTabsModule, [typeof i1_43.ClrTabContent, typeof i2_32.ClrTab, typeof i3_23.ClrTabs, typeof i4_15.ClrTabOverflowContent, typeof i5_13.ClrTabLink, typeof i6_9.ClrTabAction, typeof i7_9.ClrTabsActions, typeof i8_7.TabsWillyWonka, typeof i9_6.ActiveOompaLoompa], [typeof i6.CommonModule, typeof i6_2.ClrConditionalModule, typeof i3_2.ClrIconModule, typeof i13_3.ClrTemplateRefModule, typeof
|
|
4718
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrTabsModule, [typeof i1_43.ClrTabContent, typeof i2_32.ClrTab, typeof i3_23.ClrTabs, typeof i4_15.ClrTabOverflowContent, typeof i5_13.ClrTabLink, typeof i6_9.ClrTabAction, typeof i7_9.ClrTabsActions, typeof i8_7.TabsWillyWonka, typeof i9_6.ActiveOompaLoompa], [typeof i6.CommonModule, typeof i6_2.ClrConditionalModule, typeof i3_2.ClrIconModule, typeof i13_3.ClrTemplateRefModule, typeof i51.ClrKeyFocusModule], [typeof i1_43.ClrTabContent, typeof i2_32.ClrTab, typeof i3_23.ClrTabs, typeof i4_15.ClrTabOverflowContent, typeof i5_13.ClrTabLink, typeof i6_9.ClrTabAction, typeof i7_9.ClrTabsActions, typeof i8_7.TabsWillyWonka, typeof i9_6.ActiveOompaLoompa, typeof i6_2.ClrConditionalModule]>;
|
|
4713
4719
|
}
|
|
4714
4720
|
|
|
4715
4721
|
// @public (undocumented)
|
|
@@ -4742,7 +4748,7 @@ export class ClrTextareaModule {
|
|
|
4742
4748
|
// Warning: (ae-forgotten-export) The symbol "i2_19" needs to be exported by the entry point index.d.ts
|
|
4743
4749
|
//
|
|
4744
4750
|
// (undocumented)
|
|
4745
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrTextareaModule, [typeof i1_26.ClrTextarea, typeof i2_19.ClrTextareaContainer], [typeof i6.CommonModule, typeof
|
|
4751
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrTextareaModule, [typeof i1_26.ClrTextarea, typeof i2_19.ClrTextareaContainer], [typeof i6.CommonModule, typeof i44.FormsModule, typeof i3_2.ClrIconModule, typeof i2_6.ClrCommonFormsModule], [typeof i2_6.ClrCommonFormsModule, typeof i1_26.ClrTextarea, typeof i2_19.ClrTextareaContainer]>;
|
|
4746
4752
|
}
|
|
4747
4753
|
|
|
4748
4754
|
// @public (undocumented)
|
|
@@ -5967,6 +5973,21 @@ export class ÇlrDatagridSelectionCellDirective {
|
|
|
5967
5973
|
static ɵfac: i0.ɵɵFactoryDeclaration<ÇlrDatagridSelectionCellDirective, never>;
|
|
5968
5974
|
}
|
|
5969
5975
|
|
|
5976
|
+
// @public (undocumented)
|
|
5977
|
+
export class ÇlrDatagridSingleSelectionValueAccessor extends DefaultValueAccessor {
|
|
5978
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLInputElement>);
|
|
5979
|
+
// (undocumented)
|
|
5980
|
+
clrDgItemsTrackBy: (value: any) => unknown;
|
|
5981
|
+
// (undocumented)
|
|
5982
|
+
value: any;
|
|
5983
|
+
// (undocumented)
|
|
5984
|
+
writeValue(value: any): void;
|
|
5985
|
+
// (undocumented)
|
|
5986
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ÇlrDatagridSingleSelectionValueAccessor, "input[type=radio][clrDgSingleSelectionRadio]", never, { "value": "value"; "clrDgItemsTrackBy": "clrDgItemsTrackBy"; }, {}, never, never, false, never>;
|
|
5987
|
+
// (undocumented)
|
|
5988
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ÇlrDatagridSingleSelectionValueAccessor, never>;
|
|
5989
|
+
}
|
|
5990
|
+
|
|
5970
5991
|
// @public (undocumented)
|
|
5971
5992
|
export class ÇlrDatagridVirtualScrollDirective<T> implements AfterViewInit, DoCheck, OnDestroy {
|
|
5972
5993
|
constructor(changeDetectorRef: ChangeDetectorRef, iterableDiffers: IterableDiffers, items: Items<T>, ngZone: NgZone, renderer2: Renderer2, templateRef: TemplateRef<CdkVirtualForOfContext<T>>, viewContainerRef: ViewContainerRef, directionality: Directionality, scrollDispatcher: ScrollDispatcher, viewportRuler: ViewportRuler, datagrid: ClrDatagrid, columnsService: ColumnsService, injector: EnvironmentInjector);
|
|
@@ -85,6 +85,7 @@ export declare class ClrDatagridRow<T = any> implements AfterContentInit, AfterV
|
|
|
85
85
|
get clrDgRowSelectionLabel(): string;
|
|
86
86
|
set clrDgRowSelectionLabel(label: string);
|
|
87
87
|
get _view(): any;
|
|
88
|
+
get trackBy(): import("./providers/items").ClrDatagridItemsTrackByFunction<any>;
|
|
88
89
|
ngOnInit(): void;
|
|
89
90
|
ngAfterContentInit(): void;
|
|
90
91
|
ngAfterViewInit(): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { DefaultValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ClrDatagridSingleSelectionValueAccessor extends DefaultValueAccessor {
|
|
5
|
+
private renderer;
|
|
6
|
+
private elementRef;
|
|
7
|
+
value: any;
|
|
8
|
+
clrDgItemsTrackBy: (value: any) => unknown;
|
|
9
|
+
private model;
|
|
10
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLInputElement>);
|
|
11
|
+
writeValue(value: any): void;
|
|
12
|
+
private keyOf;
|
|
13
|
+
private updateChecked;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDatagridSingleSelectionValueAccessor, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrDatagridSingleSelectionValueAccessor, "input[type=radio][clrDgSingleSelectionRadio]", never, { "value": "value"; "clrDgItemsTrackBy": "clrDgItemsTrackBy"; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, QueryList, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, AfterViewInit, DoCheck, ElementRef, EventEmitter, NgZone, OnDestroy, QueryList, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ClrCommonStringsService } from '../../utils/i18n/common-strings.service';
|
|
3
3
|
import { ClrDatagridColumn } from './datagrid-column';
|
|
4
4
|
import { ClrDatagridItems } from './datagrid-items';
|
|
@@ -18,7 +18,7 @@ import { StateProvider } from './providers/state.provider';
|
|
|
18
18
|
import { DatagridRenderOrganizer } from './render/render-organizer';
|
|
19
19
|
import { CellCoordinates, KeyNavigationGridController } from './utils/key-navigation-grid.controller';
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
|
-
export declare class ClrDatagrid<T = any> implements AfterContentInit, AfterViewInit, OnDestroy {
|
|
21
|
+
export declare class ClrDatagrid<T = any> implements AfterContentInit, AfterViewInit, OnDestroy, DoCheck {
|
|
22
22
|
private organizer;
|
|
23
23
|
items: Items<T>;
|
|
24
24
|
expandableRows: ExpandableRowsCount;
|
|
@@ -125,6 +125,7 @@ export declare class ClrDatagrid<T = any> implements AfterContentInit, AfterView
|
|
|
125
125
|
* Our setup happens in the view of some of our components, so we wait for it to be done before starting
|
|
126
126
|
*/
|
|
127
127
|
ngAfterViewInit(): void;
|
|
128
|
+
ngDoCheck(): void;
|
|
128
129
|
ngOnDestroy(): void;
|
|
129
130
|
toggleAllSelected($event: any): void;
|
|
130
131
|
resize(): void;
|
|
@@ -25,35 +25,36 @@ import * as i22 from "./datagrid-detail-registerer";
|
|
|
25
25
|
import * as i23 from "./wrapped-cell";
|
|
26
26
|
import * as i24 from "./wrapped-column";
|
|
27
27
|
import * as i25 from "./wrapped-row";
|
|
28
|
-
import * as i26 from "./
|
|
29
|
-
import * as i27 from "./render/
|
|
30
|
-
import * as i28 from "./render/
|
|
31
|
-
import * as i29 from "./render/
|
|
32
|
-
import * as i30 from "./render/row-renderer";
|
|
33
|
-
import * as i31 from "./
|
|
34
|
-
import * as i32 from "./chocolate/
|
|
35
|
-
import * as i33 from "./chocolate/
|
|
36
|
-
import * as i34 from "./
|
|
37
|
-
import * as i35 from "./built-in/filters/datagrid-
|
|
38
|
-
import * as i36 from "./datagrid-
|
|
39
|
-
import * as i37 from "./datagrid-column-toggle
|
|
40
|
-
import * as i38 from "
|
|
41
|
-
import * as i39 from "
|
|
42
|
-
import * as i40 from "../../utils/cdk/cdk-
|
|
43
|
-
import * as i41 from "../../
|
|
44
|
-
import * as i42 from "../../
|
|
45
|
-
import * as i43 from "
|
|
46
|
-
import * as i44 from "
|
|
47
|
-
import * as i45 from "../../utils/
|
|
48
|
-
import * as i46 from "../../utils/
|
|
49
|
-
import * as i47 from "../../utils/
|
|
50
|
-
import * as i48 from "../../
|
|
51
|
-
import * as i49 from "../../
|
|
52
|
-
import * as i50 from "../../utils/
|
|
28
|
+
import * as i26 from "./datagrid-single-selection.directive";
|
|
29
|
+
import * as i27 from "./render/cell-renderer";
|
|
30
|
+
import * as i28 from "./render/header-renderer";
|
|
31
|
+
import * as i29 from "./render/main-renderer";
|
|
32
|
+
import * as i30 from "./render/row-detail-renderer";
|
|
33
|
+
import * as i31 from "./render/row-renderer";
|
|
34
|
+
import * as i32 from "./chocolate/actionable-oompa-loompa";
|
|
35
|
+
import * as i33 from "./chocolate/datagrid-willy-wonka";
|
|
36
|
+
import * as i34 from "./chocolate/expandable-oompa-loompa";
|
|
37
|
+
import * as i35 from "./built-in/filters/datagrid-numeric-filter";
|
|
38
|
+
import * as i36 from "./built-in/filters/datagrid-string-filter";
|
|
39
|
+
import * as i37 from "./datagrid-column-toggle";
|
|
40
|
+
import * as i38 from "./datagrid-column-toggle-button";
|
|
41
|
+
import * as i39 from "@angular/common";
|
|
42
|
+
import * as i40 from "../../utils/cdk/cdk-drag.module";
|
|
43
|
+
import * as i41 from "../../utils/cdk/cdk-trap-focus.module";
|
|
44
|
+
import * as i42 from "../../icon/icon.module";
|
|
45
|
+
import * as i43 from "../../forms/forms.module";
|
|
46
|
+
import * as i44 from "@angular/forms";
|
|
47
|
+
import * as i45 from "../../utils/loading/loading.module";
|
|
48
|
+
import * as i46 from "../../utils/conditional/conditional.module";
|
|
49
|
+
import * as i47 from "../../utils/outside-click/outside-click.module";
|
|
50
|
+
import * as i48 from "../../utils/animations/expandable-animation/expandable-animation.module";
|
|
51
|
+
import * as i49 from "../../progress/spinner/spinner.module";
|
|
52
|
+
import * as i50 from "../../utils/popover/popover.module";
|
|
53
|
+
import * as i51 from "../../utils/focus/key-focus/key-focus.module";
|
|
53
54
|
export declare const CLR_DATAGRID_DIRECTIVES: Type<any>[];
|
|
54
55
|
export declare class ClrDatagridModule {
|
|
55
56
|
constructor();
|
|
56
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDatagridModule, never>;
|
|
57
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatagridModule, [typeof i1.ClrDatagrid, typeof i2.ClrDatagridActionBar, typeof i3.ClrDatagridActionOverflow, typeof i4.ClrDatagridCell, typeof i5.ClrDatagridColumn, typeof i6.ClrDatagridColumnSeparator, typeof i7.ClrDatagridDetail, typeof i8.ClrDatagridDetailBody, typeof i9.ClrDatagridDetailHeader, typeof i10.ClrDatagridFilter, typeof i11.ClrDatagridFooter, typeof i12.ClrDatagridHideableColumn, typeof i13.ClrDatagridItems, typeof i14.ClrDatagridPageSize, typeof i15.ClrDatagridPagination, typeof i16.ClrDatagridPlaceholder, typeof i17.ClrDatagridRow, typeof i18.ClrDatagridRowDetail, typeof i19.ClrDatagridSelectionCellDirective, typeof i20.ClrDatagridVirtualScrollDirective, typeof i21.ClrIfDetail, typeof i22.DatagridDetailRegisterer, typeof i23.WrappedCell, typeof i24.WrappedColumn, typeof i25.WrappedRow, typeof i26.
|
|
58
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatagridModule, [typeof i1.ClrDatagrid, typeof i2.ClrDatagridActionBar, typeof i3.ClrDatagridActionOverflow, typeof i4.ClrDatagridCell, typeof i5.ClrDatagridColumn, typeof i6.ClrDatagridColumnSeparator, typeof i7.ClrDatagridDetail, typeof i8.ClrDatagridDetailBody, typeof i9.ClrDatagridDetailHeader, typeof i10.ClrDatagridFilter, typeof i11.ClrDatagridFooter, typeof i12.ClrDatagridHideableColumn, typeof i13.ClrDatagridItems, typeof i14.ClrDatagridPageSize, typeof i15.ClrDatagridPagination, typeof i16.ClrDatagridPlaceholder, typeof i17.ClrDatagridRow, typeof i18.ClrDatagridRowDetail, typeof i19.ClrDatagridSelectionCellDirective, typeof i20.ClrDatagridVirtualScrollDirective, typeof i21.ClrIfDetail, typeof i22.DatagridDetailRegisterer, typeof i23.WrappedCell, typeof i24.WrappedColumn, typeof i25.WrappedRow, typeof i26.ClrDatagridSingleSelectionValueAccessor, typeof i27.DatagridCellRenderer, typeof i28.DatagridHeaderRenderer, typeof i29.DatagridMainRenderer, typeof i30.DatagridRowDetailRenderer, typeof i31.DatagridRowRenderer, typeof i32.ActionableOompaLoompa, typeof i33.DatagridWillyWonka, typeof i34.ExpandableOompaLoompa, typeof i35.DatagridNumericFilter, typeof i36.DatagridStringFilter, typeof i37.ClrDatagridColumnToggle, typeof i38.ClrDatagridColumnToggleButton], [typeof i39.CommonModule, typeof i40.CdkDragModule, typeof i41.CdkTrapFocusModule, typeof i42.ClrIconModule, typeof i43.ClrFormsModule, typeof i44.FormsModule, typeof i45.ClrLoadingModule, typeof i46.ClrConditionalModule, typeof i47.ClrOutsideClickModule, typeof i48.ClrExpandableAnimationModule, typeof i49.ClrSpinnerModule, typeof i50.ClrPopoverModuleNext, typeof i51.ClrKeyFocusModule], [typeof i1.ClrDatagrid, typeof i2.ClrDatagridActionBar, typeof i3.ClrDatagridActionOverflow, typeof i4.ClrDatagridCell, typeof i5.ClrDatagridColumn, typeof i6.ClrDatagridColumnSeparator, typeof i7.ClrDatagridDetail, typeof i8.ClrDatagridDetailBody, typeof i9.ClrDatagridDetailHeader, typeof i10.ClrDatagridFilter, typeof i11.ClrDatagridFooter, typeof i12.ClrDatagridHideableColumn, typeof i13.ClrDatagridItems, typeof i14.ClrDatagridPageSize, typeof i15.ClrDatagridPagination, typeof i16.ClrDatagridPlaceholder, typeof i17.ClrDatagridRow, typeof i18.ClrDatagridRowDetail, typeof i19.ClrDatagridSelectionCellDirective, typeof i20.ClrDatagridVirtualScrollDirective, typeof i21.ClrIfDetail, typeof i22.DatagridDetailRegisterer, typeof i23.WrappedCell, typeof i24.WrappedColumn, typeof i25.WrappedRow, typeof i26.ClrDatagridSingleSelectionValueAccessor, typeof i27.DatagridCellRenderer, typeof i28.DatagridHeaderRenderer, typeof i29.DatagridMainRenderer, typeof i30.DatagridRowDetailRenderer, typeof i31.DatagridRowRenderer, typeof i32.ActionableOompaLoompa, typeof i33.DatagridWillyWonka, typeof i34.ExpandableOompaLoompa, typeof i35.DatagridNumericFilter, typeof i36.DatagridStringFilter]>;
|
|
58
59
|
static ɵinj: i0.ɵɵInjectorDeclaration<ClrDatagridModule>;
|
|
59
60
|
}
|
package/data/datagrid/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export * from './datagrid.module';
|
|
|
35
35
|
export { ClrDatagridItemsTrackByFunction } from './providers/items';
|
|
36
36
|
export { ClrDatagridSelectionCellDirective as ÇlrDatagridSelectionCellDirective } from './datagrid-selection-cell.directive';
|
|
37
37
|
export { ClrDatagridVirtualScrollDirective as ÇlrDatagridVirtualScrollDirective } from './datagrid-virtual-scroll.directive';
|
|
38
|
+
export { ClrDatagridSingleSelectionValueAccessor as ÇlrDatagridSingleSelectionValueAccessor } from './datagrid-single-selection.directive';
|
|
38
39
|
export { DatagridDetailRegisterer as ÇlrDatagridDetailRegisterer } from './datagrid-detail-registerer';
|
|
39
40
|
export { WrappedCell as ÇlrWrappedCell } from './wrapped-cell';
|
|
40
41
|
export { WrappedColumn as ÇlrWrappedColumn } from './wrapped-column';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IterableDiffers } from '@angular/core';
|
|
1
2
|
import { Observable } from 'rxjs';
|
|
2
3
|
import { SelectionType } from '../enums/selection-type';
|
|
3
4
|
import { FiltersProvider } from './filters';
|
|
@@ -5,6 +6,7 @@ import { Items } from './items';
|
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class Selection<T = any> {
|
|
7
8
|
private _items;
|
|
9
|
+
private differs;
|
|
8
10
|
id: string;
|
|
9
11
|
preserveSelection: boolean;
|
|
10
12
|
/**
|
|
@@ -17,9 +19,8 @@ export declare class Selection<T = any> {
|
|
|
17
19
|
shiftPressed: boolean;
|
|
18
20
|
/** @deprecated since 2.0, remove in 3.0 */
|
|
19
21
|
rowSelectionMode: boolean;
|
|
20
|
-
private prevSelectionRefs;
|
|
21
|
-
private prevSingleSelectionRef;
|
|
22
22
|
private lockedRefs;
|
|
23
|
+
private _currentSelectionRefs;
|
|
23
24
|
private valueCollector;
|
|
24
25
|
private _selectionType;
|
|
25
26
|
/**
|
|
@@ -38,7 +39,12 @@ export declare class Selection<T = any> {
|
|
|
38
39
|
* Subscriptions to the other providers changes.
|
|
39
40
|
*/
|
|
40
41
|
private subscriptions;
|
|
41
|
-
|
|
42
|
+
/**
|
|
43
|
+
* Differ to track changes of multi selection.
|
|
44
|
+
*/
|
|
45
|
+
private _differ;
|
|
46
|
+
private trackBy;
|
|
47
|
+
constructor(_items: Items<T>, filters: FiltersProvider<T>, differs: IterableDiffers);
|
|
42
48
|
get selectionType(): SelectionType;
|
|
43
49
|
set selectionType(value: SelectionType);
|
|
44
50
|
get current(): T[];
|
|
@@ -47,6 +53,9 @@ export declare class Selection<T = any> {
|
|
|
47
53
|
set currentSingle(value: T);
|
|
48
54
|
get change(): Observable<T[] | T>;
|
|
49
55
|
private get _selectable();
|
|
56
|
+
private get currentSelectionRefs();
|
|
57
|
+
private get currentSingleSelectionRef();
|
|
58
|
+
checkForChanges(): void;
|
|
50
59
|
clearSelection(): void;
|
|
51
60
|
/**
|
|
52
61
|
* Cleans up our subscriptions to other providers
|
|
@@ -90,6 +99,7 @@ export declare class Selection<T = any> {
|
|
|
90
99
|
*/
|
|
91
100
|
private canItBeLocked;
|
|
92
101
|
private emitChange;
|
|
102
|
+
private updateCurrentSelectionRefs;
|
|
93
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<Selection<any>, never>;
|
|
94
104
|
static ɵprov: i0.ɵɵInjectableDeclaration<Selection<any>>;
|
|
95
105
|
}
|