Skip to content

Commit

Permalink
vue: re-generate by imd with true imports for enums types instead of …
Browse files Browse the repository at this point in the history
…explicit acceptable values (71), object instead of array / string
  • Loading branch information
mpreyskurantov committed Oct 1, 2024
1 parent 7736dae commit eaf9ecc
Show file tree
Hide file tree
Showing 71 changed files with 1,475 additions and 1,555 deletions.
4 changes: 2 additions & 2 deletions packages/devextreme-vue/src/action-sheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ const DxItemConfig = {
disabled: Boolean,
icon: String,
onClick: Function,
stylingMode: String,
stylingMode: {},
template: {},
text: String,
type: String
type: {}
}
};

Expand Down
56 changes: 28 additions & 28 deletions packages/devextreme-vue/src/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const componentConfig = {
items: Array,
itemTemplate: {},
label: String,
labelMode: String,
labelMode: {},
maxItemCount: Number,
maxLength: [Number, String],
minSearchLength: Number,
Expand Down Expand Up @@ -139,21 +139,21 @@ const componentConfig = {
readOnly: Boolean,
rtlEnabled: Boolean,
searchExpr: [Array, Function, String],
searchMode: String,
searchMode: {},
searchTimeout: Number,
selectedItem: {},
showClearButton: Boolean,
showDropDownButton: Boolean,
spellcheck: Boolean,
stylingMode: String,
stylingMode: {},
tabIndex: Number,
text: String,
useItemTextAsTitle: Boolean,
validationError: {},
validationErrors: Array,
validationMessageMode: String,
validationMessagePosition: String,
validationStatus: String,
validationMessageMode: {},
validationMessagePosition: {},
validationStatus: {},
value: String,
valueChangeEvent: String,
valueExpr: [Function, String],
Expand Down Expand Up @@ -292,8 +292,8 @@ const DxAtConfig = {
"update:y": null,
},
props: {
x: String,
y: String
x: {},
y: {}
}
};

Expand Down Expand Up @@ -331,7 +331,7 @@ const DxButtonConfig = {
"update:options": null,
},
props: {
location: String,
location: {},
name: String,
options: Object
}
Expand All @@ -355,8 +355,8 @@ const DxCollisionConfig = {
"update:y": null,
},
props: {
x: String,
y: String
x: {},
y: {}
}
};

Expand Down Expand Up @@ -457,7 +457,7 @@ const DxDropDownOptionsConfig = {
onShowing: Function,
onShown: Function,
onTitleRendered: Function,
position: [Function, Object, String],
position: {},
resizeEnabled: Boolean,
restorePosition: Boolean,
rtlEnabled: Boolean,
Expand Down Expand Up @@ -532,14 +532,14 @@ const DxHideConfig = {
props: {
complete: Function,
delay: Number,
direction: String,
direction: {},
duration: Number,
easing: String,
from: Object,
staggerDelay: Number,
start: Function,
to: Object,
type: String
type: {}
}
};

Expand Down Expand Up @@ -587,8 +587,8 @@ const DxMyConfig = {
"update:y": null,
},
props: {
x: String,
y: String
x: {},
y: {}
}
};

Expand Down Expand Up @@ -664,11 +664,11 @@ const DxOptionsConfig = {
onInitialized: Function,
onOptionChanged: Function,
rtlEnabled: Boolean,
stylingMode: String,
stylingMode: {},
tabIndex: Number,
template: {},
text: String,
type: String,
type: {},
useSubmitBehavior: Boolean,
validationGroup: String,
visible: Boolean,
Expand All @@ -695,11 +695,11 @@ const DxPositionConfig = {
"update:offset": null,
},
props: {
at: [Object, String],
at: {},
boundary: {},
boundaryOffset: [Object, String],
collision: [Object, String],
my: [Object, String],
collision: {},
my: {},
of: {},
offset: [Object, String]
}
Expand Down Expand Up @@ -729,14 +729,14 @@ const DxShowConfig = {
props: {
complete: Function,
delay: Number,
direction: String,
direction: {},
duration: Number,
easing: String,
from: Object,
staggerDelay: Number,
start: Function,
to: Object,
type: String
type: {}
}
};

Expand Down Expand Up @@ -793,16 +793,16 @@ const DxToolbarItemConfig = {
cssClass: String,
disabled: Boolean,
html: String,
locateInMenu: String,
location: String,
locateInMenu: {},
location: {},
menuItemTemplate: {},
options: {},
showText: String,
showText: {},
template: {},
text: String,
toolbar: String,
toolbar: {},
visible: Boolean,
widget: String
widget: {}
}
};

