Skip to content

Commit

Permalink
fix the merged packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ariaieboy committed Oct 22, 2024
1 parent 5079e73 commit 1c6ef34
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
23 changes: 20 additions & 3 deletions _ide_helper.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?php

namespace Filament\Forms\Components {

use Ariaieboy\FilamentJalaliDatetimepicker\FilamentJalaliServiceProvider;

class DatePicker
{
/**
Expand All @@ -26,3 +23,23 @@ public function jalali(bool $weekdaysShort = false): self
}
}
}
namespace Filament\Tables\Columns {
class TextColumn
{
/**
* @source packages/filament-jalali-datetime/src/FilamentJalaliDatetimeServiceProvider.php:28
*/
public function jalaliDate(?string $format = null, ?string $timezone = null): self
{
return $this;
}

/**
* @source packages/filament-jalali-datetime/src/FilamentJalaliDatetimeServiceProvider.php:46
*/
public function jalaliDateTime(?string $format = null, ?string $timezone = null): self
{
return $this;
}
}
}
2 changes: 1 addition & 1 deletion resources/views/components/jalali-datetimepicker.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<div
x-ignore
ax-load
ax-load-src="{{ \Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('jalali-datetime-picker',package: "ariaieboy/jalali-datetime-picker") }}"
ax-load-src="{{ \Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('jalali-datetime-picker',package: "ariaieboy/jalali") }}"
x-data="jalaliDateTimePickerFormComponent({
displayFormat:
'{{ convert_date_format($getDisplayFormat())->to('day.js') }}',
Expand Down
2 changes: 2 additions & 0 deletions src/FilamentJalaliServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace Ariaieboy\FilamentJalali;

use Ariaieboy\Jalali\Jalali;
use Carbon\Carbon;
use Filament\Forms\Components\DatePicker;
use Filament\Forms\Components\DateTimePicker;
use Filament\Support\Assets\AlpineComponent;
Expand Down

0 comments on commit 1c6ef34

Please sign in to comment.