-
-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #566 from rappasoft/develop
1.21.0
- Loading branch information
Showing
20 changed files
with
216 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"All": "全部", | ||
"Applied Filters": "已套用的過濾規則", | ||
"Applied Sorting": "已套用的搜尋規則", | ||
"Bulk Actions": "批次操作", | ||
"Clear": "清除", | ||
"Columns": "欄位", | ||
"Done Reordering": "排序完成", | ||
"Filters": "過濾規則", | ||
"Remove filter option": "移除過濾規則", | ||
"Remove sort option": "移除排序規則", | ||
"Search": "搜尋", | ||
"Select All": "搜尋全部", | ||
"Showing": "顯示", | ||
"Unselect All": "取消選擇", | ||
"You are currently selecting all": "您目前已選擇全部資料", | ||
"You are not connected to the internet.": "目前為離線模式", | ||
"You have selected": "您已選擇", | ||
"of": "筆資料,共", | ||
"Reorder": "重新排序", | ||
"results": "筆資料", | ||
"rows": "筆資料", | ||
"rows, do you want to select all": "筆資料,您是否要全選", | ||
"No items found. Try to broaden your search.": "無資料呈現。請嘗試擴大搜尋範圍。", | ||
"to": "至" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
resources/views/bootstrap-4/includes/filter-type-multiselect.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 11 additions & 1 deletion
12
resources/views/bootstrap-5/includes/filter-type-multiselect.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
resources/views/tailwind/includes/filter-type-multiselect.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
namespace Rappasoft\LaravelLivewireTables\Traits; | ||
|
||
use Rappasoft\LaravelLivewireTables\Utilities\ColumnUtilities; | ||
|
||
/** | ||
* Trait ComponentHelpers. | ||
*/ | ||
trait ComponentHelpers | ||
{ | ||
/** | ||
* Get a column object by its field | ||
* | ||
* @param string $column | ||
* | ||
* @return mixed | ||
*/ | ||
protected function getColumn(string $column) | ||
{ | ||
return collect($this->columns()) | ||
->where('column', $column) | ||
->first(); | ||
} | ||
|
||
/** | ||
* @param string $field | ||
* | ||
* @return string | ||
*/ | ||
protected function parseField(string $field): string | ||
{ | ||
return ColumnUtilities::parseField($field); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.