load-panel.d.ts 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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 } from '@angular/core';
  15. import DevExpress from 'devextreme/bundles/dx.all';
  16. import DxLoadPanel from 'devextreme/ui/load_panel';
  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. /**
  22. * The LoadPanel is an overlay widget notifying the viewer that loading is in progress.
  23. */
  24. export declare class DxLoadPanelComponent extends DxComponent implements OnDestroy {
  25. instance: DxLoadPanel;
  26. /**
  27. * Configures widget visibility animations. This object contains two fields: show and hide.
  28. */
  29. animation: {
  30. hide?: DevExpress.animationConfig;
  31. show?: DevExpress.animationConfig;
  32. };
  33. /**
  34. * Specifies whether to close the widget if a user clicks outside it.
  35. */
  36. closeOnOutsideClick: boolean | Function;
  37. /**
  38. * Specifies the widget's container.
  39. */
  40. container: Element | JQuery;
  41. /**
  42. * Specifies whether to render the widget's content when it is displayed. If false, the content is rendered immediately.
  43. */
  44. deferRendering: boolean;
  45. /**
  46. * The delay in milliseconds after which the load panel is displayed.
  47. */
  48. delay: number;
  49. /**
  50. * Specifies the attributes to be attached to the widget's root element.
  51. */
  52. elementAttr: any;
  53. /**
  54. * Specifies whether or not the widget can be focused.
  55. */
  56. focusStateEnabled: boolean;
  57. /**
  58. * Specifies the widget's height in pixels.
  59. */
  60. height: number | Function | string;
  61. /**
  62. * Specifies text for a hint that appears when a user pauses on the widget.
  63. */
  64. hint: string;
  65. /**
  66. * Specifies whether the widget changes its state when a user pauses on it.
  67. */
  68. hoverStateEnabled: boolean;
  69. /**
  70. * A URL pointing to an image to be used as a load indicator.
  71. */
  72. indicatorSrc: string;
  73. /**
  74. * Specifies the maximum height the widget can reach while resizing.
  75. */
  76. maxHeight: number | Function | string;
  77. /**
  78. * Specifies the maximum width the widget can reach while resizing.
  79. */
  80. maxWidth: number | Function | string;
  81. /**
  82. * Specifies the text displayed in the load panel. Ignored in the Material Design theme.
  83. */
  84. message: string;
  85. /**
  86. * Specifies the minimum height the widget can reach while resizing.
  87. */
  88. minHeight: number | Function | string;
  89. /**
  90. * Specifies the minimum width the widget can reach while resizing.
  91. */
  92. minWidth: number | Function | string;
  93. /**
  94. * Positions the widget.
  95. */
  96. position: DevExpress.positionConfig | Function | string;
  97. /**
  98. * Switches the widget to a right-to-left representation.
  99. */
  100. rtlEnabled: boolean;
  101. /**
  102. * Specifies whether to shade the background when the widget is active.
  103. */
  104. shading: boolean;
  105. /**
  106. * Specifies the shading color.
  107. */
  108. shadingColor: string;
  109. /**
  110. * A Boolean value specifying whether or not to show a load indicator.
  111. */
  112. showIndicator: boolean;
  113. /**
  114. * A Boolean value specifying whether or not to show the pane behind the load indicator.
  115. */
  116. showPane: boolean;
  117. /**
  118. * A Boolean value specifying whether or not the widget is visible.
  119. */
  120. visible: boolean;
  121. /**
  122. * Specifies the widget's width in pixels.
  123. */
  124. width: number | Function | string;
  125. /**
  126. * A function that is executed when the widget's content is ready and each time the content is changed.
  127. */
  128. onContentReady: EventEmitter<any>;
  129. /**
  130. * A function that is executed before the widget is disposed of.
  131. */
  132. onDisposing: EventEmitter<any>;
  133. /**
  134. * A function that is executed after the widget is hidden.
  135. */
  136. onHidden: EventEmitter<any>;
  137. /**
  138. * A function that is executed before the widget is hidden.
  139. */
  140. onHiding: EventEmitter<any>;
  141. /**
  142. * A function used in JavaScript frameworks to save the widget instance.
  143. */
  144. onInitialized: EventEmitter<any>;
  145. /**
  146. * A function that is executed after a widget option is changed.
  147. */
  148. onOptionChanged: EventEmitter<any>;
  149. /**
  150. * A function that is executed before the widget is displayed.
  151. */
  152. onShowing: EventEmitter<any>;
  153. /**
  154. * A function that is executed after the widget is displayed.
  155. */
  156. onShown: EventEmitter<any>;
  157. /**
  158. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  159. */
  160. animationChange: EventEmitter<{
  161. hide?: DevExpress.animationConfig;
  162. show?: DevExpress.animationConfig;
  163. }>;
  164. /**
  165. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  166. */
  167. closeOnOutsideClickChange: EventEmitter<boolean | Function>;
  168. /**
  169. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  170. */
  171. containerChange: EventEmitter<Element | JQuery>;
  172. /**
  173. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  174. */
  175. deferRenderingChange: EventEmitter<boolean>;
  176. /**
  177. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  178. */
  179. delayChange: EventEmitter<number>;
  180. /**
  181. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  182. */
  183. elementAttrChange: EventEmitter<any>;
  184. /**
  185. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  186. */
  187. focusStateEnabledChange: EventEmitter<boolean>;
  188. /**
  189. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  190. */
  191. heightChange: EventEmitter<number | Function | string>;
  192. /**
  193. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  194. */
  195. hintChange: EventEmitter<string>;
  196. /**
  197. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  198. */
  199. hoverStateEnabledChange: EventEmitter<boolean>;
  200. /**
  201. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  202. */
  203. indicatorSrcChange: EventEmitter<string>;
  204. /**
  205. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  206. */
  207. maxHeightChange: EventEmitter<number | Function | string>;
  208. /**
  209. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  210. */
  211. maxWidthChange: EventEmitter<number | Function | string>;
  212. /**
  213. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  214. */
  215. messageChange: EventEmitter<string>;
  216. /**
  217. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  218. */
  219. minHeightChange: EventEmitter<number | Function | string>;
  220. /**
  221. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  222. */
  223. minWidthChange: EventEmitter<number | Function | string>;
  224. /**
  225. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  226. */
  227. positionChange: EventEmitter<DevExpress.positionConfig | Function | string>;
  228. /**
  229. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  230. */
  231. rtlEnabledChange: EventEmitter<boolean>;
  232. /**
  233. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  234. */
  235. shadingChange: EventEmitter<boolean>;
  236. /**
  237. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  238. */
  239. shadingColorChange: EventEmitter<string>;
  240. /**
  241. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  242. */
  243. showIndicatorChange: EventEmitter<boolean>;
  244. /**
  245. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  246. */
  247. showPaneChange: EventEmitter<boolean>;
  248. /**
  249. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  250. */
  251. visibleChange: EventEmitter<boolean>;
  252. /**
  253. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  254. */
  255. widthChange: EventEmitter<number | Function | string>;
  256. constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any);
  257. protected _createInstance(element: any, options: any): DxLoadPanel;
  258. ngOnDestroy(): void;
  259. }
  260. export declare class DxLoadPanelModule {
  261. }