devextreme-react 21.2.7 → 22.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/accordion.d.ts +2 -2
- package/accordion.js +5 -3
- package/action-sheet.d.ts +2 -2
- package/action-sheet.js +5 -3
- package/autocomplete.d.ts +3 -2
- package/autocomplete.js +5 -3
- package/bar-gauge.d.ts +2 -2
- package/bar-gauge.js +5 -3
- package/box.d.ts +2 -2
- package/box.js +5 -3
- package/bullet.d.ts +2 -2
- package/bullet.js +5 -3
- package/button-group.d.ts +2 -2
- package/button-group.js +5 -3
- package/button.d.ts +2 -2
- package/button.js +5 -3
- package/calendar.d.ts +2 -2
- package/calendar.js +5 -3
- package/chart.d.ts +6 -2
- package/chart.js +7 -4
- package/check-box.d.ts +2 -2
- package/check-box.js +5 -3
- package/circular-gauge.d.ts +2 -2
- package/circular-gauge.js +5 -3
- package/color-box.d.ts +3 -2
- package/color-box.js +5 -3
- package/context-menu.d.ts +2 -2
- package/context-menu.js +9 -3
- package/core/component-base.d.ts +3 -2
- package/core/component-base.js +13 -3
- package/core/component.d.ts +2 -2
- package/core/component.js +5 -3
- package/core/config.d.ts +2 -2
- package/core/config.js +2 -2
- package/core/configuration/comparer.d.ts +2 -2
- package/core/configuration/comparer.js +2 -2
- package/core/configuration/config-node.d.ts +2 -2
- package/core/configuration/config-node.js +2 -2
- package/core/configuration/react/element.d.ts +2 -2
- package/core/configuration/react/element.js +2 -2
- package/core/configuration/react/templates.d.ts +2 -2
- package/core/configuration/react/templates.js +2 -2
- package/core/configuration/react/tree.d.ts +2 -2
- package/core/configuration/react/tree.js +2 -2
- package/core/configuration/tree.d.ts +2 -2
- package/core/configuration/tree.js +2 -2
- package/core/configuration/utils.d.ts +2 -2
- package/core/configuration/utils.js +6 -4
- package/core/dx-template.d.ts +2 -2
- package/core/dx-template.js +2 -2
- package/core/extension-component.d.ts +2 -2
- package/core/extension-component.js +5 -3
- package/core/helpers.d.ts +2 -2
- package/core/helpers.js +2 -2
- package/core/nested-option.d.ts +2 -2
- package/core/nested-option.js +5 -3
- package/core/options-manager.d.ts +2 -2
- package/core/options-manager.js +2 -2
- package/core/template-wrapper.d.ts +2 -2
- package/core/template-wrapper.js +5 -3
- package/core/template.d.ts +2 -2
- package/core/template.js +5 -3
- package/core/templates-manager.d.ts +2 -2
- package/core/templates-manager.js +2 -2
- package/core/templates-renderer.d.ts +2 -2
- package/core/templates-renderer.js +5 -3
- package/core/templates-store.d.ts +2 -2
- package/core/templates-store.js +2 -2
- package/core/widget-config.d.ts +2 -2
- package/core/widget-config.js +2 -2
- package/data-grid.d.ts +6 -2
- package/data-grid.js +8 -4
- package/date-box.d.ts +3 -2
- package/date-box.js +5 -3
- package/defer-rendering.d.ts +2 -2
- package/defer-rendering.js +5 -3
- package/diagram.d.ts +2 -2
- package/diagram.js +5 -3
- package/draggable.d.ts +2 -2
- package/draggable.js +5 -3
- package/drawer.d.ts +2 -2
- package/drawer.js +5 -3
- package/drop-down-box.d.ts +3 -2
- package/drop-down-box.js +5 -3
- package/drop-down-button.d.ts +3 -2
- package/drop-down-button.js +5 -3
- package/file-manager.d.ts +2 -2
- package/file-manager.js +5 -3
- package/file-uploader.d.ts +2 -2
- package/file-uploader.js +5 -3
- package/filter-builder.d.ts +2 -2
- package/filter-builder.js +5 -3
- package/form.d.ts +2 -2
- package/form.js +5 -3
- package/funnel.d.ts +2 -2
- package/funnel.js +5 -3
- package/gallery.d.ts +2 -2
- package/gallery.js +5 -3
- package/gantt.d.ts +6 -310
- package/gantt.js +10 -206
- package/html-editor.d.ts +113 -3
- package/html-editor.js +43 -4
- package/index.d.ts +2 -2
- package/index.js +4 -2
- package/linear-gauge.d.ts +2 -2
- package/linear-gauge.js +5 -3
- package/list.d.ts +2 -2
- package/list.js +5 -3
- package/load-indicator.d.ts +2 -2
- package/load-indicator.js +5 -3
- package/load-panel.d.ts +2 -2
- package/load-panel.js +9 -3
- package/lookup.d.ts +3 -2
- package/lookup.js +6 -3
- package/map.d.ts +2 -2
- package/map.js +5 -3
- package/menu.d.ts +2 -2
- package/menu.js +5 -3
- package/multi-view.d.ts +2 -2
- package/multi-view.js +5 -3
- package/nav-bar.d.ts +2 -2
- package/nav-bar.js +5 -3
- package/number-box.d.ts +2 -2
- package/number-box.js +5 -3
- package/package.json +59 -1
- package/pie-chart.d.ts +5 -2
- package/pie-chart.js +5 -3
- package/pivot-grid-field-chooser.d.ts +2 -2
- package/pivot-grid-field-chooser.js +5 -3
- package/pivot-grid.d.ts +2 -2
- package/pivot-grid.js +5 -3
- package/polar-chart.d.ts +6 -2
- package/polar-chart.js +7 -4
- package/popover.d.ts +2 -2
- package/popover.js +9 -3
- package/popup.d.ts +2 -2
- package/popup.js +9 -3
- package/progress-bar.d.ts +2 -2
- package/progress-bar.js +5 -3
- package/radio-group.d.ts +2 -2
- package/radio-group.js +5 -3
- package/range-selector.d.ts +6 -2
- package/range-selector.js +7 -4
- package/range-slider.d.ts +2 -2
- package/range-slider.js +5 -3
- package/recurrence-editor.d.ts +2 -2
- package/recurrence-editor.js +5 -3
- package/resizable.d.ts +2 -2
- package/resizable.js +6 -3
- package/responsive-box.d.ts +2 -2
- package/responsive-box.js +5 -3
- package/sankey.d.ts +2 -2
- package/sankey.js +5 -3
- package/scheduler.d.ts +2 -2
- package/scheduler.js +5 -3
- package/scroll-view.d.ts +2 -2
- package/scroll-view.js +5 -3
- package/select-box.d.ts +3 -2
- package/select-box.js +5 -3
- package/slide-out-view.d.ts +2 -2
- package/slide-out-view.js +5 -3
- package/slide-out.d.ts +2 -2
- package/slide-out.js +5 -3
- package/slider.d.ts +2 -2
- package/slider.js +5 -3
- package/sortable.d.ts +2 -2
- package/sortable.js +5 -3
- package/sparkline.d.ts +2 -2
- package/sparkline.js +5 -3
- package/speed-dial-action.d.ts +2 -2
- package/speed-dial-action.js +5 -3
- package/switch.d.ts +2 -2
- package/switch.js +5 -3
- package/tab-panel.d.ts +2 -2
- package/tab-panel.js +5 -3
- package/tabs.d.ts +2 -2
- package/tabs.js +5 -3
- package/tag-box.d.ts +3 -2
- package/tag-box.js +5 -3
- package/text-area.d.ts +2 -2
- package/text-area.js +5 -3
- package/text-box.d.ts +2 -2
- package/text-box.js +5 -3
- package/tile-view.d.ts +2 -2
- package/tile-view.js +5 -3
- package/toast.d.ts +2 -2
- package/toast.js +9 -3
- package/toolbar.d.ts +2 -2
- package/toolbar.js +5 -3
- package/tooltip.d.ts +2 -2
- package/tooltip.js +9 -3
- package/tree-list.d.ts +4 -2
- package/tree-list.js +7 -4
- package/tree-map.d.ts +2 -2
- package/tree-map.js +5 -3
- package/tree-view.d.ts +2 -2
- package/tree-view.js +5 -3
- package/ui/accordion.d.ts +2 -2
- package/ui/accordion.js +4 -3
- package/ui/action-sheet.d.ts +2 -2
- package/ui/action-sheet.js +4 -3
- package/ui/autocomplete.d.ts +2 -2
- package/ui/autocomplete.js +4 -3
- package/ui/bar-gauge.d.ts +2 -2
- package/ui/bar-gauge.js +4 -3
- package/ui/box.d.ts +2 -2
- package/ui/box.js +4 -3
- package/ui/bullet.d.ts +2 -2
- package/ui/bullet.js +4 -3
- package/ui/button-group.d.ts +2 -2
- package/ui/button-group.js +4 -3
- package/ui/button.d.ts +2 -2
- package/ui/button.js +4 -3
- package/ui/calendar.d.ts +2 -2
- package/ui/calendar.js +4 -3
- package/ui/chart.d.ts +2 -2
- package/ui/chart.js +4 -3
- package/ui/check-box.d.ts +2 -2
- package/ui/check-box.js +4 -3
- package/ui/circular-gauge.d.ts +2 -2
- package/ui/circular-gauge.js +4 -3
- package/ui/color-box.d.ts +2 -2
- package/ui/color-box.js +4 -3
- package/ui/context-menu.d.ts +2 -2
- package/ui/context-menu.js +4 -3
- package/ui/data-grid.d.ts +2 -2
- package/ui/data-grid.js +4 -3
- package/ui/date-box.d.ts +2 -2
- package/ui/date-box.js +4 -3
- package/ui/defer-rendering.d.ts +2 -2
- package/ui/defer-rendering.js +4 -3
- package/ui/diagram.d.ts +2 -2
- package/ui/diagram.js +4 -3
- package/ui/draggable.d.ts +2 -2
- package/ui/draggable.js +4 -3
- package/ui/drawer.d.ts +2 -2
- package/ui/drawer.js +4 -3
- package/ui/drop-down-box.d.ts +2 -2
- package/ui/drop-down-box.js +4 -3
- package/ui/drop-down-button.d.ts +2 -2
- package/ui/drop-down-button.js +4 -3
- package/ui/file-manager.d.ts +2 -2
- package/ui/file-manager.js +4 -3
- package/ui/file-uploader.d.ts +2 -2
- package/ui/file-uploader.js +4 -3
- package/ui/filter-builder.d.ts +2 -2
- package/ui/filter-builder.js +4 -3
- package/ui/form.d.ts +2 -2
- package/ui/form.js +4 -3
- package/ui/funnel.d.ts +2 -2
- package/ui/funnel.js +4 -3
- package/ui/gallery.d.ts +2 -2
- package/ui/gallery.js +4 -3
- package/ui/gantt.d.ts +2 -2
- package/ui/gantt.js +4 -3
- package/ui/html-editor.d.ts +2 -2
- package/ui/html-editor.js +4 -3
- package/ui/linear-gauge.d.ts +2 -2
- package/ui/linear-gauge.js +4 -3
- package/ui/list.d.ts +2 -2
- package/ui/list.js +4 -3
- package/ui/load-indicator.d.ts +2 -2
- package/ui/load-indicator.js +4 -3
- package/ui/load-panel.d.ts +2 -2
- package/ui/load-panel.js +4 -3
- package/ui/lookup.d.ts +2 -2
- package/ui/lookup.js +4 -3
- package/ui/map.d.ts +2 -2
- package/ui/map.js +4 -3
- package/ui/menu.d.ts +2 -2
- package/ui/menu.js +4 -3
- package/ui/multi-view.d.ts +2 -2
- package/ui/multi-view.js +4 -3
- package/ui/nav-bar.d.ts +2 -2
- package/ui/nav-bar.js +4 -3
- package/ui/number-box.d.ts +2 -2
- package/ui/number-box.js +4 -3
- package/ui/pie-chart.d.ts +2 -2
- package/ui/pie-chart.js +4 -3
- package/ui/pivot-grid-field-chooser.d.ts +2 -2
- package/ui/pivot-grid-field-chooser.js +4 -3
- package/ui/pivot-grid.d.ts +2 -2
- package/ui/pivot-grid.js +4 -3
- package/ui/polar-chart.d.ts +2 -2
- package/ui/polar-chart.js +4 -3
- package/ui/popover.d.ts +2 -2
- package/ui/popover.js +4 -3
- package/ui/popup.d.ts +2 -2
- package/ui/popup.js +4 -3
- package/ui/progress-bar.d.ts +2 -2
- package/ui/progress-bar.js +4 -3
- package/ui/radio-group.d.ts +2 -2
- package/ui/radio-group.js +4 -3
- package/ui/range-selector.d.ts +2 -2
- package/ui/range-selector.js +4 -3
- package/ui/range-slider.d.ts +2 -2
- package/ui/range-slider.js +4 -3
- package/ui/recurrence-editor.d.ts +2 -2
- package/ui/recurrence-editor.js +4 -3
- package/ui/resizable.d.ts +2 -2
- package/ui/resizable.js +4 -3
- package/ui/responsive-box.d.ts +2 -2
- package/ui/responsive-box.js +4 -3
- package/ui/sankey.d.ts +2 -2
- package/ui/sankey.js +4 -3
- package/ui/scheduler.d.ts +2 -2
- package/ui/scheduler.js +4 -3
- package/ui/scroll-view.d.ts +2 -2
- package/ui/scroll-view.js +4 -3
- package/ui/select-box.d.ts +2 -2
- package/ui/select-box.js +4 -3
- package/ui/slide-out-view.d.ts +2 -2
- package/ui/slide-out-view.js +4 -3
- package/ui/slide-out.d.ts +2 -2
- package/ui/slide-out.js +4 -3
- package/ui/slider.d.ts +2 -2
- package/ui/slider.js +4 -3
- package/ui/sortable.d.ts +2 -2
- package/ui/sortable.js +4 -3
- package/ui/sparkline.d.ts +2 -2
- package/ui/sparkline.js +4 -3
- package/ui/speed-dial-action.d.ts +2 -2
- package/ui/speed-dial-action.js +4 -3
- package/ui/switch.d.ts +2 -2
- package/ui/switch.js +4 -3
- package/ui/tab-panel.d.ts +2 -2
- package/ui/tab-panel.js +4 -3
- package/ui/tabs.d.ts +2 -2
- package/ui/tabs.js +4 -3
- package/ui/tag-box.d.ts +2 -2
- package/ui/tag-box.js +4 -3
- package/ui/text-area.d.ts +2 -2
- package/ui/text-area.js +4 -3
- package/ui/text-box.d.ts +2 -2
- package/ui/text-box.js +4 -3
- package/ui/tile-view.d.ts +2 -2
- package/ui/tile-view.js +4 -3
- package/ui/toast.d.ts +2 -2
- package/ui/toast.js +4 -3
- package/ui/toolbar.d.ts +2 -2
- package/ui/toolbar.js +4 -3
- package/ui/tooltip.d.ts +2 -2
- package/ui/tooltip.js +4 -3
- package/ui/tree-list.d.ts +2 -2
- package/ui/tree-list.js +4 -3
- package/ui/tree-map.d.ts +2 -2
- package/ui/tree-map.js +4 -3
- package/ui/tree-view.d.ts +2 -2
- package/ui/tree-view.js +4 -3
- package/ui/validation-group.d.ts +2 -2
- package/ui/validation-group.js +4 -3
- package/ui/validation-summary.d.ts +2 -2
- package/ui/validation-summary.js +4 -3
- package/ui/validator.d.ts +2 -2
- package/ui/validator.js +4 -3
- package/ui/vector-map.d.ts +2 -2
- package/ui/vector-map.js +4 -3
- package/validation-group.d.ts +2 -2
- package/validation-group.js +5 -3
- package/validation-summary.d.ts +2 -2
- package/validation-summary.js +5 -3
- package/validator.d.ts +2 -2
- package/validator.js +5 -3
- package/vector-map.d.ts +2 -2
- package/vector-map.js +5 -3
package/gantt.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.2-beta
|
|
4
|
+
* Build date: Tue May 17 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,17 +16,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
16
16
|
var extendStatics = function (d, b) {
|
|
17
17
|
extendStatics = Object.setPrototypeOf ||
|
|
18
18
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
20
|
return extendStatics(d, b);
|
|
21
21
|
};
|
|
22
22
|
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
23
25
|
extendStatics(d, b);
|
|
24
26
|
function __() { this.constructor = d; }
|
|
25
27
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
26
28
|
};
|
|
27
29
|
})();
|
|
28
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
31
|
+
exports.Validation = exports.ToolbarItem = exports.Toolbar = exports.Texts = exports.Tasks = exports.StripLine = exports.Sorting = exports.ScaleTypeRange = exports.Resources = exports.ResourceAssignments = exports.OperationDescriptions = exports.Lookup = exports.Item = exports.HeaderFilter = exports.GanttHeaderFilter = exports.Format = exports.FilterRow = exports.Editing = exports.Dependencies = exports.ContextMenuItem = exports.ContextMenu = exports.ColumnHeaderFilter = exports.Column = exports.Gantt = void 0;
|
|
30
32
|
var gantt_1 = require("devextreme/ui/gantt");
|
|
31
33
|
var PropTypes = require("prop-types");
|
|
32
34
|
var component_1 = require("./core/component");
|
|
@@ -36,7 +38,7 @@ var Gantt = /** @class */ (function (_super) {
|
|
|
36
38
|
function Gantt() {
|
|
37
39
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
38
40
|
_this._WidgetClass = gantt_1.default;
|
|
39
|
-
_this.independentEvents = ["onContentReady", "onContextMenuPreparing", "onCustomCommand", "onDependencyDeleted", "onDependencyDeleting", "onDependencyInserted", "onDependencyInserting", "onDisposing", "onInitialized", "onResourceAssigned", "onResourceAssigning", "onResourceDeleted", "onResourceDeleting", "onResourceInserted", "onResourceInserting", "onResourceManagerDialogShowing", "onResourceUnassigned", "onResourceUnassigning", "onTaskClick", "onTaskDblClick", "onTaskDeleted", "onTaskDeleting", "onTaskEditDialogShowing", "onTaskInserted", "onTaskInserting", "onTaskMoving", "onTaskUpdated", "onTaskUpdating"];
|
|
41
|
+
_this.independentEvents = ["onContentReady", "onContextMenuPreparing", "onCustomCommand", "onDependencyDeleted", "onDependencyDeleting", "onDependencyInserted", "onDependencyInserting", "onDisposing", "onInitialized", "onResourceAssigned", "onResourceAssigning", "onResourceDeleted", "onResourceDeleting", "onResourceInserted", "onResourceInserting", "onResourceManagerDialogShowing", "onResourceUnassigned", "onResourceUnassigning", "onScaleCellPrepared", "onTaskClick", "onTaskDblClick", "onTaskDeleted", "onTaskDeleting", "onTaskEditDialogShowing", "onTaskInserted", "onTaskInserting", "onTaskMoving", "onTaskUpdated", "onTaskUpdating"];
|
|
40
42
|
_this._expectedChildren = {
|
|
41
43
|
column: { optionName: "columns", isCollectionItem: true },
|
|
42
44
|
contextMenu: { optionName: "contextMenu", isCollectionItem: false },
|
|
@@ -135,6 +137,7 @@ Gantt.propTypes = {
|
|
|
135
137
|
onResourceManagerDialogShowing: PropTypes.func,
|
|
136
138
|
onResourceUnassigned: PropTypes.func,
|
|
137
139
|
onResourceUnassigning: PropTypes.func,
|
|
140
|
+
onScaleCellPrepared: PropTypes.func,
|
|
138
141
|
onSelectionChanged: PropTypes.func,
|
|
139
142
|
onTaskClick: PropTypes.func,
|
|
140
143
|
onTaskDblClick: PropTypes.func,
|
|
@@ -152,6 +155,7 @@ Gantt.propTypes = {
|
|
|
152
155
|
"auto",
|
|
153
156
|
"minutes",
|
|
154
157
|
"hours",
|
|
158
|
+
"sixHours",
|
|
155
159
|
"days",
|
|
156
160
|
"weeks",
|
|
157
161
|
"months",
|
|
@@ -181,35 +185,6 @@ Gantt.propTypes = {
|
|
|
181
185
|
PropTypes.string
|
|
182
186
|
])
|
|
183
187
|
};
|
|
184
|
-
var AsyncRule = /** @class */ (function (_super) {
|
|
185
|
-
__extends(AsyncRule, _super);
|
|
186
|
-
function AsyncRule() {
|
|
187
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
188
|
-
}
|
|
189
|
-
AsyncRule.OptionName = "validationRules";
|
|
190
|
-
AsyncRule.IsCollectionItem = true;
|
|
191
|
-
AsyncRule.PredefinedProps = {
|
|
192
|
-
type: "async"
|
|
193
|
-
};
|
|
194
|
-
return AsyncRule;
|
|
195
|
-
}(nested_option_1.default));
|
|
196
|
-
exports.AsyncRule = AsyncRule;
|
|
197
|
-
var Button = /** @class */ (function (_super) {
|
|
198
|
-
__extends(Button, _super);
|
|
199
|
-
function Button() {
|
|
200
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
201
|
-
}
|
|
202
|
-
Button.OptionName = "buttons";
|
|
203
|
-
Button.IsCollectionItem = true;
|
|
204
|
-
Button.TemplateProps = [{
|
|
205
|
-
tmplOption: "template",
|
|
206
|
-
render: "render",
|
|
207
|
-
component: "component",
|
|
208
|
-
keyFn: "keyFn"
|
|
209
|
-
}];
|
|
210
|
-
return Button;
|
|
211
|
-
}(nested_option_1.default));
|
|
212
|
-
exports.Button = Button;
|
|
213
188
|
var Column = /** @class */ (function (_super) {
|
|
214
189
|
__extends(Column, _super);
|
|
215
190
|
function Column() {
|
|
@@ -227,33 +202,16 @@ var Column = /** @class */ (function (_super) {
|
|
|
227
202
|
defaultVisibleIndex: "visibleIndex"
|
|
228
203
|
};
|
|
229
204
|
Column.ExpectedChildren = {
|
|
230
|
-
AsyncRule: { optionName: "validationRules", isCollectionItem: true },
|
|
231
|
-
button: { optionName: "buttons", isCollectionItem: true },
|
|
232
205
|
columnHeaderFilter: { optionName: "headerFilter", isCollectionItem: false },
|
|
233
|
-
CompareRule: { optionName: "validationRules", isCollectionItem: true },
|
|
234
|
-
CustomRule: { optionName: "validationRules", isCollectionItem: true },
|
|
235
|
-
EmailRule: { optionName: "validationRules", isCollectionItem: true },
|
|
236
206
|
format: { optionName: "format", isCollectionItem: false },
|
|
237
|
-
formItem: { optionName: "formItem", isCollectionItem: false },
|
|
238
207
|
headerFilter: { optionName: "headerFilter", isCollectionItem: false },
|
|
239
|
-
lookup: { optionName: "lookup", isCollectionItem: false }
|
|
240
|
-
NumericRule: { optionName: "validationRules", isCollectionItem: true },
|
|
241
|
-
PatternRule: { optionName: "validationRules", isCollectionItem: true },
|
|
242
|
-
RangeRule: { optionName: "validationRules", isCollectionItem: true },
|
|
243
|
-
RequiredRule: { optionName: "validationRules", isCollectionItem: true },
|
|
244
|
-
StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
|
|
245
|
-
validationRule: { optionName: "validationRules", isCollectionItem: true }
|
|
208
|
+
lookup: { optionName: "lookup", isCollectionItem: false }
|
|
246
209
|
};
|
|
247
210
|
Column.TemplateProps = [{
|
|
248
211
|
tmplOption: "cellTemplate",
|
|
249
212
|
render: "cellRender",
|
|
250
213
|
component: "cellComponent",
|
|
251
214
|
keyFn: "cellKeyFn"
|
|
252
|
-
}, {
|
|
253
|
-
tmplOption: "editCellTemplate",
|
|
254
|
-
render: "editCellRender",
|
|
255
|
-
component: "editCellComponent",
|
|
256
|
-
keyFn: "editCellKeyFn"
|
|
257
215
|
}, {
|
|
258
216
|
tmplOption: "headerCellTemplate",
|
|
259
217
|
render: "headerCellRender",
|
|
@@ -272,19 +230,6 @@ var ColumnHeaderFilter = /** @class */ (function (_super) {
|
|
|
272
230
|
return ColumnHeaderFilter;
|
|
273
231
|
}(nested_option_1.default));
|
|
274
232
|
exports.ColumnHeaderFilter = ColumnHeaderFilter;
|
|
275
|
-
var CompareRule = /** @class */ (function (_super) {
|
|
276
|
-
__extends(CompareRule, _super);
|
|
277
|
-
function CompareRule() {
|
|
278
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
279
|
-
}
|
|
280
|
-
CompareRule.OptionName = "validationRules";
|
|
281
|
-
CompareRule.IsCollectionItem = true;
|
|
282
|
-
CompareRule.PredefinedProps = {
|
|
283
|
-
type: "compare"
|
|
284
|
-
};
|
|
285
|
-
return CompareRule;
|
|
286
|
-
}(nested_option_1.default));
|
|
287
|
-
exports.CompareRule = CompareRule;
|
|
288
233
|
var ContextMenu = /** @class */ (function (_super) {
|
|
289
234
|
__extends(ContextMenu, _super);
|
|
290
235
|
function ContextMenu() {
|
|
@@ -314,19 +259,6 @@ var ContextMenuItem = /** @class */ (function (_super) {
|
|
|
314
259
|
return ContextMenuItem;
|
|
315
260
|
}(nested_option_1.default));
|
|
316
261
|
exports.ContextMenuItem = ContextMenuItem;
|
|
317
|
-
var CustomRule = /** @class */ (function (_super) {
|
|
318
|
-
__extends(CustomRule, _super);
|
|
319
|
-
function CustomRule() {
|
|
320
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
321
|
-
}
|
|
322
|
-
CustomRule.OptionName = "validationRules";
|
|
323
|
-
CustomRule.IsCollectionItem = true;
|
|
324
|
-
CustomRule.PredefinedProps = {
|
|
325
|
-
type: "custom"
|
|
326
|
-
};
|
|
327
|
-
return CustomRule;
|
|
328
|
-
}(nested_option_1.default));
|
|
329
|
-
exports.CustomRule = CustomRule;
|
|
330
262
|
var Dependencies = /** @class */ (function (_super) {
|
|
331
263
|
__extends(Dependencies, _super);
|
|
332
264
|
function Dependencies() {
|
|
@@ -345,19 +277,6 @@ var Editing = /** @class */ (function (_super) {
|
|
|
345
277
|
return Editing;
|
|
346
278
|
}(nested_option_1.default));
|
|
347
279
|
exports.Editing = Editing;
|
|
348
|
-
var EmailRule = /** @class */ (function (_super) {
|
|
349
|
-
__extends(EmailRule, _super);
|
|
350
|
-
function EmailRule() {
|
|
351
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
352
|
-
}
|
|
353
|
-
EmailRule.OptionName = "validationRules";
|
|
354
|
-
EmailRule.IsCollectionItem = true;
|
|
355
|
-
EmailRule.PredefinedProps = {
|
|
356
|
-
type: "email"
|
|
357
|
-
};
|
|
358
|
-
return EmailRule;
|
|
359
|
-
}(nested_option_1.default));
|
|
360
|
-
exports.EmailRule = EmailRule;
|
|
361
280
|
var FilterRow = /** @class */ (function (_super) {
|
|
362
281
|
__extends(FilterRow, _super);
|
|
363
282
|
function FilterRow() {
|
|
@@ -379,34 +298,6 @@ var Format = /** @class */ (function (_super) {
|
|
|
379
298
|
return Format;
|
|
380
299
|
}(nested_option_1.default));
|
|
381
300
|
exports.Format = Format;
|
|
382
|
-
var FormItem = /** @class */ (function (_super) {
|
|
383
|
-
__extends(FormItem, _super);
|
|
384
|
-
function FormItem() {
|
|
385
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
386
|
-
}
|
|
387
|
-
FormItem.OptionName = "formItem";
|
|
388
|
-
FormItem.ExpectedChildren = {
|
|
389
|
-
AsyncRule: { optionName: "validationRules", isCollectionItem: true },
|
|
390
|
-
CompareRule: { optionName: "validationRules", isCollectionItem: true },
|
|
391
|
-
CustomRule: { optionName: "validationRules", isCollectionItem: true },
|
|
392
|
-
EmailRule: { optionName: "validationRules", isCollectionItem: true },
|
|
393
|
-
label: { optionName: "label", isCollectionItem: false },
|
|
394
|
-
NumericRule: { optionName: "validationRules", isCollectionItem: true },
|
|
395
|
-
PatternRule: { optionName: "validationRules", isCollectionItem: true },
|
|
396
|
-
RangeRule: { optionName: "validationRules", isCollectionItem: true },
|
|
397
|
-
RequiredRule: { optionName: "validationRules", isCollectionItem: true },
|
|
398
|
-
StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
|
|
399
|
-
validationRule: { optionName: "validationRules", isCollectionItem: true }
|
|
400
|
-
};
|
|
401
|
-
FormItem.TemplateProps = [{
|
|
402
|
-
tmplOption: "template",
|
|
403
|
-
render: "render",
|
|
404
|
-
component: "component",
|
|
405
|
-
keyFn: "keyFn"
|
|
406
|
-
}];
|
|
407
|
-
return FormItem;
|
|
408
|
-
}(nested_option_1.default));
|
|
409
|
-
exports.FormItem = FormItem;
|
|
410
301
|
var GanttHeaderFilter = /** @class */ (function (_super) {
|
|
411
302
|
__extends(GanttHeaderFilter, _super);
|
|
412
303
|
function GanttHeaderFilter() {
|
|
@@ -449,15 +340,6 @@ var Item = /** @class */ (function (_super) {
|
|
|
449
340
|
return Item;
|
|
450
341
|
}(nested_option_1.default));
|
|
451
342
|
exports.Item = Item;
|
|
452
|
-
var Label = /** @class */ (function (_super) {
|
|
453
|
-
__extends(Label, _super);
|
|
454
|
-
function Label() {
|
|
455
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
456
|
-
}
|
|
457
|
-
Label.OptionName = "label";
|
|
458
|
-
return Label;
|
|
459
|
-
}(nested_option_1.default));
|
|
460
|
-
exports.Label = Label;
|
|
461
343
|
var Lookup = /** @class */ (function (_super) {
|
|
462
344
|
__extends(Lookup, _super);
|
|
463
345
|
function Lookup() {
|
|
@@ -467,19 +349,6 @@ var Lookup = /** @class */ (function (_super) {
|
|
|
467
349
|
return Lookup;
|
|
468
350
|
}(nested_option_1.default));
|
|
469
351
|
exports.Lookup = Lookup;
|
|
470
|
-
var NumericRule = /** @class */ (function (_super) {
|
|
471
|
-
__extends(NumericRule, _super);
|
|
472
|
-
function NumericRule() {
|
|
473
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
474
|
-
}
|
|
475
|
-
NumericRule.OptionName = "validationRules";
|
|
476
|
-
NumericRule.IsCollectionItem = true;
|
|
477
|
-
NumericRule.PredefinedProps = {
|
|
478
|
-
type: "numeric"
|
|
479
|
-
};
|
|
480
|
-
return NumericRule;
|
|
481
|
-
}(nested_option_1.default));
|
|
482
|
-
exports.NumericRule = NumericRule;
|
|
483
352
|
var OperationDescriptions = /** @class */ (function (_super) {
|
|
484
353
|
__extends(OperationDescriptions, _super);
|
|
485
354
|
function OperationDescriptions() {
|
|
@@ -489,45 +358,6 @@ var OperationDescriptions = /** @class */ (function (_super) {
|
|
|
489
358
|
return OperationDescriptions;
|
|
490
359
|
}(nested_option_1.default));
|
|
491
360
|
exports.OperationDescriptions = OperationDescriptions;
|
|
492
|
-
var PatternRule = /** @class */ (function (_super) {
|
|
493
|
-
__extends(PatternRule, _super);
|
|
494
|
-
function PatternRule() {
|
|
495
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
496
|
-
}
|
|
497
|
-
PatternRule.OptionName = "validationRules";
|
|
498
|
-
PatternRule.IsCollectionItem = true;
|
|
499
|
-
PatternRule.PredefinedProps = {
|
|
500
|
-
type: "pattern"
|
|
501
|
-
};
|
|
502
|
-
return PatternRule;
|
|
503
|
-
}(nested_option_1.default));
|
|
504
|
-
exports.PatternRule = PatternRule;
|
|
505
|
-
var RangeRule = /** @class */ (function (_super) {
|
|
506
|
-
__extends(RangeRule, _super);
|
|
507
|
-
function RangeRule() {
|
|
508
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
509
|
-
}
|
|
510
|
-
RangeRule.OptionName = "validationRules";
|
|
511
|
-
RangeRule.IsCollectionItem = true;
|
|
512
|
-
RangeRule.PredefinedProps = {
|
|
513
|
-
type: "range"
|
|
514
|
-
};
|
|
515
|
-
return RangeRule;
|
|
516
|
-
}(nested_option_1.default));
|
|
517
|
-
exports.RangeRule = RangeRule;
|
|
518
|
-
var RequiredRule = /** @class */ (function (_super) {
|
|
519
|
-
__extends(RequiredRule, _super);
|
|
520
|
-
function RequiredRule() {
|
|
521
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
522
|
-
}
|
|
523
|
-
RequiredRule.OptionName = "validationRules";
|
|
524
|
-
RequiredRule.IsCollectionItem = true;
|
|
525
|
-
RequiredRule.PredefinedProps = {
|
|
526
|
-
type: "required"
|
|
527
|
-
};
|
|
528
|
-
return RequiredRule;
|
|
529
|
-
}(nested_option_1.default));
|
|
530
|
-
exports.RequiredRule = RequiredRule;
|
|
531
361
|
var ResourceAssignments = /** @class */ (function (_super) {
|
|
532
362
|
__extends(ResourceAssignments, _super);
|
|
533
363
|
function ResourceAssignments() {
|
|
@@ -564,19 +394,6 @@ var Sorting = /** @class */ (function (_super) {
|
|
|
564
394
|
return Sorting;
|
|
565
395
|
}(nested_option_1.default));
|
|
566
396
|
exports.Sorting = Sorting;
|
|
567
|
-
var StringLengthRule = /** @class */ (function (_super) {
|
|
568
|
-
__extends(StringLengthRule, _super);
|
|
569
|
-
function StringLengthRule() {
|
|
570
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
571
|
-
}
|
|
572
|
-
StringLengthRule.OptionName = "validationRules";
|
|
573
|
-
StringLengthRule.IsCollectionItem = true;
|
|
574
|
-
StringLengthRule.PredefinedProps = {
|
|
575
|
-
type: "stringLength"
|
|
576
|
-
};
|
|
577
|
-
return StringLengthRule;
|
|
578
|
-
}(nested_option_1.default));
|
|
579
|
-
exports.StringLengthRule = StringLengthRule;
|
|
580
397
|
var StripLine = /** @class */ (function (_super) {
|
|
581
398
|
__extends(StripLine, _super);
|
|
582
399
|
function StripLine() {
|
|
@@ -648,17 +465,4 @@ var Validation = /** @class */ (function (_super) {
|
|
|
648
465
|
return Validation;
|
|
649
466
|
}(nested_option_1.default));
|
|
650
467
|
exports.Validation = Validation;
|
|
651
|
-
var ValidationRule = /** @class */ (function (_super) {
|
|
652
|
-
__extends(ValidationRule, _super);
|
|
653
|
-
function ValidationRule() {
|
|
654
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
655
|
-
}
|
|
656
|
-
ValidationRule.OptionName = "validationRules";
|
|
657
|
-
ValidationRule.IsCollectionItem = true;
|
|
658
|
-
ValidationRule.PredefinedProps = {
|
|
659
|
-
type: "required"
|
|
660
|
-
};
|
|
661
|
-
return ValidationRule;
|
|
662
|
-
}(nested_option_1.default));
|
|
663
|
-
exports.ValidationRule = ValidationRule;
|
|
664
468
|
exports.default = Gantt;
|
package/html-editor.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.2-beta
|
|
4
|
+
* Build date: Tue May 17 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -28,6 +28,10 @@ declare class HtmlEditor extends BaseComponent<IHtmlEditorOptions> {
|
|
|
28
28
|
defaultValue: string;
|
|
29
29
|
};
|
|
30
30
|
protected _expectedChildren: {
|
|
31
|
+
imageUpload: {
|
|
32
|
+
optionName: string;
|
|
33
|
+
isCollectionItem: boolean;
|
|
34
|
+
};
|
|
31
35
|
mediaResizing: {
|
|
32
36
|
optionName: string;
|
|
33
37
|
isCollectionItem: boolean;
|
|
@@ -54,6 +58,105 @@ declare class HtmlEditor extends BaseComponent<IHtmlEditorOptions> {
|
|
|
54
58
|
};
|
|
55
59
|
};
|
|
56
60
|
}
|
|
61
|
+
interface IFileUploaderOptionsProps {
|
|
62
|
+
abortUpload?: any;
|
|
63
|
+
accept?: any;
|
|
64
|
+
accessKey?: any;
|
|
65
|
+
activeStateEnabled?: any;
|
|
66
|
+
allowCanceling?: any;
|
|
67
|
+
allowedFileExtensions?: any;
|
|
68
|
+
bindingOptions?: any;
|
|
69
|
+
chunkSize?: any;
|
|
70
|
+
dialogTrigger?: any;
|
|
71
|
+
disabled?: any;
|
|
72
|
+
dropZone?: any;
|
|
73
|
+
elementAttr?: any;
|
|
74
|
+
extendSelection?: any;
|
|
75
|
+
focusStateEnabled?: any;
|
|
76
|
+
height?: any;
|
|
77
|
+
hint?: any;
|
|
78
|
+
hoverStateEnabled?: any;
|
|
79
|
+
inputAttr?: any;
|
|
80
|
+
invalidFileExtensionMessage?: any;
|
|
81
|
+
invalidMaxFileSizeMessage?: any;
|
|
82
|
+
invalidMinFileSizeMessage?: any;
|
|
83
|
+
isValid?: any;
|
|
84
|
+
labelText?: any;
|
|
85
|
+
maxFileSize?: any;
|
|
86
|
+
minFileSize?: any;
|
|
87
|
+
multiple?: any;
|
|
88
|
+
name?: any;
|
|
89
|
+
onBeforeSend?: any;
|
|
90
|
+
onContentReady?: any;
|
|
91
|
+
onDisposing?: any;
|
|
92
|
+
onDropZoneEnter?: any;
|
|
93
|
+
onDropZoneLeave?: any;
|
|
94
|
+
onFilesUploaded?: any;
|
|
95
|
+
onFocusIn?: any;
|
|
96
|
+
onFocusOut?: any;
|
|
97
|
+
onInitialized?: any;
|
|
98
|
+
onOptionChanged?: any;
|
|
99
|
+
onProgress?: any;
|
|
100
|
+
onUploadAborted?: any;
|
|
101
|
+
onUploaded?: any;
|
|
102
|
+
onUploadError?: any;
|
|
103
|
+
onUploadStarted?: any;
|
|
104
|
+
onValueChanged?: any;
|
|
105
|
+
progress?: any;
|
|
106
|
+
readOnly?: any;
|
|
107
|
+
readyToUploadMessage?: any;
|
|
108
|
+
rtlEnabled?: any;
|
|
109
|
+
selectButtonText?: any;
|
|
110
|
+
showFileList?: any;
|
|
111
|
+
stylingMode?: any;
|
|
112
|
+
tabIndex?: any;
|
|
113
|
+
uploadAbortedMessage?: any;
|
|
114
|
+
uploadButtonText?: any;
|
|
115
|
+
uploadChunk?: any;
|
|
116
|
+
uploadCustomData?: any;
|
|
117
|
+
uploadedMessage?: any;
|
|
118
|
+
uploadFailedMessage?: any;
|
|
119
|
+
uploadFile?: any;
|
|
120
|
+
uploadHeaders?: any;
|
|
121
|
+
uploadMethod?: any;
|
|
122
|
+
uploadMode?: any;
|
|
123
|
+
uploadUrl?: any;
|
|
124
|
+
validationError?: any;
|
|
125
|
+
validationErrors?: any;
|
|
126
|
+
validationMessageMode?: any;
|
|
127
|
+
validationStatus?: any;
|
|
128
|
+
value?: any;
|
|
129
|
+
visible?: any;
|
|
130
|
+
width?: any;
|
|
131
|
+
defaultValue?: any;
|
|
132
|
+
onValueChange?: (value: any) => void;
|
|
133
|
+
}
|
|
134
|
+
declare class FileUploaderOptions extends NestedOption<IFileUploaderOptionsProps> {
|
|
135
|
+
static OptionName: string;
|
|
136
|
+
static DefaultsProps: {
|
|
137
|
+
defaultValue: string;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
interface IImageUploadProps {
|
|
141
|
+
fileUploaderOptions?: any;
|
|
142
|
+
fileUploadMode?: any;
|
|
143
|
+
tabs?: any;
|
|
144
|
+
uploadDirectory?: any;
|
|
145
|
+
uploadUrl?: any;
|
|
146
|
+
}
|
|
147
|
+
declare class ImageUpload extends NestedOption<IImageUploadProps> {
|
|
148
|
+
static OptionName: string;
|
|
149
|
+
static ExpectedChildren: {
|
|
150
|
+
fileUploaderOptions: {
|
|
151
|
+
optionName: string;
|
|
152
|
+
isCollectionItem: boolean;
|
|
153
|
+
};
|
|
154
|
+
tab: {
|
|
155
|
+
optionName: string;
|
|
156
|
+
isCollectionItem: boolean;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
}
|
|
57
160
|
interface IItemProps {
|
|
58
161
|
beginGroup?: any;
|
|
59
162
|
closeMenuOnClick?: any;
|
|
@@ -128,6 +231,13 @@ declare class Mention extends NestedOption<IMentionProps> {
|
|
|
128
231
|
keyFn: string;
|
|
129
232
|
}[];
|
|
130
233
|
}
|
|
234
|
+
interface ITabProps {
|
|
235
|
+
name?: any;
|
|
236
|
+
}
|
|
237
|
+
declare class Tab extends NestedOption<ITabProps> {
|
|
238
|
+
static OptionName: string;
|
|
239
|
+
static IsCollectionItem: boolean;
|
|
240
|
+
}
|
|
131
241
|
interface ITableContextMenuProps {
|
|
132
242
|
enabled?: any;
|
|
133
243
|
items?: any;
|
|
@@ -240,4 +350,4 @@ declare class Variables extends NestedOption<IVariablesProps> {
|
|
|
240
350
|
static OptionName: string;
|
|
241
351
|
}
|
|
242
352
|
export default HtmlEditor;
|
|
243
|
-
export { HtmlEditor, IHtmlEditorOptions, Item, IItemProps, MediaResizing, IMediaResizingProps, Mention, IMentionProps, TableContextMenu, ITableContextMenuProps, TableContextMenuItem, ITableContextMenuItemProps, TableResizing, ITableResizingProps, Toolbar, IToolbarProps, ToolbarItem, IToolbarItemProps, Variables, IVariablesProps };
|
|
353
|
+
export { HtmlEditor, IHtmlEditorOptions, FileUploaderOptions, IFileUploaderOptionsProps, ImageUpload, IImageUploadProps, Item, IItemProps, MediaResizing, IMediaResizingProps, Mention, IMentionProps, Tab, ITabProps, TableContextMenu, ITableContextMenuProps, TableContextMenuItem, ITableContextMenuItemProps, TableResizing, ITableResizingProps, Toolbar, IToolbarProps, ToolbarItem, IToolbarItemProps, Variables, IVariablesProps };
|
package/html-editor.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.2-beta
|
|
4
|
+
* Build date: Tue May 17 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,17 +16,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
16
16
|
var extendStatics = function (d, b) {
|
|
17
17
|
extendStatics = Object.setPrototypeOf ||
|
|
18
18
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
20
|
return extendStatics(d, b);
|
|
21
21
|
};
|
|
22
22
|
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
23
25
|
extendStatics(d, b);
|
|
24
26
|
function __() { this.constructor = d; }
|
|
25
27
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
26
28
|
};
|
|
27
29
|
})();
|
|
28
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.Variables = exports.ToolbarItem = exports.Toolbar = exports.TableResizing = exports.TableContextMenuItem = exports.TableContextMenu = exports.Mention = exports.MediaResizing = exports.Item = exports.HtmlEditor = void 0;
|
|
31
|
+
exports.Variables = exports.ToolbarItem = exports.Toolbar = exports.TableResizing = exports.TableContextMenuItem = exports.TableContextMenu = exports.Tab = exports.Mention = exports.MediaResizing = exports.Item = exports.ImageUpload = exports.FileUploaderOptions = exports.HtmlEditor = void 0;
|
|
30
32
|
var html_editor_1 = require("devextreme/ui/html_editor");
|
|
31
33
|
var PropTypes = require("prop-types");
|
|
32
34
|
var component_1 = require("./core/component");
|
|
@@ -42,6 +44,7 @@ var HtmlEditor = /** @class */ (function (_super) {
|
|
|
42
44
|
defaultValue: "value"
|
|
43
45
|
};
|
|
44
46
|
_this._expectedChildren = {
|
|
47
|
+
imageUpload: { optionName: "imageUpload", isCollectionItem: false },
|
|
45
48
|
mediaResizing: { optionName: "mediaResizing", isCollectionItem: false },
|
|
46
49
|
mention: { optionName: "mentions", isCollectionItem: true },
|
|
47
50
|
tableContextMenu: { optionName: "tableContextMenu", isCollectionItem: false },
|
|
@@ -76,6 +79,7 @@ HtmlEditor.propTypes = {
|
|
|
76
79
|
]),
|
|
77
80
|
hint: PropTypes.string,
|
|
78
81
|
hoverStateEnabled: PropTypes.bool,
|
|
82
|
+
imageUpload: PropTypes.object,
|
|
79
83
|
isValid: PropTypes.bool,
|
|
80
84
|
mediaResizing: PropTypes.object,
|
|
81
85
|
mentions: PropTypes.array,
|
|
@@ -121,6 +125,31 @@ HtmlEditor.propTypes = {
|
|
|
121
125
|
PropTypes.string
|
|
122
126
|
])
|
|
123
127
|
};
|
|
128
|
+
var FileUploaderOptions = /** @class */ (function (_super) {
|
|
129
|
+
__extends(FileUploaderOptions, _super);
|
|
130
|
+
function FileUploaderOptions() {
|
|
131
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
132
|
+
}
|
|
133
|
+
FileUploaderOptions.OptionName = "fileUploaderOptions";
|
|
134
|
+
FileUploaderOptions.DefaultsProps = {
|
|
135
|
+
defaultValue: "value"
|
|
136
|
+
};
|
|
137
|
+
return FileUploaderOptions;
|
|
138
|
+
}(nested_option_1.default));
|
|
139
|
+
exports.FileUploaderOptions = FileUploaderOptions;
|
|
140
|
+
var ImageUpload = /** @class */ (function (_super) {
|
|
141
|
+
__extends(ImageUpload, _super);
|
|
142
|
+
function ImageUpload() {
|
|
143
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
144
|
+
}
|
|
145
|
+
ImageUpload.OptionName = "imageUpload";
|
|
146
|
+
ImageUpload.ExpectedChildren = {
|
|
147
|
+
fileUploaderOptions: { optionName: "fileUploaderOptions", isCollectionItem: false },
|
|
148
|
+
tab: { optionName: "tabs", isCollectionItem: true }
|
|
149
|
+
};
|
|
150
|
+
return ImageUpload;
|
|
151
|
+
}(nested_option_1.default));
|
|
152
|
+
exports.ImageUpload = ImageUpload;
|
|
124
153
|
var Item = /** @class */ (function (_super) {
|
|
125
154
|
__extends(Item, _super);
|
|
126
155
|
function Item() {
|
|
@@ -172,6 +201,16 @@ var Mention = /** @class */ (function (_super) {
|
|
|
172
201
|
return Mention;
|
|
173
202
|
}(nested_option_1.default));
|
|
174
203
|
exports.Mention = Mention;
|
|
204
|
+
var Tab = /** @class */ (function (_super) {
|
|
205
|
+
__extends(Tab, _super);
|
|
206
|
+
function Tab() {
|
|
207
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
208
|
+
}
|
|
209
|
+
Tab.OptionName = "tabs";
|
|
210
|
+
Tab.IsCollectionItem = true;
|
|
211
|
+
return Tab;
|
|
212
|
+
}(nested_option_1.default));
|
|
213
|
+
exports.Tab = Tab;
|
|
175
214
|
var TableContextMenu = /** @class */ (function (_super) {
|
|
176
215
|
__extends(TableContextMenu, _super);
|
|
177
216
|
function TableContextMenu() {
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.2-beta
|
|
4
|
+
* Build date: Tue May 17 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
"use strict";
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RangeSelector = exports.RadioGroup = exports.ProgressBar = exports.Popup = exports.Popover = exports.PolarChart = exports.PivotGridFieldChooser = exports.PivotGrid = exports.PieChart = exports.NumberBox = exports.NavBar = exports.MultiView = exports.Menu = exports.Map = exports.Lookup = exports.LoadPanel = exports.LoadIndicator = exports.List = exports.LinearGauge = exports.HtmlEditor = exports.Gantt = exports.Gallery = exports.Funnel = exports.Form = exports.FilterBuilder = exports.FileUploader = exports.FileManager = exports.DropDownButton = exports.DropDownBox = exports.Drawer = exports.Draggable = exports.Diagram = exports.DeferRendering = exports.DateBox = exports.DataGrid = exports.ContextMenu = exports.ColorBox = exports.CircularGauge = exports.CheckBox = exports.Chart = exports.Calendar = exports.ButtonGroup = exports.Button = exports.Bullet = exports.Box = exports.BarGauge = exports.Autocomplete = exports.ActionSheet = exports.Accordion = exports.Template = void 0;
|
|
17
|
+
exports.VectorMap = exports.Validator = exports.ValidationSummary = exports.ValidationGroup = exports.TreeView = exports.TreeMap = exports.TreeList = exports.Tooltip = exports.Toolbar = exports.Toast = exports.TileView = exports.TextBox = exports.TextArea = exports.TagBox = exports.Tabs = exports.TabPanel = exports.Switch = exports.SpeedDialAction = exports.Sparkline = exports.Sortable = exports.Slider = exports.SlideOutView = exports.SlideOut = exports.SelectBox = exports.ScrollView = exports.Scheduler = exports.Sankey = exports.ResponsiveBox = exports.Resizable = exports.RecurrenceEditor = exports.RangeSlider = void 0;
|
|
16
18
|
var template_1 = require("./core/template");
|
|
17
19
|
Object.defineProperty(exports, "Template", { enumerable: true, get: function () { return template_1.Template; } });
|
|
18
20
|
var accordion_1 = require("./accordion");
|
package/linear-gauge.d.ts
CHANGED
package/linear-gauge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.2-beta
|
|
4
|
+
* Build date: Tue May 17 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,10 +16,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
16
16
|
var extendStatics = function (d, b) {
|
|
17
17
|
extendStatics = Object.setPrototypeOf ||
|
|
18
18
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
20
|
return extendStatics(d, b);
|
|
21
21
|
};
|
|
22
22
|
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
23
25
|
extendStatics(d, b);
|
|
24
26
|
function __() { this.constructor = d; }
|
|
25
27
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|