Skip to content

Commit

Permalink
gen: regenerate-all
Browse files Browse the repository at this point in the history
  • Loading branch information
pomahtri committed Oct 8, 2024
1 parent c325f51 commit 2f950f0
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 0 deletions.
127 changes: 127 additions & 0 deletions packages/devextreme-angular/src/ui/pagination/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
} from '@angular/core';


import { DisplayMode } from 'devextreme/common';

import DxPagination from 'devextreme/ui/pager';

Expand Down Expand Up @@ -108,6 +109,19 @@ export class DxPaginationComponent extends DxComponent implements OnDestroy, OnC
}


/**
* [descr:PagerBaseOptions.displayMode]
*/
@Input()
get displayMode(): DisplayMode {
return this._getOption('displayMode');
}
set displayMode(value: DisplayMode) {
this._setOption('displayMode', value);
}


/**
* [descr:DOMComponentOptions.elementAttr]
Expand Down Expand Up @@ -173,6 +187,19 @@ export class DxPaginationComponent extends DxComponent implements OnDestroy, OnC
}


/**
* [descr:PagerBaseOptions.infoText]
*/
@Input()
get infoText(): string {
return this._getOption('infoText');
}
set infoText(value: string) {
this._setOption('infoText', value);
}


/**
* [descr:dxPaginationOptions.itemCount]
Expand All @@ -186,6 +213,19 @@ export class DxPaginationComponent extends DxComponent implements OnDestroy, OnC
}


/**
* [descr:PagerBaseOptions.label]
*/
@Input()
get label(): string {
return this._getOption('label');
}
set label(value: string) {
this._setOption('label', value);
}


/**
* [descr:dxPaginationOptions.pageIndex]
Expand Down Expand Up @@ -225,6 +265,45 @@ export class DxPaginationComponent extends DxComponent implements OnDestroy, OnC
}


/**
* [descr:PagerBaseOptions.showInfo]
*/
@Input()
get showInfo(): boolean {
return this._getOption('showInfo');
}
set showInfo(value: boolean) {
this._setOption('showInfo', value);
}


/**
* [descr:PagerBaseOptions.showNavigationButtons]
*/
@Input()
get showNavigationButtons(): boolean {
return this._getOption('showNavigationButtons');
}
set showNavigationButtons(value: boolean) {
this._setOption('showNavigationButtons', value);
}


/**
* [descr:PagerBaseOptions.showPageSizeSelector]
*/
@Input()
get showPageSizeSelector(): boolean {
return this._getOption('showPageSizeSelector');
}
set showPageSizeSelector(value: boolean) {
this._setOption('showPageSizeSelector', value);
}


/**
* [descr:WidgetOptions.tabIndex]
Expand Down Expand Up @@ -323,6 +402,13 @@ export class DxPaginationComponent extends DxComponent implements OnDestroy, OnC
*/
@Output() disabledChange: EventEmitter<boolean>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
*/
@Output() displayModeChange: EventEmitter<DisplayMode>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
Expand Down Expand Up @@ -358,13 +444,27 @@ export class DxPaginationComponent extends DxComponent implements OnDestroy, OnC
*/
@Output() hoverStateEnabledChange: EventEmitter<boolean>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
*/
@Output() infoTextChange: EventEmitter<string>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
*/
@Output() itemCountChange: EventEmitter<number>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
*/
@Output() labelChange: EventEmitter<string>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
Expand All @@ -386,6 +486,27 @@ export class DxPaginationComponent extends DxComponent implements OnDestroy, OnC
*/
@Output() rtlEnabledChange: EventEmitter<boolean>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
*/
@Output() showInfoChange: EventEmitter<boolean>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
*/
@Output() showNavigationButtonsChange: EventEmitter<boolean>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
*/
@Output() showPageSizeSelectorChange: EventEmitter<boolean>;

/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
Expand Down Expand Up @@ -432,15 +553,21 @@ export class DxPaginationComponent extends DxComponent implements OnDestroy, OnC
{ emit: 'activeStateEnabledChange' },
{ emit: 'allowedPageSizesChange' },
{ emit: 'disabledChange' },
{ emit: 'displayModeChange' },
{ emit: 'elementAttrChange' },
{ emit: 'focusStateEnabledChange' },
{ emit: 'heightChange' },
{ emit: 'hintChange' },
{ emit: 'hoverStateEnabledChange' },
{ emit: 'infoTextChange' },
{ emit: 'itemCountChange' },
{ emit: 'labelChange' },
{ emit: 'pageIndexChange' },
{ emit: 'pageSizeChange' },
{ emit: 'rtlEnabledChange' },
{ emit: 'showInfoChange' },
{ emit: 'showNavigationButtonsChange' },
{ emit: 'showPageSizeSelectorChange' },
{ emit: 'tabIndexChange' },
{ emit: 'visibleChange' },
{ emit: 'widthChange' }
Expand Down
18 changes: 18 additions & 0 deletions packages/devextreme-vue/src/pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,25 @@ type AccessibleOptions = Pick<Properties,
"activeStateEnabled" |
"allowedPageSizes" |
"disabled" |
"displayMode" |
"elementAttr" |
"focusStateEnabled" |
"height" |
"hint" |
"hoverStateEnabled" |
"infoText" |
"itemCount" |
"label" |
"onContentReady" |
"onDisposing" |
"onInitialized" |
"onOptionChanged" |
"pageIndex" |
"pageSize" |
"rtlEnabled" |
"showInfo" |
"showNavigationButtons" |
"showPageSizeSelector" |
"tabIndex" |
"visible" |
"width"
Expand All @@ -35,19 +41,25 @@ const componentConfig = {
activeStateEnabled: Boolean,
allowedPageSizes: Array,
disabled: Boolean,
displayMode: String,
elementAttr: Object,
focusStateEnabled: Boolean,
height: [Function, Number, String],
hint: String,
hoverStateEnabled: Boolean,
infoText: String,
itemCount: Number,
label: String,
onContentReady: Function,
onDisposing: Function,
onInitialized: Function,
onOptionChanged: Function,
pageIndex: Number,
pageSize: Number,
rtlEnabled: Boolean,
showInfo: Boolean,
showNavigationButtons: Boolean,
showPageSizeSelector: Boolean,
tabIndex: Number,
visible: Boolean,
width: [Function, Number, String]
Expand All @@ -59,19 +71,25 @@ const componentConfig = {
"update:activeStateEnabled": null,
"update:allowedPageSizes": null,
"update:disabled": null,
"update:displayMode": null,
"update:elementAttr": null,
"update:focusStateEnabled": null,
"update:height": null,
"update:hint": null,
"update:hoverStateEnabled": null,
"update:infoText": null,
"update:itemCount": null,
"update:label": null,
"update:onContentReady": null,
"update:onDisposing": null,
"update:onInitialized": null,
"update:onOptionChanged": null,
"update:pageIndex": null,
"update:pageSize": null,
"update:rtlEnabled": null,
"update:showInfo": null,
"update:showNavigationButtons": null,
"update:showPageSizeSelector": null,
"update:tabIndex": null,
"update:visible": null,
"update:width": null,
Expand Down

0 comments on commit 2f950f0

Please sign in to comment.