devextreme-react 26.1.2-beta → 26.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +27 -27
- package/cjs/accordion.d.ts +100 -100
- package/cjs/accordion.js +103 -103
- package/cjs/action-sheet.d.ts +79 -79
- package/cjs/action-sheet.js +91 -91
- package/cjs/autocomplete.d.ts +653 -653
- package/cjs/autocomplete.js +347 -347
- package/cjs/bar-gauge.d.ts +698 -698
- package/cjs/bar-gauge.js +410 -410
- package/cjs/box.d.ts +77 -77
- package/cjs/box.js +90 -90
- package/cjs/bullet.d.ts +205 -205
- package/cjs/bullet.js +155 -155
- package/cjs/button-group.d.ts +64 -64
- package/cjs/button-group.js +91 -91
- package/cjs/button.d.ts +30 -30
- package/cjs/button.js +61 -61
- package/cjs/calendar.d.ts +33 -33
- package/cjs/calendar.js +68 -68
- package/cjs/card-view.d.ts +2749 -2749
- package/cjs/card-view.js +1439 -1439
- package/cjs/chart.d.ts +4467 -4467
- package/cjs/chart.js +1569 -1569
- package/cjs/chat.d.ts +604 -604
- package/cjs/chat.js +336 -336
- package/cjs/check-box.d.ts +30 -30
- package/cjs/check-box.js +59 -59
- package/cjs/circular-gauge.d.ts +720 -720
- package/cjs/circular-gauge.js +427 -427
- package/cjs/color-box.d.ts +647 -647
- package/cjs/color-box.js +345 -345
- package/cjs/common/ai-integration.d.ts +4 -4
- package/cjs/common/ai-integration.js +7 -7
- package/cjs/common/charts.d.ts +4 -4
- package/cjs/common/charts.js +8 -8
- package/cjs/common/core/animation.d.ts +4 -4
- package/cjs/common/core/animation.js +11 -11
- package/cjs/common/core/environment.d.ts +4 -4
- package/cjs/common/core/environment.js +9 -9
- package/cjs/common/core/events.d.ts +4 -4
- package/cjs/common/core/events.js +10 -10
- package/cjs/common/core/index.d.ts +6 -6
- package/cjs/common/core/index.js +32 -32
- package/cjs/common/core/localization.d.ts +4 -4
- package/cjs/common/core/localization.js +13 -13
- package/cjs/common/data/custom-store.d.ts +3 -3
- package/cjs/common/data/custom-store.js +9 -9
- package/cjs/common/data.d.ts +4 -4
- package/cjs/common/data.js +25 -25
- package/cjs/common/export/excel.d.ts +4 -4
- package/cjs/common/export/excel.js +8 -8
- package/cjs/common/export/index.d.ts +4 -4
- package/cjs/common/export/index.js +30 -30
- package/cjs/common/export/pdf.d.ts +4 -4
- package/cjs/common/export/pdf.js +8 -8
- package/cjs/common/grids.d.ts +3 -3
- package/cjs/common/grids.js +4 -4
- package/cjs/common/index.d.ts +301 -289
- package/cjs/common/index.js +121 -121
- package/cjs/context-menu.d.ts +350 -350
- package/cjs/context-menu.js +295 -295
- package/cjs/core/component-base.d.ts +39 -39
- package/cjs/core/component-base.js +322 -322
- package/cjs/core/component.d.ts +42 -42
- package/cjs/core/component.js +88 -88
- package/cjs/core/config.d.ts +9 -9
- package/cjs/core/config.js +16 -16
- package/cjs/core/configuration/comparer.d.ts +12 -12
- package/cjs/core/configuration/comparer.js +102 -102
- package/cjs/core/configuration/config-node.d.ts +17 -17
- package/cjs/core/configuration/config-node.js +107 -107
- package/cjs/core/configuration/react/element.d.ts +36 -36
- package/cjs/core/configuration/react/element.js +52 -52
- package/cjs/core/configuration/react/templates.d.ts +7 -7
- package/cjs/core/configuration/react/templates.js +61 -61
- package/cjs/core/configuration/tree.d.ts +22 -22
- package/cjs/core/configuration/tree.js +118 -118
- package/cjs/core/configuration/utils.d.ts +16 -16
- package/cjs/core/configuration/utils.js +39 -39
- package/cjs/core/const.d.ts +3 -3
- package/cjs/core/const.js +78 -78
- package/cjs/core/contexts.d.ts +25 -25
- package/cjs/core/contexts.js +22 -22
- package/cjs/core/extension-component.d.ts +26 -26
- package/cjs/core/extension-component.js +70 -70
- package/cjs/core/helpers.d.ts +30 -30
- package/cjs/core/helpers.js +65 -65
- package/cjs/core/nested-option.d.ts +15 -15
- package/cjs/core/nested-option.js +60 -60
- package/cjs/core/options-manager.d.ts +35 -35
- package/cjs/core/options-manager.js +228 -228
- package/cjs/core/template-manager.d.ts +5 -5
- package/cjs/core/template-manager.js +164 -164
- package/cjs/core/template-wrapper.d.ts +5 -5
- package/cjs/core/template-wrapper.js +121 -121
- package/cjs/core/template.d.ts +21 -21
- package/cjs/core/template.js +33 -33
- package/cjs/core/types.d.ts +80 -80
- package/cjs/core/types.js +4 -4
- package/cjs/core/use-option-scanning.d.ts +9 -9
- package/cjs/core/use-option-scanning.js +50 -50
- package/cjs/core/widget-config.d.ts +11 -11
- package/cjs/core/widget-config.js +77 -77
- package/cjs/data-grid.d.ts +4632 -4628
- package/cjs/data-grid.js +1894 -1894
- package/cjs/date-box.d.ts +757 -757
- package/cjs/date-box.js +354 -354
- package/cjs/date-range-box.d.ts +761 -761
- package/cjs/date-range-box.js +355 -355
- package/cjs/diagram.d.ts +661 -661
- package/cjs/diagram.js +478 -478
- package/cjs/draggable.d.ts +43 -43
- package/cjs/draggable.js +78 -78
- package/cjs/drawer.d.ts +30 -30
- package/cjs/drawer.js +67 -67
- package/cjs/drop-down-box.d.ts +647 -647
- package/cjs/drop-down-box.js +349 -349
- package/cjs/drop-down-button.d.ts +562 -562
- package/cjs/drop-down-button.js +306 -306
- package/cjs/file-manager.d.ts +302 -302
- package/cjs/file-manager.js +233 -233
- package/cjs/file-uploader.d.ts +39 -39
- package/cjs/file-uploader.js +59 -59
- package/cjs/filter-builder.d.ts +216 -216
- package/cjs/filter-builder.js +156 -156
- package/cjs/form.d.ts +1020 -1020
- package/cjs/form.js +527 -527
- package/cjs/funnel.d.ts +898 -898
- package/cjs/funnel.js +479 -479
- package/cjs/gallery.d.ts +79 -79
- package/cjs/gallery.js +92 -92
- package/cjs/gantt.d.ts +798 -798
- package/cjs/gantt.js +497 -497
- package/cjs/html-editor.d.ts +480 -480
- package/cjs/html-editor.js +302 -302
- package/cjs/index.d.ts +86 -86
- package/cjs/index.js +196 -196
- package/cjs/linear-gauge.d.ts +734 -734
- package/cjs/linear-gauge.js +432 -432
- package/cjs/list.d.ts +416 -416
- package/cjs/list.js +196 -196
- package/cjs/load-indicator.d.ts +26 -26
- package/cjs/load-indicator.js +53 -53
- package/cjs/load-panel.d.ts +270 -270
- package/cjs/load-panel.js +237 -237
- package/cjs/lookup.d.ts +485 -485
- package/cjs/lookup.js +339 -339
- package/cjs/map.d.ts +156 -156
- package/cjs/map.js +164 -164
- package/cjs/menu.d.ts +355 -355
- package/cjs/menu.js +296 -296
- package/cjs/multi-view.d.ts +77 -77
- package/cjs/multi-view.js +92 -92
- package/cjs/number-box.d.ts +142 -142
- package/cjs/number-box.js +110 -110
- package/cjs/pagination.d.ts +22 -22
- package/cjs/pagination.js +60 -60
- package/cjs/pie-chart.d.ts +1449 -1449
- package/cjs/pie-chart.js +637 -637
- package/cjs/pivot-grid-field-chooser.d.ts +133 -133
- package/cjs/pivot-grid-field-chooser.js +125 -125
- package/cjs/pivot-grid.d.ts +350 -350
- package/cjs/pivot-grid.js +235 -235
- package/cjs/polar-chart.d.ts +3176 -3176
- package/cjs/polar-chart.js +1199 -1199
- package/cjs/popover.d.ts +331 -331
- package/cjs/popover.js +288 -288
- package/cjs/popup.d.ts +293 -293
- package/cjs/popup.js +262 -262
- package/cjs/progress-bar.d.ts +31 -31
- package/cjs/progress-bar.js +59 -59
- package/cjs/radio-group.d.ts +56 -56
- package/cjs/radio-group.js +90 -90
- package/cjs/range-selector.d.ts +2446 -2446
- package/cjs/range-selector.js +961 -961
- package/cjs/range-slider.d.ts +82 -82
- package/cjs/range-slider.js +107 -107
- package/cjs/resizable.d.ts +33 -33
- package/cjs/resizable.js +60 -60
- package/cjs/responsive-box.d.ts +133 -133
- package/cjs/responsive-box.js +134 -134
- package/cjs/sankey.d.ts +610 -610
- package/cjs/sankey.js +352 -352
- package/cjs/scheduler.d.ts +1620 -1620
- package/cjs/scheduler.js +775 -775
- package/cjs/scroll-view.d.ts +29 -29
- package/cjs/scroll-view.js +53 -53
- package/cjs/select-box.d.ts +676 -676
- package/cjs/select-box.js +374 -374
- package/cjs/slider.d.ts +82 -82
- package/cjs/slider.js +107 -107
- package/cjs/sortable.d.ts +47 -47
- package/cjs/sortable.js +78 -78
- package/cjs/sparkline.d.ts +205 -205
- package/cjs/sparkline.js +155 -155
- package/cjs/speech-to-text.d.ts +61 -61
- package/cjs/speech-to-text.js +83 -83
- package/cjs/speed-dial-action.d.ts +27 -27
- package/cjs/speed-dial-action.js +53 -53
- package/cjs/splitter.d.ts +85 -85
- package/cjs/splitter.js +90 -90
- package/cjs/stepper.d.ts +82 -82
- package/cjs/stepper.js +92 -92
- package/cjs/switch.d.ts +30 -30
- package/cjs/switch.js +59 -59
- package/cjs/tab-panel.d.ts +97 -97
- package/cjs/tab-panel.js +101 -101
- package/cjs/tabs.d.ts +90 -90
- package/cjs/tabs.js +94 -94
- package/cjs/tag-box.d.ts +677 -677
- package/cjs/tag-box.js +379 -379
- package/cjs/text-area.d.ts +40 -40
- package/cjs/text-area.js +59 -59
- package/cjs/text-box.d.ts +122 -122
- package/cjs/text-box.js +97 -97
- package/cjs/tile-view.d.ts +73 -73
- package/cjs/tile-view.js +90 -90
- package/cjs/toast.d.ts +255 -255
- package/cjs/toast.js +232 -232
- package/cjs/toolbar.d.ts +91 -91
- package/cjs/toolbar.js +99 -99
- package/cjs/tooltip.d.ts +283 -283
- package/cjs/tooltip.js +260 -260
- package/cjs/tree-list.d.ts +4160 -4156
- package/cjs/tree-list.js +1692 -1692
- package/cjs/tree-map.d.ts +586 -586
- package/cjs/tree-map.js +382 -382
- package/cjs/tree-view.d.ts +290 -290
- package/cjs/tree-view.js +145 -145
- package/cjs/validation-group.d.ts +25 -25
- package/cjs/validation-group.js +53 -53
- package/cjs/validation-summary.d.ts +66 -66
- package/cjs/validation-summary.js +90 -90
- package/cjs/validator.d.ts +271 -271
- package/cjs/validator.js +243 -243
- package/cjs/vector-map.d.ts +987 -987
- package/cjs/vector-map.js +487 -487
- package/esm/accordion.js +73 -73
- package/esm/action-sheet.js +61 -61
- package/esm/autocomplete.js +302 -302
- package/esm/bar-gauge.js +359 -359
- package/esm/box.js +60 -60
- package/esm/bullet.js +119 -119
- package/esm/button-group.js +61 -61
- package/esm/button.js +32 -32
- package/esm/calendar.js +39 -39
- package/esm/card-view.js +1332 -1332
- package/esm/chart.js +1447 -1447
- package/esm/chat.js +290 -290
- package/esm/check-box.js +30 -30
- package/esm/circular-gauge.js +374 -374
- package/esm/color-box.js +300 -300
- package/esm/common/ai-integration.js +3 -3
- package/esm/common/charts.js +3 -3
- package/esm/common/core/animation.js +3 -3
- package/esm/common/core/environment.js +3 -3
- package/esm/common/core/events.js +3 -3
- package/esm/common/core/index.js +6 -6
- package/esm/common/core/localization.js +3 -3
- package/esm/common/data/custom-store.js +3 -3
- package/esm/common/data.js +3 -3
- package/esm/common/export/excel.js +3 -3
- package/esm/common/export/index.js +4 -4
- package/esm/common/export/pdf.js +3 -3
- package/esm/common/grids.js +3 -3
- package/esm/common/index.js +91 -91
- package/esm/context-menu.js +251 -251
- package/esm/core/component-base.js +292 -292
- package/esm/core/component.js +62 -62
- package/esm/core/config.js +13 -13
- package/esm/core/configuration/comparer.js +98 -98
- package/esm/core/configuration/config-node.js +80 -80
- package/esm/core/configuration/react/element.js +47 -47
- package/esm/core/configuration/react/templates.js +57 -57
- package/esm/core/configuration/tree.js +110 -110
- package/esm/core/configuration/utils.js +32 -32
- package/esm/core/const.js +75 -75
- package/esm/core/contexts.js +19 -19
- package/esm/core/extension-component.js +43 -43
- package/esm/core/helpers.js +57 -57
- package/esm/core/nested-option.js +35 -35
- package/esm/core/options-manager.js +223 -223
- package/esm/core/template-manager.js +137 -137
- package/esm/core/template-wrapper.js +95 -95
- package/esm/core/template.js +29 -29
- package/esm/core/types.js +3 -3
- package/esm/core/use-option-scanning.js +46 -46
- package/esm/core/widget-config.js +72 -72
- package/esm/data-grid.js +1758 -1758
- package/esm/date-box.js +308 -308
- package/esm/date-range-box.js +309 -309
- package/esm/diagram.js +423 -423
- package/esm/draggable.js +48 -48
- package/esm/drawer.js +38 -38
- package/esm/drop-down-box.js +304 -304
- package/esm/drop-down-button.js +263 -263
- package/esm/file-manager.js +192 -192
- package/esm/file-uploader.js +30 -30
- package/esm/filter-builder.js +121 -121
- package/esm/form.js +475 -475
- package/esm/funnel.js +423 -423
- package/esm/gallery.js +62 -62
- package/esm/gantt.js +442 -442
- package/esm/html-editor.js +259 -259
- package/esm/index.js +86 -86
- package/esm/linear-gauge.js +378 -378
- package/esm/list.js +160 -160
- package/esm/load-indicator.js +24 -24
- package/esm/load-panel.js +196 -196
- package/esm/lookup.js +294 -294
- package/esm/map.js +128 -128
- package/esm/menu.js +252 -252
- package/esm/multi-view.js +62 -62
- package/esm/number-box.js +78 -78
- package/esm/pagination.js +31 -31
- package/esm/pie-chart.js +573 -573
- package/esm/pivot-grid-field-chooser.js +91 -91
- package/esm/pivot-grid.js +193 -193
- package/esm/polar-chart.js +1099 -1099
- package/esm/popover.js +245 -245
- package/esm/popup.js +221 -221
- package/esm/progress-bar.js +30 -30
- package/esm/radio-group.js +60 -60
- package/esm/range-selector.js +871 -871
- package/esm/range-slider.js +75 -75
- package/esm/resizable.js +31 -31
- package/esm/responsive-box.js +101 -101
- package/esm/sankey.js +304 -304
- package/esm/scheduler.js +713 -713
- package/esm/scroll-view.js +24 -24
- package/esm/select-box.js +328 -328
- package/esm/slider.js +75 -75
- package/esm/sortable.js +48 -48
- package/esm/sparkline.js +119 -119
- package/esm/speech-to-text.js +52 -52
- package/esm/speed-dial-action.js +24 -24
- package/esm/splitter.js +60 -60
- package/esm/stepper.js +62 -62
- package/esm/switch.js +30 -30
- package/esm/tab-panel.js +71 -71
- package/esm/tabs.js +64 -64
- package/esm/tag-box.js +333 -333
- package/esm/text-area.js +30 -30
- package/esm/text-box.js +66 -66
- package/esm/tile-view.js +60 -60
- package/esm/toast.js +192 -192
- package/esm/toolbar.js +69 -69
- package/esm/tooltip.js +218 -218
- package/esm/tree-list.js +1569 -1569
- package/esm/tree-map.js +332 -332
- package/esm/tree-view.js +112 -112
- package/esm/validation-group.js +24 -24
- package/esm/validation-summary.js +60 -60
- package/esm/validator.js +203 -203
- package/esm/vector-map.js +432 -432
- package/package.json +11 -5
package/cjs/form.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 26.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 26.1.3
|
|
4
|
+
* Build date: Wed Jun 10 2026
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,1021 +11,1021 @@
|
|
|
11
11
|
* https://github.com/DevExpress/DevExtreme
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
import * as React from "react";
|
|
15
|
-
import { Ref, ReactElement } from "react";
|
|
16
|
-
import dxForm, { Properties } from "devextreme/ui/form";
|
|
17
|
-
import { IHtmlOptions, NestedComponentMeta } from "./core/component";
|
|
18
|
-
import type { ContentReadyEvent, DisposingEvent, EditorEnterKeyEvent, InitializedEvent, SmartPastedEvent, SmartPastingEvent, FormItemType, FormPredefinedButtonItem, dxFormButtonItem, dxFormEmptyItem, dxFormGroupItem, dxFormSimpleItem, dxFormTabbedItem, FormItemComponent, LabelLocation } from "devextreme/ui/form";
|
|
19
|
-
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
|
|
20
|
-
import type { ContentReadyEvent as TabPanelContentReadyEvent, DisposingEvent as TabPanelDisposingEvent, InitializedEvent as TabPanelInitializedEvent, OptionChangedEvent as TabPanelOptionChangedEvent, dxTabPanelOptions, dxTabPanelItem, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, SelectionChangedEvent, SelectionChangingEvent, TitleClickEvent, TitleHoldEvent, TitleRenderedEvent } from "devextreme/ui/tab_panel";
|
|
21
|
-
import type { ValidationRuleType, HorizontalAlignment, VerticalAlignment, ButtonStyle, template, ButtonType, ComparisonOperator, TabsIconPosition, TabsStyle, Position } from "devextreme/common";
|
|
22
|
-
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
23
|
-
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
24
|
-
import type { Store } from "devextreme/data/store";
|
|
25
|
-
import type DataSource from "devextreme/data/data_source";
|
|
26
|
-
import type * as CommonTypes from "devextreme/common";
|
|
27
|
-
type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
28
|
-
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
29
|
-
};
|
|
30
|
-
type IFormOptionsNarrowedEvents = {
|
|
31
|
-
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
32
|
-
onDisposing?: ((e: DisposingEvent) => void);
|
|
33
|
-
onEditorEnterKey?: ((e: EditorEnterKeyEvent) => void);
|
|
34
|
-
onInitialized?: ((e: InitializedEvent) => void);
|
|
35
|
-
onSmartPasted?: ((e: SmartPastedEvent) => void);
|
|
36
|
-
onSmartPasting?: ((e: SmartPastingEvent) => void);
|
|
37
|
-
};
|
|
38
|
-
type IFormOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFormOptionsNarrowedEvents> & IHtmlOptions & {
|
|
39
|
-
defaultFormData?: any;
|
|
40
|
-
onFormDataChange?: (value: any) => void;
|
|
41
|
-
}>;
|
|
42
|
-
interface FormRef {
|
|
43
|
-
instance: () => dxForm;
|
|
44
|
-
}
|
|
45
|
-
declare const Form: (props: React.PropsWithChildren<IFormOptions> & {
|
|
46
|
-
ref?: Ref<FormRef>;
|
|
47
|
-
}) => ReactElement | null;
|
|
48
|
-
type IAIOptionsProps = React.PropsWithChildren<{
|
|
49
|
-
disabled?: boolean;
|
|
50
|
-
instruction?: string | undefined;
|
|
51
|
-
}>;
|
|
52
|
-
declare const AIOptions: ((props: IAIOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
53
|
-
disabled?: boolean | undefined;
|
|
54
|
-
instruction?: string | undefined;
|
|
55
|
-
} & {
|
|
56
|
-
children?: React.ReactNode;
|
|
57
|
-
} & {
|
|
58
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
59
|
-
}>>) & NestedComponentMeta;
|
|
60
|
-
type IAsyncRuleProps = React.PropsWithChildren<{
|
|
61
|
-
ignoreEmptyValue?: boolean;
|
|
62
|
-
message?: string;
|
|
63
|
-
reevaluate?: boolean;
|
|
64
|
-
type?: ValidationRuleType;
|
|
65
|
-
validationCallback?: ((options: {
|
|
66
|
-
column: Record<string, any>;
|
|
67
|
-
data: Record<string, any>;
|
|
68
|
-
formItem: Record<string, any>;
|
|
69
|
-
rule: Record<string, any>;
|
|
70
|
-
validator: Record<string, any>;
|
|
71
|
-
value: any;
|
|
72
|
-
}) => any);
|
|
73
|
-
}>;
|
|
74
|
-
declare const AsyncRule: ((props: IAsyncRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
75
|
-
ignoreEmptyValue?: boolean | undefined;
|
|
76
|
-
message?: string | undefined;
|
|
77
|
-
reevaluate?: boolean | undefined;
|
|
78
|
-
type?: ValidationRuleType | undefined;
|
|
79
|
-
validationCallback?: ((options: {
|
|
80
|
-
column: Record<string, any>;
|
|
81
|
-
data: Record<string, any>;
|
|
82
|
-
formItem: Record<string, any>;
|
|
83
|
-
rule: Record<string, any>;
|
|
84
|
-
validator: Record<string, any>;
|
|
85
|
-
value: any;
|
|
86
|
-
}) => any) | undefined;
|
|
87
|
-
} & {
|
|
88
|
-
children?: React.ReactNode;
|
|
89
|
-
} & {
|
|
90
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
91
|
-
}>>) & NestedComponentMeta;
|
|
92
|
-
type IButtonItemProps = React.PropsWithChildren<{
|
|
93
|
-
buttonOptions?: dxButtonOptions | undefined;
|
|
94
|
-
colSpan?: number | undefined;
|
|
95
|
-
cssClass?: string | undefined;
|
|
96
|
-
horizontalAlignment?: HorizontalAlignment;
|
|
97
|
-
itemType?: FormItemType;
|
|
98
|
-
name?: FormPredefinedButtonItem | string | undefined;
|
|
99
|
-
verticalAlignment?: VerticalAlignment;
|
|
100
|
-
visible?: boolean;
|
|
101
|
-
visibleIndex?: number | undefined;
|
|
102
|
-
}>;
|
|
103
|
-
declare const ButtonItem: ((props: IButtonItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
104
|
-
buttonOptions?: dxButtonOptions | undefined;
|
|
105
|
-
colSpan?: number | undefined;
|
|
106
|
-
cssClass?: string | undefined;
|
|
107
|
-
horizontalAlignment?: HorizontalAlignment | undefined;
|
|
108
|
-
itemType?: FormItemType | undefined;
|
|
109
|
-
name?: FormPredefinedButtonItem | string | undefined;
|
|
110
|
-
verticalAlignment?: VerticalAlignment | undefined;
|
|
111
|
-
visible?: boolean | undefined;
|
|
112
|
-
visibleIndex?: number | undefined;
|
|
113
|
-
} & {
|
|
114
|
-
children?: React.ReactNode;
|
|
115
|
-
} & {
|
|
116
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
117
|
-
}>>) & NestedComponentMeta;
|
|
118
|
-
type IButtonOptionsProps = React.PropsWithChildren<{
|
|
119
|
-
accessKey?: string | undefined;
|
|
120
|
-
activeStateEnabled?: boolean;
|
|
121
|
-
disabled?: boolean;
|
|
122
|
-
elementAttr?: Record<string, any>;
|
|
123
|
-
focusStateEnabled?: boolean;
|
|
124
|
-
height?: number | string | undefined;
|
|
125
|
-
hint?: string | undefined;
|
|
126
|
-
hoverStateEnabled?: boolean;
|
|
127
|
-
icon?: string;
|
|
128
|
-
onClick?: ((e: ClickEvent) => void);
|
|
129
|
-
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
130
|
-
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
131
|
-
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
132
|
-
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
133
|
-
rtlEnabled?: boolean;
|
|
134
|
-
stylingMode?: ButtonStyle;
|
|
135
|
-
tabIndex?: number;
|
|
136
|
-
template?: ((buttonData: {
|
|
137
|
-
icon: string;
|
|
138
|
-
text: string;
|
|
139
|
-
}, contentElement: any) => string | any) | template;
|
|
140
|
-
text?: string;
|
|
141
|
-
type?: ButtonType | string;
|
|
142
|
-
useSubmitBehavior?: boolean;
|
|
143
|
-
validationGroup?: string | undefined;
|
|
144
|
-
visible?: boolean;
|
|
145
|
-
width?: number | string | undefined;
|
|
146
|
-
render?: (...params: any) => React.ReactNode;
|
|
147
|
-
component?: React.ComponentType<any>;
|
|
148
|
-
}>;
|
|
149
|
-
declare const ButtonOptions: ((props: IButtonOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
150
|
-
accessKey?: string | undefined;
|
|
151
|
-
activeStateEnabled?: boolean | undefined;
|
|
152
|
-
disabled?: boolean | undefined;
|
|
153
|
-
elementAttr?: Record<string, any> | undefined;
|
|
154
|
-
focusStateEnabled?: boolean | undefined;
|
|
155
|
-
height?: number | string | undefined;
|
|
156
|
-
hint?: string | undefined;
|
|
157
|
-
hoverStateEnabled?: boolean | undefined;
|
|
158
|
-
icon?: string | undefined;
|
|
159
|
-
onClick?: ((e: ClickEvent) => void) | undefined;
|
|
160
|
-
onContentReady?: ((e: ButtonContentReadyEvent) => void) | undefined;
|
|
161
|
-
onDisposing?: ((e: ButtonDisposingEvent) => void) | undefined;
|
|
162
|
-
onInitialized?: ((e: ButtonInitializedEvent) => void) | undefined;
|
|
163
|
-
onOptionChanged?: ((e: OptionChangedEvent) => void) | undefined;
|
|
164
|
-
rtlEnabled?: boolean | undefined;
|
|
165
|
-
stylingMode?: ButtonStyle | undefined;
|
|
166
|
-
tabIndex?: number | undefined;
|
|
167
|
-
template?: template | ((buttonData: {
|
|
168
|
-
icon: string;
|
|
169
|
-
text: string;
|
|
170
|
-
}, contentElement: any) => string | any) | undefined;
|
|
171
|
-
text?: string | undefined;
|
|
172
|
-
type?: string | undefined;
|
|
173
|
-
useSubmitBehavior?: boolean | undefined;
|
|
174
|
-
validationGroup?: string | undefined;
|
|
175
|
-
visible?: boolean | undefined;
|
|
176
|
-
width?: number | string | undefined;
|
|
177
|
-
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
178
|
-
component?: React.ComponentType<any> | undefined;
|
|
179
|
-
} & {
|
|
180
|
-
children?: React.ReactNode;
|
|
181
|
-
} & {
|
|
182
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
183
|
-
}>>) & NestedComponentMeta;
|
|
184
|
-
type IColCountByScreenProps = React.PropsWithChildren<{
|
|
185
|
-
lg?: number | undefined;
|
|
186
|
-
md?: number | undefined;
|
|
187
|
-
sm?: number | undefined;
|
|
188
|
-
xs?: number | undefined;
|
|
189
|
-
}>;
|
|
190
|
-
declare const ColCountByScreen: ((props: IColCountByScreenProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
191
|
-
lg?: number | undefined;
|
|
192
|
-
md?: number | undefined;
|
|
193
|
-
sm?: number | undefined;
|
|
194
|
-
xs?: number | undefined;
|
|
195
|
-
} & {
|
|
196
|
-
children?: React.ReactNode;
|
|
197
|
-
} & {
|
|
198
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
199
|
-
}>>) & NestedComponentMeta;
|
|
200
|
-
type ICompareRuleProps = React.PropsWithChildren<{
|
|
201
|
-
comparisonTarget?: (() => any);
|
|
202
|
-
comparisonType?: ComparisonOperator;
|
|
203
|
-
ignoreEmptyValue?: boolean;
|
|
204
|
-
message?: string;
|
|
205
|
-
type?: ValidationRuleType;
|
|
206
|
-
}>;
|
|
207
|
-
declare const CompareRule: ((props: ICompareRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
208
|
-
comparisonTarget?: (() => any) | undefined;
|
|
209
|
-
comparisonType?: ComparisonOperator | undefined;
|
|
210
|
-
ignoreEmptyValue?: boolean | undefined;
|
|
211
|
-
message?: string | undefined;
|
|
212
|
-
type?: ValidationRuleType | undefined;
|
|
213
|
-
} & {
|
|
214
|
-
children?: React.ReactNode;
|
|
215
|
-
} & {
|
|
216
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
217
|
-
}>>) & NestedComponentMeta;
|
|
218
|
-
type ICustomRuleProps = React.PropsWithChildren<{
|
|
219
|
-
ignoreEmptyValue?: boolean;
|
|
220
|
-
message?: string;
|
|
221
|
-
reevaluate?: boolean;
|
|
222
|
-
type?: ValidationRuleType;
|
|
223
|
-
validationCallback?: ((options: {
|
|
224
|
-
column: Record<string, any>;
|
|
225
|
-
data: Record<string, any>;
|
|
226
|
-
formItem: Record<string, any>;
|
|
227
|
-
rule: Record<string, any>;
|
|
228
|
-
validator: Record<string, any>;
|
|
229
|
-
value: any;
|
|
230
|
-
}) => boolean);
|
|
231
|
-
}>;
|
|
232
|
-
declare const CustomRule: ((props: ICustomRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
233
|
-
ignoreEmptyValue?: boolean | undefined;
|
|
234
|
-
message?: string | undefined;
|
|
235
|
-
reevaluate?: boolean | undefined;
|
|
236
|
-
type?: ValidationRuleType | undefined;
|
|
237
|
-
validationCallback?: ((options: {
|
|
238
|
-
column: Record<string, any>;
|
|
239
|
-
data: Record<string, any>;
|
|
240
|
-
formItem: Record<string, any>;
|
|
241
|
-
rule: Record<string, any>;
|
|
242
|
-
validator: Record<string, any>;
|
|
243
|
-
value: any;
|
|
244
|
-
}) => boolean) | undefined;
|
|
245
|
-
} & {
|
|
246
|
-
children?: React.ReactNode;
|
|
247
|
-
} & {
|
|
248
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
249
|
-
}>>) & NestedComponentMeta;
|
|
250
|
-
type IEmailRuleProps = React.PropsWithChildren<{
|
|
251
|
-
ignoreEmptyValue?: boolean;
|
|
252
|
-
message?: string;
|
|
253
|
-
type?: ValidationRuleType;
|
|
254
|
-
}>;
|
|
255
|
-
declare const EmailRule: ((props: IEmailRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
256
|
-
ignoreEmptyValue?: boolean | undefined;
|
|
257
|
-
message?: string | undefined;
|
|
258
|
-
type?: ValidationRuleType | undefined;
|
|
259
|
-
} & {
|
|
260
|
-
children?: React.ReactNode;
|
|
261
|
-
} & {
|
|
262
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
263
|
-
}>>) & NestedComponentMeta;
|
|
264
|
-
type IEmptyItemProps = React.PropsWithChildren<{
|
|
265
|
-
colSpan?: number | undefined;
|
|
266
|
-
cssClass?: string | undefined;
|
|
267
|
-
itemType?: FormItemType;
|
|
268
|
-
name?: string | undefined;
|
|
269
|
-
visible?: boolean;
|
|
270
|
-
visibleIndex?: number | undefined;
|
|
271
|
-
}>;
|
|
272
|
-
declare const EmptyItem: ((props: IEmptyItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
273
|
-
colSpan?: number | undefined;
|
|
274
|
-
cssClass?: string | undefined;
|
|
275
|
-
itemType?: FormItemType | undefined;
|
|
276
|
-
name?: string | undefined;
|
|
277
|
-
visible?: boolean | undefined;
|
|
278
|
-
visibleIndex?: number | undefined;
|
|
279
|
-
} & {
|
|
280
|
-
children?: React.ReactNode;
|
|
281
|
-
} & {
|
|
282
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
283
|
-
}>>) & NestedComponentMeta;
|
|
284
|
-
type IGroupItemProps = React.PropsWithChildren<{
|
|
285
|
-
alignItemLabels?: boolean;
|
|
286
|
-
caption?: string | undefined;
|
|
287
|
-
captionTemplate?: ((data: {
|
|
288
|
-
caption: string;
|
|
289
|
-
component: dxForm;
|
|
290
|
-
name: string;
|
|
291
|
-
}, itemElement: any) => string | any) | template;
|
|
292
|
-
colCount?: number;
|
|
293
|
-
colCountByScreen?: Record<string, any> | {
|
|
294
|
-
lg?: number | undefined;
|
|
295
|
-
md?: number | undefined;
|
|
296
|
-
sm?: number | undefined;
|
|
297
|
-
xs?: number | undefined;
|
|
298
|
-
};
|
|
299
|
-
colSpan?: number | undefined;
|
|
300
|
-
cssClass?: string | undefined;
|
|
301
|
-
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
302
|
-
itemType?: FormItemType;
|
|
303
|
-
name?: string | undefined;
|
|
304
|
-
template?: ((data: {
|
|
305
|
-
component: dxForm;
|
|
306
|
-
formData: Record<string, any>;
|
|
307
|
-
}, itemElement: any) => string | any) | template;
|
|
308
|
-
visible?: boolean;
|
|
309
|
-
visibleIndex?: number | undefined;
|
|
310
|
-
captionRender?: (...params: any) => React.ReactNode;
|
|
311
|
-
captionComponent?: React.ComponentType<any>;
|
|
312
|
-
render?: (...params: any) => React.ReactNode;
|
|
313
|
-
component?: React.ComponentType<any>;
|
|
314
|
-
}>;
|
|
315
|
-
declare const GroupItem: ((props: IGroupItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
316
|
-
alignItemLabels?: boolean | undefined;
|
|
317
|
-
caption?: string | undefined;
|
|
318
|
-
captionTemplate?: template | ((data: {
|
|
319
|
-
caption: string;
|
|
320
|
-
component: dxForm;
|
|
321
|
-
name: string;
|
|
322
|
-
}, itemElement: any) => string | any) | undefined;
|
|
323
|
-
colCount?: number | undefined;
|
|
324
|
-
colCountByScreen?: Record<string, any> | {
|
|
325
|
-
lg?: number | undefined;
|
|
326
|
-
md?: number | undefined;
|
|
327
|
-
sm?: number | undefined;
|
|
328
|
-
xs?: number | undefined;
|
|
329
|
-
} | undefined;
|
|
330
|
-
colSpan?: number | undefined;
|
|
331
|
-
cssClass?: string | undefined;
|
|
332
|
-
items?: (dxFormSimpleItem | dxFormGroupItem | dxFormTabbedItem | dxFormEmptyItem | dxFormButtonItem)[] | undefined;
|
|
333
|
-
itemType?: FormItemType | undefined;
|
|
334
|
-
name?: string | undefined;
|
|
335
|
-
template?: template | ((data: {
|
|
336
|
-
component: dxForm;
|
|
337
|
-
formData: Record<string, any>;
|
|
338
|
-
}, itemElement: any) => string | any) | undefined;
|
|
339
|
-
visible?: boolean | undefined;
|
|
340
|
-
visibleIndex?: number | undefined;
|
|
341
|
-
captionRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
342
|
-
captionComponent?: React.ComponentType<any> | undefined;
|
|
343
|
-
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
344
|
-
component?: React.ComponentType<any> | undefined;
|
|
345
|
-
} & {
|
|
346
|
-
children?: React.ReactNode;
|
|
347
|
-
} & {
|
|
348
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
349
|
-
}>>) & NestedComponentMeta;
|
|
350
|
-
type IItemProps = React.PropsWithChildren<{
|
|
351
|
-
badge?: string;
|
|
352
|
-
disabled?: boolean;
|
|
353
|
-
html?: string;
|
|
354
|
-
icon?: string;
|
|
355
|
-
tabTemplate?: (() => string | any) | template;
|
|
356
|
-
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
|
|
357
|
-
text?: string;
|
|
358
|
-
title?: string;
|
|
359
|
-
visible?: boolean;
|
|
360
|
-
aiOptions?: Record<string, any> | {
|
|
361
|
-
disabled?: boolean;
|
|
362
|
-
instruction?: string | undefined;
|
|
363
|
-
};
|
|
364
|
-
colSpan?: number | undefined;
|
|
365
|
-
cssClass?: string | undefined;
|
|
366
|
-
dataField?: string | undefined;
|
|
367
|
-
editorOptions?: any | undefined;
|
|
368
|
-
editorType?: FormItemComponent;
|
|
369
|
-
helpText?: string | undefined;
|
|
370
|
-
isRequired?: boolean | undefined;
|
|
371
|
-
itemType?: FormItemType;
|
|
372
|
-
label?: Record<string, any> | {
|
|
373
|
-
alignment?: HorizontalAlignment;
|
|
374
|
-
location?: LabelLocation;
|
|
375
|
-
showColon?: boolean;
|
|
376
|
-
template?: ((itemData: {
|
|
377
|
-
component: dxForm;
|
|
378
|
-
dataField: string;
|
|
379
|
-
editorOptions: any;
|
|
380
|
-
editorType: string;
|
|
381
|
-
name: string;
|
|
382
|
-
text: string;
|
|
383
|
-
}, itemElement: any) => string | any) | template;
|
|
384
|
-
text?: string | undefined;
|
|
385
|
-
visible?: boolean;
|
|
386
|
-
};
|
|
387
|
-
name?: string | undefined | FormPredefinedButtonItem;
|
|
388
|
-
validationRules?: Array<CommonTypes.ValidationRule>;
|
|
389
|
-
visibleIndex?: number | undefined;
|
|
390
|
-
alignItemLabels?: boolean;
|
|
391
|
-
caption?: string | undefined;
|
|
392
|
-
captionTemplate?: ((data: {
|
|
393
|
-
caption: string;
|
|
394
|
-
component: dxForm;
|
|
395
|
-
name: string;
|
|
396
|
-
}, itemElement: any) => string | any) | template;
|
|
397
|
-
colCount?: number;
|
|
398
|
-
colCountByScreen?: Record<string, any> | {
|
|
399
|
-
lg?: number | undefined;
|
|
400
|
-
md?: number | undefined;
|
|
401
|
-
sm?: number | undefined;
|
|
402
|
-
xs?: number | undefined;
|
|
403
|
-
};
|
|
404
|
-
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
405
|
-
tabPanelOptions?: dxTabPanelOptions | undefined;
|
|
406
|
-
tabs?: Array<Record<string, any>> | {
|
|
407
|
-
alignItemLabels?: boolean;
|
|
408
|
-
badge?: string | undefined;
|
|
409
|
-
colCount?: number;
|
|
410
|
-
colCountByScreen?: Record<string, any> | {
|
|
411
|
-
lg?: number | undefined;
|
|
412
|
-
md?: number | undefined;
|
|
413
|
-
sm?: number | undefined;
|
|
414
|
-
xs?: number | undefined;
|
|
415
|
-
};
|
|
416
|
-
disabled?: boolean;
|
|
417
|
-
icon?: string | undefined;
|
|
418
|
-
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
419
|
-
tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
420
|
-
template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
421
|
-
title?: string | undefined;
|
|
422
|
-
}[];
|
|
423
|
-
buttonOptions?: dxButtonOptions | undefined;
|
|
424
|
-
horizontalAlignment?: HorizontalAlignment;
|
|
425
|
-
verticalAlignment?: VerticalAlignment;
|
|
426
|
-
tabRender?: (...params: any) => React.ReactNode;
|
|
427
|
-
tabComponent?: React.ComponentType<any>;
|
|
428
|
-
render?: (...params: any) => React.ReactNode;
|
|
429
|
-
component?: React.ComponentType<any>;
|
|
430
|
-
captionRender?: (...params: any) => React.ReactNode;
|
|
431
|
-
captionComponent?: React.ComponentType<any>;
|
|
432
|
-
}>;
|
|
433
|
-
declare const Item: ((props: IItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
434
|
-
badge?: string | undefined;
|
|
435
|
-
disabled?: boolean | undefined;
|
|
436
|
-
html?: string | undefined;
|
|
437
|
-
icon?: string | undefined;
|
|
438
|
-
tabTemplate?: template | (() => string | any) | undefined;
|
|
439
|
-
template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
|
|
440
|
-
text?: string | undefined;
|
|
441
|
-
title?: string | undefined;
|
|
442
|
-
visible?: boolean | undefined;
|
|
443
|
-
aiOptions?: Record<string, any> | {
|
|
444
|
-
disabled?: boolean | undefined;
|
|
445
|
-
instruction?: string | undefined;
|
|
446
|
-
} | undefined;
|
|
447
|
-
colSpan?: number | undefined;
|
|
448
|
-
cssClass?: string | undefined;
|
|
449
|
-
dataField?: string | undefined;
|
|
450
|
-
editorOptions?: any | undefined;
|
|
451
|
-
editorType?: FormItemComponent | undefined;
|
|
452
|
-
helpText?: string | undefined;
|
|
453
|
-
isRequired?: boolean | undefined;
|
|
454
|
-
itemType?: FormItemType | undefined;
|
|
455
|
-
label?: Record<string, any> | {
|
|
456
|
-
alignment?: HorizontalAlignment | undefined;
|
|
457
|
-
location?: LabelLocation | undefined;
|
|
458
|
-
showColon?: boolean | undefined;
|
|
459
|
-
template?: template | ((itemData: {
|
|
460
|
-
component: dxForm;
|
|
461
|
-
dataField: string;
|
|
462
|
-
editorOptions: any;
|
|
463
|
-
editorType: string;
|
|
464
|
-
name: string;
|
|
465
|
-
text: string;
|
|
466
|
-
}, itemElement: any) => string | any) | undefined;
|
|
467
|
-
text?: string | undefined;
|
|
468
|
-
visible?: boolean | undefined;
|
|
469
|
-
} | undefined;
|
|
470
|
-
name?: string | undefined | FormPredefinedButtonItem;
|
|
471
|
-
validationRules?: CommonTypes.ValidationRule[] | undefined;
|
|
472
|
-
visibleIndex?: number | undefined;
|
|
473
|
-
alignItemLabels?: boolean | undefined;
|
|
474
|
-
caption?: string | undefined;
|
|
475
|
-
captionTemplate?: template | ((data: {
|
|
476
|
-
caption: string;
|
|
477
|
-
component: dxForm;
|
|
478
|
-
name: string;
|
|
479
|
-
}, itemElement: any) => string | any) | undefined;
|
|
480
|
-
colCount?: number | undefined;
|
|
481
|
-
colCountByScreen?: Record<string, any> | {
|
|
482
|
-
lg?: number | undefined;
|
|
483
|
-
md?: number | undefined;
|
|
484
|
-
sm?: number | undefined;
|
|
485
|
-
xs?: number | undefined;
|
|
486
|
-
} | undefined;
|
|
487
|
-
items?: (dxFormSimpleItem | dxFormGroupItem | dxFormTabbedItem | dxFormEmptyItem | dxFormButtonItem)[] | undefined;
|
|
488
|
-
tabPanelOptions?: dxTabPanelOptions | undefined;
|
|
489
|
-
tabs?: Record<string, any>[] | {
|
|
490
|
-
alignItemLabels?: boolean | undefined;
|
|
491
|
-
badge?: string | undefined;
|
|
492
|
-
colCount?: number | undefined;
|
|
493
|
-
colCountByScreen?: Record<string, any> | {
|
|
494
|
-
lg?: number | undefined;
|
|
495
|
-
md?: number | undefined;
|
|
496
|
-
sm?: number | undefined;
|
|
497
|
-
xs?: number | undefined;
|
|
498
|
-
} | undefined;
|
|
499
|
-
disabled?: boolean | undefined;
|
|
500
|
-
icon?: string | undefined;
|
|
501
|
-
items?: (dxFormSimpleItem | dxFormGroupItem | dxFormTabbedItem | dxFormEmptyItem | dxFormButtonItem)[] | undefined;
|
|
502
|
-
tabTemplate?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
503
|
-
template?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
504
|
-
title?: string | undefined;
|
|
505
|
-
}[] | undefined;
|
|
506
|
-
buttonOptions?: dxButtonOptions | undefined;
|
|
507
|
-
horizontalAlignment?: HorizontalAlignment | undefined;
|
|
508
|
-
verticalAlignment?: VerticalAlignment | undefined;
|
|
509
|
-
tabRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
510
|
-
tabComponent?: React.ComponentType<any> | undefined;
|
|
511
|
-
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
512
|
-
component?: React.ComponentType<any> | undefined;
|
|
513
|
-
captionRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
514
|
-
captionComponent?: React.ComponentType<any> | undefined;
|
|
515
|
-
} & {
|
|
516
|
-
children?: React.ReactNode;
|
|
517
|
-
} & {
|
|
518
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
519
|
-
}>>) & NestedComponentMeta;
|
|
520
|
-
type ILabelProps = React.PropsWithChildren<{
|
|
521
|
-
alignment?: HorizontalAlignment;
|
|
522
|
-
location?: LabelLocation;
|
|
523
|
-
showColon?: boolean;
|
|
524
|
-
template?: ((itemData: {
|
|
525
|
-
component: dxForm;
|
|
526
|
-
dataField: string;
|
|
527
|
-
editorOptions: any;
|
|
528
|
-
editorType: string;
|
|
529
|
-
name: string;
|
|
530
|
-
text: string;
|
|
531
|
-
}, itemElement: any) => string | any) | template;
|
|
532
|
-
text?: string | undefined;
|
|
533
|
-
visible?: boolean;
|
|
534
|
-
render?: (...params: any) => React.ReactNode;
|
|
535
|
-
component?: React.ComponentType<any>;
|
|
536
|
-
}>;
|
|
537
|
-
declare const Label: ((props: ILabelProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
538
|
-
alignment?: HorizontalAlignment | undefined;
|
|
539
|
-
location?: LabelLocation | undefined;
|
|
540
|
-
showColon?: boolean | undefined;
|
|
541
|
-
template?: template | ((itemData: {
|
|
542
|
-
component: dxForm;
|
|
543
|
-
dataField: string;
|
|
544
|
-
editorOptions: any;
|
|
545
|
-
editorType: string;
|
|
546
|
-
name: string;
|
|
547
|
-
text: string;
|
|
548
|
-
}, itemElement: any) => string | any) | undefined;
|
|
549
|
-
text?: string | undefined;
|
|
550
|
-
visible?: boolean | undefined;
|
|
551
|
-
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
552
|
-
component?: React.ComponentType<any> | undefined;
|
|
553
|
-
} & {
|
|
554
|
-
children?: React.ReactNode;
|
|
555
|
-
} & {
|
|
556
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
557
|
-
}>>) & NestedComponentMeta;
|
|
558
|
-
type INumericRuleProps = React.PropsWithChildren<{
|
|
559
|
-
ignoreEmptyValue?: boolean;
|
|
560
|
-
message?: string;
|
|
561
|
-
type?: ValidationRuleType;
|
|
562
|
-
}>;
|
|
563
|
-
declare const NumericRule: ((props: INumericRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
564
|
-
ignoreEmptyValue?: boolean | undefined;
|
|
565
|
-
message?: string | undefined;
|
|
566
|
-
type?: ValidationRuleType | undefined;
|
|
567
|
-
} & {
|
|
568
|
-
children?: React.ReactNode;
|
|
569
|
-
} & {
|
|
570
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
571
|
-
}>>) & NestedComponentMeta;
|
|
572
|
-
type IPatternRuleProps = React.PropsWithChildren<{
|
|
573
|
-
ignoreEmptyValue?: boolean;
|
|
574
|
-
message?: string;
|
|
575
|
-
pattern?: RegExp | string;
|
|
576
|
-
type?: ValidationRuleType;
|
|
577
|
-
}>;
|
|
578
|
-
declare const PatternRule: ((props: IPatternRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
579
|
-
ignoreEmptyValue?: boolean | undefined;
|
|
580
|
-
message?: string | undefined;
|
|
581
|
-
pattern?: string | RegExp | undefined;
|
|
582
|
-
type?: ValidationRuleType | undefined;
|
|
583
|
-
} & {
|
|
584
|
-
children?: React.ReactNode;
|
|
585
|
-
} & {
|
|
586
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
587
|
-
}>>) & NestedComponentMeta;
|
|
588
|
-
type IRangeRuleProps = React.PropsWithChildren<{
|
|
589
|
-
ignoreEmptyValue?: boolean;
|
|
590
|
-
max?: Date | number | string;
|
|
591
|
-
message?: string;
|
|
592
|
-
min?: Date | number | string;
|
|
593
|
-
reevaluate?: boolean;
|
|
594
|
-
type?: ValidationRuleType;
|
|
595
|
-
}>;
|
|
596
|
-
declare const RangeRule: ((props: IRangeRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
597
|
-
ignoreEmptyValue?: boolean | undefined;
|
|
598
|
-
max?: string | number | Date | undefined;
|
|
599
|
-
message?: string | undefined;
|
|
600
|
-
min?: string | number | Date | undefined;
|
|
601
|
-
reevaluate?: boolean | undefined;
|
|
602
|
-
type?: ValidationRuleType | undefined;
|
|
603
|
-
} & {
|
|
604
|
-
children?: React.ReactNode;
|
|
605
|
-
} & {
|
|
606
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
607
|
-
}>>) & NestedComponentMeta;
|
|
608
|
-
type IRequiredRuleProps = React.PropsWithChildren<{
|
|
609
|
-
message?: string;
|
|
610
|
-
trim?: boolean;
|
|
611
|
-
type?: ValidationRuleType;
|
|
612
|
-
}>;
|
|
613
|
-
declare const RequiredRule: ((props: IRequiredRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
614
|
-
message?: string | undefined;
|
|
615
|
-
trim?: boolean | undefined;
|
|
616
|
-
type?: ValidationRuleType | undefined;
|
|
617
|
-
} & {
|
|
618
|
-
children?: React.ReactNode;
|
|
619
|
-
} & {
|
|
620
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
621
|
-
}>>) & NestedComponentMeta;
|
|
622
|
-
type ISimpleItemProps = React.PropsWithChildren<{
|
|
623
|
-
aiOptions?: Record<string, any> | {
|
|
624
|
-
disabled?: boolean;
|
|
625
|
-
instruction?: string | undefined;
|
|
626
|
-
};
|
|
627
|
-
colSpan?: number | undefined;
|
|
628
|
-
cssClass?: string | undefined;
|
|
629
|
-
dataField?: string | undefined;
|
|
630
|
-
editorOptions?: any | undefined;
|
|
631
|
-
editorType?: FormItemComponent;
|
|
632
|
-
helpText?: string | undefined;
|
|
633
|
-
isRequired?: boolean | undefined;
|
|
634
|
-
itemType?: FormItemType;
|
|
635
|
-
label?: Record<string, any> | {
|
|
636
|
-
alignment?: HorizontalAlignment;
|
|
637
|
-
location?: LabelLocation;
|
|
638
|
-
showColon?: boolean;
|
|
639
|
-
template?: ((itemData: {
|
|
640
|
-
component: dxForm;
|
|
641
|
-
dataField: string;
|
|
642
|
-
editorOptions: any;
|
|
643
|
-
editorType: string;
|
|
644
|
-
name: string;
|
|
645
|
-
text: string;
|
|
646
|
-
}, itemElement: any) => string | any) | template;
|
|
647
|
-
text?: string | undefined;
|
|
648
|
-
visible?: boolean;
|
|
649
|
-
};
|
|
650
|
-
name?: string | undefined;
|
|
651
|
-
template?: ((data: {
|
|
652
|
-
component: dxForm;
|
|
653
|
-
dataField: string;
|
|
654
|
-
editorOptions: Record<string, any>;
|
|
655
|
-
editorType: string;
|
|
656
|
-
name: string;
|
|
657
|
-
}, itemElement: any) => string | any) | template;
|
|
658
|
-
validationRules?: Array<CommonTypes.ValidationRule>;
|
|
659
|
-
visible?: boolean;
|
|
660
|
-
visibleIndex?: number | undefined;
|
|
661
|
-
render?: (...params: any) => React.ReactNode;
|
|
662
|
-
component?: React.ComponentType<any>;
|
|
663
|
-
}>;
|
|
664
|
-
declare const SimpleItem: ((props: ISimpleItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
665
|
-
aiOptions?: Record<string, any> | {
|
|
666
|
-
disabled?: boolean | undefined;
|
|
667
|
-
instruction?: string | undefined;
|
|
668
|
-
} | undefined;
|
|
669
|
-
colSpan?: number | undefined;
|
|
670
|
-
cssClass?: string | undefined;
|
|
671
|
-
dataField?: string | undefined;
|
|
672
|
-
editorOptions?: any | undefined;
|
|
673
|
-
editorType?: FormItemComponent | undefined;
|
|
674
|
-
helpText?: string | undefined;
|
|
675
|
-
isRequired?: boolean | undefined;
|
|
676
|
-
itemType?: FormItemType | undefined;
|
|
677
|
-
label?: Record<string, any> | {
|
|
678
|
-
alignment?: HorizontalAlignment | undefined;
|
|
679
|
-
location?: LabelLocation | undefined;
|
|
680
|
-
showColon?: boolean | undefined;
|
|
681
|
-
template?: template | ((itemData: {
|
|
682
|
-
component: dxForm;
|
|
683
|
-
dataField: string;
|
|
684
|
-
editorOptions: any;
|
|
685
|
-
editorType: string;
|
|
686
|
-
name: string;
|
|
687
|
-
text: string;
|
|
688
|
-
}, itemElement: any) => string | any) | undefined;
|
|
689
|
-
text?: string | undefined;
|
|
690
|
-
visible?: boolean | undefined;
|
|
691
|
-
} | undefined;
|
|
692
|
-
name?: string | undefined;
|
|
693
|
-
template?: template | ((data: {
|
|
694
|
-
component: dxForm;
|
|
695
|
-
dataField: string;
|
|
696
|
-
editorOptions: Record<string, any>;
|
|
697
|
-
editorType: string;
|
|
698
|
-
name: string;
|
|
699
|
-
}, itemElement: any) => string | any) | undefined;
|
|
700
|
-
validationRules?: CommonTypes.ValidationRule[] | undefined;
|
|
701
|
-
visible?: boolean | undefined;
|
|
702
|
-
visibleIndex?: number | undefined;
|
|
703
|
-
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
704
|
-
component?: React.ComponentType<any> | undefined;
|
|
705
|
-
} & {
|
|
706
|
-
children?: React.ReactNode;
|
|
707
|
-
} & {
|
|
708
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
709
|
-
}>>) & NestedComponentMeta;
|
|
710
|
-
type IStringLengthRuleProps = React.PropsWithChildren<{
|
|
711
|
-
ignoreEmptyValue?: boolean;
|
|
712
|
-
max?: number;
|
|
713
|
-
message?: string;
|
|
714
|
-
min?: number;
|
|
715
|
-
trim?: boolean;
|
|
716
|
-
type?: ValidationRuleType;
|
|
717
|
-
}>;
|
|
718
|
-
declare const StringLengthRule: ((props: IStringLengthRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
719
|
-
ignoreEmptyValue?: boolean | undefined;
|
|
720
|
-
max?: number | undefined;
|
|
721
|
-
message?: string | undefined;
|
|
722
|
-
min?: number | undefined;
|
|
723
|
-
trim?: boolean | undefined;
|
|
724
|
-
type?: ValidationRuleType | undefined;
|
|
725
|
-
} & {
|
|
726
|
-
children?: React.ReactNode;
|
|
727
|
-
} & {
|
|
728
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
729
|
-
}>>) & NestedComponentMeta;
|
|
730
|
-
type ITabProps = React.PropsWithChildren<{
|
|
731
|
-
alignItemLabels?: boolean;
|
|
732
|
-
badge?: string | undefined;
|
|
733
|
-
colCount?: number;
|
|
734
|
-
colCountByScreen?: Record<string, any> | {
|
|
735
|
-
lg?: number | undefined;
|
|
736
|
-
md?: number | undefined;
|
|
737
|
-
sm?: number | undefined;
|
|
738
|
-
xs?: number | undefined;
|
|
739
|
-
};
|
|
740
|
-
disabled?: boolean;
|
|
741
|
-
icon?: string | undefined;
|
|
742
|
-
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
743
|
-
tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
744
|
-
template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
745
|
-
title?: string | undefined;
|
|
746
|
-
tabRender?: (...params: any) => React.ReactNode;
|
|
747
|
-
tabComponent?: React.ComponentType<any>;
|
|
748
|
-
render?: (...params: any) => React.ReactNode;
|
|
749
|
-
component?: React.ComponentType<any>;
|
|
750
|
-
}>;
|
|
751
|
-
declare const Tab: ((props: ITabProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
752
|
-
alignItemLabels?: boolean | undefined;
|
|
753
|
-
badge?: string | undefined;
|
|
754
|
-
colCount?: number | undefined;
|
|
755
|
-
colCountByScreen?: Record<string, any> | {
|
|
756
|
-
lg?: number | undefined;
|
|
757
|
-
md?: number | undefined;
|
|
758
|
-
sm?: number | undefined;
|
|
759
|
-
xs?: number | undefined;
|
|
760
|
-
} | undefined;
|
|
761
|
-
disabled?: boolean | undefined;
|
|
762
|
-
icon?: string | undefined;
|
|
763
|
-
items?: (dxFormSimpleItem | dxFormGroupItem | dxFormTabbedItem | dxFormEmptyItem | dxFormButtonItem)[] | undefined;
|
|
764
|
-
tabTemplate?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
765
|
-
template?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
766
|
-
title?: string | undefined;
|
|
767
|
-
tabRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
768
|
-
tabComponent?: React.ComponentType<any> | undefined;
|
|
769
|
-
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
770
|
-
component?: React.ComponentType<any> | undefined;
|
|
771
|
-
} & {
|
|
772
|
-
children?: React.ReactNode;
|
|
773
|
-
} & {
|
|
774
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
775
|
-
}>>) & NestedComponentMeta;
|
|
776
|
-
type ITabbedItemProps = React.PropsWithChildren<{
|
|
777
|
-
colSpan?: number | undefined;
|
|
778
|
-
cssClass?: string | undefined;
|
|
779
|
-
itemType?: FormItemType;
|
|
780
|
-
name?: string | undefined;
|
|
781
|
-
tabPanelOptions?: dxTabPanelOptions | undefined;
|
|
782
|
-
tabs?: Array<Record<string, any>> | {
|
|
783
|
-
alignItemLabels?: boolean;
|
|
784
|
-
badge?: string | undefined;
|
|
785
|
-
colCount?: number;
|
|
786
|
-
colCountByScreen?: Record<string, any> | {
|
|
787
|
-
lg?: number | undefined;
|
|
788
|
-
md?: number | undefined;
|
|
789
|
-
sm?: number | undefined;
|
|
790
|
-
xs?: number | undefined;
|
|
791
|
-
};
|
|
792
|
-
disabled?: boolean;
|
|
793
|
-
icon?: string | undefined;
|
|
794
|
-
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
795
|
-
tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
796
|
-
template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
797
|
-
title?: string | undefined;
|
|
798
|
-
}[];
|
|
799
|
-
visible?: boolean;
|
|
800
|
-
visibleIndex?: number | undefined;
|
|
801
|
-
}>;
|
|
802
|
-
declare const TabbedItem: ((props: ITabbedItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
803
|
-
colSpan?: number | undefined;
|
|
804
|
-
cssClass?: string | undefined;
|
|
805
|
-
itemType?: FormItemType | undefined;
|
|
806
|
-
name?: string | undefined;
|
|
807
|
-
tabPanelOptions?: dxTabPanelOptions | undefined;
|
|
808
|
-
tabs?: Record<string, any>[] | {
|
|
809
|
-
alignItemLabels?: boolean | undefined;
|
|
810
|
-
badge?: string | undefined;
|
|
811
|
-
colCount?: number | undefined;
|
|
812
|
-
colCountByScreen?: Record<string, any> | {
|
|
813
|
-
lg?: number | undefined;
|
|
814
|
-
md?: number | undefined;
|
|
815
|
-
sm?: number | undefined;
|
|
816
|
-
xs?: number | undefined;
|
|
817
|
-
} | undefined;
|
|
818
|
-
disabled?: boolean | undefined;
|
|
819
|
-
icon?: string | undefined;
|
|
820
|
-
items?: (dxFormSimpleItem | dxFormGroupItem | dxFormTabbedItem | dxFormEmptyItem | dxFormButtonItem)[] | undefined;
|
|
821
|
-
tabTemplate?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
822
|
-
template?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
823
|
-
title?: string | undefined;
|
|
824
|
-
}[] | undefined;
|
|
825
|
-
visible?: boolean | undefined;
|
|
826
|
-
visibleIndex?: number | undefined;
|
|
827
|
-
} & {
|
|
828
|
-
children?: React.ReactNode;
|
|
829
|
-
} & {
|
|
830
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
831
|
-
}>>) & NestedComponentMeta;
|
|
832
|
-
type ITabPanelOptionsProps = React.PropsWithChildren<{
|
|
833
|
-
accessKey?: string | undefined;
|
|
834
|
-
activeStateEnabled?: boolean;
|
|
835
|
-
animationEnabled?: boolean;
|
|
836
|
-
dataSource?: Array<any | dxTabPanelItem | string> | DataSource | DataSourceOptions | null | Store | string;
|
|
837
|
-
deferRendering?: boolean;
|
|
838
|
-
disabled?: boolean;
|
|
839
|
-
elementAttr?: Record<string, any>;
|
|
840
|
-
focusStateEnabled?: boolean;
|
|
841
|
-
height?: number | string | undefined;
|
|
842
|
-
hint?: string | undefined;
|
|
843
|
-
hoverStateEnabled?: boolean;
|
|
844
|
-
iconPosition?: TabsIconPosition;
|
|
845
|
-
itemHoldTimeout?: number;
|
|
846
|
-
items?: Array<any | dxTabPanelItem | string>;
|
|
847
|
-
itemTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string | any) | template;
|
|
848
|
-
itemTitleTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string | any) | template;
|
|
849
|
-
keyExpr?: ((item: any) => any) | string;
|
|
850
|
-
loop?: boolean;
|
|
851
|
-
noDataText?: string;
|
|
852
|
-
onContentReady?: ((e: TabPanelContentReadyEvent) => void);
|
|
853
|
-
onDisposing?: ((e: TabPanelDisposingEvent) => void);
|
|
854
|
-
onInitialized?: ((e: TabPanelInitializedEvent) => void);
|
|
855
|
-
onItemClick?: ((e: ItemClickEvent) => void);
|
|
856
|
-
onItemContextMenu?: ((e: ItemContextMenuEvent) => void);
|
|
857
|
-
onItemHold?: ((e: ItemHoldEvent) => void);
|
|
858
|
-
onItemRendered?: ((e: ItemRenderedEvent) => void);
|
|
859
|
-
onOptionChanged?: ((e: TabPanelOptionChangedEvent) => void);
|
|
860
|
-
onSelectionChanged?: ((e: SelectionChangedEvent) => void);
|
|
861
|
-
onSelectionChanging?: ((e: SelectionChangingEvent) => void);
|
|
862
|
-
onTitleClick?: ((e: TitleClickEvent) => void);
|
|
863
|
-
onTitleHold?: ((e: TitleHoldEvent) => void);
|
|
864
|
-
onTitleRendered?: ((e: TitleRenderedEvent) => void);
|
|
865
|
-
repaintChangesOnly?: boolean;
|
|
866
|
-
rtlEnabled?: boolean;
|
|
867
|
-
scrollByContent?: boolean;
|
|
868
|
-
scrollingEnabled?: boolean;
|
|
869
|
-
selectedIndex?: number;
|
|
870
|
-
selectedItem?: any;
|
|
871
|
-
showNavButtons?: boolean;
|
|
872
|
-
stylingMode?: TabsStyle;
|
|
873
|
-
swipeEnabled?: boolean;
|
|
874
|
-
tabIndex?: number;
|
|
875
|
-
tabsPosition?: Position;
|
|
876
|
-
visible?: boolean;
|
|
877
|
-
width?: number | string | undefined;
|
|
878
|
-
defaultItems?: Array<any | dxTabPanelItem | string>;
|
|
879
|
-
onItemsChange?: (value: Array<any | dxTabPanelItem | string>) => void;
|
|
880
|
-
defaultSelectedIndex?: number;
|
|
881
|
-
onSelectedIndexChange?: (value: number) => void;
|
|
882
|
-
defaultSelectedItem?: any;
|
|
883
|
-
onSelectedItemChange?: (value: any) => void;
|
|
884
|
-
itemRender?: (...params: any) => React.ReactNode;
|
|
885
|
-
itemComponent?: React.ComponentType<any>;
|
|
886
|
-
itemTitleRender?: (...params: any) => React.ReactNode;
|
|
887
|
-
itemTitleComponent?: React.ComponentType<any>;
|
|
888
|
-
}>;
|
|
889
|
-
declare const TabPanelOptions: ((props: ITabPanelOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
890
|
-
accessKey?: string | undefined;
|
|
891
|
-
activeStateEnabled?: boolean | undefined;
|
|
892
|
-
animationEnabled?: boolean | undefined;
|
|
893
|
-
dataSource?: string | any[] | DataSource<any, any> | DataSourceOptions<any, any, any, any> | Store<any, any> | null | undefined;
|
|
894
|
-
deferRendering?: boolean | undefined;
|
|
895
|
-
disabled?: boolean | undefined;
|
|
896
|
-
elementAttr?: Record<string, any> | undefined;
|
|
897
|
-
focusStateEnabled?: boolean | undefined;
|
|
898
|
-
height?: number | string | undefined;
|
|
899
|
-
hint?: string | undefined;
|
|
900
|
-
hoverStateEnabled?: boolean | undefined;
|
|
901
|
-
iconPosition?: TabsIconPosition | undefined;
|
|
902
|
-
itemHoldTimeout?: number | undefined;
|
|
903
|
-
items?: any[] | undefined;
|
|
904
|
-
itemTemplate?: template | ((itemData: any, itemIndex: number, itemElement: any) => string | any) | undefined;
|
|
905
|
-
itemTitleTemplate?: template | ((itemData: any, itemIndex: number, itemElement: any) => string | any) | undefined;
|
|
906
|
-
keyExpr?: string | ((item: any) => any) | undefined;
|
|
907
|
-
loop?: boolean | undefined;
|
|
908
|
-
noDataText?: string | undefined;
|
|
909
|
-
onContentReady?: ((e: TabPanelContentReadyEvent) => void) | undefined;
|
|
910
|
-
onDisposing?: ((e: TabPanelDisposingEvent) => void) | undefined;
|
|
911
|
-
onInitialized?: ((e: TabPanelInitializedEvent) => void) | undefined;
|
|
912
|
-
onItemClick?: ((e: ItemClickEvent) => void) | undefined;
|
|
913
|
-
onItemContextMenu?: ((e: ItemContextMenuEvent) => void) | undefined;
|
|
914
|
-
onItemHold?: ((e: ItemHoldEvent) => void) | undefined;
|
|
915
|
-
onItemRendered?: ((e: ItemRenderedEvent) => void) | undefined;
|
|
916
|
-
onOptionChanged?: ((e: TabPanelOptionChangedEvent) => void) | undefined;
|
|
917
|
-
onSelectionChanged?: ((e: SelectionChangedEvent) => void) | undefined;
|
|
918
|
-
onSelectionChanging?: ((e: SelectionChangingEvent) => void) | undefined;
|
|
919
|
-
onTitleClick?: ((e: TitleClickEvent) => void) | undefined;
|
|
920
|
-
onTitleHold?: ((e: TitleHoldEvent) => void) | undefined;
|
|
921
|
-
onTitleRendered?: ((e: TitleRenderedEvent) => void) | undefined;
|
|
922
|
-
repaintChangesOnly?: boolean | undefined;
|
|
923
|
-
rtlEnabled?: boolean | undefined;
|
|
924
|
-
scrollByContent?: boolean | undefined;
|
|
925
|
-
scrollingEnabled?: boolean | undefined;
|
|
926
|
-
selectedIndex?: number | undefined;
|
|
927
|
-
selectedItem?: any;
|
|
928
|
-
showNavButtons?: boolean | undefined;
|
|
929
|
-
stylingMode?: TabsStyle | undefined;
|
|
930
|
-
swipeEnabled?: boolean | undefined;
|
|
931
|
-
tabIndex?: number | undefined;
|
|
932
|
-
tabsPosition?: Position | undefined;
|
|
933
|
-
visible?: boolean | undefined;
|
|
934
|
-
width?: number | string | undefined;
|
|
935
|
-
defaultItems?: any[] | undefined;
|
|
936
|
-
onItemsChange?: ((value: Array<any | dxTabPanelItem | string>) => void) | undefined;
|
|
937
|
-
defaultSelectedIndex?: number | undefined;
|
|
938
|
-
onSelectedIndexChange?: ((value: number) => void) | undefined;
|
|
939
|
-
defaultSelectedItem?: any;
|
|
940
|
-
onSelectedItemChange?: ((value: any) => void) | undefined;
|
|
941
|
-
itemRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
942
|
-
itemComponent?: React.ComponentType<any> | undefined;
|
|
943
|
-
itemTitleRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
944
|
-
itemTitleComponent?: React.ComponentType<any> | undefined;
|
|
945
|
-
} & {
|
|
946
|
-
children?: React.ReactNode;
|
|
947
|
-
} & {
|
|
948
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
949
|
-
}>>) & NestedComponentMeta;
|
|
950
|
-
type ITabPanelOptionsItemProps = React.PropsWithChildren<{
|
|
951
|
-
badge?: string;
|
|
952
|
-
disabled?: boolean;
|
|
953
|
-
html?: string;
|
|
954
|
-
icon?: string;
|
|
955
|
-
tabTemplate?: (() => string | any) | template;
|
|
956
|
-
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
|
|
957
|
-
text?: string;
|
|
958
|
-
title?: string;
|
|
959
|
-
visible?: boolean;
|
|
960
|
-
tabRender?: (...params: any) => React.ReactNode;
|
|
961
|
-
tabComponent?: React.ComponentType<any>;
|
|
962
|
-
render?: (...params: any) => React.ReactNode;
|
|
963
|
-
component?: React.ComponentType<any>;
|
|
964
|
-
}>;
|
|
965
|
-
declare const TabPanelOptionsItem: ((props: ITabPanelOptionsItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
966
|
-
badge?: string | undefined;
|
|
967
|
-
disabled?: boolean | undefined;
|
|
968
|
-
html?: string | undefined;
|
|
969
|
-
icon?: string | undefined;
|
|
970
|
-
tabTemplate?: template | (() => string | any) | undefined;
|
|
971
|
-
template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
|
|
972
|
-
text?: string | undefined;
|
|
973
|
-
title?: string | undefined;
|
|
974
|
-
visible?: boolean | undefined;
|
|
975
|
-
tabRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
976
|
-
tabComponent?: React.ComponentType<any> | undefined;
|
|
977
|
-
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
978
|
-
component?: React.ComponentType<any> | undefined;
|
|
979
|
-
} & {
|
|
980
|
-
children?: React.ReactNode;
|
|
981
|
-
} & {
|
|
982
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
983
|
-
}>>) & NestedComponentMeta;
|
|
984
|
-
type IValidationRuleProps = React.PropsWithChildren<{
|
|
985
|
-
message?: string;
|
|
986
|
-
trim?: boolean;
|
|
987
|
-
type?: ValidationRuleType;
|
|
988
|
-
ignoreEmptyValue?: boolean;
|
|
989
|
-
max?: Date | number | string;
|
|
990
|
-
min?: Date | number | string;
|
|
991
|
-
reevaluate?: boolean;
|
|
992
|
-
validationCallback?: ((options: {
|
|
993
|
-
column: Record<string, any>;
|
|
994
|
-
data: Record<string, any>;
|
|
995
|
-
formItem: Record<string, any>;
|
|
996
|
-
rule: Record<string, any>;
|
|
997
|
-
validator: Record<string, any>;
|
|
998
|
-
value: any;
|
|
999
|
-
}) => boolean);
|
|
1000
|
-
comparisonTarget?: (() => any);
|
|
1001
|
-
comparisonType?: ComparisonOperator;
|
|
1002
|
-
pattern?: RegExp | string;
|
|
1003
|
-
}>;
|
|
1004
|
-
declare const ValidationRule: ((props: IValidationRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1005
|
-
message?: string | undefined;
|
|
1006
|
-
trim?: boolean | undefined;
|
|
1007
|
-
type?: ValidationRuleType | undefined;
|
|
1008
|
-
ignoreEmptyValue?: boolean | undefined;
|
|
1009
|
-
max?: string | number | Date | undefined;
|
|
1010
|
-
min?: string | number | Date | undefined;
|
|
1011
|
-
reevaluate?: boolean | undefined;
|
|
1012
|
-
validationCallback?: ((options: {
|
|
1013
|
-
column: Record<string, any>;
|
|
1014
|
-
data: Record<string, any>;
|
|
1015
|
-
formItem: Record<string, any>;
|
|
1016
|
-
rule: Record<string, any>;
|
|
1017
|
-
validator: Record<string, any>;
|
|
1018
|
-
value: any;
|
|
1019
|
-
}) => boolean) | undefined;
|
|
1020
|
-
comparisonTarget?: (() => any) | undefined;
|
|
1021
|
-
comparisonType?: ComparisonOperator | undefined;
|
|
1022
|
-
pattern?: string | RegExp | undefined;
|
|
1023
|
-
} & {
|
|
1024
|
-
children?: React.ReactNode;
|
|
1025
|
-
} & {
|
|
1026
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1027
|
-
}>>) & NestedComponentMeta;
|
|
1028
|
-
export default Form;
|
|
1029
|
-
export { Form, IFormOptions, FormRef, AIOptions, IAIOptionsProps, AsyncRule, IAsyncRuleProps, ButtonItem, IButtonItemProps, ButtonOptions, IButtonOptionsProps, ColCountByScreen, IColCountByScreenProps, CompareRule, ICompareRuleProps, CustomRule, ICustomRuleProps, EmailRule, IEmailRuleProps, EmptyItem, IEmptyItemProps, GroupItem, IGroupItemProps, Item, IItemProps, Label, ILabelProps, NumericRule, INumericRuleProps, PatternRule, IPatternRuleProps, RangeRule, IRangeRuleProps, RequiredRule, IRequiredRuleProps, SimpleItem, ISimpleItemProps, StringLengthRule, IStringLengthRuleProps, Tab, ITabProps, TabbedItem, ITabbedItemProps, TabPanelOptions, ITabPanelOptionsProps, TabPanelOptionsItem, ITabPanelOptionsItemProps, ValidationRule, IValidationRuleProps };
|
|
1030
|
-
import type * as FormTypes from 'devextreme/ui/form_types';
|
|
1031
|
-
export { FormTypes };
|
|
14
|
+
import * as React from "react";
|
|
15
|
+
import { Ref, ReactElement } from "react";
|
|
16
|
+
import dxForm, { Properties } from "devextreme/ui/form";
|
|
17
|
+
import { IHtmlOptions, NestedComponentMeta } from "./core/component";
|
|
18
|
+
import type { ContentReadyEvent, DisposingEvent, EditorEnterKeyEvent, InitializedEvent, SmartPastedEvent, SmartPastingEvent, FormItemType, FormPredefinedButtonItem, dxFormButtonItem, dxFormEmptyItem, dxFormGroupItem, dxFormSimpleItem, dxFormTabbedItem, FormItemComponent, LabelLocation } from "devextreme/ui/form";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
|
|
20
|
+
import type { ContentReadyEvent as TabPanelContentReadyEvent, DisposingEvent as TabPanelDisposingEvent, InitializedEvent as TabPanelInitializedEvent, OptionChangedEvent as TabPanelOptionChangedEvent, dxTabPanelOptions, dxTabPanelItem, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, SelectionChangedEvent, SelectionChangingEvent, TitleClickEvent, TitleHoldEvent, TitleRenderedEvent } from "devextreme/ui/tab_panel";
|
|
21
|
+
import type { ValidationRuleType, HorizontalAlignment, VerticalAlignment, ButtonStyle, template, ButtonType, ComparisonOperator, TabsIconPosition, TabsStyle, Position } from "devextreme/common";
|
|
22
|
+
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
23
|
+
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
24
|
+
import type { Store } from "devextreme/data/store";
|
|
25
|
+
import type DataSource from "devextreme/data/data_source";
|
|
26
|
+
import type * as CommonTypes from "devextreme/common";
|
|
27
|
+
type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
28
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
29
|
+
};
|
|
30
|
+
type IFormOptionsNarrowedEvents = {
|
|
31
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
32
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
33
|
+
onEditorEnterKey?: ((e: EditorEnterKeyEvent) => void);
|
|
34
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
35
|
+
onSmartPasted?: ((e: SmartPastedEvent) => void);
|
|
36
|
+
onSmartPasting?: ((e: SmartPastingEvent) => void);
|
|
37
|
+
};
|
|
38
|
+
type IFormOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFormOptionsNarrowedEvents> & IHtmlOptions & {
|
|
39
|
+
defaultFormData?: any;
|
|
40
|
+
onFormDataChange?: (value: any) => void;
|
|
41
|
+
}>;
|
|
42
|
+
interface FormRef {
|
|
43
|
+
instance: () => dxForm;
|
|
44
|
+
}
|
|
45
|
+
declare const Form: (props: React.PropsWithChildren<IFormOptions> & {
|
|
46
|
+
ref?: Ref<FormRef>;
|
|
47
|
+
}) => ReactElement | null;
|
|
48
|
+
type IAIOptionsProps = React.PropsWithChildren<{
|
|
49
|
+
disabled?: boolean;
|
|
50
|
+
instruction?: string | undefined;
|
|
51
|
+
}>;
|
|
52
|
+
declare const AIOptions: ((props: IAIOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
53
|
+
disabled?: boolean | undefined;
|
|
54
|
+
instruction?: string | undefined;
|
|
55
|
+
} & {
|
|
56
|
+
children?: React.ReactNode;
|
|
57
|
+
} & {
|
|
58
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
59
|
+
}>>) & NestedComponentMeta;
|
|
60
|
+
type IAsyncRuleProps = React.PropsWithChildren<{
|
|
61
|
+
ignoreEmptyValue?: boolean;
|
|
62
|
+
message?: string;
|
|
63
|
+
reevaluate?: boolean;
|
|
64
|
+
type?: ValidationRuleType;
|
|
65
|
+
validationCallback?: ((options: {
|
|
66
|
+
column: Record<string, any>;
|
|
67
|
+
data: Record<string, any>;
|
|
68
|
+
formItem: Record<string, any>;
|
|
69
|
+
rule: Record<string, any>;
|
|
70
|
+
validator: Record<string, any>;
|
|
71
|
+
value: any;
|
|
72
|
+
}) => any);
|
|
73
|
+
}>;
|
|
74
|
+
declare const AsyncRule: ((props: IAsyncRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
75
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
76
|
+
message?: string | undefined;
|
|
77
|
+
reevaluate?: boolean | undefined;
|
|
78
|
+
type?: ValidationRuleType | undefined;
|
|
79
|
+
validationCallback?: ((options: {
|
|
80
|
+
column: Record<string, any>;
|
|
81
|
+
data: Record<string, any>;
|
|
82
|
+
formItem: Record<string, any>;
|
|
83
|
+
rule: Record<string, any>;
|
|
84
|
+
validator: Record<string, any>;
|
|
85
|
+
value: any;
|
|
86
|
+
}) => any) | undefined;
|
|
87
|
+
} & {
|
|
88
|
+
children?: React.ReactNode;
|
|
89
|
+
} & {
|
|
90
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
91
|
+
}>>) & NestedComponentMeta;
|
|
92
|
+
type IButtonItemProps = React.PropsWithChildren<{
|
|
93
|
+
buttonOptions?: dxButtonOptions | undefined;
|
|
94
|
+
colSpan?: number | undefined;
|
|
95
|
+
cssClass?: string | undefined;
|
|
96
|
+
horizontalAlignment?: HorizontalAlignment;
|
|
97
|
+
itemType?: FormItemType;
|
|
98
|
+
name?: FormPredefinedButtonItem | string | undefined;
|
|
99
|
+
verticalAlignment?: VerticalAlignment;
|
|
100
|
+
visible?: boolean;
|
|
101
|
+
visibleIndex?: number | undefined;
|
|
102
|
+
}>;
|
|
103
|
+
declare const ButtonItem: ((props: IButtonItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
104
|
+
buttonOptions?: dxButtonOptions | undefined;
|
|
105
|
+
colSpan?: number | undefined;
|
|
106
|
+
cssClass?: string | undefined;
|
|
107
|
+
horizontalAlignment?: HorizontalAlignment | undefined;
|
|
108
|
+
itemType?: FormItemType | undefined;
|
|
109
|
+
name?: FormPredefinedButtonItem | string | undefined;
|
|
110
|
+
verticalAlignment?: VerticalAlignment | undefined;
|
|
111
|
+
visible?: boolean | undefined;
|
|
112
|
+
visibleIndex?: number | undefined;
|
|
113
|
+
} & {
|
|
114
|
+
children?: React.ReactNode;
|
|
115
|
+
} & {
|
|
116
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
117
|
+
}>>) & NestedComponentMeta;
|
|
118
|
+
type IButtonOptionsProps = React.PropsWithChildren<{
|
|
119
|
+
accessKey?: string | undefined;
|
|
120
|
+
activeStateEnabled?: boolean;
|
|
121
|
+
disabled?: boolean;
|
|
122
|
+
elementAttr?: Record<string, any>;
|
|
123
|
+
focusStateEnabled?: boolean;
|
|
124
|
+
height?: number | string | undefined;
|
|
125
|
+
hint?: string | undefined;
|
|
126
|
+
hoverStateEnabled?: boolean;
|
|
127
|
+
icon?: string;
|
|
128
|
+
onClick?: ((e: ClickEvent) => void);
|
|
129
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
130
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
131
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
132
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
133
|
+
rtlEnabled?: boolean;
|
|
134
|
+
stylingMode?: ButtonStyle;
|
|
135
|
+
tabIndex?: number;
|
|
136
|
+
template?: ((buttonData: {
|
|
137
|
+
icon: string;
|
|
138
|
+
text: string;
|
|
139
|
+
}, contentElement: any) => string | any) | template;
|
|
140
|
+
text?: string;
|
|
141
|
+
type?: ButtonType | string;
|
|
142
|
+
useSubmitBehavior?: boolean;
|
|
143
|
+
validationGroup?: string | undefined;
|
|
144
|
+
visible?: boolean;
|
|
145
|
+
width?: number | string | undefined;
|
|
146
|
+
render?: (...params: any) => React.ReactNode;
|
|
147
|
+
component?: React.ComponentType<any>;
|
|
148
|
+
}>;
|
|
149
|
+
declare const ButtonOptions: ((props: IButtonOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
150
|
+
accessKey?: string | undefined;
|
|
151
|
+
activeStateEnabled?: boolean | undefined;
|
|
152
|
+
disabled?: boolean | undefined;
|
|
153
|
+
elementAttr?: Record<string, any> | undefined;
|
|
154
|
+
focusStateEnabled?: boolean | undefined;
|
|
155
|
+
height?: number | string | undefined;
|
|
156
|
+
hint?: string | undefined;
|
|
157
|
+
hoverStateEnabled?: boolean | undefined;
|
|
158
|
+
icon?: string | undefined;
|
|
159
|
+
onClick?: ((e: ClickEvent) => void) | undefined;
|
|
160
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void) | undefined;
|
|
161
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void) | undefined;
|
|
162
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void) | undefined;
|
|
163
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void) | undefined;
|
|
164
|
+
rtlEnabled?: boolean | undefined;
|
|
165
|
+
stylingMode?: ButtonStyle | undefined;
|
|
166
|
+
tabIndex?: number | undefined;
|
|
167
|
+
template?: template | ((buttonData: {
|
|
168
|
+
icon: string;
|
|
169
|
+
text: string;
|
|
170
|
+
}, contentElement: any) => string | any) | undefined;
|
|
171
|
+
text?: string | undefined;
|
|
172
|
+
type?: string | undefined;
|
|
173
|
+
useSubmitBehavior?: boolean | undefined;
|
|
174
|
+
validationGroup?: string | undefined;
|
|
175
|
+
visible?: boolean | undefined;
|
|
176
|
+
width?: number | string | undefined;
|
|
177
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
178
|
+
component?: React.ComponentType<any> | undefined;
|
|
179
|
+
} & {
|
|
180
|
+
children?: React.ReactNode;
|
|
181
|
+
} & {
|
|
182
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
183
|
+
}>>) & NestedComponentMeta;
|
|
184
|
+
type IColCountByScreenProps = React.PropsWithChildren<{
|
|
185
|
+
lg?: number | undefined;
|
|
186
|
+
md?: number | undefined;
|
|
187
|
+
sm?: number | undefined;
|
|
188
|
+
xs?: number | undefined;
|
|
189
|
+
}>;
|
|
190
|
+
declare const ColCountByScreen: ((props: IColCountByScreenProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
191
|
+
lg?: number | undefined;
|
|
192
|
+
md?: number | undefined;
|
|
193
|
+
sm?: number | undefined;
|
|
194
|
+
xs?: number | undefined;
|
|
195
|
+
} & {
|
|
196
|
+
children?: React.ReactNode;
|
|
197
|
+
} & {
|
|
198
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
199
|
+
}>>) & NestedComponentMeta;
|
|
200
|
+
type ICompareRuleProps = React.PropsWithChildren<{
|
|
201
|
+
comparisonTarget?: (() => any);
|
|
202
|
+
comparisonType?: ComparisonOperator;
|
|
203
|
+
ignoreEmptyValue?: boolean;
|
|
204
|
+
message?: string;
|
|
205
|
+
type?: ValidationRuleType;
|
|
206
|
+
}>;
|
|
207
|
+
declare const CompareRule: ((props: ICompareRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
208
|
+
comparisonTarget?: (() => any) | undefined;
|
|
209
|
+
comparisonType?: ComparisonOperator | undefined;
|
|
210
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
211
|
+
message?: string | undefined;
|
|
212
|
+
type?: ValidationRuleType | undefined;
|
|
213
|
+
} & {
|
|
214
|
+
children?: React.ReactNode;
|
|
215
|
+
} & {
|
|
216
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
217
|
+
}>>) & NestedComponentMeta;
|
|
218
|
+
type ICustomRuleProps = React.PropsWithChildren<{
|
|
219
|
+
ignoreEmptyValue?: boolean;
|
|
220
|
+
message?: string;
|
|
221
|
+
reevaluate?: boolean;
|
|
222
|
+
type?: ValidationRuleType;
|
|
223
|
+
validationCallback?: ((options: {
|
|
224
|
+
column: Record<string, any>;
|
|
225
|
+
data: Record<string, any>;
|
|
226
|
+
formItem: Record<string, any>;
|
|
227
|
+
rule: Record<string, any>;
|
|
228
|
+
validator: Record<string, any>;
|
|
229
|
+
value: any;
|
|
230
|
+
}) => boolean);
|
|
231
|
+
}>;
|
|
232
|
+
declare const CustomRule: ((props: ICustomRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
233
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
234
|
+
message?: string | undefined;
|
|
235
|
+
reevaluate?: boolean | undefined;
|
|
236
|
+
type?: ValidationRuleType | undefined;
|
|
237
|
+
validationCallback?: ((options: {
|
|
238
|
+
column: Record<string, any>;
|
|
239
|
+
data: Record<string, any>;
|
|
240
|
+
formItem: Record<string, any>;
|
|
241
|
+
rule: Record<string, any>;
|
|
242
|
+
validator: Record<string, any>;
|
|
243
|
+
value: any;
|
|
244
|
+
}) => boolean) | undefined;
|
|
245
|
+
} & {
|
|
246
|
+
children?: React.ReactNode;
|
|
247
|
+
} & {
|
|
248
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
249
|
+
}>>) & NestedComponentMeta;
|
|
250
|
+
type IEmailRuleProps = React.PropsWithChildren<{
|
|
251
|
+
ignoreEmptyValue?: boolean;
|
|
252
|
+
message?: string;
|
|
253
|
+
type?: ValidationRuleType;
|
|
254
|
+
}>;
|
|
255
|
+
declare const EmailRule: ((props: IEmailRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
256
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
257
|
+
message?: string | undefined;
|
|
258
|
+
type?: ValidationRuleType | undefined;
|
|
259
|
+
} & {
|
|
260
|
+
children?: React.ReactNode;
|
|
261
|
+
} & {
|
|
262
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
263
|
+
}>>) & NestedComponentMeta;
|
|
264
|
+
type IEmptyItemProps = React.PropsWithChildren<{
|
|
265
|
+
colSpan?: number | undefined;
|
|
266
|
+
cssClass?: string | undefined;
|
|
267
|
+
itemType?: FormItemType;
|
|
268
|
+
name?: string | undefined;
|
|
269
|
+
visible?: boolean;
|
|
270
|
+
visibleIndex?: number | undefined;
|
|
271
|
+
}>;
|
|
272
|
+
declare const EmptyItem: ((props: IEmptyItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
273
|
+
colSpan?: number | undefined;
|
|
274
|
+
cssClass?: string | undefined;
|
|
275
|
+
itemType?: FormItemType | undefined;
|
|
276
|
+
name?: string | undefined;
|
|
277
|
+
visible?: boolean | undefined;
|
|
278
|
+
visibleIndex?: number | undefined;
|
|
279
|
+
} & {
|
|
280
|
+
children?: React.ReactNode;
|
|
281
|
+
} & {
|
|
282
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
283
|
+
}>>) & NestedComponentMeta;
|
|
284
|
+
type IGroupItemProps = React.PropsWithChildren<{
|
|
285
|
+
alignItemLabels?: boolean;
|
|
286
|
+
caption?: string | undefined;
|
|
287
|
+
captionTemplate?: ((data: {
|
|
288
|
+
caption: string;
|
|
289
|
+
component: dxForm;
|
|
290
|
+
name: string;
|
|
291
|
+
}, itemElement: any) => string | any) | template;
|
|
292
|
+
colCount?: number;
|
|
293
|
+
colCountByScreen?: Record<string, any> | {
|
|
294
|
+
lg?: number | undefined;
|
|
295
|
+
md?: number | undefined;
|
|
296
|
+
sm?: number | undefined;
|
|
297
|
+
xs?: number | undefined;
|
|
298
|
+
};
|
|
299
|
+
colSpan?: number | undefined;
|
|
300
|
+
cssClass?: string | undefined;
|
|
301
|
+
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
302
|
+
itemType?: FormItemType;
|
|
303
|
+
name?: string | undefined;
|
|
304
|
+
template?: ((data: {
|
|
305
|
+
component: dxForm;
|
|
306
|
+
formData: Record<string, any>;
|
|
307
|
+
}, itemElement: any) => string | any) | template;
|
|
308
|
+
visible?: boolean;
|
|
309
|
+
visibleIndex?: number | undefined;
|
|
310
|
+
captionRender?: (...params: any) => React.ReactNode;
|
|
311
|
+
captionComponent?: React.ComponentType<any>;
|
|
312
|
+
render?: (...params: any) => React.ReactNode;
|
|
313
|
+
component?: React.ComponentType<any>;
|
|
314
|
+
}>;
|
|
315
|
+
declare const GroupItem: ((props: IGroupItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
316
|
+
alignItemLabels?: boolean | undefined;
|
|
317
|
+
caption?: string | undefined;
|
|
318
|
+
captionTemplate?: template | ((data: {
|
|
319
|
+
caption: string;
|
|
320
|
+
component: dxForm;
|
|
321
|
+
name: string;
|
|
322
|
+
}, itemElement: any) => string | any) | undefined;
|
|
323
|
+
colCount?: number | undefined;
|
|
324
|
+
colCountByScreen?: Record<string, any> | {
|
|
325
|
+
lg?: number | undefined;
|
|
326
|
+
md?: number | undefined;
|
|
327
|
+
sm?: number | undefined;
|
|
328
|
+
xs?: number | undefined;
|
|
329
|
+
} | undefined;
|
|
330
|
+
colSpan?: number | undefined;
|
|
331
|
+
cssClass?: string | undefined;
|
|
332
|
+
items?: (dxFormSimpleItem | dxFormGroupItem | dxFormTabbedItem | dxFormEmptyItem | dxFormButtonItem)[] | undefined;
|
|
333
|
+
itemType?: FormItemType | undefined;
|
|
334
|
+
name?: string | undefined;
|
|
335
|
+
template?: template | ((data: {
|
|
336
|
+
component: dxForm;
|
|
337
|
+
formData: Record<string, any>;
|
|
338
|
+
}, itemElement: any) => string | any) | undefined;
|
|
339
|
+
visible?: boolean | undefined;
|
|
340
|
+
visibleIndex?: number | undefined;
|
|
341
|
+
captionRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
342
|
+
captionComponent?: React.ComponentType<any> | undefined;
|
|
343
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
344
|
+
component?: React.ComponentType<any> | undefined;
|
|
345
|
+
} & {
|
|
346
|
+
children?: React.ReactNode;
|
|
347
|
+
} & {
|
|
348
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
349
|
+
}>>) & NestedComponentMeta;
|
|
350
|
+
type IItemProps = React.PropsWithChildren<{
|
|
351
|
+
badge?: string;
|
|
352
|
+
disabled?: boolean;
|
|
353
|
+
html?: string;
|
|
354
|
+
icon?: string;
|
|
355
|
+
tabTemplate?: (() => string | any) | template;
|
|
356
|
+
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
|
|
357
|
+
text?: string;
|
|
358
|
+
title?: string;
|
|
359
|
+
visible?: boolean;
|
|
360
|
+
aiOptions?: Record<string, any> | {
|
|
361
|
+
disabled?: boolean;
|
|
362
|
+
instruction?: string | undefined;
|
|
363
|
+
};
|
|
364
|
+
colSpan?: number | undefined;
|
|
365
|
+
cssClass?: string | undefined;
|
|
366
|
+
dataField?: string | undefined;
|
|
367
|
+
editorOptions?: any | undefined;
|
|
368
|
+
editorType?: FormItemComponent;
|
|
369
|
+
helpText?: string | undefined;
|
|
370
|
+
isRequired?: boolean | undefined;
|
|
371
|
+
itemType?: FormItemType;
|
|
372
|
+
label?: Record<string, any> | {
|
|
373
|
+
alignment?: HorizontalAlignment;
|
|
374
|
+
location?: LabelLocation;
|
|
375
|
+
showColon?: boolean;
|
|
376
|
+
template?: ((itemData: {
|
|
377
|
+
component: dxForm;
|
|
378
|
+
dataField: string;
|
|
379
|
+
editorOptions: any;
|
|
380
|
+
editorType: string;
|
|
381
|
+
name: string;
|
|
382
|
+
text: string;
|
|
383
|
+
}, itemElement: any) => string | any) | template;
|
|
384
|
+
text?: string | undefined;
|
|
385
|
+
visible?: boolean;
|
|
386
|
+
};
|
|
387
|
+
name?: string | undefined | FormPredefinedButtonItem;
|
|
388
|
+
validationRules?: Array<CommonTypes.ValidationRule>;
|
|
389
|
+
visibleIndex?: number | undefined;
|
|
390
|
+
alignItemLabels?: boolean;
|
|
391
|
+
caption?: string | undefined;
|
|
392
|
+
captionTemplate?: ((data: {
|
|
393
|
+
caption: string;
|
|
394
|
+
component: dxForm;
|
|
395
|
+
name: string;
|
|
396
|
+
}, itemElement: any) => string | any) | template;
|
|
397
|
+
colCount?: number;
|
|
398
|
+
colCountByScreen?: Record<string, any> | {
|
|
399
|
+
lg?: number | undefined;
|
|
400
|
+
md?: number | undefined;
|
|
401
|
+
sm?: number | undefined;
|
|
402
|
+
xs?: number | undefined;
|
|
403
|
+
};
|
|
404
|
+
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
405
|
+
tabPanelOptions?: dxTabPanelOptions | undefined;
|
|
406
|
+
tabs?: Array<Record<string, any>> | {
|
|
407
|
+
alignItemLabels?: boolean;
|
|
408
|
+
badge?: string | undefined;
|
|
409
|
+
colCount?: number;
|
|
410
|
+
colCountByScreen?: Record<string, any> | {
|
|
411
|
+
lg?: number | undefined;
|
|
412
|
+
md?: number | undefined;
|
|
413
|
+
sm?: number | undefined;
|
|
414
|
+
xs?: number | undefined;
|
|
415
|
+
};
|
|
416
|
+
disabled?: boolean;
|
|
417
|
+
icon?: string | undefined;
|
|
418
|
+
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
419
|
+
tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
420
|
+
template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
421
|
+
title?: string | undefined;
|
|
422
|
+
}[];
|
|
423
|
+
buttonOptions?: dxButtonOptions | undefined;
|
|
424
|
+
horizontalAlignment?: HorizontalAlignment;
|
|
425
|
+
verticalAlignment?: VerticalAlignment;
|
|
426
|
+
tabRender?: (...params: any) => React.ReactNode;
|
|
427
|
+
tabComponent?: React.ComponentType<any>;
|
|
428
|
+
render?: (...params: any) => React.ReactNode;
|
|
429
|
+
component?: React.ComponentType<any>;
|
|
430
|
+
captionRender?: (...params: any) => React.ReactNode;
|
|
431
|
+
captionComponent?: React.ComponentType<any>;
|
|
432
|
+
}>;
|
|
433
|
+
declare const Item: ((props: IItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
434
|
+
badge?: string | undefined;
|
|
435
|
+
disabled?: boolean | undefined;
|
|
436
|
+
html?: string | undefined;
|
|
437
|
+
icon?: string | undefined;
|
|
438
|
+
tabTemplate?: template | (() => string | any) | undefined;
|
|
439
|
+
template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
|
|
440
|
+
text?: string | undefined;
|
|
441
|
+
title?: string | undefined;
|
|
442
|
+
visible?: boolean | undefined;
|
|
443
|
+
aiOptions?: Record<string, any> | {
|
|
444
|
+
disabled?: boolean | undefined;
|
|
445
|
+
instruction?: string | undefined;
|
|
446
|
+
} | undefined;
|
|
447
|
+
colSpan?: number | undefined;
|
|
448
|
+
cssClass?: string | undefined;
|
|
449
|
+
dataField?: string | undefined;
|
|
450
|
+
editorOptions?: any | undefined;
|
|
451
|
+
editorType?: FormItemComponent | undefined;
|
|
452
|
+
helpText?: string | undefined;
|
|
453
|
+
isRequired?: boolean | undefined;
|
|
454
|
+
itemType?: FormItemType | undefined;
|
|
455
|
+
label?: Record<string, any> | {
|
|
456
|
+
alignment?: HorizontalAlignment | undefined;
|
|
457
|
+
location?: LabelLocation | undefined;
|
|
458
|
+
showColon?: boolean | undefined;
|
|
459
|
+
template?: template | ((itemData: {
|
|
460
|
+
component: dxForm;
|
|
461
|
+
dataField: string;
|
|
462
|
+
editorOptions: any;
|
|
463
|
+
editorType: string;
|
|
464
|
+
name: string;
|
|
465
|
+
text: string;
|
|
466
|
+
}, itemElement: any) => string | any) | undefined;
|
|
467
|
+
text?: string | undefined;
|
|
468
|
+
visible?: boolean | undefined;
|
|
469
|
+
} | undefined;
|
|
470
|
+
name?: string | undefined | FormPredefinedButtonItem;
|
|
471
|
+
validationRules?: CommonTypes.ValidationRule[] | undefined;
|
|
472
|
+
visibleIndex?: number | undefined;
|
|
473
|
+
alignItemLabels?: boolean | undefined;
|
|
474
|
+
caption?: string | undefined;
|
|
475
|
+
captionTemplate?: template | ((data: {
|
|
476
|
+
caption: string;
|
|
477
|
+
component: dxForm;
|
|
478
|
+
name: string;
|
|
479
|
+
}, itemElement: any) => string | any) | undefined;
|
|
480
|
+
colCount?: number | undefined;
|
|
481
|
+
colCountByScreen?: Record<string, any> | {
|
|
482
|
+
lg?: number | undefined;
|
|
483
|
+
md?: number | undefined;
|
|
484
|
+
sm?: number | undefined;
|
|
485
|
+
xs?: number | undefined;
|
|
486
|
+
} | undefined;
|
|
487
|
+
items?: (dxFormSimpleItem | dxFormGroupItem | dxFormTabbedItem | dxFormEmptyItem | dxFormButtonItem)[] | undefined;
|
|
488
|
+
tabPanelOptions?: dxTabPanelOptions | undefined;
|
|
489
|
+
tabs?: Record<string, any>[] | {
|
|
490
|
+
alignItemLabels?: boolean | undefined;
|
|
491
|
+
badge?: string | undefined;
|
|
492
|
+
colCount?: number | undefined;
|
|
493
|
+
colCountByScreen?: Record<string, any> | {
|
|
494
|
+
lg?: number | undefined;
|
|
495
|
+
md?: number | undefined;
|
|
496
|
+
sm?: number | undefined;
|
|
497
|
+
xs?: number | undefined;
|
|
498
|
+
} | undefined;
|
|
499
|
+
disabled?: boolean | undefined;
|
|
500
|
+
icon?: string | undefined;
|
|
501
|
+
items?: (dxFormSimpleItem | dxFormGroupItem | dxFormTabbedItem | dxFormEmptyItem | dxFormButtonItem)[] | undefined;
|
|
502
|
+
tabTemplate?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
503
|
+
template?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
504
|
+
title?: string | undefined;
|
|
505
|
+
}[] | undefined;
|
|
506
|
+
buttonOptions?: dxButtonOptions | undefined;
|
|
507
|
+
horizontalAlignment?: HorizontalAlignment | undefined;
|
|
508
|
+
verticalAlignment?: VerticalAlignment | undefined;
|
|
509
|
+
tabRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
510
|
+
tabComponent?: React.ComponentType<any> | undefined;
|
|
511
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
512
|
+
component?: React.ComponentType<any> | undefined;
|
|
513
|
+
captionRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
514
|
+
captionComponent?: React.ComponentType<any> | undefined;
|
|
515
|
+
} & {
|
|
516
|
+
children?: React.ReactNode;
|
|
517
|
+
} & {
|
|
518
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
519
|
+
}>>) & NestedComponentMeta;
|
|
520
|
+
type ILabelProps = React.PropsWithChildren<{
|
|
521
|
+
alignment?: HorizontalAlignment;
|
|
522
|
+
location?: LabelLocation;
|
|
523
|
+
showColon?: boolean;
|
|
524
|
+
template?: ((itemData: {
|
|
525
|
+
component: dxForm;
|
|
526
|
+
dataField: string;
|
|
527
|
+
editorOptions: any;
|
|
528
|
+
editorType: string;
|
|
529
|
+
name: string;
|
|
530
|
+
text: string;
|
|
531
|
+
}, itemElement: any) => string | any) | template;
|
|
532
|
+
text?: string | undefined;
|
|
533
|
+
visible?: boolean;
|
|
534
|
+
render?: (...params: any) => React.ReactNode;
|
|
535
|
+
component?: React.ComponentType<any>;
|
|
536
|
+
}>;
|
|
537
|
+
declare const Label: ((props: ILabelProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
538
|
+
alignment?: HorizontalAlignment | undefined;
|
|
539
|
+
location?: LabelLocation | undefined;
|
|
540
|
+
showColon?: boolean | undefined;
|
|
541
|
+
template?: template | ((itemData: {
|
|
542
|
+
component: dxForm;
|
|
543
|
+
dataField: string;
|
|
544
|
+
editorOptions: any;
|
|
545
|
+
editorType: string;
|
|
546
|
+
name: string;
|
|
547
|
+
text: string;
|
|
548
|
+
}, itemElement: any) => string | any) | undefined;
|
|
549
|
+
text?: string | undefined;
|
|
550
|
+
visible?: boolean | undefined;
|
|
551
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
552
|
+
component?: React.ComponentType<any> | undefined;
|
|
553
|
+
} & {
|
|
554
|
+
children?: React.ReactNode;
|
|
555
|
+
} & {
|
|
556
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
557
|
+
}>>) & NestedComponentMeta;
|
|
558
|
+
type INumericRuleProps = React.PropsWithChildren<{
|
|
559
|
+
ignoreEmptyValue?: boolean;
|
|
560
|
+
message?: string;
|
|
561
|
+
type?: ValidationRuleType;
|
|
562
|
+
}>;
|
|
563
|
+
declare const NumericRule: ((props: INumericRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
564
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
565
|
+
message?: string | undefined;
|
|
566
|
+
type?: ValidationRuleType | undefined;
|
|
567
|
+
} & {
|
|
568
|
+
children?: React.ReactNode;
|
|
569
|
+
} & {
|
|
570
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
571
|
+
}>>) & NestedComponentMeta;
|
|
572
|
+
type IPatternRuleProps = React.PropsWithChildren<{
|
|
573
|
+
ignoreEmptyValue?: boolean;
|
|
574
|
+
message?: string;
|
|
575
|
+
pattern?: RegExp | string;
|
|
576
|
+
type?: ValidationRuleType;
|
|
577
|
+
}>;
|
|
578
|
+
declare const PatternRule: ((props: IPatternRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
579
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
580
|
+
message?: string | undefined;
|
|
581
|
+
pattern?: string | RegExp | undefined;
|
|
582
|
+
type?: ValidationRuleType | undefined;
|
|
583
|
+
} & {
|
|
584
|
+
children?: React.ReactNode;
|
|
585
|
+
} & {
|
|
586
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
587
|
+
}>>) & NestedComponentMeta;
|
|
588
|
+
type IRangeRuleProps = React.PropsWithChildren<{
|
|
589
|
+
ignoreEmptyValue?: boolean;
|
|
590
|
+
max?: Date | number | string;
|
|
591
|
+
message?: string;
|
|
592
|
+
min?: Date | number | string;
|
|
593
|
+
reevaluate?: boolean;
|
|
594
|
+
type?: ValidationRuleType;
|
|
595
|
+
}>;
|
|
596
|
+
declare const RangeRule: ((props: IRangeRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
597
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
598
|
+
max?: string | number | Date | undefined;
|
|
599
|
+
message?: string | undefined;
|
|
600
|
+
min?: string | number | Date | undefined;
|
|
601
|
+
reevaluate?: boolean | undefined;
|
|
602
|
+
type?: ValidationRuleType | undefined;
|
|
603
|
+
} & {
|
|
604
|
+
children?: React.ReactNode;
|
|
605
|
+
} & {
|
|
606
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
607
|
+
}>>) & NestedComponentMeta;
|
|
608
|
+
type IRequiredRuleProps = React.PropsWithChildren<{
|
|
609
|
+
message?: string;
|
|
610
|
+
trim?: boolean;
|
|
611
|
+
type?: ValidationRuleType;
|
|
612
|
+
}>;
|
|
613
|
+
declare const RequiredRule: ((props: IRequiredRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
614
|
+
message?: string | undefined;
|
|
615
|
+
trim?: boolean | undefined;
|
|
616
|
+
type?: ValidationRuleType | undefined;
|
|
617
|
+
} & {
|
|
618
|
+
children?: React.ReactNode;
|
|
619
|
+
} & {
|
|
620
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
621
|
+
}>>) & NestedComponentMeta;
|
|
622
|
+
type ISimpleItemProps = React.PropsWithChildren<{
|
|
623
|
+
aiOptions?: Record<string, any> | {
|
|
624
|
+
disabled?: boolean;
|
|
625
|
+
instruction?: string | undefined;
|
|
626
|
+
};
|
|
627
|
+
colSpan?: number | undefined;
|
|
628
|
+
cssClass?: string | undefined;
|
|
629
|
+
dataField?: string | undefined;
|
|
630
|
+
editorOptions?: any | undefined;
|
|
631
|
+
editorType?: FormItemComponent;
|
|
632
|
+
helpText?: string | undefined;
|
|
633
|
+
isRequired?: boolean | undefined;
|
|
634
|
+
itemType?: FormItemType;
|
|
635
|
+
label?: Record<string, any> | {
|
|
636
|
+
alignment?: HorizontalAlignment;
|
|
637
|
+
location?: LabelLocation;
|
|
638
|
+
showColon?: boolean;
|
|
639
|
+
template?: ((itemData: {
|
|
640
|
+
component: dxForm;
|
|
641
|
+
dataField: string;
|
|
642
|
+
editorOptions: any;
|
|
643
|
+
editorType: string;
|
|
644
|
+
name: string;
|
|
645
|
+
text: string;
|
|
646
|
+
}, itemElement: any) => string | any) | template;
|
|
647
|
+
text?: string | undefined;
|
|
648
|
+
visible?: boolean;
|
|
649
|
+
};
|
|
650
|
+
name?: string | undefined;
|
|
651
|
+
template?: ((data: {
|
|
652
|
+
component: dxForm;
|
|
653
|
+
dataField: string;
|
|
654
|
+
editorOptions: Record<string, any>;
|
|
655
|
+
editorType: string;
|
|
656
|
+
name: string;
|
|
657
|
+
}, itemElement: any) => string | any) | template;
|
|
658
|
+
validationRules?: Array<CommonTypes.ValidationRule>;
|
|
659
|
+
visible?: boolean;
|
|
660
|
+
visibleIndex?: number | undefined;
|
|
661
|
+
render?: (...params: any) => React.ReactNode;
|
|
662
|
+
component?: React.ComponentType<any>;
|
|
663
|
+
}>;
|
|
664
|
+
declare const SimpleItem: ((props: ISimpleItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
665
|
+
aiOptions?: Record<string, any> | {
|
|
666
|
+
disabled?: boolean | undefined;
|
|
667
|
+
instruction?: string | undefined;
|
|
668
|
+
} | undefined;
|
|
669
|
+
colSpan?: number | undefined;
|
|
670
|
+
cssClass?: string | undefined;
|
|
671
|
+
dataField?: string | undefined;
|
|
672
|
+
editorOptions?: any | undefined;
|
|
673
|
+
editorType?: FormItemComponent | undefined;
|
|
674
|
+
helpText?: string | undefined;
|
|
675
|
+
isRequired?: boolean | undefined;
|
|
676
|
+
itemType?: FormItemType | undefined;
|
|
677
|
+
label?: Record<string, any> | {
|
|
678
|
+
alignment?: HorizontalAlignment | undefined;
|
|
679
|
+
location?: LabelLocation | undefined;
|
|
680
|
+
showColon?: boolean | undefined;
|
|
681
|
+
template?: template | ((itemData: {
|
|
682
|
+
component: dxForm;
|
|
683
|
+
dataField: string;
|
|
684
|
+
editorOptions: any;
|
|
685
|
+
editorType: string;
|
|
686
|
+
name: string;
|
|
687
|
+
text: string;
|
|
688
|
+
}, itemElement: any) => string | any) | undefined;
|
|
689
|
+
text?: string | undefined;
|
|
690
|
+
visible?: boolean | undefined;
|
|
691
|
+
} | undefined;
|
|
692
|
+
name?: string | undefined;
|
|
693
|
+
template?: template | ((data: {
|
|
694
|
+
component: dxForm;
|
|
695
|
+
dataField: string;
|
|
696
|
+
editorOptions: Record<string, any>;
|
|
697
|
+
editorType: string;
|
|
698
|
+
name: string;
|
|
699
|
+
}, itemElement: any) => string | any) | undefined;
|
|
700
|
+
validationRules?: CommonTypes.ValidationRule[] | undefined;
|
|
701
|
+
visible?: boolean | undefined;
|
|
702
|
+
visibleIndex?: number | undefined;
|
|
703
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
704
|
+
component?: React.ComponentType<any> | undefined;
|
|
705
|
+
} & {
|
|
706
|
+
children?: React.ReactNode;
|
|
707
|
+
} & {
|
|
708
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
709
|
+
}>>) & NestedComponentMeta;
|
|
710
|
+
type IStringLengthRuleProps = React.PropsWithChildren<{
|
|
711
|
+
ignoreEmptyValue?: boolean;
|
|
712
|
+
max?: number;
|
|
713
|
+
message?: string;
|
|
714
|
+
min?: number;
|
|
715
|
+
trim?: boolean;
|
|
716
|
+
type?: ValidationRuleType;
|
|
717
|
+
}>;
|
|
718
|
+
declare const StringLengthRule: ((props: IStringLengthRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
719
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
720
|
+
max?: number | undefined;
|
|
721
|
+
message?: string | undefined;
|
|
722
|
+
min?: number | undefined;
|
|
723
|
+
trim?: boolean | undefined;
|
|
724
|
+
type?: ValidationRuleType | undefined;
|
|
725
|
+
} & {
|
|
726
|
+
children?: React.ReactNode;
|
|
727
|
+
} & {
|
|
728
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
729
|
+
}>>) & NestedComponentMeta;
|
|
730
|
+
type ITabProps = React.PropsWithChildren<{
|
|
731
|
+
alignItemLabels?: boolean;
|
|
732
|
+
badge?: string | undefined;
|
|
733
|
+
colCount?: number;
|
|
734
|
+
colCountByScreen?: Record<string, any> | {
|
|
735
|
+
lg?: number | undefined;
|
|
736
|
+
md?: number | undefined;
|
|
737
|
+
sm?: number | undefined;
|
|
738
|
+
xs?: number | undefined;
|
|
739
|
+
};
|
|
740
|
+
disabled?: boolean;
|
|
741
|
+
icon?: string | undefined;
|
|
742
|
+
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
743
|
+
tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
744
|
+
template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
745
|
+
title?: string | undefined;
|
|
746
|
+
tabRender?: (...params: any) => React.ReactNode;
|
|
747
|
+
tabComponent?: React.ComponentType<any>;
|
|
748
|
+
render?: (...params: any) => React.ReactNode;
|
|
749
|
+
component?: React.ComponentType<any>;
|
|
750
|
+
}>;
|
|
751
|
+
declare const Tab: ((props: ITabProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
752
|
+
alignItemLabels?: boolean | undefined;
|
|
753
|
+
badge?: string | undefined;
|
|
754
|
+
colCount?: number | undefined;
|
|
755
|
+
colCountByScreen?: Record<string, any> | {
|
|
756
|
+
lg?: number | undefined;
|
|
757
|
+
md?: number | undefined;
|
|
758
|
+
sm?: number | undefined;
|
|
759
|
+
xs?: number | undefined;
|
|
760
|
+
} | undefined;
|
|
761
|
+
disabled?: boolean | undefined;
|
|
762
|
+
icon?: string | undefined;
|
|
763
|
+
items?: (dxFormSimpleItem | dxFormGroupItem | dxFormTabbedItem | dxFormEmptyItem | dxFormButtonItem)[] | undefined;
|
|
764
|
+
tabTemplate?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
765
|
+
template?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
766
|
+
title?: string | undefined;
|
|
767
|
+
tabRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
768
|
+
tabComponent?: React.ComponentType<any> | undefined;
|
|
769
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
770
|
+
component?: React.ComponentType<any> | undefined;
|
|
771
|
+
} & {
|
|
772
|
+
children?: React.ReactNode;
|
|
773
|
+
} & {
|
|
774
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
775
|
+
}>>) & NestedComponentMeta;
|
|
776
|
+
type ITabbedItemProps = React.PropsWithChildren<{
|
|
777
|
+
colSpan?: number | undefined;
|
|
778
|
+
cssClass?: string | undefined;
|
|
779
|
+
itemType?: FormItemType;
|
|
780
|
+
name?: string | undefined;
|
|
781
|
+
tabPanelOptions?: dxTabPanelOptions | undefined;
|
|
782
|
+
tabs?: Array<Record<string, any>> | {
|
|
783
|
+
alignItemLabels?: boolean;
|
|
784
|
+
badge?: string | undefined;
|
|
785
|
+
colCount?: number;
|
|
786
|
+
colCountByScreen?: Record<string, any> | {
|
|
787
|
+
lg?: number | undefined;
|
|
788
|
+
md?: number | undefined;
|
|
789
|
+
sm?: number | undefined;
|
|
790
|
+
xs?: number | undefined;
|
|
791
|
+
};
|
|
792
|
+
disabled?: boolean;
|
|
793
|
+
icon?: string | undefined;
|
|
794
|
+
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
795
|
+
tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
796
|
+
template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template | undefined;
|
|
797
|
+
title?: string | undefined;
|
|
798
|
+
}[];
|
|
799
|
+
visible?: boolean;
|
|
800
|
+
visibleIndex?: number | undefined;
|
|
801
|
+
}>;
|
|
802
|
+
declare const TabbedItem: ((props: ITabbedItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
803
|
+
colSpan?: number | undefined;
|
|
804
|
+
cssClass?: string | undefined;
|
|
805
|
+
itemType?: FormItemType | undefined;
|
|
806
|
+
name?: string | undefined;
|
|
807
|
+
tabPanelOptions?: dxTabPanelOptions | undefined;
|
|
808
|
+
tabs?: Record<string, any>[] | {
|
|
809
|
+
alignItemLabels?: boolean | undefined;
|
|
810
|
+
badge?: string | undefined;
|
|
811
|
+
colCount?: number | undefined;
|
|
812
|
+
colCountByScreen?: Record<string, any> | {
|
|
813
|
+
lg?: number | undefined;
|
|
814
|
+
md?: number | undefined;
|
|
815
|
+
sm?: number | undefined;
|
|
816
|
+
xs?: number | undefined;
|
|
817
|
+
} | undefined;
|
|
818
|
+
disabled?: boolean | undefined;
|
|
819
|
+
icon?: string | undefined;
|
|
820
|
+
items?: (dxFormSimpleItem | dxFormGroupItem | dxFormTabbedItem | dxFormEmptyItem | dxFormButtonItem)[] | undefined;
|
|
821
|
+
tabTemplate?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
822
|
+
template?: template | ((tabData: any, tabIndex: number, tabElement: any) => any) | undefined;
|
|
823
|
+
title?: string | undefined;
|
|
824
|
+
}[] | undefined;
|
|
825
|
+
visible?: boolean | undefined;
|
|
826
|
+
visibleIndex?: number | undefined;
|
|
827
|
+
} & {
|
|
828
|
+
children?: React.ReactNode;
|
|
829
|
+
} & {
|
|
830
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
831
|
+
}>>) & NestedComponentMeta;
|
|
832
|
+
type ITabPanelOptionsProps = React.PropsWithChildren<{
|
|
833
|
+
accessKey?: string | undefined;
|
|
834
|
+
activeStateEnabled?: boolean;
|
|
835
|
+
animationEnabled?: boolean;
|
|
836
|
+
dataSource?: Array<any | dxTabPanelItem | string> | DataSource | DataSourceOptions | null | Store | string;
|
|
837
|
+
deferRendering?: boolean;
|
|
838
|
+
disabled?: boolean;
|
|
839
|
+
elementAttr?: Record<string, any>;
|
|
840
|
+
focusStateEnabled?: boolean;
|
|
841
|
+
height?: number | string | undefined;
|
|
842
|
+
hint?: string | undefined;
|
|
843
|
+
hoverStateEnabled?: boolean;
|
|
844
|
+
iconPosition?: TabsIconPosition;
|
|
845
|
+
itemHoldTimeout?: number;
|
|
846
|
+
items?: Array<any | dxTabPanelItem | string>;
|
|
847
|
+
itemTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string | any) | template;
|
|
848
|
+
itemTitleTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string | any) | template;
|
|
849
|
+
keyExpr?: ((item: any) => any) | string;
|
|
850
|
+
loop?: boolean;
|
|
851
|
+
noDataText?: string;
|
|
852
|
+
onContentReady?: ((e: TabPanelContentReadyEvent) => void);
|
|
853
|
+
onDisposing?: ((e: TabPanelDisposingEvent) => void);
|
|
854
|
+
onInitialized?: ((e: TabPanelInitializedEvent) => void);
|
|
855
|
+
onItemClick?: ((e: ItemClickEvent) => void);
|
|
856
|
+
onItemContextMenu?: ((e: ItemContextMenuEvent) => void);
|
|
857
|
+
onItemHold?: ((e: ItemHoldEvent) => void);
|
|
858
|
+
onItemRendered?: ((e: ItemRenderedEvent) => void);
|
|
859
|
+
onOptionChanged?: ((e: TabPanelOptionChangedEvent) => void);
|
|
860
|
+
onSelectionChanged?: ((e: SelectionChangedEvent) => void);
|
|
861
|
+
onSelectionChanging?: ((e: SelectionChangingEvent) => void);
|
|
862
|
+
onTitleClick?: ((e: TitleClickEvent) => void);
|
|
863
|
+
onTitleHold?: ((e: TitleHoldEvent) => void);
|
|
864
|
+
onTitleRendered?: ((e: TitleRenderedEvent) => void);
|
|
865
|
+
repaintChangesOnly?: boolean;
|
|
866
|
+
rtlEnabled?: boolean;
|
|
867
|
+
scrollByContent?: boolean;
|
|
868
|
+
scrollingEnabled?: boolean;
|
|
869
|
+
selectedIndex?: number;
|
|
870
|
+
selectedItem?: any;
|
|
871
|
+
showNavButtons?: boolean;
|
|
872
|
+
stylingMode?: TabsStyle;
|
|
873
|
+
swipeEnabled?: boolean;
|
|
874
|
+
tabIndex?: number;
|
|
875
|
+
tabsPosition?: Position;
|
|
876
|
+
visible?: boolean;
|
|
877
|
+
width?: number | string | undefined;
|
|
878
|
+
defaultItems?: Array<any | dxTabPanelItem | string>;
|
|
879
|
+
onItemsChange?: (value: Array<any | dxTabPanelItem | string>) => void;
|
|
880
|
+
defaultSelectedIndex?: number;
|
|
881
|
+
onSelectedIndexChange?: (value: number) => void;
|
|
882
|
+
defaultSelectedItem?: any;
|
|
883
|
+
onSelectedItemChange?: (value: any) => void;
|
|
884
|
+
itemRender?: (...params: any) => React.ReactNode;
|
|
885
|
+
itemComponent?: React.ComponentType<any>;
|
|
886
|
+
itemTitleRender?: (...params: any) => React.ReactNode;
|
|
887
|
+
itemTitleComponent?: React.ComponentType<any>;
|
|
888
|
+
}>;
|
|
889
|
+
declare const TabPanelOptions: ((props: ITabPanelOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
890
|
+
accessKey?: string | undefined;
|
|
891
|
+
activeStateEnabled?: boolean | undefined;
|
|
892
|
+
animationEnabled?: boolean | undefined;
|
|
893
|
+
dataSource?: string | any[] | DataSource<any, any> | DataSourceOptions<any, any, any, any> | Store<any, any> | null | undefined;
|
|
894
|
+
deferRendering?: boolean | undefined;
|
|
895
|
+
disabled?: boolean | undefined;
|
|
896
|
+
elementAttr?: Record<string, any> | undefined;
|
|
897
|
+
focusStateEnabled?: boolean | undefined;
|
|
898
|
+
height?: number | string | undefined;
|
|
899
|
+
hint?: string | undefined;
|
|
900
|
+
hoverStateEnabled?: boolean | undefined;
|
|
901
|
+
iconPosition?: TabsIconPosition | undefined;
|
|
902
|
+
itemHoldTimeout?: number | undefined;
|
|
903
|
+
items?: any[] | undefined;
|
|
904
|
+
itemTemplate?: template | ((itemData: any, itemIndex: number, itemElement: any) => string | any) | undefined;
|
|
905
|
+
itemTitleTemplate?: template | ((itemData: any, itemIndex: number, itemElement: any) => string | any) | undefined;
|
|
906
|
+
keyExpr?: string | ((item: any) => any) | undefined;
|
|
907
|
+
loop?: boolean | undefined;
|
|
908
|
+
noDataText?: string | undefined;
|
|
909
|
+
onContentReady?: ((e: TabPanelContentReadyEvent) => void) | undefined;
|
|
910
|
+
onDisposing?: ((e: TabPanelDisposingEvent) => void) | undefined;
|
|
911
|
+
onInitialized?: ((e: TabPanelInitializedEvent) => void) | undefined;
|
|
912
|
+
onItemClick?: ((e: ItemClickEvent) => void) | undefined;
|
|
913
|
+
onItemContextMenu?: ((e: ItemContextMenuEvent) => void) | undefined;
|
|
914
|
+
onItemHold?: ((e: ItemHoldEvent) => void) | undefined;
|
|
915
|
+
onItemRendered?: ((e: ItemRenderedEvent) => void) | undefined;
|
|
916
|
+
onOptionChanged?: ((e: TabPanelOptionChangedEvent) => void) | undefined;
|
|
917
|
+
onSelectionChanged?: ((e: SelectionChangedEvent) => void) | undefined;
|
|
918
|
+
onSelectionChanging?: ((e: SelectionChangingEvent) => void) | undefined;
|
|
919
|
+
onTitleClick?: ((e: TitleClickEvent) => void) | undefined;
|
|
920
|
+
onTitleHold?: ((e: TitleHoldEvent) => void) | undefined;
|
|
921
|
+
onTitleRendered?: ((e: TitleRenderedEvent) => void) | undefined;
|
|
922
|
+
repaintChangesOnly?: boolean | undefined;
|
|
923
|
+
rtlEnabled?: boolean | undefined;
|
|
924
|
+
scrollByContent?: boolean | undefined;
|
|
925
|
+
scrollingEnabled?: boolean | undefined;
|
|
926
|
+
selectedIndex?: number | undefined;
|
|
927
|
+
selectedItem?: any;
|
|
928
|
+
showNavButtons?: boolean | undefined;
|
|
929
|
+
stylingMode?: TabsStyle | undefined;
|
|
930
|
+
swipeEnabled?: boolean | undefined;
|
|
931
|
+
tabIndex?: number | undefined;
|
|
932
|
+
tabsPosition?: Position | undefined;
|
|
933
|
+
visible?: boolean | undefined;
|
|
934
|
+
width?: number | string | undefined;
|
|
935
|
+
defaultItems?: any[] | undefined;
|
|
936
|
+
onItemsChange?: ((value: Array<any | dxTabPanelItem | string>) => void) | undefined;
|
|
937
|
+
defaultSelectedIndex?: number | undefined;
|
|
938
|
+
onSelectedIndexChange?: ((value: number) => void) | undefined;
|
|
939
|
+
defaultSelectedItem?: any;
|
|
940
|
+
onSelectedItemChange?: ((value: any) => void) | undefined;
|
|
941
|
+
itemRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
942
|
+
itemComponent?: React.ComponentType<any> | undefined;
|
|
943
|
+
itemTitleRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
944
|
+
itemTitleComponent?: React.ComponentType<any> | undefined;
|
|
945
|
+
} & {
|
|
946
|
+
children?: React.ReactNode;
|
|
947
|
+
} & {
|
|
948
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
949
|
+
}>>) & NestedComponentMeta;
|
|
950
|
+
type ITabPanelOptionsItemProps = React.PropsWithChildren<{
|
|
951
|
+
badge?: string;
|
|
952
|
+
disabled?: boolean;
|
|
953
|
+
html?: string;
|
|
954
|
+
icon?: string;
|
|
955
|
+
tabTemplate?: (() => string | any) | template;
|
|
956
|
+
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
|
|
957
|
+
text?: string;
|
|
958
|
+
title?: string;
|
|
959
|
+
visible?: boolean;
|
|
960
|
+
tabRender?: (...params: any) => React.ReactNode;
|
|
961
|
+
tabComponent?: React.ComponentType<any>;
|
|
962
|
+
render?: (...params: any) => React.ReactNode;
|
|
963
|
+
component?: React.ComponentType<any>;
|
|
964
|
+
}>;
|
|
965
|
+
declare const TabPanelOptionsItem: ((props: ITabPanelOptionsItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
966
|
+
badge?: string | undefined;
|
|
967
|
+
disabled?: boolean | undefined;
|
|
968
|
+
html?: string | undefined;
|
|
969
|
+
icon?: string | undefined;
|
|
970
|
+
tabTemplate?: template | (() => string | any) | undefined;
|
|
971
|
+
template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
|
|
972
|
+
text?: string | undefined;
|
|
973
|
+
title?: string | undefined;
|
|
974
|
+
visible?: boolean | undefined;
|
|
975
|
+
tabRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
976
|
+
tabComponent?: React.ComponentType<any> | undefined;
|
|
977
|
+
render?: ((...params: any) => React.ReactNode) | undefined;
|
|
978
|
+
component?: React.ComponentType<any> | undefined;
|
|
979
|
+
} & {
|
|
980
|
+
children?: React.ReactNode;
|
|
981
|
+
} & {
|
|
982
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
983
|
+
}>>) & NestedComponentMeta;
|
|
984
|
+
type IValidationRuleProps = React.PropsWithChildren<{
|
|
985
|
+
message?: string;
|
|
986
|
+
trim?: boolean;
|
|
987
|
+
type?: ValidationRuleType;
|
|
988
|
+
ignoreEmptyValue?: boolean;
|
|
989
|
+
max?: Date | number | string;
|
|
990
|
+
min?: Date | number | string;
|
|
991
|
+
reevaluate?: boolean;
|
|
992
|
+
validationCallback?: ((options: {
|
|
993
|
+
column: Record<string, any>;
|
|
994
|
+
data: Record<string, any>;
|
|
995
|
+
formItem: Record<string, any>;
|
|
996
|
+
rule: Record<string, any>;
|
|
997
|
+
validator: Record<string, any>;
|
|
998
|
+
value: any;
|
|
999
|
+
}) => boolean);
|
|
1000
|
+
comparisonTarget?: (() => any);
|
|
1001
|
+
comparisonType?: ComparisonOperator;
|
|
1002
|
+
pattern?: RegExp | string;
|
|
1003
|
+
}>;
|
|
1004
|
+
declare const ValidationRule: ((props: IValidationRuleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
1005
|
+
message?: string | undefined;
|
|
1006
|
+
trim?: boolean | undefined;
|
|
1007
|
+
type?: ValidationRuleType | undefined;
|
|
1008
|
+
ignoreEmptyValue?: boolean | undefined;
|
|
1009
|
+
max?: string | number | Date | undefined;
|
|
1010
|
+
min?: string | number | Date | undefined;
|
|
1011
|
+
reevaluate?: boolean | undefined;
|
|
1012
|
+
validationCallback?: ((options: {
|
|
1013
|
+
column: Record<string, any>;
|
|
1014
|
+
data: Record<string, any>;
|
|
1015
|
+
formItem: Record<string, any>;
|
|
1016
|
+
rule: Record<string, any>;
|
|
1017
|
+
validator: Record<string, any>;
|
|
1018
|
+
value: any;
|
|
1019
|
+
}) => boolean) | undefined;
|
|
1020
|
+
comparisonTarget?: (() => any) | undefined;
|
|
1021
|
+
comparisonType?: ComparisonOperator | undefined;
|
|
1022
|
+
pattern?: string | RegExp | undefined;
|
|
1023
|
+
} & {
|
|
1024
|
+
children?: React.ReactNode;
|
|
1025
|
+
} & {
|
|
1026
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
1027
|
+
}>>) & NestedComponentMeta;
|
|
1028
|
+
export default Form;
|
|
1029
|
+
export { Form, IFormOptions, FormRef, AIOptions, IAIOptionsProps, AsyncRule, IAsyncRuleProps, ButtonItem, IButtonItemProps, ButtonOptions, IButtonOptionsProps, ColCountByScreen, IColCountByScreenProps, CompareRule, ICompareRuleProps, CustomRule, ICustomRuleProps, EmailRule, IEmailRuleProps, EmptyItem, IEmptyItemProps, GroupItem, IGroupItemProps, Item, IItemProps, Label, ILabelProps, NumericRule, INumericRuleProps, PatternRule, IPatternRuleProps, RangeRule, IRangeRuleProps, RequiredRule, IRequiredRuleProps, SimpleItem, ISimpleItemProps, StringLengthRule, IStringLengthRuleProps, Tab, ITabProps, TabbedItem, ITabbedItemProps, TabPanelOptions, ITabPanelOptionsProps, TabPanelOptionsItem, ITabPanelOptionsItemProps, ValidationRule, IValidationRuleProps };
|
|
1030
|
+
import type * as FormTypes from 'devextreme/ui/form_types';
|
|
1031
|
+
export { FormTypes };
|