devextreme-angular 17.2.17 → 17.2.18

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.
Files changed (834) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +603 -603
  3. package/core/component.d.ts +59 -59
  4. package/core/component.js +175 -175
  5. package/core/component.js.map +1 -1
  6. package/core/events-strategy.d.ts +35 -35
  7. package/core/events-strategy.js +111 -111
  8. package/core/events-strategy.js.map +1 -1
  9. package/core/iterable-differ-helper.d.ts +26 -26
  10. package/core/iterable-differ-helper.js +73 -73
  11. package/core/iterable-differ-helper.js.map +1 -1
  12. package/core/nested-option.d.ts +70 -70
  13. package/core/nested-option.js +201 -201
  14. package/core/nested-option.js.map +1 -1
  15. package/core/template-host.d.ts +21 -21
  16. package/core/template-host.js +27 -27
  17. package/core/template-host.js.map +1 -1
  18. package/core/template.d.ts +31 -31
  19. package/core/template.js +100 -100
  20. package/core/template.js.map +1 -1
  21. package/core/utils.d.ts +16 -16
  22. package/core/utils.js +51 -51
  23. package/core/utils.js.map +1 -1
  24. package/core/watcher-helper.d.ts +20 -20
  25. package/core/watcher-helper.js +82 -82
  26. package/core/watcher-helper.js.map +1 -1
  27. package/index.d.ts +91 -91
  28. package/index.js +96 -96
  29. package/index.js.map +1 -1
  30. package/package.json +3 -3
  31. package/ui/accordion.d.ts +313 -313
  32. package/ui/accordion.js +596 -596
  33. package/ui/accordion.js.map +1 -1
  34. package/ui/action-sheet.d.ts +233 -233
  35. package/ui/action-sheet.js +446 -446
  36. package/ui/action-sheet.js.map +1 -1
  37. package/ui/all.d.ts +14 -14
  38. package/ui/all.js +244 -244
  39. package/ui/all.js.map +1 -1
  40. package/ui/autocomplete.d.ts +487 -487
  41. package/ui/autocomplete.js +911 -911
  42. package/ui/autocomplete.js.map +1 -1
  43. package/ui/bar-gauge.d.ts +301 -301
  44. package/ui/bar-gauge.js +556 -556
  45. package/ui/bar-gauge.js.map +1 -1
  46. package/ui/box.d.ts +203 -203
  47. package/ui/box.js +383 -383
  48. package/ui/box.js.map +1 -1
  49. package/ui/bullet.d.ts +197 -197
  50. package/ui/bullet.js +393 -393
  51. package/ui/bullet.js.map +1 -1
  52. package/ui/button.d.ts +201 -201
  53. package/ui/button.js +409 -409
  54. package/ui/button.js.map +1 -1
  55. package/ui/calendar.d.ts +288 -288
  56. package/ui/calendar.js +620 -620
  57. package/ui/calendar.js.map +1 -1
  58. package/ui/chart.d.ts +881 -881
  59. package/ui/chart.js +1158 -1158
  60. package/ui/chart.js.map +1 -1
  61. package/ui/check-box.d.ts +213 -213
  62. package/ui/check-box.js +450 -450
  63. package/ui/check-box.js.map +1 -1
  64. package/ui/circular-gauge.d.ts +285 -285
  65. package/ui/circular-gauge.js +552 -552
  66. package/ui/circular-gauge.js.map +1 -1
  67. package/ui/color-box.d.ts +365 -365
  68. package/ui/color-box.js +682 -682
  69. package/ui/color-box.js.map +1 -1
  70. package/ui/context-menu.d.ts +357 -357
  71. package/ui/context-menu.js +698 -698
  72. package/ui/context-menu.js.map +1 -1
  73. package/ui/data-grid.d.ts +659 -659
  74. package/ui/data-grid.js +1290 -1290
  75. package/ui/data-grid.js.map +1 -1
  76. package/ui/date-box.d.ts +529 -529
  77. package/ui/date-box.js +1019 -1019
  78. package/ui/date-box.js.map +1 -1
  79. package/ui/defer-rendering.d.ts +182 -182
  80. package/ui/defer-rendering.js +366 -366
  81. package/ui/defer-rendering.js.map +1 -1
  82. package/ui/drop-down-box.d.ts +403 -403
  83. package/ui/drop-down-box.js +792 -792
  84. package/ui/drop-down-box.js.map +1 -1
  85. package/ui/file-uploader.d.ts +360 -360
  86. package/ui/file-uploader.js +728 -728
  87. package/ui/file-uploader.js.map +1 -1
  88. package/ui/filter-builder.d.ts +211 -211
  89. package/ui/filter-builder.js +475 -475
  90. package/ui/filter-builder.js.map +1 -1
  91. package/ui/form.d.ts +319 -319
  92. package/ui/form.js +677 -677
  93. package/ui/form.js.map +1 -1
  94. package/ui/funnel.d.ts +333 -333
  95. package/ui/funnel.js +639 -639
  96. package/ui/funnel.js.map +1 -1
  97. package/ui/gallery.d.ts +313 -313
  98. package/ui/gallery.js +606 -606
  99. package/ui/gallery.js.map +1 -1
  100. package/ui/linear-gauge.d.ts +285 -285
  101. package/ui/linear-gauge.js +555 -555
  102. package/ui/linear-gauge.js.map +1 -1
  103. package/ui/list.d.ts +561 -561
  104. package/ui/list.js +1050 -1050
  105. package/ui/list.js.map +1 -1
  106. package/ui/load-indicator.d.ts +101 -101
  107. package/ui/load-indicator.js +215 -215
  108. package/ui/load-indicator.js.map +1 -1
  109. package/ui/load-panel.d.ts +246 -246
  110. package/ui/load-panel.js +506 -506
  111. package/ui/load-panel.js.map +1 -1
  112. package/ui/lookup.d.ts +691 -691
  113. package/ui/lookup.js +1388 -1388
  114. package/ui/lookup.js.map +1 -1
  115. package/ui/map.d.ts +308 -308
  116. package/ui/map.js +551 -551
  117. package/ui/map.js.map +1 -1
  118. package/ui/menu.d.ts +359 -359
  119. package/ui/menu.js +678 -678
  120. package/ui/menu.js.map +1 -1
  121. package/ui/multi-view.d.ts +269 -269
  122. package/ui/multi-view.js +526 -526
  123. package/ui/multi-view.js.map +1 -1
  124. package/ui/nav-bar.d.ts +269 -269
  125. package/ui/nav-bar.js +514 -514
  126. package/ui/nav-bar.js.map +1 -1
  127. package/ui/nested/adapter.d.ts +26 -26
  128. package/ui/nested/adapter.js +144 -144
  129. package/ui/nested/adapter.js.map +1 -1
  130. package/ui/nested/adaptive-layout.d.ts +23 -23
  131. package/ui/nested/adaptive-layout.js +111 -111
  132. package/ui/nested/adaptive-layout.js.map +1 -1
  133. package/ui/nested/animation.d.ts +20 -20
  134. package/ui/nested/animation.js +93 -93
  135. package/ui/nested/animation.js.map +1 -1
  136. package/ui/nested/area-settings.d.ts +37 -37
  137. package/ui/nested/area-settings.js +265 -265
  138. package/ui/nested/area-settings.js.map +1 -1
  139. package/ui/nested/area.d.ts +20 -20
  140. package/ui/nested/area.js +137 -137
  141. package/ui/nested/area.js.map +1 -1
  142. package/ui/nested/argument-axis.d.ts +145 -145
  143. package/ui/nested/argument-axis.js +609 -609
  144. package/ui/nested/argument-axis.js.map +1 -1
  145. package/ui/nested/argument-format.d.ts +20 -20
  146. package/ui/nested/argument-format.js +84 -84
  147. package/ui/nested/argument-format.js.map +1 -1
  148. package/ui/nested/at.d.ts +22 -22
  149. package/ui/nested/at.js +100 -100
  150. package/ui/nested/at.js.map +1 -1
  151. package/ui/nested/background-image.d.ts +23 -23
  152. package/ui/nested/background-image.js +111 -111
  153. package/ui/nested/background-image.js.map +1 -1
  154. package/ui/nested/background.d.ts +24 -24
  155. package/ui/nested/background.js +122 -122
  156. package/ui/nested/background.js.map +1 -1
  157. package/ui/nested/bar.d.ts +20 -20
  158. package/ui/nested/bar.js +137 -137
  159. package/ui/nested/bar.js.map +1 -1
  160. package/ui/nested/base/animation-config.d.ts +30 -30
  161. package/ui/nested/base/animation-config.js +173 -173
  162. package/ui/nested/base/animation-config.js.map +1 -1
  163. package/ui/nested/base/box-options.d.ts +48 -48
  164. package/ui/nested/base/box-options.js +253 -253
  165. package/ui/nested/base/box-options.js.map +1 -1
  166. package/ui/nested/base/chart-common-series-settings.d.ts +79 -79
  167. package/ui/nested/base/chart-common-series-settings.js +673 -673
  168. package/ui/nested/base/chart-common-series-settings.js.map +1 -1
  169. package/ui/nested/base/chart-series-dxi.d.ts +58 -58
  170. package/ui/nested/base/chart-series-dxi.js +463 -463
  171. package/ui/nested/base/chart-series-dxi.js.map +1 -1
  172. package/ui/nested/base/context-menu-item-dxi.d.ts +94 -94
  173. package/ui/nested/base/context-menu-item-dxi.js +593 -593
  174. package/ui/nested/base/context-menu-item-dxi.js.map +1 -1
  175. package/ui/nested/base/data-grid-column-dxi.d.ts +77 -77
  176. package/ui/nested/base/data-grid-column-dxi.js +643 -643
  177. package/ui/nested/base/data-grid-column-dxi.js.map +1 -1
  178. package/ui/nested/base/filter-builder-field-dxi.d.ts +61 -61
  179. package/ui/nested/base/filter-builder-field-dxi.js +483 -483
  180. package/ui/nested/base/filter-builder-field-dxi.js.map +1 -1
  181. package/ui/nested/base/form-options.d.ts +54 -54
  182. package/ui/nested/base/form-options.js +413 -413
  183. package/ui/nested/base/form-options.js.map +1 -1
  184. package/ui/nested/base/form-simple-item.d.ts +30 -30
  185. package/ui/nested/base/form-simple-item.js +173 -173
  186. package/ui/nested/base/form-simple-item.js.map +1 -1
  187. package/ui/nested/base/format.d.ts +20 -20
  188. package/ui/nested/base/format.js +83 -83
  189. package/ui/nested/base/format.js.map +1 -1
  190. package/ui/nested/base/gauge-indicator.d.ts +34 -34
  191. package/ui/nested/base/gauge-indicator.js +223 -223
  192. package/ui/nested/base/gauge-indicator.js.map +1 -1
  193. package/ui/nested/base/pivot-grid-data-source.d.ts +71 -71
  194. package/ui/nested/base/pivot-grid-data-source.js +123 -123
  195. package/ui/nested/base/pivot-grid-data-source.js.map +1 -1
  196. package/ui/nested/base/popup-options.d.ts +70 -70
  197. package/ui/nested/base/popup-options.js +473 -473
  198. package/ui/nested/base/popup-options.js.map +1 -1
  199. package/ui/nested/base/position-config.d.ts +37 -37
  200. package/ui/nested/base/position-config.js +103 -103
  201. package/ui/nested/base/position-config.js.map +1 -1
  202. package/ui/nested/base/tab-panel-options.d.ts +65 -65
  203. package/ui/nested/base/tab-panel-options.js +423 -423
  204. package/ui/nested/base/tab-panel-options.js.map +1 -1
  205. package/ui/nested/base/text-box-options.d.ts +64 -64
  206. package/ui/nested/base/text-box-options.js +523 -523
  207. package/ui/nested/base/text-box-options.js.map +1 -1
  208. package/ui/nested/base/viz-font.d.ts +20 -20
  209. package/ui/nested/base/viz-font.js +83 -83
  210. package/ui/nested/base/viz-font.js.map +1 -1
  211. package/ui/nested/behavior.d.ts +27 -27
  212. package/ui/nested/behavior.js +155 -155
  213. package/ui/nested/behavior.js.map +1 -1
  214. package/ui/nested/border.d.ts +30 -30
  215. package/ui/nested/border.js +188 -188
  216. package/ui/nested/border.js.map +1 -1
  217. package/ui/nested/boundary-offset.d.ts +22 -22
  218. package/ui/nested/boundary-offset.js +100 -100
  219. package/ui/nested/boundary-offset.js.map +1 -1
  220. package/ui/nested/box.d.ts +23 -23
  221. package/ui/nested/box.js +115 -115
  222. package/ui/nested/box.js.map +1 -1
  223. package/ui/nested/break-dxi.d.ts +22 -22
  224. package/ui/nested/break-dxi.js +100 -100
  225. package/ui/nested/break-dxi.js.map +1 -1
  226. package/ui/nested/break-style.d.ts +23 -23
  227. package/ui/nested/break-style.js +111 -111
  228. package/ui/nested/break-style.js.map +1 -1
  229. package/ui/nested/bubble.d.ts +20 -20
  230. package/ui/nested/bubble.js +136 -136
  231. package/ui/nested/bubble.js.map +1 -1
  232. package/ui/nested/candlestick.d.ts +20 -20
  233. package/ui/nested/candlestick.js +136 -136
  234. package/ui/nested/candlestick.js.map +1 -1
  235. package/ui/nested/center-dxi.d.ts +22 -22
  236. package/ui/nested/center-dxi.js +100 -100
  237. package/ui/nested/center-dxi.js.map +1 -1
  238. package/ui/nested/chart.d.ts +35 -35
  239. package/ui/nested/chart.js +222 -222
  240. package/ui/nested/chart.js.map +1 -1
  241. package/ui/nested/col-count-by-screen.d.ts +24 -24
  242. package/ui/nested/col-count-by-screen.js +122 -122
  243. package/ui/nested/col-count-by-screen.js.map +1 -1
  244. package/ui/nested/col-dxi.d.ts +24 -24
  245. package/ui/nested/col-dxi.js +122 -122
  246. package/ui/nested/col-dxi.js.map +1 -1
  247. package/ui/nested/collision.d.ts +22 -22
  248. package/ui/nested/collision.js +100 -100
  249. package/ui/nested/collision.js.map +1 -1
  250. package/ui/nested/colorizer.d.ts +25 -25
  251. package/ui/nested/colorizer.js +133 -133
  252. package/ui/nested/colorizer.js.map +1 -1
  253. package/ui/nested/column-chooser.d.ts +28 -28
  254. package/ui/nested/column-chooser.js +166 -166
  255. package/ui/nested/column-chooser.js.map +1 -1
  256. package/ui/nested/column-dxi.d.ts +24 -24
  257. package/ui/nested/column-dxi.js +165 -165
  258. package/ui/nested/column-dxi.js.map +1 -1
  259. package/ui/nested/column-fixing.d.ts +22 -22
  260. package/ui/nested/column-fixing.js +100 -100
  261. package/ui/nested/column-fixing.js.map +1 -1
  262. package/ui/nested/common-axis-settings.d.ts +42 -42
  263. package/ui/nested/common-axis-settings.js +320 -320
  264. package/ui/nested/common-axis-settings.js.map +1 -1
  265. package/ui/nested/common-pane-settings.d.ts +22 -22
  266. package/ui/nested/common-pane-settings.js +100 -100
  267. package/ui/nested/common-pane-settings.js.map +1 -1
  268. package/ui/nested/common-series-settings.d.ts +20 -20
  269. package/ui/nested/common-series-settings.js +143 -143
  270. package/ui/nested/common-series-settings.js.map +1 -1
  271. package/ui/nested/connector.d.ts +24 -24
  272. package/ui/nested/connector.js +122 -122
  273. package/ui/nested/connector.js.map +1 -1
  274. package/ui/nested/constant-line-dxi.d.ts +27 -27
  275. package/ui/nested/constant-line-dxi.js +155 -155
  276. package/ui/nested/constant-line-dxi.js.map +1 -1
  277. package/ui/nested/constant-line-style.d.ts +26 -26
  278. package/ui/nested/constant-line-style.js +144 -144
  279. package/ui/nested/constant-line-style.js.map +1 -1
  280. package/ui/nested/control-bar.d.ts +27 -27
  281. package/ui/nested/control-bar.js +155 -155
  282. package/ui/nested/control-bar.js.map +1 -1
  283. package/ui/nested/crosshair.d.ts +57 -57
  284. package/ui/nested/crosshair.js +166 -166
  285. package/ui/nested/crosshair.js.map +1 -1
  286. package/ui/nested/data-prepare-settings.d.ts +23 -23
  287. package/ui/nested/data-prepare-settings.js +111 -111
  288. package/ui/nested/data-prepare-settings.js.map +1 -1
  289. package/ui/nested/data-source.d.ts +23 -23
  290. package/ui/nested/data-source.js +107 -107
  291. package/ui/nested/data-source.js.map +1 -1
  292. package/ui/nested/delay.d.ts +22 -22
  293. package/ui/nested/delay.js +100 -100
  294. package/ui/nested/delay.js.map +1 -1
  295. package/ui/nested/display-format.d.ts +20 -20
  296. package/ui/nested/display-format.js +84 -84
  297. package/ui/nested/display-format.js.map +1 -1
  298. package/ui/nested/drop-down-options.d.ts +23 -23
  299. package/ui/nested/drop-down-options.js +137 -137
  300. package/ui/nested/drop-down-options.js.map +1 -1
  301. package/ui/nested/editing.d.ts +34 -34
  302. package/ui/nested/editing.js +221 -221
  303. package/ui/nested/editing.js.map +1 -1
  304. package/ui/nested/export.d.ts +31 -31
  305. package/ui/nested/export.js +199 -199
  306. package/ui/nested/export.js.map +1 -1
  307. package/ui/nested/field-chooser.d.ts +28 -28
  308. package/ui/nested/field-chooser.js +166 -166
  309. package/ui/nested/field-chooser.js.map +1 -1
  310. package/ui/nested/field-dxi.d.ts +20 -20
  311. package/ui/nested/field-dxi.js +124 -124
  312. package/ui/nested/field-dxi.js.map +1 -1
  313. package/ui/nested/field-panel.d.ts +27 -27
  314. package/ui/nested/field-panel.js +155 -155
  315. package/ui/nested/field-panel.js.map +1 -1
  316. package/ui/nested/filter-operation-descriptions.d.ts +32 -32
  317. package/ui/nested/filter-operation-descriptions.js +210 -210
  318. package/ui/nested/filter-operation-descriptions.js.map +1 -1
  319. package/ui/nested/filter-row.d.ts +29 -29
  320. package/ui/nested/filter-row.js +177 -177
  321. package/ui/nested/filter-row.js.map +1 -1
  322. package/ui/nested/font.d.ts +20 -20
  323. package/ui/nested/font.js +84 -84
  324. package/ui/nested/font.js.map +1 -1
  325. package/ui/nested/form-item.d.ts +23 -23
  326. package/ui/nested/form-item.js +107 -107
  327. package/ui/nested/form-item.js.map +1 -1
  328. package/ui/nested/form.d.ts +23 -23
  329. package/ui/nested/form.js +131 -131
  330. package/ui/nested/form.js.map +1 -1
  331. package/ui/nested/format.d.ts +20 -20
  332. package/ui/nested/format.js +84 -84
  333. package/ui/nested/format.js.map +1 -1
  334. package/ui/nested/fullstackedarea.d.ts +20 -20
  335. package/ui/nested/fullstackedarea.js +136 -136
  336. package/ui/nested/fullstackedarea.js.map +1 -1
  337. package/ui/nested/fullstackedbar.d.ts +20 -20
  338. package/ui/nested/fullstackedbar.js +136 -136
  339. package/ui/nested/fullstackedbar.js.map +1 -1
  340. package/ui/nested/fullstackedline.d.ts +20 -20
  341. package/ui/nested/fullstackedline.js +136 -136
  342. package/ui/nested/fullstackedline.js.map +1 -1
  343. package/ui/nested/fullstackedspline.d.ts +20 -20
  344. package/ui/nested/fullstackedspline.js +136 -136
  345. package/ui/nested/fullstackedspline.js.map +1 -1
  346. package/ui/nested/fullstackedsplinearea.d.ts +20 -20
  347. package/ui/nested/fullstackedsplinearea.js +136 -136
  348. package/ui/nested/fullstackedsplinearea.js.map +1 -1
  349. package/ui/nested/geometry.d.ts +23 -23
  350. package/ui/nested/geometry.js +111 -111
  351. package/ui/nested/geometry.js.map +1 -1
  352. package/ui/nested/grid.d.ts +24 -24
  353. package/ui/nested/grid.js +122 -122
  354. package/ui/nested/grid.js.map +1 -1
  355. package/ui/nested/group-item-dxi.d.ts +32 -32
  356. package/ui/nested/group-item-dxi.js +199 -199
  357. package/ui/nested/group-item-dxi.js.map +1 -1
  358. package/ui/nested/group-operation-descriptions.d.ts +24 -24
  359. package/ui/nested/group-operation-descriptions.js +122 -122
  360. package/ui/nested/group-operation-descriptions.js.map +1 -1
  361. package/ui/nested/group-panel.d.ts +23 -23
  362. package/ui/nested/group-panel.js +111 -111
  363. package/ui/nested/group-panel.js.map +1 -1
  364. package/ui/nested/group.d.ts +27 -27
  365. package/ui/nested/group.js +155 -155
  366. package/ui/nested/group.js.map +1 -1
  367. package/ui/nested/grouping.d.ts +27 -27
  368. package/ui/nested/grouping.js +155 -155
  369. package/ui/nested/grouping.js.map +1 -1
  370. package/ui/nested/hatching.d.ts +24 -24
  371. package/ui/nested/hatching.js +122 -122
  372. package/ui/nested/hatching.js.map +1 -1
  373. package/ui/nested/header-filter.d.ts +29 -29
  374. package/ui/nested/header-filter.js +166 -166
  375. package/ui/nested/header-filter.js.map +1 -1
  376. package/ui/nested/height.d.ts +22 -22
  377. package/ui/nested/height.js +100 -100
  378. package/ui/nested/height.js.map +1 -1
  379. package/ui/nested/hide-event.d.ts +22 -22
  380. package/ui/nested/hide-event.js +100 -100
  381. package/ui/nested/hide-event.js.map +1 -1
  382. package/ui/nested/hide.d.ts +20 -20
  383. package/ui/nested/hide.js +89 -89
  384. package/ui/nested/hide.js.map +1 -1
  385. package/ui/nested/horizontal-line.d.ts +26 -26
  386. package/ui/nested/horizontal-line.js +144 -144
  387. package/ui/nested/horizontal-line.js.map +1 -1
  388. package/ui/nested/hover-style.d.ts +26 -26
  389. package/ui/nested/hover-style.js +144 -144
  390. package/ui/nested/hover-style.js.map +1 -1
  391. package/ui/nested/image.d.ts +33 -33
  392. package/ui/nested/image.js +122 -122
  393. package/ui/nested/image.js.map +1 -1
  394. package/ui/nested/indent.d.ts +22 -22
  395. package/ui/nested/indent.js +100 -100
  396. package/ui/nested/indent.js.map +1 -1
  397. package/ui/nested/item-dxi.d.ts +33 -33
  398. package/ui/nested/item-dxi.js +195 -195
  399. package/ui/nested/item-dxi.js.map +1 -1
  400. package/ui/nested/item.d.ts +23 -23
  401. package/ui/nested/item.js +111 -111
  402. package/ui/nested/item.js.map +1 -1
  403. package/ui/nested/key.d.ts +23 -23
  404. package/ui/nested/key.js +111 -111
  405. package/ui/nested/key.js.map +1 -1
  406. package/ui/nested/label.d.ts +65 -65
  407. package/ui/nested/label.js +485 -485
  408. package/ui/nested/label.js.map +1 -1
  409. package/ui/nested/layer-dxi.d.ts +50 -50
  410. package/ui/nested/layer-dxi.js +397 -397
  411. package/ui/nested/layer-dxi.js.map +1 -1
  412. package/ui/nested/legend-dxi.d.ts +48 -48
  413. package/ui/nested/legend-dxi.js +320 -320
  414. package/ui/nested/legend-dxi.js.map +1 -1
  415. package/ui/nested/legend.d.ts +47 -47
  416. package/ui/nested/legend.js +309 -309
  417. package/ui/nested/legend.js.map +1 -1
  418. package/ui/nested/line.d.ts +20 -20
  419. package/ui/nested/line.js +137 -137
  420. package/ui/nested/line.js.map +1 -1
  421. package/ui/nested/load-panel.d.ts +27 -27
  422. package/ui/nested/load-panel.js +155 -155
  423. package/ui/nested/load-panel.js.map +1 -1
  424. package/ui/nested/loading-indicator.d.ts +25 -25
  425. package/ui/nested/loading-indicator.js +122 -122
  426. package/ui/nested/loading-indicator.js.map +1 -1
  427. package/ui/nested/location-dxi.d.ts +27 -27
  428. package/ui/nested/location-dxi.js +155 -155
  429. package/ui/nested/location-dxi.js.map +1 -1
  430. package/ui/nested/lookup.d.ts +25 -25
  431. package/ui/nested/lookup.js +122 -122
  432. package/ui/nested/lookup.js.map +1 -1
  433. package/ui/nested/major-tick-interval.d.ts +27 -27
  434. package/ui/nested/major-tick-interval.js +155 -155
  435. package/ui/nested/major-tick-interval.js.map +1 -1
  436. package/ui/nested/major-tick.d.ts +28 -28
  437. package/ui/nested/major-tick.js +166 -166
  438. package/ui/nested/major-tick.js.map +1 -1
  439. package/ui/nested/margin.d.ts +24 -24
  440. package/ui/nested/margin.js +122 -122
  441. package/ui/nested/margin.js.map +1 -1
  442. package/ui/nested/marker-dxi.d.ts +39 -39
  443. package/ui/nested/marker-dxi.js +200 -200
  444. package/ui/nested/marker-dxi.js.map +1 -1
  445. package/ui/nested/marker-settings.d.ts +43 -43
  446. package/ui/nested/marker-settings.js +331 -331
  447. package/ui/nested/marker-settings.js.map +1 -1
  448. package/ui/nested/marker.d.ts +26 -26
  449. package/ui/nested/marker.js +144 -144
  450. package/ui/nested/marker.js.map +1 -1
  451. package/ui/nested/master-detail.d.ts +29 -29
  452. package/ui/nested/master-detail.js +122 -122
  453. package/ui/nested/master-detail.js.map +1 -1
  454. package/ui/nested/max-range.d.ts +29 -29
  455. package/ui/nested/max-range.js +177 -177
  456. package/ui/nested/max-range.js.map +1 -1
  457. package/ui/nested/menu-item-dxi.d.ts +22 -22
  458. package/ui/nested/menu-item-dxi.js +100 -100
  459. package/ui/nested/menu-item-dxi.js.map +1 -1
  460. package/ui/nested/min-range.d.ts +29 -29
  461. package/ui/nested/min-range.js +177 -177
  462. package/ui/nested/min-range.js.map +1 -1
  463. package/ui/nested/minor-grid.d.ts +24 -24
  464. package/ui/nested/minor-grid.js +122 -122
  465. package/ui/nested/minor-grid.js.map +1 -1
  466. package/ui/nested/minor-tick-interval.d.ts +29 -29
  467. package/ui/nested/minor-tick-interval.js +177 -177
  468. package/ui/nested/minor-tick-interval.js.map +1 -1
  469. package/ui/nested/minor-tick.d.ts +28 -28
  470. package/ui/nested/minor-tick.js +166 -166
  471. package/ui/nested/minor-tick.js.map +1 -1
  472. package/ui/nested/my.d.ts +22 -22
  473. package/ui/nested/my.js +100 -100
  474. package/ui/nested/my.js.map +1 -1
  475. package/ui/nested/offset.d.ts +22 -22
  476. package/ui/nested/offset.js +100 -100
  477. package/ui/nested/offset.js.map +1 -1
  478. package/ui/nested/operation-descriptions.d.ts +31 -31
  479. package/ui/nested/operation-descriptions.js +199 -199
  480. package/ui/nested/operation-descriptions.js.map +1 -1
  481. package/ui/nested/overlapping-behavior.d.ts +25 -25
  482. package/ui/nested/overlapping-behavior.js +133 -133
  483. package/ui/nested/overlapping-behavior.js.map +1 -1
  484. package/ui/nested/pager.d.ts +26 -26
  485. package/ui/nested/pager.js +144 -144
  486. package/ui/nested/pager.js.map +1 -1
  487. package/ui/nested/paging.d.ts +23 -23
  488. package/ui/nested/paging.js +111 -111
  489. package/ui/nested/paging.js.map +1 -1
  490. package/ui/nested/pane-dxi.d.ts +23 -23
  491. package/ui/nested/pane-dxi.js +111 -111
  492. package/ui/nested/pane-dxi.js.map +1 -1
  493. package/ui/nested/placeholder-size.d.ts +25 -25
  494. package/ui/nested/placeholder-size.js +100 -100
  495. package/ui/nested/placeholder-size.js.map +1 -1
  496. package/ui/nested/point.d.ts +47 -47
  497. package/ui/nested/point.js +188 -188
  498. package/ui/nested/point.js.map +1 -1
  499. package/ui/nested/popup.d.ts +23 -23
  500. package/ui/nested/popup.js +137 -137
  501. package/ui/nested/popup.js.map +1 -1
  502. package/ui/nested/position.d.ts +20 -20
  503. package/ui/nested/position.js +86 -86
  504. package/ui/nested/position.js.map +1 -1
  505. package/ui/nested/range-container.d.ts +38 -38
  506. package/ui/nested/range-container.js +178 -178
  507. package/ui/nested/range-container.js.map +1 -1
  508. package/ui/nested/range-dxi.d.ts +23 -23
  509. package/ui/nested/range-dxi.js +111 -111
  510. package/ui/nested/range-dxi.js.map +1 -1
  511. package/ui/nested/rangearea.d.ts +20 -20
  512. package/ui/nested/rangearea.js +136 -136
  513. package/ui/nested/rangearea.js.map +1 -1
  514. package/ui/nested/rangebar.d.ts +20 -20
  515. package/ui/nested/rangebar.js +136 -136
  516. package/ui/nested/rangebar.js.map +1 -1
  517. package/ui/nested/reduction.d.ts +22 -22
  518. package/ui/nested/reduction.js +100 -100
  519. package/ui/nested/reduction.js.map +1 -1
  520. package/ui/nested/remote-operations.d.ts +26 -26
  521. package/ui/nested/remote-operations.js +144 -144
  522. package/ui/nested/remote-operations.js.map +1 -1
  523. package/ui/nested/resource-dxi.d.ts +31 -31
  524. package/ui/nested/resource-dxi.js +188 -188
  525. package/ui/nested/resource-dxi.js.map +1 -1
  526. package/ui/nested/route-dxi.d.ts +31 -31
  527. package/ui/nested/route-dxi.js +145 -145
  528. package/ui/nested/route-dxi.js.map +1 -1
  529. package/ui/nested/row-dxi.d.ts +24 -24
  530. package/ui/nested/row-dxi.js +122 -122
  531. package/ui/nested/row-dxi.js.map +1 -1
  532. package/ui/nested/scale.d.ts +114 -114
  533. package/ui/nested/scale.js +519 -519
  534. package/ui/nested/scale.js.map +1 -1
  535. package/ui/nested/scatter.d.ts +20 -20
  536. package/ui/nested/scatter.js +137 -137
  537. package/ui/nested/scatter.js.map +1 -1
  538. package/ui/nested/scroll-bar.d.ts +26 -26
  539. package/ui/nested/scroll-bar.js +144 -144
  540. package/ui/nested/scroll-bar.js.map +1 -1
  541. package/ui/nested/scrolling.d.ts +26 -26
  542. package/ui/nested/scrolling.js +144 -144
  543. package/ui/nested/scrolling.js.map +1 -1
  544. package/ui/nested/search-editor-options.d.ts +20 -20
  545. package/ui/nested/search-editor-options.js +128 -128
  546. package/ui/nested/search-editor-options.js.map +1 -1
  547. package/ui/nested/search-panel.d.ts +27 -27
  548. package/ui/nested/search-panel.js +155 -155
  549. package/ui/nested/search-panel.js.map +1 -1
  550. package/ui/nested/selected-range.d.ts +22 -22
  551. package/ui/nested/selected-range.js +100 -100
  552. package/ui/nested/selected-range.js.map +1 -1
  553. package/ui/nested/selection-style.d.ts +26 -26
  554. package/ui/nested/selection-style.js +144 -144
  555. package/ui/nested/selection-style.js.map +1 -1
  556. package/ui/nested/selection.d.ts +26 -26
  557. package/ui/nested/selection.js +144 -144
  558. package/ui/nested/selection.js.map +1 -1
  559. package/ui/nested/series-dxi.d.ts +20 -20
  560. package/ui/nested/series-dxi.js +122 -122
  561. package/ui/nested/series-dxi.js.map +1 -1
  562. package/ui/nested/series-template.d.ts +22 -22
  563. package/ui/nested/series-template.js +100 -100
  564. package/ui/nested/series-template.js.map +1 -1
  565. package/ui/nested/shadow.d.ts +25 -25
  566. package/ui/nested/shadow.js +133 -133
  567. package/ui/nested/shadow.js.map +1 -1
  568. package/ui/nested/show-event.d.ts +22 -22
  569. package/ui/nested/show-event.js +100 -100
  570. package/ui/nested/show-event.js.map +1 -1
  571. package/ui/nested/show-first-submenu-mode.d.ts +25 -25
  572. package/ui/nested/show-first-submenu-mode.js +100 -100
  573. package/ui/nested/show-first-submenu-mode.js.map +1 -1
  574. package/ui/nested/show-submenu-mode.d.ts +25 -25
  575. package/ui/nested/show-submenu-mode.js +100 -100
  576. package/ui/nested/show-submenu-mode.js.map +1 -1
  577. package/ui/nested/show.d.ts +20 -20
  578. package/ui/nested/show.js +89 -89
  579. package/ui/nested/show.js.map +1 -1
  580. package/ui/nested/shutter.d.ts +22 -22
  581. package/ui/nested/shutter.js +100 -100
  582. package/ui/nested/shutter.js.map +1 -1
  583. package/ui/nested/size.d.ts +22 -22
  584. package/ui/nested/size.js +100 -100
  585. package/ui/nested/size.js.map +1 -1
  586. package/ui/nested/slider-handle.d.ts +23 -23
  587. package/ui/nested/slider-handle.js +111 -111
  588. package/ui/nested/slider-handle.js.map +1 -1
  589. package/ui/nested/slider-marker.d.ts +39 -39
  590. package/ui/nested/slider-marker.js +210 -210
  591. package/ui/nested/slider-marker.js.map +1 -1
  592. package/ui/nested/small-values-grouping.d.ts +24 -24
  593. package/ui/nested/small-values-grouping.js +122 -122
  594. package/ui/nested/small-values-grouping.js.map +1 -1
  595. package/ui/nested/sort-by-group-summary-info-dxi.d.ts +23 -23
  596. package/ui/nested/sort-by-group-summary-info-dxi.js +111 -111
  597. package/ui/nested/sort-by-group-summary-info-dxi.js.map +1 -1
  598. package/ui/nested/sorting.d.ts +24 -24
  599. package/ui/nested/sorting.js +122 -122
  600. package/ui/nested/sorting.js.map +1 -1
  601. package/ui/nested/source.d.ts +22 -22
  602. package/ui/nested/source.js +100 -100
  603. package/ui/nested/source.js.map +1 -1
  604. package/ui/nested/spline.d.ts +20 -20
  605. package/ui/nested/spline.js +136 -136
  606. package/ui/nested/spline.js.map +1 -1
  607. package/ui/nested/splinearea.d.ts +20 -20
  608. package/ui/nested/splinearea.js +136 -136
  609. package/ui/nested/splinearea.js.map +1 -1
  610. package/ui/nested/stackedarea.d.ts +20 -20
  611. package/ui/nested/stackedarea.js +136 -136
  612. package/ui/nested/stackedarea.js.map +1 -1
  613. package/ui/nested/stackedbar.d.ts +20 -20
  614. package/ui/nested/stackedbar.js +137 -137
  615. package/ui/nested/stackedbar.js.map +1 -1
  616. package/ui/nested/stackedline.d.ts +20 -20
  617. package/ui/nested/stackedline.js +136 -136
  618. package/ui/nested/stackedline.js.map +1 -1
  619. package/ui/nested/stackedspline.d.ts +20 -20
  620. package/ui/nested/stackedspline.js +136 -136
  621. package/ui/nested/stackedspline.js.map +1 -1
  622. package/ui/nested/stackedsplinearea.d.ts +20 -20
  623. package/ui/nested/stackedsplinearea.js +136 -136
  624. package/ui/nested/stackedsplinearea.js.map +1 -1
  625. package/ui/nested/state-storing.d.ts +26 -26
  626. package/ui/nested/state-storing.js +144 -144
  627. package/ui/nested/state-storing.js.map +1 -1
  628. package/ui/nested/steparea.d.ts +20 -20
  629. package/ui/nested/steparea.js +136 -136
  630. package/ui/nested/steparea.js.map +1 -1
  631. package/ui/nested/stepline.d.ts +20 -20
  632. package/ui/nested/stepline.js +136 -136
  633. package/ui/nested/stepline.js.map +1 -1
  634. package/ui/nested/stock.d.ts +20 -20
  635. package/ui/nested/stock.js +136 -136
  636. package/ui/nested/stock.js.map +1 -1
  637. package/ui/nested/store.d.ts +21 -21
  638. package/ui/nested/store.js +89 -89
  639. package/ui/nested/store.js.map +1 -1
  640. package/ui/nested/strip-dxi.d.ts +26 -26
  641. package/ui/nested/strip-dxi.js +144 -144
  642. package/ui/nested/strip-dxi.js.map +1 -1
  643. package/ui/nested/strip-style.d.ts +23 -23
  644. package/ui/nested/strip-style.js +111 -111
  645. package/ui/nested/strip-style.js.map +1 -1
  646. package/ui/nested/subtitle.d.ts +23 -23
  647. package/ui/nested/subtitle.js +100 -100
  648. package/ui/nested/subtitle.js.map +1 -1
  649. package/ui/nested/subvalue-indicator.d.ts +20 -20
  650. package/ui/nested/subvalue-indicator.js +98 -98
  651. package/ui/nested/subvalue-indicator.js.map +1 -1
  652. package/ui/nested/summary.d.ts +55 -55
  653. package/ui/nested/summary.js +157 -157
  654. package/ui/nested/summary.js.map +1 -1
  655. package/ui/nested/tab-dxi.d.ts +39 -39
  656. package/ui/nested/tab-dxi.js +211 -211
  657. package/ui/nested/tab-dxi.js.map +1 -1
  658. package/ui/nested/tab-panel-options.d.ts +23 -23
  659. package/ui/nested/tab-panel-options.js +132 -132
  660. package/ui/nested/tab-panel-options.js.map +1 -1
  661. package/ui/nested/text.d.ts +26 -26
  662. package/ui/nested/text.js +133 -133
  663. package/ui/nested/text.js.map +1 -1
  664. package/ui/nested/texts.d.ts +78 -78
  665. package/ui/nested/texts.js +716 -716
  666. package/ui/nested/texts.js.map +1 -1
  667. package/ui/nested/tick-interval.d.ts +29 -29
  668. package/ui/nested/tick-interval.js +177 -177
  669. package/ui/nested/tick-interval.js.map +1 -1
  670. package/ui/nested/tick.d.ts +25 -25
  671. package/ui/nested/tick.js +133 -133
  672. package/ui/nested/tick.js.map +1 -1
  673. package/ui/nested/tile.d.ts +25 -25
  674. package/ui/nested/tile.js +133 -133
  675. package/ui/nested/tile.js.map +1 -1
  676. package/ui/nested/title.d.ts +37 -37
  677. package/ui/nested/title.js +166 -166
  678. package/ui/nested/title.js.map +1 -1
  679. package/ui/nested/toolbar-item-dxi.d.ts +35 -35
  680. package/ui/nested/toolbar-item-dxi.js +188 -188
  681. package/ui/nested/toolbar-item-dxi.js.map +1 -1
  682. package/ui/nested/tooltip.d.ts +46 -46
  683. package/ui/nested/tooltip.js +353 -353
  684. package/ui/nested/tooltip.js.map +1 -1
  685. package/ui/nested/total-item-dxi.d.ts +32 -32
  686. package/ui/nested/total-item-dxi.js +199 -199
  687. package/ui/nested/total-item-dxi.js.map +1 -1
  688. package/ui/nested/url.d.ts +22 -22
  689. package/ui/nested/url.js +100 -100
  690. package/ui/nested/url.js.map +1 -1
  691. package/ui/nested/validation-rule-dxi.d.ts +30 -30
  692. package/ui/nested/validation-rule-dxi.js +188 -188
  693. package/ui/nested/validation-rule-dxi.js.map +1 -1
  694. package/ui/nested/value-axis-dxi.d.ts +125 -125
  695. package/ui/nested/value-axis-dxi.js +587 -587
  696. package/ui/nested/value-axis-dxi.js.map +1 -1
  697. package/ui/nested/value-axis.d.ts +96 -96
  698. package/ui/nested/value-axis.js +454 -454
  699. package/ui/nested/value-axis.js.map +1 -1
  700. package/ui/nested/value-error-bar.d.ts +29 -29
  701. package/ui/nested/value-error-bar.js +177 -177
  702. package/ui/nested/value-error-bar.js.map +1 -1
  703. package/ui/nested/value-format.d.ts +20 -20
  704. package/ui/nested/value-format.js +84 -84
  705. package/ui/nested/value-format.js.map +1 -1
  706. package/ui/nested/value-indicator.d.ts +20 -20
  707. package/ui/nested/value-indicator.js +98 -98
  708. package/ui/nested/value-indicator.js.map +1 -1
  709. package/ui/nested/vertical-line.d.ts +26 -26
  710. package/ui/nested/vertical-line.js +144 -144
  711. package/ui/nested/vertical-line.js.map +1 -1
  712. package/ui/nested/view-dxi.d.ts +38 -38
  713. package/ui/nested/view-dxi.js +276 -276
  714. package/ui/nested/view-dxi.js.map +1 -1
  715. package/ui/nested/width.d.ts +26 -26
  716. package/ui/nested/width.js +144 -144
  717. package/ui/nested/width.js.map +1 -1
  718. package/ui/number-box.d.ts +362 -362
  719. package/ui/number-box.js +683 -683
  720. package/ui/number-box.js.map +1 -1
  721. package/ui/panorama.d.ts +231 -231
  722. package/ui/panorama.js +449 -449
  723. package/ui/panorama.js.map +1 -1
  724. package/ui/pie-chart.d.ts +381 -381
  725. package/ui/pie-chart.js +722 -722
  726. package/ui/pie-chart.js.map +1 -1
  727. package/ui/pivot-grid-field-chooser.d.ts +201 -201
  728. package/ui/pivot-grid-field-chooser.js +427 -427
  729. package/ui/pivot-grid-field-chooser.js.map +1 -1
  730. package/ui/pivot-grid.d.ts +333 -333
  731. package/ui/pivot-grid.js +691 -691
  732. package/ui/pivot-grid.js.map +1 -1
  733. package/ui/pivot.d.ts +233 -233
  734. package/ui/pivot.js +446 -446
  735. package/ui/pivot.js.map +1 -1
  736. package/ui/polar-chart.d.ts +421 -421
  737. package/ui/polar-chart.js +841 -841
  738. package/ui/polar-chart.js.map +1 -1
  739. package/ui/popover.d.ts +339 -339
  740. package/ui/popover.js +655 -655
  741. package/ui/popover.js.map +1 -1
  742. package/ui/popup.d.ts +363 -363
  743. package/ui/popup.js +703 -703
  744. package/ui/popup.js.map +1 -1
  745. package/ui/progress-bar.d.ts +201 -201
  746. package/ui/progress-bar.js +420 -420
  747. package/ui/progress-bar.js.map +1 -1
  748. package/ui/radio-group.d.ts +275 -275
  749. package/ui/radio-group.js +575 -575
  750. package/ui/radio-group.js.map +1 -1
  751. package/ui/range-selector.d.ts +312 -312
  752. package/ui/range-selector.js +778 -778
  753. package/ui/range-selector.js.map +1 -1
  754. package/ui/range-slider.d.ts +292 -292
  755. package/ui/range-slider.js +631 -631
  756. package/ui/range-slider.js.map +1 -1
  757. package/ui/resizable.d.ts +125 -125
  758. package/ui/resizable.js +251 -251
  759. package/ui/resizable.js.map +1 -1
  760. package/ui/responsive-box.d.ts +241 -241
  761. package/ui/responsive-box.js +433 -433
  762. package/ui/responsive-box.js.map +1 -1
  763. package/ui/scheduler.d.ts +589 -589
  764. package/ui/scheduler.js +1024 -1024
  765. package/ui/scheduler.js.map +1 -1
  766. package/ui/scroll-view.d.ts +177 -177
  767. package/ui/scroll-view.js +349 -349
  768. package/ui/scroll-view.js.map +1 -1
  769. package/ui/select-box.d.ts +547 -547
  770. package/ui/select-box.js +1025 -1025
  771. package/ui/select-box.js.map +1 -1
  772. package/ui/slide-out-view.d.ts +153 -153
  773. package/ui/slide-out-view.js +325 -325
  774. package/ui/slide-out-view.js.map +1 -1
  775. package/ui/slide-out.d.ts +281 -281
  776. package/ui/slide-out.js +530 -530
  777. package/ui/slide-out.js.map +1 -1
  778. package/ui/slider.d.ts +261 -261
  779. package/ui/slider.js +555 -555
  780. package/ui/slider.js.map +1 -1
  781. package/ui/sparkline.d.ts +309 -309
  782. package/ui/sparkline.js +629 -629
  783. package/ui/sparkline.js.map +1 -1
  784. package/ui/switch.d.ts +221 -221
  785. package/ui/switch.js +466 -466
  786. package/ui/switch.js.map +1 -1
  787. package/ui/tab-panel.d.ts +323 -323
  788. package/ui/tab-panel.js +596 -596
  789. package/ui/tab-panel.js.map +1 -1
  790. package/ui/tabs.d.ts +285 -285
  791. package/ui/tabs.js +546 -546
  792. package/ui/tabs.js.map +1 -1
  793. package/ui/tag-box.d.ts +575 -575
  794. package/ui/tag-box.js +1091 -1091
  795. package/ui/tag-box.js.map +1 -1
  796. package/ui/text-area.d.ts +329 -329
  797. package/ui/text-area.js +616 -616
  798. package/ui/text-area.js.map +1 -1
  799. package/ui/text-box.d.ts +369 -369
  800. package/ui/text-box.js +696 -696
  801. package/ui/text-box.js.map +1 -1
  802. package/ui/tile-view.d.ts +263 -263
  803. package/ui/tile-view.js +508 -508
  804. package/ui/tile-view.js.map +1 -1
  805. package/ui/toast.d.ts +278 -278
  806. package/ui/toast.js +570 -570
  807. package/ui/toast.js.map +1 -1
  808. package/ui/toolbar.d.ts +215 -215
  809. package/ui/toolbar.js +396 -396
  810. package/ui/toolbar.js.map +1 -1
  811. package/ui/tooltip.d.ts +273 -273
  812. package/ui/tooltip.js +556 -556
  813. package/ui/tooltip.js.map +1 -1
  814. package/ui/tree-list.d.ts +603 -603
  815. package/ui/tree-list.js +1172 -1172
  816. package/ui/tree-list.js.map +1 -1
  817. package/ui/tree-map.d.ts +341 -341
  818. package/ui/tree-map.js +635 -635
  819. package/ui/tree-map.js.map +1 -1
  820. package/ui/tree-view.d.ts +463 -463
  821. package/ui/tree-view.js +909 -909
  822. package/ui/tree-view.js.map +1 -1
  823. package/ui/validation-group.d.ts +65 -65
  824. package/ui/validation-group.js +149 -149
  825. package/ui/validation-group.js.map +1 -1
  826. package/ui/validation-summary.d.ts +110 -110
  827. package/ui/validation-summary.js +228 -228
  828. package/ui/validation-summary.js.map +1 -1
  829. package/ui/validator.d.ts +111 -111
  830. package/ui/validator.js +261 -261
  831. package/ui/validator.js.map +1 -1
  832. package/ui/vector-map.d.ts +521 -521
  833. package/ui/vector-map.js +695 -695
  834. package/ui/vector-map.js.map +1 -1
