Skip to content

Commit

Permalink
Development to Master (v3.5.4) (#2073)
Browse files Browse the repository at this point in the history
## [v3.5.4] - 2024-11-21
### Bug Fixes
- Allow JSON and PHP type localisations by @lrljoe in #2071
- Allow lazy loading of tables by @lrljoe in #2072

### Testing
- RemoveConfigFileFromCoverage by @lrljoe in #2080
- Test for ViewComponentColumn - Cannot return non-array attributes  by @lrljoe in #2078
- BooleanFilter - Add Tests for Null in IsEmpty and Validate by @lrljoe in #2077
- Add Attributes Check For ViewComponentColumn by @lrljoe in #2076
- Add ViewComponentColumn label test  by @lrljoe in #2075
- Add ColorColumnTests by @lrljoe in #2074
  • Loading branch information
lrljoe authored Nov 21, 2024
1 parent 5cb0c87 commit 9bc0401
Show file tree
Hide file tree
Showing 96 changed files with 1,654 additions and 225 deletions.
17 changes: 15 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,26 @@

All notable changes to `laravel-livewire-tables` will be documented in this file

## [v3.5.4] - 2024-11-21
### Bug Fixes
- Allow JSON and PHP type localisations by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2071
- Allow lazy loading of tables by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2072

### Testing
- RemoveConfigFileFromCoverage by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2080
- Test for ViewComponentColumn - Cannot return non-array attributes by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2078
- BooleanFilter - Add Tests for Null in IsEmpty and Validate by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2077
- Add Attributes Check For ViewComponentColumn by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2076
- Add ViewComponentColumn label test by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2075
- Add ColorColumnTests by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2074

## [v3.5.3] - 2024-11-18
## Bug Fixes
### Bug Fixes
- FixSetDefaultPerPage by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2067
- Fix BooleanColumn unexpected truthy behaviour by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2066
- Adjustment for DateRangeFilter by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2064

## Testing
### Testing
- Adjust SessionStorageHelpersTest by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2065
- Add updatedSelectedColumns test for Event by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2060
- Add test for FilterApplied Event being dispatched by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2059
Expand Down
5 changes: 5 additions & 0 deletions config/livewire-tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
*/
'enable_blade_directives' => false,

/**
* Use JSON Translations instead of PHP Array
*/
'use_json_translations' => false,

/**
* Customise Script & Styles Paths
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/filters/available-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ Example blade:
type="button"
class="flex-shrink-0 ml-0.5 h-4 w-4 rounded-full inline-flex items-center justify-center text-indigo-400 hover:bg-indigo-200 hover:text-indigo-500 focus:outline-none focus:bg-indigo-500 focus:text-white"
>
<span class="sr-only">@lang('livewire-tables::core.Remove filter option')</span>
<span class="sr-only">@lang($this->getLocalisationPath.'Remove filter option')</span>
<svg class="h-2 w-2" stroke="currentColor" fill="none" viewBox="0 0 8 8">
<path stroke-linecap="round" stroke-width="1.5" d="M1 1l6 6m0-6L1 7" />
</svg>
Expand Down
1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ includes:

parameters:
paths:
- config
- database
- src
level: 6
Expand Down
62 changes: 62 additions & 0 deletions resources/lang/json/ar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"livewire-tables::All": "الجميع",
"livewire-tables::All Columns": "كافة الأعمدة",
"livewire-tables::Applied Filters": "المرشحات التطبيقية",
"livewire-tables::Applied Sorting": "الفرز التطبيقي",
"livewire-tables::Bulk Actions": "إجراءات جملة",
"livewire-tables::Clear": "واضح",
"livewire-tables::Columns": "الأعمدة",
"livewire-tables::Debugging Values": "قيم التصحيح",
"livewire-tables::Deselect All": "الغاء تحديد الكل",
"livewire-tables::Done Reordering": "تمت إعادة الترتيب",
"livewire-tables::Filters": "المرشحات",
"livewire-tables::not_applicable": "N/A",
"livewire-tables::No": "لا",
"livewire-tables::No items found. Try to broaden your search.": "لم يتم العثور على العناصر. حاول توسيع نطاق البحث.",
"livewire-tables::of": "ل",
"livewire-tables::Remove filter option": "إزالة خيار التصفية",
"livewire-tables::Remove sort option": "إزالة خيار الفرز",
"livewire-tables::Reorder": "إعادة ترتيب",
"livewire-tables::results": "نتائج",
"livewire-tables::row": "صف",
"livewire-tables::rows": "صفوف",
"livewire-tables::rows, do you want to select all": "الصفوف ، هل تريد تحديد الكل",
"livewire-tables::Search": "يبحث",
"livewire-tables::Select All": "اختر الكل",
"livewire-tables::Showing": "عرض",
"livewire-tables::to": "ل",
"livewire-tables::Yes": "نعم",
"livewire-tables::You are currently selecting all": "أنت الآن تختار الكل",
"livewire-tables::You are not connected to the internet.": "أنت غير متصل بالإنترنت.",
"livewire-tables::You have selected": "قمت بتحديدها",
"All": "الجميع",
"All Columns": "كافة الأعمدة",
"Applied Filters": "المرشحات التطبيقية",
"Applied Sorting": "الفرز التطبيقي",
"Bulk Actions": "إجراءات جملة",
"Clear": "واضح",
"Columns": "الأعمدة",
"Debugging Values": "قيم التصحيح",
"Deselect All": "الغاء تحديد الكل",
"Done Reordering": "تمت إعادة الترتيب",
"Filters": "المرشحات",
"not_applicable": "N/A",
"No": "لا",
"No items found. Try to broaden your search.": "لم يتم العثور على العناصر. حاول توسيع نطاق البحث.",
"of": "ل",
"Remove filter option": "إزالة خيار التصفية",
"Remove sort option": "إزالة خيار الفرز",
"Reorder": "إعادة ترتيب",
"results": "نتائج",
"row": "صف",
"rows": "صفوف",
"rows, do you want to select all": "الصفوف ، هل تريد تحديد الكل",
"Search": "يبحث",
"Select All": "اختر الكل",
"Showing": "عرض",
"to": "ل",
"Yes": "نعم",
"You are currently selecting all": "أنت الآن تختار الكل",
"You are not connected to the internet.": "أنت غير متصل بالإنترنت.",
"You have selected": "قمت بتحديدها"
}
62 changes: 62 additions & 0 deletions resources/lang/json/ca.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"livewire-tables::All": "Tot",
"livewire-tables::All Columns": "Totes les columnes",
"livewire-tables::Applied Filters": "Filtres Aplicats",
"livewire-tables::Applied Sorting": "Ordenació Aplicada",
"livewire-tables::Bulk Actions": "Accions Massives",
"livewire-tables::Clear": "Esborra",
"livewire-tables::Columns": "Columnes",
"livewire-tables::Debugging Values": "Valors de depuració",
"livewire-tables::Deselect All": "Deselecciona tot",
"livewire-tables::Done Reordering": "Reordenació finalitzada",
"livewire-tables::Filters": "Filtres",
"livewire-tables::not_applicable": "N/A",
"livewire-tables::No": "No",
"livewire-tables::No items found. Try to broaden your search.": "No s'han trobat elements. Intenti ampliar la cerca.",
"livewire-tables::of": "de",
"livewire-tables::Remove filter option": "Elimina opció de filtre",
"livewire-tables::Remove sort option": "Elimina opció d'ordenació",
"livewire-tables::Reorder": "Reordena",
"livewire-tables::results": "resultats",
"livewire-tables::row": "fila",
"livewire-tables::rows": "files",
"livewire-tables::rows, do you want to select all": "files, vol seleccionar totes",
"livewire-tables::to": "a",
"livewire-tables::Search": "Cerca",
"livewire-tables::Select All": "Selecciona tot",
"livewire-tables::Showing": "Mostrant",
"livewire-tables::Yes": "",
"livewire-tables::You are currently selecting all": "Actualment està seleccionant tot",
"livewire-tables::You are not connected to the internet.": "No està conectat a Internet.",
"livewire-tables::You have selected": "Ha seleccionat",
"All": "Tot",
"All Columns": "Totes les columnes",
"Applied Filters": "Filtres Aplicats",
"Applied Sorting": "Ordenació Aplicada",
"Bulk Actions": "Accions Massives",
"Clear": "Esborra",
"Columns": "Columnes",
"Debugging Values": "Valors de depuració",
"Deselect All": "Deselecciona tot",
"Done Reordering": "Reordenació finalitzada",
"Filters": "Filtres",
"not_applicable": "N/A",
"No": "No",
"No items found. Try to broaden your search.": "No s'han trobat elements. Intenti ampliar la cerca.",
"of": "de",
"Remove filter option": "Elimina opció de filtre",
"Remove sort option": "Elimina opció d'ordenació",
"Reorder": "Reordena",
"results": "resultats",
"row": "fila",
"rows": "files",
"rows, do you want to select all": "files, vol seleccionar totes",
"to": "a",
"Search": "Cerca",
"Select All": "Selecciona tot",
"Showing": "Mostrant",
"Yes": "",
"You are currently selecting all": "Actualment està seleccionant tot",
"You are not connected to the internet.": "No està conectat a Internet.",
"You have selected": "Ha seleccionat"
}
62 changes: 62 additions & 0 deletions resources/lang/json/da.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"livewire-tables::All": "Alle",
"livewire-tables::All Columns": "Alle kolonner",
"livewire-tables::Applied Filters": "Anvendte filtre",
"livewire-tables::Applied Sorting": "Anvendt sortering",
"livewire-tables::Bulk Actions": "Massehandlinger",
"livewire-tables::Clear": "Ryd",
"livewire-tables::Columns": "Kolonner",
"livewire-tables::Debugging Values": "Debugging-værdier",
"livewire-tables::Deselect All": "Fravælg alle",
"livewire-tables::Done Reordering": "Færdig med omorganisering",
"livewire-tables::Filters": "Filtre",
"livewire-tables::not_applicable": "N/A",
"livewire-tables::No": "Nej",
"livewire-tables::No items found. Try to broaden your search.": "Ingen elementer fundet. Prøv at udvide din søgning.",
"livewire-tables::of": "af",
"livewire-tables::Remove filter option": "Fjern filtermulighed",
"livewire-tables::Remove sort option": "Fjern sorteringsmulighed",
"livewire-tables::Reorder": "Omorganisér",
"livewire-tables::results": "resultater",
"livewire-tables::row": "række",
"livewire-tables::rows": "rækker",
"livewire-tables::rows, do you want to select all": "rækker, vil du vælge alle",
"livewire-tables::Search": "Søg",
"livewire-tables::Select All": "Vælg alle",
"livewire-tables::Showing": "Viser",
"livewire-tables::to": "til",
"livewire-tables::Yes": "Ja",
"livewire-tables::You are currently selecting all": "Du vælger i øjeblikket alle",
"livewire-tables::You are not connected to the internet.": "Du er ikke forbundet til internettet.",
"livewire-tables::You have selected": "Du har valgt",
"All": "Alle",
"All Columns": "Alle kolonner",
"Applied Filters": "Anvendte filtre",
"Applied Sorting": "Anvendt sortering",
"Bulk Actions": "Massehandlinger",
"Clear": "Ryd",
"Columns": "Kolonner",
"Debugging Values": "Debugging-værdier",
"Deselect All": "Fravælg alle",
"Done Reordering": "Færdig med omorganisering",
"Filters": "Filtre",
"not_applicable": "N/A",
"No": "Nej",
"No items found. Try to broaden your search.": "Ingen elementer fundet. Prøv at udvide din søgning.",
"of": "af",
"Remove filter option": "Fjern filtermulighed",
"Remove sort option": "Fjern sorteringsmulighed",
"Reorder": "Omorganisér",
"results": "resultater",
"row": "række",
"rows": "rækker",
"rows, do you want to select all": "rækker, vil du vælge alle",
"Search": "Søg",
"Select All": "Vælg alle",
"Showing": "Viser",
"to": "til",
"Yes": "Ja",
"You are currently selecting all": "Du vælger i øjeblikket alle",
"You are not connected to the internet.": "Du er ikke forbundet til internettet.",
"You have selected": "Du har valgt"
}
62 changes: 62 additions & 0 deletions resources/lang/json/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"livewire-tables::All": "Alle",
"livewire-tables::All Columns": "Alle Spalten",
"livewire-tables::Applied Filters": "Angewendete Filter",
"livewire-tables::Applied Sorting": "Angewendete Sortierung",
"livewire-tables::Bulk Actions": "Aktionen",
"livewire-tables::Clear": "Zurücksetzen",
"livewire-tables::Columns": "Spalten",
"livewire-tables::Debugging Values": "Werte debuggen",
"livewire-tables::Deselect All": "Alle abwählen",
"livewire-tables::Done Reordering": "Sortieren abgeschlossen",
"livewire-tables::Filters": "Filter",
"livewire-tables::not_applicable": "N/A",
"livewire-tables::No": "Nein",
"livewire-tables::No items found. Try to broaden your search.": "Es gibt keine Ergebnisse/Einträge. Versuche die Suche zu erweitern.",
"livewire-tables::of": "von",
"livewire-tables::Remove filter option": "Entferne Filterauswahl",
"livewire-tables::Remove sort option": "Entferne Sortierauswahl",
"livewire-tables::Reorder": "erneut Sortieren",
"livewire-tables::results": "Ergebnisse",
"livewire-tables::row": "Zeile",
"livewire-tables::rows": "Zeilen",
"livewire-tables::rows, do you want to select all": "Zeilen, sollen alle ausgewählt werden",
"livewire-tables::Search": "Suche",
"livewire-tables::Select All": "Alle auswählen",
"livewire-tables::Showing": "Anzeigen",
"livewire-tables::to": "nach",
"livewire-tables::Yes": "Ja",
"livewire-tables::You are currently selecting all": "Es sind schon alle ausgewählt",
"livewire-tables::You are not connected to the internet.": "Es liegt keine Verbindung zum Internet vor.",
"livewire-tables::You have selected": "Es sind ausgewählt",
"All": "Alle",
"All Columns": "Alle Spalten",
"Applied Filters": "Angewendete Filter",
"Applied Sorting": "Angewendete Sortierung",
"Bulk Actions": "Aktionen",
"Clear": "Zurücksetzen",
"Columns": "Spalten",
"Debugging Values": "Werte debuggen",
"Deselect All": "Alle abwählen",
"Done Reordering": "Sortieren abgeschlossen",
"Filters": "Filter",
"not_applicable": "N/A",
"No": "Nein",
"No items found. Try to broaden your search.": "Es gibt keine Ergebnisse/Einträge. Versuche die Suche zu erweitern.",
"of": "von",
"Remove filter option": "Entferne Filterauswahl",
"Remove sort option": "Entferne Sortierauswahl",
"Reorder": "erneut Sortieren",
"results": "Ergebnisse",
"row": "Zeile",
"rows": "Zeilen",
"rows, do you want to select all": "Zeilen, sollen alle ausgewählt werden",
"Search": "Suche",
"Select All": "Alle auswählen",
"Showing": "Anzeigen",
"to": "nach",
"Yes": "Ja",
"You are currently selecting all": "Es sind schon alle ausgewählt",
"You are not connected to the internet.": "Es liegt keine Verbindung zum Internet vor.",
"You have selected": "Es sind ausgewählt"
}
72 changes: 72 additions & 0 deletions resources/lang/json/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"livewire-tables::All": "All",
"livewire-tables::All Columns": "All Columns",
"livewire-tables::Applied Filters": "Applied Filters",
"livewire-tables::Applied Sorting": "Applied Sorting",
"livewire-tables::Bulk Actions": "Bulk Actions",
"livewire-tables::Bulk Actions Confirm": "Are you sure?",
"livewire-tables::Clear": "Clear",
"livewire-tables::Columns": "Columns",
"livewire-tables::Debugging Values": "Debugging Values",
"livewire-tables::Deselect All": "Deselect All",
"livewire-tables::Done Reordering": "Done Reordering",
"livewire-tables::Filters": "Filters",
"livewire-tables::loading": "Loading",
"livewire-tables::max": "Max",
"livewire-tables::min": "Min",
"livewire-tables::not_applicable": "N/A",
"livewire-tables::No": "No",
"livewire-tables::No items found. Try to broaden your search.": "No items found. Try to broaden your search.",
"livewire-tables::of": "of",
"livewire-tables::Remove filter option": "Remove filter option",
"livewire-tables::Remove sort option": "Remove sort option",
"livewire-tables::Reorder": "Reorder",
"livewire-tables::results": "results",
"livewire-tables::row": "row",
"livewire-tables::rows": "rows",
"livewire-tables::rows, do you want to select all": "rows, do you want to select all",
"livewire-tables::Search": "Search",
"livewire-tables::Select All": "Select All",
"livewire-tables::Select All On Page": "Select All On Page",
"livewire-tables::Showing": "Showing",
"livewire-tables::to": "to",
"livewire-tables::Yes": "Yes",
"livewire-tables::You are currently selecting all": "You are currently selecting all",
"livewire-tables::You are not connected to the internet.": "You are not connected to the internet.",
"livewire-tables::You have selected": "You have selected",
"All": "All",
"All Columns": "All Columns",
"Applied Filters": "Applied Filters",
"Applied Sorting": "Applied Sorting",
"Bulk Actions": "Bulk Actions",
"Bulk Actions Confirm": "Are you sure?",
"Clear": "Clear",
"Columns": "Columns",
"Debugging Values": "Debugging Values",
"Deselect All": "Deselect All",
"Done Reordering": "Done Reordering",
"Filters": "Filters",
"loading": "Loading",
"max": "Max",
"min": "Min",
"not_applicable": "N/A",
"No": "No",
"No items found. Try to broaden your search.": "No items found. Try to broaden your search.",
"of": "of",
"Remove filter option": "Remove filter option",
"Remove sort option": "Remove sort option",
"Reorder": "Reorder",
"results": "results",
"row": "row",
"rows": "rows",
"rows, do you want to select all": "rows, do you want to select all",
"Search": "Search",
"Select All": "Select All",
"Select All On Page": "Select All On Page",
"Showing": "Showing",
"to": "to",
"Yes": "Yes",
"You are currently selecting all": "You are currently selecting all",
"You are not connected to the internet.": "You are not connected to the internet.",
"You have selected": "You have selected"
}
Loading

0 comments on commit 9bc0401

Please sign in to comment.