Initial commit

This commit is contained in:
Ronald Huynen
2026-03-23 21:37:59 +01:00
commit 2547717edb
2193 changed files with 972171 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<div onclick="Livewire.dispatch('closeWireChatModal')">
{{ $slot }}
</div>

View File

@@ -0,0 +1,11 @@
@props([
'widget' => false
])
<x-wirechat::actions.open-modal
component="wirechat.new.chat"
:widget="$widget"
>
{{$slot}}
</x-wirechat::actions.open-modal>

View File

@@ -0,0 +1,11 @@
@props([
'widget' => false
])
<x-wirechat::actions.open-modal
component="wirechat.new.group"
:widget="$widget"
>
{{$slot}}
</x-wirechat::actions.open-modal>

View File

@@ -0,0 +1,16 @@
@props([
'component',
'conversation' => null,
'widget' => false
])
<div {{ $attributes }} onclick="Livewire.dispatch('openChatDrawer', {
component: '{{ $component }}',
arguments: {
conversation: `{{$conversation ?? null }}`,
widget: @js($widget)
}
})">
{{ $slot }}
</div>

View File

@@ -0,0 +1,16 @@
@props([
'component',
'conversation' => null,
'widget' => false
])
<div onclick="Livewire.dispatch('openWireChatModal', {
component: '{{ $component }}',
arguments: {
conversation:`{{$conversation ?? null }}`,
widget: @js($widget)
}
})">
{{ $slot }}
</div>

View File

@@ -0,0 +1,14 @@
@props([
'conversation' => null, //Should be conversation ID (Int)
'widget' => false
])
<x-wirechat::actions.open-chat-drawer
component="wirechat.chat.info"
dusk="show_chat_info"
conversation="{{$conversation}}"
:widget="$widget"
>
{{$slot}}
</x-wirechat::actions.open-chat-drawer>

View File

@@ -0,0 +1,14 @@
@props([
'conversation' => null, //Should be conversation ID (Int)
'widget' => false
])
<x-wirechat::actions.open-chat-drawer
component="wirechat.chat.group.info"
dusk="show_group_info"
conversation="{{$conversation}}"
:widget="$widget"
>
{{$slot}}
</x-wirechat::actions.open-chat-drawer>