devextreme-react 25.1.1-alpha → 25.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/card-view/package.json +6 -0
- package/cjs/accordion.d.ts +2 -2
- package/cjs/accordion.js +2 -2
- package/cjs/action-sheet.d.ts +4 -4
- package/cjs/action-sheet.js +2 -2
- package/cjs/autocomplete.d.ts +2 -2
- package/cjs/autocomplete.js +2 -2
- package/cjs/bar-gauge.d.ts +2 -2
- package/cjs/bar-gauge.js +2 -2
- package/cjs/box.d.ts +2 -2
- package/cjs/box.js +2 -2
- package/cjs/bullet.d.ts +2 -2
- package/cjs/bullet.js +2 -2
- package/cjs/button-group.d.ts +4 -4
- package/cjs/button-group.js +2 -2
- package/cjs/button.d.ts +2 -2
- package/cjs/button.js +2 -2
- package/cjs/calendar.d.ts +4 -4
- package/cjs/calendar.js +2 -2
- package/cjs/card-view.d.ts +1496 -0
- package/cjs/card-view.js +872 -0
- package/cjs/chart.d.ts +2 -2
- package/cjs/chart.js +2 -2
- package/cjs/chat.d.ts +44 -4
- package/cjs/chat.js +17 -4
- package/cjs/check-box.d.ts +2 -2
- package/cjs/check-box.js +2 -2
- package/cjs/circular-gauge.d.ts +2 -2
- package/cjs/circular-gauge.js +2 -2
- package/cjs/color-box.d.ts +2 -2
- package/cjs/color-box.js +2 -2
- package/cjs/common/ai-integration.d.ts +14 -0
- package/cjs/common/ai-integration.js +18 -0
- package/cjs/common/charts.d.ts +2 -2
- package/cjs/common/charts.js +2 -2
- package/cjs/common/core/animation.d.ts +2 -2
- package/cjs/common/core/animation.js +2 -2
- package/cjs/common/core/environment.d.ts +2 -2
- package/cjs/common/core/environment.js +2 -2
- package/cjs/common/core/events.d.ts +2 -2
- package/cjs/common/core/events.js +2 -2
- package/cjs/common/core/index.d.ts +2 -2
- package/cjs/common/core/index.js +2 -2
- package/cjs/common/core/localization.d.ts +2 -2
- package/cjs/common/core/localization.js +2 -2
- package/cjs/common/data/custom-store.d.ts +2 -2
- package/cjs/common/data/custom-store.js +2 -2
- package/cjs/common/data.d.ts +2 -2
- package/cjs/common/data.js +2 -2
- package/cjs/common/export/excel.d.ts +2 -2
- package/cjs/common/export/excel.js +2 -2
- package/cjs/common/export/index.d.ts +2 -2
- package/cjs/common/export/index.js +2 -2
- package/cjs/common/export/pdf.d.ts +2 -2
- package/cjs/common/export/pdf.js +2 -2
- package/cjs/common/grids.d.ts +3 -3
- package/cjs/common/grids.js +2 -2
- package/cjs/common/index.d.ts +4 -3
- package/cjs/common/index.js +4 -3
- package/cjs/context-menu.d.ts +2 -2
- package/cjs/context-menu.js +2 -2
- package/cjs/core/component-base.d.ts +2 -2
- package/cjs/core/component-base.js +2 -2
- 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/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/contexts.d.ts +2 -2
- package/cjs/core/contexts.js +2 -2
- package/cjs/core/extension-component.d.ts +2 -2
- package/cjs/core/extension-component.js +2 -2
- package/cjs/core/helpers.d.ts +2 -2
- package/cjs/core/helpers.js +2 -2
- package/cjs/core/nested-option.d.ts +2 -2
- package/cjs/core/nested-option.js +2 -2
- package/cjs/core/options-manager.d.ts +2 -2
- package/cjs/core/options-manager.js +2 -2
- package/cjs/core/template-manager.d.ts +2 -2
- package/cjs/core/template-manager.js +2 -2
- package/cjs/core/template-wrapper.d.ts +2 -2
- package/cjs/core/template-wrapper.js +2 -2
- package/cjs/core/template.d.ts +2 -2
- package/cjs/core/template.js +3 -2
- package/cjs/core/types.d.ts +2 -2
- package/cjs/core/types.js +2 -2
- package/cjs/core/use-option-scanning.d.ts +2 -2
- package/cjs/core/use-option-scanning.js +2 -2
- package/cjs/core/widget-config.d.ts +2 -2
- package/cjs/core/widget-config.js +2 -2
- package/cjs/data-grid.d.ts +2 -2
- package/cjs/data-grid.js +2 -2
- package/cjs/date-box.d.ts +14 -14
- package/cjs/date-box.js +2 -2
- package/cjs/date-range-box.d.ts +18 -18
- package/cjs/date-range-box.js +2 -2
- package/cjs/defer-rendering.d.ts +2 -2
- package/cjs/defer-rendering.js +2 -2
- package/cjs/diagram.d.ts +2 -2
- package/cjs/diagram.js +2 -2
- package/cjs/draggable.d.ts +2 -2
- package/cjs/draggable.js +2 -2
- package/cjs/drawer.d.ts +2 -2
- package/cjs/drawer.js +2 -2
- package/cjs/drop-down-box.d.ts +2 -2
- package/cjs/drop-down-box.js +2 -2
- package/cjs/drop-down-button.d.ts +2 -2
- package/cjs/drop-down-button.js +2 -2
- package/cjs/file-manager.d.ts +2 -2
- package/cjs/file-manager.js +2 -2
- package/cjs/file-uploader.d.ts +2 -2
- package/cjs/file-uploader.js +2 -2
- package/cjs/filter-builder.d.ts +2 -2
- package/cjs/filter-builder.js +2 -2
- package/cjs/form.d.ts +2 -2
- package/cjs/form.js +2 -2
- package/cjs/funnel.d.ts +2 -2
- package/cjs/funnel.js +2 -2
- package/cjs/gallery.d.ts +2 -2
- package/cjs/gallery.js +2 -2
- package/cjs/gantt.d.ts +2 -2
- package/cjs/gantt.js +2 -2
- package/cjs/html-editor.d.ts +2 -2
- package/cjs/html-editor.js +2 -2
- package/cjs/index.d.ts +3 -2
- package/cjs/index.js +6 -4
- package/cjs/linear-gauge.d.ts +2 -2
- package/cjs/linear-gauge.js +2 -2
- package/cjs/list.d.ts +2 -2
- package/cjs/list.js +2 -2
- package/cjs/load-indicator.d.ts +2 -2
- package/cjs/load-indicator.js +2 -2
- package/cjs/load-panel.d.ts +2 -2
- package/cjs/load-panel.js +2 -2
- package/cjs/lookup.d.ts +2 -2
- package/cjs/lookup.js +2 -2
- package/cjs/map.d.ts +2 -2
- package/cjs/map.js +2 -2
- package/cjs/menu.d.ts +2 -2
- package/cjs/menu.js +2 -2
- package/cjs/multi-view.d.ts +2 -2
- package/cjs/multi-view.js +2 -2
- package/cjs/number-box.d.ts +2 -2
- package/cjs/number-box.js +2 -2
- package/cjs/pagination.d.ts +2 -2
- package/cjs/pagination.js +2 -2
- package/cjs/pie-chart.d.ts +2 -2
- package/cjs/pie-chart.js +2 -2
- package/cjs/pivot-grid-field-chooser.d.ts +2 -2
- package/cjs/pivot-grid-field-chooser.js +2 -2
- package/cjs/pivot-grid.d.ts +2 -2
- package/cjs/pivot-grid.js +2 -2
- package/cjs/polar-chart.d.ts +2 -2
- package/cjs/polar-chart.js +2 -2
- package/cjs/popover.d.ts +2 -2
- package/cjs/popover.js +2 -2
- package/cjs/popup.d.ts +2 -2
- package/cjs/popup.js +2 -2
- package/cjs/progress-bar.d.ts +2 -2
- package/cjs/progress-bar.js +2 -2
- package/cjs/radio-group.d.ts +2 -2
- package/cjs/radio-group.js +2 -2
- package/cjs/range-selector.d.ts +2 -2
- package/cjs/range-selector.js +2 -2
- package/cjs/range-slider.d.ts +2 -2
- package/cjs/range-slider.js +2 -2
- package/cjs/recurrence-editor.d.ts +2 -2
- package/cjs/recurrence-editor.js +2 -2
- package/cjs/resizable.d.ts +2 -2
- package/cjs/resizable.js +2 -2
- package/cjs/responsive-box.d.ts +2 -2
- package/cjs/responsive-box.js +2 -2
- package/cjs/sankey.d.ts +2 -2
- package/cjs/sankey.js +2 -2
- package/cjs/scheduler.d.ts +11 -17
- package/cjs/scheduler.js +2 -2
- package/cjs/scroll-view.d.ts +2 -2
- package/cjs/scroll-view.js +2 -2
- package/cjs/select-box.d.ts +2 -2
- package/cjs/select-box.js +2 -2
- package/cjs/slider.d.ts +2 -2
- package/cjs/slider.js +2 -2
- package/cjs/sortable.d.ts +2 -2
- package/cjs/sortable.js +2 -2
- package/cjs/sparkline.d.ts +2 -2
- package/cjs/sparkline.js +2 -2
- package/cjs/speed-dial-action.d.ts +2 -2
- package/cjs/speed-dial-action.js +2 -2
- package/cjs/splitter.d.ts +2 -2
- package/cjs/splitter.js +2 -2
- package/cjs/stepper.d.ts +4 -4
- package/cjs/stepper.js +2 -2
- package/cjs/switch.d.ts +2 -2
- package/cjs/switch.js +2 -2
- package/cjs/tab-panel.d.ts +2 -2
- package/cjs/tab-panel.js +2 -2
- package/cjs/tabs.d.ts +2 -2
- package/cjs/tabs.js +2 -2
- package/cjs/tag-box.d.ts +2 -2
- package/cjs/tag-box.js +2 -2
- package/cjs/text-area.d.ts +2 -2
- package/cjs/text-area.js +2 -2
- package/cjs/text-box.d.ts +2 -2
- package/cjs/text-box.js +2 -2
- package/cjs/tile-view.d.ts +2 -2
- package/cjs/tile-view.js +2 -2
- package/cjs/toast.d.ts +2 -2
- package/cjs/toast.js +2 -2
- package/cjs/toolbar.d.ts +2 -2
- package/cjs/toolbar.js +2 -2
- package/cjs/tooltip.d.ts +2 -2
- package/cjs/tooltip.js +2 -2
- package/cjs/tree-list.d.ts +2 -2
- package/cjs/tree-list.js +2 -2
- package/cjs/tree-map.d.ts +2 -2
- package/cjs/tree-map.js +2 -2
- package/cjs/tree-view.d.ts +2 -2
- package/cjs/tree-view.js +2 -2
- package/cjs/validation-group.d.ts +2 -2
- package/cjs/validation-group.js +2 -2
- package/cjs/validation-summary.d.ts +2 -2
- package/cjs/validation-summary.js +2 -2
- package/cjs/validator.d.ts +2 -2
- package/cjs/validator.js +2 -2
- package/cjs/vector-map.d.ts +2 -2
- package/cjs/vector-map.js +2 -2
- package/common/ai-integration/package.json +6 -0
- package/esm/accordion.js +2 -2
- package/esm/action-sheet.js +2 -2
- package/esm/autocomplete.js +2 -2
- package/esm/bar-gauge.js +2 -2
- package/esm/box.js +2 -2
- package/esm/bullet.js +2 -2
- package/esm/button-group.js +2 -2
- package/esm/button.js +2 -2
- package/esm/calendar.js +2 -2
- package/esm/card-view.js +798 -0
- package/esm/chart.js +2 -2
- package/esm/chat.js +16 -4
- package/esm/check-box.js +2 -2
- package/esm/circular-gauge.js +2 -2
- package/esm/color-box.js +2 -2
- package/esm/common/ai-integration.js +14 -0
- package/esm/common/charts.js +2 -2
- package/esm/common/core/animation.js +2 -2
- package/esm/common/core/environment.js +2 -2
- package/esm/common/core/events.js +2 -2
- package/esm/common/core/index.js +2 -2
- package/esm/common/core/localization.js +2 -2
- package/esm/common/data/custom-store.js +2 -2
- package/esm/common/data.js +2 -2
- package/esm/common/export/excel.js +2 -2
- package/esm/common/export/index.js +2 -2
- package/esm/common/export/pdf.js +2 -2
- package/esm/common/grids.js +2 -2
- package/esm/common/index.js +3 -2
- package/esm/context-menu.js +2 -2
- package/esm/core/component-base.js +2 -2
- 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/tree.js +2 -2
- package/esm/core/configuration/utils.js +2 -2
- package/esm/core/contexts.js +2 -2
- package/esm/core/extension-component.js +2 -2
- package/esm/core/helpers.js +2 -2
- package/esm/core/nested-option.js +2 -2
- package/esm/core/options-manager.js +2 -2
- package/esm/core/template-manager.js +2 -2
- package/esm/core/template-wrapper.js +2 -2
- package/esm/core/template.js +3 -2
- package/esm/core/types.js +2 -2
- package/esm/core/use-option-scanning.js +2 -2
- package/esm/core/widget-config.js +2 -2
- package/esm/data-grid.js +2 -2
- package/esm/date-box.js +2 -2
- package/esm/date-range-box.js +2 -2
- package/esm/defer-rendering.js +2 -2
- package/esm/diagram.js +2 -2
- package/esm/draggable.js +2 -2
- package/esm/drawer.js +2 -2
- package/esm/drop-down-box.js +2 -2
- package/esm/drop-down-button.js +2 -2
- package/esm/file-manager.js +2 -2
- package/esm/file-uploader.js +2 -2
- package/esm/filter-builder.js +2 -2
- package/esm/form.js +2 -2
- package/esm/funnel.js +2 -2
- package/esm/gallery.js +2 -2
- package/esm/gantt.js +2 -2
- package/esm/html-editor.js +2 -2
- package/esm/index.js +3 -2
- package/esm/linear-gauge.js +2 -2
- package/esm/list.js +2 -2
- package/esm/load-indicator.js +2 -2
- package/esm/load-panel.js +2 -2
- package/esm/lookup.js +2 -2
- package/esm/map.js +2 -2
- package/esm/menu.js +2 -2
- package/esm/multi-view.js +2 -2
- package/esm/number-box.js +2 -2
- package/esm/pagination.js +2 -2
- package/esm/pie-chart.js +2 -2
- package/esm/pivot-grid-field-chooser.js +2 -2
- package/esm/pivot-grid.js +2 -2
- package/esm/polar-chart.js +2 -2
- package/esm/popover.js +2 -2
- package/esm/popup.js +2 -2
- package/esm/progress-bar.js +2 -2
- package/esm/radio-group.js +2 -2
- package/esm/range-selector.js +2 -2
- package/esm/range-slider.js +2 -2
- package/esm/recurrence-editor.js +2 -2
- package/esm/resizable.js +2 -2
- package/esm/responsive-box.js +2 -2
- package/esm/sankey.js +2 -2
- package/esm/scheduler.js +2 -2
- package/esm/scroll-view.js +2 -2
- package/esm/select-box.js +2 -2
- package/esm/slider.js +2 -2
- package/esm/sortable.js +2 -2
- package/esm/sparkline.js +2 -2
- package/esm/speed-dial-action.js +2 -2
- package/esm/splitter.js +2 -2
- package/esm/stepper.js +2 -2
- package/esm/switch.js +2 -2
- package/esm/tab-panel.js +2 -2
- package/esm/tabs.js +2 -2
- package/esm/tag-box.js +2 -2
- package/esm/text-area.js +2 -2
- package/esm/text-box.js +2 -2
- package/esm/tile-view.js +2 -2
- package/esm/toast.js +2 -2
- package/esm/toolbar.js +2 -2
- package/esm/tooltip.js +2 -2
- package/esm/tree-list.js +2 -2
- package/esm/tree-map.js +2 -2
- package/esm/tree-view.js +2 -2
- package/esm/validation-group.js +2 -2
- package/esm/validation-summary.js +2 -2
- package/esm/validator.js +2 -2
- package/esm/vector-map.js +2 -2
- package/package.json +36 -4
|
@@ -0,0 +1,1496 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* devextreme-react
|
|
3
|
+
* Version: 25.1.2-beta
|
|
4
|
+
* Build date: Wed May 14 2025
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
|
+
*
|
|
8
|
+
* This software may be modified and distributed under the terms
|
|
9
|
+
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
10
|
+
*
|
|
11
|
+
* https://github.com/DevExpress/devextreme-react
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
export { ExplicitTypes } from "devextreme/ui/card_view";
|
|
15
|
+
import * as React from "react";
|
|
16
|
+
import { Ref, ReactElement } from "react";
|
|
17
|
+
import dxCardView, { Properties } from "devextreme/ui/card_view";
|
|
18
|
+
import { IHtmlOptions, NestedComponentMeta } from "./core/component";
|
|
19
|
+
import type { CardClickEvent, CardDblClickEvent, CardInsertedEvent, CardInsertingEvent, CardPreparedEvent, CardRemovedEvent, CardRemovingEvent, CardSavedEvent, CardSavingEvent, CardUpdatedEvent, CardUpdatingEvent, ContextMenuPreparingEvent, EditCanceledEvent, EditCancelingEvent, EditingStartEvent, FieldCaptionClickEvent, FieldCaptionDblClickEvent, FieldCaptionPreparedEvent, FieldValueClickEvent, FieldValueDblClickEvent, FieldValuePreparedEvent, InitNewCardEvent, SelectionChangingEvent, CardTemplateData, CardHeaderItem as CardViewCardHeaderItem, CardHeaderPredefinedItem, FieldTemplateData, ColumnTemplateData, PredefinedToolbarItem, ToolbarItem as CardViewToolbarItem } from "devextreme/ui/card_view";
|
|
20
|
+
import type { AnimationConfig, CollisionResolution, PositionConfig, AnimationState, AnimationType, CollisionResolutionCombination } from "devextreme/common/core/animation";
|
|
21
|
+
import type { ValidationRuleType, HorizontalAlignment, VerticalAlignment, template, ToolbarItemLocation, ToolbarItemComponent, DataType, Format as CommonFormat, SortOrder, ComparisonOperator, Direction, PositionAlignment, Mode, DisplayMode, SingleMultipleOrNone, SelectAllMode } from "devextreme/common";
|
|
22
|
+
import type { LocateInMenuMode, ShowTextMode } from "devextreme/ui/toolbar";
|
|
23
|
+
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
24
|
+
import type { DataChangeType, FilterType, DataChange, PagerPageSize, SelectionColumnDisplayMode } from "devextreme/common/grids";
|
|
25
|
+
import type { Format as LocalizationFormat } from "devextreme/common/core/localization";
|
|
26
|
+
import type { dxFormSimpleItem, FormItemComponent, FormItemType, LabelLocation } from "devextreme/ui/form";
|
|
27
|
+
import type { dxFilterBuilderField, FieldInfo, FilterBuilderOperation, dxFilterBuilderCustomOperation, GroupOperation, ContentReadyEvent, DisposingEvent, EditorPreparedEvent, EditorPreparingEvent, InitializedEvent, OptionChangedEvent, ValueChangedEvent } from "devextreme/ui/filter_builder";
|
|
28
|
+
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
29
|
+
import type { Store } from "devextreme/data/store";
|
|
30
|
+
import type { ContentReadyEvent as LoadPanelContentReadyEvent, DisposingEvent as LoadPanelDisposingEvent, InitializedEvent as LoadPanelInitializedEvent, OptionChangedEvent as LoadPanelOptionChangedEvent, HiddenEvent, HidingEvent, ShowingEvent, ShownEvent } from "devextreme/ui/load_panel";
|
|
31
|
+
import type { event } from "devextreme/events/events.types";
|
|
32
|
+
import type dxForm from "devextreme/ui/form";
|
|
33
|
+
import type * as CommonTypes from "devextreme/common";
|
|
34
|
+
type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
35
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
36
|
+
};
|
|
37
|
+
type ICardViewOptionsNarrowedEvents<TCardData = any, TKey = any> = {
|
|
38
|
+
onCardClick?: ((e: CardClickEvent) => void);
|
|
39
|
+
onCardDblClick?: ((e: CardDblClickEvent) => void);
|
|
40
|
+
onCardInserted?: ((e: CardInsertedEvent<TCardData>) => void);
|
|
41
|
+
onCardInserting?: ((e: CardInsertingEvent<TCardData>) => void);
|
|
42
|
+
onCardPrepared?: ((e: CardPreparedEvent) => void);
|
|
43
|
+
onCardRemoved?: ((e: CardRemovedEvent<TCardData, TKey>) => void);
|
|
44
|
+
onCardRemoving?: ((e: CardRemovingEvent<TCardData, TKey>) => void);
|
|
45
|
+
onCardSaved?: ((e: CardSavedEvent) => void);
|
|
46
|
+
onCardSaving?: ((e: CardSavingEvent) => void);
|
|
47
|
+
onCardUpdated?: ((e: CardUpdatedEvent<TCardData, TKey>) => void);
|
|
48
|
+
onCardUpdating?: ((e: CardUpdatingEvent<TCardData, TKey>) => void);
|
|
49
|
+
onContextMenuPreparing?: ((e: ContextMenuPreparingEvent<TCardData>) => void);
|
|
50
|
+
onEditCanceled?: ((e: EditCanceledEvent) => void);
|
|
51
|
+
onEditCanceling?: ((e: EditCancelingEvent) => void);
|
|
52
|
+
onEditingStart?: ((e: EditingStartEvent<TCardData, TKey>) => void);
|
|
53
|
+
onFieldCaptionClick?: ((e: FieldCaptionClickEvent) => void);
|
|
54
|
+
onFieldCaptionDblClick?: ((e: FieldCaptionDblClickEvent) => void);
|
|
55
|
+
onFieldCaptionPrepared?: ((e: FieldCaptionPreparedEvent) => void);
|
|
56
|
+
onFieldValueClick?: ((e: FieldValueClickEvent) => void);
|
|
57
|
+
onFieldValueDblClick?: ((e: FieldValueDblClickEvent) => void);
|
|
58
|
+
onFieldValuePrepared?: ((e: FieldValuePreparedEvent) => void);
|
|
59
|
+
onInitNewCard?: ((e: InitNewCardEvent<TCardData>) => void);
|
|
60
|
+
onSelectionChanging?: ((e: SelectionChangingEvent<TCardData, TKey>) => void);
|
|
61
|
+
};
|
|
62
|
+
type ICardViewOptions<TCardData = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TCardData, TKey>, ICardViewOptionsNarrowedEvents<TCardData, TKey>> & IHtmlOptions & {
|
|
63
|
+
dataSource?: Properties<TCardData, TKey>["dataSource"];
|
|
64
|
+
cardContentRender?: (...params: any) => React.ReactNode;
|
|
65
|
+
cardContentComponent?: React.ComponentType<any>;
|
|
66
|
+
cardFooterRender?: (...params: any) => React.ReactNode;
|
|
67
|
+
cardFooterComponent?: React.ComponentType<any>;
|
|
68
|
+
cardRender?: (...params: any) => React.ReactNode;
|
|
69
|
+
cardComponent?: React.ComponentType<any>;
|
|
70
|
+
noDataRender?: (...params: any) => React.ReactNode;
|
|
71
|
+
noDataComponent?: React.ComponentType<any>;
|
|
72
|
+
defaultFilterValue?: Array<any> | (() => any) | string;
|
|
73
|
+
defaultSelectedCardKeys?: Array<any>;
|
|
74
|
+
onFilterValueChange?: (value: Array<any> | (() => any) | string) => void;
|
|
75
|
+
onSelectedCardKeysChange?: (value: Array<any>) => void;
|
|
76
|
+
}>;
|
|
77
|
+
interface CardViewRef<TCardData = any, TKey = any> {
|
|
78
|
+
instance: () => dxCardView<TCardData, TKey>;
|
|
79
|
+
}
|
|
80
|
+
declare const CardView: <TCardData = any, TKey = any>(props: ReplaceFieldTypes<Properties<TCardData, TKey>, ICardViewOptionsNarrowedEvents<TCardData, TKey>> & IHtmlOptions & {
|
|
81
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<TCardData, TKey> | undefined;
|
|
82
|
+
cardContentRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
83
|
+
cardContentComponent?: React.ComponentType<any> | undefined;
|
|
84
|
+
cardFooterRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
85
|
+
cardFooterComponent?: React.ComponentType<any> | undefined;
|
|
86
|
+
cardRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
87
|
+
cardComponent?: React.ComponentType<any> | undefined;
|
|
88
|
+
noDataRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
89
|
+
noDataComponent?: React.ComponentType<any> | undefined;
|
|
90
|
+
defaultFilterValue?: string | any[] | (() => any) | undefined;
|
|
91
|
+
defaultSelectedCardKeys?: any[] | undefined;
|
|
92
|
+
onFilterValueChange?: ((value: Array<any> | (() => any) | string) => void) | undefined;
|
|
93
|
+
onSelectedCardKeysChange?: ((value: Array<any>) => void) | undefined;
|
|
94
|
+
} & {
|
|
95
|
+
children?: React.ReactNode;
|
|
96
|
+
} & {
|
|
97
|
+
ref?: React.Ref<CardViewRef<TCardData, TKey>> | undefined;
|
|
98
|
+
}) => ReactElement | null;
|
|
99
|
+
type IAnimationProps = React.PropsWithChildren<{
|
|
100
|
+
hide?: AnimationConfig;
|
|
101
|
+
show?: AnimationConfig;
|
|
102
|
+
}>;
|
|
103
|
+
declare const Animation: ((props: IAnimationProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
104
|
+
hide?: AnimationConfig | undefined;
|
|
105
|
+
show?: AnimationConfig | undefined;
|
|
106
|
+
} & {
|
|
107
|
+
children?: React.ReactNode;
|
|
108
|
+
} & {
|
|
109
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
110
|
+
}>>) & NestedComponentMeta;
|
|
111
|
+
type IAsyncRuleProps = React.PropsWithChildren<{
|
|
112
|
+
ignoreEmptyValue?: boolean;
|
|
113
|
+
message?: string;
|
|
114
|
+
reevaluate?: boolean;
|
|
115
|
+
type?: ValidationRuleType;
|
|
116
|
+
validationCallback?: ((options: {
|
|
117
|
+
column: Record<string, any>;
|
|
118
|
+
data: Record<string, any>;
|
|
119
|
+
formItem: Record<string, any>;
|
|
120
|
+
rule: Record<string, any>;
|
|
121
|
+
validator: Record<string, any>;
|
|
122
|
+
value: string | number;
|
|
123
|
+
}) => any);
|
|
124
|
+
}>;
|
|
125
|
+
declare const AsyncRule: ((props: IAsyncRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
126
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
127
|
+
message?: string | undefined;
|
|
128
|
+
reevaluate?: boolean | undefined;
|
|
129
|
+
type?: ValidationRuleType | undefined;
|
|
130
|
+
validationCallback?: ((options: {
|
|
131
|
+
column: Record<string, any>;
|
|
132
|
+
data: Record<string, any>;
|
|
133
|
+
formItem: Record<string, any>;
|
|
134
|
+
rule: Record<string, any>;
|
|
135
|
+
validator: Record<string, any>;
|
|
136
|
+
value: string | number;
|
|
137
|
+
}) => any) | undefined;
|
|
138
|
+
} & {
|
|
139
|
+
children?: React.ReactNode;
|
|
140
|
+
} & {
|
|
141
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
142
|
+
}>>) & NestedComponentMeta;
|
|
143
|
+
type IAtProps = React.PropsWithChildren<{
|
|
144
|
+
x?: HorizontalAlignment;
|
|
145
|
+
y?: VerticalAlignment;
|
|
146
|
+
}>;
|
|
147
|
+
declare const At: ((props: IAtProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
148
|
+
x?: HorizontalAlignment | undefined;
|
|
149
|
+
y?: VerticalAlignment | undefined;
|
|
150
|
+
} & {
|
|
151
|
+
children?: React.ReactNode;
|
|
152
|
+
} & {
|
|
153
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
154
|
+
}>>) & NestedComponentMeta;
|
|
155
|
+
type IBoundaryOffsetProps = React.PropsWithChildren<{
|
|
156
|
+
x?: number;
|
|
157
|
+
y?: number;
|
|
158
|
+
}>;
|
|
159
|
+
declare const BoundaryOffset: ((props: IBoundaryOffsetProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
160
|
+
x?: number | undefined;
|
|
161
|
+
y?: number | undefined;
|
|
162
|
+
} & {
|
|
163
|
+
children?: React.ReactNode;
|
|
164
|
+
} & {
|
|
165
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
166
|
+
}>>) & NestedComponentMeta;
|
|
167
|
+
type ICardCoverProps = React.PropsWithChildren<{
|
|
168
|
+
altExpr?: ((data: any) => string) | string;
|
|
169
|
+
aspectRatio?: string;
|
|
170
|
+
imageExpr?: ((data: any) => string) | string;
|
|
171
|
+
maxHeight?: number;
|
|
172
|
+
template?: ((data: CardTemplateData, container: any) => string | any) | template;
|
|
173
|
+
render?: (...params: any) => React.ReactNode;
|
|
174
|
+
component?: React.ComponentType<any>;
|
|
175
|
+
}>;
|
|
176
|
+
declare const CardCover: ((props: ICardCoverProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
177
|
+
altExpr?: string | ((data: any) => string) | undefined;
|
|
178
|
+
aspectRatio?: string | undefined;
|
|
179
|
+
imageExpr?: string | ((data: any) => string) | undefined;
|
|
180
|
+
maxHeight?: number | undefined;
|
|
181
|
+
template?: template | ((data: CardTemplateData, container: any) => string | any) | undefined;
|
|
182
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
183
|
+
component?: React.ComponentType<any> | undefined;
|
|
184
|
+
} & {
|
|
185
|
+
children?: React.ReactNode;
|
|
186
|
+
} & {
|
|
187
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
188
|
+
}>>) & NestedComponentMeta;
|
|
189
|
+
type ICardHeaderProps = React.PropsWithChildren<{
|
|
190
|
+
items?: Array<CardViewCardHeaderItem | CardHeaderPredefinedItem>;
|
|
191
|
+
template?: ((data: CardTemplateData) => string | any) | template;
|
|
192
|
+
visible?: boolean;
|
|
193
|
+
render?: (...params: any) => React.ReactNode;
|
|
194
|
+
component?: React.ComponentType<any>;
|
|
195
|
+
}>;
|
|
196
|
+
declare const CardHeader: ((props: ICardHeaderProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
197
|
+
items?: (CardViewCardHeaderItem | CardHeaderPredefinedItem)[] | undefined;
|
|
198
|
+
template?: template | ((data: CardTemplateData) => string | any) | undefined;
|
|
199
|
+
visible?: boolean | undefined;
|
|
200
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
201
|
+
component?: React.ComponentType<any> | undefined;
|
|
202
|
+
} & {
|
|
203
|
+
children?: React.ReactNode;
|
|
204
|
+
} & {
|
|
205
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
206
|
+
}>>) & NestedComponentMeta;
|
|
207
|
+
type ICardHeaderItemProps = React.PropsWithChildren<{
|
|
208
|
+
cssClass?: string | undefined;
|
|
209
|
+
disabled?: boolean;
|
|
210
|
+
html?: string;
|
|
211
|
+
locateInMenu?: LocateInMenuMode;
|
|
212
|
+
location?: ToolbarItemLocation;
|
|
213
|
+
menuItemTemplate?: (() => string | any) | template;
|
|
214
|
+
name?: CardHeaderPredefinedItem | string;
|
|
215
|
+
options?: any;
|
|
216
|
+
showText?: ShowTextMode;
|
|
217
|
+
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
|
|
218
|
+
text?: string;
|
|
219
|
+
visible?: boolean;
|
|
220
|
+
widget?: ToolbarItemComponent;
|
|
221
|
+
menuItemRender?: (...params: any) => React.ReactNode;
|
|
222
|
+
menuItemComponent?: React.ComponentType<any>;
|
|
223
|
+
render?: (...params: any) => React.ReactNode;
|
|
224
|
+
component?: React.ComponentType<any>;
|
|
225
|
+
}>;
|
|
226
|
+
declare const CardHeaderItem: ((props: ICardHeaderItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
227
|
+
cssClass?: string | undefined;
|
|
228
|
+
disabled?: boolean | undefined;
|
|
229
|
+
html?: string | undefined;
|
|
230
|
+
locateInMenu?: LocateInMenuMode | undefined;
|
|
231
|
+
location?: ToolbarItemLocation | undefined;
|
|
232
|
+
menuItemTemplate?: template | (() => string | any) | undefined;
|
|
233
|
+
name?: string | undefined;
|
|
234
|
+
options?: any;
|
|
235
|
+
showText?: ShowTextMode | undefined;
|
|
236
|
+
template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
|
|
237
|
+
text?: string | undefined;
|
|
238
|
+
visible?: boolean | undefined;
|
|
239
|
+
widget?: ToolbarItemComponent | undefined;
|
|
240
|
+
menuItemRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
241
|
+
menuItemComponent?: React.ComponentType<any> | undefined;
|
|
242
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
243
|
+
component?: React.ComponentType<any> | undefined;
|
|
244
|
+
} & {
|
|
245
|
+
children?: React.ReactNode;
|
|
246
|
+
} & {
|
|
247
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
248
|
+
}>>) & NestedComponentMeta;
|
|
249
|
+
type IChangeProps = React.PropsWithChildren<{
|
|
250
|
+
data?: any;
|
|
251
|
+
insertAfterKey?: any;
|
|
252
|
+
insertBeforeKey?: any;
|
|
253
|
+
key?: any;
|
|
254
|
+
type?: DataChangeType;
|
|
255
|
+
}>;
|
|
256
|
+
declare const Change: ((props: IChangeProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
257
|
+
data?: any;
|
|
258
|
+
insertAfterKey?: any;
|
|
259
|
+
insertBeforeKey?: any;
|
|
260
|
+
key?: any;
|
|
261
|
+
type?: DataChangeType | undefined;
|
|
262
|
+
} & {
|
|
263
|
+
children?: React.ReactNode;
|
|
264
|
+
} & {
|
|
265
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
266
|
+
}>>) & NestedComponentMeta;
|
|
267
|
+
type ICollisionProps = React.PropsWithChildren<{
|
|
268
|
+
x?: CollisionResolution;
|
|
269
|
+
y?: CollisionResolution;
|
|
270
|
+
}>;
|
|
271
|
+
declare const Collision: ((props: ICollisionProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
272
|
+
x?: CollisionResolution | undefined;
|
|
273
|
+
y?: CollisionResolution | undefined;
|
|
274
|
+
} & {
|
|
275
|
+
children?: React.ReactNode;
|
|
276
|
+
} & {
|
|
277
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
278
|
+
}>>) & NestedComponentMeta;
|
|
279
|
+
type IColumnProps = React.PropsWithChildren<{
|
|
280
|
+
alignment?: HorizontalAlignment | undefined;
|
|
281
|
+
allowEditing?: boolean;
|
|
282
|
+
allowFiltering?: boolean;
|
|
283
|
+
allowHeaderFiltering?: boolean;
|
|
284
|
+
allowHiding?: boolean;
|
|
285
|
+
allowReordering?: boolean;
|
|
286
|
+
allowSearch?: boolean;
|
|
287
|
+
allowSorting?: boolean;
|
|
288
|
+
calculateDisplayValue?: ((cardData: any) => any);
|
|
289
|
+
calculateFieldValue?: ((cardData: any) => any);
|
|
290
|
+
calculateFilterExpression?: ((filterValue: any, selectedFilterOperation: string | null, target: string) => string | Array<any> | (() => void));
|
|
291
|
+
calculateSortValue?: ((cardData: any) => any) | string;
|
|
292
|
+
caption?: string | undefined;
|
|
293
|
+
customizeText?: ((cellInfo: {
|
|
294
|
+
groupInterval: string | number;
|
|
295
|
+
target: string;
|
|
296
|
+
value: any;
|
|
297
|
+
valueText: string;
|
|
298
|
+
}) => string);
|
|
299
|
+
dataField?: string | undefined;
|
|
300
|
+
dataType?: DataType | undefined;
|
|
301
|
+
editorOptions?: any;
|
|
302
|
+
falseText?: string;
|
|
303
|
+
fieldCaptionTemplate?: ((data: FieldTemplateData, container: any) => string | any) | template;
|
|
304
|
+
fieldTemplate?: ((data: FieldTemplateData, container: any) => string | any) | template;
|
|
305
|
+
fieldValueTemplate?: ((data: FieldTemplateData, container: any) => string | any) | template;
|
|
306
|
+
filterType?: FilterType;
|
|
307
|
+
filterValue?: any | undefined;
|
|
308
|
+
filterValues?: Array<any>;
|
|
309
|
+
format?: LocalizationFormat;
|
|
310
|
+
formItem?: dxFormSimpleItem;
|
|
311
|
+
headerFilter?: Record<string, any>;
|
|
312
|
+
headerItemCssClass?: string;
|
|
313
|
+
headerItemTemplate?: ((data: ColumnTemplateData, container: any) => string | any) | template;
|
|
314
|
+
name?: string | undefined;
|
|
315
|
+
setFieldValue?: ((newData: any, value: any, currentCardData: any) => any);
|
|
316
|
+
showInColumnChooser?: boolean;
|
|
317
|
+
sortIndex?: number | undefined;
|
|
318
|
+
sortingMethod?: ((value1: any, value2: any) => number) | undefined;
|
|
319
|
+
sortOrder?: SortOrder | undefined;
|
|
320
|
+
trueText?: string;
|
|
321
|
+
validationRules?: Array<CommonTypes.ValidationRule>;
|
|
322
|
+
visible?: boolean;
|
|
323
|
+
visibleIndex?: number | undefined;
|
|
324
|
+
defaultFilterValue?: any | undefined;
|
|
325
|
+
onFilterValueChange?: (value: any | undefined) => void;
|
|
326
|
+
defaultFilterValues?: Array<any>;
|
|
327
|
+
onFilterValuesChange?: (value: Array<any>) => void;
|
|
328
|
+
defaultSortIndex?: number | undefined;
|
|
329
|
+
onSortIndexChange?: (value: number | undefined) => void;
|
|
330
|
+
defaultSortOrder?: SortOrder | undefined;
|
|
331
|
+
onSortOrderChange?: (value: SortOrder | undefined) => void;
|
|
332
|
+
defaultVisible?: boolean;
|
|
333
|
+
onVisibleChange?: (value: boolean) => void;
|
|
334
|
+
defaultVisibleIndex?: number | undefined;
|
|
335
|
+
onVisibleIndexChange?: (value: number | undefined) => void;
|
|
336
|
+
fieldCaptionRender?: (...params: any) => React.ReactNode;
|
|
337
|
+
fieldCaptionComponent?: React.ComponentType<any>;
|
|
338
|
+
fieldRender?: (...params: any) => React.ReactNode;
|
|
339
|
+
fieldComponent?: React.ComponentType<any>;
|
|
340
|
+
fieldValueRender?: (...params: any) => React.ReactNode;
|
|
341
|
+
fieldValueComponent?: React.ComponentType<any>;
|
|
342
|
+
headerItemRender?: (...params: any) => React.ReactNode;
|
|
343
|
+
headerItemComponent?: React.ComponentType<any>;
|
|
344
|
+
}>;
|
|
345
|
+
declare const Column: ((props: IColumnProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
346
|
+
alignment?: HorizontalAlignment | undefined;
|
|
347
|
+
allowEditing?: boolean | undefined;
|
|
348
|
+
allowFiltering?: boolean | undefined;
|
|
349
|
+
allowHeaderFiltering?: boolean | undefined;
|
|
350
|
+
allowHiding?: boolean | undefined;
|
|
351
|
+
allowReordering?: boolean | undefined;
|
|
352
|
+
allowSearch?: boolean | undefined;
|
|
353
|
+
allowSorting?: boolean | undefined;
|
|
354
|
+
calculateDisplayValue?: ((cardData: any) => any) | undefined;
|
|
355
|
+
calculateFieldValue?: ((cardData: any) => any) | undefined;
|
|
356
|
+
calculateFilterExpression?: ((filterValue: any, selectedFilterOperation: string | null, target: string) => string | Array<any> | (() => void)) | undefined;
|
|
357
|
+
calculateSortValue?: string | ((cardData: any) => any) | undefined;
|
|
358
|
+
caption?: string | undefined;
|
|
359
|
+
customizeText?: ((cellInfo: {
|
|
360
|
+
groupInterval: string | number;
|
|
361
|
+
target: string;
|
|
362
|
+
value: any;
|
|
363
|
+
valueText: string;
|
|
364
|
+
}) => string) | undefined;
|
|
365
|
+
dataField?: string | undefined;
|
|
366
|
+
dataType?: DataType | undefined;
|
|
367
|
+
editorOptions?: any;
|
|
368
|
+
falseText?: string | undefined;
|
|
369
|
+
fieldCaptionTemplate?: template | ((data: FieldTemplateData, container: any) => string | any) | undefined;
|
|
370
|
+
fieldTemplate?: template | ((data: FieldTemplateData, container: any) => string | any) | undefined;
|
|
371
|
+
fieldValueTemplate?: template | ((data: FieldTemplateData, container: any) => string | any) | undefined;
|
|
372
|
+
filterType?: FilterType | undefined;
|
|
373
|
+
filterValue?: any | undefined;
|
|
374
|
+
filterValues?: any[] | undefined;
|
|
375
|
+
format?: LocalizationFormat;
|
|
376
|
+
formItem?: dxFormSimpleItem | undefined;
|
|
377
|
+
headerFilter?: Record<string, any> | undefined;
|
|
378
|
+
headerItemCssClass?: string | undefined;
|
|
379
|
+
headerItemTemplate?: template | ((data: ColumnTemplateData, container: any) => string | any) | undefined;
|
|
380
|
+
name?: string | undefined;
|
|
381
|
+
setFieldValue?: ((newData: any, value: any, currentCardData: any) => any) | undefined;
|
|
382
|
+
showInColumnChooser?: boolean | undefined;
|
|
383
|
+
sortIndex?: number | undefined;
|
|
384
|
+
sortingMethod?: ((value1: any, value2: any) => number) | undefined;
|
|
385
|
+
sortOrder?: SortOrder | undefined;
|
|
386
|
+
trueText?: string | undefined;
|
|
387
|
+
validationRules?: CommonTypes.ValidationRule[] | undefined;
|
|
388
|
+
visible?: boolean | undefined;
|
|
389
|
+
visibleIndex?: number | undefined;
|
|
390
|
+
defaultFilterValue?: any | undefined;
|
|
391
|
+
onFilterValueChange?: ((value: any | undefined) => void) | undefined;
|
|
392
|
+
defaultFilterValues?: any[] | undefined;
|
|
393
|
+
onFilterValuesChange?: ((value: Array<any>) => void) | undefined;
|
|
394
|
+
defaultSortIndex?: number | undefined;
|
|
395
|
+
onSortIndexChange?: ((value: number | undefined) => void) | undefined;
|
|
396
|
+
defaultSortOrder?: SortOrder | undefined;
|
|
397
|
+
onSortOrderChange?: ((value: SortOrder | undefined) => void) | undefined;
|
|
398
|
+
defaultVisible?: boolean | undefined;
|
|
399
|
+
onVisibleChange?: ((value: boolean) => void) | undefined;
|
|
400
|
+
defaultVisibleIndex?: number | undefined;
|
|
401
|
+
onVisibleIndexChange?: ((value: number | undefined) => void) | undefined;
|
|
402
|
+
fieldCaptionRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
403
|
+
fieldCaptionComponent?: React.ComponentType<any> | undefined;
|
|
404
|
+
fieldRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
405
|
+
fieldComponent?: React.ComponentType<any> | undefined;
|
|
406
|
+
fieldValueRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
407
|
+
fieldValueComponent?: React.ComponentType<any> | undefined;
|
|
408
|
+
headerItemRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
409
|
+
headerItemComponent?: React.ComponentType<any> | undefined;
|
|
410
|
+
} & {
|
|
411
|
+
children?: React.ReactNode;
|
|
412
|
+
} & {
|
|
413
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
414
|
+
}>>) & NestedComponentMeta;
|
|
415
|
+
type ICompareRuleProps = React.PropsWithChildren<{
|
|
416
|
+
comparisonTarget?: (() => any);
|
|
417
|
+
comparisonType?: ComparisonOperator;
|
|
418
|
+
ignoreEmptyValue?: boolean;
|
|
419
|
+
message?: string;
|
|
420
|
+
type?: ValidationRuleType;
|
|
421
|
+
}>;
|
|
422
|
+
declare const CompareRule: ((props: ICompareRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
423
|
+
comparisonTarget?: (() => any) | undefined;
|
|
424
|
+
comparisonType?: ComparisonOperator | undefined;
|
|
425
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
426
|
+
message?: string | undefined;
|
|
427
|
+
type?: ValidationRuleType | undefined;
|
|
428
|
+
} & {
|
|
429
|
+
children?: React.ReactNode;
|
|
430
|
+
} & {
|
|
431
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
432
|
+
}>>) & NestedComponentMeta;
|
|
433
|
+
type ICustomOperationProps = React.PropsWithChildren<{
|
|
434
|
+
calculateFilterExpression?: ((filterValue: any, field: dxFilterBuilderField) => string | (() => any) | Array<any>);
|
|
435
|
+
caption?: string | undefined;
|
|
436
|
+
customizeText?: ((fieldInfo: FieldInfo) => string);
|
|
437
|
+
dataTypes?: Array<DataType> | undefined;
|
|
438
|
+
editorTemplate?: ((conditionInfo: {
|
|
439
|
+
field: dxFilterBuilderField;
|
|
440
|
+
setValue: (() => void);
|
|
441
|
+
value: string | number | Date;
|
|
442
|
+
}, container: any) => string | any) | template;
|
|
443
|
+
hasValue?: boolean;
|
|
444
|
+
icon?: string | undefined;
|
|
445
|
+
name?: string | undefined;
|
|
446
|
+
editorRender?: (...params: any) => React.ReactNode;
|
|
447
|
+
editorComponent?: React.ComponentType<any>;
|
|
448
|
+
}>;
|
|
449
|
+
declare const CustomOperation: ((props: ICustomOperationProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
450
|
+
calculateFilterExpression?: ((filterValue: any, field: dxFilterBuilderField) => string | (() => any) | Array<any>) | undefined;
|
|
451
|
+
caption?: string | undefined;
|
|
452
|
+
customizeText?: ((fieldInfo: FieldInfo) => string) | undefined;
|
|
453
|
+
dataTypes?: Array<DataType> | undefined;
|
|
454
|
+
editorTemplate?: template | ((conditionInfo: {
|
|
455
|
+
field: dxFilterBuilderField;
|
|
456
|
+
setValue: (() => void);
|
|
457
|
+
value: string | number | Date;
|
|
458
|
+
}, container: any) => string | any) | undefined;
|
|
459
|
+
hasValue?: boolean | undefined;
|
|
460
|
+
icon?: string | undefined;
|
|
461
|
+
name?: string | undefined;
|
|
462
|
+
editorRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
463
|
+
editorComponent?: React.ComponentType<any> | undefined;
|
|
464
|
+
} & {
|
|
465
|
+
children?: React.ReactNode;
|
|
466
|
+
} & {
|
|
467
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
468
|
+
}>>) & NestedComponentMeta;
|
|
469
|
+
type ICustomRuleProps = React.PropsWithChildren<{
|
|
470
|
+
ignoreEmptyValue?: boolean;
|
|
471
|
+
message?: string;
|
|
472
|
+
reevaluate?: boolean;
|
|
473
|
+
type?: ValidationRuleType;
|
|
474
|
+
validationCallback?: ((options: {
|
|
475
|
+
column: Record<string, any>;
|
|
476
|
+
data: Record<string, any>;
|
|
477
|
+
formItem: Record<string, any>;
|
|
478
|
+
rule: Record<string, any>;
|
|
479
|
+
validator: Record<string, any>;
|
|
480
|
+
value: string | number;
|
|
481
|
+
}) => boolean);
|
|
482
|
+
}>;
|
|
483
|
+
declare const CustomRule: ((props: ICustomRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
484
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
485
|
+
message?: string | undefined;
|
|
486
|
+
reevaluate?: boolean | undefined;
|
|
487
|
+
type?: ValidationRuleType | undefined;
|
|
488
|
+
validationCallback?: ((options: {
|
|
489
|
+
column: Record<string, any>;
|
|
490
|
+
data: Record<string, any>;
|
|
491
|
+
formItem: Record<string, any>;
|
|
492
|
+
rule: Record<string, any>;
|
|
493
|
+
validator: Record<string, any>;
|
|
494
|
+
value: string | number;
|
|
495
|
+
}) => boolean) | undefined;
|
|
496
|
+
} & {
|
|
497
|
+
children?: React.ReactNode;
|
|
498
|
+
} & {
|
|
499
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
500
|
+
}>>) & NestedComponentMeta;
|
|
501
|
+
type IEditingProps = React.PropsWithChildren<{
|
|
502
|
+
allowAdding?: boolean;
|
|
503
|
+
allowDeleting?: boolean;
|
|
504
|
+
allowUpdating?: boolean;
|
|
505
|
+
changes?: Array<DataChange>;
|
|
506
|
+
confirmDelete?: boolean;
|
|
507
|
+
editCardKey?: any;
|
|
508
|
+
form?: Record<string, any>;
|
|
509
|
+
popup?: Record<string, any>;
|
|
510
|
+
}>;
|
|
511
|
+
declare const Editing: ((props: IEditingProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
512
|
+
allowAdding?: boolean | undefined;
|
|
513
|
+
allowDeleting?: boolean | undefined;
|
|
514
|
+
allowUpdating?: boolean | undefined;
|
|
515
|
+
changes?: DataChange<any, any>[] | undefined;
|
|
516
|
+
confirmDelete?: boolean | undefined;
|
|
517
|
+
editCardKey?: any;
|
|
518
|
+
form?: Record<string, any> | undefined;
|
|
519
|
+
popup?: Record<string, any> | undefined;
|
|
520
|
+
} & {
|
|
521
|
+
children?: React.ReactNode;
|
|
522
|
+
} & {
|
|
523
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
524
|
+
}>>) & NestedComponentMeta;
|
|
525
|
+
type IEmailRuleProps = React.PropsWithChildren<{
|
|
526
|
+
ignoreEmptyValue?: boolean;
|
|
527
|
+
message?: string;
|
|
528
|
+
type?: ValidationRuleType;
|
|
529
|
+
}>;
|
|
530
|
+
declare const EmailRule: ((props: IEmailRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
531
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
532
|
+
message?: string | undefined;
|
|
533
|
+
type?: ValidationRuleType | undefined;
|
|
534
|
+
} & {
|
|
535
|
+
children?: React.ReactNode;
|
|
536
|
+
} & {
|
|
537
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
538
|
+
}>>) & NestedComponentMeta;
|
|
539
|
+
type IFieldProps = React.PropsWithChildren<{
|
|
540
|
+
calculateFilterExpression?: ((filterValue: any, selectedFilterOperation: string) => string | (() => any) | Array<any>);
|
|
541
|
+
caption?: string | undefined;
|
|
542
|
+
customizeText?: ((fieldInfo: FieldInfo) => string);
|
|
543
|
+
dataField?: string | undefined;
|
|
544
|
+
dataType?: DataType;
|
|
545
|
+
editorOptions?: any;
|
|
546
|
+
editorTemplate?: ((conditionInfo: {
|
|
547
|
+
field: dxFilterBuilderField;
|
|
548
|
+
filterOperation: string;
|
|
549
|
+
setValue: (() => void);
|
|
550
|
+
value: string | number | Date;
|
|
551
|
+
}, container: any) => string | any) | template;
|
|
552
|
+
falseText?: string;
|
|
553
|
+
filterOperations?: Array<FilterBuilderOperation | string>;
|
|
554
|
+
format?: LocalizationFormat;
|
|
555
|
+
lookup?: Record<string, any> | {
|
|
556
|
+
allowClearing?: boolean;
|
|
557
|
+
dataSource?: Array<any> | DataSourceOptions | Store | undefined;
|
|
558
|
+
displayExpr?: ((data: any) => string) | string | undefined;
|
|
559
|
+
valueExpr?: ((data: any) => string | number | boolean) | string | undefined;
|
|
560
|
+
};
|
|
561
|
+
name?: string | undefined;
|
|
562
|
+
trueText?: string;
|
|
563
|
+
editorRender?: (...params: any) => React.ReactNode;
|
|
564
|
+
editorComponent?: React.ComponentType<any>;
|
|
565
|
+
}>;
|
|
566
|
+
declare const Field: ((props: IFieldProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
567
|
+
calculateFilterExpression?: ((filterValue: any, selectedFilterOperation: string) => string | (() => any) | Array<any>) | undefined;
|
|
568
|
+
caption?: string | undefined;
|
|
569
|
+
customizeText?: ((fieldInfo: FieldInfo) => string) | undefined;
|
|
570
|
+
dataField?: string | undefined;
|
|
571
|
+
dataType?: DataType | undefined;
|
|
572
|
+
editorOptions?: any;
|
|
573
|
+
editorTemplate?: template | ((conditionInfo: {
|
|
574
|
+
field: dxFilterBuilderField;
|
|
575
|
+
filterOperation: string;
|
|
576
|
+
setValue: (() => void);
|
|
577
|
+
value: string | number | Date;
|
|
578
|
+
}, container: any) => string | any) | undefined;
|
|
579
|
+
falseText?: string | undefined;
|
|
580
|
+
filterOperations?: string[] | undefined;
|
|
581
|
+
format?: LocalizationFormat;
|
|
582
|
+
lookup?: Record<string, any> | {
|
|
583
|
+
allowClearing?: boolean | undefined;
|
|
584
|
+
dataSource?: Array<any> | DataSourceOptions | Store | undefined;
|
|
585
|
+
displayExpr?: string | ((data: any) => string) | undefined;
|
|
586
|
+
valueExpr?: string | ((data: any) => string | number | boolean) | undefined;
|
|
587
|
+
} | undefined;
|
|
588
|
+
name?: string | undefined;
|
|
589
|
+
trueText?: string | undefined;
|
|
590
|
+
editorRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
591
|
+
editorComponent?: React.ComponentType<any> | undefined;
|
|
592
|
+
} & {
|
|
593
|
+
children?: React.ReactNode;
|
|
594
|
+
} & {
|
|
595
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
596
|
+
}>>) & NestedComponentMeta;
|
|
597
|
+
type IFilterBuilderProps = React.PropsWithChildren<{
|
|
598
|
+
accessKey?: string | undefined;
|
|
599
|
+
activeStateEnabled?: boolean;
|
|
600
|
+
allowHierarchicalFields?: boolean;
|
|
601
|
+
bindingOptions?: Record<string, any>;
|
|
602
|
+
customOperations?: Array<dxFilterBuilderCustomOperation>;
|
|
603
|
+
disabled?: boolean;
|
|
604
|
+
elementAttr?: Record<string, any>;
|
|
605
|
+
fields?: Array<dxFilterBuilderField>;
|
|
606
|
+
filterOperationDescriptions?: Record<string, any> | {
|
|
607
|
+
between?: string;
|
|
608
|
+
contains?: string;
|
|
609
|
+
endsWith?: string;
|
|
610
|
+
equal?: string;
|
|
611
|
+
greaterThan?: string;
|
|
612
|
+
greaterThanOrEqual?: string;
|
|
613
|
+
isBlank?: string;
|
|
614
|
+
isNotBlank?: string;
|
|
615
|
+
lessThan?: string;
|
|
616
|
+
lessThanOrEqual?: string;
|
|
617
|
+
notContains?: string;
|
|
618
|
+
notEqual?: string;
|
|
619
|
+
startsWith?: string;
|
|
620
|
+
};
|
|
621
|
+
focusStateEnabled?: boolean;
|
|
622
|
+
groupOperationDescriptions?: Record<string, any> | {
|
|
623
|
+
and?: string;
|
|
624
|
+
notAnd?: string;
|
|
625
|
+
notOr?: string;
|
|
626
|
+
or?: string;
|
|
627
|
+
};
|
|
628
|
+
groupOperations?: Array<GroupOperation>;
|
|
629
|
+
height?: (() => number | string) | number | string | undefined;
|
|
630
|
+
hint?: string | undefined;
|
|
631
|
+
hoverStateEnabled?: boolean;
|
|
632
|
+
maxGroupLevel?: number | undefined;
|
|
633
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
634
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
635
|
+
onEditorPrepared?: ((e: EditorPreparedEvent) => void);
|
|
636
|
+
onEditorPreparing?: ((e: EditorPreparingEvent) => void);
|
|
637
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
638
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
639
|
+
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
640
|
+
rtlEnabled?: boolean;
|
|
641
|
+
tabIndex?: number;
|
|
642
|
+
value?: Array<any> | (() => any) | string;
|
|
643
|
+
visible?: boolean;
|
|
644
|
+
width?: (() => number | string) | number | string | undefined;
|
|
645
|
+
defaultValue?: Array<any> | (() => any) | string;
|
|
646
|
+
onValueChange?: (value: Array<any> | (() => any) | string) => void;
|
|
647
|
+
}>;
|
|
648
|
+
declare const FilterBuilder: ((props: IFilterBuilderProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
649
|
+
accessKey?: string | undefined;
|
|
650
|
+
activeStateEnabled?: boolean | undefined;
|
|
651
|
+
allowHierarchicalFields?: boolean | undefined;
|
|
652
|
+
bindingOptions?: Record<string, any> | undefined;
|
|
653
|
+
customOperations?: dxFilterBuilderCustomOperation[] | undefined;
|
|
654
|
+
disabled?: boolean | undefined;
|
|
655
|
+
elementAttr?: Record<string, any> | undefined;
|
|
656
|
+
fields?: dxFilterBuilderField[] | undefined;
|
|
657
|
+
filterOperationDescriptions?: Record<string, any> | {
|
|
658
|
+
between?: string | undefined;
|
|
659
|
+
contains?: string | undefined;
|
|
660
|
+
endsWith?: string | undefined;
|
|
661
|
+
equal?: string | undefined;
|
|
662
|
+
greaterThan?: string | undefined;
|
|
663
|
+
greaterThanOrEqual?: string | undefined;
|
|
664
|
+
isBlank?: string | undefined;
|
|
665
|
+
isNotBlank?: string | undefined;
|
|
666
|
+
lessThan?: string | undefined;
|
|
667
|
+
lessThanOrEqual?: string | undefined;
|
|
668
|
+
notContains?: string | undefined;
|
|
669
|
+
notEqual?: string | undefined;
|
|
670
|
+
startsWith?: string | undefined;
|
|
671
|
+
} | undefined;
|
|
672
|
+
focusStateEnabled?: boolean | undefined;
|
|
673
|
+
groupOperationDescriptions?: Record<string, any> | {
|
|
674
|
+
and?: string | undefined;
|
|
675
|
+
notAnd?: string | undefined;
|
|
676
|
+
notOr?: string | undefined;
|
|
677
|
+
or?: string | undefined;
|
|
678
|
+
} | undefined;
|
|
679
|
+
groupOperations?: GroupOperation[] | undefined;
|
|
680
|
+
height?: (() => number | string) | number | string | undefined;
|
|
681
|
+
hint?: string | undefined;
|
|
682
|
+
hoverStateEnabled?: boolean | undefined;
|
|
683
|
+
maxGroupLevel?: number | undefined;
|
|
684
|
+
onContentReady?: ((e: ContentReadyEvent) => void) | undefined;
|
|
685
|
+
onDisposing?: ((e: DisposingEvent) => void) | undefined;
|
|
686
|
+
onEditorPrepared?: ((e: EditorPreparedEvent) => void) | undefined;
|
|
687
|
+
onEditorPreparing?: ((e: EditorPreparingEvent) => void) | undefined;
|
|
688
|
+
onInitialized?: ((e: InitializedEvent) => void) | undefined;
|
|
689
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void) | undefined;
|
|
690
|
+
onValueChanged?: ((e: ValueChangedEvent) => void) | undefined;
|
|
691
|
+
rtlEnabled?: boolean | undefined;
|
|
692
|
+
tabIndex?: number | undefined;
|
|
693
|
+
value?: string | any[] | (() => any) | undefined;
|
|
694
|
+
visible?: boolean | undefined;
|
|
695
|
+
width?: (() => number | string) | number | string | undefined;
|
|
696
|
+
defaultValue?: string | any[] | (() => any) | undefined;
|
|
697
|
+
onValueChange?: ((value: Array<any> | (() => any) | string) => void) | undefined;
|
|
698
|
+
} & {
|
|
699
|
+
children?: React.ReactNode;
|
|
700
|
+
} & {
|
|
701
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
702
|
+
}>>) & NestedComponentMeta;
|
|
703
|
+
type IFilterOperationDescriptionsProps = React.PropsWithChildren<{
|
|
704
|
+
between?: string;
|
|
705
|
+
contains?: string;
|
|
706
|
+
endsWith?: string;
|
|
707
|
+
equal?: string;
|
|
708
|
+
greaterThan?: string;
|
|
709
|
+
greaterThanOrEqual?: string;
|
|
710
|
+
isBlank?: string;
|
|
711
|
+
isNotBlank?: string;
|
|
712
|
+
lessThan?: string;
|
|
713
|
+
lessThanOrEqual?: string;
|
|
714
|
+
notContains?: string;
|
|
715
|
+
notEqual?: string;
|
|
716
|
+
startsWith?: string;
|
|
717
|
+
}>;
|
|
718
|
+
declare const FilterOperationDescriptions: ((props: IFilterOperationDescriptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
719
|
+
between?: string | undefined;
|
|
720
|
+
contains?: string | undefined;
|
|
721
|
+
endsWith?: string | undefined;
|
|
722
|
+
equal?: string | undefined;
|
|
723
|
+
greaterThan?: string | undefined;
|
|
724
|
+
greaterThanOrEqual?: string | undefined;
|
|
725
|
+
isBlank?: string | undefined;
|
|
726
|
+
isNotBlank?: string | undefined;
|
|
727
|
+
lessThan?: string | undefined;
|
|
728
|
+
lessThanOrEqual?: string | undefined;
|
|
729
|
+
notContains?: string | undefined;
|
|
730
|
+
notEqual?: string | undefined;
|
|
731
|
+
startsWith?: string | undefined;
|
|
732
|
+
} & {
|
|
733
|
+
children?: React.ReactNode;
|
|
734
|
+
} & {
|
|
735
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
736
|
+
}>>) & NestedComponentMeta;
|
|
737
|
+
type IFormatProps = React.PropsWithChildren<{
|
|
738
|
+
currency?: string;
|
|
739
|
+
formatter?: ((value: number | Date) => string);
|
|
740
|
+
parser?: ((value: string) => number | Date);
|
|
741
|
+
precision?: number;
|
|
742
|
+
type?: CommonFormat | string;
|
|
743
|
+
useCurrencyAccountingStyle?: boolean;
|
|
744
|
+
}>;
|
|
745
|
+
declare const Format: ((props: IFormatProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
746
|
+
currency?: string | undefined;
|
|
747
|
+
formatter?: ((value: number | Date) => string) | undefined;
|
|
748
|
+
parser?: ((value: string) => number | Date) | undefined;
|
|
749
|
+
precision?: number | undefined;
|
|
750
|
+
type?: string | undefined;
|
|
751
|
+
useCurrencyAccountingStyle?: boolean | undefined;
|
|
752
|
+
} & {
|
|
753
|
+
children?: React.ReactNode;
|
|
754
|
+
} & {
|
|
755
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
756
|
+
}>>) & NestedComponentMeta;
|
|
757
|
+
type IFormItemProps = React.PropsWithChildren<{
|
|
758
|
+
colSpan?: number | undefined;
|
|
759
|
+
cssClass?: string | undefined;
|
|
760
|
+
dataField?: string | undefined;
|
|
761
|
+
editorOptions?: any | undefined;
|
|
762
|
+
editorType?: FormItemComponent;
|
|
763
|
+
helpText?: string | undefined;
|
|
764
|
+
isRequired?: boolean | undefined;
|
|
765
|
+
itemType?: FormItemType;
|
|
766
|
+
label?: Record<string, any> | {
|
|
767
|
+
alignment?: HorizontalAlignment;
|
|
768
|
+
location?: LabelLocation;
|
|
769
|
+
showColon?: boolean;
|
|
770
|
+
template?: ((itemData: {
|
|
771
|
+
component: dxForm;
|
|
772
|
+
dataField: string;
|
|
773
|
+
editorOptions: any;
|
|
774
|
+
editorType: string;
|
|
775
|
+
name: string;
|
|
776
|
+
text: string;
|
|
777
|
+
}, itemElement: any) => string | any) | template;
|
|
778
|
+
text?: string | undefined;
|
|
779
|
+
visible?: boolean;
|
|
780
|
+
};
|
|
781
|
+
name?: string | undefined;
|
|
782
|
+
template?: ((data: {
|
|
783
|
+
component: dxForm;
|
|
784
|
+
dataField: string;
|
|
785
|
+
editorOptions: Record<string, any>;
|
|
786
|
+
editorType: string;
|
|
787
|
+
name: string;
|
|
788
|
+
}, itemElement: any) => string | any) | template;
|
|
789
|
+
validationRules?: Array<CommonTypes.ValidationRule>;
|
|
790
|
+
visible?: boolean;
|
|
791
|
+
visibleIndex?: number | undefined;
|
|
792
|
+
render?: (...params: any) => React.ReactNode;
|
|
793
|
+
component?: React.ComponentType<any>;
|
|
794
|
+
}>;
|
|
795
|
+
declare const FormItem: ((props: IFormItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
796
|
+
colSpan?: number | undefined;
|
|
797
|
+
cssClass?: string | undefined;
|
|
798
|
+
dataField?: string | undefined;
|
|
799
|
+
editorOptions?: any | undefined;
|
|
800
|
+
editorType?: FormItemComponent | undefined;
|
|
801
|
+
helpText?: string | undefined;
|
|
802
|
+
isRequired?: boolean | undefined;
|
|
803
|
+
itemType?: FormItemType | undefined;
|
|
804
|
+
label?: Record<string, any> | {
|
|
805
|
+
alignment?: HorizontalAlignment | undefined;
|
|
806
|
+
location?: LabelLocation | undefined;
|
|
807
|
+
showColon?: boolean | undefined;
|
|
808
|
+
template?: template | ((itemData: {
|
|
809
|
+
component: dxForm;
|
|
810
|
+
dataField: string;
|
|
811
|
+
editorOptions: any;
|
|
812
|
+
editorType: string;
|
|
813
|
+
name: string;
|
|
814
|
+
text: string;
|
|
815
|
+
}, itemElement: any) => string | any) | undefined;
|
|
816
|
+
text?: string | undefined;
|
|
817
|
+
visible?: boolean | undefined;
|
|
818
|
+
} | undefined;
|
|
819
|
+
name?: string | undefined;
|
|
820
|
+
template?: template | ((data: {
|
|
821
|
+
component: dxForm;
|
|
822
|
+
dataField: string;
|
|
823
|
+
editorOptions: Record<string, any>;
|
|
824
|
+
editorType: string;
|
|
825
|
+
name: string;
|
|
826
|
+
}, itemElement: any) => string | any) | undefined;
|
|
827
|
+
validationRules?: CommonTypes.ValidationRule[] | undefined;
|
|
828
|
+
visible?: boolean | undefined;
|
|
829
|
+
visibleIndex?: number | undefined;
|
|
830
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
831
|
+
component?: React.ComponentType<any> | undefined;
|
|
832
|
+
} & {
|
|
833
|
+
children?: React.ReactNode;
|
|
834
|
+
} & {
|
|
835
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
836
|
+
}>>) & NestedComponentMeta;
|
|
837
|
+
type IFromProps = React.PropsWithChildren<{
|
|
838
|
+
left?: number;
|
|
839
|
+
opacity?: number;
|
|
840
|
+
position?: PositionConfig;
|
|
841
|
+
scale?: number;
|
|
842
|
+
top?: number;
|
|
843
|
+
}>;
|
|
844
|
+
declare const From: ((props: IFromProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
845
|
+
left?: number | undefined;
|
|
846
|
+
opacity?: number | undefined;
|
|
847
|
+
position?: PositionConfig | undefined;
|
|
848
|
+
scale?: number | undefined;
|
|
849
|
+
top?: number | undefined;
|
|
850
|
+
} & {
|
|
851
|
+
children?: React.ReactNode;
|
|
852
|
+
} & {
|
|
853
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
854
|
+
}>>) & NestedComponentMeta;
|
|
855
|
+
type IGroupOperationDescriptionsProps = React.PropsWithChildren<{
|
|
856
|
+
and?: string;
|
|
857
|
+
notAnd?: string;
|
|
858
|
+
notOr?: string;
|
|
859
|
+
or?: string;
|
|
860
|
+
}>;
|
|
861
|
+
declare const GroupOperationDescriptions: ((props: IGroupOperationDescriptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
862
|
+
and?: string | undefined;
|
|
863
|
+
notAnd?: string | undefined;
|
|
864
|
+
notOr?: string | undefined;
|
|
865
|
+
or?: string | undefined;
|
|
866
|
+
} & {
|
|
867
|
+
children?: React.ReactNode;
|
|
868
|
+
} & {
|
|
869
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
870
|
+
}>>) & NestedComponentMeta;
|
|
871
|
+
type IHeaderPanelProps = React.PropsWithChildren<{
|
|
872
|
+
dragging?: Record<string, any>;
|
|
873
|
+
itemCssClass?: string;
|
|
874
|
+
itemTemplate?: ((data: ColumnTemplateData, container: any) => string | any) | template;
|
|
875
|
+
visible?: boolean;
|
|
876
|
+
itemRender?: (...params: any) => React.ReactNode;
|
|
877
|
+
itemComponent?: React.ComponentType<any>;
|
|
878
|
+
}>;
|
|
879
|
+
declare const HeaderPanel: ((props: IHeaderPanelProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
880
|
+
dragging?: Record<string, any> | undefined;
|
|
881
|
+
itemCssClass?: string | undefined;
|
|
882
|
+
itemTemplate?: template | ((data: ColumnTemplateData, container: any) => string | any) | undefined;
|
|
883
|
+
visible?: boolean | undefined;
|
|
884
|
+
itemRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
885
|
+
itemComponent?: React.ComponentType<any> | undefined;
|
|
886
|
+
} & {
|
|
887
|
+
children?: React.ReactNode;
|
|
888
|
+
} & {
|
|
889
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
890
|
+
}>>) & NestedComponentMeta;
|
|
891
|
+
type IHideProps = React.PropsWithChildren<{
|
|
892
|
+
complete?: (($element: any, config: AnimationConfig) => void);
|
|
893
|
+
delay?: number;
|
|
894
|
+
direction?: Direction | undefined;
|
|
895
|
+
duration?: number;
|
|
896
|
+
easing?: string;
|
|
897
|
+
from?: AnimationState;
|
|
898
|
+
staggerDelay?: number | undefined;
|
|
899
|
+
start?: (($element: any, config: AnimationConfig) => void);
|
|
900
|
+
to?: AnimationState;
|
|
901
|
+
type?: AnimationType;
|
|
902
|
+
}>;
|
|
903
|
+
declare const Hide: ((props: IHideProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
904
|
+
complete?: (($element: any, config: AnimationConfig) => void) | undefined;
|
|
905
|
+
delay?: number | undefined;
|
|
906
|
+
direction?: Direction | undefined;
|
|
907
|
+
duration?: number | undefined;
|
|
908
|
+
easing?: string | undefined;
|
|
909
|
+
from?: AnimationState | undefined;
|
|
910
|
+
staggerDelay?: number | undefined;
|
|
911
|
+
start?: (($element: any, config: AnimationConfig) => void) | undefined;
|
|
912
|
+
to?: AnimationState | undefined;
|
|
913
|
+
type?: AnimationType | undefined;
|
|
914
|
+
} & {
|
|
915
|
+
children?: React.ReactNode;
|
|
916
|
+
} & {
|
|
917
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
918
|
+
}>>) & NestedComponentMeta;
|
|
919
|
+
type IItemProps = React.PropsWithChildren<{
|
|
920
|
+
cssClass?: string | undefined;
|
|
921
|
+
disabled?: boolean;
|
|
922
|
+
html?: string;
|
|
923
|
+
locateInMenu?: LocateInMenuMode;
|
|
924
|
+
location?: ToolbarItemLocation;
|
|
925
|
+
menuItemTemplate?: (() => string | any) | template;
|
|
926
|
+
name?: CardHeaderPredefinedItem | string | PredefinedToolbarItem;
|
|
927
|
+
options?: any;
|
|
928
|
+
showText?: ShowTextMode;
|
|
929
|
+
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
|
|
930
|
+
text?: string;
|
|
931
|
+
visible?: boolean;
|
|
932
|
+
widget?: ToolbarItemComponent;
|
|
933
|
+
menuItemRender?: (...params: any) => React.ReactNode;
|
|
934
|
+
menuItemComponent?: React.ComponentType<any>;
|
|
935
|
+
render?: (...params: any) => React.ReactNode;
|
|
936
|
+
component?: React.ComponentType<any>;
|
|
937
|
+
}>;
|
|
938
|
+
declare const Item: ((props: IItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
939
|
+
cssClass?: string | undefined;
|
|
940
|
+
disabled?: boolean | undefined;
|
|
941
|
+
html?: string | undefined;
|
|
942
|
+
locateInMenu?: LocateInMenuMode | undefined;
|
|
943
|
+
location?: ToolbarItemLocation | undefined;
|
|
944
|
+
menuItemTemplate?: template | (() => string | any) | undefined;
|
|
945
|
+
name?: string | undefined;
|
|
946
|
+
options?: any;
|
|
947
|
+
showText?: ShowTextMode | undefined;
|
|
948
|
+
template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
|
|
949
|
+
text?: string | undefined;
|
|
950
|
+
visible?: boolean | undefined;
|
|
951
|
+
widget?: ToolbarItemComponent | undefined;
|
|
952
|
+
menuItemRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
953
|
+
menuItemComponent?: React.ComponentType<any> | undefined;
|
|
954
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
955
|
+
component?: React.ComponentType<any> | undefined;
|
|
956
|
+
} & {
|
|
957
|
+
children?: React.ReactNode;
|
|
958
|
+
} & {
|
|
959
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
960
|
+
}>>) & NestedComponentMeta;
|
|
961
|
+
type ILabelProps = React.PropsWithChildren<{
|
|
962
|
+
alignment?: HorizontalAlignment;
|
|
963
|
+
location?: LabelLocation;
|
|
964
|
+
showColon?: boolean;
|
|
965
|
+
template?: ((itemData: {
|
|
966
|
+
component: dxForm;
|
|
967
|
+
dataField: string;
|
|
968
|
+
editorOptions: any;
|
|
969
|
+
editorType: string;
|
|
970
|
+
name: string;
|
|
971
|
+
text: string;
|
|
972
|
+
}, itemElement: any) => string | any) | template;
|
|
973
|
+
text?: string | undefined;
|
|
974
|
+
visible?: boolean;
|
|
975
|
+
render?: (...params: any) => React.ReactNode;
|
|
976
|
+
component?: React.ComponentType<any>;
|
|
977
|
+
}>;
|
|
978
|
+
declare const Label: ((props: ILabelProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
979
|
+
alignment?: HorizontalAlignment | undefined;
|
|
980
|
+
location?: LabelLocation | undefined;
|
|
981
|
+
showColon?: boolean | undefined;
|
|
982
|
+
template?: template | ((itemData: {
|
|
983
|
+
component: dxForm;
|
|
984
|
+
dataField: string;
|
|
985
|
+
editorOptions: any;
|
|
986
|
+
editorType: string;
|
|
987
|
+
name: string;
|
|
988
|
+
text: string;
|
|
989
|
+
}, itemElement: any) => string | any) | undefined;
|
|
990
|
+
text?: string | undefined;
|
|
991
|
+
visible?: boolean | undefined;
|
|
992
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
993
|
+
component?: React.ComponentType<any> | undefined;
|
|
994
|
+
} & {
|
|
995
|
+
children?: React.ReactNode;
|
|
996
|
+
} & {
|
|
997
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
998
|
+
}>>) & NestedComponentMeta;
|
|
999
|
+
type ILoadPanelProps = React.PropsWithChildren<{
|
|
1000
|
+
animation?: Record<string, any> | {
|
|
1001
|
+
hide?: AnimationConfig;
|
|
1002
|
+
show?: AnimationConfig;
|
|
1003
|
+
};
|
|
1004
|
+
bindingOptions?: Record<string, any>;
|
|
1005
|
+
closeOnOutsideClick?: boolean | ((event: event) => boolean);
|
|
1006
|
+
container?: any | string | undefined;
|
|
1007
|
+
deferRendering?: boolean;
|
|
1008
|
+
delay?: number;
|
|
1009
|
+
focusStateEnabled?: boolean;
|
|
1010
|
+
height?: (() => number | string) | number | string;
|
|
1011
|
+
hideOnOutsideClick?: boolean | ((event: event) => boolean);
|
|
1012
|
+
hideOnParentScroll?: boolean;
|
|
1013
|
+
hint?: string | undefined;
|
|
1014
|
+
hoverStateEnabled?: boolean;
|
|
1015
|
+
indicatorSrc?: string;
|
|
1016
|
+
maxHeight?: (() => number | string) | number | string;
|
|
1017
|
+
maxWidth?: (() => number | string) | number | string;
|
|
1018
|
+
message?: string;
|
|
1019
|
+
minHeight?: (() => number | string) | number | string;
|
|
1020
|
+
minWidth?: (() => number | string) | number | string;
|
|
1021
|
+
onContentReady?: ((e: LoadPanelContentReadyEvent) => void);
|
|
1022
|
+
onDisposing?: ((e: LoadPanelDisposingEvent) => void);
|
|
1023
|
+
onHidden?: ((e: HiddenEvent) => void);
|
|
1024
|
+
onHiding?: ((e: HidingEvent) => void);
|
|
1025
|
+
onInitialized?: ((e: LoadPanelInitializedEvent) => void);
|
|
1026
|
+
onOptionChanged?: ((e: LoadPanelOptionChangedEvent) => void);
|
|
1027
|
+
onShowing?: ((e: ShowingEvent) => void);
|
|
1028
|
+
onShown?: ((e: ShownEvent) => void);
|
|
1029
|
+
position?: (() => void) | PositionAlignment | PositionConfig;
|
|
1030
|
+
rtlEnabled?: boolean;
|
|
1031
|
+
shading?: boolean;
|
|
1032
|
+
shadingColor?: string;
|
|
1033
|
+
showIndicator?: boolean;
|
|
1034
|
+
showPane?: boolean;
|
|
1035
|
+
visible?: boolean;
|
|
1036
|
+
width?: (() => number | string) | number | string;
|
|
1037
|
+
wrapperAttr?: any;
|
|
1038
|
+
defaultPosition?: (() => void) | PositionAlignment | PositionConfig;
|
|
1039
|
+
onPositionChange?: (value: (() => void) | PositionAlignment | PositionConfig) => void;
|
|
1040
|
+
defaultVisible?: boolean;
|
|
1041
|
+
onVisibleChange?: (value: boolean) => void;
|
|
1042
|
+
}>;
|
|
1043
|
+
declare const LoadPanel: ((props: ILoadPanelProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1044
|
+
animation?: Record<string, any> | {
|
|
1045
|
+
hide?: AnimationConfig | undefined;
|
|
1046
|
+
show?: AnimationConfig | undefined;
|
|
1047
|
+
} | undefined;
|
|
1048
|
+
bindingOptions?: Record<string, any> | undefined;
|
|
1049
|
+
closeOnOutsideClick?: boolean | ((event: event) => boolean) | undefined;
|
|
1050
|
+
container?: any | string | undefined;
|
|
1051
|
+
deferRendering?: boolean | undefined;
|
|
1052
|
+
delay?: number | undefined;
|
|
1053
|
+
focusStateEnabled?: boolean | undefined;
|
|
1054
|
+
height?: string | number | (() => number | string) | undefined;
|
|
1055
|
+
hideOnOutsideClick?: boolean | ((event: event) => boolean) | undefined;
|
|
1056
|
+
hideOnParentScroll?: boolean | undefined;
|
|
1057
|
+
hint?: string | undefined;
|
|
1058
|
+
hoverStateEnabled?: boolean | undefined;
|
|
1059
|
+
indicatorSrc?: string | undefined;
|
|
1060
|
+
maxHeight?: string | number | (() => number | string) | undefined;
|
|
1061
|
+
maxWidth?: string | number | (() => number | string) | undefined;
|
|
1062
|
+
message?: string | undefined;
|
|
1063
|
+
minHeight?: string | number | (() => number | string) | undefined;
|
|
1064
|
+
minWidth?: string | number | (() => number | string) | undefined;
|
|
1065
|
+
onContentReady?: ((e: LoadPanelContentReadyEvent) => void) | undefined;
|
|
1066
|
+
onDisposing?: ((e: LoadPanelDisposingEvent) => void) | undefined;
|
|
1067
|
+
onHidden?: ((e: HiddenEvent) => void) | undefined;
|
|
1068
|
+
onHiding?: ((e: HidingEvent) => void) | undefined;
|
|
1069
|
+
onInitialized?: ((e: LoadPanelInitializedEvent) => void) | undefined;
|
|
1070
|
+
onOptionChanged?: ((e: LoadPanelOptionChangedEvent) => void) | undefined;
|
|
1071
|
+
onShowing?: ((e: ShowingEvent) => void) | undefined;
|
|
1072
|
+
onShown?: ((e: ShownEvent) => void) | undefined;
|
|
1073
|
+
position?: PositionAlignment | PositionConfig | (() => void) | undefined;
|
|
1074
|
+
rtlEnabled?: boolean | undefined;
|
|
1075
|
+
shading?: boolean | undefined;
|
|
1076
|
+
shadingColor?: string | undefined;
|
|
1077
|
+
showIndicator?: boolean | undefined;
|
|
1078
|
+
showPane?: boolean | undefined;
|
|
1079
|
+
visible?: boolean | undefined;
|
|
1080
|
+
width?: string | number | (() => number | string) | undefined;
|
|
1081
|
+
wrapperAttr?: any;
|
|
1082
|
+
defaultPosition?: PositionAlignment | PositionConfig | (() => void) | undefined;
|
|
1083
|
+
onPositionChange?: ((value: (() => void) | PositionAlignment | PositionConfig) => void) | undefined;
|
|
1084
|
+
defaultVisible?: boolean | undefined;
|
|
1085
|
+
onVisibleChange?: ((value: boolean) => void) | undefined;
|
|
1086
|
+
} & {
|
|
1087
|
+
children?: React.ReactNode;
|
|
1088
|
+
} & {
|
|
1089
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1090
|
+
}>>) & NestedComponentMeta;
|
|
1091
|
+
type ILookupProps = React.PropsWithChildren<{
|
|
1092
|
+
allowClearing?: boolean;
|
|
1093
|
+
dataSource?: Array<any> | DataSourceOptions | Store | undefined;
|
|
1094
|
+
displayExpr?: ((data: any) => string) | string | undefined;
|
|
1095
|
+
valueExpr?: ((data: any) => string | number | boolean) | string | undefined;
|
|
1096
|
+
}>;
|
|
1097
|
+
declare const Lookup: ((props: ILookupProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1098
|
+
allowClearing?: boolean | undefined;
|
|
1099
|
+
dataSource?: Array<any> | DataSourceOptions | Store | undefined;
|
|
1100
|
+
displayExpr?: string | ((data: any) => string) | undefined;
|
|
1101
|
+
valueExpr?: string | ((data: any) => string | number | boolean) | undefined;
|
|
1102
|
+
} & {
|
|
1103
|
+
children?: React.ReactNode;
|
|
1104
|
+
} & {
|
|
1105
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1106
|
+
}>>) & NestedComponentMeta;
|
|
1107
|
+
type IMyProps = React.PropsWithChildren<{
|
|
1108
|
+
x?: HorizontalAlignment;
|
|
1109
|
+
y?: VerticalAlignment;
|
|
1110
|
+
}>;
|
|
1111
|
+
declare const My: ((props: IMyProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1112
|
+
x?: HorizontalAlignment | undefined;
|
|
1113
|
+
y?: VerticalAlignment | undefined;
|
|
1114
|
+
} & {
|
|
1115
|
+
children?: React.ReactNode;
|
|
1116
|
+
} & {
|
|
1117
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1118
|
+
}>>) & NestedComponentMeta;
|
|
1119
|
+
type INumericRuleProps = React.PropsWithChildren<{
|
|
1120
|
+
ignoreEmptyValue?: boolean;
|
|
1121
|
+
message?: string;
|
|
1122
|
+
type?: ValidationRuleType;
|
|
1123
|
+
}>;
|
|
1124
|
+
declare const NumericRule: ((props: INumericRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1125
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
1126
|
+
message?: string | undefined;
|
|
1127
|
+
type?: ValidationRuleType | undefined;
|
|
1128
|
+
} & {
|
|
1129
|
+
children?: React.ReactNode;
|
|
1130
|
+
} & {
|
|
1131
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1132
|
+
}>>) & NestedComponentMeta;
|
|
1133
|
+
type IOffsetProps = React.PropsWithChildren<{
|
|
1134
|
+
x?: number;
|
|
1135
|
+
y?: number;
|
|
1136
|
+
}>;
|
|
1137
|
+
declare const Offset: ((props: IOffsetProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1138
|
+
x?: number | undefined;
|
|
1139
|
+
y?: number | undefined;
|
|
1140
|
+
} & {
|
|
1141
|
+
children?: React.ReactNode;
|
|
1142
|
+
} & {
|
|
1143
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1144
|
+
}>>) & NestedComponentMeta;
|
|
1145
|
+
type IPagerProps = React.PropsWithChildren<{
|
|
1146
|
+
allowedPageSizes?: Array<number | PagerPageSize> | Mode;
|
|
1147
|
+
displayMode?: DisplayMode;
|
|
1148
|
+
infoText?: string;
|
|
1149
|
+
label?: string;
|
|
1150
|
+
showInfo?: boolean;
|
|
1151
|
+
showNavigationButtons?: boolean;
|
|
1152
|
+
showPageSizeSelector?: boolean;
|
|
1153
|
+
visible?: boolean | Mode;
|
|
1154
|
+
}>;
|
|
1155
|
+
declare const Pager: ((props: IPagerProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1156
|
+
allowedPageSizes?: "auto" | (number | PagerPageSize)[] | undefined;
|
|
1157
|
+
displayMode?: DisplayMode | undefined;
|
|
1158
|
+
infoText?: string | undefined;
|
|
1159
|
+
label?: string | undefined;
|
|
1160
|
+
showInfo?: boolean | undefined;
|
|
1161
|
+
showNavigationButtons?: boolean | undefined;
|
|
1162
|
+
showPageSizeSelector?: boolean | undefined;
|
|
1163
|
+
visible?: boolean | "auto" | undefined;
|
|
1164
|
+
} & {
|
|
1165
|
+
children?: React.ReactNode;
|
|
1166
|
+
} & {
|
|
1167
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1168
|
+
}>>) & NestedComponentMeta;
|
|
1169
|
+
type IPagingProps = React.PropsWithChildren<{
|
|
1170
|
+
enabled?: boolean;
|
|
1171
|
+
pageIndex?: number;
|
|
1172
|
+
pageSize?: number;
|
|
1173
|
+
defaultPageIndex?: number;
|
|
1174
|
+
onPageIndexChange?: (value: number) => void;
|
|
1175
|
+
defaultPageSize?: number;
|
|
1176
|
+
onPageSizeChange?: (value: number) => void;
|
|
1177
|
+
}>;
|
|
1178
|
+
declare const Paging: ((props: IPagingProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1179
|
+
enabled?: boolean | undefined;
|
|
1180
|
+
pageIndex?: number | undefined;
|
|
1181
|
+
pageSize?: number | undefined;
|
|
1182
|
+
defaultPageIndex?: number | undefined;
|
|
1183
|
+
onPageIndexChange?: ((value: number) => void) | undefined;
|
|
1184
|
+
defaultPageSize?: number | undefined;
|
|
1185
|
+
onPageSizeChange?: ((value: number) => void) | undefined;
|
|
1186
|
+
} & {
|
|
1187
|
+
children?: React.ReactNode;
|
|
1188
|
+
} & {
|
|
1189
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1190
|
+
}>>) & NestedComponentMeta;
|
|
1191
|
+
type IPatternRuleProps = React.PropsWithChildren<{
|
|
1192
|
+
ignoreEmptyValue?: boolean;
|
|
1193
|
+
message?: string;
|
|
1194
|
+
pattern?: RegExp | string;
|
|
1195
|
+
type?: ValidationRuleType;
|
|
1196
|
+
}>;
|
|
1197
|
+
declare const PatternRule: ((props: IPatternRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1198
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
1199
|
+
message?: string | undefined;
|
|
1200
|
+
pattern?: string | RegExp | undefined;
|
|
1201
|
+
type?: ValidationRuleType | undefined;
|
|
1202
|
+
} & {
|
|
1203
|
+
children?: React.ReactNode;
|
|
1204
|
+
} & {
|
|
1205
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1206
|
+
}>>) & NestedComponentMeta;
|
|
1207
|
+
type IPositionProps = React.PropsWithChildren<{
|
|
1208
|
+
at?: Record<string, any> | PositionAlignment | {
|
|
1209
|
+
x?: HorizontalAlignment;
|
|
1210
|
+
y?: VerticalAlignment;
|
|
1211
|
+
};
|
|
1212
|
+
boundary?: any | string;
|
|
1213
|
+
boundaryOffset?: Record<string, any> | string | {
|
|
1214
|
+
x?: number;
|
|
1215
|
+
y?: number;
|
|
1216
|
+
};
|
|
1217
|
+
collision?: CollisionResolutionCombination | Record<string, any> | {
|
|
1218
|
+
x?: CollisionResolution;
|
|
1219
|
+
y?: CollisionResolution;
|
|
1220
|
+
};
|
|
1221
|
+
my?: Record<string, any> | PositionAlignment | {
|
|
1222
|
+
x?: HorizontalAlignment;
|
|
1223
|
+
y?: VerticalAlignment;
|
|
1224
|
+
};
|
|
1225
|
+
of?: any | string;
|
|
1226
|
+
offset?: Record<string, any> | string | {
|
|
1227
|
+
x?: number;
|
|
1228
|
+
y?: number;
|
|
1229
|
+
};
|
|
1230
|
+
}>;
|
|
1231
|
+
declare const Position: ((props: IPositionProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1232
|
+
at?: Record<string, any> | PositionAlignment | {
|
|
1233
|
+
x?: HorizontalAlignment | undefined;
|
|
1234
|
+
y?: VerticalAlignment | undefined;
|
|
1235
|
+
} | undefined;
|
|
1236
|
+
boundary?: any | string;
|
|
1237
|
+
boundaryOffset?: string | Record<string, any> | {
|
|
1238
|
+
x?: number | undefined;
|
|
1239
|
+
y?: number | undefined;
|
|
1240
|
+
} | undefined;
|
|
1241
|
+
collision?: Record<string, any> | CollisionResolutionCombination | {
|
|
1242
|
+
x?: CollisionResolution | undefined;
|
|
1243
|
+
y?: CollisionResolution | undefined;
|
|
1244
|
+
} | undefined;
|
|
1245
|
+
my?: Record<string, any> | PositionAlignment | {
|
|
1246
|
+
x?: HorizontalAlignment | undefined;
|
|
1247
|
+
y?: VerticalAlignment | undefined;
|
|
1248
|
+
} | undefined;
|
|
1249
|
+
of?: any | string;
|
|
1250
|
+
offset?: string | Record<string, any> | {
|
|
1251
|
+
x?: number | undefined;
|
|
1252
|
+
y?: number | undefined;
|
|
1253
|
+
} | undefined;
|
|
1254
|
+
} & {
|
|
1255
|
+
children?: React.ReactNode;
|
|
1256
|
+
} & {
|
|
1257
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1258
|
+
}>>) & NestedComponentMeta;
|
|
1259
|
+
type IRangeRuleProps = React.PropsWithChildren<{
|
|
1260
|
+
ignoreEmptyValue?: boolean;
|
|
1261
|
+
max?: Date | number | string;
|
|
1262
|
+
message?: string;
|
|
1263
|
+
min?: Date | number | string;
|
|
1264
|
+
reevaluate?: boolean;
|
|
1265
|
+
type?: ValidationRuleType;
|
|
1266
|
+
}>;
|
|
1267
|
+
declare const RangeRule: ((props: IRangeRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1268
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
1269
|
+
max?: string | number | Date | undefined;
|
|
1270
|
+
message?: string | undefined;
|
|
1271
|
+
min?: string | number | Date | undefined;
|
|
1272
|
+
reevaluate?: boolean | undefined;
|
|
1273
|
+
type?: ValidationRuleType | undefined;
|
|
1274
|
+
} & {
|
|
1275
|
+
children?: React.ReactNode;
|
|
1276
|
+
} & {
|
|
1277
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1278
|
+
}>>) & NestedComponentMeta;
|
|
1279
|
+
type IRemoteOperationsProps = React.PropsWithChildren<{
|
|
1280
|
+
filtering?: boolean;
|
|
1281
|
+
grouping?: boolean;
|
|
1282
|
+
paging?: boolean;
|
|
1283
|
+
sorting?: boolean;
|
|
1284
|
+
}>;
|
|
1285
|
+
declare const RemoteOperations: ((props: IRemoteOperationsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1286
|
+
filtering?: boolean | undefined;
|
|
1287
|
+
grouping?: boolean | undefined;
|
|
1288
|
+
paging?: boolean | undefined;
|
|
1289
|
+
sorting?: boolean | undefined;
|
|
1290
|
+
} & {
|
|
1291
|
+
children?: React.ReactNode;
|
|
1292
|
+
} & {
|
|
1293
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1294
|
+
}>>) & NestedComponentMeta;
|
|
1295
|
+
type IRequiredRuleProps = React.PropsWithChildren<{
|
|
1296
|
+
message?: string;
|
|
1297
|
+
trim?: boolean;
|
|
1298
|
+
type?: ValidationRuleType;
|
|
1299
|
+
}>;
|
|
1300
|
+
declare const RequiredRule: ((props: IRequiredRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1301
|
+
message?: string | undefined;
|
|
1302
|
+
trim?: boolean | undefined;
|
|
1303
|
+
type?: ValidationRuleType | undefined;
|
|
1304
|
+
} & {
|
|
1305
|
+
children?: React.ReactNode;
|
|
1306
|
+
} & {
|
|
1307
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1308
|
+
}>>) & NestedComponentMeta;
|
|
1309
|
+
type ISelectionProps = React.PropsWithChildren<{
|
|
1310
|
+
allowSelectAll?: boolean;
|
|
1311
|
+
mode?: SingleMultipleOrNone;
|
|
1312
|
+
selectAllMode?: SelectAllMode;
|
|
1313
|
+
showCheckBoxesMode?: SelectionColumnDisplayMode;
|
|
1314
|
+
}>;
|
|
1315
|
+
declare const Selection: ((props: ISelectionProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1316
|
+
allowSelectAll?: boolean | undefined;
|
|
1317
|
+
mode?: SingleMultipleOrNone | undefined;
|
|
1318
|
+
selectAllMode?: SelectAllMode | undefined;
|
|
1319
|
+
showCheckBoxesMode?: SelectionColumnDisplayMode | undefined;
|
|
1320
|
+
} & {
|
|
1321
|
+
children?: React.ReactNode;
|
|
1322
|
+
} & {
|
|
1323
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1324
|
+
}>>) & NestedComponentMeta;
|
|
1325
|
+
type IShowProps = React.PropsWithChildren<{
|
|
1326
|
+
complete?: (($element: any, config: AnimationConfig) => void);
|
|
1327
|
+
delay?: number;
|
|
1328
|
+
direction?: Direction | undefined;
|
|
1329
|
+
duration?: number;
|
|
1330
|
+
easing?: string;
|
|
1331
|
+
from?: AnimationState;
|
|
1332
|
+
staggerDelay?: number | undefined;
|
|
1333
|
+
start?: (($element: any, config: AnimationConfig) => void);
|
|
1334
|
+
to?: AnimationState;
|
|
1335
|
+
type?: AnimationType;
|
|
1336
|
+
}>;
|
|
1337
|
+
declare const Show: ((props: IShowProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1338
|
+
complete?: (($element: any, config: AnimationConfig) => void) | undefined;
|
|
1339
|
+
delay?: number | undefined;
|
|
1340
|
+
direction?: Direction | undefined;
|
|
1341
|
+
duration?: number | undefined;
|
|
1342
|
+
easing?: string | undefined;
|
|
1343
|
+
from?: AnimationState | undefined;
|
|
1344
|
+
staggerDelay?: number | undefined;
|
|
1345
|
+
start?: (($element: any, config: AnimationConfig) => void) | undefined;
|
|
1346
|
+
to?: AnimationState | undefined;
|
|
1347
|
+
type?: AnimationType | undefined;
|
|
1348
|
+
} & {
|
|
1349
|
+
children?: React.ReactNode;
|
|
1350
|
+
} & {
|
|
1351
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1352
|
+
}>>) & NestedComponentMeta;
|
|
1353
|
+
type IStringLengthRuleProps = React.PropsWithChildren<{
|
|
1354
|
+
ignoreEmptyValue?: boolean;
|
|
1355
|
+
max?: number;
|
|
1356
|
+
message?: string;
|
|
1357
|
+
min?: number;
|
|
1358
|
+
trim?: boolean;
|
|
1359
|
+
type?: ValidationRuleType;
|
|
1360
|
+
}>;
|
|
1361
|
+
declare const StringLengthRule: ((props: IStringLengthRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1362
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
1363
|
+
max?: number | undefined;
|
|
1364
|
+
message?: string | undefined;
|
|
1365
|
+
min?: number | undefined;
|
|
1366
|
+
trim?: boolean | undefined;
|
|
1367
|
+
type?: ValidationRuleType | undefined;
|
|
1368
|
+
} & {
|
|
1369
|
+
children?: React.ReactNode;
|
|
1370
|
+
} & {
|
|
1371
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1372
|
+
}>>) & NestedComponentMeta;
|
|
1373
|
+
type IToProps = React.PropsWithChildren<{
|
|
1374
|
+
left?: number;
|
|
1375
|
+
opacity?: number;
|
|
1376
|
+
position?: PositionConfig;
|
|
1377
|
+
scale?: number;
|
|
1378
|
+
top?: number;
|
|
1379
|
+
}>;
|
|
1380
|
+
declare const To: ((props: IToProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1381
|
+
left?: number | undefined;
|
|
1382
|
+
opacity?: number | undefined;
|
|
1383
|
+
position?: PositionConfig | undefined;
|
|
1384
|
+
scale?: number | undefined;
|
|
1385
|
+
top?: number | undefined;
|
|
1386
|
+
} & {
|
|
1387
|
+
children?: React.ReactNode;
|
|
1388
|
+
} & {
|
|
1389
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1390
|
+
}>>) & NestedComponentMeta;
|
|
1391
|
+
type IToolbarProps = React.PropsWithChildren<{
|
|
1392
|
+
disabled?: boolean;
|
|
1393
|
+
items?: Array<PredefinedToolbarItem | CardViewToolbarItem>;
|
|
1394
|
+
multiline?: boolean;
|
|
1395
|
+
visible?: boolean | undefined;
|
|
1396
|
+
}>;
|
|
1397
|
+
declare const Toolbar: ((props: IToolbarProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1398
|
+
disabled?: boolean | undefined;
|
|
1399
|
+
items?: (PredefinedToolbarItem | CardViewToolbarItem)[] | undefined;
|
|
1400
|
+
multiline?: boolean | undefined;
|
|
1401
|
+
visible?: boolean | undefined;
|
|
1402
|
+
} & {
|
|
1403
|
+
children?: React.ReactNode;
|
|
1404
|
+
} & {
|
|
1405
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1406
|
+
}>>) & NestedComponentMeta;
|
|
1407
|
+
type IToolbarItemProps = React.PropsWithChildren<{
|
|
1408
|
+
cssClass?: string | undefined;
|
|
1409
|
+
disabled?: boolean;
|
|
1410
|
+
html?: string;
|
|
1411
|
+
locateInMenu?: LocateInMenuMode;
|
|
1412
|
+
location?: ToolbarItemLocation;
|
|
1413
|
+
menuItemTemplate?: (() => string | any) | template;
|
|
1414
|
+
name?: PredefinedToolbarItem | string;
|
|
1415
|
+
options?: any;
|
|
1416
|
+
showText?: ShowTextMode;
|
|
1417
|
+
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
|
|
1418
|
+
text?: string;
|
|
1419
|
+
visible?: boolean;
|
|
1420
|
+
widget?: ToolbarItemComponent;
|
|
1421
|
+
menuItemRender?: (...params: any) => React.ReactNode;
|
|
1422
|
+
menuItemComponent?: React.ComponentType<any>;
|
|
1423
|
+
render?: (...params: any) => React.ReactNode;
|
|
1424
|
+
component?: React.ComponentType<any>;
|
|
1425
|
+
}>;
|
|
1426
|
+
declare const ToolbarItem: ((props: IToolbarItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1427
|
+
cssClass?: string | undefined;
|
|
1428
|
+
disabled?: boolean | undefined;
|
|
1429
|
+
html?: string | undefined;
|
|
1430
|
+
locateInMenu?: LocateInMenuMode | undefined;
|
|
1431
|
+
location?: ToolbarItemLocation | undefined;
|
|
1432
|
+
menuItemTemplate?: template | (() => string | any) | undefined;
|
|
1433
|
+
name?: string | undefined;
|
|
1434
|
+
options?: any;
|
|
1435
|
+
showText?: ShowTextMode | undefined;
|
|
1436
|
+
template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
|
|
1437
|
+
text?: string | undefined;
|
|
1438
|
+
visible?: boolean | undefined;
|
|
1439
|
+
widget?: ToolbarItemComponent | undefined;
|
|
1440
|
+
menuItemRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
1441
|
+
menuItemComponent?: React.ComponentType<any> | undefined;
|
|
1442
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
1443
|
+
component?: React.ComponentType<any> | undefined;
|
|
1444
|
+
} & {
|
|
1445
|
+
children?: React.ReactNode;
|
|
1446
|
+
} & {
|
|
1447
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1448
|
+
}>>) & NestedComponentMeta;
|
|
1449
|
+
type IValidationRuleProps = React.PropsWithChildren<{
|
|
1450
|
+
message?: string;
|
|
1451
|
+
trim?: boolean;
|
|
1452
|
+
type?: ValidationRuleType;
|
|
1453
|
+
ignoreEmptyValue?: boolean;
|
|
1454
|
+
max?: Date | number | string;
|
|
1455
|
+
min?: Date | number | string;
|
|
1456
|
+
reevaluate?: boolean;
|
|
1457
|
+
validationCallback?: ((options: {
|
|
1458
|
+
column: Record<string, any>;
|
|
1459
|
+
data: Record<string, any>;
|
|
1460
|
+
formItem: Record<string, any>;
|
|
1461
|
+
rule: Record<string, any>;
|
|
1462
|
+
validator: Record<string, any>;
|
|
1463
|
+
value: string | number;
|
|
1464
|
+
}) => boolean);
|
|
1465
|
+
comparisonTarget?: (() => any);
|
|
1466
|
+
comparisonType?: ComparisonOperator;
|
|
1467
|
+
pattern?: RegExp | string;
|
|
1468
|
+
}>;
|
|
1469
|
+
declare const ValidationRule: ((props: IValidationRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1470
|
+
message?: string | undefined;
|
|
1471
|
+
trim?: boolean | undefined;
|
|
1472
|
+
type?: ValidationRuleType | undefined;
|
|
1473
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
1474
|
+
max?: string | number | Date | undefined;
|
|
1475
|
+
min?: string | number | Date | undefined;
|
|
1476
|
+
reevaluate?: boolean | undefined;
|
|
1477
|
+
validationCallback?: ((options: {
|
|
1478
|
+
column: Record<string, any>;
|
|
1479
|
+
data: Record<string, any>;
|
|
1480
|
+
formItem: Record<string, any>;
|
|
1481
|
+
rule: Record<string, any>;
|
|
1482
|
+
validator: Record<string, any>;
|
|
1483
|
+
value: string | number;
|
|
1484
|
+
}) => boolean) | undefined;
|
|
1485
|
+
comparisonTarget?: (() => any) | undefined;
|
|
1486
|
+
comparisonType?: ComparisonOperator | undefined;
|
|
1487
|
+
pattern?: string | RegExp | undefined;
|
|
1488
|
+
} & {
|
|
1489
|
+
children?: React.ReactNode;
|
|
1490
|
+
} & {
|
|
1491
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1492
|
+
}>>) & NestedComponentMeta;
|
|
1493
|
+
export default CardView;
|
|
1494
|
+
export { CardView, ICardViewOptions, CardViewRef, Animation, IAnimationProps, AsyncRule, IAsyncRuleProps, At, IAtProps, BoundaryOffset, IBoundaryOffsetProps, CardCover, ICardCoverProps, CardHeader, ICardHeaderProps, CardHeaderItem, ICardHeaderItemProps, Change, IChangeProps, Collision, ICollisionProps, Column, IColumnProps, CompareRule, ICompareRuleProps, CustomOperation, ICustomOperationProps, CustomRule, ICustomRuleProps, Editing, IEditingProps, EmailRule, IEmailRuleProps, Field, IFieldProps, FilterBuilder, IFilterBuilderProps, FilterOperationDescriptions, IFilterOperationDescriptionsProps, Format, IFormatProps, FormItem, IFormItemProps, From, IFromProps, GroupOperationDescriptions, IGroupOperationDescriptionsProps, HeaderPanel, IHeaderPanelProps, Hide, IHideProps, Item, IItemProps, Label, ILabelProps, LoadPanel, ILoadPanelProps, Lookup, ILookupProps, My, IMyProps, NumericRule, INumericRuleProps, Offset, IOffsetProps, Pager, IPagerProps, Paging, IPagingProps, PatternRule, IPatternRuleProps, Position, IPositionProps, RangeRule, IRangeRuleProps, RemoteOperations, IRemoteOperationsProps, RequiredRule, IRequiredRuleProps, Selection, ISelectionProps, Show, IShowProps, StringLengthRule, IStringLengthRuleProps, To, IToProps, Toolbar, IToolbarProps, ToolbarItem, IToolbarItemProps, ValidationRule, IValidationRuleProps };
|
|
1495
|
+
import type * as CardViewTypes from 'devextreme/ui/card_view_types';
|
|
1496
|
+
export { CardViewTypes };
|