Последняя версия с сервера прошлого разработчика

This commit is contained in:
2025-07-10 04:35:51 +00:00
commit c731570032
1174 changed files with 134314 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<template>
<div
class="dropdown-trigger h-dropdown-trigger flex items-center cursor-pointer select-none"
>
<slot />
<svg
v-if="showArrow"
class="ml-2"
xmlns="http://www.w3.org/2000/svg"
width="10"
height="6"
viewBox="0 0 10 6"
>
<path
:fill="activeIconColor"
d="M8.292893.292893c.390525-.390524 1.023689-.390524 1.414214 0 .390524.390525.390524 1.023689 0 1.414214l-4 4c-.390525.390524-1.023689.390524-1.414214 0l-4-4c-.390524-.390525-.390524-1.023689 0-1.414214.390525-.390524 1.023689-.390524 1.414214 0L5 3.585786 8.292893.292893z"
/>
</svg>
</div>
</template>
<script>
export default {
props: {
active: {
type: Boolean,
default: false,
},
showArrow: {
type: Boolean,
default: true,
},
},
computed: {
activeIconColor() {
return this.active ? 'var(--white)' : 'var(--90)'
},
},
}
</script>