@clr/angular 15.0.0-beta.6 → 15.0.0-rc.1
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 +20 -33
- package/data/datagrid/datagrid-column-toggle-button.d.ts +4 -2
- package/data/datagrid/datagrid-column-toggle.d.ts +1 -5
- package/data/datagrid/datagrid-footer.d.ts +1 -3
- package/data/datagrid/datagrid.module.d.ts +44 -45
- package/data/datagrid/index.d.ts +0 -1
- package/esm2020/data/datagrid/datagrid-column-toggle-button.mjs +9 -8
- package/esm2020/data/datagrid/datagrid-column-toggle.mjs +11 -32
- package/esm2020/data/datagrid/datagrid-footer.mjs +6 -12
- package/esm2020/data/datagrid/datagrid.module.mjs +4 -13
- package/esm2020/data/datagrid/index.mjs +1 -2
- package/esm2020/forms/combobox/combobox.mjs +11 -2
- package/esm2020/forms/combobox/option-items.directive.mjs +5 -2
- package/esm2020/forms/combobox/providers/option-selection.service.mjs +4 -1
- package/fesm2015/clr-angular.mjs +69 -104
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +67 -102
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/forms/combobox/providers/option-selection.service.d.ts +1 -0
- package/package.json +1 -1
- package/data/datagrid/datagrid-column-toggle-title.d.ts +0 -5
- package/esm2020/data/datagrid/datagrid-column-toggle-title.mjs +0 -20
package/fesm2020/clr-angular.mjs
CHANGED
|
@@ -5640,6 +5640,9 @@ class PseudoFocusModel extends SingleSelectComboboxModel {
|
|
|
5640
5640
|
class OptionSelectionService {
|
|
5641
5641
|
constructor() {
|
|
5642
5642
|
this.loading = false;
|
|
5643
|
+
// Display all options on first open, even if filter text exists.
|
|
5644
|
+
// https://github.com/vmware-clarity/ng-clarity/issues/386
|
|
5645
|
+
this.showAllOptions = true;
|
|
5643
5646
|
this._currentInput = '';
|
|
5644
5647
|
this._inputChanged = new BehaviorSubject('');
|
|
5645
5648
|
this.inputChanged = this._inputChanged.asObservable();
|
|
@@ -6199,10 +6202,16 @@ class ClrCombobox extends WrappedFormControl {
|
|
|
6199
6202
|
set searchText(text) {
|
|
6200
6203
|
// if input text has changed since last time, fire a change event so application can react to it
|
|
6201
6204
|
if (text !== this._searchText) {
|
|
6205
|
+
if (this.toggleService.open) {
|
|
6206
|
+
this.optionSelectionService.showAllOptions = false;
|
|
6207
|
+
}
|
|
6202
6208
|
this._searchText = text;
|
|
6203
6209
|
this.clrInputChange.emit(this.searchText);
|
|
6204
|
-
this.optionSelectionService.currentInput = this.searchText;
|
|
6205
6210
|
}
|
|
6211
|
+
// We need to trigger this even if unchanged, so the option-items directive will update its list
|
|
6212
|
+
// based on the "showAllOptions" variable which may have changed in the openChange subscription below.
|
|
6213
|
+
// The option-items directive does not listen to openChange, but it listens to currentInput changes.
|
|
6214
|
+
this.optionSelectionService.currentInput = this.searchText;
|
|
6206
6215
|
}
|
|
6207
6216
|
get searchText() {
|
|
6208
6217
|
return this._searchText;
|
|
@@ -6298,6 +6307,9 @@ class ClrCombobox extends WrappedFormControl {
|
|
|
6298
6307
|
if (open) {
|
|
6299
6308
|
this.focusFirstActive();
|
|
6300
6309
|
}
|
|
6310
|
+
else {
|
|
6311
|
+
this.optionSelectionService.showAllOptions = true;
|
|
6312
|
+
}
|
|
6301
6313
|
if (this.multiSelect) {
|
|
6302
6314
|
this.searchText = '';
|
|
6303
6315
|
}
|
|
@@ -6486,7 +6498,10 @@ class ClrOptionItems {
|
|
|
6486
6498
|
if (!this._rawItems || this.filter === undefined || this.filter === null) {
|
|
6487
6499
|
return;
|
|
6488
6500
|
}
|
|
6489
|
-
if (this.
|
|
6501
|
+
if (this.optionService.showAllOptions) {
|
|
6502
|
+
this.filteredItems = this._rawItems;
|
|
6503
|
+
}
|
|
6504
|
+
else if (this._filterField) {
|
|
6490
6505
|
this.filteredItems = this._rawItems.filter(item => {
|
|
6491
6506
|
const objValue = item[this._filterField];
|
|
6492
6507
|
return objValue ? objValue.toString().toLowerCase().indexOf(this.filter.toLowerCase().toString()) > -1 : false;
|
|
@@ -14826,9 +14841,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
14826
14841
|
* This software is released under MIT license.
|
|
14827
14842
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
14828
14843
|
*/
|
|
14829
|
-
|
|
14844
|
+
class ClrDatagridItemsTrackBy {
|
|
14845
|
+
constructor(_items) {
|
|
14846
|
+
this._items = _items;
|
|
14847
|
+
}
|
|
14848
|
+
set trackBy(value) {
|
|
14849
|
+
if (this._items) {
|
|
14850
|
+
this._items.trackBy = value;
|
|
14851
|
+
}
|
|
14852
|
+
}
|
|
14853
|
+
}
|
|
14854
|
+
ClrDatagridItemsTrackBy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridItemsTrackBy, deps: [{ token: Items, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14855
|
+
ClrDatagridItemsTrackBy.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: ClrDatagridItemsTrackBy, selector: "[ngForTrackBy]", inputs: { trackBy: ["ngForTrackBy", "trackBy"] }, ngImport: i0 });
|
|
14856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridItemsTrackBy, decorators: [{
|
|
14857
|
+
type: Directive,
|
|
14858
|
+
args: [{
|
|
14859
|
+
selector: '[ngForTrackBy]',
|
|
14860
|
+
}]
|
|
14861
|
+
}], ctorParameters: function () { return [{ type: Items, decorators: [{
|
|
14862
|
+
type: Optional
|
|
14863
|
+
}] }]; }, propDecorators: { trackBy: [{
|
|
14864
|
+
type: Input,
|
|
14865
|
+
args: ['ngForTrackBy']
|
|
14866
|
+
}] } });
|
|
14867
|
+
|
|
14868
|
+
/*
|
|
14869
|
+
* Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
|
|
14870
|
+
* This software is released under MIT license.
|
|
14871
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
14872
|
+
*/
|
|
14830
14873
|
class ClrDatagridColumnToggleButton {
|
|
14831
|
-
constructor(columnsService) {
|
|
14874
|
+
constructor(commonStrings, columnsService) {
|
|
14875
|
+
this.commonStrings = commonStrings;
|
|
14832
14876
|
this.columnsService = columnsService;
|
|
14833
14877
|
this.allSelected = new EventEmitter();
|
|
14834
14878
|
}
|
|
@@ -14849,7 +14893,7 @@ class ClrDatagridColumnToggleButton {
|
|
|
14849
14893
|
this.allSelected.next(true);
|
|
14850
14894
|
}
|
|
14851
14895
|
}
|
|
14852
|
-
ClrDatagridColumnToggleButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridColumnToggleButton, deps: [{ token: ColumnsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14896
|
+
ClrDatagridColumnToggleButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridColumnToggleButton, deps: [{ token: ClrCommonStringsService }, { token: ColumnsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14853
14897
|
ClrDatagridColumnToggleButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: ClrDatagridColumnToggleButton, selector: "clr-dg-column-toggle-button", outputs: { clrAllSelected: "clrAllSelected" }, ngImport: i0, template: `
|
|
14854
14898
|
<button
|
|
14855
14899
|
class="btn btn-sm btn-link switch-button"
|
|
@@ -14857,7 +14901,7 @@ ClrDatagridColumnToggleButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
14857
14901
|
[disabled]="allHideablesVisible"
|
|
14858
14902
|
type="button"
|
|
14859
14903
|
>
|
|
14860
|
-
|
|
14904
|
+
{{ commonStrings.keys.selectAll }}
|
|
14861
14905
|
</button>
|
|
14862
14906
|
`, isInline: true });
|
|
14863
14907
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridColumnToggleButton, decorators: [{
|
|
@@ -14871,11 +14915,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
14871
14915
|
[disabled]="allHideablesVisible"
|
|
14872
14916
|
type="button"
|
|
14873
14917
|
>
|
|
14874
|
-
|
|
14918
|
+
{{ commonStrings.keys.selectAll }}
|
|
14875
14919
|
</button>
|
|
14876
14920
|
`,
|
|
14877
14921
|
}]
|
|
14878
|
-
}], ctorParameters: function () { return [{ type: ColumnsService }]; }, propDecorators: { clrAllSelected: [{
|
|
14922
|
+
}], ctorParameters: function () { return [{ type: ClrCommonStringsService }, { type: ColumnsService }]; }, propDecorators: { clrAllSelected: [{
|
|
14879
14923
|
type: Output,
|
|
14880
14924
|
args: ['clrAllSelected']
|
|
14881
14925
|
}] } });
|
|
@@ -14885,54 +14929,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
14885
14929
|
* This software is released under MIT license.
|
|
14886
14930
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
14887
14931
|
*/
|
|
14888
|
-
/** @deprecated since 2.0, remove in 3.0 */
|
|
14889
|
-
class ClrDatagridColumnToggleTitle {
|
|
14890
|
-
}
|
|
14891
|
-
ClrDatagridColumnToggleTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridColumnToggleTitle, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14892
|
-
ClrDatagridColumnToggleTitle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: ClrDatagridColumnToggleTitle, selector: "clr-dg-column-toggle-title", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
14893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridColumnToggleTitle, decorators: [{
|
|
14894
|
-
type: Component,
|
|
14895
|
-
args: [{
|
|
14896
|
-
selector: 'clr-dg-column-toggle-title',
|
|
14897
|
-
template: `<ng-content></ng-content>`,
|
|
14898
|
-
}]
|
|
14899
|
-
}] });
|
|
14900
|
-
|
|
14901
|
-
/*
|
|
14902
|
-
* Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
|
|
14903
|
-
* This software is released under MIT license.
|
|
14904
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
14905
|
-
*/
|
|
14906
|
-
class ClrDatagridItemsTrackBy {
|
|
14907
|
-
constructor(_items) {
|
|
14908
|
-
this._items = _items;
|
|
14909
|
-
}
|
|
14910
|
-
set trackBy(value) {
|
|
14911
|
-
if (this._items) {
|
|
14912
|
-
this._items.trackBy = value;
|
|
14913
|
-
}
|
|
14914
|
-
}
|
|
14915
|
-
}
|
|
14916
|
-
ClrDatagridItemsTrackBy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridItemsTrackBy, deps: [{ token: Items, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14917
|
-
ClrDatagridItemsTrackBy.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: ClrDatagridItemsTrackBy, selector: "[ngForTrackBy]", inputs: { trackBy: ["ngForTrackBy", "trackBy"] }, ngImport: i0 });
|
|
14918
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridItemsTrackBy, decorators: [{
|
|
14919
|
-
type: Directive,
|
|
14920
|
-
args: [{
|
|
14921
|
-
selector: '[ngForTrackBy]',
|
|
14922
|
-
}]
|
|
14923
|
-
}], ctorParameters: function () { return [{ type: Items, decorators: [{
|
|
14924
|
-
type: Optional
|
|
14925
|
-
}] }]; }, propDecorators: { trackBy: [{
|
|
14926
|
-
type: Input,
|
|
14927
|
-
args: ['ngForTrackBy']
|
|
14928
|
-
}] } });
|
|
14929
|
-
|
|
14930
|
-
/*
|
|
14931
|
-
* Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
|
|
14932
|
-
* This software is released under MIT license.
|
|
14933
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
14934
|
-
*/
|
|
14935
|
-
/** @deprecated since 2.0, remove in 3.0 */
|
|
14936
14932
|
class ClrDatagridColumnToggle {
|
|
14937
14933
|
constructor(commonStrings, columnsService, popoverToggleService) {
|
|
14938
14934
|
this.commonStrings = commonStrings;
|
|
@@ -14985,7 +14981,7 @@ class ClrDatagridColumnToggle {
|
|
|
14985
14981
|
}
|
|
14986
14982
|
}
|
|
14987
14983
|
ClrDatagridColumnToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridColumnToggle, deps: [{ token: ClrCommonStringsService }, { token: ColumnsService }, { token: ClrPopoverToggleService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14988
|
-
ClrDatagridColumnToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: ClrDatagridColumnToggle, selector: "clr-dg-column-toggle", host: { properties: { "class.column-switch-wrapper": "true", "class.active": "openState" } },
|
|
14984
|
+
ClrDatagridColumnToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: ClrDatagridColumnToggle, selector: "clr-dg-column-toggle", host: { properties: { "class.column-switch-wrapper": "true", "class.active": "openState" } }, viewQueries: [{ propertyName: "allSelectedElement", first: true, predicate: ["allSelected"], descendants: true, read: ElementRef }], hostDirectives: [{ directive: PopoverHostDirective }], ngImport: i0, template: `
|
|
14989
14985
|
<button
|
|
14990
14986
|
role="button"
|
|
14991
14987
|
type="button"
|
|
@@ -15008,10 +15004,7 @@ ClrDatagridColumnToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
15008
15004
|
>
|
|
15009
15005
|
<div class="switch-header">
|
|
15010
15006
|
<div class="clr-sr-only" tabindex="-1" #allSelected>{{ commonStrings.keys.allColumnsSelected }}</div>
|
|
15011
|
-
<
|
|
15012
|
-
<h2>{{ commonStrings.keys.showColumns }}</h2>
|
|
15013
|
-
</ng-container>
|
|
15014
|
-
<ng-content select="clr-dg-column-toggle-title"></ng-content>
|
|
15007
|
+
<h2>{{ commonStrings.keys.showColumns }}</h2>
|
|
15015
15008
|
<button
|
|
15016
15009
|
class="btn btn-sm btn-link toggle-switch-close-button"
|
|
15017
15010
|
clrPopoverCloseButton
|
|
@@ -15039,13 +15032,10 @@ ClrDatagridColumnToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
15039
15032
|
</li>
|
|
15040
15033
|
</ul>
|
|
15041
15034
|
<div class="switch-footer">
|
|
15042
|
-
<
|
|
15043
|
-
<clr-dg-column-toggle-button *ngIf="!customToggleButton" (clrAllSelected)="allColumnsSelected()">
|
|
15044
|
-
{{ commonStrings.keys.selectAll }}
|
|
15045
|
-
</clr-dg-column-toggle-button>
|
|
15035
|
+
<clr-dg-column-toggle-button (clrAllSelected)="allColumnsSelected()"></clr-dg-column-toggle-button>
|
|
15046
15036
|
</div>
|
|
15047
15037
|
</div>
|
|
15048
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.
|
|
15038
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CdkTrapFocusModule_CdkTrapFocus, selector: "[cdkTrapFocus]" }, { kind: "directive", type: CdsIconCustomTag, selector: "cds-icon" }, { kind: "directive", type: ClrLabel, selector: "label", inputs: ["for"] }, { kind: "directive", type: ClrCheckbox, selector: "[clrCheckbox],[clrToggle]" }, { kind: "component", type: ClrCheckboxWrapper, selector: "clr-checkbox-wrapper,clr-toggle-wrapper" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { 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: ClrPopoverAnchor, selector: "[clrPopoverAnchor]" }, { kind: "directive", type: ClrPopoverCloseButton, selector: "[clrPopoverCloseButton]", outputs: ["clrPopoverOnCloseChange"] }, { kind: "directive", type: ClrPopoverOpenCloseButton, selector: "[clrPopoverOpenCloseButton]", outputs: ["clrPopoverOpenCloseChange"] }, { kind: "directive", type: ClrPopoverContent, selector: "[clrPopoverContent]", inputs: ["clrPopoverContent", "clrPopoverContentAt", "clrPopoverContentOutsideClickToClose", "clrPopoverContentScrollToClose"] }, { kind: "directive", type: ClrDatagridItemsTrackBy, selector: "[ngForTrackBy]", inputs: ["ngForTrackBy"] }, { kind: "component", type: ClrDatagridColumnToggleButton, selector: "clr-dg-column-toggle-button", outputs: ["clrAllSelected"] }] });
|
|
15049
15039
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridColumnToggle, decorators: [{
|
|
15050
15040
|
type: Component,
|
|
15051
15041
|
args: [{
|
|
@@ -15073,10 +15063,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
15073
15063
|
>
|
|
15074
15064
|
<div class="switch-header">
|
|
15075
15065
|
<div class="clr-sr-only" tabindex="-1" #allSelected>{{ commonStrings.keys.allColumnsSelected }}</div>
|
|
15076
|
-
<
|
|
15077
|
-
<h2>{{ commonStrings.keys.showColumns }}</h2>
|
|
15078
|
-
</ng-container>
|
|
15079
|
-
<ng-content select="clr-dg-column-toggle-title"></ng-content>
|
|
15066
|
+
<h2>{{ commonStrings.keys.showColumns }}</h2>
|
|
15080
15067
|
<button
|
|
15081
15068
|
class="btn btn-sm btn-link toggle-switch-close-button"
|
|
15082
15069
|
clrPopoverCloseButton
|
|
@@ -15104,23 +15091,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
15104
15091
|
</li>
|
|
15105
15092
|
</ul>
|
|
15106
15093
|
<div class="switch-footer">
|
|
15107
|
-
<
|
|
15108
|
-
<clr-dg-column-toggle-button *ngIf="!customToggleButton" (clrAllSelected)="allColumnsSelected()">
|
|
15109
|
-
{{ commonStrings.keys.selectAll }}
|
|
15110
|
-
</clr-dg-column-toggle-button>
|
|
15094
|
+
<clr-dg-column-toggle-button (clrAllSelected)="allColumnsSelected()"></clr-dg-column-toggle-button>
|
|
15111
15095
|
</div>
|
|
15112
15096
|
</div>
|
|
15113
15097
|
`,
|
|
15114
15098
|
host: { '[class.column-switch-wrapper]': 'true', '[class.active]': 'openState' },
|
|
15115
15099
|
hostDirectives: [PopoverHostDirective],
|
|
15116
15100
|
}]
|
|
15117
|
-
}], ctorParameters: function () { return [{ type: ClrCommonStringsService }, { type: ColumnsService }, { type: ClrPopoverToggleService }]; }, propDecorators: {
|
|
15118
|
-
type: ContentChild,
|
|
15119
|
-
args: [ClrDatagridColumnToggleTitle]
|
|
15120
|
-
}], customToggleButton: [{
|
|
15121
|
-
type: ContentChild,
|
|
15122
|
-
args: [ClrDatagridColumnToggleButton]
|
|
15123
|
-
}], allSelectedElement: [{
|
|
15101
|
+
}], ctorParameters: function () { return [{ type: ClrCommonStringsService }, { type: ColumnsService }, { type: ClrPopoverToggleService }]; }, propDecorators: { allSelectedElement: [{
|
|
15124
15102
|
type: ViewChild,
|
|
15125
15103
|
args: ['allSelected', { read: ElementRef }]
|
|
15126
15104
|
}] } });
|
|
@@ -15605,7 +15583,7 @@ class ClrDatagridFooter {
|
|
|
15605
15583
|
}
|
|
15606
15584
|
}
|
|
15607
15585
|
ClrDatagridFooter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ClrDatagridFooter, deps: [{ token: Selection }, { token: DetailService }, { token: ColumnsService }, { token: ClrCommonStringsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15608
|
-
ClrDatagridFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: ClrDatagridFooter, selector: "clr-dg-footer", host: { properties: { "class.datagrid-footer": "true" } },
|
|
15586
|
+
ClrDatagridFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: ClrDatagridFooter, selector: "clr-dg-footer", host: { properties: { "class.datagrid-footer": "true" } }, ngImport: i0, template: `
|
|
15609
15587
|
<ng-container *ngIf="selection.selectionType === SELECTION_TYPE.Multi && selection.current.length > 0">
|
|
15610
15588
|
<div class="clr-form-control-disabled">
|
|
15611
15589
|
<clr-checkbox-wrapper class="datagrid-footer-select">
|
|
@@ -15616,8 +15594,7 @@ ClrDatagridFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
15616
15594
|
</div>
|
|
15617
15595
|
</ng-container>
|
|
15618
15596
|
<ng-container *ngIf="!detailService.isOpen">
|
|
15619
|
-
<
|
|
15620
|
-
<clr-dg-column-toggle *ngIf="hasHideableColumns && !toggle"></clr-dg-column-toggle>
|
|
15597
|
+
<clr-dg-column-toggle *ngIf="hasHideableColumns"></clr-dg-column-toggle>
|
|
15621
15598
|
<div class="datagrid-footer-description">
|
|
15622
15599
|
<ng-content></ng-content>
|
|
15623
15600
|
</div>
|
|
@@ -15639,8 +15616,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
15639
15616
|
</div>
|
|
15640
15617
|
</ng-container>
|
|
15641
15618
|
<ng-container *ngIf="!detailService.isOpen">
|
|
15642
|
-
<
|
|
15643
|
-
<clr-dg-column-toggle *ngIf="hasHideableColumns && !toggle"></clr-dg-column-toggle>
|
|
15619
|
+
<clr-dg-column-toggle *ngIf="hasHideableColumns"></clr-dg-column-toggle>
|
|
15644
15620
|
<div class="datagrid-footer-description">
|
|
15645
15621
|
<ng-content></ng-content>
|
|
15646
15622
|
</div>
|
|
@@ -15651,10 +15627,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
15651
15627
|
'[class.datagrid-footer]': 'true',
|
|
15652
15628
|
},
|
|
15653
15629
|
}]
|
|
15654
|
-
}], ctorParameters: function () { return [{ type: Selection }, { type: DetailService }, { type: ColumnsService }, { type: ClrCommonStringsService }]; }
|
|
15655
|
-
type: ContentChild,
|
|
15656
|
-
args: [ClrDatagridColumnToggle]
|
|
15657
|
-
}] } });
|
|
15630
|
+
}], ctorParameters: function () { return [{ type: Selection }, { type: DetailService }, { type: ColumnsService }, { type: ClrCommonStringsService }]; } });
|
|
15658
15631
|
|
|
15659
15632
|
/*
|
|
15660
15633
|
* Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.
|
|
@@ -16858,9 +16831,6 @@ const CLR_DATAGRID_DIRECTIVES = [
|
|
|
16858
16831
|
ClrDatagridCell,
|
|
16859
16832
|
ClrDatagridColumn,
|
|
16860
16833
|
ClrDatagridColumnSeparator,
|
|
16861
|
-
ClrDatagridColumnToggle,
|
|
16862
|
-
ClrDatagridColumnToggleButton,
|
|
16863
|
-
ClrDatagridColumnToggleTitle,
|
|
16864
16834
|
ClrDatagridDetail,
|
|
16865
16835
|
ClrDatagridDetailBody,
|
|
16866
16836
|
ClrDatagridDetailHeader,
|
|
@@ -16893,6 +16863,7 @@ const CLR_DATAGRID_DIRECTIVES = [
|
|
|
16893
16863
|
DatagridNumericFilter,
|
|
16894
16864
|
DatagridStringFilter,
|
|
16895
16865
|
];
|
|
16866
|
+
const CLR_DATAGRID_INTERNAL_DIRECTIVES = [ClrDatagridColumnToggle, ClrDatagridColumnToggleButton];
|
|
16896
16867
|
class ClrDatagridModule {
|
|
16897
16868
|
constructor() {
|
|
16898
16869
|
ClarityIcons.addIcons(ellipsisVerticalIcon, viewColumnsIcon, windowCloseIcon, arrowIcon, timesIcon, stepForward2Icon, angleDoubleIcon, filterGridCircleIcon, filterGridIcon);
|
|
@@ -16907,9 +16878,6 @@ ClrDatagridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
|
|
|
16907
16878
|
ClrDatagridCell,
|
|
16908
16879
|
ClrDatagridColumn,
|
|
16909
16880
|
ClrDatagridColumnSeparator,
|
|
16910
|
-
ClrDatagridColumnToggle,
|
|
16911
|
-
ClrDatagridColumnToggleButton,
|
|
16912
|
-
ClrDatagridColumnToggleTitle,
|
|
16913
16881
|
ClrDatagridDetail,
|
|
16914
16882
|
ClrDatagridDetailBody,
|
|
16915
16883
|
ClrDatagridDetailHeader,
|
|
@@ -16940,7 +16908,7 @@ ClrDatagridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
|
|
|
16940
16908
|
ExpandableOompaLoompa,
|
|
16941
16909
|
// Built-in shortcuts
|
|
16942
16910
|
DatagridNumericFilter,
|
|
16943
|
-
DatagridStringFilter], imports: [CommonModule,
|
|
16911
|
+
DatagridStringFilter, ClrDatagridColumnToggle, ClrDatagridColumnToggleButton], imports: [CommonModule,
|
|
16944
16912
|
CdkDragModule,
|
|
16945
16913
|
CdkTrapFocusModule,
|
|
16946
16914
|
ClrIconModule,
|
|
@@ -16960,9 +16928,6 @@ ClrDatagridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
|
|
|
16960
16928
|
ClrDatagridCell,
|
|
16961
16929
|
ClrDatagridColumn,
|
|
16962
16930
|
ClrDatagridColumnSeparator,
|
|
16963
|
-
ClrDatagridColumnToggle,
|
|
16964
|
-
ClrDatagridColumnToggleButton,
|
|
16965
|
-
ClrDatagridColumnToggleTitle,
|
|
16966
16931
|
ClrDatagridDetail,
|
|
16967
16932
|
ClrDatagridDetailBody,
|
|
16968
16933
|
ClrDatagridDetailHeader,
|
|
@@ -17025,7 +16990,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
17025
16990
|
ClrPopoverModuleNext,
|
|
17026
16991
|
ClrKeyFocusModule,
|
|
17027
16992
|
],
|
|
17028
|
-
declarations: [CLR_DATAGRID_DIRECTIVES],
|
|
16993
|
+
declarations: [CLR_DATAGRID_DIRECTIVES, CLR_DATAGRID_INTERNAL_DIRECTIVES],
|
|
17029
16994
|
exports: [CLR_DATAGRID_DIRECTIVES],
|
|
17030
16995
|
}]
|
|
17031
16996
|
}], ctorParameters: function () { return []; } });
|
|
@@ -26095,5 +26060,5 @@ const CLR_MENU_POSITIONS = [
|
|
|
26095
26060
|
* Generated bundle index. Do not edit.
|
|
26096
26061
|
*/
|
|
26097
26062
|
|
|
26098
|
-
export { CLR_ALERT_DIRECTIVES, CLR_BUTTON_GROUP_DIRECTIVES, CLR_DATAGRID_DIRECTIVES, CLR_DATEPICKER_DIRECTIVES, CLR_DROPDOWN_DIRECTIVES, 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_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, 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,
|
|
26063
|
+
export { CLR_ALERT_DIRECTIVES, CLR_BUTTON_GROUP_DIRECTIVES, CLR_DATAGRID_DIRECTIVES, CLR_DATEPICKER_DIRECTIVES, CLR_DROPDOWN_DIRECTIVES, 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_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, 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, ClrDatagridItemsTrackBy, ClrDatagridModule, ClrDatagridPageSize, ClrDatagridPagination, ClrDatagridPlaceholder, ClrDatagridRow, ClrDatagridRowDetail, ClrDatagridSortOrder, ClrDatalist, ClrDatalistContainer, ClrDatalistInput, ClrDatalistModule, ClrDateContainer, ClrDateInput, ClrDateInputValidator, ClrDatepickerModule, ClrDatepickerViewManager, ClrDay, ClrDaypicker, ClrDestroyService, ClrDropdown, ClrDropdownItem, ClrDropdownMenu, ClrDropdownModule, ClrDropdownTrigger, ClrEmphasisModule, ClrExpandableAnimation, 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, ClrModalModule, ClrMonthpicker, ClrNavLevel, ClrNavigationModule, ClrOption, ClrOptionItems, ClrOptionSelected, ClrOptions, ClrPassword, ClrPasswordContainer, ClrPasswordModule, ClrPopoverAnchor, ClrPopoverContent, ClrPopoverEventsService, ClrPopoverModule, ClrPopoverPositionService, ClrPopoverToggleService, ClrProgressBar, ClrProgressBarModule, ClrRadio, ClrRadioContainer, ClrRadioModule, ClrRadioWrapper, ClrRange, ClrRangeContainer, ClrRangeModule, ClrRecursiveForOf, ClrSelect, ClrSelectContainer, ClrSelectModule, ClrSelectedState, ClrSide, ClrSignpost, ClrSignpostContent, ClrSignpostModule, ClrSignpostTrigger, ClrSpinner, ClrSpinnerModule, ClrStackBlock, ClrStackContentInput, ClrStackHeader, ClrStackView, ClrStackViewCustomTags, ClrStackViewLabel, ClrStackViewModule, ClrStepButton, ClrStepButtonType, ClrStepper, ClrStepperModule, ClrStepperPanel, ClrTab, ClrTabContent, ClrTabLink, ClrTabOverflowContent, ClrTabs, 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, ClrWizardCustomTags, ClrWizardHeaderAction, ClrWizardModule, ClrWizardPage, ClrWizardPageButtons, ClrWizardPageHeaderActions, ClrWizardPageNavTitle, ClrWizardPageTitle, ClrWizardStepnav, ClrWizardStepnavItem, 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, DatagridRowRenderer as ÇlrDatagridRowRenderer, ClrDatagridSelectionCellDirective as ÇlrDatagridSelectionCellDirective, DatagridWillyWonka as ÇlrDatagridWillyWonka, ExpandableOompaLoompa as ÇlrExpandableOompaLoompa, StepperOompaLoompa as ÇlrStepperOompaLoompa, StepperWillyWonka as ÇlrStepperWillyWonka, TabsWillyWonka as ÇlrTabsWillyWonka, WrappedCell as ÇlrWrappedCell, WrappedColumn as ÇlrWrappedColumn, WrappedRow as ÇlrWrappedRow };
|
|
26099
26064
|
//# sourceMappingURL=clr-angular.mjs.map
|