Expand Down
64 changes: 32 additions & 32 deletions packages/devextreme-vue/src/bar-gauge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,16 @@ const componentConfig = {
onOptionChanged: Function,
onTooltipHidden: Function,
onTooltipShown: Function,
palette: [Array, String],
paletteExtensionMode: String,
palette: {},
paletteExtensionMode: {},
pathModified: Boolean,
redrawOnResize: Boolean,
relativeInnerRadius: Number,
resolveLabelOverlapping: String,
resolveLabelOverlapping: {},
rtlEnabled: Boolean,
size: Object,
startValue: Number,
theme: String,
theme: {},
title: [Object, String],
tooltip: Object,
values: Array
Expand Down Expand Up @@ -167,7 +167,7 @@ const DxAnimationConfig = {
},
props: {
duration: Number,
easing: String,
easing: {},
enabled: Boolean
}
};
Expand All @@ -194,14 +194,14 @@ const DxBarGaugeTitleConfig = {
},
props: {
font: Object,
horizontalAlignment: String,
horizontalAlignment: {},
margin: [Number, Object],
placeholderSize: Number,
subtitle: [Object, String],
text: String,
textOverflow: String,
verticalAlignment: String,
wordWrap: String
textOverflow: {},
verticalAlignment: {},
wordWrap: {}
}
};

Expand Down Expand Up @@ -231,8 +231,8 @@ const DxBarGaugeTitleSubtitleConfig = {
font: Object,
offset: Number,
text: String,
textOverflow: String,
wordWrap: String
textOverflow: {},
wordWrap: {}
}
};

Expand All @@ -259,7 +259,7 @@ const DxBorderConfig = {
props: {
color: String,
cornerRadius: Number,
dashStyle: String,
dashStyle: {},
opacity: Number,
visible: Boolean,
width: Number
Expand Down Expand Up @@ -342,7 +342,7 @@ const DxFormatConfig = {
formatter: Function,
parser: Function,
precision: Number,
type: String,
type: {},
useCurrencyAccountingStyle: Boolean
}
};
Expand Down Expand Up @@ -388,7 +388,7 @@ const DxItemTextFormatConfig = {
formatter: Function,
parser: Function,
precision: Number,
type: String,
type: {},
useCurrencyAccountingStyle: Boolean
}
};
Expand Down Expand Up @@ -416,7 +416,7 @@ const DxLabelConfig = {
connectorWidth: Number,
customizeText: Function,
font: Object,
format: [Object, Function, String],
format: {},
indent: Number,
visible: Boolean
}
Expand Down Expand Up @@ -469,20 +469,20 @@ const DxLegendConfig = {
customizeItems: Function,
customizeText: Function,
font: Object,
horizontalAlignment: String,
itemsAlignment: String,
itemTextFormat: [Object, Function, String],
itemTextPosition: String,
horizontalAlignment: {},
itemsAlignment: {},
itemTextFormat: {},
itemTextPosition: {},
margin: [Number, Object],
markerSize: Number,
markerTemplate: {},
orientation: String,
orientation: {},
paddingLeftRight: Number,
paddingTopBottom: Number,
rowCount: Number,
rowItemSpacing: Number,
title: [Object, String],
verticalAlignment: String,
verticalAlignment: {},
visible: Boolean
}
};
Expand Down Expand Up @@ -516,7 +516,7 @@ const DxLegendBorderConfig = {
props: {
color: String,
cornerRadius: Number,
dashStyle: String,
dashStyle: {},
opacity: Number,
visible: Boolean,
width: Number
Expand All @@ -543,12 +543,12 @@ const DxLegendTitleConfig = {
},
props: {
font: Object,
horizontalAlignment: String,
horizontalAlignment: {},
margin: Object,
placeholderSize: Number,
subtitle: [Object, String],
text: String,
verticalAlignment: String
verticalAlignment: {}
}
};

Expand Down Expand Up @@ -695,8 +695,8 @@ const DxSubtitleConfig = {
font: Object,
offset: Number,
text: String,
textOverflow: String,
wordWrap: String
textOverflow: {},
wordWrap: {}
}
};

Expand All @@ -722,14 +722,14 @@ const DxTitleConfig = {
},
props: {
font: Object,
horizontalAlignment: String,
horizontalAlignment: {},
margin: [Object, Number],
placeholderSize: Number,
subtitle: [Object, String],
text: String,
textOverflow: String,
verticalAlignment: String,
wordWrap: String
textOverflow: {},
verticalAlignment: {},
wordWrap: {}
}
};

Expand Down Expand Up @@ -770,7 +770,7 @@ const DxTooltipConfig = {
customizeTooltip: Function,
enabled: Boolean,
font: Object,
format: [Object, Function, String],
format: {},
interactive: Boolean,
opacity: Number,
paddingLeftRight: Number,
Expand Down Expand Up @@ -805,7 +805,7 @@ const DxTooltipBorderConfig = {
},
props: {
color: String,
dashStyle: String,
dashStyle: {},
opacity: Number,
visible: Boolean,
width: Number
Expand Down
6 changes: 3 additions & 3 deletions packages/devextreme-vue/src/box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ interface DxBox extends AccessibleOptions {

const componentConfig = {
props: {
align: String,
crossAlign: String,
align: {},
crossAlign: {},
dataSource: {},
direction: String,
direction: {},
disabled: Boolean,
elementAttr: Object,
height: [Function, Number, String],
Expand Down
Loading

0 comments on commit eaf9ecc

Please sign in to comment.