diff --git a/packages/devextreme-vue/src/autocomplete.ts b/packages/devextreme-vue/src/autocomplete.ts index c0a961580eb3..10c3c959f495 100644 --- a/packages/devextreme-vue/src/autocomplete.ts +++ b/packages/devextreme-vue/src/autocomplete.ts @@ -522,7 +522,7 @@ const DxDropDownOptionsConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, diff --git a/packages/devextreme-vue/src/bar-gauge.ts b/packages/devextreme-vue/src/bar-gauge.ts index 9080c77f1df6..a9e2fc83c7fc 100644 --- a/packages/devextreme-vue/src/bar-gauge.ts +++ b/packages/devextreme-vue/src/bar-gauge.ts @@ -447,7 +447,7 @@ const DxLabelConfig = { connectorWidth: Number, customizeText: Function as PropType<(barValue: Object) => string>, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, indent: Number, visible: Boolean } @@ -502,7 +502,7 @@ const DxLegendConfig = { font: Object, horizontalAlignment: Object as PropType, itemsAlignment: Object as PropType, - itemTextFormat: [Object, Function, String] as PropType string) | Object | string>, + itemTextFormat: [Object, Function, String] as PropType string) | string>, itemTextPosition: Object as PropType, margin: [Number, Object], markerSize: Number, @@ -801,7 +801,7 @@ const DxTooltipConfig = { customizeTooltip: Function as PropType<(scaleValue: Object) => Object>, enabled: Boolean, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, interactive: Boolean, opacity: Number, paddingLeftRight: Number, diff --git a/packages/devextreme-vue/src/bullet.ts b/packages/devextreme-vue/src/bullet.ts index f9313255329d..7a1e147b0e92 100644 --- a/packages/devextreme-vue/src/bullet.ts +++ b/packages/devextreme-vue/src/bullet.ts @@ -314,7 +314,7 @@ const DxTooltipConfig = { customizeTooltip: Function as PropType<(pointsInfo: Object) => Object>, enabled: Boolean, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, interactive: Boolean, opacity: Number, paddingLeftRight: Number, diff --git a/packages/devextreme-vue/src/chart.ts b/packages/devextreme-vue/src/chart.ts index 4e43772bff10..c8251cf28953 100644 --- a/packages/devextreme-vue/src/chart.ts +++ b/packages/devextreme-vue/src/chart.ts @@ -215,7 +215,7 @@ const componentConfig = { rotated: Boolean, rtlEnabled: Boolean, scrollBar: Object, - series: [Array, Object] as PropType | Object | Object>, + series: [Array, Object] as PropType | Object>, seriesSelectionMode: Object as PropType, seriesTemplate: Object, size: Object, @@ -679,9 +679,9 @@ const DxArgumentAxisConfig = { type: Object as PropType, valueMarginsEnabled: Boolean, visible: Boolean, - visualRange: [Array, Object] as PropType<(Array | Array | Array) | Object | Object>, + visualRange: [Array, Object] as PropType<(Array | Array | Array) | Object>, visualRangeUpdateMode: Object as PropType, - wholeRange: [Array, Object] as PropType<(Array | Array | Array) | Object | Object>, + wholeRange: [Array, Object] as PropType<(Array | Array | Array) | Object>, width: Number, workdaysOnly: Boolean, workWeek: Array as PropType> @@ -822,7 +822,7 @@ const DxAxisLabelConfig = { customizeText: Function as PropType<(argument: Object) => string>, displayMode: Object as PropType, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, indentFromAxis: Number, overlappingBehavior: Object as PropType, position: Object as PropType, @@ -1540,14 +1540,14 @@ const DxCommonSeriesSettingsLabelConfig = { }, props: { alignment: Object as PropType, - argumentFormat: [Object, Function, String] as PropType string) | Object | string>, + argumentFormat: [Object, Function, String] as PropType string) | string>, backgroundColor: String, border: Object, connector: Object, customizeText: Function as PropType<(pointInfo: Object) => string>, displayFormat: String, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, horizontalOffset: Number, position: Object as PropType, rotationAngle: Number, @@ -1981,7 +1981,7 @@ const DxHorizontalLineLabelConfig = { backgroundColor: String, customizeText: Function as PropType<(info: Object) => string>, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, visible: Boolean } }; @@ -2075,7 +2075,7 @@ const DxLabelConfig = { }, props: { alignment: Object as PropType, - argumentFormat: [Object, Function, String] as PropType string) | Object | string>, + argumentFormat: [Object, Function, String] as PropType string) | string>, backgroundColor: String, border: Object, connector: Object, @@ -2084,7 +2084,7 @@ const DxLabelConfig = { displayFormat: String, displayMode: Object as PropType, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, horizontalAlignment: Object as PropType, horizontalOffset: Number, indentFromAxis: Number, @@ -3140,7 +3140,7 @@ const DxTooltipConfig = { "update:zIndex": null, }, props: { - argumentFormat: [Object, Function, String] as PropType string) | Object | string>, + argumentFormat: [Object, Function, String] as PropType string) | string>, arrowLength: Number, border: Object, color: String, @@ -3150,7 +3150,7 @@ const DxTooltipConfig = { customizeTooltip: Function as PropType<(pointInfo: Object) => Object>, enabled: Boolean, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, interactive: Boolean, location: Object as PropType, opacity: Number, @@ -3318,9 +3318,9 @@ const DxValueAxisConfig = { valueMarginsEnabled: Boolean, valueType: Object as PropType, visible: Boolean, - visualRange: [Array, Object] as PropType<(Array | Array | Array) | Object | Object>, + visualRange: [Array, Object] as PropType<(Array | Array | Array) | Object>, visualRangeUpdateMode: Object as PropType, - wholeRange: [Array, Object] as PropType<(Array | Array | Array) | Object | Object>, + wholeRange: [Array, Object] as PropType<(Array | Array | Array) | Object>, width: Number } }; diff --git a/packages/devextreme-vue/src/circular-gauge.ts b/packages/devextreme-vue/src/circular-gauge.ts index 25742f239176..2ad86a41dc5d 100644 --- a/packages/devextreme-vue/src/circular-gauge.ts +++ b/packages/devextreme-vue/src/circular-gauge.ts @@ -375,7 +375,7 @@ const DxLabelConfig = { props: { customizeText: Function as PropType<(scaleValue: Object) => string>, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, hideFirstOrLast: Object as PropType, indentFromTick: Number, overlappingBehavior: Object as PropType, @@ -711,7 +711,7 @@ const DxTextConfig = { props: { customizeText: Function as PropType<(indicatedValue: Object) => string>, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, indent: Number } }; @@ -820,7 +820,7 @@ const DxTooltipConfig = { customizeTooltip: Function as PropType<(scaleValue: Object) => Object>, enabled: Boolean, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, interactive: Boolean, opacity: Number, paddingLeftRight: Number, diff --git a/packages/devextreme-vue/src/color-box.ts b/packages/devextreme-vue/src/color-box.ts index 82d612383a52..27cc66cd2ead 100644 --- a/packages/devextreme-vue/src/color-box.ts +++ b/packages/devextreme-vue/src/color-box.ts @@ -472,7 +472,7 @@ const DxDropDownOptionsConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, diff --git a/packages/devextreme-vue/src/data-grid.ts b/packages/devextreme-vue/src/data-grid.ts index 5f41dca699dc..14ab764372e9 100644 --- a/packages/devextreme-vue/src/data-grid.ts +++ b/packages/devextreme-vue/src/data-grid.ts @@ -840,7 +840,7 @@ const DxColumnConfig = { filterValues: Array as PropType>, fixed: Boolean, fixedPosition: Object as PropType, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, formItem: Object, groupCellTemplate: {}, groupIndex: Number, @@ -863,7 +863,7 @@ const DxColumnConfig = { sortOrder: Object as PropType, trueText: String, type: Object as PropType, - validationRules: Array as PropType | Array | Array | Array | Array | Array | Array | Array | Array>, + validationRules: Array as PropType>, visible: Boolean, visibleIndex: Number, width: [Number, String] @@ -1531,7 +1531,7 @@ const DxFieldConfig = { editorTemplate: {}, falseText: String, filterOperations: Array as PropType | Array>, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, lookup: Object, name: String, trueText: String @@ -1561,7 +1561,7 @@ const DxFieldLookupConfig = { }, props: { allowClearing: Boolean, - dataSource: [Array, Object] as PropType | Object | Object>, + dataSource: [Array, Object] as PropType | Object>, displayExpr: [Function, String] as PropType<((data: Object) => string) | string>, valueExpr: [Function, String] as PropType<((data: Object) => (string | number | Boolean)) | string> } @@ -1741,7 +1741,7 @@ const DxFilterBuilderPopupConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, @@ -1944,7 +1944,7 @@ const DxFormConfig = { bindingOptions: Object, colCount: [Object, Number] as PropType, colCountByScreen: Object, - customizeItem: Function as PropType<(item: Object | Object | Object | Object | Object) => void>, + customizeItem: Function as PropType<(item: Object) => void>, disabled: Boolean, elementAttr: Object, focusStateEnabled: Boolean, @@ -1953,7 +1953,7 @@ const DxFormConfig = { hint: String, hoverStateEnabled: Boolean, isDirty: Boolean, - items: Array as PropType | Array | Array | Array | Array>, + items: Array as PropType>, labelLocation: Object as PropType, labelMode: Object as PropType, minColWidth: Number, @@ -2048,7 +2048,7 @@ const DxFormItemConfig = { label: Object, name: String, template: {}, - validationRules: Array as PropType | Array | Array | Array | Array | Array | Array | Array | Array>, + validationRules: Array as PropType>, visible: Boolean, visibleIndex: Number } @@ -2180,7 +2180,7 @@ const DxGroupItemConfig = { showInGroupFooter: Boolean, skipEmptyValues: Boolean, summaryType: [String, Object] as PropType, - valueFormat: [Object, Function, String] as PropType string) | Object | string> + valueFormat: [Object, Function, String] as PropType string) | string> } }; @@ -2780,7 +2780,7 @@ const DxPopupConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, @@ -3518,7 +3518,7 @@ const DxTotalItemConfig = { showInColumn: String, skipEmptyValues: Boolean, summaryType: [String, Object] as PropType, - valueFormat: [Object, Function, String] as PropType string) | Object | string> + valueFormat: [Object, Function, String] as PropType string) | string> } }; diff --git a/packages/devextreme-vue/src/date-box.ts b/packages/devextreme-vue/src/date-box.ts index c6f2b96b2b6c..f58ade844afd 100644 --- a/packages/devextreme-vue/src/date-box.ts +++ b/packages/devextreme-vue/src/date-box.ts @@ -176,7 +176,7 @@ const componentConfig = { deferRendering: Boolean, disabled: Boolean, disabledDates: [Array, Function] as PropType | ((data: Object) => Boolean)>, - displayFormat: [Object, Function, String] as PropType string) | Object | string>, + displayFormat: [Object, Function, String] as PropType string) | string>, dropDownButtonTemplate: {}, dropDownOptions: Object, elementAttr: Object, @@ -660,7 +660,7 @@ const DxDropDownOptionsConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, diff --git a/packages/devextreme-vue/src/date-range-box.ts b/packages/devextreme-vue/src/date-range-box.ts index 0b80467e84e3..492519ba735a 100644 --- a/packages/devextreme-vue/src/date-range-box.ts +++ b/packages/devextreme-vue/src/date-range-box.ts @@ -176,7 +176,7 @@ const componentConfig = { deferRendering: Boolean, disabled: Boolean, disableOutOfRangeSelection: Boolean, - displayFormat: [Object, Function, String] as PropType string) | Object | string>, + displayFormat: [Object, Function, String] as PropType string) | string>, dropDownButtonTemplate: {}, dropDownOptions: Object, elementAttr: Object, @@ -670,7 +670,7 @@ const DxDropDownOptionsConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, diff --git a/packages/devextreme-vue/src/drop-down-box.ts b/packages/devextreme-vue/src/drop-down-box.ts index 6c17ea19afd6..4477fcea4d5f 100644 --- a/packages/devextreme-vue/src/drop-down-box.ts +++ b/packages/devextreme-vue/src/drop-down-box.ts @@ -480,7 +480,7 @@ const DxDropDownOptionsConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, diff --git a/packages/devextreme-vue/src/drop-down-button.ts b/packages/devextreme-vue/src/drop-down-button.ts index e6a566d798a9..925a752517ce 100644 --- a/packages/devextreme-vue/src/drop-down-button.ts +++ b/packages/devextreme-vue/src/drop-down-button.ts @@ -365,7 +365,7 @@ const DxDropDownOptionsConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, diff --git a/packages/devextreme-vue/src/filter-builder.ts b/packages/devextreme-vue/src/filter-builder.ts index ad3cf67e347f..ed427ff37ef7 100644 --- a/packages/devextreme-vue/src/filter-builder.ts +++ b/packages/devextreme-vue/src/filter-builder.ts @@ -196,7 +196,7 @@ const DxFieldConfig = { editorTemplate: {}, falseText: String, filterOperations: Array as PropType | Array>, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, lookup: Object, name: String, trueText: String @@ -316,7 +316,7 @@ const DxLookupConfig = { }, props: { allowClearing: Boolean, - dataSource: [Array, Object] as PropType | Object | Object>, + dataSource: [Array, Object] as PropType | Object>, displayExpr: [Function, String] as PropType<((data: Object) => string) | string>, valueExpr: [Function, String] as PropType<((data: Object) => (string | number | Boolean)) | string> } diff --git a/packages/devextreme-vue/src/form.ts b/packages/devextreme-vue/src/form.ts index 9ea4edc8b748..032e38f0e008 100644 --- a/packages/devextreme-vue/src/form.ts +++ b/packages/devextreme-vue/src/form.ts @@ -105,7 +105,7 @@ const componentConfig = { alignItemLabelsInAllGroups: Boolean, colCount: [Object, Number] as PropType, colCountByScreen: Object, - customizeItem: Function as PropType<(item: Object | Object | Object | Object | Object) => void>, + customizeItem: Function as PropType<(item: Object) => void>, disabled: Boolean, elementAttr: Object, focusStateEnabled: Boolean, @@ -114,7 +114,7 @@ const componentConfig = { hint: String, hoverStateEnabled: Boolean, isDirty: Boolean, - items: Array as PropType | Array | Array | Array | Array>, + items: Array as PropType>, labelLocation: Object as PropType, labelMode: Object as PropType, minColWidth: Number, @@ -506,7 +506,7 @@ const DxGroupItemConfig = { colCountByScreen: Object, colSpan: Number, cssClass: String, - items: Array as PropType | Array | Array | Array | Array>, + items: Array as PropType>, itemType: Object as PropType, name: String, template: {}, @@ -584,7 +584,7 @@ const DxItemConfig = { html: String, icon: String, isRequired: Boolean, - items: Array as PropType | Array | Array | Array | Array>, + items: Array as PropType>, itemType: Object as PropType, label: Object, name: String, @@ -594,7 +594,7 @@ const DxItemConfig = { template: {}, text: String, title: String, - validationRules: Array as PropType | Array | Array | Array | Array | Array | Array | Array | Array>, + validationRules: Array as PropType>, verticalAlignment: Object as PropType, visible: Boolean, visibleIndex: Number @@ -774,7 +774,7 @@ const DxSimpleItemConfig = { label: Object, name: String, template: {}, - validationRules: Array as PropType | Array | Array | Array | Array | Array | Array | Array | Array>, + validationRules: Array as PropType>, visible: Boolean, visibleIndex: Number } @@ -856,7 +856,7 @@ const DxTabConfig = { colCountByScreen: Object, disabled: Boolean, icon: String, - items: Array as PropType | Array | Array | Array | Array>, + items: Array as PropType>, tabTemplate: {}, template: {}, title: String diff --git a/packages/devextreme-vue/src/funnel.ts b/packages/devextreme-vue/src/funnel.ts index b9c39b8ed07f..bcd0035688ef 100644 --- a/packages/devextreme-vue/src/funnel.ts +++ b/packages/devextreme-vue/src/funnel.ts @@ -547,7 +547,7 @@ const DxLabelConfig = { connector: Object, customizeText: Function as PropType<(itemInfo: Object) => string>, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, horizontalAlignment: Object as PropType, horizontalOffset: Number, position: Object as PropType, @@ -954,7 +954,7 @@ const DxTooltipConfig = { customizeTooltip: Function as PropType<(info: Object) => Object>, enabled: Boolean, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, opacity: Number, paddingLeftRight: Number, paddingTopBottom: Number, diff --git a/packages/devextreme-vue/src/gantt.ts b/packages/devextreme-vue/src/gantt.ts index 4b72ba04e26c..77679bf0fa83 100644 --- a/packages/devextreme-vue/src/gantt.ts +++ b/packages/devextreme-vue/src/gantt.ts @@ -383,7 +383,7 @@ const DxColumnConfig = { filterType: Object as PropType, filterValue: {}, filterValues: Array as PropType>, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, headerCellTemplate: {}, headerFilter: Object, minWidth: Number, diff --git a/packages/devextreme-vue/src/linear-gauge.ts b/packages/devextreme-vue/src/linear-gauge.ts index ca2c1f8d495b..ca96b102d841 100644 --- a/packages/devextreme-vue/src/linear-gauge.ts +++ b/packages/devextreme-vue/src/linear-gauge.ts @@ -369,7 +369,7 @@ const DxLabelConfig = { props: { customizeText: Function as PropType<(scaleValue: Object) => string>, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, indentFromTick: Number, overlappingBehavior: Object as PropType, useRangeColors: Boolean, @@ -709,7 +709,7 @@ const DxTextConfig = { props: { customizeText: Function as PropType<(indicatedValue: Object) => string>, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, indent: Number } }; @@ -818,7 +818,7 @@ const DxTooltipConfig = { customizeTooltip: Function as PropType<(scaleValue: Object) => Object>, enabled: Boolean, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, interactive: Boolean, opacity: Number, paddingLeftRight: Number, diff --git a/packages/devextreme-vue/src/load-panel.ts b/packages/devextreme-vue/src/load-panel.ts index f37763b9db6e..2c351d6127c0 100644 --- a/packages/devextreme-vue/src/load-panel.ts +++ b/packages/devextreme-vue/src/load-panel.ts @@ -95,7 +95,7 @@ const componentConfig = { onOptionChanged: Function as PropType<(e: OptionChangedEvent) => void>, onShowing: Function as PropType<(e: ShowingEvent) => void>, onShown: Function as PropType<(e: ShownEvent) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, rtlEnabled: Boolean, shading: Boolean, shadingColor: String, diff --git a/packages/devextreme-vue/src/lookup.ts b/packages/devextreme-vue/src/lookup.ts index 98dfc694e795..ee5b80c1bd69 100644 --- a/packages/devextreme-vue/src/lookup.ts +++ b/packages/devextreme-vue/src/lookup.ts @@ -499,7 +499,7 @@ const DxDropDownOptionsConfig = { onShowing: Function as PropType<(e: ShowingEvent) => void>, onShown: Function as PropType<(e: ShownEvent) => void>, onTitleRendered: Function as PropType<(e: TitleRenderedEvent) => void>, - position: Object as PropType, + position: Object as PropType, rtlEnabled: Boolean, shading: Boolean, shadingColor: String, diff --git a/packages/devextreme-vue/src/number-box.ts b/packages/devextreme-vue/src/number-box.ts index b80653fda8ff..3c111972e862 100644 --- a/packages/devextreme-vue/src/number-box.ts +++ b/packages/devextreme-vue/src/number-box.ts @@ -110,7 +110,7 @@ const componentConfig = { disabled: Boolean, elementAttr: Object, focusStateEnabled: Boolean, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, height: [Function, Number, String] as PropType<(() => (number | string)) | number | string>, hint: String, hoverStateEnabled: Boolean, diff --git a/packages/devextreme-vue/src/pie-chart.ts b/packages/devextreme-vue/src/pie-chart.ts index 2e4607f3688e..f0893d821fdd 100644 --- a/packages/devextreme-vue/src/pie-chart.ts +++ b/packages/devextreme-vue/src/pie-chart.ts @@ -152,7 +152,7 @@ const componentConfig = { resolveLabelOverlapping: Object as PropType, rtlEnabled: Boolean, segmentsDirection: Object as PropType, - series: [Array, Object] as PropType | Object | Object>, + series: [Array, Object] as PropType | Object>, seriesTemplate: Object, size: Object, sizeGroup: String, @@ -801,14 +801,14 @@ const DxLabelConfig = { "update:wordWrap": null, }, props: { - argumentFormat: [Object, Function, String] as PropType string) | Object | string>, + argumentFormat: [Object, Function, String] as PropType string) | string>, backgroundColor: String, border: Object, connector: Object, customizeText: Function as PropType<(pointInfo: Object) => string>, displayFormat: String, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, position: Object as PropType, radialOffset: Number, rotationAngle: Number, @@ -1346,7 +1346,7 @@ const DxTooltipConfig = { "update:zIndex": null, }, props: { - argumentFormat: [Object, Function, String] as PropType string) | Object | string>, + argumentFormat: [Object, Function, String] as PropType string) | string>, arrowLength: Number, border: Object, color: String, @@ -1356,7 +1356,7 @@ const DxTooltipConfig = { customizeTooltip: Function as PropType<(pointInfo: Object) => Object>, enabled: Boolean, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, interactive: Boolean, opacity: Number, paddingLeftRight: Number, diff --git a/packages/devextreme-vue/src/polar-chart.ts b/packages/devextreme-vue/src/polar-chart.ts index 7d0e0a5bd18d..0bd6a99740d5 100644 --- a/packages/devextreme-vue/src/polar-chart.ts +++ b/packages/devextreme-vue/src/polar-chart.ts @@ -181,7 +181,7 @@ const componentConfig = { redrawOnResize: Boolean, resolveLabelOverlapping: Object as PropType, rtlEnabled: Boolean, - series: [Array, Object] as PropType | Object | Object>, + series: [Array, Object] as PropType | Object>, seriesSelectionMode: Object as PropType, seriesTemplate: Object, size: Object, @@ -641,7 +641,7 @@ const DxAxisLabelConfig = { customizeHint: Function as PropType<(argument: Object) => string>, customizeText: Function as PropType<(argument: Object) => string>, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, indentFromAxis: Number, overlappingBehavior: Object as PropType, visible: Boolean @@ -1044,14 +1044,14 @@ const DxCommonSeriesSettingsLabelConfig = { "update:visible": null, }, props: { - argumentFormat: [Object, Function, String] as PropType string) | Object | string>, + argumentFormat: [Object, Function, String] as PropType string) | string>, backgroundColor: String, border: Object, connector: Object, customizeText: Function as PropType<(pointInfo: Object) => string>, displayFormat: String, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, position: Object as PropType, rotationAngle: Number, showForZeroValues: Boolean, @@ -1444,7 +1444,7 @@ const DxLabelConfig = { "update:visible": null, }, props: { - argumentFormat: [Object, Function, String] as PropType string) | Object | string>, + argumentFormat: [Object, Function, String] as PropType string) | string>, backgroundColor: String, border: Object, connector: Object, @@ -1452,7 +1452,7 @@ const DxLabelConfig = { customizeText: Function as PropType<(argument: Object) => string>, displayFormat: String, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, indentFromAxis: Number, overlappingBehavior: Object as PropType, position: Object as PropType, @@ -2390,7 +2390,7 @@ const DxTooltipConfig = { "update:zIndex": null, }, props: { - argumentFormat: [Object, Function, String] as PropType string) | Object | string>, + argumentFormat: [Object, Function, String] as PropType string) | string>, arrowLength: Number, border: Object, color: String, @@ -2400,7 +2400,7 @@ const DxTooltipConfig = { customizeTooltip: Function as PropType<(pointInfo: Object) => Object>, enabled: Boolean, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, interactive: Boolean, opacity: Number, paddingLeftRight: Number, @@ -2520,9 +2520,9 @@ const DxValueAxisConfig = { valueMarginsEnabled: Boolean, valueType: Object as PropType, visible: Boolean, - visualRange: [Array, Object] as PropType<(Array | Array | Array) | Object | Object>, + visualRange: [Array, Object] as PropType<(Array | Array | Array) | Object>, visualRangeUpdateMode: Object as PropType, - wholeRange: [Array, Object] as PropType<(Array | Array | Array) | Object | Object>, + wholeRange: [Array, Object] as PropType<(Array | Array | Array) | Object>, width: Number } }; diff --git a/packages/devextreme-vue/src/popover.ts b/packages/devextreme-vue/src/popover.ts index 8f41d5f8fee2..a6edeb1c7697 100644 --- a/packages/devextreme-vue/src/popover.ts +++ b/packages/devextreme-vue/src/popover.ts @@ -113,7 +113,7 @@ const componentConfig = { onShowing: Function as PropType<(e: ShowingEvent) => void>, onShown: Function as PropType<(e: ShownEvent) => void>, onTitleRendered: Function as PropType<(e: TitleRenderedEvent) => void>, - position: Object as PropType, + position: Object as PropType, rtlEnabled: Boolean, shading: Boolean, shadingColor: String, diff --git a/packages/devextreme-vue/src/popup.ts b/packages/devextreme-vue/src/popup.ts index fd913ed10e3c..ef8053a6a6cc 100644 --- a/packages/devextreme-vue/src/popup.ts +++ b/packages/devextreme-vue/src/popup.ts @@ -118,7 +118,7 @@ const componentConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, diff --git a/packages/devextreme-vue/src/range-selector.ts b/packages/devextreme-vue/src/range-selector.ts index 2182b36c5ed0..6074ef576950 100644 --- a/packages/devextreme-vue/src/range-selector.ts +++ b/packages/devextreme-vue/src/range-selector.ts @@ -129,7 +129,7 @@ const componentConfig = { sliderMarker: Object, theme: Object as PropType, title: [Object, String], - value: [Array, Object] as PropType<(Array | Array | Array) | Object | Object> + value: [Array, Object] as PropType<(Array | Array | Array) | Object> }, emits: { "update:isActive": null, @@ -449,7 +449,7 @@ const DxChartConfig = { negativesAsZeroes: Boolean, palette: [Array, Object] as PropType | Palette>, paletteExtensionMode: Object as PropType, - series: [Array, Object] as PropType | Object | Object>, + series: [Array, Object] as PropType | Object>, seriesTemplate: Object, topIndent: Number, valueAxis: Object @@ -695,14 +695,14 @@ const DxCommonSeriesSettingsLabelConfig = { }, props: { alignment: Object as PropType, - argumentFormat: [Object, Function, String] as PropType string) | Object | string>, + argumentFormat: [Object, Function, String] as PropType string) | string>, backgroundColor: String, border: Object, connector: Object, customizeText: Function as PropType<(pointInfo: Object) => string>, displayFormat: String, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, horizontalOffset: Number, position: Object as PropType, rotationAngle: Number, @@ -1019,14 +1019,14 @@ const DxLabelConfig = { }, props: { alignment: Object as PropType, - argumentFormat: [Object, Function, String] as PropType string) | Object | string>, + argumentFormat: [Object, Function, String] as PropType string) | string>, backgroundColor: String, border: Object, connector: Object, customizeText: Function as PropType<(pointInfo: Object) => string>, displayFormat: String, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, horizontalOffset: Number, overlappingBehavior: Object as PropType, position: Object as PropType, @@ -1168,7 +1168,7 @@ const DxMarkerLabelConfig = { }, props: { customizeText: Function as PropType<(markerValue: Object) => string>, - format: [Object, Function, String] as PropType string) | Object | string> + format: [Object, Function, String] as PropType string) | string> } }; @@ -1570,7 +1570,7 @@ const DxScaleLabelConfig = { props: { customizeText: Function as PropType<(scaleValue: Object) => string>, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, overlappingBehavior: Object as PropType, topIndent: Number, visible: Boolean @@ -1831,7 +1831,7 @@ const DxSliderMarkerConfig = { color: String, customizeText: Function as PropType<(scaleValue: Object) => string>, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, invalidRangeColor: String, paddingLeftRight: Number, paddingTopBottom: Number, diff --git a/packages/devextreme-vue/src/range-slider.ts b/packages/devextreme-vue/src/range-slider.ts index 1f71b993b577..d447ebc8a02f 100644 --- a/packages/devextreme-vue/src/range-slider.ts +++ b/packages/devextreme-vue/src/range-slider.ts @@ -205,7 +205,7 @@ const DxLabelConfig = { "update:visible": null, }, props: { - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, position: Object as PropType, visible: Boolean } @@ -231,7 +231,7 @@ const DxTooltipConfig = { }, props: { enabled: Boolean, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, position: Object as PropType, showMode: Object as PropType } diff --git a/packages/devextreme-vue/src/sankey.ts b/packages/devextreme-vue/src/sankey.ts index cca3690c84db..87c1a1124db3 100644 --- a/packages/devextreme-vue/src/sankey.ts +++ b/packages/devextreme-vue/src/sankey.ts @@ -676,7 +676,7 @@ const DxTooltipConfig = { customizeNodeTooltip: Function as PropType<(info: Object) => Object>, enabled: Boolean, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, linkTooltipTemplate: {}, nodeTooltipTemplate: {}, opacity: Number, diff --git a/packages/devextreme-vue/src/select-box.ts b/packages/devextreme-vue/src/select-box.ts index a802cf10d560..9c98e96c6dff 100644 --- a/packages/devextreme-vue/src/select-box.ts +++ b/packages/devextreme-vue/src/select-box.ts @@ -547,7 +547,7 @@ const DxDropDownOptionsConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, diff --git a/packages/devextreme-vue/src/slider.ts b/packages/devextreme-vue/src/slider.ts index ec8f485bc10a..0402a59267f9 100644 --- a/packages/devextreme-vue/src/slider.ts +++ b/packages/devextreme-vue/src/slider.ts @@ -196,7 +196,7 @@ const DxLabelConfig = { "update:visible": null, }, props: { - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, position: Object as PropType, visible: Boolean } @@ -222,7 +222,7 @@ const DxTooltipConfig = { }, props: { enabled: Boolean, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, position: Object as PropType, showMode: Object as PropType } diff --git a/packages/devextreme-vue/src/sparkline.ts b/packages/devextreme-vue/src/sparkline.ts index 539b98204d84..68694a0d2c91 100644 --- a/packages/devextreme-vue/src/sparkline.ts +++ b/packages/devextreme-vue/src/sparkline.ts @@ -355,7 +355,7 @@ const DxTooltipConfig = { customizeTooltip: Function as PropType<(pointsInfo: Object) => Object>, enabled: Boolean, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, interactive: Boolean, opacity: Number, paddingLeftRight: Number, diff --git a/packages/devextreme-vue/src/tag-box.ts b/packages/devextreme-vue/src/tag-box.ts index 68cda144de40..5a766219bd96 100644 --- a/packages/devextreme-vue/src/tag-box.ts +++ b/packages/devextreme-vue/src/tag-box.ts @@ -566,7 +566,7 @@ const DxDropDownOptionsConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, diff --git a/packages/devextreme-vue/src/tooltip.ts b/packages/devextreme-vue/src/tooltip.ts index f58b122e1245..7bc023448690 100644 --- a/packages/devextreme-vue/src/tooltip.ts +++ b/packages/devextreme-vue/src/tooltip.ts @@ -94,7 +94,7 @@ const componentConfig = { onOptionChanged: Function as PropType<(e: OptionChangedEvent) => void>, onShowing: Function as PropType<(e: ShowingEvent) => void>, onShown: Function as PropType<(e: ShownEvent) => void>, - position: Object as PropType, + position: Object as PropType, rtlEnabled: Boolean, shading: Boolean, shadingColor: String, diff --git a/packages/devextreme-vue/src/tree-list.ts b/packages/devextreme-vue/src/tree-list.ts index a9f288d16b1b..bbc289835afe 100644 --- a/packages/devextreme-vue/src/tree-list.ts +++ b/packages/devextreme-vue/src/tree-list.ts @@ -817,7 +817,7 @@ const DxColumnConfig = { filterValues: Array as PropType>, fixed: Boolean, fixedPosition: Object as PropType, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, formItem: Object, headerCellTemplate: {}, headerFilter: Object, @@ -837,7 +837,7 @@ const DxColumnConfig = { sortOrder: Object as PropType, trueText: String, type: Object as PropType, - validationRules: Array as PropType | Array | Array | Array | Array | Array | Array | Array | Array>, + validationRules: Array as PropType>, visible: Boolean, visibleIndex: Number, width: [Number, String] @@ -1349,7 +1349,7 @@ const DxFieldConfig = { editorTemplate: {}, falseText: String, filterOperations: Array as PropType | Array>, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, lookup: Object, name: String, trueText: String @@ -1379,7 +1379,7 @@ const DxFieldLookupConfig = { }, props: { allowClearing: Boolean, - dataSource: [Array, Object] as PropType | Object | Object>, + dataSource: [Array, Object] as PropType | Object>, displayExpr: [Function, String] as PropType<((data: Object) => string) | string>, valueExpr: [Function, String] as PropType<((data: Object) => (string | number | Boolean)) | string> } @@ -1559,7 +1559,7 @@ const DxFilterBuilderPopupConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, @@ -1762,7 +1762,7 @@ const DxFormConfig = { bindingOptions: Object, colCount: [Object, Number] as PropType, colCountByScreen: Object, - customizeItem: Function as PropType<(item: Object | Object | Object | Object | Object) => void>, + customizeItem: Function as PropType<(item: Object) => void>, disabled: Boolean, elementAttr: Object, focusStateEnabled: Boolean, @@ -1771,7 +1771,7 @@ const DxFormConfig = { hint: String, hoverStateEnabled: Boolean, isDirty: Boolean, - items: Array as PropType | Array | Array | Array | Array>, + items: Array as PropType>, labelLocation: Object as PropType, labelMode: Object as PropType, minColWidth: Number, @@ -1866,7 +1866,7 @@ const DxFormItemConfig = { label: Object, name: String, template: {}, - validationRules: Array as PropType | Array | Array | Array | Array | Array | Array | Array | Array>, + validationRules: Array as PropType>, visible: Boolean, visibleIndex: Number } @@ -2463,7 +2463,7 @@ const DxPopupConfig = { onShowing: Function as PropType<(e: Object) => void>, onShown: Function as PropType<(e: Object) => void>, onTitleRendered: Function as PropType<(e: Object) => void>, - position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object | Object>, + position: [Function, Object] as PropType<(() => void) | PositionAlignment | Object>, resizeEnabled: Boolean, restorePosition: Boolean, rtlEnabled: Boolean, diff --git a/packages/devextreme-vue/src/tree-map.ts b/packages/devextreme-vue/src/tree-map.ts index c9feeed1ea2e..5a3cfe89c880 100644 --- a/packages/devextreme-vue/src/tree-map.ts +++ b/packages/devextreme-vue/src/tree-map.ts @@ -708,7 +708,7 @@ const DxTooltipConfig = { customizeTooltip: Function as PropType<(info: Object) => Object>, enabled: Boolean, font: Object, - format: [Object, Function, String] as PropType string) | Object | string>, + format: [Object, Function, String] as PropType string) | string>, opacity: Number, paddingLeftRight: Number, paddingTopBottom: Number, diff --git a/packages/devextreme-vue/src/validator.ts b/packages/devextreme-vue/src/validator.ts index b01dfd5d1a89..697c5dc13f22 100644 --- a/packages/devextreme-vue/src/validator.ts +++ b/packages/devextreme-vue/src/validator.ts @@ -37,7 +37,7 @@ const componentConfig = { onOptionChanged: Function as PropType<(e: Object) => void>, onValidated: Function as PropType<(validatedInfo: Object) => void>, validationGroup: String, - validationRules: Array as PropType | Array | Array | Array | Array | Array | Array | Array | Array>, + validationRules: Array as PropType>, width: [Function, Number, String] as PropType<(() => (number | string)) | number | string> }, emits: { diff --git a/packages/devextreme-vue/src/vector-map.ts b/packages/devextreme-vue/src/vector-map.ts index 96edd7251668..4fd84f70792c 100644 --- a/packages/devextreme-vue/src/vector-map.ts +++ b/packages/devextreme-vue/src/vector-map.ts @@ -122,7 +122,7 @@ const componentConfig = { onZoomFactorChanged: Function as PropType<(e: ZoomFactorChangedEvent) => void>, panningEnabled: Boolean, pathModified: Boolean, - projection: [Object, String] as PropType, + projection: [Object, String] as PropType, redrawOnResize: Boolean, rtlEnabled: Boolean, size: Object,