devextreme-react 23.1.5 → 23.2.1-alpha-23255-1813
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/accordion/package.json +6 -0
- package/action-sheet/package.json +6 -0
- package/autocomplete/package.json +6 -0
- package/bar-gauge/package.json +6 -0
- package/box/package.json +6 -0
- package/bullet/package.json +6 -0
- package/button/package.json +6 -0
- package/button-group/package.json +6 -0
- package/calendar/package.json +6 -0
- package/chart/package.json +6 -0
- package/check-box/package.json +6 -0
- package/circular-gauge/package.json +6 -0
- package/{accordion.d.ts → cjs/accordion.d.ts} +4 -4
- package/cjs/accordion.js +166 -0
- package/{action-sheet.d.ts → cjs/action-sheet.d.ts} +4 -4
- package/cjs/action-sheet.js +140 -0
- package/{autocomplete.d.ts → cjs/autocomplete.d.ts} +21 -21
- package/{autocomplete.js → cjs/autocomplete.js} +28 -5
- package/{bar-gauge.d.ts → cjs/bar-gauge.d.ts} +6 -6
- package/{bar-gauge.js → cjs/bar-gauge.js} +27 -5
- package/{box.d.ts → cjs/box.d.ts} +3 -3
- package/cjs/box.js +158 -0
- package/{bullet.d.ts → cjs/bullet.d.ts} +5 -5
- package/cjs/bullet.js +202 -0
- package/{button-group.d.ts → cjs/button-group.d.ts} +4 -4
- package/cjs/button-group.js +157 -0
- package/{button.d.ts → cjs/button.d.ts} +2 -2
- package/cjs/button.js +129 -0
- package/{calendar.d.ts → cjs/calendar.d.ts} +4 -4
- package/cjs/calendar.js +205 -0
- package/{chart.d.ts → cjs/chart.d.ts} +19 -19
- package/{chart.js → cjs/chart.js} +27 -5
- package/{check-box.d.ts → cjs/check-box.d.ts} +2 -2
- package/cjs/check-box.js +141 -0
- package/{circular-gauge.d.ts → cjs/circular-gauge.d.ts} +4 -4
- package/{circular-gauge.js → cjs/circular-gauge.js} +27 -5
- package/{color-box.d.ts → cjs/color-box.d.ts} +20 -20
- package/{color-box.js → cjs/color-box.js} +28 -5
- package/{common → cjs/common}/charts.d.ts +2 -2
- package/{common → cjs/common}/charts.js +2 -2
- package/{common → cjs/common}/data/custom-store.d.ts +2 -2
- package/{common → cjs/common}/data/custom-store.js +2 -2
- package/{common → cjs/common}/grids.d.ts +2 -2
- package/{common → cjs/common}/grids.js +2 -2
- package/{common → cjs/common}/index.d.ts +3 -3
- package/{common → cjs/common}/index.js +2 -2
- package/{context-menu.d.ts → cjs/context-menu.d.ts} +3 -3
- package/{context-menu.js → cjs/context-menu.js} +27 -5
- package/{core → cjs/core}/component-base.d.ts +5 -5
- package/{core → cjs/core}/component-base.js +30 -5
- package/{core → cjs/core}/component.d.ts +3 -3
- package/cjs/core/component.js +95 -0
- package/{core → cjs/core}/config.d.ts +2 -2
- package/{core → cjs/core}/config.js +2 -2
- package/{core → cjs/core}/configuration/comparer.d.ts +3 -3
- package/{core → cjs/core}/configuration/comparer.js +3 -3
- package/{core → cjs/core}/configuration/config-node.d.ts +2 -2
- package/{core → cjs/core}/configuration/config-node.js +2 -2
- package/{core → cjs/core}/configuration/react/element.d.ts +2 -2
- package/{core → cjs/core}/configuration/react/element.js +2 -2
- package/{core → cjs/core}/configuration/react/templates.d.ts +2 -2
- package/{core → cjs/core}/configuration/react/templates.js +2 -2
- package/{core → cjs/core}/configuration/react/tree.d.ts +2 -2
- package/{core → cjs/core}/configuration/react/tree.js +22 -3
- package/{core → cjs/core}/configuration/tree.d.ts +2 -2
- package/{core → cjs/core}/configuration/tree.js +2 -2
- package/{core → cjs/core}/configuration/utils.d.ts +2 -2
- package/{core → cjs/core}/configuration/utils.js +3 -3
- package/{core → cjs/core}/dx-template.d.ts +2 -2
- package/cjs/core/dx-template.js +99 -0
- package/{core → cjs/core}/extension-component.d.ts +4 -4
- package/{core → cjs/core}/extension-component.js +2 -2
- package/{core → cjs/core}/helpers.d.ts +2 -2
- package/{core → cjs/core}/helpers.js +2 -2
- package/{core → cjs/core}/nested-option.d.ts +5 -5
- package/cjs/core/nested-option.js +68 -0
- package/{core → cjs/core}/options-manager.d.ts +3 -3
- package/{core → cjs/core}/options-manager.js +2 -2
- package/{core → cjs/core}/template-wrapper.d.ts +2 -2
- package/cjs/core/template-wrapper.js +140 -0
- package/{core → cjs/core}/template.d.ts +3 -3
- package/cjs/core/template.js +88 -0
- package/{core → cjs/core}/templates-manager.d.ts +3 -3
- package/cjs/core/templates-manager.js +88 -0
- package/{core → cjs/core}/templates-renderer.d.ts +2 -2
- package/cjs/core/templates-renderer.js +103 -0
- package/{core → cjs/core}/templates-store.d.ts +2 -2
- package/{core → cjs/core}/templates-store.js +3 -3
- package/{core → cjs/core}/widget-config.d.ts +2 -2
- package/{core → cjs/core}/widget-config.js +4 -4
- package/{data-grid.d.ts → cjs/data-grid.d.ts} +54 -52
- package/{data-grid.js → cjs/data-grid.js} +27 -5
- package/{date-box.d.ts → cjs/date-box.d.ts} +30 -27
- package/{date-box.js → cjs/date-box.js} +28 -5
- package/{date-range-box.d.ts → cjs/date-range-box.d.ts} +30 -27
- package/{date-range-box.js → cjs/date-range-box.js} +28 -5
- package/{defer-rendering.d.ts → cjs/defer-rendering.d.ts} +3 -3
- package/{defer-rendering.js → cjs/defer-rendering.js} +27 -5
- package/{diagram.d.ts → cjs/diagram.d.ts} +2 -2
- package/{diagram.js → cjs/diagram.js} +27 -5
- package/{draggable.d.ts → cjs/draggable.d.ts} +2 -2
- package/cjs/draggable.js +132 -0
- package/{drawer.d.ts → cjs/drawer.d.ts} +2 -2
- package/cjs/drawer.js +143 -0
- package/{drop-down-box.d.ts → cjs/drop-down-box.d.ts} +20 -20
- package/{drop-down-box.js → cjs/drop-down-box.js} +28 -5
- package/{drop-down-button.d.ts → cjs/drop-down-button.d.ts} +17 -17
- package/{drop-down-button.js → cjs/drop-down-button.js} +27 -5
- package/{file-manager.d.ts → cjs/file-manager.d.ts} +3 -3
- package/{file-manager.js → cjs/file-manager.js} +27 -5
- package/{file-uploader.d.ts → cjs/file-uploader.d.ts} +2 -2
- package/cjs/file-uploader.js +167 -0
- package/{filter-builder.d.ts → cjs/filter-builder.d.ts} +9 -9
- package/cjs/filter-builder.js +200 -0
- package/{form.d.ts → cjs/form.d.ts} +22 -19
- package/{form.js → cjs/form.js} +28 -5
- package/{funnel.d.ts → cjs/funnel.d.ts} +5 -5
- package/{funnel.js → cjs/funnel.js} +27 -5
- package/{gallery.d.ts → cjs/gallery.d.ts} +3 -3
- package/cjs/gallery.js +152 -0
- package/{gantt.d.ts → cjs/gantt.d.ts} +11 -11
- package/{gantt.js → cjs/gantt.js} +27 -5
- package/{html-editor.d.ts → cjs/html-editor.d.ts} +12 -11
- package/{html-editor.js → cjs/html-editor.js} +28 -5
- package/{index.d.ts → cjs/index.d.ts} +2 -2
- package/{index.js → cjs/index.js} +2 -2
- package/{linear-gauge.d.ts → cjs/linear-gauge.d.ts} +4 -4
- package/{linear-gauge.js → cjs/linear-gauge.js} +27 -5
- package/{list.d.ts → cjs/list.d.ts} +13 -12
- package/cjs/list.js +336 -0
- package/{load-indicator.d.ts → cjs/load-indicator.d.ts} +3 -3
- package/cjs/load-indicator.js +96 -0
- package/{load-panel.d.ts → cjs/load-panel.d.ts} +2 -2
- package/{load-panel.js → cjs/load-panel.js} +27 -5
- package/{lookup.d.ts → cjs/lookup.d.ts} +17 -17
- package/{lookup.js → cjs/lookup.js} +28 -5
- package/{map.d.ts → cjs/map.d.ts} +2 -2
- package/cjs/map.js +214 -0
- package/{menu.d.ts → cjs/menu.d.ts} +3 -3
- package/{menu.js → cjs/menu.js} +27 -5
- package/{multi-view.d.ts → cjs/multi-view.d.ts} +3 -3
- package/cjs/multi-view.js +146 -0
- package/{number-box.d.ts → cjs/number-box.d.ts} +7 -7
- package/cjs/number-box.js +229 -0
- package/{pie-chart.d.ts → cjs/pie-chart.d.ts} +10 -10
- package/{pie-chart.js → cjs/pie-chart.js} +27 -5
- package/{pivot-grid-field-chooser.d.ts → cjs/pivot-grid-field-chooser.d.ts} +3 -3
- package/cjs/pivot-grid-field-chooser.js +178 -0
- package/{pivot-grid.d.ts → cjs/pivot-grid.d.ts} +3 -3
- package/{pivot-grid.js → cjs/pivot-grid.js} +27 -5
- package/{polar-chart.d.ts → cjs/polar-chart.d.ts} +10 -10
- package/{polar-chart.js → cjs/polar-chart.js} +27 -5
- package/{popover.d.ts → cjs/popover.d.ts} +8 -8
- package/{popover.js → cjs/popover.js} +27 -5
- package/{popup.d.ts → cjs/popup.d.ts} +8 -8
- package/{popup.js → cjs/popup.js} +27 -5
- package/{progress-bar.d.ts → cjs/progress-bar.d.ts} +2 -2
- package/cjs/progress-bar.js +138 -0
- package/{radio-group.d.ts → cjs/radio-group.d.ts} +3 -3
- package/cjs/radio-group.js +177 -0
- package/{range-selector.d.ts → cjs/range-selector.d.ts} +7 -7
- package/{range-selector.js → cjs/range-selector.js} +27 -5
- package/{range-slider.d.ts → cjs/range-slider.d.ts} +3 -3
- package/cjs/range-slider.js +191 -0
- package/{recurrence-editor.d.ts → cjs/recurrence-editor.d.ts} +2 -2
- package/cjs/recurrence-editor.js +135 -0
- package/{resizable.d.ts → cjs/resizable.d.ts} +6 -6
- package/cjs/resizable.js +115 -0
- package/{responsive-box.d.ts → cjs/responsive-box.d.ts} +3 -3
- package/cjs/responsive-box.js +171 -0
- package/{sankey.d.ts → cjs/sankey.d.ts} +5 -5
- package/{sankey.js → cjs/sankey.js} +27 -5
- package/{scheduler.d.ts → cjs/scheduler.d.ts} +10 -10
- package/cjs/scheduler.js +345 -0
- package/{scroll-view.d.ts → cjs/scroll-view.d.ts} +3 -3
- package/cjs/scroll-view.js +122 -0
- package/{select-box.d.ts → cjs/select-box.d.ts} +21 -21
- package/{select-box.js → cjs/select-box.js} +28 -5
- package/{slider.d.ts → cjs/slider.d.ts} +3 -3
- package/cjs/slider.js +188 -0
- package/{sortable.d.ts → cjs/sortable.d.ts} +2 -2
- package/cjs/sortable.js +153 -0
- package/{sparkline.d.ts → cjs/sparkline.d.ts} +5 -5
- package/cjs/sparkline.js +237 -0
- package/{speed-dial-action.d.ts → cjs/speed-dial-action.d.ts} +3 -3
- package/cjs/speed-dial-action.js +94 -0
- package/{switch.d.ts → cjs/switch.d.ts} +2 -2
- package/cjs/switch.js +138 -0
- package/{tab-panel.d.ts → cjs/tab-panel.d.ts} +4 -4
- package/cjs/tab-panel.js +188 -0
- package/{tabs.d.ts → cjs/tabs.d.ts} +3 -3
- package/cjs/tabs.js +183 -0
- package/{tag-box.d.ts → cjs/tag-box.d.ts} +21 -21
- package/{tag-box.js → cjs/tag-box.js} +28 -5
- package/{text-area.d.ts → cjs/text-area.d.ts} +2 -2
- package/cjs/text-area.js +180 -0
- package/{text-box.d.ts → cjs/text-box.d.ts} +6 -6
- package/cjs/text-box.js +227 -0
- package/{tile-view.d.ts → cjs/tile-view.d.ts} +3 -3
- package/cjs/tile-view.js +157 -0
- package/{toast.d.ts → cjs/toast.d.ts} +2 -2
- package/{toast.js → cjs/toast.js} +27 -5
- package/{toolbar.d.ts → cjs/toolbar.d.ts} +4 -4
- package/cjs/toolbar.js +140 -0
- package/{tooltip.d.ts → cjs/tooltip.d.ts} +6 -6
- package/{tooltip.js → cjs/tooltip.js} +27 -5
- package/{tree-list.d.ts → cjs/tree-list.d.ts} +53 -51
- package/{tree-list.js → cjs/tree-list.js} +27 -5
- package/{tree-map.d.ts → cjs/tree-map.d.ts} +4 -4
- package/{tree-map.js → cjs/tree-map.js} +27 -5
- package/{tree-view.d.ts → cjs/tree-view.d.ts} +10 -9
- package/cjs/tree-view.js +282 -0
- package/{validation-group.d.ts → cjs/validation-group.d.ts} +3 -3
- package/cjs/validation-group.js +91 -0
- package/{validation-summary.d.ts → cjs/validation-summary.d.ts} +3 -3
- package/cjs/validation-summary.js +116 -0
- package/{validator.d.ts → cjs/validator.d.ts} +5 -3
- package/{validator.js → cjs/validator.js} +27 -5
- package/{vector-map.d.ts → cjs/vector-map.d.ts} +8 -8
- package/{vector-map.js → cjs/vector-map.js} +27 -5
- package/color-box/package.json +6 -0
- package/common/charts/package.json +6 -0
- package/common/data/custom-store/package.json +6 -0
- package/common/grids/package.json +6 -0
- package/common/package.json +6 -0
- package/context-menu/package.json +6 -0
- package/core/template/package.json +6 -0
- package/data-grid/package.json +6 -0
- package/date-box/package.json +6 -0
- package/date-range-box/package.json +6 -0
- package/defer-rendering/package.json +6 -0
- package/diagram/package.json +6 -0
- package/draggable/package.json +6 -0
- package/drawer/package.json +6 -0
- package/drop-down-box/package.json +6 -0
- package/drop-down-button/package.json +6 -0
- package/{accordion.js → esm/accordion.js} +11 -15
- package/{action-sheet.js → esm/action-sheet.js} +11 -15
- package/esm/autocomplete.js +395 -0
- package/esm/bar-gauge.js +400 -0
- package/{box.js → esm/box.js} +11 -15
- package/{bullet.js → esm/bullet.js} +17 -27
- package/{button-group.js → esm/button-group.js} +11 -15
- package/{button.js → esm/button.js} +9 -13
- package/{calendar.js → esm/calendar.js} +19 -12
- package/esm/chart.js +1234 -0
- package/{check-box.js → esm/check-box.js} +10 -12
- package/esm/circular-gauge.js +373 -0
- package/esm/color-box.js +353 -0
- package/esm/common/charts.js +14 -0
- package/esm/common/data/custom-store.js +14 -0
- package/esm/common/grids.js +14 -0
- package/esm/common/index.js +14 -0
- package/esm/context-menu.js +304 -0
- package/esm/core/component-base.js +208 -0
- package/{core → esm/core}/component.js +12 -12
- package/esm/core/config.js +35 -0
- package/esm/core/configuration/comparer.js +98 -0
- package/esm/core/configuration/config-node.js +14 -0
- package/esm/core/configuration/react/element.js +62 -0
- package/esm/core/configuration/react/templates.js +74 -0
- package/esm/core/configuration/react/tree.js +101 -0
- package/esm/core/configuration/tree.js +118 -0
- package/esm/core/configuration/utils.js +47 -0
- package/{core → esm/core}/dx-template.js +13 -16
- package/esm/core/extension-component.js +46 -0
- package/esm/core/helpers.js +54 -0
- package/{core → esm/core}/nested-option.js +8 -9
- package/esm/core/options-manager.js +222 -0
- package/{core → esm/core}/template-wrapper.js +10 -12
- package/{core → esm/core}/template.js +6 -10
- package/{core → esm/core}/templates-manager.js +8 -10
- package/{core → esm/core}/templates-renderer.js +12 -12
- package/esm/core/templates-store.js +47 -0
- package/esm/core/widget-config.js +55 -0
- package/esm/data-grid.js +1287 -0
- package/esm/date-box.js +416 -0
- package/esm/date-range-box.js +398 -0
- package/esm/defer-rendering.js +175 -0
- package/esm/diagram.js +449 -0
- package/{draggable.js → esm/draggable.js} +11 -15
- package/{drawer.js → esm/drawer.js} +9 -12
- package/esm/drop-down-box.js +360 -0
- package/esm/drop-down-button.js +288 -0
- package/esm/file-manager.js +243 -0
- package/{file-uploader.js → esm/file-uploader.js} +10 -12
- package/{filter-builder.js → esm/filter-builder.js} +16 -25
- package/esm/form.js +478 -0
- package/esm/funnel.js +470 -0
- package/{gallery.js → esm/gallery.js} +11 -15
- package/esm/gantt.js +472 -0
- package/esm/html-editor.js +302 -0
- package/esm/index.js +92 -0
- package/esm/linear-gauge.js +376 -0
- package/{list.js → esm/list.js} +17 -27
- package/{load-indicator.js → esm/load-indicator.js} +9 -12
- package/esm/load-panel.js +242 -0
- package/esm/lookup.js +406 -0
- package/{map.js → esm/map.js} +16 -25
- package/esm/menu.js +317 -0
- package/{multi-view.js → esm/multi-view.js} +11 -15
- package/{number-box.js → esm/number-box.js} +14 -19
- package/esm/pie-chart.js +601 -0
- package/{pivot-grid-field-chooser.js → esm/pivot-grid-field-chooser.js} +15 -23
- package/esm/pivot-grid.js +248 -0
- package/esm/polar-chart.js +967 -0
- package/esm/popover.js +297 -0
- package/esm/popup.js +288 -0
- package/{progress-bar.js → esm/progress-bar.js} +10 -12
- package/{radio-group.js → esm/radio-group.js} +12 -15
- package/esm/range-selector.js +742 -0
- package/{range-slider.js → esm/range-slider.js} +14 -19
- package/{recurrence-editor.js → esm/recurrence-editor.js} +10 -12
- package/{resizable.js → esm/resizable.js} +9 -12
- package/{responsive-box.js → esm/responsive-box.js} +14 -21
- package/esm/sankey.js +363 -0
- package/{scheduler.js → esm/scheduler.js} +15 -23
- package/{scroll-view.js → esm/scroll-view.js} +9 -12
- package/esm/select-box.js +409 -0
- package/{slider.js → esm/slider.js} +14 -19
- package/{sortable.js → esm/sortable.js} +11 -15
- package/{sparkline.js → esm/sparkline.js} +17 -27
- package/{speed-dial-action.js → esm/speed-dial-action.js} +9 -12
- package/{switch.js → esm/switch.js} +10 -12
- package/{tab-panel.js → esm/tab-panel.js} +36 -15
- package/{tabs.js → esm/tabs.js} +34 -15
- package/esm/tag-box.js +433 -0
- package/{text-area.js → esm/text-area.js} +10 -12
- package/{text-box.js → esm/text-box.js} +13 -17
- package/{tile-view.js → esm/tile-view.js} +11 -15
- package/esm/toast.js +245 -0
- package/{toolbar.js → esm/toolbar.js} +11 -15
- package/esm/tooltip.js +265 -0
- package/esm/tree-list.js +1152 -0
- package/esm/tree-map.js +369 -0
- package/{tree-view.js → esm/tree-view.js} +14 -21
- package/{validation-group.js → esm/validation-group.js} +9 -12
- package/{validation-summary.js → esm/validation-summary.js} +11 -15
- package/esm/validator.js +213 -0
- package/esm/vector-map.js +444 -0
- package/file-manager/package.json +6 -0
- package/file-uploader/package.json +6 -0
- package/filter-builder/package.json +6 -0
- package/form/package.json +6 -0
- package/funnel/package.json +6 -0
- package/gallery/package.json +6 -0
- package/gantt/package.json +6 -0
- package/html-editor/package.json +6 -0
- package/linear-gauge/package.json +6 -0
- package/list/package.json +6 -0
- package/load-indicator/package.json +6 -0
- package/load-panel/package.json +6 -0
- package/lookup/package.json +6 -0
- package/map/package.json +6 -0
- package/menu/package.json +6 -0
- package/multi-view/package.json +6 -0
- package/number-box/package.json +6 -0
- package/package.json +15 -13
- package/pie-chart/package.json +6 -0
- package/pivot-grid/package.json +6 -0
- package/pivot-grid-field-chooser/package.json +6 -0
- package/polar-chart/package.json +6 -0
- package/popover/package.json +6 -0
- package/popup/package.json +6 -0
- package/progress-bar/package.json +6 -0
- package/radio-group/package.json +6 -0
- package/range-selector/package.json +6 -0
- package/range-slider/package.json +6 -0
- package/recurrence-editor/package.json +6 -0
- package/resizable/package.json +6 -0
- package/responsive-box/package.json +6 -0
- package/sankey/package.json +6 -0
- package/scheduler/package.json +6 -0
- package/scroll-view/package.json +6 -0
- package/select-box/package.json +6 -0
- package/slider/package.json +6 -0
- package/sortable/package.json +6 -0
- package/sparkline/package.json +6 -0
- package/speed-dial-action/package.json +6 -0
- package/switch/package.json +6 -0
- package/tab-panel/package.json +6 -0
- package/tabs/package.json +6 -0
- package/tag-box/package.json +6 -0
- package/template/package.json +6 -0
- package/text-area/package.json +6 -0
- package/text-box/package.json +6 -0
- package/tile-view/package.json +6 -0
- package/toast/package.json +6 -0
- package/toolbar/package.json +6 -0
- package/tooltip/package.json +6 -0
- package/tree-list/package.json +6 -0
- package/tree-map/package.json +6 -0
- package/tree-view/package.json +6 -0
- package/validation-group/package.json +6 -0
- package/validation-summary/package.json +6 -0
- package/validator/package.json +6 -0
- package/vector-map/package.json +6 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018 Developer Express Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Developer Express Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/box/package.json
ADDED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.1-alpha-23255-1813
|
|
4
|
+
* Build date: Tue Sep 12 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -80,10 +80,10 @@ declare type IItemProps = React.PropsWithChildren<{
|
|
|
80
80
|
disabled?: boolean;
|
|
81
81
|
html?: string;
|
|
82
82
|
icon?: string;
|
|
83
|
-
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
|
|
83
|
+
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
|
|
84
84
|
text?: string;
|
|
85
85
|
title?: string;
|
|
86
|
-
titleTemplate?: (() => string) | template;
|
|
86
|
+
titleTemplate?: (() => string | any) | template;
|
|
87
87
|
visible?: boolean;
|
|
88
88
|
render?: (...params: any) => React.ReactNode;
|
|
89
89
|
component?: React.ComponentType<any>;
|
package/cjs/accordion.js
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* devextreme-react
|
|
3
|
+
* Version: 23.2.1-alpha-23255-1813
|
|
4
|
+
* Build date: Tue Sep 12 2023
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
|
+
*
|
|
8
|
+
* This software may be modified and distributed under the terms
|
|
9
|
+
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
10
|
+
*
|
|
11
|
+
* https://github.com/DevExpress/devextreme-react
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
"use strict";
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
31
|
+
if (k2 === undefined) k2 = k;
|
|
32
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
33
|
+
}) : (function(o, m, k, k2) {
|
|
34
|
+
if (k2 === undefined) k2 = k;
|
|
35
|
+
o[k2] = m[k];
|
|
36
|
+
}));
|
|
37
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
38
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
39
|
+
}) : function(o, v) {
|
|
40
|
+
o["default"] = v;
|
|
41
|
+
});
|
|
42
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
43
|
+
if (mod && mod.__esModule) return mod;
|
|
44
|
+
var result = {};
|
|
45
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
46
|
+
__setModuleDefault(result, mod);
|
|
47
|
+
return result;
|
|
48
|
+
};
|
|
49
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
50
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.Item = exports.Accordion = void 0;
|
|
54
|
+
var accordion_1 = __importDefault(require("devextreme/ui/accordion"));
|
|
55
|
+
var PropTypes = __importStar(require("prop-types"));
|
|
56
|
+
var component_1 = require("./core/component");
|
|
57
|
+
var nested_option_1 = __importDefault(require("./core/nested-option"));
|
|
58
|
+
var Accordion = /** @class */ (function (_super) {
|
|
59
|
+
__extends(Accordion, _super);
|
|
60
|
+
function Accordion() {
|
|
61
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
62
|
+
_this._WidgetClass = accordion_1.default;
|
|
63
|
+
_this.subscribableOptions = ["items", "selectedIndex", "selectedItem", "selectedItemKeys", "selectedItems"];
|
|
64
|
+
_this.independentEvents = ["onContentReady", "onDisposing", "onInitialized", "onItemClick", "onItemContextMenu", "onItemHold", "onItemRendered", "onItemTitleClick"];
|
|
65
|
+
_this._defaults = {
|
|
66
|
+
defaultItems: "items",
|
|
67
|
+
defaultSelectedIndex: "selectedIndex",
|
|
68
|
+
defaultSelectedItem: "selectedItem",
|
|
69
|
+
defaultSelectedItemKeys: "selectedItemKeys",
|
|
70
|
+
defaultSelectedItems: "selectedItems"
|
|
71
|
+
};
|
|
72
|
+
_this._expectedChildren = {
|
|
73
|
+
item: { optionName: "items", isCollectionItem: true }
|
|
74
|
+
};
|
|
75
|
+
_this._templateProps = [{
|
|
76
|
+
tmplOption: "itemTemplate",
|
|
77
|
+
render: "itemRender",
|
|
78
|
+
component: "itemComponent",
|
|
79
|
+
keyFn: "itemKeyFn"
|
|
80
|
+
}, {
|
|
81
|
+
tmplOption: "itemTitleTemplate",
|
|
82
|
+
render: "itemTitleRender",
|
|
83
|
+
component: "itemTitleComponent",
|
|
84
|
+
keyFn: "itemTitleKeyFn"
|
|
85
|
+
}];
|
|
86
|
+
return _this;
|
|
87
|
+
}
|
|
88
|
+
Object.defineProperty(Accordion.prototype, "instance", {
|
|
89
|
+
get: function () {
|
|
90
|
+
return this._instance;
|
|
91
|
+
},
|
|
92
|
+
enumerable: false,
|
|
93
|
+
configurable: true
|
|
94
|
+
});
|
|
95
|
+
return Accordion;
|
|
96
|
+
}(component_1.Component));
|
|
97
|
+
exports.Accordion = Accordion;
|
|
98
|
+
Accordion.propTypes = {
|
|
99
|
+
accessKey: PropTypes.string,
|
|
100
|
+
activeStateEnabled: PropTypes.bool,
|
|
101
|
+
animationDuration: PropTypes.number,
|
|
102
|
+
collapsible: PropTypes.bool,
|
|
103
|
+
deferRendering: PropTypes.bool,
|
|
104
|
+
disabled: PropTypes.bool,
|
|
105
|
+
elementAttr: PropTypes.object,
|
|
106
|
+
focusStateEnabled: PropTypes.bool,
|
|
107
|
+
height: PropTypes.oneOfType([
|
|
108
|
+
PropTypes.func,
|
|
109
|
+
PropTypes.number,
|
|
110
|
+
PropTypes.string
|
|
111
|
+
]),
|
|
112
|
+
hint: PropTypes.string,
|
|
113
|
+
hoverStateEnabled: PropTypes.bool,
|
|
114
|
+
itemHoldTimeout: PropTypes.number,
|
|
115
|
+
items: PropTypes.array,
|
|
116
|
+
keyExpr: PropTypes.oneOfType([
|
|
117
|
+
PropTypes.func,
|
|
118
|
+
PropTypes.string
|
|
119
|
+
]),
|
|
120
|
+
multiple: PropTypes.bool,
|
|
121
|
+
noDataText: PropTypes.string,
|
|
122
|
+
onContentReady: PropTypes.func,
|
|
123
|
+
onDisposing: PropTypes.func,
|
|
124
|
+
onInitialized: PropTypes.func,
|
|
125
|
+
onItemClick: PropTypes.func,
|
|
126
|
+
onItemContextMenu: PropTypes.func,
|
|
127
|
+
onItemHold: PropTypes.func,
|
|
128
|
+
onItemRendered: PropTypes.func,
|
|
129
|
+
onItemTitleClick: PropTypes.func,
|
|
130
|
+
onOptionChanged: PropTypes.func,
|
|
131
|
+
onSelectionChanged: PropTypes.func,
|
|
132
|
+
repaintChangesOnly: PropTypes.bool,
|
|
133
|
+
rtlEnabled: PropTypes.bool,
|
|
134
|
+
selectedIndex: PropTypes.number,
|
|
135
|
+
selectedItemKeys: PropTypes.array,
|
|
136
|
+
selectedItems: PropTypes.array,
|
|
137
|
+
tabIndex: PropTypes.number,
|
|
138
|
+
visible: PropTypes.bool,
|
|
139
|
+
width: PropTypes.oneOfType([
|
|
140
|
+
PropTypes.func,
|
|
141
|
+
PropTypes.number,
|
|
142
|
+
PropTypes.string
|
|
143
|
+
])
|
|
144
|
+
};
|
|
145
|
+
var Item = /** @class */ (function (_super) {
|
|
146
|
+
__extends(Item, _super);
|
|
147
|
+
function Item() {
|
|
148
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
149
|
+
}
|
|
150
|
+
Item.OptionName = "items";
|
|
151
|
+
Item.IsCollectionItem = true;
|
|
152
|
+
Item.TemplateProps = [{
|
|
153
|
+
tmplOption: "template",
|
|
154
|
+
render: "render",
|
|
155
|
+
component: "component",
|
|
156
|
+
keyFn: "keyFn"
|
|
157
|
+
}, {
|
|
158
|
+
tmplOption: "titleTemplate",
|
|
159
|
+
render: "titleRender",
|
|
160
|
+
component: "titleComponent",
|
|
161
|
+
keyFn: "titleKeyFn"
|
|
162
|
+
}];
|
|
163
|
+
return Item;
|
|
164
|
+
}(nested_option_1.default));
|
|
165
|
+
exports.Item = Item;
|
|
166
|
+
exports.default = Accordion;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.1-alpha-23255-1813
|
|
4
|
+
* Build date: Tue Sep 12 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -70,9 +70,9 @@ declare type IItemProps = React.PropsWithChildren<{
|
|
|
70
70
|
icon?: string;
|
|
71
71
|
onClick?: ((e: NativeEventInfo<any>) => void);
|
|
72
72
|
stylingMode?: "text" | "outlined" | "contained";
|
|
73
|
-
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
|
|
73
|
+
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
|
|
74
74
|
text?: string;
|
|
75
|
-
type?: "
|
|
75
|
+
type?: "danger" | "default" | "normal" | "success";
|
|
76
76
|
render?: (...params: any) => React.ReactNode;
|
|
77
77
|
component?: React.ComponentType<any>;
|
|
78
78
|
keyFn?: (data: any) => string;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* devextreme-react
|
|
3
|
+
* Version: 23.2.1-alpha-23255-1813
|
|
4
|
+
* Build date: Tue Sep 12 2023
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
|
+
*
|
|
8
|
+
* This software may be modified and distributed under the terms
|
|
9
|
+
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
10
|
+
*
|
|
11
|
+
* https://github.com/DevExpress/devextreme-react
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
"use strict";
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
31
|
+
if (k2 === undefined) k2 = k;
|
|
32
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
33
|
+
}) : (function(o, m, k, k2) {
|
|
34
|
+
if (k2 === undefined) k2 = k;
|
|
35
|
+
o[k2] = m[k];
|
|
36
|
+
}));
|
|
37
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
38
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
39
|
+
}) : function(o, v) {
|
|
40
|
+
o["default"] = v;
|
|
41
|
+
});
|
|
42
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
43
|
+
if (mod && mod.__esModule) return mod;
|
|
44
|
+
var result = {};
|
|
45
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
46
|
+
__setModuleDefault(result, mod);
|
|
47
|
+
return result;
|
|
48
|
+
};
|
|
49
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
50
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.Item = exports.ActionSheet = void 0;
|
|
54
|
+
var action_sheet_1 = __importDefault(require("devextreme/ui/action_sheet"));
|
|
55
|
+
var PropTypes = __importStar(require("prop-types"));
|
|
56
|
+
var component_1 = require("./core/component");
|
|
57
|
+
var nested_option_1 = __importDefault(require("./core/nested-option"));
|
|
58
|
+
var ActionSheet = /** @class */ (function (_super) {
|
|
59
|
+
__extends(ActionSheet, _super);
|
|
60
|
+
function ActionSheet() {
|
|
61
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
62
|
+
_this._WidgetClass = action_sheet_1.default;
|
|
63
|
+
_this.subscribableOptions = ["items", "visible"];
|
|
64
|
+
_this.independentEvents = ["onCancelClick", "onContentReady", "onDisposing", "onInitialized", "onItemClick", "onItemContextMenu", "onItemHold", "onItemRendered"];
|
|
65
|
+
_this._defaults = {
|
|
66
|
+
defaultItems: "items",
|
|
67
|
+
defaultVisible: "visible"
|
|
68
|
+
};
|
|
69
|
+
_this._expectedChildren = {
|
|
70
|
+
item: { optionName: "items", isCollectionItem: true }
|
|
71
|
+
};
|
|
72
|
+
_this._templateProps = [{
|
|
73
|
+
tmplOption: "itemTemplate",
|
|
74
|
+
render: "itemRender",
|
|
75
|
+
component: "itemComponent",
|
|
76
|
+
keyFn: "itemKeyFn"
|
|
77
|
+
}];
|
|
78
|
+
return _this;
|
|
79
|
+
}
|
|
80
|
+
Object.defineProperty(ActionSheet.prototype, "instance", {
|
|
81
|
+
get: function () {
|
|
82
|
+
return this._instance;
|
|
83
|
+
},
|
|
84
|
+
enumerable: false,
|
|
85
|
+
configurable: true
|
|
86
|
+
});
|
|
87
|
+
return ActionSheet;
|
|
88
|
+
}(component_1.Component));
|
|
89
|
+
exports.ActionSheet = ActionSheet;
|
|
90
|
+
ActionSheet.propTypes = {
|
|
91
|
+
cancelText: PropTypes.string,
|
|
92
|
+
disabled: PropTypes.bool,
|
|
93
|
+
elementAttr: PropTypes.object,
|
|
94
|
+
height: PropTypes.oneOfType([
|
|
95
|
+
PropTypes.func,
|
|
96
|
+
PropTypes.number,
|
|
97
|
+
PropTypes.string
|
|
98
|
+
]),
|
|
99
|
+
hint: PropTypes.string,
|
|
100
|
+
hoverStateEnabled: PropTypes.bool,
|
|
101
|
+
itemHoldTimeout: PropTypes.number,
|
|
102
|
+
items: PropTypes.array,
|
|
103
|
+
onCancelClick: PropTypes.func,
|
|
104
|
+
onContentReady: PropTypes.func,
|
|
105
|
+
onDisposing: PropTypes.func,
|
|
106
|
+
onInitialized: PropTypes.func,
|
|
107
|
+
onItemClick: PropTypes.func,
|
|
108
|
+
onItemContextMenu: PropTypes.func,
|
|
109
|
+
onItemHold: PropTypes.func,
|
|
110
|
+
onItemRendered: PropTypes.func,
|
|
111
|
+
onOptionChanged: PropTypes.func,
|
|
112
|
+
rtlEnabled: PropTypes.bool,
|
|
113
|
+
showCancelButton: PropTypes.bool,
|
|
114
|
+
showTitle: PropTypes.bool,
|
|
115
|
+
title: PropTypes.string,
|
|
116
|
+
usePopover: PropTypes.bool,
|
|
117
|
+
visible: PropTypes.bool,
|
|
118
|
+
width: PropTypes.oneOfType([
|
|
119
|
+
PropTypes.func,
|
|
120
|
+
PropTypes.number,
|
|
121
|
+
PropTypes.string
|
|
122
|
+
])
|
|
123
|
+
};
|
|
124
|
+
var Item = /** @class */ (function (_super) {
|
|
125
|
+
__extends(Item, _super);
|
|
126
|
+
function Item() {
|
|
127
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
128
|
+
}
|
|
129
|
+
Item.OptionName = "items";
|
|
130
|
+
Item.IsCollectionItem = true;
|
|
131
|
+
Item.TemplateProps = [{
|
|
132
|
+
tmplOption: "template",
|
|
133
|
+
render: "render",
|
|
134
|
+
component: "component",
|
|
135
|
+
keyFn: "keyFn"
|
|
136
|
+
}];
|
|
137
|
+
return Item;
|
|
138
|
+
}(nested_option_1.default));
|
|
139
|
+
exports.Item = Item;
|
|
140
|
+
exports.default = ActionSheet;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.1-alpha-23255-1813
|
|
4
|
+
* Build date: Tue Sep 12 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -156,7 +156,7 @@ declare type IDropDownOptionsProps = React.PropsWithChildren<{
|
|
|
156
156
|
bindingOptions?: Record<string, any>;
|
|
157
157
|
closeOnOutsideClick?: boolean | ((event: event) => boolean);
|
|
158
158
|
container?: any | string;
|
|
159
|
-
contentTemplate?: ((contentElement: any) => string) | template;
|
|
159
|
+
contentTemplate?: ((contentElement: any) => string | any) | template;
|
|
160
160
|
copyRootClassesToWrapper?: boolean;
|
|
161
161
|
deferRendering?: boolean;
|
|
162
162
|
disabled?: boolean;
|
|
@@ -167,15 +167,15 @@ declare type IDropDownOptionsProps = React.PropsWithChildren<{
|
|
|
167
167
|
enableBodyScroll?: boolean;
|
|
168
168
|
focusStateEnabled?: boolean;
|
|
169
169
|
fullScreen?: boolean;
|
|
170
|
-
height?: (() => number) | number | string;
|
|
170
|
+
height?: (() => number | string) | number | string;
|
|
171
171
|
hideOnOutsideClick?: boolean | ((event: event) => boolean);
|
|
172
172
|
hideOnParentScroll?: boolean;
|
|
173
173
|
hint?: string;
|
|
174
174
|
hoverStateEnabled?: boolean;
|
|
175
|
-
maxHeight?: (() => number) | number | string;
|
|
176
|
-
maxWidth?: (() => number) | number | string;
|
|
177
|
-
minHeight?: (() => number) | number | string;
|
|
178
|
-
minWidth?: (() => number) | number | string;
|
|
175
|
+
maxHeight?: (() => number | string) | number | string;
|
|
176
|
+
maxWidth?: (() => number | string) | number | string;
|
|
177
|
+
minHeight?: (() => number | string) | number | string;
|
|
178
|
+
minWidth?: (() => number | string) | number | string;
|
|
179
179
|
onContentReady?: ((e: EventInfo<any>) => void);
|
|
180
180
|
onDisposing?: ((e: EventInfo<any>) => void);
|
|
181
181
|
onHidden?: ((e: EventInfo<any>) => void);
|
|
@@ -245,19 +245,19 @@ declare type IDropDownOptionsProps = React.PropsWithChildren<{
|
|
|
245
245
|
showTitle?: boolean;
|
|
246
246
|
tabIndex?: number;
|
|
247
247
|
title?: string;
|
|
248
|
-
titleTemplate?: ((titleElement: any) => string) | template;
|
|
248
|
+
titleTemplate?: ((titleElement: any) => string | any) | template;
|
|
249
249
|
toolbarItems?: Array<dxPopupToolbarItem>;
|
|
250
250
|
visible?: boolean;
|
|
251
|
-
width?: (() => number) | number | string;
|
|
251
|
+
width?: (() => number | string) | number | string;
|
|
252
252
|
wrapperAttr?: any;
|
|
253
|
-
defaultHeight?: (() => number) | number | string;
|
|
254
|
-
onHeightChange?: (value: (() => number) | number | string) => void;
|
|
253
|
+
defaultHeight?: (() => number | string) | number | string;
|
|
254
|
+
onHeightChange?: (value: (() => number | string) | number | string) => void;
|
|
255
255
|
defaultPosition?: (() => void) | PositionConfig | "bottom" | "center" | "left" | "left bottom" | "left top" | "right" | "right bottom" | "right top" | "top";
|
|
256
256
|
onPositionChange?: (value: (() => void) | PositionConfig | "bottom" | "center" | "left" | "left bottom" | "left top" | "right" | "right bottom" | "right top" | "top") => void;
|
|
257
257
|
defaultVisible?: boolean;
|
|
258
258
|
onVisibleChange?: (value: boolean) => void;
|
|
259
|
-
defaultWidth?: (() => number) | number | string;
|
|
260
|
-
onWidthChange?: (value: (() => number) | number | string) => void;
|
|
259
|
+
defaultWidth?: (() => number | string) | number | string;
|
|
260
|
+
onWidthChange?: (value: (() => number | string) | number | string) => void;
|
|
261
261
|
contentRender?: (...params: any) => React.ReactNode;
|
|
262
262
|
contentComponent?: React.ComponentType<any>;
|
|
263
263
|
contentKeyFn?: (data: any) => string;
|
|
@@ -338,7 +338,7 @@ declare class Hide extends NestedOption<IHideProps> {
|
|
|
338
338
|
declare type IItemProps = React.PropsWithChildren<{
|
|
339
339
|
disabled?: boolean;
|
|
340
340
|
html?: string;
|
|
341
|
-
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
|
|
341
|
+
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
|
|
342
342
|
text?: string;
|
|
343
343
|
visible?: boolean;
|
|
344
344
|
render?: (...params: any) => React.ReactNode;
|
|
@@ -376,7 +376,7 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
376
376
|
disabled?: boolean;
|
|
377
377
|
elementAttr?: Record<string, any>;
|
|
378
378
|
focusStateEnabled?: boolean;
|
|
379
|
-
height?: (() => number) | number | string;
|
|
379
|
+
height?: (() => number | string) | number | string;
|
|
380
380
|
hint?: string;
|
|
381
381
|
hoverStateEnabled?: boolean;
|
|
382
382
|
icon?: string;
|
|
@@ -391,13 +391,13 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
391
391
|
template?: ((buttonData: {
|
|
392
392
|
icon: string;
|
|
393
393
|
text: string;
|
|
394
|
-
}, contentElement: any) => string) | template;
|
|
394
|
+
}, contentElement: any) => string | any) | template;
|
|
395
395
|
text?: string;
|
|
396
|
-
type?: "
|
|
396
|
+
type?: "danger" | "default" | "normal" | "success";
|
|
397
397
|
useSubmitBehavior?: boolean;
|
|
398
398
|
validationGroup?: string;
|
|
399
399
|
visible?: boolean;
|
|
400
|
-
width?: (() => number) | number | string;
|
|
400
|
+
width?: (() => number | string) | number | string;
|
|
401
401
|
render?: (...params: any) => React.ReactNode;
|
|
402
402
|
component?: React.ComponentType<any>;
|
|
403
403
|
keyFn?: (data: any) => string;
|
|
@@ -469,10 +469,10 @@ declare type IToolbarItemProps = React.PropsWithChildren<{
|
|
|
469
469
|
html?: string;
|
|
470
470
|
locateInMenu?: "always" | "auto" | "never";
|
|
471
471
|
location?: "after" | "before" | "center";
|
|
472
|
-
menuItemTemplate?: (() => string) | template;
|
|
472
|
+
menuItemTemplate?: (() => string | any) | template;
|
|
473
473
|
options?: any;
|
|
474
474
|
showText?: "always" | "inMenu";
|
|
475
|
-
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
|
|
475
|
+
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
|
|
476
476
|
text?: string;
|
|
477
477
|
toolbar?: "bottom" | "top";
|
|
478
478
|
visible?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.1-alpha-23255-1813
|
|
4
|
+
* Build date: Tue Sep 12 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -27,12 +27,34 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
27
27
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
28
|
};
|
|
29
29
|
})();
|
|
30
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
31
|
+
if (k2 === undefined) k2 = k;
|
|
32
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
33
|
+
}) : (function(o, m, k, k2) {
|
|
34
|
+
if (k2 === undefined) k2 = k;
|
|
35
|
+
o[k2] = m[k];
|
|
36
|
+
}));
|
|
37
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
38
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
39
|
+
}) : function(o, v) {
|
|
40
|
+
o["default"] = v;
|
|
41
|
+
});
|
|
42
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
43
|
+
if (mod && mod.__esModule) return mod;
|
|
44
|
+
var result = {};
|
|
45
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
46
|
+
__setModuleDefault(result, mod);
|
|
47
|
+
return result;
|
|
48
|
+
};
|
|
49
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
50
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
51
|
+
};
|
|
30
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
53
|
exports.ToolbarItem = exports.To = exports.Show = exports.Position = exports.Options = exports.Offset = exports.My = exports.Item = exports.Hide = exports.From = exports.DropDownOptions = exports.Collision = exports.Button = exports.BoundaryOffset = exports.At = exports.Animation = exports.Autocomplete = void 0;
|
|
32
|
-
var autocomplete_1 = require("devextreme/ui/autocomplete");
|
|
33
|
-
var PropTypes = require("prop-types");
|
|
54
|
+
var autocomplete_1 = __importDefault(require("devextreme/ui/autocomplete"));
|
|
55
|
+
var PropTypes = __importStar(require("prop-types"));
|
|
34
56
|
var component_1 = require("./core/component");
|
|
35
|
-
var nested_option_1 = require("./core/nested-option");
|
|
57
|
+
var nested_option_1 = __importDefault(require("./core/nested-option"));
|
|
36
58
|
var Autocomplete = /** @class */ (function (_super) {
|
|
37
59
|
__extends(Autocomplete, _super);
|
|
38
60
|
function Autocomplete() {
|
|
@@ -95,6 +117,7 @@ Autocomplete.propTypes = {
|
|
|
95
117
|
]),
|
|
96
118
|
hint: PropTypes.string,
|
|
97
119
|
hoverStateEnabled: PropTypes.bool,
|
|
120
|
+
isDirty: PropTypes.bool,
|
|
98
121
|
isValid: PropTypes.bool,
|
|
99
122
|
items: PropTypes.array,
|
|
100
123
|
label: PropTypes.string,
|