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