mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
Fix/config obj list (#1351)
* remove deprecated build check * fixed config types for object and union; cleaned up mock api fixtures * make form object element transition times consistent and emit expand event on list object items
This commit is contained in:
@@ -246,7 +246,7 @@
|
||||
transform: objectListDisplay[entry.key][i].expanded
|
||||
? 'rotate(0deg)'
|
||||
: 'rotate(180deg)',
|
||||
transition: 'transform 0.4s ease-out'
|
||||
transition: 'transform 0.25s ease-out'
|
||||
}"
|
||||
></ion-icon>
|
||||
</ion-item>
|
||||
@@ -257,8 +257,7 @@
|
||||
'max-height': objectListDisplay[entry.key][i].height,
|
||||
overflow: 'hidden',
|
||||
'transition-property': 'max-height',
|
||||
'transition-duration': '.5s',
|
||||
'transition-delay': '.05s'
|
||||
'transition-duration': '.25s'
|
||||
}"
|
||||
>
|
||||
<form-object
|
||||
|
||||
@@ -152,6 +152,7 @@ export class FormObjectComponent {
|
||||
|
||||
pauseFor(200).then(() => {
|
||||
this.objectListDisplay[key][0].height = this.getDocSize(key, 0)
|
||||
this.onExpand.emit()
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -171,6 +172,7 @@ export class FormObjectComponent {
|
||||
.expanded
|
||||
? this.getDocSize(key, i)
|
||||
: '0px'
|
||||
this.onExpand.emit()
|
||||
}
|
||||
|
||||
updateLabel(key: string, i: number, displayAs: string) {
|
||||
|
||||
Reference in New Issue
Block a user