Add admin compliance acknowledgement gate

This commit is contained in:
shaw
2026-06-10 14:16:51 +08:00
parent c32e29bab0
commit 0acf00c4a1
29 changed files with 1173 additions and 15 deletions
@@ -18,6 +18,7 @@
{{ title }}
</h3>
<button
v-if="showCloseButton"
@click="emit('close')"
class="-mr-2 rounded-xl p-2 text-gray-400 transition-colors hover:bg-gray-100 hover:text-gray-600 dark:text-dark-500 dark:hover:bg-dark-700 dark:hover:text-dark-300"
aria-label="Close modal"
@@ -61,6 +62,7 @@ interface Props {
width?: DialogWidth
closeOnEscape?: boolean
closeOnClickOutside?: boolean
showCloseButton?: boolean
zIndex?: number
}
@@ -72,6 +74,7 @@ const props = withDefaults(defineProps<Props>(), {
width: 'normal',
closeOnEscape: true,
closeOnClickOutside: false,
showCloseButton: true,
zIndex: 50
})