@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/fesm2015/clr-angular.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { Subject, BehaviorSubject, Observable, fromEvent, isObservable, of, shar
|
|
|
9
9
|
import * as i2 from '@angular/animations';
|
|
10
10
|
import { animation, style, animate, trigger, transition, state, useAnimation, keyframes } from '@angular/animations';
|
|
11
11
|
import * as i1 from '@angular/forms';
|
|
12
|
-
import { FormControl, FormGroup, FormsModule, NG_VALIDATORS, NG_VALUE_ACCESSOR, SelectMultipleControlValueAccessor } from '@angular/forms';
|
|
12
|
+
import { FormControl, FormGroup, FormsModule, NG_VALIDATORS, NG_VALUE_ACCESSOR, SelectMultipleControlValueAccessor, DefaultValueAccessor } from '@angular/forms';
|
|
13
13
|
import * as i1$1 from '@angular/router';
|
|
14
14
|
import { RouterModule } from '@angular/router';
|
|
15
15
|
import * as i1$2 from '@angular/cdk/a11y';
|
|
@@ -21157,8 +21157,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
21157
21157
|
*/
|
|
21158
21158
|
let nbSelection = 0;
|
|
21159
21159
|
class Selection {
|
|
21160
|
-
constructor(_items, filters) {
|
|
21160
|
+
constructor(_items, filters, differs) {
|
|
21161
21161
|
this._items = _items;
|
|
21162
|
+
this.differs = differs;
|
|
21162
21163
|
this.preserveSelection = false;
|
|
21163
21164
|
/**
|
|
21164
21165
|
* Shift key state, for use in range selection.
|
|
@@ -21166,8 +21167,8 @@ class Selection {
|
|
|
21166
21167
|
this.shiftPressed = false;
|
|
21167
21168
|
/** @deprecated since 2.0, remove in 3.0 */
|
|
21168
21169
|
this.rowSelectionMode = false;
|
|
21169
|
-
this.prevSelectionRefs = []; // Refs of selected items
|
|
21170
21170
|
this.lockedRefs = []; // Ref of locked items
|
|
21171
|
+
this._currentSelectionRefs = [];
|
|
21171
21172
|
this.valueCollector = new Subject();
|
|
21172
21173
|
this._selectionType = SelectionType.None;
|
|
21173
21174
|
/**
|
|
@@ -21179,6 +21180,8 @@ class Selection {
|
|
|
21179
21180
|
*/
|
|
21180
21181
|
this.subscriptions = [];
|
|
21181
21182
|
this.id = 'clr-dg-selection' + nbSelection++;
|
|
21183
|
+
this.trackBy = _items.trackBy;
|
|
21184
|
+
this._differ = differs.find(this._current || []).create(this.trackBy);
|
|
21182
21185
|
this.subscriptions.push(filters.change.subscribe(() => {
|
|
21183
21186
|
if (!this._selectable || this.preserveSelection) {
|
|
21184
21187
|
return;
|
|
@@ -21195,14 +21198,10 @@ class Selection {
|
|
|
21195
21198
|
case SelectionType.Single: {
|
|
21196
21199
|
let newSingle;
|
|
21197
21200
|
let selectionUpdated = false;
|
|
21198
|
-
// if the currentSingle has been set before data was loaded, we look up and save the ref from current data set
|
|
21199
|
-
if (this.currentSingle && !this.prevSingleSelectionRef) {
|
|
21200
|
-
this.prevSingleSelectionRef = _items.trackBy(this.currentSingle);
|
|
21201
|
-
}
|
|
21202
21201
|
updatedItems.forEach(item => {
|
|
21203
21202
|
const ref = _items.trackBy(item);
|
|
21204
21203
|
// If one of the updated items is the previously selectedSingle, set it as the new one
|
|
21205
|
-
if (this.
|
|
21204
|
+
if (this.currentSingleSelectionRef === ref) {
|
|
21206
21205
|
newSingle = item;
|
|
21207
21206
|
selectionUpdated = true;
|
|
21208
21207
|
}
|
|
@@ -21225,13 +21224,6 @@ class Selection {
|
|
|
21225
21224
|
case SelectionType.Multi: {
|
|
21226
21225
|
let leftOver = this.current.slice();
|
|
21227
21226
|
let selectionUpdated = false;
|
|
21228
|
-
// if the current has been set before data was loaded, we look up and save the ref from current data set
|
|
21229
|
-
if (this.current.length > 0 && this.prevSelectionRefs.length !== this.current.length) {
|
|
21230
|
-
this.prevSelectionRefs = [];
|
|
21231
|
-
this.current.forEach(item => {
|
|
21232
|
-
this.prevSelectionRefs.push(_items.trackBy(item));
|
|
21233
|
-
});
|
|
21234
|
-
}
|
|
21235
21227
|
// Duplicate loop, when the issue is issue#2342 is revisited keep in mind that
|
|
21236
21228
|
// we need to go over every updated item and check to see if there are valid to be
|
|
21237
21229
|
// locked or not and update it. When only add items that are found in the lockedRefs back.
|
|
@@ -21250,7 +21242,7 @@ class Selection {
|
|
|
21250
21242
|
updatedItems.forEach(item => {
|
|
21251
21243
|
const ref = _items.trackBy(item);
|
|
21252
21244
|
// Look in current selected refs array if item is selected, and update actual value
|
|
21253
|
-
const selectedIndex = this.
|
|
21245
|
+
const selectedIndex = this.currentSelectionRefs.indexOf(ref);
|
|
21254
21246
|
if (selectedIndex > -1) {
|
|
21255
21247
|
leftOver[selectedIndex] = item;
|
|
21256
21248
|
selectionUpdated = true;
|
|
@@ -21287,7 +21279,7 @@ class Selection {
|
|
|
21287
21279
|
return;
|
|
21288
21280
|
}
|
|
21289
21281
|
this._selectionType = value;
|
|
21290
|
-
if (
|
|
21282
|
+
if ([SelectionType.None, SelectionType.Single].includes(value)) {
|
|
21291
21283
|
delete this.current;
|
|
21292
21284
|
}
|
|
21293
21285
|
else {
|
|
@@ -21299,6 +21291,7 @@ class Selection {
|
|
|
21299
21291
|
}
|
|
21300
21292
|
set current(value) {
|
|
21301
21293
|
this.updateCurrent(value, true);
|
|
21294
|
+
this.updateCurrentSelectionRefs();
|
|
21302
21295
|
}
|
|
21303
21296
|
get currentSingle() {
|
|
21304
21297
|
return this._currentSingle;
|
|
@@ -21308,9 +21301,6 @@ class Selection {
|
|
|
21308
21301
|
return;
|
|
21309
21302
|
}
|
|
21310
21303
|
this._currentSingle = value;
|
|
21311
|
-
if (value) {
|
|
21312
|
-
this.prevSingleSelectionRef = this._items.trackBy(value);
|
|
21313
|
-
}
|
|
21314
21304
|
this.emitChange();
|
|
21315
21305
|
}
|
|
21316
21306
|
// We do not want to expose the Subject itself, but the Observable which is read-only
|
|
@@ -21320,10 +21310,27 @@ class Selection {
|
|
|
21320
21310
|
get _selectable() {
|
|
21321
21311
|
return this._selectionType === SelectionType.Multi || this._selectionType === SelectionType.Single;
|
|
21322
21312
|
}
|
|
21313
|
+
// Refs of currently selected items
|
|
21314
|
+
get currentSelectionRefs() {
|
|
21315
|
+
return this._currentSelectionRefs;
|
|
21316
|
+
}
|
|
21317
|
+
// Ref of currently selected item
|
|
21318
|
+
get currentSingleSelectionRef() {
|
|
21319
|
+
return this._currentSingle && this._items.trackBy(this._currentSingle);
|
|
21320
|
+
}
|
|
21321
|
+
checkForChanges() {
|
|
21322
|
+
const changes = this._differ.diff(this._current);
|
|
21323
|
+
// @TODO move the trackBy from items to selection as it's used only here and is not needed in items
|
|
21324
|
+
if (this.trackBy !== this._items.trackBy) {
|
|
21325
|
+
this.trackBy = this._items.trackBy;
|
|
21326
|
+
}
|
|
21327
|
+
if (changes) {
|
|
21328
|
+
this.updateCurrentSelectionRefs();
|
|
21329
|
+
}
|
|
21330
|
+
}
|
|
21323
21331
|
clearSelection() {
|
|
21324
21332
|
this._current = [];
|
|
21325
|
-
this.
|
|
21326
|
-
this.prevSingleSelectionRef = null;
|
|
21333
|
+
this._currentSelectionRefs = [];
|
|
21327
21334
|
this._currentSingle = null;
|
|
21328
21335
|
this.emitChange();
|
|
21329
21336
|
}
|
|
@@ -21343,11 +21350,12 @@ class Selection {
|
|
|
21343
21350
|
* Checks if an item is currently selected
|
|
21344
21351
|
*/
|
|
21345
21352
|
isSelected(item) {
|
|
21353
|
+
const ref = this._items.trackBy(item);
|
|
21346
21354
|
if (this._selectionType === SelectionType.Single) {
|
|
21347
|
-
return this.
|
|
21355
|
+
return this.currentSingleSelectionRef === ref;
|
|
21348
21356
|
}
|
|
21349
21357
|
else if (this._selectionType === SelectionType.Multi) {
|
|
21350
|
-
return this.
|
|
21358
|
+
return this.currentSelectionRefs.indexOf(ref) >= 0;
|
|
21351
21359
|
}
|
|
21352
21360
|
return false;
|
|
21353
21361
|
}
|
|
@@ -21355,7 +21363,8 @@ class Selection {
|
|
|
21355
21363
|
* Selects or deselects an item
|
|
21356
21364
|
*/
|
|
21357
21365
|
setSelected(item, selected) {
|
|
21358
|
-
const
|
|
21366
|
+
const ref = this._items.trackBy(item);
|
|
21367
|
+
const index = this.currentSelectionRefs ? this.currentSelectionRefs.indexOf(ref) : -1;
|
|
21359
21368
|
switch (this._selectionType) {
|
|
21360
21369
|
case SelectionType.None:
|
|
21361
21370
|
break;
|
|
@@ -21392,7 +21401,10 @@ class Selection {
|
|
|
21392
21401
|
if (nbDisplayed < 1) {
|
|
21393
21402
|
return false;
|
|
21394
21403
|
}
|
|
21395
|
-
const temp = displayedItems.filter(item =>
|
|
21404
|
+
const temp = displayedItems.filter(item => {
|
|
21405
|
+
const ref = this._items.trackBy(item);
|
|
21406
|
+
return this.currentSelectionRefs.indexOf(ref) > -1;
|
|
21407
|
+
});
|
|
21396
21408
|
return temp.length === displayedItems.length;
|
|
21397
21409
|
}
|
|
21398
21410
|
/**
|
|
@@ -21438,7 +21450,8 @@ class Selection {
|
|
|
21438
21450
|
*/
|
|
21439
21451
|
if (this.isAllSelected()) {
|
|
21440
21452
|
this._items.displayed.forEach(item => {
|
|
21441
|
-
const
|
|
21453
|
+
const ref = this._items.trackBy(item);
|
|
21454
|
+
const currentIndex = this.currentSelectionRefs.indexOf(ref);
|
|
21442
21455
|
if (currentIndex > -1 && this.isLocked(item) === false) {
|
|
21443
21456
|
this.deselectItem(currentIndex);
|
|
21444
21457
|
}
|
|
@@ -21446,7 +21459,7 @@ class Selection {
|
|
|
21446
21459
|
}
|
|
21447
21460
|
else {
|
|
21448
21461
|
this._items.displayed.forEach(item => {
|
|
21449
|
-
if (this.
|
|
21462
|
+
if (!this.isSelected(item) && this.isLocked(item) === false) {
|
|
21450
21463
|
this.selectItem(item);
|
|
21451
21464
|
}
|
|
21452
21465
|
});
|
|
@@ -21457,17 +21470,15 @@ class Selection {
|
|
|
21457
21470
|
*/
|
|
21458
21471
|
selectItem(item) {
|
|
21459
21472
|
this.current = this.current.concat(item);
|
|
21460
|
-
// Push selected ref onto array
|
|
21461
|
-
this.prevSelectionRefs.push(this._items.trackBy(item));
|
|
21462
21473
|
}
|
|
21463
21474
|
/**
|
|
21464
21475
|
* Deselects an item
|
|
21465
21476
|
*/
|
|
21466
21477
|
deselectItem(indexOfItem) {
|
|
21467
21478
|
this.current = this.current.slice(0, indexOfItem).concat(this.current.slice(indexOfItem + 1));
|
|
21468
|
-
if (indexOfItem < this.
|
|
21479
|
+
if (indexOfItem < this.currentSelectionRefs.length) {
|
|
21469
21480
|
// Keep selected refs array in sync
|
|
21470
|
-
const removedItems = this.
|
|
21481
|
+
const removedItems = this.currentSelectionRefs[indexOfItem];
|
|
21471
21482
|
// locked reference is no longer needed (if any)
|
|
21472
21483
|
this.lockedRefs = this.lockedRefs.filter(locked => locked !== removedItems[0]);
|
|
21473
21484
|
}
|
|
@@ -21486,12 +21497,16 @@ class Selection {
|
|
|
21486
21497
|
this._change.next(this.current);
|
|
21487
21498
|
}
|
|
21488
21499
|
}
|
|
21500
|
+
updateCurrentSelectionRefs() {
|
|
21501
|
+
var _a;
|
|
21502
|
+
this._currentSelectionRefs = ((_a = this._current) === null || _a === void 0 ? void 0 : _a.map(item => this._items.trackBy(item))) || [];
|
|
21503
|
+
}
|
|
21489
21504
|
}
|
|
21490
|
-
Selection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: Selection, deps: [{ token: Items }, { token: FiltersProvider }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21505
|
+
Selection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: Selection, deps: [{ token: Items }, { token: FiltersProvider }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21491
21506
|
Selection.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: Selection });
|
|
21492
21507
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: Selection, decorators: [{
|
|
21493
21508
|
type: Injectable
|
|
21494
|
-
}], ctorParameters: function () { return [{ type: Items }, { type: FiltersProvider }]; } });
|
|
21509
|
+
}], ctorParameters: function () { return [{ type: Items }, { type: FiltersProvider }, { type: i0.IterableDiffers }]; } });
|
|
21495
21510
|
|
|
21496
21511
|
/*
|
|
21497
21512
|
* Copyright (c) 2016-2025 Broadcom. All Rights Reserved.
|
|
@@ -21558,6 +21573,65 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
21558
21573
|
args: ['click', ['$event']]
|
|
21559
21574
|
}] } });
|
|
21560
21575
|
|
|
21576
|
+
/*
|
|
21577
|
+
* Copyright (c) 2016-2025 Broadcom. All Rights Reserved.
|
|
21578
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
21579
|
+
* This software is released under MIT license.
|
|
21580
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
21581
|
+
*/
|
|
21582
|
+
class ClrDatagridSingleSelectionValueAccessor extends DefaultValueAccessor {
|
|
21583
|
+
constructor(renderer, elementRef) {
|
|
21584
|
+
super(renderer, elementRef, null);
|
|
21585
|
+
this.renderer = renderer;
|
|
21586
|
+
this.elementRef = elementRef;
|
|
21587
|
+
}
|
|
21588
|
+
writeValue(value) {
|
|
21589
|
+
this.model = value;
|
|
21590
|
+
this.updateChecked();
|
|
21591
|
+
}
|
|
21592
|
+
keyOf(value) {
|
|
21593
|
+
if (value && this.clrDgItemsTrackBy) {
|
|
21594
|
+
return this.clrDgItemsTrackBy(value);
|
|
21595
|
+
}
|
|
21596
|
+
return value;
|
|
21597
|
+
}
|
|
21598
|
+
updateChecked() {
|
|
21599
|
+
const model = this.keyOf(this.model);
|
|
21600
|
+
const value = this.keyOf(this.value);
|
|
21601
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'checked', model === value);
|
|
21602
|
+
}
|
|
21603
|
+
}
|
|
21604
|
+
ClrDatagridSingleSelectionValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrDatagridSingleSelectionValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21605
|
+
ClrDatagridSingleSelectionValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.2", type: ClrDatagridSingleSelectionValueAccessor, selector: "input[type=radio][clrDgSingleSelectionRadio]", inputs: { value: "value", clrDgItemsTrackBy: "clrDgItemsTrackBy" }, host: { listeners: { "change": "onChange(value)", "blur": "onTouched()" } }, providers: [
|
|
21606
|
+
{
|
|
21607
|
+
provide: NG_VALUE_ACCESSOR,
|
|
21608
|
+
useExisting: forwardRef(() => ClrDatagridSingleSelectionValueAccessor),
|
|
21609
|
+
multi: true,
|
|
21610
|
+
},
|
|
21611
|
+
], usesInheritance: true, ngImport: i0 });
|
|
21612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrDatagridSingleSelectionValueAccessor, decorators: [{
|
|
21613
|
+
type: Directive,
|
|
21614
|
+
args: [{
|
|
21615
|
+
selector: 'input[type=radio][clrDgSingleSelectionRadio]',
|
|
21616
|
+
providers: [
|
|
21617
|
+
{
|
|
21618
|
+
provide: NG_VALUE_ACCESSOR,
|
|
21619
|
+
useExisting: forwardRef(() => ClrDatagridSingleSelectionValueAccessor),
|
|
21620
|
+
multi: true,
|
|
21621
|
+
},
|
|
21622
|
+
],
|
|
21623
|
+
host: {
|
|
21624
|
+
'(change)': 'onChange(value)',
|
|
21625
|
+
'(blur)': 'onTouched()',
|
|
21626
|
+
},
|
|
21627
|
+
standalone: false,
|
|
21628
|
+
}]
|
|
21629
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { value: [{
|
|
21630
|
+
type: Input
|
|
21631
|
+
}], clrDgItemsTrackBy: [{
|
|
21632
|
+
type: Input
|
|
21633
|
+
}] } });
|
|
21634
|
+
|
|
21561
21635
|
/*
|
|
21562
21636
|
* Copyright (c) 2016-2025 Broadcom. All Rights Reserved.
|
|
21563
21637
|
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
@@ -21691,6 +21765,9 @@ class ClrDatagridRow {
|
|
|
21691
21765
|
get _view() {
|
|
21692
21766
|
return this.wrappedInjector.get(WrappedRow, this.vcr).rowView;
|
|
21693
21767
|
}
|
|
21768
|
+
get trackBy() {
|
|
21769
|
+
return this.items.trackBy;
|
|
21770
|
+
}
|
|
21694
21771
|
ngOnInit() {
|
|
21695
21772
|
this.wrappedInjector = new HostWrapper(WrappedRow, this.vcr);
|
|
21696
21773
|
this.selection.lockItem(this.item, this.clrDgSelectable === false);
|
|
@@ -21810,6 +21887,7 @@ class ClrDatagridRow {
|
|
|
21810
21887
|
const newSelection = new Set(this.selection.current.concat(items.slice(Math.min(startIx, endIx), Math.max(startIx, endIx) + 1)));
|
|
21811
21888
|
this.selection.clearSelection();
|
|
21812
21889
|
this.selection.current.push(...newSelection);
|
|
21890
|
+
this.selection.checkForChanges();
|
|
21813
21891
|
}
|
|
21814
21892
|
else {
|
|
21815
21893
|
// page number has changed or
|
|
@@ -21824,7 +21902,7 @@ ClrDatagridRow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
21824
21902
|
DatagridIfExpandService,
|
|
21825
21903
|
{ provide: IfExpandService, useExisting: DatagridIfExpandService },
|
|
21826
21904
|
{ provide: LoadingListener, useExisting: DatagridIfExpandService },
|
|
21827
|
-
], queries: [{ propertyName: "dgCells", predicate: ClrDatagridCell }], viewQueries: [{ propertyName: "expandAnimation", first: true, predicate: ClrExpandableAnimationDirective, descendants: true }, { propertyName: "detailButton", first: true, predicate: ["detailButton"], descendants: true }, { propertyName: "_stickyCells", first: true, predicate: ["stickyCells"], descendants: true, read: ViewContainerRef }, { propertyName: "_scrollableCells", first: true, predicate: ["scrollableCells"], descendants: true, read: ViewContainerRef }, { propertyName: "_calculatedCells", first: true, predicate: ["calculatedCells"], descendants: true, read: ViewContainerRef }, { propertyName: "_fixedCellTemplate", first: true, predicate: ["fixedCellTemplate"], descendants: true }], ngImport: i0, template: "<div\n role=\"row\"\n [id]=\"id\"\n class=\"datagrid-row-master datagrid-row-flex\"\n [clrExpandableAnimation]=\"expandAnimationTrigger\"\n (mousedown)=\"clearRanges($event)\"\n (click)=\"selectRow(!selected, $event)\"\n [class.datagrid-row-clickable]=\"selection.rowSelectionMode\"\n [class.datagrid-row-detail-open]=\"detailService.isRowOpen(item)\"\n>\n <div class=\"datagrid-row-sticky\">\n <!-- Sticky elements here -->\n <ng-container #stickyCells>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Multi\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <div class=\"clr-checkbox-wrapper\">\n <input\n tabindex=\"-1\"\n type=\"checkbox\"\n [ngModel]=\"selected\"\n (ngModelChange)=\"toggle($event)\"\n [id]=\"checkboxId\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <!-- Usage of class clr-col-null here prevents clr-col-* classes from being added when a datagrid is wrapped inside clrForm -->\n <label [for]=\"checkboxId\" class=\"clr-control-label clr-col-null\" (click)=\"clearRanges($event)\">\n <span class=\"clr-sr-only\">{{clrDgRowSelectionLabel || commonStrings.keys.select}}</span>\n </label>\n </div>\n </div>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Single\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-radio-wrapper>\n <input\n tabindex=\"-1\"\n type=\"radio\"\n clrRadio\n [id]=\"radioId\"\n [name]=\"selection.id + '-radio'\"\n [value]=\"item\"\n [(ngModel)]=\"selection.currentSingle\"\n [
|
|
21905
|
+
], queries: [{ propertyName: "dgCells", predicate: ClrDatagridCell }], viewQueries: [{ propertyName: "expandAnimation", first: true, predicate: ClrExpandableAnimationDirective, descendants: true }, { propertyName: "detailButton", first: true, predicate: ["detailButton"], descendants: true }, { propertyName: "_stickyCells", first: true, predicate: ["stickyCells"], descendants: true, read: ViewContainerRef }, { propertyName: "_scrollableCells", first: true, predicate: ["scrollableCells"], descendants: true, read: ViewContainerRef }, { propertyName: "_calculatedCells", first: true, predicate: ["calculatedCells"], descendants: true, read: ViewContainerRef }, { propertyName: "_fixedCellTemplate", first: true, predicate: ["fixedCellTemplate"], descendants: true }], ngImport: i0, template: "<div\n role=\"row\"\n [id]=\"id\"\n class=\"datagrid-row-master datagrid-row-flex\"\n [clrExpandableAnimation]=\"expandAnimationTrigger\"\n (mousedown)=\"clearRanges($event)\"\n (click)=\"selectRow(!selected, $event)\"\n [class.datagrid-row-clickable]=\"selection.rowSelectionMode\"\n [class.datagrid-row-detail-open]=\"detailService.isRowOpen(item)\"\n>\n <div class=\"datagrid-row-sticky\">\n <!-- Sticky elements here -->\n <ng-container #stickyCells>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Multi\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <div class=\"clr-checkbox-wrapper\">\n <input\n tabindex=\"-1\"\n type=\"checkbox\"\n [ngModel]=\"selected\"\n (ngModelChange)=\"toggle($event)\"\n [id]=\"checkboxId\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <!-- Usage of class clr-col-null here prevents clr-col-* classes from being added when a datagrid is wrapped inside clrForm -->\n <label [for]=\"checkboxId\" class=\"clr-control-label clr-col-null\" (click)=\"clearRanges($event)\">\n <span class=\"clr-sr-only\">{{clrDgRowSelectionLabel || commonStrings.keys.select}}</span>\n </label>\n </div>\n </div>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Single\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-radio-wrapper>\n <input\n tabindex=\"-1\"\n type=\"radio\"\n clrRadio\n clrDgSingleSelectionRadio\n [clrDgItemsTrackBy]=\"trackBy\"\n [id]=\"radioId\"\n [name]=\"selection.id + '-radio'\"\n [value]=\"item\"\n [(ngModel)]=\"selection.currentSingle\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <label class=\"clr-control-label clr-col-null\" [for]=\"radioId\">\n <span class=\"clr-sr-only\">{{ clrDgRowSelectionLabel || commonStrings.keys.select }}</span>\n </label>\n </clr-radio-wrapper>\n </div>\n <div\n *ngIf=\"rowActionService.hasActionableRow\"\n class=\"datagrid-row-actions datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-content select=\"clr-dg-action-overflow\"></ng-content>\n </div>\n <div\n *ngIf=\"globalExpandable.hasExpandableRow\"\n class=\"datagrid-expandable-caret datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-container *ngIf=\"expand.expandable\">\n <button\n tabindex=\"-1\"\n *ngIf=\"!expand.loading\"\n (click)=\"toggleExpand()\"\n type=\"button\"\n class=\"datagrid-expandable-caret-button\"\n [attr.aria-expanded]=\"expand.expanded\"\n [attr.aria-label]=\"expand.expanded ? clrDgDetailCloseLabel : clrDgDetailOpenLabel\"\n [attr.aria-controls]=\"expand.hasExpandTemplate && !expand.expanded ? null : expandableId\"\n >\n <cds-icon\n shape=\"angle\"\n class=\"datagrid-expandable-caret-icon\"\n [attr.direction]=\"expand.expanded ? 'down' : 'right'\"\n [attr.title]=\"expand.expanded ? commonStrings.keys.collapse : commonStrings.keys.expand\"\n ></cds-icon>\n </button>\n <clr-spinner *ngIf=\"expand.loading\" clrSmall>{{ commonStrings.keys.loading }}</clr-spinner>\n </ng-container>\n </div>\n <div\n *ngIf=\"detailService.enabled\"\n class=\"datagrid-detail-caret datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <button\n tabindex=\"-1\"\n (click)=\"detailService.toggle(item, detailButton)\"\n type=\"button\"\n #detailButton\n class=\"datagrid-detail-caret-button\"\n [disabled]=\"detailDisabled\"\n *ngIf=\"!detailHidden\"\n [class.is-open]=\"detailService.isRowOpen(item)\"\n [attr.aria-label]=\"detailService.isRowOpen(item) ? clrDgDetailCloseLabel : clrDgDetailOpenLabel\"\n [attr.aria-expanded]=\"detailService.isRowOpen(item)\"\n [attr.aria-controls]=\"detailService.id\"\n aria-haspopup=\"dialog\"\n >\n <cds-icon\n shape=\"angle-double\"\n [attr.direction]=\"detailService.isRowOpen(item) ? 'left' : 'right'\"\n class=\"datagrid-detail-caret-icon\"\n [attr.title]=\"detailService.isRowOpen(item) ? commonStrings.keys.close: commonStrings.keys.open\"\n ></cds-icon>\n </button>\n </div>\n </ng-container>\n <!-- placeholder for projecting other sticky cells as pinned-->\n </div>\n <div class=\"datagrid-row-scrollable\" [ngClass]=\"{'is-replaced': replaced && expanded}\">\n <div class=\"datagrid-scrolling-cells\">\n <ng-content select=\"clr-dg-cell\"></ng-content>\n <ng-container #scrollableCells></ng-container>\n </div>\n <!-- details here when replace, re-visit when sticky container is used for pinned cells -->\n <ng-template *ngIf=\"replaced && !expand.loading\" [ngTemplateOutlet]=\"detail\"></ng-template>\n <ng-template *ngIf=\"!replaced && !expand.loading\" [ngTemplateOutlet]=\"detail\"></ng-template>\n </div>\n</div>\n<!--\n We need the \"project into template\" hacks because we need this in 2 different places\n depending on whether the details replace the row or not.\n-->\n<ng-template #detail>\n <ng-content select=\"clr-dg-row-detail\"></ng-content>\n</ng-template>\n\n<ng-container #calculatedCells></ng-container>\n\n<ng-template #fixedCellTemplate>\n <div class=\"datagrid-fixed-column datagrid-cell\" role=\"gridcell\"></div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CdsIconCustomTag, selector: "cds-icon" }, { kind: "directive", type: ClrLabel, selector: "label", inputs: ["id", "for"] }, { kind: "directive", type: ClrRadio, selector: "[clrRadio]" }, { kind: "component", type: ClrRadioWrapper, selector: "clr-radio-wrapper" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: ClrExpandableAnimationDirective, selector: "[clrExpandableAnimation]", inputs: ["clrExpandableAnimation"] }, { kind: "component", type: ClrSpinner, selector: "clr-spinner", inputs: ["clrInline", "clrInverse", "clrSmall", "clrMedium"] }, { kind: "directive", type: ClrDatagridSelectionCellDirective, selector: ".datagrid-select" }, { kind: "directive", type: ClrDatagridSingleSelectionValueAccessor, selector: "input[type=radio][clrDgSingleSelectionRadio]", inputs: ["value", "clrDgItemsTrackBy"] }] });
|
|
21828
21906
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ClrDatagridRow, decorators: [{
|
|
21829
21907
|
type: Component,
|
|
21830
21908
|
args: [{ selector: 'clr-dg-row', host: {
|
|
@@ -21837,7 +21915,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
21837
21915
|
DatagridIfExpandService,
|
|
21838
21916
|
{ provide: IfExpandService, useExisting: DatagridIfExpandService },
|
|
21839
21917
|
{ provide: LoadingListener, useExisting: DatagridIfExpandService },
|
|
21840
|
-
], template: "<div\n role=\"row\"\n [id]=\"id\"\n class=\"datagrid-row-master datagrid-row-flex\"\n [clrExpandableAnimation]=\"expandAnimationTrigger\"\n (mousedown)=\"clearRanges($event)\"\n (click)=\"selectRow(!selected, $event)\"\n [class.datagrid-row-clickable]=\"selection.rowSelectionMode\"\n [class.datagrid-row-detail-open]=\"detailService.isRowOpen(item)\"\n>\n <div class=\"datagrid-row-sticky\">\n <!-- Sticky elements here -->\n <ng-container #stickyCells>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Multi\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <div class=\"clr-checkbox-wrapper\">\n <input\n tabindex=\"-1\"\n type=\"checkbox\"\n [ngModel]=\"selected\"\n (ngModelChange)=\"toggle($event)\"\n [id]=\"checkboxId\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <!-- Usage of class clr-col-null here prevents clr-col-* classes from being added when a datagrid is wrapped inside clrForm -->\n <label [for]=\"checkboxId\" class=\"clr-control-label clr-col-null\" (click)=\"clearRanges($event)\">\n <span class=\"clr-sr-only\">{{clrDgRowSelectionLabel || commonStrings.keys.select}}</span>\n </label>\n </div>\n </div>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Single\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-radio-wrapper>\n <input\n tabindex=\"-1\"\n type=\"radio\"\n clrRadio\n [id]=\"radioId\"\n [name]=\"selection.id + '-radio'\"\n [value]=\"item\"\n [(ngModel)]=\"selection.currentSingle\"\n [
|
|
21918
|
+
], template: "<div\n role=\"row\"\n [id]=\"id\"\n class=\"datagrid-row-master datagrid-row-flex\"\n [clrExpandableAnimation]=\"expandAnimationTrigger\"\n (mousedown)=\"clearRanges($event)\"\n (click)=\"selectRow(!selected, $event)\"\n [class.datagrid-row-clickable]=\"selection.rowSelectionMode\"\n [class.datagrid-row-detail-open]=\"detailService.isRowOpen(item)\"\n>\n <div class=\"datagrid-row-sticky\">\n <!-- Sticky elements here -->\n <ng-container #stickyCells>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Multi\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <div class=\"clr-checkbox-wrapper\">\n <input\n tabindex=\"-1\"\n type=\"checkbox\"\n [ngModel]=\"selected\"\n (ngModelChange)=\"toggle($event)\"\n [id]=\"checkboxId\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <!-- Usage of class clr-col-null here prevents clr-col-* classes from being added when a datagrid is wrapped inside clrForm -->\n <label [for]=\"checkboxId\" class=\"clr-control-label clr-col-null\" (click)=\"clearRanges($event)\">\n <span class=\"clr-sr-only\">{{clrDgRowSelectionLabel || commonStrings.keys.select}}</span>\n </label>\n </div>\n </div>\n <div\n *ngIf=\"selection.selectionType === SELECTION_TYPE.Single\"\n class=\"datagrid-select datagrid-fixed-column datagrid-cell\"\n [ngClass]=\"{ 'clr-form-control-disabled': !clrDgSelectable }\"\n role=\"gridcell\"\n >\n <clr-radio-wrapper>\n <input\n tabindex=\"-1\"\n type=\"radio\"\n clrRadio\n clrDgSingleSelectionRadio\n [clrDgItemsTrackBy]=\"trackBy\"\n [id]=\"radioId\"\n [name]=\"selection.id + '-radio'\"\n [value]=\"item\"\n [(ngModel)]=\"selection.currentSingle\"\n [disabled]=\"clrDgSelectable ? null : true\"\n [attr.aria-disabled]=\"clrDgSelectable ? null : true\"\n />\n <label class=\"clr-control-label clr-col-null\" [for]=\"radioId\">\n <span class=\"clr-sr-only\">{{ clrDgRowSelectionLabel || commonStrings.keys.select }}</span>\n </label>\n </clr-radio-wrapper>\n </div>\n <div\n *ngIf=\"rowActionService.hasActionableRow\"\n class=\"datagrid-row-actions datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-content select=\"clr-dg-action-overflow\"></ng-content>\n </div>\n <div\n *ngIf=\"globalExpandable.hasExpandableRow\"\n class=\"datagrid-expandable-caret datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <ng-container *ngIf=\"expand.expandable\">\n <button\n tabindex=\"-1\"\n *ngIf=\"!expand.loading\"\n (click)=\"toggleExpand()\"\n type=\"button\"\n class=\"datagrid-expandable-caret-button\"\n [attr.aria-expanded]=\"expand.expanded\"\n [attr.aria-label]=\"expand.expanded ? clrDgDetailCloseLabel : clrDgDetailOpenLabel\"\n [attr.aria-controls]=\"expand.hasExpandTemplate && !expand.expanded ? null : expandableId\"\n >\n <cds-icon\n shape=\"angle\"\n class=\"datagrid-expandable-caret-icon\"\n [attr.direction]=\"expand.expanded ? 'down' : 'right'\"\n [attr.title]=\"expand.expanded ? commonStrings.keys.collapse : commonStrings.keys.expand\"\n ></cds-icon>\n </button>\n <clr-spinner *ngIf=\"expand.loading\" clrSmall>{{ commonStrings.keys.loading }}</clr-spinner>\n </ng-container>\n </div>\n <div\n *ngIf=\"detailService.enabled\"\n class=\"datagrid-detail-caret datagrid-fixed-column datagrid-cell\"\n role=\"gridcell\"\n >\n <button\n tabindex=\"-1\"\n (click)=\"detailService.toggle(item, detailButton)\"\n type=\"button\"\n #detailButton\n class=\"datagrid-detail-caret-button\"\n [disabled]=\"detailDisabled\"\n *ngIf=\"!detailHidden\"\n [class.is-open]=\"detailService.isRowOpen(item)\"\n [attr.aria-label]=\"detailService.isRowOpen(item) ? clrDgDetailCloseLabel : clrDgDetailOpenLabel\"\n [attr.aria-expanded]=\"detailService.isRowOpen(item)\"\n [attr.aria-controls]=\"detailService.id\"\n aria-haspopup=\"dialog\"\n >\n <cds-icon\n shape=\"angle-double\"\n [attr.direction]=\"detailService.isRowOpen(item) ? 'left' : 'right'\"\n class=\"datagrid-detail-caret-icon\"\n [attr.title]=\"detailService.isRowOpen(item) ? commonStrings.keys.close: commonStrings.keys.open\"\n ></cds-icon>\n </button>\n </div>\n </ng-container>\n <!-- placeholder for projecting other sticky cells as pinned-->\n </div>\n <div class=\"datagrid-row-scrollable\" [ngClass]=\"{'is-replaced': replaced && expanded}\">\n <div class=\"datagrid-scrolling-cells\">\n <ng-content select=\"clr-dg-cell\"></ng-content>\n <ng-container #scrollableCells></ng-container>\n </div>\n <!-- details here when replace, re-visit when sticky container is used for pinned cells -->\n <ng-template *ngIf=\"replaced && !expand.loading\" [ngTemplateOutlet]=\"detail\"></ng-template>\n <ng-template *ngIf=\"!replaced && !expand.loading\" [ngTemplateOutlet]=\"detail\"></ng-template>\n </div>\n</div>\n<!--\n We need the \"project into template\" hacks because we need this in 2 different places\n depending on whether the details replace the row or not.\n-->\n<ng-template #detail>\n <ng-content select=\"clr-dg-row-detail\"></ng-content>\n</ng-template>\n\n<ng-container #calculatedCells></ng-container>\n\n<ng-template #fixedCellTemplate>\n <div class=\"datagrid-fixed-column datagrid-cell\" role=\"gridcell\"></div>\n</ng-template>\n" }]
|
|
21841
21919
|
}], ctorParameters: function () {
|
|
21842
21920
|
return [{ type: Selection }, { type: RowActionService }, { type: ExpandableRowsCount }, { type: DatagridIfExpandService }, { type: DetailService }, { type: DisplayModeService }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: ClrCommonStringsService }, { type: Items }, { type: undefined, decorators: [{
|
|
21843
21921
|
type: Inject,
|
|
@@ -22742,6 +22820,11 @@ class ClrDatagrid {
|
|
|
22742
22820
|
}));
|
|
22743
22821
|
});
|
|
22744
22822
|
}
|
|
22823
|
+
ngDoCheck() {
|
|
22824
|
+
// we track for changes on selection.current because it can happen with pushing items
|
|
22825
|
+
// instead of overriding the variable
|
|
22826
|
+
this.selection.checkForChanges();
|
|
22827
|
+
}
|
|
22745
22828
|
ngOnDestroy() {
|
|
22746
22829
|
this._subscriptions.forEach((sub) => sub.unsubscribe());
|
|
22747
22830
|
this._virtualScrollSubscriptions.forEach((sub) => sub.unsubscribe());
|
|
@@ -24979,6 +25062,7 @@ const CLR_DATAGRID_DIRECTIVES = [
|
|
|
24979
25062
|
WrappedCell,
|
|
24980
25063
|
WrappedColumn,
|
|
24981
25064
|
WrappedRow,
|
|
25065
|
+
ClrDatagridSingleSelectionValueAccessor,
|
|
24982
25066
|
// Renderers
|
|
24983
25067
|
DatagridCellRenderer,
|
|
24984
25068
|
DatagridHeaderRenderer,
|
|
@@ -25027,6 +25111,7 @@ ClrDatagridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
|
|
|
25027
25111
|
WrappedCell,
|
|
25028
25112
|
WrappedColumn,
|
|
25029
25113
|
WrappedRow,
|
|
25114
|
+
ClrDatagridSingleSelectionValueAccessor,
|
|
25030
25115
|
// Renderers
|
|
25031
25116
|
DatagridCellRenderer,
|
|
25032
25117
|
DatagridHeaderRenderer,
|
|
@@ -25079,6 +25164,7 @@ ClrDatagridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
|
|
|
25079
25164
|
WrappedCell,
|
|
25080
25165
|
WrappedColumn,
|
|
25081
25166
|
WrappedRow,
|
|
25167
|
+
ClrDatagridSingleSelectionValueAccessor,
|
|
25082
25168
|
// Renderers
|
|
25083
25169
|
DatagridCellRenderer,
|
|
25084
25170
|
DatagridHeaderRenderer,
|
|
@@ -31359,5 +31445,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
31359
31445
|
* Generated bundle index. Do not edit.
|
|
31360
31446
|
*/
|
|
31361
31447
|
|
|
31362
|
-
export { BaseExpandableAnimation, CHANGE_KEYS, CLR_ALERT_DIRECTIVES, CLR_BUTTON_GROUP_DIRECTIVES, CLR_DATAGRID_DIRECTIVES, CLR_DATEPICKER_DIRECTIVES, CLR_DROPDOWN_DIRECTIVES, CLR_FILE_MESSAGES_TEMPLATE_CONTEXT, CLR_ICON_DIRECTIVES, CLR_LAYOUT_DIRECTIVES, CLR_LOADING_BUTTON_DIRECTIVES, CLR_LOADING_DIRECTIVES, CLR_MENU_POSITIONS, CLR_MODAL_DIRECTIVES, CLR_NAVIGATION_DIRECTIVES, CLR_PROGRESS_BAR_DIRECTIVES, CLR_SIDEPANEL_DIRECTIVES, CLR_SIGNPOST_DIRECTIVES, CLR_SPINNER_DIRECTIVES, CLR_STACK_VIEW_DIRECTIVES, CLR_TABS_DIRECTIVES, CLR_TOOLTIP_DIRECTIVES, CLR_TREE_VIEW_DIRECTIVES, CLR_VERTICAL_NAV_DIRECTIVES, CLR_WIZARD_DIRECTIVES, CONDITIONAL_DIRECTIVES, CUSTOM_BUTTON_TYPES, CdsIconCustomTag, ClarityModule, ClrAbstractContainer, ClrAccordion, ClrAccordionContent, ClrAccordionDescription, ClrAccordionModule, ClrAccordionPanel, ClrAccordionTitle, ClrAlert, ClrAlertItem, ClrAlertModule, ClrAlertText, ClrAlerts, ClrAlertsPager, ClrAlignment, ClrAriaCurrentLink, ClrAxis, ClrBreadcrumbItem, ClrBreadcrumbs, ClrBreadcrumbsModule, ClrButton, ClrButtonGroup, ClrButtonGroupModule, ClrButtonModule, ClrCalendar, ClrCheckbox, ClrCheckboxContainer, ClrCheckboxModule, ClrCheckboxWrapper, ClrCombobox, ClrComboboxContainer, ClrComboboxModule, ClrCommonFormsModule, ClrCommonStringsService, ClrConditionalModule, ClrControl, ClrControlContainer, ClrControlError, ClrControlHelper, ClrControlSuccess, ClrDataModule, ClrDatagrid, ClrDatagridActionBar, ClrDatagridActionOverflow, ClrDatagridCell, ClrDatagridColumn, ClrDatagridColumnSeparator, ClrDatagridColumnToggle, ClrDatagridColumnToggleButton, ClrDatagridDetail, ClrDatagridDetailBody, ClrDatagridDetailHeader, ClrDatagridFilter, ClrDatagridFooter, ClrDatagridHideableColumn, ClrDatagridItems, ClrDatagridModule, ClrDatagridPageSize, ClrDatagridPagination, ClrDatagridPlaceholder, ClrDatagridRow, ClrDatagridRowDetail, ClrDatagridSortOrder, ClrDatalist, ClrDatalistContainer, ClrDatalistInput, ClrDatalistModule, ClrDateContainer, ClrDateInput, ClrDateInputBase, ClrDateInputValidator, ClrDatepickerActions, ClrDatepickerModule, ClrDatepickerViewManager, ClrDay, ClrDaypicker, ClrDestroyService, ClrDropdown, ClrDropdownItem, ClrDropdownMenu, ClrDropdownModule, ClrDropdownTrigger, ClrEmphasisModule, ClrEndDateInput, ClrEndDateInputValidator, ClrExpandableAnimation, ClrFileError, ClrFileInfo, ClrFileInput, ClrFileInputContainer, ClrFileInputModule, ClrFileInputValidator, ClrFileInputValueAccessor, ClrFileList, ClrFileMessagesTemplate, ClrFileSuccess, ClrFocusOnViewInit, ClrFocusOnViewInitModule, ClrForm, ClrFormLayout, ClrFormsModule, ClrHeader, ClrIconCustomTag, ClrIconModule, ClrIfActive, ClrIfDetail, ClrIfError, ClrIfExpanded, ClrIfOpen, ClrIfSuccess, ClrInput, ClrInputContainer, ClrInputModule, ClrLabel, ClrLayout, ClrLayoutModule, ClrLoading, ClrLoadingButton, ClrLoadingButtonModule, ClrLoadingModule, ClrLoadingState, ClrMainContainer, ClrMainContainerModule, ClrModal, ClrModalBody, ClrModalConfigurationService, ClrModalHostComponent, ClrModalModule, ClrMonthpicker, ClrNavLevel, ClrNavigationModule, ClrNumberInput, ClrNumberInputContainer, ClrNumberInputModule, ClrOption, ClrOptionGroup, ClrOptionItems, ClrOptionSelected, ClrOptions, ClrPassword, ClrPasswordContainer, ClrPasswordModule, ClrPopoverAnchor, ClrPopoverContent, ClrPopoverEventsService, ClrPopoverHostDirective, ClrPopoverModule, ClrPopoverPositionService, ClrPopoverToggleService, ClrProgressBar, ClrProgressBarModule, ClrRadio, ClrRadioContainer, ClrRadioModule, ClrRadioWrapper, ClrRange, ClrRangeContainer, ClrRangeModule, ClrRecursiveForOf, ClrSelect, ClrSelectContainer, ClrSelectModule, ClrSelectedState, ClrSide, ClrSidePanel, ClrSidePanelModule, ClrSignpost, ClrSignpostContent, ClrSignpostModule, ClrSignpostTitle, ClrSignpostTrigger, ClrSpinner, ClrSpinnerModule, ClrStackBlock, ClrStackContentInput, ClrStackHeader, ClrStackView, ClrStackViewCustomTags, ClrStackViewLabel, ClrStackViewModule, ClrStandaloneCdkTrapFocus, ClrStartDateInput, ClrStartDateInputValidator, ClrStepButton, ClrStepButtonType, ClrStepper, ClrStepperModule, ClrStepperPanel, ClrStopEscapePropagationDirective, ClrTab, ClrTabAction, ClrTabContent, ClrTabLink, ClrTabOverflowContent, ClrTabs, ClrTabsActions, ClrTabsModule, ClrTextarea, ClrTextareaContainer, ClrTextareaModule, ClrTimeline, ClrTimelineLayout, ClrTimelineModule, ClrTimelineStep, ClrTimelineStepDescription, ClrTimelineStepHeader, ClrTimelineStepState, ClrTimelineStepTitle, ClrTooltip, ClrTooltipContent, ClrTooltipModule, ClrTooltipTrigger, ClrTree, ClrTreeNode, ClrTreeNodeLink, ClrTreeViewModule, ClrVerticalNav, ClrVerticalNavGroup, ClrVerticalNavGroupChildren, ClrVerticalNavIcon, ClrVerticalNavLink, ClrVerticalNavModule, ClrWizard, ClrWizardButton, ClrWizardHeaderAction, ClrWizardModule, ClrWizardPage, ClrWizardPageButtons, ClrWizardPageHeaderActions, ClrWizardPageNavTitle, ClrWizardPageTitle, ClrWizardStepnav, ClrWizardStepnavItem, ClrWizardTitle, ClrYearpicker, DEFAULT_BUTTON_TYPES, DatagridNumericFilter, DatagridPropertyComparator, DatagridPropertyNumericFilter, DatagridPropertyStringFilter, DatagridStringFilter, EXPANDABLE_ANIMATION_DIRECTIVES, FOCUS_ON_VIEW_INIT, FOCUS_ON_VIEW_INIT_DIRECTIVES, IS_TOGGLE, IS_TOGGLE_PROVIDER, LoadingListener, MainContainerWillyWonka, NavDetectionOompaLoompa, TOGGLE_SERVICE, TOGGLE_SERVICE_PROVIDER, ToggleServiceFactory, WrappedFormControl, collapse, commonStringsDefault, fade, fadeSlide, isToggleFactory, slide, AccordionOompaLoompa as ÇlrAccordionOompaLoompa, AccordionWillyWonka as ÇlrAccordionWillyWonka, ActionableOompaLoompa as ÇlrActionableOompaLoompa, ActiveOompaLoompa as ÇlrActiveOompaLoompa, ClrPopoverCloseButton as ÇlrClrPopoverCloseButton, ClrPopoverModuleNext as ÇlrClrPopoverModuleNext, ClrPopoverOpenCloseButton as ÇlrClrPopoverOpenCloseButton, DatagridCellRenderer as ÇlrDatagridCellRenderer, DatagridDetailRegisterer as ÇlrDatagridDetailRegisterer, DatagridHeaderRenderer as ÇlrDatagridHeaderRenderer, DatagridMainRenderer as ÇlrDatagridMainRenderer, DatagridRowDetailRenderer as ÇlrDatagridRowDetailRenderer, DatagridRowRenderer as ÇlrDatagridRowRenderer, ClrDatagridSelectionCellDirective as ÇlrDatagridSelectionCellDirective, ClrDatagridVirtualScrollDirective as ÇlrDatagridVirtualScrollDirective, DatagridWillyWonka as ÇlrDatagridWillyWonka, ExpandableOompaLoompa as ÇlrExpandableOompaLoompa, StepperOompaLoompa as ÇlrStepperOompaLoompa, StepperWillyWonka as ÇlrStepperWillyWonka, TabsWillyWonka as ÇlrTabsWillyWonka, WrappedCell as ÇlrWrappedCell, WrappedColumn as ÇlrWrappedColumn, WrappedRow as ÇlrWrappedRow };
|
|
31448
|
+
export { BaseExpandableAnimation, CHANGE_KEYS, CLR_ALERT_DIRECTIVES, CLR_BUTTON_GROUP_DIRECTIVES, CLR_DATAGRID_DIRECTIVES, CLR_DATEPICKER_DIRECTIVES, CLR_DROPDOWN_DIRECTIVES, CLR_FILE_MESSAGES_TEMPLATE_CONTEXT, CLR_ICON_DIRECTIVES, CLR_LAYOUT_DIRECTIVES, CLR_LOADING_BUTTON_DIRECTIVES, CLR_LOADING_DIRECTIVES, CLR_MENU_POSITIONS, CLR_MODAL_DIRECTIVES, CLR_NAVIGATION_DIRECTIVES, CLR_PROGRESS_BAR_DIRECTIVES, CLR_SIDEPANEL_DIRECTIVES, CLR_SIGNPOST_DIRECTIVES, CLR_SPINNER_DIRECTIVES, CLR_STACK_VIEW_DIRECTIVES, CLR_TABS_DIRECTIVES, CLR_TOOLTIP_DIRECTIVES, CLR_TREE_VIEW_DIRECTIVES, CLR_VERTICAL_NAV_DIRECTIVES, CLR_WIZARD_DIRECTIVES, CONDITIONAL_DIRECTIVES, CUSTOM_BUTTON_TYPES, CdsIconCustomTag, ClarityModule, ClrAbstractContainer, ClrAccordion, ClrAccordionContent, ClrAccordionDescription, ClrAccordionModule, ClrAccordionPanel, ClrAccordionTitle, ClrAlert, ClrAlertItem, ClrAlertModule, ClrAlertText, ClrAlerts, ClrAlertsPager, ClrAlignment, ClrAriaCurrentLink, ClrAxis, ClrBreadcrumbItem, ClrBreadcrumbs, ClrBreadcrumbsModule, ClrButton, ClrButtonGroup, ClrButtonGroupModule, ClrButtonModule, ClrCalendar, ClrCheckbox, ClrCheckboxContainer, ClrCheckboxModule, ClrCheckboxWrapper, ClrCombobox, ClrComboboxContainer, ClrComboboxModule, ClrCommonFormsModule, ClrCommonStringsService, ClrConditionalModule, ClrControl, ClrControlContainer, ClrControlError, ClrControlHelper, ClrControlSuccess, ClrDataModule, ClrDatagrid, ClrDatagridActionBar, ClrDatagridActionOverflow, ClrDatagridCell, ClrDatagridColumn, ClrDatagridColumnSeparator, ClrDatagridColumnToggle, ClrDatagridColumnToggleButton, ClrDatagridDetail, ClrDatagridDetailBody, ClrDatagridDetailHeader, ClrDatagridFilter, ClrDatagridFooter, ClrDatagridHideableColumn, ClrDatagridItems, ClrDatagridModule, ClrDatagridPageSize, ClrDatagridPagination, ClrDatagridPlaceholder, ClrDatagridRow, ClrDatagridRowDetail, ClrDatagridSortOrder, ClrDatalist, ClrDatalistContainer, ClrDatalistInput, ClrDatalistModule, ClrDateContainer, ClrDateInput, ClrDateInputBase, ClrDateInputValidator, ClrDatepickerActions, ClrDatepickerModule, ClrDatepickerViewManager, ClrDay, ClrDaypicker, ClrDestroyService, ClrDropdown, ClrDropdownItem, ClrDropdownMenu, ClrDropdownModule, ClrDropdownTrigger, ClrEmphasisModule, ClrEndDateInput, ClrEndDateInputValidator, ClrExpandableAnimation, ClrFileError, ClrFileInfo, ClrFileInput, ClrFileInputContainer, ClrFileInputModule, ClrFileInputValidator, ClrFileInputValueAccessor, ClrFileList, ClrFileMessagesTemplate, ClrFileSuccess, ClrFocusOnViewInit, ClrFocusOnViewInitModule, ClrForm, ClrFormLayout, ClrFormsModule, ClrHeader, ClrIconCustomTag, ClrIconModule, ClrIfActive, ClrIfDetail, ClrIfError, ClrIfExpanded, ClrIfOpen, ClrIfSuccess, ClrInput, ClrInputContainer, ClrInputModule, ClrLabel, ClrLayout, ClrLayoutModule, ClrLoading, ClrLoadingButton, ClrLoadingButtonModule, ClrLoadingModule, ClrLoadingState, ClrMainContainer, ClrMainContainerModule, ClrModal, ClrModalBody, ClrModalConfigurationService, ClrModalHostComponent, ClrModalModule, ClrMonthpicker, ClrNavLevel, ClrNavigationModule, ClrNumberInput, ClrNumberInputContainer, ClrNumberInputModule, ClrOption, ClrOptionGroup, ClrOptionItems, ClrOptionSelected, ClrOptions, ClrPassword, ClrPasswordContainer, ClrPasswordModule, ClrPopoverAnchor, ClrPopoverContent, ClrPopoverEventsService, ClrPopoverHostDirective, ClrPopoverModule, ClrPopoverPositionService, ClrPopoverToggleService, ClrProgressBar, ClrProgressBarModule, ClrRadio, ClrRadioContainer, ClrRadioModule, ClrRadioWrapper, ClrRange, ClrRangeContainer, ClrRangeModule, ClrRecursiveForOf, ClrSelect, ClrSelectContainer, ClrSelectModule, ClrSelectedState, ClrSide, ClrSidePanel, ClrSidePanelModule, ClrSignpost, ClrSignpostContent, ClrSignpostModule, ClrSignpostTitle, ClrSignpostTrigger, ClrSpinner, ClrSpinnerModule, ClrStackBlock, ClrStackContentInput, ClrStackHeader, ClrStackView, ClrStackViewCustomTags, ClrStackViewLabel, ClrStackViewModule, ClrStandaloneCdkTrapFocus, ClrStartDateInput, ClrStartDateInputValidator, ClrStepButton, ClrStepButtonType, ClrStepper, ClrStepperModule, ClrStepperPanel, ClrStopEscapePropagationDirective, ClrTab, ClrTabAction, ClrTabContent, ClrTabLink, ClrTabOverflowContent, ClrTabs, ClrTabsActions, ClrTabsModule, ClrTextarea, ClrTextareaContainer, ClrTextareaModule, ClrTimeline, ClrTimelineLayout, ClrTimelineModule, ClrTimelineStep, ClrTimelineStepDescription, ClrTimelineStepHeader, ClrTimelineStepState, ClrTimelineStepTitle, ClrTooltip, ClrTooltipContent, ClrTooltipModule, ClrTooltipTrigger, ClrTree, ClrTreeNode, ClrTreeNodeLink, ClrTreeViewModule, ClrVerticalNav, ClrVerticalNavGroup, ClrVerticalNavGroupChildren, ClrVerticalNavIcon, ClrVerticalNavLink, ClrVerticalNavModule, ClrWizard, ClrWizardButton, ClrWizardHeaderAction, ClrWizardModule, ClrWizardPage, ClrWizardPageButtons, ClrWizardPageHeaderActions, ClrWizardPageNavTitle, ClrWizardPageTitle, ClrWizardStepnav, ClrWizardStepnavItem, ClrWizardTitle, ClrYearpicker, DEFAULT_BUTTON_TYPES, DatagridNumericFilter, DatagridPropertyComparator, DatagridPropertyNumericFilter, DatagridPropertyStringFilter, DatagridStringFilter, EXPANDABLE_ANIMATION_DIRECTIVES, FOCUS_ON_VIEW_INIT, FOCUS_ON_VIEW_INIT_DIRECTIVES, IS_TOGGLE, IS_TOGGLE_PROVIDER, LoadingListener, MainContainerWillyWonka, NavDetectionOompaLoompa, TOGGLE_SERVICE, TOGGLE_SERVICE_PROVIDER, ToggleServiceFactory, WrappedFormControl, collapse, commonStringsDefault, fade, fadeSlide, isToggleFactory, slide, AccordionOompaLoompa as ÇlrAccordionOompaLoompa, AccordionWillyWonka as ÇlrAccordionWillyWonka, ActionableOompaLoompa as ÇlrActionableOompaLoompa, ActiveOompaLoompa as ÇlrActiveOompaLoompa, ClrPopoverCloseButton as ÇlrClrPopoverCloseButton, ClrPopoverModuleNext as ÇlrClrPopoverModuleNext, ClrPopoverOpenCloseButton as ÇlrClrPopoverOpenCloseButton, DatagridCellRenderer as ÇlrDatagridCellRenderer, DatagridDetailRegisterer as ÇlrDatagridDetailRegisterer, DatagridHeaderRenderer as ÇlrDatagridHeaderRenderer, DatagridMainRenderer as ÇlrDatagridMainRenderer, DatagridRowDetailRenderer as ÇlrDatagridRowDetailRenderer, DatagridRowRenderer as ÇlrDatagridRowRenderer, ClrDatagridSelectionCellDirective as ÇlrDatagridSelectionCellDirective, ClrDatagridSingleSelectionValueAccessor as ÇlrDatagridSingleSelectionValueAccessor, ClrDatagridVirtualScrollDirective as ÇlrDatagridVirtualScrollDirective, DatagridWillyWonka as ÇlrDatagridWillyWonka, ExpandableOompaLoompa as ÇlrExpandableOompaLoompa, StepperOompaLoompa as ÇlrStepperOompaLoompa, StepperWillyWonka as ÇlrStepperWillyWonka, TabsWillyWonka as ÇlrTabsWillyWonka, WrappedCell as ÇlrWrappedCell, WrappedColumn as ÇlrWrappedColumn, WrappedRow as ÇlrWrappedRow };
|
|
31363
31449
|
//# sourceMappingURL=clr-angular.mjs.map
|