package/ui/lookup.js CHANGED
@@ -1,1389 +1,1389 @@
1
- "use strict";
2
- /*!
3
- * devextreme-angular
4
- * Version: 17.2.17
5
- * Build date: Fri Apr 23 2021
6
- *
7
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
8
- *
9
- * This software may be modified and distributed under the terms
10
- * of the MIT license. See the LICENSE file in the root of the project for details.
11
- *
12
- * https://github.com/DevExpress/devextreme-angular
13
- */
14
- var __extends = (this && this.__extends) || (function () {
15
- var extendStatics = Object.setPrototypeOf ||
16
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
17
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
18
- return function (d, b) {
19
- extendStatics(d, b);
20
- function __() { this.constructor = d; }
21
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
22
- };
23
- })();
24
- Object.defineProperty(exports, "__esModule", { value: true });
25
- var core_1 = require("@angular/core");
26
- var lookup_1 = require("devextreme/ui/lookup");
27
- var validator_1 = require("./validator");
28
- var forms_1 = require("@angular/forms");
29
- var component_1 = require("../core/component");
30
- var template_host_1 = require("../core/template-host");
31
- var template_1 = require("../core/template");
32
- var nested_option_1 = require("../core/nested-option");
33
- var watcher_helper_1 = require("../core/watcher-helper");
34
- var iterable_differ_helper_1 = require("../core/iterable-differ-helper");
35
- var animation_1 = require("./nested/animation");
36
- var hide_1 = require("./nested/hide");
37
- var show_1 = require("./nested/show");
38
- var item_dxi_1 = require("./nested/item-dxi");
39
- var position_1 = require("./nested/position");
40
- var at_1 = require("./nested/at");
41
- var boundary_offset_1 = require("./nested/boundary-offset");
42
- var collision_1 = require("./nested/collision");
43
- var my_1 = require("./nested/my");
44
- var offset_1 = require("./nested/offset");
45
- var item_dxi_2 = require("./nested/item-dxi");
46
- var CUSTOM_VALUE_ACCESSOR_PROVIDER = {
47
- provide: forms_1.NG_VALUE_ACCESSOR,
48
- useExisting: core_1.forwardRef(function () { return DxLookupComponent; }),
49
- multi: true
50
- };
51
- /**
52
- * The Lookup is a widget that allows an end user to search for an item in a collection shown in a drop-down menu.
53
- */
54
- var DxLookupComponent = (function (_super) {
55
- __extends(DxLookupComponent, _super);
56
- function DxLookupComponent(elementRef, ngZone, templateHost, _watcherHelper, _idh, optionHost) {
57
- var _this = _super.call(this, elementRef, ngZone, templateHost, _watcherHelper) || this;
58
- _this._watcherHelper = _watcherHelper;
59
- _this._idh = _idh;
60
- _this.touched = function (_) { };
61
- _this._createEventEmitters([
62
- { subscribe: 'closed', emit: 'onClosed' },
63
- { subscribe: 'contentReady', emit: 'onContentReady' },
64
- { subscribe: 'disposing', emit: 'onDisposing' },
65
- { subscribe: 'initialized', emit: 'onInitialized' },
66
- { subscribe: 'itemClick', emit: 'onItemClick' },
67
- { subscribe: 'opened', emit: 'onOpened' },
68
- { subscribe: 'optionChanged', emit: 'onOptionChanged' },
69
- { subscribe: 'pageLoading', emit: 'onPageLoading' },
70
- { subscribe: 'pullRefresh', emit: 'onPullRefresh' },
71
- { subscribe: 'scroll', emit: 'onScroll' },
72
- { subscribe: 'selectionChanged', emit: 'onSelectionChanged' },
73
- { subscribe: 'titleRendered', emit: 'onTitleRendered' },
74
- { subscribe: 'valueChanged', emit: 'onValueChanged' },
75
- { emit: 'accessKeyChange' },
76
- { emit: 'activeStateEnabledChange' },
77
- { emit: 'animationChange' },
78
- { emit: 'applyButtonTextChange' },
79
- { emit: 'applyValueModeChange' },
80
- { emit: 'attrChange' },
81
- { emit: 'cancelButtonTextChange' },
82
- { emit: 'cleanSearchOnOpeningChange' },
83
- { emit: 'clearButtonTextChange' },
84
- { emit: 'closeOnOutsideClickChange' },
85
- { emit: 'dataSourceChange' },
86
- { emit: 'deferRenderingChange' },
87
- { emit: 'disabledChange' },
88
- { emit: 'displayExprChange' },
89
- { emit: 'displayValueChange' },
90
- { emit: 'dropDownButtonTemplateChange' },
91
- { emit: 'elementAttrChange' },
92
- { emit: 'fieldEditEnabledChange' },
93
- { emit: 'fieldTemplateChange' },
94
- { emit: 'focusStateEnabledChange' },
95
- { emit: 'fullScreenChange' },
96
- { emit: 'groupedChange' },
97
- { emit: 'groupTemplateChange' },
98
- { emit: 'heightChange' },
99
- { emit: 'hintChange' },
100
- { emit: 'hoverStateEnabledChange' },
101
- { emit: 'inputAttrChange' },
102
- { emit: 'isValidChange' },
103
- { emit: 'itemsChange' },
104
- { emit: 'itemTemplateChange' },
105
- { emit: 'minSearchLengthChange' },
106
- { emit: 'nameChange' },
107
- { emit: 'nextButtonTextChange' },
108
- { emit: 'noDataTextChange' },
109
- { emit: 'openedChange' },
110
- { emit: 'pageLoadingTextChange' },
111
- { emit: 'pageLoadModeChange' },
112
- { emit: 'pagingEnabledChange' },
113
- { emit: 'placeholderChange' },
114
- { emit: 'popupHeightChange' },
115
- { emit: 'popupWidthChange' },
116
- { emit: 'positionChange' },
117
- { emit: 'pulledDownTextChange' },
118
- { emit: 'pullingDownTextChange' },
119
- { emit: 'pullRefreshEnabledChange' },
120
- { emit: 'refreshingTextChange' },
121
- { emit: 'rtlEnabledChange' },
122
- { emit: 'searchEnabledChange' },
123
- { emit: 'searchExprChange' },
124
- { emit: 'searchModeChange' },
125
- { emit: 'searchPlaceholderChange' },
126
- { emit: 'searchTimeoutChange' },
127
- { emit: 'selectedItemChange' },
128
- { emit: 'shadingChange' },
129
- { emit: 'showCancelButtonChange' },
130
- { emit: 'showClearButtonChange' },
131
- { emit: 'showDataBeforeSearchChange' },
132
- { emit: 'showNextButtonChange' },
133
- { emit: 'showPopupTitleChange' },
134
- { emit: 'tabIndexChange' },
135
- { emit: 'textChange' },
136
- { emit: 'titleChange' },
137
- { emit: 'titleTemplateChange' },
138
- { emit: 'useNativeScrollingChange' },
139
- { emit: 'usePopoverChange' },
140
- { emit: 'validationErrorChange' },
141
- { emit: 'validationMessageModeChange' },
142
- { emit: 'valueChange' },
143
- { emit: 'valueChangeEventChange' },
144
- { emit: 'valueExprChange' },
145
- { emit: 'visibleChange' },
146
- { emit: 'widthChange' },
147
- { emit: 'onBlur' }
148
- ]);
149
- _this._idh.setHost(_this);
150
- optionHost.setHost(_this);
151
- return _this;
152
- }
153
- Object.defineProperty(DxLookupComponent.prototype, "accessKey", {
154
- /**
155
- * Specifies the shortcut key that sets focus on the widget.
156
- */
157
- get: function () {
158
- return this._getOption('accessKey');
159
- },
160
- set: function (value) {
161
- this._setOption('accessKey', value);
162
- },
163
- enumerable: true,
164
- configurable: true
165
- });
166
- Object.defineProperty(DxLookupComponent.prototype, "activeStateEnabled", {
167
- /**
168
- * Specifies whether or not the widget changes its state when interacting with a user.
169
- */
170
- get: function () {
171
- return this._getOption('activeStateEnabled');
172
- },
173
- set: function (value) {
174
- this._setOption('activeStateEnabled', value);
175
- },
176
- enumerable: true,
177
- configurable: true
178
- });
179
- Object.defineProperty(DxLookupComponent.prototype, "animation", {
180
- /**
181
- * Configures widget visibility animations. This object contains two fields: show and hide.
182
- */
183
- get: function () {
184
- return this._getOption('animation');
185
- },
186
- set: function (value) {
187
- this._setOption('animation', value);
188
- },
189
- enumerable: true,
190
- configurable: true
191
- });
192
- Object.defineProperty(DxLookupComponent.prototype, "applyButtonText", {
193
- /**
194
- * The text displayed on the Apply button.
195
- */
196
- get: function () {
197
- return this._getOption('applyButtonText');
198
- },
199
- set: function (value) {
200
- this._setOption('applyButtonText', value);
201
- },
202
- enumerable: true,
203
- configurable: true
204
- });
205
- Object.defineProperty(DxLookupComponent.prototype, "applyValueMode", {
206
- /**
207
- * Specifies the way an end-user applies the selected value.
208
- */
209
- get: function () {
210
- return this._getOption('applyValueMode');
211
- },
212
- set: function (value) {
213
- this._setOption('applyValueMode', value);
214
- },
215
- enumerable: true,
216
- configurable: true
217
- });
218
- Object.defineProperty(DxLookupComponent.prototype, "attr", {
219
- /**
220
- * Use the inputAttr option instead.
221
- */
222
- get: function () {
223
- return this._getOption('attr');
224
- },
225
- set: function (value) {
226
- this._setOption('attr', value);
227
- },
228
- enumerable: true,
229
- configurable: true
230
- });
231
- Object.defineProperty(DxLookupComponent.prototype, "cancelButtonText", {
232
- /**
233
- * The text displayed on the Cancel button.
234
- */
235
- get: function () {
236
- return this._getOption('cancelButtonText');
237
- },
238
- set: function (value) {
239
- this._setOption('cancelButtonText', value);
240
- },
241
- enumerable: true,
242
- configurable: true
243
- });
244
- Object.defineProperty(DxLookupComponent.prototype, "cleanSearchOnOpening", {
245
- /**
246
- * Specifies whether or not the widget cleans the search box when the popup window is displayed.
247
- */
248
- get: function () {
249
- return this._getOption('cleanSearchOnOpening');
250
- },
251
- set: function (value) {
252
- this._setOption('cleanSearchOnOpening', value);
253
- },
254
- enumerable: true,
255
- configurable: true
256
- });
257
- Object.defineProperty(DxLookupComponent.prototype, "clearButtonText", {
258
- /**
259
- * The text displayed on the Clear button.
260
- */
261
- get: function () {
262
- return this._getOption('clearButtonText');
263
- },
264
- set: function (value) {
265
- this._setOption('clearButtonText', value);
266
- },
267
- enumerable: true,
268
- configurable: true
269
- });
270
- Object.defineProperty(DxLookupComponent.prototype, "closeOnOutsideClick", {
271
- /**
272
- * Specifies whether to close the drop-down menu if a user clicks outside it.
273
- */
274
- get: function () {
275
- return this._getOption('closeOnOutsideClick');
276
- },
277
- set: function (value) {
278
- this._setOption('closeOnOutsideClick', value);
279
- },
280
- enumerable: true,
281
- configurable: true
282
- });
283
- Object.defineProperty(DxLookupComponent.prototype, "dataSource", {
284
- /**
285
- * A data source used to fetch data the widget should display.
286
- */
287
- get: function () {
288
- return this._getOption('dataSource');
289
- },
290
- set: function (value) {
291
- this._setOption('dataSource', value);
292
- },
293
- enumerable: true,
294
- configurable: true
295
- });
296
- Object.defineProperty(DxLookupComponent.prototype, "deferRendering", {
297
- /**
298
- * Specifies whether to render the drop-down field's content when it is displayed. If false, the content is rendered immediately.
299
- */
300
- get: function () {
301
- return this._getOption('deferRendering');
302
- },
303
- set: function (value) {
304
- this._setOption('deferRendering', value);
305
- },
306
- enumerable: true,
307
- configurable: true
308
- });
309
- Object.defineProperty(DxLookupComponent.prototype, "disabled", {
310
- /**
311
- * Specifies whether the widget responds to user interaction.
312
- */
313
- get: function () {
314
- return this._getOption('disabled');
315
- },
316
- set: function (value) {
317
- this._setOption('disabled', value);
318
- },
319
- enumerable: true,
320
- configurable: true
321
- });
322
- Object.defineProperty(DxLookupComponent.prototype, "displayExpr", {
323
- /**
324
- * Specifies the name of the data source item field whose value is displayed by the widget.
325
- */
326
- get: function () {
327
- return this._getOption('displayExpr');
328
- },
329
- set: function (value) {
330
- this._setOption('displayExpr', value);
331
- },
332
- enumerable: true,
333
- configurable: true
334
- });
335
- Object.defineProperty(DxLookupComponent.prototype, "displayValue", {
336
- /**
337
- * Returns the value currently displayed by the widget.
338
- */
339
- get: function () {
340
- return this._getOption('displayValue');
341
- },
342
- set: function (value) {
343
- this._setOption('displayValue', value);
344
- },
345
- enumerable: true,
346
- configurable: true
347
- });
348
- Object.defineProperty(DxLookupComponent.prototype, "dropDownButtonTemplate", {
349
- /**
350
- * Specifies a custom template for the drop-down button.
351
- */
352
- get: function () {
353
- return this._getOption('dropDownButtonTemplate');
354
- },
355
- set: function (value) {
356
- this._setOption('dropDownButtonTemplate', value);
357
- },
358
- enumerable: true,
359
- configurable: true
360
- });
361
- Object.defineProperty(DxLookupComponent.prototype, "elementAttr", {
362
- /**
363
- * Specifies the attributes to be attached to the widget's root element.
364
- */
365
- get: function () {
366
- return this._getOption('elementAttr');
367
- },
368
- set: function (value) {
369
- this._setOption('elementAttr', value);
370
- },
371
- enumerable: true,
372
- configurable: true
373
- });
374
- Object.defineProperty(DxLookupComponent.prototype, "fieldEditEnabled", {
375
- /**
376
- * This option is deprecated, because the functionality controlled by it was not supposed to belong to the Lookup widget. Instead, we suggest that you use the SelectBox widget with the acceptCustomValue option set to true.
377
- */
378
- get: function () {
379
- return this._getOption('fieldEditEnabled');
380
- },
381
- set: function (value) {
382
- this._setOption('fieldEditEnabled', value);
383
- },
384
- enumerable: true,
385
- configurable: true
386
- });
387
- Object.defineProperty(DxLookupComponent.prototype, "fieldTemplate", {
388
- /**
389
- * Specifies a custom template for the input field.
390
- */
391
- get: function () {
392
- return this._getOption('fieldTemplate');
393
- },
394
- set: function (value) {
395
- this._setOption('fieldTemplate', value);
396
- },
397
- enumerable: true,
398
- configurable: true
399
- });
400
- Object.defineProperty(DxLookupComponent.prototype, "focusStateEnabled", {
401
- /**
402
- * Specifies whether the widget can be focused using keyboard navigation.
403
- */
404
- get: function () {
405
- return this._getOption('focusStateEnabled');
406
- },
407
- set: function (value) {
408
- this._setOption('focusStateEnabled', value);
409
- },
410
- enumerable: true,
411
- configurable: true
412
- });
413
- Object.defineProperty(DxLookupComponent.prototype, "fullScreen", {
414
- /**
415
- * A Boolean value specifying whether or not to display the lookup in full-screen mode.
416
- */
417
- get: function () {
418
- return this._getOption('fullScreen');
419
- },
420
- set: function (value) {
421
- this._setOption('fullScreen', value);
422
- },
423
- enumerable: true,
424
- configurable: true
425
- });
426
- Object.defineProperty(DxLookupComponent.prototype, "grouped", {
427
- /**
428
- * A Boolean value specifying whether or not to group widget items.
429
- */
430
- get: function () {
431
- return this._getOption('grouped');
432
- },
433
- set: function (value) {
434
- this._setOption('grouped', value);
435
- },
436
- enumerable: true,
437
- configurable: true
438
- });
439
- Object.defineProperty(DxLookupComponent.prototype, "groupTemplate", {
440
- /**
441
- * Specifies a custom template for group captions.
442
- */
443
- get: function () {
444
- return this._getOption('groupTemplate');
445
- },
446
- set: function (value) {
447
- this._setOption('groupTemplate', value);
448
- },
449
- enumerable: true,
450
- configurable: true
451
- });
452
- Object.defineProperty(DxLookupComponent.prototype, "height", {
453
- /**
454
- * Specifies the widget's height.
455
- */
456
- get: function () {
457
- return this._getOption('height');
458
- },
459
- set: function (value) {
460
- this._setOption('height', value);
461
- },
462
- enumerable: true,
463
- configurable: true
464
- });
465
- Object.defineProperty(DxLookupComponent.prototype, "hint", {
466
- /**
467
- * Specifies text for a hint that appears when a user pauses on the widget.
468
- */
469
- get: function () {
470
- return this._getOption('hint');
471
- },
472
- set: function (value) {
473
- this._setOption('hint', value);
474
- },
475
- enumerable: true,
476
- configurable: true
477
- });
478
- Object.defineProperty(DxLookupComponent.prototype, "hoverStateEnabled", {
479
- /**
480
- * Specifies whether the widget changes its state when a user pauses on it.
481
- */
482
- get: function () {
483
- return this._getOption('hoverStateEnabled');
484
- },
485
- set: function (value) {
486
- this._setOption('hoverStateEnabled', value);
487
- },
488
- enumerable: true,
489
- configurable: true
490
- });
491
- Object.defineProperty(DxLookupComponent.prototype, "inputAttr", {
492
- /**
493
- * Specifies the attributes to be passed on to the underlying HTML element.
494
- */
495
- get: function () {
496
- return this._getOption('inputAttr');
497
- },
498
- set: function (value) {
499
- this._setOption('inputAttr', value);
500
- },
501
- enumerable: true,
502
- configurable: true
503
- });
504
- Object.defineProperty(DxLookupComponent.prototype, "isValid", {
505
- /**
506
- * Specifies whether the editor's value is valid.
507
- */
508
- get: function () {
509
- return this._getOption('isValid');
510
- },
511
- set: function (value) {
512
- this._setOption('isValid', value);
513
- },
514
- enumerable: true,
515
- configurable: true
516
- });
517
- Object.defineProperty(DxLookupComponent.prototype, "items", {
518
- /**
519
- * An array of items displayed by the widget.
520
- */
521
- get: function () {
522
- return this._getOption('items');
523
- },
524
- set: function (value) {
525
- this._setOption('items', value);
526
- },
527
- enumerable: true,
528
- configurable: true
529
- });
530
- Object.defineProperty(DxLookupComponent.prototype, "itemTemplate", {
531
- /**
532
- * Specifies a custom template for items.
533
- */
534
- get: function () {
535
- return this._getOption('itemTemplate');
536
- },
537
- set: function (value) {
538
- this._setOption('itemTemplate', value);
539
- },
540
- enumerable: true,
541
- configurable: true
542
- });
543
- Object.defineProperty(DxLookupComponent.prototype, "minSearchLength", {
544
- /**
545
- * The minimum number of characters that must be entered into the text box to begin a search. Applies only if searchEnabled is true.
546
- */
547
- get: function () {
548
- return this._getOption('minSearchLength');
549
- },
550
- set: function (value) {
551
- this._setOption('minSearchLength', value);
552
- },
553
- enumerable: true,
554
- configurable: true
555
- });
556
- Object.defineProperty(DxLookupComponent.prototype, "name", {
557
- /**
558
- * The value to be assigned to the `name` attribute of the underlying HTML element.
559
- */
560
- get: function () {
561
- return this._getOption('name');
562
- },
563
- set: function (value) {
564
- this._setOption('name', value);
565
- },
566
- enumerable: true,
567
- configurable: true
568
- });
569
- Object.defineProperty(DxLookupComponent.prototype, "nextButtonText", {
570
- /**
571
- * The text displayed on the button used to load the next page from the data source.
572
- */
573
- get: function () {
574
- return this._getOption('nextButtonText');
575
- },
576
- set: function (value) {
577
- this._setOption('nextButtonText', value);
578
- },
579
- enumerable: true,
580
- configurable: true
581
- });
582
- Object.defineProperty(DxLookupComponent.prototype, "noDataText", {
583
- /**
584
- * The text or HTML markup displayed by the widget if the item collection is empty.
585
- */
586
- get: function () {
587
- return this._getOption('noDataText');
588
- },
589
- set: function (value) {
590
- this._setOption('noDataText', value);
591
- },
592
- enumerable: true,
593
- configurable: true
594
- });
595
- Object.defineProperty(DxLookupComponent.prototype, "opened", {
596
- /**
597
- * Specifies whether or not the drop-down editor is displayed.
598
- */
599
- get: function () {
600
- return this._getOption('opened');
601
- },
602
- set: function (value) {
603
- this._setOption('opened', value);
604
- },
605
- enumerable: true,
606
- configurable: true
607
- });
608
- Object.defineProperty(DxLookupComponent.prototype, "pageLoadingText", {
609
- /**
610
- * Specifies the text shown in the pullDown panel, which is displayed when the widget is scrolled to the bottom.
611
- */
612
- get: function () {
613
- return this._getOption('pageLoadingText');
614
- },
615
- set: function (value) {
616
- this._setOption('pageLoadingText', value);
617
- },
618
- enumerable: true,
619
- configurable: true
620
- });
621
- Object.defineProperty(DxLookupComponent.prototype, "pageLoadMode", {
622
- /**
623
- * Specifies whether the next page is loaded when a user scrolls the widget to the bottom or when the "next" button is clicked.
624
- */
625
- get: function () {
626
- return this._getOption('pageLoadMode');
627
- },
628
- set: function (value) {
629
- this._setOption('pageLoadMode', value);
630
- },
631
- enumerable: true,
632
- configurable: true
633
- });
634
- Object.defineProperty(DxLookupComponent.prototype, "pagingEnabled", {
635
- /**
636
- * Use the DataSource.paginate option instead.
637
- */
638
- get: function () {
639
- return this._getOption('pagingEnabled');
640
- },
641
- set: function (value) {
642
- this._setOption('pagingEnabled', value);
643
- },
644
- enumerable: true,
645
- configurable: true
646
- });
647
- Object.defineProperty(DxLookupComponent.prototype, "placeholder", {
648
- /**
649
- * The text displayed by the widget when nothing is selected.
650
- */
651
- get: function () {
652
- return this._getOption('placeholder');
653
- },
654
- set: function (value) {
655
- this._setOption('placeholder', value);
656
- },
657
- enumerable: true,
658
- configurable: true
659
- });
660
- Object.defineProperty(DxLookupComponent.prototype, "popupHeight", {
661
- /**
662
- * Specifies the popup element's height. Applies only if fullScreen is false.
663
- */
664
- get: function () {
665
- return this._getOption('popupHeight');
666
- },
667
- set: function (value) {
668
- this._setOption('popupHeight', value);
669
- },
670
- enumerable: true,
671
- configurable: true
672
- });
673
- Object.defineProperty(DxLookupComponent.prototype, "popupWidth", {
674
- /**
675
- * Specifies the popup element's width. Applies only if fullScreen is false.
676
- */
677
- get: function () {
678
- return this._getOption('popupWidth');
679
- },
680
- set: function (value) {
681
- this._setOption('popupWidth', value);
682
- },
683
- enumerable: true,
684
- configurable: true
685
- });
686
- Object.defineProperty(DxLookupComponent.prototype, "position", {
687
- /**
688
- * An object defining widget positioning options.
689
- */
690
- get: function () {
691
- return this._getOption('position');
692
- },
693
- set: function (value) {
694
- this._setOption('position', value);
695
- },
696
- enumerable: true,
697
- configurable: true
698
- });
699
- Object.defineProperty(DxLookupComponent.prototype, "pulledDownText", {
700
- /**
701
- * Specifies the text displayed in the pullDown panel when the widget is pulled below the refresh threshold.
702
- */
703
- get: function () {
704
- return this._getOption('pulledDownText');
705
- },
706
- set: function (value) {
707
- this._setOption('pulledDownText', value);
708
- },
709
- enumerable: true,
710
- configurable: true
711
- });
712
- Object.defineProperty(DxLookupComponent.prototype, "pullingDownText", {
713
- /**
714
- * Specifies the text shown in the pullDown panel while the list is being pulled down to the refresh threshold.
715
- */
716
- get: function () {
717
- return this._getOption('pullingDownText');
718
- },
719
- set: function (value) {
720
- this._setOption('pullingDownText', value);
721
- },
722
- enumerable: true,
723
- configurable: true
724
- });
725
- Object.defineProperty(DxLookupComponent.prototype, "pullRefreshEnabled", {
726
- /**
727
- * A Boolean value specifying whether or not the widget supports the "pull down to refresh" gesture.
728
- */
729
- get: function () {
730
- return this._getOption('pullRefreshEnabled');
731
- },
732
- set: function (value) {
733
- this._setOption('pullRefreshEnabled', value);
734
- },
735
- enumerable: true,
736
- configurable: true
737
- });
738
- Object.defineProperty(DxLookupComponent.prototype, "refreshingText", {
739
- /**
740
- * Specifies the text displayed in the pullDown panel while the widget is being refreshed.
741
- */
742
- get: function () {
743
- return this._getOption('refreshingText');
744
- },
745
- set: function (value) {
746
- this._setOption('refreshingText', value);
747
- },
748
- enumerable: true,
749
- configurable: true
750
- });
751
- Object.defineProperty(DxLookupComponent.prototype, "rtlEnabled", {
752
- /**
753
- * Switches the widget to a right-to-left representation.
754
- */
755
- get: function () {
756
- return this._getOption('rtlEnabled');
757
- },
758
- set: function (value) {
759
- this._setOption('rtlEnabled', value);
760
- },
761
- enumerable: true,
762
- configurable: true
763
- });
764
- Object.defineProperty(DxLookupComponent.prototype, "searchEnabled", {
765
- /**
766
- * Specifies whether the search box is visible.
767
- */
768
- get: function () {
769
- return this._getOption('searchEnabled');
770
- },
771
- set: function (value) {
772
- this._setOption('searchEnabled', value);
773
- },
774
- enumerable: true,
775
- configurable: true
776
- });
777
- Object.defineProperty(DxLookupComponent.prototype, "searchExpr", {
778
- /**
779
- * Specifies the name of a data source item field or an expression whose value is compared to the search criterion.
780
- */
781
- get: function () {
782
- return this._getOption('searchExpr');
783
- },
784
- set: function (value) {
785
- this._setOption('searchExpr', value);
786
- },
787
- enumerable: true,
788
- configurable: true
789
- });
790
- Object.defineProperty(DxLookupComponent.prototype, "searchMode", {
791
- /**
792
- * Specifies the binary operation used to filter data.
793
- */
794
- get: function () {
795
- return this._getOption('searchMode');
796
- },
797
- set: function (value) {
798
- this._setOption('searchMode', value);
799
- },
800
- enumerable: true,
801
- configurable: true
802
- });
803
- Object.defineProperty(DxLookupComponent.prototype, "searchPlaceholder", {
804
- /**
805
- * The text that is provided as a hint in the lookup's search bar.
806
- */
807
- get: function () {
808
- return this._getOption('searchPlaceholder');
809
- },
810
- set: function (value) {
811
- this._setOption('searchPlaceholder', value);
812
- },
813
- enumerable: true,
814
- configurable: true
815
- });
816
- Object.defineProperty(DxLookupComponent.prototype, "searchTimeout", {
817
- /**
818
- * Specifies the time delay, in milliseconds, after the last character has been typed in, before a search is executed.
819
- */
820
- get: function () {
821
- return this._getOption('searchTimeout');
822
- },
823
- set: function (value) {
824
- this._setOption('searchTimeout', value);
825
- },
826
- enumerable: true,
827
- configurable: true
828
- });
829
- Object.defineProperty(DxLookupComponent.prototype, "selectedItem", {
830
- /**
831
- * Gets the currently selected item.
832
- */
833
- get: function () {
834
- return this._getOption('selectedItem');
835
- },
836
- set: function (value) {
837
- this._setOption('selectedItem', value);
838
- },
839
- enumerable: true,
840
- configurable: true
841
- });
842
- Object.defineProperty(DxLookupComponent.prototype, "shading", {
843
- /**
844
- * A Boolean value specifying whether or not the main screen is inactive while the lookup is active.
845
- */
846
- get: function () {
847
- return this._getOption('shading');
848
- },
849
- set: function (value) {
850
- this._setOption('shading', value);
851
- },
852
- enumerable: true,
853
- configurable: true
854
- });
855
- Object.defineProperty(DxLookupComponent.prototype, "showCancelButton", {
856
- /**
857
- * Specifies whether to display the Cancel button in the lookup window.
858
- */
859
- get: function () {
860
- return this._getOption('showCancelButton');
861
- },
862
- set: function (value) {
863
- this._setOption('showCancelButton', value);
864
- },
865
- enumerable: true,
866
- configurable: true
867
- });
868
- Object.defineProperty(DxLookupComponent.prototype, "showClearButton", {
869
- /**
870
- * Specifies whether or not to display the Clear button in the lookup window.
871
- */
872
- get: function () {
873
- return this._getOption('showClearButton');
874
- },
875
- set: function (value) {
876
- this._setOption('showClearButton', value);
877
- },
878
- enumerable: true,
879
- configurable: true
880
- });
881
- Object.defineProperty(DxLookupComponent.prototype, "showDataBeforeSearch", {
882
- /**
883
- * Specifies whether or not the widget displays unfiltered values until a user types a number of characters exceeding the minSearchLength option value.
884
- */
885
- get: function () {
886
- return this._getOption('showDataBeforeSearch');
887
- },
888
- set: function (value) {
889
- this._setOption('showDataBeforeSearch', value);
890
- },
891
- enumerable: true,
892
- configurable: true
893
- });
894
- Object.defineProperty(DxLookupComponent.prototype, "showNextButton", {
895
- /**
896
- * Use the pageLoadMode option instead.
897
- */
898
- get: function () {
899
- return this._getOption('showNextButton');
900
- },
901
- set: function (value) {
902
- this._setOption('showNextButton', value);
903
- },
904
- enumerable: true,
905
- configurable: true
906
- });
907
- Object.defineProperty(DxLookupComponent.prototype, "showPopupTitle", {
908
- /**
909
- * A Boolean value specifying whether or not to display the title in the popup window.
910
- */
911
- get: function () {
912
- return this._getOption('showPopupTitle');
913
- },
914
- set: function (value) {
915
- this._setOption('showPopupTitle', value);
916
- },
917
- enumerable: true,
918
- configurable: true
919
- });
920
- Object.defineProperty(DxLookupComponent.prototype, "tabIndex", {
921
- /**
922
- * Specifies the number of the element when the Tab key is used for navigating.
923
- */
924
- get: function () {
925
- return this._getOption('tabIndex');
926
- },
927
- set: function (value) {
928
- this._setOption('tabIndex', value);
929
- },
930
- enumerable: true,
931
- configurable: true
932
- });
933
- Object.defineProperty(DxLookupComponent.prototype, "text", {
934
- /**
935
- * The read-only option that holds the text displayed by the widget input element.
936
- */
937
- get: function () {
938
- return this._getOption('text');
939
- },
940
- set: function (value) {
941
- this._setOption('text', value);
942
- },
943
- enumerable: true,
944
- configurable: true
945
- });
946
- Object.defineProperty(DxLookupComponent.prototype, "title", {
947
- /**
948
- * The title of the lookup window.
949
- */
950
- get: function () {
951
- return this._getOption('title');
952
- },
953
- set: function (value) {
954
- this._setOption('title', value);
955
- },
956
- enumerable: true,
957
- configurable: true
958
- });
959
- Object.defineProperty(DxLookupComponent.prototype, "titleTemplate", {
960
- /**
961
- * Specifies a custom template for the title.
962
- */
963
- get: function () {
964
- return this._getOption('titleTemplate');
965
- },
966
- set: function (value) {
967
- this._setOption('titleTemplate', value);
968
- },
969
- enumerable: true,
970
- configurable: true
971
- });
972
- Object.defineProperty(DxLookupComponent.prototype, "useNativeScrolling", {
973
- /**
974
- * Specifies whether or not the widget uses native scrolling.
975
- */
976
- get: function () {
977
- return this._getOption('useNativeScrolling');
978
- },
979
- set: function (value) {
980
- this._setOption('useNativeScrolling', value);
981
- },
982
- enumerable: true,
983
- configurable: true
984
- });
985
- Object.defineProperty(DxLookupComponent.prototype, "usePopover", {
986
- /**
987
- * Specifies whether or not to show lookup contents in a Popover widget.
988
- */
989
- get: function () {
990
- return this._getOption('usePopover');
991
- },
992
- set: function (value) {
993
- this._setOption('usePopover', value);
994
- },
995
- enumerable: true,
996
- configurable: true
997
- });
998
- Object.defineProperty(DxLookupComponent.prototype, "validationError", {
999
- /**
1000
- * Specifies information on the validation error when using a custom validation engine. Should be changed at runtime along with the isValid option.
1001
- */
1002
- get: function () {
1003
- return this._getOption('validationError');
1004
- },
1005
- set: function (value) {
1006
- this._setOption('validationError', value);
1007
- },
1008
- enumerable: true,
1009
- configurable: true
1010
- });
1011
- Object.defineProperty(DxLookupComponent.prototype, "validationMessageMode", {
1012
- /**
1013
- * Specifies how the message about the validation rules that are not satisfied by this editor's value is displayed.
1014
- */
1015
- get: function () {
1016
- return this._getOption('validationMessageMode');
1017
- },
1018
- set: function (value) {
1019
- this._setOption('validationMessageMode', value);
1020
- },
1021
- enumerable: true,
1022
- configurable: true
1023
- });
1024
- Object.defineProperty(DxLookupComponent.prototype, "value", {
1025
- /**
1026
- * Specifies the currently selected value. May be an object if dataSource contains objects and valueExpr is not set.
1027
- */
1028
- get: function () {
1029
- return this._getOption('value');
1030
- },
1031
- set: function (value) {
1032
- this._setOption('value', value);
1033
- },
1034
- enumerable: true,
1035
- configurable: true
1036
- });
1037
- Object.defineProperty(DxLookupComponent.prototype, "valueChangeEvent", {
1038
- /**
1039
- * Specifies the DOM events after which the widget's value should be updated.
1040
- */
1041
- get: function () {
1042
- return this._getOption('valueChangeEvent');
1043
- },
1044
- set: function (value) {
1045
- this._setOption('valueChangeEvent', value);
1046
- },
1047
- enumerable: true,
1048
- configurable: true
1049
- });
1050
- Object.defineProperty(DxLookupComponent.prototype, "valueExpr", {
1051
- /**
1052
- * Specifies which data field provides the widget's value. When this option is not set, the value is the entire data object.
1053
- */
1054
- get: function () {
1055
- return this._getOption('valueExpr');
1056
- },
1057
- set: function (value) {
1058
- this._setOption('valueExpr', value);
1059
- },
1060
- enumerable: true,
1061
- configurable: true
1062
- });
1063
- Object.defineProperty(DxLookupComponent.prototype, "visible", {
1064
- /**
1065
- * Specifies whether the widget is visible.
1066
- */
1067
- get: function () {
1068
- return this._getOption('visible');
1069
- },
1070
- set: function (value) {
1071
- this._setOption('visible', value);
1072
- },
1073
- enumerable: true,
1074
- configurable: true
1075
- });
1076
- Object.defineProperty(DxLookupComponent.prototype, "width", {
1077
- /**
1078
- * Specifies the widget's width.
1079
- */
1080
- get: function () {
1081
- return this._getOption('width');
1082
- },
1083
- set: function (value) {
1084
- this._setOption('width', value);
1085
- },
1086
- enumerable: true,
1087
- configurable: true
1088
- });
1089
- DxLookupComponent.prototype.change = function (_) { };
1090
- Object.defineProperty(DxLookupComponent.prototype, "itemsChildren", {
1091
- get: function () {
1092
- return this._getOption('items');
1093
- },
1094
- set: function (value) {
1095
- this.setChildren('items', value);
1096
- },
1097
- enumerable: true,
1098
- configurable: true
1099
- });
1100
- DxLookupComponent.prototype._createInstance = function (element, options) {
1101
- var widget = new lookup_1.default(element, options);
1102
- if (this.validator) {
1103
- this.validator.createInstance(element);
1104
- }
1105
- return widget;
1106
- };
1107
- DxLookupComponent.prototype.writeValue = function (value) {
1108
- this.eventHelper.lockedValueChangeEvent = true;
1109
- this.value = value;
1110
- this.eventHelper.lockedValueChangeEvent = false;
1111
- };
1112
- DxLookupComponent.prototype.setDisabledState = function (isDisabled) {
1113
- this.disabled = isDisabled;
1114
- };
1115
- DxLookupComponent.prototype.registerOnChange = function (fn) { this.change = fn; };
1116
- DxLookupComponent.prototype.registerOnTouched = function (fn) { this.touched = fn; };
1117
- DxLookupComponent.prototype._createWidget = function (element) {
1118
- var _this = this;
1119
- _super.prototype._createWidget.call(this, element);
1120
- this.instance.on('focusOut', function (e) {
1121
- _this.eventHelper.fireNgEvent('onBlur', [e]);
1122
- });
1123
- };
1124
- DxLookupComponent.prototype.ngOnDestroy = function () {
1125
- this._destroyWidget();
1126
- };
1127
- DxLookupComponent.prototype.ngOnChanges = function (changes) {
1128
- _super.prototype.ngOnChanges.call(this, changes);
1129
- this.setupChanges('dataSource', changes);
1130
- this.setupChanges('items', changes);
1131
- this.setupChanges('searchExpr', changes);
1132
- };
1133
- DxLookupComponent.prototype.setupChanges = function (prop, changes) {
1134
- if (!(prop in this._optionsToUpdate)) {
1135
- this._idh.setup(prop, changes);
1136
- }
1137
- };
1138
- DxLookupComponent.prototype.ngDoCheck = function () {
1139
- this._idh.doCheck('dataSource');
1140
- this._idh.doCheck('items');
1141
- this._idh.doCheck('searchExpr');
1142
- this._watcherHelper.checkWatchers();
1143
- _super.prototype.ngDoCheck.call(this);
1144
- _super.prototype.clearChangedOptions.call(this);
1145
- };
1146
- DxLookupComponent.prototype._setOption = function (name, value) {
1147
- var isSetup = this._idh.setupSingle(name, value);
1148
- var isChanged = this._idh.getChanges(name, value) !== null;
1149
- if (isSetup || isChanged) {
1150
- _super.prototype._setOption.call(this, name, value);
1151
- }
1152
- };
1153
- DxLookupComponent.prototype.ngAfterContentInit = function () {
1154
- if (this.validator) {
1155
- this.validator.renderOnViewInit = false;
1156
- }
1157
- };
1158
- DxLookupComponent.decorators = [
1159
- { type: core_1.Component, args: [{
1160
- selector: 'dx-lookup',
1161
- template: '',
1162
- providers: [
1163
- template_host_1.DxTemplateHost,
1164
- watcher_helper_1.WatcherHelper,
1165
- CUSTOM_VALUE_ACCESSOR_PROVIDER,
1166
- nested_option_1.NestedOptionHost,
1167
- iterable_differ_helper_1.IterableDifferHelper
1168
- ]
1169
- },] },
1170
- ];
1171
- /** @nocollapse */
1172
- DxLookupComponent.ctorParameters = function () { return [
1173
- { type: core_1.ElementRef, },
1174
- { type: core_1.NgZone, },
1175
- { type: template_host_1.DxTemplateHost, },
1176
- { type: watcher_helper_1.WatcherHelper, },
1177
- { type: iterable_differ_helper_1.IterableDifferHelper, },
1178
- { type: nested_option_1.NestedOptionHost, },
1179
- ]; };
1180
- DxLookupComponent.propDecorators = {
1181
- 'validator': [{ type: core_1.ContentChild, args: [validator_1.DxValidatorComponent,] },],
1182
- 'accessKey': [{ type: core_1.Input },],
1183
- 'activeStateEnabled': [{ type: core_1.Input },],
1184
- 'animation': [{ type: core_1.Input },],
1185
- 'applyButtonText': [{ type: core_1.Input },],
1186
- 'applyValueMode': [{ type: core_1.Input },],
1187
- 'attr': [{ type: core_1.Input },],
1188
- 'cancelButtonText': [{ type: core_1.Input },],
1189
- 'cleanSearchOnOpening': [{ type: core_1.Input },],
1190
- 'clearButtonText': [{ type: core_1.Input },],
1191
- 'closeOnOutsideClick': [{ type: core_1.Input },],
1192
- 'dataSource': [{ type: core_1.Input },],
1193
- 'deferRendering': [{ type: core_1.Input },],
1194
- 'disabled': [{ type: core_1.Input },],
1195
- 'displayExpr': [{ type: core_1.Input },],
1196
- 'displayValue': [{ type: core_1.Input },],
1197
- 'dropDownButtonTemplate': [{ type: core_1.Input },],
1198
- 'elementAttr': [{ type: core_1.Input },],
1199
- 'fieldEditEnabled': [{ type: core_1.Input },],
1200
- 'fieldTemplate': [{ type: core_1.Input },],
1201
- 'focusStateEnabled': [{ type: core_1.Input },],
1202
- 'fullScreen': [{ type: core_1.Input },],
1203
- 'grouped': [{ type: core_1.Input },],
1204
- 'groupTemplate': [{ type: core_1.Input },],
1205
- 'height': [{ type: core_1.Input },],
1206
- 'hint': [{ type: core_1.Input },],
1207
- 'hoverStateEnabled': [{ type: core_1.Input },],
1208
- 'inputAttr': [{ type: core_1.Input },],
1209
- 'isValid': [{ type: core_1.Input },],
1210
- 'items': [{ type: core_1.Input },],
1211
- 'itemTemplate': [{ type: core_1.Input },],
1212
- 'minSearchLength': [{ type: core_1.Input },],
1213
- 'name': [{ type: core_1.Input },],
1214
- 'nextButtonText': [{ type: core_1.Input },],
1215
- 'noDataText': [{ type: core_1.Input },],
1216
- 'opened': [{ type: core_1.Input },],
1217
- 'pageLoadingText': [{ type: core_1.Input },],
1218
- 'pageLoadMode': [{ type: core_1.Input },],
1219
- 'pagingEnabled': [{ type: core_1.Input },],
1220
- 'placeholder': [{ type: core_1.Input },],
1221
- 'popupHeight': [{ type: core_1.Input },],
1222
- 'popupWidth': [{ type: core_1.Input },],
1223
- 'position': [{ type: core_1.Input },],
1224
- 'pulledDownText': [{ type: core_1.Input },],
1225
- 'pullingDownText': [{ type: core_1.Input },],
1226
- 'pullRefreshEnabled': [{ type: core_1.Input },],
1227
- 'refreshingText': [{ type: core_1.Input },],
1228
- 'rtlEnabled': [{ type: core_1.Input },],
1229
- 'searchEnabled': [{ type: core_1.Input },],
1230
- 'searchExpr': [{ type: core_1.Input },],
1231
- 'searchMode': [{ type: core_1.Input },],
1232
- 'searchPlaceholder': [{ type: core_1.Input },],
1233
- 'searchTimeout': [{ type: core_1.Input },],
1234
- 'selectedItem': [{ type: core_1.Input },],
1235
- 'shading': [{ type: core_1.Input },],
1236
- 'showCancelButton': [{ type: core_1.Input },],
1237
- 'showClearButton': [{ type: core_1.Input },],
1238
- 'showDataBeforeSearch': [{ type: core_1.Input },],
1239
- 'showNextButton': [{ type: core_1.Input },],
1240
- 'showPopupTitle': [{ type: core_1.Input },],
1241
- 'tabIndex': [{ type: core_1.Input },],
1242
- 'text': [{ type: core_1.Input },],
1243
- 'title': [{ type: core_1.Input },],
1244
- 'titleTemplate': [{ type: core_1.Input },],
1245
- 'useNativeScrolling': [{ type: core_1.Input },],
1246
- 'usePopover': [{ type: core_1.Input },],
1247
- 'validationError': [{ type: core_1.Input },],
1248
- 'validationMessageMode': [{ type: core_1.Input },],
1249
- 'value': [{ type: core_1.Input },],
1250
- 'valueChangeEvent': [{ type: core_1.Input },],
1251
- 'valueExpr': [{ type: core_1.Input },],
1252
- 'visible': [{ type: core_1.Input },],
1253
- 'width': [{ type: core_1.Input },],
1254
- 'onClosed': [{ type: core_1.Output },],
1255
- 'onContentReady': [{ type: core_1.Output },],
1256
- 'onDisposing': [{ type: core_1.Output },],
1257
- 'onInitialized': [{ type: core_1.Output },],
1258
- 'onItemClick': [{ type: core_1.Output },],
1259
- 'onOpened': [{ type: core_1.Output },],
1260
- 'onOptionChanged': [{ type: core_1.Output },],
1261
- 'onPageLoading': [{ type: core_1.Output },],
1262
- 'onPullRefresh': [{ type: core_1.Output },],
1263
- 'onScroll': [{ type: core_1.Output },],
1264
- 'onSelectionChanged': [{ type: core_1.Output },],
1265
- 'onTitleRendered': [{ type: core_1.Output },],
1266
- 'onValueChanged': [{ type: core_1.Output },],
1267
- 'accessKeyChange': [{ type: core_1.Output },],
1268
- 'activeStateEnabledChange': [{ type: core_1.Output },],
1269
- 'animationChange': [{ type: core_1.Output },],
1270
- 'applyButtonTextChange': [{ type: core_1.Output },],
1271
- 'applyValueModeChange': [{ type: core_1.Output },],
1272
- 'attrChange': [{ type: core_1.Output },],
1273
- 'cancelButtonTextChange': [{ type: core_1.Output },],
1274
- 'cleanSearchOnOpeningChange': [{ type: core_1.Output },],
1275
- 'clearButtonTextChange': [{ type: core_1.Output },],
1276
- 'closeOnOutsideClickChange': [{ type: core_1.Output },],
1277
- 'dataSourceChange': [{ type: core_1.Output },],
1278
- 'deferRenderingChange': [{ type: core_1.Output },],
1279
- 'disabledChange': [{ type: core_1.Output },],
1280
- 'displayExprChange': [{ type: core_1.Output },],
1281
- 'displayValueChange': [{ type: core_1.Output },],
1282
- 'dropDownButtonTemplateChange': [{ type: core_1.Output },],
1283
- 'elementAttrChange': [{ type: core_1.Output },],
1284
- 'fieldEditEnabledChange': [{ type: core_1.Output },],
1285
- 'fieldTemplateChange': [{ type: core_1.Output },],
1286
- 'focusStateEnabledChange': [{ type: core_1.Output },],
1287
- 'fullScreenChange': [{ type: core_1.Output },],
1288
- 'groupedChange': [{ type: core_1.Output },],
1289
- 'groupTemplateChange': [{ type: core_1.Output },],
1290
- 'heightChange': [{ type: core_1.Output },],
1291
- 'hintChange': [{ type: core_1.Output },],
1292
- 'hoverStateEnabledChange': [{ type: core_1.Output },],
1293
- 'inputAttrChange': [{ type: core_1.Output },],
1294
- 'isValidChange': [{ type: core_1.Output },],
1295
- 'itemsChange': [{ type: core_1.Output },],
1296
- 'itemTemplateChange': [{ type: core_1.Output },],
1297
- 'minSearchLengthChange': [{ type: core_1.Output },],
1298
- 'nameChange': [{ type: core_1.Output },],
1299
- 'nextButtonTextChange': [{ type: core_1.Output },],
1300
- 'noDataTextChange': [{ type: core_1.Output },],
1301
- 'openedChange': [{ type: core_1.Output },],
1302
- 'pageLoadingTextChange': [{ type: core_1.Output },],
1303
- 'pageLoadModeChange': [{ type: core_1.Output },],
1304
- 'pagingEnabledChange': [{ type: core_1.Output },],
1305
- 'placeholderChange': [{ type: core_1.Output },],
1306
- 'popupHeightChange': [{ type: core_1.Output },],
1307
- 'popupWidthChange': [{ type: core_1.Output },],
1308
- 'positionChange': [{ type: core_1.Output },],
1309
- 'pulledDownTextChange': [{ type: core_1.Output },],
1310
- 'pullingDownTextChange': [{ type: core_1.Output },],
1311
- 'pullRefreshEnabledChange': [{ type: core_1.Output },],
1312
- 'refreshingTextChange': [{ type: core_1.Output },],
1313
- 'rtlEnabledChange': [{ type: core_1.Output },],
1314
- 'searchEnabledChange': [{ type: core_1.Output },],
1315
- 'searchExprChange': [{ type: core_1.Output },],
1316
- 'searchModeChange': [{ type: core_1.Output },],
1317
- 'searchPlaceholderChange': [{ type: core_1.Output },],
1318
- 'searchTimeoutChange': [{ type: core_1.Output },],
1319
- 'selectedItemChange': [{ type: core_1.Output },],
1320
- 'shadingChange': [{ type: core_1.Output },],
1321
- 'showCancelButtonChange': [{ type: core_1.Output },],
1322
- 'showClearButtonChange': [{ type: core_1.Output },],
1323
- 'showDataBeforeSearchChange': [{ type: core_1.Output },],
1324
- 'showNextButtonChange': [{ type: core_1.Output },],
1325
- 'showPopupTitleChange': [{ type: core_1.Output },],
1326
- 'tabIndexChange': [{ type: core_1.Output },],
1327
- 'textChange': [{ type: core_1.Output },],
1328
- 'titleChange': [{ type: core_1.Output },],
1329
- 'titleTemplateChange': [{ type: core_1.Output },],
1330
- 'useNativeScrollingChange': [{ type: core_1.Output },],
1331
- 'usePopoverChange': [{ type: core_1.Output },],
1332
- 'validationErrorChange': [{ type: core_1.Output },],
1333
- 'validationMessageModeChange': [{ type: core_1.Output },],
1334
- 'valueChange': [{ type: core_1.Output },],
1335
- 'valueChangeEventChange': [{ type: core_1.Output },],
1336
- 'valueExprChange': [{ type: core_1.Output },],
1337
- 'visibleChange': [{ type: core_1.Output },],
1338
- 'widthChange': [{ type: core_1.Output },],
1339
- 'onBlur': [{ type: core_1.Output },],
1340
- 'change': [{ type: core_1.HostListener, args: ['valueChange', ['$event'],] },],
1341
- 'touched': [{ type: core_1.HostListener, args: ['onBlur', ['$event'],] },],
1342
- 'itemsChildren': [{ type: core_1.ContentChildren, args: [item_dxi_2.DxiItemComponent,] },],
1343
- };
1344
- return DxLookupComponent;
1345
- }(component_1.DxComponent));
1346
- exports.DxLookupComponent = DxLookupComponent;
1347
- var DxLookupModule = (function () {
1348
- function DxLookupModule() {
1349
- }
1350
- DxLookupModule.decorators = [
1351
- { type: core_1.NgModule, args: [{
1352
- imports: [
1353
- animation_1.DxoAnimationModule,
1354
- hide_1.DxoHideModule,
1355
- show_1.DxoShowModule,
1356
- item_dxi_1.DxiItemModule,
1357
- position_1.DxoPositionModule,
1358
- at_1.DxoAtModule,
1359
- boundary_offset_1.DxoBoundaryOffsetModule,
1360
- collision_1.DxoCollisionModule,
1361
- my_1.DxoMyModule,
1362
- offset_1.DxoOffsetModule,
1363
- template_1.DxTemplateModule
1364
- ],
1365
- declarations: [
1366
- DxLookupComponent
1367
- ],
1368
- exports: [
1369
- DxLookupComponent,
1370
- animation_1.DxoAnimationModule,
1371
- hide_1.DxoHideModule,
1372
- show_1.DxoShowModule,
1373
- item_dxi_1.DxiItemModule,
1374
- position_1.DxoPositionModule,
1375
- at_1.DxoAtModule,
1376
- boundary_offset_1.DxoBoundaryOffsetModule,
1377
- collision_1.DxoCollisionModule,
1378
- my_1.DxoMyModule,
1379
- offset_1.DxoOffsetModule,
1380
- template_1.DxTemplateModule
1381
- ],
1382
- },] },
1383
- ];
1384
- /** @nocollapse */
1385
- DxLookupModule.ctorParameters = function () { return []; };
1386
- return DxLookupModule;
1387
- }());
1388
- exports.DxLookupModule = DxLookupModule;
1
+ "use strict";
2
+ /*!
3
+ * devextreme-angular
4
+ * Version: 17.2.18
5
+ * Build date: Tue Dec 07 2021
6
+ *
7
+ * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
8
+ *
9
+ * This software may be modified and distributed under the terms
10
+ * of the MIT license. See the LICENSE file in the root of the project for details.
11
+ *
12
+ * https://github.com/DevExpress/devextreme-angular
13
+ */
14
+ var __extends = (this && this.__extends) || (function () {
15
+ var extendStatics = Object.setPrototypeOf ||
16
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
17
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
18
+ return function (d, b) {
19
+ extendStatics(d, b);
20
+ function __() { this.constructor = d; }
21
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
22
+ };
23
+ })();
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ var core_1 = require("@angular/core");
26
+ var lookup_1 = require("devextreme/ui/lookup");
27
+ var validator_1 = require("./validator");
28
+ var forms_1 = require("@angular/forms");
29
+ var component_1 = require("../core/component");
30
+ var template_host_1 = require("../core/template-host");
31
+ var template_1 = require("../core/template");
32
+ var nested_option_1 = require("../core/nested-option");
33
+ var watcher_helper_1 = require("../core/watcher-helper");
34
+ var iterable_differ_helper_1 = require("../core/iterable-differ-helper");
35
+ var animation_1 = require("./nested/animation");
36
+ var hide_1 = require("./nested/hide");
37
+ var show_1 = require("./nested/show");
38
+ var item_dxi_1 = require("./nested/item-dxi");
39
+ var position_1 = require("./nested/position");
40
+ var at_1 = require("./nested/at");
41
+ var boundary_offset_1 = require("./nested/boundary-offset");
42
+ var collision_1 = require("./nested/collision");
43
+ var my_1 = require("./nested/my");
44
+ var offset_1 = require("./nested/offset");
45
+ var item_dxi_2 = require("./nested/item-dxi");
46
+ var CUSTOM_VALUE_ACCESSOR_PROVIDER = {
47
+ provide: forms_1.NG_VALUE_ACCESSOR,
48
+ useExisting: core_1.forwardRef(function () { return DxLookupComponent; }),
49
+ multi: true
50
+ };
51
+ /**
52
+ * The Lookup is a widget that allows an end user to search for an item in a collection shown in a drop-down menu.
53
+ */
54
+ var DxLookupComponent = (function (_super) {
55
+ __extends(DxLookupComponent, _super);
56
+ function DxLookupComponent(elementRef, ngZone, templateHost, _watcherHelper, _idh, optionHost) {
57
+ var _this = _super.call(this, elementRef, ngZone, templateHost, _watcherHelper) || this;
58
+ _this._watcherHelper = _watcherHelper;
59
+ _this._idh = _idh;
60
+ _this.touched = function (_) { };
61
+ _this._createEventEmitters([
62
+ { subscribe: 'closed', emit: 'onClosed' },
63
+ { subscribe: 'contentReady', emit: 'onContentReady' },
64
+ { subscribe: 'disposing', emit: 'onDisposing' },
65
+ { subscribe: 'initialized', emit: 'onInitialized' },
66
+ { subscribe: 'itemClick', emit: 'onItemClick' },
67
+ { subscribe: 'opened', emit: 'onOpened' },
68
+ { subscribe: 'optionChanged', emit: 'onOptionChanged' },
69
+ { subscribe: 'pageLoading', emit: 'onPageLoading' },
70
+ { subscribe: 'pullRefresh', emit: 'onPullRefresh' },
71
+ { subscribe: 'scroll', emit: 'onScroll' },
72
+ { subscribe: 'selectionChanged', emit: 'onSelectionChanged' },
73
+ { subscribe: 'titleRendered', emit: 'onTitleRendered' },
74
+ { subscribe: 'valueChanged', emit: 'onValueChanged' },
75
+ { emit: 'accessKeyChange' },
76
+ { emit: 'activeStateEnabledChange' },
77
+ { emit: 'animationChange' },
78
+ { emit: 'applyButtonTextChange' },
79
+ { emit: 'applyValueModeChange' },
80
+ { emit: 'attrChange' },
81
+ { emit: 'cancelButtonTextChange' },
82
+ { emit: 'cleanSearchOnOpeningChange' },
83
+ { emit: 'clearButtonTextChange' },
84
+ { emit: 'closeOnOutsideClickChange' },
85
+ { emit: 'dataSourceChange' },
86
+ { emit: 'deferRenderingChange' },
87
+ { emit: 'disabledChange' },
88
+ { emit: 'displayExprChange' },
89
+ { emit: 'displayValueChange' },
90
+ { emit: 'dropDownButtonTemplateChange' },
91
+ { emit: 'elementAttrChange' },
92
+ { emit: 'fieldEditEnabledChange' },
93
+ { emit: 'fieldTemplateChange' },
94
+ { emit: 'focusStateEnabledChange' },
95
+ { emit: 'fullScreenChange' },
96
+ { emit: 'groupedChange' },
97
+ { emit: 'groupTemplateChange' },
98
+ { emit: 'heightChange' },
99
+ { emit: 'hintChange' },
100
+ { emit: 'hoverStateEnabledChange' },
101
+ { emit: 'inputAttrChange' },
102
+ { emit: 'isValidChange' },
103
+ { emit: 'itemsChange' },
104
+ { emit: 'itemTemplateChange' },
105
+ { emit: 'minSearchLengthChange' },
106
+ { emit: 'nameChange' },
107
+ { emit: 'nextButtonTextChange' },
108
+ { emit: 'noDataTextChange' },
109
+ { emit: 'openedChange' },
110
+ { emit: 'pageLoadingTextChange' },
111
+ { emit: 'pageLoadModeChange' },
112
+ { emit: 'pagingEnabledChange' },
113
+ { emit: 'placeholderChange' },
114
+ { emit: 'popupHeightChange' },
115
+ { emit: 'popupWidthChange' },
116
+ { emit: 'positionChange' },
117
+ { emit: 'pulledDownTextChange' },
118
+ { emit: 'pullingDownTextChange' },
119
+ { emit: 'pullRefreshEnabledChange' },
120
+ { emit: 'refreshingTextChange' },
121
+ { emit: 'rtlEnabledChange' },
122
+ { emit: 'searchEnabledChange' },
123
+ { emit: 'searchExprChange' },
124
+ { emit: 'searchModeChange' },
125
+ { emit: 'searchPlaceholderChange' },
126
+ { emit: 'searchTimeoutChange' },
127
+ { emit: 'selectedItemChange' },
128
+ { emit: 'shadingChange' },
129
+ { emit: 'showCancelButtonChange' },
130
+ { emit: 'showClearButtonChange' },
131
+ { emit: 'showDataBeforeSearchChange' },
132
+ { emit: 'showNextButtonChange' },
133
+ { emit: 'showPopupTitleChange' },
134
+ { emit: 'tabIndexChange' },
135
+ { emit: 'textChange' },
136
+ { emit: 'titleChange' },
137
+ { emit: 'titleTemplateChange' },
138
+ { emit: 'useNativeScrollingChange' },
139
+ { emit: 'usePopoverChange' },
140
+ { emit: 'validationErrorChange' },
141
+ { emit: 'validationMessageModeChange' },
142
+ { emit: 'valueChange' },
143
+ { emit: 'valueChangeEventChange' },
144
+ { emit: 'valueExprChange' },
145
+ { emit: 'visibleChange' },
146
+ { emit: 'widthChange' },
147
+ { emit: 'onBlur' }
148
+ ]);
149
+ _this._idh.setHost(_this);
150
+ optionHost.setHost(_this);
151
+ return _this;
152
+ }
153
+ Object.defineProperty(DxLookupComponent.prototype, "accessKey", {
154
+ /**
155
+ * Specifies the shortcut key that sets focus on the widget.
156
+ */
157
+ get: function () {
158
+ return this._getOption('accessKey');
159
+ },
160
+ set: function (value) {
161
+ this._setOption('accessKey', value);
162
+ },
163
+ enumerable: true,
164
+ configurable: true
165
+ });
166
+ Object.defineProperty(DxLookupComponent.prototype, "activeStateEnabled", {
167
+ /**
168
+ * Specifies whether or not the widget changes its state when interacting with a user.
169
+ */
170
+ get: function () {
171
+ return this._getOption('activeStateEnabled');
172
+ },
173
+ set: function (value) {
174
+ this._setOption('activeStateEnabled', value);
175
+ },
176
+ enumerable: true,
177
+ configurable: true
178
+ });
179
+ Object.defineProperty(DxLookupComponent.prototype, "animation", {
180
+ /**
181
+ * Configures widget visibility animations. This object contains two fields: show and hide.
182
+ */
183
+ get: function () {
184
+ return this._getOption('animation');
185
+ },
186
+ set: function (value) {
187
+ this._setOption('animation', value);
188
+ },
189
+ enumerable: true,
190
+ configurable: true
191
+ });
192
+ Object.defineProperty(DxLookupComponent.prototype, "applyButtonText", {
193
+ /**
194
+ * The text displayed on the Apply button.
195
+ */
196
+ get: function () {
197
+ return this._getOption('applyButtonText');
198
+ },
199
+ set: function (value) {
200
+ this._setOption('applyButtonText', value);
201
+ },
202
+ enumerable: true,
203
+ configurable: true
204
+ });
205
+ Object.defineProperty(DxLookupComponent.prototype, "applyValueMode", {
206
+ /**
207
+ * Specifies the way an end-user applies the selected value.
208
+ */
209
+ get: function () {
210
+ return this._getOption('applyValueMode');
211
+ },
212
+ set: function (value) {
213
+ this._setOption('applyValueMode', value);
214
+ },
215
+ enumerable: true,
216
+ configurable: true
217
+ });
218
+ Object.defineProperty(DxLookupComponent.prototype, "attr", {
219
+ /**
220
+ * Use the inputAttr option instead.
221
+ */
222
+ get: function () {
223
+ return this._getOption('attr');
224
+ },
225
+ set: function (value) {
226
+ this._setOption('attr', value);
227
+ },
228
+ enumerable: true,
229
+ configurable: true
230
+ });
231
+ Object.defineProperty(DxLookupComponent.prototype, "cancelButtonText", {
232
+ /**
233
+ * The text displayed on the Cancel button.
234
+ */
235
+ get: function () {
236
+ return this._getOption('cancelButtonText');
237
+ },
238
+ set: function (value) {
239
+ this._setOption('cancelButtonText', value);
240
+ },
241
+ enumerable: true,
242
+ configurable: true
243
+ });
244
+ Object.defineProperty(DxLookupComponent.prototype, "cleanSearchOnOpening", {
245
+ /**
246
+ * Specifies whether or not the widget cleans the search box when the popup window is displayed.
247
+ */
248
+ get: function () {
249
+ return this._getOption('cleanSearchOnOpening');
250
+ },
251
+ set: function (value) {
252
+ this._setOption('cleanSearchOnOpening', value);
253
+ },
254
+ enumerable: true,
255
+ configurable: true
256
+ });
257
+ Object.defineProperty(DxLookupComponent.prototype, "clearButtonText", {
258
+ /**
259
+ * The text displayed on the Clear button.
260
+ */
261
+ get: function () {
262
+ return this._getOption('clearButtonText');
263
+ },
264
+ set: function (value) {
265
+ this._setOption('clearButtonText', value);
266
+ },
267
+ enumerable: true,
268
+ configurable: true
269
+ });
270
+ Object.defineProperty(DxLookupComponent.prototype, "closeOnOutsideClick", {
271
+ /**
272
+ * Specifies whether to close the drop-down menu if a user clicks outside it.
273
+ */
274
+ get: function () {
275
+ return this._getOption('closeOnOutsideClick');
276
+ },
277
+ set: function (value) {
278
+ this._setOption('closeOnOutsideClick', value);
279
+ },
280
+ enumerable: true,
281
+ configurable: true
282
+ });
283
+ Object.defineProperty(DxLookupComponent.prototype, "dataSource", {
284
+ /**
285
+ * A data source used to fetch data the widget should display.
286
+ */
287
+ get: function () {
288
+ return this._getOption('dataSource');
289
+ },
290
+ set: function (value) {
291
+ this._setOption('dataSource', value);
292
+ },
293
+ enumerable: true,
294
+ configurable: true
295
+ });
296
+ Object.defineProperty(DxLookupComponent.prototype, "deferRendering", {
297
+ /**
298
+ * Specifies whether to render the drop-down field's content when it is displayed. If false, the content is rendered immediately.
299
+ */
300
+ get: function () {
301
+ return this._getOption('deferRendering');
302
+ },
303
+ set: function (value) {
304
+ this._setOption('deferRendering', value);
305
+ },
306
+ enumerable: true,
307
+ configurable: true
308
+ });
309
+ Object.defineProperty(DxLookupComponent.prototype, "disabled", {
310
+ /**
311
+ * Specifies whether the widget responds to user interaction.
312
+ */
313
+ get: function () {
314
+ return this._getOption('disabled');
315
+ },
316
+ set: function (value) {
317
+ this._setOption('disabled', value);
318
+ },
319
+ enumerable: true,
320
+ configurable: true
321
+ });
322
+ Object.defineProperty(DxLookupComponent.prototype, "displayExpr", {
323
+ /**
324
+ * Specifies the name of the data source item field whose value is displayed by the widget.
325
+ */
326
+ get: function () {
327
+ return this._getOption('displayExpr');
328
+ },
329
+ set: function (value) {
330
+ this._setOption('displayExpr', value);
331
+ },
332
+ enumerable: true,
333
+ configurable: true
334
+ });
335
+ Object.defineProperty(DxLookupComponent.prototype, "displayValue", {
336
+ /**
337
+ * Returns the value currently displayed by the widget.
338
+ */
339
+ get: function () {
340
+ return this._getOption('displayValue');
341
+ },
342
+ set: function (value) {
343
+ this._setOption('displayValue', value);
344
+ },
345
+ enumerable: true,
346
+ configurable: true
347
+ });
348
+ Object.defineProperty(DxLookupComponent.prototype, "dropDownButtonTemplate", {
349
+ /**
350
+ * Specifies a custom template for the drop-down button.
351
+ */
352
+ get: function () {
353
+ return this._getOption('dropDownButtonTemplate');
354
+ },
355
+ set: function (value) {
356
+ this._setOption('dropDownButtonTemplate', value);
357
+ },
358
+ enumerable: true,
359
+ configurable: true
360
+ });
361
+ Object.defineProperty(DxLookupComponent.prototype, "elementAttr", {
362
+ /**
363
+ * Specifies the attributes to be attached to the widget's root element.
364
+ */
365
+ get: function () {
366
+ return this._getOption('elementAttr');
367
+ },
368
+ set: function (value) {
369
+ this._setOption('elementAttr', value);
370
+ },
371
+ enumerable: true,
372
+ configurable: true
373
+ });
374
+ Object.defineProperty(DxLookupComponent.prototype, "fieldEditEnabled", {
375
+ /**
376
+ * This option is deprecated, because the functionality controlled by it was not supposed to belong to the Lookup widget. Instead, we suggest that you use the SelectBox widget with the acceptCustomValue option set to true.
377
+ */
378
+ get: function () {
379
+ return this._getOption('fieldEditEnabled');
380
+ },
381
+ set: function (value) {
382
+ this._setOption('fieldEditEnabled', value);
383
+ },
384
+ enumerable: true,
385
+ configurable: true
386
+ });
387
+ Object.defineProperty(DxLookupComponent.prototype, "fieldTemplate", {
388
+ /**
389
+ * Specifies a custom template for the input field.
390
+ */
391
+ get: function () {
392
+ return this._getOption('fieldTemplate');
393
+ },
394
+ set: function (value) {
395
+ this._setOption('fieldTemplate', value);
396
+ },
397
+ enumerable: true,
398
+ configurable: true
399
+ });
400
+ Object.defineProperty(DxLookupComponent.prototype, "focusStateEnabled", {
401
+ /**
402
+ * Specifies whether the widget can be focused using keyboard navigation.
403
+ */
404
+ get: function () {
405
+ return this._getOption('focusStateEnabled');
406
+ },
407
+ set: function (value) {
408
+ this._setOption('focusStateEnabled', value);
409
+ },
410
+ enumerable: true,
411
+ configurable: true
412
+ });
413
+ Object.defineProperty(DxLookupComponent.prototype, "fullScreen", {
414
+ /**
415
+ * A Boolean value specifying whether or not to display the lookup in full-screen mode.
416
+ */
417
+ get: function () {
418
+ return this._getOption('fullScreen');
419
+ },
420
+ set: function (value) {
421
+ this._setOption('fullScreen', value);
422
+ },
423
+ enumerable: true,
424
+ configurable: true
425
+ });
426
+ Object.defineProperty(DxLookupComponent.prototype, "grouped", {
427
+ /**
428
+ * A Boolean value specifying whether or not to group widget items.
429
+ */
430
+ get: function () {
431
+ return this._getOption('grouped');
432
+ },
433
+ set: function (value) {
434
+ this._setOption('grouped', value);
435
+ },
436
+ enumerable: true,
437
+ configurable: true
438
+ });
439
+ Object.defineProperty(DxLookupComponent.prototype, "groupTemplate", {
440
+ /**
441
+ * Specifies a custom template for group captions.
442
+ */
443
+ get: function () {
444
+ return this._getOption('groupTemplate');
445
+ },
446
+ set: function (value) {
447
+ this._setOption('groupTemplate', value);
448
+ },
449
+ enumerable: true,
450
+ configurable: true
451
+ });
452
+ Object.defineProperty(DxLookupComponent.prototype, "height", {
453
+ /**
454
+ * Specifies the widget's height.
455
+ */
456
+ get: function () {
457
+ return this._getOption('height');
458
+ },
459
+ set: function (value) {
460
+ this._setOption('height', value);
461
+ },
462
+ enumerable: true,
463
+ configurable: true
464
+ });
465
+ Object.defineProperty(DxLookupComponent.prototype, "hint", {
466
+ /**
467
+ * Specifies text for a hint that appears when a user pauses on the widget.
468
+ */
469
+ get: function () {
470
+ return this._getOption('hint');
471
+ },
472
+ set: function (value) {
473
+ this._setOption('hint', value);
474
+ },
475
+ enumerable: true,
476
+ configurable: true
477
+ });
478
+ Object.defineProperty(DxLookupComponent.prototype, "hoverStateEnabled", {
479
+ /**
480
+ * Specifies whether the widget changes its state when a user pauses on it.
481
+ */
482
+ get: function () {
483
+ return this._getOption('hoverStateEnabled');
484
+ },
485
+ set: function (value) {
486
+ this._setOption('hoverStateEnabled', value);
487
+ },
488
+ enumerable: true,
489
+ configurable: true
490
+ });
491
+ Object.defineProperty(DxLookupComponent.prototype, "inputAttr", {
492
+ /**
493
+ * Specifies the attributes to be passed on to the underlying HTML element.
494
+ */
495
+ get: function () {
496
+ return this._getOption('inputAttr');
497
+ },
498
+ set: function (value) {
499
+ this._setOption('inputAttr', value);
500
+ },
501
+ enumerable: true,
502
+ configurable: true
503
+ });
504
+ Object.defineProperty(DxLookupComponent.prototype, "isValid", {
505
+ /**
506
+ * Specifies whether the editor's value is valid.
507
+ */
508
+ get: function () {
509
+ return this._getOption('isValid');
510
+ },
511
+ set: function (value) {
512
+ this._setOption('isValid', value);
513
+ },
514
+ enumerable: true,
515
+ configurable: true
516
+ });
517
+ Object.defineProperty(DxLookupComponent.prototype, "items", {
518
+ /**
519
+ * An array of items displayed by the widget.
520
+ */
521
+ get: function () {
522
+ return this._getOption('items');
523
+ },
524
+ set: function (value) {
525
+ this._setOption('items', value);
526
+ },
527
+ enumerable: true,
528
+ configurable: true
529
+ });
530
+ Object.defineProperty(DxLookupComponent.prototype, "itemTemplate", {
531
+ /**
532
+ * Specifies a custom template for items.
533
+ */
534
+ get: function () {
535
+ return this._getOption('itemTemplate');
536
+ },
537
+ set: function (value) {
538
+ this._setOption('itemTemplate', value);
539
+ },
540
+ enumerable: true,
541
+ configurable: true
542
+ });
543
+ Object.defineProperty(DxLookupComponent.prototype, "minSearchLength", {
544
+ /**
545
+ * The minimum number of characters that must be entered into the text box to begin a search. Applies only if searchEnabled is true.
546
+ */
547
+ get: function () {
548
+ return this._getOption('minSearchLength');
549
+ },
550
+ set: function (value) {
551
+ this._setOption('minSearchLength', value);
552
+ },
553
+ enumerable: true,
554
+ configurable: true
555
+ });
556
+ Object.defineProperty(DxLookupComponent.prototype, "name", {
557
+ /**
558
+ * The value to be assigned to the `name` attribute of the underlying HTML element.
559
+ */
560
+ get: function () {
561
+ return this._getOption('name');
562
+ },
563
+ set: function (value) {
564
+ this._setOption('name', value);
565
+ },
566
+ enumerable: true,
567
+ configurable: true
568
+ });
569
+ Object.defineProperty(DxLookupComponent.prototype, "nextButtonText", {
570
+ /**
571
+ * The text displayed on the button used to load the next page from the data source.
572
+ */
573
+ get: function () {
574
+ return this._getOption('nextButtonText');
575
+ },
576
+ set: function (value) {
577
+ this._setOption('nextButtonText', value);
578
+ },
579
+ enumerable: true,
580
+ configurable: true
581
+ });
582
+ Object.defineProperty(DxLookupComponent.prototype, "noDataText", {
583
+ /**
584
+ * The text or HTML markup displayed by the widget if the item collection is empty.
585
+ */
586
+ get: function () {
587
+ return this._getOption('noDataText');
588
+ },
589
+ set: function (value) {
590
+ this._setOption('noDataText', value);
591
+ },
592
+ enumerable: true,
593
+ configurable: true
594
+ });
595
+ Object.defineProperty(DxLookupComponent.prototype, "opened", {
596
+ /**
597
+ * Specifies whether or not the drop-down editor is displayed.
598
+ */
599
+ get: function () {
600
+ return this._getOption('opened');
601
+ },
602
+ set: function (value) {
603
+ this._setOption('opened', value);
604
+ },
605
+ enumerable: true,
606
+ configurable: true
607
+ });
608
+ Object.defineProperty(DxLookupComponent.prototype, "pageLoadingText", {
609
+ /**
610
+ * Specifies the text shown in the pullDown panel, which is displayed when the widget is scrolled to the bottom.
611
+ */
612
+ get: function () {
613
+ return this._getOption('pageLoadingText');
614
+ },
615
+ set: function (value) {
616
+ this._setOption('pageLoadingText', value);
617
+ },
618
+ enumerable: true,
619
+ configurable: true
620
+ });
621
+ Object.defineProperty(DxLookupComponent.prototype, "pageLoadMode", {
622
+ /**
623
+ * Specifies whether the next page is loaded when a user scrolls the widget to the bottom or when the "next" button is clicked.
624
+ */
625
+ get: function () {
626
+ return this._getOption('pageLoadMode');
627
+ },
628
+ set: function (value) {
629
+ this._setOption('pageLoadMode', value);
630
+ },
631
+ enumerable: true,
632
+ configurable: true
633
+ });
634
+ Object.defineProperty(DxLookupComponent.prototype, "pagingEnabled", {
635
+ /**
636
+ * Use the DataSource.paginate option instead.
637
+ */
638
+ get: function () {
639
+ return this._getOption('pagingEnabled');
640
+ },
641
+ set: function (value) {
642
+ this._setOption('pagingEnabled', value);
643
+ },
644
+ enumerable: true,
645
+ configurable: true
646
+ });
647
+ Object.defineProperty(DxLookupComponent.prototype, "placeholder", {
648
+ /**
649
+ * The text displayed by the widget when nothing is selected.
650
+ */
651
+ get: function () {
652
+ return this._getOption('placeholder');
653
+ },
654
+ set: function (value) {
655
+ this._setOption('placeholder', value);
656
+ },
657
+ enumerable: true,
658
+ configurable: true
659
+ });
660
+ Object.defineProperty(DxLookupComponent.prototype, "popupHeight", {
661
+ /**
662
+ * Specifies the popup element's height. Applies only if fullScreen is false.
663
+ */
664
+ get: function () {
665
+ return this._getOption('popupHeight');
666
+ },
667
+ set: function (value) {
668
+ this._setOption('popupHeight', value);
669
+ },
670
+ enumerable: true,
671
+ configurable: true
672
+ });
673
+ Object.defineProperty(DxLookupComponent.prototype, "popupWidth", {
674
+ /**
675
+ * Specifies the popup element's width. Applies only if fullScreen is false.
676
+ */
677
+ get: function () {
678
+ return this._getOption('popupWidth');
679
+ },
680
+ set: function (value) {
681
+ this._setOption('popupWidth', value);
682
+ },
683
+ enumerable: true,
684
+ configurable: true
685
+ });
686
+ Object.defineProperty(DxLookupComponent.prototype, "position", {
687
+ /**
688
+ * An object defining widget positioning options.
689
+ */
690
+ get: function () {
691
+ return this._getOption('position');
692
+ },
693
+ set: function (value) {
694
+ this._setOption('position', value);
695
+ },
696
+ enumerable: true,
697
+ configurable: true
698
+ });
699
+ Object.defineProperty(DxLookupComponent.prototype, "pulledDownText", {
700
+ /**
701
+ * Specifies the text displayed in the pullDown panel when the widget is pulled below the refresh threshold.
702
+ */
703
+ get: function () {
704
+ return this._getOption('pulledDownText');
705
+ },
706
+ set: function (value) {
707
+ this._setOption('pulledDownText', value);
708
+ },
709
+ enumerable: true,
710
+ configurable: true
711
+ });
712
+ Object.defineProperty(DxLookupComponent.prototype, "pullingDownText", {
713
+ /**
714
+ * Specifies the text shown in the pullDown panel while the list is being pulled down to the refresh threshold.
715
+ */
716
+ get: function () {
717
+ return this._getOption('pullingDownText');
718
+ },
719
+ set: function (value) {
720
+ this._setOption('pullingDownText', value);
721
+ },
722
+ enumerable: true,
723
+ configurable: true
724
+ });
725
+ Object.defineProperty(DxLookupComponent.prototype, "pullRefreshEnabled", {
726
+ /**
727
+ * A Boolean value specifying whether or not the widget supports the "pull down to refresh" gesture.
728
+ */
729
+ get: function () {
730
+ return this._getOption('pullRefreshEnabled');
731
+ },
732
+ set: function (value) {
733
+ this._setOption('pullRefreshEnabled', value);
734
+ },
735
+ enumerable: true,
736
+ configurable: true
737
+ });
738
+ Object.defineProperty(DxLookupComponent.prototype, "refreshingText", {
739
+ /**
740
+ * Specifies the text displayed in the pullDown panel while the widget is being refreshed.
741
+ */
742
+ get: function () {
743
+ return this._getOption('refreshingText');
744
+ },
745
+ set: function (value) {
746
+ this._setOption('refreshingText', value);
747
+ },
748
+ enumerable: true,
749
+ configurable: true
750
+ });
751
+ Object.defineProperty(DxLookupComponent.prototype, "rtlEnabled", {
752
+ /**
753
+ * Switches the widget to a right-to-left representation.
754
+ */
755
+ get: function () {
756
+ return this._getOption('rtlEnabled');
757
+ },
758
+ set: function (value) {
759
+ this._setOption('rtlEnabled', value);
760
+ },
761
+ enumerable: true,
762
+ configurable: true
763
+ });
764
+ Object.defineProperty(DxLookupComponent.prototype, "searchEnabled", {
765
+ /**
766
+ * Specifies whether the search box is visible.
767
+ */
768
+ get: function () {
769
+ return this._getOption('searchEnabled');
770
+ },
771
+ set: function (value) {
772
+ this._setOption('searchEnabled', value);
773
+ },
774
+ enumerable: true,
775
+ configurable: true
776
+ });
777
+ Object.defineProperty(DxLookupComponent.prototype, "searchExpr", {
778
+ /**
779
+ * Specifies the name of a data source item field or an expression whose value is compared to the search criterion.
780
+ */
781
+ get: function () {
782
+ return this._getOption('searchExpr');
783
+ },
784
+ set: function (value) {
785
+ this._setOption('searchExpr', value);
786
+ },
787
+ enumerable: true,
788
+ configurable: true
789
+ });
790
+ Object.defineProperty(DxLookupComponent.prototype, "searchMode", {
791
+ /**
792
+ * Specifies the binary operation used to filter data.
793
+ */
794
+ get: function () {
795
+ return this._getOption('searchMode');
796
+ },
797
+ set: function (value) {
798
+ this._setOption('searchMode', value);
799
+ },
800
+ enumerable: true,
801
+ configurable: true
802
+ });
803
+ Object.defineProperty(DxLookupComponent.prototype, "searchPlaceholder", {
804
+ /**
805
+ * The text that is provided as a hint in the lookup's search bar.
806
+ */
807
+ get: function () {
808
+ return this._getOption('searchPlaceholder');
809
+ },
810
+ set: function (value) {
811
+ this._setOption('searchPlaceholder', value);
812
+ },
813
+ enumerable: true,
814
+ configurable: true
815
+ });
816
+ Object.defineProperty(DxLookupComponent.prototype, "searchTimeout", {
817
+ /**
818
+ * Specifies the time delay, in milliseconds, after the last character has been typed in, before a search is executed.
819
+ */
820
+ get: function () {
821
+ return this._getOption('searchTimeout');
822
+ },
823
+ set: function (value) {
824
+ this._setOption('searchTimeout', value);
825
+ },
826
+ enumerable: true,
827
+ configurable: true
828
+ });
829
+ Object.defineProperty(DxLookupComponent.prototype, "selectedItem", {
830
+ /**
831
+ * Gets the currently selected item.
832
+ */
833
+ get: function () {
834
+ return this._getOption('selectedItem');
835
+ },
836
+ set: function (value) {
837
+ this._setOption('selectedItem', value);
838
+ },
839
+ enumerable: true,
840
+ configurable: true
841
+ });
842
+ Object.defineProperty(DxLookupComponent.prototype, "shading", {
843
+ /**
844
+ * A Boolean value specifying whether or not the main screen is inactive while the lookup is active.
845
+ */
846
+ get: function () {
847
+ return this._getOption('shading');
848
+ },
849
+ set: function (value) {
850
+ this._setOption('shading', value);
851
+ },
852
+ enumerable: true,
853
+ configurable: true
854
+ });
855
+ Object.defineProperty(DxLookupComponent.prototype, "showCancelButton", {
856
+ /**
857
+ * Specifies whether to display the Cancel button in the lookup window.
858
+ */
859
+ get: function () {
860
+ return this._getOption('showCancelButton');
861
+ },
862
+ set: function (value) {
863
+ this._setOption('showCancelButton', value);
864
+ },
865
+ enumerable: true,
866
+ configurable: true
867
+ });
868
+ Object.defineProperty(DxLookupComponent.prototype, "showClearButton", {
869
+ /**
870
+ * Specifies whether or not to display the Clear button in the lookup window.
871
+ */
872
+ get: function () {
873
+ return this._getOption('showClearButton');
874
+ },
875
+ set: function (value) {
876
+ this._setOption('showClearButton', value);
877
+ },
878
+ enumerable: true,
879
+ configurable: true
880
+ });
881
+ Object.defineProperty(DxLookupComponent.prototype, "showDataBeforeSearch", {
882
+ /**
883
+ * Specifies whether or not the widget displays unfiltered values until a user types a number of characters exceeding the minSearchLength option value.
884
+ */
885
+ get: function () {
886
+ return this._getOption('showDataBeforeSearch');
887
+ },
888
+ set: function (value) {
889
+ this._setOption('showDataBeforeSearch', value);
890
+ },
891
+ enumerable: true,
892
+ configurable: true
893
+ });
894
+ Object.defineProperty(DxLookupComponent.prototype, "showNextButton", {
895
+ /**
896
+ * Use the pageLoadMode option instead.
897
+ */
898
+ get: function () {
899
+ return this._getOption('showNextButton');
900
+ },
901
+ set: function (value) {
902
+ this._setOption('showNextButton', value);
903
+ },
904
+ enumerable: true,
905
+ configurable: true
906
+ });
907
+ Object.defineProperty(DxLookupComponent.prototype, "showPopupTitle", {
908
+ /**
909
+ * A Boolean value specifying whether or not to display the title in the popup window.
910
+ */
911
+ get: function () {
912
+ return this._getOption('showPopupTitle');
913
+ },
914
+ set: function (value) {
915
+ this._setOption('showPopupTitle', value);
916
+ },
917
+ enumerable: true,
918
+ configurable: true
919
+ });
920
+ Object.defineProperty(DxLookupComponent.prototype, "tabIndex", {
921
+ /**
922
+ * Specifies the number of the element when the Tab key is used for navigating.
923
+ */
924
+ get: function () {
925
+ return this._getOption('tabIndex');
926
+ },
927
+ set: function (value) {
928
+ this._setOption('tabIndex', value);
929
+ },
930
+ enumerable: true,
931
+ configurable: true
932
+ });
933
+ Object.defineProperty(DxLookupComponent.prototype, "text", {
934
+ /**
935
+ * The read-only option that holds the text displayed by the widget input element.
936
+ */
937
+ get: function () {
938
+ return this._getOption('text');
939
+ },
940
+ set: function (value) {
941
+ this._setOption('text', value);
942
+ },
943
+ enumerable: true,
944
+ configurable: true
945
+ });
946
+ Object.defineProperty(DxLookupComponent.prototype, "title", {
947
+ /**
948
+ * The title of the lookup window.
949
+ */
950
+ get: function () {
951
+ return this._getOption('title');
952
+ },
953
+ set: function (value) {
954
+ this._setOption('title', value);
955
+ },
956
+ enumerable: true,
957
+ configurable: true
958
+ });
959
+ Object.defineProperty(DxLookupComponent.prototype, "titleTemplate", {
960
+ /**
961
+ * Specifies a custom template for the title.
962
+ */
963
+ get: function () {
964
+ return this._getOption('titleTemplate');
965
+ },
966
+ set: function (value) {
967
+ this._setOption('titleTemplate', value);
968
+ },
969
+ enumerable: true,
970
+ configurable: true
971
+ });
972
+ Object.defineProperty(DxLookupComponent.prototype, "useNativeScrolling", {
973
+ /**
974
+ * Specifies whether or not the widget uses native scrolling.
975
+ */
976
+ get: function () {
977
+ return this._getOption('useNativeScrolling');
978
+ },
979
+ set: function (value) {
980
+ this._setOption('useNativeScrolling', value);
981
+ },
982
+ enumerable: true,
983
+ configurable: true
984
+ });
985
+ Object.defineProperty(DxLookupComponent.prototype, "usePopover", {
986
+ /**
987
+ * Specifies whether or not to show lookup contents in a Popover widget.
988
+ */
989
+ get: function () {
990
+ return this._getOption('usePopover');
991
+ },
992
+ set: function (value) {
993
+ this._setOption('usePopover', value);
994
+ },
995
+ enumerable: true,
996
+ configurable: true
997
+ });
998
+ Object.defineProperty(DxLookupComponent.prototype, "validationError", {
999
+ /**
1000
+ * Specifies information on the validation error when using a custom validation engine. Should be changed at runtime along with the isValid option.
1001
+ */
1002
+ get: function () {
1003
+ return this._getOption('validationError');
1004
+ },
1005
+ set: function (value) {
1006
+ this._setOption('validationError', value);
1007
+ },
1008
+ enumerable: true,
1009
+ configurable: true
1010
+ });
1011
+ Object.defineProperty(DxLookupComponent.prototype, "validationMessageMode", {
1012
+ /**
1013
+ * Specifies how the message about the validation rules that are not satisfied by this editor's value is displayed.
1014
+ */
1015
+ get: function () {
1016
+ return this._getOption('validationMessageMode');
1017
+ },
1018
+ set: function (value) {
1019
+ this._setOption('validationMessageMode', value);
1020
+ },
1021
+ enumerable: true,
1022
+ configurable: true
1023
+ });
1024
+ Object.defineProperty(DxLookupComponent.prototype, "value", {
1025
+ /**
1026
+ * Specifies the currently selected value. May be an object if dataSource contains objects and valueExpr is not set.
1027
+ */
1028
+ get: function () {
1029
+ return this._getOption('value');
1030
+ },
1031
+ set: function (value) {
1032
+ this._setOption('value', value);
1033
+ },
1034
+ enumerable: true,
1035
+ configurable: true
1036
+ });
1037
+ Object.defineProperty(DxLookupComponent.prototype, "valueChangeEvent", {
1038
+ /**
1039
+ * Specifies the DOM events after which the widget's value should be updated.
1040
+ */
1041
+ get: function () {
1042
+ return this._getOption('valueChangeEvent');
1043
+ },
1044
+ set: function (value) {
1045
+ this._setOption('valueChangeEvent', value);
1046
+ },
1047
+ enumerable: true,
1048
+ configurable: true
1049
+ });
1050
+ Object.defineProperty(DxLookupComponent.prototype, "valueExpr", {
1051
+ /**
1052
+ * Specifies which data field provides the widget's value. When this option is not set, the value is the entire data object.
1053
+ */
1054
+ get: function () {
1055
+ return this._getOption('valueExpr');
1056
+ },
1057
+ set: function (value) {
1058
+ this._setOption('valueExpr', value);
1059
+ },
1060
+ enumerable: true,
1061
+ configurable: true
1062
+ });
1063
+ Object.defineProperty(DxLookupComponent.prototype, "visible", {
1064
+ /**
1065
+ * Specifies whether the widget is visible.
1066
+ */
1067
+ get: function () {
1068
+ return this._getOption('visible');
1069
+ },
1070
+ set: function (value) {
1071
+ this._setOption('visible', value);
1072
+ },
1073
+ enumerable: true,
1074
+ configurable: true
1075
+ });
1076
+ Object.defineProperty(DxLookupComponent.prototype, "width", {
1077
+ /**
1078
+ * Specifies the widget's width.
1079
+ */
1080
+ get: function () {
1081
+ return this._getOption('width');
1082
+ },
1083
+ set: function (value) {
1084
+ this._setOption('width', value);
1085
+ },
1086
+ enumerable: true,
1087
+ configurable: true
1088
+ });
1089
+ DxLookupComponent.prototype.change = function (_) { };
1090
+ Object.defineProperty(DxLookupComponent.prototype, "itemsChildren", {
1091
+ get: function () {
1092
+ return this._getOption('items');
1093
+ },
1094
+ set: function (value) {
1095
+ this.setChildren('items', value);
1096
+ },
1097
+ enumerable: true,
1098
+ configurable: true
1099
+ });
1100
+ DxLookupComponent.prototype._createInstance = function (element, options) {
1101
+ var widget = new lookup_1.default(element, options);
1102
+ if (this.validator) {
1103
+ this.validator.createInstance(element);
1104
+ }
1105
+ return widget;
1106
+ };
1107
+ DxLookupComponent.prototype.writeValue = function (value) {
1108
+ this.eventHelper.lockedValueChangeEvent = true;
1109
+ this.value = value;
1110
+ this.eventHelper.lockedValueChangeEvent = false;
1111
+ };
1112
+ DxLookupComponent.prototype.setDisabledState = function (isDisabled) {
1113
+ this.disabled = isDisabled;
1114
+ };
1115
+ DxLookupComponent.prototype.registerOnChange = function (fn) { this.change = fn; };
1116
+ DxLookupComponent.prototype.registerOnTouched = function (fn) { this.touched = fn; };
1117
+ DxLookupComponent.prototype._createWidget = function (element) {
1118
+ var _this = this;
1119
+ _super.prototype._createWidget.call(this, element);
1120
+ this.instance.on('focusOut', function (e) {
1121
+ _this.eventHelper.fireNgEvent('onBlur', [e]);
1122
+ });
1123
+ };
1124
+ DxLookupComponent.prototype.ngOnDestroy = function () {
1125
+ this._destroyWidget();
1126
+ };
1127
+ DxLookupComponent.prototype.ngOnChanges = function (changes) {
1128
+ _super.prototype.ngOnChanges.call(this, changes);
1129
+ this.setupChanges('dataSource', changes);
1130
+ this.setupChanges('items', changes);
1131
+ this.setupChanges('searchExpr', changes);
1132
+ };
1133
+ DxLookupComponent.prototype.setupChanges = function (prop, changes) {
1134
+ if (!(prop in this._optionsToUpdate)) {
1135
+ this._idh.setup(prop, changes);
1136
+ }
1137
+ };
1138
+ DxLookupComponent.prototype.ngDoCheck = function () {
1139
+ this._idh.doCheck('dataSource');
1140
+ this._idh.doCheck('items');
1141
+ this._idh.doCheck('searchExpr');
1142
+ this._watcherHelper.checkWatchers();
1143
+ _super.prototype.ngDoCheck.call(this);
1144
+ _super.prototype.clearChangedOptions.call(this);
1145
+ };
1146
+ DxLookupComponent.prototype._setOption = function (name, value) {
1147
+ var isSetup = this._idh.setupSingle(name, value);
1148
+ var isChanged = this._idh.getChanges(name, value) !== null;
1149
+ if (isSetup || isChanged) {
1150
+ _super.prototype._setOption.call(this, name, value);
1151
+ }
1152
+ };
1153
+ DxLookupComponent.prototype.ngAfterContentInit = function () {
1154
+ if (this.validator) {
1155
+ this.validator.renderOnViewInit = false;
1156
+ }
1157
+ };
1158
+ DxLookupComponent.decorators = [
1159
+ { type: core_1.Component, args: [{
1160
+ selector: 'dx-lookup',
1161
+ template: '',
1162
+ providers: [
1163
+ template_host_1.DxTemplateHost,
1164
+ watcher_helper_1.WatcherHelper,
1165
+ CUSTOM_VALUE_ACCESSOR_PROVIDER,
1166
+ nested_option_1.NestedOptionHost,
1167
+ iterable_differ_helper_1.IterableDifferHelper
1168
+ ]
1169
+ },] },
1170
+ ];
1171
+ /** @nocollapse */
1172
+ DxLookupComponent.ctorParameters = function () { return [
1173
+ { type: core_1.ElementRef, },
1174
+ { type: core_1.NgZone, },
1175
+ { type: template_host_1.DxTemplateHost, },
1176
+ { type: watcher_helper_1.WatcherHelper, },
1177
+ { type: iterable_differ_helper_1.IterableDifferHelper, },
1178
+ { type: nested_option_1.NestedOptionHost, },
1179
+ ]; };
1180
+ DxLookupComponent.propDecorators = {
1181
+ 'validator': [{ type: core_1.ContentChild, args: [validator_1.DxValidatorComponent,] },],
1182
+ 'accessKey': [{ type: core_1.Input },],
1183
+ 'activeStateEnabled': [{ type: core_1.Input },],
1184
+ 'animation': [{ type: core_1.Input },],
1185
+ 'applyButtonText': [{ type: core_1.Input },],
1186
+ 'applyValueMode': [{ type: core_1.Input },],
1187
+ 'attr': [{ type: core_1.Input },],
1188
+ 'cancelButtonText': [{ type: core_1.Input },],
1189
+ 'cleanSearchOnOpening': [{ type: core_1.Input },],
1190
+ 'clearButtonText': [{ type: core_1.Input },],
1191
+ 'closeOnOutsideClick': [{ type: core_1.Input },],
1192
+ 'dataSource': [{ type: core_1.Input },],
1193
+ 'deferRendering': [{ type: core_1.Input },],
1194
+ 'disabled': [{ type: core_1.Input },],
1195
+ 'displayExpr': [{ type: core_1.Input },],
1196
+ 'displayValue': [{ type: core_1.Input },],
1197
+ 'dropDownButtonTemplate': [{ type: core_1.Input },],
1198
+ 'elementAttr': [{ type: core_1.Input },],
1199
+ 'fieldEditEnabled': [{ type: core_1.Input },],
1200
+ 'fieldTemplate': [{ type: core_1.Input },],
1201
+ 'focusStateEnabled': [{ type: core_1.Input },],
1202
+ 'fullScreen': [{ type: core_1.Input },],
1203
+ 'grouped': [{ type: core_1.Input },],
1204
+ 'groupTemplate': [{ type: core_1.Input },],
1205
+ 'height': [{ type: core_1.Input },],
1206
+ 'hint': [{ type: core_1.Input },],
1207
+ 'hoverStateEnabled': [{ type: core_1.Input },],
1208
+ 'inputAttr': [{ type: core_1.Input },],
1209
+ 'isValid': [{ type: core_1.Input },],
1210
+ 'items': [{ type: core_1.Input },],
1211
+ 'itemTemplate': [{ type: core_1.Input },],
1212
+ 'minSearchLength': [{ type: core_1.Input },],
1213
+ 'name': [{ type: core_1.Input },],
1214
+ 'nextButtonText': [{ type: core_1.Input },],
1215
+ 'noDataText': [{ type: core_1.Input },],
1216
+ 'opened': [{ type: core_1.Input },],
1217
+ 'pageLoadingText': [{ type: core_1.Input },],
1218
+ 'pageLoadMode': [{ type: core_1.Input },],
1219
+ 'pagingEnabled': [{ type: core_1.Input },],
1220
+ 'placeholder': [{ type: core_1.Input },],
1221
+ 'popupHeight': [{ type: core_1.Input },],
1222
+ 'popupWidth': [{ type: core_1.Input },],
1223
+ 'position': [{ type: core_1.Input },],
1224
+ 'pulledDownText': [{ type: core_1.Input },],
1225
+ 'pullingDownText': [{ type: core_1.Input },],
1226
+ 'pullRefreshEnabled': [{ type: core_1.Input },],
1227
+ 'refreshingText': [{ type: core_1.Input },],
1228
+ 'rtlEnabled': [{ type: core_1.Input },],
1229
+ 'searchEnabled': [{ type: core_1.Input },],
1230
+ 'searchExpr': [{ type: core_1.Input },],
1231
+ 'searchMode': [{ type: core_1.Input },],
1232
+ 'searchPlaceholder': [{ type: core_1.Input },],
1233
+ 'searchTimeout': [{ type: core_1.Input },],
1234
+ 'selectedItem': [{ type: core_1.Input },],
1235
+ 'shading': [{ type: core_1.Input },],
1236
+ 'showCancelButton': [{ type: core_1.Input },],
1237
+ 'showClearButton': [{ type: core_1.Input },],
1238
+ 'showDataBeforeSearch': [{ type: core_1.Input },],
1239
+ 'showNextButton': [{ type: core_1.Input },],
1240
+ 'showPopupTitle': [{ type: core_1.Input },],
1241
+ 'tabIndex': [{ type: core_1.Input },],
1242
+ 'text': [{ type: core_1.Input },],
1243
+ 'title': [{ type: core_1.Input },],
1244
+ 'titleTemplate': [{ type: core_1.Input },],
1245
+ 'useNativeScrolling': [{ type: core_1.Input },],
1246
+ 'usePopover': [{ type: core_1.Input },],
1247
+ 'validationError': [{ type: core_1.Input },],
1248
+ 'validationMessageMode': [{ type: core_1.Input },],
1249
+ 'value': [{ type: core_1.Input },],
1250
+ 'valueChangeEvent': [{ type: core_1.Input },],
1251
+ 'valueExpr': [{ type: core_1.Input },],
1252
+ 'visible': [{ type: core_1.Input },],
1253
+ 'width': [{ type: core_1.Input },],
1254
+ 'onClosed': [{ type: core_1.Output },],
1255
+ 'onContentReady': [{ type: core_1.Output },],
1256
+ 'onDisposing': [{ type: core_1.Output },],
1257
+ 'onInitialized': [{ type: core_1.Output },],
1258
+ 'onItemClick': [{ type: core_1.Output },],
1259
+ 'onOpened': [{ type: core_1.Output },],
1260
+ 'onOptionChanged': [{ type: core_1.Output },],
1261
+ 'onPageLoading': [{ type: core_1.Output },],
1262
+ 'onPullRefresh': [{ type: core_1.Output },],
1263
+ 'onScroll': [{ type: core_1.Output },],
1264
+ 'onSelectionChanged': [{ type: core_1.Output },],
1265
+ 'onTitleRendered': [{ type: core_1.Output },],
1266
+ 'onValueChanged': [{ type: core_1.Output },],
1267
+ 'accessKeyChange': [{ type: core_1.Output },],
1268
+ 'activeStateEnabledChange': [{ type: core_1.Output },],
1269
+ 'animationChange': [{ type: core_1.Output },],
1270
+ 'applyButtonTextChange': [{ type: core_1.Output },],
1271
+ 'applyValueModeChange': [{ type: core_1.Output },],
1272
+ 'attrChange': [{ type: core_1.Output },],
1273
+ 'cancelButtonTextChange': [{ type: core_1.Output },],
1274
+ 'cleanSearchOnOpeningChange': [{ type: core_1.Output },],
1275
+ 'clearButtonTextChange': [{ type: core_1.Output },],
1276
+ 'closeOnOutsideClickChange': [{ type: core_1.Output },],
1277
+ 'dataSourceChange': [{ type: core_1.Output },],
1278
+ 'deferRenderingChange': [{ type: core_1.Output },],
1279
+ 'disabledChange': [{ type: core_1.Output },],
1280
+ 'displayExprChange': [{ type: core_1.Output },],
1281
+ 'displayValueChange': [{ type: core_1.Output },],
1282
+ 'dropDownButtonTemplateChange': [{ type: core_1.Output },],
1283
+ 'elementAttrChange': [{ type: core_1.Output },],
1284
+ 'fieldEditEnabledChange': [{ type: core_1.Output },],
1285
+ 'fieldTemplateChange': [{ type: core_1.Output },],
1286
+ 'focusStateEnabledChange': [{ type: core_1.Output },],
1287
+ 'fullScreenChange': [{ type: core_1.Output },],
1288
+ 'groupedChange': [{ type: core_1.Output },],
1289
+ 'groupTemplateChange': [{ type: core_1.Output },],
1290
+ 'heightChange': [{ type: core_1.Output },],
1291
+ 'hintChange': [{ type: core_1.Output },],
1292
+ 'hoverStateEnabledChange': [{ type: core_1.Output },],
1293
+ 'inputAttrChange': [{ type: core_1.Output },],
1294
+ 'isValidChange': [{ type: core_1.Output },],
1295
+ 'itemsChange': [{ type: core_1.Output },],
1296
+ 'itemTemplateChange': [{ type: core_1.Output },],
1297
+ 'minSearchLengthChange': [{ type: core_1.Output },],
1298
+ 'nameChange': [{ type: core_1.Output },],
1299
+ 'nextButtonTextChange': [{ type: core_1.Output },],
1300
+ 'noDataTextChange': [{ type: core_1.Output },],
1301
+ 'openedChange': [{ type: core_1.Output },],
1302
+ 'pageLoadingTextChange': [{ type: core_1.Output },],
1303
+ 'pageLoadModeChange': [{ type: core_1.Output },],
1304
+ 'pagingEnabledChange': [{ type: core_1.Output },],
1305
+ 'placeholderChange': [{ type: core_1.Output },],
1306
+ 'popupHeightChange': [{ type: core_1.Output },],
1307
+ 'popupWidthChange': [{ type: core_1.Output },],
1308
+ 'positionChange': [{ type: core_1.Output },],
1309
+ 'pulledDownTextChange': [{ type: core_1.Output },],
1310
+ 'pullingDownTextChange': [{ type: core_1.Output },],
1311
+ 'pullRefreshEnabledChange': [{ type: core_1.Output },],
1312
+ 'refreshingTextChange': [{ type: core_1.Output },],
1313
+ 'rtlEnabledChange': [{ type: core_1.Output },],
1314
+ 'searchEnabledChange': [{ type: core_1.Output },],
1315
+ 'searchExprChange': [{ type: core_1.Output },],
1316
+ 'searchModeChange': [{ type: core_1.Output },],
1317
+ 'searchPlaceholderChange': [{ type: core_1.Output },],
1318
+ 'searchTimeoutChange': [{ type: core_1.Output },],
1319
+ 'selectedItemChange': [{ type: core_1.Output },],
1320
+ 'shadingChange': [{ type: core_1.Output },],
1321
+ 'showCancelButtonChange': [{ type: core_1.Output },],
1322
+ 'showClearButtonChange': [{ type: core_1.Output },],
1323
+ 'showDataBeforeSearchChange': [{ type: core_1.Output },],
1324
+ 'showNextButtonChange': [{ type: core_1.Output },],
1325
+ 'showPopupTitleChange': [{ type: core_1.Output },],
1326
+ 'tabIndexChange': [{ type: core_1.Output },],
1327
+ 'textChange': [{ type: core_1.Output },],
1328
+ 'titleChange': [{ type: core_1.Output },],
1329
+ 'titleTemplateChange': [{ type: core_1.Output },],
1330
+ 'useNativeScrollingChange': [{ type: core_1.Output },],
1331
+ 'usePopoverChange': [{ type: core_1.Output },],
1332
+ 'validationErrorChange': [{ type: core_1.Output },],
1333
+ 'validationMessageModeChange': [{ type: core_1.Output },],
1334
+ 'valueChange': [{ type: core_1.Output },],
1335
+ 'valueChangeEventChange': [{ type: core_1.Output },],
1336
+ 'valueExprChange': [{ type: core_1.Output },],
1337
+ 'visibleChange': [{ type: core_1.Output },],
1338
+ 'widthChange': [{ type: core_1.Output },],
1339
+ 'onBlur': [{ type: core_1.Output },],
1340
+ 'change': [{ type: core_1.HostListener, args: ['valueChange', ['$event'],] },],
1341
+ 'touched': [{ type: core_1.HostListener, args: ['onBlur', ['$event'],] },],
1342
+ 'itemsChildren': [{ type: core_1.ContentChildren, args: [item_dxi_2.DxiItemComponent,] },],
1343
+ };
1344
+ return DxLookupComponent;
1345
+ }(component_1.DxComponent));
1346
+ exports.DxLookupComponent = DxLookupComponent;
1347
+ var DxLookupModule = (function () {
1348
+ function DxLookupModule() {
1349
+ }
1350
+ DxLookupModule.decorators = [
1351
+ { type: core_1.NgModule, args: [{
1352
+ imports: [
1353
+ animation_1.DxoAnimationModule,
1354
+ hide_1.DxoHideModule,
1355
+ show_1.DxoShowModule,
1356
+ item_dxi_1.DxiItemModule,
1357
+ position_1.DxoPositionModule,
1358
+ at_1.DxoAtModule,
1359
+ boundary_offset_1.DxoBoundaryOffsetModule,
1360
+ collision_1.DxoCollisionModule,
1361
+ my_1.DxoMyModule,
1362
+ offset_1.DxoOffsetModule,
1363
+ template_1.DxTemplateModule
1364
+ ],
1365
+ declarations: [
1366
+ DxLookupComponent
1367
+ ],
1368
+ exports: [
1369
+ DxLookupComponent,
1370
+ animation_1.DxoAnimationModule,
1371
+ hide_1.DxoHideModule,
1372
+ show_1.DxoShowModule,
1373
+ item_dxi_1.DxiItemModule,
1374
+ position_1.DxoPositionModule,
1375
+ at_1.DxoAtModule,
1376
+ boundary_offset_1.DxoBoundaryOffsetModule,
1377
+ collision_1.DxoCollisionModule,
1378
+ my_1.DxoMyModule,
1379
+ offset_1.DxoOffsetModule,
1380
+ template_1.DxTemplateModule
1381
+ ],
1382
+ },] },
1383
+ ];
1384
+ /** @nocollapse */
1385
+ DxLookupModule.ctorParameters = function () { return []; };
1386
+ return DxLookupModule;
1387
+ }());
1388
+ exports.DxLookupModule = DxLookupModule;
1389
1389
  //# sourceMappingURL=lookup.js.map