mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge branch '3.x' into pr/9556
This commit is contained in:
@@ -185,6 +185,15 @@ return [
|
||||
|
||||
],
|
||||
|
||||
'svg' => [
|
||||
|
||||
'messages' => [
|
||||
'confirmation' => 'Mengedit file SVG tidak disarankan karena dapat mengakibatkan penurunan kualitas saat melakukan penskalaan.\n Apakah Anda yakin ingin melanjutkan?',
|
||||
'disabled' => 'Pengeditan file SVG dinonaktifkan karena dapat mengakibatkan penurunan kualitas saat melakukan penskalaan.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
@@ -185,6 +185,15 @@ return [
|
||||
|
||||
],
|
||||
|
||||
'svg' => [
|
||||
|
||||
'messages' => [
|
||||
'confirmation' => 'Não é recomendado editar arquivos SVG, pois pode resultar em perda de qualidade ao dimensionar.\n Você tem certeza de que deseja continuar?',
|
||||
'disabled' => 'A edição de arquivos SVG está desativada, pois pode resultar em perda de qualidade ao dimensionar.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
@@ -249,6 +258,10 @@ return [
|
||||
'label' => 'Adicionar em :label',
|
||||
],
|
||||
|
||||
'add_between' => [
|
||||
'label' => 'Inserir',
|
||||
],
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Excluir',
|
||||
],
|
||||
|
||||
@@ -185,6 +185,15 @@ return [
|
||||
|
||||
],
|
||||
|
||||
'svg' => [
|
||||
|
||||
'messages' => [
|
||||
'confirmation' => 'Não é recomendado editar ficheiros SVG, pois pode resultar em perda de qualidade ao redimensionar.\n Tem a certeza de que deseja continuar?',
|
||||
'disabled' => 'A edição de ficheiros SVG está desativada, pois pode resultar em perda de qualidade ao redimensionar.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
@@ -249,6 +258,10 @@ return [
|
||||
'label' => 'Adicionar em :label',
|
||||
],
|
||||
|
||||
'add_between' => [
|
||||
'label' => 'Adicionar entre',
|
||||
],
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Remover',
|
||||
],
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
:id="$getId()"
|
||||
:inline-prefix="$isPrefixInline && (count($prefixActions) || $prefixIcon || filled($prefixLabel))"
|
||||
:inline-suffix="$isSuffixInline && (count($suffixActions) || $suffixIcon || filled($suffixLabel))"
|
||||
:required="$isRequired() && ((bool) $isConcealed())"
|
||||
:required="$isRequired() && (! $isConcealed())"
|
||||
:attributes="
|
||||
$getExtraInputAttributeBag()
|
||||
->merge([
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -355,6 +355,7 @@ public function table(Table $table): Table
|
||||
return $table
|
||||
->allowDuplicates();
|
||||
}
|
||||
```
|
||||
|
||||
## Associating and dissociating records
|
||||
|
||||
|
||||
@@ -64,9 +64,9 @@ class Panel extends Component
|
||||
|
||||
public function boot(): void
|
||||
{
|
||||
FilamentColor::register($this->colors);
|
||||
FilamentColor::register($this->getColors());
|
||||
|
||||
FilamentIcon::register($this->icons);
|
||||
FilamentIcon::register($this->getIcons());
|
||||
|
||||
FilamentView::spa($this->hasSpaMode());
|
||||
|
||||
|
||||
@@ -27,4 +27,12 @@ trait HasColors
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string} | string>
|
||||
*/
|
||||
public function getColors(): array
|
||||
{
|
||||
return $this->colors;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,4 +21,12 @@ trait HasIcons
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public function getIcons(): array
|
||||
{
|
||||
return $this->icons;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user