@clr/angular 17.11.7 → 17.11.8
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 +35 -16
- package/data/datagrid/datagrid-row.d.ts +1 -0
- package/data/datagrid/datagrid-single-selection.directive.d.ts +16 -0
- package/data/datagrid/datagrid.module.d.ts +27 -26
- package/data/datagrid/index.d.ts +1 -0
- package/data/datagrid/providers/selection.d.ts +2 -0
- package/esm2020/data/datagrid/datagrid-row.mjs +7 -3
- package/esm2020/data/datagrid/datagrid-single-selection.directive.mjs +62 -0
- package/esm2020/data/datagrid/datagrid.module.mjs +5 -1
- package/esm2020/data/datagrid/index.mjs +2 -1
- package/esm2020/data/datagrid/providers/selection.mjs +22 -8
- package/fesm2015/clr-angular.mjs +91 -11
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +90 -11
- 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)
|
|
@@ -1794,13 +1795,14 @@ export class ClrDatagridModule {
|
|
|
1794
1795
|
// Warning: (ae-forgotten-export) The symbol "i35" needs to be exported by the entry point index.d.ts
|
|
1795
1796
|
// Warning: (ae-forgotten-export) The symbol "i36" needs to be exported by the entry point index.d.ts
|
|
1796
1797
|
// 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 "
|
|
1798
|
+
// Warning: (ae-forgotten-export) The symbol "i38" needs to be exported by the entry point index.d.ts
|
|
1798
1799
|
// 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 "
|
|
1800
|
+
// Warning: (ae-forgotten-export) The symbol "i41" needs to be exported by the entry point index.d.ts
|
|
1800
1801
|
// Warning: (ae-forgotten-export) The symbol "i47" needs to be exported by the entry point index.d.ts
|
|
1802
|
+
// Warning: (ae-forgotten-export) The symbol "i48" needs to be exported by the entry point index.d.ts
|
|
1801
1803
|
//
|
|
1802
1804
|
// (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.
|
|
1805
|
+
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
1806
|
}
|
|
1805
1807
|
|
|
1806
1808
|
// @public (undocumented)
|
|
@@ -1977,6 +1979,8 @@ export class ClrDatagridRow<T = any> implements AfterContentInit, AfterViewInit
|
|
|
1977
1979
|
// (undocumented)
|
|
1978
1980
|
toggleExpand(): void;
|
|
1979
1981
|
// (undocumented)
|
|
1982
|
+
get trackBy(): ClrDatagridItemsTrackByFunction<any>;
|
|
1983
|
+
// (undocumented)
|
|
1980
1984
|
get _view(): any;
|
|
1981
1985
|
// (undocumented)
|
|
1982
1986
|
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 +2320,7 @@ export class ClrDatepickerModule {
|
|
|
2316
2320
|
// Warning: (ae-forgotten-export) The symbol "i20_2" needs to be exported by the entry point index.d.ts
|
|
2317
2321
|
//
|
|
2318
2322
|
// (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
|
|
2323
|
+
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
2324
|
}
|
|
2321
2325
|
|
|
2322
2326
|
// @public (undocumented)
|
|
@@ -3031,7 +3035,7 @@ export class ClrInputModule {
|
|
|
3031
3035
|
// Warning: (ae-forgotten-export) The symbol "i2_15" needs to be exported by the entry point index.d.ts
|
|
3032
3036
|
//
|
|
3033
3037
|
// (undocumented)
|
|
3034
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrInputModule, [typeof i1_22.ClrInput, typeof i2_15.ClrInputContainer], [typeof i6.CommonModule, typeof
|
|
3038
|
+
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
3039
|
}
|
|
3036
3040
|
|
|
3037
3041
|
// @public (undocumented)
|
|
@@ -3296,7 +3300,7 @@ export class ClrModalModule {
|
|
|
3296
3300
|
// Warning: (ae-forgotten-export) The symbol "i3_20" needs to be exported by the entry point index.d.ts
|
|
3297
3301
|
//
|
|
3298
3302
|
// (undocumented)
|
|
3299
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrModalModule, [typeof i1_35.ClrModal, typeof i2_27.ClrModalBody, typeof i3_20.ClrModalHostComponent], [typeof i6.CommonModule, typeof
|
|
3303
|
+
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
3304
|
}
|
|
3301
3305
|
|
|
3302
3306
|
// @public (undocumented)
|
|
@@ -3448,7 +3452,7 @@ export class ClrNumberInputModule {
|
|
|
3448
3452
|
// Warning: (ae-forgotten-export) The symbol "i2_22" needs to be exported by the entry point index.d.ts
|
|
3449
3453
|
//
|
|
3450
3454
|
// (undocumented)
|
|
3451
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrNumberInputModule, [typeof i1_29.ClrNumberInput, typeof i2_22.ClrNumberInputContainer], [typeof i6.CommonModule, typeof
|
|
3455
|
+
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
3456
|
}
|
|
3453
3457
|
|
|
3454
3458
|
// @public (undocumented)
|
|
@@ -3623,7 +3627,7 @@ export class ClrPasswordModule {
|
|
|
3623
3627
|
// Warning: (ae-forgotten-export) The symbol "i2_16" needs to be exported by the entry point index.d.ts
|
|
3624
3628
|
//
|
|
3625
3629
|
// (undocumented)
|
|
3626
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrPasswordModule, [typeof i1_23.ClrPassword, typeof i2_16.ClrPasswordContainer], [typeof i6.CommonModule, typeof
|
|
3630
|
+
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
3631
|
}
|
|
3628
3632
|
|
|
3629
3633
|
// @public (undocumented)
|
|
@@ -4037,7 +4041,7 @@ export class ClrSelectModule {
|
|
|
4037
4041
|
// Warning: (ae-forgotten-export) The symbol "i2_18" needs to be exported by the entry point index.d.ts
|
|
4038
4042
|
//
|
|
4039
4043
|
// (undocumented)
|
|
4040
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrSelectModule, [typeof i1_25.ClrSelect, typeof i2_18.ClrSelectContainer], [typeof i6.CommonModule, typeof
|
|
4044
|
+
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
4045
|
}
|
|
4042
4046
|
|
|
4043
4047
|
// @public (undocumented)
|
|
@@ -4114,7 +4118,7 @@ export class ClrSidePanelModule {
|
|
|
4114
4118
|
// Warning: (ae-forgotten-export) The symbol "i1_49" needs to be exported by the entry point index.d.ts
|
|
4115
4119
|
//
|
|
4116
4120
|
// (undocumented)
|
|
4117
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrSidePanelModule, [typeof i1_49.ClrSidePanel], [typeof i6.CommonModule, typeof
|
|
4121
|
+
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
4122
|
}
|
|
4119
4123
|
|
|
4120
4124
|
// @public (undocumented)
|
|
@@ -4360,7 +4364,7 @@ export class ClrStackViewModule {
|
|
|
4360
4364
|
// Warning: (ae-forgotten-export) The symbol "i5_10" needs to be exported by the entry point index.d.ts
|
|
4361
4365
|
//
|
|
4362
4366
|
// (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
|
|
4367
|
+
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
4368
|
}
|
|
4365
4369
|
|
|
4366
4370
|
// @public (undocumented)
|
|
@@ -4709,7 +4713,7 @@ export class ClrTabsModule {
|
|
|
4709
4713
|
// Warning: (ae-forgotten-export) The symbol "i13_3" needs to be exported by the entry point index.d.ts
|
|
4710
4714
|
//
|
|
4711
4715
|
// (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
|
|
4716
|
+
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
4717
|
}
|
|
4714
4718
|
|
|
4715
4719
|
// @public (undocumented)
|
|
@@ -4742,7 +4746,7 @@ export class ClrTextareaModule {
|
|
|
4742
4746
|
// Warning: (ae-forgotten-export) The symbol "i2_19" needs to be exported by the entry point index.d.ts
|
|
4743
4747
|
//
|
|
4744
4748
|
// (undocumented)
|
|
4745
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrTextareaModule, [typeof i1_26.ClrTextarea, typeof i2_19.ClrTextareaContainer], [typeof i6.CommonModule, typeof
|
|
4749
|
+
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
4750
|
}
|
|
4747
4751
|
|
|
4748
4752
|
// @public (undocumented)
|
|
@@ -5967,6 +5971,21 @@ export class ÇlrDatagridSelectionCellDirective {
|
|
|
5967
5971
|
static ɵfac: i0.ɵɵFactoryDeclaration<ÇlrDatagridSelectionCellDirective, never>;
|
|
5968
5972
|
}
|
|
5969
5973
|
|
|
5974
|
+
// @public (undocumented)
|
|
5975
|
+
export class ÇlrDatagridSingleSelectionValueAccessor extends DefaultValueAccessor {
|
|
5976
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLInputElement>);
|
|
5977
|
+
// (undocumented)
|
|
5978
|
+
clrDgItemsTrackBy: (value: any) => unknown;
|
|
5979
|
+
// (undocumented)
|
|
5980
|
+
value: any;
|
|
5981
|
+
// (undocumented)
|
|
5982
|
+
writeValue(value: any): void;
|
|
5983
|
+
// (undocumented)
|
|
5984
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ÇlrDatagridSingleSelectionValueAccessor, "input[type=radio][clrDgSingleSelectionRadio]", never, { "value": "value"; "clrDgItemsTrackBy": "clrDgItemsTrackBy"; }, {}, never, never, false, never>;
|
|
5985
|
+
// (undocumented)
|
|
5986
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ÇlrDatagridSingleSelectionValueAccessor, never>;
|
|
5987
|
+
}
|
|
5988
|
+
|
|
5970
5989
|
// @public (undocumented)
|
|
5971
5990
|
export class ÇlrDatagridVirtualScrollDirective<T> implements AfterViewInit, DoCheck, OnDestroy {
|
|
5972
5991
|
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
|
+
}
|
|
@@ -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';
|
|
@@ -47,6 +47,8 @@ export declare class Selection<T = any> {
|
|
|
47
47
|
set currentSingle(value: T);
|
|
48
48
|
get change(): Observable<T[] | T>;
|
|
49
49
|
private get _selectable();
|
|
50
|
+
private get currentSelectionRefs();
|
|
51
|
+
private get currentSingleSelectionRef();
|
|
50
52
|
clearSelection(): void;
|
|
51
53
|
/**
|
|
52
54
|
* Cleans up our subscriptions to other providers
|