[增添]添加了datasource的setting数据库以及默认值
This commit is contained in:
179
vendor/filament/tables/.stubs.php
vendored
Normal file
179
vendor/filament/tables/.stubs.php
vendored
Normal file
@@ -0,0 +1,179 @@
|
||||
<?php
|
||||
|
||||
namespace Livewire\Features\SupportTesting {
|
||||
|
||||
use Closure;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
class Testable {
|
||||
public function mountTableAction(string | array $name, $record = null): static {}
|
||||
|
||||
public function unmountTableAction(): static {}
|
||||
|
||||
public function setTableActionData(array $data): static {}
|
||||
|
||||
public function assertTableActionDataSet(array $data): static {}
|
||||
|
||||
public function callTableAction(string | array $name, $record = null, array $data = [], array $arguments = []): static {}
|
||||
|
||||
public function callTableColumnAction(string $name, $record = null): static {}
|
||||
|
||||
public function callMountedTableAction(array $arguments = []): static {}
|
||||
|
||||
public function assertTableActionExists(string | array $name, ?Closure $checkActionUsing = null, $record = null): static {}
|
||||
|
||||
public function assertTableActionDoesNotExist(string | array $name, ?Closure $checkActionUsing = null, $record = null): static {}
|
||||
|
||||
public function assertTableActionsExistInOrder(array $names): static {}
|
||||
|
||||
public function assertTableHeaderActionsExistInOrder(array $names): static {}
|
||||
|
||||
public function assertTableEmptyStateActionsExistInOrder(array $names): static {}
|
||||
|
||||
public function assertTableActionVisible(string | array $name, $record = null): static {}
|
||||
|
||||
public function assertTableActionHidden(string | array $name, $record = null): static {}
|
||||
|
||||
public function assertTableActionEnabled(string | array $name, $record = null): static {}
|
||||
|
||||
public function assertTableActionDisabled(string | array $name, $record = null): static {}
|
||||
|
||||
public function assertTableActionMounted(string | array $name): static {}
|
||||
|
||||
public function assertTableActionNotMounted(string | array $name): static {}
|
||||
|
||||
public function assertTableActionHalted(string | array $name): static {}
|
||||
|
||||
public function assertHasTableActionErrors(array $keys = []): static {}
|
||||
|
||||
public function assertHasNoTableActionErrors(array $keys = []): static {}
|
||||
|
||||
public function mountTableBulkAction(string $name, array | Collection $records): static {}
|
||||
|
||||
public function setTableBulkActionData(array $data): static {}
|
||||
|
||||
public function assertTableBulkActionDataSet(array $data): static {}
|
||||
|
||||
public function callTableBulkAction(string $name, array | Collection $records, array $data = [], array $arguments = []): static {}
|
||||
|
||||
public function callMountedTableBulkAction(array $arguments = []): static {}
|
||||
|
||||
public function assertTableBulkActionExists(string $name): static {}
|
||||
|
||||
public function assertTableBulkActionDoesNotExist(string $name): static {}
|
||||
|
||||
public function assertTableBulkActionsExistInOrder(array $names): static {}
|
||||
|
||||
public function assertTableBulkActionVisible(string $name): static {}
|
||||
|
||||
public function assertTableBulkActionHidden(string $name): static {}
|
||||
|
||||
public function assertTableBulkActionEnabled(string $name): static {}
|
||||
|
||||
public function assertTableBulkActionDisabled(string $name): static {}
|
||||
|
||||
public function assertTableActionHasIcon(string | array $name, string $icon): static {}
|
||||
|
||||
public function assertTableActionDoesNotHaveIcon(string | array $name, string $icon): static {}
|
||||
|
||||
public function assertTableActionHasLabel(string | array $name, string $label): static {}
|
||||
|
||||
public function assertTableActionDoesNotHaveLabel(string | array $name, string $label): static {}
|
||||
|
||||
public function assertTableActionHasColor(string | array $name, string | array $color): static {}
|
||||
|
||||
public function assertTableActionDoesNotHaveColor(string | array $name, string | array $color): static {}
|
||||
|
||||
public function assertTableBulkActionHasIcon(string $name, string $icon): static {}
|
||||
|
||||
public function assertTableBulkActionDoesNotHaveIcon(string $name, string $icon): static {}
|
||||
|
||||
public function assertTableBulkActionHasLabel(string $name, string $label): static {}
|
||||
|
||||
public function assertTableBulkActionDoesNotHaveLabel(string $name, string $label): static {}
|
||||
|
||||
public function assertTableBulkActionHasColor(string $name, string | array $color): static {}
|
||||
|
||||
public function assertTableBulkActionDoesNotHaveColor(string $name, string | array $color): static {}
|
||||
|
||||
public function assertTableActionHasUrl(string | array $name, string $url): static {}
|
||||
|
||||
public function assertTableActionDoesNotHaveUrl(string | array $name, string $url): static {}
|
||||
|
||||
public function assertTableActionShouldOpenUrlInNewTab(string | array $name): static {}
|
||||
|
||||
public function assertTableActionShouldNotOpenUrlInNewTab(string | array $name): static {}
|
||||
|
||||
public function assertTableBulkActionMounted(string $name): static {}
|
||||
|
||||
public function assertTableBulkActionNotMounted(string $name): static {}
|
||||
|
||||
public function assertTableBulkActionHalted(string $name): static {}
|
||||
|
||||
public function assertHasTableBulkActionErrors(array $keys = []): static {}
|
||||
|
||||
public function assertHasNoTableBulkActionErrors(array $keys = []): static {}
|
||||
|
||||
public function assertCanRenderTableColumn(string $name): static {}
|
||||
|
||||
public function assertCanNotRenderTableColumn(string $name): static {}
|
||||
|
||||
public function assertTableColumnExists(string $name, ?Closure $checkColumnUsing = null, $record = null): static {}
|
||||
|
||||
public function assertTableColumnDoesNotExist(string $name, ?Closure $checkColumnUsing = null, $record = null): static {}
|
||||
|
||||
public function assertTableColumnVisible(string $name): static {}
|
||||
|
||||
public function assertTableColumnHidden(string $name): static {}
|
||||
|
||||
public function assertTableColumnStateSet(string $name, $value, $record): static {}
|
||||
|
||||
public function assertTableColumnStateNotSet(string $name, $value, $record): static {}
|
||||
|
||||
public function assertTableColumnSummarizerExists(string $columnName, string $summarizerId): static {}
|
||||
|
||||
public function assertTableColumnSummarySet(string $columnName, string $summarizerId, $state, bool $isCurrentPaginationPageOnly = false): static {}
|
||||
|
||||
public function assertTableColumnSummaryNotSet(string $columnName, string $summarizerId, $state, bool $isCurrentPaginationPageOnly = false): static {}
|
||||
|
||||
public function assertTableColumnFormattedStateSet(string $name, $value, $record): static {}
|
||||
|
||||
public function assertTableColumnFormattedStateNotSet(string $name, $value, $record): static {}
|
||||
|
||||
public function assertTableColumnHasExtraAttributes(string $name, $value, $record): static {}
|
||||
|
||||
public function assertTableColumnDoesNotHaveExtraAttributes(string $name, $value, $record): static {}
|
||||
|
||||
public function assertTableColumnHasDescription(string $name, $description, $record, $position = 'below'): static {}
|
||||
|
||||
public function assertTableColumnDoesNotHaveDescription(string $name, $description, $record, $position = 'below'): static {}
|
||||
|
||||
public function assertTableSelectColumnHasOptions(string $name, array $options, $record): static {}
|
||||
|
||||
public function assertTableSelectColumnDoesNotHaveOptions(string $name, array $options, $record): static {}
|
||||
|
||||
public function sortTable(?string $name = null, ?string $direction = null): static {}
|
||||
|
||||
public function searchTable(?string $search = null): static {}
|
||||
|
||||
public function searchTableColumns(array $searches): static {}
|
||||
|
||||
public function filterTable(string $name, $data = null): static {}
|
||||
|
||||
public function resetTableFilters(): static {}
|
||||
|
||||
public function removeTableFilter(string $filter, ?string $field = null): static {}
|
||||
|
||||
public function removeTableFilters(): static {}
|
||||
|
||||
public function assertCanSeeTableRecords(array | Collection $records, bool $inOrder = false): static {}
|
||||
|
||||
public function assertCanNotSeeTableRecords(array | Collection $records): static {}
|
||||
|
||||
public function assertCountTableRecords(int $count): static {}
|
||||
|
||||
public function loadTable(): static {}
|
||||
}
|
||||
|
||||
}
|
||||
41
vendor/filament/tables/composer.json
vendored
Normal file
41
vendor/filament/tables/composer.json
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "filament/tables",
|
||||
"description": "Easily add beautiful tables to any Livewire component.",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/filamentphp/filament",
|
||||
"support": {
|
||||
"issues": "https://github.com/filamentphp/filament/issues",
|
||||
"source": "https://github.com/filamentphp/filament"
|
||||
},
|
||||
"require": {
|
||||
"php": "^8.1",
|
||||
"filament/actions": "self.version",
|
||||
"filament/forms": "self.version",
|
||||
"filament/support": "self.version",
|
||||
"illuminate/console": "^10.45|^11.0",
|
||||
"illuminate/contracts": "^10.45|^11.0",
|
||||
"illuminate/database": "^10.45|^11.0",
|
||||
"illuminate/filesystem": "^10.45|^11.0",
|
||||
"illuminate/support": "^10.45|^11.0",
|
||||
"illuminate/view": "^10.45|^11.0",
|
||||
"kirschbaum-development/eloquent-power-joins": "^3.0",
|
||||
"spatie/laravel-package-tools": "^1.9"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Filament\\Tables\\": "src"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Filament\\Tables\\TablesServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"sort-packages": true
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true
|
||||
}
|
||||
1
vendor/filament/tables/dist/components/table.js
vendored
Normal file
1
vendor/filament/tables/dist/components/table.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
function n(){return{collapsedGroups:[],isLoading:!1,selectedRecords:[],shouldCheckUniqueSelection:!0,lastCheckedRecord:null,init:function(){this.$wire.$on("deselectAllTableRecords",()=>this.deselectAllRecords()),this.$watch("selectedRecords",()=>{if(!this.shouldCheckUniqueSelection){this.shouldCheckUniqueSelection=!0;return}this.selectedRecords=[...new Set(this.selectedRecords)],this.shouldCheckUniqueSelection=!1}),this.$nextTick(()=>this.watchForCheckboxClicks()),Livewire.hook("element.init",({component:e})=>{e.id===this.$wire.id&&this.watchForCheckboxClicks()})},mountAction:function(e,t=null){this.$wire.set("selectedTableRecords",this.selectedRecords,!1),this.$wire.mountTableAction(e,t)},mountBulkAction:function(e){this.$wire.set("selectedTableRecords",this.selectedRecords,!1),this.$wire.mountTableBulkAction(e)},toggleSelectRecordsOnPage:function(){let e=this.getRecordsOnPage();if(this.areRecordsSelected(e)){this.deselectRecords(e);return}this.selectRecords(e)},toggleSelectRecordsInGroup:async function(e){if(this.isLoading=!0,this.areRecordsSelected(this.getRecordsInGroupOnPage(e))){this.deselectRecords(await this.$wire.getGroupedSelectableTableRecordKeys(e));return}this.selectRecords(await this.$wire.getGroupedSelectableTableRecordKeys(e)),this.isLoading=!1},getRecordsInGroupOnPage:function(e){let t=[];for(let s of this.$root?.getElementsByClassName("fi-ta-record-checkbox")??[])s.dataset.group===e&&t.push(s.value);return t},getRecordsOnPage:function(){let e=[];for(let t of this.$root?.getElementsByClassName("fi-ta-record-checkbox")??[])e.push(t.value);return e},selectRecords:function(e){for(let t of e)this.isRecordSelected(t)||this.selectedRecords.push(t)},deselectRecords:function(e){for(let t of e){let s=this.selectedRecords.indexOf(t);s!==-1&&this.selectedRecords.splice(s,1)}},selectAllRecords:async function(){this.isLoading=!0,this.selectedRecords=await this.$wire.getAllSelectableTableRecordKeys(),this.isLoading=!1},deselectAllRecords:function(){this.selectedRecords=[]},isRecordSelected:function(e){return this.selectedRecords.includes(e)},areRecordsSelected:function(e){return e.every(t=>this.isRecordSelected(t))},toggleCollapseGroup:function(e){if(this.isGroupCollapsed(e)){this.collapsedGroups.splice(this.collapsedGroups.indexOf(e),1);return}this.collapsedGroups.push(e)},isGroupCollapsed:function(e){return this.collapsedGroups.includes(e)},resetCollapsedGroups:function(){this.collapsedGroups=[]},watchForCheckboxClicks:function(){let e=this.$root?.getElementsByClassName("fi-ta-record-checkbox")??[];for(let t of e)t.removeEventListener("click",this.handleCheckboxClick),t.addEventListener("click",s=>this.handleCheckboxClick(s,t))},handleCheckboxClick:function(e,t){if(!this.lastChecked){this.lastChecked=t;return}if(e.shiftKey){let s=Array.from(this.$root?.getElementsByClassName("fi-ta-record-checkbox")??[]);if(!s.includes(this.lastChecked)){this.lastChecked=t;return}let l=s.indexOf(this.lastChecked),r=s.indexOf(t),o=[l,r].sort((c,d)=>c-d),i=[];for(let c=o[0];c<=o[1];c++)s[c].checked=t.checked,i.push(s[c].value);t.checked?this.selectRecords(i):this.deselectRecords(i)}this.lastChecked=t}}}export{n as default};
|
||||
1
vendor/filament/tables/dist/index.js
vendored
Normal file
1
vendor/filament/tables/dist/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(()=>{})();
|
||||
176
vendor/filament/tables/docs/01-installation.md
vendored
Normal file
176
vendor/filament/tables/docs/01-installation.md
vendored
Normal file
@@ -0,0 +1,176 @@
|
||||
---
|
||||
title: Installation
|
||||
---
|
||||
|
||||
**The Table Builder package is pre-installed with the [Panel Builder](/docs/panels).** This guide is for using the Table Builder in a custom TALL Stack application (Tailwind, Alpine, Livewire, Laravel).
|
||||
|
||||
## Requirements
|
||||
|
||||
Filament requires the following to run:
|
||||
|
||||
- PHP 8.1+
|
||||
- Laravel v10.0+
|
||||
- Livewire v3.0+
|
||||
|
||||
## Installation
|
||||
|
||||
Require the Table Builder package using Composer:
|
||||
|
||||
```bash
|
||||
composer require filament/tables:"^3.2" -W
|
||||
```
|
||||
|
||||
## New Laravel projects
|
||||
|
||||
To quickly get started with Filament in a new Laravel project, run the following commands to install [Livewire](https://livewire.laravel.com), [Alpine.js](https://alpinejs.dev), and [Tailwind CSS](https://tailwindcss.com):
|
||||
|
||||
> Since these commands will overwrite existing files in your application, only run this in a new Laravel project!
|
||||
|
||||
```bash
|
||||
php artisan filament:install --scaffold --tables
|
||||
|
||||
npm install
|
||||
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## Existing Laravel projects
|
||||
|
||||
Run the following command to install the Table Builder assets:
|
||||
|
||||
```bash
|
||||
php artisan filament:install --tables
|
||||
```
|
||||
|
||||
### Installing Tailwind CSS
|
||||
|
||||
Run the following command to install Tailwind CSS with the Tailwind Forms and Typography plugins:
|
||||
|
||||
```bash
|
||||
npm install tailwindcss @tailwindcss/forms @tailwindcss/typography postcss postcss-nesting autoprefixer --save-dev
|
||||
```
|
||||
|
||||
Create a new `tailwind.config.js` file and add the Filament `preset` *(includes the Filament color scheme and the required Tailwind plugins)*:
|
||||
|
||||
```js
|
||||
import preset from './vendor/filament/support/tailwind.config.preset'
|
||||
|
||||
export default {
|
||||
presets: [preset],
|
||||
content: [
|
||||
'./app/Filament/**/*.php',
|
||||
'./resources/views/filament/**/*.blade.php',
|
||||
'./vendor/filament/**/*.blade.php',
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
### Configuring styles
|
||||
|
||||
Add Tailwind's CSS layers to your `resources/css/app.css`:
|
||||
|
||||
```css
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
```
|
||||
|
||||
Create a `postcss.config.js` file in the root of your project and register Tailwind CSS, PostCSS Nesting and Autoprefixer as plugins:
|
||||
|
||||
```js
|
||||
export default {
|
||||
plugins: {
|
||||
'tailwindcss/nesting': 'postcss-nesting',
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
### Automatically refreshing the browser
|
||||
You may also want to update your `vite.config.js` file to refresh the page automatically when Livewire components are updated:
|
||||
|
||||
```js
|
||||
import { defineConfig } from 'vite'
|
||||
import laravel, { refreshPaths } from 'laravel-vite-plugin'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
laravel({
|
||||
input: ['resources/css/app.css', 'resources/js/app.js'],
|
||||
refresh: [
|
||||
...refreshPaths,
|
||||
'app/Livewire/**',
|
||||
],
|
||||
}),
|
||||
],
|
||||
})
|
||||
```
|
||||
|
||||
### Compiling assets
|
||||
|
||||
Compile your new CSS and Javascript assets using `npm run dev`.
|
||||
|
||||
### Configuring your layout
|
||||
|
||||
Create a new `resources/views/components/layouts/app.blade.php` layout file for Livewire components:
|
||||
|
||||
```blade
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<meta name="application-name" content="{{ config('app.name') }}">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{ config('app.name') }}</title>
|
||||
|
||||
<style>
|
||||
[x-cloak] {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
@filamentStyles
|
||||
@vite('resources/css/app.css')
|
||||
</head>
|
||||
|
||||
<body class="antialiased">
|
||||
{{ $slot }}
|
||||
|
||||
@filamentScripts
|
||||
@vite('resources/js/app.js')
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
## Publishing configuration
|
||||
|
||||
You can publish the package configuration using the following command (optional):
|
||||
|
||||
```bash
|
||||
php artisan vendor:publish --tag=filament-config
|
||||
```
|
||||
|
||||
## Upgrading
|
||||
|
||||
> Upgrading from Filament v2? Please review the [upgrade guide](upgrade-guide).
|
||||
|
||||
Filament automatically upgrades to the latest non-breaking version when you run `composer update`. After any updates, all Laravel caches need to be cleared, and frontend assets need to be republished. You can do this all at once using the `filament:upgrade` command, which should have been added to your `composer.json` file when you ran `filament:install` the first time:
|
||||
|
||||
```json
|
||||
"post-autoload-dump": [
|
||||
// ...
|
||||
"@php artisan filament:upgrade"
|
||||
],
|
||||
```
|
||||
|
||||
Please note that `filament:upgrade` does not actually handle the update process, as Composer does that already. If you're upgrading manually without a `post-autoload-dump` hook, you can run the command yourself:
|
||||
|
||||
```bash
|
||||
composer update
|
||||
|
||||
php artisan filament:upgrade
|
||||
```
|
||||
177
vendor/filament/tables/docs/02-getting-started.md
vendored
Normal file
177
vendor/filament/tables/docs/02-getting-started.md
vendored
Normal file
@@ -0,0 +1,177 @@
|
||||
---
|
||||
title: Getting started
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
Filament's Table Builder package allows you to [add an interactive datatable to any Livewire component](adding-a-table-to-a-livewire-component). It's also used within other Filament packages, such as the [Panel Builder](../panels) for displaying [resources](../panels/resources/getting-started) and [relation managers](../panels/resources/relation-managers), as well as for the [table widget](../panels/dashboard#table-widgets). Learning the features of the Table Builder will be incredibly time-saving when both building your own custom Livewire tables and using Filament's other packages.
|
||||
|
||||
This guide will walk you through the basics of building tables with Filament's table package. If you're planning to add a new table to your own Livewire component, you should [do that first](adding-a-table-to-a-livewire-component) and then come back. If you're adding a table to an [app resource](../panels/resources/getting-started), or another Filament package, you're ready to go!
|
||||
|
||||
## Defining table columns
|
||||
|
||||
The basis of any table is rows and columns. Filament uses Eloquent to get the data for rows in the table, and you are responsible for defining the columns that are used in that row.
|
||||
|
||||
Filament includes many column types prebuilt for you, and you can [view a full list here](columns/getting-started#available-columns). You can even [create your own custom column types](columns/custom) to display data in whatever way you need.
|
||||
|
||||
Columns are stored in an array, as objects within the `$table->columns()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('title'),
|
||||
TextColumn::make('slug'),
|
||||
IconColumn::make('is_featured')
|
||||
->boolean(),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/getting-started/columns" alt="Table with columns" version="3.x" />
|
||||
|
||||
In this example, there are 3 columns in the table. The first two display [text](columns/text) - the title and slug of each row in the table. The third column displays an [icon](columns/icon), either a green check or a red cross depending on if the row is featured or not.
|
||||
|
||||
### Making columns sortable and searchable
|
||||
|
||||
You can easily modify columns by chaining methods onto them. For example, you can make a column [searchable](columns/getting-started#searching) using the `searchable()` method. Now, there will be a search field in the table, and you will be able to filter rows by the value of that column:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->searchable()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/getting-started/searchable-columns" alt="Table with searchable column" version="3.x" />
|
||||
|
||||
You can make multiple columns searchable, and Filament will be able to search for matches within any of them, all at once.
|
||||
|
||||
You can also make a column [sortable](columns/getting-started#sorting) using the `sortable()` method. This will add a sort button to the column header, and clicking it will sort the table by that column:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->sortable()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/getting-started/sortable-columns" alt="Table with sortable column" version="3.x" />
|
||||
|
||||
### Accessing related data from columns
|
||||
|
||||
You can also display data in a column that belongs to a relationship. For example, if you have a `Post` model that belongs to a `User` model (the author of the post), you can display the user's name in the table:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('author.name')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/getting-started/relationship-columns" alt="Table with relationship column" version="3.x" />
|
||||
|
||||
In this case, Filament will search for an `author` relationship on the `Post` model, and then display the `name` attribute of that relationship. We call this "dot notation" - you can use it to display any attribute of any relationship, even nested distant relationships. Filament uses this dot notation to eager-load the results of that relationship for you.
|
||||
|
||||
## Defining table filters
|
||||
|
||||
As well as making columns `searchable()`, you can allow the users to filter rows in the table in other ways. We call these components "filters", and they are defined in the `$table->filters()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\Filter;
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
// ...
|
||||
])
|
||||
->filters([
|
||||
Filter::make('is_featured')
|
||||
->query(fn (Builder $query) => $query->where('is_featured', true)),
|
||||
SelectFilter::make('status')
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
]),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/getting-started/filters" alt="Table with filters" version="3.x" />
|
||||
|
||||
In this example, we have defined 2 table filters. On the table, there is now a "filter" icon button in the top corner. Clicking it will open a dropdown with the 2 filters we have defined.
|
||||
|
||||
The first filter is rendered as a checkbox. When it's checked, only featured rows in the table will be displayed. When it's unchecked, all rows will be displayed.
|
||||
|
||||
The second filter is rendered as a select dropdown. When a user selects an option, only rows with that status will be displayed. When no option is selected, all rows will be displayed.
|
||||
|
||||
It's possible to define as many filters as you need, and use any component from the [Form Builder package](../forms) to create a UI. For example, you could create [a custom date range filter](../filters/custom).
|
||||
|
||||
## Defining table actions
|
||||
|
||||
Filament's tables can use [Actions](../actions/overview). They are buttons that can be added to the [end of any table row](actions#row-actions), or even in the [header](actions#header-actions) of a table. For instance, you may want an action to "create" a new record in the header, and then "edit" and "delete" actions on each row. [Bulk actions](actions#bulk-actions) can be used to execute code when records in the table are selected.
|
||||
|
||||
```php
|
||||
use App\Models\Post;
|
||||
use Filament\Tables\Actions\Action;
|
||||
use Filament\Tables\Actions\BulkActionGroup;
|
||||
use Filament\Tables\Actions\DeleteBulkAction;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
// ...
|
||||
])
|
||||
->actions([
|
||||
Action::make('feature')
|
||||
->action(function (Post $record) {
|
||||
$record->is_featured = true;
|
||||
$record->save();
|
||||
})
|
||||
->hidden(fn (Post $record): bool => $record->is_featured),
|
||||
Action::make('unfeature')
|
||||
->action(function (Post $record) {
|
||||
$record->is_featured = false;
|
||||
$record->save();
|
||||
})
|
||||
->visible(fn (Post $record): bool => $record->is_featured),
|
||||
])
|
||||
->bulkActions([
|
||||
BulkActionGroup::make([
|
||||
DeleteBulkAction::make(),
|
||||
]),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/getting-started/actions" alt="Table with actions" version="3.x" />
|
||||
|
||||
In this example, we define 2 actions for table rows. The first action is a "feature" action. When clicked, it will set the `is_featured` attribute on the record to `true` - which is written within the `action()` method. Using the `hidden()` method, the action will be hidden if the record is already featured. The second action is an "unfeature" action. When clicked, it will set the `is_featured` attribute on the record to `false`. Using the `visible()` method, the action will be hidden if the record is not featured.
|
||||
|
||||
We also define a bulk action. When bulk actions are defined, each row in the table will have a checkbox. This bulk action is [built-in to Filament](../actions/prebuilt-actions/delete#bulk-delete), and it will delete all selected records. However, you can [write your own custom bulk actions](actions#bulk-actions) easily too.
|
||||
|
||||
<AutoScreenshot name="tables/getting-started/actions-modal" alt="Table with action modal open" version="3.x" />
|
||||
|
||||
Actions can also open modals to request confirmation from the user, as well as render forms inside to collect extra data. It's a good idea to read the [Actions documentation](../actions/overview) to learn more about their extensive capabilities throughout Filament.
|
||||
|
||||
## Next steps with the Table Builder package
|
||||
|
||||
Now you've finished reading this guide, where to next? Here are some suggestions:
|
||||
|
||||
- [Explore the available columns to display data in your table.](columns/getting-started#available-columns)
|
||||
- [Deep dive into table actions and start using modals.](actions)
|
||||
- [Discover how to build complex, responsive table layouts without touching CSS.](layout)
|
||||
- [Add summaries to your tables, which give an overview of the data inside them.](summaries)
|
||||
- [Find out about all advanced techniques that you can customize tables to your needs.](advanced)
|
||||
- [Write automated tests for your tables using our suite of helper methods.](testing)
|
||||
641
vendor/filament/tables/docs/03-columns/01-getting-started.md
vendored
Normal file
641
vendor/filament/tables/docs/03-columns/01-getting-started.md
vendored
Normal file
@@ -0,0 +1,641 @@
|
||||
---
|
||||
title: Getting started
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
import LaracastsBanner from "@components/LaracastsBanner.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
<LaracastsBanner
|
||||
title="Table Columns"
|
||||
description="Watch the Rapid Laravel Development with Filament series on Laracasts - it will teach you the basics of adding columns to Filament resource tables."
|
||||
url="https://laracasts.com/series/rapid-laravel-development-with-filament/episodes/9"
|
||||
series="rapid-laravel-development"
|
||||
/>
|
||||
|
||||
Column classes can be found in the `Filament\Tables\Columns` namespace. You can put them inside the `$table->columns()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
// ...
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
Columns may be created using the static `make()` method, passing its unique name. The name of the column should correspond to a column or accessor on your model. You may use "dot notation" to access columns within relationships.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
|
||||
TextColumn::make('author.name')
|
||||
```
|
||||
|
||||
## Available columns
|
||||
|
||||
Filament ships with two main types of columns - static and editable.
|
||||
|
||||
Static columns display data to the user:
|
||||
|
||||
- [Text column](text)
|
||||
- [Icon column](icon)
|
||||
- [Image column](image)
|
||||
- [Color column](color)
|
||||
|
||||
Editable columns allow the user to update data in the database without leaving the table:
|
||||
|
||||
- [Select column](select)
|
||||
- [Toggle column](toggle)
|
||||
- [Text input column](text-input)
|
||||
- [Checkbox column](checkbox)
|
||||
|
||||
You may also [create your own custom columns](custom) to display data however you wish.
|
||||
|
||||
## Setting a label
|
||||
|
||||
By default, the label of the column, which is displayed in the header of the table, is generated from the name of the column. You may customize this using the `label()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->label('Post title')
|
||||
```
|
||||
|
||||
Optionally, you can have the label automatically translated [using Laravel's localization features](https://laravel.com/docs/localization) with the `translateLabel()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->translateLabel() // Equivalent to `label(__('Title'))`
|
||||
```
|
||||
|
||||
## Sorting
|
||||
|
||||
Columns may be sortable, by clicking on the column label. To make a column sortable, you must use the `sortable()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('name')
|
||||
->sortable()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/sortable" alt="Table with sortable column" version="3.x" />
|
||||
|
||||
If you're using an accessor column, you may pass `sortable()` an array of database columns to sort by:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('full_name')
|
||||
->sortable(['first_name', 'last_name'])
|
||||
```
|
||||
|
||||
You may customize how the sorting is applied to the Eloquent query using a callback:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
TextColumn::make('full_name')
|
||||
->sortable(query: function (Builder $query, string $direction): Builder {
|
||||
return $query
|
||||
->orderBy('last_name', $direction)
|
||||
->orderBy('first_name', $direction);
|
||||
})
|
||||
```
|
||||
|
||||
## Sorting by default
|
||||
|
||||
You may choose to sort a table by default if no other sort is applied. You can use the `defaultSort()` method for this:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
// ...
|
||||
])
|
||||
->defaultSort('stock', 'desc');
|
||||
}
|
||||
```
|
||||
|
||||
### Persist sort in session
|
||||
|
||||
To persist the sorting in the user's session, use the `persistSortInSession()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
// ...
|
||||
])
|
||||
->persistSortInSession();
|
||||
}
|
||||
```
|
||||
|
||||
## Searching
|
||||
|
||||
Columns may be searchable by using the text input field in the top right of the table. To make a column searchable, you must use the `searchable()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('name')
|
||||
->searchable()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/searchable" alt="Table with searchable column" version="3.x" />
|
||||
|
||||
If you're using an accessor column, you may pass `searchable()` an array of database columns to search within:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('full_name')
|
||||
->searchable(['first_name', 'last_name'])
|
||||
```
|
||||
|
||||
You may customize how the search is applied to the Eloquent query using a callback:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
TextColumn::make('full_name')
|
||||
->searchable(query: function (Builder $query, string $search): Builder {
|
||||
return $query
|
||||
->where('first_name', 'like', "%{$search}%")
|
||||
->orWhere('last_name', 'like', "%{$search}%");
|
||||
})
|
||||
```
|
||||
|
||||
#### Customizing the table search field placeholder
|
||||
|
||||
You may customize the placeholder in the search field using the `searchPlaceholder()` method on the `$table`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public static function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
// ...
|
||||
])
|
||||
->searchPlaceholder('Search (ID, Name)');
|
||||
}
|
||||
```
|
||||
|
||||
### Searching individually
|
||||
|
||||
You can choose to enable a per-column search input field using the `isIndividual` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('name')
|
||||
->searchable(isIndividual: true)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/individually-searchable" alt="Table with individually searchable column" version="3.x" />
|
||||
|
||||
If you use the `isIndividual` parameter, you may still search that column using the main "global" search input field for the entire table.
|
||||
|
||||
To disable that functionality while still preserving the individual search functionality, you need the `isGlobal` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->searchable(isIndividual: true, isGlobal: false)
|
||||
```
|
||||
|
||||
You may optionally persist the searches in the query string:
|
||||
|
||||
```php
|
||||
use Livewire\Attributes\Url;
|
||||
|
||||
/**
|
||||
* @var array<string, string | array<string, string | null> | null>
|
||||
*/
|
||||
#[Url]
|
||||
public array $tableColumnSearches = [];
|
||||
```
|
||||
|
||||
### Customizing the table search debounce
|
||||
|
||||
You may customize the debounce time in all table search fields using the `searchDebounce()` method on the `$table`. By default it is set to `500ms`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public static function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
// ...
|
||||
])
|
||||
->searchDebounce('750ms');
|
||||
}
|
||||
```
|
||||
|
||||
### Searching when the input is blurred
|
||||
|
||||
Instead of automatically reloading the table contents while the user is typing their search, which is affected by the [debounce](#customizing-the-table-search-debounce) of the search field, you may change the behavior so that the table is only searched when the user blurs the input (tabs or clicks out of it), using the `searchOnBlur()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public static function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
// ...
|
||||
])
|
||||
->searchOnBlur();
|
||||
}
|
||||
```
|
||||
|
||||
### Persist search in session
|
||||
|
||||
To persist the table or individual column search in the user's session, use the `persistSearchInSession()` or `persistColumnSearchInSession()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
// ...
|
||||
])
|
||||
->persistSearchInSession()
|
||||
->persistColumnSearchesInSession();
|
||||
}
|
||||
```
|
||||
|
||||
## Column actions and URLs
|
||||
|
||||
When a cell is clicked, you may run an "action", or open a URL.
|
||||
|
||||
### Running actions
|
||||
|
||||
To run an action, you may use the `action()` method, passing a callback or the name of a Livewire method to run. Each method accepts a `$record` parameter which you may use to customize the behavior of the action:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->action(function (Post $record): void {
|
||||
$this->dispatch('open-post-edit-modal', post: $record->getKey());
|
||||
})
|
||||
```
|
||||
|
||||
#### Action modals
|
||||
|
||||
You may open [action modals](../actions#modals) by passing in an `Action` object to the `action()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\Action;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->action(
|
||||
Action::make('select')
|
||||
->requiresConfirmation()
|
||||
->action(function (Post $record): void {
|
||||
$this->dispatch('select-post', post: $record->getKey());
|
||||
}),
|
||||
)
|
||||
```
|
||||
|
||||
Action objects passed into the `action()` method must have a unique name to distinguish it from other actions within the table.
|
||||
|
||||
### Opening URLs
|
||||
|
||||
To open a URL, you may use the `url()` method, passing a callback or static URL to open. Callbacks accept a `$record` parameter which you may use to customize the URL:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->url(fn (Post $record): string => route('posts.edit', ['post' => $record]))
|
||||
```
|
||||
|
||||
You may also choose to open the URL in a new tab:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->url(fn (Post $record): string => route('posts.edit', ['post' => $record]))
|
||||
->openUrlInNewTab()
|
||||
```
|
||||
|
||||
## Setting a default value
|
||||
|
||||
To set a default value for columns with an empty state, you may use the `default()` method. This method will treat the default state as if it were real, so columns like [image](image) or [color](color) will display the default image or color.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('description')
|
||||
->default('No description.')
|
||||
```
|
||||
|
||||
## Adding placeholder text if a column is empty
|
||||
|
||||
Sometimes you may want to display placeholder text for columns with an empty state, which is styled as a lighter gray text. This differs from the [default value](#setting-a-default-value), as the placeholder is always text and not treated as if it were real state.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('description')
|
||||
->placeholder('No description.')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/placeholder" alt="Column with a placeholder for empty state" version="3.x" />
|
||||
|
||||
## Hiding columns
|
||||
|
||||
To hide a column conditionally, you may use the `hidden()` and `visible()` methods, whichever you prefer:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('role')
|
||||
->hidden(! auth()->user()->isAdmin())
|
||||
// or
|
||||
TextColumn::make('role')
|
||||
->visible(auth()->user()->isAdmin())
|
||||
```
|
||||
|
||||
### Toggling column visibility
|
||||
|
||||
Users may hide or show columns themselves in the table. To make a column toggleable, use the `toggleable()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('email')
|
||||
->toggleable()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/toggleable" alt="Table with toggleable column" version="3.x" />
|
||||
|
||||
#### Making toggleable columns hidden by default
|
||||
|
||||
By default, toggleable columns are visible. To make them hidden instead:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('id')
|
||||
->toggleable(isToggledHiddenByDefault: true)
|
||||
```
|
||||
|
||||
#### Customizing the toggle columns dropdown trigger action
|
||||
|
||||
To customize the toggle dropdown trigger button, you may use the `toggleColumnsTriggerAction()` method, passing a closure that returns an action. All methods that are available to [customize action trigger buttons](../actions/trigger-button) can be used:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\Action;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
])
|
||||
->toggleColumnsTriggerAction(
|
||||
fn (Action $action) => $action
|
||||
->button()
|
||||
->label('Toggle columns'),
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
## Calculated state
|
||||
|
||||
Sometimes you need to calculate the state of a column, instead of directly reading it from a database column.
|
||||
|
||||
By passing a callback function to the `state()` method, you can customize the returned state for that column based on the `$record`:
|
||||
|
||||
```php
|
||||
use App\Models\Order;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('amount_including_vat')
|
||||
->state(function (Order $record): float {
|
||||
return $record->amount * (1 + $record->vat_rate);
|
||||
})
|
||||
```
|
||||
|
||||
## Tooltips
|
||||
|
||||
You may specify a tooltip to display when you hover over a cell:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->tooltip('Title')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/tooltips" alt="Table with column triggering a tooltip" version="3.x" />
|
||||
|
||||
This method also accepts a closure that can access the current table record:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
TextColumn::make('title')
|
||||
->tooltip(fn (Model $record): string => "By {$record->author->name}")
|
||||
```
|
||||
|
||||
## Horizontally aligning column content
|
||||
|
||||
Table columns are aligned to the start (left in LTR interfaces or right in RTL interfaces) by default. You may change the alignment using the `alignment()` method, and passing it `Alignment::Start`, `Alignment::Center`, `Alignment::End` or `Alignment::Justify` options:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\Alignment;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('email')
|
||||
->alignment(Alignment::End)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/alignment" alt="Table with column aligned to the end" version="3.x" />
|
||||
|
||||
Alternatively, you may use shorthand methods like `alignEnd()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('name')
|
||||
->alignEnd()
|
||||
```
|
||||
|
||||
## Vertically aligning column content
|
||||
|
||||
Table column content is vertically centered by default. You may change the vertical alignment using the `verticalAlignment()` method, and passing it `VerticalAlignment::Start`, `VerticalAlignment::Center` or `VerticalAlignment::End` options:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\VerticalAlignment;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('name')
|
||||
->verticalAlignment(VerticalAlignment::Start)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/vertical-alignment" alt="Table with column vertically aligned to the start" version="3.x" />
|
||||
|
||||
Alternatively, you may use shorthand methods like `verticallyAlignStart()`:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\VerticalAlignment;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('name')
|
||||
->verticallyAlignStart()
|
||||
```
|
||||
|
||||
## Allowing column headers to wrap
|
||||
|
||||
By default, column headers will not wrap onto multiple lines, if they need more space. You may allow them to wrap using the `wrapHeader()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('name')
|
||||
->wrapHeader()
|
||||
```
|
||||
|
||||
## Controlling the width of columns
|
||||
|
||||
By default, columns will take up as much space as they need. You may allow some columns to consume more space than others by using the `grow()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('name')
|
||||
->grow()
|
||||
```
|
||||
|
||||
Alternatively, you can define a width for the column, which is passed to the header cell using the `style` attribute, so you can use any valid CSS value:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
|
||||
IconColumn::make('is_paid')
|
||||
->label('Paid')
|
||||
->boolean()
|
||||
->width('1%')
|
||||
```
|
||||
|
||||
## Grouping columns
|
||||
|
||||
You group multiple columns together underneath a single heading using a `ColumnGroup` object:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ColumnGroup;
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('title'),
|
||||
TextColumn::make('slug'),
|
||||
ColumnGroup::make('Visibility', [
|
||||
TextColumn::make('status'),
|
||||
IconColumn::make('is_featured'),
|
||||
]),
|
||||
TextColumn::make('author.name'),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
The first argument is the label of the group, and the second is an array of column objects that belong to that group.
|
||||
|
||||
<AutoScreenshot name="tables/columns/grouping" alt="Table with grouped columns" version="3.x" />
|
||||
|
||||
You can also control the group header [alignment](#horizontally-aligning-column-content) and [wrapping](#allowing-column-headers-to-wrap) on the `ColumnGroup` object. To improve the multi-line fluency of the API, you can chain the `columns()` onto the object instead of passing it as the second argument:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\Alignment;
|
||||
use Filament\Tables\Columns\ColumnGroup;
|
||||
|
||||
ColumnGroup::make('Website visibility')
|
||||
->columns([
|
||||
// ...
|
||||
])
|
||||
->alignment(Alignment::Center)
|
||||
->wrapHeader()
|
||||
```
|
||||
|
||||
## Custom attributes
|
||||
|
||||
The HTML of columns can be customized, by passing an array of `extraAttributes()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('slug')
|
||||
->extraAttributes(['class' => 'bg-gray-200'])
|
||||
```
|
||||
|
||||
These get merged onto the outer `<div>` element of each cell in that column.
|
||||
|
||||
## Global settings
|
||||
|
||||
If you wish to change the default behavior of all columns globally, then you can call the static `configureUsing()` method inside a service provider's `boot()` method, to which you pass a Closure to modify the columns using. For example, if you wish to make all columns [`searchable()`](#searching) and [`toggleable()`](#toggling-column-visibility), you can do it like so:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Column;
|
||||
|
||||
Column::configureUsing(function (Column $column): void {
|
||||
$column
|
||||
->toggleable()
|
||||
->searchable();
|
||||
});
|
||||
```
|
||||
|
||||
Additionally, you can call this code on specific column types as well:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::configureUsing(function (TextColumn $column): void {
|
||||
$column
|
||||
->toggleable()
|
||||
->searchable();
|
||||
});
|
||||
```
|
||||
|
||||
Of course, you are still able to overwrite this on each column individually:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('name')
|
||||
->toggleable(false)
|
||||
```
|
||||
526
vendor/filament/tables/docs/03-columns/02-text.md
vendored
Normal file
526
vendor/filament/tables/docs/03-columns/02-text.md
vendored
Normal file
@@ -0,0 +1,526 @@
|
||||
---
|
||||
title: Text column
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
Text columns display simple text from your database:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/simple" alt="Text column" version="3.x" />
|
||||
|
||||
## Displaying as a "badge"
|
||||
|
||||
By default, the text is quite plain and has no background color. You can make it appear as a "badge" instead using the `badge()` method. A great use case for this is with statuses, where may want to display a badge with a [color](#customizing-the-color) that matches the status:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('status')
|
||||
->badge()
|
||||
->color(fn (string $state): string => match ($state) {
|
||||
'draft' => 'gray',
|
||||
'reviewing' => 'warning',
|
||||
'published' => 'success',
|
||||
'rejected' => 'danger',
|
||||
})
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/badge" alt="Text column as badge" version="3.x" />
|
||||
|
||||
You may add other things to the badge, like an [icon](#adding-an-icon).
|
||||
|
||||
## Displaying a description
|
||||
|
||||
Descriptions may be used to easily render additional text above or below the column contents.
|
||||
|
||||
You can display a description below the contents of a text column using the `description()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->description(fn (Post $record): string => $record->description)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/description" alt="Text column with description" version="3.x" />
|
||||
|
||||
By default, the description is displayed below the main text, but you can move it above using the second parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->description(fn (Post $record): string => $record->description, position: 'above')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/description-above" alt="Text column with description above the content" version="3.x" />
|
||||
|
||||
## Date formatting
|
||||
|
||||
You may use the `date()` and `dateTime()` methods to format the column's state using [PHP date formatting tokens](https://www.php.net/manual/en/datetime.format.php):
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('created_at')
|
||||
->dateTime()
|
||||
```
|
||||
|
||||
You may use the `since()` method to format the column's state using [Carbon's `diffForHumans()`](https://carbon.nesbot.com/docs/#api-humandiff):
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('created_at')
|
||||
->since()
|
||||
```
|
||||
|
||||
## Number formatting
|
||||
|
||||
The `numeric()` method allows you to format an entry as a number:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('stock')
|
||||
->numeric()
|
||||
```
|
||||
|
||||
If you would like to customize the number of decimal places used to format the number with, you can use the `decimalPlaces` argument:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('stock')
|
||||
->numeric(decimalPlaces: 0)
|
||||
```
|
||||
|
||||
By default, your app's locale will be used to format the number suitably. If you would like to customize the locale used, you can pass it to the `locale` argument:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('stock')
|
||||
->numeric(locale: 'nl')
|
||||
```
|
||||
|
||||
Alternatively, you can set the default locale used across your app using the `Number::useLocale()` method in the `boot()` method of a service provider:
|
||||
|
||||
```php
|
||||
use Illuminate\Support\Number;
|
||||
|
||||
Number::useLocale('nl');
|
||||
```
|
||||
|
||||
## Currency formatting
|
||||
|
||||
The `money()` method allows you to easily format monetary values, in any currency:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('price')
|
||||
->money('EUR')
|
||||
```
|
||||
|
||||
There is also a `divideBy` argument for `money()` that allows you to divide the original value by a number before formatting it. This could be useful if your database stores the price in cents, for example:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('price')
|
||||
->money('EUR', divideBy: 100)
|
||||
```
|
||||
|
||||
By default, your app's locale will be used to format the money suitably. If you would like to customize the locale used, you can pass it to the `locale` argument:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('price')
|
||||
->money('EUR', locale: 'nl')
|
||||
```
|
||||
|
||||
Alternatively, you can set the default locale used across your app using the `Number::useLocale()` method in the `boot()` method of a service provider:
|
||||
|
||||
```php
|
||||
use Illuminate\Support\Number;
|
||||
|
||||
Number::useLocale('nl');
|
||||
```
|
||||
|
||||
## Limiting text length
|
||||
|
||||
You may `limit()` the length of the cell's value:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('description')
|
||||
->limit(50)
|
||||
```
|
||||
|
||||
You may also reuse the value that is being passed to `limit()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('description')
|
||||
->limit(50)
|
||||
->tooltip(function (TextColumn $column): ?string {
|
||||
$state = $column->getState();
|
||||
|
||||
if (strlen($state) <= $column->getCharacterLimit()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Only render the tooltip if the column content exceeds the length limit.
|
||||
return $state;
|
||||
})
|
||||
```
|
||||
|
||||
## Limiting word count
|
||||
|
||||
You may limit the number of `words()` displayed in the cell:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('description')
|
||||
->words(10)
|
||||
```
|
||||
|
||||
## Limiting text to a specific number of lines
|
||||
|
||||
You may want to limit text to a specific number of lines instead of limiting it to a fixed length. Clamping text to a number of lines is useful in responsive interfaces where you want to ensure a consistent experience across all screen sizes. This can be achieved using the `lineClamp()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('description')
|
||||
->lineClamp(2)
|
||||
```
|
||||
|
||||
## Adding a prefix or suffix
|
||||
|
||||
You may add a prefix or suffix to the cell's value:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('domain')
|
||||
->prefix('https://')
|
||||
->suffix('.com')
|
||||
```
|
||||
|
||||
## Wrapping content
|
||||
|
||||
If you'd like your column's content to wrap if it's too long, you may use the `wrap()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('description')
|
||||
->wrap()
|
||||
```
|
||||
|
||||
## Listing multiple values
|
||||
|
||||
By default, if there are multiple values inside your text column, they will be comma-separated. You may use the `listWithLineBreaks()` method to display them on new lines instead:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('authors.name')
|
||||
->listWithLineBreaks()
|
||||
```
|
||||
|
||||
### Adding bullet points to the list
|
||||
|
||||
You may add a bullet point to each list item using the `bulleted()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('authors.name')
|
||||
->listWithLineBreaks()
|
||||
->bulleted()
|
||||
```
|
||||
|
||||
### Limiting the number of values in the list
|
||||
|
||||
You can limit the number of values in the list using the `limitList()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('authors.name')
|
||||
->listWithLineBreaks()
|
||||
->limitList(3)
|
||||
```
|
||||
|
||||
#### Expanding the limited list
|
||||
|
||||
You can allow the limited items to be expanded and collapsed, using the `expandableLimitedList()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('authors.name')
|
||||
->listWithLineBreaks()
|
||||
->limitList(3)
|
||||
->expandableLimitedList()
|
||||
```
|
||||
|
||||
Please note that this is only a feature for `listWithLineBreaks()` or `bulleted()`, where each item is on its own line.
|
||||
|
||||
### Using a list separator
|
||||
|
||||
If you want to "explode" a text string from your model into multiple list items, you can do so with the `separator()` method. This is useful for displaying comma-separated tags [as badges](#displaying-as-a-badge), for example:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('tags')
|
||||
->badge()
|
||||
->separator(',')
|
||||
```
|
||||
|
||||
## Rendering HTML
|
||||
|
||||
If your column value is HTML, you may render it using `html()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('description')
|
||||
->html()
|
||||
```
|
||||
|
||||
If you use this method, then the HTML will be sanitized to remove any potentially unsafe content before it is rendered. If you'd like to opt out of this behavior, you can wrap the HTML in an `HtmlString` object by formatting it:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Illuminate\Support\HtmlString;
|
||||
|
||||
TextColumn::make('description')
|
||||
->formatStateUsing(fn (string $state): HtmlString => new HtmlString($state))
|
||||
```
|
||||
|
||||
Or, you can return a `view()` object from the `formatStateUsing()` method, which will also not be sanitized:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Illuminate\Contracts\View\View;
|
||||
|
||||
TextColumn::make('description')
|
||||
->formatStateUsing(fn (string $state): View => view(
|
||||
'filament.tables.columns.description-entry-content',
|
||||
['state' => $state],
|
||||
))
|
||||
```
|
||||
|
||||
### Rendering Markdown as HTML
|
||||
|
||||
If your column contains Markdown, you may render it using `markdown()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('description')
|
||||
->markdown()
|
||||
```
|
||||
|
||||
## Custom formatting
|
||||
|
||||
You may instead pass a custom formatting callback to `formatStateUsing()`, which accepts the `$state` of the cell, and optionally its `$record`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('status')
|
||||
->formatStateUsing(fn (string $state): string => __("statuses.{$state}"))
|
||||
```
|
||||
|
||||
## Customizing the color
|
||||
|
||||
You may set a color for the text, either `danger`, `gray`, `info`, `primary`, `success` or `warning`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('status')
|
||||
->color('primary')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/color" alt="Text column in the primary color" version="3.x" />
|
||||
|
||||
## Adding an icon
|
||||
|
||||
Text columns may also have an icon:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/icon" alt="Text column with icon" version="3.x" />
|
||||
|
||||
You may set the position of an icon using `iconPosition()`:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\IconPosition;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope')
|
||||
->iconPosition(IconPosition::After) // `IconPosition::Before` or `IconPosition::After`
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/icon-after" alt="Text column with icon after" version="3.x" />
|
||||
|
||||
The icon color defaults to the text color, but you may customize the icon color separately using `iconColor()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope')
|
||||
->iconColor('primary')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/icon-color" alt="Text column with icon in the primary color" version="3.x" />
|
||||
|
||||
## Customizing the text size
|
||||
|
||||
Text columns have small font size by default, but you may change this to `TextColumnSize::ExtraSmall`, `TextColumnSize::Medium`, or `TextColumnSize::Large`.
|
||||
|
||||
For instance, you may make the text larger using `size(TextColumnSize::Large)`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->size(TextColumn\TextColumnSize::Large)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/large" alt="Text column in a large font size" version="3.x" />
|
||||
|
||||
## Customizing the font weight
|
||||
|
||||
Text columns have regular font weight by default, but you may change this to any of the following options: `FontWeight::Thin`, `FontWeight::ExtraLight`, `FontWeight::Light`, `FontWeight::Medium`, `FontWeight::SemiBold`, `FontWeight::Bold`, `FontWeight::ExtraBold` or `FontWeight::Black`.
|
||||
|
||||
For instance, you may make the font bold using `weight(FontWeight::Bold)`:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('title')
|
||||
->weight(FontWeight::Bold)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/bold" alt="Text column in a bold font" version="3.x" />
|
||||
|
||||
## Customizing the font family
|
||||
|
||||
You can change the text font family to any of the following options: `FontFamily::Sans`, `FontFamily::Serif` or `FontFamily::Mono`.
|
||||
|
||||
For instance, you may make the font mono using `fontFamily(FontFamily::Mono)`:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\FontFamily;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('email')
|
||||
->fontFamily(FontFamily::Mono)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/mono" alt="Text column in a monospaced font" version="3.x" />
|
||||
|
||||
## Allowing the text to be copied to the clipboard
|
||||
|
||||
You may make the text copyable, such that clicking on the cell copies the text to the clipboard, and optionally specify a custom confirmation message and duration in milliseconds. This feature only works when SSL is enabled for the app.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('email')
|
||||
->copyable()
|
||||
->copyMessage('Email address copied')
|
||||
->copyMessageDuration(1500)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text/copyable" alt="Text column with a button to copy it" version="3.x" />
|
||||
|
||||
### Customizing the text that is copied to the clipboard
|
||||
|
||||
You can customize the text that gets copied to the clipboard using the `copyableState()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('url')
|
||||
->copyable()
|
||||
->copyableState(fn (string $state): string => "URL: {$state}")
|
||||
```
|
||||
|
||||
In this function, you can access the whole table row with `$record`:
|
||||
|
||||
```php
|
||||
use App\Models\Post;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('url')
|
||||
->copyable()
|
||||
->copyableState(fn (Post $record): string => "URL: {$record->url}")
|
||||
```
|
||||
|
||||
## Displaying the row index
|
||||
|
||||
You may want a column to contain the number of the current row in the table:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Contracts\HasTable;
|
||||
|
||||
TextColumn::make('index')->state(
|
||||
static function (HasTable $livewire, stdClass $rowLoop): string {
|
||||
return (string) (
|
||||
$rowLoop->iteration +
|
||||
($livewire->getTableRecordsPerPage() * (
|
||||
$livewire->getTablePage() - 1
|
||||
))
|
||||
);
|
||||
}
|
||||
),
|
||||
```
|
||||
|
||||
As `$rowLoop` is [Laravel Blade's `$loop` object](https://laravel.com/docs/blade#the-loop-variable), you can reference all other `$loop` properties.
|
||||
|
||||
As a shortcut, you may use the `rowIndex()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('index')
|
||||
->rowIndex()
|
||||
```
|
||||
|
||||
To start counting from 0 instead of 1, use `isFromZero: true`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('index')
|
||||
->rowIndex(isFromZero: true)
|
||||
```
|
||||
115
vendor/filament/tables/docs/03-columns/03-icon.md
vendored
Normal file
115
vendor/filament/tables/docs/03-columns/03-icon.md
vendored
Normal file
@@ -0,0 +1,115 @@
|
||||
---
|
||||
title: Icon column
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
Icon columns render an [icon](https://blade-ui-kit.com/blade-icons?set=1#search) representing their contents:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
|
||||
IconColumn::make('status')
|
||||
->icon(fn (string $state): string => match ($state) {
|
||||
'draft' => 'heroicon-o-pencil',
|
||||
'reviewing' => 'heroicon-o-clock',
|
||||
'published' => 'heroicon-o-check-circle',
|
||||
})
|
||||
```
|
||||
|
||||
In the function, `$state` is the value of the column, and `$record` can be used to access the underlying Eloquent record.
|
||||
|
||||
<AutoScreenshot name="tables/columns/icon/simple" alt="Icon column" version="3.x" />
|
||||
|
||||
## Customizing the color
|
||||
|
||||
Icon columns may also have a set of icon colors, using the same syntax. They may be either `danger`, `gray`, `info`, `primary`, `success` or `warning`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
|
||||
IconColumn::make('status')
|
||||
->color(fn (string $state): string => match ($state) {
|
||||
'draft' => 'info',
|
||||
'reviewing' => 'warning',
|
||||
'published' => 'success',
|
||||
default => 'gray',
|
||||
})
|
||||
```
|
||||
|
||||
In the function, `$state` is the value of the column, and `$record` can be used to access the underlying Eloquent record.
|
||||
|
||||
<AutoScreenshot name="tables/columns/icon/color" alt="Icon column with color" version="3.x" />
|
||||
|
||||
## Customizing the size
|
||||
|
||||
The default icon size is `IconColumnSize::Large`, but you may customize the size to be either `IconColumnSize::ExtraSmall`, `IconColumnSize::Small`, `IconColumnSize::Medium`, `IconColumnSize::ExtraLarge` or `IconColumnSize::TwoExtraLarge`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
|
||||
IconColumn::make('status')
|
||||
->size(IconColumn\IconColumnSize::Medium)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/icon/medium" alt="Medium-sized icon column" version="3.x" />
|
||||
|
||||
## Handling booleans
|
||||
|
||||
Icon columns can display a check or cross icon based on the contents of the database column, either true or false, using the `boolean()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
|
||||
IconColumn::make('is_featured')
|
||||
->boolean()
|
||||
```
|
||||
|
||||
> If this column in the model class is already cast as a `bool` or `boolean`, Filament is able to detect this, and you do not need to use `boolean()` manually.
|
||||
|
||||
<AutoScreenshot name="tables/columns/icon/boolean" alt="Icon column to display a boolean" version="3.x" />
|
||||
|
||||
### Customizing the boolean icons
|
||||
|
||||
You may customize the icon representing each state. Icons are the name of a Blade component present. By default, [Heroicons](https://heroicons.com) are installed:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
|
||||
IconColumn::make('is_featured')
|
||||
->boolean()
|
||||
->trueIcon('heroicon-o-check-badge')
|
||||
->falseIcon('heroicon-o-x-mark')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/icon/boolean-icon" alt="Icon column to display a boolean with custom icons" version="3.x" />
|
||||
|
||||
### Customizing the boolean colors
|
||||
|
||||
You may customize the icon color representing each state. These may be either `danger`, `gray`, `info`, `primary`, `success` or `warning`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
|
||||
IconColumn::make('is_featured')
|
||||
->boolean()
|
||||
->trueColor('info')
|
||||
->falseColor('warning')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/icon/boolean-color" alt="Icon column to display a boolean with custom colors" version="3.x" />
|
||||
|
||||
## Wrapping multiple icons
|
||||
|
||||
When displaying multiple icons, they can be set to wrap if they can't fit on one line, using `wrap()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
|
||||
IconColumn::make('icon')
|
||||
->wrap()
|
||||
```
|
||||
|
||||
Note: the "width" for wrapping is affected by the column label, so you may need to use a shorter or hidden label to wrap more tightly.
|
||||
|
||||
239
vendor/filament/tables/docs/03-columns/04-image.md
vendored
Normal file
239
vendor/filament/tables/docs/03-columns/04-image.md
vendored
Normal file
@@ -0,0 +1,239 @@
|
||||
---
|
||||
title: Image column
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
Images can be easily displayed within your table:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('avatar')
|
||||
```
|
||||
|
||||
The column in the database must contain the path to the image, relative to the root directory of its storage disk.
|
||||
|
||||
<AutoScreenshot name="tables/columns/image/simple" alt="Image column" version="3.x" />
|
||||
|
||||
## Managing the image disk
|
||||
|
||||
By default, the `public` disk will be used to retrieve images. You may pass a custom disk name to the `disk()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('header_image')
|
||||
->disk('s3')
|
||||
```
|
||||
|
||||
## Private images
|
||||
|
||||
Filament can generate temporary URLs to render private images, you may set the `visibility()` to `private`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('header_image')
|
||||
->visibility('private')
|
||||
```
|
||||
|
||||
## Customizing the size
|
||||
|
||||
You may customize the image size by passing a `width()` and `height()`, or both with `size()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('header_image')
|
||||
->width(200)
|
||||
|
||||
ImageColumn::make('header_image')
|
||||
->height(50)
|
||||
|
||||
ImageColumn::make('author.avatar')
|
||||
->size(40)
|
||||
```
|
||||
|
||||
## Square image
|
||||
|
||||
You may display the image using a 1:1 aspect ratio:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('avatar')
|
||||
->square()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/image/square" alt="Square image column" version="3.x" />
|
||||
|
||||
## Circular image
|
||||
|
||||
You may make the image fully rounded, which is useful for rendering avatars:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('avatar')
|
||||
->circular()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/image/circular" alt="Circular image column" version="3.x" />
|
||||
|
||||
## Adding a default image URL
|
||||
|
||||
You can display a placeholder image if one doesn't exist yet, by passing a URL to the `defaultImageUrl()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('avatar')
|
||||
->defaultImageUrl(url('/images/placeholder.png'))
|
||||
```
|
||||
|
||||
## Stacking images
|
||||
|
||||
You may display multiple images as a stack of overlapping images by using `stacked()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('colleagues.avatar')
|
||||
->circular()
|
||||
->stacked()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/image/stacked" alt="Stacked image column" version="3.x" />
|
||||
|
||||
### Customizing the stacked ring width
|
||||
|
||||
The default ring width is `3`, but you may customize it to be from `0` to `8`:
|
||||
|
||||
```php
|
||||
ImageColumn::make('colleagues.avatar')
|
||||
->circular()
|
||||
->stacked()
|
||||
->ring(5)
|
||||
```
|
||||
|
||||
### Customizing the stacked overlap
|
||||
|
||||
The default overlap is `4`, but you may customize it to be from `0` to `8`:
|
||||
|
||||
```php
|
||||
ImageColumn::make('colleagues.avatar')
|
||||
->circular()
|
||||
->stacked()
|
||||
->overlap(2)
|
||||
```
|
||||
|
||||
## Wrapping multiple images
|
||||
|
||||
Images can be set to wrap if they can't fit on one line, by setting `wrap()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('colleagues.avatar')
|
||||
->circular()
|
||||
->stacked()
|
||||
->wrap()
|
||||
```
|
||||
|
||||
Note: the "width" for wrapping is affected by the column label, so you may need to use a shorter or hidden label to wrap more tightly.
|
||||
|
||||
## Setting a limit
|
||||
|
||||
You may limit the maximum number of images you want to display by passing `limit()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('colleagues.avatar')
|
||||
->circular()
|
||||
->stacked()
|
||||
->limit(3)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/image/limited" alt="Limited image column" version="3.x" />
|
||||
|
||||
### Showing the remaining images count
|
||||
|
||||
When you set a limit you may also display the count of remaining images by passing `limitedRemainingText()`.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('colleagues.avatar')
|
||||
->circular()
|
||||
->stacked()
|
||||
->limit(3)
|
||||
->limitedRemainingText()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/image/limited-remaining-text" alt="Limited image column with remaining text" version="3.x" />
|
||||
|
||||
#### Showing the limited remaining text separately
|
||||
|
||||
By default, `limitedRemainingText()` will display the count of remaining images as a number stacked on the other images. If you prefer to show the count as a number after the images, you may use the `isSeparate: true` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('colleagues.avatar')
|
||||
->circular()
|
||||
->stacked()
|
||||
->limit(3)
|
||||
->limitedRemainingText(isSeparate: true)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/image/limited-remaining-text-separately" alt="Limited image column with remaining text separately" version="3.x" />
|
||||
|
||||
#### Customizing the limited remaining text size
|
||||
|
||||
By default, the size of the remaining text is `sm`. You can customize this to be `xs`, `md` or `lg` using the `size` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('colleagues.avatar')
|
||||
->circular()
|
||||
->stacked()
|
||||
->limit(3)
|
||||
->limitedRemainingText(size: 'lg')
|
||||
```
|
||||
|
||||
## Custom attributes
|
||||
|
||||
You may customize the extra HTML attributes of the image using `extraImgAttributes()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('logo')
|
||||
->extraImgAttributes(['loading' => 'lazy']),
|
||||
```
|
||||
|
||||
You can access the current record using a `$record` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('logo')
|
||||
->extraImgAttributes(fn (Company $record): array => [
|
||||
'alt' => "{$record->name} logo",
|
||||
]),
|
||||
```
|
||||
|
||||
## Prevent file existence checks
|
||||
|
||||
When the table is loaded, it will automatically detect whether the images exist. This is all done on the backend. When using remote storage with many images, this can be time-consuming. You can use the `checkFileExistence(false)` method to disable this feature:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
|
||||
ImageColumn::make('attachment')
|
||||
->checkFileExistence(false)
|
||||
```
|
||||
68
vendor/filament/tables/docs/03-columns/05-color.md
vendored
Normal file
68
vendor/filament/tables/docs/03-columns/05-color.md
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
---
|
||||
title: Color column
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
The color column allows you to show the color preview from a CSS color definition, typically entered using the color picker field, in one of the supported formats (HEX, HSL, RGB, RGBA).
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ColorColumn;
|
||||
|
||||
ColorColumn::make('color')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/color/simple" alt="Color column" version="3.x" />
|
||||
|
||||
## Allowing the color to be copied to the clipboard
|
||||
|
||||
You may make the color copyable, such that clicking on the preview copies the CSS value to the clipboard, and optionally specify a custom confirmation message and duration in milliseconds. This feature only works when SSL is enabled for the app.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ColorColumn;
|
||||
|
||||
ColorColumn::make('color')
|
||||
->copyable()
|
||||
->copyMessage('Color code copied')
|
||||
->copyMessageDuration(1500)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/color/copyable" alt="Color column with a button to copy it" version="3.x" />
|
||||
|
||||
### Customizing the text that is copied to the clipboard
|
||||
|
||||
You can customize the text that gets copied to the clipboard using the `copyableState()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ColorColumn;
|
||||
|
||||
ColorColumn::make('color')
|
||||
->copyable()
|
||||
->copyableState(fn (string $state): string => "Color: {$state}")
|
||||
```
|
||||
|
||||
In this function, you can access the whole table row with `$record`:
|
||||
|
||||
```php
|
||||
use App\Models\Post;
|
||||
use Filament\Tables\Columns\ColorColumn;
|
||||
|
||||
ColorColumn::make('color')
|
||||
->copyable()
|
||||
->copyableState(fn (Post $record): string => "Color: {$record->color}")
|
||||
```
|
||||
|
||||
## Wrapping multiple color blocks
|
||||
|
||||
Color blocks can be set to wrap if they can't fit on one line, by setting `wrap()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ColorColumn;
|
||||
|
||||
ColorColumn::make('color')
|
||||
->wrap()
|
||||
```
|
||||
|
||||
Note: the "width" for wrapping is affected by the column label, so you may need to use a shorter or hidden label to wrap more tightly.
|
||||
|
||||
69
vendor/filament/tables/docs/03-columns/06-select.md
vendored
Normal file
69
vendor/filament/tables/docs/03-columns/06-select.md
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
---
|
||||
title: Select column
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
The select column allows you to render a select field inside the table, which can be used to update that database record without needing to open a new page or a modal.
|
||||
|
||||
You must pass options to the column:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\SelectColumn;
|
||||
|
||||
SelectColumn::make('status')
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
])
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/select/simple" alt="Select column" version="3.x" />
|
||||
|
||||
## Validation
|
||||
|
||||
You can validate the input by passing any [Laravel validation rules](https://laravel.com/docs/validation#available-validation-rules) in an array:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\SelectColumn;
|
||||
|
||||
SelectColumn::make('status')
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
])
|
||||
->rules(['required'])
|
||||
```
|
||||
|
||||
## Disabling placeholder selection
|
||||
|
||||
You can prevent the placeholder from being selected using the `selectablePlaceholder()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\SelectColumn;
|
||||
|
||||
SelectColumn::make('status')
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
])
|
||||
->selectablePlaceholder(false)
|
||||
```
|
||||
|
||||
## Lifecycle hooks
|
||||
|
||||
Hooks may be used to execute code at various points within the select's lifecycle:
|
||||
|
||||
```php
|
||||
SelectColumn::make()
|
||||
->beforeStateUpdated(function ($record, $state) {
|
||||
// Runs before the state is saved to the database.
|
||||
})
|
||||
->afterStateUpdated(function ($record, $state) {
|
||||
// Runs after the state is saved to the database.
|
||||
})
|
||||
```
|
||||
30
vendor/filament/tables/docs/03-columns/07-toggle.md
vendored
Normal file
30
vendor/filament/tables/docs/03-columns/07-toggle.md
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
title: Toggle column
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
The toggle column allows you to render a toggle button inside the table, which can be used to update that database record without needing to open a new page or a modal:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ToggleColumn;
|
||||
|
||||
ToggleColumn::make('is_admin')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/toggle/simple" alt="Toggle column" version="3.x" />
|
||||
|
||||
## Lifecycle hooks
|
||||
|
||||
Hooks may be used to execute code at various points within the toggle's lifecycle:
|
||||
|
||||
```php
|
||||
ToggleColumn::make()
|
||||
->beforeStateUpdated(function ($record, $state) {
|
||||
// Runs before the state is saved to the database.
|
||||
})
|
||||
->afterStateUpdated(function ($record, $state) {
|
||||
// Runs after the state is saved to the database.
|
||||
})
|
||||
```
|
||||
51
vendor/filament/tables/docs/03-columns/08-text-input.md
vendored
Normal file
51
vendor/filament/tables/docs/03-columns/08-text-input.md
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
---
|
||||
title: Text input column
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
The text input column allows you to render a text input inside the table, which can be used to update that database record without needing to open a new page or a modal:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextInputColumn;
|
||||
|
||||
TextInputColumn::make('email')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/text-input/simple" alt="Text input column" version="3.x" />
|
||||
|
||||
## Validation
|
||||
|
||||
You can validate the input by passing any [Laravel validation rules](https://laravel.com/docs/validation#available-validation-rules) in an array:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextInputColumn;
|
||||
|
||||
TextInputColumn::make('name')
|
||||
->rules(['required', 'max:255'])
|
||||
```
|
||||
|
||||
## Customizing the HTML input type
|
||||
|
||||
You may use the `type()` method to pass a custom [HTML input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types):
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextInputColumn;
|
||||
|
||||
TextInputColumn::make('background_color')->type('color')
|
||||
```
|
||||
|
||||
## Lifecycle hooks
|
||||
|
||||
Hooks may be used to execute code at various points within the input's lifecycle:
|
||||
|
||||
```php
|
||||
TextInputColumn::make()
|
||||
->beforeStateUpdated(function ($record, $state) {
|
||||
// Runs before the state is saved to the database.
|
||||
})
|
||||
->afterStateUpdated(function ($record, $state) {
|
||||
// Runs after the state is saved to the database.
|
||||
})
|
||||
```
|
||||
30
vendor/filament/tables/docs/03-columns/09-checkbox.md
vendored
Normal file
30
vendor/filament/tables/docs/03-columns/09-checkbox.md
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
title: Checkbox column
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
The checkbox column allows you to render a checkbox inside the table, which can be used to update that database record without needing to open a new page or a modal:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\CheckboxColumn;
|
||||
|
||||
CheckboxColumn::make('is_admin')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/columns/checkbox/simple" alt="Checkbox column" version="3.x" />
|
||||
|
||||
## Lifecycle hooks
|
||||
|
||||
Hooks may be used to execute code at various points within the checkbox's lifecycle:
|
||||
|
||||
```php
|
||||
CheckboxColumn::make()
|
||||
->beforeStateUpdated(function ($record, $state) {
|
||||
// Runs before the state is saved to the database.
|
||||
})
|
||||
->afterStateUpdated(function ($record, $state) {
|
||||
// Runs after the state is saved to the database.
|
||||
})
|
||||
```
|
||||
68
vendor/filament/tables/docs/03-columns/10-custom.md
vendored
Normal file
68
vendor/filament/tables/docs/03-columns/10-custom.md
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
---
|
||||
title: Custom columns
|
||||
---
|
||||
import LaracastsBanner from "@components/LaracastsBanner.astro"
|
||||
|
||||
<LaracastsBanner
|
||||
title="Build a Custom Table Column"
|
||||
description="Watch the Build Advanced Components for Filament series on Laracasts - it will teach you how to build components, and you'll get to know all the internal tools to help you."
|
||||
url="https://laracasts.com/series/build-advanced-components-for-filament/episodes/10"
|
||||
series="building-advanced-components"
|
||||
/>
|
||||
|
||||
## View columns
|
||||
|
||||
You may render a custom view for a cell using the `view()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\ViewColumn;
|
||||
|
||||
ViewColumn::make('status')->view('filament.tables.columns.status-switcher')
|
||||
```
|
||||
|
||||
This assumes that you have a `resources/views/filament/tables/columns/status-switcher.blade.php` file.
|
||||
|
||||
## Custom classes
|
||||
|
||||
You may create your own custom column classes and cell views, which you can reuse across your project, and even release as a plugin to the community.
|
||||
|
||||
> If you're just creating a simple custom column to use once, you could instead use a [view column](#view-columns) to render any custom Blade file.
|
||||
|
||||
To create a custom column class and view, you may use the following command:
|
||||
|
||||
```bash
|
||||
php artisan make:table-column StatusSwitcher
|
||||
```
|
||||
|
||||
This will create the following column class:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Column;
|
||||
|
||||
class StatusSwitcher extends Column
|
||||
{
|
||||
protected string $view = 'filament.tables.columns.status-switcher';
|
||||
}
|
||||
```
|
||||
|
||||
It will also create a view file at `resources/views/filament/tables/columns/status-switcher.blade.php`.
|
||||
|
||||
## Accessing the state
|
||||
|
||||
Inside your view, you may retrieve the state of the cell using the `$getState()` function:
|
||||
|
||||
```blade
|
||||
<div>
|
||||
{{ $getState() }}
|
||||
</div>
|
||||
```
|
||||
|
||||
## Accessing the Eloquent record
|
||||
|
||||
Inside your view, you may access the Eloquent record using the `$getRecord()` function:
|
||||
|
||||
```blade
|
||||
<div>
|
||||
{{ $getRecord()->name }}
|
||||
</div>
|
||||
```
|
||||
82
vendor/filament/tables/docs/03-columns/11-relationships.md
vendored
Normal file
82
vendor/filament/tables/docs/03-columns/11-relationships.md
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
---
|
||||
title: Column relationships
|
||||
---
|
||||
|
||||
## Displaying data from relationships
|
||||
|
||||
You may use "dot notation" to access columns within relationships. The name of the relationship comes first, followed by a period, followed by the name of the column to display:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('author.name')
|
||||
```
|
||||
|
||||
## Counting relationships
|
||||
|
||||
If you wish to count the number of related records in a column, you may use the `counts()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('users_count')->counts('users')
|
||||
```
|
||||
|
||||
In this example, `users` is the name of the relationship to count from. The name of the column must be `users_count`, as this is the convention that [Laravel uses](https://laravel.com/docs/eloquent-relationships#counting-related-models) for storing the result.
|
||||
|
||||
If you'd like to scope the relationship before calculating, you can pass an array to the method, where the key is the relationship name and the value is the function to scope the Eloquent query with:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
TextColumn::make('users_count')->counts([
|
||||
'users' => fn (Builder $query) => $query->where('is_active', true),
|
||||
])
|
||||
```
|
||||
|
||||
## Determining relationship existence
|
||||
|
||||
If you simply wish to indicate whether related records exist in a column, you may use the `exists()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('users_exists')->exists('users')
|
||||
```
|
||||
|
||||
In this example, `users` is the name of the relationship to check for existence. The name of the column must be `users_exists`, as this is the convention that [Laravel uses](https://laravel.com/docs/eloquent-relationships#other-aggregate-functions) for storing the result.
|
||||
|
||||
If you'd like to scope the relationship before calculating, you can pass an array to the method, where the key is the relationship name and the value is the function to scope the Eloquent query with:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
TextColumn::make('users_exists')->exists([
|
||||
'users' => fn (Builder $query) => $query->where('is_active', true),
|
||||
])
|
||||
```
|
||||
|
||||
## Aggregating relationships
|
||||
|
||||
Filament provides several methods for aggregating a relationship field, including `avg()`, `max()`, `min()` and `sum()`. For instance, if you wish to show the average of a field on all related records in a column, you may use the `avg()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('users_avg_age')->avg('users', 'age')
|
||||
```
|
||||
|
||||
In this example, `users` is the name of the relationship, while `age` is the field that is being averaged. The name of the column must be `users_avg_age`, as this is the convention that [Laravel uses](https://laravel.com/docs/eloquent-relationships#other-aggregate-functions) for storing the result.
|
||||
|
||||
If you'd like to scope the relationship before calculating, you can pass an array to the method, where the key is the relationship name and the value is the function to scope the Eloquent query with:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
TextColumn::make('users_avg_age')->avg([
|
||||
'users' => fn (Builder $query) => $query->where('is_active', true),
|
||||
], 'age')
|
||||
```
|
||||
123
vendor/filament/tables/docs/03-columns/12-advanced.md
vendored
Normal file
123
vendor/filament/tables/docs/03-columns/12-advanced.md
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
---
|
||||
title: Advanced columns
|
||||
---
|
||||
|
||||
## Table column utility injection
|
||||
|
||||
The vast majority of methods used to configure columns accept functions as parameters instead of hardcoded values:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('status')
|
||||
->color(fn (string $state): string => match ($state) {
|
||||
'draft' => 'gray',
|
||||
'reviewing' => 'warning',
|
||||
'published' => 'success',
|
||||
'rejected' => 'danger',
|
||||
})
|
||||
```
|
||||
|
||||
This alone unlocks many customization possibilities.
|
||||
|
||||
The package is also able to inject many utilities to use inside these functions, as parameters. All customization methods that accept functions as arguments can inject utilities.
|
||||
|
||||
These injected utilities require specific parameter names to be used. Otherwise, Filament doesn't know what to inject.
|
||||
|
||||
### Injecting the current state of a column
|
||||
|
||||
If you wish to access the current state (value) of the column, define a `$state` parameter:
|
||||
|
||||
```php
|
||||
function ($state) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
### Injecting the current Eloquent record
|
||||
|
||||
If you wish to access the current Eloquent record of the column, define a `$record` parameter:
|
||||
|
||||
```php
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
function (Model $record) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
Be aware that this parameter will be `null` if the column is not bound to an Eloquent record. For instance, the `label()` method of a column will not have access to the record, as the label is not related to any table row.
|
||||
|
||||
### Injecting the current column instance
|
||||
|
||||
If you wish to access the current column instance, define a `$column` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Column;
|
||||
|
||||
function (Column $column) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
### Injecting the current Livewire component instance
|
||||
|
||||
If you wish to access the current Livewire component instance that the table belongs to, define a `$livewire` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Contracts\HasTable;
|
||||
|
||||
function (HasTable $livewire) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
### Injecting the current table instance
|
||||
|
||||
If you wish to access the current table configuration instance that the column belongs to, define a `$table` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
function (Table $table) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
### Injecting the current table row loop
|
||||
|
||||
If you wish to access the current [Laravel Blade loop object](https://laravel.com/docs/blade#the-loop-variable) that the column is rendered part of, define a `$rowLoop` parameter:
|
||||
|
||||
```php
|
||||
function (stdClass $rowLoop) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
As `$rowLoop` is [Laravel Blade's `$loop` object](https://laravel.com/docs/blade#the-loop-variable), you can access the current row index using `$rowLoop->index`. Similar to `$record`, this parameter will be `null` if the column is currently being rendered outside a table row.
|
||||
|
||||
### Injecting multiple utilities
|
||||
|
||||
The parameters are injected dynamically using reflection, so you are able to combine multiple parameters in any order:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Contracts\HasTable;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
function (HasTable $livewire, Model $record) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
### Injecting dependencies from Laravel's container
|
||||
|
||||
You may inject anything from Laravel's container like normal, alongside utilities:
|
||||
|
||||
```php
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
function (Request $request, Model $record) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
310
vendor/filament/tables/docs/04-filters/01-getting-started.md
vendored
Normal file
310
vendor/filament/tables/docs/04-filters/01-getting-started.md
vendored
Normal file
@@ -0,0 +1,310 @@
|
||||
---
|
||||
title: Getting started
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
import LaracastsBanner from "@components/LaracastsBanner.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
<LaracastsBanner
|
||||
title="Table Filters"
|
||||
description="Watch the Rapid Laravel Development with Filament series on Laracasts - it will teach you the basics of adding filters to Filament resource tables."
|
||||
url="https://laracasts.com/series/rapid-laravel-development-with-filament/episodes/10"
|
||||
series="rapid-laravel-development"
|
||||
/>
|
||||
|
||||
Filters allow you to define certain constraints on your data, and allow users to scope it to find the information they need. You put them in the `$table->filters()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/filters/simple" alt="Table with filter" version="3.x" />
|
||||
|
||||
Filters may be created using the static `make()` method, passing its unique name. You should then pass a callback to `query()` which applies your filter's scope:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\Filter;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
Filter::make('is_featured')
|
||||
->query(fn (Builder $query): Builder => $query->where('is_featured', true))
|
||||
```
|
||||
|
||||
## Available filters
|
||||
|
||||
By default, using the `Filter::make()` method will render a checkbox form component. When the checkbox is on, the `query()` will be activated.
|
||||
|
||||
- You can also [replace the checkbox with a toggle](#using-a-toggle-button-instead-of-a-checkbox).
|
||||
- You can use a [ternary filter](ternary) to replace the checkbox with a select field to allow users to pick between 3 states - usually "true", "false" and "blank". This is useful for filtering boolean columns that are nullable.
|
||||
- The [trashed filter](ternary#filtering-soft-deletable-records) is a pre-built ternary filter that allows you to filter soft-deletable records.
|
||||
- You may use a [select filter](select) to allow users to select from a list of options, and filter using the selection.
|
||||
- You may use a [query builder](query-builder) to allow users to create complex sets of filters, with an advanced user interface for combining constraints.
|
||||
- You may build [custom filters](custom) with other form fields, to do whatever you want.
|
||||
|
||||
## Setting a label
|
||||
|
||||
By default, the label of the filter, which is displayed in the filter form, is generated from the name of the filter. You may customize this using the `label()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\Filter;
|
||||
|
||||
Filter::make('is_featured')
|
||||
->label('Featured')
|
||||
```
|
||||
|
||||
Optionally, you can have the label automatically translated [using Laravel's localization features](https://laravel.com/docs/localization) with the `translateLabel()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\Filter;
|
||||
|
||||
Filter::make('is_featured')
|
||||
->translateLabel() // Equivalent to `label(__('Is featured'))`
|
||||
```
|
||||
|
||||
## Customizing the filter form
|
||||
|
||||
By default, creating a filter with the `Filter` class will render a [checkbox form component](../../forms/fields/checkbox). When the checkbox is checked, the `query()` function will be applied to the table's query, scoping the records in the table. When the checkbox is unchecked, the `query()` function will be removed from the table's query.
|
||||
|
||||
Filters are built entirely on Filament's form fields. They can render any combination of form fields, which users can then interact with to filter the table.
|
||||
|
||||
### Using a toggle button instead of a checkbox
|
||||
|
||||
The simplest example of managing the form field that is used for a filter is to replace the [checkbox](../../forms/fields/checkbox) with a [toggle button](../../forms/fields/toggle), using the `toggle()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\Filter;
|
||||
|
||||
Filter::make('is_featured')
|
||||
->toggle()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/filters/toggle" alt="Table with toggle filter" version="3.x" />
|
||||
|
||||
### Applying the filter by default
|
||||
|
||||
You may set a filter to be enabled by default, using the `default()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\Filter;
|
||||
|
||||
Filter::make('is_featured')
|
||||
->default()
|
||||
```
|
||||
|
||||
### Customizing the built-in filter form field
|
||||
|
||||
Whether you are using a checkbox, a [toggle](#using-a-toggle-button-instead-of-a-checkbox) or a [select](select), you can customize the built-in form field used for the filter, using the `modifyFormFieldUsing()` method. The method accepts a function with a `$field` parameter that gives you access to the form field object to customize:
|
||||
|
||||
```php
|
||||
use Filament\Forms\Components\Checkbox;
|
||||
use Filament\Tables\Filters\Filter;
|
||||
|
||||
Filter::make('is_featured')
|
||||
->modifyFormFieldUsing(fn (Checkbox $field) => $field->inline(false))
|
||||
```
|
||||
|
||||
## Persist filters in session
|
||||
|
||||
To persist the table filters in the user's session, use the `persistFiltersInSession()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
])
|
||||
->persistFiltersInSession();
|
||||
}
|
||||
```
|
||||
|
||||
## Deferring filters
|
||||
|
||||
You can defer filter changes from affecting the table, until the user clicks an "Apply" button. To do this, use the `deferFilters()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
])
|
||||
->deferFilters();
|
||||
}
|
||||
```
|
||||
|
||||
### Customizing the apply filters action
|
||||
|
||||
When deferring filters, you can customize the "Apply" button, using the `filtersApplyAction()` method, passing a closure that returns an action. All methods that are available to [customize action trigger buttons](../../actions/trigger-button) can be used:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\Action;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
])
|
||||
->filtersApplyAction(
|
||||
fn (Action $action) => $action
|
||||
->link()
|
||||
->label('Save filters to table'),
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
## Deselecting records when filters change
|
||||
|
||||
By default, all records will be deselected when the filters change. Using the `deselectAllRecordsWhenFiltered(false)` method, you can disable this behavior:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
])
|
||||
->deselectAllRecordsWhenFiltered(false);
|
||||
}
|
||||
```
|
||||
|
||||
## Modifying the base query
|
||||
|
||||
By default, modifications to the Eloquent query performed in the `query()` method will be applied inside a scoped `where()` clause. This is to ensure that the query does not clash with any other filters that may be applied, especially those that use `orWhere()`.
|
||||
|
||||
However, the downside of this is that the `query()` method cannot be used to modify the query in other ways, such as removing global scopes, since the base query needs to be modified directly, not the scoped query.
|
||||
|
||||
To modify the base query directly, you may use the `baseQuery()` method, passing a closure that receives the base query:
|
||||
|
||||
```php
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\SoftDeletingScope;
|
||||
use Filament\Tables\Filters\TernaryFilter;
|
||||
|
||||
TernaryFilter::make('trashed')
|
||||
// ...
|
||||
->baseQuery(fn (Builder $query) => $query->withoutGlobalScopes([
|
||||
SoftDeletingScope::class,
|
||||
]))
|
||||
```
|
||||
|
||||
## Customizing the filters trigger action
|
||||
|
||||
To customize the filters trigger buttons, you may use the `filtersTriggerAction()` method, passing a closure that returns an action. All methods that are available to [customize action trigger buttons](../../actions/trigger-button) can be used:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\Action;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
])
|
||||
->filtersTriggerAction(
|
||||
fn (Action $action) => $action
|
||||
->button()
|
||||
->label('Filter'),
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/filters/custom-trigger-action" alt="Table with custom filters trigger action" version="3.x" />
|
||||
|
||||
## Table filter utility injection
|
||||
|
||||
The vast majority of methods used to configure filters accept functions as parameters instead of hardcoded values:
|
||||
|
||||
```php
|
||||
use App\Models\Author;
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
|
||||
SelectFilter::make('author')
|
||||
->options(fn (): array => Author::query()->pluck('name', 'id')->all())
|
||||
```
|
||||
|
||||
This alone unlocks many customization possibilities.
|
||||
|
||||
The package is also able to inject many utilities to use inside these functions, as parameters. All customization methods that accept functions as arguments can inject utilities.
|
||||
|
||||
These injected utilities require specific parameter names to be used. Otherwise, Filament doesn't know what to inject.
|
||||
|
||||
### Injecting the current filter instance
|
||||
|
||||
If you wish to access the current filter instance, define a `$filter` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\BaseFilter;
|
||||
|
||||
function (BaseFilter $filter) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
### Injecting the current Livewire component instance
|
||||
|
||||
If you wish to access the current Livewire component instance that the table belongs to, define a `$livewire` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Contracts\HasTable;
|
||||
|
||||
function (HasTable $livewire) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
### Injecting the current table instance
|
||||
|
||||
If you wish to access the current table configuration instance that the filter belongs to, define a `$table` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
function (Table $table) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
### Injecting multiple utilities
|
||||
|
||||
The parameters are injected dynamically using reflection, so you are able to combine multiple parameters in any order:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Contracts\HasTable;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
function (HasTable $livewire, Table $table) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
### Injecting dependencies from Laravel's container
|
||||
|
||||
You may inject anything from Laravel's container like normal, alongside utilities:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
function (Request $request, Table $table) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
119
vendor/filament/tables/docs/04-filters/02-select.md
vendored
Normal file
119
vendor/filament/tables/docs/04-filters/02-select.md
vendored
Normal file
@@ -0,0 +1,119 @@
|
||||
---
|
||||
title: Select filters
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
import LaracastsBanner from "@components/LaracastsBanner.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
Often, you will want to use a [select field](../../forms/fields/select) instead of a checkbox. This is especially true when you want to filter a column based on a set of pre-defined options that the user can choose from. To do this, you can create a filter using the `SelectFilter` class:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
|
||||
SelectFilter::make('status')
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
])
|
||||
```
|
||||
|
||||
The `options()` that are passed to the filter are the same as those that are passed to the [select field](../../forms/fields/select).
|
||||
|
||||
## Customizing the column used by a select filter
|
||||
|
||||
Select filters do not require a custom `query()` method. The column name used to scope the query is the name of the filter. To customize this, you may use the `attribute()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
|
||||
SelectFilter::make('status')
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
])
|
||||
->attribute('status_id')
|
||||
```
|
||||
|
||||
## Multi-select filters
|
||||
|
||||
These allow the user to select multiple options to apply the filter to their table. For example, a status filter may present the user with a few status options to pick from and filter the table using. When the user selects multiple options, the table will be filtered to show records that match any of the selected options. You can enable this behavior using the `multiple()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
|
||||
SelectFilter::make('status')
|
||||
->multiple()
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
])
|
||||
```
|
||||
|
||||
## Relationship select filters
|
||||
|
||||
Select filters are also able to automatically populate themselves based on a relationship. For example, if your table has a `author` relationship with a `name` column, you may use `relationship()` to filter the records belonging to an author:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
|
||||
SelectFilter::make('author')
|
||||
->relationship('author', 'name')
|
||||
```
|
||||
|
||||
### Preloading the select filter relationship options
|
||||
|
||||
If you'd like to populate the searchable options from the database when the page is loaded, instead of when the user searches, you can use the `preload()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
|
||||
SelectFilter::make('author')
|
||||
->relationship('author', 'name')
|
||||
->searchable()
|
||||
->preload()
|
||||
```
|
||||
|
||||
### Customizing the select filter relationship query
|
||||
|
||||
You may customize the database query that retrieves options using the third parameter of the `relationship()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
SelectFilter::make('author')
|
||||
->relationship('author', 'name', fn (Builder $query) => $query->withTrashed())
|
||||
```
|
||||
|
||||
### Searching select filter options
|
||||
|
||||
You may enable a search input to allow easier access to many options, using the `searchable()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
|
||||
SelectFilter::make('author')
|
||||
->relationship('author', 'name')
|
||||
->searchable()
|
||||
```
|
||||
|
||||
## Disable placeholder selection
|
||||
|
||||
You can remove the placeholder (null option), which disables the filter so all options are applied, using the `selectablePlaceholder()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
|
||||
SelectFilter::make('status')
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
])
|
||||
->default('draft')
|
||||
->selectablePlaceholder(false)
|
||||
```
|
||||
82
vendor/filament/tables/docs/04-filters/03-ternary.md
vendored
Normal file
82
vendor/filament/tables/docs/04-filters/03-ternary.md
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
---
|
||||
title: Ternary filters
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
Ternary filters allow you to easily create a select filter which has three states - usually true, false and blank. To filter a column named `is_admin` to be `true` or `false`, you may use the ternary filter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\TernaryFilter;
|
||||
|
||||
TernaryFilter::make('is_admin')
|
||||
```
|
||||
|
||||
## Using a ternary filter with a nullable column
|
||||
|
||||
Another common pattern is to use a nullable column. For example, when filtering verified and unverified users using the `email_verified_at` column, unverified users have a null timestamp in this column. To apply that logic, you may use the `nullable()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\TernaryFilter;
|
||||
|
||||
TernaryFilter::make('email_verified_at')
|
||||
->nullable()
|
||||
```
|
||||
|
||||
## Customizing the column used by a ternary filter
|
||||
|
||||
The column name used to scope the query is the name of the filter. To customize this, you may use the `attribute()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\TernaryFilter;
|
||||
|
||||
TernaryFilter::make('verified')
|
||||
->nullable()
|
||||
->attribute('status_id')
|
||||
```
|
||||
|
||||
## Customizing the ternary filter option labels
|
||||
|
||||
You may customize the labels used for each state of the ternary filter. The true option label can be customized using the `trueLabel()` method. The false option label can be customized using the `falseLabel()` method. The blank (default) option label can be customized using the `placeholder()` method:
|
||||
|
||||
```php
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Filament\Tables\Filters\TernaryFilter;
|
||||
|
||||
TernaryFilter::make('email_verified_at')
|
||||
->label('Email verification')
|
||||
->nullable()
|
||||
->placeholder('All users')
|
||||
->trueLabel('Verified users')
|
||||
->falseLabel('Not verified users')
|
||||
```
|
||||
|
||||
## Customizing how a ternary filter modifies the query
|
||||
|
||||
You may customize how the query changes for each state of the ternary filter, use the `queries()` method:
|
||||
|
||||
```php
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Filament\Tables\Filters\TernaryFilter;
|
||||
|
||||
TernaryFilter::make('email_verified_at')
|
||||
->label('Email verification')
|
||||
->placeholder('All users')
|
||||
->trueLabel('Verified users')
|
||||
->falseLabel('Not verified users')
|
||||
->queries(
|
||||
true: fn (Builder $query) => $query->whereNotNull('email_verified_at'),
|
||||
false: fn (Builder $query) => $query->whereNull('email_verified_at'),
|
||||
blank: fn (Builder $query) => $query, // In this example, we do not want to filter the query when it is blank.
|
||||
)
|
||||
```
|
||||
|
||||
## Filtering soft deletable records
|
||||
|
||||
The `TrashedFilter` can be used to filter soft deleted records. It is a type of ternary filter that is built-in to Filament. You can use it like so:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\TrashedFilter;
|
||||
|
||||
TrashedFilter::make()
|
||||
```
|
||||
495
vendor/filament/tables/docs/04-filters/04-query-builder.md
vendored
Normal file
495
vendor/filament/tables/docs/04-filters/04-query-builder.md
vendored
Normal file
@@ -0,0 +1,495 @@
|
||||
---
|
||||
title: Query builder
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
The query builder allows you to define a complex set of conditions to filter the data in your table. It is able to handle unlimited nesting of conditions, which you can group together with "and" and "or" operations.
|
||||
|
||||
To use it, you need to define a set of "constraints" that will be used to filter the data. Filament includes some built-in constraints, that follow common data types, but you can also define your own custom constraints.
|
||||
|
||||
You can add a query builder to any table using the `QueryBuilder` filter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\BooleanConstraint;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\DateConstraint;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\NumberConstraint;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\RelationshipConstraint;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\RelationshipConstraint\Operators\IsRelatedToOperator;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\SelectConstraint;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\TextConstraint;
|
||||
|
||||
QueryBuilder::make()
|
||||
->constraints([
|
||||
TextConstraint::make('name'),
|
||||
BooleanConstraint::make('is_visible'),
|
||||
NumberConstraint::make('stock'),
|
||||
SelectConstraint::make('status')
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
])
|
||||
->multiple(),
|
||||
DateConstraint::make('created_at'),
|
||||
RelationshipConstraint::make('categories')
|
||||
->multiple()
|
||||
->selectable(
|
||||
IsRelatedToOperator::make()
|
||||
->titleAttribute('name')
|
||||
->searchable()
|
||||
->multiple(),
|
||||
),
|
||||
NumberConstraint::make('reviewsRating')
|
||||
->relationship('reviews', 'rating')
|
||||
->integer(),
|
||||
])
|
||||
```
|
||||
|
||||
When deeply nesting the query builder, you might need to increase the amount of space that the filters can consume. One way of doing this is to [position the filters above the table content](layout#displaying-filters-above-the-table-content):
|
||||
|
||||
```php
|
||||
use Filament\Tables\Enums\FiltersLayout;
|
||||
use Filament\Tables\Filters\QueryBuilder;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
QueryBuilder::make()
|
||||
->constraints([
|
||||
// ...
|
||||
]),
|
||||
], layout: FiltersLayout::AboveContent);
|
||||
}
|
||||
```
|
||||
|
||||
## Available constraints
|
||||
|
||||
Filament ships with many different constraints that you can use out of the box. You can also [create your own custom constraints](#creating-custom-constraints):
|
||||
|
||||
- [Text constraint](#text-constraints)
|
||||
- [Boolean constraint](#boolean-constraints)
|
||||
- [Number constraint](#number-constraints)
|
||||
- [Date constraint](#date-constraints)
|
||||
- [Select constraint](#select-constraints)
|
||||
- [Relationship constraint](#relationship-constraints)
|
||||
|
||||
### Text constraints
|
||||
|
||||
Text constraints allow you to filter text fields. They can be used to filter any text field, including via relationships.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\TextConstraint;
|
||||
|
||||
TextConstraint::make('name') // Filter the `name` column
|
||||
|
||||
TextConstraint::make('creatorName')
|
||||
->relationship(name: 'creator', titleAttribute: 'name') // Filter the `name` column on the `creator` relationship
|
||||
```
|
||||
|
||||
By default, the following operators are available:
|
||||
|
||||
- Contains - filters a column to contain the search term
|
||||
- Does not contain - filters a column to not contain the search term
|
||||
- Starts with - filters a column to start with the search term
|
||||
- Does not start with - filters a column to not start with the search term
|
||||
- Ends with - filters a column to end with the search term
|
||||
- Does not end with - filters a column to not end with the search term
|
||||
- Equals - filters a column to equal the search term
|
||||
- Does not equal - filters a column to not equal the search term
|
||||
- Is filled - filters a column to not be empty
|
||||
- Is blank - filters a column to be empty
|
||||
|
||||
### Boolean constraints
|
||||
|
||||
Boolean constraints allow you to filter boolean fields. They can be used to filter any boolean field, including via relationships.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\BooleanConstraint;
|
||||
|
||||
BooleanConstraint::make('is_visible') // Filter the `is_visible` column
|
||||
|
||||
BooleanConstraint::make('creatorIsAdmin')
|
||||
->relationship(name: 'creator', titleAttribute: 'is_admin') // Filter the `is_admin` column on the `creator` relationship
|
||||
```
|
||||
|
||||
By default, the following operators are available:
|
||||
|
||||
- Is true - filters a column to be `true`
|
||||
- Is false - filters a column to be `false`
|
||||
|
||||
### Number constraints
|
||||
|
||||
Number constraints allow you to filter numeric fields. They can be used to filter any numeric field, including via relationships.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\NumberConstraint;
|
||||
|
||||
NumberConstraint::make('stock') // Filter the `stock` column
|
||||
|
||||
NumberConstraint::make('ordersItemCount')
|
||||
->relationship(name: 'orders', titleAttribute: 'item_count') // Filter the `item_count` column on the `orders` relationship
|
||||
```
|
||||
|
||||
By default, the following operators are available:
|
||||
|
||||
- Is minimum - filters a column to be greater than or equal to the search number
|
||||
- Is less than - filters a column to be less than the search number
|
||||
- Is maximum - filters a column to be less than or equal to the search number
|
||||
- Is greater than - filters a column to be greater than the search number
|
||||
- Equals - filters a column to equal the search number
|
||||
- Does not equal - filters a column to not equal the search number
|
||||
- Is filled - filters a column to not be empty
|
||||
- Is blank - filters a column to be empty
|
||||
|
||||
When using `relationship()` with a number constraint, users also have the ability to "aggregate" related records. This means that they can filter the column to be the sum, average, minimum or maximum of all the related records at once.
|
||||
|
||||
#### Integer constraints
|
||||
|
||||
By default, number constraints will allow decimal values. If you'd like to only allow integer values, you can use the `integer()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\NumberConstraint;
|
||||
|
||||
NumberConstraint::make('stock')
|
||||
->integer()
|
||||
```
|
||||
|
||||
### Date constraints
|
||||
|
||||
Date constraints allow you to filter date fields. They can be used to filter any date field, including via relationships.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\DateConstraint;
|
||||
|
||||
DateConstraint::make('created_at') // Filter the `created_at` column
|
||||
|
||||
DateConstraint::make('creatorCreatedAt')
|
||||
->relationship(name: 'creator', titleAttribute: 'created_at') // Filter the `created_at` column on the `creator` relationship
|
||||
```
|
||||
|
||||
By default, the following operators are available:
|
||||
|
||||
- Is after - filters a column to be after the search date
|
||||
- Is not after - filters a column to not be after the search date, or to be the same date
|
||||
- Is before - filters a column to be before the search date
|
||||
- Is not before - filters a column to not be before the search date, or to be the same date
|
||||
- Is date - filters a column to be the same date as the search date
|
||||
- Is not date - filters a column to not be the same date as the search date
|
||||
- Is month - filters a column to be in the same month as the selected month
|
||||
- Is not month - filters a column to not be in the same month as the selected month
|
||||
- Is year - filters a column to be in the same year as the searched year
|
||||
- Is not year - filters a column to not be in the same year as the searched year
|
||||
|
||||
### Select constraints
|
||||
|
||||
Select constraints allow you to filter fields using a select field. They can be used to filter any field, including via relationships.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\SelectConstraint;
|
||||
|
||||
SelectConstraint::make('status') // Filter the `status` column
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
])
|
||||
|
||||
SelectConstraint::make('creatorStatus')
|
||||
->relationship(name: 'creator', titleAttribute: 'department') // Filter the `department` column on the `creator` relationship
|
||||
->options([
|
||||
'sales' => 'Sales',
|
||||
'marketing' => 'Marketing',
|
||||
'engineering' => 'Engineering',
|
||||
'purchasing' => 'Purchasing',
|
||||
])
|
||||
```
|
||||
|
||||
#### Searchable select constraints
|
||||
|
||||
By default, select constraints will not allow the user to search the options. If you'd like to allow the user to search the options, you can use the `searchable()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\SelectConstraint;
|
||||
|
||||
SelectConstraint::make('status')
|
||||
->searchable()
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
])
|
||||
```
|
||||
|
||||
#### Multi-select constraints
|
||||
|
||||
By default, select constraints will only allow the user to select a single option. If you'd like to allow the user to select multiple options, you can use the `multiple()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\SelectConstraint;
|
||||
|
||||
SelectConstraint::make('status')
|
||||
->multiple()
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'reviewing' => 'Reviewing',
|
||||
'published' => 'Published',
|
||||
])
|
||||
```
|
||||
|
||||
When the user selects multiple options, the table will be filtered to show records that match any of the selected options.
|
||||
|
||||
### Relationship constraints
|
||||
|
||||
Relationship constraints allow you to filter fields using data about a relationship:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\RelationshipConstraint;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\RelationshipConstraint\Operators\IsRelatedToOperator;
|
||||
|
||||
RelationshipConstraint::make('creator') // Filter the `creator` relationship
|
||||
->selectable(
|
||||
IsRelatedToOperator::make()
|
||||
->titleAttribute('name')
|
||||
->searchable()
|
||||
->multiple(),
|
||||
)
|
||||
```
|
||||
|
||||
The `IsRelatedToOperator` is used to configure the "Is / Contains" and "Is not / Does not contain" operators. It provides a select field which allows the user to filter the relationship by which records are attached to it. The `titleAttribute()` method is used to specify which attribute should be used to identify each related record in the list. The `searchable()` method makes the list searchable. The `multiple()` method allows the user to select multiple related records, and if they do, the table will be filtered to show records that match any of the selected related records.
|
||||
|
||||
#### Multiple relationships
|
||||
|
||||
By default, relationship constraints only include operators that are appropriate for filtering a singular relationship, like a `BelongsTo`. If you have a relationship such as a `HasMany` or `BelongsToMany`, you may wish to mark the constraint as `multiple()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\RelationshipConstraint;
|
||||
|
||||
RelationshipConstraint::make('categories')
|
||||
->multiple()
|
||||
```
|
||||
|
||||
This will add the following operators to the constraint:
|
||||
|
||||
- Has minimum - filters a column to have at least the specified number of related records
|
||||
- Has less than - filters a column to have less than the specified number of related records
|
||||
- Has maximum - filters a column to have at most the specified number of related records
|
||||
- Has more than - filters a column to have more than the specified number of related records
|
||||
- Has - filters a column to have the specified number of related records
|
||||
- Does not have - filters a column to not have the specified number of related records
|
||||
|
||||
#### Empty relationship constraints
|
||||
|
||||
The `RelationshipConstraint` does not support [`nullable()`](#nullable-constraints) in the same way as other constraints.
|
||||
|
||||
If the relationship is `multiple()`, then the constraint will show an option to filter out "empty" relationships. This means that the relationship has no related records. If your relationship is singular, then you can use the `emptyable()` method to show an option to filter out "empty" relationships:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\RelationshipConstraint;
|
||||
|
||||
RelationshipConstraint::make('creator')
|
||||
->emptyable()
|
||||
```
|
||||
|
||||
If you have a `multiple()` relationship that must always have at least 1 related record, then you can use the `emptyable(false)` method to hide the option to filter out "empty" relationships:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\RelationshipConstraint;
|
||||
|
||||
RelationshipConstraint::make('categories')
|
||||
->emptyable(false)
|
||||
```
|
||||
|
||||
#### Nullable constraints
|
||||
|
||||
By default, constraints will not show an option to filter `null` values. If you'd like to show an option to filter `null` values, you can use the `nullable()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\TextConstraint;
|
||||
|
||||
TextConstraint::make('name')
|
||||
->nullable()
|
||||
```
|
||||
|
||||
Now, the following operators are also available:
|
||||
|
||||
- Is filled - filters a column to not be empty
|
||||
- Is blank - filters a column to be empty
|
||||
|
||||
## Scoping relationships
|
||||
|
||||
When you use the `relationship()` method on a constraint, you can scope the relationship to filter the related records using the `modifyQueryUsing` argument:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\TextConstraint;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
TextConstraint::make('adminCreatorName')
|
||||
->relationship(
|
||||
name: 'creator',
|
||||
titleAttribute: 'name',
|
||||
modifyQueryUsing: fn (Builder $query) => $query->where('is_admin', true),
|
||||
)
|
||||
```
|
||||
|
||||
## Customizing the constraint icon
|
||||
|
||||
Each constraint type has a default [icon](https://blade-ui-kit.com/blade-icons?set=1#search), which is displayed next to the label in the picker. You can customize the icon for a constraint by passing its name to the `icon()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\TextConstraint;
|
||||
|
||||
TextConstraint::make('author')
|
||||
->relationship(name: 'author', titleAttribute: 'name')
|
||||
->icon('heroicon-m-user')
|
||||
```
|
||||
|
||||
## Overriding the default operators
|
||||
|
||||
Each constraint type has a set of default operators, which you can customize by using the `operators()`method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\Operators\IsFilledOperator;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\TextConstraint;
|
||||
|
||||
TextConstraint::make('author')
|
||||
->relationship(name: 'author', titleAttribute: 'name')
|
||||
->operators([
|
||||
IsFilledOperator::make(),
|
||||
])
|
||||
```
|
||||
|
||||
This will remove all operators, and register the `EqualsOperator`.
|
||||
|
||||
If you'd like to add an operator to the end of the list, use `pushOperators()` instead:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\Operators\IsFilledOperator;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\TextConstraint;
|
||||
|
||||
TextConstraint::make('author')
|
||||
->relationship(name: 'author', titleAttribute: 'name')
|
||||
->pushOperators([
|
||||
IsFilledOperator::class,
|
||||
])
|
||||
```
|
||||
|
||||
If you'd like to add an operator to the start of the list, use `unshiftOperators()` instead:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\Operators\IsFilledOperator;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\TextConstraint;
|
||||
|
||||
TextConstraint::make('author')
|
||||
->relationship(name: 'author', titleAttribute: 'name')
|
||||
->unshiftOperators([
|
||||
IsFilledOperator::class,
|
||||
])
|
||||
```
|
||||
|
||||
## Creating custom constraints
|
||||
|
||||
Custom constraints can be created "inline" with other constraints using the `Constraint::make()` method. You should also pass an [icon](#customizing-the-constraint-icon) to the `icon()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\Constraint;
|
||||
|
||||
Constraint::make('subscribed')
|
||||
->icon('heroicon-m-bell')
|
||||
->operators([
|
||||
// ...
|
||||
]),
|
||||
```
|
||||
|
||||
If you want to customize the label of the constraint, you can use the `label()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\Constraint;
|
||||
|
||||
Constraint::make('subscribed')
|
||||
->label('Subscribed to updates')
|
||||
->icon('heroicon-m-bell')
|
||||
->operators([
|
||||
// ...
|
||||
]),
|
||||
```
|
||||
|
||||
Now, you must [define operators](#creating-custom-operators) for the constraint. These are options that you can pick from to filter the column. If the column is [nullable](#nullable-constraints), you can also register that built-in operator for your custom constraint:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\Constraint;
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\Operators\IsFilledOperator;
|
||||
|
||||
Constraint::make('subscribed')
|
||||
->label('Subscribed to updates')
|
||||
->icon('heroicon-m-bell')
|
||||
->operators([
|
||||
// ...
|
||||
IsFilledOperator::class,
|
||||
]),
|
||||
```
|
||||
|
||||
### Creating custom operators
|
||||
|
||||
Custom operators can be created using the `Operator::make()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder\Constraints\Operators\Operator;
|
||||
|
||||
Operator::make('subscribed')
|
||||
->label(fn (bool $isInverse): string => $isInverse ? 'Not subscribed' : 'Subscribed')
|
||||
->summary(fn (bool $isInverse): string => $isInverse ? 'You are not subscribed' : 'You are subscribed')
|
||||
->baseQuery(fn (Builder $query, bool $isInverse) => $query->{$isInverse ? 'whereDoesntHave' : 'whereHas'}(
|
||||
'subscriptions.user',
|
||||
fn (Builder $query) => $query->whereKey(auth()->user()),
|
||||
)),
|
||||
```
|
||||
|
||||
In this example, the operator is able to filter records based on whether or not the authenticated user is subscribed to the record. A subscription is recorded in the `subscriptions` relationship of the table.
|
||||
|
||||
The `baseQuery()` method is used to define the query that will be used to filter the records. The `$isInverse` argument is `false` when the "Subscribed" option is selected, and `true` when the "Not subscribed" option is selected. The function is applied to the base query of the table, where `whereHas()` can be used. If your function does not need to be applied to the base query of the table, like when you are using a simple `where()` or `whereIn()`, you can use the `query()` method instead, which has the bonus of being able to be used inside nested "OR" groups.
|
||||
|
||||
The `label()` method is used to render the options in the operator select. Two options are registered for each operator, one for when the operator is not inverted, and one for when it is inverted.
|
||||
|
||||
The `summary()` method is used in the header of the constraint when it is applied to the query, to provide an overview of the active constraint.
|
||||
|
||||
## Customizing the constraint picker
|
||||
|
||||
### Changing the number of columns in the constraint picker
|
||||
|
||||
The constraint picker has only 1 column. You may customize it by passing a number of columns to `constraintPickerColumns()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder;
|
||||
|
||||
QueryBuilder::make()
|
||||
->constraintPickerColumns(2)
|
||||
->constraints([
|
||||
// ...
|
||||
])
|
||||
```
|
||||
|
||||
This method can be used in a couple of different ways:
|
||||
|
||||
- You can pass an integer like `constraintPickerColumns(2)`. This integer is the number of columns used on the `lg` breakpoint and higher. All smaller devices will have just 1 column.
|
||||
- You can pass an array, where the key is the breakpoint and the value is the number of columns. For example, `constraintPickerColumns(['md' => 2, 'xl' => 4])` will create a 2 column layout on medium devices, and a 4 column layout on extra large devices. The default breakpoint for smaller devices uses 1 column, unless you use a `default` array key.
|
||||
|
||||
Breakpoints (`sm`, `md`, `lg`, `xl`, `2xl`) are defined by Tailwind, and can be found in the [Tailwind documentation](https://tailwindcss.com/docs/responsive-design#overview).
|
||||
|
||||
### Increasing the width of the constraint picker
|
||||
|
||||
When you [increase the number of columns](#changing-the-number-of-columns-in-the-constraint-picker), the width of the dropdown should increase incrementally to handle the additional columns. If you'd like more control, you can manually set a maximum width for the dropdown using the `constraintPickerWidth()` method. Options correspond to [Tailwind's max-width scale](https://tailwindcss.com/docs/max-width). The options are `xs`, `sm`, `md`, `lg`, `xl`, `2xl`, `3xl`, `4xl`, `5xl`, `6xl`, `7xl`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\QueryBuilder;
|
||||
|
||||
QueryBuilder::make()
|
||||
->constraintPickerColumns(3)
|
||||
->constraintPickerWidth('2xl')
|
||||
->constraints([
|
||||
// ...
|
||||
])
|
||||
```
|
||||
145
vendor/filament/tables/docs/04-filters/05-custom.md
vendored
Normal file
145
vendor/filament/tables/docs/04-filters/05-custom.md
vendored
Normal file
@@ -0,0 +1,145 @@
|
||||
---
|
||||
title: Custom filters
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
import LaracastsBanner from "@components/LaracastsBanner.astro"
|
||||
|
||||
## Custom filter forms
|
||||
|
||||
<LaracastsBanner
|
||||
title="Build a Custom Table Filter"
|
||||
description="Watch the Build Advanced Components for Filament series on Laracasts - it will teach you how to build components, and you'll get to know all the internal tools to help you."
|
||||
url="https://laracasts.com/series/build-advanced-components-for-filament/episodes/11"
|
||||
series="building-advanced-components"
|
||||
/>
|
||||
|
||||
You may use components from the [Form Builder](../../forms/fields/getting-started) to create custom filter forms. The data from the custom filter form is available in the `$data` array of the `query()` callback:
|
||||
|
||||
```php
|
||||
use Filament\Forms\Components\DatePicker;
|
||||
use Filament\Tables\Filters\Filter;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
Filter::make('created_at')
|
||||
->form([
|
||||
DatePicker::make('created_from'),
|
||||
DatePicker::make('created_until'),
|
||||
])
|
||||
->query(function (Builder $query, array $data): Builder {
|
||||
return $query
|
||||
->when(
|
||||
$data['created_from'],
|
||||
fn (Builder $query, $date): Builder => $query->whereDate('created_at', '>=', $date),
|
||||
)
|
||||
->when(
|
||||
$data['created_until'],
|
||||
fn (Builder $query, $date): Builder => $query->whereDate('created_at', '<=', $date),
|
||||
);
|
||||
})
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/filters/custom-form" alt="Table with custom filter form" version="3.x" />
|
||||
|
||||
### Setting default values for custom filter fields
|
||||
|
||||
To customize the default value of a field in a custom filter form, you may use the `default()` method:
|
||||
|
||||
```php
|
||||
use Filament\Forms\Components\DatePicker;
|
||||
use Filament\Tables\Filters\Filter;
|
||||
|
||||
Filter::make('created_at')
|
||||
->form([
|
||||
DatePicker::make('created_from'),
|
||||
DatePicker::make('created_until')
|
||||
->default(now()),
|
||||
])
|
||||
```
|
||||
|
||||
## Active indicators
|
||||
|
||||
When a filter is active, an indicator is displayed above the table content to signal that the table query has been scoped.
|
||||
|
||||
<AutoScreenshot name="tables/filters/indicators" alt="Table with filter indicators" version="3.x" />
|
||||
|
||||
By default, the label of the filter is used as the indicator. You can override this using the `indicator()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Filters\Filter;
|
||||
|
||||
Filter::make('is_admin')
|
||||
->label('Administrators only?')
|
||||
->indicator('Administrators')
|
||||
```
|
||||
|
||||
If you are using a [custom filter form](#custom-filter-forms), you should use [`indicateUsing()`](#custom-active-indicators) to display an active indicator.
|
||||
|
||||
Please note: if you do not have an indicator for your filter, then the badge-count of how many filters are active in the table will not include that filter.
|
||||
|
||||
### Custom active indicators
|
||||
|
||||
Not all indicators are simple, so you may need to use `indicateUsing()` to customize which indicators should be shown at any time.
|
||||
|
||||
For example, if you have a custom date filter, you may create a custom indicator that formats the selected date:
|
||||
|
||||
```php
|
||||
use Carbon\Carbon;
|
||||
use Filament\Forms\Components\DatePicker;
|
||||
use Filament\Tables\Filters\Filter;
|
||||
|
||||
Filter::make('created_at')
|
||||
->form([DatePicker::make('date')])
|
||||
// ...
|
||||
->indicateUsing(function (array $data): ?string {
|
||||
if (! $data['date']) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return 'Created at ' . Carbon::parse($data['date'])->toFormattedDateString();
|
||||
})
|
||||
```
|
||||
|
||||
### Multiple active indicators
|
||||
|
||||
You may even render multiple indicators at once, by returning an array of `Indicator` objects. If you have different fields associated with different indicators, you should set the field using the `removeField()` method on the `Indicator` object to ensure that the correct field is reset when the filter is removed:
|
||||
|
||||
```php
|
||||
use Carbon\Carbon;
|
||||
use Filament\Forms\Components\DatePicker;
|
||||
use Filament\Tables\Filters\Filter;
|
||||
use Filament\Tables\Filters\Indicator;
|
||||
|
||||
Filter::make('created_at')
|
||||
->form([
|
||||
DatePicker::make('from'),
|
||||
DatePicker::make('until'),
|
||||
])
|
||||
// ...
|
||||
->indicateUsing(function (array $data): array {
|
||||
$indicators = [];
|
||||
|
||||
if ($data['from'] ?? null) {
|
||||
$indicators[] = Indicator::make('Created from ' . Carbon::parse($data['from'])->toFormattedDateString())
|
||||
->removeField('from');
|
||||
}
|
||||
|
||||
if ($data['until'] ?? null) {
|
||||
$indicators[] = Indicator::make('Created until ' . Carbon::parse($data['until'])->toFormattedDateString())
|
||||
->removeField('until');
|
||||
}
|
||||
|
||||
return $indicators;
|
||||
})
|
||||
```
|
||||
|
||||
### Preventing indicators from being removed
|
||||
|
||||
You can prevent users from removing an indicator using `removable(false)` on an `Indicator` object:
|
||||
|
||||
```php
|
||||
use Carbon\Carbon;
|
||||
use Filament\Tables\Filters\Indicator;
|
||||
|
||||
Indicator::make('Created from ' . Carbon::parse($data['from'])->toFormattedDateString())
|
||||
->removable(false)
|
||||
```
|
||||
180
vendor/filament/tables/docs/04-filters/06-layout.md
vendored
Normal file
180
vendor/filament/tables/docs/04-filters/06-layout.md
vendored
Normal file
@@ -0,0 +1,180 @@
|
||||
---
|
||||
title: Filter layout
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Positioning filters into grid columns
|
||||
|
||||
To change the number of columns that filters may occupy, you may use the `filtersFormColumns()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
])
|
||||
->filtersFormColumns(3);
|
||||
}
|
||||
```
|
||||
|
||||
## Controlling the width of the filters dropdown
|
||||
|
||||
To customize the dropdown width, you may use the `filtersFormWidth()` method, and specify a width - `ExtraSmall`, `Small`, `Medium`, `Large`, `ExtraLarge`, `TwoExtraLarge`, `ThreeExtraLarge`, `FourExtraLarge`, `FiveExtraLarge`, `SixExtraLarge` or `SevenExtraLarge`. By default, the width is `ExtraSmall`:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\MaxWidth;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
])
|
||||
->filtersFormWidth(MaxWidth::FourExtraLarge);
|
||||
}
|
||||
```
|
||||
|
||||
## Controlling the maximum height of the filters dropdown
|
||||
|
||||
To add a maximum height to the filters' dropdown content, so that they scroll, you may use the `filtersFormMaxHeight()` method, passing a [CSS length](https://developer.mozilla.org/en-US/docs/Web/CSS/length):
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
])
|
||||
->filtersFormMaxHeight('400px');
|
||||
}
|
||||
```
|
||||
|
||||
## Displaying filters in a modal
|
||||
|
||||
To render the filters in a modal instead of in a dropdown, you may use:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Enums\FiltersLayout;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
], layout: FiltersLayout::Modal);
|
||||
}
|
||||
```
|
||||
|
||||
You may use the [trigger action API](getting-started#customizing-the-filters-trigger-action) to [customize the modal](../actions/modals), including [using a `slideOver()`](../actions/modals#using-a-slide-over-instead-of-a-modal).
|
||||
|
||||
## Displaying filters above the table content
|
||||
|
||||
To render the filters above the table content instead of in a dropdown, you may use:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Enums\FiltersLayout;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
], layout: FiltersLayout::AboveContent);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/filters/above-content" alt="Table with filters above content" version="3.x" />
|
||||
|
||||
### Allowing filters above the table content to be collapsed
|
||||
|
||||
To allow the filters above the table content to be collapsed, you may use:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Enums\FiltersLayout;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
], layout: FiltersLayout::AboveContentCollapsible);
|
||||
}
|
||||
```
|
||||
|
||||
## Displaying filters below the table content
|
||||
|
||||
To render the filters below the table content instead of in a dropdown, you may use:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Enums\FiltersLayout;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
], layout: FiltersLayout::BelowContent);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/filters/below-content" alt="Table with filters below content" version="3.x" />
|
||||
|
||||
## Hiding the filter indicators
|
||||
|
||||
To hide the active filters indicators above the table, you may use `hiddenFilterIndicators()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
// ...
|
||||
])
|
||||
->hiddenFilterIndicators();
|
||||
}
|
||||
```
|
||||
|
||||
## Customizing the filter form schema
|
||||
|
||||
You may customize the [form schema](../../forms/layout) of the entire filter form at once, in order to rearrange filters into your desired layout, and use any of the [layout components](../../forms/layout) available to forms. To do this, use the `filterFormSchema()` method, passing a closure function that receives the array of defined `$filters` that you can insert:
|
||||
|
||||
```php
|
||||
use Filament\Forms\Components\Section;
|
||||
use Filament\Tables\Filters\Filter;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->filters([
|
||||
Filter::make('is_featured'),
|
||||
Filter::make('published_at'),
|
||||
Filter::make('author'),
|
||||
])
|
||||
->filtersFormColumns(2)
|
||||
->filtersFormSchema(fn (array $filters): array => [
|
||||
Section::make('Visibility')
|
||||
->description('These filters affect the visibility of the records in the table.')
|
||||
->schema([
|
||||
$filters['is_featured'],
|
||||
$filters['published_at'],
|
||||
])
|
||||
->columns(2)
|
||||
->columnSpanFull(),
|
||||
$filters['author'],
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
In this example, we have put two of the filters inside a [section](../../forms/layout/section) component, and used the `columns()` method to specify that the section should have two columns. We have also used the `columnSpanFull()` method to specify that the section should span the full width of the filter form, which is also 2 columns wide. We have inserted each filter into the form schema by using the filter's name as the key in the `$filters` array.
|
||||
457
vendor/filament/tables/docs/05-actions.md
vendored
Normal file
457
vendor/filament/tables/docs/05-actions.md
vendored
Normal file
@@ -0,0 +1,457 @@
|
||||
---
|
||||
title: Actions
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
import LaracastsBanner from "@components/LaracastsBanner.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
<LaracastsBanner
|
||||
title="Table Actions"
|
||||
description="Watch the Rapid Laravel Development with Filament series on Laracasts - it will teach you the basics of adding actions to Filament resource tables."
|
||||
url="https://laracasts.com/series/rapid-laravel-development-with-filament/episodes/11"
|
||||
series="rapid-laravel-development"
|
||||
/>
|
||||
|
||||
Filament's tables can use [Actions](../actions). They are buttons that can be added to the [end of any table row](#row-actions), or even in the [header](#header-actions) of a table. For instance, you may want an action to "create" a new record in the header, and then "edit" and "delete" actions on each row. [Bulk actions](#bulk-actions) can be used to execute code when records in the table are selected. Additionally, actions can be added to any [table column](#column-actions), such that each cell in that column is a trigger for your action.
|
||||
|
||||
It's highly advised that you read the documentation about [customizing action trigger buttons](../actions/trigger-button) and [action modals](../actions/modals) to that you are aware of the full capabilities of actions.
|
||||
|
||||
## Row actions
|
||||
|
||||
Action buttons can be rendered at the end of each table row. You can put them in the `$table->actions()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->actions([
|
||||
// ...
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
Actions may be created using the static `make()` method, passing its unique name.
|
||||
|
||||
You can then pass a function to `action()` which executes the task, or a function to `url()` which creates a link:
|
||||
|
||||
```php
|
||||
use App\Models\Post;
|
||||
use Filament\Tables\Actions\Action;
|
||||
|
||||
Action::make('edit')
|
||||
->url(fn (Post $record): string => route('posts.edit', $record))
|
||||
->openUrlInNewTab()
|
||||
|
||||
Action::make('delete')
|
||||
->requiresConfirmation()
|
||||
->action(fn (Post $record) => $record->delete())
|
||||
```
|
||||
|
||||
All methods on the action accept callback functions, where you can access the current table `$record` that was clicked.
|
||||
|
||||
<AutoScreenshot name="tables/actions/simple" alt="Table with actions" version="3.x" />
|
||||
|
||||
### Positioning row actions before columns
|
||||
|
||||
By default, the row actions in your table are rendered in the final cell of each row. You may move them before the columns by using the `position` argument:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Enums\ActionsPosition;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->actions([
|
||||
// ...
|
||||
], position: ActionsPosition::BeforeColumns);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/actions/before-columns" alt="Table with actions before columns" version="3.x" />
|
||||
|
||||
### Positioning row actions before the checkbox column
|
||||
|
||||
By default, the row actions in your table are rendered in the final cell of each row. You may move them before the checkbox column by using the `position` argument:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Enums\ActionsPosition;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->actions([
|
||||
// ...
|
||||
], position: ActionsPosition::BeforeCells);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/actions/before-cells" alt="Table with actions before cells" version="3.x" />
|
||||
|
||||
### Accessing the selected table rows
|
||||
|
||||
You may want an action to be able to access all the selected rows in the table. Usually, this is done with a [bulk action](#bulk-actions) in the header of the table. However, you may want to do this with a row action, where the selected rows provide context for the action.
|
||||
|
||||
For example, you may want to have a row action that copies the row data to all the selected records. To force the table to be selectable, even if there aren't bulk actions defined, you need to use the `selectable()` method. To allow the action to access the selected records, you need to use the `accessSelectedRecords()` method. Then, you can use the `$selectedRecords` parameter in your action to access the selected records:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
use Filament\Tables\Actions\Action;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->selectable()
|
||||
->actions([
|
||||
Action::make('copyToSelected')
|
||||
->accessSelectedRecords()
|
||||
->action(function (Model $record, Collection $selectedRecords) {
|
||||
$selectedRecords->each(
|
||||
fn (Model $selectedRecord) => $selectedRecord->update([
|
||||
'is_active' => $record->is_active,
|
||||
]),
|
||||
);
|
||||
}),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
## Bulk actions
|
||||
|
||||
Tables also support "bulk actions". These can be used when the user selects rows in the table. Traditionally, when rows are selected, a "bulk actions" button appears in the top left corner of the table. When the user clicks this button, they are presented with a dropdown menu of actions to choose from. You can put them in the `$table->bulkActions()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->bulkActions([
|
||||
// ...
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
Bulk actions may be created using the static `make()` method, passing its unique name. You should then pass a callback to `action()` which executes the task:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\BulkAction;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
|
||||
BulkAction::make('delete')
|
||||
->requiresConfirmation()
|
||||
->action(fn (Collection $records) => $records->each->delete())
|
||||
```
|
||||
|
||||
The function allows you to access the current table `$records` that are selected. It is an Eloquent collection of models.
|
||||
|
||||
<AutoScreenshot name="tables/actions/bulk" alt="Table with bulk action" version="3.x" />
|
||||
|
||||
### Grouping bulk actions
|
||||
|
||||
You may use a `BulkActionGroup` object to [group multiple bulk actions together](../actions/grouping-actions) in a dropdown. Any bulk actions that remain outside the `BulkActionGroup` will be rendered next to the dropdown's trigger button:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\BulkAction;
|
||||
use Filament\Tables\Actions\BulkActionGroup;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->bulkActions([
|
||||
BulkActionGroup::make([
|
||||
BulkAction::make('delete')
|
||||
->requiresConfirmation()
|
||||
->action(fn (Collection $records) => $records->each->delete()),
|
||||
BulkAction::make('forceDelete')
|
||||
->requiresConfirmation()
|
||||
->action(fn (Collection $records) => $records->each->forceDelete()),
|
||||
]),
|
||||
BulkAction::make('export')->button()->action(fn (Collection $records) => ...),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
Alternatively, if all of your bulk actions are grouped, you can use the shorthand `groupedBulkActions()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\BulkAction;
|
||||
use Filament\Tables\Actions\BulkActionGroup;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groupedBulkActions([
|
||||
BulkAction::make('delete')
|
||||
->requiresConfirmation()
|
||||
->action(fn (Collection $records) => $records->each->delete()),
|
||||
BulkAction::make('forceDelete')
|
||||
->requiresConfirmation()
|
||||
->action(fn (Collection $records) => $records->each->forceDelete()),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
### Deselecting records once a bulk action has finished
|
||||
|
||||
You may deselect the records after a bulk action has been executed using the `deselectRecordsAfterCompletion()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\BulkAction;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
|
||||
BulkAction::make('delete')
|
||||
->action(fn (Collection $records) => $records->each->delete())
|
||||
->deselectRecordsAfterCompletion()
|
||||
```
|
||||
|
||||
### Disabling bulk actions for some rows
|
||||
|
||||
You may conditionally disable bulk actions for a specific record:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->bulkActions([
|
||||
// ...
|
||||
])
|
||||
->checkIfRecordIsSelectableUsing(
|
||||
fn (Model $record): bool => $record->status === Status::Enabled,
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
### Preventing bulk-selection of all pages
|
||||
|
||||
The `selectCurrentPageOnly()` method can be used to prevent the user from easily bulk-selecting all records in the table at once, and instead only allows them to select one page at a time:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->bulkActions([
|
||||
// ...
|
||||
])
|
||||
->selectCurrentPageOnly();
|
||||
}
|
||||
```
|
||||
|
||||
## Header actions
|
||||
|
||||
Both [row actions](#row-actions) and [bulk actions](#bulk-actions) can be rendered in the header of the table. You can put them in the `$table->headerActions()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->headerActions([
|
||||
// ...
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
This is useful for things like "create" actions, which are not related to any specific table row, or bulk actions that need to be more visible.
|
||||
|
||||
<AutoScreenshot name="tables/actions/header" alt="Table with header actions" version="3.x" />
|
||||
|
||||
## Column actions
|
||||
|
||||
Actions can be added to columns, such that when a cell in that column is clicked, it acts as the trigger for an action. You can learn more about [column actions](columns/getting-started#running-actions) in the documentation.
|
||||
|
||||
## Prebuilt table actions
|
||||
|
||||
Filament includes several prebuilt actions and bulk actions that you can add to a table. Their aim is to simplify the most common Eloquent-related actions:
|
||||
|
||||
- [Create](../actions/prebuilt-actions/create)
|
||||
- [Edit](../actions/prebuilt-actions/edit)
|
||||
- [View](../actions/prebuilt-actions/view)
|
||||
- [Delete](../actions/prebuilt-actions/delete)
|
||||
- [Replicate](../actions/prebuilt-actions/replicate)
|
||||
- [Force-delete](../actions/prebuilt-actions/force-delete)
|
||||
- [Restore](../actions/prebuilt-actions/restore)
|
||||
- [Import](../actions/prebuilt-actions/import)
|
||||
- [Export](../actions/prebuilt-actions/export)
|
||||
|
||||
## Grouping actions
|
||||
|
||||
You may use an `ActionGroup` object to group multiple table actions together in a dropdown:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\ActionGroup;
|
||||
use Filament\Tables\Actions\DeleteAction;
|
||||
use Filament\Tables\Actions\EditAction;
|
||||
use Filament\Tables\Actions\ViewAction;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->actions([
|
||||
ActionGroup::make([
|
||||
ViewAction::make(),
|
||||
EditAction::make(),
|
||||
DeleteAction::make(),
|
||||
]),
|
||||
// ...
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/actions/group" alt="Table with action group" version="3.x" />
|
||||
|
||||
### Choosing an action group button style
|
||||
|
||||
Out of the box, action group triggers have 3 styles - "button", "link", and "icon button".
|
||||
|
||||
"Icon button" triggers are circular buttons with an [icon](#setting-the-action-group-button-icon) and no label. Usually, this is the default button style, but you can use it manually with the `iconButton()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\ActionGroup;
|
||||
|
||||
ActionGroup::make([
|
||||
// ...
|
||||
])->iconButton()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/actions/group-icon-button" alt="Table with icon button action group" version="3.x" />
|
||||
|
||||
"Button" triggers have a background color, label, and optionally an [icon](#setting-the-action-group-button-icon). You can switch to that style with the `button()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\ActionGroup;
|
||||
|
||||
ActionGroup::make([
|
||||
// ...
|
||||
])
|
||||
->button()
|
||||
->label('Actions')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/actions/group-button" alt="Table with button action group" version="3.x" />
|
||||
|
||||
"Link" triggers have no background color. They must have a label and optionally an [icon](#setting-the-action-group-button-icon). They look like a link that you might find embedded within text. You can switch to that style with the `link()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\ActionGroup;
|
||||
|
||||
ActionGroup::make([
|
||||
// ...
|
||||
])
|
||||
->link()
|
||||
->label('Actions')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/actions/group-link" alt="Table with link action group" version="3.x" />
|
||||
|
||||
### Setting the action group button icon
|
||||
|
||||
You may set the [icon](https://blade-ui-kit.com/blade-icons?set=1#search) of the action group button using the `icon()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\ActionGroup;
|
||||
|
||||
ActionGroup::make([
|
||||
// ...
|
||||
])->icon('heroicon-m-ellipsis-horizontal');
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/actions/group-icon" alt="Table with customized action group icon" version="3.x" />
|
||||
|
||||
### Setting the action group button color
|
||||
|
||||
You may set the color of the action group button using the `color()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\ActionGroup;
|
||||
|
||||
ActionGroup::make([
|
||||
// ...
|
||||
])->color('info');
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/actions/group-color" alt="Table with customized action group color" version="3.x" />
|
||||
|
||||
### Setting the action group button size
|
||||
|
||||
Buttons come in 3 sizes - `sm`, `md` or `lg`. You may set the size of the action group button using the `size()` method:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\ActionSize;
|
||||
use Filament\Tables\Actions\ActionGroup;
|
||||
|
||||
ActionGroup::make([
|
||||
// ...
|
||||
])->size(ActionSize::Small);
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/actions/group-small" alt="Table with small action group" version="3.x" />
|
||||
|
||||
### Setting the action group tooltip
|
||||
|
||||
You may set the tooltip of the action group using the `tooltip()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\ActionGroup;
|
||||
|
||||
ActionGroup::make([
|
||||
// ...
|
||||
])->tooltip('Actions');
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/actions/group-tooltip" alt="Table with action group tooltip" version="3.x" />
|
||||
|
||||
## Table action utility injection
|
||||
|
||||
All actions, not just table actions, have access to [many utilities](../actions/advanced#action-utility-injection) within the vast majority of configuration methods. However, in addition to those, table actions have access to a few more:
|
||||
|
||||
### Injecting the current Eloquent record
|
||||
|
||||
If you wish to access the current Eloquent record of the action, define a `$record` parameter:
|
||||
|
||||
```php
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
function (Model $record) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
Be aware that bulk actions, header actions, and empty state actions do not have access to the `$record`, as they are not related to any table row.
|
||||
|
||||
### Injecting the current Eloquent model class
|
||||
|
||||
If you wish to access the current Eloquent model class of the table, define a `$model` parameter:
|
||||
|
||||
```php
|
||||
function (string $model) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
### Injecting the current table instance
|
||||
|
||||
If you wish to access the current table configuration instance that the action belongs to, define a `$table` parameter:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
function (Table $table) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
468
vendor/filament/tables/docs/06-layout.md
vendored
Normal file
468
vendor/filament/tables/docs/06-layout.md
vendored
Normal file
@@ -0,0 +1,468 @@
|
||||
---
|
||||
title: Layout
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## The problem with traditional table layouts
|
||||
|
||||
Traditional tables are notorious for having bad responsiveness. On mobile, there is only so much flexibility you have when rendering content that is horizontally long:
|
||||
|
||||
- Allow the user to scroll horizontally to see more table content
|
||||
- Hide non-important columns on smaller devices
|
||||
|
||||
Both of these are possible with Filament. Tables automatically scroll horizontally when they overflow anyway, and you may choose to show and hide columns based on the responsive [breakpoint](https://tailwindcss.com/docs/responsive-design#overview) of the browser. To do this, you may use a `visibleFrom()` or `hiddenFrom()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('slug')
|
||||
->visibleFrom('md')
|
||||
```
|
||||
|
||||
This is fine, but there is still a glaring issue - **on mobile, the user is unable to see much information in a table row at once without scrolling**.
|
||||
|
||||
Thankfully, Filament lets you build responsive table-like interfaces, without touching HTML or CSS. These layouts let you define exactly where content appears in a table row, at each responsive breakpoint.
|
||||
|
||||
<AutoScreenshot name="tables/layout/demo" alt="Table with responsive layout" version="3.x" />
|
||||
|
||||
<AutoScreenshot name="tables/layout/demo/mobile" alt="Table with responsive layout on mobile" version="3.x" />
|
||||
|
||||
## Allowing columns to stack on mobile
|
||||
|
||||
Let's introduce a component - `Split`:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\Layout\Split;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
Split::make([
|
||||
ImageColumn::make('avatar')
|
||||
->circular(),
|
||||
TextColumn::make('name')
|
||||
->weight(FontWeight::Bold)
|
||||
->searchable()
|
||||
->sortable(),
|
||||
TextColumn::make('email'),
|
||||
])
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/layout/split" alt="Table with a split layout" version="3.x" />
|
||||
|
||||
<AutoScreenshot name="tables/layout/split/mobile" alt="Table with a split layout on mobile" version="3.x" />
|
||||
|
||||
A `Split` component is used to wrap around columns, and allow them to stack on mobile.
|
||||
|
||||
By default, columns within a split will appear aside each other all the time. However, you may choose a responsive [breakpoint](https://tailwindcss.com/docs/responsive-design#overview) where this behavior starts `from()`. Before this point, the columns will stack on top of each other:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\Layout\Split;
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
Split::make([
|
||||
ImageColumn::make('avatar')
|
||||
->circular(),
|
||||
TextColumn::make('name')
|
||||
->weight(FontWeight::Bold)
|
||||
->searchable()
|
||||
->sortable(),
|
||||
TextColumn::make('email'),
|
||||
])->from('md')
|
||||
```
|
||||
|
||||
In this example, the columns will only appear horizontally aside each other from `md` [breakpoint](https://tailwindcss.com/docs/responsive-design#overview) devices onwards:
|
||||
|
||||
<AutoScreenshot name="tables/layout/split-desktop" alt="Table with a split layout on desktop" version="3.x" />
|
||||
|
||||
<AutoScreenshot name="tables/layout/split-desktop/mobile" alt="Table with a stacked layout on mobile" version="3.x" />
|
||||
|
||||
### Preventing a column from creating whitespace
|
||||
|
||||
Splits, like table columns, will automatically adjust their whitespace to ensure that each column has proportionate separation. You can prevent this from happening, using `grow(false)`. In this example, we will make sure that the avatar image will sit tightly against the name column:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\Layout\Split;
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
Split::make([
|
||||
ImageColumn::make('avatar')
|
||||
->circular()
|
||||
->grow(false),
|
||||
TextColumn::make('name')
|
||||
->weight(FontWeight::Bold)
|
||||
->searchable()
|
||||
->sortable(),
|
||||
TextColumn::make('email'),
|
||||
])
|
||||
```
|
||||
|
||||
The other columns which are allowed to `grow()` will adjust to consume the newly-freed space:
|
||||
|
||||
<AutoScreenshot name="tables/layout/grow-disabled" alt="Table with a column that doesn't grow" version="3.x" />
|
||||
|
||||
<AutoScreenshot name="tables/layout/grow-disabled/mobile" alt="Table with a column that doesn't grow on mobile" version="3.x" />
|
||||
|
||||
### Stacking within a split
|
||||
|
||||
Inside a split, you may stack multiple columns on top of each other vertically. This allows you to display more data inside fewer columns on desktop:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\Layout\Split;
|
||||
use Filament\Tables\Columns\Layout\Stack;
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
Split::make([
|
||||
ImageColumn::make('avatar')
|
||||
->circular(),
|
||||
TextColumn::make('name')
|
||||
->weight(FontWeight::Bold)
|
||||
->searchable()
|
||||
->sortable(),
|
||||
Stack::make([
|
||||
TextColumn::make('phone')
|
||||
->icon('heroicon-m-phone'),
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope'),
|
||||
]),
|
||||
])
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/layout/stack" alt="Table with a stack" version="3.x" />
|
||||
|
||||
<AutoScreenshot name="tables/layout/stack/mobile" alt="Table with a stack on mobile" version="3.x" />
|
||||
|
||||
#### Hiding a stack on mobile
|
||||
|
||||
Similar to individual columns, you may choose to hide a stack based on the responsive [breakpoint](https://tailwindcss.com/docs/responsive-design#overview) of the browser. To do this, you may use a `visibleFrom()` method:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\Layout\Split;
|
||||
use Filament\Tables\Columns\Layout\Stack;
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
Split::make([
|
||||
ImageColumn::make('avatar')
|
||||
->circular(),
|
||||
TextColumn::make('name')
|
||||
->weight(FontWeight::Bold)
|
||||
->searchable()
|
||||
->sortable(),
|
||||
Stack::make([
|
||||
TextColumn::make('phone')
|
||||
->icon('heroicon-m-phone'),
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope'),
|
||||
])->visibleFrom('md'),
|
||||
])
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/layout/stack-hidden-on-mobile" alt="Table with a stack" version="3.x" />
|
||||
|
||||
<AutoScreenshot name="tables/layout/stack-hidden-on-mobile/mobile" alt="Table with no stack on mobile" version="3.x" />
|
||||
|
||||
#### Aligning stacked content
|
||||
|
||||
By default, columns within a stack are aligned to the start. You may choose to align columns within a stack to the `Alignment::Center` or `Alignment::End`:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\Alignment;
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\Layout\Split;
|
||||
use Filament\Tables\Columns\Layout\Stack;
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
Split::make([
|
||||
ImageColumn::make('avatar')
|
||||
->circular(),
|
||||
TextColumn::make('name')
|
||||
->weight(FontWeight::Bold)
|
||||
->searchable()
|
||||
->sortable(),
|
||||
Stack::make([
|
||||
TextColumn::make('phone')
|
||||
->icon('heroicon-m-phone')
|
||||
->grow(false),
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope')
|
||||
->grow(false),
|
||||
])
|
||||
->alignment(Alignment::End)
|
||||
->visibleFrom('md'),
|
||||
])
|
||||
```
|
||||
|
||||
Ensure that the columns within the stack have `grow(false)` set, otherwise they will stretch to fill the entire width of the stack and follow their own alignment configuration instead of the stack's.
|
||||
|
||||
<AutoScreenshot name="tables/layout/stack-aligned-right" alt="Table with a stack aligned right" version="3.x" />
|
||||
|
||||
#### Spacing stacked content
|
||||
|
||||
By default, stacked content has no vertical padding between columns. To add some, you may use the `space()` method, which accepts either `1`, `2`, or `3`, corresponding to [Tailwind's spacing scale](https://tailwindcss.com/docs/space):
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Layout\Stack;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
Stack::make([
|
||||
TextColumn::make('phone')
|
||||
->icon('heroicon-m-phone'),
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope'),
|
||||
])->space(1)
|
||||
```
|
||||
|
||||
## Controlling column width using a grid
|
||||
|
||||
Sometimes, using a `Split` creates inconsistent widths when columns contain lots of content. This is because it's powered by Flexbox internally and each row individually controls how much space is allocated to content.
|
||||
|
||||
Instead, you may use a `Grid` layout, which uses CSS Grid Layout to allow you to control column widths:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Layout\Grid;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
Grid::make([
|
||||
'lg' => 2,
|
||||
])
|
||||
->schema([
|
||||
TextColumn::make('phone')
|
||||
->icon('heroicon-m-phone'),
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope'),
|
||||
])
|
||||
```
|
||||
|
||||
These columns will always consume equal width within the grid, from the `lg` [breakpoint](https://tailwindcss.com/docs/responsive-design#overview).
|
||||
|
||||
You may choose to customize the number of columns within the grid at other breakpoints:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Layout\Grid;
|
||||
use Filament\Tables\Columns\Layout\Stack;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
Grid::make([
|
||||
'lg' => 2,
|
||||
'2xl' => 4,
|
||||
])
|
||||
->schema([
|
||||
Stack::make([
|
||||
TextColumn::make('name'),
|
||||
TextColumn::make('job'),
|
||||
]),
|
||||
TextColumn::make('phone')
|
||||
->icon('heroicon-m-phone'),
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope'),
|
||||
])
|
||||
```
|
||||
|
||||
And you can even control how many grid columns will be consumed by each component at each [breakpoint](https://tailwindcss.com/docs/responsive-design#overview):
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Layout\Grid;
|
||||
use Filament\Tables\Columns\Layout\Stack;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
Grid::make([
|
||||
'lg' => 2,
|
||||
'2xl' => 5,
|
||||
])
|
||||
->schema([
|
||||
Stack::make([
|
||||
TextColumn::make('name'),
|
||||
TextColumn::make('job'),
|
||||
])->columnSpan([
|
||||
'lg' => 'full',
|
||||
'2xl' => 2,
|
||||
]),
|
||||
TextColumn::make('phone')
|
||||
->icon('heroicon-m-phone')
|
||||
->columnSpan([
|
||||
'2xl' => 2,
|
||||
]),
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope'),
|
||||
])
|
||||
```
|
||||
|
||||
## Collapsible content
|
||||
|
||||
When you're using a column layout like split or stack, then you can also add collapsible content. This is very useful for when you don't want to display all data in the table at once, but still want it to be accessible to the user if they need to access it, without navigating away.
|
||||
|
||||
Split and stack components can be made `collapsible()`, but there is also a dedicated `Panel` component that provides a pre-styled background color and border radius, to separate the collapsible content from the rest:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\Layout\Panel;
|
||||
use Filament\Tables\Columns\Layout\Split;
|
||||
use Filament\Tables\Columns\Layout\Stack;
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
[
|
||||
Split::make([
|
||||
ImageColumn::make('avatar')
|
||||
->circular(),
|
||||
TextColumn::make('name')
|
||||
->weight(FontWeight::Bold)
|
||||
->searchable()
|
||||
->sortable(),
|
||||
]),
|
||||
Panel::make([
|
||||
Stack::make([
|
||||
TextColumn::make('phone')
|
||||
->icon('heroicon-m-phone'),
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope'),
|
||||
]),
|
||||
])->collapsible(),
|
||||
]
|
||||
```
|
||||
|
||||
You can expand a panel by default using the `collapsed(false)` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Layout\Panel;
|
||||
use Filament\Tables\Columns\Layout\Split;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
Panel::make([
|
||||
Split::make([
|
||||
TextColumn::make('phone')
|
||||
->icon('heroicon-m-phone'),
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope'),
|
||||
])->from('md'),
|
||||
])->collapsed(false)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/layout/collapsible" alt="Table with collapsible content" version="3.x" />
|
||||
|
||||
<AutoScreenshot name="tables/layout/collapsible/mobile" alt="Table with collapsible content on mobile" version="3.x" />
|
||||
|
||||
## Arranging records into a grid
|
||||
|
||||
Sometimes, you may find that your data fits into a grid format better than a list. Filament can handle that too!
|
||||
|
||||
Simply use the `$table->contentGrid()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Layout\Stack;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
Stack::make([
|
||||
// Columns
|
||||
]),
|
||||
])
|
||||
->contentGrid([
|
||||
'md' => 2,
|
||||
'xl' => 3,
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
In this example, the rows will be displayed in a grid:
|
||||
|
||||
- On mobile, they will be displayed in 1 column only.
|
||||
- From the `md` [breakpoint](https://tailwindcss.com/docs/responsive-design#overview), they will be displayed in 2 columns.
|
||||
- From the `xl` [breakpoint](https://tailwindcss.com/docs/responsive-design#overview) onwards, they will be displayed in 3 columns.
|
||||
|
||||
These settings are fully customizable, any [breakpoint](https://tailwindcss.com/docs/responsive-design#overview) from `sm` to `2xl` can contain `1` to `12` columns.
|
||||
|
||||
<AutoScreenshot name="tables/layout/grid" alt="Table with grid layout" version="3.x" />
|
||||
|
||||
<AutoScreenshot name="tables/layout/grid/mobile" alt="Table with grid layout on mobile" version="3.x" />
|
||||
|
||||
## Custom HTML
|
||||
|
||||
You may add custom HTML to your table using a `View` component. It can even be `collapsible()`:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\Layout\Split;
|
||||
use Filament\Tables\Columns\Layout\View;
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
[
|
||||
Split::make([
|
||||
ImageColumn::make('avatar')
|
||||
->circular(),
|
||||
TextColumn::make('name')
|
||||
->weight(FontWeight::Bold)
|
||||
->searchable()
|
||||
->sortable(),
|
||||
]),
|
||||
View::make('users.table.collapsible-row-content')
|
||||
->collapsible(),
|
||||
]
|
||||
```
|
||||
|
||||
Now, create a `/resources/views/users/table/collapsible-row-content.blade.php` file, and add in your HTML. You can access the table record using `$getRecord()`:
|
||||
|
||||
```blade
|
||||
<p class="px-4 py-3 bg-gray-100 rounded-lg">
|
||||
<span class="font-medium">
|
||||
Email address:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
{{ $getRecord()->email }}
|
||||
</span>
|
||||
</p>
|
||||
```
|
||||
|
||||
### Embedding other components
|
||||
|
||||
You could even pass in columns or other layout components to the `components()` method:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\Layout\Split;
|
||||
use Filament\Tables\Columns\Layout\View;
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
[
|
||||
Split::make([
|
||||
ImageColumn::make('avatar')
|
||||
->circular(),
|
||||
TextColumn::make('name')
|
||||
->weight(FontWeight::Bold)
|
||||
->searchable()
|
||||
->sortable(),
|
||||
]),
|
||||
View::make('users.table.collapsible-row-content')
|
||||
->components([
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope'),
|
||||
])
|
||||
->collapsible(),
|
||||
]
|
||||
```
|
||||
|
||||
Now, render the components in the Blade file:
|
||||
|
||||
```blade
|
||||
<div class="px-4 py-3 bg-gray-100 rounded-lg">
|
||||
<x-filament-tables::columns.layout
|
||||
:components="$getComponents()"
|
||||
:record="$getRecord()"
|
||||
:record-key="$recordKey"
|
||||
/>
|
||||
</div>
|
||||
```
|
||||
360
vendor/filament/tables/docs/07-summaries.md
vendored
Normal file
360
vendor/filament/tables/docs/07-summaries.md
vendored
Normal file
@@ -0,0 +1,360 @@
|
||||
---
|
||||
title: Summaries
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
You may render a "summary" section below your table content. This is great for displaying the results of calculations such as averages, sums, counts, and ranges of the data in your table.
|
||||
|
||||
By default, there will be a single summary line for the current page of data, and an additional summary line for the totals for all data if multiple pages are available. You may also add summaries for [groups](grouping) of records, see ["Summarising groups of rows"](#summarising-groups-of-rows).
|
||||
|
||||
"Summarizer" objects can be added to any [table column](columns) using the `summarize()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Average;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('rating')
|
||||
->summarize(Average::make())
|
||||
```
|
||||
|
||||
Multiple "summarizers" may be added to the same column:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Average;
|
||||
use Filament\Tables\Columns\Summarizers\Range;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('rating')
|
||||
->numeric()
|
||||
->summarize([
|
||||
Average::make(),
|
||||
Range::make(),
|
||||
])
|
||||
```
|
||||
|
||||
> The first column in a table may not use summarizers. That column is used to render the heading and subheading/s of the summary section.
|
||||
|
||||
<AutoScreenshot name="tables/summaries" alt="Table with summaries" version="3.x" />
|
||||
|
||||
## Available summarizers
|
||||
|
||||
Filament ships with four types of summarizer:
|
||||
|
||||
- [Average](#average)
|
||||
- [Count](#count)
|
||||
- [Range](#range)
|
||||
- [Sum](#sum)
|
||||
|
||||
You may also [create your own custom summarizers](#custom-summaries) to display data in whatever way you wish.
|
||||
|
||||
## Average
|
||||
|
||||
Average can be used to calculate the average of all values in the dataset:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Average;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('rating')
|
||||
->summarize(Average::make())
|
||||
```
|
||||
|
||||
In this example, all ratings in the table will be added together and divided by the number of ratings.
|
||||
|
||||
## Count
|
||||
|
||||
Count can be used to find the total number of values in the dataset. Unless you just want to calculate the number of rows, you will probably want to [scope the dataset](#scoping-the-dataset) as well:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\Summarizers\Count;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
IconColumn::make('is_published')
|
||||
->boolean()
|
||||
->summarize(
|
||||
Count::make()->query(fn (Builder $query) => $query->where('is_published', true)),
|
||||
),
|
||||
```
|
||||
|
||||
In this example, the table will calculate how many posts are published.
|
||||
|
||||
### Counting the occurrence of icons
|
||||
|
||||
Using a count on an [icon column](columns/icon) allows you to use the `icons()` method, which gives the user a visual representation of how many of each icon are in the table:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\Summarizers\Count;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
IconColumn::make('is_published')
|
||||
->boolean()
|
||||
->summarize(Count::make()->icons()),
|
||||
```
|
||||
|
||||
## Range
|
||||
|
||||
Range can be used to calculate the minimum and maximum value in the dataset:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Range;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('price')
|
||||
->summarize(Range::make())
|
||||
```
|
||||
|
||||
In this example, the minimum and maximum price in the table will be found.
|
||||
|
||||
### Date range
|
||||
|
||||
You may format the range as dates using the `minimalDateTimeDifference()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Range;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('created_at')
|
||||
->dateTime()
|
||||
->summarize(Range::make()->minimalDateTimeDifference())
|
||||
```
|
||||
|
||||
This method will present the minimal difference between the minimum and maximum date. For example:
|
||||
|
||||
- If the minimum and maximum dates are different days, only the dates will be displayed.
|
||||
- If the minimum and maximum dates are on the same day at different times, both the date and time will be displayed.
|
||||
- If the minimum and maximum dates and times are identical, they will only appear once.
|
||||
|
||||
### Text range
|
||||
|
||||
You may format the range as text using the `minimalTextualDifference()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Range;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('sku')
|
||||
->summarize(Range::make()->minimalTextualDifference())
|
||||
```
|
||||
|
||||
This method will present the minimal difference between the minimum and maximum. For example:
|
||||
|
||||
- If the minimum and maximum start with different letters, only the first letters will be displayed.
|
||||
- If the minimum and maximum start with the same letter, more of the text will be rendered until a difference is found.
|
||||
- If the minimum and maximum are identical, they will only appear once.
|
||||
|
||||
### Including null values in the range
|
||||
|
||||
By default, we will exclude null values from the range. If you would like to include them, you may use the `excludeNull(false)` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Range;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('sku')
|
||||
->summarize(Range::make()->excludeNull(false))
|
||||
```
|
||||
|
||||
## Sum
|
||||
|
||||
Sum can be used to calculate the total of all values in the dataset:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Sum;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('price')
|
||||
->summarize(Sum::make())
|
||||
```
|
||||
|
||||
In this example, all prices in the table will be added together.
|
||||
|
||||
## Setting a label
|
||||
|
||||
You may set a summarizer's label using the `label()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Sum;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('price')
|
||||
->summarize(Sum::make()->label('Total'))
|
||||
```
|
||||
|
||||
## Scoping the dataset
|
||||
|
||||
You may apply a database query scope to a summarizer's dataset using the `query()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Average;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
TextColumn::make('rating')
|
||||
->summarize(
|
||||
Average::make()->query(fn (Builder $query) => $query->where('is_published', true)),
|
||||
),
|
||||
```
|
||||
|
||||
In this example, now only rows where `is_published` is set to `true` will be used to calculate the average.
|
||||
|
||||
This feature is especially useful with the [count](#count) summarizer, as it can count how many records in the dataset pass a test:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\Summarizers\Count;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
IconColumn::make('is_published')
|
||||
->boolean()
|
||||
->summarize(
|
||||
Count::make()->query(fn (Builder $query) => $query->where('is_published', true)),
|
||||
),
|
||||
```
|
||||
|
||||
In this example, the table will calculate how many posts are published.
|
||||
|
||||
## Formatting
|
||||
|
||||
### Number formatting
|
||||
|
||||
The `numeric()` method allows you to format an entry as a number:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Average;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('rating')
|
||||
->summarize(Average::make()->numeric())
|
||||
```
|
||||
|
||||
If you would like to customize the number of decimal places used to format the number with, you can use the `decimalPlaces` argument:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Average;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('rating')
|
||||
->summarize(Average::make()->numeric(
|
||||
decimalPlaces: 0,
|
||||
))
|
||||
```
|
||||
|
||||
By default, your app's locale will be used to format the number suitably. If you would like to customize the locale used, you can pass it to the `locale` argument:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Average;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('rating')
|
||||
->summarize(Average::make()->numeric(
|
||||
locale: 'nl',
|
||||
))
|
||||
```
|
||||
|
||||
Alternatively, you can set the default locale used across your app using the `Number::useLocale()` method in the `boot()` method of a service provider:
|
||||
|
||||
```php
|
||||
use Illuminate\Support\Number;
|
||||
|
||||
Number::useLocale('nl');
|
||||
```
|
||||
|
||||
### Currency formatting
|
||||
|
||||
The `money()` method allows you to easily format monetary values, in any currency:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Sum;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('price')
|
||||
->summarize(Sum::make()->money('EUR'))
|
||||
```
|
||||
|
||||
There is also a `divideBy` argument for `money()` that allows you to divide the original value by a number before formatting it. This could be useful if your database stores the price in cents, for example:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Sum;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('price')
|
||||
->summarize(Sum::make()->money('EUR', divideBy: 100))
|
||||
```
|
||||
|
||||
By default, your app's locale will be used to format the money suitably. If you would like to customize the locale used, you can pass it to the `locale` argument:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Average;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('price')
|
||||
->summarize(Sum::make()->money('EUR', locale: 'nl'))
|
||||
```
|
||||
|
||||
Alternatively, you can set the default locale used across your app using the `Number::useLocale()` method in the `boot()` method of a service provider:
|
||||
|
||||
```php
|
||||
use Illuminate\Support\Number;
|
||||
|
||||
Number::useLocale('nl');
|
||||
```
|
||||
|
||||
### Limiting text length
|
||||
|
||||
You may `limit()` the length of the summary's value:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Range;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('sku')
|
||||
->summarize(Range::make()->limit(5))
|
||||
```
|
||||
|
||||
## Custom summaries
|
||||
|
||||
You may create a custom summary by returning the value from the `using()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Summarizer;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
TextColumn::make('name')
|
||||
->summarize(Summarizer::make()
|
||||
->label('First last name')
|
||||
->using(fn (Builder $query): string => $query->min('last_name')))
|
||||
```
|
||||
|
||||
The callback has access to the database `$query` builder instance to perform calculations with. It should return the value to display in the table.
|
||||
|
||||
## Summarising groups of rows
|
||||
|
||||
You can use summaries with [groups](grouping) to display a summary of the records inside a group. This works automatically if you choose to add a summariser to a column in a grouped table.
|
||||
|
||||
### Hiding the grouped rows and showing the summary only
|
||||
|
||||
You may hide the rows inside groups and just show the summary of each group using the `groupsOnly()` method. This is very useful in many reporting scenarios.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Sum;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('views_count')
|
||||
->summarize(Sum::make()),
|
||||
TextColumn::make('likes_count')
|
||||
->summarize(Sum::make()),
|
||||
])
|
||||
->defaultGroup('category')
|
||||
->groupsOnly();
|
||||
}
|
||||
```
|
||||
354
vendor/filament/tables/docs/08-grouping.md
vendored
Normal file
354
vendor/filament/tables/docs/08-grouping.md
vendored
Normal file
@@ -0,0 +1,354 @@
|
||||
---
|
||||
title: Grouping rows
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
You may allow users to group table rows together using a common attribute. This is useful for displaying lots of data in a more organized way.
|
||||
|
||||
Groups can be set up using the name of the attribute to group by (e.g. `'status'`), or a `Group` object which allows you to customize the behavior of that grouping (e.g. `Group::make('status')->collapsible()`).
|
||||
|
||||
## Grouping rows by default
|
||||
|
||||
You may want to always group posts by a specific attribute. To do this, pass the group to the `defaultGroup()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->defaultGroup('status');
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/grouping" alt="Table with grouping" version="3.x" />
|
||||
|
||||
## Allowing users to choose between groupings
|
||||
|
||||
You may also allow users to pick between different groupings, by passing them in an array to the `groups()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
'status',
|
||||
'category',
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
You can use both `groups()` and `defaultGroup()` together to allow users to choose between different groupings, but have a default grouping set:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
'status',
|
||||
'category',
|
||||
])
|
||||
->defaultGroup('status');
|
||||
}
|
||||
```
|
||||
|
||||
## Grouping by a relationship attribute
|
||||
|
||||
You can also group by a relationship attribute using dot-syntax. For example, if you have an `author` relationship which has a `name` attribute, you can use `author.name` as the name of the attribute:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
'author.name',
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
## Setting a grouping label
|
||||
|
||||
By default, the label of the grouping will be generated based on the attribute. You may customize it with a `Group` object, using the `label()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Grouping\Group;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
Group::make('author.name')
|
||||
->label('Author name'),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
## Setting a group title
|
||||
|
||||
By default, the title of a group will be the value of the attribute. You may customize it by returning a new title from the `getTitleFromRecordUsing()` method of a `Group` object:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Grouping\Group;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
Group::make('status')
|
||||
->getTitleFromRecordUsing(fn (Post $record): string => ucfirst($record->status->getLabel())),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
### Disabling the title label prefix
|
||||
|
||||
By default, the title is prefixed with the label of the group. To disable this prefix, utilize the `titlePrefixedWithLabel(false)` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Grouping\Group;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
Group::make('status')
|
||||
->titlePrefixedWithLabel(false),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
## Setting a group description
|
||||
|
||||
You may also set a description for a group, which will be displayed underneath the group title. To do this, use the `getDescriptionFromRecordUsing()` method on a `Group` object:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Grouping\Group;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
Group::make('status')
|
||||
->getDescriptionFromRecordUsing(fn (Post $record): string => $record->status->getDescription()),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/grouping-descriptions" alt="Table with group descriptions" version="3.x" />
|
||||
|
||||
## Setting a group key
|
||||
|
||||
By default, the key of a group will be the value of the attribute. It is used internally as a raw identifier of that group, instead of the [title](#setting-a-group-title). You may customize it by returning a new key from the `getKeyFromRecordUsing()` method of a `Group` object:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Grouping\Group;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
Group::make('status')
|
||||
->getKeyFromRecordUsing(fn (Post $record): string => $record->status->value),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
## Date groups
|
||||
|
||||
When using a date-time column as a group, you may want to group by the date only, and ignore the time. To do this, use the `date()` method on a `Group` object:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Grouping\Group;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
Group::make('created_at')
|
||||
->date(),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
## Collapsible groups
|
||||
|
||||
You can allow rows inside a group to be collapsed underneath their group title. To enable this, use a `Group` object with the `collapsible()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Grouping\Group;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
Group::make('author.name')
|
||||
->collapsible(),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
## Summarising groups
|
||||
|
||||
You can use [summaries](summaries) with groups to display a summary of the records inside a group. This works automatically if you choose to add a summariser to a column in a grouped table.
|
||||
|
||||
### Hiding the grouped rows and showing the summary only
|
||||
|
||||
You may hide the rows inside groups and just show the summary of each group using the `groupsOnly()` method. This is very useful in many reporting scenarios.
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Sum;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('views_count')
|
||||
->summarize(Sum::make()),
|
||||
TextColumn::make('likes_count')
|
||||
->summarize(Sum::make()),
|
||||
])
|
||||
->defaultGroup('category')
|
||||
->groupsOnly();
|
||||
}
|
||||
```
|
||||
|
||||
## Customizing the Eloquent query ordering behavior
|
||||
|
||||
Some features require the table to be able to order an Eloquent query according to a group. You can customize how we do this using the `orderQueryUsing()` method on a `Group` object:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Grouping\Group;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
Group::make('status')
|
||||
->orderQueryUsing(fn (Builder $query, string $direction) => $query->orderBy('status', $direction)),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
## Customizing the Eloquent query scoping behavior
|
||||
|
||||
Some features require the table to be able to scope an Eloquent query according to a group. You can customize how we do this using the `scopeQueryByKeyUsing()` method on a `Group` object:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Grouping\Group;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
Group::make('status')
|
||||
->scopeQueryByKeyUsing(fn (Builder $query, string $key) => $query->where('status', $key)),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
## Customizing the Eloquent query grouping behavior
|
||||
|
||||
Some features require the table to be able to group an Eloquent query according to a group. You can customize how we do this using the `groupQueryUsing()` method on a `Group` object:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Grouping\Group;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
Group::make('status')
|
||||
->groupQueryUsing(fn (Builder $query) => $query->groupBy('status')),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
## Customizing the groups dropdown trigger action
|
||||
|
||||
To customize the groups dropdown trigger button, you may use the `groupRecordsTriggerAction()` method, passing a closure that returns an action. All methods that are available to [customize action trigger buttons](../actions/trigger-button) can be used:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\Action;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
// ...
|
||||
])
|
||||
->groupRecordsTriggerAction(
|
||||
fn (Action $action) => $action
|
||||
->button()
|
||||
->label('Group records'),
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
## Using the grouping settings dropdown on desktop
|
||||
|
||||
By default, the grouping settings dropdown will only be shown on mobile devices. On desktop devices, the grouping settings are in the header of the table. You can enable the dropdown on desktop devices too by using the `groupingSettingsInDropdownOnDesktop()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->groups([
|
||||
// ...
|
||||
])
|
||||
->groupingSettingsInDropdownOnDesktop();
|
||||
}
|
||||
```
|
||||
|
||||
## Hiding the grouping settings
|
||||
|
||||
You can hide the grouping settings interface using the `groupingSettingsHidden()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->defaultGroup('status')
|
||||
->groupingSettingsHidden();
|
||||
}
|
||||
```
|
||||
|
||||
### Hiding the grouping direction setting only
|
||||
|
||||
You can hide the grouping direction select interface using the `groupingDirectionSettingHidden()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->defaultGroup('status')
|
||||
->groupingDirectionSettingHidden();
|
||||
}
|
||||
```
|
||||
96
vendor/filament/tables/docs/09-empty-state.md
vendored
Normal file
96
vendor/filament/tables/docs/09-empty-state.md
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
---
|
||||
title: Empty state
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Overview
|
||||
|
||||
The table's "empty state" is rendered when there are no rows in the table.
|
||||
|
||||
<AutoScreenshot name="tables/empty-state" alt="Table with empty state" version="3.x" />
|
||||
|
||||
## Setting the empty state heading
|
||||
|
||||
To customize the heading of the empty state, use the `emptyStateHeading()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->emptyStateHeading('No posts yet');
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/empty-state-heading" alt="Table with customized empty state heading" version="3.x" />
|
||||
|
||||
## Setting the empty state description
|
||||
|
||||
To customize the description of the empty state, use the `emptyStateDescription()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->emptyStateDescription('Once you write your first post, it will appear here.');
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/empty-state-description" alt="Table with empty state description" version="3.x" />
|
||||
|
||||
## Setting the empty state icon
|
||||
|
||||
To customize the [icon](https://blade-ui-kit.com/blade-icons?set=1#search) of the empty state, use the `emptyStateIcon()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->emptyStateIcon('heroicon-o-bookmark');
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/empty-state-icon" alt="Table with customized empty state icon" version="3.x" />
|
||||
|
||||
## Adding empty state actions
|
||||
|
||||
You can add [Actions](actions) to the empty state to prompt users to take action. Pass these to the `emptyStateActions()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\Action;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->emptyStateActions([
|
||||
Action::make('create')
|
||||
->label('Create post')
|
||||
->url(route('posts.create'))
|
||||
->icon('heroicon-m-plus')
|
||||
->button(),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/empty-state-actions" alt="Table with empty state actions" version="3.x" />
|
||||
|
||||
## Using a custom empty state view
|
||||
|
||||
You may use a completely custom empty state view by passing it to the `emptyState()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\Action;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->emptyState(view('tables.posts.empty-state'));
|
||||
}
|
||||
```
|
||||
438
vendor/filament/tables/docs/10-advanced.md
vendored
Normal file
438
vendor/filament/tables/docs/10-advanced.md
vendored
Normal file
@@ -0,0 +1,438 @@
|
||||
---
|
||||
title: Advanced
|
||||
---
|
||||
import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
|
||||
## Pagination
|
||||
|
||||
### Disabling pagination
|
||||
|
||||
By default, tables will be paginated. To disable this, you should use the `$table->paginated(false)` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->paginated(false);
|
||||
}
|
||||
```
|
||||
|
||||
### Customizing the pagination options
|
||||
|
||||
You may customize the options for the paginated records per page select by passing them to the `paginated()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->paginated([10, 25, 50, 100, 'all']);
|
||||
}
|
||||
```
|
||||
|
||||
### Customizing the default pagination page option
|
||||
|
||||
To customize the default number of records shown use the `defaultPaginationPageOption()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->defaultPaginationPageOption(25);
|
||||
}
|
||||
```
|
||||
|
||||
### Preventing query string conflicts with the pagination page
|
||||
|
||||
By default, Livewire stores the pagination state in a `page` parameter of the URL query string. If you have multiple tables on the same page, this will mean that the pagination state of one table may be overwritten by the state of another table.
|
||||
|
||||
To fix this, you may define a `$table->queryStringIdentifier()`, to return a unique query string identifier for that table:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->queryStringIdentifier('users');
|
||||
}
|
||||
```
|
||||
|
||||
### Displaying links to the first and the last pagination page
|
||||
|
||||
To add "extreme" links to the first and the last page using the `extremePaginationLinks()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->extremePaginationLinks();
|
||||
}
|
||||
```
|
||||
|
||||
### Using simple pagination
|
||||
|
||||
You may use simple pagination by overriding `paginateTableQuery()` method.
|
||||
|
||||
First, locate your Livewire component. If you're using a resource from the Panel Builder and you want to add simple pagination to the List page, you'll want to open the `Pages/List.php` file in the resource, not the resource class itself.
|
||||
|
||||
```php
|
||||
use Illuminate\Contracts\Pagination\Paginator;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
protected function paginateTableQuery(Builder $query): Paginator
|
||||
{
|
||||
return $query->simplePaginate(($this->getTableRecordsPerPage() === 'all') ? $query->count() : $this->getTableRecordsPerPage());
|
||||
}
|
||||
```
|
||||
|
||||
### Using cursor pagination
|
||||
|
||||
You may use cursor pagination by overriding `paginateTableQuery()` method.
|
||||
|
||||
First, locate your Livewire component. If you're using a resource from the Panel Builder and you want to add simple pagination to the List page, you'll want to open the `Pages/List.php` file in the resource, not the resource class itself.
|
||||
|
||||
```php
|
||||
use Illuminate\Contracts\Pagination\CursorPaginator;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
protected function paginateTableQuery(Builder $query): CursorPaginator
|
||||
{
|
||||
return $query->cursorPaginate(($this->getTableRecordsPerPage() === 'all') ? $query->count() : $this->getTableRecordsPerPage());
|
||||
}
|
||||
```
|
||||
|
||||
## Record URLs (clickable rows)
|
||||
|
||||
You may allow table rows to be completely clickable by using the `$table->recordUrl()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->recordUrl(
|
||||
fn (Model $record): string => route('posts.edit', ['record' => $record]),
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
In this example, clicking on each post will take you to the `posts.edit` route.
|
||||
|
||||
You may also open the URL in a new tab:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->openRecordUrlInNewTab();
|
||||
}
|
||||
```
|
||||
|
||||
If you'd like to [override the URL](columns/getting-started#opening-urls) for a specific column, or instead [run an action](columns/getting-started#running-actions) when a column is clicked, see the [columns documentation](columns/getting-started#opening-urls).
|
||||
|
||||
## Reordering records
|
||||
|
||||
To allow the user to reorder records using drag and drop in your table, you can use the `$table->reorderable()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->reorderable('sort');
|
||||
}
|
||||
```
|
||||
|
||||
If you're using mass assignment protection on your model, you will also need to add the `sort` attribute to the `$fillable` array there.
|
||||
|
||||
When making the table reorderable, a new button will be available on the table to toggle reordering.
|
||||
|
||||
<AutoScreenshot name="tables/reordering" alt="Table with reorderable rows" version="3.x" />
|
||||
|
||||
The `reorderable()` method accepts the name of a column to store the record order in. If you use something like [`spatie/eloquent-sortable`](https://github.com/spatie/eloquent-sortable) with an order column such as `order_column`, you may use this instead:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->reorderable('order_column');
|
||||
}
|
||||
```
|
||||
|
||||
The `reorderable()` method also accepts a boolean condition as its second parameter, allowing you to conditionally enable reordering:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->reorderable('sort', auth()->user()->isAdmin());
|
||||
}
|
||||
```
|
||||
|
||||
### Enabling pagination while reordering
|
||||
|
||||
Pagination will be disabled in reorder mode to allow you to move records between pages. It is generally bad UX to re-enable pagination while reordering, but if you are sure then you can use `$table->paginatedWhileReordering()`:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->paginatedWhileReordering();
|
||||
}
|
||||
```
|
||||
|
||||
### Customizing the reordering trigger action
|
||||
|
||||
To customize the reordering trigger button, you may use the `reorderRecordsTriggerAction()` method, passing a closure that returns an action. All methods that are available to [customize action trigger buttons](../actions/trigger-button) can be used:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Actions\Action;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->reorderRecordsTriggerAction(
|
||||
fn (Action $action, bool $isReordering) => $action
|
||||
->button()
|
||||
->label($isReordering ? 'Disable reordering' : 'Enable reordering'),
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/reordering/custom-trigger-action" alt="Table with reorderable rows and a custom trigger action" version="3.x" />
|
||||
|
||||
## Customizing the table header
|
||||
|
||||
You can add a heading to a table using the `$table->heading()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->heading('Clients')
|
||||
->columns([
|
||||
// ...
|
||||
]);
|
||||
```
|
||||
|
||||
You can also add a description below the heading using the `$table->description()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->heading('Clients')
|
||||
->description('Manage your clients here.')
|
||||
->columns([
|
||||
// ...
|
||||
]);
|
||||
```
|
||||
|
||||
You can pass a view to the `$table->header()` method to customize the entire header:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->header(view('tables.header', [
|
||||
'heading' => 'Clients',
|
||||
]))
|
||||
->columns([
|
||||
// ...
|
||||
]);
|
||||
```
|
||||
|
||||
## Polling table content
|
||||
|
||||
You may poll table content so that it refreshes at a set interval, using the `$table->poll()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->poll('10s');
|
||||
}
|
||||
```
|
||||
|
||||
## Deferring loading
|
||||
|
||||
Tables with lots of data might take a while to load, in which case you can load the table data asynchronously using the `deferLoading()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->deferLoading();
|
||||
}
|
||||
```
|
||||
|
||||
## Searching records with Laravel Scout
|
||||
|
||||
While Filament doesn't provide a direct integration with [Laravel Scout](https://laravel.com/docs/scout), you may override methods to integrate it.
|
||||
|
||||
Use a `whereIn()` clause to filter the query for Scout results:
|
||||
|
||||
```php
|
||||
use App\Models\Post;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
protected function applySearchToTableQuery(Builder $query): Builder
|
||||
{
|
||||
$this->applyColumnSearchesToTableQuery($query);
|
||||
|
||||
if (filled($search = $this->getTableSearch())) {
|
||||
$query->whereIn('id', Post::search($search)->keys());
|
||||
}
|
||||
|
||||
return $query;
|
||||
}
|
||||
```
|
||||
|
||||
Scout uses this `whereIn()` method to retrieve results internally, so there is no performance penalty for using it.
|
||||
|
||||
The `applyColumnSearchesToTableQuery()` method ensures that searching individual columns will still work. You can replace that method with your own implementation if you want to use Scout for those search inputs as well.
|
||||
|
||||
For the global search input to show, at least one column in the table needs to be `searchable()`. Alternatively, if you are using Scout to control which columns are searchable already, you can simply pass `searchable()` to the entire table instead:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->searchable();
|
||||
}
|
||||
```
|
||||
|
||||
## Query string
|
||||
|
||||
Livewire ships with a feature to store data in the URL's query string, to access across requests.
|
||||
|
||||
With Filament, this allows you to store your table's filters, sort, search and pagination state in the URL.
|
||||
|
||||
To store the filters, sorting, and search state of your table in the query string:
|
||||
|
||||
```php
|
||||
use Livewire\Attributes\Url;
|
||||
|
||||
#[Url]
|
||||
public bool $isTableReordering = false;
|
||||
|
||||
/**
|
||||
* @var array<string, mixed> | null
|
||||
*/
|
||||
#[Url]
|
||||
public ?array $tableFilters = null;
|
||||
|
||||
#[Url]
|
||||
public ?string $tableGrouping = null;
|
||||
|
||||
#[Url]
|
||||
public ?string $tableGroupingDirection = null;
|
||||
|
||||
/**
|
||||
* @var ?string
|
||||
*/
|
||||
#[Url]
|
||||
public $tableSearch = '';
|
||||
|
||||
#[Url]
|
||||
public ?string $tableSortColumn = null;
|
||||
|
||||
#[Url]
|
||||
public ?string $tableSortDirection = null;
|
||||
```
|
||||
|
||||
## Styling table rows
|
||||
|
||||
### Striped table rows
|
||||
|
||||
To enable striped table rows, you can use the `striped()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Table;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->striped();
|
||||
}
|
||||
```
|
||||
|
||||
<AutoScreenshot name="tables/striped" alt="Table with striped rows" version="3.x" />
|
||||
|
||||
### Custom row classes
|
||||
|
||||
You may want to conditionally style rows based on the record data. This can be achieved by specifying a string or array of CSS classes to be applied to the row using the `$table->recordClasses()` method:
|
||||
|
||||
```php
|
||||
use Closure;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->recordClasses(fn (Model $record) => match ($record->status) {
|
||||
'draft' => 'opacity-30',
|
||||
'reviewing' => 'border-s-2 border-orange-600 dark:border-orange-300',
|
||||
'published' => 'border-s-2 border-green-600 dark:border-green-300',
|
||||
default => null,
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
These classes are not automatically compiled by Tailwind CSS. If you want to apply Tailwind CSS classes that are not already used in Blade files, you should update your `content` configuration in `tailwind.config.js` to also scan for classes inside your directory: `'./app/Filament/**/*.php'`
|
||||
|
||||
## Resetting the table
|
||||
|
||||
If you make changes to the table definition during a Livewire request, for example, when consuming a public property in the `table()` method, you may need to reset the table to ensure that the changes are applied. To do this, you can call the `resetTable()` method on the Livewire component:
|
||||
|
||||
```php
|
||||
$this->resetTable();
|
||||
```
|
||||
|
||||
## Global settings
|
||||
|
||||
To customize the default configuration that is used for all tables, you can call the static `configureUsing()` method from the `boot()` method of a service provider. The function will be run for each table that gets created:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Enums\FiltersLayout;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
Table::configureUsing(function (Table $table): void {
|
||||
$table
|
||||
->filtersLayout(FiltersLayout::AboveContentCollapsible)
|
||||
->paginationPageOptions([10, 25, 50]);
|
||||
});
|
||||
```
|
||||
137
vendor/filament/tables/docs/11-adding-a-table-to-a-livewire-component.md
vendored
Normal file
137
vendor/filament/tables/docs/11-adding-a-table-to-a-livewire-component.md
vendored
Normal file
@@ -0,0 +1,137 @@
|
||||
---
|
||||
title: Adding a table to a Livewire component
|
||||
---
|
||||
|
||||
## Setting up the Livewire component
|
||||
|
||||
First, generate a new Livewire component:
|
||||
|
||||
```bash
|
||||
php artisan make:livewire ListProducts
|
||||
```
|
||||
|
||||
Then, render your Livewire component on the page:
|
||||
|
||||
```blade
|
||||
@livewire('list-products')
|
||||
```
|
||||
|
||||
Alternatively, you can use a full-page Livewire component:
|
||||
|
||||
```php
|
||||
use App\Livewire\ListProducts;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('products', ListProducts::class);
|
||||
```
|
||||
|
||||
## Adding the table
|
||||
|
||||
There are 3 tasks when adding a table to a Livewire component class:
|
||||
|
||||
1) Implement the `HasTable` and `HasForms` interfaces, and use the `InteractsWithTable` and `InteractsWithForms` traits.
|
||||
2) Add a `table()` method, which is where you configure the table. [Add the table's columns, filters, and actions](getting-started#columns).
|
||||
3) Make sure to define the base query that will be used to fetch rows in the table. For example, if you're listing products from your `Product` model, you will want to return `Product::query()`.
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
namespace App\Livewire;
|
||||
|
||||
use App\Models\Shop\Product;
|
||||
use Filament\Forms\Concerns\InteractsWithForms;
|
||||
use Filament\Forms\Contracts\HasForms;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Concerns\InteractsWithTable;
|
||||
use Filament\Tables\Contracts\HasTable;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Livewire\Component;
|
||||
|
||||
class ListProducts extends Component implements HasForms, HasTable
|
||||
{
|
||||
use InteractsWithTable;
|
||||
use InteractsWithForms;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->query(Product::query())
|
||||
->columns([
|
||||
TextColumn::make('name'),
|
||||
])
|
||||
->filters([
|
||||
// ...
|
||||
])
|
||||
->actions([
|
||||
// ...
|
||||
])
|
||||
->bulkActions([
|
||||
// ...
|
||||
]);
|
||||
}
|
||||
|
||||
public function render(): View
|
||||
{
|
||||
return view('livewire.list-products');
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Finally, in your Livewire component's view, render the table:
|
||||
|
||||
```blade
|
||||
<div>
|
||||
{{ $this->table }}
|
||||
</div>
|
||||
```
|
||||
|
||||
Visit your Livewire component in the browser, and you should see the table.
|
||||
|
||||
## Building a table for an Eloquent relationship
|
||||
|
||||
If you want to build a table for an Eloquent relationship, you can use the `relationship()` and `inverseRelationship()` methods on the `$table` instead of passing a `query()`. `HasMany`, `HasManyThrough`, `BelongsToMany`, `MorphMany` and `MorphToMany` relationships are compatible:
|
||||
|
||||
```php
|
||||
use App\Models\Category;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
|
||||
public Category $category;
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->relationship(fn (): BelongsToMany => $this->category->products())
|
||||
->inverseRelationship('categories')
|
||||
->columns([
|
||||
TextColumn::make('name'),
|
||||
]);
|
||||
}
|
||||
```
|
||||
|
||||
In this example, we have a `$category` property which holds a `Category` model instance. The category has a relationship named `products`. We use a function to return the relationship instance. This is a many-to-many relationship, so the inverse relationship is called `categories`, and is defined on the `Product` model. We just need to pass the name of this relationship to the `inverseRelationship()` method, not the whole instance.
|
||||
|
||||
Now that the table is using a relationship instead of a plain Eloquent query, all actions will be performed on the relationship instead of the query. For example, if you use a [`CreateAction`](../actions/prebuilt-actions/create), the new product will be automatically attached to the category.
|
||||
|
||||
If your relationship uses a pivot table, you can use all pivot columns as if they were normal columns on your table, as long as they are listed in the `withPivot()` method of the relationship *and* inverse relationship definition.
|
||||
|
||||
Relationship tables are used in the Panel Builder as ["relation managers"](../panels/resources/relation-managers#creating-a-relation-manager). Most of the documented features for relation managers are also available for relationship tables. For instance, [attaching and detaching](../panels/resources/relation-managers#attaching-and-detaching-records) and [associating and dissociating](../panels/resources/relation-managers#associating-and-dissociating-records) actions.
|
||||
|
||||
## Generating table Livewire components with the CLI
|
||||
|
||||
It's advised that you learn how to set up a Livewire component with the Table Builder manually, but once you are confident, you can use the CLI to generate a table for you.
|
||||
|
||||
```bash
|
||||
php artisan make:livewire-table Products/ListProducts
|
||||
```
|
||||
|
||||
This will ask you for the name of a prebuilt model, for example `Product`. Finally, it will generate a new `app/Livewire/Products/ListProducts.php` component, which you can customize.
|
||||
|
||||
### Automatically generating table columns
|
||||
|
||||
Filament is also able to guess which table columns you want in the table, based on the model's database columns. You can use the `--generate` flag when generating your table:
|
||||
|
||||
```bash
|
||||
php artisan make:livewire-table Products/ListProducts --generate
|
||||
```
|
||||
683
vendor/filament/tables/docs/12-testing.md
vendored
Normal file
683
vendor/filament/tables/docs/12-testing.md
vendored
Normal file
@@ -0,0 +1,683 @@
|
||||
---
|
||||
title: Testing
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
All examples in this guide will be written using [Pest](https://pestphp.com). To use Pest's Livewire plugin for testing, you can follow the installation instructions in the Pest documentation on plugins: [Livewire plugin for Pest](https://pestphp.com/docs/plugins#livewire). However, you can easily adapt this to PHPUnit.
|
||||
|
||||
Since the Table Builder works on Livewire components, you can use the [Livewire testing helpers](https://livewire.laravel.com/docs/testing). However, we have many custom testing helpers that you can use for tables:
|
||||
|
||||
## Render
|
||||
|
||||
To ensure a table component renders, use the `assertSuccessful()` Livewire helper:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can render page', function () {
|
||||
livewire(ListPosts::class)->assertSuccessful();
|
||||
});
|
||||
```
|
||||
|
||||
To test which records are shown, you can use `assertCanSeeTableRecords()`, `assertCanNotSeeTableRecords()` and `assertCountTableRecords()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('cannot display trashed posts by default', function () {
|
||||
$posts = Post::factory()->count(4)->create();
|
||||
$trashedPosts = Post::factory()->trashed()->count(6)->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertCanSeeTableRecords($posts)
|
||||
->assertCanNotSeeTableRecords($trashedPosts)
|
||||
->assertCountTableRecords(4);
|
||||
});
|
||||
```
|
||||
|
||||
> If your table uses pagination, `assertCanSeeTableRecords()` will only check for records on the first page. To switch page, call `call('gotoPage', 2)`.
|
||||
|
||||
> If your table uses `deferLoading()`, you should call `loadTable()` before `assertCanSeeTableRecords()`.
|
||||
|
||||
## Columns
|
||||
|
||||
To ensure that a certain column is rendered, pass the column name to `assertCanRenderTableColumn()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can render post titles', function () {
|
||||
Post::factory()->count(10)->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertCanRenderTableColumn('title');
|
||||
});
|
||||
```
|
||||
|
||||
This helper will get the HTML for this column, and check that it is present in the table.
|
||||
|
||||
For testing that a column is not rendered, you can use `assertCanNotRenderTableColumn()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can not render post comments', function () {
|
||||
Post::factory()->count(10)->create()
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertCanNotRenderTableColumn('comments');
|
||||
});
|
||||
```
|
||||
|
||||
This helper will assert that the HTML for this column is not shown by default in the present table.
|
||||
|
||||
### Sorting
|
||||
|
||||
To sort table records, you can call `sortTable()`, passing the name of the column to sort by. You can use `'desc'` in the second parameter of `sortTable()` to reverse the sorting direction.
|
||||
|
||||
Once the table is sorted, you can ensure that the table records are rendered in order using `assertCanSeeTableRecords()` with the `inOrder` parameter:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can sort posts by title', function () {
|
||||
$posts = Post::factory()->count(10)->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->sortTable('title')
|
||||
->assertCanSeeTableRecords($posts->sortBy('title'), inOrder: true)
|
||||
->sortTable('title', 'desc')
|
||||
->assertCanSeeTableRecords($posts->sortByDesc('title'), inOrder: true);
|
||||
});
|
||||
```
|
||||
|
||||
### Searching
|
||||
|
||||
To search the table, call the `searchTable()` method with your search query.
|
||||
|
||||
You can then use `assertCanSeeTableRecords()` to check your filtered table records, and use `assertCanNotSeeTableRecords()` to assert that some records are no longer in the table:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can search posts by title', function () {
|
||||
$posts = Post::factory()->count(10)->create();
|
||||
|
||||
$title = $posts->first()->title;
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->searchTable($title)
|
||||
->assertCanSeeTableRecords($posts->where('title', $title))
|
||||
->assertCanNotSeeTableRecords($posts->where('title', '!=', $title));
|
||||
});
|
||||
```
|
||||
|
||||
To search individual columns, you can pass an array of searches to `searchTableColumns()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can search posts by title column', function () {
|
||||
$posts = Post::factory()->count(10)->create();
|
||||
|
||||
$title = $posts->first()->title;
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->searchTableColumns(['title' => $title])
|
||||
->assertCanSeeTableRecords($posts->where('title', $title))
|
||||
->assertCanNotSeeTableRecords($posts->where('title', '!=', $title));
|
||||
});
|
||||
```
|
||||
|
||||
### State
|
||||
|
||||
To assert that a certain column has a state or does not have a state for a record you can use `assertTableColumnStateSet()` and `assertTableColumnStateNotSet()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can get post author names', function () {
|
||||
$posts = Post::factory()->count(10)->create();
|
||||
|
||||
$post = $posts->first();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableColumnStateSet('author.name', $post->author->name, record: $post)
|
||||
->assertTableColumnStateNotSet('author.name', 'Anonymous', record: $post);
|
||||
});
|
||||
```
|
||||
|
||||
To assert that a certain column has a formatted state or does not have a formatted state for a record you can use `assertTableColumnFormattedStateSet()` and `assertTableColumnFormattedStateNotSet()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can get post author names', function () {
|
||||
$post = Post::factory(['name' => 'John Smith'])->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableColumnFormattedStateSet('author.name', 'Smith, John', record: $post)
|
||||
->assertTableColumnFormattedStateNotSet('author.name', $post->author->name, record: $post);
|
||||
});
|
||||
```
|
||||
|
||||
### Existence
|
||||
|
||||
To ensure that a column exists, you can use the `assertTableColumnExists()` method:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('has an author column', function () {
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableColumnExists('author');
|
||||
});
|
||||
```
|
||||
|
||||
You may pass a function as an additional argument in order to assert that a column passes a given "truth test". This is useful for asserting that a column has a specific configuration. You can also pass in a record as the third parameter, which is useful if your check is dependant on which table row is being rendered:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
it('has an author column', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableColumnExists('author', function (TextColumn $column): bool {
|
||||
return $column->getDescriptionBelow() === $post->subtitle;
|
||||
}, $post);
|
||||
});
|
||||
```
|
||||
|
||||
### Authorization
|
||||
|
||||
To ensure that a particular user cannot see a column, you can use the `assertTableColumnVisible()` and `assertTableColumnHidden()` methods:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('shows the correct columns', function () {
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableColumnVisible('created_at')
|
||||
->assertTableColumnHidden('author');
|
||||
});
|
||||
```
|
||||
|
||||
### Descriptions
|
||||
|
||||
To ensure a column has the correct description above or below you can use the `assertTableColumnHasDescription()` and `assertTableColumnDoesNotHaveDescription()` methods:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('has the correct descriptions above and below author', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostsTable::class)
|
||||
->assertTableColumnHasDescription('author', 'Author! ↓↓↓', $post, 'above')
|
||||
->assertTableColumnHasDescription('author', 'Author! ↑↑↑', $post)
|
||||
->assertTableColumnDoesNotHaveDescription('author', 'Author! ↑↑↑', $post, 'above')
|
||||
->assertTableColumnDoesNotHaveDescription('author', 'Author! ↓↓↓', $post);
|
||||
});
|
||||
```
|
||||
|
||||
### Extra Attributes
|
||||
|
||||
To ensure that a column has the correct extra attributes, you can use the `assertTableColumnHasExtraAttributes()` and `assertTableColumnDoesNotHaveExtraAttributes()` methods:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('displays author in red', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostsTable::class)
|
||||
->assertTableColumnHasExtraAttributes('author', ['class' => 'text-danger-500'], $post)
|
||||
->assertTableColumnDoesNotHaveExtraAttributes('author', ['class' => 'text-primary-500'], $post);
|
||||
});
|
||||
```
|
||||
|
||||
### Select Columns
|
||||
|
||||
If you have a select column, you can ensure it has the correct options with `assertTableSelectColumnHasOptions()` and `assertTableSelectColumnDoesNotHaveOptions()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('has the correct statuses', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostsTable::class)
|
||||
->assertTableSelectColumnHasOptions('status', ['unpublished' => 'Unpublished', 'published' => 'Published'], $post)
|
||||
->assertTableSelectColumnDoesNotHaveOptions('status', ['archived' => 'Archived'], $post);
|
||||
});
|
||||
```
|
||||
|
||||
## Filters
|
||||
|
||||
To filter the table records, you can use the `filterTable()` method, along with `assertCanSeeTableRecords()` and `assertCanNotSeeTableRecords()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can filter posts by `is_published`', function () {
|
||||
$posts = Post::factory()->count(10)->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertCanSeeTableRecords($posts)
|
||||
->filterTable('is_published')
|
||||
->assertCanSeeTableRecords($posts->where('is_published', true))
|
||||
->assertCanNotSeeTableRecords($posts->where('is_published', false));
|
||||
});
|
||||
```
|
||||
|
||||
For a simple filter, this will just enable the filter.
|
||||
|
||||
If you'd like to set the value of a `SelectFilter` or `TernaryFilter`, pass the value as a second argument:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can filter posts by `author_id`', function () {
|
||||
$posts = Post::factory()->count(10)->create();
|
||||
|
||||
$authorId = $posts->first()->author_id;
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertCanSeeTableRecords($posts)
|
||||
->filterTable('author_id', $authorId)
|
||||
->assertCanSeeTableRecords($posts->where('author_id', $authorId))
|
||||
->assertCanNotSeeTableRecords($posts->where('author_id', '!=', $authorId));
|
||||
});
|
||||
```
|
||||
|
||||
### Resetting filters
|
||||
|
||||
To reset all filters to their original state, call `resetTableFilters()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can reset table filters', function () {
|
||||
$posts = Post::factory()->count(10)->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->resetTableFilters();
|
||||
});
|
||||
```
|
||||
|
||||
### Removing Filters
|
||||
|
||||
To remove a single filter you can use `removeTableFilter()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('filters list by published', function () {
|
||||
$posts = Post::factory()->count(10)->create();
|
||||
|
||||
$unpublishedPosts = $posts->where('is_published', false)->get();
|
||||
|
||||
livewire(PostsTable::class)
|
||||
->filterTable('is_published')
|
||||
->assertCanNotSeeTableRecords($unpublishedPosts)
|
||||
->removeTableFilter('is_published')
|
||||
->assertCanSeeTableRecords($posts);
|
||||
});
|
||||
```
|
||||
|
||||
To remove all filters you can use `removeTableFilters()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can remove all table filters', function () {
|
||||
$posts = Post::factory()->count(10)->forAuthor()->create();
|
||||
|
||||
$unpublishedPosts = $posts
|
||||
->where('is_published', false)
|
||||
->where('author_id', $posts->first()->author->getKey());
|
||||
|
||||
livewire(PostsTable::class)
|
||||
->filterTable('is_published')
|
||||
->filterTable('author', $author)
|
||||
->assertCanNotSeeTableRecords($unpublishedPosts)
|
||||
->removeTableFilters()
|
||||
->assertCanSeeTableRecords($posts);
|
||||
});
|
||||
```
|
||||
|
||||
## Actions
|
||||
|
||||
### Calling actions
|
||||
|
||||
You can call an action by passing its name or class to `callTableAction()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can delete posts', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->callTableAction(DeleteAction::class, $post);
|
||||
|
||||
$this->assertModelMissing($post);
|
||||
});
|
||||
```
|
||||
|
||||
This example assumes that you have a `DeleteAction` on your table. If you have a custom `Action::make('reorder')`, you may use `callTableAction('reorder')`.
|
||||
|
||||
For column actions, you may do the same, using `callTableColumnAction()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can copy posts', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->callTableColumnAction('copy', $post);
|
||||
|
||||
$this->assertDatabaseCount((new Post)->getTable(), 2);
|
||||
});
|
||||
```
|
||||
|
||||
For bulk actions, you may do the same, passing in multiple records to execute the bulk action against with `callTableBulkAction()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can bulk delete posts', function () {
|
||||
$posts = Post::factory()->count(10)->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->callTableBulkAction(DeleteBulkAction::class, $posts);
|
||||
|
||||
foreach ($posts as $post) {
|
||||
$this->assertModelMissing($post);
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
To pass an array of data into an action, use the `data` parameter:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can edit posts', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->callTableAction(EditAction::class, $post, data: [
|
||||
'title' => $title = fake()->words(asText: true),
|
||||
])
|
||||
->assertHasNoTableActionErrors();
|
||||
|
||||
expect($post->refresh())
|
||||
->title->toBe($title);
|
||||
});
|
||||
```
|
||||
|
||||
### Execution
|
||||
|
||||
To check if an action or bulk action has been halted, you can use `assertTableActionHalted()` / `assertTableBulkActionHalted()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('will halt delete if post is flagged', function () {
|
||||
$posts= Post::factory()->count(2)->flagged()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->callTableAction('delete', $posts->first())
|
||||
->callTableBulkAction('delete', $posts)
|
||||
->assertTableActionHalted('delete')
|
||||
->assertTableBulkActionHalted('delete');
|
||||
|
||||
$this->assertModelExists($post);
|
||||
});
|
||||
```
|
||||
|
||||
### Errors
|
||||
|
||||
`assertHasNoTableActionErrors()` is used to assert that no validation errors occurred when submitting the action form.
|
||||
|
||||
To check if a validation error has occurred with the data, use `assertHasTableActionErrors()`, similar to `assertHasErrors()` in Livewire:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can validate edited post data', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->callTableAction(EditAction::class, $post, data: [
|
||||
'title' => null,
|
||||
])
|
||||
->assertHasTableActionErrors(['title' => ['required']]);
|
||||
});
|
||||
```
|
||||
|
||||
For bulk actions these methods are called `assertHasTableBulkActionErrors()` and `assertHasNoTableBulkActionErrors()`.
|
||||
|
||||
### Pre-filled data
|
||||
|
||||
To check if an action or bulk action is pre-filled with data, you can use the `assertTableActionDataSet()` or `assertTableBulkActionDataSet()` method:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can load existing post data for editing', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->mountTableAction(EditAction::class, $post)
|
||||
->assertTableActionDataSet([
|
||||
'title' => $post->title,
|
||||
])
|
||||
->setTableActionData([
|
||||
'title' => $title = fake()->words(asText: true),
|
||||
])
|
||||
->callMountedTableAction()
|
||||
->assertHasNoTableActionErrors();
|
||||
|
||||
expect($post->refresh())
|
||||
->title->toBe($title);
|
||||
});
|
||||
```
|
||||
|
||||
### Action state
|
||||
|
||||
To ensure that an action or bulk action exists or doesn't in a table, you can use the `assertTableActionExists()` / `assertTableActionDoesNotExist()` or `assertTableBulkActionExists()` / `assertTableBulkActionDoesNotExist()` method:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can publish but not unpublish posts', function () {
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableActionExists('publish')
|
||||
->assertTableActionDoesNotExist('unpublish')
|
||||
->assertTableBulkActionExists('publish')
|
||||
->assertTableBulkActionDoesNotExist('unpublish');
|
||||
});
|
||||
```
|
||||
|
||||
To ensure different sets of actions exist in the correct order, you can use the various "InOrder" assertions
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('has all actions in expected order', function () {
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableActionsExistInOrder(['edit', 'delete'])
|
||||
->assertTableBulkActionsExistInOrder(['restore', 'forceDelete'])
|
||||
->assertTableHeaderActionsExistInOrder(['create', 'attach'])
|
||||
->assertTableEmptyStateActionsExistInOrder(['create', 'toggle-trashed-filter'])
|
||||
});
|
||||
```
|
||||
|
||||
To ensure that an action or bulk action is enabled or disabled for a user, you can use the `assertTableActionEnabled()` / `assertTableActionDisabled()` or `assertTableBulkActionEnabled()` / `assertTableBulkActionDisabled()` methods:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can not publish, but can delete posts', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableActionDisabled('publish', $post)
|
||||
->assertTableActionEnabled('delete', $post)
|
||||
->assertTableBulkActionDisabled('publish')
|
||||
->assertTableBulkActionEnabled('delete');
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
To ensure that an action or bulk action is visible or hidden for a user, you can use the `assertTableActionVisible()` / `assertTableActionHidden()` or `assertTableBulkActionVisible()` / `assertTableBulkActionHidden()` methods:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can not publish, but can delete posts', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableActionHidden('publish', $post)
|
||||
->assertTableActionVisible('delete', $post)
|
||||
->assertTableBulkActionHidden('publish')
|
||||
->assertTableBulkActionVisible('delete');
|
||||
});
|
||||
```
|
||||
|
||||
### Button Style
|
||||
|
||||
To ensure an action or bulk action has the correct label, you can use `assertTableActionHasLabel()` / `assertTableBulkActionHasLabel()` and `assertTableActionDoesNotHaveLabel()` / `assertTableBulkActionDoesNotHaveLabel()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('delete actions have correct labels', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableActionHasLabel('delete', 'Archive Post')
|
||||
->assertTableActionDoesNotHaveLabel('delete', 'Delete');
|
||||
->assertTableBulkActionHasLabel('delete', 'Archive Post')
|
||||
->assertTableBulkActionDoesNotHaveLabel('delete', 'Delete');
|
||||
});
|
||||
```
|
||||
|
||||
To ensure an action or bulk action's button is showing the correct icon, you can use `assertTableActionHasIcon()` / `assertTableBulkActionHasIcon()` or `assertTableActionDoesNotHaveIcon()` / `assertTableBulkActionDoesNotHaveIcon()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('delete actions have correct icons', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableActionHasIcon('delete', 'heroicon-m-archive-box')
|
||||
->assertTableActionDoesNotHaveIcon('delete', 'heroicon-m-trash');
|
||||
->assertTableBulkActionHasIcon('delete', 'heroicon-m-archive-box')
|
||||
->assertTableBulkActionDoesNotHaveIcon('delete', 'heroicon-m-trash');
|
||||
});
|
||||
```
|
||||
|
||||
To ensure that an action or bulk action's button is displaying the right color, you can use `assertTableActionHasColor()` / `assertTableBulkActionHasColor()` or `assertTableActionDoesNotHaveColor()` / `assertTableBulkActionDoesNotHaveColor()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('delete actions have correct colors', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableActionHasColor('delete', 'warning')
|
||||
->assertTableActionDoesNotHaveColor('delete', 'danger');
|
||||
->assertTableBulkActionHasColor('delete', 'warning')
|
||||
->assertTableBulkActionDoesNotHaveColor('delete', 'danger');
|
||||
});
|
||||
```
|
||||
|
||||
### URL
|
||||
|
||||
To ensure an action or bulk action has the correct URL traits, you can use `assertTableActionHasUrl()`, `assertTableActionDoesNotHaveUrl()`, `assertTableActionShouldOpenUrlInNewTab()`, and `assertTableActionShouldNotOpenUrlInNewTab()`:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('links to the correct Filament sites', function () {
|
||||
$post = Post::factory()->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertTableActionHasUrl('filament', 'https://filamentphp.com/')
|
||||
->assertTableActionDoesNotHaveUrl('filament', 'https://github.com/filamentphp/filament')
|
||||
->assertTableActionShouldOpenUrlInNewTab('filament')
|
||||
->assertTableActionShouldNotOpenUrlInNewTab('github');
|
||||
});
|
||||
```
|
||||
|
||||
## Summaries
|
||||
|
||||
To test that a summary calculation is working, you may use the `assertTableColumnSummarySet()` method:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can average values in a column', function () {
|
||||
$posts = Post::factory()->count(10)->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertCanSeeTableRecords($posts)
|
||||
->assertTableColumnSummarySet('rating', 'average', $posts->avg('rating'));
|
||||
});
|
||||
```
|
||||
|
||||
The first argument is the column name, the second is the summarizer ID, and the third is the expected value.
|
||||
|
||||
You may set a summarizer ID by passing it to the `make()` method:
|
||||
|
||||
```php
|
||||
use Filament\Tables\Columns\Summarizers\Average;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
|
||||
TextColumn::make('rating')
|
||||
->summarize(Average::make('average'))
|
||||
```
|
||||
|
||||
The ID should be unique between summarizers in that column.
|
||||
|
||||
### Summarizing only one pagination page
|
||||
|
||||
To calculate the average for only one pagination page, use the `isCurrentPaginationPageOnly` argument:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can average values in a column', function () {
|
||||
$posts = Post::factory()->count(20)->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertCanSeeTableRecords($posts->take(10))
|
||||
->assertTableColumnSummarySet('rating', 'average', $posts->take(10)->avg('rating'), isCurrentPaginationPageOnly: true);
|
||||
});
|
||||
```
|
||||
|
||||
### Testing a range summarizer
|
||||
|
||||
To test a range, pass the minimum and maximum value into a tuple-style `[$minimum, $maximum]` array:
|
||||
|
||||
```php
|
||||
use function Pest\Livewire\livewire;
|
||||
|
||||
it('can average values in a column', function () {
|
||||
$posts = Post::factory()->count(10)->create();
|
||||
|
||||
livewire(PostResource\Pages\ListPosts::class)
|
||||
->assertCanSeeTableRecords($posts)
|
||||
->assertTableColumnSummarySet('rating', 'range', [$posts->min('rating'), $posts->max('rating')]);
|
||||
});
|
||||
```
|
||||
82
vendor/filament/tables/docs/13-upgrade-guide.md
vendored
Normal file
82
vendor/filament/tables/docs/13-upgrade-guide.md
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
---
|
||||
title: Upgrading from v2.x
|
||||
---
|
||||
|
||||
> If you see anything missing from this guide, please do not hesitate to [make a pull request](https://github.com/filamentphp/filament/edit/3.x/packages/tables/docs/13-upgrade-guide.md) to our repository! Any help is appreciated!
|
||||
|
||||
## New requirements
|
||||
|
||||
- Laravel v10.0+
|
||||
- Livewire v3.0+
|
||||
|
||||
Please upgrade Filament before upgrading to Livewire v3. Instructions on how to upgrade Livewire can be found [here](https://livewire.laravel.com/docs/upgrading).
|
||||
|
||||
## Upgrading automatically
|
||||
|
||||
The easiest way to upgrade your app is to run the automated upgrade script. This script will automatically upgrade your application to the latest version of Filament, and make changes to your code which handle most breaking changes.
|
||||
|
||||
```bash
|
||||
composer require filament/upgrade:"^3.2" -W --dev
|
||||
vendor/bin/filament-v3
|
||||
```
|
||||
|
||||
Make sure to carefully follow the instructions, and review the changes made by the script. You may need to make some manual changes to your code afterwards, but the script should handle most of the repetitive work for you.
|
||||
|
||||
Finally, you must run `php artisan filament:install` to finalize the Filament v3 installation. This command must be run for all new Filament projects.
|
||||
|
||||
You can now `composer remove filament/upgrade` as you don't need it anymore.
|
||||
|
||||
> Some plugins you're using may not be available in v3 just yet. You could temporarily remove them from your `composer.json` file until they've been upgraded, replace them with a similar plugins that are v3-compatible, wait for the plugins to be upgraded before upgrading your app, or even write PRs to help the authors upgrade them.
|
||||
|
||||
## Upgrading manually
|
||||
|
||||
After upgrading the dependency via Composer, you should execute `php artisan filament:upgrade` in order to clear any Laravel caches and publish the new frontend assets.
|
||||
|
||||
### High-impact changes
|
||||
|
||||
#### Config file renamed and combined with other Filament packages
|
||||
|
||||
Only one config file is now used for all Filament packages. Most configuration has been moved into other parts of the codebase, and little remains. You should use the v3 documentation as a reference when replace the configuration options you did modify. To publish the new configuration file and remove the old one, run:
|
||||
|
||||
```bash
|
||||
php artisan vendor:publish --tag=filament-config --force
|
||||
rm config/tables.php
|
||||
```
|
||||
|
||||
#### `TABLES_FILESYSTEM_DRIVER` .env variable
|
||||
|
||||
The `TABLES_FILESYSTEM_DRIVER` .env variable has been renamed to `FILAMENT_FILESYSTEM_DISK`. This is to make it more consistent with Laravel, as Laravel v9 introduced this change as well. Please ensure that you update your .env files accordingly, and don't forget production!
|
||||
|
||||
#### New `@filamentScripts` and `@filamentStyles` Blade directives
|
||||
|
||||
The `@filamentScripts` and `@filamentStyles` Blade directives must be added to your Blade layout file/s. Since Livewire v3 no longer uses similar directives, you can replace `@livewireScripts` with `@filamentScripts` and `@livewireStyles` with `@filamentStyles`.
|
||||
|
||||
#### CSS file removed
|
||||
|
||||
The CSS file for form components, `module.esm.css`, has been removed. Check `resources/css/app.css`. That CSS is now automatically loaded by `@filamentStyles`.
|
||||
|
||||
#### JavaScript files removed
|
||||
|
||||
You no longer need to import the `FormsAlpinePlugin` in your JavaScript files. Alpine plugins are now automatically loaded by `@filamentScripts`.
|
||||
|
||||
#### Heroicons have been updated to v2
|
||||
|
||||
The Heroicons library has been updated to v2. This means that any icons you use in your app may have changed names. You can find a list of changes [here](https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0).
|
||||
|
||||
### Medium-impact changes
|
||||
|
||||
#### Secondary color
|
||||
|
||||
Filament v2 had a `secondary` color for many components which was gray. All references to `secondary` should be replaced with `gray` to preserve the same appearance. This frees `secondary` to be registered to a new custom color of your choice.
|
||||
|
||||
#### `BadgeColumn::enum()` removed
|
||||
|
||||
You can use a `formatStateUsing()` function to transform text.
|
||||
|
||||
#### Enum classes moved
|
||||
|
||||
The following enum classes have moved:
|
||||
|
||||
- `Filament\Tables\Actions\Position` has moved to `Filament\Tables\Enums\ActionsPosition`.
|
||||
- `Filament\Tables\Actions\RecordCheckboxPosition` has moved to `Filament\Tables\Enums\RecordCheckboxPosition`.
|
||||
- `Filament\Tables\Filters\Layout` has moved to `Filament\Tables\Enums\FiltersLayout`.
|
||||
228
vendor/filament/tables/resources/js/components/table.js
vendored
Normal file
228
vendor/filament/tables/resources/js/components/table.js
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
export default function table() {
|
||||
return {
|
||||
collapsedGroups: [],
|
||||
|
||||
isLoading: false,
|
||||
|
||||
selectedRecords: [],
|
||||
|
||||
shouldCheckUniqueSelection: true,
|
||||
|
||||
lastCheckedRecord: null,
|
||||
|
||||
init: function () {
|
||||
this.$wire.$on('deselectAllTableRecords', () =>
|
||||
this.deselectAllRecords(),
|
||||
)
|
||||
|
||||
this.$watch('selectedRecords', () => {
|
||||
if (!this.shouldCheckUniqueSelection) {
|
||||
this.shouldCheckUniqueSelection = true
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
this.selectedRecords = [...new Set(this.selectedRecords)]
|
||||
|
||||
this.shouldCheckUniqueSelection = false
|
||||
})
|
||||
|
||||
this.$nextTick(() => this.watchForCheckboxClicks())
|
||||
|
||||
Livewire.hook('element.init', ({ component }) => {
|
||||
if (component.id === this.$wire.id) {
|
||||
this.watchForCheckboxClicks()
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
mountAction: function (name, record = null) {
|
||||
this.$wire.set('selectedTableRecords', this.selectedRecords, false)
|
||||
this.$wire.mountTableAction(name, record)
|
||||
},
|
||||
|
||||
mountBulkAction: function (name) {
|
||||
this.$wire.set('selectedTableRecords', this.selectedRecords, false)
|
||||
this.$wire.mountTableBulkAction(name)
|
||||
},
|
||||
|
||||
toggleSelectRecordsOnPage: function () {
|
||||
const keys = this.getRecordsOnPage()
|
||||
|
||||
if (this.areRecordsSelected(keys)) {
|
||||
this.deselectRecords(keys)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
this.selectRecords(keys)
|
||||
},
|
||||
|
||||
toggleSelectRecordsInGroup: async function (group) {
|
||||
this.isLoading = true
|
||||
|
||||
if (this.areRecordsSelected(this.getRecordsInGroupOnPage(group))) {
|
||||
this.deselectRecords(
|
||||
await this.$wire.getGroupedSelectableTableRecordKeys(group),
|
||||
)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
this.selectRecords(
|
||||
await this.$wire.getGroupedSelectableTableRecordKeys(group),
|
||||
)
|
||||
|
||||
this.isLoading = false
|
||||
},
|
||||
|
||||
getRecordsInGroupOnPage: function (group) {
|
||||
const keys = []
|
||||
|
||||
for (let checkbox of this.$root?.getElementsByClassName(
|
||||
'fi-ta-record-checkbox',
|
||||
) ?? []) {
|
||||
if (checkbox.dataset.group !== group) {
|
||||
continue
|
||||
}
|
||||
|
||||
keys.push(checkbox.value)
|
||||
}
|
||||
|
||||
return keys
|
||||
},
|
||||
|
||||
getRecordsOnPage: function () {
|
||||
const keys = []
|
||||
|
||||
for (let checkbox of this.$root?.getElementsByClassName(
|
||||
'fi-ta-record-checkbox',
|
||||
) ?? []) {
|
||||
keys.push(checkbox.value)
|
||||
}
|
||||
|
||||
return keys
|
||||
},
|
||||
|
||||
selectRecords: function (keys) {
|
||||
for (let key of keys) {
|
||||
if (this.isRecordSelected(key)) {
|
||||
continue
|
||||
}
|
||||
|
||||
this.selectedRecords.push(key)
|
||||
}
|
||||
},
|
||||
|
||||
deselectRecords: function (keys) {
|
||||
for (let key of keys) {
|
||||
let index = this.selectedRecords.indexOf(key)
|
||||
|
||||
if (index === -1) {
|
||||
continue
|
||||
}
|
||||
|
||||
this.selectedRecords.splice(index, 1)
|
||||
}
|
||||
},
|
||||
|
||||
selectAllRecords: async function () {
|
||||
this.isLoading = true
|
||||
|
||||
this.selectedRecords =
|
||||
await this.$wire.getAllSelectableTableRecordKeys()
|
||||
|
||||
this.isLoading = false
|
||||
},
|
||||
|
||||
deselectAllRecords: function () {
|
||||
this.selectedRecords = []
|
||||
},
|
||||
|
||||
isRecordSelected: function (key) {
|
||||
return this.selectedRecords.includes(key)
|
||||
},
|
||||
|
||||
areRecordsSelected: function (keys) {
|
||||
return keys.every((key) => this.isRecordSelected(key))
|
||||
},
|
||||
|
||||
toggleCollapseGroup: function (group) {
|
||||
if (this.isGroupCollapsed(group)) {
|
||||
this.collapsedGroups.splice(
|
||||
this.collapsedGroups.indexOf(group),
|
||||
1,
|
||||
)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
this.collapsedGroups.push(group)
|
||||
},
|
||||
|
||||
isGroupCollapsed: function (group) {
|
||||
return this.collapsedGroups.includes(group)
|
||||
},
|
||||
|
||||
resetCollapsedGroups: function () {
|
||||
this.collapsedGroups = []
|
||||
},
|
||||
|
||||
watchForCheckboxClicks: function () {
|
||||
let checkboxes =
|
||||
this.$root?.getElementsByClassName('fi-ta-record-checkbox') ??
|
||||
[]
|
||||
|
||||
for (let checkbox of checkboxes) {
|
||||
// Remove existing listener to avoid duplicates
|
||||
checkbox.removeEventListener('click', this.handleCheckboxClick)
|
||||
|
||||
checkbox.addEventListener('click', (event) =>
|
||||
this.handleCheckboxClick(event, checkbox),
|
||||
)
|
||||
}
|
||||
},
|
||||
|
||||
handleCheckboxClick: function (event, checkbox) {
|
||||
if (!this.lastChecked) {
|
||||
this.lastChecked = checkbox
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
if (event.shiftKey) {
|
||||
let checkboxes = Array.from(
|
||||
this.$root?.getElementsByClassName(
|
||||
'fi-ta-record-checkbox',
|
||||
) ?? [],
|
||||
)
|
||||
|
||||
if (!checkboxes.includes(this.lastChecked)) {
|
||||
this.lastChecked = checkbox
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
let start = checkboxes.indexOf(this.lastChecked)
|
||||
let end = checkboxes.indexOf(checkbox)
|
||||
|
||||
let range = [start, end].sort((a, b) => a - b)
|
||||
let values = []
|
||||
|
||||
for (let i = range[0]; i <= range[1]; i++) {
|
||||
checkboxes[i].checked = checkbox.checked
|
||||
|
||||
values.push(checkboxes[i].value)
|
||||
}
|
||||
|
||||
if (checkbox.checked) {
|
||||
this.selectRecords(values)
|
||||
} else {
|
||||
this.deselectRecords(values)
|
||||
}
|
||||
}
|
||||
|
||||
this.lastChecked = checkbox
|
||||
},
|
||||
}
|
||||
}
|
||||
0
vendor/filament/tables/resources/js/index.js
vendored
Normal file
0
vendor/filament/tables/resources/js/index.js
vendored
Normal file
482
vendor/filament/tables/resources/lang/ar/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/ar/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'منشئ الاستعلام',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'العملية',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'المجموعات',
|
||||
|
||||
'block' => [
|
||||
'label' => 'فصل (أو)',
|
||||
'or' => 'أو',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'القواعد',
|
||||
|
||||
'item' => [
|
||||
'and' => 'و',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(بدون قواعد)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'و',
|
||||
'or' => 'أو',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'معبأ',
|
||||
'inverse' => 'فارغ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute معبأ',
|
||||
'inverse' => ':attribute فارغ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'صحيح',
|
||||
'inverse' => 'خاطئ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute صحيح',
|
||||
'inverse' => ':attribute خاطئ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'بعد',
|
||||
'inverse' => 'ليس بعد',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute بعد :date',
|
||||
'inverse' => ':attribute ليس بعد :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'قبل',
|
||||
'inverse' => 'ليس قبل',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute قبل :date',
|
||||
'inverse' => ':attribute ليس قبل :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'تاريخ',
|
||||
'inverse' => 'ليس تاريخ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute هو :date',
|
||||
'inverse' => ':attribute هو ليس :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'شهر',
|
||||
'inverse' => 'ليس شهر',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute هو :month',
|
||||
'inverse' => ':attribute هو ليس :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'سنة',
|
||||
'inverse' => 'ليس سنة',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute هو :year',
|
||||
'inverse' => ':attribute هو ليس :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'التاريخ',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'الشهر',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'السنة',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'يساوي',
|
||||
'inverse' => 'لا يساوي',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute يساوي :number',
|
||||
'inverse' => ':attribute لا يساوي :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'الحد الأقصى',
|
||||
'inverse' => 'أكبر من',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute حده الأقصى :number',
|
||||
'inverse' => ':attribute أكبر من :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'الحد الأدنى',
|
||||
'inverse' => 'أقل من',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute حده الأدنى :number',
|
||||
'inverse' => ':attribute أقل من :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'المتوسط',
|
||||
'summary' => 'متوسط :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'الأعلى',
|
||||
'summary' => 'الأعلى :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'الأدنى',
|
||||
'summary' => 'الأدنى :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'المجموع',
|
||||
'summary' => 'مجموع :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'الإجمالي',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'الرقم',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'يملك',
|
||||
'inverse' => 'لا يملك',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'يملك :count :relationship',
|
||||
'inverse' => 'لا يملك :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'يملك الحد الأقصى',
|
||||
'inverse' => 'يملك أكثر من',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'يملك كحد أقصى :count :relationship',
|
||||
'inverse' => 'يملك أكثر من :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'يملك الحد الأدنى',
|
||||
'inverse' => 'يملك أقل من',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'يملك كحد أدنى :count :relationship',
|
||||
'inverse' => 'يملك أقل من :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'فارغ',
|
||||
'inverse' => 'ليس فارغا',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship فارغ',
|
||||
'inverse' => ':relationship ليس فارغاً',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'هو',
|
||||
'inverse' => 'ليس',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'يحتوي',
|
||||
'inverse' => 'لا يحتوي',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship هو :values',
|
||||
'inverse' => ':relationship ليس :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship يحتوي :values',
|
||||
'inverse' => ':relationship لا يحتوي :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => '، ',
|
||||
'final' => ' أو ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'القيمة',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'القيم',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'العدد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'هو',
|
||||
'inverse' => 'ليس',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute هو :values',
|
||||
'inverse' => ':attribute ليس :values',
|
||||
'values_glue' => [
|
||||
', ' => '، ',
|
||||
'final' => ' أو ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'القيمة',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'القيم',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'يحتوي',
|
||||
'inverse' => 'لا يحتوي',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute يحتوي :text',
|
||||
'inverse' => ':attribute لا يحتوي :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ينتهي بـ',
|
||||
'inverse' => 'لا ينتهي بـ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ينتهي بـ :text',
|
||||
'inverse' => ':attribute لا ينتهي بـ :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'يساوي',
|
||||
'inverse' => 'لا يساوي',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute يساوي :text',
|
||||
'inverse' => ':attribute لا يساوي :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'يبدأ بـ',
|
||||
'inverse' => 'لا يبدأ بـ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute يبدأ بـ :text',
|
||||
'inverse' => ':attribute لا يبدأ بـ :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'النص',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'إضافة قاعدة',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'إضافة مجموعة قواعد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/ar/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/ar/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'الأعمدة',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'عرض :count أقل',
|
||||
'expand_list' => 'عرض :count أكثر',
|
||||
],
|
||||
|
||||
'more_list_items' => 'و :count إضافية',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'تحديد/إلغاء تحديد كافة العناصر للإجراءات الجماعية.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'تحديد/إلغاء تحديد العنصر :key للإجراءات الجماعية.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'تحديد/إلغاء تحديد المجموعة :title للإجراءات الجماعية.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'بحث',
|
||||
'placeholder' => 'بحث',
|
||||
'indicator' => 'بحث',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'الملخص',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'كافة :label',
|
||||
'group' => 'ملخص :group',
|
||||
'page' => 'هذه الصفحة',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'المتوسط',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'العدد',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'المجموع',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'إنهاء إعادة ترتيب السجلات',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'إعادة ترتيب السجلات',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'تصفية',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'مجموعة',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'الإجراءات',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'تبديل الأعمدة',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'لا توجد :model',
|
||||
|
||||
'description' => 'قم بإضافة :model للبدء.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'تطبيق التصفيات',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'إلغاء التصفيات',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'إلغاء كافة التصفيات',
|
||||
'tooltip' => 'إلغاء كافة التصفيات',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'إعادة ضبط التصفيات',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'التصفيات',
|
||||
|
||||
'indicator' => 'التصفيات النشطة',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'الكل',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'الكل',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'السجلات المحذوفة',
|
||||
|
||||
'only_trashed' => 'السجلات المحذوفة فقط',
|
||||
|
||||
'with_trashed' => 'مع السجلات المحذوفة',
|
||||
|
||||
'without_trashed' => 'بدون السجلات المحذوفة',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'تجميع حسب',
|
||||
'placeholder' => 'تجميع حسب',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'إتجاه التجميع',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'تصاعدي',
|
||||
'desc' => 'تنازلي',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'قم بسحب وإسقاط السجلات بالترتيب.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '{1} تم تحديد سجل واحد|[3,10] تم تحديد :count سجلات |[2,*] تم تحديد :count سجل',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'تحديد كل السجلات :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'إلغاء تحديد الكل',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'ترتيب حسب',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'اتجاه الترتيب',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'تصاعدي',
|
||||
'desc' => 'تنازلي',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
217
vendor/filament/tables/resources/lang/az/table.php
vendored
Normal file
217
vendor/filament/tables/resources/lang/az/table.php
vendored
Normal file
@@ -0,0 +1,217 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Sütunlar',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'və :count daha',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Çoxlu hərəkətlər üçün bütün elementləri seç/seçimi yığışdır.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Çoxlu hərəkətlər üçün :key elementini seç/seçimi yığışdır.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Çoxlu hərəkətlər üçün :title qrupunu seç/seçimi yığışdır.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Axtar',
|
||||
'placeholder' => 'Axtar',
|
||||
'indicator' => 'Axtar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Xülasə',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Bütün :label',
|
||||
'group' => ':group xülasəsi',
|
||||
'page' => 'Bu səhifə',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Ortalama',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Say',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Toplam',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Sıralamanı yekunlaşdır',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Sıralamanı başlat',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtrlə',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Qrupla',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Çoxlu hərəkətlər',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Sütunları göstər/gizlət',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => ':model Yoxdur',
|
||||
|
||||
'description' => 'Başlamaq üçün bir :model yaradın.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Filtri yığışdır',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Bütün filtrləri yığışdır',
|
||||
'tooltip' => 'Bütün filtrləri yığışdır',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Sıfırla',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtrlər',
|
||||
|
||||
'indicator' => 'Aktiv filtrlər',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Hamısı',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Hamısı',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Silinmiş məlumatlar',
|
||||
|
||||
'only_trashed' => 'Sadəcə silinmiş məlumatlar',
|
||||
|
||||
'with_trashed' => 'Silinmiş məlumatlarla birlikdə',
|
||||
|
||||
'without_trashed' => 'Silinmiş məlumatlar olmadan',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Qrupla',
|
||||
'placeholder' => 'Qrupla',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Qrup istiqaməti',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Artan',
|
||||
'desc' => 'Azalan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Məlumatları sıralamaq üçün sürüşdürüb buraxın.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 məlumat seçildi|:count məlumat seçildi',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Bütün :count məlumatı seç',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Bütün seçimləri yığışdır',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Buna görə sırala',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Sıralama istiqaməti',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Artan',
|
||||
'desc' => 'Azalan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/bg/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/bg/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Генератор на заявки',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Оператор',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Групи',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Дизюнкция (ИЛИ)',
|
||||
'or' => 'ИЛИ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Правила',
|
||||
|
||||
'item' => [
|
||||
'and' => 'И',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(няма правила)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'И',
|
||||
'or' => 'ИЛИ',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е попълнено',
|
||||
'inverse' => 'Е празно',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е попълнен',
|
||||
'inverse' => ':attribute е празен',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е истина',
|
||||
'inverse' => 'Не е истина',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е истина',
|
||||
'inverse' => ':attribute не е истина',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'E след',
|
||||
'inverse' => 'Не е след',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е след :date',
|
||||
'inverse' => ':attribute не е след :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е преди',
|
||||
'inverse' => 'Не е преди',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е преди :date',
|
||||
'inverse' => ':attribute не е преди :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е дата',
|
||||
'inverse' => 'Не е дата',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е :date',
|
||||
'inverse' => ':attribute не е :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е месец',
|
||||
'inverse' => 'Не е месец',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е :month',
|
||||
'inverse' => ':attribute не е :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е година',
|
||||
'inverse' => 'Не е година',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е :year',
|
||||
'inverse' => ':attribute не е :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Дата',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Месец',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Година',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е равно на',
|
||||
'inverse' => 'Не е равно на',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е равно на :number',
|
||||
'inverse' => ':attribute не е равно на :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е максимум',
|
||||
'inverse' => 'Е по-голямо от',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е максимум :number',
|
||||
'inverse' => ':attribute е по-голямо от :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е минимум',
|
||||
'inverse' => 'Е по-малко от',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е минимум :number',
|
||||
'inverse' => ':attribute е по-малко от :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Средно',
|
||||
'summary' => 'Средно на :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Макс',
|
||||
'summary' => 'Макс :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Мин',
|
||||
'summary' => 'Мин :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Сума',
|
||||
'summary' => 'Сума на :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Агрегат',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Число',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Има',
|
||||
'inverse' => 'Няма',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Има :count :relationship',
|
||||
'inverse' => 'Няма :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Има максимум',
|
||||
'inverse' => 'Има повече от',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Има максимум :count :relationship',
|
||||
'inverse' => 'Има повече от :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Има минимум',
|
||||
'inverse' => 'Има по-малко от',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Има минимум :count :relationship',
|
||||
'inverse' => 'Има по-малко от :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е празно',
|
||||
'inverse' => 'Не е празно',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship е празно',
|
||||
'inverse' => ':relationship не е празно',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Е',
|
||||
'inverse' => 'Не е',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Съдържа',
|
||||
'inverse' => 'Не съдържа',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship е :values',
|
||||
'inverse' => ':relationship не е :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship съдържа :values',
|
||||
'inverse' => ':relationship не съдържа :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' или ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Стойност',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Стойности',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Брой',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е',
|
||||
'inverse' => 'Не е',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е :values',
|
||||
'inverse' => ':attribute не е :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' или ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Стойност',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Стойности',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Съдържа',
|
||||
'inverse' => 'Не съдържа',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute съдържа :text',
|
||||
'inverse' => ':attribute не съдържа :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Завършва на',
|
||||
'inverse' => 'Не завършва на',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute завършва на :text',
|
||||
'inverse' => ':attribute не завършва на :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Е равно на',
|
||||
'inverse' => 'Не е равно на',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute е равно на :text',
|
||||
'inverse' => ':attribute не е равно на :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Започва с',
|
||||
'inverse' => 'Не започва с',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute започва с :text',
|
||||
'inverse' => ':attribute не започва с :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Текст',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Добави правило',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Добави група',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/bg/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/bg/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Колони',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Скрий :count повече',
|
||||
'expand_list' => 'Покажи :count повече',
|
||||
],
|
||||
|
||||
'more_list_items' => 'и още :count',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Изберете/премахнете избора на всички записи на тази страница.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Изберете/премахнете избора на :key за масови действия.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Изберете/премахнете избора на група :title за масови действия.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Търси',
|
||||
'placeholder' => 'Търси',
|
||||
'indicator' => 'Търсене...',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Обобщение',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Всички :label',
|
||||
'group' => 'Обебщение на :group',
|
||||
'page' => 'Текуща страница',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Средно',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Брой',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Сума',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Приключи пренареждането',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Пренареди',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Филтрирай',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Групирай',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Отвори масови действия',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Превключи колони',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Няма :model',
|
||||
|
||||
'description' => 'Създай нов :model за да започнеш.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Приложи',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Премахни',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Премахни всички',
|
||||
'tooltip' => 'Премахни всички филтри',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Нулирай',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Филтри',
|
||||
|
||||
'indicator' => 'Филтриране',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Всички',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Избери',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Изтрити записи',
|
||||
|
||||
'only_trashed' => 'Само изтрити записи',
|
||||
|
||||
'with_trashed' => 'С изтрити записи',
|
||||
|
||||
'without_trashed' => 'Без изтрити записи',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Групирай по',
|
||||
'placeholder' => 'Избери поле за групиране',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Посока на групиране',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Възходящо',
|
||||
'desc' => 'Низходящо',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Премествай записите с мишката.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 запис избран|:count записа избрани',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Избери всички :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Премахнете избора на всички',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Сортирай по',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Посока на сортиране',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Възходящо',
|
||||
'desc' => 'Низходящо',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
136
vendor/filament/tables/resources/lang/bn/table.php
vendored
Normal file
136
vendor/filament/tables/resources/lang/bn/table.php
vendored
Normal file
@@ -0,0 +1,136 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'এবং আরো :count',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'search' => [
|
||||
'label' => 'খুঁজুন',
|
||||
'placeholder' => 'খুঁজুন',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'রেকর্ড পুনর্বিন্যাস সম্পন্ন করুন',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'রেকর্ড পুনর্বিন্যাস করুন',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'অনুসন্ধান করুন',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'কার্যক্রম গুলো দেখুন',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'কলাম টগল করুন',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
'heading' => 'রেকর্ড পাওয়া যায়নি',
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'অনুসন্ধান সরান',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'সব অনুসন্ধান সরান',
|
||||
'tooltip' => 'সব অনুসন্ধান সরান',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'অনুসন্ধান সরান',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'indicator' => 'সক্রিয় অনুসন্ধান',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'সব',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'সব',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'রেকর্ড মুছে ফেলুন',
|
||||
|
||||
'only_trashed' => 'শুধু মুছে ফেলা রেকর্ডগুলো',
|
||||
|
||||
'with_trashed' => 'মুছে ফেলা রেকর্ডগুলোর সাথে',
|
||||
|
||||
'without_trashed' => 'মুছে ফেলা রেকর্ডগুলো ছাড়া',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'ক্রমানুসারে রেকর্ড টেনে আনুন।',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '১ টি রেকর্ড নির্বাচিত। | :count টি রেকর্ড নির্বাচিত।',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'সব নির্বাচিত করুন',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'সব অনির্বাচিত করুন',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'ক্রমানুসার',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'ক্রমানুসারের দিক',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'ঊর্ধ্বগামী',
|
||||
'desc' => 'অধোগামী',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
144
vendor/filament/tables/resources/lang/bs/table.php
vendored
Normal file
144
vendor/filament/tables/resources/lang/bs/table.php
vendored
Normal file
@@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'i :count više',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Odaberi/poništi odabir svih stavki za grupne radnje.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Odaberi/poništi odabir stavke :key za grupne radnje.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Pretraga',
|
||||
'placeholder' => 'Tražite',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Završi preuređivanje zapisa',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Preuredi zapise',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filter',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Otvorene akcije',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Preklopiti kolone',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
'heading' => 'Nije pronađen nijedan zapis',
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Skloni filter',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Skloni svi filteri',
|
||||
'tooltip' => 'Skloni svi filteri',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Resetujte filtere',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'indicator' => 'Aktivne filteri',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Svi',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Svi',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Izbrisani zapisi',
|
||||
|
||||
'only_trashed' => 'Samo izbrisani zapisi',
|
||||
|
||||
'with_trashed' => 'Sa izbrisanim zapisima',
|
||||
|
||||
'without_trashed' => 'Bez izbrisanih zapisa',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Prevucite i ispustite zapise u red.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 izabran zapis|:count izabrani zapisi',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Izaberite sve :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Poništitite izbor',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Sortirajte po',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Sortirajte po smjeru',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Uzlazno',
|
||||
'desc' => 'Silazno',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/ca/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/ca/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Constructor de consultes',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operador',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Grups',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjunció (O)',
|
||||
'or' => 'O',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Regles',
|
||||
|
||||
'item' => [
|
||||
'and' => 'Y',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Sense regles)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'Y',
|
||||
'or' => 'O',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Està emplenat',
|
||||
'inverse' => 'Està en blanc',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute està emplenat',
|
||||
'inverse' => ':attribute està en blanc',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'És cert',
|
||||
'inverse' => 'És fals',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute és cert',
|
||||
'inverse' => ':attribute és fals',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'És posterior a',
|
||||
'inverse' => 'No és posterior a',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute és posterior a :date',
|
||||
'inverse' => ':attribute no és posterior a :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'És anterior a',
|
||||
'inverse' => 'No és anterior a',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute és anterior a :date',
|
||||
'inverse' => ':attribute no és anterior a :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'És a la data',
|
||||
'inverse' => 'No és a la data',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute és a :date',
|
||||
'inverse' => ':attribute no és a :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'És en el mes de',
|
||||
'inverse' => 'No és en el mes de',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute és al :month',
|
||||
'inverse' => ':attribute no és al :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => "És a l'any",
|
||||
'inverse' => "No és a l'any",
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute és al :year',
|
||||
'inverse' => ':attribute no és al :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Data',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Mes',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Any',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Igual a',
|
||||
'inverse' => 'No és igual a',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute és igual a :number',
|
||||
'inverse' => ':attribute no és igual a :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'És màxim',
|
||||
'inverse' => 'És major que',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute és màxim :number',
|
||||
'inverse' => ':attribute és major que :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'És mínim',
|
||||
'inverse' => 'És menor que',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute és mínim :number',
|
||||
'inverse' => ':attribute és menor que :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Promig',
|
||||
'summary' => ':Attribute promig',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Màx',
|
||||
'summary' => 'Màxim :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Mín',
|
||||
'summary' => 'Mínim :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Suma',
|
||||
'summary' => 'Suma de :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Agregat',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Número',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Té',
|
||||
'inverse' => 'No té',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Té :count :relationship',
|
||||
'inverse' => 'No té :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Té màxim',
|
||||
'inverse' => 'Té més de',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Té màxim :count :relationship',
|
||||
'inverse' => 'Té més de :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Té mínim',
|
||||
'inverse' => 'Té menys de',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Té mínim :count :relationship',
|
||||
'inverse' => 'Té menys de :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'És buit',
|
||||
'inverse' => 'No és buit',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship és buit',
|
||||
'inverse' => ':relationship no és buit',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'És',
|
||||
'inverse' => 'No és',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Conté',
|
||||
'inverse' => 'No conté',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship són :values',
|
||||
'inverse' => ':relationship no són :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship conté :values',
|
||||
'inverse' => ':relationship no conté :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' o ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valor',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valors',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Recompte',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'És',
|
||||
'inverse' => 'No és',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute és :values',
|
||||
'inverse' => ':attribute no és :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' o ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valor',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valors',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Conté',
|
||||
'inverse' => 'No conté',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute conté :text',
|
||||
'inverse' => ':attribute no conté :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Acaba en',
|
||||
'inverse' => 'No acaba en',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute acaba en :text',
|
||||
'inverse' => ':attribute no acaba en :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'És igual a',
|
||||
'inverse' => 'No és igual a',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute és igual a :text',
|
||||
'inverse' => ':attribute no és igual a :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Comença amb',
|
||||
'inverse' => 'No comença amb',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute comença amb :text',
|
||||
'inverse' => ':attribute no comença amb :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Agregar regla',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Agregar grup de regles',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/ca/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/ca/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Columnes',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Mostrar-ne :count menys',
|
||||
'expand_list' => 'Mostrar-ne :count més',
|
||||
],
|
||||
|
||||
'more_list_items' => 'i :count més',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Seleccionar/desseleccionar tots els elements per les accions massives.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Seleccionar/desseleccionar l\'element :key per accions massives.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Seleccionar/desseleccionar grup :title per accions massives.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Cerca',
|
||||
'placeholder' => 'Cercar',
|
||||
'indicator' => 'Cercar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Resum',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Tots :label',
|
||||
'group' => 'Resum del :group',
|
||||
'page' => 'Aquesta pàgina',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Mitja',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Recompte',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Suma',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Acabar de reorganitzar registres',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Reorganitzar registres',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtrar',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grup',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Accions massives',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Alternar columnes',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'No s\'han trobat registres',
|
||||
|
||||
'description' => 'Crea un :model per començar.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Aplicar filtres',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Esborrar filtre',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Esborrar tots els filtres',
|
||||
'tooltip' => 'Esborrar tots els filtres',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Restablir',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtres',
|
||||
|
||||
'indicator' => 'Filtres actius',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Tots',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Tots',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Registres esborrats',
|
||||
|
||||
'only_trashed' => 'Només registres esborrats',
|
||||
|
||||
'with_trashed' => 'Amb registres esborrats',
|
||||
|
||||
'without_trashed' => 'Sense registres esborrats',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Agrupar per',
|
||||
'placeholder' => 'Agrupar per',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Sentit',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascendent',
|
||||
'desc' => 'Descendent',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Arrossega i deixa anar els registres per ordenar-los.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 registre seleccionat|:count registres seleccionats',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Selecciona\'ls tots :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Desselecciona\'ls tots',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Ordenar per',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Sentit',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascendent',
|
||||
'desc' => 'Descendent',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
213
vendor/filament/tables/resources/lang/ckb/table.php
vendored
Normal file
213
vendor/filament/tables/resources/lang/ckb/table.php
vendored
Normal file
@@ -0,0 +1,213 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'ستوونەکان',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'وە :count ی زیاتر',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'دیاریکردن/لابردنی دیاریکردنەکان بۆ هەموو تۆمارەکان بۆ کۆمەڵەی کردارەکان.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'دیاریکردن/لابردنی دیاریکراوەکان بۆ :key بۆ کۆمەڵەی کردارەکان.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'گەڕان',
|
||||
'placeholder' => 'گەڕان',
|
||||
'indicator' => 'گەڕان',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'پوختە',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'هەموو :label',
|
||||
'group' => ':group پوختە',
|
||||
'page' => 'ئەم پەڕەیە',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'تێکڕا',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'ژماردەکان',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'کۆی گشتی',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'تەواوکردنی ڕێکخستنی تۆمارەکان',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'ڕێکخستنی تۆمارەکان',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'فلتەر',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'کۆمەڵ',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'کۆمەڵی کردارەکان',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'پشاندان/لابردنی ستوونەکان',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'هیچ تۆمارێکی :model بوونی نییە.',
|
||||
|
||||
'description' => 'تۆمارێکی :model دروس بکە بۆ دەستپێکردن.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'سڕینەوەی فلتەر',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'سڕینەوەی هەموو فلتەرەکان',
|
||||
'tooltip' => 'سڕینەوەی هەموو فلتەرەکان',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'دۆخی سەرەتا',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'فلتەرەکان',
|
||||
|
||||
'indicator' => 'فلتەرە چالاککراوەکان',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'هەموو',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'هەموو',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'تۆمارە سڕدراوەکان',
|
||||
|
||||
'only_trashed' => 'تەنها تۆمارە سڕدراوەکان',
|
||||
|
||||
'with_trashed' => 'لەگەل تۆمارە سڕدراوەکان',
|
||||
|
||||
'without_trashed' => 'بەبێ تۆمارە سڕدراوەکان',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'کۆمەڵ کردن بە',
|
||||
'placeholder' => 'کۆمەڵ کردن بە',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'ئاڕاستەی کۆمەڵ کردن',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'کەم بۆ زۆر',
|
||||
'desc' => 'زۆر بۆ کەم',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'تۆمارەکان هەڵبگرە و ڕیزیان بکە.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '١ ڕیز دیاریکراوە|:count ڕیز دیاریکراوە',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'هەڵبژاردنی هەموو :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'هەڵنەبژاردنی هەموو',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'کۆمەڵکردن بە',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'ئاڕاستەی کۆمەڵ کردن',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'کەم بۆ زۆر',
|
||||
'desc' => 'زۆر بۆ کەم',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/cs/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/cs/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Query builder',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operátor',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Skupiny',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjunkce (NEBO)',
|
||||
'or' => 'NEBO',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Pravidla',
|
||||
|
||||
'item' => [
|
||||
'and' => 'A',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Žádná pravidla)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'A',
|
||||
'or' => 'NEBO',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Je vyplněno',
|
||||
'inverse' => 'Je prázdné',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute je vyplněno',
|
||||
'inverse' => ':attribute je prázdné',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Je pravda',
|
||||
'inverse' => 'Není pravda',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute je pravda',
|
||||
'inverse' => ':attribute není pravda',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Je po',
|
||||
'inverse' => 'Není po',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute je po :date',
|
||||
'inverse' => ':attribute není po :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Je před',
|
||||
'inverse' => 'Není před',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute je před :date',
|
||||
'inverse' => ':attribute není před :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Je datum',
|
||||
'inverse' => 'Není datum',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute je :date',
|
||||
'inverse' => ':attribute není :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Je měsíc',
|
||||
'inverse' => 'Není měsíc',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute je :month',
|
||||
'inverse' => ':attribute není :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Je rok',
|
||||
'inverse' => 'Není rok',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute je :year',
|
||||
'inverse' => ':attribute není :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Datum',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Měsíc',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Rok',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Rovná se',
|
||||
'inverse' => 'Nerovná se',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute se rovná :number',
|
||||
'inverse' => ':attribute se nerovná :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Je maximální',
|
||||
'inverse' => 'Je větší než',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute je maximálně :number',
|
||||
'inverse' => ':attribute je větší než :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Je minimální',
|
||||
'inverse' => 'Je menší než',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute je minimálně :number',
|
||||
'inverse' => ':attribute je menší než :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Průměr',
|
||||
'summary' => 'Průměr :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Max',
|
||||
'summary' => 'Max :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Min',
|
||||
'summary' => 'Min :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Suma',
|
||||
'summary' => 'Součet :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Agregace',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Číslo',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Má',
|
||||
'inverse' => 'Nemá',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Má :count :relationship',
|
||||
'inverse' => 'Nemá :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Má maximálně',
|
||||
'inverse' => 'Má více než',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Má maximálně :count :relationship',
|
||||
'inverse' => 'Má více než :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Má minimálně',
|
||||
'inverse' => 'Má méně než',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Má minimálně :count :relationship',
|
||||
'inverse' => 'Má méně než :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Je prázdné',
|
||||
'inverse' => 'Není prázdné',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship je prázdné',
|
||||
'inverse' => ':relationship není prázdné',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Je',
|
||||
'inverse' => 'Není',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Obsahuje',
|
||||
'inverse' => 'Neobsahuje',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship je :values',
|
||||
'inverse' => ':relationship není :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship obsahuje :values',
|
||||
'inverse' => ':relationship neobsahuje :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' nebo ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Hodnota',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Hodnoty',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Počet',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Je',
|
||||
'inverse' => 'Není',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute je :values',
|
||||
'inverse' => ':attribute není :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' nebo ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Hodnota',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Hodnoty',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Obsahuje',
|
||||
'inverse' => 'Neobsahuje',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute obsahuje :text',
|
||||
'inverse' => ':attribute neobsahuje :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Končí na',
|
||||
'inverse' => 'Nekončí na',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute končí na :text',
|
||||
'inverse' => ':attribute nekončí na :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Rovná se',
|
||||
'inverse' => 'Nerovná se',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute se rovná :text',
|
||||
'inverse' => ':attribute se nerovná :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Začíná na',
|
||||
'inverse' => 'Nezačíná na',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute začíná na :text',
|
||||
'inverse' => ':attribute nezačíná na :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Přidat pravidlo',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Přidat skupinu pravidel',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
227
vendor/filament/tables/resources/lang/cs/table.php
vendored
Normal file
227
vendor/filament/tables/resources/lang/cs/table.php
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Sloupce',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Zobrazit o :count méně',
|
||||
'expand_list' => 'Zobrazit o :count více',
|
||||
],
|
||||
|
||||
'more_list_items' => 'a 1 další|a :count další| a :count dalších',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Vybrat/odznačit všechny položky pro hromadné akce.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Vybrat/odznačit položku :key pro hromadné akce.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Vybrat/zrušit výběr skupiny :title pro hromadné akce.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Vyhledávání',
|
||||
'placeholder' => 'Hledat',
|
||||
'indicator' => 'Hledat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Shrnutí',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Všechny :label',
|
||||
'group' => ':group shrnutí',
|
||||
'page' => 'Tato stránka',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Průměr',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Počet',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Součet',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Dokončit změnu pořadí položek',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Změnit pořadí položek',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtrovat',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Seskupit',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Otevřít panel akcí',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Skrýt/zobrazit sloupce',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Žádné záznamy nenalezeny',
|
||||
|
||||
'description' => 'Začněte vytvořením :modelu.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Použít filtry',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Odstranit filtr',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Odstranit všechny filtry',
|
||||
'tooltip' => 'Odstranit všechny filtry',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Resetovat filtry',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtrovat',
|
||||
|
||||
'indicator' => 'Aktivní filtry',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Vše',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Vše',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Smazané položky',
|
||||
|
||||
'only_trashed' => 'Pouze smazané položky',
|
||||
|
||||
'with_trashed' => 'Včetně smazaných položek',
|
||||
|
||||
'without_trashed' => 'Bez smazaných položek',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Seskupit podle',
|
||||
'placeholder' => 'Seskupit podle',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Směr seskupení',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Vzestupně',
|
||||
'desc' => 'Sestupně',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Vyberte a přesuňte položky.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '{1} 1 záznam zvolen|[2,4] :count záznamy zvoleny|[5,*] :count záznamů zvoleno',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Označit všechny :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Odznačit všechny',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Seřadit podle',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Směr řazení',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Vzestupně',
|
||||
'desc' => 'Sestupně',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
146
vendor/filament/tables/resources/lang/cy/table.php
vendored
Normal file
146
vendor/filament/tables/resources/lang/cy/table.php
vendored
Normal file
@@ -0,0 +1,146 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'columns' => [
|
||||
|
||||
'tags' => [
|
||||
'more' => 'Ychwanegu :count arall',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Dewis / Dad ddewis pob eitem ar gyfer gweithredoedd swmpus',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Dewis / Dad ddewis eitem :key ar gyfer gweithredoedd swmpus',
|
||||
],
|
||||
|
||||
'search_query' => [
|
||||
'label' => 'Chwilio',
|
||||
'placeholder' => 'Chwilio',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Gorffen ail archebu cofnodion',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Ail archebu cofnodion',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Hidlo',
|
||||
],
|
||||
|
||||
'open_actions' => [
|
||||
'label' => 'Gweithredoedd agored',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Toglo colofnau',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Ni ddarganfuwyd unrhyw gofnodion',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Tynnu hidlydd',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Tynnu pob hidlydd',
|
||||
'tooltip' => 'Tynnu pob hidlydd',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Ailosod hidlyddion',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'indicator' => 'Hidlyddion Gweithredol',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Oll',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Oll',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Cofnodion wedi dileu',
|
||||
|
||||
'only_trashed' => 'Dim ond cofnodion wedi dileu',
|
||||
|
||||
'with_trashed' => 'Gyda chofnodion wedi dileu',
|
||||
|
||||
'without_trashed' => 'Heb gofnodion wedi dileu',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Llusgo a gollwn y cofnodion mewn trefn',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => 'Dewiswyd 1 cofnod|:count rcyfrif wedi`u dewis',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Dewiswch bob :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Dad-ddewis popeth',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Trefnu fesul',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Trefnu cyfeiriad',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Esgynnol',
|
||||
'desc' => 'Disgynnol',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/da/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/da/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Query builder',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operator',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Groups',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjunction (OR)',
|
||||
'or' => 'OR',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Rules',
|
||||
|
||||
'item' => [
|
||||
'and' => 'AND',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(No rules)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'AND',
|
||||
'or' => 'OR',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is filled',
|
||||
'inverse' => 'Is blank',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is filled',
|
||||
'inverse' => ':attribute is blank',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is true',
|
||||
'inverse' => 'Is false',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is true',
|
||||
'inverse' => ':attribute is false',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is after',
|
||||
'inverse' => 'Is not after',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is after :date',
|
||||
'inverse' => ':attribute is not after :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is before',
|
||||
'inverse' => 'Is not before',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is before :date',
|
||||
'inverse' => ':attribute is not before :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is date',
|
||||
'inverse' => 'Is not date',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :date',
|
||||
'inverse' => ':attribute is not :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is month',
|
||||
'inverse' => 'Is not month',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :month',
|
||||
'inverse' => ':attribute is not :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is year',
|
||||
'inverse' => 'Is not year',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :year',
|
||||
'inverse' => ':attribute is not :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Date',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Month',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Equals',
|
||||
'inverse' => 'Does not equal',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute equals :number',
|
||||
'inverse' => ':attribute does not equal :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is maximum',
|
||||
'inverse' => 'Is greater than',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is maximum :number',
|
||||
'inverse' => ':attribute is greater than :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is minimum',
|
||||
'inverse' => 'Is less than',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is minimum :number',
|
||||
'inverse' => ':attribute is less than :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Average',
|
||||
'summary' => 'Average :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Max',
|
||||
'summary' => 'Max :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Min',
|
||||
'summary' => 'Min :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Sum',
|
||||
'summary' => 'Sum of :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Aggregate',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Has',
|
||||
'inverse' => 'Does not have',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Has :count :relationship',
|
||||
'inverse' => 'Does not have :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Has maximum',
|
||||
'inverse' => 'Has more than',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Has maximum :count :relationship',
|
||||
'inverse' => 'Has more than :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Has minimum',
|
||||
'inverse' => 'Has less than',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Has minimum :count :relationship',
|
||||
'inverse' => 'Has less than :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is empty',
|
||||
'inverse' => 'Is not empty',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship is empty',
|
||||
'inverse' => ':relationship is not empty',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Is',
|
||||
'inverse' => 'Is not',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Contains',
|
||||
'inverse' => 'Does not contain',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship is :values',
|
||||
'inverse' => ':relationship is not :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship contains :values',
|
||||
'inverse' => ':relationship does not contain :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' or ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Value',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Values',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Count',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is',
|
||||
'inverse' => 'Is not',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :values',
|
||||
'inverse' => ':attribute is not :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' or ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Value',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Values',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Contains',
|
||||
'inverse' => 'Does not contain',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute contains :text',
|
||||
'inverse' => ':attribute does not contain :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ends with',
|
||||
'inverse' => 'Does not end with',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ends with :text',
|
||||
'inverse' => ':attribute does not end with :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Equals',
|
||||
'inverse' => 'Does not equal',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute equals :text',
|
||||
'inverse' => ':attribute does not equal :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Starts with',
|
||||
'inverse' => 'Does not start with',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute starts with :text',
|
||||
'inverse' => ':attribute does not start with :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Add rule',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Add rule group',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
220
vendor/filament/tables/resources/lang/da/table.php
vendored
Normal file
220
vendor/filament/tables/resources/lang/da/table.php
vendored
Normal file
@@ -0,0 +1,220 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Kolonner',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Vis :count mindre',
|
||||
'expand_list' => 'Vis :count flere',
|
||||
],
|
||||
|
||||
'more_list_items' => 'og :count flere',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Vælg/fravælg alle rækker for masse handlinger.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Vælg/fravælg :key for masse handlinger.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Vælg/fravælg gruppe :title til massehandlinger.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Søg',
|
||||
'placeholder' => 'Søg',
|
||||
'indicator' => 'Søg',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Resumé',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Alle :label',
|
||||
'group' => ':group resumé',
|
||||
'page' => 'Denne side',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Gennemsnit',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Antal',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Sum',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
'disable_reordering' => [
|
||||
'label' => 'Afslut omrokering',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Omroker rækker',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtrer',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Gruppe',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Åbn handlinger',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Vælg kolonner',
|
||||
],
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
'heading' => 'Ingen resultater',
|
||||
'description' => 'Opret en :model for at komme igang.',
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Anvend filtre',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Fjern filter',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Fjern alle filtre',
|
||||
'tooltip' => 'Fjern alle filtre',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Nulstil',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtre',
|
||||
|
||||
'indicator' => 'Aktive filtre',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Alle',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Alle',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Slettede rækker',
|
||||
|
||||
'only_trashed' => 'Kun slettede rækker',
|
||||
|
||||
'with_trashed' => 'Med slettede rækker',
|
||||
|
||||
'without_trashed' => 'Uden slettede rækker',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Gruppere på',
|
||||
'placeholder' => 'Gruppere på',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Grupperingsretning',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Stigende',
|
||||
'desc' => 'Faldende',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Træk og slip rækkerne i den ønskede rækkefølge.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 række valgt|:count rækker valgt',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Vælg alle :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Fravælg alle',
|
||||
],
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Sorter efter',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Sorteringsretning',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Stigende',
|
||||
'desc' => 'Faldende',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/de/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/de/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Abfragegenerator',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operator',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Gruppen',
|
||||
|
||||
'block' => [
|
||||
'label' => '(ODER) Trennung',
|
||||
'or' => 'ODER',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Bedingungen',
|
||||
|
||||
'item' => [
|
||||
'and' => 'UND',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Keine Bedinungen)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'UND',
|
||||
'or' => 'ODER',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ausgefüllt',
|
||||
'inverse' => 'leer',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':Attribut ist vorhangen',
|
||||
'inverse' => ':Attribut ist nicht vorhanden',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ist wahr',
|
||||
'inverse' => 'ist falsch',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ist wahr',
|
||||
'inverse' => ':attribute ist falsch',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'nach',
|
||||
'inverse' => 'vor',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is after :date',
|
||||
'inverse' => ':attribute is not after :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ist vor',
|
||||
'inverse' => 'ist nach',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ist vor :date',
|
||||
'inverse' => ':attribute ist nicht vor :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ist Datum',
|
||||
'inverse' => 'ist kein Datum',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ist :date',
|
||||
'inverse' => ':attribute ist kein :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ist ein ',
|
||||
'inverse' => 'ist kein Monat',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ist :month',
|
||||
'inverse' => ':attribute ist kein :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ist ein Jahr',
|
||||
'inverse' => 'ist kein Jahr',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ist ein :year',
|
||||
'inverse' => ':attribute ist kein :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Datum',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Monat',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Jahr',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ist gleich',
|
||||
'inverse' => 'ist nicht gleich',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ist gleich :number',
|
||||
'inverse' => ':attribute ist nicht gleich :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Maximal',
|
||||
'inverse' => 'Größer als',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ist maximal :number',
|
||||
'inverse' => ':attribute ist größer als :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Minimum',
|
||||
'inverse' => 'ist kleiner als',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ist Minimum von :number',
|
||||
'inverse' => ':attribute ist kleiner als :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Durchschnitt',
|
||||
'summary' => 'Durchschnittliches :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Max',
|
||||
'summary' => 'Max :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Min',
|
||||
'summary' => 'Min :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Gesamt',
|
||||
'summary' => 'Gesamt von :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Verknüpfung',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Zahl',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Hat',
|
||||
'inverse' => 'Hat nicht',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Hat :count :relationship',
|
||||
'inverse' => 'Hat nicht :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Hat Maximal',
|
||||
'inverse' => 'Hat mehr als',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Hat maximal :count :relationship',
|
||||
'inverse' => 'Hat mehr als :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Hat mindestens',
|
||||
'inverse' => 'Hat weniger als',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Hat mindestens :count :relationship',
|
||||
'inverse' => 'Hat weniger als:count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ist leer',
|
||||
'inverse' => 'ist nicht leer',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship ist leer',
|
||||
'inverse' => ':relationship ist nicht leer',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'ist',
|
||||
'inverse' => 'ist nicht',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Beinhaltet',
|
||||
'inverse' => 'Beinhaltet nicht',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship ist :values',
|
||||
'inverse' => ':relationship ist nicht :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship beinhaltet :values',
|
||||
'inverse' => ':relationship beinhaltet nicht :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' oder ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Wert',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Werte',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Anzahl',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ist',
|
||||
'inverse' => 'ist nicht',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ist :values',
|
||||
'inverse' => ':attribute ist nicht :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' oder ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Wert',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Werte',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Beinhaltet',
|
||||
'inverse' => 'Beinhaltet nicht',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute beinhaltet :text',
|
||||
'inverse' => ':attribute beinhaltet nicht :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Endet mit',
|
||||
'inverse' => 'Endet nicht mit',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute endet mit :text',
|
||||
'inverse' => ':attribute endet nicht mit :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ist gleich',
|
||||
'inverse' => 'Ist nicht gleich',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ist gleich :text',
|
||||
'inverse' => ':attribute ist nicht gleich :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Beginnt mit',
|
||||
'inverse' => 'Beginnt nicht mit',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute beginnt mit :text',
|
||||
'inverse' => ':attribute beginnt nicht mit :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Bedingung hinzufügen',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Bedingungsgruppe hinzufügen',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
227
vendor/filament/tables/resources/lang/de/table.php
vendored
Normal file
227
vendor/filament/tables/resources/lang/de/table.php
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Spalten',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => ':count weniger anzeigen',
|
||||
'expand_list' => ':count weitere anzeigen',
|
||||
],
|
||||
|
||||
'more_list_items' => 'und :count weitere',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Alle Einträge für Stapelverarbeitung auswählen/abwählen.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Eintrag :key für Stapelverarbeitung auswählen/abwählen.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Gruppe auswählen/abwählen :title für Stapelverarbeitung.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Suche',
|
||||
'placeholder' => 'Suche',
|
||||
'indicator' => 'Suche',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Zusammenfassung',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Alle :label',
|
||||
'group' => ':group Zusammenfassung',
|
||||
'page' => 'Diese Seite',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Durchschnitt',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Anzahl',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Summe',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Sortieren beenden',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Einträge sortieren',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtern',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Gruppe',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Aktionen öffnen',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Spalten auswählen',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Keine :model',
|
||||
|
||||
'description' => 'Erstelle ein(e) :model um zu beginnen.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => ' Filter anwenden',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Filter löschen',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Alle Filter löschen',
|
||||
'tooltip' => 'Alle Filter löschen',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Filter zurücksetzen',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filter',
|
||||
|
||||
'indicator' => 'Aktive Filter',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Alle',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Alle',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Gelöschte Einträge',
|
||||
|
||||
'only_trashed' => 'Nur gelöschte Einträge',
|
||||
|
||||
'with_trashed' => 'Mit gelöschten Einträgen',
|
||||
|
||||
'without_trashed' => 'Ohne gelöschte Einträge',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Gruppieren nach',
|
||||
'placeholder' => 'Gruppieren nach',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Gruppierungsrichtung',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Aufsteigend',
|
||||
'desc' => 'Absteigend',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Zum Sortieren die Einträge per Drag & Drop in die richtige Reihenfolge ziehen.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 Datensatz ausgewählt|:count Datensätze ausgewählt',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Alle :count Datensätze auswählen',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Auswahl aufheben',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Sortieren nach',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Sortierrichtung',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Aufsteigend',
|
||||
'desc' => 'Absteigend',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/el/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/el/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Query builder',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Τελεστής',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Ομάδες',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Διαχωρισμός (Ή / OR)',
|
||||
'or' => 'Ή (OR)',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Κανόνες',
|
||||
|
||||
'item' => [
|
||||
'and' => 'ΚΑΙ (AND)',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Χωρίς κανόνες)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'AND',
|
||||
'or' => 'OR',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is filled',
|
||||
'inverse' => 'Is blank',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is filled',
|
||||
'inverse' => ':attribute is blank',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is true',
|
||||
'inverse' => 'Is false',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is true',
|
||||
'inverse' => ':attribute is false',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Είναι μετά',
|
||||
'inverse' => 'Δεν είναι μετά',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute είναι μετά από τις :date',
|
||||
'inverse' => ':attribute δεν είναι μετά από τις :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Είναι πριν',
|
||||
'inverse' => 'Δεν είναι πριν',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute είναι πριν τις :date',
|
||||
'inverse' => ':attribute δεν είναι πριν τις :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Είναι ημέρα',
|
||||
'inverse' => 'Δεν είναι ημέρα',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute είναι :date',
|
||||
'inverse' => ':attribute δεν είναι :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Είναι μήνας',
|
||||
'inverse' => 'Δεν είναι μήνας',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute είναι :month',
|
||||
'inverse' => ':attribute δεν είναι :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Είναι έτος',
|
||||
'inverse' => 'Δεν είναι έτος',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute είναι :year',
|
||||
'inverse' => ':attribute δεν είναι :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Ημέρα',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Μήνας',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Έτος',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ισούται',
|
||||
'inverse' => 'Δεν ισούται',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ισούται :number',
|
||||
'inverse' => ':attribute δεν ισούται :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is maximum',
|
||||
'inverse' => 'Είναι μεγαλύτερο από',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is maximum :number',
|
||||
'inverse' => ':attribute είναι μεγαλύτερο από :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is minimum',
|
||||
'inverse' => 'Είναι μικρότερο από',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is minimum :number',
|
||||
'inverse' => ':attribute είναι μικρότερο από :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Μέσος όρος',
|
||||
'summary' => 'Average :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Μέγιστο',
|
||||
'summary' => 'Max :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Ελάχιστο',
|
||||
'summary' => 'Min :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Άθροισμα',
|
||||
'summary' => 'Sum of :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Aggregate',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Αριθμός',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Έχει',
|
||||
'inverse' => 'Δεν έχει',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Έχει :count :relationship',
|
||||
'inverse' => 'Δεν έχει :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Has maximum',
|
||||
'inverse' => 'Έχει περισσότερο από',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Has maximum :count :relationship',
|
||||
'inverse' => 'Έχει περισσότερο από :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Has minimum',
|
||||
'inverse' => 'Έχει λιγότερο από',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Has minimum :count :relationship',
|
||||
'inverse' => 'Έχει λιγότερο από :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Είναι κενό',
|
||||
'inverse' => 'Δεν είναι κενό',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship είναι κενό/ή',
|
||||
'inverse' => ':relationship δεν είναι κενό/ή',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Είναι',
|
||||
'inverse' => 'Δεν είναι',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Περιέχει',
|
||||
'inverse' => 'Δεν περιέχει',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship είναι :values',
|
||||
'inverse' => ':relationship δεν είναι :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship περιέχει :values',
|
||||
'inverse' => ':relationship δεν περιέχει :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' or ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Τιμή',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Τιμές',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Σύνολο',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Είναι',
|
||||
'inverse' => 'Δεν είναι',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute είναι :values',
|
||||
'inverse' => ':attribute δεν είναι :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' or ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Τιμή',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Τιμές',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Περιέχει',
|
||||
'inverse' => 'Δεν περιέχει',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute περιέχει :text',
|
||||
'inverse' => ':attribute δεν πειέχει :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Τελειώνει με',
|
||||
'inverse' => 'Δεν τελειώνει με',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute τελειώνει με :text',
|
||||
'inverse' => ':attribute δεν τελειώνει με :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ισούται',
|
||||
'inverse' => 'Δεν ισούται',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ισούται :text',
|
||||
'inverse' => ':attribute δεν ισούται :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ξεκινάει με',
|
||||
'inverse' => 'Δεν ξεκινάει με',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ξεκινάει με :text',
|
||||
'inverse' => ':attribute δεν ξεκινάει με :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Κείμενο',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Προσθήκη κανόνα',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Add rule group',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/el/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/el/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Στήλες',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Προβολή :count λιγότερων',
|
||||
'expand_list' => 'Προβολή :count περισσότερων',
|
||||
],
|
||||
|
||||
'more_list_items' => 'και :count περισσότερα',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Επιλέξτε όλες τις εγγραφές για μαζικές ενέργειες.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Επιλέξτε την εγγραφή :key για μαζικές ενέργειες.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Επιλέξτε την ομάδα :title για μαζικές ενέργειες.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Αναζήτηση',
|
||||
'placeholder' => 'Αναζήτηση',
|
||||
'indicator' => 'Αναζήτηση',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Σύνοψη',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Όλα :label',
|
||||
'group' => 'σύνοψη :group',
|
||||
'page' => 'This page',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Μέσος όρος',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Σύνολο',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Άθροισμα',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Τερματισμός αναδιάταξης',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Αναδιάταξη εγγραφών',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Φίλτρο',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Ομάδας',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Μαζικές ενέργειες',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Toggle columns',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Δεν υπάρχουν εγγραφές',
|
||||
|
||||
'description' => 'Προσθέστε ένα/μία ":model" για να ξεκινήσετε.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Εφαρμογή φίλτρου',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Αφαίρεση φίτλρου',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Αφαίρεση φίτλρων',
|
||||
'tooltip' => 'Αφαίρεση φίτλρων',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Επαναφορά',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Φίλτρα',
|
||||
|
||||
'indicator' => 'Ενεργά φίλτρα',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Όλα',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Όλα',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Διεγραμμένες εγγραφές',
|
||||
|
||||
'only_trashed' => 'Μόνο διεγραμμένες εγγραφές',
|
||||
|
||||
'with_trashed' => 'Σε συνδυασμό με διεγραμμένες εγγραφές',
|
||||
|
||||
'without_trashed' => 'Χωρίς διεγραμμένες εγγραφές',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Ομαδοποίηση βάσει',
|
||||
'placeholder' => 'Ομαδοποίηση βάσει',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Group direction',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Αύξουσα σειρά',
|
||||
'desc' => 'Φθίνουσα σειρά',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Σύρετε και αποθέστε τις εγγραφές με τη σειρά.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => 'επιλογή 1 εγγραφής|επιλογή :count εγγραφών',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Επιλογή όλων :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Αποεπιλογή όλων',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Ταξινόμηση κατά',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Κατεύθυνση ταξινόμησης',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Αύξουσα σειρά',
|
||||
'desc' => 'Φθίνουσα σειρά',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/en/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/en/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Query builder',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operator',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Groups',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjunction (OR)',
|
||||
'or' => 'OR',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Rules',
|
||||
|
||||
'item' => [
|
||||
'and' => 'AND',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(No rules)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'AND',
|
||||
'or' => 'OR',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is filled',
|
||||
'inverse' => 'Is blank',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is filled',
|
||||
'inverse' => ':attribute is blank',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is true',
|
||||
'inverse' => 'Is false',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is true',
|
||||
'inverse' => ':attribute is false',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is after',
|
||||
'inverse' => 'Is not after',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is after :date',
|
||||
'inverse' => ':attribute is not after :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is before',
|
||||
'inverse' => 'Is not before',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is before :date',
|
||||
'inverse' => ':attribute is not before :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is date',
|
||||
'inverse' => 'Is not date',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :date',
|
||||
'inverse' => ':attribute is not :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is month',
|
||||
'inverse' => 'Is not month',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :month',
|
||||
'inverse' => ':attribute is not :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is year',
|
||||
'inverse' => 'Is not year',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :year',
|
||||
'inverse' => ':attribute is not :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Date',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Month',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Equals',
|
||||
'inverse' => 'Does not equal',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute equals :number',
|
||||
'inverse' => ':attribute does not equal :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is maximum',
|
||||
'inverse' => 'Is greater than',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is maximum :number',
|
||||
'inverse' => ':attribute is greater than :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is minimum',
|
||||
'inverse' => 'Is less than',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is minimum :number',
|
||||
'inverse' => ':attribute is less than :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Average',
|
||||
'summary' => 'Average :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Max',
|
||||
'summary' => 'Max :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Min',
|
||||
'summary' => 'Min :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Sum',
|
||||
'summary' => 'Sum of :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Aggregate',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Has',
|
||||
'inverse' => 'Does not have',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Has :count :relationship',
|
||||
'inverse' => 'Does not have :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Has maximum',
|
||||
'inverse' => 'Has more than',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Has maximum :count :relationship',
|
||||
'inverse' => 'Has more than :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Has minimum',
|
||||
'inverse' => 'Has less than',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Has minimum :count :relationship',
|
||||
'inverse' => 'Has less than :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is empty',
|
||||
'inverse' => 'Is not empty',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship is empty',
|
||||
'inverse' => ':relationship is not empty',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Is',
|
||||
'inverse' => 'Is not',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Contains',
|
||||
'inverse' => 'Does not contain',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship is :values',
|
||||
'inverse' => ':relationship is not :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship contains :values',
|
||||
'inverse' => ':relationship does not contain :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' or ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Value',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Values',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Count',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is',
|
||||
'inverse' => 'Is not',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :values',
|
||||
'inverse' => ':attribute is not :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' or ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Value',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Values',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Contains',
|
||||
'inverse' => 'Does not contain',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute contains :text',
|
||||
'inverse' => ':attribute does not contain :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ends with',
|
||||
'inverse' => 'Does not end with',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ends with :text',
|
||||
'inverse' => ':attribute does not end with :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Equals',
|
||||
'inverse' => 'Does not equal',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute equals :text',
|
||||
'inverse' => ':attribute does not equal :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Starts with',
|
||||
'inverse' => 'Does not start with',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute starts with :text',
|
||||
'inverse' => ':attribute does not start with :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Add rule',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Add rule group',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/en/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/en/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Columns',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Show :count less',
|
||||
'expand_list' => 'Show :count more',
|
||||
],
|
||||
|
||||
'more_list_items' => 'and :count more',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Select/deselect all items for bulk actions.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Select/deselect item :key for bulk actions.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Select/deselect group :title for bulk actions.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Search',
|
||||
'placeholder' => 'Search',
|
||||
'indicator' => 'Search',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Summary',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'All :label',
|
||||
'group' => ':group summary',
|
||||
'page' => 'This page',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Average',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Count',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Sum',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Finish reordering records',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Reorder records',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filter',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Group',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Bulk actions',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Toggle columns',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'No :model',
|
||||
|
||||
'description' => 'Create a :model to get started.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Apply filters',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Remove filter',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Remove all filters',
|
||||
'tooltip' => 'Remove all filters',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Reset',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filters',
|
||||
|
||||
'indicator' => 'Active filters',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'All',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'All',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Deleted records',
|
||||
|
||||
'only_trashed' => 'Only deleted records',
|
||||
|
||||
'with_trashed' => 'With deleted records',
|
||||
|
||||
'without_trashed' => 'Without deleted records',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Group by',
|
||||
'placeholder' => 'Group by',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Group direction',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascending',
|
||||
'desc' => 'Descending',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Drag and drop the records into order.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 record selected|:count records selected',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Select all :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Deselect all',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Sort by',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Sort direction',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascending',
|
||||
'desc' => 'Descending',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/es/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/es/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Constructor de consultas',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operador',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Grupos',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disyunción (O)',
|
||||
'or' => 'O',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Reglas',
|
||||
|
||||
'item' => [
|
||||
'and' => 'Y',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Sin reglas)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'Y',
|
||||
'or' => 'O',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Está rellenado',
|
||||
'inverse' => 'Está en blanco',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute está rellenado',
|
||||
'inverse' => ':attribute está en blanco',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Es verdadero',
|
||||
'inverse' => 'Es falso',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute es verdadero',
|
||||
'inverse' => ':attribute es falso',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Es posterior a',
|
||||
'inverse' => 'No es posterior a',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute es posterior a :date',
|
||||
'inverse' => ':attribute no es posterior a :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Es anterior a',
|
||||
'inverse' => 'No es anterior a',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute es anterior a :date',
|
||||
'inverse' => ':attribute no es anterior a :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Es en la fecha',
|
||||
'inverse' => 'No es en la fecha',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute es en :date',
|
||||
'inverse' => ':attribute no es en :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Es en el mes de',
|
||||
'inverse' => 'No es en el mes de',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute es en :month',
|
||||
'inverse' => ':attribute no es en :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Es en el año',
|
||||
'inverse' => 'No es en el año',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute es en :year',
|
||||
'inverse' => ':attribute no es en :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Fecha',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Mes',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Año',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Igual a',
|
||||
'inverse' => 'No es igual a',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute es igual a :number',
|
||||
'inverse' => ':attribute no es igual a :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Es máximo',
|
||||
'inverse' => 'Es mayor que',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute es máximo :number',
|
||||
'inverse' => ':attribute es mayor que :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Es mínimo',
|
||||
'inverse' => 'Es menor que',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute es mínimo :number',
|
||||
'inverse' => ':attribute es menor que :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Promedio',
|
||||
'summary' => ':Attribute promedio',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Máx',
|
||||
'summary' => 'Máximo :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Mín',
|
||||
'summary' => 'Mínimo :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Suma',
|
||||
'summary' => 'Suma de :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Agregado',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Número',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Tiene',
|
||||
'inverse' => 'No tiene',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Tiene :count :relationship',
|
||||
'inverse' => 'No tiene :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Tiene máximo',
|
||||
'inverse' => 'Tiene más de',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Tiene máximo :count :relationship',
|
||||
'inverse' => 'Tiene más de :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Tiene mínimo',
|
||||
'inverse' => 'Tiene menos de',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Tiene mínimo :count :relationship',
|
||||
'inverse' => 'Tiene menos de :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Está vacío',
|
||||
'inverse' => 'No está vacío',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship está vacío',
|
||||
'inverse' => ':relationship no está vacío',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Es',
|
||||
'inverse' => 'No es',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Contiene',
|
||||
'inverse' => 'No contiene',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship son :values',
|
||||
'inverse' => ':relationship no son :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship contiene :values',
|
||||
'inverse' => ':relationship no contiene :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' o ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valor',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valores',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Conteo',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Es',
|
||||
'inverse' => 'No es',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute es :values',
|
||||
'inverse' => ':attribute no es :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' o ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valor',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valores',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Contiene',
|
||||
'inverse' => 'No contiene',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute contiene :text',
|
||||
'inverse' => ':attribute no contiene :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Termina en',
|
||||
'inverse' => 'No termina en',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute termina en :text',
|
||||
'inverse' => ':attribute no termina en :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Es igual a',
|
||||
'inverse' => 'No es igual a',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute es igual a :text',
|
||||
'inverse' => ':attribute no es igual a :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Comienza con',
|
||||
'inverse' => 'No comienza con',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute comienza con :text',
|
||||
'inverse' => ':attribute no comienza con :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Texto',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Agregar regla',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Agregar grupo de reglas',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/es/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/es/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Columnas',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Mostrar :count menos',
|
||||
'expand_list' => 'Mostrar :count más',
|
||||
],
|
||||
|
||||
'more_list_items' => 'y :count más',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Seleccionar/deseleccionar todos los elementos para las acciones masivas.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Seleccionar/deseleccionar el elemento :key para las acciones masivas.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Seleccionar/deseleccionar grupo :title para acciones masivas.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Búsqueda',
|
||||
'placeholder' => 'Buscar',
|
||||
'indicator' => 'Buscar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Resumen',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Todos :label',
|
||||
'group' => 'resumen del :group',
|
||||
'page' => 'Esta página',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Media',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Recuento',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Suma',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Terminar de reordenar registros',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Reordenar registros',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtrar',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupo',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Abrir acciones',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Alternar columnas',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'No se encontraron registros',
|
||||
|
||||
'description' => 'Cree un :model para empezar.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Aplicar filtros',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Quitar filtro',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Quitar todos los filtros',
|
||||
'tooltip' => 'Quitar todos los filtros',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Resetear los filtros',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtros',
|
||||
|
||||
'indicator' => 'Filtros activos',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Todos',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Todos',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Registros eliminados',
|
||||
|
||||
'only_trashed' => 'Solo registros eliminados',
|
||||
|
||||
'with_trashed' => 'Con registros eliminados',
|
||||
|
||||
'without_trashed' => 'Sin registros eliminados',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Agrupar por',
|
||||
'placeholder' => 'Agrupar por',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Dirección de grupo',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascendente',
|
||||
'desc' => 'Descendente',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Arrastrar los registros en el orden.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 registro seleccionado|:count registros seleccionados',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Selecciona todos :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Deselecciona todos',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Ordenar por',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Dirección del orden',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascendente',
|
||||
'desc' => 'Descendente',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
213
vendor/filament/tables/resources/lang/eu/table.php
vendored
Normal file
213
vendor/filament/tables/resources/lang/eu/table.php
vendored
Normal file
@@ -0,0 +1,213 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Zutabeak',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'eta :count gehiago',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Aukeratu/deselektatu denak ekintza masiboetarako.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Aukeratu/deselektatu :key ekintza masiboetarako.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Bilatu',
|
||||
'placeholder' => 'Bilatu',
|
||||
'indicator' => 'Bilatu',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Laburpena',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Guztiak :label',
|
||||
'group' => ':group-aren laburpena',
|
||||
'page' => 'Orrialde hau',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Batezbesteko',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Zenbatekoa',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Baturak',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Erregistroen berrantolaketa amaitu',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Erregistroak berrantolatu',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Iragazkiak',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Taldekatu',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Ireki ekintzak',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Zutabeak aldatu',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Erregistroak ez daude aurkitu',
|
||||
|
||||
'description' => 'Sortu :model bat hasteko.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Iragazkia kendu',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Iragazki guztiak kendu',
|
||||
'tooltip' => 'Iragazki guztiak kendu',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Berrezarri iragazkiak',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Iragazkiak',
|
||||
|
||||
'indicator' => 'Iragazkiak aktiboak',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Guztiak',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Guztiak',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Ezabatutako erregistroak',
|
||||
|
||||
'only_trashed' => 'Bakarrik ezabatutako erregistroak',
|
||||
|
||||
'with_trashed' => 'Ezabatutako erregistroekin',
|
||||
|
||||
'without_trashed' => 'Ezabatutako erregistro gabe',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Taldekatu',
|
||||
'placeholder' => 'Taldekatu',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Taldekatzearen norabidea',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Goranzkoa',
|
||||
'desc' => 'Beheranzkoa',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Erregistroak ordenan eraman ahal izateko arrastatu.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => ':count erregistro aukeratu da|:count erregistro aukeratuak dira',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Hautatu guztiak :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Aukeratu guztiak kentzea',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Ordenatu',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Ordenaren norabidea',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Goranzkoa',
|
||||
'desc' => 'Beheranzkoa',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/fa/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/fa/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'ستونها',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'نمایش :count کمتر',
|
||||
'expand_list' => 'نمایش :count بیشتر',
|
||||
],
|
||||
|
||||
'more_list_items' => 'و :count تا بیشتر',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'انتخاب / عدمانتخاب تمامی موارد برای اقدامات گروهی',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'انتخاب / عدمانتخاب مورد :key برای اقدامات گروهی',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'انتخاب / عدمانتخاب گروه :title برای اقدامات گروهی.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'جستجو',
|
||||
'placeholder' => 'جستجو',
|
||||
'indicator' => 'جستجو',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'خلاصه',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'تمام :label',
|
||||
'group' => ':group خلاصه',
|
||||
'page' => 'این صفحه',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'میانگین',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'تعداد',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'مجموع',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'اتمام بازچینش رکوردها',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'بازچینش رکوردها',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'فیلتر',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'گروه',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'عملیات گروهی',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'باز / بستن ستونها',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => ':model یافت نشد.',
|
||||
|
||||
'description' => 'برای شروع یک :model ایجاد کنید.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'اعمال فیلترها',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'حذف فیلتر',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'حذف تمام فیلترها',
|
||||
'tooltip' => 'حذف تمام فیلترها',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'بازنشانی فیلترها',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'فیلترها',
|
||||
|
||||
'indicator' => 'فیلترهای فعال',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'همه',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'همه',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'رکوردهای حذفشده',
|
||||
|
||||
'only_trashed' => 'فقط رکوردهای حذفشده',
|
||||
|
||||
'with_trashed' => 'به همراه رکوردهای حذفشده',
|
||||
|
||||
'without_trashed' => 'بدون رکوردهای حذفشده',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'گروهبندی براساس',
|
||||
'placeholder' => 'گروهبندی براساس',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'ترتیب گروه',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'صعودی',
|
||||
'desc' => 'نزولی',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'برای تغییر ترتیب، بکشید و رها کنید.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 آیتم انتخاب شده|:count آیتم انتخاب شده',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'انتخاب همهی :count آیتم',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'عدم انتخاب',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'مرتب سازی براساس',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'جهت مرتب سازی',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'صعودی',
|
||||
'desc' => 'نزولی',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/fi/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/fi/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Kyselyn rakentaja',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operaattori',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Ryhmät',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjunktio (OR)',
|
||||
'or' => 'OR',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Säännöt',
|
||||
|
||||
'item' => [
|
||||
'and' => 'AND',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Ei sääntöjä)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'AND',
|
||||
'or' => 'OR',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On täytetty',
|
||||
'inverse' => 'On tyhjä',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute on täytetty',
|
||||
'inverse' => ':attribute on tyhjä',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On tosi',
|
||||
'inverse' => 'On epätosi',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute on tosi',
|
||||
'inverse' => ':attribute on epätosi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On jälkeen',
|
||||
'inverse' => 'Ei ole jälkeen',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute on :date jälkeen',
|
||||
'inverse' => ':attribute ei ole :date jälkeen',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On ennen',
|
||||
'inverse' => 'Ei ole ennen',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute on ennen :date',
|
||||
'inverse' => ':attribute ei ole ennen :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On päiväys',
|
||||
'inverse' => 'Ei ole päiväys',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute on :date',
|
||||
'inverse' => ':attribute ei ole :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On kuukausi',
|
||||
'inverse' => 'Ei ole kuukausi',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute on :month',
|
||||
'inverse' => ':attribute ei ole :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On vuosi',
|
||||
'inverse' => 'Ei ole vuosi',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute on :year',
|
||||
'inverse' => ':attribute ei ole :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Päivä',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Kuukausi',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Vuosi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On yhtä kuin',
|
||||
'inverse' => 'Ei ole yhtä kuin',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute on yhtä kuin :number',
|
||||
'inverse' => ':attribute ei ole yhtä kuin :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On enimmillään',
|
||||
'inverse' => 'On suurempi kuin',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute on enimmillään :number',
|
||||
'inverse' => ':attribute on suurempi kuin :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On vähimmillään',
|
||||
'inverse' => 'On vähemmän kuin',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute on vähimmillään :number',
|
||||
'inverse' => ':attribute on vähemmän kuin :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Keskiarvo',
|
||||
'summary' => 'Keskiarvo :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Maks',
|
||||
'summary' => 'Maks :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Min',
|
||||
'summary' => 'Min :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Summa',
|
||||
'summary' => 'Summa :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Kokonaisuus',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Numero',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Omistaa',
|
||||
'inverse' => 'Ei omista',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Omistaa :count :relationship',
|
||||
'inverse' => 'Ei omista :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On enimmillään',
|
||||
'inverse' => 'On enemmän kuin',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'On enimmillään :count :relationship',
|
||||
'inverse' => 'On enemmän kuin :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On vähintään',
|
||||
'inverse' => 'On vähemmän kuin',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'On vähintään :count :relationship',
|
||||
'inverse' => 'On vähemmän kuin :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On tyhjä',
|
||||
'inverse' => 'Ei ole tyhjä',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship on tyhjä',
|
||||
'inverse' => ':relationship ei ole tyhjä',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'On',
|
||||
'inverse' => 'Ei ole',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Sisältää',
|
||||
'inverse' => 'Ei sisällä',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship on :values',
|
||||
'inverse' => ':relationship ei ole :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship sisältää :values',
|
||||
'inverse' => ':relationship ei sisällä :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' tai ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Arvo',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Arvot',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Määrä',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On',
|
||||
'inverse' => 'Ei ole',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute on :values',
|
||||
'inverse' => ':attribute ei ole :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' tai ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Arvo',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Arvot',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Sisältää',
|
||||
'inverse' => 'Ei sisällä',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute sisältää :text',
|
||||
'inverse' => ':attribute ei sisällä :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Loppuu',
|
||||
'inverse' => 'Ei lopu',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute loppuu :text',
|
||||
'inverse' => ':attribute ei lopu :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'On yhtä kuin',
|
||||
'inverse' => 'Ei ole yhtä kuin',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute equals :text',
|
||||
'inverse' => ':attribute does not equal :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Alkaa',
|
||||
'inverse' => 'Ei ala',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute alkaa :text',
|
||||
'inverse' => ':attribute ei ala :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Teksti',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Lisää sääntö',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Lisää sääntöryhmä',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/fi/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/fi/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Kolumnit',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Näytä :count vähemmän',
|
||||
'expand_list' => 'Näytä :count lisää',
|
||||
],
|
||||
|
||||
'more_list_items' => 'ja :count lisää',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Aseta/poista massatoiminnon valinta kaikista kohteista.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Aseta/poista massatoiminnon valinta kohteelle :key.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Aseta/poista massatoiminnon valinta ryhmälle :title.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Etsi',
|
||||
'placeholder' => 'Etsi',
|
||||
'indicator' => 'Etsi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Yhteenveto',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Kaikki :label',
|
||||
'group' => ':group yhteenveto',
|
||||
'page' => 'Tämä sivu',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Keskiarvo',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Määrä',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Summa',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Viimeistele tietueiden järjestely',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Järjestele tietueita',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Suodata',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Ryhmä',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Avaa toiminnot',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Näytä kolumnit',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Ei :model',
|
||||
|
||||
'description' => 'Luo :model aloittaaksesi.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Käytä suodattimet',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Poista suodatin',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Poista suodattimet',
|
||||
'tooltip' => 'Poista suodattimet',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Tyhjennä suodattimet',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Suodattimet',
|
||||
|
||||
'indicator' => 'Aktiiviset suodattimet',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Kaikki',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Kaikki',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Poistetut tietueet',
|
||||
|
||||
'only_trashed' => 'Vain poistetut tietueet',
|
||||
|
||||
'with_trashed' => 'Poistettujen tietueiden kanssa',
|
||||
|
||||
'without_trashed' => 'Ilman poistettuja tietueita',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Ryhmittele',
|
||||
'placeholder' => 'Ryhmittele',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Ryhmittelyn suunta',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Nousevasti',
|
||||
'desc' => 'Laskevasti',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Raahaa ja pudota tietueet järjestykseen.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 tietue valittu|:count tietuetta valittu',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Valitse kaikki :count tietuetta',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Poista valinta kaikista',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Järjestele',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Järjestyksen suunta',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Nousevasti',
|
||||
'desc' => 'Laskevasti',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/fr/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/fr/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Query builder',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Opérateur',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Groupes',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjonction (OR)',
|
||||
'or' => 'OR',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Règles',
|
||||
|
||||
'item' => [
|
||||
'and' => 'AND',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Aucune règle)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'AND',
|
||||
'or' => 'OR',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Est rempli',
|
||||
'inverse' => 'Est vide',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute est rempli',
|
||||
'inverse' => ':attribute est vide',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Est true',
|
||||
'inverse' => 'Est false',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute est true',
|
||||
'inverse' => ':attribute est false',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Est après',
|
||||
'inverse' => 'N\'est pas après',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute est après :date',
|
||||
'inverse' => ':attribute n\'est pas après :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Est avant',
|
||||
'inverse' => 'N\'est pas avant',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute est avant :date',
|
||||
'inverse' => ':attribute n\'est pas avant :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Est une date',
|
||||
'inverse' => 'N\'est pas une date',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute est :date',
|
||||
'inverse' => ':attribute n\'est pas :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Est un mois',
|
||||
'inverse' => 'N\'est pas un mois',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute est :month',
|
||||
'inverse' => ':attribute n\'est pas :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Est une année',
|
||||
'inverse' => 'N\'est pas une année',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute est :year',
|
||||
'inverse' => ':attribute n\'est pas :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Date',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Mois',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Année',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Egal',
|
||||
'inverse' => 'N\'est pas égal',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute égal :number',
|
||||
'inverse' => ':attribute n\'est pas égal :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Est maximum',
|
||||
'inverse' => 'Est supérieur à',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute est maximum :number',
|
||||
'inverse' => ':attribute est supérieur à :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Est minimum',
|
||||
'inverse' => 'Est inférieur à',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute est minimum :number',
|
||||
'inverse' => ':attribute est inférieur à :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Moyenne',
|
||||
'summary' => 'Moyenne :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Max',
|
||||
'summary' => 'Max :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Min',
|
||||
'summary' => 'Min :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Somme',
|
||||
'summary' => 'Somme de :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Agrégat',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Nombre',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'A',
|
||||
'inverse' => 'N\'a pas',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'A :count :relationship',
|
||||
'inverse' => 'N\'a pas :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'A un maximum',
|
||||
'inverse' => 'A plus que',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'A un maximum :count :relationship',
|
||||
'inverse' => 'A plus que :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'A un minimum',
|
||||
'inverse' => 'A moins de',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'A un minimum :count :relationship',
|
||||
'inverse' => 'A moins de :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Est vide',
|
||||
'inverse' => 'N\'est pas vide',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship est vide',
|
||||
'inverse' => ':relationship n\'est pas vide',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Est',
|
||||
'inverse' => 'N\'est pas',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Contient',
|
||||
'inverse' => 'Ne contient pas',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship est :values',
|
||||
'inverse' => ':relationship n\'est pas :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship contient :values',
|
||||
'inverse' => ':relationship ne contient pas :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' or ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valeur',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valeurs',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Compter',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Est',
|
||||
'inverse' => 'N\'est pas',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute est :values',
|
||||
'inverse' => ':attribute n\'est pas :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' or ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valeur',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valeurs',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Contient',
|
||||
'inverse' => 'Ne contient pas',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute contient :text',
|
||||
'inverse' => ':attribute ne contient pas :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Se termine par',
|
||||
'inverse' => 'Ne se termine pas par',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute se termine par :text',
|
||||
'inverse' => ':attribute ne se termine pas par :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Egal',
|
||||
'inverse' => 'N\'est pas égal',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute égal :text',
|
||||
'inverse' => ':attribute n\'est pas égal :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Commence par',
|
||||
'inverse' => 'Ne commence pas par',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute commence par :text',
|
||||
'inverse' => ':attribute ne commence pas par :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Texte',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Ajouter une règle',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Ajouter une règle de groupe',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/fr/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/fr/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Colonnes',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Afficher :count de moins',
|
||||
'expand_list' => 'Afficher :count de plus',
|
||||
],
|
||||
|
||||
'more_list_items' => ':count de plus',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Sélectionner/déselectionner tous les éléments pour les actions groupées.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => "Sélectionner/désélectionner l'élément :key pour les actions groupées.",
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Sélectionner/désélectionner le groupe :title pour les actions groupées.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Rechercher',
|
||||
'placeholder' => 'Rechercher',
|
||||
'indicator' => 'Recherche',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Résumé',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Tous :label',
|
||||
'group' => 'résumé de :group',
|
||||
'page' => 'Cette page',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Moyenne',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Compteur',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Somme',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Fin du classement des enregistrements',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Classer les enregistrements',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtre',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Groupe',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Ouvrir les actions',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Basculer les colonnes',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Aucun élément trouvé',
|
||||
|
||||
'description' => 'Créer un(e) :model pour commencer.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Appliquer les filtres',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Supprimer le filtre',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Supprimer tous les filtres',
|
||||
'tooltip' => 'Supprimer tous les filtres',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Réinitialiser les filtres',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtres',
|
||||
|
||||
'indicator' => 'Filtres actifs',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Tout',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Tout',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Enregistrements supprimés',
|
||||
|
||||
'only_trashed' => 'Enregistrements supprimés uniquement',
|
||||
|
||||
'with_trashed' => 'Avec les enregistrements supprimés',
|
||||
|
||||
'without_trashed' => 'Sans les enregistrements supprimés',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grouper par',
|
||||
'placeholder' => 'Grouper par',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Groupe',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Croissant',
|
||||
'desc' => 'Décroissant',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => "Faites glisser et déposez les enregistrements dans l'ordre.",
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 élément sélectionné|:count éléments sélectionnés',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Sélectionner tout (:count)',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Désélectionner tout',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Trier par',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Ordre',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Croissant',
|
||||
'desc' => 'Décroissant',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
149
vendor/filament/tables/resources/lang/he/table.php
vendored
Normal file
149
vendor/filament/tables/resources/lang/he/table.php
vendored
Normal file
@@ -0,0 +1,149 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
'heading' => 'עמודות',
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
'text' => [
|
||||
'more_list_items' => 'ו-:count פריטים נוספים',
|
||||
],
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
'bulk_select_page' => [
|
||||
'label' => 'בחר/בטל בחירה לפעולות המרובות.',
|
||||
],
|
||||
'bulk_select_record' => [
|
||||
'label' => 'בחר/בטל בחירה לפעולות המרובות לפריט :key.',
|
||||
],
|
||||
'search' => [
|
||||
'label' => 'חיפוש',
|
||||
'placeholder' => 'חיפוש',
|
||||
'indicator' => 'חיפוש',
|
||||
],
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'heading' => 'סיכום',
|
||||
'subheadings' => [
|
||||
'all' => 'כל ה-:label',
|
||||
'group' => 'סיכום של :group',
|
||||
'page' => 'עמוד זה',
|
||||
],
|
||||
'summarizers' => [
|
||||
'average' => [
|
||||
'label' => 'ממוצע',
|
||||
],
|
||||
'count' => [
|
||||
'label' => 'ספירה',
|
||||
],
|
||||
'sum' => [
|
||||
'label' => 'סכום',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
'disable_reordering' => [
|
||||
'label' => 'סיים סידור רשומות',
|
||||
],
|
||||
'enable_reordering' => [
|
||||
'label' => 'סדר מחדש רשומות',
|
||||
],
|
||||
'filter' => [
|
||||
'label' => 'פילטר',
|
||||
],
|
||||
'group' => [
|
||||
'label' => 'קבוצה',
|
||||
],
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'פתח פעולות מרובות',
|
||||
],
|
||||
'toggle_columns' => [
|
||||
'label' => 'הצג עמודות',
|
||||
],
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
'heading' => 'לא נמצאו רשומות',
|
||||
'description' => 'צור :model כדי להתחיל.',
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
'actions' => [
|
||||
'remove' => [
|
||||
'label' => 'הסר סנן',
|
||||
],
|
||||
'remove_all' => [
|
||||
'label' => 'הסר את כל הסננים',
|
||||
'tooltip' => 'הסר את כל הסננים',
|
||||
],
|
||||
'reset' => [
|
||||
'label' => 'איפוס סננים',
|
||||
],
|
||||
],
|
||||
'heading' => 'סננים',
|
||||
'indicator' => 'סננים מופעלים',
|
||||
'multi_select' => [
|
||||
'placeholder' => 'הכל',
|
||||
],
|
||||
'select' => [
|
||||
'placeholder' => 'הכל',
|
||||
],
|
||||
'trashed' => [
|
||||
'label' => 'רשומות שנמחקו',
|
||||
'only_trashed' => 'רק רשומות שנמחקו',
|
||||
'with_trashed' => 'כולל רשומות שנמחקו',
|
||||
'without_trashed' => 'ללא רשומות שנמחקו',
|
||||
],
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
'fields' => [
|
||||
'group' => [
|
||||
'label' => 'קבץ לפי',
|
||||
'placeholder' => 'קבץ לפי',
|
||||
],
|
||||
'direction' => [
|
||||
'label' => 'כיוון קיבוץ',
|
||||
'options' => [
|
||||
'asc' => 'עולה',
|
||||
'desc' => 'יורד',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'גרור ושחרר רשומות לסידור מחדש.',
|
||||
|
||||
'selection_indicator' => [
|
||||
'selected_count' => 'נבחרה רשומה אחת|נבחרו :count רשומות',
|
||||
'actions' => [
|
||||
'select_all' => [
|
||||
'label' => 'בחר את כל :count',
|
||||
],
|
||||
'deselect_all' => [
|
||||
'label' => 'בטל בחירה',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
'fields' => [
|
||||
'column' => [
|
||||
'label' => 'מיין לפי',
|
||||
],
|
||||
'direction' => [
|
||||
'label' => 'סדר לפי',
|
||||
'options' => [
|
||||
'asc' => 'סדר עולה',
|
||||
'desc' => 'סדר יורד',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
68
vendor/filament/tables/resources/lang/hi/table.php
vendored
Normal file
68
vendor/filament/tables/resources/lang/hi/table.php
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'search' => [
|
||||
'label' => 'खोजें',
|
||||
'placeholder' => 'खोजें',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'filter' => [
|
||||
'label' => 'फ़िल्टर',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'क्रियाएँ खोलें',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
'heading' => 'कोई रिकॉर्ड उपलब्ध नहीं',
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'reset' => [
|
||||
'label' => 'फ़िल्टर रीसेट करें',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'सब',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'सब',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 रिकॉर्ड चयनित।|:count रिकॉर्ड चयनित।',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'सभी :count चुने',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'सभी अचयनित करे',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
217
vendor/filament/tables/resources/lang/hr/table.php
vendored
Normal file
217
vendor/filament/tables/resources/lang/hr/table.php
vendored
Normal file
@@ -0,0 +1,217 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Kolone',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'i :count još',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Odaberi/poništi odabir svih stavki za skupne radnje.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Odaberi/poništi odabir stavke :key za skupne radnje.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Odaberi/poništi odabir grupe :title za skupne radnje.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Pretraga',
|
||||
'placeholder' => 'Pretraži',
|
||||
'indicator' => 'Pretraži',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Sažetak',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Sve :label',
|
||||
'group' => ':group sažetak',
|
||||
'page' => 'Ova stranica',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Prosijek',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Broj',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Zbroj',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Završi mijenjanje redolijeda zapisa',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Mijenjanje redolijeda zapisa',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filter',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupa',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Skupne radnje',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Prikaži/sakrij kolone',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Nema :model',
|
||||
|
||||
'description' => 'Stvorite :model kako biste počeli.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Ukloni filter',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Ukloni sve filtere',
|
||||
'tooltip' => 'Ukloni sve filtere',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Poništi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filteri',
|
||||
|
||||
'indicator' => 'Aktivni filteri',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Sve',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Sve',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Obrisani zapisi',
|
||||
|
||||
'only_trashed' => 'Samo obrisani zapisi',
|
||||
|
||||
'with_trashed' => 'Sa obrisanih zapisa',
|
||||
|
||||
'without_trashed' => 'Bez obrisanih zapisa',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupiraj prema',
|
||||
'placeholder' => 'Grupiraj prema',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Smjer grupiranja',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Uzlazno',
|
||||
'desc' => 'Silazno',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Povucite i ispustite zapise u redoslijed.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 odabrani zapis|:count odabranih zapisa',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Odaberi svih :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Odznači sve',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Sortiraj prema',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Smjer sortiranja',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Uzlazno',
|
||||
'desc' => 'Silazno',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/hu/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/hu/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Összetett szűrés',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Művelet',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Csoportok',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Diszjunkció (VAGY)',
|
||||
'or' => 'VAGY',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Szabályok',
|
||||
|
||||
'item' => [
|
||||
'and' => 'ÉS',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Nincs megadva szabály)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'ÉS',
|
||||
'or' => 'VAGY',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Nem üres',
|
||||
'inverse' => 'Üres',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute nem üres',
|
||||
'inverse' => ':attribute üres',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Igaz',
|
||||
'inverse' => 'Hamis',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute igaz',
|
||||
'inverse' => ':attribute hamis',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ez után',
|
||||
'inverse' => 'Nem ez után',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute :date után van',
|
||||
'inverse' => ':attribute nem :date után van',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ez előtt',
|
||||
'inverse' => 'Nem ez előtt',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute :date előtt van',
|
||||
'inverse' => ':attribute nem :date előtt van',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ekkor',
|
||||
'inverse' => 'Nem ekkor',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute :date',
|
||||
'inverse' => ':attribute nem :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ezen hónapban',
|
||||
'inverse' => 'Nem ezen hónapban',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute :month hónapban van',
|
||||
'inverse' => ':attribute nem :month hónapban van',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ezen évben',
|
||||
'inverse' => 'Nem ezen évben',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute :year évben van',
|
||||
'inverse' => ':attribute nem :year évben van',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Dátum',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Hónap',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Év',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Egyenlő',
|
||||
'inverse' => 'Nem egyenlő',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute egyenlő :number',
|
||||
'inverse' => ':attributenem egyenlő :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Maximum',
|
||||
'inverse' => 'Nagyobb mint',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute maximum :number',
|
||||
'inverse' => ':attribute nagyobb mint :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Minimum',
|
||||
'inverse' => 'Kisebb mint',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute minimum :number',
|
||||
'inverse' => ':attribute kisebb mint :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Átlag',
|
||||
'summary' => 'Átlag :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Maximum',
|
||||
'summary' => 'Maximum :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Minimum',
|
||||
'summary' => 'Minimum :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Összeg',
|
||||
'summary' => ':attribute összege',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Összesítés',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Szám',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Rendelkezik',
|
||||
'inverse' => 'Nem rendelkezik',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Rendelkezik :count :relationship -val/vel',
|
||||
'inverse' => 'Nem rendelkezik :count :relationship -val/vel',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Maximum rendelkezik',
|
||||
'inverse' => 'Többel rendelkezik',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Maximum :count :relationship -val/vel rendelkezik',
|
||||
'inverse' => 'Több mint :count :relationship -val/vel rendelkezik',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Minimum rendelkezik',
|
||||
'inverse' => 'Kevesebbel rendelkezik',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Minimum :count :relationship -val/vel rendelkezik',
|
||||
'inverse' => 'Kevesebb mint :count :relationship -val/vel rendelkezik',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Meg van adva',
|
||||
'inverse' => 'Nincs megadva',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship meg van adva',
|
||||
'inverse' => ':relationship nincs megadva',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Ez',
|
||||
'inverse' => 'Nem ez',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Tartalmazza',
|
||||
'inverse' => 'Nem tartalmazza',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship értéke :values',
|
||||
'inverse' => ':relationship értéke nem :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship tartalmazza a(z) :values értékeket',
|
||||
'inverse' => ':relationship nem tartalmazza a(z) :values értékeket',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' vagy ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Érték',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Értékek',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Mennyiség',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ez',
|
||||
'inverse' => 'Nem ez',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute értéke :values',
|
||||
'inverse' => ':attribute értéke nem :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' vagy ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Érték',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Értékek',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Tartalmazza',
|
||||
'inverse' => 'Nem tartalmazza',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute tartalmazza a(z) :text szövegrészletet',
|
||||
'inverse' => ':attribute nem tartalmazza a(z) :text szövegrészletet',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Így végződik',
|
||||
'inverse' => 'Nem így végződik',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute :text -val/vel végződik',
|
||||
'inverse' => ':attribute nem :text -val/vel végződik',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Megegyezik',
|
||||
'inverse' => 'Nem egyezik meg',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute megegyezik :text -val/vel',
|
||||
'inverse' => ':attribute nem egyezik meg :text -val/vel',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Így kezdődik',
|
||||
'inverse' => 'Nem így kezdődik',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute :text -val/vel kezdődik',
|
||||
'inverse' => ':attribute nem :text -val/vel kezdődik',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Szöveg',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Szabály hozzáadása',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Szabálycsoport hozzáadása',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/hu/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/hu/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Oszlopok',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => ':count elemmel kevesebb mutatása',
|
||||
'expand_list' => ':count elemmel több mutatása',
|
||||
],
|
||||
|
||||
'more_list_items' => 'és :count több',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Az összes elem kijelölése vagy a kijelölés megszüntetése csoportos műveletekhez.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => ':key elem kijelölése vagy a kijelölés megszüntetése csoportos műveletekhez.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => ':title csoport kijelölése vagy a kijelölés megszüntetése csoportos műveletekhez.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Keresés',
|
||||
'placeholder' => 'Keresés',
|
||||
'indicator' => 'Keresés',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Összesítés',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Összes :label',
|
||||
'group' => ':group összesítése',
|
||||
'page' => 'Ezen az oldalon',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Átlag',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Darab',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Összeg',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Átrendezés befejezése',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Átrendezés',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Szűrés',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Csoportosítás',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Csoportos műveletek',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Oszlopok láthatósága',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Nincs megjeleníthető elem',
|
||||
|
||||
'description' => 'Hozz létre egy újat a kezdéshez.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Szűrők alkalmazása',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Szűrő megszüntetése',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Az összes szűrő megszüntetése',
|
||||
'tooltip' => 'Az összes szűrő megszüntetése',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Visszaállítás',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Szűrők',
|
||||
|
||||
'indicator' => 'Aktív szűrők',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Mind',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Mind',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Törölt elemek',
|
||||
|
||||
'only_trashed' => 'Csak a törölt elemek',
|
||||
|
||||
'with_trashed' => 'Törölt elemekkel együtt',
|
||||
|
||||
'without_trashed' => 'Törölt elemek nélkül',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Csoportosítás',
|
||||
'placeholder' => 'Csoportosítás',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Csoportosítás iránya',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Növekvő',
|
||||
'desc' => 'Csökkenő',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Kattints az elemekre és mozgasd őket az átrendezéshez.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 elem kiválasztva|:count elem kiválasztva',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Mind a(z) :count elem kijelölése',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Kijelölés megszüntetése',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Rendezés',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Rendezési irány',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Növekvő',
|
||||
'desc' => 'Csökkenő',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
84
vendor/filament/tables/resources/lang/hy/table.php
vendored
Normal file
84
vendor/filament/tables/resources/lang/hy/table.php
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'search' => [
|
||||
'label' => 'Որոնել',
|
||||
'placeholder' => 'Որոնել',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Ֆիլտր',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Բացել գործողություններ',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Փոխարկել սյունակները',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
'heading' => 'Գրառումներ չեն գտնվել',
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Վերականգնել ֆիլտրերը',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Բոլորը',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Բոլորը',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Ջնջված գրառումները',
|
||||
|
||||
'only_trashed' => 'Միայն ջնջված գրառումները',
|
||||
|
||||
'with_trashed' => 'Ջնջված գրառումներով',
|
||||
|
||||
'without_trashed' => 'Առանց ջնջված գրառումների',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 գրառում ընտրված է։|:count գրառում ընտրված է։',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Ընտրել բոլոր :count֊ը',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Ապաընտրել բոլորը',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/id/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/id/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Penyusun Kueri',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operator',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Grup',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjungsi (ATAU)',
|
||||
'or' => 'ATAU',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Aturan',
|
||||
|
||||
'item' => [
|
||||
'and' => 'DAN',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Tanpa aturan)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'DAN',
|
||||
'or' => 'ATAU',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Terisi',
|
||||
'inverse' => 'Kosong',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute terisi',
|
||||
'inverse' => ':attribute kosong',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ya',
|
||||
'inverse' => 'Tidak',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute adalah ya',
|
||||
'inverse' => ':attribute adalah tidak',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Setelah',
|
||||
'inverse' => 'Tidak setelah',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute setelah :date',
|
||||
'inverse' => ':attribute tidak setelah :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Sebelum',
|
||||
'inverse' => 'Tidak sebelum',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute sebelum :date',
|
||||
'inverse' => ':attribute tidak sebelum :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Pada tanggal',
|
||||
'inverse' => 'Tidak pada tanggal',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute pada tanggal :date',
|
||||
'inverse' => ':attribute tidak pada tanggal :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Pada bulan',
|
||||
'inverse' => 'Tidak pada bulan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute pada bulan :month',
|
||||
'inverse' => ':attribute tidak pada bulan :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Pada tahun',
|
||||
'inverse' => 'Tidak pada tahun',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute pada tahun :year',
|
||||
'inverse' => ':attribute tidak pada tahun :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Tanggal',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Bulan',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Tahun',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Sama dengan',
|
||||
'inverse' => 'Tidak sama dengan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute sama dengan :number',
|
||||
'inverse' => ':attribute tidak sama dengan :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Maksimum',
|
||||
'inverse' => 'Lebih dari',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Maksimum :attribute adalah :number',
|
||||
'inverse' => ':attribute lebih dari :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Minimum',
|
||||
'inverse' => 'Kurang dari',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Minimum :attribute adalah :number',
|
||||
'inverse' => ':attribute kurang dari :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Rata-rata',
|
||||
'summary' => 'Rata-rata :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Tertinggi',
|
||||
'summary' => ':attribute tertinggi',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Terendah',
|
||||
'summary' => ':attribute terendah',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Total',
|
||||
'summary' => 'Total :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Agregat',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Angka',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Memiliki',
|
||||
'inverse' => 'Tidak memiliki',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Memiliki :count :relationship',
|
||||
'inverse' => 'Tidak memiliki :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Memiliki hingga',
|
||||
'inverse' => 'Memiliki lebih dari',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Memiliki hingga :count :relationship',
|
||||
'inverse' => 'Memiliki lebih dari :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Memiliki setidaknya',
|
||||
'inverse' => 'Memiliki kurang dari',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Memiliki setidaknya :count :relationship',
|
||||
'inverse' => 'Memiliki kurang dari :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Tidak memiliki',
|
||||
'inverse' => 'Memiliki',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'tidak memiliki :relationship',
|
||||
'inverse' => 'memiliki :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Adalah',
|
||||
'inverse' => 'Bukan',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Terdapat',
|
||||
'inverse' => 'Tidak terdapat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship adalah :values',
|
||||
'inverse' => ':relationship bukanlah :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship terdapat :values',
|
||||
'inverse' => ':relationship tidak terdapat :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' atau ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Nilai',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Nilai',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Jumlah',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Adalah',
|
||||
'inverse' => 'Bukan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute adalah :values',
|
||||
'inverse' => ':attribute bukan :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' or ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Nilai',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Nilai',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Terdapat',
|
||||
'inverse' => 'Tidak terdapat',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute terdapat :text',
|
||||
'inverse' => ':attribute tidak terdapat :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Diakhiri dengan',
|
||||
'inverse' => 'Tidak diakhiri dengan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute diakhiri dengan :text',
|
||||
'inverse' => ':attribute tidak diakhiri dengan :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Sama dengan',
|
||||
'inverse' => 'Tidak sama dengan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute sama dengan :text',
|
||||
'inverse' => ':attribute tidak sama dengan :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Dimulai dengan',
|
||||
'inverse' => 'Tidak dimulai dengan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute dimulai dengan :text',
|
||||
'inverse' => ':attribute tidak dimulai dengan :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Teks',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Tambah aturan',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Tambah grup aturan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/id/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/id/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Kolom',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Sembunyikan :count lainnya',
|
||||
'expand_list' => 'Tampilkan :count lainnya',
|
||||
],
|
||||
|
||||
'more_list_items' => 'dan :count lainnya',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Buat/batalkan pilihan semua item untuk tindakan massal.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Buat/batalkan pilihan item :key untuk tindakan massal.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Buat/batalkan pilihan grup :title untuk tindakan massal.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Cari',
|
||||
'placeholder' => 'Cari',
|
||||
'indicator' => 'Pencarian',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Rangkuman',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Semua :label',
|
||||
'group' => 'Rangkuman :group',
|
||||
'page' => 'Halaman ini',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Rata-rata',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Jumlah',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Total',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Selesaikan pengurutan ulang data',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Urutkan ulang data',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filter',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grup',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Tindakan',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Pilih kolom',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Tidak ada data yang ditemukan',
|
||||
|
||||
'description' => 'Buat :model untuk memulai.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Terapkan filter',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Hapus filter',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Hapus semua filter',
|
||||
'tooltip' => 'Hapus semua filter',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Atur ulang filter',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filter',
|
||||
|
||||
'indicator' => 'Filter aktif',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Semua',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Semua',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Data yang dihapus',
|
||||
|
||||
'only_trashed' => 'Hanya data yang dihapus',
|
||||
|
||||
'with_trashed' => 'Dengan data yang dihapus',
|
||||
|
||||
'without_trashed' => 'Tanpa data yang dihapus',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Kelompokkan berdasar',
|
||||
'placeholder' => 'Kelompokkan berdasar',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Urutan grup',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Naik',
|
||||
'desc' => 'Turun',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Seret dan lepaskan data ke dalam urutan.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => ':count data dipilih',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Pilih semua (:count)',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Batalkan semua pilihan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Urutkan menurut',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Arah urutan',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Naik',
|
||||
'desc' => 'Turun',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/it/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/it/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Generatore di query',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operatore',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Gruppi',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Separatore (OR)',
|
||||
'or' => 'OR',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Regole',
|
||||
|
||||
'item' => [
|
||||
'and' => 'AND',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Nessuna regola)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'AND',
|
||||
'or' => 'OR',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Compilato',
|
||||
'inverse' => 'Non compilato',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute è compilato',
|
||||
'inverse' => ':attribute non è compilato',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Vero',
|
||||
'inverse' => 'Falso',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute è vero',
|
||||
'inverse' => ':attribute è falso',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Dopo il',
|
||||
'inverse' => 'Fino al',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute dopo il :date',
|
||||
'inverse' => ':attribute fino al :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Prima del',
|
||||
'inverse' => 'Non prima del',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute è prima del :date',
|
||||
'inverse' => ':attribute non è prima del :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Data uguale a',
|
||||
'inverse' => 'Data diversa da',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute è uguale a :date',
|
||||
'inverse' => ':attribute è diversa da :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Mese uguale a',
|
||||
'inverse' => 'Mese diverso da',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute è uguale a :month',
|
||||
'inverse' => ':attribute è diverso da :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Anno uguale a ',
|
||||
'inverse' => 'Anno diverso da',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute è uguale a :year',
|
||||
'inverse' => ':attribute è diverso da :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Data',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Mese',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Anno',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Uguale a ',
|
||||
'inverse' => 'Diverso da',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute uguale a :number',
|
||||
'inverse' => ':attribute diverso da :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Massimo',
|
||||
'inverse' => 'Più grande di',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute è massimo :number',
|
||||
'inverse' => ':attribute è più grande di :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Minimo',
|
||||
'inverse' => 'Meno di',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute è minimo :number',
|
||||
'inverse' => ':attribute è meno di :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Media',
|
||||
'summary' => 'Media :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Massimo',
|
||||
'summary' => 'Massimo :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Minimo',
|
||||
'summary' => 'Minimo :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Somma',
|
||||
'summary' => 'Somma di :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Aggregata',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Numero',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ha',
|
||||
'inverse' => 'Non ha',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Ha :count :relationship',
|
||||
'inverse' => 'Non ha :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ha al massimo',
|
||||
'inverse' => 'Ha più di',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Ha al massimo :count :relationship',
|
||||
'inverse' => 'Ha più di :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ha minimo',
|
||||
'inverse' => 'Ha meno di',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Ha minimo :count :relationship',
|
||||
'inverse' => 'Ha meno di :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'È vuoto',
|
||||
'inverse' => 'Non è vuoto',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship è vuoto',
|
||||
'inverse' => ':relationship non è vuoto',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'È uguale a',
|
||||
'inverse' => 'È diverso da',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Contiene',
|
||||
'inverse' => 'Non contiene',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship è :values',
|
||||
'inverse' => ':relationship non è :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship contiene :values',
|
||||
'inverse' => ':relationship non contiene :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' oppure ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valore',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valori',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Conteggio',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'È uguale a',
|
||||
'inverse' => 'È diverso da',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute è uguale a :values',
|
||||
'inverse' => ':attribute diverso da :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' oppure ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valore',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valori',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Contiene',
|
||||
'inverse' => 'Non contiene',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute contiene :text',
|
||||
'inverse' => ':attribute non contiene :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Finisce con',
|
||||
'inverse' => 'Non finisce con',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute finisce con :text',
|
||||
'inverse' => ':attribute non finisce con :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Uguale a',
|
||||
'inverse' => 'Diverso da',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute uguale a :text',
|
||||
'inverse' => ':attribute diversa da :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Inizia con',
|
||||
'inverse' => 'Non inizia con',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute inizia con :text',
|
||||
'inverse' => ':attribute non inizia con :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Testo',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Aggiungi regola',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Aggiungi gruppo di regole',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
223
vendor/filament/tables/resources/lang/it/table.php
vendored
Normal file
223
vendor/filament/tables/resources/lang/it/table.php
vendored
Normal file
@@ -0,0 +1,223 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Colonne',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Mostra :count di meno',
|
||||
'expand_list' => 'Mostra :count di più',
|
||||
],
|
||||
|
||||
'more_list_items' => 'e altri :count',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Seleziona/Deseleziona tutti gli elementi per le azioni di massa.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => "Seleziona/Deseleziona l'elemento :key per le azioni di massa.",
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Seleziona/deseleziona gruppo :title per azioni collettive.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Cerca',
|
||||
'placeholder' => 'Cerca',
|
||||
'indicator' => 'Cerca',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Riepilogo',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Tutti gli :label',
|
||||
'group' => 'Riepilogo :group',
|
||||
'page' => 'Questa pagina',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Media',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Conteggio',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Somma',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Termina riordino record',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Riordina record',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtro',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Gruppo',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Azioni',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Mostra/Nascondi colonne',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Nessun risultato',
|
||||
|
||||
'description' => 'Crea un :model per iniziare.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Rimuovi filtro',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Rimuovi tutti i filtri',
|
||||
'tooltip' => 'Rimuovi tutti i filtri',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Reimposta',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtri',
|
||||
|
||||
'indicator' => 'Filtri attivi',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Tutti',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Tutti',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Record eliminati',
|
||||
|
||||
'only_trashed' => 'Solo record eliminati',
|
||||
|
||||
'with_trashed' => 'Con record eliminati',
|
||||
|
||||
'without_trashed' => 'Senza record eliminati',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Raggruppa per',
|
||||
'placeholder' => 'Raggruppa per',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Ordine',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Crescente',
|
||||
'desc' => 'Decrescente',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Trascina e rilascia i record in ordine.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 record selezionato|:count record selezionati',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Seleziona tutti :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Deseleziona tutti',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Ordina per',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Ordine',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Crescente',
|
||||
'desc' => 'Decrescente',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/ja/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/ja/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'クエリビルダー',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'オペレーター',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'グループ',
|
||||
|
||||
'block' => [
|
||||
'label' => '論理和 (または)',
|
||||
'or' => 'または',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'ルール',
|
||||
|
||||
'item' => [
|
||||
'and' => 'かつ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(ルールなし)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'かつ',
|
||||
'or' => 'または',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '入力あり',
|
||||
'inverse' => '空白',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは入力されています',
|
||||
'inverse' => ':attribute は空白です',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '真',
|
||||
'inverse' => '偽',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは真です',
|
||||
'inverse' => ':attribute は偽です',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '以降',
|
||||
'inverse' => '以降ではない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:date以降',
|
||||
'inverse' => ':attributeは:date以降ではない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '以前',
|
||||
'inverse' => '以前ではない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:date以前',
|
||||
'inverse' => ':attributeは:date以前ではない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '日付である',
|
||||
'inverse' => '日付でない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:dateである',
|
||||
'inverse' => ':attributeは:dateではない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '月',
|
||||
'inverse' => '月ではない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:monthである',
|
||||
'inverse' => ':attributeは:monthではない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '年',
|
||||
'inverse' => '年ではない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:yearである',
|
||||
'inverse' => ':attributeは:yearではない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => '日',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => '月',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => '年',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '等しい',
|
||||
'inverse' => '等しくない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:numberと等しい',
|
||||
'inverse' => ':attributeは:numberと等しくない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '最大',
|
||||
'inverse' => '以上',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:number以下である',
|
||||
'inverse' => 'attributeは:numberより大きい',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '最小',
|
||||
'inverse' => '以下',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:number以上である',
|
||||
'inverse' => ':attributeは:numberより小さい',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => '平均',
|
||||
'summary' => ':attributeの平均',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => '最大値',
|
||||
'summary' => ':attributeの最大値',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => '最小値',
|
||||
'summary' => ':attributeの最小値',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => '合計',
|
||||
'summary' => ':attributeの合計',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => '集計',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => '数',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '持っている',
|
||||
'inverse' => '持っていない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':count個の:relationshipを保持',
|
||||
'inverse' => ':count個の:relationshipを非保持',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '最大である',
|
||||
'inverse' => 'より多い',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':count個以下の:relationshipを保持',
|
||||
'inverse' => ':count個より多く:relationshipを保持',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '最小である',
|
||||
'inverse' => 'より少ない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':count個以上の:relationshipを保持',
|
||||
'inverse' => ':count個より少ない:relationshipを保持',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '空である',
|
||||
'inverse' => '空ではない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationshipは空である',
|
||||
'inverse' => ':relationshipは空ではない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'である',
|
||||
'inverse' => 'ではない',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => '含む',
|
||||
'inverse' => '含まない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationshipは:valuesである',
|
||||
'inverse' => ':relationshipは:valuesではない',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationshipは:valuesを含む',
|
||||
'inverse' => ':relationshipは:valuesを含まない',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' または ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => '値',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => '値',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => '数',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'である',
|
||||
'inverse' => 'ではない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:valuesである',
|
||||
'inverse' => ':attributeは:valuesではない',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' または ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => '値',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => '値',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '含む',
|
||||
'inverse' => '含まない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:textを含む',
|
||||
'inverse' => ':attributeは:textを含まない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'で終わる',
|
||||
'inverse' => 'で終わらない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:textで終わる',
|
||||
'inverse' => ':attributeは:textで終わらない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '等しい',
|
||||
'inverse' => '等しくない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:textと等しい',
|
||||
'inverse' => ':attributeは:textと等しくない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'で始まる',
|
||||
'inverse' => 'で始まらない',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attributeは:textで始まる',
|
||||
'inverse' => ':attributeは:textで始まらない',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'テキスト',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'ルールを追加',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'ルールグループを追加',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/ja/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/ja/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'カラム',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => ':count件非表示',
|
||||
'expand_list' => ':count件表示',
|
||||
],
|
||||
|
||||
'more_list_items' => 'あと:count件あります',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => '一括操作の全項目の選択/解除。',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => '一括操作のキー:keyの選択/解除。',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => '一括操作のグループ:keyの選択/解除。',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => '検索',
|
||||
'placeholder' => '検索',
|
||||
'indicator' => '検索',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'サマリー',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'すべての:label',
|
||||
'group' => ':groupのサマリー',
|
||||
'page' => 'このページ',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => '平均',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'カウント',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => '合計',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'レコードの並び替えを終了',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'レコードの並び替え',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'フィルタ',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'グループ',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => '操作を開く',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => '列を切り替える',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => ':modelが見つかりません',
|
||||
|
||||
'description' => ':modelを作成してください。',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'フィルタを適用',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'フィルタを解除',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'すべてのフィルタを解除',
|
||||
'tooltip' => 'すべてのフィルタを解除',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'リセット',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'フィルタ',
|
||||
|
||||
'indicator' => '有効なフィルタ',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => '全件',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => '全件',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => '削除済みレコード',
|
||||
|
||||
'only_trashed' => '削除済みレコードのみ',
|
||||
|
||||
'with_trashed' => '削除済みレコード含む',
|
||||
|
||||
'without_trashed' => '削除済みレコードを除く',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'グループ化',
|
||||
'placeholder' => 'グループ化',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'グループ順の方向',
|
||||
|
||||
'options' => [
|
||||
'asc' => '昇順',
|
||||
'desc' => '降順',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'ドラッグ&ドロップでレコードを並び替え。',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1件選択済み|:count件選択済み',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => ':count件すべて選択',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => '全選択解除',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => '並び順',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => '並び変えの方向',
|
||||
|
||||
'options' => [
|
||||
'asc' => '昇順',
|
||||
'desc' => '降順',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
138
vendor/filament/tables/resources/lang/ka/table.php
vendored
Normal file
138
vendor/filament/tables/resources/lang/ka/table.php
vendored
Normal file
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'columns' => [
|
||||
|
||||
'tags' => [
|
||||
'more' => 'და კიდევ :count',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'search' => [
|
||||
'label' => 'ძიება',
|
||||
'placeholder' => 'ძიება',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'ჩანაწერების გადანაცვლების დასრულება',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'ჩანაწერების გადანაცვლება',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'ფილტრი',
|
||||
],
|
||||
|
||||
'open_actions' => [
|
||||
'label' => 'ქმედებები',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'სვეტების დამალვა/გამოჩენა',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'ჩანაწერები ვერ მოიძებნა',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'ფილტრის მოხსნა',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'ყველა ფილტრის მოხსნა',
|
||||
'tooltip' => 'ყველა ფილტრის მოხსნა',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'ფილტრების გაუქმება',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'indicator' => 'აქტიური ფილტრები',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'ყველა',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'ყველა',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'წაშლილი ჩანაწერები',
|
||||
|
||||
'only_trashed' => 'მხოლოდ წაშლილი ჩანაწერები',
|
||||
|
||||
'with_trashed' => 'წაშლილი ჩანაწერებიანა',
|
||||
|
||||
'without_trashed' => 'წაშლილი ჩანაწერების გარეშე',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'გადაადგილე ჩანაწერები.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => 'მონიშნულია :count ჩანაწერი',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => '{1} მონიშნე ყველა|[2,*] მონიშნე :count-ივე',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'მონიშვნების მოხსნა',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'სორტირება',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'სორტირების მიმართულება',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'ზრდადობით',
|
||||
'desc' => 'კლებადობით',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/km/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/km/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Query builder',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'ប្រតិបត្តិករ',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'ក្រុម',
|
||||
|
||||
'block' => [
|
||||
'label' => 'ការផ្តាច់ខ្លួន (ឬ)',
|
||||
'or' => 'ឬ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'ច្បាប់',
|
||||
|
||||
'item' => [
|
||||
'and' => 'និង',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(មិនមានច្បាប់)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'និង',
|
||||
'or' => 'ឬ',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ត្រូវបានបំពេញ',
|
||||
'inverse' => 'គឺទទេ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ត្រូវបានបំពេញ',
|
||||
'inverse' => ':attribute គឺទទេ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'គឺពិត',
|
||||
'inverse' => 'មិនពិត',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute គឺពិត',
|
||||
'inverse' => ':attribute មិនពិត',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'គឺបន្ទាប់ពី',
|
||||
'inverse' => 'គឺមិនមែនបន្ទាប់ពី',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute គឺបន្ទាប់ពី :date',
|
||||
'inverse' => ':attribute គឺមិនមែនបន្ទាប់ពី :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'គឺពីមុន',
|
||||
'inverse' => 'មិនមែនពីមុនទេ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute គឺពីមុន :date',
|
||||
'inverse' => ':attribute មិនមែនពីមុនទេ :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'គឺកាលបរិច្ឆេទ',
|
||||
'inverse' => 'មិនមែនជាកាលបរិច្ឆេទទេ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute គឺ :date',
|
||||
'inverse' => ':attribute មិនមែន :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'គឺខែ',
|
||||
'inverse' => 'មិនមែនខែទេ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute គឺ :month',
|
||||
'inverse' => ':attribute មិនមែន :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'គឺជាឆ្នាំ',
|
||||
'inverse' => 'មិនមែនឆ្នាំទេ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute គឺ :year',
|
||||
'inverse' => ':attribute មិនមែន :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'កាលបរិច្ឆេទ',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'ខែ',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'ឆ្នាំ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ស្មើ',
|
||||
'inverse' => 'មិនស្មើគ្នា',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ស្មើ :number',
|
||||
'inverse' => ':attribute មិនស្មើគ្នា :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'គឺអតិបរមា',
|
||||
'inverse' => 'គឺធំជាង',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute គឺអតិបរមា :number',
|
||||
'inverse' => ':attribute គឺធំជាង :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'គឺអប្បបរមា',
|
||||
'inverse' => 'គឺតិចជាង',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute គឺអប្បបរមា :number',
|
||||
'inverse' => ':attribute គឺតិចជាង :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'មធ្យម',
|
||||
'summary' => 'មធ្យម :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'អតិបរមា',
|
||||
'summary' => 'អតិបរមា :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'អប្បបរមា',
|
||||
'summary' => 'អប្បបរមា :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'បូក',
|
||||
'summary' => 'ផលបូកនៃ :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'សរុប',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'ចំនួន',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'មាន',
|
||||
'inverse' => 'មិនមាន',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'មាន :count :relationship',
|
||||
'inverse' => 'មិនមាន :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'មានអតិបរមា',
|
||||
'inverse' => 'មានច្រើនជាង',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'មានអតិបរមា :count :relationship',
|
||||
'inverse' => 'មានច្រើនជាង :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'មានអប្បបរមា',
|
||||
'inverse' => 'មានតិចជាង',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'មានអប្បបរមា :count :relationship',
|
||||
'inverse' => 'មានតិចជាង :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'គឺទទេ',
|
||||
'inverse' => 'មិនទទេ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship គឺទទេ',
|
||||
'inverse' => ':relationship មិនទទេ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'គឺ',
|
||||
'inverse' => 'មិនមែន',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'មាន',
|
||||
'inverse' => 'មិនមាន',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship គឺ :values',
|
||||
'inverse' => ':relationship មិនមែន :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship មាន :values',
|
||||
'inverse' => ':relationship មិនមាន :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' ឬ ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'តម្លៃ',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'តម្លៃច្រើន',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'រាប់',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'គឺ',
|
||||
'inverse' => 'មិនមែន',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute គឺ :values',
|
||||
'inverse' => ':attribute មិនមែន :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' ឬ ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'តម្លៃ',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'តម្លៃច្រើន',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'មាន',
|
||||
'inverse' => 'មិនមែន',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute មាន :text',
|
||||
'inverse' => ':attribute មិនមែន :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'បញ្ចប់ដោយ',
|
||||
'inverse' => 'មិនបញ្ចប់ដោយ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute បញ្ចប់ដោយ :text',
|
||||
'inverse' => ':attribute មិនបញ្ចប់ដោយ :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ស្មើ',
|
||||
'inverse' => 'មិនស្មើគ្នា',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ស្មើ :text',
|
||||
'inverse' => ':attribute មិនស្មើគ្នា :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'ចាប់ផ្តើមជាមួយ',
|
||||
'inverse' => 'មិនចាប់ផ្តើមជាមួយ',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ចាប់ផ្តើមជាមួយ :text',
|
||||
'inverse' => ':attribute មិនចាប់ផ្តើមជាមួយ :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'អត្ថបទ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'បន្ថែមច្បាប់',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'បន្ថែមក្រុមច្បាប់',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/km/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/km/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'ជួរឈរ',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'បង្ហាញ :count តិច',
|
||||
'expand_list' => 'បង្ហាញ :count ច្រើនទៀត',
|
||||
],
|
||||
|
||||
'more_list_items' => 'និង :count ច្រើនទៀត',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'ជ្រើសរើស/មិនជ្រើសរើសធាតុទាំងអស់សម្រាប់សកម្មភាពភាគច្រើន.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'ជ្រើសរើស/មិនជ្រើសរើសធាតុ :key សម្រាប់សកម្មភាពភាគច្រើន.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'ជ្រើសរើស/មិនជ្រើសរើសក្រុម :title សម្រាប់សកម្មភាពភាគច្រើន.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'ស្វែងរក',
|
||||
'placeholder' => 'ស្វែងរក',
|
||||
'indicator' => 'ស្វែងរក',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'សង្ខេប',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'ទាំងអស់ :label',
|
||||
'group' => ':group សង្ខេប',
|
||||
'page' => 'ទំព័រនេះ',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'មធ្យម',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'រាប់',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'បូក',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'បញ្ចប់ការរៀបចំកំណត់ត្រាឡើងវិញ',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'តម្រៀបកំណត់ត្រាឡើងវិញ',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'តម្រង',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'ក្រុម',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'សកម្មភាពភាគច្រើន',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'បិទ/បើកជួរឈរ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'គ្មាន :model',
|
||||
|
||||
'description' => 'បង្កើត :model មួយដើម្បីចាប់ផ្តើម។.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'អនុវត្តតម្រង',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'យកតម្រងចេញ',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'លុបចោលតម្រងទាំងអស់',
|
||||
'tooltip' => 'លុបចោលតម្រងទាំងអស់',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'កំណត់ឡើងវិញ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'តម្រង',
|
||||
|
||||
'indicator' => 'តម្រងសកម្ម',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'ទាំងអស់។',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'ទាំងអស់។',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'កំណត់ត្រាដែលបានលុប',
|
||||
|
||||
'only_trashed' => 'មានតែកំណត់ត្រាដែលបានលុបប៉ុណ្ណោះ។',
|
||||
|
||||
'with_trashed' => 'ជាមួយនឹងកំណត់ត្រាដែលបានលុប',
|
||||
|
||||
'without_trashed' => 'ដោយគ្មានកំណត់ត្រាដែលបានលុប',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'ដាក់ជាក្រុមដោយ',
|
||||
'placeholder' => 'ដាក់ជាក្រុមដោយ',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'ទិសដៅក្រុម',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'ឡើង',
|
||||
'desc' => 'ចុះ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'អូស និងទម្លាក់កំណត់ត្រាតាមលំដាប់លំដោយ.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => 'បានជ្រើសរើស 1 កំណត់ត្រា|:count រាប់កំណត់ត្រា បានជ្រើសរើស',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'ជ្រើសរើសទាំងអស់៖ :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'ដកការជ្រើសរើសទាំងអស់',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'តម្រៀបតាម',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'តម្រៀបទិសដៅ',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'ឡើង',
|
||||
'desc' => 'ចុះ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/ko/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/ko/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => '쿼리 빌더',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => '연산자',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => '그룹',
|
||||
|
||||
'block' => [
|
||||
'label' => '배타적 논리 (OR)',
|
||||
'or' => '또는',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => '조건',
|
||||
|
||||
'item' => [
|
||||
'and' => '그리고',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(조건 없음)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => '그리고',
|
||||
'or' => '또는',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '채워짐',
|
||||
'inverse' => '빈 값',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) 채워짐',
|
||||
'inverse' => ':attribute이(가) 비어 있음',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '참',
|
||||
'inverse' => '거짓',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) 참',
|
||||
'inverse' => ':attribute이(가) 거짓',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '이후',
|
||||
'inverse' => '이후가 아님',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) :date 이후',
|
||||
'inverse' => ':attribute이(가) :date 이후가 아님',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '이전',
|
||||
'inverse' => '이전이 아님',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) :date 이전',
|
||||
'inverse' => ':attribute이(가) :date 이전이 아님',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '날짜임',
|
||||
'inverse' => '날짜가 아님',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) :date임',
|
||||
'inverse' => ':attribute이(가) :date가 아님',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '월임',
|
||||
'inverse' => '월이 아님',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) :month임',
|
||||
'inverse' => ':attribute이(가) :month가 아님',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '년도임',
|
||||
'inverse' => '년도가 아님',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) :year임',
|
||||
'inverse' => ':attribute이(가) :year가 아님',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => '날짜',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => '월',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => '년도',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '같음',
|
||||
'inverse' => '같지 않음',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) :number와 같음',
|
||||
'inverse' => ':attribute이(가) :number와 같지 않음',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '최대값임',
|
||||
'inverse' => '보다 큼',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) 최대값 :number임',
|
||||
'inverse' => ':attribute이(가) :number보다 큼',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '최소값임',
|
||||
'inverse' => '보다 작음',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) 최소값 :number임',
|
||||
'inverse' => ':attribute이(가) :number보다 작음',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => '평균',
|
||||
'summary' => ':attribute의 평균',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => '최대값',
|
||||
'summary' => ':attribute의 최대값',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => '최소값',
|
||||
'summary' => ':attribute의 최소값',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => '합계',
|
||||
'summary' => ':attribute의 합계',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => '집계',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => '숫자',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '포함함',
|
||||
'inverse' => '포함하지 않음',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':count :relationship을(를) 가짐',
|
||||
'inverse' => ':count :relationship을(를) 가지지 않음',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '최대값을 가짐',
|
||||
'inverse' => '보다 많음',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => '최대값 :count :relationship을(를) 가짐',
|
||||
'inverse' => ':count보다 많은 :relationship을(를) 가짐',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '최소값을 가짐',
|
||||
'inverse' => '보다 작음',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => '최소값 :count :relationship을(를) 가짐',
|
||||
'inverse' => ':count보다 작은 :relationship을(를) 가짐',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '비어 있음',
|
||||
'inverse' => '비어 있지 않음',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship이(가) 비어 있음',
|
||||
'inverse' => ':relationship이(가) 비어 있지 않음',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => '일치함',
|
||||
'inverse' => '일치하지 않음',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => '포함함',
|
||||
'inverse' => '포함하지 않음',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship이(가) :values와 일치함',
|
||||
'inverse' => ':relationship이(가) :values와 일치하지 않음',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship이(가) :values를 포함함',
|
||||
'inverse' => ':relationship이(가) :values를 포함하지 않음',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' 또는 ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => '값',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => '값들',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => '개수',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '일치함',
|
||||
'inverse' => '일치하지 않음',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) :values와 일치함',
|
||||
'inverse' => ':attribute이(가) :values와 일치하지 않음',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' 또는 ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => '값',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => '값들',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '포함함',
|
||||
'inverse' => '포함하지 않음',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) :text를 포함함',
|
||||
'inverse' => ':attribute이(가) :text를 포함하지 않음',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '끝이 일치함',
|
||||
'inverse' => '끝이 일치하지 않음',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) :text로 끝남',
|
||||
'inverse' => ':attribute이(가) :text로 끝나지 않음',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '같음',
|
||||
'inverse' => '같지 않음',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) :text와 같음',
|
||||
'inverse' => ':attribute이(가) :text와 같지 않음',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => '시작함',
|
||||
'inverse' => '시작하지 않음',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute이(가) :text로 시작함',
|
||||
'inverse' => ':attribute이(가) :text로 시작하지 않음',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => '텍스트',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => '조건 추가',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => '조건 그룹 추가',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/ko/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/ko/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => '열',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => ':count 개 더 접기',
|
||||
'expand_list' => ':count 개 더 펼치기',
|
||||
],
|
||||
|
||||
'more_list_items' => ':count 항목이 더 있습니다',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => '일괄 작업을 위해 모든 항목을 선택/선택 취소합니다.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => '일괄 작업을 위해 :key 항목을 선택/선택 취소합니다.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => '일괄 작업의 :title 그룹을 선택/선택 취소합니다.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => '검색',
|
||||
'placeholder' => '검색',
|
||||
'indicator' => '검색',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => '요약',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => '모든 :label',
|
||||
'group' => ':group 요약',
|
||||
'page' => '이 페이지',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => '평균',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => '수량',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => '합계',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => '재정렬 완료',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => '항목 재정렬',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => '필터',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => '그룹',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => '일괄 작업',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => '열 전환',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => ':model 없음',
|
||||
|
||||
'description' => ':model 을(를) 만들어 시작하세요.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => '필터 적용',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => '필터 삭제',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => '모든 필터 삭제',
|
||||
'tooltip' => '모든 필터 삭제',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => '초기화',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => '필터',
|
||||
|
||||
'indicator' => '활성된 필터',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => '전체',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => '전체',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => '삭제된 항목',
|
||||
|
||||
'only_trashed' => '삭제된 항목만',
|
||||
|
||||
'with_trashed' => '삭제된 항목 포함',
|
||||
|
||||
'without_trashed' => '삭제된 항목 제외',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => '그룹 기준',
|
||||
'placeholder' => '그룹 기준',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => '그룹 순서',
|
||||
|
||||
'options' => [
|
||||
'asc' => '오름차순',
|
||||
'desc' => '내림차순',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => '항목을 순서대로 끌어다 놓습니다.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => ':count 항목 선택됨',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => ':count 항목 모두 선택',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => '모두 선택 해제',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => '정렬 기준',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => '정렬 순서',
|
||||
|
||||
'options' => [
|
||||
'asc' => '오름차순',
|
||||
'desc' => '내림차순',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
213
vendor/filament/tables/resources/lang/ku/table.php
vendored
Normal file
213
vendor/filament/tables/resources/lang/ku/table.php
vendored
Normal file
@@ -0,0 +1,213 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'ستوونەکان',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'وە :count ی زیاتر',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'دیاریکردن/لابردنی دیاریکردنەکان بۆ هەموو تۆمارەکان بۆ کۆمەڵەی کردارەکان.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'دیاریکردن/لابردنی دیاریکراوەکان بۆ :key بۆ کۆمەڵەی کردارەکان.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'گەڕان',
|
||||
'placeholder' => 'گەڕان',
|
||||
'indicator' => 'گەڕان',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'پوختە',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'هەموو :label',
|
||||
'group' => ':group پوختە',
|
||||
'page' => 'ئەم پەڕەیە',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'تێکڕا',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'ژماردەکان',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'کۆی گشتی',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'تەواوکردنی ڕێکخستنی تۆمارەکان',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'ڕێکخستنی تۆمارەکان',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'فلتەر',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'کۆمەڵ',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'کۆمەڵی کردارەکان',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'پشاندان/لابردنی ستوونەکان',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'هیچ تۆمارێکی :model بوونی نییە.',
|
||||
|
||||
'description' => 'تۆمارێکی :model دروس بکە بۆ دەستپێکردن.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'سڕینەوەی فلتەر',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'سڕینەوەی هەموو فلتەرەکان',
|
||||
'tooltip' => 'سڕینەوەی هەموو فلتەرەکان',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'دۆخی سەرەتا',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'فلتەرەکان',
|
||||
|
||||
'indicator' => 'فلتەرە چالاککراوەکان',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'هەموو',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'هەموو',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'تۆمارە سڕدراوەکان',
|
||||
|
||||
'only_trashed' => 'تەنها تۆمارە سڕدراوەکان',
|
||||
|
||||
'with_trashed' => 'لەگەل تۆمارە سڕدراوەکان',
|
||||
|
||||
'without_trashed' => 'بەبێ تۆمارە سڕدراوەکان',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'کۆمەڵ کردن بە',
|
||||
'placeholder' => 'کۆمەڵ کردن بە',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'ئاڕاستەی کۆمەڵ کردن',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'کەم بۆ زۆر',
|
||||
'desc' => 'زۆر بۆ کەم',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'تۆمارەکان هەڵبگرە و ڕیزیان بکە.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '١ ڕیز دیاریکراوە|:count ڕیز دیاریکراوە',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'هەڵبژاردنی هەموو :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'هەڵنەبژاردنی هەموو',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'کۆمەڵکردن بە',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'ئاڕاستەی کۆمەڵ کردن',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'کەم بۆ زۆر',
|
||||
'desc' => 'زۆر بۆ کەم',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/lt/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/lt/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Užklausos kūrimas',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Palyginimas',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Grupės',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Blokas (ARBA)',
|
||||
'or' => 'ARBA',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Taisyklės',
|
||||
|
||||
'item' => [
|
||||
'and' => 'IR',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Nėra taisyklių)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'IR',
|
||||
'or' => 'ARBA',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Užpildyta',
|
||||
'inverse' => 'Neužpildyta',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute užpildyta',
|
||||
'inverse' => ':attribute neužpildyta',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Yra teigiamas',
|
||||
'inverse' => 'Nėra teigiamas',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute yra teigiamas',
|
||||
'inverse' => ':attribute nėra teigiamas',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Yra po',
|
||||
'inverse' => 'Nėra po',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute yra po :date',
|
||||
'inverse' => ':attribute nėra po :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Yra prieš',
|
||||
'inverse' => 'Nėra prieš',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute yra prieš :date',
|
||||
'inverse' => ':attribute nėra prieš :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Yra data',
|
||||
'inverse' => 'Nėra data',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute yra :date',
|
||||
'inverse' => ':attribute nėra :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Yra mėnesis',
|
||||
'inverse' => 'Nėra mėnesis',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute yra :month',
|
||||
'inverse' => ':attribute nėra :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Yra metai',
|
||||
'inverse' => 'Nėra metai',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute yra :year',
|
||||
'inverse' => ':attribute nėra :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Data',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Mėnesis',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Metai',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Lygu',
|
||||
'inverse' => 'Nelygu',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute lygu :number',
|
||||
'inverse' => ':attribute nelygu :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Yra didžiausias',
|
||||
'inverse' => 'Yra didesnis už',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute yra didžiausias :number',
|
||||
'inverse' => ':attribute yra didesnis už :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Yra mažiausias',
|
||||
'inverse' => 'Yra mažesnis už',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute yra mažiausias :number',
|
||||
'inverse' => ':attribute yra mažesnis už :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Vidurkis',
|
||||
'summary' => ':attribute vidurkis',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Maksimumas',
|
||||
'summary' => 'Didžiausias :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Minimumas',
|
||||
'summary' => 'Mažiausias :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Suma',
|
||||
'summary' => ':attribute suma',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Suminis rodiklis',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Skaičius',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Turi',
|
||||
'inverse' => 'Neturi',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Turi :count :relationship',
|
||||
'inverse' => 'Neturi :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Turi daugiausiai',
|
||||
'inverse' => 'Turi daugiau nei',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Turi daugiausiai :count :relationship',
|
||||
'inverse' => 'Turi daugiau nei :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Turi mažiausiai',
|
||||
'inverse' => 'Turi mažiau nei',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Turi mažiausiai :count :relationship',
|
||||
'inverse' => 'Turi mažiau nei :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Yra tuščias',
|
||||
'inverse' => 'Nėra tuščias',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship yra tuščias',
|
||||
'inverse' => ':relationship nėra tuščias',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Yra',
|
||||
'inverse' => 'Nėra',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Yra vienas iš',
|
||||
'inverse' => 'Nėra nė vienas iš',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship yra :values',
|
||||
'inverse' => ':relationship nėra :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship turi :values',
|
||||
'inverse' => ':relationship neturi :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' arba ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Reikšmė',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Reikšmės',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Kiekis',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Yra',
|
||||
'inverse' => 'Nėra',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute yra :values',
|
||||
'inverse' => ':attribute nėra :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' arba ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Reikšmė',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Reikšmės',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Turi',
|
||||
'inverse' => 'Neturi',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute turi :text',
|
||||
'inverse' => ':attribute neturi :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Turi pabaigą',
|
||||
'inverse' => 'Neturi pabaigos',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute baigiasi :text',
|
||||
'inverse' => ':attribute nesibaigia :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Yra',
|
||||
'inverse' => 'Nėra',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute lygus :text',
|
||||
'inverse' => ':attribute nelygus :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Turi pradžią',
|
||||
'inverse' => 'Neturi pradžios',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute prasideda :text',
|
||||
'inverse' => ':attribute neprasideda :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Tekstas',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Pridėti taisyklę',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Pridėti taisyklių grupę',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
227
vendor/filament/tables/resources/lang/lt/table.php
vendored
Normal file
227
vendor/filament/tables/resources/lang/lt/table.php
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Stulpeliai',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Slėpti :count',
|
||||
'expand_list' => 'Rodyti dar :count',
|
||||
],
|
||||
|
||||
'more_list_items' => 'ir dar :count',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Pažymėti/atžymėti visus įrašus masiniam veiksmui.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Pažymėti/atžymėti įrašą :key masiniam veiksmui.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Pažymėti/atžymėti grupę :title masiniam veiksmui.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Paieška',
|
||||
'placeholder' => 'Paieška',
|
||||
'indicator' => 'Paieška',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Santrauka',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Viso :label',
|
||||
'group' => ':group santrauka',
|
||||
'page' => 'Šis puslapis',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Vidurkis',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Viso',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Suma',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Pabaik pertvarkyti įrašus',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Pertvarkyti įrašus',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtras',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupė',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Atidaryti veiksmus',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Perjungti stulpelius',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Nerasta įrašų',
|
||||
|
||||
'description' => 'Norėdami pradėti, sukurkite :model.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Taikyti filtrus',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Pašalinti filtrą',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Pašalinti visus filtrus',
|
||||
'tooltip' => 'Pašalinti visus filtrus',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Nustatyti filtrus iš naujo',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtrai',
|
||||
|
||||
'indicator' => 'Aktyvūs filtrai',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Visi',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Visi',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Ištrinti įrašai',
|
||||
|
||||
'only_trashed' => 'Tik ištrinti įrašai',
|
||||
|
||||
'with_trashed' => 'Su ištrintais įrašais',
|
||||
|
||||
'without_trashed' => 'Be ištrintų įrašų',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupuoti pagal',
|
||||
'placeholder' => 'Grupuoti pagal',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Grupės kryptis',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Didėjančia tvarka',
|
||||
'desc' => 'Mažėjančia tvarka',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Vilkite ir paleiskite įrašų rikiavimui.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 įrašas pasirinktas|:count įrašai pasirinkti',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Pažymėti visus :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Atžymėti visus',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Rūšiuoti pagal',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Rūšiavimo kryptis',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Didėjimo tvarka',
|
||||
'desc' => 'Mažėjimo tvarka',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
217
vendor/filament/tables/resources/lang/lv/table.php
vendored
Normal file
217
vendor/filament/tables/resources/lang/lv/table.php
vendored
Normal file
@@ -0,0 +1,217 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Kolonnas',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'un :count vēl',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Atlasīt/noņemt atlasi no visiem ierakstiem, lai veiktu lielapjoma darbības.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Atlasīt/noņemt atlasi no ierksta :key, lai veiktu lielapjoma darbības.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Atlasīt/noņemt atlasi no grupas :title, lai veiktu lielapjoma darbības.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Meklēt',
|
||||
'placeholder' => 'Meklēt',
|
||||
'indicator' => 'Meklēt',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Kopsavilkums',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Visi :label',
|
||||
'group' => ':group kopsavilkums',
|
||||
'page' => 'Šī lapa',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Vidēji',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Skaits',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Summa',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Pabeigt ierakstu kārtošanu',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Kārtot ierakstus',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtrēt',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupēt',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Lielapjoma darbības',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Izvēlēties kolonnas',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Nav atrasts neviens ieraksts',
|
||||
|
||||
'description' => 'Izveidot :model, lai sāktu.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Noņemt filtru',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Noņemt visus filtrus',
|
||||
'tooltip' => 'Noņemt visus filtrus',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Atiestatīt filtrus',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtri',
|
||||
|
||||
'indicator' => 'Aktīvie filtri',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Visi',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Visi',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Dzēstie ieraksti',
|
||||
|
||||
'only_trashed' => 'Tikai dzēstie ieraksti',
|
||||
|
||||
'with_trashed' => 'Kopā ar dzēstajiem ierakstiem',
|
||||
|
||||
'without_trashed' => 'Bez dzēstajiem ierakstiem',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupēt pēc',
|
||||
'placeholder' => 'Grupēt pēc',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Grupēšanas virziens',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Augošs',
|
||||
'desc' => 'Dilstošs',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Velciet un nometiet ierakstus secībā.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => 'Izvēlēts 1 ieraksts|:count ieraksti izvēlēti',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Atlasīt visus :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Noņemt atlasi visiem',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Kārtot pēc',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Kārtošanas virziens',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Augošs',
|
||||
'desc' => 'Dilstošs',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
146
vendor/filament/tables/resources/lang/mn/table.php
vendored
Normal file
146
vendor/filament/tables/resources/lang/mn/table.php
vendored
Normal file
@@ -0,0 +1,146 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'columns' => [
|
||||
|
||||
'tags' => [
|
||||
'more' => '... :count илүү',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Олонг сонгох/Цуцлах.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Олонг сонгох/Цуцлах :key.',
|
||||
],
|
||||
|
||||
'search_query' => [
|
||||
'label' => 'Хайх',
|
||||
'placeholder' => 'Хайх',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Эрэмбэлэлтийг дуусгах',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Мөрүүдийг эрэмбэлэх',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Шүүлтүүр',
|
||||
],
|
||||
|
||||
'open_actions' => [
|
||||
'label' => 'Үйлдэл',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Баганыг нээх/хаах',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Илэрц хоосон',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Цэвэрлэх',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Бүгдийг цэвэрлэх',
|
||||
'tooltip' => 'Бүгдийг цэвэрлэх',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Филтерийг болиулах',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'indicator' => 'Филтерийг идэвхижүүлэх',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Бүгд',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Бүгд',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Хогийн сав',
|
||||
|
||||
'only_trashed' => 'Зөвхөн устгасанг',
|
||||
|
||||
'with_trashed' => 'Аль алиныг',
|
||||
|
||||
'without_trashed' => 'Хэвийн',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Чирж эрэмбэлэх.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 бичлэг сонгогдов|:count -г сонгов',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Бүгдийг сонго :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Бүгдийг эс сонго',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Эрэмбэлэх',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Эрэмбэлэх',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Өсөх',
|
||||
'desc' => 'Буурах',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/ms/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/ms/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Pembina pertanyaan',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operator',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Kumpulan',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjunction (ATAU)',
|
||||
'or' => 'ATAU',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Peraturan',
|
||||
|
||||
'item' => [
|
||||
'and' => 'DAN',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Tiada peraturan)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'DAN',
|
||||
'or' => 'ATAU',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Dipenuhi',
|
||||
'inverse' => 'Kosong',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute dipenuhi',
|
||||
'inverse' => ':attribute kosong',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Betul',
|
||||
'inverse' => 'Salah',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute adalah betul',
|
||||
'inverse' => ':attribute adalah salah',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Adalah selepas',
|
||||
'inverse' => 'Adalah tidak selepas',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute adalah selepas :date',
|
||||
'inverse' => ':attribute adalah tidak selepas :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Adalah sebelum',
|
||||
'inverse' => 'Adalah tidak sebelum',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute adalah sebelum :date',
|
||||
'inverse' => ':attribute adalah tidak sebelum :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Adalah tarikh',
|
||||
'inverse' => 'Adalah bukan tarikh',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute adalah :date',
|
||||
'inverse' => ':attribute bukan :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Adalah bulan',
|
||||
'inverse' => 'Adalah bukan bulan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute adalah :month',
|
||||
'inverse' => ':attribute bukan :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Adalah tahun',
|
||||
'inverse' => 'Adalah bukan tahun',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute adalah :year',
|
||||
'inverse' => ':attribute bukan :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Tarikh',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Bulan',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Tahun',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Sama',
|
||||
'inverse' => 'Tidak sama',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute sama :number',
|
||||
'inverse' => ':attribute tidak sama :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Adalah maksimum',
|
||||
'inverse' => 'Adalah lebih besar daripada',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute adalah maksimum :number',
|
||||
'inverse' => ':attribute adalah lebih besar daripada :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Adalah minimum',
|
||||
'inverse' => 'Adalah kurang daripada',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute adalah minimum :number',
|
||||
'inverse' => ':attribute adalah kurang daripada :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Purata',
|
||||
'summary' => 'Purata :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Maks',
|
||||
'summary' => 'Maks :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Min',
|
||||
'summary' => 'Min :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Jumlah',
|
||||
'summary' => 'Jumlah :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Agregat',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Nombor',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Mempunyai',
|
||||
'inverse' => 'Tidak mempunyai',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Mempunyai :count :relationship',
|
||||
'inverse' => 'Tidak mempunyai :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Mempunyai maksimum',
|
||||
'inverse' => 'Mempunyai lebih daripada',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Mempunyai maksimum :count :relationship',
|
||||
'inverse' => 'Mempunyai lebih daripada :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Mempunyai minimum',
|
||||
'inverse' => 'Mempunyai kurang daripada',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Mempunyai minimum :count :relationship',
|
||||
'inverse' => 'Mempunyai kurang daripada :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Kosong',
|
||||
'inverse' => 'Tidak kosong',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship kosong',
|
||||
'inverse' => ':relationship tidak kosong',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Adalah',
|
||||
'inverse' => 'Adalah tidak',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Mengandungi',
|
||||
'inverse' => 'Tidak mengandungi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship adalah :values',
|
||||
'inverse' => ':relationship bukan :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship mengandungi :values',
|
||||
'inverse' => ':relationship tidak mengandungi :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' atau ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Nilai',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Nilai',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Kira',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Adalah',
|
||||
'inverse' => 'Bukan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute adalah :values',
|
||||
'inverse' => ':attribute bukan :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' atau ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Nilai',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Nilai',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Mengandungi',
|
||||
'inverse' => 'Tidak mengandungi',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute mengandungi :text',
|
||||
'inverse' => ':attribute tidak mengandungi :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Berakhir dengan',
|
||||
'inverse' => 'Tidak berakhir dengan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute berakhir dengan :text',
|
||||
'inverse' => ':attribute tidak berakhir dengan :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Sama',
|
||||
'inverse' => 'Tidak sama',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute sama :text',
|
||||
'inverse' => ':attribute tidak sama :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Bermula dengan',
|
||||
'inverse' => 'Tidak bermula dengan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute bermula dengan :text',
|
||||
'inverse' => ':attribute tidak bermula dengan :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Teks',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Tambah peraturan',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Tambahkan kumpulan peraturan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
227
vendor/filament/tables/resources/lang/ms/table.php
vendored
Normal file
227
vendor/filament/tables/resources/lang/ms/table.php
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Kolum',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Tunjukkan kurang :count',
|
||||
'expand_list' => 'Tunjukkan :count lagi',
|
||||
],
|
||||
|
||||
'more_list_items' => 'dan :count lagi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Pilih/nyahpilih semua item untuk tindakan pukal.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Pilih/nyahpilih item :key untuk tindakan pukal.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Pilih/nyahpilih kumpulan :title untuk tindakan pukal.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Cari',
|
||||
'placeholder' => 'Carian',
|
||||
'indicator' => 'Carian',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Ringkasan',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Semua :label',
|
||||
'group' => ':group ringkasan',
|
||||
'page' => 'Muka surat ini',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Purata',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Bilangan',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Jumlah',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Selesai menyusun semula rekod',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Menyusun semula rekod',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Tapisan',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Kumpulan',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Tindakan terbuka',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Togol lajur',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Tiada rekod dijumpai',
|
||||
|
||||
'description' => 'Cipta :model untuk bermula.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Gunakan tapisan',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Buang tapisan',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Buang semua tapisan',
|
||||
'tooltip' => 'Buang semua tapisan',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Tetapkan semula tapisan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Tapisan',
|
||||
|
||||
'indicator' => 'Tapisan aktif',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Semua',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Semua',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Rekod telah dipadamkan',
|
||||
|
||||
'only_trashed' => 'Hanya rekod yang dipadamkan',
|
||||
|
||||
'with_trashed' => 'Dengan rekod yang dipadam',
|
||||
|
||||
'without_trashed' => 'Tanpa rekod yang dipadam',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Kumpulan mengikut',
|
||||
'placeholder' => 'Kumpulan mengikut',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Arah kumpulan',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Menaik',
|
||||
'desc' => 'Menurun',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Seret dan lepaskan rekod mengikut susunan.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '{1} 1 rekod dipilih|[2,*] :count rekod yang dipilih',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Pilih semua :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Nyahpilih semua',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Disusun mengikut',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Arah susunan',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Menaik',
|
||||
'desc' => 'Menurun',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/nl/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/nl/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Geavanceerd filteren',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operator',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Groepen',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjunctie (OF)',
|
||||
'or' => 'OF',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Regels',
|
||||
|
||||
'item' => [
|
||||
'and' => 'EN',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Geen regels)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'EN',
|
||||
'or' => 'OF',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is gevuld',
|
||||
'inverse' => 'Is leeg',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is gevuld',
|
||||
'inverse' => ':attribute is leeg',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is waar',
|
||||
'inverse' => 'Is onwaar',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is waar',
|
||||
'inverse' => ':attribute is onwaar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is na',
|
||||
'inverse' => 'Is niet na',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is na :date',
|
||||
'inverse' => ':attribute is niet na :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is voor',
|
||||
'inverse' => 'Is niet voor',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is voor :date',
|
||||
'inverse' => ':attribute is niet voor :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is datum',
|
||||
'inverse' => 'Is niet datum',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :date',
|
||||
'inverse' => ':attribute is niet :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is maand',
|
||||
'inverse' => 'Is niet maand',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :month',
|
||||
'inverse' => ':attribute is niet :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is jaar',
|
||||
'inverse' => 'Is niet jaar',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :year',
|
||||
'inverse' => ':attribute is niet :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Datum',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Maand',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Jaar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is gelijk aan',
|
||||
'inverse' => 'Is niet gelijk aan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is gelijk aan :number',
|
||||
'inverse' => ':attribute is niet gelijk aan :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is maximaal',
|
||||
'inverse' => 'Is groter dan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is maximaal :number',
|
||||
'inverse' => ':attribute is groter dan :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is minimaal',
|
||||
'inverse' => 'Is kleiner dan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is minimaal :number',
|
||||
'inverse' => ':attribute is kleiner dan :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Gemiddelde',
|
||||
'summary' => 'Gemiddelde van :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Maximum',
|
||||
'summary' => 'Maximum van :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Minimum',
|
||||
'summary' => 'Minimum van :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Som',
|
||||
'summary' => 'Som van :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Aggregaat',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Getal',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Heeft',
|
||||
'inverse' => 'Heeft niet',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Heeft :count :relationship',
|
||||
'inverse' => 'Heeft niet :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Heeft maximaal',
|
||||
'inverse' => 'Heeft meer dan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Heeft maximaal :count :relationship',
|
||||
'inverse' => 'Heeft meer dan :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Heeft minimaal',
|
||||
'inverse' => 'Heeft minder dan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Heeft minimaal :count :relationship',
|
||||
'inverse' => 'Heeft minder dan :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is leeg',
|
||||
'inverse' => 'Is niet leeg',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship is leeg',
|
||||
'inverse' => ':relationship is niet leeg',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Is',
|
||||
'inverse' => 'Is niet',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Bevat',
|
||||
'inverse' => 'Bevat niet',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship is :values',
|
||||
'inverse' => ':relationship is niet :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship bevat :values',
|
||||
'inverse' => ':relationship bevat niet :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' of ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Waarde',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Waarden',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Aantal',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is',
|
||||
'inverse' => 'Is niet',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is :values',
|
||||
'inverse' => ':attribute is niet :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' of ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Waarde',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Waarden',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Bevat',
|
||||
'inverse' => 'Bevat niet',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute bevat :text',
|
||||
'inverse' => ':attribute bevat niet :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Eindigt op',
|
||||
'inverse' => 'Eindigt niet op',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute eindigt op :text',
|
||||
'inverse' => ':attribute eindigt niet op :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Is gelijk aan',
|
||||
'inverse' => 'Is niet gelijk aan',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute is gelijk aan :text',
|
||||
'inverse' => ':attribute is niet gelijk aan :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Begint met',
|
||||
'inverse' => 'Begint niet met',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute begint met :text',
|
||||
'inverse' => ':attribute begint niet met :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Tekst',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Regel toevoegen',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Regelgroep toevoegen',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
227
vendor/filament/tables/resources/lang/nl/table.php
vendored
Normal file
227
vendor/filament/tables/resources/lang/nl/table.php
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Kolommen',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => ':count minder tonen',
|
||||
'expand_list' => ':count meer tonen',
|
||||
],
|
||||
|
||||
'more_list_items' => 'en :count meer',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Alle items selecteren/deselecteren voor bulkacties.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Item :key selecteren/deselecteren voor bulkacties.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Groep :title selecteren/deselecteren voor bulkacties.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Zoeken',
|
||||
'placeholder' => 'Zoeken',
|
||||
'indicator' => 'Zoekopdracht',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Samenvatting',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Alle :label',
|
||||
'group' => ':group samenvatting',
|
||||
'page' => 'Deze pagina',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Gemiddelde',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Aantal',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Som',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Herordenen van records voltooien',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Records herordenen',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filteren',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Groeperen',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Acties openen',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Kolommen in-/uitschakelen',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Geen :model',
|
||||
|
||||
'description' => 'Maak een :model aan om aan de slag te gaan.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Filters toepassen',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Filter verwijderen',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Alle filters verwijderen',
|
||||
'tooltip' => 'Alle filters verwijderen',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Resetten',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filters',
|
||||
|
||||
'indicator' => 'Actieve filters',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Alles',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Alles',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Verwijderde records',
|
||||
|
||||
'only_trashed' => 'Alleen verwijderde records',
|
||||
|
||||
'with_trashed' => 'Met verwijderde records',
|
||||
|
||||
'without_trashed' => 'Zonder verwijderde records',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Groeperen op',
|
||||
'placeholder' => 'Groeperen op',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Groeperingsrichting',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Oplopend',
|
||||
'desc' => 'Aflopend',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Sleep de records in de juiste volgorde.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 record geselecteerd|:count records geselecteerd',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Selecteer alle :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Alles deselecteren',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Sorteren op',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Sorteerrichting',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Oplopend',
|
||||
'desc' => 'Aflopend',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/no/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/no/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Spørringsbygger',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operatør',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Grupper',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjunksjon (ELLER)',
|
||||
'or' => 'ELLER',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Regler',
|
||||
|
||||
'item' => [
|
||||
'and' => 'OG',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Ingen regler)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'OG',
|
||||
'or' => 'ELLER',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er fylt',
|
||||
'inverse' => 'Er blank',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er fylt',
|
||||
'inverse' => ':attribute er blank',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er sant',
|
||||
'inverse' => 'Er usant',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er sant',
|
||||
'inverse' => ':attribute er usant',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er etter',
|
||||
'inverse' => 'Er ikke etter',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er etter :date',
|
||||
'inverse' => ':attribute er ikke etter :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er før',
|
||||
'inverse' => 'Er ikke før',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er før :date',
|
||||
'inverse' => ':attribute er ikke før :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er dato',
|
||||
'inverse' => 'Er ikke dato',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er :date',
|
||||
'inverse' => ':attribute er ikke :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er måned',
|
||||
'inverse' => 'Er ikke måned',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er :month',
|
||||
'inverse' => ':attribute er ikke :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er år',
|
||||
'inverse' => 'er ikke år',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er :year',
|
||||
'inverse' => ':attribute er ikke :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Dato',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Måned',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'År',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er lik',
|
||||
'inverse' => 'Er ikke lik',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er lik :number',
|
||||
'inverse' => ':attribute er ikke lik :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er maks',
|
||||
'inverse' => 'Er større enn',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er maks :number',
|
||||
'inverse' => ':attribute er større enn :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er minimum',
|
||||
'inverse' => 'Er mindre enn',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er minimum :number',
|
||||
'inverse' => ':attribute er mindre enn :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Gjennomsnitt',
|
||||
'summary' => 'Gjennomsnitt :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Maks',
|
||||
'summary' => 'Maks :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Minimum',
|
||||
'summary' => 'Minimum :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Sum',
|
||||
'summary' => 'Sum av :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Samlet',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Nummer',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Har',
|
||||
'inverse' => 'Har ikke',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Har :count :relationship',
|
||||
'inverse' => 'Har ikke :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Har maks',
|
||||
'inverse' => 'Har mer enn',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Har maks :count :relationship',
|
||||
'inverse' => 'Har mer enn :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Har minimum',
|
||||
'inverse' => 'Har mindre enn',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Har minimum :count :relationship',
|
||||
'inverse' => 'Har mindre enn :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er tom',
|
||||
'inverse' => 'Er ikke tom',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship er tom',
|
||||
'inverse' => ':relationship er ikke tom',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'Er',
|
||||
'inverse' => 'Er ikke',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Inneholder',
|
||||
'inverse' => 'Inneholder ikke',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship er :values',
|
||||
'inverse' => ':relationship er ikke :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship inneholder :values',
|
||||
'inverse' => ':relationship inneholder ikke :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' eller ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Verdi',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Verdier',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Telle',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er',
|
||||
'inverse' => 'Er ikke',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er :values',
|
||||
'inverse' => ':attribute er ikke :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' eller ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Verdi',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Verdier',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Inneholder',
|
||||
'inverse' => 'Inneholder ikke',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute inneholder :text',
|
||||
'inverse' => ':attribute inneholder ikke :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Ender med',
|
||||
'inverse' => 'Ender ikke med',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute ender med :text',
|
||||
'inverse' => ':attribute ender ikke med :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Er lik',
|
||||
'inverse' => 'Er ikke lik',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute er lik :text',
|
||||
'inverse' => ':attribute er ikke lik :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Starter med',
|
||||
'inverse' => 'Starter ikke med',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute starter med :text',
|
||||
'inverse' => ':attribute starter ikke med :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Tekst',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Legg til regel',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Legg til grupperegel',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/no/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/no/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Kolonner',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Vis :count mindre',
|
||||
'expand_list' => 'Vis :count til',
|
||||
],
|
||||
|
||||
'more_list_items' => 'og :count til',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Velg/fjern alle valgte elementer for massehandlinger.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Velg/fjern element :key for massehandlinger.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Velg/fjern gruppen :title for massehandlinger.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Søk',
|
||||
'placeholder' => 'Søk',
|
||||
'indicator' => 'Søk',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Oppsummering',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Alle :label',
|
||||
'group' => ':group oppsummering',
|
||||
'page' => 'Denne siden',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Gjennomsnitt',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Tell opp',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Sum',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Fullfør omorganisering av poster',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Omorganiser poster',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filter',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Gruppere',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Massehandlinger',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Veksle kolonner',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Ingen :model',
|
||||
|
||||
'description' => 'Opprett en :model for å komme igang.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Bruk filtre',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Fjern filter',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Fjern alle filtre',
|
||||
'tooltip' => 'Fjern alle filtre',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Nullstill',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtre',
|
||||
|
||||
'indicator' => 'Aktive filtre',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Alle',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Alle',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Slettede poster',
|
||||
|
||||
'only_trashed' => 'Bare slettede poster',
|
||||
|
||||
'with_trashed' => 'Med slettede poster',
|
||||
|
||||
'without_trashed' => 'Uten slettede poster',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupper etter',
|
||||
'placeholder' => 'Grupper etter',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Grupperetning',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Stigende',
|
||||
'desc' => 'Synkende',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Dra og slipp postene i rekkefølge.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 post valgt|:count poster valgt',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Velg alle :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Fjern alle markeringer',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Sorter etter',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Sorteringsretning',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Stigende',
|
||||
'desc' => 'Synkende',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
214
vendor/filament/tables/resources/lang/np/table.php
vendored
Normal file
214
vendor/filament/tables/resources/lang/np/table.php
vendored
Normal file
@@ -0,0 +1,214 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'स्तम्भहरू',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'र थप :count',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'बल्क कार्यका लागि सबै वस्तुहरू चयन/अचयन गर्नुहोस्।',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
// वस्तु चयन/अचयन गर्नुहोस् : बल्क कार्यहरूको लागि कुञ्जी।
|
||||
'label' => ':key वस्तु चयन/अचयन गर्नुहोस् : बल्क कार्यहरूको लागि।',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'खोज',
|
||||
'placeholder' => 'खोज',
|
||||
'indicator' => 'खोज',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'सारांश',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'सबै :label',
|
||||
'group' => ':group को सारांश',
|
||||
'page' => 'यो पृष्ठ',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'औसत',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'गणना',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'योगफल',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'रेकर्ड पुन क्रमबद्ध समाप्त गर्नुहोस्',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'रेकर्डहरू पुन क्रमबद्ध गर्नुहोस्',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'फिल्टर गर्नुहोस्',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'समूहबद्ध गर्नुहोस्',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'बल्क कार्यहरू',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'स्तम्भहरू टगल गर्नुहोस्',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => ':model छैन',
|
||||
|
||||
'description' => 'सुरु गर्न :model सिर्जना गर्नुहोस्।',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'फिल्टर हटाउनुहोस्',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'सबै फिल्टरहरू हटाउनुहोस्',
|
||||
'tooltip' => 'सबै फिल्टरहरू हटाउनुहोस्',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'रिसेट गर्नुहोस्',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'फिल्टरहरू',
|
||||
|
||||
'indicator' => 'सक्रिय फिल्टरहरू',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'सबै',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'सबै',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'मेटिएका रेकर्डहरू',
|
||||
|
||||
'only_trashed' => 'केवल मेटाइएको रेकर्डहरू',
|
||||
|
||||
'with_trashed' => 'मेटाइएका रेकर्डहरूसँग',
|
||||
|
||||
'without_trashed' => 'मेटाइएको रेकर्ड बिना',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'समायोजन गर्नुहोस्',
|
||||
'placeholder' => 'समायोजन गर्नुहोस्',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'समूहको दिशा',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'आरोहण',
|
||||
'desc' => 'अवतरण',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'क्रम मा रेकर्ड तान्नुहोस् र छोड्नुहोस्।',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => 'एउटा रेकर्ड चयन गरियो|:count वटा रेकर्ड चयन गरियो',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => ':count वटा चयन गर्नुहोस्',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'सबै अचयन गर्नुहोस्',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'क्रमबद्ध गर्नुहोस्',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'क्रमबद्ध दिशा',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'आरोहण',
|
||||
'desc' => 'अवतरण',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
213
vendor/filament/tables/resources/lang/pl/table.php
vendored
Normal file
213
vendor/filament/tables/resources/lang/pl/table.php
vendored
Normal file
@@ -0,0 +1,213 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Kolumny',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'i :count więcej',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Zaznacz/odznacz wszystkie pozycje dla operacji zbiorczych.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Zaznacz/odznacz pozycję :key dla operacji zbiorczych.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Szukaj',
|
||||
'placeholder' => 'Szukaj',
|
||||
'indicator' => 'Szukaj',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Podsumowanie',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Wszystkie :label',
|
||||
'group' => 'Grupa :group',
|
||||
'page' => 'Bieżąca strona',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Średnia',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Ilość',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Suma',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Zakończ zmienianie kolejności',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Zmień kolejność',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtr',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupa',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Akcje masowe',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Wybierz kolumny',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Nie znaleziono rekordów',
|
||||
|
||||
'description' => 'Utwórz rekord aby rozpocząć.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Usuń filtr',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Usuń wszystkie filtry',
|
||||
'tooltip' => 'Usuń wszystkie filtry',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Zresetuj filtry',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtry',
|
||||
|
||||
'indicator' => 'Aktywne filtry',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Wszystkie',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Wszystkie',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Usunięte rekordy',
|
||||
|
||||
'only_trashed' => 'Tylko usunięte rekordy',
|
||||
|
||||
'with_trashed' => 'Uwzględnij usunięte rekordy',
|
||||
|
||||
'without_trashed' => 'Bez usuniętych rekordów',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupuj według',
|
||||
'placeholder' => 'Grupuj według',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Kolejność grup',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Rosnąco',
|
||||
'desc' => 'Malejąco',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Zmień kolejność przeciągając.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '{1} 1 rekord zaznaczony|[2,4]:count rekordy zaznaczone|[5,*]:count rekordów zaznaczonych',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Zaznacz wszystkie :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Odznacz wszystkie',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Sortuj według',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Kierunek sortowania',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Rosnąco',
|
||||
'desc' => 'Malejąco',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/pt_BR/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/pt_BR/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Construtor de Consultas',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operador',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Grupos',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjunção (OU)',
|
||||
'or' => 'OU',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Regras',
|
||||
|
||||
'item' => [
|
||||
'and' => 'E',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Sem regras)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'E',
|
||||
'or' => 'OU',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Preenchido',
|
||||
'inverse' => 'Em branco',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute preenchido',
|
||||
'inverse' => ':attribute em branco',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É verdadeiro',
|
||||
'inverse' => 'É falso',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é verdadeiro',
|
||||
'inverse' => ':attribute é falso',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É posterior',
|
||||
'inverse' => 'Não é posterior',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é posterior a :date',
|
||||
'inverse' => ':attribute não é posterir a :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É anterior',
|
||||
'inverse' => 'Não é anterior',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é anterior a :date',
|
||||
'inverse' => ':attribute não é anterior a :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É data',
|
||||
'inverse' => 'Não é data',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é :date',
|
||||
'inverse' => ':attribute não é :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É mês',
|
||||
'inverse' => 'Não é mês',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é :month',
|
||||
'inverse' => ':attribute não é :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É ano',
|
||||
'inverse' => 'Não é ano',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é :year',
|
||||
'inverse' => ':attribute não é :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Data',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Mês',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Ano',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É igual',
|
||||
'inverse' => 'É diferente',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é igual a :number',
|
||||
'inverse' => ':attribute é diferente de :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É máximo',
|
||||
'inverse' => 'É maior que',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é máximo :number',
|
||||
'inverse' => ':attribute é maior que :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É mínimo',
|
||||
'inverse' => 'É menor que',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é mínimo :number',
|
||||
'inverse' => ':attribute é menor que :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Média',
|
||||
'summary' => 'Média de :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Máx.',
|
||||
'summary' => 'Máx. de :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Mín.',
|
||||
'summary' => 'Mín. de :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Soma',
|
||||
'summary' => 'Soma de :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Agregação',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Número',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Contém',
|
||||
'inverse' => 'Não contém',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Tem :count :relationship',
|
||||
'inverse' => 'Não tem :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Tem máximo',
|
||||
'inverse' => 'Tem mais de',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Tem máximo de :count :relationship',
|
||||
'inverse' => 'Tem mais de :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Tem mínimo',
|
||||
'inverse' => 'Tem menos de',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Tem mínimo de :count :relationship',
|
||||
'inverse' => 'Tem emnos de :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É vazio',
|
||||
'inverse' => 'Não é vazio',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship é vazio',
|
||||
'inverse' => ':relationship não é vazio',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'É',
|
||||
'inverse' => 'Não é',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Contém',
|
||||
'inverse' => 'Não contém',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship é :values',
|
||||
'inverse' => ':relationship não é :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship contém :values',
|
||||
'inverse' => ':relationship não contém :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' ou ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valor',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valores',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Contagem',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É',
|
||||
'inverse' => 'Não é',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é :values',
|
||||
'inverse' => ':attribute não é :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' ou ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valor',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valores',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Contém',
|
||||
'inverse' => 'Não contém',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute contém :text',
|
||||
'inverse' => ':attribute não contém :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Termina em',
|
||||
'inverse' => 'Não termina em',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute termina em :text',
|
||||
'inverse' => ':attribute não termina em :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É igual',
|
||||
'inverse' => 'Não é igual',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é igual :text',
|
||||
'inverse' => ':attribute não é igual :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Inicia por',
|
||||
'inverse' => 'Não inicia por',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute inicia por :text',
|
||||
'inverse' => ':attribute não inicia por :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Texto',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Adicionar regra',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Adicionar grupo de regras',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
227
vendor/filament/tables/resources/lang/pt_BR/table.php
vendored
Normal file
227
vendor/filament/tables/resources/lang/pt_BR/table.php
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Colunas',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Mostrar menos :count',
|
||||
'expand_list' => 'Mostrar mais :count',
|
||||
],
|
||||
|
||||
'more_list_items' => 'e mais :count',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Marcar/desmarcar todos os itens para ações em massa.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Marcar/desmarcar o item :key para ações em massa.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Marcar/desmarcar o grupo :title para ações em massa.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Pesquisar',
|
||||
'placeholder' => 'Pesquisar',
|
||||
'indicator' => 'Pesquisar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Resumo',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Todos :label',
|
||||
'group' => ':group resumo',
|
||||
'page' => 'Esta página',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Média',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Contagem',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Soma',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Concluir a reordenação de registros',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Reordenar registros',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtrar',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Agrupar',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Abrir ações',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Alternar colunas',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Sem registros',
|
||||
|
||||
'description' => 'Crie um :model para começar.',
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Aplicar filtros',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Remover filtro',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Remover todos os filtros',
|
||||
'tooltip' => 'Remover todos os filtros',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Limpar filtros',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtros',
|
||||
|
||||
'indicator' => 'Filtros ativos',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Todos',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Todos',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Registros excluídos',
|
||||
|
||||
'only_trashed' => 'Somente registros excluídos',
|
||||
|
||||
'with_trashed' => 'Exibir registros excluídos',
|
||||
|
||||
'without_trashed' => 'Não exibir registros excluídos',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Agrupar por',
|
||||
'placeholder' => 'Agrupar por',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Direção do agrupamento',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascendente',
|
||||
'desc' => 'Descendente',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Arraste e solte os registros na ordem.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 registro selecionado|:count registros selecionados',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Selecione todos os :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Desselecionar todos',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Ordenar por',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Direção de ordenação',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascendente',
|
||||
'desc' => 'Descendente',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
482
vendor/filament/tables/resources/lang/pt_PT/filters/query-builder.php
vendored
Normal file
482
vendor/filament/tables/resources/lang/pt_PT/filters/query-builder.php
vendored
Normal file
@@ -0,0 +1,482 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Construtor de Consultas',
|
||||
|
||||
'form' => [
|
||||
|
||||
'operator' => [
|
||||
'label' => 'Operador',
|
||||
],
|
||||
|
||||
'or_groups' => [
|
||||
|
||||
'label' => 'Grupos',
|
||||
|
||||
'block' => [
|
||||
'label' => 'Disjunção (OU)',
|
||||
'or' => 'OU',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rules' => [
|
||||
|
||||
'label' => 'Regras',
|
||||
|
||||
'item' => [
|
||||
'and' => 'E',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'no_rules' => '(Sem regras)',
|
||||
|
||||
'item_separators' => [
|
||||
'and' => 'E',
|
||||
'or' => 'OU',
|
||||
],
|
||||
|
||||
'operators' => [
|
||||
|
||||
'is_filled' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Preenchido',
|
||||
'inverse' => 'Em branco',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute preenchido',
|
||||
'inverse' => ':attribute em branco',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
|
||||
'is_true' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É verdadeiro',
|
||||
'inverse' => 'É falso',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é verdadeiro',
|
||||
'inverse' => ':attribute é falso',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'date' => [
|
||||
|
||||
'is_after' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É posterior',
|
||||
'inverse' => 'Não é posterior',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é posterior a :date',
|
||||
'inverse' => ':attribute não é posterir a :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_before' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É anterior',
|
||||
'inverse' => 'Não é anterior',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é anterior a :date',
|
||||
'inverse' => ':attribute não é anterior a :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_date' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É data',
|
||||
'inverse' => 'Não é data',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é :date',
|
||||
'inverse' => ':attribute não é :date',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_month' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É mês',
|
||||
'inverse' => 'Não é mês',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é :month',
|
||||
'inverse' => ':attribute não é :month',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_year' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É ano',
|
||||
'inverse' => 'Não é ano',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é :year',
|
||||
'inverse' => ':attribute não é :year',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'date' => [
|
||||
'label' => 'Data',
|
||||
],
|
||||
|
||||
'month' => [
|
||||
'label' => 'Mês',
|
||||
],
|
||||
|
||||
'year' => [
|
||||
'label' => 'Ano',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'number' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É igual',
|
||||
'inverse' => 'É diferente',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é igual a :number',
|
||||
'inverse' => ':attribute é diferente de :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É máximo',
|
||||
'inverse' => 'É maior que',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é máximo :number',
|
||||
'inverse' => ':attribute é maior que :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É mínimo',
|
||||
'inverse' => 'É menor que',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é mínimo :number',
|
||||
'inverse' => ':attribute é menor que :number',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aggregates' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Média',
|
||||
'summary' => 'Média de :attribute',
|
||||
],
|
||||
|
||||
'max' => [
|
||||
'label' => 'Máx.',
|
||||
'summary' => 'Máx. de :attribute',
|
||||
],
|
||||
|
||||
'min' => [
|
||||
'label' => 'Mín.',
|
||||
'summary' => 'Mín. de :attribute',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Soma',
|
||||
'summary' => 'Soma de :attribute',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'aggregate' => [
|
||||
'label' => 'Agregação',
|
||||
],
|
||||
|
||||
'number' => [
|
||||
'label' => 'Número',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'relationship' => [
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Contém',
|
||||
'inverse' => 'Não contém',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Tem :count :relationship',
|
||||
'inverse' => 'Não tem :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_max' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Tem máximo',
|
||||
'inverse' => 'Tem mais de',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Tem máximo de :count :relationship',
|
||||
'inverse' => 'Tem mais de :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'has_min' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Tem mínimo',
|
||||
'inverse' => 'Tem menos de',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => 'Tem mínimo de :count :relationship',
|
||||
'inverse' => 'Tem emnos de :count :relationship',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_empty' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É vazio',
|
||||
'inverse' => 'Não é vazio',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':relationship é vazio',
|
||||
'inverse' => ':relationship não é vazio',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'is_related_to' => [
|
||||
|
||||
'label' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => 'É',
|
||||
'inverse' => 'Não é',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => 'Contém',
|
||||
'inverse' => 'Não contém',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'single' => [
|
||||
'direct' => ':relationship é :values',
|
||||
'inverse' => ':relationship não é :values',
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
'direct' => ':relationship contém :values',
|
||||
'inverse' => ':relationship não contém :values',
|
||||
],
|
||||
|
||||
'values_glue' => [
|
||||
0 => ', ',
|
||||
'final' => ' ou ',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valor',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valores',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'count' => [
|
||||
'label' => 'Contagem',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'is' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É',
|
||||
'inverse' => 'Não é',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é :values',
|
||||
'inverse' => ':attribute não é :values',
|
||||
'values_glue' => [
|
||||
', ',
|
||||
'final' => ' ou ',
|
||||
],
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'value' => [
|
||||
'label' => 'Valor',
|
||||
],
|
||||
|
||||
'values' => [
|
||||
'label' => 'Valores',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'text' => [
|
||||
|
||||
'contains' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Contém',
|
||||
'inverse' => 'Não contém',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute contém :text',
|
||||
'inverse' => ':attribute não contém :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'ends_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Termina em',
|
||||
'inverse' => 'Não termina em',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute termina em :text',
|
||||
'inverse' => ':attribute não termina em :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'equals' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'É igual',
|
||||
'inverse' => 'Não é igual',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute é igual :text',
|
||||
'inverse' => ':attribute não é igual :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'starts_with' => [
|
||||
|
||||
'label' => [
|
||||
'direct' => 'Inicia por',
|
||||
'inverse' => 'Não inicia por',
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
'direct' => ':attribute inicia por :text',
|
||||
'inverse' => ':attribute não inicia por :text',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'text' => [
|
||||
'label' => 'Texto',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add_rule' => [
|
||||
'label' => 'Adicionar regra',
|
||||
],
|
||||
|
||||
'add_rule_group' => [
|
||||
'label' => 'Adicionar grupo de regras',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
228
vendor/filament/tables/resources/lang/pt_PT/table.php
vendored
Normal file
228
vendor/filament/tables/resources/lang/pt_PT/table.php
vendored
Normal file
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Colunas',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
|
||||
'actions' => [
|
||||
'collapse_list' => 'Mostrar menos :count',
|
||||
'expand_list' => 'Mostrar mais :count',
|
||||
],
|
||||
|
||||
'more_list_items' => 'e mais :count',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Marcar/desmarcar todos os itens para acções em massa.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Marcar/desmarcar o item :key para acções em massa.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Marcar/desmarcar o grupo :title para acções em massa.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Pesquisar',
|
||||
'placeholder' => 'Pesquisar',
|
||||
'indicator' => 'Pesquisar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Resumo',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Todos :label',
|
||||
'group' => 'Resumo de :group',
|
||||
'page' => 'Esta página',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Média',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Contagem',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Soma',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Concluir a reordenação de registos',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Reordenar registos',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtrar',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Agrupar',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Acções em massa',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Activar colunas',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Sem :model',
|
||||
|
||||
'description' => 'Crie um(a) :model para começar.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Aplicar filtros',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Remover filtro',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Remover todos os filtros',
|
||||
'tooltip' => 'Remover todos os filtros',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Repôr',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtros',
|
||||
|
||||
'indicator' => 'Filtros activos',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Todos',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Todos',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Registos eliminados',
|
||||
|
||||
'only_trashed' => 'Apenas registos eliminados',
|
||||
|
||||
'with_trashed' => 'Mostrar registos eliminados',
|
||||
|
||||
'without_trashed' => 'Não mostrar registos eliminados',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Agrupar por',
|
||||
'placeholder' => 'Agrupar por',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Direcção de agrupamento',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascendente',
|
||||
'desc' => 'Descendente',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Arraste e solte os registos por ordem.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 registo seleccionado|:count registos seleccionados',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Seleccionar todos os :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Desmarcar todos',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Ordenar por',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Direcção de ordenação',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascendente',
|
||||
'desc' => 'Descendente',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
221
vendor/filament/tables/resources/lang/ro/table.php
vendored
Normal file
221
vendor/filament/tables/resources/lang/ro/table.php
vendored
Normal file
@@ -0,0 +1,221 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Coloane',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'si alte :count',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Selectați/Deselectați tot pentru operațiuni in masă.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Selectează/Deselectează elementul :key pentru operațiuni in masă.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Selectează/Deselectează grupul :title pentru operațiuni in masă.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Căutare',
|
||||
'placeholder' => 'Căutare',
|
||||
'indicator' => 'Căutare',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Sumar',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Toate :label',
|
||||
'group' => 'Sumar :group',
|
||||
'page' => 'Această pagină',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Medie',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Numărare',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Suma',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Dezactivați reordonarea',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Activați reordonarea',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtru',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupare',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Operațiuni in masă',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Deschide/închide coloane',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Nu s-au găsit rezultate',
|
||||
|
||||
'description' => 'Creează un :model pentru a începe.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'apply' => [
|
||||
'label' => 'Aplică filtrele',
|
||||
],
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Elimină filtru',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Elimină toate filtrele',
|
||||
'tooltip' => 'Elimină toate filtrele',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Resetare filtre',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtre',
|
||||
|
||||
'indicator' => 'Filtre active',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Toate',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Toate',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Elemente șterse',
|
||||
|
||||
'only_trashed' => 'Doar elementele șterse',
|
||||
|
||||
'with_trashed' => 'Include elementele șterse',
|
||||
|
||||
'without_trashed' => 'Doar elementele neșterse',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupează după',
|
||||
'placeholder' => 'Grupează după',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Direcție grupare',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascendentă',
|
||||
'desc' => 'Descendentă',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Trageți și plasați elementele în ordine.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 element selectat|:count elemente selectate',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Selectare toate :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Deselectare toate',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Sortare după coloană',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Direcție sortare',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Ascendentă',
|
||||
'desc' => 'Descendentă',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
210
vendor/filament/tables/resources/lang/ru/table.php
vendored
Normal file
210
vendor/filament/tables/resources/lang/ru/table.php
vendored
Normal file
@@ -0,0 +1,210 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Столбцы',
|
||||
|
||||
],
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'и :count еще',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Выбрать/снять все элементы для массовых действий.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Выбрать/отменить :key для массовых действий.',
|
||||
],
|
||||
|
||||
'bulk_select_group' => [
|
||||
'label' => 'Выбрать/отменить сводку :title для массовых действий.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Поиск',
|
||||
'placeholder' => 'Поиск',
|
||||
'indicator' => 'Поиск',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Сводка',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Все :label',
|
||||
'group' => 'Cводка :group ',
|
||||
'page' => 'Эта страница',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Среднее',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Кол.',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Сумма',
|
||||
],
|
||||
|
||||
],
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Сохранить порядок',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Изменить порядок',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Фильтр',
|
||||
],
|
||||
'group' => [
|
||||
'label' => 'Группировать',
|
||||
],
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Открыть действия',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Переключить столбцы',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'Не найдено :model',
|
||||
|
||||
'description' => 'Создать :model для старта.',
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Удалить фильтр',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Очистить фильтры',
|
||||
'tooltip' => 'Очистить фильтры',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Сбросить',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Фильтры',
|
||||
|
||||
'indicator' => 'Активные фильтры',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Все',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Все',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Удаленные записи',
|
||||
|
||||
'only_trashed' => 'Только удаленные записи',
|
||||
|
||||
'with_trashed' => 'С удаленными записями',
|
||||
|
||||
'without_trashed' => 'Без удаленных записей',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Группировать по',
|
||||
'placeholder' => 'Группировать по',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Направление',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'По возрастанию',
|
||||
'desc' => 'По убыванию',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Перетягивайте записи, чтобы изменить порядок.',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => 'Выбрана 1 запись|Выбрано :count записей',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Выбрать всё :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Убрать выделение со всех',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Сортировка',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Направление',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'По возрастанию',
|
||||
'desc' => 'По убыванию',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user