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
|
@@ -0,0 +1,157 @@
|
|
|
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.ButtonGroup = void 0;
|
|
54
|
+
var button_group_1 = __importDefault(require("devextreme/ui/button_group"));
|
|
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 ButtonGroup = /** @class */ (function (_super) {
|
|
59
|
+
__extends(ButtonGroup, _super);
|
|
60
|
+
function ButtonGroup() {
|
|
61
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
62
|
+
_this._WidgetClass = button_group_1.default;
|
|
63
|
+
_this.subscribableOptions = ["selectedItemKeys", "selectedItems"];
|
|
64
|
+
_this.independentEvents = ["onContentReady", "onDisposing", "onInitialized", "onItemClick"];
|
|
65
|
+
_this._defaults = {
|
|
66
|
+
defaultSelectedItemKeys: "selectedItemKeys",
|
|
67
|
+
defaultSelectedItems: "selectedItems"
|
|
68
|
+
};
|
|
69
|
+
_this._expectedChildren = {
|
|
70
|
+
item: { optionName: "items", isCollectionItem: true }
|
|
71
|
+
};
|
|
72
|
+
_this._templateProps = [{
|
|
73
|
+
tmplOption: "buttonTemplate",
|
|
74
|
+
render: "buttonRender",
|
|
75
|
+
component: "buttonComponent",
|
|
76
|
+
keyFn: "buttonKeyFn"
|
|
77
|
+
}];
|
|
78
|
+
return _this;
|
|
79
|
+
}
|
|
80
|
+
Object.defineProperty(ButtonGroup.prototype, "instance", {
|
|
81
|
+
get: function () {
|
|
82
|
+
return this._instance;
|
|
83
|
+
},
|
|
84
|
+
enumerable: false,
|
|
85
|
+
configurable: true
|
|
86
|
+
});
|
|
87
|
+
return ButtonGroup;
|
|
88
|
+
}(component_1.Component));
|
|
89
|
+
exports.ButtonGroup = ButtonGroup;
|
|
90
|
+
ButtonGroup.propTypes = {
|
|
91
|
+
accessKey: PropTypes.string,
|
|
92
|
+
activeStateEnabled: PropTypes.bool,
|
|
93
|
+
disabled: PropTypes.bool,
|
|
94
|
+
elementAttr: PropTypes.object,
|
|
95
|
+
focusStateEnabled: PropTypes.bool,
|
|
96
|
+
height: PropTypes.oneOfType([
|
|
97
|
+
PropTypes.func,
|
|
98
|
+
PropTypes.number,
|
|
99
|
+
PropTypes.string
|
|
100
|
+
]),
|
|
101
|
+
hint: PropTypes.string,
|
|
102
|
+
hoverStateEnabled: PropTypes.bool,
|
|
103
|
+
items: PropTypes.array,
|
|
104
|
+
keyExpr: PropTypes.oneOfType([
|
|
105
|
+
PropTypes.func,
|
|
106
|
+
PropTypes.string
|
|
107
|
+
]),
|
|
108
|
+
onContentReady: PropTypes.func,
|
|
109
|
+
onDisposing: PropTypes.func,
|
|
110
|
+
onInitialized: PropTypes.func,
|
|
111
|
+
onItemClick: PropTypes.func,
|
|
112
|
+
onOptionChanged: PropTypes.func,
|
|
113
|
+
onSelectionChanged: PropTypes.func,
|
|
114
|
+
rtlEnabled: PropTypes.bool,
|
|
115
|
+
selectedItemKeys: PropTypes.array,
|
|
116
|
+
selectedItems: PropTypes.array,
|
|
117
|
+
selectionMode: PropTypes.oneOfType([
|
|
118
|
+
PropTypes.string,
|
|
119
|
+
PropTypes.oneOf([
|
|
120
|
+
"single",
|
|
121
|
+
"multiple",
|
|
122
|
+
"none"
|
|
123
|
+
])
|
|
124
|
+
]),
|
|
125
|
+
stylingMode: PropTypes.oneOfType([
|
|
126
|
+
PropTypes.string,
|
|
127
|
+
PropTypes.oneOf([
|
|
128
|
+
"text",
|
|
129
|
+
"outlined",
|
|
130
|
+
"contained"
|
|
131
|
+
])
|
|
132
|
+
]),
|
|
133
|
+
tabIndex: PropTypes.number,
|
|
134
|
+
visible: PropTypes.bool,
|
|
135
|
+
width: PropTypes.oneOfType([
|
|
136
|
+
PropTypes.func,
|
|
137
|
+
PropTypes.number,
|
|
138
|
+
PropTypes.string
|
|
139
|
+
])
|
|
140
|
+
};
|
|
141
|
+
var Item = /** @class */ (function (_super) {
|
|
142
|
+
__extends(Item, _super);
|
|
143
|
+
function Item() {
|
|
144
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
145
|
+
}
|
|
146
|
+
Item.OptionName = "items";
|
|
147
|
+
Item.IsCollectionItem = true;
|
|
148
|
+
Item.TemplateProps = [{
|
|
149
|
+
tmplOption: "template",
|
|
150
|
+
render: "render",
|
|
151
|
+
component: "component",
|
|
152
|
+
keyFn: "keyFn"
|
|
153
|
+
}];
|
|
154
|
+
return Item;
|
|
155
|
+
}(nested_option_1.default));
|
|
156
|
+
exports.Item = Item;
|
|
157
|
+
exports.default = ButtonGroup;
|
package/cjs/button.js
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
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.Button = void 0;
|
|
54
|
+
var button_1 = __importDefault(require("devextreme/ui/button"));
|
|
55
|
+
var PropTypes = __importStar(require("prop-types"));
|
|
56
|
+
var component_1 = require("./core/component");
|
|
57
|
+
var Button = /** @class */ (function (_super) {
|
|
58
|
+
__extends(Button, _super);
|
|
59
|
+
function Button() {
|
|
60
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
61
|
+
_this._WidgetClass = button_1.default;
|
|
62
|
+
_this.independentEvents = ["onClick", "onContentReady", "onDisposing", "onInitialized"];
|
|
63
|
+
_this._templateProps = [{
|
|
64
|
+
tmplOption: "template",
|
|
65
|
+
render: "render",
|
|
66
|
+
component: "component",
|
|
67
|
+
keyFn: "keyFn"
|
|
68
|
+
}];
|
|
69
|
+
return _this;
|
|
70
|
+
}
|
|
71
|
+
Object.defineProperty(Button.prototype, "instance", {
|
|
72
|
+
get: function () {
|
|
73
|
+
return this._instance;
|
|
74
|
+
},
|
|
75
|
+
enumerable: false,
|
|
76
|
+
configurable: true
|
|
77
|
+
});
|
|
78
|
+
return Button;
|
|
79
|
+
}(component_1.Component));
|
|
80
|
+
exports.Button = Button;
|
|
81
|
+
Button.propTypes = {
|
|
82
|
+
accessKey: PropTypes.string,
|
|
83
|
+
activeStateEnabled: PropTypes.bool,
|
|
84
|
+
disabled: PropTypes.bool,
|
|
85
|
+
elementAttr: PropTypes.object,
|
|
86
|
+
focusStateEnabled: PropTypes.bool,
|
|
87
|
+
height: PropTypes.oneOfType([
|
|
88
|
+
PropTypes.func,
|
|
89
|
+
PropTypes.number,
|
|
90
|
+
PropTypes.string
|
|
91
|
+
]),
|
|
92
|
+
hint: PropTypes.string,
|
|
93
|
+
hoverStateEnabled: PropTypes.bool,
|
|
94
|
+
icon: PropTypes.string,
|
|
95
|
+
onClick: PropTypes.func,
|
|
96
|
+
onContentReady: PropTypes.func,
|
|
97
|
+
onDisposing: PropTypes.func,
|
|
98
|
+
onInitialized: PropTypes.func,
|
|
99
|
+
onOptionChanged: PropTypes.func,
|
|
100
|
+
rtlEnabled: PropTypes.bool,
|
|
101
|
+
stylingMode: PropTypes.oneOfType([
|
|
102
|
+
PropTypes.string,
|
|
103
|
+
PropTypes.oneOf([
|
|
104
|
+
"text",
|
|
105
|
+
"outlined",
|
|
106
|
+
"contained"
|
|
107
|
+
])
|
|
108
|
+
]),
|
|
109
|
+
tabIndex: PropTypes.number,
|
|
110
|
+
text: PropTypes.string,
|
|
111
|
+
type: PropTypes.oneOfType([
|
|
112
|
+
PropTypes.string,
|
|
113
|
+
PropTypes.oneOf([
|
|
114
|
+
"danger",
|
|
115
|
+
"default",
|
|
116
|
+
"normal",
|
|
117
|
+
"success"
|
|
118
|
+
])
|
|
119
|
+
]),
|
|
120
|
+
useSubmitBehavior: PropTypes.bool,
|
|
121
|
+
validationGroup: PropTypes.string,
|
|
122
|
+
visible: PropTypes.bool,
|
|
123
|
+
width: PropTypes.oneOfType([
|
|
124
|
+
PropTypes.func,
|
|
125
|
+
PropTypes.number,
|
|
126
|
+
PropTypes.string
|
|
127
|
+
])
|
|
128
|
+
};
|
|
129
|
+
exports.default = Button;
|
|
@@ -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,9 +27,9 @@ declare type ICalendarOptions = React.PropsWithChildren<ReplaceFieldTypes<Proper
|
|
|
27
27
|
cellRender?: (...params: any) => React.ReactNode;
|
|
28
28
|
cellComponent?: React.ComponentType<any>;
|
|
29
29
|
cellKeyFn?: (data: any) => string;
|
|
30
|
-
defaultValue?: any | number | string;
|
|
30
|
+
defaultValue?: any | Array<any | number | string> | number | string;
|
|
31
31
|
defaultZoomLevel?: "century" | "decade" | "month" | "year";
|
|
32
|
-
onValueChange?: (value: any | number | string) => void;
|
|
32
|
+
onValueChange?: (value: any | Array<any | number | string> | number | string) => void;
|
|
33
33
|
onZoomLevelChange?: (value: "century" | "decade" | "month" | "year") => void;
|
|
34
34
|
}>;
|
|
35
35
|
declare class Calendar extends BaseComponent<React.PropsWithChildren<ICalendarOptions>> {
|
package/cjs/calendar.js
ADDED
|
@@ -0,0 +1,205 @@
|
|
|
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.Calendar = void 0;
|
|
54
|
+
var calendar_1 = __importDefault(require("devextreme/ui/calendar"));
|
|
55
|
+
var PropTypes = __importStar(require("prop-types"));
|
|
56
|
+
var component_1 = require("./core/component");
|
|
57
|
+
var Calendar = /** @class */ (function (_super) {
|
|
58
|
+
__extends(Calendar, _super);
|
|
59
|
+
function Calendar() {
|
|
60
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
61
|
+
_this._WidgetClass = calendar_1.default;
|
|
62
|
+
_this.subscribableOptions = ["value", "zoomLevel"];
|
|
63
|
+
_this.independentEvents = ["onDisposing", "onInitialized", "onValueChanged"];
|
|
64
|
+
_this._defaults = {
|
|
65
|
+
defaultValue: "value",
|
|
66
|
+
defaultZoomLevel: "zoomLevel"
|
|
67
|
+
};
|
|
68
|
+
_this._templateProps = [{
|
|
69
|
+
tmplOption: "cellTemplate",
|
|
70
|
+
render: "cellRender",
|
|
71
|
+
component: "cellComponent",
|
|
72
|
+
keyFn: "cellKeyFn"
|
|
73
|
+
}];
|
|
74
|
+
return _this;
|
|
75
|
+
}
|
|
76
|
+
Object.defineProperty(Calendar.prototype, "instance", {
|
|
77
|
+
get: function () {
|
|
78
|
+
return this._instance;
|
|
79
|
+
},
|
|
80
|
+
enumerable: false,
|
|
81
|
+
configurable: true
|
|
82
|
+
});
|
|
83
|
+
return Calendar;
|
|
84
|
+
}(component_1.Component));
|
|
85
|
+
exports.Calendar = Calendar;
|
|
86
|
+
Calendar.propTypes = {
|
|
87
|
+
accessKey: PropTypes.string,
|
|
88
|
+
activeStateEnabled: PropTypes.bool,
|
|
89
|
+
dateSerializationFormat: PropTypes.string,
|
|
90
|
+
disabled: PropTypes.bool,
|
|
91
|
+
disabledDates: PropTypes.oneOfType([
|
|
92
|
+
PropTypes.array,
|
|
93
|
+
PropTypes.func
|
|
94
|
+
]),
|
|
95
|
+
elementAttr: PropTypes.object,
|
|
96
|
+
firstDayOfWeek: PropTypes.oneOfType([
|
|
97
|
+
PropTypes.number,
|
|
98
|
+
PropTypes.oneOf([
|
|
99
|
+
0,
|
|
100
|
+
1,
|
|
101
|
+
2,
|
|
102
|
+
3,
|
|
103
|
+
4,
|
|
104
|
+
5,
|
|
105
|
+
6
|
|
106
|
+
])
|
|
107
|
+
]),
|
|
108
|
+
focusStateEnabled: PropTypes.bool,
|
|
109
|
+
height: PropTypes.oneOfType([
|
|
110
|
+
PropTypes.func,
|
|
111
|
+
PropTypes.number,
|
|
112
|
+
PropTypes.string
|
|
113
|
+
]),
|
|
114
|
+
hint: PropTypes.string,
|
|
115
|
+
hoverStateEnabled: PropTypes.bool,
|
|
116
|
+
isDirty: PropTypes.bool,
|
|
117
|
+
isValid: PropTypes.bool,
|
|
118
|
+
maxZoomLevel: PropTypes.oneOfType([
|
|
119
|
+
PropTypes.string,
|
|
120
|
+
PropTypes.oneOf([
|
|
121
|
+
"century",
|
|
122
|
+
"decade",
|
|
123
|
+
"month",
|
|
124
|
+
"year"
|
|
125
|
+
])
|
|
126
|
+
]),
|
|
127
|
+
minZoomLevel: PropTypes.oneOfType([
|
|
128
|
+
PropTypes.string,
|
|
129
|
+
PropTypes.oneOf([
|
|
130
|
+
"century",
|
|
131
|
+
"decade",
|
|
132
|
+
"month",
|
|
133
|
+
"year"
|
|
134
|
+
])
|
|
135
|
+
]),
|
|
136
|
+
name: PropTypes.string,
|
|
137
|
+
onDisposing: PropTypes.func,
|
|
138
|
+
onInitialized: PropTypes.func,
|
|
139
|
+
onOptionChanged: PropTypes.func,
|
|
140
|
+
onValueChanged: PropTypes.func,
|
|
141
|
+
readOnly: PropTypes.bool,
|
|
142
|
+
rtlEnabled: PropTypes.bool,
|
|
143
|
+
selectionMode: PropTypes.oneOfType([
|
|
144
|
+
PropTypes.string,
|
|
145
|
+
PropTypes.oneOf([
|
|
146
|
+
"single",
|
|
147
|
+
"multiple",
|
|
148
|
+
"range"
|
|
149
|
+
])
|
|
150
|
+
]),
|
|
151
|
+
selectWeekOnClick: PropTypes.bool,
|
|
152
|
+
showTodayButton: PropTypes.bool,
|
|
153
|
+
showWeekNumbers: PropTypes.bool,
|
|
154
|
+
tabIndex: PropTypes.number,
|
|
155
|
+
validationErrors: PropTypes.array,
|
|
156
|
+
validationMessageMode: PropTypes.oneOfType([
|
|
157
|
+
PropTypes.string,
|
|
158
|
+
PropTypes.oneOf([
|
|
159
|
+
"always",
|
|
160
|
+
"auto"
|
|
161
|
+
])
|
|
162
|
+
]),
|
|
163
|
+
validationMessagePosition: PropTypes.oneOfType([
|
|
164
|
+
PropTypes.string,
|
|
165
|
+
PropTypes.oneOf([
|
|
166
|
+
"bottom",
|
|
167
|
+
"left",
|
|
168
|
+
"right",
|
|
169
|
+
"top"
|
|
170
|
+
])
|
|
171
|
+
]),
|
|
172
|
+
validationStatus: PropTypes.oneOfType([
|
|
173
|
+
PropTypes.string,
|
|
174
|
+
PropTypes.oneOf([
|
|
175
|
+
"valid",
|
|
176
|
+
"invalid",
|
|
177
|
+
"pending"
|
|
178
|
+
])
|
|
179
|
+
]),
|
|
180
|
+
visible: PropTypes.bool,
|
|
181
|
+
weekNumberRule: PropTypes.oneOfType([
|
|
182
|
+
PropTypes.string,
|
|
183
|
+
PropTypes.oneOf([
|
|
184
|
+
"auto",
|
|
185
|
+
"firstDay",
|
|
186
|
+
"fullWeek",
|
|
187
|
+
"firstFourDays"
|
|
188
|
+
])
|
|
189
|
+
]),
|
|
190
|
+
width: PropTypes.oneOfType([
|
|
191
|
+
PropTypes.func,
|
|
192
|
+
PropTypes.number,
|
|
193
|
+
PropTypes.string
|
|
194
|
+
]),
|
|
195
|
+
zoomLevel: PropTypes.oneOfType([
|
|
196
|
+
PropTypes.string,
|
|
197
|
+
PropTypes.oneOf([
|
|
198
|
+
"century",
|
|
199
|
+
"decade",
|
|
200
|
+
"month",
|
|
201
|
+
"year"
|
|
202
|
+
])
|
|
203
|
+
])
|
|
204
|
+
};
|
|
205
|
+
exports.default = Calendar;
|
|
@@ -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
|
*
|
|
@@ -171,7 +171,7 @@ declare class AdaptiveLayout extends NestedOption<IAdaptiveLayoutProps> {
|
|
|
171
171
|
static OptionName: string;
|
|
172
172
|
}
|
|
173
173
|
declare type IAggregationProps = React.PropsWithChildren<{
|
|
174
|
-
calculate?: ((aggregationInfo: chartPointAggregationInfoObject, series: chartSeriesObject) => Record<string, any>);
|
|
174
|
+
calculate?: ((aggregationInfo: chartPointAggregationInfoObject, series: chartSeriesObject) => Record<string, any> | Array<Record<string, any>>);
|
|
175
175
|
enabled?: boolean;
|
|
176
176
|
method?: "avg" | "count" | "max" | "min" | "ohlc" | "range" | "sum" | "custom";
|
|
177
177
|
}>;
|
|
@@ -240,11 +240,11 @@ declare type IAnnotationProps = React.PropsWithChildren<{
|
|
|
240
240
|
offsetY?: number;
|
|
241
241
|
opacity?: number;
|
|
242
242
|
};
|
|
243
|
-
template?: ((annotation: dxChartAnnotationConfig | any, element: any) => string) | template;
|
|
243
|
+
template?: ((annotation: dxChartAnnotationConfig | any, element: any) => string | any) | template;
|
|
244
244
|
text?: string;
|
|
245
245
|
textOverflow?: "ellipsis" | "hide" | "none";
|
|
246
246
|
tooltipEnabled?: boolean;
|
|
247
|
-
tooltipTemplate?: ((annotation: dxChartAnnotationConfig | any, element: any) => string) | template;
|
|
247
|
+
tooltipTemplate?: ((annotation: dxChartAnnotationConfig | any, element: any) => string | any) | template;
|
|
248
248
|
type?: "text" | "image" | "custom";
|
|
249
249
|
value?: any | number | string;
|
|
250
250
|
width?: number;
|
|
@@ -408,7 +408,7 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
|
|
|
408
408
|
template?: ((data: {
|
|
409
409
|
value: any | number | string;
|
|
410
410
|
valueText: string;
|
|
411
|
-
}, element: any) => string) | template;
|
|
411
|
+
}, element: any) => string | any) | template;
|
|
412
412
|
textOverflow?: "ellipsis" | "hide" | "none";
|
|
413
413
|
visible?: boolean;
|
|
414
414
|
wordWrap?: "normal" | "breakWord" | "none";
|
|
@@ -618,7 +618,7 @@ declare class ArgumentAxis extends NestedOption<IArgumentAxisProps> {
|
|
|
618
618
|
declare type IArgumentFormatProps = React.PropsWithChildren<{
|
|
619
619
|
currency?: string;
|
|
620
620
|
formatter?: ((value: number | any) => string);
|
|
621
|
-
parser?: ((value: string) => number);
|
|
621
|
+
parser?: ((value: string) => number | any);
|
|
622
622
|
precision?: number;
|
|
623
623
|
type?: "billions" | "currency" | "day" | "decimal" | "exponential" | "fixedPoint" | "largeNumber" | "longDate" | "longTime" | "millions" | "millisecond" | "month" | "monthAndDay" | "monthAndYear" | "percent" | "quarter" | "quarterAndYear" | "shortDate" | "shortTime" | "thousands" | "trillions" | "year" | "dayOfWeek" | "hour" | "longDateLongTime" | "minute" | "second" | "shortDateShortTime";
|
|
624
624
|
useCurrencyAccountingStyle?: boolean;
|
|
@@ -674,7 +674,7 @@ declare type IAxisLabelProps = React.PropsWithChildren<{
|
|
|
674
674
|
template?: ((data: {
|
|
675
675
|
value: any | number | string;
|
|
676
676
|
valueText: string;
|
|
677
|
-
}, element: any) => string) | template;
|
|
677
|
+
}, element: any) => string | any) | template;
|
|
678
678
|
textOverflow?: "ellipsis" | "hide" | "none";
|
|
679
679
|
visible?: boolean;
|
|
680
680
|
wordWrap?: "normal" | "breakWord" | "none";
|
|
@@ -844,11 +844,11 @@ declare type ICommonAnnotationSettingsProps = React.PropsWithChildren<{
|
|
|
844
844
|
offsetY?: number;
|
|
845
845
|
opacity?: number;
|
|
846
846
|
};
|
|
847
|
-
template?: ((annotation: dxChartAnnotationConfig | any, element: any) => string) | template;
|
|
847
|
+
template?: ((annotation: dxChartAnnotationConfig | any, element: any) => string | any) | template;
|
|
848
848
|
text?: string;
|
|
849
849
|
textOverflow?: "ellipsis" | "hide" | "none";
|
|
850
850
|
tooltipEnabled?: boolean;
|
|
851
|
-
tooltipTemplate?: ((annotation: dxChartAnnotationConfig | any, element: any) => string) | template;
|
|
851
|
+
tooltipTemplate?: ((annotation: dxChartAnnotationConfig | any, element: any) => string | any) | template;
|
|
852
852
|
type?: "text" | "image" | "custom";
|
|
853
853
|
value?: any | number | string;
|
|
854
854
|
width?: number;
|
|
@@ -913,7 +913,7 @@ declare type ICommonAxisSettingsProps = React.PropsWithChildren<{
|
|
|
913
913
|
template?: ((data: {
|
|
914
914
|
value: any | number | string;
|
|
915
915
|
valueText: string;
|
|
916
|
-
}, element: any) => string) | template;
|
|
916
|
+
}, element: any) => string | any) | template;
|
|
917
917
|
textOverflow?: "ellipsis" | "hide" | "none";
|
|
918
918
|
visible?: boolean;
|
|
919
919
|
wordWrap?: "normal" | "breakWord" | "none";
|
|
@@ -1038,7 +1038,7 @@ declare type ICommonAxisSettingsLabelProps = React.PropsWithChildren<{
|
|
|
1038
1038
|
template?: ((data: {
|
|
1039
1039
|
value: any | number | string;
|
|
1040
1040
|
valueText: string;
|
|
1041
|
-
}, element: any) => string) | template;
|
|
1041
|
+
}, element: any) => string | any) | template;
|
|
1042
1042
|
textOverflow?: "ellipsis" | "hide" | "none";
|
|
1043
1043
|
visible?: boolean;
|
|
1044
1044
|
wordWrap?: "normal" | "breakWord" | "none";
|
|
@@ -1098,7 +1098,7 @@ declare class CommonPaneSettings extends NestedOption<ICommonPaneSettingsProps>
|
|
|
1098
1098
|
}
|
|
1099
1099
|
declare type ICommonSeriesSettingsProps = React.PropsWithChildren<{
|
|
1100
1100
|
aggregation?: Record<string, any> | {
|
|
1101
|
-
calculate?: ((aggregationInfo: chartPointAggregationInfoObject, series: chartSeriesObject) => Record<string, any>);
|
|
1101
|
+
calculate?: ((aggregationInfo: chartPointAggregationInfoObject, series: chartSeriesObject) => Record<string, any> | Array<Record<string, any>>);
|
|
1102
1102
|
enabled?: boolean;
|
|
1103
1103
|
method?: "avg" | "count" | "max" | "min" | "ohlc" | "range" | "sum" | "custom";
|
|
1104
1104
|
};
|
|
@@ -1647,7 +1647,7 @@ declare class Font extends NestedOption<IFontProps> {
|
|
|
1647
1647
|
declare type IFormatProps = React.PropsWithChildren<{
|
|
1648
1648
|
currency?: string;
|
|
1649
1649
|
formatter?: ((value: number | any) => string);
|
|
1650
|
-
parser?: ((value: string) => number);
|
|
1650
|
+
parser?: ((value: string) => number | any);
|
|
1651
1651
|
precision?: number;
|
|
1652
1652
|
type?: "billions" | "currency" | "day" | "decimal" | "exponential" | "fixedPoint" | "largeNumber" | "longDate" | "longTime" | "millions" | "millisecond" | "month" | "monthAndDay" | "monthAndYear" | "percent" | "quarter" | "quarterAndYear" | "shortDate" | "shortTime" | "thousands" | "trillions" | "year" | "dayOfWeek" | "hour" | "longDateLongTime" | "minute" | "second" | "shortDateShortTime";
|
|
1653
1653
|
useCurrencyAccountingStyle?: boolean;
|
|
@@ -1789,7 +1789,7 @@ declare type ILabelProps = React.PropsWithChildren<{
|
|
|
1789
1789
|
template?: ((data: {
|
|
1790
1790
|
value: any | number | string;
|
|
1791
1791
|
valueText: string;
|
|
1792
|
-
}, element: any) => string) | template;
|
|
1792
|
+
}, element: any) => string | any) | template;
|
|
1793
1793
|
textOverflow?: "ellipsis" | "hide" | "none";
|
|
1794
1794
|
wordWrap?: "normal" | "breakWord" | "none";
|
|
1795
1795
|
argumentFormat?: LocalizationTypes.Format;
|
|
@@ -1857,7 +1857,7 @@ declare type ILegendProps = React.PropsWithChildren<{
|
|
|
1857
1857
|
top?: number;
|
|
1858
1858
|
};
|
|
1859
1859
|
markerSize?: number;
|
|
1860
|
-
markerTemplate?: ((legendItem: BaseChartLegendItem, element: any) => string) | template;
|
|
1860
|
+
markerTemplate?: ((legendItem: BaseChartLegendItem, element: any) => string | any) | template;
|
|
1861
1861
|
orientation?: "horizontal" | "vertical";
|
|
1862
1862
|
paddingLeftRight?: number;
|
|
1863
1863
|
paddingTopBottom?: number;
|
|
@@ -2321,7 +2321,7 @@ declare class SelectionStyle extends NestedOption<ISelectionStyleProps> {
|
|
|
2321
2321
|
}
|
|
2322
2322
|
declare type ISeriesProps = React.PropsWithChildren<{
|
|
2323
2323
|
aggregation?: Record<string, any> | {
|
|
2324
|
-
calculate?: ((aggregationInfo: chartPointAggregationInfoObject, series: chartSeriesObject) => Record<string, any>);
|
|
2324
|
+
calculate?: ((aggregationInfo: chartPointAggregationInfoObject, series: chartSeriesObject) => Record<string, any> | Array<Record<string, any>>);
|
|
2325
2325
|
enabled?: boolean;
|
|
2326
2326
|
method?: "avg" | "count" | "max" | "min" | "ohlc" | "range" | "sum" | "custom";
|
|
2327
2327
|
};
|
|
@@ -2652,7 +2652,7 @@ declare type ITooltipProps = React.PropsWithChildren<{
|
|
|
2652
2652
|
};
|
|
2653
2653
|
color?: string;
|
|
2654
2654
|
container?: any | string;
|
|
2655
|
-
contentTemplate?: ((pointInfo: any, element: any) => string) | template;
|
|
2655
|
+
contentTemplate?: ((pointInfo: any, element: any) => string | any) | template;
|
|
2656
2656
|
cornerRadius?: number;
|
|
2657
2657
|
customizeTooltip?: ((pointInfo: any) => Record<string, any>);
|
|
2658
2658
|
enabled?: boolean;
|
|
@@ -2807,7 +2807,7 @@ declare type IValueAxisProps = React.PropsWithChildren<{
|
|
|
2807
2807
|
template?: ((data: {
|
|
2808
2808
|
value: any | number | string;
|
|
2809
2809
|
valueText: string;
|
|
2810
|
-
}, element: any) => string) | template;
|
|
2810
|
+
}, element: any) => string | any) | template;
|
|
2811
2811
|
textOverflow?: "ellipsis" | "hide" | "none";
|
|
2812
2812
|
visible?: boolean;
|
|
2813
2813
|
wordWrap?: "normal" | "breakWord" | "none";
|