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