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 bcfecc0 commit 546f514
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const componentConfig = {
disabledDates: [Array, Function] as PropType<Array<Date> | ((data: Object) => Boolean)>,
elementAttr: Object,
firstDayOfWeek: {
type: Number,
type: Number as PropType<0 | 1 | 2 | 3 | 4 | 5 | 6>,
validator: (v) => typeof(v) !== "number" || [
0,
1,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/date-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ const DxCalendarOptionsConfig = {
disabledDates: [Array, Function] as PropType<Array<Date> | ((data: Object) => Boolean)>,
elementAttr: Object,
firstDayOfWeek: {
type: Number,
type: Number as PropType<0 | 1 | 2 | 3 | 4 | 5 | 6>,
validator: (v) => typeof(v) !== "number" || [
0,
1,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/date-range-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ const DxCalendarOptionsConfig = {
disabledDates: [Array, Function] as PropType<Array<Date> | ((data: Object) => Boolean)>,
elementAttr: Object,
firstDayOfWeek: {
type: Number,
type: Number as PropType<0 | 1 | 2 | 3 | 4 | 5 | 6>,
validator: (v) => typeof(v) !== "number" || [
0,
1,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/gantt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const componentConfig = {
endDateRange: Date,
filterRow: Object,
firstDayOfWeek: {
type: Number,
type: Number as PropType<0 | 1 | 2 | 3 | 4 | 5 | 6>,
validator: (v) => typeof(v) !== "number" || [
0,
1,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/pivot-grid-field-chooser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const componentConfig = {
hint: String,
hoverStateEnabled: Boolean,
layout: {
type: Number,
type: Number as PropType<0 | 1 | 2>,
validator: (v) => typeof(v) !== "number" || [
0,
1,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-vue/src/pivot-grid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const DxFieldChooserConfig = {
enabled: Boolean,
height: Number,
layout: {
type: Number,
type: Number as PropType<0 | 1 | 2>,
validator: (v) => typeof(v) !== "number" || [
0,
1,
Expand Down
4 changes: 2 additions & 2 deletions packages/devextreme-vue/src/scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const componentConfig = {
endDateTimeZoneExpr: String,
endDayHour: Number,
firstDayOfWeek: {
type: Number,
type: Number as PropType<0 | 1 | 2 | 3 | 4 | 5 | 6>,
validator: (v) => typeof(v) !== "number" || [
0,
1,
Expand Down Expand Up @@ -458,7 +458,7 @@ const DxViewConfig = {
dropDownAppointmentTemplate: {},
endDayHour: Number,
firstDayOfWeek: {
type: Number,
type: Number as PropType<0 | 1 | 2 | 3 | 4 | 5 | 6>,
validator: (v) => typeof(v) !== "number" || [
0,
1,
Expand Down

0 comments on commit 546f514

Please sign in to comment.