Skip to content

Commit

Permalink
Regenerate vue wrappers with updated props TS Types
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodDayForSurf committed Oct 8, 2024
1 parent 684b8cc commit bcfecc0
Show file tree
Hide file tree
Showing 40 changed files with 129 additions and 129 deletions.
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/accordion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const componentConfig = {
hint: String,
hoverStateEnabled: Boolean,
itemHoldTimeout: Number,
items: Array as PropType<Array<any> | Array<Object> | Array<string>>,
items: Array as PropType<Array<any>>,
itemTemplate: {},
itemTitleTemplate: {},
keyExpr: [Function, String] as PropType<(() => void) | string>,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/action-sheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const componentConfig = {
hint: String,
hoverStateEnabled: Boolean,
itemHoldTimeout: Number,
items: Array as PropType<Array<any> | Array<Object> | Array<string>>,
items: Array as PropType<Array<any>>,
itemTemplate: {},
onCancelClick: Function as PropType<(e: CancelClickEvent) => void>,
onContentReady: Function as PropType<(e: ContentReadyEvent) => void>,
Expand Down
6 changes: 3 additions & 3 deletions packages/devextreme-vue/src/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const componentConfig = {
props: {
accessKey: String,
activeStateEnabled: Boolean,
buttons: Array as PropType<Array<"clear" | "dropDown"> | Array<Object>>,
buttons: Array as PropType<Array<"clear" | "dropDown" | Object>>,
dataSource: {},
deferRendering: Boolean,
disabled: Boolean,
Expand All @@ -135,7 +135,7 @@ const componentConfig = {
inputAttr: {},
isDirty: Boolean,
isValid: Boolean,
items: Array as PropType<Array<any> | Array<Object>>,
items: Array as PropType<Array<any>>,
itemTemplate: {},
label: String,
labelMode: String as PropType<"static" | "floating" | "hidden" | "outside">,
Expand Down Expand Up @@ -168,7 +168,7 @@ const componentConfig = {
placeholder: String,
readOnly: Boolean,
rtlEnabled: Boolean,
searchExpr: [Array, Function, String] as PropType<(Array<Function> | Array<string>) | Function | string>,
searchExpr: [Array, Function, String] as PropType<(Array<Function | string>) | Function | string>,
searchMode: String as PropType<"contains" | "startswith">,
searchTimeout: Number,
selectedItem: {},
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const componentConfig = {
height: [Function, Number, String] as PropType<(() => (number | string)) | number | string>,
hoverStateEnabled: Boolean,
itemHoldTimeout: Number,
items: Array as PropType<Array<any> | Array<Object> | Array<string>>,
items: Array as PropType<Array<any>>,
itemTemplate: {},
onContentReady: Function as PropType<(e: ContentReadyEvent) => void>,
onDisposing: Function as PropType<(e: DisposingEvent) => void>,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const componentConfig = {
validationMessageMode: String as PropType<"always" | "auto">,
validationMessagePosition: String as PropType<"bottom" | "left" | "right" | "top">,
validationStatus: String as PropType<"valid" | "invalid" | "pending">,
value: [Array, Date, Number, String] as PropType<(Array<Date> | Array<number> | Array<string>) | Date | number | string>,
value: [Array, Date, Number, String] as PropType<(Array<Date | number | string>) | Date | number | string>,
visible: Boolean,
weekNumberRule: String as PropType<"auto" | "firstDay" | "fullWeek" | "firstFourDays">,
width: [Function, Number, String] as PropType<(() => (number | string)) | number | string>,
Expand Down
24 changes: 12 additions & 12 deletions packages/devextreme-vue/src/chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const componentConfig = {
adaptiveLayout: Object,
adjustOnZoom: Boolean,
animation: [Boolean, Object],
annotations: Array as PropType<Array<any> | Array<Object>>,
annotations: Array as PropType<Array<any>>,
argumentAxis: Object,
autoHidePointMarkers: Boolean,
barGroupPadding: Number,
Expand All @@ -122,7 +122,7 @@ const componentConfig = {
commonSeriesSettings: Object,
containerBackgroundColor: String,
crosshair: Object,
customizeAnnotation: Function as PropType<(annotation: Object | any) => Object>,
customizeAnnotation: Function as PropType<(annotation: any) => Object>,
customizeLabel: Function as PropType<(pointInfo: Object) => Object>,
customizePoint: Function as PropType<(pointInfo: Object) => Object>,
dataPrepareSettings: Object,
Expand Down Expand Up @@ -442,7 +442,7 @@ const DxAnnotationConfig = {
axis: String,
border: Object,
color: String,
customizeTooltip: Function as PropType<(annotation: Object | any) => Object>,
customizeTooltip: Function as PropType<(annotation: any) => Object>,
data: {},
description: String,
font: Object,
Expand Down Expand Up @@ -598,7 +598,7 @@ const DxArgumentAxisConfig = {
axisDivisionFactor: Number,
breaks: Array as PropType<Array<Object>>,
breakStyle: Object,
categories: Array as PropType<Array<Date> | Array<number> | Array<string>>,
categories: Array as PropType<Array<Date | number | string>>,
color: String,
constantLines: Array as PropType<Array<Object>>,
constantLineStyle: Object,
Expand All @@ -607,7 +607,7 @@ const DxArgumentAxisConfig = {
discreteAxisDivisionMode: String as PropType<"betweenLabels" | "crossLabels">,
endOnTick: Boolean,
grid: Object,
holidays: Array as PropType<(Array<Date> | Array<string>) | Array<number>>,
holidays: Array as PropType<(Array<Date | string>) | Array<number>>,
hoverMode: String as PropType<"allArgumentPoints" | "none">,
inverted: Boolean,
label: Object,
Expand All @@ -624,7 +624,7 @@ const DxArgumentAxisConfig = {
opacity: Number,
placeholderSize: Number,
position: String as PropType<"bottom" | "left" | "right" | "top">,
singleWorkdays: Array as PropType<(Array<Date> | Array<string>) | Array<number>>,
singleWorkdays: Array as PropType<(Array<Date | string>) | Array<number>>,
strips: Array as PropType<Array<Object>>,
stripStyle: Object,
tick: Object,
Expand All @@ -633,9 +633,9 @@ const DxArgumentAxisConfig = {
type: String as PropType<"continuous" | "discrete" | "logarithmic">,
valueMarginsEnabled: Boolean,
visible: Boolean,
visualRange: [Array, Object] as PropType<(Array<Date> | Array<number> | Array<string>) | Object>,
visualRange: [Array, Object] as PropType<(Array<Date | number | string>) | Object>,
visualRangeUpdateMode: String as PropType<"auto" | "keep" | "reset" | "shift">,
wholeRange: [Array, Object] as PropType<(Array<Date> | Array<number> | Array<string>) | Object>,
wholeRange: [Array, Object] as PropType<(Array<Date | number | string>) | Object>,
width: Number,
workdaysOnly: Boolean,
workWeek: Array as PropType<Array<number>>
Expand Down Expand Up @@ -1047,7 +1047,7 @@ const DxCommonAnnotationSettingsConfig = {
axis: String,
border: Object,
color: String,
customizeTooltip: Function as PropType<(annotation: Object | any) => Object>,
customizeTooltip: Function as PropType<(annotation: any) => Object>,
data: {},
description: String,
font: Object,
Expand Down Expand Up @@ -3234,7 +3234,7 @@ const DxValueAxisConfig = {
axisDivisionFactor: Number,
breaks: Array as PropType<Array<Object>>,
breakStyle: Object,
categories: Array as PropType<Array<Date> | Array<number> | Array<string>>,
categories: Array as PropType<Array<Date | number | string>>,
color: String,
constantLines: Array as PropType<Array<Object>>,
constantLineStyle: Object,
Expand Down Expand Up @@ -3272,9 +3272,9 @@ const DxValueAxisConfig = {
valueMarginsEnabled: Boolean,
valueType: String as PropType<"datetime" | "numeric" | "string">,
visible: Boolean,
visualRange: [Array, Object] as PropType<(Array<Date> | Array<number> | Array<string>) | Object>,
visualRange: [Array, Object] as PropType<(Array<Date | number | string>) | Object>,
visualRangeUpdateMode: String as PropType<"auto" | "keep" | "reset" | "shift">,
wholeRange: [Array, Object] as PropType<(Array<Date> | Array<number> | Array<string>) | Object>,
wholeRange: [Array, Object] as PropType<(Array<Date | number | string>) | Object>,
width: Number
}
};
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/color-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const componentConfig = {
activeStateEnabled: Boolean,
applyButtonText: String,
applyValueMode: String as PropType<"instantly" | "useButtons">,
buttons: Array as PropType<Array<"clear" | "dropDown"> | Array<Object>>,
buttons: Array as PropType<Array<"clear" | "dropDown" | Object>>,
cancelButtonText: String,
deferRendering: Boolean,
disabled: Boolean,
Expand Down
22 changes: 11 additions & 11 deletions packages/devextreme-vue/src/data-grid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const componentConfig = {
columnHidingEnabled: Boolean,
columnMinWidth: Number,
columnResizingMode: String as PropType<"nextColumn" | "widget">,
columns: Array as PropType<Array<Object> | Array<string>>,
columns: Array as PropType<Array<Object | string>>,
columnWidth: [Number, String] as PropType<number | "auto">,
customizeColumns: Function as PropType<(columns: Array<Object>) => void>,
dataRowTemplate: {},
Expand Down Expand Up @@ -747,15 +747,15 @@ const DxColumnConfig = {
allowSearch: Boolean,
allowSorting: Boolean,
autoExpandGroup: Boolean,
buttons: Array as PropType<Array<Object> | Array<"cancel" | "delete" | "edit" | "save" | "undelete">>,
buttons: Array as PropType<Array<Object | "cancel" | "delete" | "edit" | "save" | "undelete">>,
calculateCellValue: Function as PropType<(rowData: Object) => any>,
calculateDisplayValue: [Function, String] as PropType<((rowData: Object) => any) | string>,
calculateFilterExpression: Function as PropType<(filterValue: any, selectedFilterOperation: string | any, target: string) => (string | Function | Array<any>)>,
calculateFilterExpression: Function as PropType<(filterValue: any, selectedFilterOperation: any, target: string) => (string | Function | Array<any>)>,
calculateGroupValue: [Function, String] as PropType<((rowData: Object) => any) | string>,
calculateSortValue: [Function, String] as PropType<((rowData: Object) => any) | string>,
caption: String,
cellTemplate: {},
columns: Array as PropType<Array<Object> | Array<string>>,
columns: Array as PropType<Array<Object | string>>,
cssClass: String,
customizeText: Function as PropType<(cellInfo: Object) => string>,
dataField: String,
Expand All @@ -764,7 +764,7 @@ const DxColumnConfig = {
editorOptions: {},
encodeHtml: Boolean,
falseText: String,
filterOperations: Array as PropType<Array<"=" | "<>" | "<" | "<=" | ">" | ">=" | "contains" | "endswith" | "isblank" | "isnotblank" | "notcontains" | "startswith" | "between" | "anyof" | "noneof"> | Array<string>>,
filterOperations: Array as PropType<Array<"=" | "<>" | "<" | "<=" | ">" | ">=" | "contains" | "endswith" | "isblank" | "isnotblank" | "notcontains" | "startswith" | "between" | "anyof" | "noneof" | string>>,
filterType: String as PropType<"exclude" | "include">,
filterValue: {},
filterValues: Array as PropType<Array<any>>,
Expand Down Expand Up @@ -1016,7 +1016,7 @@ const DxColumnHeaderFilterSearchConfig = {
editorOptions: {},
enabled: Boolean,
mode: String as PropType<"contains" | "startswith" | "equals">,
searchExpr: [Array, Function, String] as PropType<(Array<Function> | Array<string>) | Function | string>,
searchExpr: [Array, Function, String] as PropType<(Array<Function | string>) | Function | string>,
timeout: Number
}
};
Expand Down Expand Up @@ -1397,7 +1397,7 @@ const DxExportConfig = {
props: {
allowExportSelectedData: Boolean,
enabled: Boolean,
formats: Array as PropType<Array<"pdf" | "xlsx"> | Array<string>>,
formats: Array as PropType<Array<"pdf" | "xlsx" | string>>,
texts: Object
}
};
Expand Down Expand Up @@ -1460,7 +1460,7 @@ const DxFieldConfig = {
editorOptions: {},
editorTemplate: {},
falseText: String,
filterOperations: Array as PropType<Array<"=" | "<>" | "<" | "<=" | ">" | ">=" | "contains" | "endswith" | "isblank" | "isnotblank" | "notcontains" | "startswith" | "between"> | Array<string>>,
filterOperations: Array as PropType<Array<"=" | "<>" | "<" | "<=" | ">" | ">=" | "contains" | "endswith" | "isblank" | "isnotblank" | "notcontains" | "startswith" | "between" | string>>,
format: [Object, Function, String] as PropType<Object | ((value: number | Date) => string) | ("billions" | "currency" | "day" | "decimal" | "exponential" | "fixedPoint" | "largeNumber" | "longDate" | "longTime" | "millions" | "millisecond" | "month" | "monthAndDay" | "monthAndYear" | "percent" | "quarter" | "quarterAndYear" | "shortDate" | "shortTime" | "thousands" | "trillions" | "year" | "dayOfWeek" | "hour" | "longDateLongTime" | "minute" | "second" | "shortDateShortTime")>,
lookup: Object,
name: String,
Expand Down Expand Up @@ -2554,7 +2554,7 @@ const DxPagerConfig = {
"update:visible": null,
},
props: {
allowedPageSizes: [Array, String] as PropType<(Array<number> | Array<"all" | "auto">) | "auto">,
allowedPageSizes: [Array, String] as PropType<(Array<number | "all" | "auto">) | "auto">,
displayMode: String as PropType<"adaptive" | "compact" | "full">,
infoText: String,
label: String,
Expand Down Expand Up @@ -2962,7 +2962,7 @@ const DxSearchConfig = {
editorOptions: {},
enabled: Boolean,
mode: String as PropType<"contains" | "startswith" | "equals">,
searchExpr: [Array, Function, String] as PropType<(Array<Function> | Array<string>) | Function | string>,
searchExpr: [Array, Function, String] as PropType<(Array<Function | string>) | Function | string>,
timeout: Number
}
};
Expand Down Expand Up @@ -3367,7 +3367,7 @@ const DxToolbarConfig = {
},
props: {
disabled: Boolean,
items: Array as PropType<Array<Object> | Array<"addRowButton" | "applyFilterButton" | "columnChooserButton" | "exportButton" | "groupPanel" | "revertButton" | "saveButton" | "searchPanel">>,
items: Array as PropType<Array<Object | "addRowButton" | "applyFilterButton" | "columnChooserButton" | "exportButton" | "groupPanel" | "revertButton" | "saveButton" | "searchPanel">>,
visible: Boolean
}
};
Expand Down
4 changes: 2 additions & 2 deletions packages/devextreme-vue/src/date-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const componentConfig = {
adaptivityEnabled: Boolean,
applyButtonText: String,
applyValueMode: String as PropType<"instantly" | "useButtons">,
buttons: Array as PropType<Array<"clear" | "dropDown"> | Array<Object>>,
buttons: Array as PropType<Array<"clear" | "dropDown" | Object>>,
calendarOptions: Object,
cancelButtonText: String,
dateOutOfRangeMessage: String,
Expand Down Expand Up @@ -478,7 +478,7 @@ const DxCalendarOptionsConfig = {
validationMessageMode: String as PropType<"always" | "auto">,
validationMessagePosition: String as PropType<"bottom" | "left" | "right" | "top">,
validationStatus: String as PropType<"valid" | "invalid" | "pending">,
value: [Array, Date, Number, String] as PropType<(Array<Date> | Array<number> | Array<string>) | Date | number | string>,
value: [Array, Date, Number, String] as PropType<(Array<Date | number | string>) | Date | number | string>,
visible: Boolean,
weekNumberRule: String as PropType<"auto" | "firstDay" | "fullWeek" | "firstFourDays">,
width: [Function, Number, String] as PropType<(() => (number | string)) | number | string>,
Expand Down
6 changes: 3 additions & 3 deletions packages/devextreme-vue/src/date-range-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const componentConfig = {
activeStateEnabled: Boolean,
applyButtonText: String,
applyValueMode: String as PropType<"instantly" | "useButtons">,
buttons: Array as PropType<Array<"clear" | "dropDown"> | Array<Object>>,
buttons: Array as PropType<Array<"clear" | "dropDown" | Object>>,
calendarOptions: Object,
cancelButtonText: String,
dateSerializationFormat: String,
Expand Down Expand Up @@ -199,7 +199,7 @@ const componentConfig = {
validationMessageMode: String as PropType<"always" | "auto">,
validationMessagePosition: String as PropType<"bottom" | "left" | "right" | "top" | "auto">,
validationStatus: String as PropType<"valid" | "invalid" | "pending">,
value: Array as PropType<Array<Date> | Array<number> | Array<string>>,
value: Array as PropType<Array<Date | number | string>>,
valueChangeEvent: String,
visible: Boolean,
width: [Function, Number, String] as PropType<(() => (number | string)) | number | string>
Expand Down Expand Up @@ -490,7 +490,7 @@ const DxCalendarOptionsConfig = {
validationMessageMode: String as PropType<"always" | "auto">,
validationMessagePosition: String as PropType<"bottom" | "left" | "right" | "top">,
validationStatus: String as PropType<"valid" | "invalid" | "pending">,
value: [Array, Date, Number, String] as PropType<(Array<Date> | Array<number> | Array<string>) | Date | number | string>,
value: [Array, Date, Number, String] as PropType<(Array<Date | number | string>) | Date | number | string>,
visible: Boolean,
weekNumberRule: String as PropType<"auto" | "firstDay" | "fullWeek" | "firstFourDays">,
width: [Function, Number, String] as PropType<(() => (number | string)) | number | string>,
Expand Down
Loading

0 comments on commit bcfecc0

Please sign in to comment.