Skip to content

Commit

Permalink
24_2 fix Vue warnings (#27624)
Browse files Browse the repository at this point in the history
  • Loading branch information
dxArtemiusz authored Jun 21, 2024
1 parent 293a37d commit 8ffffcc
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 16 deletions.
3 changes: 2 additions & 1 deletion apps/demos/Demos/Accordion/Overview/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
:animation-duration="animationDuration"
v-model:selected-items="selectedItems"
id="accordion-container"
item-title-template="itemTitle"
>
<template #title="{ data }">
<template #itemTitle="{ data }">
<CustomTitle :item-data="data"/>
</template>
<template #item="{ data }">
Expand Down
4 changes: 2 additions & 2 deletions apps/demos/Demos/Common/NavigationOverview/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
v-model:selected-index="tabPanelIndex"
:data-source="citiesData"
:animation-enabled="true"
item-title-template="title"
item-title-template="itemTitle"
item-template="cityTemplate"
>
<template #title="{ data: item }">
<template #itemTitle="{ data: item }">
<span class="tab-panel-title">{{ item.text }}</span>
</template>
<template #cityTemplate="{ data: city }">
Expand Down
2 changes: 1 addition & 1 deletion apps/demos/Demos/Gantt/TaskTemplate/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:task-list-width="500"
:height="700"
scale-type="days"
:task-content-template="taskContentTemplate"
task-content-template="taskContentTemplate"
>

<DxTasks :data-source="tasks"/>
Expand Down
2 changes: 1 addition & 1 deletion apps/demos/Demos/Gantt/Toolbar/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<DxPopup
v-model:visible="popupVisible"
title="About"
:height="auto"
height="auto"
:show-title="true"
:hide-on-outside-click="true"
>
Expand Down
4 changes: 2 additions & 2 deletions apps/demos/Demos/TabPanel/SortableClosableTabs/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
:show-nav-buttons="true"
:repaint-changes-only="true"
v-model:selected-index="selectedIndex"
item-title-template="title"
item-title-template="itemTitle"
item-template="itemTemplate"
>
<template #title="{ data: employee }">
<template #itemTitle="{ data: employee }">
<div>
<span>{{ employee.FirstName }} {{ employee.LastName }}</span><i
v-show="showCloseButton()"
Expand Down
3 changes: 2 additions & 1 deletion apps/demos/Demos/TabPanel/Templates/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
:loop="loop"
:animation-enabled="animationEnabled"
:swipe-enabled="swipeEnabled"
item-title-template="itemTitle"
>
<template #title="{ data: company }">
<template #itemTitle="{ data: company }">
<span>{{ company.CompanyName }}</span>
</template>
<template #item="{ data: company }">
Expand Down
3 changes: 2 additions & 1 deletion apps/demos/Demos/VectorMap/ImageMarkers/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<DxFont :size="14"/>
</DxLabel>
</DxLayer>
<dx-loading-indicator :show="true"/>
<DxLoadingIndicator :show="true"/>
</DxVectorMap>
</template>
<script setup lang="ts">
Expand All @@ -31,6 +31,7 @@ import {
DxLabel,
DxLayer,
DxFont,
DxLoadingIndicator
} from 'devextreme-vue/vector-map';
import { weatherData } from './data.ts';
Expand Down
7 changes: 0 additions & 7 deletions apps/demos/testing/known-warnings.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
[
"The specified credentials are invalid. You can sign up for a free developer account at http://www.bingmapsportal.com",
"[Vue warn]: Do not use built-in or reserved HTML elements as component id: title",
"[Vue warn]: Property \"",
"[Vue warn]: Failed to resolve component: ",
"Warning: forwardRef render functions accept exactly two parameters: props and ref.",
"Warning: %s: `ref` is not a prop.",
"W0001 -",
"W0019 -",
"W0022 -",
"W1011 -",
"W2108 -"
]

0 comments on commit 8ffffcc

Please sign in to comment.