pivot-grid-field-chooser.d.ts 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. /*!
  2. * devextreme-angular
  3. * Version: 19.1.16
  4. * Build date: Tue Oct 18 2022
  5. *
  6. * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
  7. *
  8. * This software may be modified and distributed under the terms
  9. * of the MIT license. See the LICENSE file in the root of the project for details.
  10. *
  11. * https://github.com/DevExpress/devextreme-angular
  12. */
  13. import { TransferState } from '@angular/platform-browser';
  14. import { ElementRef, NgZone, OnDestroy, EventEmitter, OnChanges, DoCheck, SimpleChanges } from '@angular/core';
  15. import DevExpress from 'devextreme/bundles/dx.all';
  16. import DxPivotGridFieldChooser from 'devextreme/ui/pivot_grid_field_chooser';
  17. import { DxComponent } from '../core/component';
  18. import { DxTemplateHost } from '../core/template-host';
  19. import { NestedOptionHost } from '../core/nested-option';
  20. import { WatcherHelper } from '../core/watcher-helper';
  21. import { IterableDifferHelper } from '../core/iterable-differ-helper';
  22. /**
  23. * A complementary widget for the PivotGrid that allows you to manage data displayed in the PivotGrid. The field chooser is already integrated in the PivotGrid and can be invoked using the context menu. If you need to continuously display the field chooser near the PivotGrid widget, use the PivotGridFieldChooser widget.
  24. */
  25. export declare class DxPivotGridFieldChooserComponent extends DxComponent implements OnDestroy, OnChanges, DoCheck {
  26. private _watcherHelper;
  27. private _idh;
  28. instance: DxPivotGridFieldChooser;
  29. /**
  30. * Specifies the shortcut key that sets focus on the widget.
  31. */
  32. accessKey: string;
  33. /**
  34. * Specifies whether or not the widget changes its state when interacting with a user.
  35. */
  36. activeStateEnabled: boolean;
  37. /**
  38. * Specifies whether the field chooser allows searching in the "All Fields" section.
  39. */
  40. allowSearch: boolean;
  41. /**
  42. * Specifies when to apply changes made in the widget to the PivotGrid.
  43. */
  44. applyChangesMode: string;
  45. /**
  46. * The data source of a PivotGrid widget.
  47. */
  48. dataSource: DevExpress.data.PivotGridDataSource;
  49. /**
  50. * Specifies whether the widget responds to user interaction.
  51. */
  52. disabled: boolean;
  53. /**
  54. * Specifies the attributes to be attached to the widget's root element.
  55. */
  56. elementAttr: any;
  57. /**
  58. * Specifies whether the widget can be focused using keyboard navigation.
  59. */
  60. focusStateEnabled: boolean;
  61. /**
  62. * Configures the header filter feature.
  63. */
  64. headerFilter: {
  65. allowSearch?: boolean;
  66. height?: number;
  67. searchTimeout?: number;
  68. showRelevantValues?: boolean;
  69. texts?: {
  70. cancel?: string;
  71. emptyValue?: string;
  72. ok?: string;
  73. };
  74. width?: number;
  75. };
  76. /**
  77. * Specifies the widget's height.
  78. */
  79. height: number | Function | string;
  80. /**
  81. * Specifies text for a hint that appears when a user pauses on the widget.
  82. */
  83. hint: string;
  84. /**
  85. * Specifies whether the widget changes its state when a user pauses on it.
  86. */
  87. hoverStateEnabled: boolean;
  88. /**
  89. * Specifies the field chooser layout.
  90. */
  91. layout: number | string;
  92. /**
  93. * Switches the widget to a right-to-left representation.
  94. */
  95. rtlEnabled: boolean;
  96. /**
  97. * Specifies a delay in milliseconds between when a user finishes typing in the field chooser's search panel, and when the search is executed.
  98. */
  99. searchTimeout: number;
  100. /**
  101. * The widget's state.
  102. */
  103. state: any;
  104. /**
  105. * Specifies the number of the element when the Tab key is used for navigating.
  106. */
  107. tabIndex: number;
  108. /**
  109. * Strings that can be changed or localized in the PivotGridFieldChooser widget.
  110. */
  111. texts: {
  112. allFields?: string;
  113. columnFields?: string;
  114. dataFields?: string;
  115. filterFields?: string;
  116. rowFields?: string;
  117. };
  118. /**
  119. * Specifies whether the widget is visible.
  120. */
  121. visible: boolean;
  122. /**
  123. * Specifies the widget's width.
  124. */
  125. width: number | Function | string;
  126. /**
  127. * A function that is executed when the widget's content is ready and each time the content is changed.
  128. */
  129. onContentReady: EventEmitter<any>;
  130. /**
  131. * A function that is executed before the context menu is rendered.
  132. */
  133. onContextMenuPreparing: EventEmitter<any>;
  134. /**
  135. * A function that is executed before the widget is disposed of.
  136. */
  137. onDisposing: EventEmitter<any>;
  138. /**
  139. * A function used in JavaScript frameworks to save the widget instance.
  140. */
  141. onInitialized: EventEmitter<any>;
  142. /**
  143. * A function that is executed after a widget option is changed.
  144. */
  145. onOptionChanged: EventEmitter<any>;
  146. /**
  147. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  148. */
  149. accessKeyChange: EventEmitter<string>;
  150. /**
  151. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  152. */
  153. activeStateEnabledChange: EventEmitter<boolean>;
  154. /**
  155. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  156. */
  157. allowSearchChange: EventEmitter<boolean>;
  158. /**
  159. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  160. */
  161. applyChangesModeChange: EventEmitter<string>;
  162. /**
  163. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  164. */
  165. dataSourceChange: EventEmitter<DevExpress.data.PivotGridDataSource>;
  166. /**
  167. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  168. */
  169. disabledChange: EventEmitter<boolean>;
  170. /**
  171. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  172. */
  173. elementAttrChange: EventEmitter<any>;
  174. /**
  175. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  176. */
  177. focusStateEnabledChange: EventEmitter<boolean>;
  178. /**
  179. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  180. */
  181. headerFilterChange: EventEmitter<{
  182. allowSearch?: boolean;
  183. height?: number;
  184. searchTimeout?: number;
  185. showRelevantValues?: boolean;
  186. texts?: {
  187. cancel?: string;
  188. emptyValue?: string;
  189. ok?: string;
  190. };
  191. width?: number;
  192. }>;
  193. /**
  194. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  195. */
  196. heightChange: EventEmitter<number | Function | string>;
  197. /**
  198. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  199. */
  200. hintChange: EventEmitter<string>;
  201. /**
  202. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  203. */
  204. hoverStateEnabledChange: EventEmitter<boolean>;
  205. /**
  206. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  207. */
  208. layoutChange: EventEmitter<number | string>;
  209. /**
  210. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  211. */
  212. rtlEnabledChange: EventEmitter<boolean>;
  213. /**
  214. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  215. */
  216. searchTimeoutChange: EventEmitter<number>;
  217. /**
  218. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  219. */
  220. stateChange: EventEmitter<any>;
  221. /**
  222. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  223. */
  224. tabIndexChange: EventEmitter<number>;
  225. /**
  226. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  227. */
  228. textsChange: EventEmitter<{
  229. allFields?: string;
  230. columnFields?: string;
  231. dataFields?: string;
  232. filterFields?: string;
  233. rowFields?: string;
  234. }>;
  235. /**
  236. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  237. */
  238. visibleChange: EventEmitter<boolean>;
  239. /**
  240. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  241. */
  242. widthChange: EventEmitter<number | Function | string>;
  243. constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, _idh: IterableDifferHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any);
  244. protected _createInstance(element: any, options: any): DxPivotGridFieldChooser;
  245. ngOnDestroy(): void;
  246. ngOnChanges(changes: SimpleChanges): void;
  247. setupChanges(prop: string, changes: SimpleChanges): void;
  248. ngDoCheck(): void;
  249. _setOption(name: string, value: any): void;
  250. }
  251. export declare class DxPivotGridFieldChooserModule {
  252. }