Skip to content

Commit effac90

Browse files
Update accordingly for changes in newer vueitfy version
1 parent 85db52b commit effac90

File tree

5 files changed

+38
-32
lines changed

5 files changed

+38
-32
lines changed

src/documentation/components/MenuComponent.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,10 @@ function smoothScroll() {
9898
margin-right: 1em !important;
9999
}
100100
}
101+
102+
:deep(.v-list-group__items) {
103+
.v-list-item__spacer {
104+
display: none;
105+
}
106+
}
101107
</style>

src/documentation/components/PropsTable.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,34 +40,34 @@
4040
<template #[`item.name`]="{ item }">
4141
<td>
4242
<span
43-
:id="`props-${sectionId ? `${sectionId}-${item.raw.name}` : item.raw.name}`"
43+
:id="`props-${sectionId ? `${sectionId}-${item.name}` : item.name}`"
4444
class="name-item text-mono ml-n2"
4545
>
4646
<span class="text-primary">#</span>
4747
<a
4848
class="text-primary"
4949
:class="classes.appLink"
50-
:href="`#props-${sectionId ? `${sectionId}-${item.raw.name}` : item.raw.name}`"
51-
>{{ item.raw.name }}</a>
50+
:href="`#props-${sectionId ? `${sectionId}-${item.name}` : item.name}`"
51+
>{{ item.name }}</a>
5252
</span>
5353
</td>
5454
</template>
5555

5656
<template #[`item.type`]="{ item }">
5757
<td class="text-success">
58-
{{ item.raw.type }}
58+
{{ item.type }}
5959
</td>
6060
</template>
6161

6262
<template #[`item.default`]="{ item }">
6363
<td
6464
class="text-accent"
65-
v-html="item.raw.default"
65+
v-html="item.default"
6666
></td>
6767
</template>
6868

6969
<template #[`item.desc`]="{ item }">
70-
<td v-html="item.raw.desc"></td>
70+
<td v-html="item.desc"></td>
7171
</template>
7272
</v-data-table>
7373
</v-card>

src/documentation/layout/AppBar.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
<v-list-item
4545
:key="item.key"
4646
density="compact"
47-
:href="item.raw.link"
48-
:prepend-icon="item.raw.icon ? item.raw.icon : '$vuetify'"
47+
:href="item.link"
48+
:prepend-icon="item.icon ? item.icon : '$vuetify'"
4949
target="_blank"
50-
:title="item.raw?.topTitle || item.title"
50+
:title="item?.topTitle || item.title"
5151
>
5252
</v-list-item>
5353
</template>

src/documentation/sections/EventsSection.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,21 @@
4343
<tr>
4444
<td>
4545
<span
46-
:id="`events-${item.raw.name}`"
46+
:id="`events-${item.name}`"
4747
class="name-item text-mono ml-n2"
4848
>
4949
<span class="text-primary">#</span>
5050
<a
5151
class="text-primary"
5252
:class="classes.appLink"
53-
:href="`#events-${item.raw.name}`"
53+
:href="`#events-${item.name}`"
5454
>
55-
{{ item.raw.name }}
55+
{{ item.name }}
5656
</a>
5757
</span>
5858
</td>
5959

60-
<td><span v-html="item.raw.desc"></span></td>
60+
<td><span v-html="item.desc"></span></td>
6161
</tr>
6262
</template>
6363
</v-data-table>

src/playground/configs/templates/PlaygroundPage.vue

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
>
1212
<template #[`item.active`]="{ item }">
1313
<VInlineSwitch
14-
v-model="item.raw.active"
14+
v-model="item.active"
1515
:cancel-button-color="componentOptions.cancelButtonColor"
1616
:cancel-button-title="componentOptions.cancelButtonTitle"
1717
:cancel-button-variant="componentOptions.cancelButtonVariant"
@@ -33,21 +33,21 @@
3333
:icon-true-title="componentOptions.iconTrueTitle"
3434
:item="item"
3535
:label="componentOptions.label"
36-
:loading="item.raw.loading"
36+
:loading="item.loading"
3737
:loading-wait="componentOptions.loadingWait"
3838
name="active"
3939
:underline-color="componentOptions.underlineColor"
4040
:underline-style="componentOptions.underlineStyle"
4141
:underline-width="componentOptions.underlineWidth"
4242
:underlined="componentOptions.underlined"
4343
@error="showError = $event"
44-
@update="updatedValue(item.raw, 'reviewed')"
44+
@update="updatedValue(item, 'reviewed')"
4545
/>
4646
</template>
4747

