Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lgl
SmartVillages2
Commits
278d7adf
Commit
278d7adf
authored
Sep 19, 2025
by
Luna Riegel
Browse files
Use VCSExpansionPanel for object library
parent
24f01efd
Changes
1
Show whitespace changes
Inline
Side-by-side
src/objectList.vue
View file @
278d7adf
...
@@ -6,9 +6,8 @@
...
@@ -6,9 +6,8 @@
<span>
Die Objektbibliothek.
</span>
<span>
Die Objektbibliothek.
</span>
</
template
>
</
template
>
<
template
#default
>
<
template
#default
>
<v-expansion-panels
v-for =
"(subcats, categoryName) in objLib"
:key=
"categoryName"
>
<v-expansion-panels>
<v-expansion-panel
>
<VcsExpansionPanel
v-for =
"(subcats, categoryName) in objLib"
:key=
"categoryName"
:heading=
"categoryName"
>
<v-expansion-panel-title
class=
"text-h5"
>
{{
categoryName
}}
</v-expansion-panel-title>
<v-container
v-for=
"(entries, subCategory) in subcats"
:key =
"subCategory"
class=
" py-1 px-1 border-b-md"
expandable
>
<v-container
v-for=
"(entries, subCategory) in subcats"
:key =
"subCategory"
class=
" py-1 px-1 border-b-md"
expandable
>
<v-col>
<v-col>
<VcsLabel
class=
"mb-4 text-h2"
>
{{
subCategory
}}
</VcsLabel>
<VcsLabel
class=
"mb-4 text-h2"
>
{{
subCategory
}}
</VcsLabel>
...
@@ -29,7 +28,7 @@
...
@@ -29,7 +28,7 @@
</v-col>
</v-col>
<v-divider/>
<v-divider/>
</v-container>
</v-container>
</
v-e
xpansion
-p
anel>
</
VcsE
xpansion
P
anel>
</v-expansion-panels>
</v-expansion-panels>
</
template
>
</
template
>
...
@@ -113,7 +112,7 @@ import {
...
@@ -113,7 +112,7 @@ import {
VcsTreeview
,
VcsTreeview
,
VcsTreeviewTitle
,
VcsTreeviewTitle
,
}
from
'
@vcmap/ui
'
;
}
from
'
@vcmap/ui
'
;
import
{
VCard
,
VCol
,
VContainer
,
VDialog
,
VForm
,
VRow
,
VSheet
,
VSwitch
,}
from
'
vuetify/components
'
;
import
{
VCard
,
VCol
,
VContainer
,
VDialog
,
VForm
,
VRow
,
VSheet
,
VSwitch
,
VExpansionPanels
}
from
'
vuetify/components
'
;
import
{
computed
,
inject
,
onMounted
,
ref
}
from
'
vue
'
;
import
{
computed
,
inject
,
onMounted
,
ref
}
from
'
vue
'
;
import
{
name
}
from
'
../package.json
'
;
import
{
name
}
from
'
../package.json
'
;
import
*
as
THREE
from
'
three
'
;
import
*
as
THREE
from
'
three
'
;
...
@@ -403,6 +402,7 @@ function uploadModel() {
...
@@ -403,6 +402,7 @@ function uploadModel() {
VContainer
,
VContainer
,
VRow
,
VRow
,
VCol
,
VCol
,
VExpansionPanels
,
},
},
setup
()
{
setup
()
{
app
=
inject
(
'
vcsApp
'
);
app
=
inject
(
'
vcsApp
'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment