devextreme-react 23.2.1-alpha-23255-1813 → 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/cjs/accordion.d.ts +2 -2
- package/cjs/accordion.js +3 -2
- package/cjs/action-sheet.d.ts +2 -2
- package/cjs/action-sheet.js +3 -2
- package/cjs/autocomplete.d.ts +2 -2
- package/cjs/autocomplete.js +5 -3
- package/cjs/bar-gauge.d.ts +18 -18
- package/cjs/bar-gauge.js +3 -2
- package/cjs/box.d.ts +3 -3
- package/cjs/box.js +3 -2
- package/cjs/bullet.d.ts +4 -4
- package/cjs/bullet.js +3 -2
- package/cjs/button-group.d.ts +2 -2
- package/cjs/button-group.js +3 -2
- package/cjs/button.d.ts +2 -2
- package/cjs/button.js +3 -2
- package/cjs/calendar.d.ts +2 -2
- package/cjs/calendar.js +3 -2
- package/cjs/chart.d.ts +60 -61
- package/cjs/chart.js +3 -2
- package/cjs/check-box.d.ts +2 -2
- package/cjs/check-box.js +3 -2
- package/cjs/circular-gauge.d.ts +13 -14
- package/cjs/circular-gauge.js +3 -2
- package/cjs/color-box.d.ts +2 -2
- package/cjs/color-box.js +5 -3
- package/cjs/common/charts.d.ts +3 -3
- package/cjs/common/charts.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/grids.d.ts +2 -2
- package/cjs/common/grids.js +2 -2
- package/cjs/common/index.d.ts +2 -2
- package/cjs/common/index.js +2 -2
- package/cjs/context-menu.d.ts +2 -2
- package/cjs/context-menu.js +3 -2
- package/cjs/core/component-base.d.ts +13 -6
- package/cjs/core/component-base.js +81 -32
- 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 +2 -2
- 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/react/tree.d.ts +2 -2
- package/cjs/core/configuration/react/tree.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/extension-component.d.ts +2 -2
- package/cjs/core/extension-component.js +2 -2
- package/cjs/core/helpers.d.ts +14 -3
- package/cjs/core/helpers.js +155 -4
- package/cjs/core/nested-option.d.ts +2 -2
- package/cjs/core/nested-option.js +2 -2
- package/cjs/core/options-manager.d.ts +7 -6
- package/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 +4 -29
- package/cjs/core/template-wrapper.js +93 -97
- package/cjs/core/template.d.ts +2 -2
- package/cjs/core/template.js +2 -2
- package/cjs/core/types.d.ts +59 -0
- package/cjs/core/types.js +15 -0
- package/cjs/core/widget-config.d.ts +2 -2
- package/cjs/core/widget-config.js +2 -2
- package/cjs/data-grid.d.ts +5 -12
- package/cjs/data-grid.js +3 -2
- package/cjs/date-box.d.ts +2 -2
- package/cjs/date-box.js +5 -3
- package/cjs/date-range-box.d.ts +2 -2
- package/cjs/date-range-box.js +5 -3
- package/cjs/defer-rendering.d.ts +2 -2
- package/cjs/defer-rendering.js +3 -2
- package/cjs/diagram.d.ts +2 -2
- package/cjs/diagram.js +3 -2
- package/cjs/draggable.d.ts +2 -2
- package/cjs/draggable.js +3 -2
- package/cjs/drawer.d.ts +2 -2
- package/cjs/drawer.js +3 -2
- package/cjs/drop-down-box.d.ts +2 -2
- package/cjs/drop-down-box.js +5 -3
- package/cjs/drop-down-button.d.ts +2 -2
- package/cjs/drop-down-button.js +12 -2
- package/cjs/file-manager.d.ts +2 -2
- package/cjs/file-manager.js +3 -2
- package/cjs/file-uploader.d.ts +2 -2
- package/cjs/file-uploader.js +3 -2
- package/cjs/filter-builder.d.ts +2 -2
- package/cjs/filter-builder.js +3 -2
- package/cjs/form.d.ts +2 -2
- package/cjs/form.js +3 -2
- package/cjs/funnel.d.ts +18 -18
- package/cjs/funnel.js +3 -2
- package/cjs/gallery.d.ts +2 -2
- package/cjs/gallery.js +3 -2
- package/cjs/gantt.d.ts +2 -2
- package/cjs/gantt.js +3 -2
- package/cjs/html-editor.d.ts +2 -2
- package/cjs/html-editor.js +3 -2
- package/cjs/index.d.ts +2 -2
- package/cjs/index.js +2 -2
- package/cjs/linear-gauge.d.ts +13 -14
- package/cjs/linear-gauge.js +3 -2
- package/cjs/list.d.ts +3 -3
- package/cjs/list.js +3 -2
- package/cjs/load-indicator.d.ts +2 -2
- package/cjs/load-indicator.js +3 -2
- package/cjs/load-panel.d.ts +2 -2
- package/cjs/load-panel.js +3 -2
- package/cjs/lookup.d.ts +2 -2
- package/cjs/lookup.js +5 -3
- package/cjs/map.d.ts +2 -2
- package/cjs/map.js +3 -2
- package/cjs/menu.d.ts +2 -2
- package/cjs/menu.js +3 -2
- package/cjs/multi-view.d.ts +2 -2
- package/cjs/multi-view.js +3 -2
- package/cjs/number-box.d.ts +2 -2
- package/cjs/number-box.js +5 -3
- package/cjs/pie-chart.d.ts +22 -23
- package/cjs/pie-chart.js +3 -2
- package/cjs/pivot-grid-field-chooser.d.ts +2 -2
- package/cjs/pivot-grid-field-chooser.js +3 -2
- package/cjs/pivot-grid.d.ts +2 -2
- package/cjs/pivot-grid.js +3 -2
- package/cjs/polar-chart.d.ts +46 -47
- package/cjs/polar-chart.js +3 -2
- package/cjs/popover.d.ts +2 -2
- package/cjs/popover.js +3 -2
- package/cjs/popup.d.ts +2 -2
- package/cjs/popup.js +3 -2
- package/cjs/progress-bar.d.ts +2 -2
- package/cjs/progress-bar.js +3 -2
- package/cjs/radio-group.d.ts +2 -2
- package/cjs/radio-group.js +3 -2
- package/cjs/range-selector.d.ts +14 -15
- package/cjs/range-selector.js +3 -2
- package/cjs/range-slider.d.ts +2 -2
- package/cjs/range-slider.js +3 -2
- package/cjs/recurrence-editor.d.ts +2 -2
- package/cjs/recurrence-editor.js +3 -2
- package/cjs/resizable.d.ts +2 -2
- package/cjs/resizable.js +3 -2
- package/cjs/responsive-box.d.ts +4 -4
- package/cjs/responsive-box.js +3 -2
- package/cjs/sankey.d.ts +9 -9
- package/cjs/sankey.js +3 -2
- package/cjs/scheduler.d.ts +3 -2
- package/cjs/scheduler.js +4 -2
- package/cjs/scroll-view.d.ts +2 -2
- package/cjs/scroll-view.js +3 -2
- package/cjs/select-box.d.ts +2 -2
- package/cjs/select-box.js +5 -3
- package/cjs/slider.d.ts +2 -2
- package/cjs/slider.js +3 -2
- package/cjs/sortable.d.ts +2 -2
- package/cjs/sortable.js +3 -2
- package/cjs/sparkline.d.ts +4 -4
- package/cjs/sparkline.js +3 -2
- package/cjs/speed-dial-action.d.ts +2 -2
- package/cjs/speed-dial-action.js +3 -2
- package/cjs/switch.d.ts +2 -2
- package/cjs/switch.js +3 -2
- package/cjs/tab-panel.d.ts +2 -2
- package/cjs/tab-panel.js +3 -2
- package/cjs/tabs.d.ts +2 -2
- package/cjs/tabs.js +3 -2
- package/cjs/tag-box.d.ts +2 -2
- package/cjs/tag-box.js +5 -3
- package/cjs/text-area.d.ts +2 -2
- package/cjs/text-area.js +5 -3
- package/cjs/text-box.d.ts +2 -2
- package/cjs/text-box.js +5 -3
- package/cjs/tile-view.d.ts +2 -2
- package/cjs/tile-view.js +3 -2
- package/cjs/toast.d.ts +2 -2
- package/cjs/toast.js +3 -2
- package/cjs/toolbar.d.ts +2 -2
- package/cjs/toolbar.js +3 -2
- package/cjs/tooltip.d.ts +2 -2
- package/cjs/tooltip.js +3 -2
- package/cjs/tree-list.d.ts +2 -2
- package/cjs/tree-list.js +3 -2
- package/cjs/tree-map.d.ts +13 -13
- package/cjs/tree-map.js +3 -2
- package/cjs/tree-view.d.ts +3 -3
- package/cjs/tree-view.js +3 -2
- package/cjs/validation-group.d.ts +2 -2
- package/cjs/validation-group.js +3 -2
- package/cjs/validation-summary.d.ts +2 -2
- package/cjs/validation-summary.js +3 -2
- package/cjs/validator.d.ts +2 -2
- package/cjs/validator.js +3 -2
- package/cjs/vector-map.d.ts +21 -21
- package/cjs/vector-map.js +3 -2
- 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/esm/accordion.js +3 -2
- package/esm/action-sheet.js +3 -2
- package/esm/autocomplete.js +5 -3
- package/esm/bar-gauge.js +3 -2
- package/esm/box.js +3 -2
- package/esm/bullet.js +3 -2
- package/esm/button-group.js +3 -2
- package/esm/button.js +3 -2
- package/esm/calendar.js +3 -2
- package/esm/chart.js +3 -2
- package/esm/check-box.js +3 -2
- package/esm/circular-gauge.js +3 -2
- package/esm/color-box.js +5 -3
- package/esm/common/charts.js +2 -2
- package/esm/common/data/custom-store.js +2 -2
- package/esm/common/grids.js +2 -2
- package/esm/common/index.js +2 -2
- package/esm/context-menu.js +3 -2
- package/esm/core/component-base.js +82 -30
- package/esm/core/component.js +2 -2
- package/esm/core/config.js +2 -2
- package/esm/core/configuration/comparer.js +2 -2
- 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/react/tree.js +2 -2
- package/esm/core/configuration/tree.js +2 -2
- package/esm/core/configuration/utils.js +2 -2
- package/esm/core/extension-component.js +2 -2
- package/esm/core/helpers.js +154 -3
- package/esm/core/nested-option.js +2 -2
- package/esm/core/options-manager.js +37 -22
- package/esm/core/template-manager.js +157 -0
- package/esm/core/template-wrapper.js +93 -97
- package/esm/core/template.js +2 -2
- package/esm/core/types.js +14 -0
- package/esm/core/widget-config.js +2 -2
- package/esm/data-grid.js +3 -2
- package/esm/date-box.js +5 -3
- package/esm/date-range-box.js +5 -3
- package/esm/defer-rendering.js +3 -2
- package/esm/diagram.js +3 -2
- package/esm/draggable.js +3 -2
- package/esm/drawer.js +3 -2
- package/esm/drop-down-box.js +5 -3
- package/esm/drop-down-button.js +12 -2
- package/esm/file-manager.js +3 -2
- package/esm/file-uploader.js +3 -2
- package/esm/filter-builder.js +3 -2
- package/esm/form.js +3 -2
- package/esm/funnel.js +3 -2
- package/esm/gallery.js +3 -2
- package/esm/gantt.js +3 -2
- package/esm/html-editor.js +3 -2
- package/esm/index.js +2 -2
- package/esm/linear-gauge.js +3 -2
- package/esm/list.js +3 -2
- package/esm/load-indicator.js +3 -2
- package/esm/load-panel.js +3 -2
- package/esm/lookup.js +5 -3
- package/esm/map.js +3 -2
- package/esm/menu.js +3 -2
- package/esm/multi-view.js +3 -2
- package/esm/number-box.js +5 -3
- package/esm/pie-chart.js +3 -2
- package/esm/pivot-grid-field-chooser.js +3 -2
- package/esm/pivot-grid.js +3 -2
- package/esm/polar-chart.js +3 -2
- package/esm/popover.js +3 -2
- package/esm/popup.js +3 -2
- package/esm/progress-bar.js +3 -2
- package/esm/radio-group.js +3 -2
- package/esm/range-selector.js +3 -2
- package/esm/range-slider.js +3 -2
- package/esm/recurrence-editor.js +3 -2
- package/esm/resizable.js +3 -2
- package/esm/responsive-box.js +3 -2
- package/esm/sankey.js +3 -2
- package/esm/scheduler.js +4 -2
- package/esm/scroll-view.js +3 -2
- package/esm/select-box.js +5 -3
- package/esm/slider.js +3 -2
- package/esm/sortable.js +3 -2
- package/esm/sparkline.js +3 -2
- package/esm/speed-dial-action.js +3 -2
- package/esm/switch.js +3 -2
- package/esm/tab-panel.js +3 -2
- package/esm/tabs.js +3 -2
- package/esm/tag-box.js +5 -3
- package/esm/text-area.js +5 -3
- package/esm/text-box.js +5 -3
- package/esm/tile-view.js +3 -2
- package/esm/toast.js +3 -2
- package/esm/toolbar.js +3 -2
- package/esm/tooltip.js +3 -2
- package/esm/tree-list.js +3 -2
- package/esm/tree-map.js +3 -2
- package/esm/tree-view.js +3 -2
- package/esm/validation-group.js +3 -2
- package/esm/validation-summary.js +3 -2
- package/esm/validator.js +3 -2
- package/esm/vector-map.js +3 -2
- package/package.json +5 -6
- package/cjs/core/dx-template.d.ts +0 -26
- package/cjs/core/dx-template.js +0 -99
- package/cjs/core/templates-manager.d.ts +0 -25
- package/cjs/core/templates-manager.js +0 -88
- package/cjs/core/templates-renderer.d.ts +0 -28
- package/cjs/core/templates-renderer.js +0 -103
- package/cjs/core/templates-store.d.ts +0 -24
- package/cjs/core/templates-store.js +0 -50
- package/esm/core/dx-template.js +0 -77
- package/esm/core/templates-manager.js +0 -67
- package/esm/core/templates-renderer.js +0 -81
- package/esm/core/templates-store.js +0 -47
package/esm/accordion.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
package/esm/action-sheet.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
package/esm/autocomplete.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -100,7 +101,8 @@ Autocomplete.propTypes = {
|
|
|
100
101
|
PropTypes.oneOf([
|
|
101
102
|
"static",
|
|
102
103
|
"floating",
|
|
103
|
-
"hidden"
|
|
104
|
+
"hidden",
|
|
105
|
+
"outside"
|
|
104
106
|
])
|
|
105
107
|
]),
|
|
106
108
|
maxItemCount: PropTypes.number,
|
package/esm/bar-gauge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
package/esm/box.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
package/esm/bullet.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
package/esm/button-group.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
package/esm/button.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
package/esm/calendar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
package/esm/chart.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
package/esm/check-box.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
package/esm/circular-gauge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
package/esm/color-box.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -103,7 +104,8 @@ ColorBox.propTypes = {
|
|
|
103
104
|
PropTypes.oneOf([
|
|
104
105
|
"static",
|
|
105
106
|
"floating",
|
|
106
|
-
"hidden"
|
|
107
|
+
"hidden",
|
|
108
|
+
"outside"
|
|
107
109
|
])
|
|
108
110
|
]),
|
|
109
111
|
name: PropTypes.string,
|
package/esm/common/charts.js
CHANGED
package/esm/common/grids.js
CHANGED
package/esm/common/index.js
CHANGED
package/esm/context-menu.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
"use client";
|
|
14
15
|
var __extends = (this && this.__extends) || (function () {
|
|
15
16
|
var extendStatics = function (d, b) {
|
|
16
17
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.2.2-beta
|
|
4
|
+
* Build date: Fri Nov 10 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -37,16 +37,38 @@ var __assign = (this && this.__assign) || function () {
|
|
|
37
37
|
};
|
|
38
38
|
return __assign.apply(this, arguments);
|
|
39
39
|
};
|
|
40
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
41
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
42
|
+
if (!m) return o;
|
|
43
|
+
var i = m.call(o), r, ar = [], e;
|
|
44
|
+
try {
|
|
45
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
46
|
+
}
|
|
47
|
+
catch (error) { e = { error: error }; }
|
|
48
|
+
finally {
|
|
49
|
+
try {
|
|
50
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
51
|
+
}
|
|
52
|
+
finally { if (e) throw e.error; }
|
|
53
|
+
}
|
|
54
|
+
return ar;
|
|
55
|
+
};
|
|
56
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
57
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
58
|
+
to[j] = from[i];
|
|
59
|
+
return to;
|
|
60
|
+
};
|
|
40
61
|
import * as events from 'devextreme/events';
|
|
41
62
|
import * as React from 'react';
|
|
42
63
|
import { createPortal } from 'react-dom';
|
|
43
|
-
import
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
64
|
+
import { requestAnimationFrame } from 'devextreme/animation/frame';
|
|
65
|
+
import { deferUpdate } from 'devextreme/core/utils/common';
|
|
66
|
+
import { TemplateManager } from './template-manager';
|
|
46
67
|
import { OptionsManager, scheduleGuards, unscheduleGuards } from './options-manager';
|
|
47
68
|
import { elementPropNames, getClassName } from './widget-config';
|
|
48
69
|
import { buildConfigTree } from './configuration/react/tree';
|
|
49
70
|
import { isIE } from './configuration/utils';
|
|
71
|
+
import { RemovalLockerContext } from './helpers';
|
|
50
72
|
var DX_REMOVE_EVENT = 'dxremove';
|
|
51
73
|
var ComponentBase = /** @class */ (function (_super) {
|
|
52
74
|
__extends(ComponentBase, _super);
|
|
@@ -57,15 +79,10 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
57
79
|
_this._childNodes = [];
|
|
58
80
|
_this.useRequestAnimationFrameFlag = false;
|
|
59
81
|
_this.useDeferUpdateForTemplates = false;
|
|
60
|
-
_this.
|
|
82
|
+
_this.guardsUpdateScheduled = false;
|
|
61
83
|
_this._createWidget = _this._createWidget.bind(_this);
|
|
62
|
-
_this.
|
|
63
|
-
|
|
64
|
-
_this._templatesRendererRef.scheduleUpdate(_this.useDeferUpdateForTemplates);
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
_this._templatesManager = new TemplatesManager(_this._templatesStore);
|
|
68
|
-
_this._optionsManager = new OptionsManager(_this._templatesManager);
|
|
84
|
+
_this._setTemplateManagerHooks = _this._setTemplateManagerHooks.bind(_this);
|
|
85
|
+
_this._optionsManager = new OptionsManager();
|
|
69
86
|
return _this;
|
|
70
87
|
}
|
|
71
88
|
ComponentBase.displayContentsStyle = function () {
|
|
@@ -83,7 +100,7 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
83
100
|
var _b;
|
|
84
101
|
var style = this.props.style;
|
|
85
102
|
if ((_b = this._childNodes) === null || _b === void 0 ? void 0 : _b.length) {
|
|
86
|
-
(_a = this._element).append.apply(_a, this._childNodes);
|
|
103
|
+
(_a = this._element).append.apply(_a, __spreadArray([], __read(this._childNodes)));
|
|
87
104
|
}
|
|
88
105
|
else if (this._element.childNodes.length) {
|
|
89
106
|
this._childNodes = Array.from(this._element.childNodes);
|
|
@@ -97,30 +114,57 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
97
114
|
this._updateCssClasses(prevProps, this.props);
|
|
98
115
|
var config = this._getConfig();
|
|
99
116
|
this._optionsManager.update(config);
|
|
100
|
-
|
|
101
|
-
this._templatesRendererRef.scheduleUpdate(this.useDeferUpdateForTemplates, scheduleGuards);
|
|
102
|
-
}
|
|
103
|
-
unscheduleGuards();
|
|
117
|
+
this._scheduleTemplatesUpdate();
|
|
104
118
|
};
|
|
105
119
|
ComponentBase.prototype.componentWillUnmount = function () {
|
|
106
120
|
var _a;
|
|
121
|
+
this._lockParentOnRemoved();
|
|
107
122
|
if (this._instance) {
|
|
123
|
+
var dxRemoveArgs = { isUnmounting: true };
|
|
108
124
|
(_a = this._childNodes) === null || _a === void 0 ? void 0 : _a.forEach(function (child) { var _a; return (_a = child.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(child); });
|
|
109
|
-
events.triggerHandler(this._element, DX_REMOVE_EVENT);
|
|
125
|
+
events.triggerHandler(this._element, DX_REMOVE_EVENT, dxRemoveArgs);
|
|
110
126
|
this._instance.dispose();
|
|
111
127
|
}
|
|
112
128
|
this._optionsManager.dispose();
|
|
129
|
+
this._unlockParentOnRemoved();
|
|
113
130
|
};
|
|
114
131
|
ComponentBase.prototype._createWidget = function (element) {
|
|
132
|
+
var _a, _b;
|
|
115
133
|
element = element || this._element;
|
|
116
134
|
var config = this._getConfig();
|
|
117
|
-
|
|
135
|
+
var options = __assign({ templatesRenderAsynchronously: true }, this._optionsManager.getInitialOptions(config));
|
|
136
|
+
var templateOptions = this._optionsManager.getTemplateOptions(config);
|
|
137
|
+
var dxTemplates = (_a = this._createDXTemplates) === null || _a === void 0 ? void 0 : _a.call(this, templateOptions);
|
|
138
|
+
if (dxTemplates) {
|
|
139
|
+
options = __assign(__assign({}, options), { integrationOptions: {
|
|
140
|
+
templates: dxTemplates,
|
|
141
|
+
} });
|
|
142
|
+
}
|
|
143
|
+
(_b = this._clearInstantiationModels) === null || _b === void 0 ? void 0 : _b.call(this);
|
|
144
|
+
this._instance = new this._WidgetClass(element, options);
|
|
118
145
|
if (!this.useRequestAnimationFrameFlag) {
|
|
119
146
|
this.useDeferUpdateForTemplates = this._instance.option('integrationOptions.useDeferUpdateForTemplates');
|
|
120
147
|
}
|
|
121
148
|
this._optionsManager.setInstance(this._instance, config, this.subscribableOptions, this.independentEvents);
|
|
122
149
|
this._instance.on('optionChanged', this._optionsManager.onOptionChanged);
|
|
123
150
|
};
|
|
151
|
+
ComponentBase.prototype._scheduleTemplatesUpdate = function () {
|
|
152
|
+
var _this = this;
|
|
153
|
+
if (this.guardsUpdateScheduled) {
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
this.guardsUpdateScheduled = true;
|
|
157
|
+
var updateFunc = this.useDeferUpdateForTemplates ? deferUpdate : requestAnimationFrame;
|
|
158
|
+
updateFunc(function () {
|
|
159
|
+
var _a;
|
|
160
|
+
_this.guardsUpdateScheduled = false;
|
|
161
|
+
var config = _this._getConfig();
|
|
162
|
+
var templateOptions = _this._optionsManager.getTemplateOptions(config);
|
|
163
|
+
var dxTemplates = ((_a = _this._createDXTemplates) === null || _a === void 0 ? void 0 : _a.call(_this, templateOptions, function () { return scheduleGuards(); })) || {};
|
|
164
|
+
_this._optionsManager.updateTemplates(dxTemplates);
|
|
165
|
+
});
|
|
166
|
+
unscheduleGuards();
|
|
167
|
+
};
|
|
124
168
|
ComponentBase.prototype._getConfig = function () {
|
|
125
169
|
return buildConfigTree({
|
|
126
170
|
templates: this._templateProps,
|
|
@@ -129,9 +173,6 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
129
173
|
expectedChildren: this._expectedChildren,
|
|
130
174
|
}, this.props);
|
|
131
175
|
};
|
|
132
|
-
ComponentBase.prototype._setTemplatesRendererRef = function (instance) {
|
|
133
|
-
this._templatesRendererRef = instance;
|
|
134
|
-
};
|
|
135
176
|
ComponentBase.prototype._getElementProps = function () {
|
|
136
177
|
var _this = this;
|
|
137
178
|
var elementProps = {
|
|
@@ -148,7 +189,7 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
148
189
|
ComponentBase.prototype._setInlineStyles = function (styles) {
|
|
149
190
|
var _this = this;
|
|
150
191
|
Object.entries(styles).forEach(function (_a) {
|
|
151
|
-
var name =
|
|
192
|
+
var _b = __read(_a, 2), name = _b[0], value = _b[1];
|
|
152
193
|
_this._element.style[name] = value;
|
|
153
194
|
});
|
|
154
195
|
};
|
|
@@ -162,16 +203,28 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
162
203
|
if (prevClassName) {
|
|
163
204
|
var classNames = prevClassName.split(' ').filter(function (c) { return c; });
|
|
164
205
|
if (classNames.length) {
|
|
165
|
-
(_a = this._element.classList).remove.apply(_a, classNames);
|
|
206
|
+
(_a = this._element.classList).remove.apply(_a, __spreadArray([], __read(classNames)));
|
|
166
207
|
}
|
|
167
208
|
}
|
|
168
209
|
if (newClassName) {
|
|
169
210
|
var classNames = newClassName.split(' ').filter(function (c) { return c; });
|
|
170
211
|
if (classNames.length) {
|
|
171
|
-
(_b = this._element.classList).add.apply(_b, classNames);
|
|
212
|
+
(_b = this._element.classList).add.apply(_b, __spreadArray([], __read(classNames)));
|
|
172
213
|
}
|
|
173
214
|
}
|
|
174
215
|
};
|
|
216
|
+
ComponentBase.prototype._lockParentOnRemoved = function () {
|
|
217
|
+
var _a;
|
|
218
|
+
(_a = this.context) === null || _a === void 0 ? void 0 : _a.lock();
|
|
219
|
+
};
|
|
220
|
+
ComponentBase.prototype._unlockParentOnRemoved = function () {
|
|
221
|
+
var _a;
|
|
222
|
+
(_a = this.context) === null || _a === void 0 ? void 0 : _a.unlock();
|
|
223
|
+
};
|
|
224
|
+
ComponentBase.prototype._setTemplateManagerHooks = function (createDXTemplates, clearInstantiationModels) {
|
|
225
|
+
this._createDXTemplates = createDXTemplates;
|
|
226
|
+
this._clearInstantiationModels = clearInstantiationModels;
|
|
227
|
+
};
|
|
175
228
|
ComponentBase.prototype.renderChildren = function () {
|
|
176
229
|
// @ts-expect-error TS2339
|
|
177
230
|
var children = this.props.children;
|
|
@@ -194,15 +247,14 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
194
247
|
: this.renderChildren();
|
|
195
248
|
};
|
|
196
249
|
ComponentBase.prototype.renderPortal = function () {
|
|
197
|
-
// @ts-expect-error TS2322
|
|
198
250
|
return this.portalContainer && createPortal(this.renderChildren(), this.portalContainer);
|
|
199
251
|
};
|
|
200
252
|
ComponentBase.prototype.render = function () {
|
|
201
|
-
return React.createElement(React.Fragment, {}, React.createElement('div', this._getElementProps(), this.renderContent(), React.createElement(
|
|
202
|
-
|
|
203
|
-
ref: this._setTemplatesRendererRef,
|
|
253
|
+
return React.createElement(React.Fragment, {}, React.createElement('div', this._getElementProps(), this.renderContent(), React.createElement(TemplateManager, {
|
|
254
|
+
init: this._setTemplateManagerHooks,
|
|
204
255
|
})), this.isPortalComponent && this.renderPortal());
|
|
205
256
|
};
|
|
257
|
+
ComponentBase.contextType = RemovalLockerContext;
|
|
206
258
|
return ComponentBase;
|
|
207
259
|
}(React.PureComponent));
|
|
208
260
|
export { ComponentBase, DX_REMOVE_EVENT, };
|
package/esm/core/component.js
CHANGED
package/esm/core/config.js
CHANGED