From bbad7aaf7e413719e78a51a23e5c6435f7b340e2 Mon Sep 17 00:00:00 2001 From: alexlavrov Date: Thu, 31 Oct 2024 20:22:10 +0400 Subject: [PATCH] Add undefined type to all fields with doctag "default undefined" --- packages/devextreme/js/animation/fx.d.ts | 4 +- packages/devextreme/js/common.d.ts | 6 +- packages/devextreme/js/common/charts.d.ts | 52 ++--- packages/devextreme/js/common/grids.d.ts | 84 ++++----- .../devextreme/js/core/dom_component.d.ts | 4 +- packages/devextreme/js/data/custom_store.d.ts | 2 +- packages/devextreme/js/data/data_source.d.ts | 4 +- packages/devextreme/js/excel_exporter.d.ts | 6 +- packages/devextreme/js/localization.d.ts | 2 +- packages/devextreme/js/pdf_exporter.d.ts | 22 +-- packages/devextreme/js/ui/accordion.d.ts | 2 +- packages/devextreme/js/ui/box.d.ts | 2 +- packages/devextreme/js/ui/button.d.ts | 2 +- packages/devextreme/js/ui/calendar.d.ts | 4 +- packages/devextreme/js/ui/chat.d.ts | 6 +- packages/devextreme/js/ui/check_box.d.ts | 2 +- packages/devextreme/js/ui/context_menu.d.ts | 6 +- packages/devextreme/js/ui/data_grid.d.ts | 52 ++--- packages/devextreme/js/ui/date_box.d.ts | 6 +- .../devextreme/js/ui/defer_rendering.d.ts | 6 +- packages/devextreme/js/ui/diagram.d.ts | 74 ++++---- packages/devextreme/js/ui/draggable.d.ts | 10 +- .../devextreme/js/ui/drop_down_button.d.ts | 4 +- .../drop_down_editor/ui.drop_down_editor.d.ts | 2 +- .../drop_down_editor/ui.drop_down_list.d.ts | 2 +- .../js/ui/editor/ui.data_expression.d.ts | 2 +- packages/devextreme/js/ui/file_manager.d.ts | 20 +- packages/devextreme/js/ui/file_uploader.d.ts | 4 +- packages/devextreme/js/ui/filter_builder.d.ts | 24 +-- packages/devextreme/js/ui/form.d.ts | 80 ++++---- packages/devextreme/js/ui/form/ui.form.d.ts | 8 +- packages/devextreme/js/ui/gallery.d.ts | 2 +- packages/devextreme/js/ui/gantt.d.ts | 16 +- packages/devextreme/js/ui/html_editor.d.ts | 8 +- packages/devextreme/js/ui/list.d.ts | 2 +- packages/devextreme/js/ui/load_panel.d.ts | 2 +- packages/devextreme/js/ui/number_box.d.ts | 6 +- packages/devextreme/js/ui/popover.d.ts | 14 +- packages/devextreme/js/ui/popup.d.ts | 4 +- packages/devextreme/js/ui/resizable.d.ts | 2 +- packages/devextreme/js/ui/responsive_box.d.ts | 10 +- packages/devextreme/js/ui/scheduler.d.ts | 22 +-- packages/devextreme/js/ui/sortable.d.ts | 2 +- packages/devextreme/js/ui/splitter.d.ts | 10 +- packages/devextreme/js/ui/tag_box.d.ts | 2 +- packages/devextreme/js/ui/text_area.d.ts | 4 +- packages/devextreme/js/ui/toolbar.d.ts | 2 +- packages/devextreme/js/ui/tree_list.d.ts | 8 +- packages/devextreme/js/ui/tree_view.d.ts | 6 +- .../js/ui/widget/ui.search_box_mixin.d.ts | 2 +- .../devextreme/js/ui/widget/ui.widget.d.ts | 4 +- packages/devextreme/js/viz/bar_gauge.d.ts | 14 +- packages/devextreme/js/viz/bullet.d.ts | 2 +- packages/devextreme/js/viz/chart.d.ts | 178 +++++++++--------- .../js/viz/chart_components/base_chart.d.ts | 16 +- .../devextreme/js/viz/circular_gauge.d.ts | 2 +- packages/devextreme/js/viz/common.d.ts | 18 +- .../devextreme/js/viz/core/base_widget.d.ts | 42 ++--- packages/devextreme/js/viz/funnel.d.ts | 22 +-- .../devextreme/js/viz/gauges/base_gauge.d.ts | 26 +-- packages/devextreme/js/viz/pie_chart.d.ts | 66 +++---- packages/devextreme/js/viz/polar_chart.d.ts | 148 +++++++-------- .../devextreme/js/viz/range_selector.d.ts | 50 ++--- packages/devextreme/js/viz/sankey.d.ts | 30 +-- packages/devextreme/js/viz/sparkline.d.ts | 4 +- .../js/viz/sparklines/base_sparkline.d.ts | 4 +- packages/devextreme/js/viz/tree_map.d.ts | 44 ++--- packages/devextreme/js/viz/vector_map.d.ts | 24 +-- 68 files changed, 661 insertions(+), 661 deletions(-) diff --git a/packages/devextreme/js/animation/fx.d.ts b/packages/devextreme/js/animation/fx.d.ts index 8cfa9aa74356..d92b547687a8 100644 --- a/packages/devextreme/js/animation/fx.d.ts +++ b/packages/devextreme/js/animation/fx.d.ts @@ -68,7 +68,7 @@ export type AnimationConfig = { * @default undefined * @public */ - direction?: Direction; + direction?: Direction | undefined; /** * @docid * @default 400 @@ -92,7 +92,7 @@ export type AnimationConfig = { * @default undefined * @public */ - staggerDelay?: number; + staggerDelay?: number | undefined; /** * @docid * @public diff --git a/packages/devextreme/js/common.d.ts b/packages/devextreme/js/common.d.ts index 6b2a1902b9c2..6a5868c90165 100644 --- a/packages/devextreme/js/common.d.ts +++ b/packages/devextreme/js/common.d.ts @@ -289,7 +289,7 @@ export type GlobalConfig = { * @default undefined * @public */ - editorStylingMode?: EditorStyle; + editorStylingMode?: EditorStyle | undefined; /** * @docid * @public @@ -754,14 +754,14 @@ export type TextEditorButton = { * @docid * @default undefined */ - name?: string; + name?: string | undefined; /** * @public * @docid * @type dxButtonOptions * @default undefined */ - options?: ButtonProperties; + options?: ButtonProperties | undefined; }; /** diff --git a/packages/devextreme/js/common/charts.d.ts b/packages/devextreme/js/common/charts.d.ts index d92415784ed2..60cfd7c39690 100644 --- a/packages/devextreme/js/common/charts.d.ts +++ b/packages/devextreme/js/common/charts.d.ts @@ -142,13 +142,13 @@ export type ScaleBreak = { * @default undefined * @public */ - endValue?: number | Date | string; + endValue?: number | Date | string | undefined; /** * @docid * @default undefined * @public */ - startValue?: number | Date | string; + startValue?: number | Date | string | undefined; }; /** @@ -219,7 +219,7 @@ export type TimeIntervalConfig = number | { weeks?: number; /** @docid VizTimeInterval.years */ years?: number; -} | TimeInterval; +} | TimeInterval | undefined; /** * @public @@ -247,7 +247,7 @@ export type VisualRange = { * @fires BaseWidgetOptions.onOptionChanged * @public */ - endValue?: number | Date | string; + endValue?: number | Date | string | undefined; /** * @docid * @inherits VizTimeInterval @@ -262,7 +262,7 @@ export type VisualRange = { * @fires BaseWidgetOptions.onOptionChanged * @public */ - startValue?: number | Date | string; + startValue?: number | Date | string | undefined; }; /** @@ -295,13 +295,13 @@ export type ChartsColor = { * @default undefined * @public */ - base?: string; + base?: string | undefined; /** * @docid * @default undefined * @public */ - fillId?: string; + fillId?: string | undefined; }; /** @@ -331,13 +331,13 @@ export type GradientColor = { * @default undefined * @public */ - offset: number | string; + offset: number | string | undefined; /** * @docid * @default undefined * @public */ - color: string; + color: string | undefined; }; /** @@ -393,7 +393,7 @@ export interface SeriesPoint { * @default undefined * @propertyOf dxChartSeriesTypes.LineSeries,dxChartSeriesTypes.StackedLineSeries,dxChartSeriesTypes.FullStackedLineSeries,dxChartSeriesTypes.StackedSplineSeries,dxChartSeriesTypes.FullStackedSplineSeries,dxChartSeriesTypes.SplineSeries,dxChartSeriesTypes.StepLineSeries,dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.ScatterSeries */ - color?: string; + color?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.point.border.visible * @default false @@ -413,7 +413,7 @@ export interface SeriesPoint { * @propertyOf dxChartSeriesTypes.LineSeries,dxChartSeriesTypes.StackedLineSeries,dxChartSeriesTypes.FullStackedLineSeries,dxChartSeriesTypes.StackedSplineSeries,dxChartSeriesTypes.FullStackedSplineSeries,dxChartSeriesTypes.SplineSeries,dxChartSeriesTypes.StepLineSeries,dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.ScatterSeries * @public */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.point.hoverMode * @default 'onlyPoint' @@ -437,7 +437,7 @@ export interface SeriesPoint { * @default undefined * @propertyOf dxChartSeriesTypes.LineSeries,dxChartSeriesTypes.StackedLineSeries,dxChartSeriesTypes.FullStackedLineSeries,dxChartSeriesTypes.StackedSplineSeries,dxChartSeriesTypes.FullStackedSplineSeries,dxChartSeriesTypes.SplineSeries,dxChartSeriesTypes.StepLineSeries,dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.ScatterSeries */ - color?: string; + color?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.point.hoverStyle.border.visible * @default true @@ -456,13 +456,13 @@ export interface SeriesPoint { * @default undefined * @propertyOf dxChartSeriesTypes.LineSeries,dxChartSeriesTypes.StackedLineSeries,dxChartSeriesTypes.FullStackedLineSeries,dxChartSeriesTypes.StackedSplineSeries,dxChartSeriesTypes.FullStackedSplineSeries,dxChartSeriesTypes.SplineSeries,dxChartSeriesTypes.StepLineSeries,dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.ScatterSeries */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.point.hoverStyle.size * @default undefined * @propertyOf dxChartSeriesTypes.LineSeries,dxChartSeriesTypes.StackedLineSeries,dxChartSeriesTypes.FullStackedLineSeries,dxChartSeriesTypes.StackedSplineSeries,dxChartSeriesTypes.FullStackedSplineSeries,dxChartSeriesTypes.SplineSeries,dxChartSeriesTypes.StepLineSeries,dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.ScatterSeries */ - size?: number; + size?: number | undefined; }; /** * @docid dxChartSeriesTypes.CommonSeries.point.image @@ -489,7 +489,7 @@ export interface SeriesPoint { * @propertyOf dxChartSeriesTypes.RangeAreaSeries */ rangeMinPoint?: number; - }; + } | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.point.image.url * @default undefined @@ -508,7 +508,7 @@ export interface SeriesPoint { * @propertyOf dxChartSeriesTypes.RangeAreaSeries */ rangeMinPoint?: string; - }; + } | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.point.image.width * @default 30 @@ -520,13 +520,13 @@ export interface SeriesPoint { * @default undefined * @propertyOf dxChartSeriesTypes.RangeAreaSeries */ - rangeMaxPoint?: number; + rangeMaxPoint?: number | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.point.image.width.rangeMinPoint * @default undefined * @propertyOf dxChartSeriesTypes.RangeAreaSeries */ - rangeMinPoint?: number; + rangeMinPoint?: number | undefined; }; }; /** @@ -552,7 +552,7 @@ export interface SeriesPoint { * @default undefined * @propertyOf dxChartSeriesTypes.LineSeries,dxChartSeriesTypes.StackedLineSeries,dxChartSeriesTypes.FullStackedLineSeries,dxChartSeriesTypes.StackedSplineSeries,dxChartSeriesTypes.FullStackedSplineSeries,dxChartSeriesTypes.SplineSeries,dxChartSeriesTypes.StepLineSeries,dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.ScatterSeries */ - color?: string; + color?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.point.selectionStyle.border.visible * @default true @@ -571,13 +571,13 @@ export interface SeriesPoint { * @default undefined * @propertyOf dxChartSeriesTypes.LineSeries,dxChartSeriesTypes.StackedLineSeries,dxChartSeriesTypes.FullStackedLineSeries,dxChartSeriesTypes.StackedSplineSeries,dxChartSeriesTypes.FullStackedSplineSeries,dxChartSeriesTypes.SplineSeries,dxChartSeriesTypes.StepLineSeries,dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.ScatterSeries */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.point.selectionStyle.size * @default undefined * @propertyOf dxChartSeriesTypes.LineSeries,dxChartSeriesTypes.StackedLineSeries,dxChartSeriesTypes.FullStackedLineSeries,dxChartSeriesTypes.StackedSplineSeries,dxChartSeriesTypes.FullStackedSplineSeries,dxChartSeriesTypes.SplineSeries,dxChartSeriesTypes.StepLineSeries,dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.ScatterSeries */ - size?: number; + size?: number | undefined; }; /** * @docid dxChartSeriesTypes.CommonSeries.point.size @@ -618,13 +618,13 @@ export interface SeriesLabel { * @default undefined * @public */ - argumentFormat?: Format; + argumentFormat?: Format | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.label.backgroundColor * @default undefined * @public */ - backgroundColor?: string; + backgroundColor?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.label.border * @public @@ -662,7 +662,7 @@ export interface SeriesLabel { * @default undefined * @propertyOf dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.BarSeries,dxChartSeriesTypes.BubbleSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.FullStackedBarSeries,dxChartSeriesTypes.FullStackedLineSeries,dxChartSeriesTypes.LineSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.RangeBarSeries,dxChartSeriesTypes.ScatterSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.SplineSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.StackedBarSeries,dxChartSeriesTypes.StackedLineSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.StackedSplineSeries,dxChartSeriesTypes.FullStackedSplineSeries,dxChartSeriesTypes.StepLineSeries */ - color?: string; + color?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.label.connector.visible * @default false @@ -695,7 +695,7 @@ export interface SeriesLabel { * @default undefined * @public */ - format?: Format; + format?: Format | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.label.horizontalOffset * @default 0 @@ -739,7 +739,7 @@ export interface SeriesLabel { * @default undefined * @public */ - displayFormat?: string; + displayFormat?: string | undefined; } /** diff --git a/packages/devextreme/js/common/grids.d.ts b/packages/devextreme/js/common/grids.d.ts index f7f4b5368cb2..b27d69a6a598 100644 --- a/packages/devextreme/js/common/grids.d.ts +++ b/packages/devextreme/js/common/grids.d.ts @@ -116,7 +116,7 @@ export interface ColumnBase { * @acceptValues undefined * @public */ - alignment?: HorizontalAlignment; + alignment?: HorizontalAlignment | undefined; /** * @docid GridBaseColumn.allowEditing * @default true @@ -213,13 +213,13 @@ export interface ColumnBase { * @default undefined * @public */ - caption?: string; + caption?: string | undefined; /** * @docid GridBaseColumn.cssClass * @default undefined * @public */ - cssClass?: string; + cssClass?: string | undefined; /** * @docid GridBaseColumn.customizeText * @type_function_context GridBaseColumn @@ -232,13 +232,13 @@ export interface ColumnBase { * @default undefined * @public */ - dataField?: string; + dataField?: string | undefined; /** * @docid GridBaseColumn.dataType * @default undefined * @public */ - dataType?: DataType; + dataType?: DataType | undefined; /** * @docid GridBaseColumn.editorOptions * @public @@ -261,7 +261,7 @@ export interface ColumnBase { * @default undefined * @public */ - filterOperations?: Array; + filterOperations?: Array | undefined; /** * @docid GridBaseColumn.filterType * @default "include" @@ -274,14 +274,14 @@ export interface ColumnBase { * @fires GridBaseOptions.onOptionChanged * @public */ - filterValue?: any; + filterValue?: any | undefined; /** * @docid GridBaseColumn.filterValues * @default undefined * @fires GridBaseOptions.onOptionChanged * @public */ - filterValues?: Array; + filterValues?: Array | undefined; /** * @docid GridBaseColumn.fixed * @default false @@ -293,7 +293,7 @@ export interface ColumnBase { * @default undefined * @public */ - fixedPosition?: FixedPosition; + fixedPosition?: FixedPosition | undefined; /** * @docid GridBaseColumn.formItem * @type dxFormSimpleItem @@ -312,44 +312,44 @@ export interface ColumnBase { * @default undefined * @public */ - headerFilter?: ColumnHeaderFilter; + headerFilter?: ColumnHeaderFilter | undefined; /** * @docid GridBaseColumn.hidingPriority * @default undefined * @public */ - hidingPriority?: number; + hidingPriority?: number | undefined; /** * @docid GridBaseColumn.isBand * @default undefined * @public */ - isBand?: boolean; + isBand?: boolean | undefined; /** * @docid GridBaseColumn.lookup * @type object * @default undefined * @public */ - lookup?: ColumnLookup; + lookup?: ColumnLookup | undefined; /** * @docid GridBaseColumn.minWidth * @default undefined * @public */ - minWidth?: number; + minWidth?: number | undefined; /** * @docid GridBaseColumn.name * @default undefined * @public */ - name?: string; + name?: string | undefined; /** * @docid GridBaseColumn.ownerBand * @default undefined * @public */ - ownerBand?: number; + ownerBand?: number | undefined; /** * @docid GridBaseColumn.renderAsync * @default false @@ -362,7 +362,7 @@ export interface ColumnBase { * @fires GridBaseOptions.onOptionChanged * @public */ - selectedFilterOperation?: SelectedFilterOperation; + selectedFilterOperation?: SelectedFilterOperation | undefined; /** * @docid GridBaseColumn.setCellValue * @type_function_context GridBaseColumn @@ -394,7 +394,7 @@ export interface ColumnBase { * @fires GridBaseOptions.onOptionChanged * @public */ - sortIndex?: number; + sortIndex?: number | undefined; /** * @docid GridBaseColumn.sortOrder * @default undefined @@ -402,14 +402,14 @@ export interface ColumnBase { * @fires GridBaseOptions.onOptionChanged * @public */ - sortOrder?: SortOrder; + sortOrder?: SortOrder | undefined; /** * @docid GridBaseColumn.sortingMethod * @default undefined * @type_function_context GridBaseColumn * @public */ - sortingMethod?: ((this: ColumnBase, value1: any, value2: any) => number); + sortingMethod?: ((this: ColumnBase, value1: any, value2: any) => number) | undefined; /** * @docid GridBaseColumn.trueText * @default "true" @@ -435,13 +435,13 @@ export interface ColumnBase { * @fires GridBaseOptions.onOptionChanged * @public */ - visibleIndex?: number; + visibleIndex?: number | undefined; /** * @docid GridBaseColumn.width * @default undefined * @public */ - width?: number | string; + width?: number | string | undefined; } /** @@ -490,7 +490,7 @@ export type ColumnChooser = { * @default undefined * @public */ - container?: string | UserDefinedElement; + container?: string | UserDefinedElement | undefined; /** * @docid GridBaseOptions.columnChooser.emptyPanelText * @default "Drag a column here to hide it" @@ -544,7 +544,7 @@ export type ColumnChooser = { * @docid GridBaseOptions.columnChooser.sortOrder * @default undefined */ - sortOrder?: SortOrder; + sortOrder?: SortOrder | undefined; }; /** @@ -721,17 +721,17 @@ export type ColumnHeaderFilter = { * @default undefined * @type Array|Store|DataSourceOptions|Function|null */ - dataSource?: FilterLookupDataSource | ((options: { component?: any; dataSource?: DataSourceOptions | null }) => void); + dataSource?: FilterLookupDataSource | ((options: { component?: any; dataSource?: DataSourceOptions | null }) => void) | undefined; /** * @docid GridBaseColumn.headerFilter.groupInterval * @default undefined */ - groupInterval?: HeaderFilterGroupInterval | number; + groupInterval?: HeaderFilterGroupInterval | number | undefined; /** * @docid GridBaseColumn.headerFilter.height * @default undefined */ - height?: number | string; + height?: number | string | undefined; /** * @docid GridBaseColumn.headerFilter.search */ @@ -746,7 +746,7 @@ export type ColumnHeaderFilter = { * @docid GridBaseColumn.headerFilter.width * @default undefined */ - width?: number | string; + width?: number | string | undefined; }; /** @@ -761,7 +761,7 @@ export type ColumnHeaderFilterSearchConfig = HeaderFilterSearchConfig & { * @type getter|Array * @default undefined */ - searchExpr?: string | Function | Array; + searchExpr?: string | Function | Array | undefined; }; /** @@ -781,18 +781,18 @@ export type ColumnLookup = { * @type_function_return Array|Store|DataSourceOptions * @type Array|Store|DataSourceOptions|Function|null */ - dataSource?: FilterLookupDataSource | ((options: { data?: any; key?: any }) => FilterLookupDataSource) | null; + dataSource?: FilterLookupDataSource | ((options: { data?: any; key?: any }) => FilterLookupDataSource) | null | undefined; /** * @docid GridBaseColumn.lookup.displayExpr * @default undefined * @type_function_param1 data:object */ - displayExpr?: string | ((data: any) => string); + displayExpr?: string | ((data: any) => string) | undefined; /** * @docid GridBaseColumn.lookup.valueExpr * @default undefined */ - valueExpr?: string; + valueExpr?: string | undefined; /** * @docid GridBaseColumn.lookup.calculateCellValue * @type_function_param1 rowData:object @@ -1869,7 +1869,7 @@ export type GridBaseOptions, TRowDat * @default undefined * @public */ - columnMinWidth?: number; + columnMinWidth?: number | undefined; /** * @docid * @default "nextColumn" @@ -1881,7 +1881,7 @@ export type GridBaseOptions, TRowDat * @default undefined * @public */ - columnWidth?: number | Mode; + columnWidth?: number | Mode | undefined; /** * @docid * @type Array @@ -1889,7 +1889,7 @@ export type GridBaseOptions, TRowDat * @default undefined * @public */ - columns?: Array | string>; + columns?: Array | string> | undefined; /** * @docid * @default null @@ -1981,7 +1981,7 @@ export type GridBaseOptions, TRowDat * @fires GridBaseOptions.onFocusedRowChanged * @public */ - focusedRowKey?: TKey; + focusedRowKey?: TKey | undefined; /** * @docid * @type object @@ -2580,12 +2580,12 @@ export type RowDragging, TRowData = * @docid GridBaseOptions.rowDragging.boundary * @default undefined */ - boundary?: string | UserDefinedElement; + boundary?: string | UserDefinedElement | undefined; /** * @docid GridBaseOptions.rowDragging.container * @default undefined */ - container?: string | UserDefinedElement; + container?: string | UserDefinedElement | undefined; /** * @docid GridBaseOptions.rowDragging.cursorOffset */ @@ -2605,7 +2605,7 @@ export type RowDragging, TRowData = * @docid GridBaseOptions.rowDragging.data * @default undefined */ - data?: any; + data?: any | undefined; /** * @docid GridBaseOptions.rowDragging.dragDirection * @default "both" @@ -2618,7 +2618,7 @@ export type RowDragging, TRowData = * @type_function_return string|Element|jQuery * @default undefined */ - dragTemplate?: template | ((dragInfo: RowDraggingTemplateData, containerElement: DxElement) => string | UserDefinedElement); + dragTemplate?: template | ((dragInfo: RowDraggingTemplateData, containerElement: DxElement) => string | UserDefinedElement) | undefined; /** * @docid GridBaseOptions.rowDragging.dropFeedbackMode * @default "indicate" @@ -2634,7 +2634,7 @@ export type RowDragging, TRowData = * @docid GridBaseOptions.rowDragging.group * @default undefined */ - group?: string; + group?: string | undefined; /** * @docid GridBaseOptions.rowDragging.handle * @default "" @@ -2980,7 +2980,7 @@ export interface ScrollingBase { * @default undefined * @public */ - renderAsync?: boolean; + renderAsync?: boolean | undefined; } /** diff --git a/packages/devextreme/js/core/dom_component.d.ts b/packages/devextreme/js/core/dom_component.d.ts index d0155930d743..7a52aa01534b 100644 --- a/packages/devextreme/js/core/dom_component.d.ts +++ b/packages/devextreme/js/core/dom_component.d.ts @@ -49,7 +49,7 @@ export interface DOMComponentOptions extends ComponentOptions< * @default undefined * @public */ - height?: number | string | (() => number | string); + height?: number | string | (() => number | string) | undefined; /** * @docid * @action @@ -77,7 +77,7 @@ export interface DOMComponentOptions extends ComponentOptions< * @default undefined * @public */ - width?: number | string | (() => number | string); + width?: number | string | (() => number | string) | undefined; } /** * @docid diff --git a/packages/devextreme/js/data/custom_store.d.ts b/packages/devextreme/js/data/custom_store.d.ts index 393939ed6022..222d495a08d8 100644 --- a/packages/devextreme/js/data/custom_store.d.ts +++ b/packages/devextreme/js/data/custom_store.d.ts @@ -104,7 +104,7 @@ export interface CustomStoreOptions< * @default undefined * @public */ - useDefaultSearch?: boolean; + useDefaultSearch?: boolean | undefined; } /** diff --git a/packages/devextreme/js/data/data_source.d.ts b/packages/devextreme/js/data/data_source.d.ts index 0222b5f1e5ff..efc983e6fb13 100644 --- a/packages/devextreme/js/data/data_source.d.ts +++ b/packages/devextreme/js/data/data_source.d.ts @@ -95,7 +95,7 @@ export interface DataSourceOptions< * @default undefined * @public */ - paginate?: boolean; + paginate?: boolean | undefined; /** * @docid * @type_function_param1 data:Array @@ -108,7 +108,7 @@ export interface DataSourceOptions< * @default undefined * @public */ - pushAggregationTimeout?: number; + pushAggregationTimeout?: number | undefined; /** * @docid * @public diff --git a/packages/devextreme/js/excel_exporter.d.ts b/packages/devextreme/js/excel_exporter.d.ts index 9caa39277801..c4cddd182240 100644 --- a/packages/devextreme/js/excel_exporter.d.ts +++ b/packages/devextreme/js/excel_exporter.d.ts @@ -141,7 +141,7 @@ export interface ExcelExportBaseProps { * @default undefined * @public */ - worksheet?: object; + worksheet?: object | undefined; /** * @docid * @default { row: 1, column: 1 } @@ -179,7 +179,7 @@ export interface ExcelExportDataGridProps extends ExcelExportBaseProps { * @default undefined * @public */ - component?: dxDataGrid; + component?: dxDataGrid | undefined; /** * @docid * @default false @@ -212,7 +212,7 @@ export interface ExcelExportPivotGridProps extends ExcelExportBaseProps { * @default undefined * @public */ - component?: dxPivotGrid; + component?: dxPivotGrid | undefined; /** * @docid * @default true diff --git a/packages/devextreme/js/localization.d.ts b/packages/devextreme/js/localization.d.ts index 7a9ca3a007fb..52d0f5343287 100644 --- a/packages/devextreme/js/localization.d.ts +++ b/packages/devextreme/js/localization.d.ts @@ -128,4 +128,4 @@ export type Format = ((value: number | Date) => string) | ((value: Date) => string) | ((value: number) => string) | - ExternalFormat; + ExternalFormat | undefined; diff --git a/packages/devextreme/js/pdf_exporter.d.ts b/packages/devextreme/js/pdf_exporter.d.ts index 50cf1e7c1dfd..c84402838790 100644 --- a/packages/devextreme/js/pdf_exporter.d.ts +++ b/packages/devextreme/js/pdf_exporter.d.ts @@ -153,13 +153,13 @@ export interface PdfExportDataGridProps { * @default undefined * @public */ - jsPDFDocument?: object; + jsPDFDocument?: object | undefined; /** * @docid * @default undefined * @public */ - component?: dxDataGrid; + component?: dxDataGrid | undefined; /** * @docid * @public @@ -183,7 +183,7 @@ export interface PdfExportDataGridProps { * @default undefined * @public */ - columnWidths?: Array; + columnWidths?: Array | undefined; /** * @docid * @default 0 @@ -282,19 +282,19 @@ export interface PdfExportGanttProps { * @default undefined * @public */ - jsPDFDocument?: object; + jsPDFDocument?: object | undefined; /** * @docid * @default undefined * @public */ - component?: dxGantt; + component?: dxGantt | undefined; /** * @docid * @default undefined * @public */ - format?: string | object; + format?: string | object | undefined; /** * @docid * @default true @@ -306,13 +306,13 @@ export interface PdfExportGanttProps { * @default undefined * @public */ - fileName?: string; + fileName?: string | undefined; /** * @docid * @default undefined * @public */ - margins?: object; + margins?: object | undefined; /** * @docid * @default 'all' @@ -340,13 +340,13 @@ export interface PdfExportGanttFont { * @default undefined * @public */ - fontObject: object; + fontObject: object | undefined; /** * @docid * @default undefined * @public */ - name: string; + name: string | undefined; /** * @docid * @default 'normal' @@ -360,7 +360,7 @@ export interface PdfExportGanttFont { * @acceptValues "normal" | "bold" | 400 | 700 * @public */ - weight?: string | number; + weight?: string | number | undefined; } /** diff --git a/packages/devextreme/js/ui/accordion.d.ts b/packages/devextreme/js/ui/accordion.d.ts index 5adf8da4f38d..ccccfa8e8e64 100644 --- a/packages/devextreme/js/ui/accordion.d.ts +++ b/packages/devextreme/js/ui/accordion.d.ts @@ -156,7 +156,7 @@ export interface dxAccordionOptions< * @default undefined * @public */ - height?: number | string | (() => number | string); + height?: number | string | (() => number | string) | undefined; /** * @docid * @default true diff --git a/packages/devextreme/js/ui/box.d.ts b/packages/devextreme/js/ui/box.d.ts index 4392472ffd22..ac99e11b055c 100644 --- a/packages/devextreme/js/ui/box.d.ts +++ b/packages/devextreme/js/ui/box.d.ts @@ -171,7 +171,7 @@ export interface dxBoxItem extends CollectionWidgetItem { * @public * @type dxBoxOptions */ - box?: dxBoxOptions; + box?: dxBoxOptions | undefined; /** * @docid * @default 0 diff --git a/packages/devextreme/js/ui/button.d.ts b/packages/devextreme/js/ui/button.d.ts index 3ba82d0055b1..6002849771f7 100644 --- a/packages/devextreme/js/ui/button.d.ts +++ b/packages/devextreme/js/ui/button.d.ts @@ -155,7 +155,7 @@ export interface dxButtonOptions extends WidgetOptions { * @default undefined * @public */ - validationGroup?: string; + validationGroup?: string | undefined; } /** * @docid diff --git a/packages/devextreme/js/ui/calendar.d.ts b/packages/devextreme/js/ui/calendar.d.ts index 3ed784196d27..36b05d2c476d 100644 --- a/packages/devextreme/js/ui/calendar.d.ts +++ b/packages/devextreme/js/ui/calendar.d.ts @@ -116,7 +116,7 @@ export interface dxCalendarOptions extends EditorOptions { * @default undefined * @public */ - dateSerializationFormat?: string; + dateSerializationFormat?: string | undefined; /** * @docid * @default null @@ -129,7 +129,7 @@ export interface dxCalendarOptions extends EditorOptions { * @default undefined * @public */ - firstDayOfWeek?: FirstDayOfWeek; + firstDayOfWeek?: FirstDayOfWeek | undefined; /** * @docid * @default true &for(desktop) diff --git a/packages/devextreme/js/ui/chat.d.ts b/packages/devextreme/js/ui/chat.d.ts index 4edc79502d00..721bf804ca01 100644 --- a/packages/devextreme/js/ui/chat.d.ts +++ b/packages/devextreme/js/ui/chat.d.ts @@ -130,13 +130,13 @@ export type Message = { * @default undefined * @public */ - timestamp?: Date | number | string; + timestamp?: Date | number | string | undefined; /** * @docid * @default undefined * @public */ - author?: User; + author?: User | undefined; /** * @docid * @default '' @@ -206,7 +206,7 @@ export interface dxChatOptions extends WidgetOptions { * @default undefined * @public */ - alerts?: Array; + errors?: Array | undefined; /** * @docid * @default [] diff --git a/packages/devextreme/js/ui/check_box.d.ts b/packages/devextreme/js/ui/check_box.d.ts index 2c0d2e676847..131bc27fcfcb 100644 --- a/packages/devextreme/js/ui/check_box.d.ts +++ b/packages/devextreme/js/ui/check_box.d.ts @@ -85,7 +85,7 @@ export interface dxCheckBoxOptions extends EditorOptions { * @default undefined * @public */ - iconSize?: number | string; + iconSize?: number | string | undefined; /** * @docid * @hidden false diff --git a/packages/devextreme/js/ui/context_menu.d.ts b/packages/devextreme/js/ui/context_menu.d.ts index b46cb82c015e..a84ed0e002b3 100644 --- a/packages/devextreme/js/ui/context_menu.d.ts +++ b/packages/devextreme/js/ui/context_menu.d.ts @@ -238,12 +238,12 @@ export interface dxContextMenuOptions< * @docid * @default undefined */ - delay?: number; + delay?: number | undefined; /** * @docid * @default undefined */ - name?: string; + name?: string | undefined; } | string; /** * @docid @@ -256,7 +256,7 @@ export interface dxContextMenuOptions< * @default undefined * @public */ - target?: string | UserDefinedElement; + target?: string | UserDefinedElement | undefined; /** * @docid * @default false diff --git a/packages/devextreme/js/ui/data_grid.d.ts b/packages/devextreme/js/ui/data_grid.d.ts index b8a13cf38af9..36d9bb1bfed5 100644 --- a/packages/devextreme/js/ui/data_grid.d.ts +++ b/packages/devextreme/js/ui/data_grid.d.ts @@ -1168,7 +1168,7 @@ export type dxDataGridOptions = Omit | string>; + columns?: Array | string> | undefined; /** * @docid * @type_function_param1 columns:Array @@ -1204,7 +1204,7 @@ export type dxDataGridOptions = Omit; + keyExpr?: string | Array | undefined; /** * @docid * @type object @@ -1423,7 +1423,7 @@ export type dxDataGridOptions = Omit; + sortByGroupSummaryInfo?: Array | undefined; /** * @docid * @type object @@ -1436,7 +1436,7 @@ export type dxDataGridOptions = Omit = { * @type Array * @default undefined */ - groupItems?: Array; + groupItems?: Array | undefined; /** * @docid dxDataGridOptions.summary.recalculateWhileEditing * @default false @@ -1684,7 +1684,7 @@ export type Summary = { * @type Array * @default undefined */ - totalItems?: Array; + totalItems?: Array | undefined; }; /** @public */ @@ -1707,7 +1707,7 @@ export type SummaryGroupItem = { * @docid dxDataGridOptions.summary.groupItems.column * @default undefined */ - column?: string; + column?: string | undefined; /** * @docid dxDataGridOptions.summary.groupItems.customizeText * @type_function_param1 itemInfo:object @@ -1717,17 +1717,17 @@ export type SummaryGroupItem = { * @docid dxDataGridOptions.summary.groupItems.displayFormat * @default undefined */ - displayFormat?: string; + displayFormat?: string | undefined; /** * @docid dxDataGridOptions.summary.groupItems.name * @default undefined */ - name?: string; + name?: string | undefined; /** * @docid dxDataGridOptions.summary.groupItems.showInColumn * @default undefined */ - showInColumn?: string; + showInColumn?: string | undefined; /** * @docid dxDataGridOptions.summary.groupItems.showInGroupFooter * @default false @@ -1741,12 +1741,12 @@ export type SummaryGroupItem = { * @docid dxDataGridOptions.summary.groupItems.summaryType * @default undefined */ - summaryType?: SummaryType | string; + summaryType?: SummaryType | string | undefined; /** * @docid dxDataGridOptions.summary.groupItems.valueFormat * @default undefined */ - valueFormat?: Format; + valueFormat?: Format | undefined; }; /** @@ -1758,17 +1758,17 @@ export type SummaryTotalItem = { * @docid dxDataGridOptions.summary.totalItems.alignment * @default undefined */ - alignment?: HorizontalAlignment; + alignment?: HorizontalAlignment | undefined; /** * @docid dxDataGridOptions.summary.totalItems.column * @default undefined */ - column?: string; + column?: string | undefined; /** * @docid dxDataGridOptions.summary.totalItems.cssClass * @default undefined */ - cssClass?: string; + cssClass?: string | undefined; /** * @docid dxDataGridOptions.summary.totalItems.customizeText * @type_function_param1 itemInfo:object @@ -1778,17 +1778,17 @@ export type SummaryTotalItem = { * @docid dxDataGridOptions.summary.totalItems.displayFormat * @default undefined */ - displayFormat?: string; + displayFormat?: string | undefined; /** * @docid dxDataGridOptions.summary.totalItems.name * @default undefined */ - name?: string; + name?: string | undefined; /** * @docid dxDataGridOptions.summary.totalItems.showInColumn * @default undefined */ - showInColumn?: string; + showInColumn?: string | undefined; /** * @docid dxDataGridOptions.summary.totalItems.skipEmptyValues */ @@ -1797,12 +1797,12 @@ export type SummaryTotalItem = { * @docid dxDataGridOptions.summary.totalItems.summaryType * @default undefined */ - summaryType?: SummaryType | string; + summaryType?: SummaryType | string | undefined; /** * @docid dxDataGridOptions.summary.totalItems.valueFormat * @default undefined */ - valueFormat?: Format; + valueFormat?: Format | undefined; }; /** @@ -1897,7 +1897,7 @@ export type Toolbar = { * @default undefined * @public */ - visible?: boolean; + visible?: boolean | undefined; /** * @docid dxDataGridToolbar.disabled * @default false @@ -2259,7 +2259,7 @@ export interface dxDataGridColumn extends ColumnBase * @default undefined * @public */ - columns?: Array | string>; + columns?: Array | string> | undefined; /** * @docid dxDataGridColumn.editCellTemplate * @type_function_param2 cellInfo:object @@ -2286,7 +2286,7 @@ export interface dxDataGridColumn extends ColumnBase * @fires dxDataGridOptions.onOptionChanged * @public */ - groupIndex?: number; + groupIndex?: number | undefined; /** * @docid dxDataGridColumn.headerCellTemplate * @type_function_param2 headerInfo:object diff --git a/packages/devextreme/js/ui/date_box.d.ts b/packages/devextreme/js/ui/date_box.d.ts index f40473eb31aa..c578f9705e3f 100644 --- a/packages/devextreme/js/ui/date_box.d.ts +++ b/packages/devextreme/js/ui/date_box.d.ts @@ -309,7 +309,7 @@ export interface DateBoxBaseOptions extends dxDropDownEditorOptions< * @default undefined * @public */ - dateSerializationFormat?: string; + dateSerializationFormat?: string | undefined; /** * @docid * @default null @@ -321,13 +321,13 @@ export interface DateBoxBaseOptions extends dxDropDownEditorOptions< * @default undefined * @public */ - max?: Date | number | string; + max?: Date | number | string | undefined; /** * @docid * @default undefined * @public */ - min?: Date | number | string; + min?: Date | number | string | undefined; /** * @docid * @default "Today" diff --git a/packages/devextreme/js/ui/defer_rendering.d.ts b/packages/devextreme/js/ui/defer_rendering.d.ts index abb81eb76620..6da5a98d6372 100644 --- a/packages/devextreme/js/ui/defer_rendering.d.ts +++ b/packages/devextreme/js/ui/defer_rendering.d.ts @@ -71,7 +71,7 @@ export interface dxDeferRenderingOptions extends WidgetOptions * @default undefined * @public */ - animation?: AnimationConfig; + animation?: AnimationConfig | undefined; /** * @docid * @default null @@ -94,7 +94,7 @@ export interface dxDeferRenderingOptions extends WidgetOptions * @default undefined * @public */ - renderWhen?: PromiseLike | boolean; + renderWhen?: PromiseLike | boolean | undefined; /** * @docid * @default false @@ -106,7 +106,7 @@ export interface dxDeferRenderingOptions extends WidgetOptions * @default undefined * @public */ - staggerItemSelector?: string; + staggerItemSelector?: string | undefined; } /** * @docid diff --git a/packages/devextreme/js/ui/diagram.d.ts b/packages/devextreme/js/ui/diagram.d.ts index 4bce2a60510c..a8866160b3da 100644 --- a/packages/devextreme/js/ui/diagram.d.ts +++ b/packages/devextreme/js/ui/diagram.d.ts @@ -256,7 +256,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - commands?: Array; + commands?: Array | undefined; /** * @docid * @default true @@ -527,22 +527,22 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - shapeMinWidth?: number; + shapeMinWidth?: number | undefined; /** * @docid * @default undefined */ - shapeMaxWidth?: number; + shapeMaxWidth?: number | undefined; /** * @docid * @default undefined */ - shapeMinHeight?: number; + shapeMinHeight?: number | undefined; /** * @docid * @default undefined */ - shapeMaxHeight?: number; + shapeMaxHeight?: number | undefined; }; /** * @docid @@ -606,7 +606,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - customDataExpr?: string | ((data: any, value?: any) => any); + customDataExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default null @@ -622,12 +622,12 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - fromLineEndExpr?: string | ((data: any, value?: any) => any); + fromLineEndExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - fromPointIndexExpr?: string | ((data: any, value?: any) => any); + fromPointIndexExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default "id" @@ -637,32 +637,32 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - lineTypeExpr?: string | ((data: any, value?: any) => any); + lineTypeExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - lockedExpr?: string | ((data: any, value?: any) => any); + lockedExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - pointsExpr?: string | ((data: any, value?: any) => any); + pointsExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - styleExpr?: string | ((data: any, value?: any) => any); + styleExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - textExpr?: string | ((data: any, value?: any) => any); + textExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - textStyleExpr?: string | ((data: any, value?: any) => any); + textStyleExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default "to" @@ -672,17 +672,17 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - toLineEndExpr?: string | ((data: any, value?: any) => any); + toLineEndExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - toPointIndexExpr?: string | ((data: any, value?: any) => any); + toPointIndexExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - zIndexExpr?: string | ((data: any, value?: any) => any); + zIndexExpr?: string | ((data: any, value?: any) => any) | undefined; }; /** * @docid @@ -750,12 +750,12 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - containerChildrenExpr?: string | ((data: any, value?: any) => any); + containerChildrenExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - customDataExpr?: string | ((data: any, value?: any) => any); + customDataExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default null @@ -766,17 +766,17 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - heightExpr?: string | ((data: any, value?: any) => any); + heightExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - imageUrlExpr?: string | ((data: any, value?: any) => any); + imageUrlExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - itemsExpr?: string | ((data: any, value?: any) => any); + itemsExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default "id" @@ -786,22 +786,22 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - leftExpr?: string | ((data: any, value?: any) => any); + leftExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - lockedExpr?: string | ((data: any, value?: any) => any); + lockedExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - parentKeyExpr?: string | ((data: any, value?: any) => any); + parentKeyExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - styleExpr?: string | ((data: any, value?: any) => any); + styleExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default "text" @@ -811,12 +811,12 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - textStyleExpr?: string | ((data: any, value?: any) => any); + textStyleExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - topExpr?: string | ((data: any, value?: any) => any); + topExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default "type" @@ -826,12 +826,12 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - widthExpr?: string | ((data: any, value?: any) => any); + widthExpr?: string | ((data: any, value?: any) => any) | undefined; /** * @docid * @default undefined */ - zIndexExpr?: string | ((data: any, value?: any) => any); + zIndexExpr?: string | ((data: any, value?: any) => any) | undefined; }; /** * @docid @@ -1004,7 +1004,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - commands?: Array; + commands?: Array | undefined; /** * @docid * @default false @@ -1021,7 +1021,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - commands?: Array; + commands?: Array | undefined; /** * @docid * @default true @@ -1038,7 +1038,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - commands?: Array; + commands?: Array | undefined; /** * @docid * @default true @@ -1076,7 +1076,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid */ title?: string; - }> | Array; + }> | Array | undefined; /** * @docid * @default 3 @@ -1096,7 +1096,7 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - width?: number; + width?: number | undefined; }; /** * @docid @@ -1120,13 +1120,13 @@ export interface dxDiagramOptions extends WidgetOptions { * @docid * @default undefined */ - items?: Array; + items?: Array | undefined; /** * @docid * @default undefined * @fires dxDiagramOptions.onOptionChanged */ - value?: number; + value?: number | undefined; }; } /** diff --git a/packages/devextreme/js/ui/draggable.d.ts b/packages/devextreme/js/ui/draggable.d.ts index 261ff15d9d5c..ae485039ca81 100644 --- a/packages/devextreme/js/ui/draggable.d.ts +++ b/packages/devextreme/js/ui/draggable.d.ts @@ -42,13 +42,13 @@ export interface DraggableBaseOptions extends DOMComponentOptions extends DOMComponentOptions extends DOMComponentOptions { * @default undefined * @public */ - dragTemplate?: template | ((dragInfo: DragTemplateData, containerElement: DxElement) => string | UserDefinedElement); + dragTemplate?: template | ((dragInfo: DragTemplateData, containerElement: DxElement) => string | UserDefinedElement | undefined); /** * @docid * @default null diff --git a/packages/devextreme/js/ui/drop_down_button.d.ts b/packages/devextreme/js/ui/drop_down_button.d.ts index 100ddc8eb681..0a9b0783e588 100644 --- a/packages/devextreme/js/ui/drop_down_button.d.ts +++ b/packages/devextreme/js/ui/drop_down_button.d.ts @@ -152,7 +152,7 @@ export interface dxDropDownButtonOptions extends WidgetOptions * @type_function_param1 itemData:object * @public */ - displayExpr?: string | ((itemData: any) => string); + displayExpr?: string | ((itemData: any) => string) | undefined; /** * @docid * @default "content" @@ -185,7 +185,7 @@ export interface dxDropDownButtonOptions extends WidgetOptions * @default undefined * @public */ - icon?: string; + icon?: string | undefined; /** * @docid * @default "item" diff --git a/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_editor.d.ts b/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_editor.d.ts index dd6084994fe5..8d9e52c65d4a 100644 --- a/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_editor.d.ts +++ b/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_editor.d.ts @@ -74,7 +74,7 @@ export interface dxDropDownEditorOptions extends Omit; + buttons?: Array | undefined; /** * @docid * @default true diff --git a/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_list.d.ts b/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_list.d.ts index 5f7e8cf0e7ab..2541e1649b7c 100644 --- a/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_list.d.ts +++ b/packages/devextreme/js/ui/drop_down_editor/ui.drop_down_list.d.ts @@ -56,7 +56,7 @@ export interface dxDropDownListOptions extends DataExpressionMixinOp * @ref * @public */ - displayValue?: string; + displayValue?: string | undefined; /** * @docid * @default "group" diff --git a/packages/devextreme/js/ui/editor/ui.data_expression.d.ts b/packages/devextreme/js/ui/editor/ui.data_expression.d.ts index 85bf54f884a8..49c5c8c1f39c 100644 --- a/packages/devextreme/js/ui/editor/ui.data_expression.d.ts +++ b/packages/devextreme/js/ui/editor/ui.data_expression.d.ts @@ -33,7 +33,7 @@ export interface DataExpressionMixinOptions { * @type_function_param1 item:object * @public */ - displayExpr?: string | ((item: any) => string); + displayExpr?: string | ((item: any) => string) | undefined; /** * @docid * @default "item" diff --git a/packages/devextreme/js/ui/file_manager.d.ts b/packages/devextreme/js/ui/file_manager.d.ts index cb068f2980d5..dcf1f1fed6c5 100644 --- a/packages/devextreme/js/ui/file_manager.d.ts +++ b/packages/devextreme/js/ui/file_manager.d.ts @@ -834,7 +834,7 @@ export interface dxFileManagerContextMenuItem extends dxContextMenuItem { * @default undefined * @public */ - visible?: boolean; + visible?: boolean | undefined; /** * @docid * @hidden @@ -897,7 +897,7 @@ export interface dxFileManagerToolbarItem extends dxToolbarItem { * @default undefined * @public */ - visible?: boolean; + visible?: boolean | undefined; /** * @docid * @hidden @@ -934,37 +934,37 @@ export interface dxFileManagerDetailsColumn { * @default undefined * @public */ - caption?: string; + caption?: string | undefined; /** * @docid * @default undefined * @public */ - cssClass?: string; + cssClass?: string | undefined; /** * @docid * @default undefined * @public */ - dataField?: string; + dataField?: string | undefined; /** * @docid * @default undefined * @public */ - dataType?: DataType; + dataType?: DataType | undefined; /** * @docid * @default undefined * @public */ - hidingPriority?: number; + hidingPriority?: number | undefined; /** * @docid * @default undefined * @public */ - sortIndex?: number; + sortIndex?: number | undefined; /** * @docid * @type Enums.SortOrder @@ -984,13 +984,13 @@ export interface dxFileManagerDetailsColumn { * @default undefined * @public */ - visibleIndex?: number; + visibleIndex?: number | undefined; /** * @docid * @default undefined * @public */ - width?: number | string; + width?: number | string | undefined; } /** @public */ diff --git a/packages/devextreme/js/ui/file_uploader.d.ts b/packages/devextreme/js/ui/file_uploader.d.ts index 1e9ff69045fa..b59341e50ac0 100644 --- a/packages/devextreme/js/ui/file_uploader.d.ts +++ b/packages/devextreme/js/ui/file_uploader.d.ts @@ -409,13 +409,13 @@ export interface dxFileUploaderOptions extends EditorOptions { * @default undefined * @public */ - dialogTrigger?: string | UserDefinedElement; + dialogTrigger?: string | UserDefinedElement | undefined; /** * @docid * @default undefined * @public */ - dropZone?: string | UserDefinedElement; + dropZone?: string | UserDefinedElement | undefined; /** * @docid * @default "Upload" diff --git a/packages/devextreme/js/ui/filter_builder.d.ts b/packages/devextreme/js/ui/filter_builder.d.ts index 8001a75b48c7..cfa42e21ebc8 100644 --- a/packages/devextreme/js/ui/filter_builder.d.ts +++ b/packages/devextreme/js/ui/filter_builder.d.ts @@ -306,7 +306,7 @@ export interface dxFilterBuilderOptions extends WidgetOptions { * @default undefined * @public */ - maxGroupLevel?: number; + maxGroupLevel?: number | undefined; /** * @docid * @type_function_param1 e:{ui/filter_builder:EditorPreparedEvent} @@ -378,7 +378,7 @@ export interface dxFilterBuilderCustomOperation { * @default undefined * @public */ - caption?: string; + caption?: string | undefined; /** * @docid * @type_function_param1_field field:dxFilterBuilderField:optional @@ -390,7 +390,7 @@ export interface dxFilterBuilderCustomOperation { * @default undefined * @public */ - dataTypes?: Array; + dataTypes?: Array | undefined; /** * @docid * @type_function_param1 conditionInfo:object @@ -410,13 +410,13 @@ export interface dxFilterBuilderCustomOperation { * @default undefined * @public */ - icon?: string; + icon?: string | undefined; /** * @docid * @default undefined * @public */ - name?: string; + name?: string | undefined; } export type FilterLookupDataSource = Exclude, string | DataSource>; @@ -445,7 +445,7 @@ export interface dxFilterBuilderField { * @default undefined * @public */ - caption?: string; + caption?: string | undefined; /** * @docid * @public @@ -456,7 +456,7 @@ export interface dxFilterBuilderField { * @default undefined * @public */ - dataField?: string; + dataField?: string | undefined; /** * @docid * @default "string" @@ -487,7 +487,7 @@ export interface dxFilterBuilderField { * @default undefined * @public */ - filterOperations?: Array; + filterOperations?: Array | undefined; /** * @docid * @default "" @@ -510,26 +510,26 @@ export interface dxFilterBuilderField { * @default undefined * @type Array | Store | DataSourceOptions */ - dataSource?: FilterLookupDataSource | null; + dataSource?: FilterLookupDataSource | null | undefined; /** * @docid * @default undefined * @type_function_param1 data:object */ - displayExpr?: string | ((data: any) => string); + displayExpr?: string | ((data: any) => string) | undefined; /** * @docid * @default undefined * @type_function_param1 data:object */ - valueExpr?: string | ((data: any) => string | number | boolean); + valueExpr?: string | ((data: any) => string | number | boolean) | undefined; }; /** * @docid * @default undefined * @public */ - name?: string; + name?: string | undefined; /** * @docid * @default "true" diff --git a/packages/devextreme/js/ui/form.d.ts b/packages/devextreme/js/ui/form.d.ts index f59e50bc8acd..09b069daf00b 100644 --- a/packages/devextreme/js/ui/form.d.ts +++ b/packages/devextreme/js/ui/form.d.ts @@ -180,7 +180,7 @@ export interface dxFormOptions extends WidgetOptions { * @default undefined * @public */ - colCountByScreen?: any; + colCountByScreen?: any | undefined; /** * @docid * @type_function_param1 item:dxFormSimpleItem|dxFormGroupItem|dxFormTabbedItem|dxFormEmptyItem|dxFormButtonItem @@ -206,7 +206,7 @@ export interface dxFormOptions extends WidgetOptions { * @default undefined * @public */ - items?: Array; + items?: Array | undefined; /** * @docid * @default "left" @@ -309,7 +309,7 @@ export interface dxFormOptions extends WidgetOptions { * @default undefined * @public */ - validationGroup?: string; + validationGroup?: string | undefined; /** * @docid * @default false @@ -427,19 +427,19 @@ export interface dxFormButtonItem { * @default undefined * @public */ - buttonOptions?: dxButtonOptions; + buttonOptions?: dxButtonOptions | undefined; /** * @docid * @default undefined * @public */ - colSpan?: number; + colSpan?: number | undefined; /** * @docid * @default undefined * @public */ - cssClass?: string; + cssClass?: string | undefined; /** * @docid * @default "right" @@ -457,7 +457,7 @@ export interface dxFormButtonItem { * @default undefined * @public */ - name?: string; + name?: string | undefined; /** * @docid * @default "top" @@ -475,7 +475,7 @@ export interface dxFormButtonItem { * @default undefined * @public */ - visibleIndex?: number; + visibleIndex?: number | undefined; } /** @@ -494,13 +494,13 @@ export interface dxFormEmptyItem { * @default undefined * @public */ - colSpan?: number; + colSpan?: number | undefined; /** * @docid * @default undefined * @public */ - cssClass?: string; + cssClass?: string | undefined; /** * @docid * @default "simple" @@ -512,7 +512,7 @@ export interface dxFormEmptyItem { * @default undefined * @public */ - name?: string; + name?: string | undefined; /** * @docid * @default true @@ -524,7 +524,7 @@ export interface dxFormEmptyItem { * @default undefined * @public */ - visibleIndex?: number; + visibleIndex?: number | undefined; } /** @@ -549,7 +549,7 @@ export interface dxFormGroupItem { * @default undefined * @public */ - caption?: string; + caption?: string | undefined; /** * @docid * @type_function_return string|Element|jQuery @@ -569,19 +569,19 @@ export interface dxFormGroupItem { * @default undefined * @public */ - colCountByScreen?: any; + colCountByScreen?: any | undefined; /** * @docid * @default undefined * @public */ - colSpan?: number; + colSpan?: number | undefined; /** * @docid * @default undefined * @public */ - cssClass?: string; + cssClass?: string | undefined; /** * @docid * @default "simple" @@ -594,13 +594,13 @@ export interface dxFormGroupItem { * @default undefined * @public */ - items?: Array; + items?: Array | undefined; /** * @docid * @default undefined * @public */ - name?: string; + name?: string | undefined; /** * @docid * @type_function_param1 data:object @@ -620,7 +620,7 @@ export interface dxFormGroupItem { * @default undefined * @public */ - visibleIndex?: number; + visibleIndex?: number | undefined; } /** @@ -639,25 +639,25 @@ export interface dxFormSimpleItem { * @default undefined * @public */ - colSpan?: number; + colSpan?: number | undefined; /** * @docid * @default undefined * @public */ - cssClass?: string; + cssClass?: string | undefined; /** * @docid * @default undefined * @public */ - dataField?: string; + dataField?: string | undefined; /** * @docid * @default undefined * @public */ - editorOptions?: any; + editorOptions?: any | undefined; /** * @docid * @public @@ -668,13 +668,13 @@ export interface dxFormSimpleItem { * @default undefined * @public */ - helpText?: string; + helpText?: string | undefined; /** * @docid * @default undefined * @public */ - isRequired?: boolean; + isRequired?: boolean | undefined; /** * @docid * @default "simple" @@ -712,7 +712,7 @@ export interface dxFormSimpleItem { * @docid * @default undefined */ - text?: string; + text?: string | undefined; /** * @docid * @default true @@ -724,7 +724,7 @@ export interface dxFormSimpleItem { * @default undefined * @public */ - name?: string; + name?: string | undefined; /** * @docid * @type_function_param1 data:object @@ -750,7 +750,7 @@ export interface dxFormSimpleItem { * @default undefined * @public */ - visibleIndex?: number; + visibleIndex?: number | undefined; } /** @@ -769,13 +769,13 @@ export interface dxFormTabbedItem { * @default undefined * @public */ - colSpan?: number; + colSpan?: number | undefined; /** * @docid * @default undefined * @public */ - cssClass?: string; + cssClass?: string | undefined; /** * @docid * @default "simple" @@ -787,13 +787,13 @@ export interface dxFormTabbedItem { * @default undefined * @public */ - name?: string; + name?: string | undefined; /** * @docid * @default undefined * @public */ - tabPanelOptions?: dxTabPanelOptions; + tabPanelOptions?: dxTabPanelOptions | undefined; /** * @docid * @default undefined @@ -809,7 +809,7 @@ export interface dxFormTabbedItem { * @docid * @default undefined */ - badge?: string; + badge?: string | undefined; /** * @docid * @default 1 @@ -821,7 +821,7 @@ export interface dxFormTabbedItem { * @inherits ColCountResponsible * @default undefined */ - colCountByScreen?: any; + colCountByScreen?: any | undefined; /** * @docid * @default false @@ -831,30 +831,30 @@ export interface dxFormTabbedItem { * @docid * @default undefined */ - icon?: string; + icon?: string | undefined; /** * @docid * @type Array * @default undefined */ - items?: Array; + items?: Array | undefined; /** * @docid * @type_function_param1 tabData:object * @default undefined */ - tabTemplate?: template | ((tabData: any, tabIndex: number, tabElement: DxElement) => any); + tabTemplate?: template | ((tabData: any, tabIndex: number, tabElement: DxElement) => any) | undefined; /** * @docid * @type_function_param1 tabData:object * @default undefined */ - template?: template | ((tabData: any, tabIndex: number, tabElement: DxElement) => any); + template?: template | ((tabData: any, tabIndex: number, tabElement: DxElement) => any) | undefined; /** * @docid * @default undefined */ - title?: string; + title?: string | undefined; }>; /** * @docid @@ -867,7 +867,7 @@ export interface dxFormTabbedItem { * @default undefined * @public */ - visibleIndex?: number; + visibleIndex?: number | undefined; } /** @public */ diff --git a/packages/devextreme/js/ui/form/ui.form.d.ts b/packages/devextreme/js/ui/form/ui.form.d.ts index 970e8c8d10eb..99e66eddf658 100644 --- a/packages/devextreme/js/ui/form/ui.form.d.ts +++ b/packages/devextreme/js/ui/form/ui.form.d.ts @@ -8,23 +8,23 @@ export interface ColCountResponsible { * @default undefined * @public */ - lg?: number; + lg?: number | undefined; /** * @docid * @default undefined * @public */ - md?: number; + md?: number | undefined; /** * @docid * @default undefined * @public */ - sm?: number; + sm?: number | undefined; /** * @docid * @default undefined * @public */ - xs?: number; + xs?: number | undefined; } diff --git a/packages/devextreme/js/ui/gallery.d.ts b/packages/devextreme/js/ui/gallery.d.ts index c4e051936c5e..c27e60791265 100644 --- a/packages/devextreme/js/ui/gallery.d.ts +++ b/packages/devextreme/js/ui/gallery.d.ts @@ -137,7 +137,7 @@ export interface dxGalleryOptions< * @default undefined * @public */ - initialItemWidth?: number; + initialItemWidth?: number | undefined; /** * @docid * @type Array diff --git a/packages/devextreme/js/ui/gantt.d.ts b/packages/devextreme/js/ui/gantt.d.ts index 97e0caa5a4dc..b461be6f4fa1 100644 --- a/packages/devextreme/js/ui/gantt.d.ts +++ b/packages/devextreme/js/ui/gantt.d.ts @@ -518,7 +518,7 @@ export interface dxGanttOptions extends WidgetOptions { * @default undefined * @public */ - columns?: Array; + columns?: Array | undefined; /** * @docid * @default null @@ -944,7 +944,7 @@ export interface dxGanttOptions extends WidgetOptions { * @default undefined * @public */ - selectedRowKey?: any; + selectedRowKey?: any | undefined; /** * @docid * @default true @@ -980,7 +980,7 @@ export interface dxGanttOptions extends WidgetOptions { * @default undefined * @public */ - firstDayOfWeek?: FirstDayOfWeek; + firstDayOfWeek?: FirstDayOfWeek | undefined; /** * @docid * @default null @@ -1045,7 +1045,7 @@ export interface dxGanttOptions extends WidgetOptions { * @default undefined * @public */ - stripLines?: Array; + stripLines?: Array | undefined; /** * @docid * @type_function_return string|Element|jQuery @@ -1432,25 +1432,25 @@ export interface dxGanttStripLine { * @default undefined * @public */ - cssClass?: string; + cssClass?: string | undefined; /** * @docid * @default undefined * @public */ - end?: Date | number | string | (() => Date | number | string); + end?: Date | number | string | (() => Date | number | string) | undefined; /** * @docid * @default undefined * @public */ - start?: Date | number | string | (() => Date | number | string); + start?: Date | number | string | (() => Date | number | string) | undefined; /** * @docid * @default undefined * @public */ - title?: string; + title?: string | undefined; } /** diff --git a/packages/devextreme/js/ui/html_editor.d.ts b/packages/devextreme/js/ui/html_editor.d.ts index a17504cff560..ac44d13f6495 100644 --- a/packages/devextreme/js/ui/html_editor.d.ts +++ b/packages/devextreme/js/ui/html_editor.d.ts @@ -472,13 +472,13 @@ export interface dxHtmlEditorImageUpload { * @default undefined * @public */ - uploadUrl?: string; + uploadUrl?: string | undefined; /** * @docid * @default undefined * @public */ - uploadDirectory?: string; + uploadDirectory?: string | undefined; /** * @docid * @default 'base64' @@ -517,7 +517,7 @@ export interface dxHtmlEditorImageUploadTabItem { * @default undefined * @public */ - name?: HtmlEditorImageUploadTab; + name?: HtmlEditorImageUploadTab | undefined; } /** @@ -556,7 +556,7 @@ export interface dxHtmlEditorTableContextMenuItem extends MenuBasePlainItem { * @default undefined * @public */ - name?: HtmlEditorPredefinedContextMenuItem; + name?: HtmlEditorPredefinedContextMenuItem | undefined; /** * @docid * @public diff --git a/packages/devextreme/js/ui/list.d.ts b/packages/devextreme/js/ui/list.d.ts index dc278622f40f..bebab8fd2f12 100644 --- a/packages/devextreme/js/ui/list.d.ts +++ b/packages/devextreme/js/ui/list.d.ts @@ -318,7 +318,7 @@ export interface dxListOptions< * @type_function_param1 item:object * @public */ - displayExpr?: string | ((item: TItem) => string); + displayExpr?: string | ((item: TItem) => string) | undefined; /** * @docid * @default true &for(desktop) diff --git a/packages/devextreme/js/ui/load_panel.d.ts b/packages/devextreme/js/ui/load_panel.d.ts index 5392eeee8788..44350522bd43 100644 --- a/packages/devextreme/js/ui/load_panel.d.ts +++ b/packages/devextreme/js/ui/load_panel.d.ts @@ -108,7 +108,7 @@ export interface dxLoadPanelOptions extends dxOverlayOptions { * @default undefined * @public */ - container?: string | UserDefinedElement; + container?: string | UserDefinedElement | undefined; /** * @docid * @default 0 diff --git a/packages/devextreme/js/ui/number_box.d.ts b/packages/devextreme/js/ui/number_box.d.ts index 800db028e92b..4dc1ba31921c 100644 --- a/packages/devextreme/js/ui/number_box.d.ts +++ b/packages/devextreme/js/ui/number_box.d.ts @@ -160,7 +160,7 @@ export interface dxNumberBoxOptions extends dxTextEditorOptions { * @default undefined * @public */ - buttons?: Array; + buttons?: Array | undefined; /** * @docid * @default "" @@ -178,13 +178,13 @@ export interface dxNumberBoxOptions extends dxTextEditorOptions { * @default undefined * @public */ - max?: number; + max?: number | undefined; /** * @docid * @default undefined * @public */ - min?: number; + min?: number | undefined; /** * @docid * @default "text" diff --git a/packages/devextreme/js/ui/popover.d.ts b/packages/devextreme/js/ui/popover.d.ts index 6020623dad31..8b239591f5c0 100644 --- a/packages/devextreme/js/ui/popover.d.ts +++ b/packages/devextreme/js/ui/popover.d.ts @@ -140,13 +140,13 @@ export interface dxPopoverOptions extends dxPopupOptions * @docid * @default undefined */ - delay?: number; + delay?: number | undefined; /** * @docid * @default undefined */ - name?: string; - } | string; + name?: string | undefined; + } | string | undefined; /** * @docid * @type boolean | function @@ -183,13 +183,13 @@ export interface dxPopoverOptions extends dxPopupOptions * @docid * @default undefined */ - delay?: number; + delay?: number | undefined; /** * @docid * @default undefined */ - name?: string; - } | string; + name?: string | undefined; + } | string | undefined; /** * @docid * @default false @@ -201,7 +201,7 @@ export interface dxPopoverOptions extends dxPopupOptions * @default undefined * @public */ - target?: string | UserDefinedElement; + target?: string | UserDefinedElement | undefined; /** * @docid * @default "auto" diff --git a/packages/devextreme/js/ui/popup.d.ts b/packages/devextreme/js/ui/popup.d.ts index 3cf795b168bd..692a641420fe 100644 --- a/packages/devextreme/js/ui/popup.d.ts +++ b/packages/devextreme/js/ui/popup.d.ts @@ -112,13 +112,13 @@ export interface dxPopupOptions extends dxOverlayOptions * @default undefined * @public */ - container?: string | UserDefinedElement; + container?: string | UserDefinedElement | undefined; /** * @docid * @default undefined * @public */ - dragAndResizeArea?: string | UserDefinedElement; + dragAndResizeArea?: string | UserDefinedElement | undefined; /** * @docid * @default false diff --git a/packages/devextreme/js/ui/resizable.d.ts b/packages/devextreme/js/ui/resizable.d.ts index 758dcce5f9c6..d8f16a6a773a 100644 --- a/packages/devextreme/js/ui/resizable.d.ts +++ b/packages/devextreme/js/ui/resizable.d.ts @@ -83,7 +83,7 @@ export interface dxResizableOptions extends DOMComponentOptions { * @default undefined * @public */ - area?: string | UserDefinedElement; + area?: string | UserDefinedElement | undefined; /** * @docid * @default "all" diff --git a/packages/devextreme/js/ui/responsive_box.d.ts b/packages/devextreme/js/ui/responsive_box.d.ts index ab8ad419ab06..ce2723a4af14 100644 --- a/packages/devextreme/js/ui/responsive_box.d.ts +++ b/packages/devextreme/js/ui/responsive_box.d.ts @@ -116,7 +116,7 @@ export interface dxResponsiveBoxOptions< * @docid * @default undefined */ - screen?: string; + screen?: string | undefined; /** * @docid * @default 1 @@ -162,7 +162,7 @@ export interface dxResponsiveBoxOptions< * @docid * @default undefined */ - screen?: string; + screen?: string | undefined; /** * @docid * @default 1 @@ -223,7 +223,7 @@ export interface dxResponsiveBoxItem extends CollectionWidgetItem { * @docid * @default undefined */ - colspan?: number; + colspan?: number | undefined; /** * @docid */ @@ -232,12 +232,12 @@ export interface dxResponsiveBoxItem extends CollectionWidgetItem { * @docid * @default undefined */ - rowspan?: number; + rowspan?: number | undefined; /** * @docid * @default undefined */ - screen?: string; + screen?: string | undefined; } | Array<{ col?: number; colspan?: number; row?: number; rowspan?: number; screen?: string }>; } diff --git a/packages/devextreme/js/ui/scheduler.d.ts b/packages/devextreme/js/ui/scheduler.d.ts index a37a90eb1e22..1879a944b4b8 100644 --- a/packages/devextreme/js/ui/scheduler.d.ts +++ b/packages/devextreme/js/ui/scheduler.d.ts @@ -444,12 +444,12 @@ export interface dxSchedulerOptions extends WidgetOptions { * @docid * @default undefined */ - data?: any; + data?: any | undefined; /** * @docid * @default undefined */ - group?: string; + group?: string | undefined; /** * @docid * @type_function_param1 e:object @@ -541,7 +541,7 @@ export interface dxSchedulerOptions extends WidgetOptions { * @default undefined * @public */ - customizeDateNavigatorText?: ((info: DateNavigatorTextInfo) => string); + customizeDateNavigatorText?: ((info: DateNavigatorTextInfo) => string) | undefined; /** * @docid * @default null @@ -568,7 +568,7 @@ export interface dxSchedulerOptions extends WidgetOptions { * @default undefined * @public */ - dateSerializationFormat?: string; + dateSerializationFormat?: string | undefined; /** * @docid * @default 'description' @@ -646,7 +646,7 @@ export interface dxSchedulerOptions extends WidgetOptions { * @default undefined * @public */ - firstDayOfWeek?: FirstDayOfWeek; + firstDayOfWeek?: FirstDayOfWeek | undefined; /** * @docid * @default true &for(desktop) @@ -676,7 +676,7 @@ export interface dxSchedulerOptions extends WidgetOptions { * @default undefined * @public */ - max?: Date | number | string; + max?: Date | number | string | undefined; /** * @docid * @default "auto" @@ -688,7 +688,7 @@ export interface dxSchedulerOptions extends WidgetOptions { * @default undefined * @public */ - min?: Date | number | string; + min?: Date | number | string | undefined; /** * @docid * @default "No data to display" @@ -1046,7 +1046,7 @@ export interface dxSchedulerOptions extends WidgetOptions { * @docid * @default undefined */ - firstDayOfWeek?: FirstDayOfWeek; + firstDayOfWeek?: FirstDayOfWeek | undefined; /** * @docid * @default false @@ -1075,7 +1075,7 @@ export interface dxSchedulerOptions extends WidgetOptions { * @docid * @default undefined */ - name?: string; + name?: string | undefined; /** * @docid * @default null @@ -1086,7 +1086,7 @@ export interface dxSchedulerOptions extends WidgetOptions { * @docid * @default undefined */ - startDate?: Date | number | string; + startDate?: Date | number | string | undefined; /** * @docid * @default 0 @@ -1102,7 +1102,7 @@ export interface dxSchedulerOptions extends WidgetOptions { * @docid * @default undefined */ - type?: ViewType; + type?: ViewType | undefined; /** * @docid */ diff --git a/packages/devextreme/js/ui/sortable.d.ts b/packages/devextreme/js/ui/sortable.d.ts index 0ca43e0f6f99..4d45525d7d62 100644 --- a/packages/devextreme/js/ui/sortable.d.ts +++ b/packages/devextreme/js/ui/sortable.d.ts @@ -284,7 +284,7 @@ export interface dxSortableOptions extends DraggableBaseOptions { * @default undefined * @public */ - dragTemplate?: template | ((dragInfo: DragTemplateData, containerElement: DxElement) => string | UserDefinedElement); + dragTemplate?: template | ((dragInfo: DragTemplateData, containerElement: DxElement) => string | UserDefinedElement | undefined); /** * @docid * @default "push" diff --git a/packages/devextreme/js/ui/splitter.d.ts b/packages/devextreme/js/ui/splitter.d.ts index 254726b90974..68f311ceea89 100644 --- a/packages/devextreme/js/ui/splitter.d.ts +++ b/packages/devextreme/js/ui/splitter.d.ts @@ -246,31 +246,31 @@ export interface dxSplitterItem extends CollectionWidgetItem { * @public * @type dxSplitterOptions */ - splitter?: Properties; + splitter?: Properties | undefined; /** * @docid * @default undefined * @public */ - size?: number | string; + size?: number | string | undefined; /** * @docid * @default undefined * @public */ - maxSize?: number | string; + maxSize?: number | string | undefined; /** * @docid * @default undefined * @public */ - minSize?: number | string; + minSize?: number | string | undefined; /** * @docid * @default undefined * @public */ - collapsedSize?: number | string; + collapsedSize?: number | string | undefined; /** * @docid * @default false diff --git a/packages/devextreme/js/ui/tag_box.d.ts b/packages/devextreme/js/ui/tag_box.d.ts index ab0c10ea9a76..81777a0c0465 100644 --- a/packages/devextreme/js/ui/tag_box.d.ts +++ b/packages/devextreme/js/ui/tag_box.d.ts @@ -232,7 +232,7 @@ export interface dxTagBoxOptions extends Pick, Excl * @default undefined * @public */ - maxDisplayedTags?: number; + maxDisplayedTags?: number | undefined; /** * @docid * @default true diff --git a/packages/devextreme/js/ui/text_area.d.ts b/packages/devextreme/js/ui/text_area.d.ts index 25e1fb968571..60ae24793f92 100644 --- a/packages/devextreme/js/ui/text_area.d.ts +++ b/packages/devextreme/js/ui/text_area.d.ts @@ -153,13 +153,13 @@ export interface dxTextAreaOptions extends dxTextBoxOptions { * @default undefined * @public */ - maxHeight?: number | string; + maxHeight?: number | string | undefined; /** * @docid * @default undefined * @public */ - minHeight?: number | string; + minHeight?: number | string | undefined; /** * @docid * @default true diff --git a/packages/devextreme/js/ui/toolbar.d.ts b/packages/devextreme/js/ui/toolbar.d.ts index bd461cb7a2ee..c44b6eaa6a52 100644 --- a/packages/devextreme/js/ui/toolbar.d.ts +++ b/packages/devextreme/js/ui/toolbar.d.ts @@ -168,7 +168,7 @@ export interface dxToolbarItem extends CollectionWidgetItem { * @default undefined * @public */ - cssClass?: string; + cssClass?: string | undefined; /** * @docid * @default 'never' diff --git a/packages/devextreme/js/ui/tree_list.d.ts b/packages/devextreme/js/ui/tree_list.d.ts index 97ac3423f925..c4e6b378ab63 100644 --- a/packages/devextreme/js/ui/tree_list.d.ts +++ b/packages/devextreme/js/ui/tree_list.d.ts @@ -903,7 +903,7 @@ export type dxTreeListOptions = Omit | string>; + columns?: Array | string> | undefined; /** * @docid * @type_function_param1 columns:Array @@ -1144,7 +1144,7 @@ export type dxTreeListOptions = Omit extends ColumnBase * @default undefined * @public */ - columns?: Array | string>; + columns?: Array | string> | undefined; /** * @docid dxTreeListColumn.editCellTemplate * @type_function_param2 cellInfo:object diff --git a/packages/devextreme/js/ui/tree_view.d.ts b/packages/devextreme/js/ui/tree_view.d.ts index dc21bb03bd48..c9415f478a43 100644 --- a/packages/devextreme/js/ui/tree_view.d.ts +++ b/packages/devextreme/js/ui/tree_view.d.ts @@ -592,7 +592,7 @@ export interface dxTreeViewItem extends CollectionWidgetItem { * @default undefined * @public */ - hasItems?: boolean; + hasItems?: boolean | undefined; /** * @docid * @public @@ -608,13 +608,13 @@ export interface dxTreeViewItem extends CollectionWidgetItem { * @default undefined * @public */ - id?: number | string; + id?: number | string | undefined; /** * @docid * @default undefined * @public */ - parentId?: number | string; + parentId?: number | string | undefined; /** * @docid * @default false diff --git a/packages/devextreme/js/ui/widget/ui.search_box_mixin.d.ts b/packages/devextreme/js/ui/widget/ui.search_box_mixin.d.ts index 43be2eda3a86..d5baa4cd7e01 100644 --- a/packages/devextreme/js/ui/widget/ui.search_box_mixin.d.ts +++ b/packages/devextreme/js/ui/widget/ui.search_box_mixin.d.ts @@ -43,7 +43,7 @@ export interface SearchBoxMixinOptions { * @default undefined * @public */ - searchTimeout?: number; + searchTimeout?: number | undefined; /** * @docid * @default "" diff --git a/packages/devextreme/js/ui/widget/ui.widget.d.ts b/packages/devextreme/js/ui/widget/ui.widget.d.ts index f36dd75cf3ef..87fe3bcd01f8 100644 --- a/packages/devextreme/js/ui/widget/ui.widget.d.ts +++ b/packages/devextreme/js/ui/widget/ui.widget.d.ts @@ -18,7 +18,7 @@ export interface WidgetOptions extends DOMComponentOptions extends DOMComponentOptions { * @type_function_return string|SVGElement|jQuery * @public */ - centerTemplate?: template | ((component: dxBarGauge, element: SVGGElement) => string | UserDefinedElement); + centerTemplate?: template | ((component: dxBarGauge, element: SVGGElement) => string | UserDefinedElement) | undefined; /** * @docid * @public @@ -252,7 +252,7 @@ export interface dxBarGaugeOptions extends BaseWidgetOptions { * @docid * @default undefined */ - connectorColor?: string; + connectorColor?: string | undefined; /** * @docid * @default 2 @@ -272,7 +272,7 @@ export interface dxBarGaugeOptions extends BaseWidgetOptions { * @docid * @default undefined */ - format?: Format; + format?: Format | undefined; /** * @docid * @default 20 @@ -390,7 +390,7 @@ export type Legend = BaseLegend & { * @default undefined * @public */ - itemTextFormat?: Format; + itemTextFormat?: Format | undefined; /** * @docid dxBarGaugeOptions.legend.markerTemplate * @default undefined @@ -398,7 +398,7 @@ export type Legend = BaseLegend & { * @type_function_return string|SVGElement|jQuery * @public */ - markerTemplate?: template | ((legendItem: LegendItem, element: SVGGElement) => string | UserDefinedElement); + markerTemplate?: template | ((legendItem: LegendItem, element: SVGGElement) => string | UserDefinedElement) | undefined; /** * @docid dxBarGaugeOptions.legend.visible * @default false @@ -429,14 +429,14 @@ export type Tooltip = BaseWidgetTooltip & { * @default undefined * @public */ - contentTemplate?: template | ((scaleValue: { value?: number; valueText?: string; index?: number }, element: DxElement) => string | UserDefinedElement); + contentTemplate?: template | ((scaleValue: { value?: number; valueText?: string; index?: number }, element: DxElement) => string | UserDefinedElement) | undefined; /** * @docid dxBarGaugeOptions.tooltip.customizeTooltip * @default undefined * @type_function_return object * @public */ - customizeTooltip?: ((scaleValue: { value?: number; valueText?: string; index?: number }) => any); + customizeTooltip?: ((scaleValue: { value?: number; valueText?: string; index?: number }) => any) | undefined; /** * @docid dxBarGaugeOptions.tooltip.interactive * @default false diff --git a/packages/devextreme/js/viz/bullet.d.ts b/packages/devextreme/js/viz/bullet.d.ts index bc8109b69794..bcbd6b775051 100644 --- a/packages/devextreme/js/viz/bullet.d.ts +++ b/packages/devextreme/js/viz/bullet.d.ts @@ -112,7 +112,7 @@ export interface dxBulletOptions extends BaseSparklineOptions { * @notUsedInTheme * @public */ - endScaleValue?: number; + endScaleValue?: number | undefined; /** * @docid * @default true diff --git a/packages/devextreme/js/viz/chart.d.ts b/packages/devextreme/js/viz/chart.d.ts index 6c898a30c081..b6a13f884b56 100644 --- a/packages/devextreme/js/viz/chart.d.ts +++ b/packages/devextreme/js/viz/chart.d.ts @@ -808,7 +808,7 @@ export interface dxChartOptions extends BaseChartOptions { * @propertyOf dxChartSeriesTypes.BarSeries,dxChartSeriesTypes.StackedBarSeries,dxChartSeriesTypes.FullStackedBarSeries,dxChartSeriesTypes.RangeBarSeries * @public */ - barGroupWidth?: number; + barGroupWidth?: number | undefined; /** * @docid * @public @@ -898,7 +898,7 @@ export interface dxChartOptions extends BaseChartOptions { * @docid * @default undefined */ - format?: Format; + format?: Format | undefined; /** * @docid * @default false @@ -909,7 +909,7 @@ export interface dxChartOptions extends BaseChartOptions { * @docid * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid * @default true @@ -944,7 +944,7 @@ export interface dxChartOptions extends BaseChartOptions { * @docid * @default undefined */ - format?: Format; + format?: Format | undefined; /** * @docid * @default false @@ -955,7 +955,7 @@ export interface dxChartOptions extends BaseChartOptions { * @docid * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid */ @@ -993,7 +993,7 @@ export interface dxChartOptions extends BaseChartOptions { * @docid * @default undefined */ - format?: Format; + format?: Format | undefined; /** * @docid * @default false @@ -1004,7 +1004,7 @@ export interface dxChartOptions extends BaseChartOptions { * @docid * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid * @default true @@ -1028,7 +1028,7 @@ export interface dxChartOptions extends BaseChartOptions { * @notUsedInTheme * @public */ - customizeAnnotation?: ((annotation: dxChartAnnotationConfig | any) => dxChartAnnotationConfig); + customizeAnnotation?: ((annotation: dxChartAnnotationConfig | any) => dxChartAnnotationConfig) | undefined; /** * @docid * @public @@ -1058,7 +1058,7 @@ export interface dxChartOptions extends BaseChartOptions { * @notUsedInTheme * @public */ - defaultPane?: string; + defaultPane?: string | undefined; /** * @docid * @type object @@ -1197,7 +1197,7 @@ export interface dxChartOptions extends BaseChartOptions { * @docid * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid * @default 'top' @@ -1222,7 +1222,7 @@ export interface dxChartOptions extends BaseChartOptions { * @inheritAll * @public */ - series?: ChartSeries | Array; + series?: ChartSeries | Array | undefined; /** * @docid * @default 'single' @@ -1299,12 +1299,12 @@ export interface dxChartOptions extends BaseChartOptions { * @docid * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid * @default undefined */ - opacity?: number; + opacity?: number | undefined; }; /** * @docid @@ -1340,7 +1340,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - aggregationGroupWidth?: number; + aggregationGroupWidth?: number | undefined; /** * @docid dxChartOptions.argumentAxis.aggregationInterval * @inherits VizTimeInterval @@ -1353,7 +1353,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - argumentType?: ChartsDataType; + argumentType?: ChartsDataType | undefined; /** * @docid dxChartOptions.argumentAxis.axisDivisionFactor * @default 70 @@ -1367,7 +1367,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @notUsedInTheme * @public */ - breaks?: Array; + breaks?: Array | undefined; /** * @docid dxChartOptions.argumentAxis.categories * @public @@ -1399,7 +1399,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - holidays?: Array | Array; + holidays?: Array | Array | undefined; /** * @docid dxChartOptions.argumentAxis.hoverMode * @default 'none' @@ -1417,7 +1417,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - linearThreshold?: number; + linearThreshold?: number | undefined; /** * @docid dxChartOptions.argumentAxis.logarithmBase * @default 10 @@ -1432,13 +1432,13 @@ export type ArgumentAxis = CommonAxisSettings & { * @notUsedInTheme * @public */ - minVisualRangeLength?: TimeIntervalConfig; + minVisualRangeLength?: TimeIntervalConfig | undefined; /** * @docid dxChartOptions.argumentAxis.minorTickCount * @default undefined * @public */ - minorTickCount?: number; + minorTickCount?: number | undefined; /** * @docid dxChartOptions.argumentAxis.minorTickInterval * @inherits VizTimeInterval @@ -1457,25 +1457,25 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - customPosition?: number | Date | string; + customPosition?: number | Date | string | undefined; /** * @docid dxChartOptions.argumentAxis.customPositionAxis * @default undefined * @public */ - customPositionAxis?: string; + customPositionAxis?: string | undefined; /** * @docid dxChartOptions.argumentAxis.offset * @default undefined * @public */ - offset?: number; + offset?: number | undefined; /** * @docid dxChartOptions.argumentAxis.singleWorkdays * @default undefined * @public */ - singleWorkdays?: Array | Array; + singleWorkdays?: Array | Array | undefined; /** * @docid dxChartOptions.argumentAxis.strips * @type Array @@ -1502,7 +1502,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - type?: AxisScaleType; + type?: AxisScaleType | undefined; /** * @docid dxChartOptions.argumentAxis.visualRange * @fires BaseWidgetOptions.onOptionChanged @@ -1521,7 +1521,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - wholeRange?: VisualRange | Array; + wholeRange?: VisualRange | Array | undefined; /** * @docid dxChartOptions.argumentAxis.workWeek * @default [1, 2, 3, 4, 5] @@ -1658,13 +1658,13 @@ export type ArgumentAxisStrips = CommonAxisSettingsStripStyle & { * @default undefined * @public */ - color?: string; + color?: string | undefined; /** * @docid dxChartOptions.argumentAxis.strips.endValue * @default undefined * @public */ - endValue?: number | Date | string; + endValue?: number | Date | string | undefined; /** * @docid dxChartOptions.argumentAxis.strips.label * @type object @@ -1676,7 +1676,7 @@ export type ArgumentAxisStrips = CommonAxisSettingsStripStyle & { * @default undefined * @public */ - startValue?: number | Date | string; + startValue?: number | Date | string | undefined; }; /** * @public @@ -1689,7 +1689,7 @@ export type ArgumentAxisStripsLabel = CommonAxisSettingsStripStyleLabel & { * @default undefined * @public */ - text?: string; + text?: string | undefined; }; /** * @public @@ -1702,7 +1702,7 @@ export type ArgumentAxisTitle = CommonAxisSettingsTitle & { * @default undefined * @public */ - text?: string; + text?: string | undefined; }; /** * @public @@ -1715,7 +1715,7 @@ export type CommonAxisSettings = { * @default undefined * @public */ - allowDecimals?: boolean; + allowDecimals?: boolean | undefined; /** * @docid dxChartOptions.commonAxisSettings.breakStyle * @public @@ -1766,7 +1766,7 @@ export type CommonAxisSettings = { * @default undefined * @public */ - endOnTick?: boolean; + endOnTick?: boolean | undefined; /** * @docid dxChartOptions.commonAxisSettings.grid * @public @@ -1781,7 +1781,7 @@ export type CommonAxisSettings = { * @docid dxChartOptions.commonAxisSettings.grid.opacity * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid dxChartOptions.commonAxisSettings.grid.visible * @default false @@ -1810,13 +1810,13 @@ export type CommonAxisSettings = { * @default undefined * @public */ - maxValueMargin?: number; + maxValueMargin?: number | undefined; /** * @docid dxChartOptions.commonAxisSettings.minValueMargin * @default undefined * @public */ - minValueMargin?: number; + minValueMargin?: number | undefined; /** * @docid dxChartOptions.commonAxisSettings.minorGrid * @public @@ -1831,7 +1831,7 @@ export type CommonAxisSettings = { * @docid dxChartOptions.commonAxisSettings.minorGrid.opacity * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid dxChartOptions.commonAxisSettings.minorGrid.visible * @default false @@ -1884,7 +1884,7 @@ export type CommonAxisSettings = { * @default undefined * @public */ - opacity?: number; + opacity?: number | undefined; /** * @docid dxChartOptions.commonAxisSettings.placeholderSize * @default null @@ -1916,7 +1916,7 @@ export type CommonAxisSettings = { * @docid dxChartOptions.commonAxisSettings.tick.opacity * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid dxChartOptions.commonAxisSettings.tick.shift * @default 3 @@ -2037,13 +2037,13 @@ export type CommonAxisSettingsLabel = { * @type_function_return string|SVGElement|jQuery * @public */ - template?: template | ((data: object, element: SVGGElement) => string | UserDefinedElement); + template?: template | ((data: object, element: SVGGElement) => string | UserDefinedElement) | undefined; /** * @docid dxChartOptions.commonAxisSettings.label.alignment * @default undefined * @public */ - alignment?: HorizontalAlignment; + alignment?: HorizontalAlignment | undefined; /** * @docid dxChartOptions.commonAxisSettings.label.displayMode * @default 'standard' @@ -2230,7 +2230,7 @@ export type CommonPaneSettings = { * @docid dxChartOptions.commonPaneSettings.border.opacity * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid dxChartOptions.commonPaneSettings.border.right * @default true @@ -2422,13 +2422,13 @@ export type Panes = CommonPaneSettings & { * @default undefined * @public */ - height?: number | string; + height?: number | string | undefined; /** * @docid dxChartOptions.panes.name * @default undefined * @public */ - name?: string; + name?: string | undefined; }; /** * @bublic @@ -2468,7 +2468,7 @@ export type ValueAxis = CommonAxisSettings & { * @notUsedInTheme * @public */ - breaks?: Array; + breaks?: Array | undefined; /** * @docid dxChartOptions.valueAxis.categories * @public @@ -2494,7 +2494,7 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - endOnTick?: boolean; + endOnTick?: boolean | undefined; /** * @docid dxChartOptions.valueAxis.label * @type object @@ -2506,7 +2506,7 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - linearThreshold?: number; + linearThreshold?: number | undefined; /** * @docid dxChartOptions.valueAxis.logarithmBase * @default 10 @@ -2527,13 +2527,13 @@ export type ValueAxis = CommonAxisSettings & { * @notUsedInTheme * @public */ - minVisualRangeLength?: TimeIntervalConfig; + minVisualRangeLength?: TimeIntervalConfig | undefined; /** * @docid dxChartOptions.valueAxis.minorTickCount * @default undefined * @public */ - minorTickCount?: number; + minorTickCount?: number | undefined; /** * @docid dxChartOptions.valueAxis.minorTickInterval * @inherits VizTimeInterval @@ -2553,13 +2553,13 @@ export type ValueAxis = CommonAxisSettings & { * @notUsedInTheme * @public */ - name?: string; + name?: string | undefined; /** * @docid dxChartOptions.valueAxis.pane * @default undefined * @public */ - pane?: string; + pane?: string | undefined; /** * @docid dxChartOptions.valueAxis.position * @default 'left' @@ -2571,19 +2571,19 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - customPosition?: number | Date | string; + customPosition?: number | Date | string | undefined; /** * @docid dxChartOptions.valueAxis.offset * @default undefined * @public */ - offset?: number; + offset?: number | undefined; /** * @docid dxChartOptions.valueAxis.showZero * @default undefined * @public */ - showZero?: boolean; + showZero?: boolean | undefined; /** * @docid dxChartOptions.valueAxis.strips * @type Array @@ -2597,7 +2597,7 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - synchronizedValue?: number; + synchronizedValue?: number | undefined; /** * @docid dxChartOptions.valueAxis.tickInterval * @inherits VizTimeInterval @@ -2616,13 +2616,13 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - type?: AxisScaleType; + type?: AxisScaleType | undefined; /** * @docid dxChartOptions.valueAxis.valueType * @default undefined * @public */ - valueType?: ChartsDataType; + valueType?: ChartsDataType | undefined; /** * @docid dxChartOptions.valueAxis.visualRange * @fires BaseWidgetOptions.onOptionChanged @@ -2641,7 +2641,7 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - wholeRange?: VisualRange | Array; + wholeRange?: VisualRange | Array | undefined; }; /** * @public @@ -2704,7 +2704,7 @@ export type ValueAxisConstantLines = CommonAxisSettingsConstantLineStyle & { * @default undefined * @public */ - value?: number | Date | string; + value?: number | Date | string | undefined; }; /** * @public @@ -2723,7 +2723,7 @@ export type ValueAxisConstantLinesLabel = CommonAxisSettingsConstantLineStyleLab * @default undefined * @public */ - text?: string; + text?: string | undefined; /** * @docid dxChartOptions.valueAxis.constantLines.label.verticalAlignment * @default 'top' @@ -2753,7 +2753,7 @@ export type ValueAxisLabel = CommonAxisSettingsLabel & { * @default undefined * @public */ - format?: Format; + format?: Format | undefined; }; /** * @public @@ -2766,13 +2766,13 @@ export type ValueAxisStrips = CommonAxisSettingsStripStyle & { * @default undefined * @public */ - color?: string; + color?: string | undefined; /** * @docid dxChartOptions.valueAxis.strips.endValue * @default undefined * @public */ - endValue?: number | Date | string; + endValue?: number | Date | string | undefined; /** * @docid dxChartOptions.valueAxis.strips.label * @type object @@ -2784,7 +2784,7 @@ export type ValueAxisStrips = CommonAxisSettingsStripStyle & { * @default undefined * @public */ - startValue?: number | Date | string; + startValue?: number | Date | string | undefined; }; /** * @public @@ -2797,7 +2797,7 @@ export type ValueAxisStripsLabel = CommonAxisSettingsStripStyleLabel & { * @default undefined * @public */ - text?: string; + text?: string | undefined; }; /** * @public @@ -2810,7 +2810,7 @@ export type ValueAxisTitle = CommonAxisSettingsTitle & { * @default undefined * @public */ - text?: string; + text?: string | undefined; }; /** * @docid @@ -2863,7 +2863,7 @@ export interface dxChartAnnotationConfig extends dxChartCommonAnnotationConfig { * @default undefined * @public */ - name?: string; + name?: string | undefined; } /** @@ -2878,7 +2878,7 @@ export interface dxChartCommonAnnotationConfig extends BaseChartAnnotationConfig * @default undefined * @public */ - axis?: string; + axis?: string | undefined; /** * @docid * @type_function_return object @@ -2886,21 +2886,21 @@ export interface dxChartCommonAnnotationConfig extends BaseChartAnnotationConfig * @notUsedInTheme * @public */ - customizeTooltip?: ((annotation: dxChartAnnotationConfig | any) => any); + customizeTooltip?: ((annotation: dxChartAnnotationConfig | any) => any) | undefined; /** * @docid * @default undefined * @type_function_return string|SVGElement|jQuery * @public */ - template?: template | ((annotation: dxChartAnnotationConfig | any, element: SVGGElement) => string | UserDefinedElement); + template?: template | ((annotation: dxChartAnnotationConfig | any, element: SVGGElement) => string | UserDefinedElement) | undefined; /** * @docid * @type_function_return string|Element|jQuery * @default undefined * @public */ - tooltipTemplate?: template | ((annotation: dxChartAnnotationConfig | any, element: DxElement) => string | UserDefinedElement); + tooltipTemplate?: template | ((annotation: dxChartAnnotationConfig | any, element: DxElement) => string | UserDefinedElement) | undefined; } /** @@ -3350,28 +3350,28 @@ export interface dxChartSeriesTypesCommonSeries { * @default undefined * @public */ - axis?: string; + axis?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.barOverlapGroup * @default undefined * @propertyOf dxChartSeriesTypes.BarSeries,dxChartSeriesTypes.RangeBarSeries * @public */ - barOverlapGroup?: string; + barOverlapGroup?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.barPadding * @default undefined * @propertyOf dxChartSeriesTypes.BarSeries,dxChartSeriesTypes.StackedBarSeries,dxChartSeriesTypes.FullStackedBarSeries,dxChartSeriesTypes.RangeBarSeries * @public */ - barPadding?: number; + barPadding?: number | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.barWidth * @default undefined * @propertyOf dxChartSeriesTypes.BarSeries,dxChartSeriesTypes.StackedBarSeries,dxChartSeriesTypes.FullStackedBarSeries,dxChartSeriesTypes.RangeBarSeries * @public */ - barWidth?: number; + barWidth?: number | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.border * @type object @@ -3392,7 +3392,7 @@ export interface dxChartSeriesTypesCommonSeries { * @default undefined * @public */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.cornerRadius * @default 0 @@ -3458,14 +3458,14 @@ export interface dxChartSeriesTypesCommonSeries { * @default undefined * @public */ - maxLabelCount?: number; + maxLabelCount?: number | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.minBarSize * @default undefined * @propertyOf dxChartSeriesTypes.StackedBarSeries,dxChartSeriesTypes.FullStackedBarSeries,dxChartSeriesTypes.BarSeries,dxChartSeriesTypes.RangeBarSeries * @public */ - minBarSize?: number; + minBarSize?: number | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.opacity * @default 0.5 @@ -3592,7 +3592,7 @@ export interface dxChartSeriesTypesCommonSeries { * @docid dxChartSeriesTypes.CommonSeries.valueErrorBar.highValueField * @default undefined */ - highValueField?: string; + highValueField?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.valueErrorBar.lineWidth * @default 2 @@ -3602,17 +3602,17 @@ export interface dxChartSeriesTypesCommonSeries { * @docid dxChartSeriesTypes.CommonSeries.valueErrorBar.lowValueField * @default undefined */ - lowValueField?: string; + lowValueField?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.valueErrorBar.opacity * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.valueErrorBar.type * @default undefined */ - type?: ValueErrorBarType; + type?: ValueErrorBarType | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.valueErrorBar.value * @default 1 @@ -3649,7 +3649,7 @@ export interface dxChartSeriesTypesCommonSeriesAggregation { * @default undefined * @public */ - calculate?: ((aggregationInfo: chartPointAggregationInfoObject, series: chartSeriesObject) => any | Array); + calculate?: ((aggregationInfo: chartPointAggregationInfoObject, series: chartSeriesObject) => any | Array) | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.aggregation.enabled * @default false @@ -3670,14 +3670,14 @@ export interface dxChartSeriesTypesCommonSeriesBorder { * @propertyOf dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.BarSeries,dxChartSeriesTypes.StackedBarSeries,dxChartSeriesTypes.FullStackedBarSeries,dxChartSeriesTypes.RangeBarSeries,dxChartSeriesTypes.BubbleSeries * @public */ - color?: string; + color?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.border.dashStyle * @default undefined * @propertyOf dxChartSeriesTypes.AreaSeries,dxChartSeriesTypes.StackedAreaSeries,dxChartSeriesTypes.FullStackedAreaSeries,dxChartSeriesTypes.StackedSplineAreaSeries,dxChartSeriesTypes.FullStackedSplineAreaSeries,dxChartSeriesTypes.SplineAreaSeries,dxChartSeriesTypes.StepAreaSeries,dxChartSeriesTypes.RangeAreaSeries,dxChartSeriesTypes.BarSeries,dxChartSeriesTypes.StackedBarSeries,dxChartSeriesTypes.FullStackedBarSeries,dxChartSeriesTypes.RangeBarSeries,dxChartSeriesTypes.BubbleSeries * @public */ - dashStyle?: DashStyle; + dashStyle?: DashStyle | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.border.visible * @default false @@ -3707,7 +3707,7 @@ export interface dxChartSeriesTypesCommonSeriesHoverStyle { * @default undefined * @public */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.hoverStyle.dashStyle * @default 'solid' @@ -3743,7 +3743,7 @@ export interface dxChartSeriesTypesCommonSeriesHoverStyleBorder { * @default undefined * @public */ - color?: string; + color?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.hoverStyle.border.dashStyle * @default 'solid' @@ -3805,7 +3805,7 @@ export interface dxChartSeriesTypesCommonSeriesSelectionStyle { * @default undefined * @public */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.selectionStyle.dashStyle * @default 'solid' @@ -3841,7 +3841,7 @@ export interface dxChartSeriesTypesCommonSeriesSelectionStyleBorder { * @default undefined * @public */ - color?: string; + color?: string | undefined; /** * @docid dxChartSeriesTypes.CommonSeries.selectionStyle.border.dashStyle * @default 'solid' diff --git a/packages/devextreme/js/viz/chart_components/base_chart.d.ts b/packages/devextreme/js/viz/chart_components/base_chart.d.ts index 038db129a2d5..a8f58fe68b74 100644 --- a/packages/devextreme/js/viz/chart_components/base_chart.d.ts +++ b/packages/devextreme/js/viz/chart_components/base_chart.d.ts @@ -217,7 +217,7 @@ export interface BaseChartOptions extends BaseWidgetOptions; + series?: any | Array | undefined; /** * @docid * @type object @@ -267,7 +267,7 @@ export interface BaseChartLegend extends BaseLegend { * @type_function_return string|SVGElement|jQuery * @public */ - markerTemplate?: template | ((legendItem: LegendItem, element: SVGGElement) => string | UserDefinedElement); + markerTemplate?: template | ((legendItem: LegendItem, element: SVGGElement) => string | UserDefinedElement) | undefined; } /** * @hidden @@ -280,7 +280,7 @@ export interface BaseChartTooltip extends BaseWidgetTooltip { * @default undefined * @public */ - argumentFormat?: Format; + argumentFormat?: Format | undefined; /** * @docid BaseChartOptions.tooltip.contentTemplate * @type_function_param1 pointInfo:object @@ -288,7 +288,7 @@ export interface BaseChartTooltip extends BaseWidgetTooltip { * @default undefined * @public */ - contentTemplate?: template | ((pointInfo: any, element: DxElement) => string | UserDefinedElement); + contentTemplate?: template | ((pointInfo: any, element: DxElement) => string | UserDefinedElement) | undefined; /** * @docid BaseChartOptions.tooltip.customizeTooltip * @type_function_param1 pointInfo:object @@ -297,7 +297,7 @@ export interface BaseChartTooltip extends BaseWidgetTooltip { * @notUsedInTheme * @public */ - customizeTooltip?: ((pointInfo: any) => any); + customizeTooltip?: ((pointInfo: any) => any) | undefined; /** * @docid BaseChartOptions.tooltip.shared * @default false @@ -383,17 +383,17 @@ export interface BaseChartAnnotationConfig extends BaseWidgetAnnotationConfig { * @default undefined * @public */ - argument?: number | Date | string; + argument?: number | Date | string | undefined; /** * @docid * @default undefined * @public */ - series?: string; + series?: string | undefined; /** * @docid * @default undefined * @public */ - value?: number | Date | string; + value?: number | Date | string | undefined; } diff --git a/packages/devextreme/js/viz/circular_gauge.d.ts b/packages/devextreme/js/viz/circular_gauge.d.ts index 7e03ddd94923..f1805c2f40b2 100644 --- a/packages/devextreme/js/viz/circular_gauge.d.ts +++ b/packages/devextreme/js/viz/circular_gauge.d.ts @@ -141,7 +141,7 @@ export interface dxCircularGaugeOptions extends BaseGaugeOptions string | UserDefinedElement); + centerTemplate?: template | ((component: dxCircularGauge, element: SVGGElement) => string | UserDefinedElement) | undefined; /** * @docid * @type object diff --git a/packages/devextreme/js/viz/common.d.ts b/packages/devextreme/js/viz/common.d.ts index 05b59d8e63a7..9ace9ee1b3b0 100644 --- a/packages/devextreme/js/viz/common.d.ts +++ b/packages/devextreme/js/viz/common.d.ts @@ -42,7 +42,7 @@ export interface BaseLegend { * @default undefined * @public */ - backgroundColor?: string; + backgroundColor?: string | undefined; /** * @docid * @public @@ -67,7 +67,7 @@ export interface BaseLegend { * @docid * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid * @default false @@ -108,13 +108,13 @@ export interface BaseLegend { * @default undefined * @public */ - itemTextPosition?: Position; + itemTextPosition?: Position | undefined; /** * @docid * @default undefined * @public */ - itemsAlignment?: HorizontalAlignment; + itemsAlignment?: HorizontalAlignment | undefined; /** * @docid * @default 10 @@ -153,7 +153,7 @@ export interface BaseLegend { * @default undefined * @public */ - orientation?: Orientation; + orientation?: Orientation | undefined; /** * @docid * @default 10 @@ -195,7 +195,7 @@ export interface BaseLegend { * @docid * @default undefined */ - horizontalAlignment?: HorizontalAlignment; + horizontalAlignment?: HorizontalAlignment | undefined; /** * @docid */ @@ -225,7 +225,7 @@ export interface BaseLegend { * @docid * @default undefined */ - placeholderSize?: number; + placeholderSize?: number | undefined; /** * @docid */ @@ -327,13 +327,13 @@ export interface ChartSeries extends dxChartSeriesTypesCommonSeries { * @default undefined * @public */ - name?: string; + name?: string | undefined; /** * @docid * @default undefined * @public */ - tag?: any; + tag?: any | undefined; /** * @docid * @default 'line' diff --git a/packages/devextreme/js/viz/core/base_widget.d.ts b/packages/devextreme/js/viz/core/base_widget.d.ts index 4815ee3303df..f38d30aedac1 100644 --- a/packages/devextreme/js/viz/core/base_widget.d.ts +++ b/packages/devextreme/js/viz/core/base_widget.d.ts @@ -180,7 +180,7 @@ export interface BaseWidgetOptions extends DOMComponentOptions PromiseLike); + svgToCanvas?: ((svg: SVGElement, canvas: HTMLCanvasElement) => PromiseLike) | undefined; } /** * @hidden @@ -336,13 +336,13 @@ export interface BaseWidgetSize { * @default undefined * @public */ - height?: number; + height?: number | undefined; /** * @docid BaseWidgetOptions.size.width * @default undefined * @public */ - width?: number; + width?: number | undefined; } /** * @hidden @@ -398,7 +398,7 @@ export interface BaseWidgetTitle { * @default undefined * @public */ - placeholderSize?: number; + placeholderSize?: number | undefined; /** * @docid BaseWidgetOptions.title.subtitle * @public @@ -490,7 +490,7 @@ export interface BaseWidgetTooltip { * @docid BaseWidgetOptions.tooltip.border.opacity * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid BaseWidgetOptions.tooltip.border.visible * @default true @@ -513,7 +513,7 @@ export interface BaseWidgetTooltip { * @default undefined * @public */ - container?: string | UserDefinedElement; + container?: string | UserDefinedElement | undefined; /** * @docid BaseWidgetOptions.tooltip.cornerRadius * @default 0 @@ -540,13 +540,13 @@ export interface BaseWidgetTooltip { * @default undefined * @public */ - format?: Format; + format?: Format | undefined; /** * @docid BaseWidgetOptions.tooltip.opacity * @default undefined * @public */ - opacity?: number; + opacity?: number | undefined; /** * @docid BaseWidgetOptions.tooltip.paddingLeftRight * @default 18 @@ -595,7 +595,7 @@ export interface BaseWidgetTooltip { * @default undefined * @public */ - zIndex?: number; + zIndex?: number | undefined; } /** * @docid @@ -710,7 +710,7 @@ export interface BaseWidgetAnnotationConfig { * @docid * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid * @default true @@ -738,7 +738,7 @@ export interface BaseWidgetAnnotationConfig { * @default undefined * @public */ - description?: string; + description?: string | undefined; /** * @docid * @default '#333333' &prop(color) @@ -751,7 +751,7 @@ export interface BaseWidgetAnnotationConfig { * @default undefined * @public */ - height?: number; + height?: number | undefined; /** * @docid * @public @@ -766,7 +766,7 @@ export interface BaseWidgetAnnotationConfig { * @docid * @default undefined */ - url?: string; + url?: string | undefined; /** * @docid * @default 30 @@ -778,13 +778,13 @@ export interface BaseWidgetAnnotationConfig { * @default undefined * @public */ - offsetX?: number; + offsetX?: number | undefined; /** * @docid * @default undefined * @public */ - offsetY?: number; + offsetY?: number | undefined; /** * @docid * @default 0.9 @@ -839,7 +839,7 @@ export interface BaseWidgetAnnotationConfig { * @default undefined * @public */ - text?: string; + text?: string | undefined; /** * @docid * @default "ellipsis" @@ -857,13 +857,13 @@ export interface BaseWidgetAnnotationConfig { * @default undefined * @public */ - type?: AnnotationType; + type?: AnnotationType | undefined; /** * @docid * @default undefined * @public */ - width?: number; + width?: number | undefined; /** * @docid * @default "normal" @@ -875,13 +875,13 @@ export interface BaseWidgetAnnotationConfig { * @default undefined * @public */ - x?: number; + x?: number | undefined; /** * @docid * @default undefined * @public */ - y?: number; + y?: number | undefined; } // #region deprecated in 23.1 diff --git a/packages/devextreme/js/viz/funnel.d.ts b/packages/devextreme/js/viz/funnel.d.ts index d424b708adb3..fe095f4fa221 100644 --- a/packages/devextreme/js/viz/funnel.d.ts +++ b/packages/devextreme/js/viz/funnel.d.ts @@ -300,17 +300,17 @@ export interface dxFunnelOptions extends BaseWidgetOptions { * @docid * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid * @default undefined */ - visible?: boolean; + visible?: boolean | undefined; /** * @docid * @default undefined */ - width?: number; + width?: number | undefined; }; /** * @docid @@ -350,17 +350,17 @@ export interface dxFunnelOptions extends BaseWidgetOptions { * @docid * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid * @default undefined */ - visible?: boolean; + visible?: boolean | undefined; /** * @docid * @default undefined */ - width?: number; + width?: number | undefined; }; /** * @docid @@ -431,7 +431,7 @@ export interface dxFunnelOptions extends BaseWidgetOptions { * @docid * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid * @default 0.5 @@ -463,7 +463,7 @@ export interface dxFunnelOptions extends BaseWidgetOptions { * @docid * @default undefined */ - format?: Format; + format?: Format | undefined; /** * @docid * @default 'right' @@ -632,7 +632,7 @@ export type Legend = BaseLegend & { * @type_function_return string|SVGElement|jQuery * @public */ - markerTemplate?: template | ((legendItem: LegendItem, element: SVGGElement) => string | UserDefinedElement); + markerTemplate?: template | ((legendItem: LegendItem, element: SVGGElement) => string | UserDefinedElement) | undefined; /** * @docid dxFunnelOptions.legend.visible * @default false @@ -652,7 +652,7 @@ export type Tooltip = BaseWidgetTooltip & { * @default undefined * @public */ - contentTemplate?: template | ((info: { item?: Item; value?: number; valueText?: string; percent?: number; percentText?: string }, element: DxElement) => string | UserDefinedElement); + contentTemplate?: template | ((info: { item?: Item; value?: number; valueText?: string; percent?: number; percentText?: string }, element: DxElement) => string | UserDefinedElement) | undefined; /** * @docid dxFunnelOptions.tooltip.customizeTooltip * @default undefined @@ -660,7 +660,7 @@ export type Tooltip = BaseWidgetTooltip & { * @type_function_return object * @public */ - customizeTooltip?: ((info: { item?: Item; value?: number; valueText?: string; percent?: number; percentText?: string }) => any); + customizeTooltip?: ((info: { item?: Item; value?: number; valueText?: string; percent?: number; percentText?: string }) => any) | undefined; }; /** * @docid diff --git a/packages/devextreme/js/viz/gauges/base_gauge.d.ts b/packages/devextreme/js/viz/gauges/base_gauge.d.ts index fb222dde2462..32c676cfd219 100644 --- a/packages/devextreme/js/viz/gauges/base_gauge.d.ts +++ b/packages/devextreme/js/viz/gauges/base_gauge.d.ts @@ -112,7 +112,7 @@ export interface BaseGaugeOptions extends BaseWidgetOptions; + subvalues?: Array | undefined; /** * @docid * @type object @@ -126,7 +126,7 @@ export interface BaseGaugeOptions extends BaseWidgetOptions; + customMinorTicks?: Array | undefined; /** * @docid BaseGaugeOptions.scale.customTicks * @default undefined * @notUsedInTheme * @public */ - customTicks?: Array; + customTicks?: Array | undefined; /** * @docid BaseGaugeOptions.scale.endValue * @default 100 @@ -291,7 +291,7 @@ export interface BaseGaugeScale { * @default undefined * @public */ - minorTickInterval?: number; + minorTickInterval?: number | undefined; /** * @docid BaseGaugeOptions.scale.scaleDivisionFactor * @default 17 @@ -341,7 +341,7 @@ export interface BaseGaugeScale { * @default undefined * @public */ - tickInterval?: number; + tickInterval?: number | undefined; } /** * @hidden @@ -366,7 +366,7 @@ export interface BaseGaugeScaleLabel { * @default undefined * @public */ - format?: Format; + format?: Format | undefined; /** * @docid BaseGaugeOptions.scale.label.overlappingBehavior * @default 'hide' @@ -398,14 +398,14 @@ export interface BaseGaugeTooltip extends BaseWidgetTooltip { * @default undefined * @public */ - contentTemplate?: template | ((scaleValue: { value?: number; valueText?: string }, element: DxElement) => string | UserDefinedElement); + contentTemplate?: template | ((scaleValue: { value?: number; valueText?: string }, element: DxElement) => string | UserDefinedElement) | undefined; /** * @docid BaseGaugeOptions.tooltip.customizeTooltip * @default undefined * @type_function_return object * @public */ - customizeTooltip?: ((scaleValue: { value?: number; valueText?: string }) => any); + customizeTooltip?: ((scaleValue: { value?: number; valueText?: string }) => any) | undefined; /** * @docid BaseGaugeOptions.tooltip.interactive * @default false @@ -477,7 +477,7 @@ export interface CommonIndicator { * @propertyOf circularRangeBar,linearRangeBar * @public */ - baseValue?: number; + baseValue?: number | undefined; /** * @docid * @default 50 @@ -570,7 +570,7 @@ export interface CommonIndicator { * @default undefined * @propertyOf circularRangeBar,linearRangeBar,circularTextCloud,linearTextCloud */ - customizeText?: ((indicatedValue: { value?: number; valueText?: string }) => string); + customizeText?: ((indicatedValue: { value?: number; valueText?: string }) => string) | undefined; /** * @docid * @propertyOf circularRangeBar,linearRangeBar,circularTextCloud,linearTextCloud @@ -582,7 +582,7 @@ export interface CommonIndicator { * @default undefined * @propertyOf circularRangeBar,linearRangeBar,circularTextCloud,linearTextCloud */ - format?: Format; + format?: Format | undefined; /** * @docid * @default 0 diff --git a/packages/devextreme/js/viz/pie_chart.d.ts b/packages/devextreme/js/viz/pie_chart.d.ts index 0846c9581c62..35774ffa1731 100644 --- a/packages/devextreme/js/viz/pie_chart.d.ts +++ b/packages/devextreme/js/viz/pie_chart.d.ts @@ -261,13 +261,13 @@ export interface PieChartSeries extends dxPieChartSeriesTypesCommonPieChartSerie * @default undefined * @public */ - name?: string; + name?: string | undefined; /** * @docid * @default undefined * @public */ - tag?: any; + tag?: any | undefined; } /** * @deprecated use Properties instead @@ -287,7 +287,7 @@ export interface dxPieChartOptions extends BaseChartOptions { * @type_function_return string|SVGElement|jQuery * @public */ - centerTemplate?: template | ((component: dxPieChart, element: SVGGElement) => string | UserDefinedElement); + centerTemplate?: template | ((component: dxPieChart, element: SVGGElement) => string | UserDefinedElement) | undefined; /** * @docid * @inherits dxPieChartSeriesTypes.CommonPieChartSeries @@ -301,7 +301,7 @@ export interface dxPieChartOptions extends BaseChartOptions { * @default undefined * @public */ - diameter?: number; + diameter?: number | undefined; /** * @docid * @default 0.5 @@ -356,7 +356,7 @@ export interface dxPieChartOptions extends BaseChartOptions { * @inheritAll * @public */ - series?: PieChartSeries | Array; + series?: PieChartSeries | Array | undefined; /** * @docid * @default undefined @@ -379,7 +379,7 @@ export interface dxPieChartOptions extends BaseChartOptions { * @default undefined * @public */ - sizeGroup?: string; + sizeGroup?: string | undefined; /** * @docid * @default 0 @@ -409,7 +409,7 @@ export interface dxPieChartOptions extends BaseChartOptions { * @notUsedInTheme * @public */ - customizeAnnotation?: ((annotation: dxPieChartAnnotationConfig | any) => dxPieChartAnnotationConfig); + customizeAnnotation?: ((annotation: dxPieChartAnnotationConfig | any) => dxPieChartAnnotationConfig) | undefined; } /** @@ -424,7 +424,7 @@ export interface dxPieChartAnnotationConfig extends dxPieChartCommonAnnotationCo * @default undefined * @public */ - name?: string; + name?: string | undefined; } /** @@ -445,13 +445,13 @@ export interface dxPieChartCommonAnnotationConfig extends BaseWidgetAnnotationCo * @default undefined * @public */ - argument?: number | Date | string; + argument?: number | Date | string | undefined; /** * @docid * @default undefined * @public */ - series?: string; + series?: string | undefined; /** * @docid * @type_function_return object @@ -459,7 +459,7 @@ export interface dxPieChartCommonAnnotationConfig extends BaseWidgetAnnotationCo * @notUsedInTheme * @public */ - customizeTooltip?: ((annotation: dxPieChartAnnotationConfig | any) => any); + customizeTooltip?: ((annotation: dxPieChartAnnotationConfig | any) => any) | undefined; /** * @docid * @default undefined @@ -467,14 +467,14 @@ export interface dxPieChartCommonAnnotationConfig extends BaseWidgetAnnotationCo * @type_function_return string|SVGElement|jQuery * @public */ - template?: template | ((annotation: dxPieChartAnnotationConfig | any, element: SVGGElement) => string | UserDefinedElement); + template?: template | ((annotation: dxPieChartAnnotationConfig | any, element: SVGGElement) => string | UserDefinedElement) | undefined; /** * @docid * @type_function_return string|Element|jQuery * @default undefined * @public */ - tooltipTemplate?: template | ((annotation: dxPieChartAnnotationConfig | any, element: DxElement) => string | UserDefinedElement); + tooltipTemplate?: template | ((annotation: dxPieChartAnnotationConfig | any, element: DxElement) => string | UserDefinedElement) | undefined; } /** * @public @@ -524,7 +524,7 @@ export type Legend = BaseChartLegend & { * @type_function_return string|SVGElement|jQuery * @public */ - markerTemplate?: template | ((legendItem: LegendItem, element: SVGGElement) => string | UserDefinedElement); + markerTemplate?: template | ((legendItem: LegendItem, element: SVGGElement) => string | UserDefinedElement) | undefined; }; /** * @docid @@ -579,7 +579,7 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @default undefined * @public */ - argumentType?: ChartsDataType; + argumentType?: ChartsDataType | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.border * @public @@ -589,12 +589,12 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @docid dxPieChartSeriesTypes.CommonPieChartSeries.border.color * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.border.dashStyle * @default undefined */ - dashStyle?: DashStyle; + dashStyle?: DashStyle | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.border.visible * @default false @@ -611,7 +611,7 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @default undefined * @public */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.hoverMode * @default 'onlyPoint' @@ -631,12 +631,12 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @docid dxPieChartSeriesTypes.CommonPieChartSeries.hoverStyle.border.color * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.hoverStyle.border.dashStyle * @default undefined */ - dashStyle?: DashStyle; + dashStyle?: DashStyle | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.hoverStyle.border.visible * @default false @@ -652,7 +652,7 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @docid dxPieChartSeriesTypes.CommonPieChartSeries.hoverStyle.color * @default undefined */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.hoverStyle.hatching */ @@ -693,12 +693,12 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @docid dxPieChartSeriesTypes.CommonPieChartSeries.label.argumentFormat * @default undefined */ - argumentFormat?: Format; + argumentFormat?: Format | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.label.backgroundColor * @default undefined */ - backgroundColor?: string; + backgroundColor?: string | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.label.border */ @@ -732,7 +732,7 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @docid dxPieChartSeriesTypes.CommonPieChartSeries.label.connector.color * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.label.connector.visible * @default false @@ -760,7 +760,7 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @docid dxPieChartSeriesTypes.CommonPieChartSeries.label.format * @default undefined */ - format?: Format; + format?: Format | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.label.position * @default 'outside' @@ -796,20 +796,20 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @default undefined * @public */ - displayFormat?: string; + displayFormat?: string | undefined; }; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.maxLabelCount * @default undefined * @public */ - maxLabelCount?: number; + maxLabelCount?: number | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.minSegmentSize * @default undefined * @public */ - minSegmentSize?: number; + minSegmentSize?: number | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.selectionMode * @default 'onlyPoint' @@ -829,12 +829,12 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @docid dxPieChartSeriesTypes.CommonPieChartSeries.selectionStyle.border.color * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.selectionStyle.border.dashStyle * @default undefined */ - dashStyle?: DashStyle; + dashStyle?: DashStyle | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.selectionStyle.border.visible * @default false @@ -850,7 +850,7 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @docid dxPieChartSeriesTypes.CommonPieChartSeries.selectionStyle.color * @default undefined */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.selectionStyle.hatching */ @@ -901,12 +901,12 @@ export interface dxPieChartSeriesTypesCommonPieChartSeries { * @docid dxPieChartSeriesTypes.CommonPieChartSeries.smallValuesGrouping.threshold * @default undefined */ - threshold?: number; + threshold?: number | undefined; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.smallValuesGrouping.topCount * @default undefined */ - topCount?: number; + topCount?: number | undefined; }; /** * @docid dxPieChartSeriesTypes.CommonPieChartSeries.tagField diff --git a/packages/devextreme/js/viz/polar_chart.d.ts b/packages/devextreme/js/viz/polar_chart.d.ts index eaa47013633d..5842d284668d 100644 --- a/packages/devextreme/js/viz/polar_chart.d.ts +++ b/packages/devextreme/js/viz/polar_chart.d.ts @@ -316,13 +316,13 @@ export interface PolarChartSeries extends dxPolarChartSeriesTypesCommonPolarChar * @default undefined * @public */ - name?: string; + name?: string | undefined; /** * @docid * @default undefined * @public */ - tag?: any; + tag?: any | undefined; /** * @docid * @default 'scatter' @@ -369,7 +369,7 @@ export interface dxPolarChartOptions extends BaseChartOptions { * @propertyOf dxPolarChartSeriesTypes.barpolarseries,dxPolarChartSeriesTypes.stackedbarpolarseries * @public */ - barGroupWidth?: number; + barGroupWidth?: number | undefined; /** * @docid * @public @@ -402,7 +402,7 @@ export interface dxPolarChartOptions extends BaseChartOptions { * @notUsedInTheme * @public */ - customizeAnnotation?: ((annotation: dxPolarChartAnnotationConfig | any) => dxPolarChartAnnotationConfig); + customizeAnnotation?: ((annotation: dxPolarChartAnnotationConfig | any) => dxPolarChartAnnotationConfig) | undefined; /** * @docid * @public @@ -517,7 +517,7 @@ export interface dxPolarChartOptions extends BaseChartOptions { * @inheritAll * @public */ - series?: PolarChartSeries | Array; + series?: PolarChartSeries | Array | undefined; /** * @docid * @default 'single' @@ -590,7 +590,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - argumentType?: ChartsDataType; + argumentType?: ChartsDataType | undefined; /** * @docid dxPolarChartOptions.argumentAxis.axisDivisionFactor * @default 50 @@ -633,7 +633,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - linearThreshold?: number; + linearThreshold?: number | undefined; /** * @docid dxPolarChartOptions.argumentAxis.logarithmBase * @default 10 @@ -651,7 +651,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - minorTickCount?: number; + minorTickCount?: number | undefined; /** * @docid dxPolarChartOptions.argumentAxis.minorTickInterval * @inherits VizTimeInterval @@ -664,13 +664,13 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - originValue?: number; + originValue?: number | undefined; /** * @docid dxPolarChartOptions.argumentAxis.period * @default undefined * @public */ - period?: number; + period?: number | undefined; /** * @docid dxPolarChartOptions.argumentAxis.startAngle * @default 0 @@ -703,7 +703,7 @@ export type ArgumentAxis = CommonAxisSettings & { * @default undefined * @public */ - type?: AxisScaleType; + type?: AxisScaleType | undefined; }; /** * @public @@ -734,7 +734,7 @@ export type ArgumentAxisConstantLines = CommonAxisSettingsConstantLineStyle & { * @default undefined * @public */ - value?: number | Date | string; + value?: number | Date | string | undefined; }; /** * @public @@ -747,7 +747,7 @@ export type ArgumentAxisConstantLinesLabel = CommonAxisSettingsConstantLineStyle * @default undefined * @public */ - text?: string; + text?: string | undefined; }; /** * @public @@ -771,7 +771,7 @@ export type ArgumentAxisLabel = CommonAxisSettingsLabel & { * @default undefined * @public */ - format?: Format; + format?: Format | undefined; }; /** * @public @@ -797,13 +797,13 @@ export type ArgumentAxisStrips = CommonAxisSettingsStripStyle & { * @default undefined * @public */ - color?: string; + color?: string | undefined; /** * @docid dxPolarChartOptions.argumentAxis.strips.endValue * @default undefined * @public */ - endValue?: number | Date | string; + endValue?: number | Date | string | undefined; /** * @docid dxPolarChartOptions.argumentAxis.strips.label * @type object @@ -815,7 +815,7 @@ export type ArgumentAxisStrips = CommonAxisSettingsStripStyle & { * @default undefined * @public */ - startValue?: number | Date | string; + startValue?: number | Date | string | undefined; }; /** * @public @@ -828,7 +828,7 @@ export type ArgumentAxisStripsLabel = CommonAxisSettingsStripStyleLabel & { * @default undefined * @public */ - text?: string; + text?: string | undefined; }; /** * @public @@ -853,7 +853,7 @@ export type CommonAxisSettings = { * @default undefined * @public */ - allowDecimals?: boolean; + allowDecimals?: boolean | undefined; /** * @docid dxPolarChartOptions.commonAxisSettings.color * @default '#767676' @@ -877,7 +877,7 @@ export type CommonAxisSettings = { * @default undefined * @public */ - endOnTick?: boolean; + endOnTick?: boolean | undefined; /** * @docid dxPolarChartOptions.commonAxisSettings.grid * @public @@ -892,7 +892,7 @@ export type CommonAxisSettings = { * @docid dxPolarChartOptions.commonAxisSettings.grid.opacity * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid dxPolarChartOptions.commonAxisSettings.grid.visible * @default true @@ -930,7 +930,7 @@ export type CommonAxisSettings = { * @docid dxPolarChartOptions.commonAxisSettings.minorGrid.opacity * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid dxPolarChartOptions.commonAxisSettings.minorGrid.visible * @default true @@ -953,7 +953,7 @@ export type CommonAxisSettings = { * @default undefined * @public */ - opacity?: number; + opacity?: number | undefined; /** * @docid dxPolarChartOptions.commonAxisSettings.stripStyle * @type object @@ -1139,7 +1139,7 @@ export type CommonAxisSettingsTick = { * @default undefined * @public */ - opacity?: number; + opacity?: number | undefined; /** * @docid dxPolarChartOptions.commonAxisSettings.tick.visible * @default true @@ -1268,7 +1268,7 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - linearThreshold?: number; + linearThreshold?: number | undefined; /** * @docid dxPolarChartOptions.valueAxis.logarithmBase * @default 10 @@ -1280,13 +1280,13 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - maxValueMargin?: number; + maxValueMargin?: number | undefined; /** * @docid dxPolarChartOptions.valueAxis.minValueMargin * @default undefined * @public */ - minValueMargin?: number; + minValueMargin?: number | undefined; /** * @docid dxPolarChartOptions.valueAxis.minVisualRangeLength * @inherits VizTimeInterval @@ -1295,13 +1295,13 @@ export type ValueAxis = CommonAxisSettings & { * @notUsedInTheme * @public */ - minVisualRangeLength?: TimeIntervalConfig; + minVisualRangeLength?: TimeIntervalConfig | undefined; /** * @docid dxPolarChartOptions.valueAxis.minorTickCount * @default undefined * @public */ - minorTickCount?: number; + minorTickCount?: number | undefined; /** * @docid dxPolarChartOptions.valueAxis.minorTickInterval * @inherits VizTimeInterval @@ -1314,7 +1314,7 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - showZero?: boolean; + showZero?: boolean | undefined; /** * @docid dxPolarChartOptions.valueAxis.strips * @type Array @@ -1341,7 +1341,7 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - type?: AxisScaleType; + type?: AxisScaleType | undefined; /** * @docid dxPolarChartOptions.valueAxis.valueMarginsEnabled * @default true @@ -1353,7 +1353,7 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - valueType?: ChartsDataType; + valueType?: ChartsDataType | undefined; /** * @docid dxPolarChartOptions.valueAxis.visualRange * @fires BaseWidgetOptions.onOptionChanged @@ -1372,7 +1372,7 @@ export type ValueAxis = CommonAxisSettings & { * @default undefined * @public */ - wholeRange?: VisualRange | Array; + wholeRange?: VisualRange | Array | undefined; }; /** * @public @@ -1403,7 +1403,7 @@ export type ValueAxisConstantLines = CommonAxisSettingsConstantLineStyle & { * @default undefined * @public */ - value?: number | Date | string; + value?: number | Date | string | undefined; }; /** * @public @@ -1416,7 +1416,7 @@ export type ValueAxisConstantLinesLabel = CommonAxisSettingsConstantLineStyleLab * @default undefined * @public */ - text?: string; + text?: string | undefined; }; /** * @public @@ -1440,7 +1440,7 @@ export type ValueAxisLabel = CommonAxisSettingsLabel & { * @default undefined * @public */ - format?: Format; + format?: Format | undefined; }; /** * @public @@ -1453,13 +1453,13 @@ export type ValueAxisStrips = CommonAxisSettingsStripStyle & { * @default undefined * @public */ - color?: string; + color?: string | undefined; /** * @docid dxPolarChartOptions.valueAxis.strips.endValue * @default undefined * @public */ - endValue?: number | Date | string; + endValue?: number | Date | string | undefined; /** * @docid dxPolarChartOptions.valueAxis.strips.label * @type object @@ -1471,7 +1471,7 @@ export type ValueAxisStrips = CommonAxisSettingsStripStyle & { * @default undefined * @public */ - startValue?: number | Date | string; + startValue?: number | Date | string | undefined; }; /** * @public @@ -1484,7 +1484,7 @@ export type ValueAxisStripsLabel = CommonAxisSettingsStripStyleLabel & { * @default undefined * @public */ - text?: string; + text?: string | undefined; }; /** * @public @@ -1532,7 +1532,7 @@ export interface dxPolarChartAnnotationConfig extends dxPolarChartCommonAnnotati * @default undefined * @public */ - name?: string; + name?: string | undefined; } /** @@ -1547,13 +1547,13 @@ export interface dxPolarChartCommonAnnotationConfig extends BaseChartAnnotationC * @default undefined * @public */ - angle?: number; + angle?: number | undefined; /** * @docid * @default undefined * @public */ - radius?: number; + radius?: number | undefined; /** * @docid * @type_function_return object @@ -1561,7 +1561,7 @@ export interface dxPolarChartCommonAnnotationConfig extends BaseChartAnnotationC * @notUsedInTheme * @public */ - customizeTooltip?: ((annotation: dxPolarChartAnnotationConfig | any) => any); + customizeTooltip?: ((annotation: dxPolarChartAnnotationConfig | any) => any) | undefined; /** * @docid * @default undefined @@ -1569,14 +1569,14 @@ export interface dxPolarChartCommonAnnotationConfig extends BaseChartAnnotationC * @type_function_return string|SVGElement|jQuery * @public */ - template?: template | ((annotation: dxPolarChartAnnotationConfig | any, element: SVGGElement) => string | UserDefinedElement); + template?: template | ((annotation: dxPolarChartAnnotationConfig | any, element: SVGGElement) => string | UserDefinedElement) | undefined; /** * @docid * @type_function_return string|Element|jQuery * @default undefined * @public */ - tooltipTemplate?: template | ((annotation: dxPolarChartAnnotationConfig | any, element: DxElement) => string | UserDefinedElement); + tooltipTemplate?: template | ((annotation: dxPolarChartAnnotationConfig | any, element: DxElement) => string | UserDefinedElement) | undefined; } /** @@ -1646,14 +1646,14 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeries { * @propertyOf dxPolarChartSeriesTypes.barpolarseries,dxPolarChartSeriesTypes.stackedbarpolarseries * @public */ - barPadding?: number; + barPadding?: number | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.barWidth * @default undefined * @propertyOf dxPolarChartSeriesTypes.barpolarseries,dxPolarChartSeriesTypes.stackedbarpolarseries * @public */ - barWidth?: number; + barWidth?: number | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.border * @propertyOf dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.barpolarseries,dxPolarChartSeriesTypes.stackedbarpolarseries @@ -1665,13 +1665,13 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeries { * @default undefined * @propertyOf dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.barpolarseries,dxPolarChartSeriesTypes.stackedbarpolarseries */ - color?: string; + color?: string | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.border.dashStyle * @default undefined * @propertyOf dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.barpolarseries,dxPolarChartSeriesTypes.stackedbarpolarseries */ - dashStyle?: DashStyle; + dashStyle?: DashStyle | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.border.visible * @default false @@ -1697,7 +1697,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeries { * @default undefined * @public */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.dashStyle * @default 'solid' @@ -1726,7 +1726,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeries { * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.hoverStyle.border.color * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.hoverStyle.border.dashStyle * @default 'solid' @@ -1747,7 +1747,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeries { * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.hoverStyle.color * @default undefined */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.hoverStyle.dashStyle * @default 'solid' @@ -1810,14 +1810,14 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeries { * @default undefined * @public */ - maxLabelCount?: number; + maxLabelCount?: number | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.minBarSize * @default undefined * @propertyOf dxPolarChartSeriesTypes.stackedbarpolarseries,dxPolarChartSeriesTypes.barpolarseries * @public */ - minBarSize?: number; + minBarSize?: number | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.opacity * @default 0.5 @@ -1853,7 +1853,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeries { * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.selectionStyle.border.color * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.selectionStyle.border.dashStyle * @default 'solid' @@ -1874,7 +1874,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeries { * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.selectionStyle.color * @default undefined */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.selectionStyle.dashStyle * @default 'solid' @@ -1965,7 +1965,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeries { * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.valueErrorBar.highValueField * @default undefined */ - highValueField?: string; + highValueField?: string | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.valueErrorBar.lineWidth * @default 2 @@ -1975,17 +1975,17 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeries { * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.valueErrorBar.lowValueField * @default undefined */ - lowValueField?: string; + lowValueField?: string | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.valueErrorBar.opacity * @default undefined */ - opacity?: number; + opacity?: number | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.valueErrorBar.type * @default undefined */ - type?: ValueErrorBarType; + type?: ValueErrorBarType | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.valueErrorBar.value * @default 1 @@ -2020,13 +2020,13 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesLabel { * @default undefined * @public */ - argumentFormat?: Format; + argumentFormat?: Format | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.label.backgroundColor * @default undefined * @public */ - backgroundColor?: string; + backgroundColor?: string | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.label.border * @public @@ -2064,7 +2064,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesLabel { * @default undefined * @propertyOf dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.barpolarseries,dxPolarChartSeriesTypes.linepolarseries,dxPolarChartSeriesTypes.scatterpolarseries,dxPolarChartSeriesTypes.stackedbarpolarseries */ - color?: string; + color?: string | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.label.connector.visible * @default false @@ -2097,7 +2097,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesLabel { * @default undefined * @public */ - format?: Format; + format?: Format | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.label.position * @default 'outside' @@ -2129,7 +2129,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesLabel { * @default undefined * @public */ - displayFormat?: string; + displayFormat?: string | undefined; } /** @namespace DevExpress.viz */ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesPoint { @@ -2144,7 +2144,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesPoint { * @default undefined * @propertyOf dxPolarChartSeriesTypes.linepolarseries,dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.scatterpolarseries */ - color?: string; + color?: string | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.point.border.visible * @default false @@ -2164,7 +2164,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesPoint { * @propertyOf dxPolarChartSeriesTypes.linepolarseries,dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.scatterpolarseries * @public */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.point.hoverMode * @default 'onlyPoint' @@ -2188,7 +2188,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesPoint { * @default undefined * @propertyOf dxPolarChartSeriesTypes.linepolarseries,dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.scatterpolarseries */ - color?: string; + color?: string | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.point.hoverStyle.border.visible * @default true @@ -2207,7 +2207,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesPoint { * @default undefined * @propertyOf dxPolarChartSeriesTypes.linepolarseries,dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.scatterpolarseries */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.point.hoverStyle.size * @default 12 @@ -2221,7 +2221,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesPoint { * @propertyOf dxPolarChartSeriesTypes.linepolarseries,dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.scatterpolarseries * @public */ - image?: string | { + image?: string | undefined | { /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.point.image.height * @default 30 @@ -2233,7 +2233,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesPoint { * @default undefined * @propertyOf dxPolarChartSeriesTypes.linepolarseries,dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.scatterpolarseries */ - url?: string; + url?: string | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.point.image.width * @default 30 @@ -2264,7 +2264,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesPoint { * @default undefined * @propertyOf dxPolarChartSeriesTypes.linepolarseries,dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.scatterpolarseries */ - color?: string; + color?: string | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.point.selectionStyle.border.visible * @default true @@ -2283,7 +2283,7 @@ export interface dxPolarChartSeriesTypesCommonPolarChartSeriesPoint { * @default undefined * @propertyOf dxPolarChartSeriesTypes.linepolarseries,dxPolarChartSeriesTypes.areapolarseries,dxPolarChartSeriesTypes.scatterpolarseries */ - color?: string | ChartsColor; + color?: string | ChartsColor | undefined; /** * @docid dxPolarChartSeriesTypes.CommonPolarChartSeries.point.selectionStyle.size * @default 12 diff --git a/packages/devextreme/js/viz/range_selector.d.ts b/packages/devextreme/js/viz/range_selector.d.ts index 94b84f47b93f..3c1ce23b73b5 100644 --- a/packages/devextreme/js/viz/range_selector.d.ts +++ b/packages/devextreme/js/viz/range_selector.d.ts @@ -168,7 +168,7 @@ export interface dxRangeSelectorOptions extends BaseWidgetOptions; + series?: ChartSeries | Array | undefined; /** * @docid * @default undefined @@ -336,22 +336,22 @@ export interface dxRangeSelectorOptions extends BaseWidgetOptions; + breaks?: Array | undefined; /** * @docid */ @@ -474,12 +474,12 @@ export interface dxRangeSelectorOptions extends BaseWidgetOptions | Array; + holidays?: Array | Array | undefined; /** * @docid */ @@ -499,7 +499,7 @@ export interface dxRangeSelectorOptions extends BaseWidgetOptions | Array; + singleWorkdays?: Array | Array | undefined; /** * @docid * @default undefined * @notUsedInTheme */ - startValue?: number | Date | string; + startValue?: number | Date | string | undefined; /** * @docid */ @@ -670,12 +670,12 @@ export interface dxRangeSelectorOptions extends BaseWidgetOptions { * @docid * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid * @default undefined */ - visible?: boolean; + visible?: boolean | undefined; /** * @docid * @default undefined */ - width?: number; + width?: number | undefined; }; /** * @docid * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid */ @@ -418,7 +418,7 @@ export interface dxSankeyOptions extends BaseWidgetOptions { * @docid * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid */ @@ -431,23 +431,23 @@ export interface dxSankeyOptions extends BaseWidgetOptions { * @docid * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid * @default undefined */ - visible?: boolean; + visible?: boolean | undefined; /** * @docid * @default undefined */ - width?: number; + width?: number | undefined; }; /** * @docid * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid */ @@ -477,7 +477,7 @@ export interface dxSankeyOptions extends BaseWidgetOptions { * @docid * @default undefined */ - opacity?: number; + opacity?: number | undefined; }; /** * @docid @@ -550,7 +550,7 @@ export interface dxSankeyOptions extends BaseWidgetOptions { * @default undefined * @public */ - sortData?: any; + sortData?: any | undefined; /** * @docid * @default 'source' @@ -587,7 +587,7 @@ export type Tooltip = BaseWidgetTooltip & { * @type_function_return object * @public */ - customizeLinkTooltip?: ((info: { source?: string; target?: string; weight?: number }) => any); + customizeLinkTooltip?: ((info: { source?: string; target?: string; weight?: number }) => any) | undefined; /** * @docid dxSankeyOptions.tooltip.customizeNodeTooltip * @default undefined @@ -595,7 +595,7 @@ export type Tooltip = BaseWidgetTooltip & { * @type_function_return object * @public */ - customizeNodeTooltip?: ((info: { title?: string; label?: string; weightIn?: number; weightOut?: number }) => any); + customizeNodeTooltip?: ((info: { title?: string; label?: string; weightIn?: number; weightOut?: number }) => any) | undefined; /** * @docid dxSankeyOptions.tooltip.enabled * @default true @@ -608,14 +608,14 @@ export type Tooltip = BaseWidgetTooltip & { * @default undefined * @public */ - linkTooltipTemplate?: template | ((info: { source?: string; target?: string; weight?: number }, element: DxElement) => string | UserDefinedElement); + linkTooltipTemplate?: template | ((info: { source?: string; target?: string; weight?: number }, element: DxElement) => string | UserDefinedElement) | undefined; /** * @docid dxSankeyOptions.tooltip.nodeTooltipTemplate * @type_function_return string|Element|jQuery * @default undefined * @public */ - nodeTooltipTemplate?: template | ((info: { label?: string; weightIn?: number; weightOut?: number }, element: DxElement) => string | UserDefinedElement); + nodeTooltipTemplate?: template | ((info: { label?: string; weightIn?: number; weightOut?: number }, element: DxElement) => string | UserDefinedElement) | undefined; }; /** * @docid diff --git a/packages/devextreme/js/viz/sparkline.d.ts b/packages/devextreme/js/viz/sparkline.d.ts index f8e6a90a67fd..94263a5ee38c 100644 --- a/packages/devextreme/js/viz/sparkline.d.ts +++ b/packages/devextreme/js/viz/sparkline.d.ts @@ -179,7 +179,7 @@ export interface dxSparklineOptions extends BaseSparklineOptions { * @default undefined * @public */ - maxValue?: number; + maxValue?: number | undefined; /** * @docid * @default '#e8c267' @@ -191,7 +191,7 @@ export interface dxSparklineOptions extends BaseSparklineOptions { * @default undefined * @public */ - minValue?: number; + minValue?: number | undefined; /** * @docid * @default '#ffffff' diff --git a/packages/devextreme/js/viz/sparklines/base_sparkline.d.ts b/packages/devextreme/js/viz/sparklines/base_sparkline.d.ts index 43b849ce6a51..57e98373fce9 100644 --- a/packages/devextreme/js/viz/sparklines/base_sparkline.d.ts +++ b/packages/devextreme/js/viz/sparklines/base_sparkline.d.ts @@ -84,7 +84,7 @@ export interface BaseSparklineTooltip extends BaseWidgetTooltip { * @default undefined * @public */ - contentTemplate?: template | ((pointsInfo: any, element: DxElement) => string | UserDefinedElement); + contentTemplate?: template | ((pointsInfo: any, element: DxElement) => string | UserDefinedElement) | undefined; /** * @docid BaseSparklineOptions.tooltip.customizeTooltip * @type_function_param1 pointsInfo:object @@ -93,7 +93,7 @@ export interface BaseSparklineTooltip extends BaseWidgetTooltip { * @notUsedInTheme * @public */ - customizeTooltip?: ((pointsInfo: any) => any); + customizeTooltip?: ((pointsInfo: any) => any) | undefined; /** * @docid BaseSparklineOptions.tooltip.enabled * @default true diff --git a/packages/devextreme/js/viz/tree_map.d.ts b/packages/devextreme/js/viz/tree_map.d.ts index 4270731fecfe..337112ded5de 100644 --- a/packages/devextreme/js/viz/tree_map.d.ts +++ b/packages/devextreme/js/viz/tree_map.d.ts @@ -211,7 +211,7 @@ export interface dxTreeMapOptions extends BaseWidgetOptions { * @docid * @default undefined */ - colorCodeField?: string; + colorCodeField?: string | undefined; /** * @docid * @default false @@ -231,12 +231,12 @@ export interface dxTreeMapOptions extends BaseWidgetOptions { * @docid * @default undefined */ - range?: Array; + range?: Array | undefined; /** * @docid * @default undefined */ - type?: TreeMapColorizerType; + type?: TreeMapColorizerType | undefined; }; /** * @docid @@ -279,12 +279,12 @@ export interface dxTreeMapOptions extends BaseWidgetOptions { * @docid * @default undefined */ - headerHeight?: number; + headerHeight?: number | undefined; /** * @docid * @default undefined */ - hoverEnabled?: boolean; + hoverEnabled?: boolean | undefined; /** * @docid */ @@ -297,18 +297,18 @@ export interface dxTreeMapOptions extends BaseWidgetOptions { * @docid * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid * @default undefined */ - width?: number; + width?: number | undefined; }; /** * @docid * @default undefined */ - color?: string; + color?: string | undefined; }; /** * @docid @@ -348,13 +348,13 @@ export interface dxTreeMapOptions extends BaseWidgetOptions { * @docid * @default undefined */ - width?: number; + width?: number | undefined; }; /** * @docid * @default undefined */ - color?: string; + color?: string | undefined; }; }; /** @@ -362,13 +362,13 @@ export interface dxTreeMapOptions extends BaseWidgetOptions { * @default undefined * @public */ - hoverEnabled?: boolean; + hoverEnabled?: boolean | undefined; /** * @docid * @default undefined * @public */ - idField?: string; + idField?: string | undefined; /** * @docid * @default false @@ -406,7 +406,7 @@ export interface dxTreeMapOptions extends BaseWidgetOptions { * @default undefined * @public */ - maxDepth?: number; + maxDepth?: number | undefined; /** * @docid * @default null @@ -467,13 +467,13 @@ export interface dxTreeMapOptions extends BaseWidgetOptions { * @default undefined * @public */ - parentField?: string; + parentField?: string | undefined; /** * @docid * @default undefined * @public */ - selectionMode?: SingleMultipleOrNone; + selectionMode?: SingleMultipleOrNone | undefined; /** * @docid * @public @@ -511,18 +511,18 @@ export interface dxTreeMapOptions extends BaseWidgetOptions { * @docid * @default undefined */ - color?: string; + color?: string | undefined; /** * @docid * @default undefined */ - width?: number; + width?: number | undefined; }; /** * @docid * @default undefined */ - color?: string; + color?: string | undefined; }; /** * @docid @@ -567,13 +567,13 @@ export interface dxTreeMapOptions extends BaseWidgetOptions { * @docid * @default undefined */ - width?: number; + width?: number | undefined; }; /** * @docid * @default undefined */ - color?: string; + color?: string | undefined; }; }; /** @@ -600,14 +600,14 @@ export type Tooltip = BaseWidgetTooltip & { * @default undefined * @public */ - contentTemplate?: template | ((info: { value?: number; valueText?: string; node?: dxTreeMapNode }, element: DxElement) => string | UserDefinedElement); + contentTemplate?: template | ((info: { value?: number; valueText?: string; node?: dxTreeMapNode }, element: DxElement) => string | UserDefinedElement) | undefined; /** * @docid dxTreeMapOptions.tooltip.customizeTooltip * @default undefined * @type_function_return object * @public */ - customizeTooltip?: ((info: { value?: number; valueText?: string; node?: dxTreeMapNode }) => any); + customizeTooltip?: ((info: { value?: number; valueText?: string; node?: dxTreeMapNode }) => any) | undefined; }; /** * @docid diff --git a/packages/devextreme/js/viz/vector_map.d.ts b/packages/devextreme/js/viz/vector_map.d.ts index 39a4d586c616..10ddede8a7e5 100644 --- a/packages/devextreme/js/viz/vector_map.d.ts +++ b/packages/devextreme/js/viz/vector_map.d.ts @@ -362,7 +362,7 @@ export interface dxVectorMapOptions extends BaseWidgetOptions { * @notUsedInTheme * @public */ - bounds?: Array; + bounds?: Array | undefined; /** * @docid * @default [0, 0] @@ -595,7 +595,7 @@ export interface dxVectorMapOptions extends BaseWidgetOptions { * @default undefined * @public */ - legends?: Array; + legends?: Array | undefined; /** * @docid * @type object @@ -726,7 +726,7 @@ export interface dxVectorMapOptions extends BaseWidgetOptions { * @notUsedInTheme * @public */ - customizeAnnotation?: ((annotation: dxVectorMapAnnotationConfig | any) => dxVectorMapAnnotationConfig); + customizeAnnotation?: ((annotation: dxVectorMapAnnotationConfig | any) => dxVectorMapAnnotationConfig) | undefined; } /** @@ -741,7 +741,7 @@ export interface dxVectorMapAnnotationConfig extends dxVectorMapCommonAnnotation * @default undefined * @public */ - name?: string; + name?: string | undefined; } /** @@ -756,7 +756,7 @@ export interface dxVectorMapCommonAnnotationConfig extends BaseWidgetAnnotationC * @default undefined * @public */ - coordinates?: Array; + coordinates?: Array | undefined; /** * @docid * @type_function_return object @@ -764,21 +764,21 @@ export interface dxVectorMapCommonAnnotationConfig extends BaseWidgetAnnotationC * @notUsedInTheme * @public */ - customizeTooltip?: ((annotation: dxVectorMapAnnotationConfig | any) => any); + customizeTooltip?: ((annotation: dxVectorMapAnnotationConfig | any) => any) | undefined; /** * @docid * @default undefined * @type_function_return string|SVGElement|jQuery * @public */ - template?: template | ((annotation: dxVectorMapAnnotationConfig | any, element: SVGGElement) => string | UserDefinedElement); + template?: template | ((annotation: dxVectorMapAnnotationConfig | any, element: SVGGElement) => string | UserDefinedElement) | undefined; /** * @docid * @type_function_return string|Element|jQuery * @default undefined * @public */ - tooltipTemplate?: template | ((annotation: dxVectorMapAnnotationConfig | any, element: DxElement) => string | UserDefinedElement); + tooltipTemplate?: template | ((annotation: dxVectorMapAnnotationConfig | any, element: DxElement) => string | UserDefinedElement) | undefined; } /** @@ -816,7 +816,7 @@ export type Legend = BaseLegend & { * @default undefined * @public */ - markerColor?: string; + markerColor?: string | undefined; /** * @docid dxVectorMapOptions.legends.markerShape * @default "square" @@ -836,7 +836,7 @@ export type Legend = BaseLegend & { * @type_function_return string|SVGElement|jQuery * @public */ - markerTemplate?: template | ((legendItem: LegendItem, element: SVGGElement) => string | UserDefinedElement); + markerTemplate?: template | ((legendItem: LegendItem, element: SVGGElement) => string | UserDefinedElement) | undefined; /** * @docid dxVectorMapOptions.legends.source * @notUsedInTheme @@ -866,7 +866,7 @@ export type Tooltip = BaseWidgetTooltip & { * @default undefined * @public */ - contentTemplate?: template | ((info: MapLayerElement, element: DxElement) => string | UserDefinedElement); + contentTemplate?: template | ((info: MapLayerElement, element: DxElement) => string | UserDefinedElement) | undefined; /** * @docid dxVectorMapOptions.tooltip.customizeTooltip * @type_function_return object @@ -874,7 +874,7 @@ export type Tooltip = BaseWidgetTooltip & { * @notUsedInTheme * @public */ - customizeTooltip?: ((info: MapLayerElement) => any); + customizeTooltip?: ((info: MapLayerElement) => any) | undefined; /** * @docid dxVectorMapOptions.tooltip.format * @hidden