4848
<template #[`item.userId`]="{ item }">
4949
<VInlineSelect
50-
v-model="item.raw.user"
50+
v-model="item.user"
5151
:cancel-button-color="componentOptions.cancelButtonColor"
5252
:cancel-button-title="componentOptions.cancelButtonTitle"
5353
:cancel-button-variant="componentOptions.cancelButtonVariant"
@@ -74,7 +74,7 @@
7474
item-value="id"
7575
:items="users"
7676
:label="componentOptions.label"
77-
:loading="item.raw.loading"
77+
:loading="item.loading"
7878
:loading-wait="componentOptions.loadingWait"
7979
:menu="componentOptions.menu"
8080
name="userId"
@@ -89,14 +89,14 @@
8989
:underlined="componentOptions.underlined"
9090
:variant="componentOptions.variant"
9191
@error="showError = $event"
92-
@update="updatedValue(item.raw, 'userId')"
92+
@update="updatedValue(item, 'userId')"
9393
>
9494
</VInlineSelect>
9595
</template>
9696

9797
<template #[`item.title`]="{ item }">
9898
<VInlineTextField
99-
v-model="item.raw.title"
99+
v-model="item.title"
100100
:cancel-button-color="componentOptions.cancelButtonColor"
101101
:cancel-button-title="componentOptions.cancelButtonTitle"
102102
:cancel-button-variant="componentOptions.cancelButtonVariant"
@@ -114,7 +114,7 @@
114114
:hide-details="componentOptions.hideDetails"
115115
:item="item"
116116
:label="componentOptions.label"
117-
:loading="item.raw.loading"
117+
:loading="item.loading"
118118
:loading-wait="componentOptions.loadingWait"
119119
name="title"
120120
required
@@ -131,14 +131,14 @@
131131
:underlined="componentOptions.underlined"
132132
:variant="componentOptions.variant"
133133
@error="showError = $event"
134-
@update="updatedValue(item.raw, 'title')"
134+
@update="updatedValue(item, 'title')"
135135
>
136136
</VInlineTextField>
137137
</template>
138138

139139
<template #[`item.body`]="{ item }">
140140
<VInlineTextarea
141-
v-model="item.raw.body"
141+
v-model="item.body"
142142
:cancel-button-color="componentOptions.cancelButtonColor"
143143
:cancel-button-title="componentOptions.cancelButtonTitle"
144144
:cancel-button-variant="componentOptions.cancelButtonVariant"
@@ -159,7 +159,7 @@
159159
:hide-details="componentOptions.hideDetails"
160160
:item="item"
161161
:label="componentOptions.label"
162-
:loading="item.raw.loading"
162+
:loading="item.loading"
163163
:loading-wait="componentOptions.loadingWait"
164164
name="body"
165165
:rules="[componentOptions.rules.required, componentOptions.rules.minLength]"
@@ -174,24 +174,24 @@
174174
:underlined="componentOptions.underlined"
175175
:variant="componentOptions.variant"
176176
@error="showError = $event"
177-
@update="updatedValue(item.raw, 'body')"
177+
@update="updatedValue(item, 'body')"
178178
>
179179
</VInlineTextarea>
180180
</template>
181181

182182
<template #[`item.range`]="{ item }">
183183
<VInlineCustomField
184-
v-model="item.raw.range"
184+
v-model="item.range"
185185
:card-field="cardFieldState"
186186
:card-offset-x="componentOptions.cardOffsetX"
187187
:card-offset-y="componentOptions.cardOffsetY"
188188
:card-props="componentOptions.cardProps"
189-
:loading="item.raw.loading"
190-
@update="updatedValue(item.raw, 'range')"
189+
:loading="item.loading"
190+
@update="updatedValue(item, 'range')"
191191
>
192192
<template #default="">
193193
<v-slider
194-
v-model="item.raw.range"
194+
v-model="item.range"
195195
hide-details
196196
show-ticks
197197
step="10"
@@ -202,7 +202,7 @@
202202

203203
<template #[`item.reviewed`]="{ item }">
204204
<VInlineCheckbox
205-
v-model="item.raw.reviewed"
205+
v-model="item.reviewed"
206206
:cancel-button-color="componentOptions.cancelButtonColor"
207207
:cancel-button-title="componentOptions.cancelButtonTitle"
208208
:cancel-button-variant="componentOptions.cancelButtonVariant"
@@ -220,15 +220,15 @@
220220
:icon-true-title="componentOptions.iconTrueTitle"
221221
:item="item"
222222
:label="componentOptions.label"
223-
:loading="item.raw.loading"
223+
:loading="item.loading"
224224
:loading-wait="componentOptions.loadingWait"
225225
name="reviewed"
226226
:underline-color="componentOptions.underlineColor"
227227
:underline-style="componentOptions.underlineStyle"
228228
:underline-width="componentOptions.underlineWidth"
229229
:underlined="componentOptions.underlined"
230230
@error="showError = $event"
231-
@update="updatedValue(item.raw, 'reviewed')"
231+
@update="updatedValue(item, 'reviewed')"
232232
/>
233233
</template>
234234
</v-data-table>

0 commit comments

Comments
 (0)