devextreme-react 25.2.7 → 26.1.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/cjs/accordion.d.ts +2 -2
- package/cjs/accordion.js +2 -2
- package/cjs/action-sheet.d.ts +2 -2
- package/cjs/action-sheet.js +2 -2
- package/cjs/autocomplete.d.ts +4 -2
- package/cjs/autocomplete.js +2 -2
- package/cjs/bar-gauge.d.ts +2 -2
- package/cjs/bar-gauge.js +2 -2
- package/cjs/box.d.ts +2 -2
- package/cjs/box.js +2 -2
- package/cjs/bullet.d.ts +2 -2
- package/cjs/bullet.js +2 -2
- package/cjs/button-group.d.ts +2 -2
- package/cjs/button-group.js +2 -2
- package/cjs/button.d.ts +2 -2
- package/cjs/button.js +2 -2
- package/cjs/calendar.d.ts +2 -2
- package/cjs/calendar.js +2 -2
- package/cjs/card-view.d.ts +4 -4
- package/cjs/card-view.js +2 -2
- package/cjs/chart.d.ts +2 -2
- package/cjs/chart.js +2 -2
- package/cjs/chat.d.ts +262 -7
- package/cjs/chat.js +125 -4
- package/cjs/check-box.d.ts +2 -2
- package/cjs/check-box.js +2 -2
- package/cjs/circular-gauge.d.ts +2 -2
- package/cjs/circular-gauge.js +2 -2
- package/cjs/color-box.d.ts +4 -2
- package/cjs/color-box.js +2 -2
- package/cjs/common/ai-integration.d.ts +4 -3
- package/cjs/common/ai-integration.js +2 -2
- package/cjs/common/charts.d.ts +4 -3
- package/cjs/common/charts.js +2 -2
- package/cjs/common/core/animation.d.ts +4 -3
- package/cjs/common/core/animation.js +2 -2
- package/cjs/common/core/environment.d.ts +4 -3
- package/cjs/common/core/environment.js +2 -2
- package/cjs/common/core/events.d.ts +4 -3
- package/cjs/common/core/events.js +2 -2
- package/cjs/common/core/index.d.ts +2 -2
- package/cjs/common/core/index.js +2 -2
- package/cjs/common/core/localization.d.ts +4 -3
- package/cjs/common/core/localization.js +2 -2
- package/cjs/common/data/custom-store.d.ts +2 -2
- package/cjs/common/data/custom-store.js +2 -2
- package/cjs/common/data.d.ts +4 -3
- package/cjs/common/data.js +2 -2
- package/cjs/common/export/excel.d.ts +4 -3
- package/cjs/common/export/excel.js +2 -2
- package/cjs/common/export/index.d.ts +2 -2
- package/cjs/common/export/index.js +2 -2
- package/cjs/common/export/pdf.d.ts +4 -3
- package/cjs/common/export/pdf.js +2 -2
- package/cjs/common/grids.d.ts +3 -3
- package/cjs/common/grids.js +2 -2
- package/cjs/common/index.d.ts +289 -9
- package/cjs/common/index.js +91 -8
- package/cjs/context-menu.d.ts +2 -2
- package/cjs/context-menu.js +2 -2
- package/cjs/core/component-base.d.ts +2 -2
- package/cjs/core/component-base.js +3 -3
- package/cjs/core/component.d.ts +2 -2
- package/cjs/core/component.js +2 -2
- package/cjs/core/config.d.ts +2 -2
- package/cjs/core/config.js +2 -2
- package/cjs/core/configuration/comparer.d.ts +2 -2
- package/cjs/core/configuration/comparer.js +4 -3
- package/cjs/core/configuration/config-node.d.ts +2 -2
- package/cjs/core/configuration/config-node.js +2 -2
- package/cjs/core/configuration/react/element.d.ts +2 -2
- package/cjs/core/configuration/react/element.js +2 -2
- package/cjs/core/configuration/react/templates.d.ts +2 -2
- package/cjs/core/configuration/react/templates.js +2 -2
- package/cjs/core/configuration/tree.d.ts +2 -2
- package/cjs/core/configuration/tree.js +2 -2
- package/cjs/core/configuration/utils.d.ts +2 -2
- package/cjs/core/configuration/utils.js +2 -2
- package/cjs/core/const.d.ts +2 -2
- package/cjs/core/const.js +2 -2
- package/cjs/core/contexts.d.ts +2 -2
- package/cjs/core/contexts.js +2 -2
- package/cjs/core/extension-component.d.ts +2 -2
- package/cjs/core/extension-component.js +2 -2
- package/cjs/core/helpers.d.ts +2 -2
- package/cjs/core/helpers.js +2 -2
- package/cjs/core/nested-option.d.ts +2 -2
- package/cjs/core/nested-option.js +2 -2
- package/cjs/core/options-manager.d.ts +2 -2
- package/cjs/core/options-manager.js +3 -3
- package/cjs/core/template-manager.d.ts +2 -2
- package/cjs/core/template-manager.js +2 -2
- package/cjs/core/template-wrapper.d.ts +2 -2
- package/cjs/core/template-wrapper.js +2 -2
- package/cjs/core/template.d.ts +2 -2
- package/cjs/core/template.js +2 -2
- package/cjs/core/types.d.ts +2 -2
- package/cjs/core/types.js +2 -2
- package/cjs/core/use-option-scanning.d.ts +2 -2
- package/cjs/core/use-option-scanning.js +2 -2
- package/cjs/core/widget-config.d.ts +2 -2
- package/cjs/core/widget-config.js +2 -2
- package/cjs/data-grid.d.ts +30 -7
- package/cjs/data-grid.js +23 -7
- package/cjs/date-box.d.ts +7 -5
- package/cjs/date-box.js +2 -2
- package/cjs/date-range-box.d.ts +7 -5
- package/cjs/date-range-box.js +2 -2
- package/cjs/diagram.d.ts +10 -10
- package/cjs/diagram.js +2 -2
- package/cjs/draggable.d.ts +2 -2
- package/cjs/draggable.js +2 -2
- package/cjs/drawer.d.ts +2 -2
- package/cjs/drawer.js +2 -2
- package/cjs/drop-down-box.d.ts +4 -2
- package/cjs/drop-down-box.js +2 -2
- package/cjs/drop-down-button.d.ts +4 -2
- package/cjs/drop-down-button.js +2 -2
- package/cjs/file-manager.d.ts +2 -2
- package/cjs/file-manager.js +2 -2
- package/cjs/file-uploader.d.ts +2 -2
- package/cjs/file-uploader.js +2 -2
- package/cjs/filter-builder.d.ts +2 -2
- package/cjs/filter-builder.js +2 -2
- package/cjs/form.d.ts +4 -4
- package/cjs/form.js +2 -2
- package/cjs/funnel.d.ts +2 -2
- package/cjs/funnel.js +2 -2
- package/cjs/gallery.d.ts +2 -2
- package/cjs/gallery.js +2 -2
- package/cjs/gantt.d.ts +36 -36
- package/cjs/gantt.js +2 -2
- package/cjs/html-editor.d.ts +2 -2
- package/cjs/html-editor.js +2 -2
- package/cjs/index.d.ts +2 -3
- package/cjs/index.js +3 -5
- package/cjs/linear-gauge.d.ts +2 -2
- package/cjs/linear-gauge.js +2 -2
- package/cjs/list.d.ts +2 -2
- package/cjs/list.js +2 -2
- package/cjs/load-indicator.d.ts +2 -2
- package/cjs/load-indicator.js +2 -2
- package/cjs/load-panel.d.ts +2 -2
- package/cjs/load-panel.js +2 -2
- package/cjs/lookup.d.ts +4 -2
- package/cjs/lookup.js +2 -2
- package/cjs/map.d.ts +2 -2
- package/cjs/map.js +2 -2
- package/cjs/menu.d.ts +2 -2
- package/cjs/menu.js +2 -2
- package/cjs/multi-view.d.ts +2 -2
- package/cjs/multi-view.js +2 -2
- package/cjs/number-box.d.ts +2 -2
- package/cjs/number-box.js +2 -2
- package/cjs/pagination.d.ts +2 -2
- package/cjs/pagination.js +2 -2
- package/cjs/pie-chart.d.ts +2 -2
- package/cjs/pie-chart.js +2 -2
- package/cjs/pivot-grid-field-chooser.d.ts +2 -2
- package/cjs/pivot-grid-field-chooser.js +2 -2
- package/cjs/pivot-grid.d.ts +2 -2
- package/cjs/pivot-grid.js +2 -2
- package/cjs/polar-chart.d.ts +2 -2
- package/cjs/polar-chart.js +2 -2
- package/cjs/popover.d.ts +2 -2
- package/cjs/popover.js +2 -2
- package/cjs/popup.d.ts +2 -2
- package/cjs/popup.js +2 -2
- package/cjs/progress-bar.d.ts +2 -2
- package/cjs/progress-bar.js +2 -2
- package/cjs/radio-group.d.ts +2 -2
- package/cjs/radio-group.js +2 -2
- package/cjs/range-selector.d.ts +2 -2
- package/cjs/range-selector.js +2 -2
- package/cjs/range-slider.d.ts +2 -2
- package/cjs/range-slider.js +2 -2
- package/cjs/resizable.d.ts +2 -2
- package/cjs/resizable.js +2 -2
- package/cjs/responsive-box.d.ts +2 -2
- package/cjs/responsive-box.js +2 -2
- package/cjs/sankey.d.ts +2 -2
- package/cjs/sankey.js +2 -2
- package/cjs/scheduler.d.ts +15 -10
- package/cjs/scheduler.js +3 -3
- package/cjs/scroll-view.d.ts +2 -2
- package/cjs/scroll-view.js +2 -2
- package/cjs/select-box.d.ts +4 -2
- package/cjs/select-box.js +2 -2
- package/cjs/slider.d.ts +2 -2
- package/cjs/slider.js +2 -2
- package/cjs/sortable.d.ts +2 -2
- package/cjs/sortable.js +2 -2
- package/cjs/sparkline.d.ts +2 -2
- package/cjs/sparkline.js +2 -2
- package/cjs/speech-to-text.d.ts +2 -2
- package/cjs/speech-to-text.js +2 -2
- package/cjs/speed-dial-action.d.ts +2 -2
- package/cjs/speed-dial-action.js +2 -2
- package/cjs/splitter.d.ts +2 -2
- package/cjs/splitter.js +2 -2
- package/cjs/stepper.d.ts +2 -2
- package/cjs/stepper.js +2 -2
- package/cjs/switch.d.ts +2 -2
- package/cjs/switch.js +2 -2
- package/cjs/tab-panel.d.ts +2 -2
- package/cjs/tab-panel.js +2 -2
- package/cjs/tabs.d.ts +2 -2
- package/cjs/tabs.js +2 -2
- package/cjs/tag-box.d.ts +4 -2
- package/cjs/tag-box.js +2 -2
- package/cjs/text-area.d.ts +2 -2
- package/cjs/text-area.js +2 -2
- package/cjs/text-box.d.ts +2 -2
- package/cjs/text-box.js +2 -2
- package/cjs/tile-view.d.ts +2 -2
- package/cjs/tile-view.js +2 -2
- package/cjs/toast.d.ts +2 -2
- package/cjs/toast.js +2 -2
- package/cjs/toolbar.d.ts +2 -2
- package/cjs/toolbar.js +2 -2
- package/cjs/tooltip.d.ts +2 -2
- package/cjs/tooltip.js +2 -2
- package/cjs/tree-list.d.ts +30 -7
- package/cjs/tree-list.js +22 -6
- package/cjs/tree-map.d.ts +2 -2
- package/cjs/tree-map.js +2 -2
- package/cjs/tree-view.d.ts +2 -2
- package/cjs/tree-view.js +2 -2
- package/cjs/validation-group.d.ts +2 -2
- package/cjs/validation-group.js +2 -2
- package/cjs/validation-summary.d.ts +2 -2
- package/cjs/validation-summary.js +2 -2
- package/cjs/validator.d.ts +2 -2
- package/cjs/validator.js +2 -2
- package/cjs/vector-map.d.ts +2 -2
- package/cjs/vector-map.js +2 -2
- package/esm/accordion.js +2 -2
- package/esm/action-sheet.js +2 -2
- package/esm/autocomplete.js +2 -2
- package/esm/bar-gauge.js +2 -2
- package/esm/box.js +2 -2
- package/esm/bullet.js +2 -2
- package/esm/button-group.js +2 -2
- package/esm/button.js +2 -2
- package/esm/calendar.js +2 -2
- package/esm/card-view.js +2 -2
- package/esm/chart.js +2 -2
- package/esm/chat.js +118 -4
- package/esm/check-box.js +2 -2
- package/esm/circular-gauge.js +2 -2
- package/esm/color-box.js +2 -2
- package/esm/common/ai-integration.js +2 -2
- package/esm/common/charts.js +2 -2
- package/esm/common/core/animation.js +2 -2
- package/esm/common/core/environment.js +2 -2
- package/esm/common/core/events.js +2 -2
- package/esm/common/core/index.js +2 -2
- package/esm/common/core/localization.js +2 -2
- package/esm/common/data/custom-store.js +2 -2
- package/esm/common/data.js +2 -2
- package/esm/common/export/excel.js +2 -2
- package/esm/common/export/index.js +2 -2
- package/esm/common/export/pdf.js +2 -2
- package/esm/common/grids.js +2 -2
- package/esm/common/index.js +90 -8
- package/esm/context-menu.js +2 -2
- package/esm/core/component-base.js +3 -3
- package/esm/core/component.js +2 -2
- package/esm/core/config.js +2 -2
- package/esm/core/configuration/comparer.js +4 -3
- package/esm/core/configuration/config-node.js +2 -2
- package/esm/core/configuration/react/element.js +2 -2
- package/esm/core/configuration/react/templates.js +2 -2
- package/esm/core/configuration/tree.js +2 -2
- package/esm/core/configuration/utils.js +2 -2
- package/esm/core/const.js +2 -2
- package/esm/core/contexts.js +2 -2
- package/esm/core/extension-component.js +2 -2
- package/esm/core/helpers.js +2 -2
- package/esm/core/nested-option.js +2 -2
- package/esm/core/options-manager.js +3 -3
- package/esm/core/template-manager.js +2 -2
- package/esm/core/template-wrapper.js +2 -2
- package/esm/core/template.js +2 -2
- package/esm/core/types.js +2 -2
- package/esm/core/use-option-scanning.js +2 -2
- package/esm/core/widget-config.js +2 -2
- package/esm/data-grid.js +20 -5
- package/esm/date-box.js +2 -2
- package/esm/date-range-box.js +2 -2
- package/esm/diagram.js +2 -2
- package/esm/draggable.js +2 -2
- package/esm/drawer.js +2 -2
- package/esm/drop-down-box.js +2 -2
- package/esm/drop-down-button.js +2 -2
- package/esm/file-manager.js +2 -2
- package/esm/file-uploader.js +2 -2
- package/esm/filter-builder.js +2 -2
- package/esm/form.js +2 -2
- package/esm/funnel.js +2 -2
- package/esm/gallery.js +2 -2
- package/esm/gantt.js +2 -2
- package/esm/html-editor.js +2 -2
- package/esm/index.js +2 -3
- package/esm/linear-gauge.js +2 -2
- package/esm/list.js +2 -2
- package/esm/load-indicator.js +2 -2
- package/esm/load-panel.js +2 -2
- package/esm/lookup.js +2 -2
- package/esm/map.js +2 -2
- package/esm/menu.js +2 -2
- package/esm/multi-view.js +2 -2
- package/esm/number-box.js +2 -2
- package/esm/pagination.js +2 -2
- package/esm/pie-chart.js +2 -2
- package/esm/pivot-grid-field-chooser.js +2 -2
- package/esm/pivot-grid.js +2 -2
- package/esm/polar-chart.js +2 -2
- package/esm/popover.js +2 -2
- package/esm/popup.js +2 -2
- package/esm/progress-bar.js +2 -2
- package/esm/radio-group.js +2 -2
- package/esm/range-selector.js +2 -2
- package/esm/range-slider.js +2 -2
- package/esm/resizable.js +2 -2
- package/esm/responsive-box.js +2 -2
- package/esm/sankey.js +2 -2
- package/esm/scheduler.js +3 -3
- package/esm/scroll-view.js +2 -2
- package/esm/select-box.js +2 -2
- package/esm/slider.js +2 -2
- package/esm/sortable.js +2 -2
- package/esm/sparkline.js +2 -2
- package/esm/speech-to-text.js +2 -2
- package/esm/speed-dial-action.js +2 -2
- package/esm/splitter.js +2 -2
- package/esm/stepper.js +2 -2
- package/esm/switch.js +2 -2
- package/esm/tab-panel.js +2 -2
- package/esm/tabs.js +2 -2
- package/esm/tag-box.js +2 -2
- package/esm/text-area.js +2 -2
- package/esm/text-box.js +2 -2
- package/esm/tile-view.js +2 -2
- package/esm/toast.js +2 -2
- package/esm/toolbar.js +2 -2
- package/esm/tooltip.js +2 -2
- package/esm/tree-list.js +20 -5
- package/esm/tree-map.js +2 -2
- package/esm/tree-view.js +2 -2
- package/esm/validation-group.js +2 -2
- package/esm/validation-summary.js +2 -2
- package/esm/validator.js +2 -2
- package/esm/vector-map.js +2 -2
- package/package.json +10 -10
- package/cjs/recurrence-editor.d.ts +0 -41
- package/cjs/recurrence-editor.js +0 -70
- package/esm/recurrence-editor.js +0 -41
- package/recurrence-editor/package.json +0 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Developer Express Inc.",
|
|
3
3
|
"name": "devextreme-react",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "26.1.2-beta",
|
|
5
5
|
"description": "DevExtreme UI and Visualization Components for React",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
],
|
|
52
52
|
"license": "MIT",
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"devextreme": "
|
|
54
|
+
"devextreme": "26.1.2-beta",
|
|
55
55
|
"react": "^16.2.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
56
56
|
"react-dom": "^16.2.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
57
57
|
},
|
|
@@ -60,21 +60,21 @@
|
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@testing-library/react": "14.3.1",
|
|
63
|
-
"@testing-library/user-event": "14.
|
|
64
|
-
"@types/react": "
|
|
65
|
-
"@types/react-dom": "
|
|
63
|
+
"@testing-library/user-event": "14.6.1",
|
|
64
|
+
"@types/react": "18.3.28",
|
|
65
|
+
"@types/react-dom": "18.3.7",
|
|
66
66
|
"@typescript-eslint/eslint-plugin": "8.52.0",
|
|
67
67
|
"@typescript-eslint/parser": "8.52.0",
|
|
68
|
-
"devextreme-metadata": "
|
|
69
|
-
"devextreme-nx-infra-plugin": "
|
|
70
|
-
"eslint": "9.
|
|
68
|
+
"devextreme-metadata": "26.1.2-beta",
|
|
69
|
+
"devextreme-nx-infra-plugin": "26.1.2-beta",
|
|
70
|
+
"eslint": "9.39.4",
|
|
71
71
|
"eslint-config-airbnb-base": "15.0.0",
|
|
72
72
|
"eslint-config-airbnb-typescript": "18.0.0",
|
|
73
73
|
"eslint-config-devextreme": "1.1.9",
|
|
74
74
|
"eslint-plugin-import": "2.32.0",
|
|
75
75
|
"jest-environment-jsdom": "29.7.0",
|
|
76
|
-
"react": "18.
|
|
77
|
-
"react-dom": "18.
|
|
76
|
+
"react": "18.3.1",
|
|
77
|
+
"react-dom": "18.3.1",
|
|
78
78
|
"ts-jest": "29.1.3",
|
|
79
79
|
"typescript": "4.9.5"
|
|
80
80
|
},
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* devextreme-react
|
|
3
|
-
* Version: 25.2.7
|
|
4
|
-
* Build date: Tue May 05 2026
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2012 - 2026 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
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import * as React from "react";
|
|
15
|
-
import { Ref, ReactElement } from "react";
|
|
16
|
-
import dxRecurrenceEditor, { Properties } from "devextreme/ui/recurrence_editor";
|
|
17
|
-
import { IHtmlOptions } from "./core/component";
|
|
18
|
-
import type { ContentReadyEvent, DisposingEvent, InitializedEvent, ValueChangedEvent } from "devextreme/ui/recurrence_editor";
|
|
19
|
-
type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
20
|
-
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
21
|
-
};
|
|
22
|
-
type IRecurrenceEditorOptionsNarrowedEvents = {
|
|
23
|
-
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
24
|
-
onDisposing?: ((e: DisposingEvent) => void);
|
|
25
|
-
onInitialized?: ((e: InitializedEvent) => void);
|
|
26
|
-
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
27
|
-
};
|
|
28
|
-
type IRecurrenceEditorOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IRecurrenceEditorOptionsNarrowedEvents> & IHtmlOptions & {
|
|
29
|
-
defaultValue?: string;
|
|
30
|
-
onValueChange?: (value: string) => void;
|
|
31
|
-
}>;
|
|
32
|
-
interface RecurrenceEditorRef {
|
|
33
|
-
instance: () => dxRecurrenceEditor;
|
|
34
|
-
}
|
|
35
|
-
declare const RecurrenceEditor: (props: React.PropsWithChildren<IRecurrenceEditorOptions> & {
|
|
36
|
-
ref?: Ref<RecurrenceEditorRef>;
|
|
37
|
-
}) => ReactElement | null;
|
|
38
|
-
export default RecurrenceEditor;
|
|
39
|
-
export { RecurrenceEditor, IRecurrenceEditorOptions, RecurrenceEditorRef };
|
|
40
|
-
import type * as RecurrenceEditorTypes from 'devextreme/ui/recurrence_editor_types';
|
|
41
|
-
export { RecurrenceEditorTypes };
|
package/cjs/recurrence-editor.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* devextreme-react
|
|
3
|
-
* Version: 25.2.7
|
|
4
|
-
* Build date: Tue May 05 2026
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2012 - 2026 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
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
"use client";
|
|
15
|
-
"use strict";
|
|
16
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
-
if (k2 === undefined) k2 = k;
|
|
18
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
19
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
20
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
21
|
-
}
|
|
22
|
-
Object.defineProperty(o, k2, desc);
|
|
23
|
-
}) : (function(o, m, k, k2) {
|
|
24
|
-
if (k2 === undefined) k2 = k;
|
|
25
|
-
o[k2] = m[k];
|
|
26
|
-
}));
|
|
27
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
28
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
29
|
-
}) : function(o, v) {
|
|
30
|
-
o["default"] = v;
|
|
31
|
-
});
|
|
32
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
33
|
-
if (mod && mod.__esModule) return mod;
|
|
34
|
-
var result = {};
|
|
35
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
36
|
-
__setModuleDefault(result, mod);
|
|
37
|
-
return result;
|
|
38
|
-
};
|
|
39
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
40
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
41
|
-
};
|
|
42
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
-
exports.RecurrenceEditor = void 0;
|
|
44
|
-
const React = __importStar(require("react"));
|
|
45
|
-
const react_1 = require("react");
|
|
46
|
-
const recurrence_editor_1 = __importDefault(require("devextreme/ui/recurrence_editor"));
|
|
47
|
-
const component_1 = require("./core/component");
|
|
48
|
-
const RecurrenceEditor = (0, react_1.memo)((0, react_1.forwardRef)((props, ref) => {
|
|
49
|
-
const baseRef = (0, react_1.useRef)(null);
|
|
50
|
-
(0, react_1.useImperativeHandle)(ref, () => ({
|
|
51
|
-
instance() {
|
|
52
|
-
return baseRef.current?.getInstance();
|
|
53
|
-
}
|
|
54
|
-
}), []);
|
|
55
|
-
const subscribableOptions = (0, react_1.useMemo)(() => (["value"]), []);
|
|
56
|
-
const independentEvents = (0, react_1.useMemo)(() => (["onContentReady", "onDisposing", "onInitialized", "onValueChanged"]), []);
|
|
57
|
-
const defaults = (0, react_1.useMemo)(() => ({
|
|
58
|
-
defaultValue: "value",
|
|
59
|
-
}), []);
|
|
60
|
-
return (React.createElement((component_1.Component), {
|
|
61
|
-
WidgetClass: recurrence_editor_1.default,
|
|
62
|
-
ref: baseRef,
|
|
63
|
-
subscribableOptions,
|
|
64
|
-
independentEvents,
|
|
65
|
-
defaults,
|
|
66
|
-
...props,
|
|
67
|
-
}));
|
|
68
|
-
}));
|
|
69
|
-
exports.RecurrenceEditor = RecurrenceEditor;
|
|
70
|
-
exports.default = RecurrenceEditor;
|
package/esm/recurrence-editor.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* devextreme-react
|
|
3
|
-
* Version: 25.2.7
|
|
4
|
-
* Build date: Tue May 05 2026
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) 2012 - 2026 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
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
"use client";
|
|
15
|
-
import * as React from "react";
|
|
16
|
-
import { memo, forwardRef, useImperativeHandle, useRef, useMemo } from "react";
|
|
17
|
-
import dxRecurrenceEditor from "devextreme/ui/recurrence_editor";
|
|
18
|
-
import { Component as BaseComponent } from "./core/component";
|
|
19
|
-
const RecurrenceEditor = memo(forwardRef((props, ref) => {
|
|
20
|
-
const baseRef = useRef(null);
|
|
21
|
-
useImperativeHandle(ref, () => ({
|
|
22
|
-
instance() {
|
|
23
|
-
return baseRef.current?.getInstance();
|
|
24
|
-
}
|
|
25
|
-
}), []);
|
|
26
|
-
const subscribableOptions = useMemo(() => (["value"]), []);
|
|
27
|
-
const independentEvents = useMemo(() => (["onContentReady", "onDisposing", "onInitialized", "onValueChanged"]), []);
|
|
28
|
-
const defaults = useMemo(() => ({
|
|
29
|
-
defaultValue: "value",
|
|
30
|
-
}), []);
|
|
31
|
-
return (React.createElement((BaseComponent), {
|
|
32
|
-
WidgetClass: dxRecurrenceEditor,
|
|
33
|
-
ref: baseRef,
|
|
34
|
-
subscribableOptions,
|
|
35
|
-
independentEvents,
|
|
36
|
-
defaults,
|
|
37
|
-
...props,
|
|
38
|
-
}));
|
|
39
|
-
}));
|
|
40
|
-
export default RecurrenceEditor;
|
|
41
|
-
export { RecurrenceEditor };
|