Skip to content

Commit 860e0cf

Browse files
author
marker dao ®
committed
Popup: Publish focusLoopEnabled option
1 parent 3da65f3 commit 860e0cf

58 files changed

Lines changed: 255 additions & 20 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/devextreme-angular/src/ui/autocomplete/nested/drop-down-options.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ export class DxoAutocompleteDropDownOptionsComponent extends NestedOption implem
132132
this._setOption('enableBodyScroll', value);
133133
}
134134

135+
@Input()
136+
get focusLoopEnabled(): boolean {
137+
return this._getOption('focusLoopEnabled');
138+
}
139+
set focusLoopEnabled(value: boolean) {
140+
this._setOption('focusLoopEnabled', value);
141+
}
142+
135143
@Input()
136144
get focusStateEnabled(): boolean {
137145
return this._getOption('focusStateEnabled');

packages/devextreme-angular/src/ui/color-box/nested/drop-down-options.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ export class DxoColorBoxDropDownOptionsComponent extends NestedOption implements
132132
this._setOption('enableBodyScroll', value);
133133
}
134134

135+
@Input()
136+
get focusLoopEnabled(): boolean {
137+
return this._getOption('focusLoopEnabled');
138+
}
139+
set focusLoopEnabled(value: boolean) {
140+
this._setOption('focusLoopEnabled', value);
141+
}
142+
135143
@Input()
136144
get focusStateEnabled(): boolean {
137145
return this._getOption('focusStateEnabled');

packages/devextreme-angular/src/ui/data-grid/nested/filter-builder-popup.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ export class DxoDataGridFilterBuilderPopupComponent extends NestedOption impleme
132132
this._setOption('enableBodyScroll', value);
133133
}
134134

135+
@Input()
136+
get focusLoopEnabled(): boolean {
137+
return this._getOption('focusLoopEnabled');
138+
}
139+
set focusLoopEnabled(value: boolean) {
140+
this._setOption('focusLoopEnabled', value);
141+
}
142+
135143
@Input()
136144
get focusStateEnabled(): boolean {
137145
return this._getOption('focusStateEnabled');

packages/devextreme-angular/src/ui/data-grid/nested/popup.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ export class DxoDataGridPopupComponent extends NestedOption implements OnDestroy
132132
this._setOption('enableBodyScroll', value);
133133
}
134134

135+
@Input()
136+
get focusLoopEnabled(): boolean {
137+
return this._getOption('focusLoopEnabled');
138+
}
139+
set focusLoopEnabled(value: boolean) {
140+
this._setOption('focusLoopEnabled', value);
141+
}
142+
135143
@Input()
136144
get focusStateEnabled(): boolean {
137145
return this._getOption('focusStateEnabled');

packages/devextreme-angular/src/ui/date-box/nested/drop-down-options.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ export class DxoDateBoxDropDownOptionsComponent extends NestedOption implements
132132
this._setOption('enableBodyScroll', value);
133133
}
134134

135+
@Input()
136+
get focusLoopEnabled(): boolean {
137+
return this._getOption('focusLoopEnabled');
138+
}
139+
set focusLoopEnabled(value: boolean) {
140+
this._setOption('focusLoopEnabled', value);
141+
}
142+
135143
@Input()
136144
get focusStateEnabled(): boolean {
137145
return this._getOption('focusStateEnabled');

packages/devextreme-angular/src/ui/date-range-box/nested/drop-down-options.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ export class DxoDateRangeBoxDropDownOptionsComponent extends NestedOption implem
132132
this._setOption('enableBodyScroll', value);
133133
}
134134

135+
@Input()
136+
get focusLoopEnabled(): boolean {
137+
return this._getOption('focusLoopEnabled');
138+
}
139+
set focusLoopEnabled(value: boolean) {
140+
this._setOption('focusLoopEnabled', value);
141+
}
142+
135143
@Input()
136144
get focusStateEnabled(): boolean {
137145
return this._getOption('focusStateEnabled');

packages/devextreme-angular/src/ui/drop-down-box/nested/drop-down-options.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ export class DxoDropDownBoxDropDownOptionsComponent extends NestedOption impleme
132132
this._setOption('enableBodyScroll', value);
133133
}
134134

135+
@Input()
136+
get focusLoopEnabled(): boolean {
137+
return this._getOption('focusLoopEnabled');
138+
}
139+
set focusLoopEnabled(value: boolean) {
140+
this._setOption('focusLoopEnabled', value);
141+
}
142+
135143
@Input()
136144
get focusStateEnabled(): boolean {
137145
return this._getOption('focusStateEnabled');

packages/devextreme-angular/src/ui/drop-down-button/nested/drop-down-options.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ export class DxoDropDownButtonDropDownOptionsComponent extends NestedOption impl
132132
this._setOption('enableBodyScroll', value);
133133
}
134134

135+
@Input()
136+
get focusLoopEnabled(): boolean {
137+
return this._getOption('focusLoopEnabled');
138+
}
139+
set focusLoopEnabled(value: boolean) {
140+
this._setOption('focusLoopEnabled', value);
141+
}
142+
135143
@Input()
136144
get focusStateEnabled(): boolean {
137145
return this._getOption('focusStateEnabled');

packages/devextreme-angular/src/ui/lookup/nested/drop-down-options.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ export class DxoLookupDropDownOptionsComponent extends NestedOption implements O
9797
this._setOption('enableBodyScroll', value);
9898
}
9999

100+
@Input()
101+
get focusLoopEnabled(): boolean {
102+
return this._getOption('focusLoopEnabled');
103+
}
104+
set focusLoopEnabled(value: boolean) {
105+
this._setOption('focusLoopEnabled', value);
106+
}
107+
100108
@Input()
101109
get height(): number | string {
102110
return this._getOption('height');

packages/devextreme-angular/src/ui/nested/base/popup-options.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ export abstract class DxoPopupOptions extends NestedOption {
8585
this._setOption('enableBodyScroll', value);
8686
}
8787

88+
get focusLoopEnabled(): boolean {
89+
return this._getOption('focusLoopEnabled');
90+
}
91+
set focusLoopEnabled(value: boolean) {
92+
this._setOption('focusLoopEnabled', value);
93+
}
94+
8895
get focusStateEnabled(): boolean {
8996
return this._getOption('focusStateEnabled');
9097
}

0 commit comments

Comments
 (0)