devextreme-react 23.2.1-alpha-23255-1340 → 23.2.2-beta
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/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} +2 -2
- package/{accordion.js → cjs/accordion.js} +3 -2
- package/{action-sheet.d.ts → cjs/action-sheet.d.ts} +2 -2
- package/{action-sheet.js → cjs/action-sheet.js} +3 -2
- package/{autocomplete.d.ts → cjs/autocomplete.d.ts} +2 -2
- package/{autocomplete.js → cjs/autocomplete.js} +5 -3
- package/{bar-gauge.d.ts → cjs/bar-gauge.d.ts} +18 -18
- package/{bar-gauge.js → cjs/bar-gauge.js} +3 -2
- package/{box.d.ts → cjs/box.d.ts} +3 -3
- package/{box.js → cjs/box.js} +3 -2
- package/{bullet.d.ts → cjs/bullet.d.ts} +4 -4
- package/{bullet.js → cjs/bullet.js} +3 -2
- package/{button-group.d.ts → cjs/button-group.d.ts} +2 -2
- package/{button-group.js → cjs/button-group.js} +3 -2
- package/{button.d.ts → cjs/button.d.ts} +2 -2
- package/{button.js → cjs/button.js} +3 -2
- package/{calendar.d.ts → cjs/calendar.d.ts} +2 -2
- package/{calendar.js → cjs/calendar.js} +3 -2
- package/{chart.d.ts → cjs/chart.d.ts} +60 -61
- package/{chart.js → cjs/chart.js} +3 -2
- package/{check-box.d.ts → cjs/check-box.d.ts} +2 -2
- package/{check-box.js → cjs/check-box.js} +3 -2
- package/{circular-gauge.d.ts → cjs/circular-gauge.d.ts} +13 -14
- package/{circular-gauge.js → cjs/circular-gauge.js} +3 -2
- package/{color-box.d.ts → cjs/color-box.d.ts} +2 -2
- package/{color-box.js → cjs/color-box.js} +5 -3
- package/cjs/common/charts.d.ts +14 -0
- 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 +2 -2
- package/{common → cjs/common}/index.js +2 -2
- package/{context-menu.d.ts → cjs/context-menu.d.ts} +2 -2
- package/{context-menu.js → cjs/context-menu.js} +3 -2
- package/{core → cjs/core}/component-base.d.ts +13 -6
- package/{core → cjs/core}/component-base.js +81 -32
- package/{core → cjs/core}/component.d.ts +2 -2
- package/{core → cjs/core}/component.js +2 -2
- 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 +2 -2
- package/{core → cjs/core}/configuration/comparer.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/{core → cjs/core}/extension-component.d.ts +2 -2
- package/{core → cjs/core}/extension-component.js +2 -2
- package/{core → cjs/core}/helpers.d.ts +14 -3
- package/cjs/core/helpers.js +210 -0
- package/{core → cjs/core}/nested-option.d.ts +2 -2
- package/{core → cjs/core}/nested-option.js +2 -2
- package/{core → cjs/core}/options-manager.d.ts +7 -6
- package/{core → cjs/core}/options-manager.js +37 -22
- package/cjs/core/template-manager.d.ts +16 -0
- package/cjs/core/template-manager.js +180 -0
- package/cjs/core/template-wrapper.d.ts +16 -0
- package/cjs/core/template-wrapper.js +136 -0
- package/{core → cjs/core}/template.d.ts +2 -2
- package/{core → cjs/core}/template.js +2 -2
- package/cjs/core/types.d.ts +59 -0
- package/cjs/core/types.js +15 -0
- package/{core → cjs/core}/widget-config.d.ts +2 -2
- package/{core → cjs/core}/widget-config.js +2 -2
- package/{data-grid.d.ts → cjs/data-grid.d.ts} +5 -12
- package/{data-grid.js → cjs/data-grid.js} +3 -2
- package/{date-box.d.ts → cjs/date-box.d.ts} +2 -2
- package/{date-box.js → cjs/date-box.js} +5 -3
- package/{date-range-box.d.ts → cjs/date-range-box.d.ts} +2 -2
- package/{date-range-box.js → cjs/date-range-box.js} +5 -3
- package/{defer-rendering.d.ts → cjs/defer-rendering.d.ts} +2 -2
- package/{defer-rendering.js → cjs/defer-rendering.js} +3 -2
- package/{diagram.d.ts → cjs/diagram.d.ts} +2 -2
- package/{diagram.js → cjs/diagram.js} +3 -2
- package/{draggable.d.ts → cjs/draggable.d.ts} +2 -2
- package/{draggable.js → cjs/draggable.js} +3 -2
- package/{drawer.d.ts → cjs/drawer.d.ts} +2 -2
- package/{drawer.js → cjs/drawer.js} +3 -2
- package/{drop-down-box.d.ts → cjs/drop-down-box.d.ts} +2 -2
- package/{drop-down-box.js → cjs/drop-down-box.js} +5 -3
- package/{drop-down-button.d.ts → cjs/drop-down-button.d.ts} +2 -2
- package/{drop-down-button.js → cjs/drop-down-button.js} +12 -2
- package/{file-manager.d.ts → cjs/file-manager.d.ts} +2 -2
- package/{file-manager.js → cjs/file-manager.js} +3 -2
- package/{file-uploader.d.ts → cjs/file-uploader.d.ts} +2 -2
- package/{file-uploader.js → cjs/file-uploader.js} +3 -2
- package/{filter-builder.d.ts → cjs/filter-builder.d.ts} +2 -2
- package/{filter-builder.js → cjs/filter-builder.js} +3 -2
- package/{form.d.ts → cjs/form.d.ts} +2 -2
- package/{form.js → cjs/form.js} +3 -2
- package/{funnel.d.ts → cjs/funnel.d.ts} +18 -18
- package/{funnel.js → cjs/funnel.js} +3 -2
- package/{gallery.d.ts → cjs/gallery.d.ts} +2 -2
- package/{gallery.js → cjs/gallery.js} +3 -2
- package/{gantt.d.ts → cjs/gantt.d.ts} +2 -2
- package/{gantt.js → cjs/gantt.js} +3 -2
- package/{html-editor.d.ts → cjs/html-editor.d.ts} +2 -2
- package/{html-editor.js → cjs/html-editor.js} +3 -2
- 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} +13 -14
- package/{linear-gauge.js → cjs/linear-gauge.js} +3 -2
- package/{list.d.ts → cjs/list.d.ts} +3 -3
- package/{list.js → cjs/list.js} +3 -2
- package/{load-indicator.d.ts → cjs/load-indicator.d.ts} +2 -2
- package/{load-indicator.js → cjs/load-indicator.js} +3 -2
- package/{load-panel.d.ts → cjs/load-panel.d.ts} +2 -2
- package/{load-panel.js → cjs/load-panel.js} +3 -2
- package/{lookup.d.ts → cjs/lookup.d.ts} +2 -2
- package/{lookup.js → cjs/lookup.js} +5 -3
- package/{map.d.ts → cjs/map.d.ts} +2 -2
- package/{map.js → cjs/map.js} +3 -2
- package/{menu.d.ts → cjs/menu.d.ts} +2 -2
- package/{menu.js → cjs/menu.js} +3 -2
- package/{multi-view.d.ts → cjs/multi-view.d.ts} +2 -2
- package/{multi-view.js → cjs/multi-view.js} +3 -2
- package/{number-box.d.ts → cjs/number-box.d.ts} +2 -2
- package/{number-box.js → cjs/number-box.js} +5 -3
- package/{pie-chart.d.ts → cjs/pie-chart.d.ts} +22 -23
- package/{pie-chart.js → cjs/pie-chart.js} +3 -2
- package/{pivot-grid-field-chooser.d.ts → cjs/pivot-grid-field-chooser.d.ts} +2 -2
- package/{pivot-grid-field-chooser.js → cjs/pivot-grid-field-chooser.js} +3 -2
- package/{pivot-grid.d.ts → cjs/pivot-grid.d.ts} +2 -2
- package/{pivot-grid.js → cjs/pivot-grid.js} +3 -2
- package/{polar-chart.d.ts → cjs/polar-chart.d.ts} +46 -47
- package/{polar-chart.js → cjs/polar-chart.js} +3 -2
- package/{popover.d.ts → cjs/popover.d.ts} +2 -2
- package/{popover.js → cjs/popover.js} +3 -2
- package/{popup.d.ts → cjs/popup.d.ts} +2 -2
- package/{popup.js → cjs/popup.js} +3 -2
- package/{progress-bar.d.ts → cjs/progress-bar.d.ts} +2 -2
- package/{progress-bar.js → cjs/progress-bar.js} +3 -2
- package/{radio-group.d.ts → cjs/radio-group.d.ts} +2 -2
- package/{radio-group.js → cjs/radio-group.js} +3 -2
- package/{range-selector.d.ts → cjs/range-selector.d.ts} +14 -15
- package/{range-selector.js → cjs/range-selector.js} +3 -2
- package/{range-slider.d.ts → cjs/range-slider.d.ts} +2 -2
- package/{range-slider.js → cjs/range-slider.js} +3 -2
- package/{recurrence-editor.d.ts → cjs/recurrence-editor.d.ts} +2 -2
- package/{recurrence-editor.js → cjs/recurrence-editor.js} +3 -2
- package/{resizable.d.ts → cjs/resizable.d.ts} +2 -2
- package/{resizable.js → cjs/resizable.js} +3 -2
- package/{responsive-box.d.ts → cjs/responsive-box.d.ts} +4 -4
- package/{responsive-box.js → cjs/responsive-box.js} +3 -2
- package/{sankey.d.ts → cjs/sankey.d.ts} +9 -9
- package/{sankey.js → cjs/sankey.js} +3 -2
- package/{scheduler.d.ts → cjs/scheduler.d.ts} +3 -2
- package/{scheduler.js → cjs/scheduler.js} +4 -2
- package/{scroll-view.d.ts → cjs/scroll-view.d.ts} +2 -2
- package/{scroll-view.js → cjs/scroll-view.js} +3 -2
- package/{select-box.d.ts → cjs/select-box.d.ts} +2 -2
- package/{select-box.js → cjs/select-box.js} +5 -3
- package/{slider.d.ts → cjs/slider.d.ts} +2 -2
- package/{slider.js → cjs/slider.js} +3 -2
- package/{sortable.d.ts → cjs/sortable.d.ts} +2 -2
- package/{sortable.js → cjs/sortable.js} +3 -2
- package/{sparkline.d.ts → cjs/sparkline.d.ts} +4 -4
- package/{sparkline.js → cjs/sparkline.js} +3 -2
- package/{speed-dial-action.d.ts → cjs/speed-dial-action.d.ts} +2 -2
- package/{speed-dial-action.js → cjs/speed-dial-action.js} +3 -2
- package/{switch.d.ts → cjs/switch.d.ts} +2 -2
- package/{switch.js → cjs/switch.js} +3 -2
- package/{tab-panel.d.ts → cjs/tab-panel.d.ts} +2 -2
- package/{tab-panel.js → cjs/tab-panel.js} +3 -2
- package/{tabs.d.ts → cjs/tabs.d.ts} +2 -2
- package/{tabs.js → cjs/tabs.js} +3 -2
- package/{tag-box.d.ts → cjs/tag-box.d.ts} +2 -2
- package/{tag-box.js → cjs/tag-box.js} +5 -3
- package/{text-area.d.ts → cjs/text-area.d.ts} +2 -2
- package/{text-area.js → cjs/text-area.js} +5 -3
- package/{text-box.d.ts → cjs/text-box.d.ts} +2 -2
- package/{text-box.js → cjs/text-box.js} +5 -3
- package/{tile-view.d.ts → cjs/tile-view.d.ts} +2 -2
- package/{tile-view.js → cjs/tile-view.js} +3 -2
- package/{toast.d.ts → cjs/toast.d.ts} +2 -2
- package/{toast.js → cjs/toast.js} +3 -2
- package/{toolbar.d.ts → cjs/toolbar.d.ts} +2 -2
- package/{toolbar.js → cjs/toolbar.js} +3 -2
- package/{tooltip.d.ts → cjs/tooltip.d.ts} +2 -2
- package/{tooltip.js → cjs/tooltip.js} +3 -2
- package/{tree-list.d.ts → cjs/tree-list.d.ts} +2 -2
- package/{tree-list.js → cjs/tree-list.js} +3 -2
- package/{tree-map.d.ts → cjs/tree-map.d.ts} +13 -13
- package/{tree-map.js → cjs/tree-map.js} +3 -2
- package/{tree-view.d.ts → cjs/tree-view.d.ts} +3 -3
- package/{tree-view.js → cjs/tree-view.js} +3 -2
- package/{validation-group.d.ts → cjs/validation-group.d.ts} +2 -2
- package/{validation-group.js → cjs/validation-group.js} +3 -2
- package/{validation-summary.d.ts → cjs/validation-summary.d.ts} +2 -2
- package/{validation-summary.js → cjs/validation-summary.js} +3 -2
- package/{validator.d.ts → cjs/validator.d.ts} +2 -2
- package/{validator.js → cjs/validator.js} +3 -2
- package/{vector-map.d.ts → cjs/vector-map.d.ts} +21 -21
- package/{vector-map.js → cjs/vector-map.js} +3 -2
- 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/component/package.json +6 -0
- package/core/config/package.json +6 -0
- package/core/extension-component/package.json +6 -0
- package/core/nested-option/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/esm/accordion.js +141 -0
- package/esm/action-sheet.js +115 -0
- package/esm/autocomplete.js +397 -0
- package/esm/bar-gauge.js +401 -0
- package/esm/box.js +133 -0
- package/esm/bullet.js +171 -0
- package/esm/button-group.js +132 -0
- package/esm/button.js +105 -0
- package/esm/calendar.js +181 -0
- package/esm/chart.js +1235 -0
- package/esm/check-box.js +117 -0
- package/esm/circular-gauge.js +374 -0
- package/esm/color-box.js +355 -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 +305 -0
- package/esm/core/component-base.js +260 -0
- package/esm/core/component.js +73 -0
- 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/esm/core/extension-component.js +46 -0
- package/esm/core/helpers.js +205 -0
- package/esm/core/nested-option.js +47 -0
- package/esm/core/options-manager.js +237 -0
- package/esm/core/template-manager.js +157 -0
- package/esm/core/template-wrapper.js +114 -0
- package/esm/core/template.js +65 -0
- package/esm/core/types.js +14 -0
- package/esm/core/widget-config.js +55 -0
- package/esm/data-grid.js +1288 -0
- package/esm/date-box.js +418 -0
- package/esm/date-range-box.js +400 -0
- package/esm/defer-rendering.js +176 -0
- package/esm/diagram.js +450 -0
- package/esm/draggable.js +107 -0
- package/esm/drawer.js +119 -0
- package/esm/drop-down-box.js +362 -0
- package/esm/drop-down-button.js +298 -0
- package/esm/file-manager.js +244 -0
- package/esm/file-uploader.js +143 -0
- package/esm/filter-builder.js +170 -0
- package/esm/form.js +479 -0
- package/esm/funnel.js +471 -0
- package/esm/gallery.js +127 -0
- package/esm/gantt.js +473 -0
- package/esm/html-editor.js +303 -0
- package/esm/index.js +92 -0
- package/esm/linear-gauge.js +377 -0
- package/esm/list.js +305 -0
- package/esm/load-indicator.js +72 -0
- package/esm/load-panel.js +243 -0
- package/esm/lookup.js +408 -0
- package/esm/map.js +184 -0
- package/esm/menu.js +318 -0
- package/esm/multi-view.js +121 -0
- package/esm/number-box.js +203 -0
- package/esm/pie-chart.js +602 -0
- package/esm/pivot-grid-field-chooser.js +149 -0
- package/esm/pivot-grid.js +249 -0
- package/esm/polar-chart.js +968 -0
- package/esm/popover.js +298 -0
- package/esm/popup.js +289 -0
- package/esm/progress-bar.js +114 -0
- package/esm/radio-group.js +152 -0
- package/esm/range-selector.js +743 -0
- package/esm/range-slider.js +164 -0
- package/esm/recurrence-editor.js +111 -0
- package/esm/resizable.js +91 -0
- package/esm/responsive-box.js +143 -0
- package/esm/sankey.js +364 -0
- package/esm/scheduler.js +317 -0
- package/esm/scroll-view.js +98 -0
- package/esm/select-box.js +411 -0
- package/esm/slider.js +161 -0
- package/esm/sortable.js +128 -0
- package/esm/sparkline.js +206 -0
- package/esm/speed-dial-action.js +70 -0
- package/esm/switch.js +114 -0
- package/esm/tab-panel.js +163 -0
- package/esm/tabs.js +158 -0
- package/esm/tag-box.js +435 -0
- package/esm/text-area.js +157 -0
- package/esm/text-box.js +202 -0
- package/esm/tile-view.js +132 -0
- package/esm/toast.js +246 -0
- package/esm/toolbar.js +115 -0
- package/esm/tooltip.js +266 -0
- package/esm/tree-list.js +1153 -0
- package/esm/tree-map.js +370 -0
- package/esm/tree-view.js +254 -0
- package/esm/validation-group.js +67 -0
- package/esm/validation-summary.js +91 -0
- package/esm/validator.js +214 -0
- package/esm/vector-map.js +445 -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 +8 -8
- 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/common/charts.d.ts +0 -14
- package/core/dx-template.d.ts +0 -26
- package/core/dx-template.js +0 -99
- package/core/helpers.js +0 -59
- package/core/template-wrapper.d.ts +0 -41
- package/core/template-wrapper.js +0 -140
- package/core/templates-manager.d.ts +0 -25
- package/core/templates-manager.js +0 -88
- package/core/templates-renderer.d.ts +0 -28
- package/core/templates-renderer.js +0 -103
- package/core/templates-store.d.ts +0 -24
- package/core/templates-store.js +0 -50
package/esm/popover.js
ADDED
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* devextreme-react
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 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 client";
|
|
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
|
+
import dxPopover from "devextreme/ui/popover";
|
|
31
|
+
import * as PropTypes from "prop-types";
|
|
32
|
+
import { Component as BaseComponent } from "./core/component";
|
|
33
|
+
import NestedOption from "./core/nested-option";
|
|
34
|
+
var Popover = /** @class */ (function (_super) {
|
|
35
|
+
__extends(Popover, _super);
|
|
36
|
+
function Popover() {
|
|
37
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
38
|
+
_this._WidgetClass = dxPopover;
|
|
39
|
+
_this.isPortalComponent = true;
|
|
40
|
+
_this.subscribableOptions = ["height", "position", "visible", "width"];
|
|
41
|
+
_this.independentEvents = ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onShowing", "onShown", "onTitleRendered"];
|
|
42
|
+
_this._defaults = {
|
|
43
|
+
defaultHeight: "height",
|
|
44
|
+
defaultPosition: "position",
|
|
45
|
+
defaultVisible: "visible",
|
|
46
|
+
defaultWidth: "width"
|
|
47
|
+
};
|
|
48
|
+
_this._expectedChildren = {
|
|
49
|
+
animation: { optionName: "animation", isCollectionItem: false },
|
|
50
|
+
hideEvent: { optionName: "hideEvent", isCollectionItem: false },
|
|
51
|
+
position: { optionName: "position", isCollectionItem: false },
|
|
52
|
+
showEvent: { optionName: "showEvent", isCollectionItem: false },
|
|
53
|
+
toolbarItem: { optionName: "toolbarItems", isCollectionItem: true }
|
|
54
|
+
};
|
|
55
|
+
_this._templateProps = [{
|
|
56
|
+
tmplOption: "contentTemplate",
|
|
57
|
+
render: "contentRender",
|
|
58
|
+
component: "contentComponent",
|
|
59
|
+
keyFn: "contentKeyFn"
|
|
60
|
+
}, {
|
|
61
|
+
tmplOption: "titleTemplate",
|
|
62
|
+
render: "titleRender",
|
|
63
|
+
component: "titleComponent",
|
|
64
|
+
keyFn: "titleKeyFn"
|
|
65
|
+
}];
|
|
66
|
+
return _this;
|
|
67
|
+
}
|
|
68
|
+
Object.defineProperty(Popover.prototype, "instance", {
|
|
69
|
+
get: function () {
|
|
70
|
+
return this._instance;
|
|
71
|
+
},
|
|
72
|
+
enumerable: false,
|
|
73
|
+
configurable: true
|
|
74
|
+
});
|
|
75
|
+
return Popover;
|
|
76
|
+
}(BaseComponent));
|
|
77
|
+
Popover.propTypes = {
|
|
78
|
+
animation: PropTypes.object,
|
|
79
|
+
closeOnOutsideClick: PropTypes.oneOfType([
|
|
80
|
+
PropTypes.bool,
|
|
81
|
+
PropTypes.func
|
|
82
|
+
]),
|
|
83
|
+
copyRootClassesToWrapper: PropTypes.bool,
|
|
84
|
+
deferRendering: PropTypes.bool,
|
|
85
|
+
disabled: PropTypes.bool,
|
|
86
|
+
enableBodyScroll: PropTypes.bool,
|
|
87
|
+
height: PropTypes.oneOfType([
|
|
88
|
+
PropTypes.func,
|
|
89
|
+
PropTypes.number,
|
|
90
|
+
PropTypes.string
|
|
91
|
+
]),
|
|
92
|
+
hideEvent: PropTypes.oneOfType([
|
|
93
|
+
PropTypes.object,
|
|
94
|
+
PropTypes.string
|
|
95
|
+
]),
|
|
96
|
+
hideOnOutsideClick: PropTypes.oneOfType([
|
|
97
|
+
PropTypes.bool,
|
|
98
|
+
PropTypes.func
|
|
99
|
+
]),
|
|
100
|
+
hideOnParentScroll: PropTypes.bool,
|
|
101
|
+
hint: PropTypes.string,
|
|
102
|
+
hoverStateEnabled: PropTypes.bool,
|
|
103
|
+
maxHeight: PropTypes.oneOfType([
|
|
104
|
+
PropTypes.func,
|
|
105
|
+
PropTypes.number,
|
|
106
|
+
PropTypes.string
|
|
107
|
+
]),
|
|
108
|
+
maxWidth: PropTypes.oneOfType([
|
|
109
|
+
PropTypes.func,
|
|
110
|
+
PropTypes.number,
|
|
111
|
+
PropTypes.string
|
|
112
|
+
]),
|
|
113
|
+
minHeight: PropTypes.oneOfType([
|
|
114
|
+
PropTypes.func,
|
|
115
|
+
PropTypes.number,
|
|
116
|
+
PropTypes.string
|
|
117
|
+
]),
|
|
118
|
+
minWidth: PropTypes.oneOfType([
|
|
119
|
+
PropTypes.func,
|
|
120
|
+
PropTypes.number,
|
|
121
|
+
PropTypes.string
|
|
122
|
+
]),
|
|
123
|
+
onContentReady: PropTypes.func,
|
|
124
|
+
onDisposing: PropTypes.func,
|
|
125
|
+
onHidden: PropTypes.func,
|
|
126
|
+
onHiding: PropTypes.func,
|
|
127
|
+
onInitialized: PropTypes.func,
|
|
128
|
+
onOptionChanged: PropTypes.func,
|
|
129
|
+
onShowing: PropTypes.func,
|
|
130
|
+
onShown: PropTypes.func,
|
|
131
|
+
onTitleRendered: PropTypes.func,
|
|
132
|
+
position: PropTypes.oneOfType([
|
|
133
|
+
PropTypes.object,
|
|
134
|
+
PropTypes.oneOfType([
|
|
135
|
+
PropTypes.string,
|
|
136
|
+
PropTypes.oneOf([
|
|
137
|
+
"bottom",
|
|
138
|
+
"left",
|
|
139
|
+
"right",
|
|
140
|
+
"top"
|
|
141
|
+
])
|
|
142
|
+
])
|
|
143
|
+
]),
|
|
144
|
+
rtlEnabled: PropTypes.bool,
|
|
145
|
+
shading: PropTypes.bool,
|
|
146
|
+
shadingColor: PropTypes.string,
|
|
147
|
+
showCloseButton: PropTypes.bool,
|
|
148
|
+
showEvent: PropTypes.oneOfType([
|
|
149
|
+
PropTypes.object,
|
|
150
|
+
PropTypes.string
|
|
151
|
+
]),
|
|
152
|
+
showTitle: PropTypes.bool,
|
|
153
|
+
title: PropTypes.string,
|
|
154
|
+
toolbarItems: PropTypes.array,
|
|
155
|
+
visible: PropTypes.bool,
|
|
156
|
+
width: PropTypes.oneOfType([
|
|
157
|
+
PropTypes.func,
|
|
158
|
+
PropTypes.number,
|
|
159
|
+
PropTypes.string
|
|
160
|
+
])
|
|
161
|
+
};
|
|
162
|
+
var Animation = /** @class */ (function (_super) {
|
|
163
|
+
__extends(Animation, _super);
|
|
164
|
+
function Animation() {
|
|
165
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
166
|
+
}
|
|
167
|
+
Animation.OptionName = "animation";
|
|
168
|
+
Animation.ExpectedChildren = {
|
|
169
|
+
hide: { optionName: "hide", isCollectionItem: false },
|
|
170
|
+
show: { optionName: "show", isCollectionItem: false }
|
|
171
|
+
};
|
|
172
|
+
return Animation;
|
|
173
|
+
}(NestedOption));
|
|
174
|
+
var At = /** @class */ (function (_super) {
|
|
175
|
+
__extends(At, _super);
|
|
176
|
+
function At() {
|
|
177
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
178
|
+
}
|
|
179
|
+
At.OptionName = "at";
|
|
180
|
+
return At;
|
|
181
|
+
}(NestedOption));
|
|
182
|
+
var BoundaryOffset = /** @class */ (function (_super) {
|
|
183
|
+
__extends(BoundaryOffset, _super);
|
|
184
|
+
function BoundaryOffset() {
|
|
185
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
186
|
+
}
|
|
187
|
+
BoundaryOffset.OptionName = "boundaryOffset";
|
|
188
|
+
return BoundaryOffset;
|
|
189
|
+
}(NestedOption));
|
|
190
|
+
var Collision = /** @class */ (function (_super) {
|
|
191
|
+
__extends(Collision, _super);
|
|
192
|
+
function Collision() {
|
|
193
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
194
|
+
}
|
|
195
|
+
Collision.OptionName = "collision";
|
|
196
|
+
return Collision;
|
|
197
|
+
}(NestedOption));
|
|
198
|
+
var From = /** @class */ (function (_super) {
|
|
199
|
+
__extends(From, _super);
|
|
200
|
+
function From() {
|
|
201
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
202
|
+
}
|
|
203
|
+
From.OptionName = "from";
|
|
204
|
+
From.ExpectedChildren = {
|
|
205
|
+
position: { optionName: "position", isCollectionItem: false }
|
|
206
|
+
};
|
|
207
|
+
return From;
|
|
208
|
+
}(NestedOption));
|
|
209
|
+
var Hide = /** @class */ (function (_super) {
|
|
210
|
+
__extends(Hide, _super);
|
|
211
|
+
function Hide() {
|
|
212
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
213
|
+
}
|
|
214
|
+
Hide.OptionName = "hide";
|
|
215
|
+
Hide.ExpectedChildren = {
|
|
216
|
+
from: { optionName: "from", isCollectionItem: false },
|
|
217
|
+
to: { optionName: "to", isCollectionItem: false }
|
|
218
|
+
};
|
|
219
|
+
return Hide;
|
|
220
|
+
}(NestedOption));
|
|
221
|
+
var HideEvent = /** @class */ (function (_super) {
|
|
222
|
+
__extends(HideEvent, _super);
|
|
223
|
+
function HideEvent() {
|
|
224
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
225
|
+
}
|
|
226
|
+
HideEvent.OptionName = "hideEvent";
|
|
227
|
+
return HideEvent;
|
|
228
|
+
}(NestedOption));
|
|
229
|
+
var My = /** @class */ (function (_super) {
|
|
230
|
+
__extends(My, _super);
|
|
231
|
+
function My() {
|
|
232
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
233
|
+
}
|
|
234
|
+
My.OptionName = "my";
|
|
235
|
+
return My;
|
|
236
|
+
}(NestedOption));
|
|
237
|
+
var Offset = /** @class */ (function (_super) {
|
|
238
|
+
__extends(Offset, _super);
|
|
239
|
+
function Offset() {
|
|
240
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
241
|
+
}
|
|
242
|
+
Offset.OptionName = "offset";
|
|
243
|
+
return Offset;
|
|
244
|
+
}(NestedOption));
|
|
245
|
+
var Position = /** @class */ (function (_super) {
|
|
246
|
+
__extends(Position, _super);
|
|
247
|
+
function Position() {
|
|
248
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
249
|
+
}
|
|
250
|
+
Position.OptionName = "position";
|
|
251
|
+
return Position;
|
|
252
|
+
}(NestedOption));
|
|
253
|
+
var Show = /** @class */ (function (_super) {
|
|
254
|
+
__extends(Show, _super);
|
|
255
|
+
function Show() {
|
|
256
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
257
|
+
}
|
|
258
|
+
Show.OptionName = "show";
|
|
259
|
+
return Show;
|
|
260
|
+
}(NestedOption));
|
|
261
|
+
var ShowEvent = /** @class */ (function (_super) {
|
|
262
|
+
__extends(ShowEvent, _super);
|
|
263
|
+
function ShowEvent() {
|
|
264
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
265
|
+
}
|
|
266
|
+
ShowEvent.OptionName = "showEvent";
|
|
267
|
+
return ShowEvent;
|
|
268
|
+
}(NestedOption));
|
|
269
|
+
var To = /** @class */ (function (_super) {
|
|
270
|
+
__extends(To, _super);
|
|
271
|
+
function To() {
|
|
272
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
273
|
+
}
|
|
274
|
+
To.OptionName = "to";
|
|
275
|
+
return To;
|
|
276
|
+
}(NestedOption));
|
|
277
|
+
var ToolbarItem = /** @class */ (function (_super) {
|
|
278
|
+
__extends(ToolbarItem, _super);
|
|
279
|
+
function ToolbarItem() {
|
|
280
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
281
|
+
}
|
|
282
|
+
ToolbarItem.OptionName = "toolbarItems";
|
|
283
|
+
ToolbarItem.IsCollectionItem = true;
|
|
284
|
+
ToolbarItem.TemplateProps = [{
|
|
285
|
+
tmplOption: "menuItemTemplate",
|
|
286
|
+
render: "menuItemRender",
|
|
287
|
+
component: "menuItemComponent",
|
|
288
|
+
keyFn: "menuItemKeyFn"
|
|
289
|
+
}, {
|
|
290
|
+
tmplOption: "template",
|
|
291
|
+
render: "render",
|
|
292
|
+
component: "component",
|
|
293
|
+
keyFn: "keyFn"
|
|
294
|
+
}];
|
|
295
|
+
return ToolbarItem;
|
|
296
|
+
}(NestedOption));
|
|
297
|
+
export default Popover;
|
|
298
|
+
export { Popover, Animation, At, BoundaryOffset, Collision, From, Hide, HideEvent, My, Offset, Position, Show, ShowEvent, To, ToolbarItem };
|
package/esm/popup.js
ADDED
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* devextreme-react
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 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 client";
|
|
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
|
+
import dxPopup from "devextreme/ui/popup";
|
|
31
|
+
import * as PropTypes from "prop-types";
|
|
32
|
+
import { Component as BaseComponent } from "./core/component";
|
|
33
|
+
import NestedOption from "./core/nested-option";
|
|
34
|
+
var Popup = /** @class */ (function (_super) {
|
|
35
|
+
__extends(Popup, _super);
|
|
36
|
+
function Popup() {
|
|
37
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
38
|
+
_this._WidgetClass = dxPopup;
|
|
39
|
+
_this.isPortalComponent = true;
|
|
40
|
+
_this.subscribableOptions = ["height", "position", "visible", "width"];
|
|
41
|
+
_this.independentEvents = ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onResize", "onResizeEnd", "onResizeStart", "onShowing", "onShown", "onTitleRendered"];
|
|
42
|
+
_this._defaults = {
|
|
43
|
+
defaultHeight: "height",
|
|
44
|
+
defaultPosition: "position",
|
|
45
|
+
defaultVisible: "visible",
|
|
46
|
+
defaultWidth: "width"
|
|
47
|
+
};
|
|
48
|
+
_this._expectedChildren = {
|
|
49
|
+
animation: { optionName: "animation", isCollectionItem: false },
|
|
50
|
+
position: { optionName: "position", isCollectionItem: false },
|
|
51
|
+
toolbarItem: { optionName: "toolbarItems", isCollectionItem: true }
|
|
52
|
+
};
|
|
53
|
+
_this._templateProps = [{
|
|
54
|
+
tmplOption: "contentTemplate",
|
|
55
|
+
render: "contentRender",
|
|
56
|
+
component: "contentComponent",
|
|
57
|
+
keyFn: "contentKeyFn"
|
|
58
|
+
}, {
|
|
59
|
+
tmplOption: "titleTemplate",
|
|
60
|
+
render: "titleRender",
|
|
61
|
+
component: "titleComponent",
|
|
62
|
+
keyFn: "titleKeyFn"
|
|
63
|
+
}];
|
|
64
|
+
return _this;
|
|
65
|
+
}
|
|
66
|
+
Object.defineProperty(Popup.prototype, "instance", {
|
|
67
|
+
get: function () {
|
|
68
|
+
return this._instance;
|
|
69
|
+
},
|
|
70
|
+
enumerable: false,
|
|
71
|
+
configurable: true
|
|
72
|
+
});
|
|
73
|
+
return Popup;
|
|
74
|
+
}(BaseComponent));
|
|
75
|
+
Popup.propTypes = {
|
|
76
|
+
accessKey: PropTypes.string,
|
|
77
|
+
animation: PropTypes.object,
|
|
78
|
+
closeOnOutsideClick: PropTypes.oneOfType([
|
|
79
|
+
PropTypes.bool,
|
|
80
|
+
PropTypes.func
|
|
81
|
+
]),
|
|
82
|
+
copyRootClassesToWrapper: PropTypes.bool,
|
|
83
|
+
deferRendering: PropTypes.bool,
|
|
84
|
+
disabled: PropTypes.bool,
|
|
85
|
+
dragEnabled: PropTypes.bool,
|
|
86
|
+
dragOutsideBoundary: PropTypes.bool,
|
|
87
|
+
enableBodyScroll: PropTypes.bool,
|
|
88
|
+
focusStateEnabled: PropTypes.bool,
|
|
89
|
+
fullScreen: PropTypes.bool,
|
|
90
|
+
height: PropTypes.oneOfType([
|
|
91
|
+
PropTypes.func,
|
|
92
|
+
PropTypes.number,
|
|
93
|
+
PropTypes.string
|
|
94
|
+
]),
|
|
95
|
+
hideOnOutsideClick: PropTypes.oneOfType([
|
|
96
|
+
PropTypes.bool,
|
|
97
|
+
PropTypes.func
|
|
98
|
+
]),
|
|
99
|
+
hideOnParentScroll: PropTypes.bool,
|
|
100
|
+
hint: PropTypes.string,
|
|
101
|
+
hoverStateEnabled: PropTypes.bool,
|
|
102
|
+
maxHeight: PropTypes.oneOfType([
|
|
103
|
+
PropTypes.func,
|
|
104
|
+
PropTypes.number,
|
|
105
|
+
PropTypes.string
|
|
106
|
+
]),
|
|
107
|
+
maxWidth: PropTypes.oneOfType([
|
|
108
|
+
PropTypes.func,
|
|
109
|
+
PropTypes.number,
|
|
110
|
+
PropTypes.string
|
|
111
|
+
]),
|
|
112
|
+
minHeight: PropTypes.oneOfType([
|
|
113
|
+
PropTypes.func,
|
|
114
|
+
PropTypes.number,
|
|
115
|
+
PropTypes.string
|
|
116
|
+
]),
|
|
117
|
+
minWidth: PropTypes.oneOfType([
|
|
118
|
+
PropTypes.func,
|
|
119
|
+
PropTypes.number,
|
|
120
|
+
PropTypes.string
|
|
121
|
+
]),
|
|
122
|
+
onContentReady: PropTypes.func,
|
|
123
|
+
onDisposing: PropTypes.func,
|
|
124
|
+
onHidden: PropTypes.func,
|
|
125
|
+
onHiding: PropTypes.func,
|
|
126
|
+
onInitialized: PropTypes.func,
|
|
127
|
+
onOptionChanged: PropTypes.func,
|
|
128
|
+
onResize: PropTypes.func,
|
|
129
|
+
onResizeEnd: PropTypes.func,
|
|
130
|
+
onResizeStart: PropTypes.func,
|
|
131
|
+
onShowing: PropTypes.func,
|
|
132
|
+
onShown: PropTypes.func,
|
|
133
|
+
onTitleRendered: PropTypes.func,
|
|
134
|
+
position: PropTypes.oneOfType([
|
|
135
|
+
PropTypes.func,
|
|
136
|
+
PropTypes.object,
|
|
137
|
+
PropTypes.oneOfType([
|
|
138
|
+
PropTypes.string,
|
|
139
|
+
PropTypes.oneOf([
|
|
140
|
+
"bottom",
|
|
141
|
+
"center",
|
|
142
|
+
"left",
|
|
143
|
+
"left bottom",
|
|
144
|
+
"left top",
|
|
145
|
+
"right",
|
|
146
|
+
"right bottom",
|
|
147
|
+
"right top",
|
|
148
|
+
"top"
|
|
149
|
+
])
|
|
150
|
+
])
|
|
151
|
+
]),
|
|
152
|
+
resizeEnabled: PropTypes.bool,
|
|
153
|
+
restorePosition: PropTypes.bool,
|
|
154
|
+
rtlEnabled: PropTypes.bool,
|
|
155
|
+
shading: PropTypes.bool,
|
|
156
|
+
shadingColor: PropTypes.string,
|
|
157
|
+
showCloseButton: PropTypes.bool,
|
|
158
|
+
showTitle: PropTypes.bool,
|
|
159
|
+
tabIndex: PropTypes.number,
|
|
160
|
+
title: PropTypes.string,
|
|
161
|
+
toolbarItems: PropTypes.array,
|
|
162
|
+
visible: PropTypes.bool,
|
|
163
|
+
width: PropTypes.oneOfType([
|
|
164
|
+
PropTypes.func,
|
|
165
|
+
PropTypes.number,
|
|
166
|
+
PropTypes.string
|
|
167
|
+
])
|
|
168
|
+
};
|
|
169
|
+
var Animation = /** @class */ (function (_super) {
|
|
170
|
+
__extends(Animation, _super);
|
|
171
|
+
function Animation() {
|
|
172
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
173
|
+
}
|
|
174
|
+
Animation.OptionName = "animation";
|
|
175
|
+
Animation.ExpectedChildren = {
|
|
176
|
+
hide: { optionName: "hide", isCollectionItem: false },
|
|
177
|
+
show: { optionName: "show", isCollectionItem: false }
|
|
178
|
+
};
|
|
179
|
+
return Animation;
|
|
180
|
+
}(NestedOption));
|
|
181
|
+
var At = /** @class */ (function (_super) {
|
|
182
|
+
__extends(At, _super);
|
|
183
|
+
function At() {
|
|
184
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
185
|
+
}
|
|
186
|
+
At.OptionName = "at";
|
|
187
|
+
return At;
|
|
188
|
+
}(NestedOption));
|
|
189
|
+
var BoundaryOffset = /** @class */ (function (_super) {
|
|
190
|
+
__extends(BoundaryOffset, _super);
|
|
191
|
+
function BoundaryOffset() {
|
|
192
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
193
|
+
}
|
|
194
|
+
BoundaryOffset.OptionName = "boundaryOffset";
|
|
195
|
+
return BoundaryOffset;
|
|
196
|
+
}(NestedOption));
|
|
197
|
+
var Collision = /** @class */ (function (_super) {
|
|
198
|
+
__extends(Collision, _super);
|
|
199
|
+
function Collision() {
|
|
200
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
201
|
+
}
|
|
202
|
+
Collision.OptionName = "collision";
|
|
203
|
+
return Collision;
|
|
204
|
+
}(NestedOption));
|
|
205
|
+
var From = /** @class */ (function (_super) {
|
|
206
|
+
__extends(From, _super);
|
|
207
|
+
function From() {
|
|
208
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
209
|
+
}
|
|
210
|
+
From.OptionName = "from";
|
|
211
|
+
From.ExpectedChildren = {
|
|
212
|
+
position: { optionName: "position", isCollectionItem: false }
|
|
213
|
+
};
|
|
214
|
+
return From;
|
|
215
|
+
}(NestedOption));
|
|
216
|
+
var Hide = /** @class */ (function (_super) {
|
|
217
|
+
__extends(Hide, _super);
|
|
218
|
+
function Hide() {
|
|
219
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
220
|
+
}
|
|
221
|
+
Hide.OptionName = "hide";
|
|
222
|
+
Hide.ExpectedChildren = {
|
|
223
|
+
from: { optionName: "from", isCollectionItem: false },
|
|
224
|
+
to: { optionName: "to", isCollectionItem: false }
|
|
225
|
+
};
|
|
226
|
+
return Hide;
|
|
227
|
+
}(NestedOption));
|
|
228
|
+
var My = /** @class */ (function (_super) {
|
|
229
|
+
__extends(My, _super);
|
|
230
|
+
function My() {
|
|
231
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
232
|
+
}
|
|
233
|
+
My.OptionName = "my";
|
|
234
|
+
return My;
|
|
235
|
+
}(NestedOption));
|
|
236
|
+
var Offset = /** @class */ (function (_super) {
|
|
237
|
+
__extends(Offset, _super);
|
|
238
|
+
function Offset() {
|
|
239
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
240
|
+
}
|
|
241
|
+
Offset.OptionName = "offset";
|
|
242
|
+
return Offset;
|
|
243
|
+
}(NestedOption));
|
|
244
|
+
var Position = /** @class */ (function (_super) {
|
|
245
|
+
__extends(Position, _super);
|
|
246
|
+
function Position() {
|
|
247
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
248
|
+
}
|
|
249
|
+
Position.OptionName = "position";
|
|
250
|
+
return Position;
|
|
251
|
+
}(NestedOption));
|
|
252
|
+
var Show = /** @class */ (function (_super) {
|
|
253
|
+
__extends(Show, _super);
|
|
254
|
+
function Show() {
|
|
255
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
256
|
+
}
|
|
257
|
+
Show.OptionName = "show";
|
|
258
|
+
return Show;
|
|
259
|
+
}(NestedOption));
|
|
260
|
+
var To = /** @class */ (function (_super) {
|
|
261
|
+
__extends(To, _super);
|
|
262
|
+
function To() {
|
|
263
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
264
|
+
}
|
|
265
|
+
To.OptionName = "to";
|
|
266
|
+
return To;
|
|
267
|
+
}(NestedOption));
|
|
268
|
+
var ToolbarItem = /** @class */ (function (_super) {
|
|
269
|
+
__extends(ToolbarItem, _super);
|
|
270
|
+
function ToolbarItem() {
|
|
271
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
272
|
+
}
|
|
273
|
+
ToolbarItem.OptionName = "toolbarItems";
|
|
274
|
+
ToolbarItem.IsCollectionItem = true;
|
|
275
|
+
ToolbarItem.TemplateProps = [{
|
|
276
|
+
tmplOption: "menuItemTemplate",
|
|
277
|
+
render: "menuItemRender",
|
|
278
|
+
component: "menuItemComponent",
|
|
279
|
+
keyFn: "menuItemKeyFn"
|
|
280
|
+
}, {
|
|
281
|
+
tmplOption: "template",
|
|
282
|
+
render: "render",
|
|
283
|
+
component: "component",
|
|
284
|
+
keyFn: "keyFn"
|
|
285
|
+
}];
|
|
286
|
+
return ToolbarItem;
|
|
287
|
+
}(NestedOption));
|
|
288
|
+
export default Popup;
|
|
289
|
+
export { Popup, Animation, At, BoundaryOffset, Collision, From, Hide, My, Offset, Position, Show, To, ToolbarItem };
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* devextreme-react
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 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 client";
|
|
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
|
+
import dxProgressBar from "devextreme/ui/progress_bar";
|
|
31
|
+
import * as PropTypes from "prop-types";
|
|
32
|
+
import { Component as BaseComponent } from "./core/component";
|
|
33
|
+
var ProgressBar = /** @class */ (function (_super) {
|
|
34
|
+
__extends(ProgressBar, _super);
|
|
35
|
+
function ProgressBar() {
|
|
36
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
37
|
+
_this._WidgetClass = dxProgressBar;
|
|
38
|
+
_this.subscribableOptions = ["value"];
|
|
39
|
+
_this.independentEvents = ["onComplete", "onContentReady", "onDisposing", "onInitialized", "onValueChanged"];
|
|
40
|
+
_this._defaults = {
|
|
41
|
+
defaultValue: "value"
|
|
42
|
+
};
|
|
43
|
+
return _this;
|
|
44
|
+
}
|
|
45
|
+
Object.defineProperty(ProgressBar.prototype, "instance", {
|
|
46
|
+
get: function () {
|
|
47
|
+
return this._instance;
|
|
48
|
+
},
|
|
49
|
+
enumerable: false,
|
|
50
|
+
configurable: true
|
|
51
|
+
});
|
|
52
|
+
return ProgressBar;
|
|
53
|
+
}(BaseComponent));
|
|
54
|
+
ProgressBar.propTypes = {
|
|
55
|
+
disabled: PropTypes.bool,
|
|
56
|
+
elementAttr: PropTypes.object,
|
|
57
|
+
height: PropTypes.oneOfType([
|
|
58
|
+
PropTypes.func,
|
|
59
|
+
PropTypes.number,
|
|
60
|
+
PropTypes.string
|
|
61
|
+
]),
|
|
62
|
+
hint: PropTypes.string,
|
|
63
|
+
hoverStateEnabled: PropTypes.bool,
|
|
64
|
+
isDirty: PropTypes.bool,
|
|
65
|
+
isValid: PropTypes.bool,
|
|
66
|
+
max: PropTypes.number,
|
|
67
|
+
min: PropTypes.number,
|
|
68
|
+
onComplete: PropTypes.func,
|
|
69
|
+
onContentReady: PropTypes.func,
|
|
70
|
+
onDisposing: PropTypes.func,
|
|
71
|
+
onInitialized: PropTypes.func,
|
|
72
|
+
onOptionChanged: PropTypes.func,
|
|
73
|
+
onValueChanged: PropTypes.func,
|
|
74
|
+
readOnly: PropTypes.bool,
|
|
75
|
+
rtlEnabled: PropTypes.bool,
|
|
76
|
+
showStatus: PropTypes.bool,
|
|
77
|
+
statusFormat: PropTypes.oneOfType([
|
|
78
|
+
PropTypes.func,
|
|
79
|
+
PropTypes.string
|
|
80
|
+
]),
|
|
81
|
+
validationErrors: PropTypes.array,
|
|
82
|
+
validationMessageMode: PropTypes.oneOfType([
|
|
83
|
+
PropTypes.string,
|
|
84
|
+
PropTypes.oneOf([
|
|
85
|
+
"always",
|
|
86
|
+
"auto"
|
|
87
|
+
])
|
|
88
|
+
]),
|
|
89
|
+
validationMessagePosition: PropTypes.oneOfType([
|
|
90
|
+
PropTypes.string,
|
|
91
|
+
PropTypes.oneOf([
|
|
92
|
+
"bottom",
|
|
93
|
+
"left",
|
|
94
|
+
"right",
|
|
95
|
+
"top"
|
|
96
|
+
])
|
|
97
|
+
]),
|
|
98
|
+
validationStatus: PropTypes.oneOfType([
|
|
99
|
+
PropTypes.string,
|
|
100
|
+
PropTypes.oneOf([
|
|
101
|
+
"valid",
|
|
102
|
+
"invalid",
|
|
103
|
+
"pending"
|
|
104
|
+
])
|
|
105
|
+
]),
|
|
106
|
+
visible: PropTypes.bool,
|
|
107
|
+
width: PropTypes.oneOfType([
|
|
108
|
+
PropTypes.func,
|
|
109
|
+
PropTypes.number,
|
|
110
|
+
PropTypes.string
|
|
111
|
+
])
|
|
112
|
+
};
|
|
113
|
+
export default ProgressBar;
|
|
114
|
+
export { ProgressBar };
|