devextreme-angular 18.1.16 → 18.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +668 -668
- package/core/component.d.ts +65 -65
- package/core/component.js +220 -220
- package/core/component.js.map +1 -1
- package/core/events-strategy.d.ts +35 -35
- package/core/events-strategy.js +92 -92
- package/core/events-strategy.js.map +1 -1
- package/core/integration.d.ts +17 -17
- package/core/integration.js +95 -95
- package/core/integration.js.map +1 -1
- package/core/iterable-differ-helper.d.ts +26 -26
- package/core/iterable-differ-helper.js +73 -73
- package/core/iterable-differ-helper.js.map +1 -1
- package/core/nested-option.d.ts +74 -74
- package/core/nested-option.js +229 -229
- package/core/nested-option.js.map +1 -1
- package/core/template-host.d.ts +21 -21
- package/core/template-host.js +27 -27
- package/core/template-host.js.map +1 -1
- package/core/template.d.ts +33 -33
- package/core/template.js +113 -113
- package/core/template.js.map +1 -1
- package/core/transfer-state.d.ts +19 -19
- package/core/transfer-state.js +82 -82
- package/core/transfer-state.js.map +1 -1
- package/core/utils.d.ts +13 -13
- package/core/utils.js +19 -19
- package/core/utils.js.map +1 -1
- package/core/watcher-helper.d.ts +20 -20
- package/core/watcher-helper.js +85 -85
- package/core/watcher-helper.js.map +1 -1
- package/index.d.ts +93 -93
- package/index.js +110 -110
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/ui/accordion.d.ts +312 -312
- package/ui/accordion.js +601 -601
- package/ui/accordion.js.map +1 -1
- package/ui/action-sheet.d.ts +234 -234
- package/ui/action-sheet.js +451 -451
- package/ui/action-sheet.js.map +1 -1
- package/ui/all.d.ts +14 -14
- package/ui/all.js +242 -242
- package/ui/all.js.map +1 -1
- package/ui/autocomplete.d.ts +481 -481
- package/ui/autocomplete.js +903 -903
- package/ui/autocomplete.js.map +1 -1
- package/ui/bar-gauge.d.ts +446 -446
- package/ui/bar-gauge.js +593 -593
- package/ui/bar-gauge.js.map +1 -1
- package/ui/box.d.ts +204 -204
- package/ui/box.js +388 -388
- package/ui/box.js.map +1 -1
- package/ui/bullet.d.ts +281 -281
- package/ui/bullet.js +414 -414
- package/ui/bullet.js.map +1 -1
- package/ui/button.d.ts +194 -194
- package/ui/button.js +398 -398
- package/ui/button.js.map +1 -1
- package/ui/calendar.d.ts +290 -290
- package/ui/calendar.js +628 -628
- package/ui/calendar.js.map +1 -1
- package/ui/chart.d.ts +1738 -1738
- package/ui/chart.js +1233 -1233
- package/ui/chart.js.map +1 -1
- package/ui/check-box.d.ts +215 -215
- package/ui/check-box.js +458 -458
- package/ui/check-box.js.map +1 -1
- package/ui/circular-gauge.d.ts +536 -536
- package/ui/circular-gauge.js +573 -573
- package/ui/circular-gauge.js.map +1 -1
- package/ui/color-box.d.ts +359 -359
- package/ui/color-box.js +674 -674
- package/ui/color-box.js.map +1 -1
- package/ui/context-menu.d.ts +356 -356
- package/ui/context-menu.js +688 -688
- package/ui/context-menu.js.map +1 -1
- package/ui/data-grid.d.ts +1134 -1134
- package/ui/data-grid.js +1432 -1432
- package/ui/data-grid.js.map +1 -1
- package/ui/date-box.d.ts +507 -507
- package/ui/date-box.js +983 -983
- package/ui/date-box.js.map +1 -1
- package/ui/defer-rendering.d.ts +183 -183
- package/ui/defer-rendering.js +372 -372
- package/ui/defer-rendering.js.map +1 -1
- package/ui/drop-down-box.d.ts +413 -413
- package/ui/drop-down-box.js +817 -817
- package/ui/drop-down-box.js.map +1 -1
- package/ui/file-uploader.d.ts +346 -346
- package/ui/file-uploader.js +704 -704
- package/ui/file-uploader.js.map +1 -1
- package/ui/filter-builder.d.ts +261 -261
- package/ui/filter-builder.js +516 -516
- package/ui/filter-builder.js.map +1 -1
- package/ui/form.d.ts +330 -330
- package/ui/form.js +685 -685
- package/ui/form.js.map +1 -1
- package/ui/funnel.d.ts +626 -626
- package/ui/funnel.js +676 -676
- package/ui/funnel.js.map +1 -1
- package/ui/gallery.d.ts +314 -314
- package/ui/gallery.js +611 -611
- package/ui/gallery.js.map +1 -1
- package/ui/linear-gauge.d.ts +542 -542
- package/ui/linear-gauge.js +576 -576
- package/ui/linear-gauge.js.map +1 -1
- package/ui/list.d.ts +546 -546
- package/ui/list.js +1024 -1024
- package/ui/list.js.map +1 -1
- package/ui/load-indicator.d.ts +102 -102
- package/ui/load-indicator.js +220 -220
- package/ui/load-indicator.js.map +1 -1
- package/ui/load-panel.d.ts +261 -261
- package/ui/load-panel.js +527 -527
- package/ui/load-panel.js.map +1 -1
- package/ui/lookup.d.ts +659 -659
- package/ui/lookup.js +1317 -1317
- package/ui/lookup.js.map +1 -1
- package/ui/map.d.ts +309 -309
- package/ui/map.js +556 -556
- package/ui/map.js.map +1 -1
- package/ui/menu.d.ts +358 -358
- package/ui/menu.js +667 -667
- package/ui/menu.js.map +1 -1
- package/ui/multi-view.d.ts +270 -270
- package/ui/multi-view.js +531 -531
- package/ui/multi-view.js.map +1 -1
- package/ui/nav-bar.d.ts +276 -276
- package/ui/nav-bar.js +535 -535
- package/ui/nav-bar.js.map +1 -1
- package/ui/nested/adapter.d.ts +26 -26
- package/ui/nested/adapter.js +142 -142
- package/ui/nested/adapter.js.map +1 -1
- package/ui/nested/adaptive-layout.d.ts +23 -23
- package/ui/nested/adaptive-layout.js +109 -109
- package/ui/nested/adaptive-layout.js.map +1 -1
- package/ui/nested/aggregation-interval.d.ts +29 -29
- package/ui/nested/aggregation-interval.js +175 -175
- package/ui/nested/aggregation-interval.js.map +1 -1
- package/ui/nested/aggregation.d.ts +23 -23
- package/ui/nested/aggregation.js +109 -109
- package/ui/nested/aggregation.js.map +1 -1
- package/ui/nested/animation.d.ts +20 -20
- package/ui/nested/animation.js +90 -90
- package/ui/nested/animation.js.map +1 -1
- package/ui/nested/area-settings.d.ts +42 -42
- package/ui/nested/area-settings.js +263 -263
- package/ui/nested/area-settings.js.map +1 -1
- package/ui/nested/area.d.ts +20 -20
- package/ui/nested/area.js +137 -137
- package/ui/nested/area.js.map +1 -1
- package/ui/nested/argument-axis.d.ts +239 -239
- package/ui/nested/argument-axis.js +629 -629
- package/ui/nested/argument-axis.js.map +1 -1
- package/ui/nested/argument-format.d.ts +20 -20
- package/ui/nested/argument-format.js +81 -81
- package/ui/nested/argument-format.js.map +1 -1
- package/ui/nested/at.d.ts +22 -22
- package/ui/nested/at.js +98 -98
- package/ui/nested/at.js.map +1 -1
- package/ui/nested/background-image.d.ts +23 -23
- package/ui/nested/background-image.js +109 -109
- package/ui/nested/background-image.js.map +1 -1
- package/ui/nested/background.d.ts +27 -27
- package/ui/nested/background.js +120 -120
- package/ui/nested/background.js.map +1 -1
- package/ui/nested/bar.d.ts +20 -20
- package/ui/nested/bar.js +137 -137
- package/ui/nested/bar.js.map +1 -1
- package/ui/nested/base/animation-config.d.ts +30 -30
- package/ui/nested/base/animation-config.js +173 -173
- package/ui/nested/base/animation-config.js.map +1 -1
- package/ui/nested/base/box-options.d.ts +48 -48
- package/ui/nested/base/box-options.js +253 -253
- package/ui/nested/base/box-options.js.map +1 -1
- package/ui/nested/base/button-options.d.ts +38 -38
- package/ui/nested/base/button-options.js +263 -263
- package/ui/nested/base/button-options.js.map +1 -1
- package/ui/nested/base/calendar-options.d.ts +47 -47
- package/ui/nested/base/calendar-options.js +353 -353
- package/ui/nested/base/calendar-options.js.map +1 -1
- package/ui/nested/base/chart-common-series-settings.d.ts +323 -323
- package/ui/nested/base/chart-common-series-settings.js +703 -703
- package/ui/nested/base/chart-common-series-settings.js.map +1 -1
- package/ui/nested/base/chart-series-dxi.d.ts +302 -302
- package/ui/nested/base/chart-series-dxi.js +493 -493
- package/ui/nested/base/chart-series-dxi.js.map +1 -1
- package/ui/nested/base/context-menu-item-dxi.d.ts +108 -108
- package/ui/nested/base/context-menu-item-dxi.js +623 -623
- package/ui/nested/base/context-menu-item-dxi.js.map +1 -1
- package/ui/nested/base/data-grid-column-dxi.d.ts +90 -90
- package/ui/nested/base/data-grid-column-dxi.js +653 -653
- package/ui/nested/base/data-grid-column-dxi.js.map +1 -1
- package/ui/nested/base/filter-builder-custom-operation-dxi.d.ts +23 -23
- package/ui/nested/base/filter-builder-custom-operation-dxi.js +113 -113
- package/ui/nested/base/filter-builder-custom-operation-dxi.js.map +1 -1
- package/ui/nested/base/filter-builder-field-dxi.d.ts +71 -71
- package/ui/nested/base/filter-builder-field-dxi.js +493 -493
- package/ui/nested/base/filter-builder-field-dxi.js.map +1 -1
- package/ui/nested/base/filter-builder-options.d.ts +59 -59
- package/ui/nested/base/filter-builder-options.js +273 -273
- package/ui/nested/base/filter-builder-options.js.map +1 -1
- package/ui/nested/base/form-options.d.ts +59 -59
- package/ui/nested/base/form-options.js +413 -413
- package/ui/nested/base/form-options.js.map +1 -1
- package/ui/nested/base/form-simple-item.d.ts +36 -36
- package/ui/nested/base/form-simple-item.js +173 -173
- package/ui/nested/base/form-simple-item.js.map +1 -1
- package/ui/nested/base/format.d.ts +20 -20
- package/ui/nested/base/format.js +83 -83
- package/ui/nested/base/format.js.map +1 -1
- package/ui/nested/base/gauge-indicator.d.ts +41 -41
- package/ui/nested/base/gauge-indicator.js +223 -223
- package/ui/nested/base/gauge-indicator.js.map +1 -1
- package/ui/nested/base/pivot-grid-data-source.d.ts +71 -71
- package/ui/nested/base/pivot-grid-data-source.js +123 -123
- package/ui/nested/base/pivot-grid-data-source.js.map +1 -1
- package/ui/nested/base/popup-options.d.ts +73 -73
- package/ui/nested/base/popup-options.js +473 -473
- package/ui/nested/base/popup-options.js.map +1 -1
- package/ui/nested/base/position-config.d.ts +37 -37
- package/ui/nested/base/position-config.js +103 -103
- package/ui/nested/base/position-config.js.map +1 -1
- package/ui/nested/base/tab-panel-options.d.ts +64 -64
- package/ui/nested/base/tab-panel-options.js +423 -423
- package/ui/nested/base/tab-panel-options.js.map +1 -1
- package/ui/nested/base/text-box-options.d.ts +63 -63
- package/ui/nested/base/text-box-options.js +513 -513
- package/ui/nested/base/text-box-options.js.map +1 -1
- package/ui/nested/base/viz-font.d.ts +20 -20
- package/ui/nested/base/viz-font.js +83 -83
- package/ui/nested/base/viz-font.js.map +1 -1
- package/ui/nested/base/viz-scale-break-dxi.d.ts +17 -17
- package/ui/nested/base/viz-scale-break-dxi.js +53 -53
- package/ui/nested/base/viz-scale-break-dxi.js.map +1 -1
- package/ui/nested/behavior.d.ts +27 -27
- package/ui/nested/behavior.js +153 -153
- package/ui/nested/behavior.js.map +1 -1
- package/ui/nested/border.d.ts +30 -30
- package/ui/nested/border.js +186 -186
- package/ui/nested/border.js.map +1 -1
- package/ui/nested/boundary-offset.d.ts +22 -22
- package/ui/nested/boundary-offset.js +98 -98
- package/ui/nested/boundary-offset.js.map +1 -1
- package/ui/nested/box.d.ts +38 -38
- package/ui/nested/box.js +116 -116
- package/ui/nested/box.js.map +1 -1
- package/ui/nested/break-dxi.d.ts +20 -20
- package/ui/nested/break-dxi.js +78 -78
- package/ui/nested/break-dxi.js.map +1 -1
- package/ui/nested/break-style.d.ts +23 -23
- package/ui/nested/break-style.js +109 -109
- package/ui/nested/break-style.js.map +1 -1
- package/ui/nested/bubble.d.ts +20 -20
- package/ui/nested/bubble.js +136 -136
- package/ui/nested/bubble.js.map +1 -1
- package/ui/nested/button-options.d.ts +20 -20
- package/ui/nested/button-options.js +99 -99
- package/ui/nested/button-options.js.map +1 -1
- package/ui/nested/calendar-options.d.ts +29 -29
- package/ui/nested/calendar-options.js +116 -116
- package/ui/nested/calendar-options.js.map +1 -1
- package/ui/nested/candlestick.d.ts +20 -20
- package/ui/nested/candlestick.js +136 -136
- package/ui/nested/candlestick.js.map +1 -1
- package/ui/nested/center-dxi.d.ts +22 -22
- package/ui/nested/center-dxi.js +98 -98
- package/ui/nested/center-dxi.js.map +1 -1
- package/ui/nested/chart.d.ts +52 -52
- package/ui/nested/chart.js +253 -253
- package/ui/nested/chart.js.map +1 -1
- package/ui/nested/col-count-by-screen.d.ts +24 -24
- package/ui/nested/col-count-by-screen.js +120 -120
- package/ui/nested/col-count-by-screen.js.map +1 -1
- package/ui/nested/col-dxi.d.ts +24 -24
- package/ui/nested/col-dxi.js +120 -120
- package/ui/nested/col-dxi.js.map +1 -1
- package/ui/nested/collision.d.ts +22 -22
- package/ui/nested/collision.js +98 -98
- package/ui/nested/collision.js.map +1 -1
- package/ui/nested/colorizer.d.ts +26 -26
- package/ui/nested/colorizer.js +142 -142
- package/ui/nested/colorizer.js.map +1 -1
- package/ui/nested/column-chooser.d.ts +28 -28
- package/ui/nested/column-chooser.js +164 -164
- package/ui/nested/column-chooser.js.map +1 -1
- package/ui/nested/column-dxi.d.ts +56 -56
- package/ui/nested/column-dxi.js +181 -181
- package/ui/nested/column-dxi.js.map +1 -1
- package/ui/nested/column-fixing.d.ts +27 -27
- package/ui/nested/column-fixing.js +98 -98
- package/ui/nested/column-fixing.js.map +1 -1
- package/ui/nested/common-axis-settings.d.ts +121 -121
- package/ui/nested/common-axis-settings.js +318 -318
- package/ui/nested/common-axis-settings.js.map +1 -1
- package/ui/nested/common-pane-settings.d.ts +32 -32
- package/ui/nested/common-pane-settings.js +98 -98
- package/ui/nested/common-pane-settings.js.map +1 -1
- package/ui/nested/common-series-settings.d.ts +20 -20
- package/ui/nested/common-series-settings.js +143 -143
- package/ui/nested/common-series-settings.js.map +1 -1
- package/ui/nested/connector.d.ts +24 -24
- package/ui/nested/connector.js +120 -120
- package/ui/nested/connector.js.map +1 -1
- package/ui/nested/constant-line-dxi.d.ts +39 -39
- package/ui/nested/constant-line-dxi.js +153 -153
- package/ui/nested/constant-line-dxi.js.map +1 -1
- package/ui/nested/constant-line-style.d.ts +40 -40
- package/ui/nested/constant-line-style.js +142 -142
- package/ui/nested/constant-line-style.js.map +1 -1
- package/ui/nested/control-bar.d.ts +27 -27
- package/ui/nested/control-bar.js +153 -153
- package/ui/nested/control-bar.js.map +1 -1
- package/ui/nested/crosshair.d.ts +64 -64
- package/ui/nested/crosshair.js +164 -164
- package/ui/nested/crosshair.js.map +1 -1
- package/ui/nested/custom-operation-dxi.d.ts +20 -20
- package/ui/nested/custom-operation-dxi.js +84 -84
- package/ui/nested/custom-operation-dxi.js.map +1 -1
- package/ui/nested/data-prepare-settings.d.ts +23 -23
- package/ui/nested/data-prepare-settings.js +109 -109
- package/ui/nested/data-prepare-settings.js.map +1 -1
- package/ui/nested/data-source.d.ts +23 -23
- package/ui/nested/data-source.js +104 -104
- package/ui/nested/data-source.js.map +1 -1
- package/ui/nested/delay.d.ts +22 -22
- package/ui/nested/delay.js +98 -98
- package/ui/nested/delay.js.map +1 -1
- package/ui/nested/display-format.d.ts +20 -20
- package/ui/nested/display-format.js +81 -81
- package/ui/nested/display-format.js.map +1 -1
- package/ui/nested/drop-down-options.d.ts +40 -40
- package/ui/nested/drop-down-options.js +144 -144
- package/ui/nested/drop-down-options.js.map +1 -1
- package/ui/nested/editing.d.ts +56 -56
- package/ui/nested/editing.js +187 -187
- package/ui/nested/editing.js.map +1 -1
- package/ui/nested/export.d.ts +36 -36
- package/ui/nested/export.js +208 -208
- package/ui/nested/export.js.map +1 -1
- package/ui/nested/field-chooser.d.ts +35 -35
- package/ui/nested/field-chooser.js +175 -175
- package/ui/nested/field-chooser.js.map +1 -1
- package/ui/nested/field-dxi.d.ts +20 -20
- package/ui/nested/field-dxi.js +122 -122
- package/ui/nested/field-dxi.js.map +1 -1
- package/ui/nested/field-panel.d.ts +32 -32
- package/ui/nested/field-panel.js +153 -153
- package/ui/nested/field-panel.js.map +1 -1
- package/ui/nested/filter-builder-popup.d.ts +40 -40
- package/ui/nested/filter-builder-popup.js +144 -144
- package/ui/nested/filter-builder-popup.js.map +1 -1
- package/ui/nested/filter-builder.d.ts +29 -29
- package/ui/nested/filter-builder.js +130 -130
- package/ui/nested/filter-builder.js.map +1 -1
- package/ui/nested/filter-operation-descriptions.d.ts +33 -33
- package/ui/nested/filter-operation-descriptions.js +219 -219
- package/ui/nested/filter-operation-descriptions.js.map +1 -1
- package/ui/nested/filter-panel.d.ts +33 -33
- package/ui/nested/filter-panel.js +124 -124
- package/ui/nested/filter-panel.js.map +1 -1
- package/ui/nested/filter-row.d.ts +41 -41
- package/ui/nested/filter-row.js +175 -175
- package/ui/nested/filter-row.js.map +1 -1
- package/ui/nested/font.d.ts +20 -20
- package/ui/nested/font.js +81 -81
- package/ui/nested/font.js.map +1 -1
- package/ui/nested/form-item.d.ts +23 -23
- package/ui/nested/form-item.js +104 -104
- package/ui/nested/form-item.js.map +1 -1
- package/ui/nested/form.d.ts +27 -27
- package/ui/nested/form.js +132 -132
- package/ui/nested/form.js.map +1 -1
- package/ui/nested/format.d.ts +20 -20
- package/ui/nested/format.js +81 -81
- package/ui/nested/format.js.map +1 -1
- package/ui/nested/fullstackedarea.d.ts +20 -20
- package/ui/nested/fullstackedarea.js +136 -136
- package/ui/nested/fullstackedarea.js.map +1 -1
- package/ui/nested/fullstackedbar.d.ts +20 -20
- package/ui/nested/fullstackedbar.js +136 -136
- package/ui/nested/fullstackedbar.js.map +1 -1
- package/ui/nested/fullstackedline.d.ts +20 -20
- package/ui/nested/fullstackedline.js +136 -136
- package/ui/nested/fullstackedline.js.map +1 -1
- package/ui/nested/fullstackedspline.d.ts +20 -20
- package/ui/nested/fullstackedspline.js +136 -136
- package/ui/nested/fullstackedspline.js.map +1 -1
- package/ui/nested/fullstackedsplinearea.d.ts +20 -20
- package/ui/nested/fullstackedsplinearea.js +136 -136
- package/ui/nested/fullstackedsplinearea.js.map +1 -1
- package/ui/nested/geometry.d.ts +23 -23
- package/ui/nested/geometry.js +109 -109
- package/ui/nested/geometry.js.map +1 -1
- package/ui/nested/grid.d.ts +24 -24
- package/ui/nested/grid.js +120 -120
- package/ui/nested/grid.js.map +1 -1
- package/ui/nested/group-item-dxi.d.ts +32 -32
- package/ui/nested/group-item-dxi.js +197 -197
- package/ui/nested/group-item-dxi.js.map +1 -1
- package/ui/nested/group-operation-descriptions.d.ts +24 -24
- package/ui/nested/group-operation-descriptions.js +120 -120
- package/ui/nested/group-operation-descriptions.js.map +1 -1
- package/ui/nested/group-panel.d.ts +23 -23
- package/ui/nested/group-panel.js +109 -109
- package/ui/nested/group-panel.js.map +1 -1
- package/ui/nested/group.d.ts +46 -46
- package/ui/nested/group.js +153 -153
- package/ui/nested/group.js.map +1 -1
- package/ui/nested/grouping.d.ts +31 -31
- package/ui/nested/grouping.js +131 -131
- package/ui/nested/grouping.js.map +1 -1
- package/ui/nested/hatching.d.ts +24 -24
- package/ui/nested/hatching.js +120 -120
- package/ui/nested/hatching.js.map +1 -1
- package/ui/nested/header-filter.d.ts +34 -34
- package/ui/nested/header-filter.js +175 -175
- package/ui/nested/header-filter.js.map +1 -1
- package/ui/nested/height.d.ts +22 -22
- package/ui/nested/height.js +98 -98
- package/ui/nested/height.js.map +1 -1
- package/ui/nested/hide-event.d.ts +22 -22
- package/ui/nested/hide-event.js +98 -98
- package/ui/nested/hide-event.js.map +1 -1
- package/ui/nested/hide.d.ts +20 -20
- package/ui/nested/hide.js +86 -86
- package/ui/nested/hide.js.map +1 -1
- package/ui/nested/horizontal-line.d.ts +34 -34
- package/ui/nested/horizontal-line.js +142 -142
- package/ui/nested/horizontal-line.js.map +1 -1
- package/ui/nested/hover-style.d.ts +43 -43
- package/ui/nested/hover-style.js +142 -142
- package/ui/nested/hover-style.js.map +1 -1
- package/ui/nested/image.d.ts +33 -33
- package/ui/nested/image.js +120 -120
- package/ui/nested/image.js.map +1 -1
- package/ui/nested/indent.d.ts +22 -22
- package/ui/nested/indent.js +98 -98
- package/ui/nested/indent.js.map +1 -1
- package/ui/nested/item-dxi.d.ts +35 -35
- package/ui/nested/item-dxi.js +200 -200
- package/ui/nested/item-dxi.js.map +1 -1
- package/ui/nested/item.d.ts +51 -51
- package/ui/nested/item.js +109 -109
- package/ui/nested/item.js.map +1 -1
- package/ui/nested/key.d.ts +23 -23
- package/ui/nested/key.js +109 -109
- package/ui/nested/key.js.map +1 -1
- package/ui/nested/label.d.ts +79 -79
- package/ui/nested/label.js +484 -484
- package/ui/nested/label.js.map +1 -1
- package/ui/nested/layer-dxi.d.ts +54 -54
- package/ui/nested/layer-dxi.js +395 -395
- package/ui/nested/layer-dxi.js.map +1 -1
- package/ui/nested/legend-dxi.d.ts +58 -58
- package/ui/nested/legend-dxi.js +319 -319
- package/ui/nested/legend-dxi.js.map +1 -1
- package/ui/nested/legend.d.ts +54 -54
- package/ui/nested/legend.js +308 -308
- package/ui/nested/legend.js.map +1 -1
- package/ui/nested/line.d.ts +20 -20
- package/ui/nested/line.js +137 -137
- package/ui/nested/line.js.map +1 -1
- package/ui/nested/load-panel.d.ts +29 -29
- package/ui/nested/load-panel.js +175 -175
- package/ui/nested/load-panel.js.map +1 -1
- package/ui/nested/loading-indicator.d.ts +30 -30
- package/ui/nested/loading-indicator.js +125 -125
- package/ui/nested/loading-indicator.js.map +1 -1
- package/ui/nested/location-dxi.d.ts +27 -27
- package/ui/nested/location-dxi.js +153 -153
- package/ui/nested/location-dxi.js.map +1 -1
- package/ui/nested/lookup.d.ts +25 -25
- package/ui/nested/lookup.js +120 -120
- package/ui/nested/lookup.js.map +1 -1
- package/ui/nested/major-tick-interval.d.ts +27 -27
- package/ui/nested/major-tick-interval.js +153 -153
- package/ui/nested/major-tick-interval.js.map +1 -1
- package/ui/nested/major-tick.d.ts +28 -28
- package/ui/nested/major-tick.js +164 -164
- package/ui/nested/major-tick.js.map +1 -1
- package/ui/nested/margin.d.ts +24 -24
- package/ui/nested/margin.js +120 -120
- package/ui/nested/margin.js.map +1 -1
- package/ui/nested/marker-dxi.d.ts +39 -39
- package/ui/nested/marker-dxi.js +198 -198
- package/ui/nested/marker-dxi.js.map +1 -1
- package/ui/nested/marker-settings.d.ts +47 -47
- package/ui/nested/marker-settings.js +329 -329
- package/ui/nested/marker-settings.js.map +1 -1
- package/ui/nested/marker.d.ts +30 -30
- package/ui/nested/marker.js +142 -142
- package/ui/nested/marker.js.map +1 -1
- package/ui/nested/master-detail.d.ts +31 -31
- package/ui/nested/master-detail.js +125 -125
- package/ui/nested/master-detail.js.map +1 -1
- package/ui/nested/max-range.d.ts +29 -29
- package/ui/nested/max-range.js +175 -175
- package/ui/nested/max-range.js.map +1 -1
- package/ui/nested/menu-item-dxi.d.ts +22 -22
- package/ui/nested/menu-item-dxi.js +98 -98
- package/ui/nested/menu-item-dxi.js.map +1 -1
- package/ui/nested/min-range.d.ts +29 -29
- package/ui/nested/min-range.js +175 -175
- package/ui/nested/min-range.js.map +1 -1
- package/ui/nested/minor-grid.d.ts +24 -24
- package/ui/nested/minor-grid.js +120 -120
- package/ui/nested/minor-grid.js.map +1 -1
- package/ui/nested/minor-tick-interval.d.ts +29 -29
- package/ui/nested/minor-tick-interval.js +175 -175
- package/ui/nested/minor-tick-interval.js.map +1 -1
- package/ui/nested/minor-tick.d.ts +28 -28
- package/ui/nested/minor-tick.js +164 -164
- package/ui/nested/minor-tick.js.map +1 -1
- package/ui/nested/my.d.ts +22 -22
- package/ui/nested/my.js +98 -98
- package/ui/nested/my.js.map +1 -1
- package/ui/nested/offset.d.ts +22 -22
- package/ui/nested/offset.js +98 -98
- package/ui/nested/offset.js.map +1 -1
- package/ui/nested/operation-descriptions.d.ts +31 -31
- package/ui/nested/operation-descriptions.js +197 -197
- package/ui/nested/operation-descriptions.js.map +1 -1
- package/ui/nested/overlapping-behavior.d.ts +25 -25
- package/ui/nested/overlapping-behavior.js +131 -131
- package/ui/nested/overlapping-behavior.js.map +1 -1
- package/ui/nested/pager.d.ts +26 -26
- package/ui/nested/pager.js +142 -142
- package/ui/nested/pager.js.map +1 -1
- package/ui/nested/paging.d.ts +32 -32
- package/ui/nested/paging.js +115 -115
- package/ui/nested/paging.js.map +1 -1
- package/ui/nested/pane-dxi.d.ts +33 -33
- package/ui/nested/pane-dxi.js +109 -109
- package/ui/nested/pane-dxi.js.map +1 -1
- package/ui/nested/placeholder-size.d.ts +25 -25
- package/ui/nested/placeholder-size.js +98 -98
- package/ui/nested/placeholder-size.js.map +1 -1
- package/ui/nested/point.d.ts +67 -67
- package/ui/nested/point.js +186 -186
- package/ui/nested/point.js.map +1 -1
- package/ui/nested/popup.d.ts +40 -40
- package/ui/nested/popup.js +144 -144
- package/ui/nested/popup.js.map +1 -1
- package/ui/nested/position.d.ts +20 -20
- package/ui/nested/position.js +83 -83
- package/ui/nested/position.js.map +1 -1
- package/ui/nested/range-container.d.ts +39 -39
- package/ui/nested/range-container.js +187 -187
- package/ui/nested/range-container.js.map +1 -1
- package/ui/nested/range-dxi.d.ts +23 -23
- package/ui/nested/range-dxi.js +109 -109
- package/ui/nested/range-dxi.js.map +1 -1
- package/ui/nested/rangearea.d.ts +20 -20
- package/ui/nested/rangearea.js +136 -136
- package/ui/nested/rangearea.js.map +1 -1
- package/ui/nested/rangebar.d.ts +20 -20
- package/ui/nested/rangebar.js +136 -136
- package/ui/nested/rangebar.js.map +1 -1
- package/ui/nested/reduction.d.ts +22 -22
- package/ui/nested/reduction.js +98 -98
- package/ui/nested/reduction.js.map +1 -1
- package/ui/nested/remote-operations.d.ts +26 -26
- package/ui/nested/remote-operations.js +142 -142
- package/ui/nested/remote-operations.js.map +1 -1
- package/ui/nested/resource-dxi.d.ts +29 -29
- package/ui/nested/resource-dxi.js +164 -164
- package/ui/nested/resource-dxi.js.map +1 -1
- package/ui/nested/route-dxi.d.ts +31 -31
- package/ui/nested/route-dxi.js +143 -143
- package/ui/nested/route-dxi.js.map +1 -1
- package/ui/nested/row-dxi.d.ts +24 -24
- package/ui/nested/row-dxi.js +120 -120
- package/ui/nested/row-dxi.js.map +1 -1
- package/ui/nested/scale.d.ts +203 -203
- package/ui/nested/scale.js +539 -539
- package/ui/nested/scale.js.map +1 -1
- package/ui/nested/scatter.d.ts +20 -20
- package/ui/nested/scatter.js +137 -137
- package/ui/nested/scatter.js.map +1 -1
- package/ui/nested/scroll-bar.d.ts +26 -26
- package/ui/nested/scroll-bar.js +142 -142
- package/ui/nested/scroll-bar.js.map +1 -1
- package/ui/nested/scrolling.d.ts +28 -28
- package/ui/nested/scrolling.js +164 -164
- package/ui/nested/scrolling.js.map +1 -1
- package/ui/nested/search-editor-options.d.ts +29 -29
- package/ui/nested/search-editor-options.js +132 -132
- package/ui/nested/search-editor-options.js.map +1 -1
- package/ui/nested/search-panel.d.ts +32 -32
- package/ui/nested/search-panel.js +157 -157
- package/ui/nested/search-panel.js.map +1 -1
- package/ui/nested/selected-range.d.ts +22 -22
- package/ui/nested/selected-range.js +98 -98
- package/ui/nested/selected-range.js.map +1 -1
- package/ui/nested/selection-style.d.ts +43 -43
- package/ui/nested/selection-style.js +142 -142
- package/ui/nested/selection-style.js.map +1 -1
- package/ui/nested/selection.d.ts +26 -26
- package/ui/nested/selection.js +142 -142
- package/ui/nested/selection.js.map +1 -1
- package/ui/nested/series-dxi.d.ts +20 -20
- package/ui/nested/series-dxi.js +122 -122
- package/ui/nested/series-dxi.js.map +1 -1
- package/ui/nested/series-template.d.ts +22 -22
- package/ui/nested/series-template.js +98 -98
- package/ui/nested/series-template.js.map +1 -1
- package/ui/nested/shadow.d.ts +25 -25
- package/ui/nested/shadow.js +131 -131
- package/ui/nested/shadow.js.map +1 -1
- package/ui/nested/show-event.d.ts +22 -22
- package/ui/nested/show-event.js +98 -98
- package/ui/nested/show-event.js.map +1 -1
- package/ui/nested/show-first-submenu-mode.d.ts +25 -25
- package/ui/nested/show-first-submenu-mode.js +98 -98
- package/ui/nested/show-first-submenu-mode.js.map +1 -1
- package/ui/nested/show-submenu-mode.d.ts +25 -25
- package/ui/nested/show-submenu-mode.js +98 -98
- package/ui/nested/show-submenu-mode.js.map +1 -1
- package/ui/nested/show.d.ts +20 -20
- package/ui/nested/show.js +86 -86
- package/ui/nested/show.js.map +1 -1
- package/ui/nested/shutter.d.ts +22 -22
- package/ui/nested/shutter.js +98 -98
- package/ui/nested/shutter.js.map +1 -1
- package/ui/nested/size.d.ts +22 -22
- package/ui/nested/size.js +98 -98
- package/ui/nested/size.js.map +1 -1
- package/ui/nested/slider-handle.d.ts +23 -23
- package/ui/nested/slider-handle.js +109 -109
- package/ui/nested/slider-handle.js.map +1 -1
- package/ui/nested/slider-marker.d.ts +39 -39
- package/ui/nested/slider-marker.js +209 -209
- package/ui/nested/slider-marker.js.map +1 -1
- package/ui/nested/small-values-grouping.d.ts +24 -24
- package/ui/nested/small-values-grouping.js +120 -120
- package/ui/nested/small-values-grouping.js.map +1 -1
- package/ui/nested/sort-by-group-summary-info-dxi.d.ts +23 -23
- package/ui/nested/sort-by-group-summary-info-dxi.js +109 -109
- package/ui/nested/sort-by-group-summary-info-dxi.js.map +1 -1
- package/ui/nested/sorting.d.ts +24 -24
- package/ui/nested/sorting.js +120 -120
- package/ui/nested/sorting.js.map +1 -1
- package/ui/nested/source.d.ts +22 -22
- package/ui/nested/source.js +98 -98
- package/ui/nested/source.js.map +1 -1
- package/ui/nested/spline.d.ts +20 -20
- package/ui/nested/spline.js +136 -136
- package/ui/nested/spline.js.map +1 -1
- package/ui/nested/splinearea.d.ts +20 -20
- package/ui/nested/splinearea.js +136 -136
- package/ui/nested/splinearea.js.map +1 -1
- package/ui/nested/stackedarea.d.ts +20 -20
- package/ui/nested/stackedarea.js +136 -136
- package/ui/nested/stackedarea.js.map +1 -1
- package/ui/nested/stackedbar.d.ts +20 -20
- package/ui/nested/stackedbar.js +137 -137
- package/ui/nested/stackedbar.js.map +1 -1
- package/ui/nested/stackedline.d.ts +20 -20
- package/ui/nested/stackedline.js +136 -136
- package/ui/nested/stackedline.js.map +1 -1
- package/ui/nested/stackedspline.d.ts +20 -20
- package/ui/nested/stackedspline.js +136 -136
- package/ui/nested/stackedspline.js.map +1 -1
- package/ui/nested/stackedsplinearea.d.ts +20 -20
- package/ui/nested/stackedsplinearea.js +136 -136
- package/ui/nested/stackedsplinearea.js.map +1 -1
- package/ui/nested/state-storing.d.ts +26 -26
- package/ui/nested/state-storing.js +142 -142
- package/ui/nested/state-storing.js.map +1 -1
- package/ui/nested/steparea.d.ts +20 -20
- package/ui/nested/steparea.js +136 -136
- package/ui/nested/steparea.js.map +1 -1
- package/ui/nested/stepline.d.ts +20 -20
- package/ui/nested/stepline.js +136 -136
- package/ui/nested/stepline.js.map +1 -1
- package/ui/nested/stock.d.ts +20 -20
- package/ui/nested/stock.js +136 -136
- package/ui/nested/stock.js.map +1 -1
- package/ui/nested/store.d.ts +21 -21
- package/ui/nested/store.js +87 -87
- package/ui/nested/store.js.map +1 -1
- package/ui/nested/strip-dxi.d.ts +35 -35
- package/ui/nested/strip-dxi.js +142 -142
- package/ui/nested/strip-dxi.js.map +1 -1
- package/ui/nested/strip-style.d.ts +30 -30
- package/ui/nested/strip-style.js +109 -109
- package/ui/nested/strip-style.js.map +1 -1
- package/ui/nested/subtitle.d.ts +23 -23
- package/ui/nested/subtitle.js +99 -99
- package/ui/nested/subtitle.js.map +1 -1
- package/ui/nested/subvalue-indicator.d.ts +20 -20
- package/ui/nested/subvalue-indicator.js +95 -95
- package/ui/nested/subvalue-indicator.js.map +1 -1
- package/ui/nested/summary.d.ts +65 -65
- package/ui/nested/summary.js +155 -155
- package/ui/nested/summary.js.map +1 -1
- package/ui/nested/tab-dxi.d.ts +46 -46
- package/ui/nested/tab-dxi.js +214 -214
- package/ui/nested/tab-dxi.js.map +1 -1
- package/ui/nested/tab-panel-options.d.ts +44 -44
- package/ui/nested/tab-panel-options.js +137 -137
- package/ui/nested/tab-panel-options.js.map +1 -1
- package/ui/nested/text.d.ts +26 -26
- package/ui/nested/text.js +132 -132
- package/ui/nested/text.js.map +1 -1
- package/ui/nested/texts.d.ts +79 -79
- package/ui/nested/texts.js +725 -725
- package/ui/nested/texts.js.map +1 -1
- package/ui/nested/tick-interval.d.ts +29 -29
- package/ui/nested/tick-interval.js +175 -175
- package/ui/nested/tick-interval.js.map +1 -1
- package/ui/nested/tick.d.ts +25 -25
- package/ui/nested/tick.js +131 -131
- package/ui/nested/tick.js.map +1 -1
- package/ui/nested/tile.d.ts +44 -44
- package/ui/nested/tile.js +131 -131
- package/ui/nested/tile.js.map +1 -1
- package/ui/nested/title.d.ts +37 -37
- package/ui/nested/title.js +165 -165
- package/ui/nested/title.js.map +1 -1
- package/ui/nested/toolbar-item-dxi.d.ts +37 -37
- package/ui/nested/toolbar-item-dxi.js +191 -191
- package/ui/nested/toolbar-item-dxi.js.map +1 -1
- package/ui/nested/tooltip.d.ts +58 -58
- package/ui/nested/tooltip.js +352 -352
- package/ui/nested/tooltip.js.map +1 -1
- package/ui/nested/total-item-dxi.d.ts +32 -32
- package/ui/nested/total-item-dxi.js +197 -197
- package/ui/nested/total-item-dxi.js.map +1 -1
- package/ui/nested/url.d.ts +22 -22
- package/ui/nested/url.js +98 -98
- package/ui/nested/url.js.map +1 -1
- package/ui/nested/validation-rule-dxi.d.ts +30 -30
- package/ui/nested/validation-rule-dxi.js +186 -186
- package/ui/nested/validation-rule-dxi.js.map +1 -1
- package/ui/nested/value-axis-dxi.d.ts +186 -186
- package/ui/nested/value-axis-dxi.js +585 -585
- package/ui/nested/value-axis-dxi.js.map +1 -1
- package/ui/nested/value-axis.d.ts +139 -139
- package/ui/nested/value-axis.js +452 -452
- package/ui/nested/value-axis.js.map +1 -1
- package/ui/nested/value-error-bar.d.ts +29 -29
- package/ui/nested/value-error-bar.js +175 -175
- package/ui/nested/value-error-bar.js.map +1 -1
- package/ui/nested/value-format.d.ts +20 -20
- package/ui/nested/value-format.js +81 -81
- package/ui/nested/value-format.js.map +1 -1
- package/ui/nested/value-indicator.d.ts +20 -20
- package/ui/nested/value-indicator.js +95 -95
- package/ui/nested/value-indicator.js.map +1 -1
- package/ui/nested/vertical-line.d.ts +34 -34
- package/ui/nested/vertical-line.js +142 -142
- package/ui/nested/vertical-line.js.map +1 -1
- package/ui/nested/view-dxi.d.ts +39 -39
- package/ui/nested/view-dxi.js +285 -285
- package/ui/nested/view-dxi.js.map +1 -1
- package/ui/nested/width.d.ts +26 -26
- package/ui/nested/width.js +142 -142
- package/ui/nested/width.js.map +1 -1
- package/ui/number-box.d.ts +356 -356
- package/ui/number-box.js +675 -675
- package/ui/number-box.js.map +1 -1
- package/ui/panorama.d.ts +240 -240
- package/ui/panorama.js +454 -454
- package/ui/panorama.js.map +1 -1
- package/ui/pie-chart.d.ts +580 -580
- package/ui/pie-chart.js +759 -759
- package/ui/pie-chart.js.map +1 -1
- package/ui/pivot-grid-field-chooser.d.ts +250 -250
- package/ui/pivot-grid-field-chooser.js +465 -465
- package/ui/pivot-grid-field-chooser.js.map +1 -1
- package/ui/pivot-grid.d.ts +474 -474
- package/ui/pivot-grid.js +680 -680
- package/ui/pivot-grid.js.map +1 -1
- package/ui/pivot.d.ts +234 -234
- package/ui/pivot.js +451 -451
- package/ui/pivot.js.map +1 -1
- package/ui/polar-chart.d.ts +1208 -1208
- package/ui/polar-chart.js +910 -910
- package/ui/polar-chart.js.map +1 -1
- package/ui/popover.d.ts +346 -346
- package/ui/popover.js +658 -658
- package/ui/popover.js.map +1 -1
- package/ui/popup.d.ts +370 -370
- package/ui/popup.js +706 -706
- package/ui/popup.js.map +1 -1
- package/ui/progress-bar.d.ts +203 -203
- package/ui/progress-bar.js +428 -428
- package/ui/progress-bar.js.map +1 -1
- package/ui/radio-group.d.ts +277 -277
- package/ui/radio-group.js +583 -583
- package/ui/radio-group.js.map +1 -1
- package/ui/range-selector.d.ts +760 -760
- package/ui/range-selector.js +808 -808
- package/ui/range-selector.js.map +1 -1
- package/ui/range-slider.d.ts +313 -313
- package/ui/range-slider.js +639 -639
- package/ui/range-slider.js.map +1 -1
- package/ui/resizable.d.ts +126 -126
- package/ui/resizable.js +256 -256
- package/ui/resizable.js.map +1 -1
- package/ui/responsive-box.d.ts +242 -242
- package/ui/responsive-box.js +438 -438
- package/ui/responsive-box.js.map +1 -1
- package/ui/scheduler.d.ts +604 -604
- package/ui/scheduler.js +1051 -1051
- package/ui/scheduler.js.map +1 -1
- package/ui/scroll-view.d.ts +178 -178
- package/ui/scroll-view.js +354 -354
- package/ui/scroll-view.js.map +1 -1
- package/ui/select-box.d.ts +533 -533
- package/ui/select-box.js +1001 -1001
- package/ui/select-box.js.map +1 -1
- package/ui/slide-out-view.d.ts +154 -154
- package/ui/slide-out-view.js +330 -330
- package/ui/slide-out-view.js.map +1 -1
- package/ui/slide-out.d.ts +282 -282
- package/ui/slide-out.js +535 -535
- package/ui/slide-out.js.map +1 -1
- package/ui/slider.d.ts +282 -282
- package/ui/slider.js +563 -563
- package/ui/slider.js.map +1 -1
- package/ui/sparkline.d.ts +392 -392
- package/ui/sparkline.js +650 -650
- package/ui/sparkline.js.map +1 -1
- package/ui/switch.d.ts +223 -223
- package/ui/switch.js +474 -474
- package/ui/switch.js.map +1 -1
- package/ui/tab-panel.d.ts +322 -322
- package/ui/tab-panel.js +601 -601
- package/ui/tab-panel.js.map +1 -1
- package/ui/tabs.d.ts +292 -292
- package/ui/tabs.js +567 -567
- package/ui/tabs.js.map +1 -1
- package/ui/tag-box.d.ts +553 -553
- package/ui/tag-box.js +1051 -1051
- package/ui/tag-box.js.map +1 -1
- package/ui/text-area.d.ts +323 -323
- package/ui/text-area.js +608 -608
- package/ui/text-area.js.map +1 -1
- package/ui/text-box.d.ts +363 -363
- package/ui/text-box.js +688 -688
- package/ui/text-box.js.map +1 -1
- package/ui/tile-view.d.ts +264 -264
- package/ui/tile-view.js +513 -513
- package/ui/tile-view.js.map +1 -1
- package/ui/toast.d.ts +285 -285
- package/ui/toast.js +575 -575
- package/ui/toast.js.map +1 -1
- package/ui/toolbar.d.ts +216 -216
- package/ui/toolbar.js +401 -401
- package/ui/toolbar.js.map +1 -1
- package/ui/tooltip.d.ts +273 -273
- package/ui/tooltip.js +533 -533
- package/ui/tooltip.js.map +1 -1
- package/ui/tree-list.d.ts +954 -954
- package/ui/tree-list.js +1371 -1371
- package/ui/tree-list.js.map +1 -1
- package/ui/tree-map.d.ts +550 -550
- package/ui/tree-map.js +656 -656
- package/ui/tree-map.js.map +1 -1
- package/ui/tree-view.d.ts +444 -444
- package/ui/tree-view.js +881 -881
- package/ui/tree-view.js.map +1 -1
- package/ui/validation-group.d.ts +66 -66
- package/ui/validation-group.js +154 -154
- package/ui/validation-group.js.map +1 -1
- package/ui/validation-summary.d.ts +111 -111
- package/ui/validation-summary.js +233 -233
- package/ui/validation-summary.js.map +1 -1
- package/ui/validator.d.ts +126 -126
- package/ui/validator.js +266 -266
- package/ui/validator.js.map +1 -1
- package/ui/vector-map.d.ts +732 -732
- package/ui/vector-map.js +716 -716
- package/ui/vector-map.js.map +1 -1
package/ui/validator.js
CHANGED
|
@@ -1,267 +1,267 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return function (d, b) {
|
|
7
|
-
extendStatics(d, b);
|
|
8
|
-
function __() { this.constructor = d; }
|
|
9
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10
|
-
};
|
|
11
|
-
})();
|
|
12
|
-
/*!
|
|
13
|
-
* devextreme-angular
|
|
14
|
-
* Version: 18.1.
|
|
15
|
-
* Build date:
|
|
16
|
-
*
|
|
17
|
-
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
|
|
18
|
-
*
|
|
19
|
-
* This software may be modified and distributed under the terms
|
|
20
|
-
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
21
|
-
*
|
|
22
|
-
* https://github.com/DevExpress/devextreme-angular
|
|
23
|
-
*/
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
var platform_browser_1 = require("@angular/platform-browser");
|
|
26
|
-
var platform_browser_2 = require("@angular/platform-browser");
|
|
27
|
-
var core_1 = require("@angular/core");
|
|
28
|
-
var validator_1 = require("devextreme/ui/validator");
|
|
29
|
-
var component_1 = require("../core/component");
|
|
30
|
-
var template_host_1 = require("../core/template-host");
|
|
31
|
-
var integration_1 = require("../core/integration");
|
|
32
|
-
var template_1 = require("../core/template");
|
|
33
|
-
var nested_option_1 = require("../core/nested-option");
|
|
34
|
-
var watcher_helper_1 = require("../core/watcher-helper");
|
|
35
|
-
var iterable_differ_helper_1 = require("../core/iterable-differ-helper");
|
|
36
|
-
var adapter_1 = require("./nested/adapter");
|
|
37
|
-
var validation_rule_dxi_1 = require("./nested/validation-rule-dxi");
|
|
38
|
-
var validation_rule_dxi_2 = require("./nested/validation-rule-dxi");
|
|
39
|
-
/**
|
|
40
|
-
* A widget that is used to validate the associated DevExtreme editors against the defined validation rules.
|
|
41
|
-
*/
|
|
42
|
-
var DxValidatorComponent = (function (_super) {
|
|
43
|
-
__extends(DxValidatorComponent, _super);
|
|
44
|
-
function DxValidatorComponent(elementRef, ngZone, templateHost, _watcherHelper, _idh, optionHost, transferState, platformId) {
|
|
45
|
-
var _this = _super.call(this, elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId) || this;
|
|
46
|
-
_this._watcherHelper = _watcherHelper;
|
|
47
|
-
_this._idh = _idh;
|
|
48
|
-
_this._createEventEmitters([
|
|
49
|
-
{ subscribe: 'disposing', emit: 'onDisposing' },
|
|
50
|
-
{ subscribe: 'initialized', emit: 'onInitialized' },
|
|
51
|
-
{ subscribe: 'optionChanged', emit: 'onOptionChanged' },
|
|
52
|
-
{ subscribe: 'validated', emit: 'onValidated' },
|
|
53
|
-
{ emit: 'adapterChange' },
|
|
54
|
-
{ emit: 'elementAttrChange' },
|
|
55
|
-
{ emit: 'heightChange' },
|
|
56
|
-
{ emit: 'nameChange' },
|
|
57
|
-
{ emit: 'validationGroupChange' },
|
|
58
|
-
{ emit: 'validationRulesChange' },
|
|
59
|
-
{ emit: 'widthChange' }
|
|
60
|
-
]);
|
|
61
|
-
_this._idh.setHost(_this);
|
|
62
|
-
optionHost.setHost(_this);
|
|
63
|
-
return _this;
|
|
64
|
-
}
|
|
65
|
-
Object.defineProperty(DxValidatorComponent.prototype, "adapter", {
|
|
66
|
-
get: /**
|
|
67
|
-
* An object that specifies what and when to validate, and how to apply the validation result.
|
|
68
|
-
*/
|
|
69
|
-
function () {
|
|
70
|
-
return this._getOption('adapter');
|
|
71
|
-
},
|
|
72
|
-
set: function (value) {
|
|
73
|
-
this._setOption('adapter', value);
|
|
74
|
-
},
|
|
75
|
-
enumerable: true,
|
|
76
|
-
configurable: true
|
|
77
|
-
});
|
|
78
|
-
Object.defineProperty(DxValidatorComponent.prototype, "elementAttr", {
|
|
79
|
-
get: /**
|
|
80
|
-
* Specifies the attributes to be attached to the widget's root element.
|
|
81
|
-
*/
|
|
82
|
-
function () {
|
|
83
|
-
return this._getOption('elementAttr');
|
|
84
|
-
},
|
|
85
|
-
set: function (value) {
|
|
86
|
-
this._setOption('elementAttr', value);
|
|
87
|
-
},
|
|
88
|
-
enumerable: true,
|
|
89
|
-
configurable: true
|
|
90
|
-
});
|
|
91
|
-
Object.defineProperty(DxValidatorComponent.prototype, "height", {
|
|
92
|
-
get: /**
|
|
93
|
-
* Specifies the widget's height.
|
|
94
|
-
*/
|
|
95
|
-
function () {
|
|
96
|
-
return this._getOption('height');
|
|
97
|
-
},
|
|
98
|
-
set: function (value) {
|
|
99
|
-
this._setOption('height', value);
|
|
100
|
-
},
|
|
101
|
-
enumerable: true,
|
|
102
|
-
configurable: true
|
|
103
|
-
});
|
|
104
|
-
Object.defineProperty(DxValidatorComponent.prototype, "name", {
|
|
105
|
-
get: /**
|
|
106
|
-
* Specifies the editor name to be used in the validation default messages.
|
|
107
|
-
*/
|
|
108
|
-
function () {
|
|
109
|
-
return this._getOption('name');
|
|
110
|
-
},
|
|
111
|
-
set: function (value) {
|
|
112
|
-
this._setOption('name', value);
|
|
113
|
-
},
|
|
114
|
-
enumerable: true,
|
|
115
|
-
configurable: true
|
|
116
|
-
});
|
|
117
|
-
Object.defineProperty(DxValidatorComponent.prototype, "validationGroup", {
|
|
118
|
-
get: /**
|
|
119
|
-
* Specifies the validation group the editor will be related to.
|
|
120
|
-
*/
|
|
121
|
-
function () {
|
|
122
|
-
return this._getOption('validationGroup');
|
|
123
|
-
},
|
|
124
|
-
set: function (value) {
|
|
125
|
-
this._setOption('validationGroup', value);
|
|
126
|
-
},
|
|
127
|
-
enumerable: true,
|
|
128
|
-
configurable: true
|
|
129
|
-
});
|
|
130
|
-
Object.defineProperty(DxValidatorComponent.prototype, "validationRules", {
|
|
131
|
-
get: /**
|
|
132
|
-
* An array of validation rules to be checked for the editor with which the dxValidator object is associated.
|
|
133
|
-
*/
|
|
134
|
-
function () {
|
|
135
|
-
return this._getOption('validationRules');
|
|
136
|
-
},
|
|
137
|
-
set: function (value) {
|
|
138
|
-
this._setOption('validationRules', value);
|
|
139
|
-
},
|
|
140
|
-
enumerable: true,
|
|
141
|
-
configurable: true
|
|
142
|
-
});
|
|
143
|
-
Object.defineProperty(DxValidatorComponent.prototype, "width", {
|
|
144
|
-
get: /**
|
|
145
|
-
* Specifies the widget's width.
|
|
146
|
-
*/
|
|
147
|
-
function () {
|
|
148
|
-
return this._getOption('width');
|
|
149
|
-
},
|
|
150
|
-
set: function (value) {
|
|
151
|
-
this._setOption('width', value);
|
|
152
|
-
},
|
|
153
|
-
enumerable: true,
|
|
154
|
-
configurable: true
|
|
155
|
-
});
|
|
156
|
-
Object.defineProperty(DxValidatorComponent.prototype, "validationRulesChildren", {
|
|
157
|
-
get: function () {
|
|
158
|
-
return this._getOption('validationRules');
|
|
159
|
-
},
|
|
160
|
-
set: function (value) {
|
|
161
|
-
this.setChildren('validationRules', value);
|
|
162
|
-
},
|
|
163
|
-
enumerable: true,
|
|
164
|
-
configurable: true
|
|
165
|
-
});
|
|
166
|
-
DxValidatorComponent.prototype._createInstance = function (element, options) {
|
|
167
|
-
return new validator_1.default(element, options);
|
|
168
|
-
};
|
|
169
|
-
DxValidatorComponent.prototype.ngOnDestroy = function () {
|
|
170
|
-
this._destroyWidget();
|
|
171
|
-
};
|
|
172
|
-
DxValidatorComponent.prototype.ngOnChanges = function (changes) {
|
|
173
|
-
_super.prototype.ngOnChanges.call(this, changes);
|
|
174
|
-
this.setupChanges('validationRules', changes);
|
|
175
|
-
};
|
|
176
|
-
DxValidatorComponent.prototype.setupChanges = function (prop, changes) {
|
|
177
|
-
if (!(prop in this._optionsToUpdate)) {
|
|
178
|
-
this._idh.setup(prop, changes);
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
DxValidatorComponent.prototype.ngDoCheck = function () {
|
|
182
|
-
this._idh.doCheck('validationRules');
|
|
183
|
-
this._watcherHelper.checkWatchers();
|
|
184
|
-
_super.prototype.ngDoCheck.call(this);
|
|
185
|
-
_super.prototype.clearChangedOptions.call(this);
|
|
186
|
-
};
|
|
187
|
-
DxValidatorComponent.prototype._setOption = function (name, value) {
|
|
188
|
-
var isSetup = this._idh.setupSingle(name, value);
|
|
189
|
-
var isChanged = this._idh.getChanges(name, value) !== null;
|
|
190
|
-
if (isSetup || isChanged) {
|
|
191
|
-
_super.prototype._setOption.call(this, name, value);
|
|
192
|
-
}
|
|
193
|
-
};
|
|
194
|
-
DxValidatorComponent.decorators = [
|
|
195
|
-
{ type: core_1.Component, args: [{
|
|
196
|
-
selector: 'dx-validator',
|
|
197
|
-
template: '',
|
|
198
|
-
providers: [
|
|
199
|
-
template_host_1.DxTemplateHost,
|
|
200
|
-
watcher_helper_1.WatcherHelper,
|
|
201
|
-
nested_option_1.NestedOptionHost,
|
|
202
|
-
iterable_differ_helper_1.IterableDifferHelper
|
|
203
|
-
]
|
|
204
|
-
},] },
|
|
205
|
-
];
|
|
206
|
-
/** @nocollapse */
|
|
207
|
-
DxValidatorComponent.ctorParameters = function () { return [
|
|
208
|
-
{ type: core_1.ElementRef, },
|
|
209
|
-
{ type: core_1.NgZone, },
|
|
210
|
-
{ type: template_host_1.DxTemplateHost, },
|
|
211
|
-
{ type: watcher_helper_1.WatcherHelper, },
|
|
212
|
-
{ type: iterable_differ_helper_1.IterableDifferHelper, },
|
|
213
|
-
{ type: nested_option_1.NestedOptionHost, },
|
|
214
|
-
{ type: platform_browser_2.TransferState, },
|
|
215
|
-
{ type: undefined, decorators: [{ type: core_1.Inject, args: [core_1.PLATFORM_ID,] },] },
|
|
216
|
-
]; };
|
|
217
|
-
DxValidatorComponent.propDecorators = {
|
|
218
|
-
"adapter": [{ type: core_1.Input },],
|
|
219
|
-
"elementAttr": [{ type: core_1.Input },],
|
|
220
|
-
"height": [{ type: core_1.Input },],
|
|
221
|
-
"name": [{ type: core_1.Input },],
|
|
222
|
-
"validationGroup": [{ type: core_1.Input },],
|
|
223
|
-
"validationRules": [{ type: core_1.Input },],
|
|
224
|
-
"width": [{ type: core_1.Input },],
|
|
225
|
-
"onDisposing": [{ type: core_1.Output },],
|
|
226
|
-
"onInitialized": [{ type: core_1.Output },],
|
|
227
|
-
"onOptionChanged": [{ type: core_1.Output },],
|
|
228
|
-
"onValidated": [{ type: core_1.Output },],
|
|
229
|
-
"adapterChange": [{ type: core_1.Output },],
|
|
230
|
-
"elementAttrChange": [{ type: core_1.Output },],
|
|
231
|
-
"heightChange": [{ type: core_1.Output },],
|
|
232
|
-
"nameChange": [{ type: core_1.Output },],
|
|
233
|
-
"validationGroupChange": [{ type: core_1.Output },],
|
|
234
|
-
"validationRulesChange": [{ type: core_1.Output },],
|
|
235
|
-
"widthChange": [{ type: core_1.Output },],
|
|
236
|
-
"validationRulesChildren": [{ type: core_1.ContentChildren, args: [validation_rule_dxi_2.DxiValidationRuleComponent,] },],
|
|
237
|
-
};
|
|
238
|
-
return DxValidatorComponent;
|
|
239
|
-
}(component_1.DxComponentExtension));
|
|
240
|
-
exports.DxValidatorComponent = DxValidatorComponent;
|
|
241
|
-
var DxValidatorModule = (function () {
|
|
242
|
-
function DxValidatorModule() {
|
|
243
|
-
}
|
|
244
|
-
DxValidatorModule.decorators = [
|
|
245
|
-
{ type: core_1.NgModule, args: [{
|
|
246
|
-
imports: [
|
|
247
|
-
adapter_1.DxoAdapterModule,
|
|
248
|
-
validation_rule_dxi_1.DxiValidationRuleModule,
|
|
249
|
-
integration_1.DxIntegrationModule,
|
|
250
|
-
template_1.DxTemplateModule,
|
|
251
|
-
platform_browser_1.BrowserTransferStateModule
|
|
252
|
-
],
|
|
253
|
-
declarations: [
|
|
254
|
-
DxValidatorComponent
|
|
255
|
-
],
|
|
256
|
-
exports: [
|
|
257
|
-
DxValidatorComponent,
|
|
258
|
-
adapter_1.DxoAdapterModule,
|
|
259
|
-
validation_rule_dxi_1.DxiValidationRuleModule,
|
|
260
|
-
template_1.DxTemplateModule
|
|
261
|
-
]
|
|
262
|
-
},] },
|
|
263
|
-
];
|
|
264
|
-
return DxValidatorModule;
|
|
265
|
-
}());
|
|
266
|
-
exports.DxValidatorModule = DxValidatorModule;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return function (d, b) {
|
|
7
|
+
extendStatics(d, b);
|
|
8
|
+
function __() { this.constructor = d; }
|
|
9
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10
|
+
};
|
|
11
|
+
})();
|
|
12
|
+
/*!
|
|
13
|
+
* devextreme-angular
|
|
14
|
+
* Version: 18.1.17
|
|
15
|
+
* Build date: Thu Dec 09 2021
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
|
|
18
|
+
*
|
|
19
|
+
* This software may be modified and distributed under the terms
|
|
20
|
+
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
21
|
+
*
|
|
22
|
+
* https://github.com/DevExpress/devextreme-angular
|
|
23
|
+
*/
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
var platform_browser_1 = require("@angular/platform-browser");
|
|
26
|
+
var platform_browser_2 = require("@angular/platform-browser");
|
|
27
|
+
var core_1 = require("@angular/core");
|
|
28
|
+
var validator_1 = require("devextreme/ui/validator");
|
|
29
|
+
var component_1 = require("../core/component");
|
|
30
|
+
var template_host_1 = require("../core/template-host");
|
|
31
|
+
var integration_1 = require("../core/integration");
|
|
32
|
+
var template_1 = require("../core/template");
|
|
33
|
+
var nested_option_1 = require("../core/nested-option");
|
|
34
|
+
var watcher_helper_1 = require("../core/watcher-helper");
|
|
35
|
+
var iterable_differ_helper_1 = require("../core/iterable-differ-helper");
|
|
36
|
+
var adapter_1 = require("./nested/adapter");
|
|
37
|
+
var validation_rule_dxi_1 = require("./nested/validation-rule-dxi");
|
|
38
|
+
var validation_rule_dxi_2 = require("./nested/validation-rule-dxi");
|
|
39
|
+
/**
|
|
40
|
+
* A widget that is used to validate the associated DevExtreme editors against the defined validation rules.
|
|
41
|
+
*/
|
|
42
|
+
var DxValidatorComponent = (function (_super) {
|
|
43
|
+
__extends(DxValidatorComponent, _super);
|
|
44
|
+
function DxValidatorComponent(elementRef, ngZone, templateHost, _watcherHelper, _idh, optionHost, transferState, platformId) {
|
|
45
|
+
var _this = _super.call(this, elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId) || this;
|
|
46
|
+
_this._watcherHelper = _watcherHelper;
|
|
47
|
+
_this._idh = _idh;
|
|
48
|
+
_this._createEventEmitters([
|
|
49
|
+
{ subscribe: 'disposing', emit: 'onDisposing' },
|
|
50
|
+
{ subscribe: 'initialized', emit: 'onInitialized' },
|
|
51
|
+
{ subscribe: 'optionChanged', emit: 'onOptionChanged' },
|
|
52
|
+
{ subscribe: 'validated', emit: 'onValidated' },
|
|
53
|
+
{ emit: 'adapterChange' },
|
|
54
|
+
{ emit: 'elementAttrChange' },
|
|
55
|
+
{ emit: 'heightChange' },
|
|
56
|
+
{ emit: 'nameChange' },
|
|
57
|
+
{ emit: 'validationGroupChange' },
|
|
58
|
+
{ emit: 'validationRulesChange' },
|
|
59
|
+
{ emit: 'widthChange' }
|
|
60
|
+
]);
|
|
61
|
+
_this._idh.setHost(_this);
|
|
62
|
+
optionHost.setHost(_this);
|
|
63
|
+
return _this;
|
|
64
|
+
}
|
|
65
|
+
Object.defineProperty(DxValidatorComponent.prototype, "adapter", {
|
|
66
|
+
get: /**
|
|
67
|
+
* An object that specifies what and when to validate, and how to apply the validation result.
|
|
68
|
+
*/
|
|
69
|
+
function () {
|
|
70
|
+
return this._getOption('adapter');
|
|
71
|
+
},
|
|
72
|
+
set: function (value) {
|
|
73
|
+
this._setOption('adapter', value);
|
|
74
|
+
},
|
|
75
|
+
enumerable: true,
|
|
76
|
+
configurable: true
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(DxValidatorComponent.prototype, "elementAttr", {
|
|
79
|
+
get: /**
|
|
80
|
+
* Specifies the attributes to be attached to the widget's root element.
|
|
81
|
+
*/
|
|
82
|
+
function () {
|
|
83
|
+
return this._getOption('elementAttr');
|
|
84
|
+
},
|
|
85
|
+
set: function (value) {
|
|
86
|
+
this._setOption('elementAttr', value);
|
|
87
|
+
},
|
|
88
|
+
enumerable: true,
|
|
89
|
+
configurable: true
|
|
90
|
+
});
|
|
91
|
+
Object.defineProperty(DxValidatorComponent.prototype, "height", {
|
|
92
|
+
get: /**
|
|
93
|
+
* Specifies the widget's height.
|
|
94
|
+
*/
|
|
95
|
+
function () {
|
|
96
|
+
return this._getOption('height');
|
|
97
|
+
},
|
|
98
|
+
set: function (value) {
|
|
99
|
+
this._setOption('height', value);
|
|
100
|
+
},
|
|
101
|
+
enumerable: true,
|
|
102
|
+
configurable: true
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(DxValidatorComponent.prototype, "name", {
|
|
105
|
+
get: /**
|
|
106
|
+
* Specifies the editor name to be used in the validation default messages.
|
|
107
|
+
*/
|
|
108
|
+
function () {
|
|
109
|
+
return this._getOption('name');
|
|
110
|
+
},
|
|
111
|
+
set: function (value) {
|
|
112
|
+
this._setOption('name', value);
|
|
113
|
+
},
|
|
114
|
+
enumerable: true,
|
|
115
|
+
configurable: true
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(DxValidatorComponent.prototype, "validationGroup", {
|
|
118
|
+
get: /**
|
|
119
|
+
* Specifies the validation group the editor will be related to.
|
|
120
|
+
*/
|
|
121
|
+
function () {
|
|
122
|
+
return this._getOption('validationGroup');
|
|
123
|
+
},
|
|
124
|
+
set: function (value) {
|
|
125
|
+
this._setOption('validationGroup', value);
|
|
126
|
+
},
|
|
127
|
+
enumerable: true,
|
|
128
|
+
configurable: true
|
|
129
|
+
});
|
|
130
|
+
Object.defineProperty(DxValidatorComponent.prototype, "validationRules", {
|
|
131
|
+
get: /**
|
|
132
|
+
* An array of validation rules to be checked for the editor with which the dxValidator object is associated.
|
|
133
|
+
*/
|
|
134
|
+
function () {
|
|
135
|
+
return this._getOption('validationRules');
|
|
136
|
+
},
|
|
137
|
+
set: function (value) {
|
|
138
|
+
this._setOption('validationRules', value);
|
|
139
|
+
},
|
|
140
|
+
enumerable: true,
|
|
141
|
+
configurable: true
|
|
142
|
+
});
|
|
143
|
+
Object.defineProperty(DxValidatorComponent.prototype, "width", {
|
|
144
|
+
get: /**
|
|
145
|
+
* Specifies the widget's width.
|
|
146
|
+
*/
|
|
147
|
+
function () {
|
|
148
|
+
return this._getOption('width');
|
|
149
|
+
},
|
|
150
|
+
set: function (value) {
|
|
151
|
+
this._setOption('width', value);
|
|
152
|
+
},
|
|
153
|
+
enumerable: true,
|
|
154
|
+
configurable: true
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(DxValidatorComponent.prototype, "validationRulesChildren", {
|
|
157
|
+
get: function () {
|
|
158
|
+
return this._getOption('validationRules');
|
|
159
|
+
},
|
|
160
|
+
set: function (value) {
|
|
161
|
+
this.setChildren('validationRules', value);
|
|
162
|
+
},
|
|
163
|
+
enumerable: true,
|
|
164
|
+
configurable: true
|
|
165
|
+
});
|
|
166
|
+
DxValidatorComponent.prototype._createInstance = function (element, options) {
|
|
167
|
+
return new validator_1.default(element, options);
|
|
168
|
+
};
|
|
169
|
+
DxValidatorComponent.prototype.ngOnDestroy = function () {
|
|
170
|
+
this._destroyWidget();
|
|
171
|
+
};
|
|
172
|
+
DxValidatorComponent.prototype.ngOnChanges = function (changes) {
|
|
173
|
+
_super.prototype.ngOnChanges.call(this, changes);
|
|
174
|
+
this.setupChanges('validationRules', changes);
|
|
175
|
+
};
|
|
176
|
+
DxValidatorComponent.prototype.setupChanges = function (prop, changes) {
|
|
177
|
+
if (!(prop in this._optionsToUpdate)) {
|
|
178
|
+
this._idh.setup(prop, changes);
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
DxValidatorComponent.prototype.ngDoCheck = function () {
|
|
182
|
+
this._idh.doCheck('validationRules');
|
|
183
|
+
this._watcherHelper.checkWatchers();
|
|
184
|
+
_super.prototype.ngDoCheck.call(this);
|
|
185
|
+
_super.prototype.clearChangedOptions.call(this);
|
|
186
|
+
};
|
|
187
|
+
DxValidatorComponent.prototype._setOption = function (name, value) {
|
|
188
|
+
var isSetup = this._idh.setupSingle(name, value);
|
|
189
|
+
var isChanged = this._idh.getChanges(name, value) !== null;
|
|
190
|
+
if (isSetup || isChanged) {
|
|
191
|
+
_super.prototype._setOption.call(this, name, value);
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
DxValidatorComponent.decorators = [
|
|
195
|
+
{ type: core_1.Component, args: [{
|
|
196
|
+
selector: 'dx-validator',
|
|
197
|
+
template: '',
|
|
198
|
+
providers: [
|
|
199
|
+
template_host_1.DxTemplateHost,
|
|
200
|
+
watcher_helper_1.WatcherHelper,
|
|
201
|
+
nested_option_1.NestedOptionHost,
|
|
202
|
+
iterable_differ_helper_1.IterableDifferHelper
|
|
203
|
+
]
|
|
204
|
+
},] },
|
|
205
|
+
];
|
|
206
|
+
/** @nocollapse */
|
|
207
|
+
DxValidatorComponent.ctorParameters = function () { return [
|
|
208
|
+
{ type: core_1.ElementRef, },
|
|
209
|
+
{ type: core_1.NgZone, },
|
|
210
|
+
{ type: template_host_1.DxTemplateHost, },
|
|
211
|
+
{ type: watcher_helper_1.WatcherHelper, },
|
|
212
|
+
{ type: iterable_differ_helper_1.IterableDifferHelper, },
|
|
213
|
+
{ type: nested_option_1.NestedOptionHost, },
|
|
214
|
+
{ type: platform_browser_2.TransferState, },
|
|
215
|
+
{ type: undefined, decorators: [{ type: core_1.Inject, args: [core_1.PLATFORM_ID,] },] },
|
|
216
|
+
]; };
|
|
217
|
+
DxValidatorComponent.propDecorators = {
|
|
218
|
+
"adapter": [{ type: core_1.Input },],
|
|
219
|
+
"elementAttr": [{ type: core_1.Input },],
|
|
220
|
+
"height": [{ type: core_1.Input },],
|
|
221
|
+
"name": [{ type: core_1.Input },],
|
|
222
|
+
"validationGroup": [{ type: core_1.Input },],
|
|
223
|
+
"validationRules": [{ type: core_1.Input },],
|
|
224
|
+
"width": [{ type: core_1.Input },],
|
|
225
|
+
"onDisposing": [{ type: core_1.Output },],
|
|
226
|
+
"onInitialized": [{ type: core_1.Output },],
|
|
227
|
+
"onOptionChanged": [{ type: core_1.Output },],
|
|
228
|
+
"onValidated": [{ type: core_1.Output },],
|
|
229
|
+
"adapterChange": [{ type: core_1.Output },],
|
|
230
|
+
"elementAttrChange": [{ type: core_1.Output },],
|
|
231
|
+
"heightChange": [{ type: core_1.Output },],
|
|
232
|
+
"nameChange": [{ type: core_1.Output },],
|
|
233
|
+
"validationGroupChange": [{ type: core_1.Output },],
|
|
234
|
+
"validationRulesChange": [{ type: core_1.Output },],
|
|
235
|
+
"widthChange": [{ type: core_1.Output },],
|
|
236
|
+
"validationRulesChildren": [{ type: core_1.ContentChildren, args: [validation_rule_dxi_2.DxiValidationRuleComponent,] },],
|
|
237
|
+
};
|
|
238
|
+
return DxValidatorComponent;
|
|
239
|
+
}(component_1.DxComponentExtension));
|
|
240
|
+
exports.DxValidatorComponent = DxValidatorComponent;
|
|
241
|
+
var DxValidatorModule = (function () {
|
|
242
|
+
function DxValidatorModule() {
|
|
243
|
+
}
|
|
244
|
+
DxValidatorModule.decorators = [
|
|
245
|
+
{ type: core_1.NgModule, args: [{
|
|
246
|
+
imports: [
|
|
247
|
+
adapter_1.DxoAdapterModule,
|
|
248
|
+
validation_rule_dxi_1.DxiValidationRuleModule,
|
|
249
|
+
integration_1.DxIntegrationModule,
|
|
250
|
+
template_1.DxTemplateModule,
|
|
251
|
+
platform_browser_1.BrowserTransferStateModule
|
|
252
|
+
],
|
|
253
|
+
declarations: [
|
|
254
|
+
DxValidatorComponent
|
|
255
|
+
],
|
|
256
|
+
exports: [
|
|
257
|
+
DxValidatorComponent,
|
|
258
|
+
adapter_1.DxoAdapterModule,
|
|
259
|
+
validation_rule_dxi_1.DxiValidationRuleModule,
|
|
260
|
+
template_1.DxTemplateModule
|
|
261
|
+
]
|
|
262
|
+
},] },
|
|
263
|
+
];
|
|
264
|
+
return DxValidatorModule;
|
|
265
|
+
}());
|
|
266
|
+
exports.DxValidatorModule = DxValidatorModule;
|
|
267
267
|
//# sourceMappingURL=validator.js.map
|
package/ui/validator.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validator.js","sourceRoot":"","sources":["validator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAyBA,8DAAuE;AACvE,8DAA0D;AAE1D,sCAiBuB;AAKvB,qDAAkD;AAGlD,+CAAyD;AACzD,uDAAuD;AACvD,mDAA0D;AAC1D,6CAAoD;AACpD,uDAAyD;AACzD,yDAAuD;AACvD,yEAAsE;AAEtE,4CAAoD;AACpD,oEAAuE;AAEvE,oEAA0E;;;;;IAkBhC,wCAAoB;IA0J1D,8BAAY,UAAsB,EAAE,MAAc,EAAE,YAA4B,EAChE,cAA6B,EAC7B,IAA0B,EAAE,UAA4B,EAChE,aAA4B,EACP;QAJ7B,YAMI,kBAAM,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,UAAU,CAAC,SAkBrF;QAvBe,oBAAc,GAAd,cAAc,CAAe;QAC7B,UAAI,GAA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CAKN,aAAM;0CAKN,aAAM;gCAKN,aAAM;4CAKN,sBAAe,SAAC,gDAA0B;;+BAnO/C;EAkF0C,gCAAoB;AAAjD,oDAAoB;;;;;gBAyNhC,eAAQ,SAAC;oBACR,OAAO,EAAE;wBACP,0BAAgB;wBAChB,6CAAuB;wBACvB,iCAAmB;wBACnB,2BAAgB;wBAChB,6CAA0B;qBAC3B;oBACD,YAAY,EAAE;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACP,oBAAoB;wBACpB,0BAAgB;wBAChB,6CAAuB;wBACvB,2BAAgB;qBACjB;iBACF;;4BA5TD;;AA6Ta,8CAAiB","sourcesContent":["/*!\n * devextreme-angular\n * Version: 18.1.16\n * Build date: Fri Apr 30 2021\n *\n * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED\n *\n * This software may be modified and distributed under the terms\n * of the MIT license. See the LICENSE file in the root of the project for details.\n *\n * https://github.com/DevExpress/devextreme-angular\n */\n\n/* tslint:disable:max-line-length */\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nimport { BrowserTransferStateModule } from '@angular/platform-browser';\r\nimport { TransferState } from '@angular/platform-browser';\r\n\r\nimport {\r\n Component,\r\n NgModule,\r\n ElementRef,\r\n NgZone,\r\n PLATFORM_ID,\r\n Inject,\r\n\r\n Input,\r\n Output,\r\n OnDestroy,\r\n EventEmitter,\r\n OnChanges,\r\n DoCheck,\r\n SimpleChanges,\r\n ContentChildren,\r\n QueryList\r\n} from '@angular/core';\r\n\r\n\r\nimport DevExpress from 'devextreme/bundles/dx.all';\r\n\r\nimport DxValidator from 'devextreme/ui/validator';\r\n\r\n\r\nimport { DxComponentExtension } from '../core/component';\r\nimport { DxTemplateHost } from '../core/template-host';\r\nimport { DxIntegrationModule } from '../core/integration';\r\nimport { DxTemplateModule } from '../core/template';\r\nimport { NestedOptionHost } from '../core/nested-option';\r\nimport { WatcherHelper } from '../core/watcher-helper';\r\nimport { IterableDifferHelper } from '../core/iterable-differ-helper';\r\n\r\nimport { DxoAdapterModule } from './nested/adapter';\r\nimport { DxiValidationRuleModule } from './nested/validation-rule-dxi';\r\n\r\nimport { DxiValidationRuleComponent } from './nested/validation-rule-dxi';\r\n\r\n\r\n\r\n\r\n/**\r\n * A widget that is used to validate the associated DevExtreme editors against the defined validation rules.\r\n */\r\n@Component({\r\n selector: 'dx-validator',\r\n template: '',\r\n providers: [\r\n DxTemplateHost,\r\n WatcherHelper,\r\n NestedOptionHost,\r\n IterableDifferHelper\r\n ]\r\n})\r\nexport class DxValidatorComponent extends DxComponentExtension implements OnDestroy, OnChanges, DoCheck {\r\n instance: DxValidator;\r\n\r\n\r\n /**\r\n * An object that specifies what and when to validate, and how to apply the validation result.\r\n */\r\n @Input()\r\n get adapter(): { applyValidationResults?: Function, bypass?: Function, focus?: Function, getValue?: Function, reset?: Function, validationRequestsCallbacks?: any | Array<Function> } {\r\n return this._getOption('adapter');\r\n }\r\n set adapter(value: { applyValidationResults?: Function, bypass?: Function, focus?: Function, getValue?: Function, reset?: Function, validationRequestsCallbacks?: any | Array<Function> }) {\r\n this._setOption('adapter', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the attributes to be attached to the widget's root element.\r\n */\r\n @Input()\r\n get elementAttr(): any {\r\n return this._getOption('elementAttr');\r\n }\r\n set elementAttr(value: any) {\r\n this._setOption('elementAttr', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the widget's height.\r\n */\r\n @Input()\r\n get height(): number | Function | string {\r\n return this._getOption('height');\r\n }\r\n set height(value: number | Function | string) {\r\n this._setOption('height', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the editor name to be used in the validation default messages.\r\n */\r\n @Input()\r\n get name(): string {\r\n return this._getOption('name');\r\n }\r\n set name(value: string) {\r\n this._setOption('name', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the validation group the editor will be related to.\r\n */\r\n @Input()\r\n get validationGroup(): string {\r\n return this._getOption('validationGroup');\r\n }\r\n set validationGroup(value: string) {\r\n this._setOption('validationGroup', value);\r\n }\r\n\r\n\r\n /**\r\n * An array of validation rules to be checked for the editor with which the dxValidator object is associated.\r\n */\r\n @Input()\r\n get validationRules(): Array<DevExpress.ui.RequiredRule | DevExpress.ui.NumericRule | DevExpress.ui.RangeRule | DevExpress.ui.StringLengthRule | DevExpress.ui.CustomRule | DevExpress.ui.CompareRule | DevExpress.ui.PatternRule | DevExpress.ui.EmailRule> {\r\n return this._getOption('validationRules');\r\n }\r\n set validationRules(value: Array<DevExpress.ui.RequiredRule | DevExpress.ui.NumericRule | DevExpress.ui.RangeRule | DevExpress.ui.StringLengthRule | DevExpress.ui.CustomRule | DevExpress.ui.CompareRule | DevExpress.ui.PatternRule | DevExpress.ui.EmailRule>) {\r\n this._setOption('validationRules', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the widget's width.\r\n */\r\n @Input()\r\n get width(): number | Function | string {\r\n return this._getOption('width');\r\n }\r\n set width(value: number | Function | string) {\r\n this._setOption('width', value);\r\n }\r\n\r\n /**\r\n * A function that is executed before the widget is disposed of.\r\n */\r\n @Output() onDisposing: EventEmitter<any>;\r\n\r\n /**\r\n * A function that is executed only once, after the widget is initialized.\r\n */\r\n @Output() onInitialized: EventEmitter<any>;\r\n\r\n /**\r\n * A function that is executed after a widget option is changed.\r\n */\r\n @Output() onOptionChanged: EventEmitter<any>;\r\n\r\n /**\r\n * A function that is executed after a value is validated.\r\n */\r\n @Output() onValidated: EventEmitter<any>;\r\n\r\n /**\r\n * A handler for the adapterChange event.\r\n */\r\n @Output() adapterChange: EventEmitter<{ applyValidationResults?: Function, bypass?: Function, focus?: Function, getValue?: Function, reset?: Function, validationRequestsCallbacks?: any | Array<Function> }>;\r\n\r\n /**\r\n * A handler for the elementAttrChange event.\r\n */\r\n @Output() elementAttrChange: EventEmitter<any>;\r\n\r\n /**\r\n * A handler for the heightChange event.\r\n */\r\n @Output() heightChange: EventEmitter<number | Function | string>;\r\n\r\n /**\r\n * A handler for the nameChange event.\r\n */\r\n @Output() nameChange: EventEmitter<string>;\r\n\r\n /**\r\n * A handler for the validationGroupChange event.\r\n */\r\n @Output() validationGroupChange: EventEmitter<string>;\r\n\r\n /**\r\n * A handler for the validationRulesChange event.\r\n */\r\n @Output() validationRulesChange: EventEmitter<Array<DevExpress.ui.RequiredRule | DevExpress.ui.NumericRule | DevExpress.ui.RangeRule | DevExpress.ui.StringLengthRule | DevExpress.ui.CustomRule | DevExpress.ui.CompareRule | DevExpress.ui.PatternRule | DevExpress.ui.EmailRule>>;\r\n\r\n /**\r\n * A handler for the widthChange event.\r\n */\r\n @Output() widthChange: EventEmitter<number | Function | string>;\r\n\r\n\r\n\r\n\r\n @ContentChildren(DxiValidationRuleComponent)\r\n get validationRulesChildren(): QueryList<DxiValidationRuleComponent> {\r\n return this._getOption('validationRules');\r\n }\r\n set validationRulesChildren(value) {\r\n this.setChildren('validationRules', value);\r\n }\r\n\r\n\r\n constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost,\r\n private _watcherHelper: WatcherHelper,\r\n private _idh: IterableDifferHelper, optionHost: NestedOptionHost,\r\n transferState: TransferState,\r\n @Inject(PLATFORM_ID) platformId: any) {\r\n\r\n super(elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId);\r\n\r\n this._createEventEmitters([\r\n { subscribe: 'disposing', emit: 'onDisposing' },\r\n { subscribe: 'initialized', emit: 'onInitialized' },\r\n { subscribe: 'optionChanged', emit: 'onOptionChanged' },\r\n { subscribe: 'validated', emit: 'onValidated' },\r\n { emit: 'adapterChange' },\r\n { emit: 'elementAttrChange' },\r\n { emit: 'heightChange' },\r\n { emit: 'nameChange' },\r\n { emit: 'validationGroupChange' },\r\n { emit: 'validationRulesChange' },\r\n { emit: 'widthChange' }\r\n ]);\r\n\r\n this._idh.setHost(this);\r\n optionHost.setHost(this);\r\n }\r\n\r\n protected _createInstance(element, options) {\r\n return new DxValidator(element, options);\r\n }\r\n\r\n ngOnDestroy() {\r\n this._destroyWidget();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n super.ngOnChanges(changes);\r\n this.setupChanges('validationRules', changes);\r\n }\r\n\r\n setupChanges(prop: string, changes: SimpleChanges) {\r\n if (!(prop in this._optionsToUpdate)) {\r\n this._idh.setup(prop, changes);\r\n }\r\n }\r\n\r\n ngDoCheck() {\r\n this._idh.doCheck('validationRules');\r\n this._watcherHelper.checkWatchers();\r\n super.ngDoCheck();\r\n super.clearChangedOptions();\r\n }\r\n\r\n _setOption(name: string, value: any) {\r\n let isSetup = this._idh.setupSingle(name, value);\r\n let isChanged = this._idh.getChanges(name, value) !== null;\r\n\r\n if (isSetup || isChanged) {\r\n super._setOption(name, value);\r\n }\r\n }\r\n\r\n}\r\n\r\n@NgModule({\r\n imports: [\r\n DxoAdapterModule,\r\n DxiValidationRuleModule,\r\n DxIntegrationModule,\r\n DxTemplateModule,\r\n BrowserTransferStateModule\r\n ],\r\n declarations: [\r\n DxValidatorComponent\r\n ],\r\n exports: [\r\n DxValidatorComponent,\r\n DxoAdapterModule,\r\n DxiValidationRuleModule,\r\n DxTemplateModule\r\n ]\r\n})\r\nexport class DxValidatorModule { }\r\n"]}
|
|
1
|
+
{"version":3,"file":"validator.js","sourceRoot":"","sources":["validator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAyBA,8DAAuE;AACvE,8DAA0D;AAE1D,sCAiBuB;AAKvB,qDAAkD;AAGlD,+CAAyD;AACzD,uDAAuD;AACvD,mDAA0D;AAC1D,6CAAoD;AACpD,uDAAyD;AACzD,yDAAuD;AACvD,yEAAsE;AAEtE,4CAAoD;AACpD,oEAAuE;AAEvE,oEAA0E;;;;;IAkBhC,wCAAoB;IA0J1D,8BAAY,UAAsB,EAAE,MAAc,EAAE,YAA4B,EAChE,cAA6B,EAC7B,IAA0B,EAAE,UAA4B,EAChE,aAA4B,EACP;QAJ7B,YAMI,kBAAM,UAAU,EAAE,MAAM,E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AK;gCAWL,aAAM;kCAKN,aAAM;oCAKN,aAAM;gCAKN,aAAM;kCAKN,aAAM;sCAKN,aAAM;iCAKN,aAAM;+BAKN,aAAM;0CAKN,aAAM;0CAKN,aAAM;gCAKN,aAAM;4CAKN,sBAAe,SAAC,gDAA0B;;+BAnO/C;EAkF0C,gCAAoB;AAAjD,oDAAoB;;;;;gBAyNhC,eAAQ,SAAC;oBACR,OAAO,EAAE;wBACP,0BAAgB;wBAChB,6CAAuB;wBACvB,iCAAmB;wBACnB,2BAAgB;wBAChB,6CAA0B;qBAC3B;oBACD,YAAY,EAAE;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACP,oBAAoB;wBACpB,0BAAgB;wBAChB,6CAAuB;wBACvB,2BAAgB;qBACjB;iBACF;;4BA5TD;;AA6Ta,8CAAiB","sourcesContent":["/*!\n * devextreme-angular\n * Version: 18.1.17\n * Build date: Thu Dec 09 2021\n *\n * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED\n *\n * This software may be modified and distributed under the terms\n * of the MIT license. See the LICENSE file in the root of the project for details.\n *\n * https://github.com/DevExpress/devextreme-angular\n */\n\n/* tslint:disable:max-line-length */\n\n\n\n\n\n\n\n\n\n\n\nimport { BrowserTransferStateModule } from '@angular/platform-browser';\nimport { TransferState } from '@angular/platform-browser';\n\nimport {\n Component,\n NgModule,\n ElementRef,\n NgZone,\n PLATFORM_ID,\n Inject,\n\n Input,\n Output,\n OnDestroy,\n EventEmitter,\n OnChanges,\n DoCheck,\n SimpleChanges,\n ContentChildren,\n QueryList\n} from '@angular/core';\n\n\nimport DevExpress from 'devextreme/bundles/dx.all';\n\nimport DxValidator from 'devextreme/ui/validator';\n\n\nimport { DxComponentExtension } from '../core/component';\nimport { DxTemplateHost } from '../core/template-host';\nimport { DxIntegrationModule } from '../core/integration';\nimport { DxTemplateModule } from '../core/template';\nimport { NestedOptionHost } from '../core/nested-option';\nimport { WatcherHelper } from '../core/watcher-helper';\nimport { IterableDifferHelper } from '../core/iterable-differ-helper';\n\nimport { DxoAdapterModule } from './nested/adapter';\nimport { DxiValidationRuleModule } from './nested/validation-rule-dxi';\n\nimport { DxiValidationRuleComponent } from './nested/validation-rule-dxi';\n\n\n\n\n/**\n * A widget that is used to validate the associated DevExtreme editors against the defined validation rules.\n */\n@Component({\n selector: 'dx-validator',\n template: '',\n providers: [\n DxTemplateHost,\n WatcherHelper,\n NestedOptionHost,\n IterableDifferHelper\n ]\n})\nexport class DxValidatorComponent extends DxComponentExtension implements OnDestroy, OnChanges, DoCheck {\n instance: DxValidator;\n\n\n /**\n * An object that specifies what and when to validate, and how to apply the validation result.\n */\n @Input()\n get adapter(): { applyValidationResults?: Function, bypass?: Function, focus?: Function, getValue?: Function, reset?: Function, validationRequestsCallbacks?: any | Array<Function> } {\n return this._getOption('adapter');\n }\n set adapter(value: { applyValidationResults?: Function, bypass?: Function, focus?: Function, getValue?: Function, reset?: Function, validationRequestsCallbacks?: any | Array<Function> }) {\n this._setOption('adapter', value);\n }\n\n\n /**\n * Specifies the attributes to be attached to the widget's root element.\n */\n @Input()\n get elementAttr(): any {\n return this._getOption('elementAttr');\n }\n set elementAttr(value: any) {\n this._setOption('elementAttr', value);\n }\n\n\n /**\n * Specifies the widget's height.\n */\n @Input()\n get height(): number | Function | string {\n return this._getOption('height');\n }\n set height(value: number | Function | string) {\n this._setOption('height', value);\n }\n\n\n /**\n * Specifies the editor name to be used in the validation default messages.\n */\n @Input()\n get name(): string {\n return this._getOption('name');\n }\n set name(value: string) {\n this._setOption('name', value);\n }\n\n\n /**\n * Specifies the validation group the editor will be related to.\n */\n @Input()\n get validationGroup(): string {\n return this._getOption('validationGroup');\n }\n set validationGroup(value: string) {\n this._setOption('validationGroup', value);\n }\n\n\n /**\n * An array of validation rules to be checked for the editor with which the dxValidator object is associated.\n */\n @Input()\n get validationRules(): Array<DevExpress.ui.RequiredRule | DevExpress.ui.NumericRule | DevExpress.ui.RangeRule | DevExpress.ui.StringLengthRule | DevExpress.ui.CustomRule | DevExpress.ui.CompareRule | DevExpress.ui.PatternRule | DevExpress.ui.EmailRule> {\n return this._getOption('validationRules');\n }\n set validationRules(value: Array<DevExpress.ui.RequiredRule | DevExpress.ui.NumericRule | DevExpress.ui.RangeRule | DevExpress.ui.StringLengthRule | DevExpress.ui.CustomRule | DevExpress.ui.CompareRule | DevExpress.ui.PatternRule | DevExpress.ui.EmailRule>) {\n this._setOption('validationRules', value);\n }\n\n\n /**\n * Specifies the widget's width.\n */\n @Input()\n get width(): number | Function | string {\n return this._getOption('width');\n }\n set width(value: number | Function | string) {\n this._setOption('width', value);\n }\n\n /**\n * A function that is executed before the widget is disposed of.\n */\n @Output() onDisposing: EventEmitter<any>;\n\n /**\n * A function that is executed only once, after the widget is initialized.\n */\n @Output() onInitialized: EventEmitter<any>;\n\n /**\n * A function that is executed after a widget option is changed.\n */\n @Output() onOptionChanged: EventEmitter<any>;\n\n /**\n * A function that is executed after a value is validated.\n */\n @Output() onValidated: EventEmitter<any>;\n\n /**\n * A handler for the adapterChange event.\n */\n @Output() adapterChange: EventEmitter<{ applyValidationResults?: Function, bypass?: Function, focus?: Function, getValue?: Function, reset?: Function, validationRequestsCallbacks?: any | Array<Function> }>;\n\n /**\n * A handler for the elementAttrChange event.\n */\n @Output() elementAttrChange: EventEmitter<any>;\n\n /**\n * A handler for the heightChange event.\n */\n @Output() heightChange: EventEmitter<number | Function | string>;\n\n /**\n * A handler for the nameChange event.\n */\n @Output() nameChange: EventEmitter<string>;\n\n /**\n * A handler for the validationGroupChange event.\n */\n @Output() validationGroupChange: EventEmitter<string>;\n\n /**\n * A handler for the validationRulesChange event.\n */\n @Output() validationRulesChange: EventEmitter<Array<DevExpress.ui.RequiredRule | DevExpress.ui.NumericRule | DevExpress.ui.RangeRule | DevExpress.ui.StringLengthRule | DevExpress.ui.CustomRule | DevExpress.ui.CompareRule | DevExpress.ui.PatternRule | DevExpress.ui.EmailRule>>;\n\n /**\n * A handler for the widthChange event.\n */\n @Output() widthChange: EventEmitter<number | Function | string>;\n\n\n\n\n @ContentChildren(DxiValidationRuleComponent)\n get validationRulesChildren(): QueryList<DxiValidationRuleComponent> {\n return this._getOption('validationRules');\n }\n set validationRulesChildren(value) {\n this.setChildren('validationRules', value);\n }\n\n\n constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost,\n private _watcherHelper: WatcherHelper,\n private _idh: IterableDifferHelper, optionHost: NestedOptionHost,\n transferState: TransferState,\n @Inject(PLATFORM_ID) platformId: any) {\n\n super(elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId);\n\n this._createEventEmitters([\n { subscribe: 'disposing', emit: 'onDisposing' },\n { subscribe: 'initialized', emit: 'onInitialized' },\n { subscribe: 'optionChanged', emit: 'onOptionChanged' },\n { subscribe: 'validated', emit: 'onValidated' },\n { emit: 'adapterChange' },\n { emit: 'elementAttrChange' },\n { emit: 'heightChange' },\n { emit: 'nameChange' },\n { emit: 'validationGroupChange' },\n { emit: 'validationRulesChange' },\n { emit: 'widthChange' }\n ]);\n\n this._idh.setHost(this);\n optionHost.setHost(this);\n }\n\n protected _createInstance(element, options) {\n return new DxValidator(element, options);\n }\n\n ngOnDestroy() {\n this._destroyWidget();\n }\n\n ngOnChanges(changes: SimpleChanges) {\n super.ngOnChanges(changes);\n this.setupChanges('validationRules', changes);\n }\n\n setupChanges(prop: string, changes: SimpleChanges) {\n if (!(prop in this._optionsToUpdate)) {\n this._idh.setup(prop, changes);\n }\n }\n\n ngDoCheck() {\n this._idh.doCheck('validationRules');\n this._watcherHelper.checkWatchers();\n super.ngDoCheck();\n super.clearChangedOptions();\n }\n\n _setOption(name: string, value: any) {\n let isSetup = this._idh.setupSingle(name, value);\n let isChanged = this._idh.getChanges(name, value) !== null;\n\n if (isSetup || isChanged) {\n super._setOption(name, value);\n }\n }\n\n}\n\n@NgModule({\n imports: [\n DxoAdapterModule,\n DxiValidationRuleModule,\n DxIntegrationModule,\n DxTemplateModule,\n BrowserTransferStateModule\n ],\n declarations: [\n DxValidatorComponent\n ],\n exports: [\n DxValidatorComponent,\n DxoAdapterModule,\n DxiValidationRuleModule,\n DxTemplateModule\n ]\n})\nexport class DxValidatorModule { }\n"]}
|