devextreme-react 23.2.1-alpha-23255-1813 → 23.2.3
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 +22 -22
- 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 +6 -6
- 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 +4 -4
- package/cjs/calendar.js +19 -2
- package/cjs/chart.d.ts +133 -134
- 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 +15 -16
- 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 +14 -6
- package/cjs/core/component-base.js +84 -33
- 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 -7
- package/cjs/core/options-manager.js +33 -20
- package/cjs/core/template-manager.d.ts +16 -0
- package/cjs/core/template-manager.js +182 -0
- package/cjs/core/template-wrapper.d.ts +4 -29
- package/cjs/core/template-wrapper.js +94 -98
- package/cjs/core/template.d.ts +2 -2
- package/cjs/core/template.js +2 -2
- package/cjs/core/types.d.ts +69 -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 +23 -30
- package/cjs/data-grid.js +3 -2
- package/cjs/date-box.d.ts +13 -13
- package/cjs/date-box.js +20 -3
- package/cjs/date-range-box.d.ts +17 -17
- package/cjs/date-range-box.js +25 -3
- package/cjs/defer-rendering.d.ts +5 -3
- 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 +3 -10
- 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 +8 -8
- package/cjs/filter-builder.js +3 -2
- package/cjs/form.d.ts +8 -8
- package/cjs/form.js +3 -2
- package/cjs/funnel.d.ts +20 -20
- package/cjs/funnel.js +3 -2
- package/cjs/gallery.d.ts +2 -2
- package/cjs/gallery.js +3 -2
- package/cjs/gantt.d.ts +6 -6
- package/cjs/gantt.js +5 -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 +15 -16
- 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 +4 -4
- package/cjs/number-box.js +5 -3
- package/cjs/pie-chart.d.ts +28 -29
- 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 +95 -95
- 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 +49 -50
- package/cjs/range-selector.js +3 -2
- package/cjs/range-slider.d.ts +4 -4
- 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 +11 -11
- package/cjs/sankey.js +3 -2
- package/cjs/scheduler.d.ts +6 -5
- package/cjs/scheduler.js +19 -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 +4 -4
- package/cjs/slider.js +3 -2
- package/cjs/sortable.d.ts +2 -2
- package/cjs/sortable.js +3 -2
- package/cjs/sparkline.d.ts +6 -6
- 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 +14 -14
- package/cjs/tree-list.js +3 -2
- package/cjs/tree-map.d.ts +15 -15
- 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 +8 -8
- 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 +19 -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 +85 -31
- 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 +33 -20
- package/esm/core/template-manager.js +159 -0
- package/esm/core/template-wrapper.js +94 -98
- 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 +20 -3
- package/esm/date-range-box.js +25 -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 +5 -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 +19 -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 +6 -7
- 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/cjs/chart.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 23.2.3
|
|
4
|
+
* Build date: Tue Nov 28 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
|
"use strict";
|
|
15
16
|
var __extends = (this && this.__extends) || (function () {
|
|
16
17
|
var extendStatics = function (d, b) {
|
package/cjs/check-box.d.ts
CHANGED
package/cjs/check-box.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 23.2.3
|
|
4
|
+
* Build date: Tue Nov 28 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
|
"use strict";
|
|
15
16
|
var __extends = (this && this.__extends) || (function () {
|
|
16
17
|
var extendStatics = function (d, b) {
|
package/cjs/circular-gauge.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 23.2.3
|
|
4
|
+
* Build date: Tue Nov 28 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,9 +16,8 @@ import dxCircularGauge, { Properties } from "devextreme/viz/circular_gauge";
|
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
18
|
import type { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, TooltipHiddenEvent, TooltipShownEvent } from "devextreme/viz/circular_gauge";
|
|
19
|
-
import type { ChartsColor } from "devextreme/common/charts";
|
|
19
|
+
import type { Font as ChartsFont, ChartsColor } from "devextreme/common/charts";
|
|
20
20
|
import type { template } from "devextreme/core/templates/template";
|
|
21
|
-
import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
|
|
22
21
|
import type * as LocalizationTypes from "devextreme/localization";
|
|
23
22
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
24
23
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
@@ -168,8 +167,8 @@ declare class Font extends NestedOption<IFontProps> {
|
|
|
168
167
|
}
|
|
169
168
|
declare type IFormatProps = React.PropsWithChildren<{
|
|
170
169
|
currency?: string;
|
|
171
|
-
formatter?: ((value: number |
|
|
172
|
-
parser?: ((value: string) => number |
|
|
170
|
+
formatter?: ((value: number | Date) => string);
|
|
171
|
+
parser?: ((value: string) => number | Date);
|
|
173
172
|
precision?: number;
|
|
174
173
|
type?: "billions" | "currency" | "day" | "decimal" | "exponential" | "fixedPoint" | "largeNumber" | "longDate" | "longTime" | "millions" | "millisecond" | "month" | "monthAndDay" | "monthAndYear" | "percent" | "quarter" | "quarterAndYear" | "shortDate" | "shortTime" | "thousands" | "trillions" | "year" | "dayOfWeek" | "hour" | "longDateLongTime" | "minute" | "second" | "shortDateShortTime";
|
|
175
174
|
useCurrencyAccountingStyle?: boolean;
|
|
@@ -189,7 +188,7 @@ declare type ILabelProps = React.PropsWithChildren<{
|
|
|
189
188
|
value: number;
|
|
190
189
|
valueText: string;
|
|
191
190
|
}) => string);
|
|
192
|
-
font?:
|
|
191
|
+
font?: ChartsFont;
|
|
193
192
|
format?: LocalizationTypes.Format;
|
|
194
193
|
hideFirstOrLast?: "first" | "last";
|
|
195
194
|
indentFromTick?: number;
|
|
@@ -212,7 +211,7 @@ declare class Label extends NestedOption<ILabelProps> {
|
|
|
212
211
|
}
|
|
213
212
|
declare type ILoadingIndicatorProps = React.PropsWithChildren<{
|
|
214
213
|
backgroundColor?: string;
|
|
215
|
-
font?:
|
|
214
|
+
font?: ChartsFont;
|
|
216
215
|
show?: boolean;
|
|
217
216
|
text?: string;
|
|
218
217
|
defaultShow?: boolean;
|
|
@@ -300,7 +299,7 @@ declare type IScaleProps = React.PropsWithChildren<{
|
|
|
300
299
|
value: number;
|
|
301
300
|
valueText: string;
|
|
302
301
|
}) => string);
|
|
303
|
-
font?:
|
|
302
|
+
font?: ChartsFont;
|
|
304
303
|
format?: LocalizationTypes.Format;
|
|
305
304
|
hideFirstOrLast?: "first" | "last";
|
|
306
305
|
indentFromTick?: number;
|
|
@@ -363,7 +362,7 @@ declare class Size extends NestedOption<ISizeProps> {
|
|
|
363
362
|
static OptionName: string;
|
|
364
363
|
}
|
|
365
364
|
declare type ISubtitleProps = React.PropsWithChildren<{
|
|
366
|
-
font?:
|
|
365
|
+
font?: ChartsFont;
|
|
367
366
|
offset?: number;
|
|
368
367
|
text?: string;
|
|
369
368
|
textOverflow?: "ellipsis" | "hide" | "none";
|
|
@@ -399,7 +398,7 @@ declare type ISubvalueIndicatorProps = React.PropsWithChildren<{
|
|
|
399
398
|
value: number;
|
|
400
399
|
valueText: string;
|
|
401
400
|
}) => string);
|
|
402
|
-
font?:
|
|
401
|
+
font?: ChartsFont;
|
|
403
402
|
format?: LocalizationTypes.Format;
|
|
404
403
|
indent?: number;
|
|
405
404
|
};
|
|
@@ -425,7 +424,7 @@ declare type ITextProps = React.PropsWithChildren<{
|
|
|
425
424
|
value: number;
|
|
426
425
|
valueText: string;
|
|
427
426
|
}) => string);
|
|
428
|
-
font?:
|
|
427
|
+
font?: ChartsFont;
|
|
429
428
|
format?: LocalizationTypes.Format;
|
|
430
429
|
indent?: number;
|
|
431
430
|
}>;
|
|
@@ -453,7 +452,7 @@ declare class Tick extends NestedOption<ITickProps> {
|
|
|
453
452
|
static OptionName: string;
|
|
454
453
|
}
|
|
455
454
|
declare type ITitleProps = React.PropsWithChildren<{
|
|
456
|
-
font?:
|
|
455
|
+
font?: ChartsFont;
|
|
457
456
|
horizontalAlignment?: "center" | "left" | "right";
|
|
458
457
|
margin?: number | Record<string, any> | {
|
|
459
458
|
bottom?: number;
|
|
@@ -463,7 +462,7 @@ declare type ITitleProps = React.PropsWithChildren<{
|
|
|
463
462
|
};
|
|
464
463
|
placeholderSize?: number;
|
|
465
464
|
subtitle?: Record<string, any> | string | {
|
|
466
|
-
font?:
|
|
465
|
+
font?: ChartsFont;
|
|
467
466
|
offset?: number;
|
|
468
467
|
text?: string;
|
|
469
468
|
textOverflow?: "ellipsis" | "hide" | "none";
|
|
@@ -512,7 +511,7 @@ declare type ITooltipProps = React.PropsWithChildren<{
|
|
|
512
511
|
valueText: string;
|
|
513
512
|
}) => Record<string, any>);
|
|
514
513
|
enabled?: boolean;
|
|
515
|
-
font?:
|
|
514
|
+
font?: ChartsFont;
|
|
516
515
|
format?: LocalizationTypes.Format;
|
|
517
516
|
interactive?: boolean;
|
|
518
517
|
opacity?: number;
|
|
@@ -578,7 +577,7 @@ declare type IValueIndicatorProps = React.PropsWithChildren<{
|
|
|
578
577
|
value: number;
|
|
579
578
|
valueText: string;
|
|
580
579
|
}) => string);
|
|
581
|
-
font?:
|
|
580
|
+
font?: ChartsFont;
|
|
582
581
|
format?: LocalizationTypes.Format;
|
|
583
582
|
indent?: number;
|
|
584
583
|
};
|
package/cjs/circular-gauge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 23.2.3
|
|
4
|
+
* Build date: Tue Nov 28 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
|
"use strict";
|
|
15
16
|
var __extends = (this && this.__extends) || (function () {
|
|
16
17
|
var extendStatics = function (d, b) {
|
package/cjs/color-box.d.ts
CHANGED
package/cjs/color-box.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 23.2.3
|
|
4
|
+
* Build date: Tue Nov 28 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
|
"use strict";
|
|
15
16
|
var __extends = (this && this.__extends) || (function () {
|
|
16
17
|
var extendStatics = function (d, b) {
|
|
@@ -129,7 +130,8 @@ ColorBox.propTypes = {
|
|
|
129
130
|
PropTypes.oneOf([
|
|
130
131
|
"static",
|
|
131
132
|
"floating",
|
|
132
|
-
"hidden"
|
|
133
|
+
"hidden",
|
|
134
|
+
"outside"
|
|
133
135
|
])
|
|
134
136
|
]),
|
|
135
137
|
name: PropTypes.string,
|
package/cjs/common/charts.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 23.2.3
|
|
4
|
+
* Build date: Tue Nov 28 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
export { AnimationEaseMode, AnnotationType, ArgumentAxisHoverMode, AxisScaleType, ChartsAxisLabelOverlap, ChartsColor, ChartsDataType, ChartsLabelOverlap, DashStyle, DiscreteAxisDivisionMode, GradientColor, HatchDirection, LabelOverlap, LabelPosition, LegendHoverMode, LegendMarkerState, Palette, PaletteColorSet, PaletteExtensionMode, PointInteractionMode, PointSymbol, registerGradient, registerPattern, RelativePosition, ScaleBreak, ScaleBreakLineStyle, SeriesHoverMode, SeriesSelectionMode, SeriesType, ShiftLabelOverlap, TextOverflow, Theme, TimeInterval, TimeIntervalConfig, ValueErrorBarDisplayMode, ValueErrorBarType, VisualRange, VisualRangeUpdateMode, WordWrap, ZoomPanAction, } from "devextreme/common/charts";
|
|
14
|
+
export { AnimationEaseMode, AnnotationType, ArgumentAxisHoverMode, AxisScaleType, ChartsAxisLabelOverlap, ChartsColor, ChartsDataType, ChartsLabelOverlap, DashStyle, DiscreteAxisDivisionMode, Font, GradientColor, HatchDirection, LabelOverlap, LabelPosition, LegendHoverMode, LegendMarkerState, Palette, PaletteColorSet, PaletteExtensionMode, PointInteractionMode, PointSymbol, registerGradient, registerPattern, RelativePosition, ScaleBreak, ScaleBreakLineStyle, SeriesHoverMode, SeriesLabel, SeriesPoint, SeriesSelectionMode, SeriesType, ShiftLabelOverlap, TextOverflow, Theme, TimeInterval, TimeIntervalConfig, ValueErrorBarDisplayMode, ValueErrorBarType, VisualRange, VisualRangeUpdateMode, WordWrap, ZoomPanAction, } from "devextreme/common/charts";
|
package/cjs/common/charts.js
CHANGED
package/cjs/common/grids.d.ts
CHANGED
package/cjs/common/grids.js
CHANGED
package/cjs/common/index.d.ts
CHANGED
package/cjs/common/index.js
CHANGED
package/cjs/context-menu.d.ts
CHANGED
package/cjs/context-menu.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 23.2.3
|
|
4
|
+
* Build date: Tue Nov 28 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
|
"use strict";
|
|
15
16
|
var __extends = (this && this.__extends) || (function () {
|
|
16
17
|
var extendStatics = function (d, b) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 23.2.3
|
|
4
|
+
* Build date: Tue Nov 28 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
import * as React from 'react';
|
|
15
15
|
import { ITemplateMeta } from './template';
|
|
16
16
|
import { IExpectedChild } from './configuration/react/element';
|
|
17
|
+
import { UpdateLocker } from './types';
|
|
18
|
+
import { RemovalLockerContext } from './helpers';
|
|
17
19
|
declare const DX_REMOVE_EVENT = "dxremove";
|
|
18
20
|
interface IHtmlOptions {
|
|
19
21
|
id?: string;
|
|
@@ -22,6 +24,8 @@ interface IHtmlOptions {
|
|
|
22
24
|
}
|
|
23
25
|
declare abstract class ComponentBase<P extends IHtmlOptions> extends React.PureComponent<P> {
|
|
24
26
|
static displayContentsStyle(): React.CSSProperties;
|
|
27
|
+
static contextType: React.Context<UpdateLocker>;
|
|
28
|
+
context: React.ContextType<typeof RemovalLockerContext> | undefined;
|
|
25
29
|
protected _WidgetClass: any;
|
|
26
30
|
protected _instance: any;
|
|
27
31
|
protected _element: HTMLDivElement;
|
|
@@ -32,23 +36,27 @@ declare abstract class ComponentBase<P extends IHtmlOptions> extends React.PureC
|
|
|
32
36
|
protected readonly _expectedChildren: Record<string, IExpectedChild>;
|
|
33
37
|
protected readonly subscribableOptions: string[];
|
|
34
38
|
protected readonly independentEvents: string[];
|
|
39
|
+
private _createDXTemplates;
|
|
40
|
+
private _clearInstantiationModels;
|
|
41
|
+
private _updateTemplates;
|
|
35
42
|
private _childNodes;
|
|
36
|
-
private _templatesRendererRef;
|
|
37
|
-
private readonly _templatesStore;
|
|
38
|
-
private readonly _templatesManager;
|
|
39
43
|
private readonly _optionsManager;
|
|
40
44
|
protected useRequestAnimationFrameFlag: boolean;
|
|
41
45
|
protected useDeferUpdateForTemplates: boolean;
|
|
46
|
+
protected guardsUpdateScheduled: boolean;
|
|
42
47
|
constructor(props: P);
|
|
43
48
|
componentDidMount(): void;
|
|
44
49
|
componentDidUpdate(prevProps: P): void;
|
|
45
50
|
componentWillUnmount(): void;
|
|
46
51
|
protected _createWidget(element?: Element): void;
|
|
52
|
+
private _scheduleTemplatesUpdate;
|
|
47
53
|
private _getConfig;
|
|
48
|
-
private _setTemplatesRendererRef;
|
|
49
54
|
private _getElementProps;
|
|
50
55
|
private _setInlineStyles;
|
|
51
56
|
private _updateCssClasses;
|
|
57
|
+
private _lockParentOnRemoved;
|
|
58
|
+
private _unlockParentOnRemoved;
|
|
59
|
+
private _setTemplateManagerHooks;
|
|
52
60
|
protected renderChildren(): React.ReactNode;
|
|
53
61
|
protected renderContent(): React.ReactNode;
|
|
54
62
|
protected renderPortal(): React.ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 23.2.3
|
|
4
|
+
* Build date: Tue Nov 28 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -57,21 +57,40 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
57
57
|
__setModuleDefault(result, mod);
|
|
58
58
|
return result;
|
|
59
59
|
};
|
|
60
|
-
var
|
|
61
|
-
|
|
60
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
61
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
62
|
+
if (!m) return o;
|
|
63
|
+
var i = m.call(o), r, ar = [], e;
|
|
64
|
+
try {
|
|
65
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
66
|
+
}
|
|
67
|
+
catch (error) { e = { error: error }; }
|
|
68
|
+
finally {
|
|
69
|
+
try {
|
|
70
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
71
|
+
}
|
|
72
|
+
finally { if (e) throw e.error; }
|
|
73
|
+
}
|
|
74
|
+
return ar;
|
|
75
|
+
};
|
|
76
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
77
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
78
|
+
to[j] = from[i];
|
|
79
|
+
return to;
|
|
62
80
|
};
|
|
63
81
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
64
82
|
exports.DX_REMOVE_EVENT = exports.ComponentBase = void 0;
|
|
65
83
|
var events = __importStar(require("devextreme/events"));
|
|
66
84
|
var React = __importStar(require("react"));
|
|
67
85
|
var react_dom_1 = require("react-dom");
|
|
68
|
-
var
|
|
69
|
-
var
|
|
70
|
-
var
|
|
86
|
+
var frame_1 = require("devextreme/animation/frame");
|
|
87
|
+
var common_1 = require("devextreme/core/utils/common");
|
|
88
|
+
var template_manager_1 = require("./template-manager");
|
|
71
89
|
var options_manager_1 = require("./options-manager");
|
|
72
90
|
var widget_config_1 = require("./widget-config");
|
|
73
91
|
var tree_1 = require("./configuration/react/tree");
|
|
74
92
|
var utils_1 = require("./configuration/utils");
|
|
93
|
+
var helpers_1 = require("./helpers");
|
|
75
94
|
var DX_REMOVE_EVENT = 'dxremove';
|
|
76
95
|
exports.DX_REMOVE_EVENT = DX_REMOVE_EVENT;
|
|
77
96
|
var ComponentBase = /** @class */ (function (_super) {
|
|
@@ -83,15 +102,10 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
83
102
|
_this._childNodes = [];
|
|
84
103
|
_this.useRequestAnimationFrameFlag = false;
|
|
85
104
|
_this.useDeferUpdateForTemplates = false;
|
|
86
|
-
_this.
|
|
105
|
+
_this.guardsUpdateScheduled = false;
|
|
87
106
|
_this._createWidget = _this._createWidget.bind(_this);
|
|
88
|
-
_this.
|
|
89
|
-
|
|
90
|
-
_this._templatesRendererRef.scheduleUpdate(_this.useDeferUpdateForTemplates);
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
_this._templatesManager = new templates_manager_1.default(_this._templatesStore);
|
|
94
|
-
_this._optionsManager = new options_manager_1.OptionsManager(_this._templatesManager);
|
|
107
|
+
_this._setTemplateManagerHooks = _this._setTemplateManagerHooks.bind(_this);
|
|
108
|
+
_this._optionsManager = new options_manager_1.OptionsManager();
|
|
95
109
|
return _this;
|
|
96
110
|
}
|
|
97
111
|
ComponentBase.displayContentsStyle = function () {
|
|
@@ -109,7 +123,7 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
109
123
|
var _b;
|
|
110
124
|
var style = this.props.style;
|
|
111
125
|
if ((_b = this._childNodes) === null || _b === void 0 ? void 0 : _b.length) {
|
|
112
|
-
(_a = this._element).append.apply(_a, this._childNodes);
|
|
126
|
+
(_a = this._element).append.apply(_a, __spreadArray([], __read(this._childNodes)));
|
|
113
127
|
}
|
|
114
128
|
else if (this._element.childNodes.length) {
|
|
115
129
|
this._childNodes = Array.from(this._element.childNodes);
|
|
@@ -120,33 +134,60 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
120
134
|
}
|
|
121
135
|
};
|
|
122
136
|
ComponentBase.prototype.componentDidUpdate = function (prevProps) {
|
|
137
|
+
var _a;
|
|
123
138
|
this._updateCssClasses(prevProps, this.props);
|
|
124
139
|
var config = this._getConfig();
|
|
125
|
-
this._optionsManager.
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
options_manager_1.unscheduleGuards();
|
|
140
|
+
var templateOptions = this._optionsManager.getTemplateOptions(config);
|
|
141
|
+
var dxTemplates = ((_a = this._createDXTemplates) === null || _a === void 0 ? void 0 : _a.call(this, templateOptions)) || {};
|
|
142
|
+
this._optionsManager.update(config, dxTemplates);
|
|
143
|
+
this._scheduleTemplatesUpdate();
|
|
130
144
|
};
|
|
131
145
|
ComponentBase.prototype.componentWillUnmount = function () {
|
|
132
146
|
var _a;
|
|
147
|
+
this._lockParentOnRemoved();
|
|
133
148
|
if (this._instance) {
|
|
149
|
+
var dxRemoveArgs = { isUnmounting: true };
|
|
134
150
|
(_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); });
|
|
135
|
-
events.triggerHandler(this._element, DX_REMOVE_EVENT);
|
|
151
|
+
events.triggerHandler(this._element, DX_REMOVE_EVENT, dxRemoveArgs);
|
|
136
152
|
this._instance.dispose();
|
|
137
153
|
}
|
|
138
154
|
this._optionsManager.dispose();
|
|
155
|
+
this._unlockParentOnRemoved();
|
|
139
156
|
};
|
|
140
157
|
ComponentBase.prototype._createWidget = function (element) {
|
|
158
|
+
var _a, _b;
|
|
141
159
|
element = element || this._element;
|
|
142
160
|
var config = this._getConfig();
|
|
143
|
-
|
|
161
|
+
var options = __assign({ templatesRenderAsynchronously: true }, this._optionsManager.getInitialOptions(config));
|
|
162
|
+
var templateOptions = this._optionsManager.getTemplateOptions(config);
|
|
163
|
+
var dxTemplates = (_a = this._createDXTemplates) === null || _a === void 0 ? void 0 : _a.call(this, templateOptions);
|
|
164
|
+
if (dxTemplates && Object.keys(dxTemplates).length) {
|
|
165
|
+
options = __assign(__assign({}, options), { integrationOptions: {
|
|
166
|
+
templates: dxTemplates,
|
|
167
|
+
} });
|
|
168
|
+
}
|
|
169
|
+
(_b = this._clearInstantiationModels) === null || _b === void 0 ? void 0 : _b.call(this);
|
|
170
|
+
this._instance = new this._WidgetClass(element, options);
|
|
144
171
|
if (!this.useRequestAnimationFrameFlag) {
|
|
145
172
|
this.useDeferUpdateForTemplates = this._instance.option('integrationOptions.useDeferUpdateForTemplates');
|
|
146
173
|
}
|
|
147
174
|
this._optionsManager.setInstance(this._instance, config, this.subscribableOptions, this.independentEvents);
|
|
148
175
|
this._instance.on('optionChanged', this._optionsManager.onOptionChanged);
|
|
149
176
|
};
|
|
177
|
+
ComponentBase.prototype._scheduleTemplatesUpdate = function () {
|
|
178
|
+
var _this = this;
|
|
179
|
+
if (this.guardsUpdateScheduled) {
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
this.guardsUpdateScheduled = true;
|
|
183
|
+
var updateFunc = this.useDeferUpdateForTemplates ? common_1.deferUpdate : frame_1.requestAnimationFrame;
|
|
184
|
+
updateFunc(function () {
|
|
185
|
+
var _a;
|
|
186
|
+
_this.guardsUpdateScheduled = false;
|
|
187
|
+
(_a = _this._updateTemplates) === null || _a === void 0 ? void 0 : _a.call(_this, function () { return options_manager_1.scheduleGuards(); });
|
|
188
|
+
});
|
|
189
|
+
options_manager_1.unscheduleGuards();
|
|
190
|
+
};
|
|
150
191
|
ComponentBase.prototype._getConfig = function () {
|
|
151
192
|
return tree_1.buildConfigTree({
|
|
152
193
|
templates: this._templateProps,
|
|
@@ -155,9 +196,6 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
155
196
|
expectedChildren: this._expectedChildren,
|
|
156
197
|
}, this.props);
|
|
157
198
|
};
|
|
158
|
-
ComponentBase.prototype._setTemplatesRendererRef = function (instance) {
|
|
159
|
-
this._templatesRendererRef = instance;
|
|
160
|
-
};
|
|
161
199
|
ComponentBase.prototype._getElementProps = function () {
|
|
162
200
|
var _this = this;
|
|
163
201
|
var elementProps = {
|
|
@@ -174,7 +212,7 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
174
212
|
ComponentBase.prototype._setInlineStyles = function (styles) {
|
|
175
213
|
var _this = this;
|
|
176
214
|
Object.entries(styles).forEach(function (_a) {
|
|
177
|
-
var name =
|
|
215
|
+
var _b = __read(_a, 2), name = _b[0], value = _b[1];
|
|
178
216
|
_this._element.style[name] = value;
|
|
179
217
|
});
|
|
180
218
|
};
|
|
@@ -188,16 +226,30 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
188
226
|
if (prevClassName) {
|
|
189
227
|
var classNames = prevClassName.split(' ').filter(function (c) { return c; });
|
|
190
228
|
if (classNames.length) {
|
|
191
|
-
(_a = this._element.classList).remove.apply(_a, classNames);
|
|
229
|
+
(_a = this._element.classList).remove.apply(_a, __spreadArray([], __read(classNames)));
|
|
192
230
|
}
|
|
193
231
|
}
|
|
194
232
|
if (newClassName) {
|
|
195
233
|
var classNames = newClassName.split(' ').filter(function (c) { return c; });
|
|
196
234
|
if (classNames.length) {
|
|
197
|
-
(_b = this._element.classList).add.apply(_b, classNames);
|
|
235
|
+
(_b = this._element.classList).add.apply(_b, __spreadArray([], __read(classNames)));
|
|
198
236
|
}
|
|
199
237
|
}
|
|
200
238
|
};
|
|
239
|
+
ComponentBase.prototype._lockParentOnRemoved = function () {
|
|
240
|
+
var _a;
|
|
241
|
+
(_a = this.context) === null || _a === void 0 ? void 0 : _a.lock();
|
|
242
|
+
};
|
|
243
|
+
ComponentBase.prototype._unlockParentOnRemoved = function () {
|
|
244
|
+
var _a;
|
|
245
|
+
(_a = this.context) === null || _a === void 0 ? void 0 : _a.unlock();
|
|
246
|
+
};
|
|
247
|
+
ComponentBase.prototype._setTemplateManagerHooks = function (_a) {
|
|
248
|
+
var createDXTemplates = _a.createDXTemplates, clearInstantiationModels = _a.clearInstantiationModels, updateTemplates = _a.updateTemplates;
|
|
249
|
+
this._createDXTemplates = createDXTemplates;
|
|
250
|
+
this._clearInstantiationModels = clearInstantiationModels;
|
|
251
|
+
this._updateTemplates = updateTemplates;
|
|
252
|
+
};
|
|
201
253
|
ComponentBase.prototype.renderChildren = function () {
|
|
202
254
|
// @ts-expect-error TS2339
|
|
203
255
|
var children = this.props.children;
|
|
@@ -220,15 +272,14 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
220
272
|
: this.renderChildren();
|
|
221
273
|
};
|
|
222
274
|
ComponentBase.prototype.renderPortal = function () {
|
|
223
|
-
// @ts-expect-error TS2322
|
|
224
275
|
return this.portalContainer && react_dom_1.createPortal(this.renderChildren(), this.portalContainer);
|
|
225
276
|
};
|
|
226
277
|
ComponentBase.prototype.render = function () {
|
|
227
|
-
return React.createElement(React.Fragment, {}, React.createElement('div', this._getElementProps(), this.renderContent(), React.createElement(
|
|
228
|
-
|
|
229
|
-
ref: this._setTemplatesRendererRef,
|
|
278
|
+
return React.createElement(React.Fragment, {}, React.createElement('div', this._getElementProps(), this.renderContent(), React.createElement(template_manager_1.TemplateManager, {
|
|
279
|
+
init: this._setTemplateManagerHooks,
|
|
230
280
|
})), this.isPortalComponent && this.renderPortal());
|
|
231
281
|
};
|
|
282
|
+
ComponentBase.contextType = helpers_1.RemovalLockerContext;
|
|
232
283
|
return ComponentBase;
|
|
233
284
|
}(React.PureComponent));
|
|
234
285
|
exports.ComponentBase = ComponentBase;
|
package/cjs/core/component.d.ts
CHANGED
package/cjs/core/component.js
CHANGED