@progress/kendo-angular-grid 22.1.0-develop.15 → 22.1.0-develop.16
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.
|
@@ -83,6 +83,7 @@ export declare class AdaptiveRendererComponent {
|
|
|
83
83
|
cancelChanges(): void;
|
|
84
84
|
onTab(event: KeyboardEvent): void;
|
|
85
85
|
saveEditing(): void;
|
|
86
|
+
onAdaptiveResetClick(e: Event): void;
|
|
86
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdaptiveRendererComponent, never>;
|
|
87
88
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdaptiveRendererComponent, "kendo-grid-adaptive-renderer", never, {}, {}, never, never, true, never>;
|
|
88
89
|
}
|
|
@@ -8483,6 +8483,9 @@ class AdaptiveGridService {
|
|
|
8483
8483
|
this.reset();
|
|
8484
8484
|
}
|
|
8485
8485
|
resetFilter() {
|
|
8486
|
+
if (this.filterMenuContainer?.clearDisabled) {
|
|
8487
|
+
return;
|
|
8488
|
+
}
|
|
8486
8489
|
this.filterMenuContainer.reset();
|
|
8487
8490
|
this.ctx.grid.adaptiveRenderer.actionSheet.toggle(false);
|
|
8488
8491
|
this.reset();
|
|
@@ -11315,7 +11318,12 @@ class FilterMenuContainerComponent {
|
|
|
11315
11318
|
* The column with which the filter is associated.
|
|
11316
11319
|
* @type {ColumnComponent}
|
|
11317
11320
|
*/
|
|
11318
|
-
column
|
|
11321
|
+
set column(value) {
|
|
11322
|
+
this._column = value;
|
|
11323
|
+
}
|
|
11324
|
+
get column() {
|
|
11325
|
+
return this._column;
|
|
11326
|
+
}
|
|
11319
11327
|
/**
|
|
11320
11328
|
* @hidden
|
|
11321
11329
|
*/
|
|
@@ -11352,11 +11360,13 @@ class FilterMenuContainerComponent {
|
|
|
11352
11360
|
return this._childFilter;
|
|
11353
11361
|
}
|
|
11354
11362
|
resetButton;
|
|
11363
|
+
_column;
|
|
11355
11364
|
_childFilter;
|
|
11356
11365
|
subscription;
|
|
11357
11366
|
_templateContext = {};
|
|
11358
11367
|
_filter;
|
|
11359
11368
|
checkboxFilter;
|
|
11369
|
+
_clearDisabled = true;
|
|
11360
11370
|
constructor(parentService, childService, ctx, cd, menuTabbingService, adaptiveGridService) {
|
|
11361
11371
|
this.parentService = parentService;
|
|
11362
11372
|
this.childService = childService;
|
|
@@ -11413,7 +11423,16 @@ class FilterMenuContainerComponent {
|
|
|
11413
11423
|
this.close.emit();
|
|
11414
11424
|
return false;
|
|
11415
11425
|
}
|
|
11426
|
+
get clearDisabled() {
|
|
11427
|
+
if (!this.column || !this.filter) {
|
|
11428
|
+
return true;
|
|
11429
|
+
}
|
|
11430
|
+
return !filtersByField(this.filter, this.column.field).length;
|
|
11431
|
+
}
|
|
11416
11432
|
reset() {
|
|
11433
|
+
if (this.clearDisabled) {
|
|
11434
|
+
return;
|
|
11435
|
+
}
|
|
11417
11436
|
const root = this.filter || {
|
|
11418
11437
|
filters: [],
|
|
11419
11438
|
logic: "and"
|
|
@@ -11432,7 +11451,7 @@ class FilterMenuContainerComponent {
|
|
|
11432
11451
|
this.menuTabbingService.firstFocusable.focus();
|
|
11433
11452
|
}
|
|
11434
11453
|
else {
|
|
11435
|
-
this.disabled ? this.menuTabbingService.firstFocusable.focus() : this.resetButton.nativeElement.focus();
|
|
11454
|
+
this.disabled || this.clearDisabled ? this.menuTabbingService.firstFocusable.focus() : this.resetButton.nativeElement.focus();
|
|
11436
11455
|
}
|
|
11437
11456
|
}
|
|
11438
11457
|
}
|
|
@@ -11554,9 +11573,14 @@ class FilterMenuContainerComponent {
|
|
|
11554
11573
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
11555
11574
|
<button #resetButton kendoButton
|
|
11556
11575
|
type="reset"
|
|
11557
|
-
[
|
|
11576
|
+
[class.k-button-rectangle]="!isMultiFilter"
|
|
11577
|
+
[class.k-disabled]="clearDisabled"
|
|
11578
|
+
[attr.aria-disabled]="clearDisabled"
|
|
11558
11579
|
[icon]="getButtonIcon('reset', 'icon')"
|
|
11559
11580
|
[svgIcon]="getButtonIcon('reset', 'svgIcon')"
|
|
11581
|
+
(click)="reset()"
|
|
11582
|
+
(keydown.space)="clearDisabled ? $event.preventDefault() : reset()"
|
|
11583
|
+
(keydown.enter)="clearDisabled ? $event.preventDefault() : reset()"
|
|
11560
11584
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
11561
11585
|
</div>
|
|
11562
11586
|
}
|
|
@@ -11613,9 +11637,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
11613
11637
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
11614
11638
|
<button #resetButton kendoButton
|
|
11615
11639
|
type="reset"
|
|
11616
|
-
[
|
|
11640
|
+
[class.k-button-rectangle]="!isMultiFilter"
|
|
11641
|
+
[class.k-disabled]="clearDisabled"
|
|
11642
|
+
[attr.aria-disabled]="clearDisabled"
|
|
11617
11643
|
[icon]="getButtonIcon('reset', 'icon')"
|
|
11618
11644
|
[svgIcon]="getButtonIcon('reset', 'svgIcon')"
|
|
11645
|
+
(click)="reset()"
|
|
11646
|
+
(keydown.space)="clearDisabled ? $event.preventDefault() : reset()"
|
|
11647
|
+
(keydown.enter)="clearDisabled ? $event.preventDefault() : reset()"
|
|
11619
11648
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
11620
11649
|
</div>
|
|
11621
11650
|
}
|
|
@@ -14424,9 +14453,9 @@ class ColumnMenuItemComponent {
|
|
|
14424
14453
|
<kendo-icon-wrapper
|
|
14425
14454
|
[name]="icon"
|
|
14426
14455
|
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
14427
|
-
}
|
|
14428
|
-
{{ text }}
|
|
14429
|
-
|
|
14456
|
+
}<!-- avoid extra spaces in the rendered HTML
|
|
14457
|
+
-->{{ text }}<!--
|
|
14458
|
+
-->@if ((ctx.grid.isActionSheetExpanded && adaptiveGridService.viewType === 'sortToolbarTool' && sortDescriptor(column.field).dir)) {
|
|
14430
14459
|
<span
|
|
14431
14460
|
class="k-columnmenu-indicators">
|
|
14432
14461
|
<kendo-icon-wrapper
|
|
@@ -14464,7 +14493,7 @@ class ColumnMenuItemComponent {
|
|
|
14464
14493
|
</div>
|
|
14465
14494
|
}
|
|
14466
14495
|
}
|
|
14467
|
-
|
|
14496
|
+
|
|
14468
14497
|
<ng-template #content>
|
|
14469
14498
|
<div
|
|
14470
14499
|
class="k-columnmenu-item"
|
|
@@ -14480,9 +14509,9 @@ class ColumnMenuItemComponent {
|
|
|
14480
14509
|
<kendo-icon-wrapper
|
|
14481
14510
|
[name]="icon"
|
|
14482
14511
|
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
14483
|
-
}
|
|
14484
|
-
{{ text }}
|
|
14485
|
-
|
|
14512
|
+
}<!-- avoid extra spaces in the rendered HTML
|
|
14513
|
+
-->{{ text }}<!--
|
|
14514
|
+
-->@if ((ctx.grid.isActionSheetExpanded && adaptiveGridService.viewType === 'sortToolbarTool' && sortDescriptor(column.field).dir)) {
|
|
14486
14515
|
<span
|
|
14487
14516
|
class="k-columnmenu-indicators">
|
|
14488
14517
|
<kendo-icon-wrapper
|
|
@@ -14591,9 +14620,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14591
14620
|
<kendo-icon-wrapper
|
|
14592
14621
|
[name]="icon"
|
|
14593
14622
|
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
14594
|
-
}
|
|
14595
|
-
{{ text }}
|
|
14596
|
-
|
|
14623
|
+
}<!-- avoid extra spaces in the rendered HTML
|
|
14624
|
+
-->{{ text }}<!--
|
|
14625
|
+
-->@if ((ctx.grid.isActionSheetExpanded && adaptiveGridService.viewType === 'sortToolbarTool' && sortDescriptor(column.field).dir)) {
|
|
14597
14626
|
<span
|
|
14598
14627
|
class="k-columnmenu-indicators">
|
|
14599
14628
|
<kendo-icon-wrapper
|
|
@@ -14631,7 +14660,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14631
14660
|
</div>
|
|
14632
14661
|
}
|
|
14633
14662
|
}
|
|
14634
|
-
|
|
14663
|
+
|
|
14635
14664
|
<ng-template #content>
|
|
14636
14665
|
<div
|
|
14637
14666
|
class="k-columnmenu-item"
|
|
@@ -14647,9 +14676,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14647
14676
|
<kendo-icon-wrapper
|
|
14648
14677
|
[name]="icon"
|
|
14649
14678
|
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
14650
|
-
}
|
|
14651
|
-
{{ text }}
|
|
14652
|
-
|
|
14679
|
+
}<!-- avoid extra spaces in the rendered HTML
|
|
14680
|
+
-->{{ text }}<!--
|
|
14681
|
+
-->@if ((ctx.grid.isActionSheetExpanded && adaptiveGridService.viewType === 'sortToolbarTool' && sortDescriptor(column.field).dir)) {
|
|
14653
14682
|
<span
|
|
14654
14683
|
class="k-columnmenu-indicators">
|
|
14655
14684
|
<kendo-icon-wrapper
|
|
@@ -24051,7 +24080,7 @@ const packageMetadata = {
|
|
|
24051
24080
|
productCode: 'KENDOUIANGULAR',
|
|
24052
24081
|
productCodes: ['KENDOUIANGULAR'],
|
|
24053
24082
|
publishDate: 0,
|
|
24054
|
-
version: '22.1.0-develop.
|
|
24083
|
+
version: '22.1.0-develop.16',
|
|
24055
24084
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
24056
24085
|
};
|
|
24057
24086
|
|
|
@@ -30876,6 +30905,14 @@ class AdaptiveRendererComponent {
|
|
|
30876
30905
|
externalEditingDirective.saveHandler({ ...event, formGroup });
|
|
30877
30906
|
this.actionSheet.toggle(false);
|
|
30878
30907
|
}
|
|
30908
|
+
onAdaptiveResetClick(e) {
|
|
30909
|
+
if (this.adaptiveGridService.filterMenuContainer?.clearDisabled) {
|
|
30910
|
+
e.preventDefault();
|
|
30911
|
+
e.stopPropagation();
|
|
30912
|
+
return;
|
|
30913
|
+
}
|
|
30914
|
+
this.adaptiveGridService.resetFilter();
|
|
30915
|
+
}
|
|
30879
30916
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: AdaptiveRendererComponent, deps: [{ token: ColumnMenuService }, { token: AdaptiveGridService }, { token: FilterService }, { token: ContextService }, { token: i2$1.AdaptiveService }, { token: SortService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
30880
30917
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: AdaptiveRendererComponent, isStandalone: true, selector: "kendo-grid-adaptive-renderer", viewQueries: [{ propertyName: "columnChooserContent", first: true, predicate: ["columnChooserContent"], descendants: true }, { propertyName: "filterToolbarToolTemplate", first: true, predicate: ["filterToolbarToolTemplate"], descendants: true, read: ViewContainerRef }, { propertyName: "filterMenuContainer", first: true, predicate: ["filterMenuContainer"], descendants: true }, { propertyName: "actionSheet", first: true, predicate: ActionSheetComponent, descendants: true }, { propertyName: "groupToolbarTool", first: true, predicate: GroupToolbarToolComponent, descendants: true }], ngImport: i0, template: `
|
|
30881
30918
|
<kendo-actionsheet
|
|
@@ -30889,7 +30926,7 @@ class AdaptiveRendererComponent {
|
|
|
30889
30926
|
}"
|
|
30890
30927
|
[overlayClickClose]="true"
|
|
30891
30928
|
(collapse)="adaptiveGridService.reset()">
|
|
30892
|
-
|
|
30929
|
+
|
|
30893
30930
|
<!-- sortToolbarTool view -->
|
|
30894
30931
|
@if (adaptiveGridService.viewType === 'sortToolbarTool') {
|
|
30895
30932
|
<kendo-actionsheet-view>
|
|
@@ -30933,7 +30970,7 @@ class AdaptiveRendererComponent {
|
|
|
30933
30970
|
</ng-template>
|
|
30934
30971
|
</kendo-actionsheet-view>
|
|
30935
30972
|
}
|
|
30936
|
-
|
|
30973
|
+
|
|
30937
30974
|
<!-- columnChooserToolbarTool view -->
|
|
30938
30975
|
@if (adaptiveGridService.viewType === 'columnChooserToolbarTool') {
|
|
30939
30976
|
<kendo-actionsheet-view>
|
|
@@ -30957,7 +30994,7 @@ class AdaptiveRendererComponent {
|
|
|
30957
30994
|
</ng-template>
|
|
30958
30995
|
</kendo-actionsheet-view>
|
|
30959
30996
|
}
|
|
30960
|
-
|
|
30997
|
+
|
|
30961
30998
|
<!-- filterToolbarTool first view -->
|
|
30962
30999
|
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
30963
31000
|
<kendo-actionsheet-view
|
|
@@ -30983,7 +31020,7 @@ class AdaptiveRendererComponent {
|
|
|
30983
31020
|
</ng-template>
|
|
30984
31021
|
</kendo-actionsheet-view>
|
|
30985
31022
|
}
|
|
30986
|
-
|
|
31023
|
+
|
|
30987
31024
|
<!-- filterToolbarTool second view -->
|
|
30988
31025
|
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
30989
31026
|
<kendo-actionsheet-view>
|
|
@@ -31000,7 +31037,7 @@ class AdaptiveRendererComponent {
|
|
|
31000
31037
|
</ng-template>
|
|
31001
31038
|
</kendo-actionsheet-view>
|
|
31002
31039
|
}
|
|
31003
|
-
|
|
31040
|
+
|
|
31004
31041
|
<!-- filterMenu view -->
|
|
31005
31042
|
@if (adaptiveGridService.viewType === 'filterMenu') {
|
|
31006
31043
|
<kendo-actionsheet-view>
|
|
@@ -31023,7 +31060,7 @@ class AdaptiveRendererComponent {
|
|
|
31023
31060
|
</ng-template>
|
|
31024
31061
|
</kendo-actionsheet-view>
|
|
31025
31062
|
}
|
|
31026
|
-
|
|
31063
|
+
|
|
31027
31064
|
<!-- columnMenu first view -->
|
|
31028
31065
|
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
31029
31066
|
<kendo-actionsheet-view
|
|
@@ -31105,7 +31142,7 @@ class AdaptiveRendererComponent {
|
|
|
31105
31142
|
</ng-template>
|
|
31106
31143
|
</kendo-actionsheet-view>
|
|
31107
31144
|
}
|
|
31108
|
-
|
|
31145
|
+
|
|
31109
31146
|
<!-- columnMenu second view -->
|
|
31110
31147
|
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
31111
31148
|
<kendo-actionsheet-view>
|
|
@@ -31158,7 +31195,7 @@ class AdaptiveRendererComponent {
|
|
|
31158
31195
|
}
|
|
31159
31196
|
</kendo-actionsheet-view>
|
|
31160
31197
|
}
|
|
31161
|
-
|
|
31198
|
+
|
|
31162
31199
|
<!-- external editing view -->
|
|
31163
31200
|
@if (adaptiveGridService.viewType === 'externalEditing') {
|
|
31164
31201
|
<kendo-actionsheet-view>
|
|
@@ -31194,7 +31231,7 @@ class AdaptiveRendererComponent {
|
|
|
31194
31231
|
</ng-template>
|
|
31195
31232
|
</kendo-actionsheet-view>
|
|
31196
31233
|
}
|
|
31197
|
-
|
|
31234
|
+
|
|
31198
31235
|
<!-- groupToolbarTool view -->
|
|
31199
31236
|
@if (adaptiveGridService.viewType === 'groupToolbarTool') {
|
|
31200
31237
|
<kendo-actionsheet-view>
|
|
@@ -31229,7 +31266,7 @@ class AdaptiveRendererComponent {
|
|
|
31229
31266
|
</kendo-actionsheet-view>
|
|
31230
31267
|
}
|
|
31231
31268
|
</kendo-actionsheet>
|
|
31232
|
-
|
|
31269
|
+
|
|
31233
31270
|
<ng-template #actionSheetHeaderTemplate>
|
|
31234
31271
|
<div class="k-actionsheet-titlebar-group">
|
|
31235
31272
|
@if (adaptiveGridService.secondaryView) {
|
|
@@ -31287,7 +31324,7 @@ class AdaptiveRendererComponent {
|
|
|
31287
31324
|
}
|
|
31288
31325
|
</div>
|
|
31289
31326
|
</ng-template>
|
|
31290
|
-
|
|
31327
|
+
|
|
31291
31328
|
<ng-template #actionSheetFooterTemplate>
|
|
31292
31329
|
<button
|
|
31293
31330
|
#resetButton
|
|
@@ -31297,7 +31334,7 @@ class AdaptiveRendererComponent {
|
|
|
31297
31334
|
[svgIcon]="arrowRotateCcwIcon"
|
|
31298
31335
|
icon="arrow-rotate-ccw"
|
|
31299
31336
|
type="button"
|
|
31300
|
-
[kendoEventsOutsideAngular]="{click: cancelChanges,
|
|
31337
|
+
[kendoEventsOutsideAngular]="{click: cancelChanges,
|
|
31301
31338
|
'keydown.enter': cancelChanges,
|
|
31302
31339
|
'keydown.space': cancelChanges,
|
|
31303
31340
|
'keydown.tab': onTab
|
|
@@ -31322,13 +31359,18 @@ class AdaptiveRendererComponent {
|
|
|
31322
31359
|
{{ messageFor('columnsApply') }}
|
|
31323
31360
|
</button>
|
|
31324
31361
|
</ng-template>
|
|
31325
|
-
|
|
31362
|
+
|
|
31326
31363
|
<ng-template #filterFooterButtons>
|
|
31327
31364
|
<button
|
|
31328
31365
|
kendoButton
|
|
31366
|
+
type="button"
|
|
31329
31367
|
size="large"
|
|
31330
31368
|
fillMode="solid"
|
|
31331
|
-
|
|
31369
|
+
[class.k-disabled]="adaptiveGridService.filterMenuContainer?.clearDisabled"
|
|
31370
|
+
[attr.aria-disabled]="adaptiveGridService.filterMenuContainer?.clearDisabled"
|
|
31371
|
+
(click)="onAdaptiveResetClick($event)"
|
|
31372
|
+
(keydown.space)="adaptiveGridService.filterMenuContainer?.clearDisabled ? $event.preventDefault() : onAdaptiveResetClick($event)"
|
|
31373
|
+
(keydown.enter)="adaptiveGridService.filterMenuContainer?.clearDisabled ? $event.preventDefault() : onAdaptiveResetClick($event)">
|
|
31332
31374
|
{{messageFor('filterClearButton')}}
|
|
31333
31375
|
</button>
|
|
31334
31376
|
<button
|
|
@@ -31359,7 +31401,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31359
31401
|
}"
|
|
31360
31402
|
[overlayClickClose]="true"
|
|
31361
31403
|
(collapse)="adaptiveGridService.reset()">
|
|
31362
|
-
|
|
31404
|
+
|
|
31363
31405
|
<!-- sortToolbarTool view -->
|
|
31364
31406
|
@if (adaptiveGridService.viewType === 'sortToolbarTool') {
|
|
31365
31407
|
<kendo-actionsheet-view>
|
|
@@ -31403,7 +31445,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31403
31445
|
</ng-template>
|
|
31404
31446
|
</kendo-actionsheet-view>
|
|
31405
31447
|
}
|
|
31406
|
-
|
|
31448
|
+
|
|
31407
31449
|
<!-- columnChooserToolbarTool view -->
|
|
31408
31450
|
@if (adaptiveGridService.viewType === 'columnChooserToolbarTool') {
|
|
31409
31451
|
<kendo-actionsheet-view>
|
|
@@ -31427,7 +31469,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31427
31469
|
</ng-template>
|
|
31428
31470
|
</kendo-actionsheet-view>
|
|
31429
31471
|
}
|
|
31430
|
-
|
|
31472
|
+
|
|
31431
31473
|
<!-- filterToolbarTool first view -->
|
|
31432
31474
|
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
31433
31475
|
<kendo-actionsheet-view
|
|
@@ -31453,7 +31495,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31453
31495
|
</ng-template>
|
|
31454
31496
|
</kendo-actionsheet-view>
|
|
31455
31497
|
}
|
|
31456
|
-
|
|
31498
|
+
|
|
31457
31499
|
<!-- filterToolbarTool second view -->
|
|
31458
31500
|
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
31459
31501
|
<kendo-actionsheet-view>
|
|
@@ -31470,7 +31512,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31470
31512
|
</ng-template>
|
|
31471
31513
|
</kendo-actionsheet-view>
|
|
31472
31514
|
}
|
|
31473
|
-
|
|
31515
|
+
|
|
31474
31516
|
<!-- filterMenu view -->
|
|
31475
31517
|
@if (adaptiveGridService.viewType === 'filterMenu') {
|
|
31476
31518
|
<kendo-actionsheet-view>
|
|
@@ -31493,7 +31535,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31493
31535
|
</ng-template>
|
|
31494
31536
|
</kendo-actionsheet-view>
|
|
31495
31537
|
}
|
|
31496
|
-
|
|
31538
|
+
|
|
31497
31539
|
<!-- columnMenu first view -->
|
|
31498
31540
|
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
31499
31541
|
<kendo-actionsheet-view
|
|
@@ -31575,7 +31617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31575
31617
|
</ng-template>
|
|
31576
31618
|
</kendo-actionsheet-view>
|
|
31577
31619
|
}
|
|
31578
|
-
|
|
31620
|
+
|
|
31579
31621
|
<!-- columnMenu second view -->
|
|
31580
31622
|
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
31581
31623
|
<kendo-actionsheet-view>
|
|
@@ -31628,7 +31670,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31628
31670
|
}
|
|
31629
31671
|
</kendo-actionsheet-view>
|
|
31630
31672
|
}
|
|
31631
|
-
|
|
31673
|
+
|
|
31632
31674
|
<!-- external editing view -->
|
|
31633
31675
|
@if (adaptiveGridService.viewType === 'externalEditing') {
|
|
31634
31676
|
<kendo-actionsheet-view>
|
|
@@ -31664,7 +31706,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31664
31706
|
</ng-template>
|
|
31665
31707
|
</kendo-actionsheet-view>
|
|
31666
31708
|
}
|
|
31667
|
-
|
|
31709
|
+
|
|
31668
31710
|
<!-- groupToolbarTool view -->
|
|
31669
31711
|
@if (adaptiveGridService.viewType === 'groupToolbarTool') {
|
|
31670
31712
|
<kendo-actionsheet-view>
|
|
@@ -31699,7 +31741,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31699
31741
|
</kendo-actionsheet-view>
|
|
31700
31742
|
}
|
|
31701
31743
|
</kendo-actionsheet>
|
|
31702
|
-
|
|
31744
|
+
|
|
31703
31745
|
<ng-template #actionSheetHeaderTemplate>
|
|
31704
31746
|
<div class="k-actionsheet-titlebar-group">
|
|
31705
31747
|
@if (adaptiveGridService.secondaryView) {
|
|
@@ -31757,7 +31799,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31757
31799
|
}
|
|
31758
31800
|
</div>
|
|
31759
31801
|
</ng-template>
|
|
31760
|
-
|
|
31802
|
+
|
|
31761
31803
|
<ng-template #actionSheetFooterTemplate>
|
|
31762
31804
|
<button
|
|
31763
31805
|
#resetButton
|
|
@@ -31767,7 +31809,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31767
31809
|
[svgIcon]="arrowRotateCcwIcon"
|
|
31768
31810
|
icon="arrow-rotate-ccw"
|
|
31769
31811
|
type="button"
|
|
31770
|
-
[kendoEventsOutsideAngular]="{click: cancelChanges,
|
|
31812
|
+
[kendoEventsOutsideAngular]="{click: cancelChanges,
|
|
31771
31813
|
'keydown.enter': cancelChanges,
|
|
31772
31814
|
'keydown.space': cancelChanges,
|
|
31773
31815
|
'keydown.tab': onTab
|
|
@@ -31792,13 +31834,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31792
31834
|
{{ messageFor('columnsApply') }}
|
|
31793
31835
|
</button>
|
|
31794
31836
|
</ng-template>
|
|
31795
|
-
|
|
31837
|
+
|
|
31796
31838
|
<ng-template #filterFooterButtons>
|
|
31797
31839
|
<button
|
|
31798
31840
|
kendoButton
|
|
31841
|
+
type="button"
|
|
31799
31842
|
size="large"
|
|
31800
31843
|
fillMode="solid"
|
|
31801
|
-
|
|
31844
|
+
[class.k-disabled]="adaptiveGridService.filterMenuContainer?.clearDisabled"
|
|
31845
|
+
[attr.aria-disabled]="adaptiveGridService.filterMenuContainer?.clearDisabled"
|
|
31846
|
+
(click)="onAdaptiveResetClick($event)"
|
|
31847
|
+
(keydown.space)="adaptiveGridService.filterMenuContainer?.clearDisabled ? $event.preventDefault() : onAdaptiveResetClick($event)"
|
|
31848
|
+
(keydown.enter)="adaptiveGridService.filterMenuContainer?.clearDisabled ? $event.preventDefault() : onAdaptiveResetClick($event)">
|
|
31802
31849
|
{{messageFor('filterClearButton')}}
|
|
31803
31850
|
</button>
|
|
31804
31851
|
<button
|
|
@@ -32,7 +32,8 @@ export declare class FilterMenuContainerComponent implements AfterViewChecked, O
|
|
|
32
32
|
* The column with which the filter is associated.
|
|
33
33
|
* @type {ColumnComponent}
|
|
34
34
|
*/
|
|
35
|
-
column: ColumnComponent;
|
|
35
|
+
set column(value: ColumnComponent);
|
|
36
|
+
get column(): ColumnComponent;
|
|
36
37
|
/**
|
|
37
38
|
* @hidden
|
|
38
39
|
*/
|
|
@@ -57,11 +58,13 @@ export declare class FilterMenuContainerComponent implements AfterViewChecked, O
|
|
|
57
58
|
actionsClass: string;
|
|
58
59
|
get childFilter(): CompositeFilterDescriptor;
|
|
59
60
|
private resetButton;
|
|
61
|
+
private _column;
|
|
60
62
|
private _childFilter;
|
|
61
63
|
private subscription;
|
|
62
64
|
private _templateContext;
|
|
63
65
|
private _filter;
|
|
64
66
|
private checkboxFilter;
|
|
67
|
+
private _clearDisabled;
|
|
65
68
|
constructor(parentService: FilterService, childService: FilterService, ctx: ContextService, cd: ChangeDetectorRef, menuTabbingService: MenuTabbingService, adaptiveGridService: AdaptiveGridService);
|
|
66
69
|
ngOnInit(): void;
|
|
67
70
|
ngAfterViewChecked(): void;
|
|
@@ -70,6 +73,7 @@ export declare class FilterMenuContainerComponent implements AfterViewChecked, O
|
|
|
70
73
|
get templateContext(): any;
|
|
71
74
|
get hasTemplate(): boolean;
|
|
72
75
|
submit(): boolean;
|
|
76
|
+
get clearDisabled(): boolean;
|
|
73
77
|
reset(): void;
|
|
74
78
|
resetChildFilters(): void;
|
|
75
79
|
onTab(e: Event, buttonType: string): void;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "22.1.0-develop.
|
|
10
|
+
"publishDate": 1770047470,
|
|
11
|
+
"version": "22.1.0-develop.16",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-grid",
|
|
3
|
-
"version": "22.1.0-develop.
|
|
3
|
+
"version": "22.1.0-develop.16",
|
|
4
4
|
"description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"package": {
|
|
74
74
|
"productName": "Kendo UI for Angular",
|
|
75
75
|
"productCode": "KENDOUIANGULAR",
|
|
76
|
-
"publishDate":
|
|
76
|
+
"publishDate": 1770047470,
|
|
77
77
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
78
78
|
}
|
|
79
79
|
},
|
|
@@ -86,32 +86,32 @@
|
|
|
86
86
|
"@progress/kendo-data-query": "^1.7.3",
|
|
87
87
|
"@progress/kendo-drawing": "^1.23.1",
|
|
88
88
|
"@progress/kendo-licensing": "^1.10.0",
|
|
89
|
-
"@progress/kendo-angular-buttons": "22.1.0-develop.
|
|
90
|
-
"@progress/kendo-angular-common": "22.1.0-develop.
|
|
91
|
-
"@progress/kendo-angular-dateinputs": "22.1.0-develop.
|
|
92
|
-
"@progress/kendo-angular-layout": "22.1.0-develop.
|
|
93
|
-
"@progress/kendo-angular-navigation": "22.1.0-develop.
|
|
94
|
-
"@progress/kendo-angular-dropdowns": "22.1.0-develop.
|
|
95
|
-
"@progress/kendo-angular-excel-export": "22.1.0-develop.
|
|
96
|
-
"@progress/kendo-angular-icons": "22.1.0-develop.
|
|
97
|
-
"@progress/kendo-angular-indicators": "22.1.0-develop.
|
|
98
|
-
"@progress/kendo-angular-inputs": "22.1.0-develop.
|
|
99
|
-
"@progress/kendo-angular-conversational-ui": "22.1.0-develop.
|
|
100
|
-
"@progress/kendo-angular-intl": "22.1.0-develop.
|
|
101
|
-
"@progress/kendo-angular-l10n": "22.1.0-develop.
|
|
102
|
-
"@progress/kendo-angular-label": "22.1.0-develop.
|
|
103
|
-
"@progress/kendo-angular-menu": "22.1.0-develop.
|
|
104
|
-
"@progress/kendo-angular-pager": "22.1.0-develop.
|
|
105
|
-
"@progress/kendo-angular-pdf-export": "22.1.0-develop.
|
|
106
|
-
"@progress/kendo-angular-popup": "22.1.0-develop.
|
|
107
|
-
"@progress/kendo-angular-toolbar": "22.1.0-develop.
|
|
108
|
-
"@progress/kendo-angular-upload": "22.1.0-develop.
|
|
109
|
-
"@progress/kendo-angular-utils": "22.1.0-develop.
|
|
89
|
+
"@progress/kendo-angular-buttons": "22.1.0-develop.16",
|
|
90
|
+
"@progress/kendo-angular-common": "22.1.0-develop.16",
|
|
91
|
+
"@progress/kendo-angular-dateinputs": "22.1.0-develop.16",
|
|
92
|
+
"@progress/kendo-angular-layout": "22.1.0-develop.16",
|
|
93
|
+
"@progress/kendo-angular-navigation": "22.1.0-develop.16",
|
|
94
|
+
"@progress/kendo-angular-dropdowns": "22.1.0-develop.16",
|
|
95
|
+
"@progress/kendo-angular-excel-export": "22.1.0-develop.16",
|
|
96
|
+
"@progress/kendo-angular-icons": "22.1.0-develop.16",
|
|
97
|
+
"@progress/kendo-angular-indicators": "22.1.0-develop.16",
|
|
98
|
+
"@progress/kendo-angular-inputs": "22.1.0-develop.16",
|
|
99
|
+
"@progress/kendo-angular-conversational-ui": "22.1.0-develop.16",
|
|
100
|
+
"@progress/kendo-angular-intl": "22.1.0-develop.16",
|
|
101
|
+
"@progress/kendo-angular-l10n": "22.1.0-develop.16",
|
|
102
|
+
"@progress/kendo-angular-label": "22.1.0-develop.16",
|
|
103
|
+
"@progress/kendo-angular-menu": "22.1.0-develop.16",
|
|
104
|
+
"@progress/kendo-angular-pager": "22.1.0-develop.16",
|
|
105
|
+
"@progress/kendo-angular-pdf-export": "22.1.0-develop.16",
|
|
106
|
+
"@progress/kendo-angular-popup": "22.1.0-develop.16",
|
|
107
|
+
"@progress/kendo-angular-toolbar": "22.1.0-develop.16",
|
|
108
|
+
"@progress/kendo-angular-upload": "22.1.0-develop.16",
|
|
109
|
+
"@progress/kendo-angular-utils": "22.1.0-develop.16",
|
|
110
110
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
111
111
|
},
|
|
112
112
|
"dependencies": {
|
|
113
113
|
"tslib": "^2.3.1",
|
|
114
|
-
"@progress/kendo-angular-schematics": "22.1.0-develop.
|
|
114
|
+
"@progress/kendo-angular-schematics": "22.1.0-develop.16",
|
|
115
115
|
"@progress/kendo-common": "^1.0.1",
|
|
116
116
|
"@progress/kendo-file-saver": "^1.0.0",
|
|
117
117
|
"@progress/kendo-csv": "^1.0.0"
|
|
@@ -9,19 +9,19 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '22.1.0-develop.
|
|
13
|
-
'@progress/kendo-angular-navigation': '22.1.0-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '22.1.0-develop.16',
|
|
13
|
+
'@progress/kendo-angular-navigation': '22.1.0-develop.16',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '22.1.0-develop.
|
|
15
|
+
'@progress/kendo-angular-dialog': '22.1.0-develop.16',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
18
18
|
// peer dependency of kendo-angular-layout
|
|
19
|
-
'@progress/kendo-angular-progressbar': '22.1.0-develop.
|
|
19
|
+
'@progress/kendo-angular-progressbar': '22.1.0-develop.16',
|
|
20
20
|
// transitive peer dependencies from toolbar
|
|
21
|
-
'@progress/kendo-angular-indicators': '22.1.0-develop.
|
|
21
|
+
'@progress/kendo-angular-indicators': '22.1.0-develop.16',
|
|
22
22
|
// transitive peer dependencies from conversational-ui
|
|
23
|
-
'@progress/kendo-angular-menu': '22.1.0-develop.
|
|
24
|
-
'@progress/kendo-angular-upload': '22.1.0-develop.
|
|
23
|
+
'@progress/kendo-angular-menu': '22.1.0-develop.16',
|
|
24
|
+
'@progress/kendo-angular-upload': '22.1.0-develop.16'
|
|
25
25
|
} });
|
|
26
26
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
27
27
|
}
|