Merge branch '3.x' into pr/8916
@@ -0,0 +1,4 @@
|
||||
@danharrin
|
||||
|
||||
*.blade.php @zepfietje
|
||||
*.css @zepfietje
|
||||
@@ -16,19 +16,23 @@ body:
|
||||
label: Package
|
||||
description: Which package is this bug report for?
|
||||
options:
|
||||
- filament/actions
|
||||
- filament/filament
|
||||
- filament/forms
|
||||
- filament/tables
|
||||
- filament/infolists
|
||||
- filament/minimal-theme
|
||||
- filament/notifications
|
||||
- filament/actions
|
||||
- filament/widgets
|
||||
- filament/spark-billing-provider
|
||||
- filament/spatie-laravel-google-fonts-plugin
|
||||
- filament/spatie-laravel-media-library-plugin
|
||||
- filament/spatie-laravel-settings-plugin
|
||||
- filament/spatie-laravel-tags-plugin
|
||||
- filament/spatie-laravel-translatable-plugin
|
||||
- filament/spark-billing-provider
|
||||
- filament/support
|
||||
- filament/tables
|
||||
- filament/widgets
|
||||
- Other
|
||||
default: 1
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
@@ -36,7 +40,7 @@ body:
|
||||
attributes:
|
||||
label: Package Version
|
||||
description: Please provide the full version of the package you have installed.
|
||||
placeholder: v2.0.0
|
||||
placeholder: v3.0.0
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
@@ -44,7 +48,7 @@ body:
|
||||
attributes:
|
||||
label: Laravel Version
|
||||
description: Please provide the full Laravel version of your project.
|
||||
placeholder: v9.0.0
|
||||
placeholder: v10.0.0
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
@@ -52,13 +56,13 @@ body:
|
||||
attributes:
|
||||
label: Livewire Version
|
||||
description: Please provide the full Livewire version of your project, if applicable.
|
||||
placeholder: v2.0.0
|
||||
placeholder: v3.0.0
|
||||
- type: input
|
||||
id: php-version
|
||||
attributes:
|
||||
label: PHP Version
|
||||
description: Please provide the full PHP version of your server.
|
||||
placeholder: PHP 8.1.0
|
||||
placeholder: PHP 8.2.0
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
|
||||
@@ -9,6 +9,10 @@
|
||||
<a href="https://php.net"><img alt="PHP 8.1" src="https://img.shields.io/badge/PHP-8.1-777BB4?style=for-the-badge&logo=php"></a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://trendshift.io/repositories/238" target="_blank"><img src="https://trendshift.io/api/badge/repositories/238" alt="filamentphp%2Ffilament | Trendshift" style="width: 250px; height: 55px;" /></a>
|
||||
</p>
|
||||
|
||||
Filament is a collection of full-stack components for accelerated Laravel development. They are beautifully designed, intuitive to use, and fully extensible - the perfect starting point for your next Laravel app. Why waste time building the same features over and over again?
|
||||
|
||||
## Packages
|
||||
|
||||
@@ -40,6 +40,13 @@ class ActionsDemo extends Component implements HasActions, HasForms
|
||||
->iconButton();
|
||||
}
|
||||
|
||||
public function badgeAction(): Action
|
||||
{
|
||||
return Action::make('badge')
|
||||
->label('Edit')
|
||||
->badge();
|
||||
}
|
||||
|
||||
public function dangerAction(): Action
|
||||
{
|
||||
return Action::make('danger')
|
||||
@@ -69,17 +76,17 @@ class ActionsDemo extends Component implements HasActions, HasForms
|
||||
->iconPosition(IconPosition::After);
|
||||
}
|
||||
|
||||
public function badgeAction(): Action
|
||||
public function badgedAction(): Action
|
||||
{
|
||||
return Action::make('badge')
|
||||
return Action::make('badged')
|
||||
->iconButton()
|
||||
->icon('heroicon-m-funnel')
|
||||
->badge(5);
|
||||
}
|
||||
|
||||
public function successBadgeAction(): Action
|
||||
public function successBadgedAction(): Action
|
||||
{
|
||||
return Action::make('successBadge')
|
||||
return Action::make('successBadged')
|
||||
->iconButton()
|
||||
->icon('heroicon-m-funnel')
|
||||
->badge(5)
|
||||
|
||||
@@ -179,6 +179,17 @@ class EntriesDemo extends Component implements HasInfolists
|
||||
->icon('heroicon-m-envelope')
|
||||
->iconPosition(IconPosition::After),
|
||||
]),
|
||||
Group::make()
|
||||
->id('textIconColor')
|
||||
->extraAttributes([
|
||||
'class' => 'p-16 max-w-xl',
|
||||
])
|
||||
->schema([
|
||||
TextEntry::make('email')
|
||||
->state('dan@filamentphp.com')
|
||||
->icon('heroicon-m-envelope')
|
||||
->iconColor('primary'),
|
||||
]),
|
||||
Group::make()
|
||||
->id('textLarge')
|
||||
->extraAttributes([
|
||||
|
||||
@@ -41,6 +41,7 @@ use Filament\Tables\Contracts\HasTable;
|
||||
use Filament\Tables\Enums\ActionsPosition;
|
||||
use Filament\Tables\Enums\FiltersLayout;
|
||||
use Filament\Tables\Filters\Filter;
|
||||
use Filament\Tables\Filters\Indicator;
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
use Filament\Tables\Grouping\Group;
|
||||
use Filament\Tables\Table;
|
||||
@@ -363,6 +364,17 @@ class TablesDemo extends Component implements HasForms, HasTable
|
||||
]);
|
||||
}
|
||||
|
||||
public function textColumnIconColor(Table $table): Table
|
||||
{
|
||||
return $this->usersTable($table)
|
||||
->columns([
|
||||
TextColumn::make('name'),
|
||||
TextColumn::make('email')
|
||||
->icon('heroicon-m-envelope')
|
||||
->iconColor('primary'),
|
||||
]);
|
||||
}
|
||||
|
||||
public function textColumnLarge(Table $table): Table
|
||||
{
|
||||
return $this->postsTable($table)
|
||||
@@ -709,8 +721,10 @@ class TablesDemo extends Component implements HasForms, HasTable
|
||||
->filters([
|
||||
Filter::make('dummy')
|
||||
->indicateUsing(fn () => [
|
||||
'one' => 'Posted by administrator',
|
||||
'two' => 'Less than 1 year old',
|
||||
Indicator::make('Posted by administrator')
|
||||
->removeField('one'),
|
||||
Indicator::make('Less than 1 year old')
|
||||
->removeField('two'),
|
||||
]),
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"dev": "vite",
|
||||
"build": "vite build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"dependencies": {
|
||||
"@tailwindcss/forms": "^0.5.2",
|
||||
"@tailwindcss/typography": "^0.5.4",
|
||||
"autoprefixer": "^10.4.7",
|
||||
|
||||
@@ -1 +1 @@
|
||||
.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px #9aa1b126,0 4px 80px -8px #24282f40,0 4px 4px -2px #5b5e6926;background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}
|
||||
.fi-pagination-overview{display:none}.fi-pagination-records-per-page-select:not(.fi-compact){display:none}.fi-pagination-items{display:none}@supports (container-type: inline-size){.fi-pagination{container-type:inline-size}@container (min-width: 28rem){.fi-pagination-records-per-page-select.fi-compact{display:none}.fi-pagination-records-per-page-select:not(.fi-compact){display:inline}}@container (min-width: 56rem){.fi-pagination:not(.fi-simple)>.fi-pagination-previous-btn{display:none}.fi-pagination-overview{display:inline}.fi-pagination:not(.fi-simple)>.fi-pagination-next-btn{display:none}.fi-pagination-items{display:flex}}}@supports not (container-type: inline-size){@media (min-width: 640px){.fi-pagination-records-per-page-select.fi-compact{display:none}.fi-pagination-records-per-page-select:not(.fi-compact){display:inline}}@media (min-width: 768px){.fi-pagination:not(.fi-simple)>.fi-pagination-previous-btn{display:none}.fi-pagination-overview{display:inline}.fi-pagination:not(.fi-simple)>.fi-pagination-next-btn{display:none}.fi-pagination-items{display:flex}}}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px #9aa1b126,0 4px 80px -8px #24282f40,0 4px 4px -2px #5b5e6926;background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}
|
||||
|
||||
@@ -1 +1 @@
|
||||
function i({state:o}){return{state:o,rows:[],shouldUpdateRows:!0,init:function(){this.updateRows(),this.rows.length<=0&&this.addRow(),this.shouldUpdateRows=!0,this.$watch("state",()=>{if(!this.shouldUpdateRows){this.shouldUpdateRows=!0;return}this.updateRows()})},addRow:function(){this.rows.push({key:"",value:""}),this.updateState()},deleteRow:function(t){this.rows.splice(t,1),this.rows.length<=0&&this.addRow(),this.updateState(),this.shouldUpdateRows=!0},reorderRows:function(t){let e=Alpine.raw(this.rows),s=e.splice(t.oldIndex,1)[0];e.splice(t.newIndex,0,s),this.rows=e,this.updateState()},updateRows:function(){let t=[];for(let[e,s]of Object.entries(this.state??{}))t.push({key:e,value:s});this.rows=t},updateState:function(){let t={};this.rows.forEach(e=>{e.key===""||e.key===null||(t[e.key]=e.value)}),this.shouldUpdateRows=!1,this.state=t}}}export{i as default};
|
||||
function r({state:i}){return{state:i,rows:[],shouldUpdateRows:!0,init:function(){this.updateRows(),this.rows.length<=0&&this.addRow(),this.updateState(),this.$watch("state",(t,e)=>{let s=o=>o===null?0:Array.isArray(o)?o.length:typeof o!="object"?0:Object.keys(o).length;s(t)===0&&s(e)===0||this.updateRows()})},addRow:function(){this.rows.push({key:"",value:""}),this.updateState()},deleteRow:function(t){this.rows.splice(t,1),this.rows.length<=0&&this.addRow(),this.updateState()},reorderRows:function(t){let e=Alpine.raw(this.rows),s=e.splice(t.oldIndex,1)[0];e.splice(t.newIndex,0,s),this.rows=e,this.updateState()},updateRows:function(){if(!this.shouldUpdateRows){this.shouldUpdateRows=!0;return}let t=[];for(let[e,s]of Object.entries(this.state??{}))t.push({key:e,value:s});this.rows=t},updateState:function(){let t={};this.rows.forEach(e=>{e.key===""||e.key===null||(t[e.key]=e.value)}),this.shouldUpdateRows=!1,this.state=t}}}export{r as default};
|
||||
|
||||
@@ -1 +1 @@
|
||||
function i({state:a,splitKeys:n}){return{newTag:"",state:a,createTag:function(){if(this.newTag=this.newTag.trim(),this.newTag!==""){if(this.state.includes(this.newTag)){this.newTag="";return}this.state.push(this.newTag),this.newTag=""}},deleteTag:function(t){this.state=this.state.filter(e=>e!==t)},input:{["x-on:blur"]:"createTag()",["x-model"]:"newTag",["x-on:keydown"](t){["Enter",...n].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.createTag())},["x-on:paste"](){$nextTick(()=>{let t=n.map(e=>e.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&")).join("|");this.newTag.split(new RegExp(t,"g")).forEach(e=>{this.newTag=e,this.createTag()})})}}}}export{i as default};
|
||||
function i({state:a,splitKeys:n}){return{newTag:"",state:a,createTag:function(){if(this.newTag=this.newTag.trim(),this.newTag!==""){if(this.state.includes(this.newTag)){this.newTag="";return}this.state.push(this.newTag),this.newTag=""}},deleteTag:function(t){this.state=this.state.filter(e=>e!==t)},input:{["x-on:blur"]:"createTag()",["x-model"]:"newTag",["x-on:keydown"](t){["Enter",...n].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.createTag())},["x-on:paste"](){this.$nextTick(()=>{if(n.length===0){this.createTag();return}let t=n.map(e=>e.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&")).join("|");this.newTag.split(new RegExp(t,"g")).forEach(e=>{this.newTag=e,this.createTag()})})}}}}export{i as default};
|
||||
|
||||
@@ -1 +1 @@
|
||||
function t({initialHeight:e}){return{render:function(){this.$el.scrollHeight>0&&(this.$el.style.height=e+"rem",this.$el.style.height=this.$el.scrollHeight+"px")}}}export{t as default};
|
||||
function t({initialHeight:e}){return{init:function(){this.render()},render:function(){this.$el.scrollHeight>0&&(this.$el.style.height=e+"rem",this.$el.style.height=this.$el.scrollHeight+"px")}}}export{t as default};
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
function c(){return{collapsedGroups:[],isLoading:!1,selectedRecords:[],shouldCheckUniqueSelection:!0,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})},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 s=[];for(let t of this.$root.getElementsByClassName("fi-ta-record-checkbox"))t.dataset.group===e&&s.push(t.value);return s},getRecordsOnPage:function(){let e=[];for(let s of this.$root.getElementsByClassName("fi-ta-record-checkbox"))e.push(s.value);return e},selectRecords:function(e){for(let s of e)this.isRecordSelected(s)||this.selectedRecords.push(s)},deselectRecords:function(e){for(let s of e){let t=this.selectedRecords.indexOf(s);t!==-1&&this.selectedRecords.splice(t,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(s=>this.isRecordSelected(s))},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=[]}}}export{c as default};
|
||||
@@ -12,6 +12,10 @@
|
||||
{{ $this->iconButtonAction }}
|
||||
</div>
|
||||
|
||||
<div id="badgeAction" class="p-16 flex items-center justify-center max-w-xl">
|
||||
{{ $this->badgeAction }}
|
||||
</div>
|
||||
|
||||
<div id="dangerAction" class="p-16 flex items-center justify-center max-w-xl">
|
||||
{{ $this->dangerAction }}
|
||||
</div>
|
||||
@@ -28,12 +32,12 @@
|
||||
{{ $this->iconAfterAction }}
|
||||
</div>
|
||||
|
||||
<div id="badgeAction" class="p-16 flex items-center justify-center max-w-xl">
|
||||
{{ $this->badgeAction }}
|
||||
<div id="badgedAction" class="p-16 flex items-center justify-center max-w-xl">
|
||||
{{ $this->badgedAction }}
|
||||
</div>
|
||||
|
||||
<div id="successBadgeAction" class="p-16 flex items-center justify-center max-w-xl">
|
||||
{{ $this->successBadgeAction }}
|
||||
<div id="successBadgedAction" class="p-16 flex items-center justify-center max-w-xl">
|
||||
{{ $this->successBadgedAction }}
|
||||
</div>
|
||||
|
||||
<div id="outlinedAction" class="p-16 flex items-center justify-center max-w-xl">
|
||||
|
||||
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 127 KiB |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"puppeteer": "^19.7.1",
|
||||
"sharp": "^0.32.1"
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,6 +29,15 @@ export default {
|
||||
await page.hover('#iconButtonAction button')
|
||||
},
|
||||
},
|
||||
'actions/trigger-button/badge': {
|
||||
url: 'actions',
|
||||
selector: '#badgeAction',
|
||||
viewport: {
|
||||
width: 1920,
|
||||
height: 640,
|
||||
deviceScaleFactor: 3,
|
||||
},
|
||||
},
|
||||
'actions/trigger-button/danger': {
|
||||
url: 'actions',
|
||||
selector: '#dangerAction',
|
||||
@@ -65,28 +74,28 @@ export default {
|
||||
deviceScaleFactor: 3,
|
||||
},
|
||||
},
|
||||
'actions/trigger-button/badge': {
|
||||
'actions/trigger-button/badged': {
|
||||
url: 'actions',
|
||||
selector: '#badgeAction',
|
||||
selector: '#badgedAction',
|
||||
viewport: {
|
||||
width: 1920,
|
||||
height: 640,
|
||||
deviceScaleFactor: 3,
|
||||
},
|
||||
before: async (page) => {
|
||||
await page.hover('#badgeAction button')
|
||||
await page.hover('#badgedAction button')
|
||||
},
|
||||
},
|
||||
'actions/trigger-button/success-badge': {
|
||||
'actions/trigger-button/success-badged': {
|
||||
url: 'actions',
|
||||
selector: '#successBadgeAction',
|
||||
selector: '#successBadgedAction',
|
||||
viewport: {
|
||||
width: 1920,
|
||||
height: 640,
|
||||
deviceScaleFactor: 3,
|
||||
},
|
||||
before: async (page) => {
|
||||
await page.hover('#successBadgeAction button')
|
||||
await page.hover('#successBadgedAction button')
|
||||
},
|
||||
},
|
||||
'actions/trigger-button/outlined': {
|
||||
@@ -1306,6 +1315,15 @@ export default {
|
||||
deviceScaleFactor: 3,
|
||||
},
|
||||
},
|
||||
'infolists/entries/text/icon-color': {
|
||||
url: 'infolists/entries',
|
||||
selector: '#textIconColor',
|
||||
viewport: {
|
||||
width: 1920,
|
||||
height: 640,
|
||||
deviceScaleFactor: 3,
|
||||
},
|
||||
},
|
||||
'infolists/entries/text/large': {
|
||||
url: 'infolists/entries',
|
||||
selector: '#textLarge',
|
||||
@@ -1950,6 +1968,15 @@ export default {
|
||||
deviceScaleFactor: 3,
|
||||
},
|
||||
},
|
||||
'tables/columns/text/icon-color': {
|
||||
url: 'tables?table=textColumnIconColor',
|
||||
selector: 'body',
|
||||
viewport: {
|
||||
width: 1080,
|
||||
height: 640,
|
||||
deviceScaleFactor: 3,
|
||||
},
|
||||
},
|
||||
'tables/columns/text/large': {
|
||||
url: 'tables?table=textColumnLarge',
|
||||
selector: 'body',
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Lidh',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Lidh :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Regjistro',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'associate' => [
|
||||
'label' => 'Lidh',
|
||||
],
|
||||
|
||||
'associate_another' => [
|
||||
'label' => 'Lidh & lidh another',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'associated' => [
|
||||
'title' => 'U lidh',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Ngarko',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Ngarko :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Record',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'attach' => [
|
||||
'label' => 'Ngarko',
|
||||
],
|
||||
|
||||
'attach_another' => [
|
||||
'label' => 'Ngarko & ngarko një tjetër',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'attached' => [
|
||||
'title' => 'U ngarkua',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Krijo :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Krijo :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'create' => [
|
||||
'label' => 'Krijo',
|
||||
],
|
||||
|
||||
'create_another' => [
|
||||
'label' => 'Krijo & krijo një tjetër',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'created' => [
|
||||
'title' => 'U krijua',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Fshi',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Fshi :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Fshi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'U fshi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Fshi të selektuarin',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Fshi të selektuarin :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Fshi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'U fshi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Shkëput',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Shkëput :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Shkëput',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'U shkëput',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Shkëput të përzgjedhurin',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Shkëput të përzgjedhurin :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Shkëput',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'U shkëput',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Shkëput',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Shkëput :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Shkëput',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'Shkëput',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Shkëput të përzgjedhurin',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Shkëput të përzgjedhurin :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Shkëput',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'U shkëput',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Modifiko',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Modifiko :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'save' => [
|
||||
'label' => 'Ruaj ndryshimet',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'saved' => [
|
||||
'title' => 'U ruajt',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Fshi me forcë',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Fshi me forcë :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Fshi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'U fshi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Fshi me forcë të selektuarin',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Fshi me forcë të selektuarin :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Fshi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'U fshi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'trigger' => [
|
||||
'label' => 'Veprimet',
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'confirmation' => 'Jeni të sigurt që dëshironi ta bëni këtë?',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'cancel' => [
|
||||
'label' => 'Anulo',
|
||||
],
|
||||
|
||||
'confirm' => [
|
||||
'label' => 'Konfirmo',
|
||||
],
|
||||
|
||||
'submit' => [
|
||||
'label' => 'Ruaj',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Kopjo',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Kopjo :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'replicate' => [
|
||||
'label' => 'Kopjo',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'replicated' => [
|
||||
'title' => 'U kopjua',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Rivendos',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Rivendos :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'Rivendos',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'U rivendos',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Rivendos të selektuarin',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Rivendos të selektuarin :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'Rivendos',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'U rivendos',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Pamje',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Pamje :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'close' => [
|
||||
'label' => 'Mbyll',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,416 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'builder' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'clone' => [
|
||||
'label' => 'Kopjo',
|
||||
],
|
||||
|
||||
'add' => [
|
||||
'label' => 'Shto në :label',
|
||||
],
|
||||
|
||||
'add_between' => [
|
||||
'label' => 'Shto midis blloqeve',
|
||||
],
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Fshi',
|
||||
],
|
||||
|
||||
'reorder' => [
|
||||
'label' => 'Zhvendos',
|
||||
],
|
||||
|
||||
'move_down' => [
|
||||
'label' => 'Zhvendos poshtë',
|
||||
],
|
||||
|
||||
'move_up' => [
|
||||
'label' => 'Zhvendos sipër',
|
||||
],
|
||||
|
||||
'collapse' => [
|
||||
'label' => 'Mbyll',
|
||||
],
|
||||
|
||||
'expand' => [
|
||||
'label' => 'Hap',
|
||||
],
|
||||
|
||||
'collapse_all' => [
|
||||
'label' => 'Mbyll të gjitha',
|
||||
],
|
||||
|
||||
'expand_all' => [
|
||||
'label' => 'Hap të gjitha',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'checkbox_list' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Çzgjidh të gjitha',
|
||||
],
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Zgjidh të gjitha',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'file_upload' => [
|
||||
|
||||
'editor' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'cancel' => [
|
||||
'label' => 'Anulo',
|
||||
],
|
||||
|
||||
'drag_crop' => [
|
||||
'label' => 'Modaliteti i tërheqjes "prerje"',
|
||||
],
|
||||
|
||||
'drag_move' => [
|
||||
'label' => 'Modaliteti i tërheqjes "zhvendos"',
|
||||
],
|
||||
|
||||
'flip_horizontal' => [
|
||||
'label' => 'Kthejeni imazhin horizontal',
|
||||
],
|
||||
|
||||
'flip_vertical' => [
|
||||
'label' => 'Kthejeni imazhin vertikal',
|
||||
],
|
||||
|
||||
'move_down' => [
|
||||
'label' => 'Zhvendos imazhin poshtë',
|
||||
],
|
||||
|
||||
'move_left' => [
|
||||
'label' => 'Zhvendos imazhin majtas',
|
||||
],
|
||||
|
||||
'move_right' => [
|
||||
'label' => 'Zhvendos imazhin djathtas',
|
||||
],
|
||||
|
||||
'move_up' => [
|
||||
'label' => 'Zhvendos imazhin sipër',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Rivendos',
|
||||
],
|
||||
|
||||
'rotate_left' => [
|
||||
'label' => 'Rrotulloni imazhin në të majtë',
|
||||
],
|
||||
|
||||
'rotate_right' => [
|
||||
'label' => 'Rrotulloni imazhin në të djathtë',
|
||||
],
|
||||
|
||||
'set_aspect_ratio' => [
|
||||
'label' => 'Cakto raportin e pamjes në :ratio',
|
||||
],
|
||||
|
||||
'save' => [
|
||||
'label' => 'Ruaj',
|
||||
],
|
||||
|
||||
'zoom_100' => [
|
||||
'label' => 'Zmadhoni imazhin në 100%',
|
||||
],
|
||||
|
||||
'zoom_in' => [
|
||||
'label' => 'Zmadhoni',
|
||||
],
|
||||
|
||||
'zoom_out' => [
|
||||
'label' => 'Zvogëloni',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'height' => [
|
||||
'label' => 'Lartësia',
|
||||
'unit' => 'px',
|
||||
],
|
||||
|
||||
'rotation' => [
|
||||
'label' => 'Rrotullimi',
|
||||
'unit' => 'deg',
|
||||
],
|
||||
|
||||
'width' => [
|
||||
'label' => 'Gjerësia',
|
||||
'unit' => 'px',
|
||||
],
|
||||
|
||||
'x_position' => [
|
||||
'label' => 'X',
|
||||
'unit' => 'px',
|
||||
],
|
||||
|
||||
'y_position' => [
|
||||
'label' => 'Y',
|
||||
'unit' => 'px',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'aspect_ratios' => [
|
||||
|
||||
'label' => 'Raportet e aspektit',
|
||||
|
||||
'no_fixed' => [
|
||||
'label' => 'i lirë',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'key_value' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add' => [
|
||||
'label' => 'Shto rresht',
|
||||
],
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Fshi rresht',
|
||||
],
|
||||
|
||||
'reorder' => [
|
||||
'label' => 'Renditni përsëri rreshtin',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'key' => [
|
||||
'label' => 'Çelësi',
|
||||
],
|
||||
|
||||
'value' => [
|
||||
'label' => 'Vlera',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'markdown_editor' => [
|
||||
|
||||
'toolbar_buttons' => [
|
||||
'attach_files' => 'Bashkangjit skedarët',
|
||||
'blockquote' => 'Blockquote',
|
||||
'bold' => 'i theksuar',
|
||||
'bullet_list' => 'Lista me pika',
|
||||
'code_block' => 'Blloku i kodit',
|
||||
'heading' => 'Titull',
|
||||
'italic' => 'I pjerrët',
|
||||
'link' => 'Link',
|
||||
'ordered_list' => 'Lista e numëruar',
|
||||
'redo' => 'Ribëj',
|
||||
'strike' => 'I mesvijëzuar',
|
||||
'table' => 'Tabela',
|
||||
'undo' => 'Zhbëj',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'repeater' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'add' => [
|
||||
'label' => 'Shto në :label',
|
||||
],
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Fshi',
|
||||
],
|
||||
|
||||
'clone' => [
|
||||
'label' => 'Kopjo',
|
||||
],
|
||||
|
||||
'reorder' => [
|
||||
'label' => 'Zhvendos',
|
||||
],
|
||||
|
||||
'move_down' => [
|
||||
'label' => 'Zhvendos poshtë',
|
||||
],
|
||||
|
||||
'move_up' => [
|
||||
'label' => 'Zhvendos sipër',
|
||||
],
|
||||
|
||||
'collapse' => [
|
||||
'label' => 'Mbyll',
|
||||
],
|
||||
|
||||
'expand' => [
|
||||
'label' => 'Hap',
|
||||
],
|
||||
|
||||
'collapse_all' => [
|
||||
'label' => 'Mbyll të gjitha',
|
||||
],
|
||||
|
||||
'expand_all' => [
|
||||
'label' => 'Hap të gjitha',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'rich_editor' => [
|
||||
|
||||
'dialogs' => [
|
||||
|
||||
'link' => [
|
||||
|
||||
'actions' => [
|
||||
'link' => 'Link',
|
||||
'unlink' => 'Unlink',
|
||||
],
|
||||
|
||||
'label' => 'URL',
|
||||
|
||||
'placeholder' => 'Fut një URL',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'toolbar_buttons' => [
|
||||
'attach_files' => 'Bashkangjit skedarët',
|
||||
'blockquote' => 'Blockquote',
|
||||
'bold' => 'I theksuar',
|
||||
'bullet_list' => 'Lista me pika',
|
||||
'code_block' => 'Blloku i kodit',
|
||||
'h1' => 'Kryetitull',
|
||||
'h2' => 'Titull',
|
||||
'h3' => 'Nëntitull',
|
||||
'italic' => 'I pjerrët',
|
||||
'link' => 'Link',
|
||||
'ordered_list' => 'Lista e numëruar',
|
||||
'redo' => 'Ribëj',
|
||||
'strike' => 'I mesvijëzuar',
|
||||
'underline' => 'I nënvizuar',
|
||||
'undo' => 'Ribëj',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'select' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'create_option' => [
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Krijo',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'create' => [
|
||||
'label' => 'Krijo',
|
||||
],
|
||||
|
||||
'create_another' => [
|
||||
'label' => 'Krijoni dhe krijoni një tjetër',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'edit_option' => [
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Modifiko',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'save' => [
|
||||
'label' => 'Ruaj',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'boolean' => [
|
||||
'true' => 'Po',
|
||||
'false' => 'Jo',
|
||||
],
|
||||
|
||||
'loading_message' => 'Po ngarkohet...',
|
||||
|
||||
'max_items_message' => 'Mund të zgjidhet vetëm :count.',
|
||||
|
||||
'no_search_results_message' => 'Asnjë opsion nuk përputhet me kërkimin tuaj.',
|
||||
|
||||
'placeholder' => 'Zgjidhni një opsion',
|
||||
|
||||
'searching_message' => 'Duke kërkuar...',
|
||||
|
||||
'search_prompt' => 'Filloni të shkruani për të kërkuar...',
|
||||
|
||||
],
|
||||
|
||||
'tags_input' => [
|
||||
'placeholder' => 'Tag i ri',
|
||||
],
|
||||
|
||||
'wizard' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'previous_step' => [
|
||||
'label' => 'Pas',
|
||||
],
|
||||
|
||||
'next_step' => [
|
||||
'label' => 'Para',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Njoftimet',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'clear' => [
|
||||
'label' => 'Pastro',
|
||||
],
|
||||
|
||||
'mark_all_as_read' => [
|
||||
'label' => 'Shënoni të gjitha si të lexuara',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
'heading' => 'Nuk ka njoftime',
|
||||
'description' => 'Ju lutemi kontrolloni përsëri më vonë.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'field' => [
|
||||
'label' => 'Kërkim global',
|
||||
'placeholder' => 'Kërko',
|
||||
],
|
||||
|
||||
'no_results_message' => 'Nuk u gjet asnjë result.',
|
||||
|
||||
];
|
||||
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'direction' => 'ltr',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'billing' => [
|
||||
'label' => 'Menaxho abonimin',
|
||||
],
|
||||
|
||||
'logout' => [
|
||||
'label' => 'Dil',
|
||||
],
|
||||
|
||||
'open_database_notifications' => [
|
||||
'label' => 'Hap njoftimet',
|
||||
],
|
||||
|
||||
'open_user_menu' => [
|
||||
'label' => 'Menuja e përdoruesit',
|
||||
],
|
||||
|
||||
'sidebar' => [
|
||||
|
||||
'collapse' => [
|
||||
'label' => 'Mbyll menunë',
|
||||
],
|
||||
|
||||
'expand' => [
|
||||
'label' => 'Hap menunë',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'theme_switcher' => [
|
||||
|
||||
'dark' => [
|
||||
'label' => 'Aktivizo template-in e errët',
|
||||
],
|
||||
|
||||
'light' => [
|
||||
'label' => 'Aktivizo template-in e shndritshëm',
|
||||
],
|
||||
|
||||
'system' => [
|
||||
'label' => 'Aktivizo template-in e sistemit',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Profili',
|
||||
|
||||
'form' => [
|
||||
|
||||
'email' => [
|
||||
'label' => 'Emaili',
|
||||
],
|
||||
|
||||
'name' => [
|
||||
'label' => 'Emri',
|
||||
],
|
||||
|
||||
'password' => [
|
||||
'label' => 'Fjalëkalim i ri',
|
||||
],
|
||||
|
||||
'password_confirmation' => [
|
||||
'label' => 'Konfirmo fjalëkalimin e ri',
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'save' => [
|
||||
'label' => 'Ruaj ndryshimet',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'saved' => [
|
||||
'title' => 'U ruajt',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'back' => [
|
||||
'label' => 'Mbrapa',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'title' => 'Verifikoni adresën tuaj të emailit',
|
||||
|
||||
'heading' => 'Verifikoni adresën tuaj të emailit',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'resend_notification' => [
|
||||
'label' => 'Ridërgojeni',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'notification_not_received' => 'Nuk e morët emailin që dërguam?',
|
||||
'notification_sent' => 'Ne kemi dërguar një email në :email që përmban udhëzime se si të verifikoni adresën tuaj të emailit.',
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'notification_resent' => [
|
||||
'title' => 'Ne e kemi ridërguar emailin.',
|
||||
],
|
||||
|
||||
'notification_resend_throttled' => [
|
||||
'title' => 'Shumë përpjekje për ridërgim',
|
||||
'body' => 'Ju lutemi provoni përsëri në :seconds sekonda.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'title' => 'Hyr',
|
||||
|
||||
'heading' => 'Hyr',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'register' => [
|
||||
'before' => 'ose',
|
||||
'label' => 'rregjistro një llogari të re',
|
||||
],
|
||||
|
||||
'request_password_reset' => [
|
||||
'label' => 'Keni harruar fjalëkalimin?',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'email' => [
|
||||
'label' => 'Email',
|
||||
],
|
||||
|
||||
'password' => [
|
||||
'label' => 'Fjalëkalimin',
|
||||
],
|
||||
|
||||
'remember' => [
|
||||
'label' => 'Mbaj mend fjalëkalimin',
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'authenticate' => [
|
||||
'label' => 'Hyr',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
|
||||
'failed' => 'Këto kredenciale nuk përputhen me të dhënat tona.',
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'throttled' => [
|
||||
'title' => 'Shumë përpjekje për hyrje',
|
||||
'body' => 'Ju lutemi provoni përsëri në :seconds sekonda.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'title' => 'Rivendosni fjalëkalimin tuaj',
|
||||
|
||||
'heading' => 'Keni harruar fjalekalimin tuaj?',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'login' => [
|
||||
'label' => 'kthehu te identifikohesh',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'email' => [
|
||||
'label' => 'Adresa e emailit',
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'request' => [
|
||||
'label' => 'Dërgoni një email',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'throttled' => [
|
||||
'title' => 'Shumë kërkesa',
|
||||
'body' => 'Ju lutemi provoni përsëri në :seconds sekonda.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'title' => 'Rivendosni fjalëkalimin tuaj',
|
||||
|
||||
'heading' => 'Rivendosni fjalëkalimin tuaj',
|
||||
|
||||
'form' => [
|
||||
|
||||
'email' => [
|
||||
'label' => 'Adresa e emailit',
|
||||
],
|
||||
|
||||
'password' => [
|
||||
'label' => 'Fjalëkalimi',
|
||||
'validation_attribute' => 'fjalëkalimi',
|
||||
],
|
||||
|
||||
'password_confirmation' => [
|
||||
'label' => 'Konfirmo fjalëkalimin',
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Rivendosni fjalëkalimin',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'throttled' => [
|
||||
'title' => 'Shumë përpjekje për rivendosje',
|
||||
'body' => 'Ju lutemi provoni përsëri në :seconds sekonda.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'title' => 'Regjistrohu',
|
||||
|
||||
'heading' => 'Regjistrohu',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'login' => [
|
||||
'before' => 'ose',
|
||||
'label' => 'hyni në llogarinë tuaj',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'email' => [
|
||||
'label' => 'Adresa e emailit',
|
||||
],
|
||||
|
||||
'name' => [
|
||||
'label' => 'Emri',
|
||||
],
|
||||
|
||||
'password' => [
|
||||
'label' => 'Fjalëkalimi',
|
||||
'validation_attribute' => 'fjalëkalimi',
|
||||
],
|
||||
|
||||
'password_confirmation' => [
|
||||
'label' => 'Konfirmo fjalëkalimin',
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'register' => [
|
||||
'label' => 'Regjistrohu',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'throttled' => [
|
||||
'title' => 'Too many registration attempts',
|
||||
'body' => 'Please try again in :seconds seconds.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'title' => 'Faqja Kryesore',
|
||||
|
||||
];
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'form' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'save' => [
|
||||
'label' => 'Ruaj ndryshimet',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'saved' => [
|
||||
'title' => 'Ruaj',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'title' => 'Krijo :label',
|
||||
|
||||
'breadcrumb' => 'Krijo',
|
||||
|
||||
'form' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'cancel' => [
|
||||
'label' => 'Anulo',
|
||||
],
|
||||
|
||||
'create' => [
|
||||
'label' => 'Krijo',
|
||||
],
|
||||
|
||||
'create_another' => [
|
||||
'label' => 'Krijo & krijo një tjetër',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'created' => [
|
||||
'title' => 'U krijua',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'title' => 'Modifiko :label',
|
||||
|
||||
'breadcrumb' => 'Modifiko',
|
||||
|
||||
'form' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'cancel' => [
|
||||
'label' => 'Anulo',
|
||||
],
|
||||
|
||||
'save' => [
|
||||
'label' => 'Ruaj ndryshimet',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'content' => [
|
||||
|
||||
'tab' => [
|
||||
'label' => 'Modifiko',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'saved' => [
|
||||
'title' => 'U ruajt',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'breadcrumb' => 'Listo',
|
||||
|
||||
];
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'title' => 'Pamje :label',
|
||||
|
||||
'breadcrumb' => 'Pamje',
|
||||
|
||||
'content' => [
|
||||
|
||||
'tab' => [
|
||||
'label' => 'Pamje',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'logout' => [
|
||||
'label' => 'Dil',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'welcome' => 'Mirë se vini',
|
||||
|
||||
];
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'open_documentation' => [
|
||||
'label' => 'Documentation',
|
||||
],
|
||||
|
||||
'open_github' => [
|
||||
'label' => 'GitHub',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,213 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'column_toggle' => [
|
||||
|
||||
'heading' => 'Kolonat',
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
|
||||
'text' => [
|
||||
'more_list_items' => 'dhe :count më shumë',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
|
||||
'bulk_select_page' => [
|
||||
'label' => 'Zgjidh/çzgjidh të gjithë artikujt për veprime në masë.',
|
||||
],
|
||||
|
||||
'bulk_select_record' => [
|
||||
'label' => 'Zgjidh/çzgjidh artikullin :key për veprime në masë.',
|
||||
],
|
||||
|
||||
'search' => [
|
||||
'label' => 'Kërko',
|
||||
'placeholder' => 'Kërko',
|
||||
'indicator' => 'Kërko',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'summary' => [
|
||||
|
||||
'heading' => 'Përmbledhje',
|
||||
|
||||
'subheadings' => [
|
||||
'all' => 'Të gjithë :label',
|
||||
'group' => ':group përmbledhje',
|
||||
'page' => 'Kjo faqe',
|
||||
],
|
||||
|
||||
'summarizers' => [
|
||||
|
||||
'average' => [
|
||||
'label' => 'Mesatare',
|
||||
],
|
||||
|
||||
'count' => [
|
||||
'label' => 'Numëro',
|
||||
],
|
||||
|
||||
'sum' => [
|
||||
'label' => 'Mblidh',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'disable_reordering' => [
|
||||
'label' => 'Përfundo rirenditjen e regjistrave',
|
||||
],
|
||||
|
||||
'enable_reordering' => [
|
||||
'label' => 'Rirenditni të dhënat',
|
||||
],
|
||||
|
||||
'filter' => [
|
||||
'label' => 'Filtro',
|
||||
],
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupi',
|
||||
],
|
||||
|
||||
'open_bulk_actions' => [
|
||||
'label' => 'Veprime me shumicë',
|
||||
],
|
||||
|
||||
'toggle_columns' => [
|
||||
'label' => 'Ndrysho kolonat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'empty' => [
|
||||
|
||||
'heading' => 'S\'ka :model',
|
||||
|
||||
'description' => 'Krijo një :model për të filluar.',
|
||||
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'remove' => [
|
||||
'label' => 'Hiq filtrin',
|
||||
],
|
||||
|
||||
'remove_all' => [
|
||||
'label' => 'Hiqni të gjithë filtrat',
|
||||
'tooltip' => 'Hiqni të gjithë filtrat',
|
||||
],
|
||||
|
||||
'reset' => [
|
||||
'label' => 'Rivendos',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'heading' => 'Filtrat',
|
||||
|
||||
'indicator' => 'Filtrat aktivë',
|
||||
|
||||
'multi_select' => [
|
||||
'placeholder' => 'Të gjitha',
|
||||
],
|
||||
|
||||
'select' => [
|
||||
'placeholder' => 'Të gjitha',
|
||||
],
|
||||
|
||||
'trashed' => [
|
||||
|
||||
'label' => 'Të dhënat e fshira',
|
||||
|
||||
'only_trashed' => 'Vetëm të dhënat e fshira',
|
||||
|
||||
'with_trashed' => 'Me të dhëna të fshira',
|
||||
|
||||
'without_trashed' => 'Pa të dhëna të fshira',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'grouping' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'group' => [
|
||||
'label' => 'Grupo sipas',
|
||||
'placeholder' => 'Grupo sipas',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Drejtimi i grupit',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Në ngjitje',
|
||||
'desc' => 'Duke zbritur',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'reorder_indicator' => 'Tërhiqni dhe lëshoni të dhënat sipas renditjes',
|
||||
|
||||
'selection_indicator' => [
|
||||
|
||||
'selected_count' => '1 regjistrim i zgjedhur|:count regjistrime të zgjedhura',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Zgjidhni të gjitha :count',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Çzgjidh të gjitha',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'sorting' => [
|
||||
|
||||
'fields' => [
|
||||
|
||||
'column' => [
|
||||
'label' => 'Ndaj sipas',
|
||||
],
|
||||
|
||||
'direction' => [
|
||||
|
||||
'label' => 'Rendit drejtimin',
|
||||
|
||||
'options' => [
|
||||
'asc' => 'Në ngjitje',
|
||||
'desc' => 'Duke zbritur',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'messages' => [
|
||||
'uploading_file' => 'Duke ngarkuar skedarin...',
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'messages' => [
|
||||
'copied' => 'U kopjua',
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'actions' => [
|
||||
|
||||
'close' => [
|
||||
'label' => 'Mbyll',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Pagination navigation',
|
||||
|
||||
'overview' => '{1} Duke shfaqur 1 rezultat|[2,*] Duke shfaqur :first në :last nga :rezultatet totale',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'records_per_page' => [
|
||||
|
||||
'label' => 'Për faqe',
|
||||
|
||||
'options' => [
|
||||
'all' => 'Të gjithë',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'go_to_page' => [
|
||||
'label' => 'Shko te faqja :page',
|
||||
],
|
||||
|
||||
'next' => [
|
||||
'label' => 'Pasardhësi',
|
||||
],
|
||||
|
||||
'previous' => [
|
||||
'label' => 'Paraardhësi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -26,6 +26,7 @@
|
||||
"async-alpine": "^1.0.0",
|
||||
"autoprefixer": "^10.4.0",
|
||||
"chart.js": "^3.6.0",
|
||||
"chartjs-adapter-luxon": "^1.3.1",
|
||||
"choices.js": "^10.1.0",
|
||||
"codemirror": "^5.65.8",
|
||||
"cropperjs": "^1.5.13",
|
||||
@@ -45,6 +46,7 @@
|
||||
"filepond-plugin-media-preview": "^1.0.9",
|
||||
"laravel-echo": "^1.14.0",
|
||||
"laravel-mix": "^6.0.37",
|
||||
"luxon": "^3.4.3",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss": "^8.4.4",
|
||||
"prettier": "^2.7.1",
|
||||
|
||||
@@ -11,7 +11,7 @@ This page is about customizing the look of that trigger button.
|
||||
|
||||
## Choosing a trigger style
|
||||
|
||||
Out of the box, action triggers have 3 styles - "button", "link", and "icon button".
|
||||
Out of the box, action triggers have 4 styles - "button", "link", "icon button", and "badge".
|
||||
|
||||
"Button" triggers have a background color, label, and optionally an [icon](#setting-an-icon). Usually, this is the default button style, but you can use it manually with the `button()` method:
|
||||
|
||||
@@ -41,6 +41,15 @@ Action::make('edit')
|
||||
|
||||
<AutoScreenshot name="actions/trigger-button/icon-button" alt="Icon button trigger" version="3.x" />
|
||||
|
||||
"Badge" triggers have a background color, label, and optionally an [icon](#setting-an-icon). You can use a badge as trigger using the `badge()` method:
|
||||
|
||||
```php
|
||||
Action::make('edit')
|
||||
->badge()
|
||||
```
|
||||
|
||||
<AutoScreenshot name="actions/trigger-button/badge" alt="Badge trigger" version="3.x" />
|
||||
|
||||
### Using an icon button on mobile devices only
|
||||
|
||||
You may want to use a button style with a label on desktop, but remove the label on mobile. This will transform it into an icon button. You can do this with the `labeledFrom()` method, passing in the responsive [breakpoint](https://tailwindcss.com/docs/responsive-design#overview) at which you want the label to be added to the button:
|
||||
@@ -176,7 +185,7 @@ Action::make('filter')
|
||||
->badge(5)
|
||||
```
|
||||
|
||||
<AutoScreenshot name="actions/trigger-button/badge" alt="Trigger with badge" version="3.x" />
|
||||
<AutoScreenshot name="actions/trigger-button/badged" alt="Trigger with badge" version="3.x" />
|
||||
|
||||
You can also pass a color to be used for the badge, which can be either `danger`, `gray`, `info`, `primary`, `success` and `warning`:
|
||||
|
||||
@@ -190,7 +199,7 @@ Action::make('filter')
|
||||
->badgeColor('success')
|
||||
```
|
||||
|
||||
<AutoScreenshot name="actions/trigger-button/success-badge" alt="Trigger with green badge" version="3.x" />
|
||||
<AutoScreenshot name="actions/trigger-button/success-badged" alt="Trigger with green badge" version="3.x" />
|
||||
|
||||
## Outlined button style
|
||||
|
||||
|
||||
@@ -323,9 +323,11 @@ Action::make('updateAuthor')
|
||||
|
||||
## Changing the modal width
|
||||
|
||||
You can change the width of the modal by using the `modalWidth()` 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`, and `screen`:
|
||||
You can change the width of the modal by using the `modalWidth()` method. Options correspond to [Tailwind's max-width scale](https://tailwindcss.com/docs/max-width). The options are `ExtraSmall`, `Small`, `Medium`, `Large`, `ExtraLarge`, `TwoExtraLarge`, `ThreeExtraLarge`, `FourExtraLarge`, `FiveExtraLarge`, `SixExtraLarge`, `SevenExtraLarge`, and `Screen`:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\MaxWidth;
|
||||
|
||||
Action::make('updateAuthor')
|
||||
->form([
|
||||
// ...
|
||||
@@ -333,7 +335,7 @@ Action::make('updateAuthor')
|
||||
->action(function (array $data): void {
|
||||
// ...
|
||||
})
|
||||
->modalWidth('5xl')
|
||||
->modalWidth(MaxWidth::FiveExtraLarge)
|
||||
```
|
||||
|
||||
## Conditionally hiding the modal
|
||||
|
||||
@@ -70,13 +70,15 @@ The `dropdown(false)` method puts the actions inside the parent dropdown, instea
|
||||
|
||||
## Setting the width of the dropdown
|
||||
|
||||
The dropdown may be set to a width by using the `dropdownWidth()` 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` and `7xl`:
|
||||
The dropdown may be set to a width by using the `dropdownWidth()` method. Options correspond to [Tailwind's max-width scale](https://tailwindcss.com/docs/max-width). The options are `ExtraSmall`, `Small`, `Medium`, `Large`, `ExtraLarge`, `TwoExtraLarge`, `ThreeExtraLarge`, `FourExtraLarge`, `FiveExtraLarge`, `SixExtraLarge` and `SevenExtraLarge`:
|
||||
|
||||
```php
|
||||
use Filament\Support\Enums\MaxWidth;
|
||||
|
||||
ActionGroup::make([
|
||||
// Array of actions
|
||||
])
|
||||
->dropdownWidth('xs')
|
||||
->dropdownWidth(MaxWidth::ExtraSmall)
|
||||
```
|
||||
|
||||
## Controlling the maximum height of the dropdown
|
||||
|
||||
@@ -60,9 +60,9 @@ class ManagePost extends Component implements HasForms, HasActions
|
||||
{
|
||||
use InteractsWithActions;
|
||||
use InteractsWithForms;
|
||||
|
||||
|
||||
public Post $post;
|
||||
|
||||
|
||||
public function deleteAction(): Action
|
||||
{
|
||||
return Action::make('delete')
|
||||
@@ -79,7 +79,7 @@ Finally, you need to render the action in your view. To do this, you can use `{{
|
||||
```blade
|
||||
<div>
|
||||
{{ $this->deleteAction }}
|
||||
|
||||
|
||||
<x-filament-actions::modals />
|
||||
</div>
|
||||
```
|
||||
@@ -94,10 +94,10 @@ Sometimes, you may wish to pass arguments to your action. For example, if you're
|
||||
<div>
|
||||
@foreach ($posts as $post)
|
||||
<h2>{{ $post->title }}</h2>
|
||||
|
||||
{{ ($this->delete)(['post' => $post->id]) }}
|
||||
|
||||
{{ ($this->deleteAction)(['post' => $post->id]) }}
|
||||
@endforeach
|
||||
|
||||
|
||||
<x-filament-actions::modals />
|
||||
</div>
|
||||
```
|
||||
@@ -114,7 +114,7 @@ public function deleteAction(): Action
|
||||
->requiresConfirmation()
|
||||
->action(function (array $arguments) {
|
||||
$post = Post::find($arguments['post']);
|
||||
|
||||
|
||||
$post?->delete();
|
||||
});
|
||||
}
|
||||
@@ -131,7 +131,7 @@ You may [group actions together into a dropdown menu](grouping-actions) by using
|
||||
$this->viewAction,
|
||||
$this->deleteAction,
|
||||
]" />
|
||||
|
||||
|
||||
<x-filament-actions::modals />
|
||||
</div>
|
||||
```
|
||||
@@ -153,7 +153,7 @@ You can also pass in any attributes to customize the appearance of the trigger b
|
||||
tooltip="More actions"
|
||||
dropdown-placement="bottom-start"
|
||||
/>
|
||||
|
||||
|
||||
<x-filament-actions::modals />
|
||||
</div>
|
||||
```
|
||||
@@ -175,10 +175,10 @@ public function editAction(): Action
|
||||
// ...
|
||||
->action(function (array $arguments) {
|
||||
$post = Post::find($arguments['post']);
|
||||
|
||||
|
||||
// ...
|
||||
|
||||
$this->replaceMountedAction('publish', $arguments);
|
||||
|
||||
$this->replaceMountedAction('publish', $arguments);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -189,7 +189,7 @@ public function publishAction(): Action
|
||||
// ...
|
||||
->action(function (array $arguments) {
|
||||
$post = Post::find($arguments['post']);
|
||||
|
||||
|
||||
$post->publish();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Əlaqələndir',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label Əlaqələndir',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Məlumat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'associate' => [
|
||||
'label' => 'Əlaqələndir',
|
||||
],
|
||||
|
||||
'associate_another' => [
|
||||
'label' => 'Əlaqələndir və başqasına başla',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'associated' => [
|
||||
'title' => 'Əlaqələndirildi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'İlişdir',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label ilişdir',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Məlumat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'attach' => [
|
||||
'label' => 'İlişdir',
|
||||
],
|
||||
|
||||
'attach_another' => [
|
||||
'label' => 'İlişdir ve başqasına başla',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'attached' => [
|
||||
'title' => 'İlişdirildi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => ':label Yarat',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label yarat',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'create' => [
|
||||
'label' => 'Yarat',
|
||||
],
|
||||
|
||||
'create_another' => [
|
||||
'label' => 'Yarat ve başqasını yarat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'created' => [
|
||||
'title' => 'Yaradıldı',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Sil',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label Sil',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Sil',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Silindi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Seçilənləri sil',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Seçilənləri sil',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Sil',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Silindi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Ayır',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label ayır',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Ayır',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'Ayrıldı',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Seçiləni ayır',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label seçiləni ayır ',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Seçiləni ayır',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'Ayrıldı',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Parçala',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label parçala',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Parçala',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'Parçalandı',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Seçiləni parçala',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label seçiləni parçala',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Seçiləni parçala',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'Parçalandı',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Redaktə et',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label redaktə et',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'save' => [
|
||||
'label' => 'Yadda saxla',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'saved' => [
|
||||
'title' => 'Yadda saxlanıldı',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Həmişəlik sil',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label həmişəlik sil',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Həmişəlik sil',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Məlumat həmişəlik silindi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Seçilənləri həmişəlik sil',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label seçilənləri həmişəlik sil',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Həmişəlik sil',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Məlumat həmişəlik silindi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'trigger' => [
|
||||
'label' => 'Tətikləyicilər',
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'confirmation' => 'Bunu etmək istədiyinizdən əminsiniz?',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'cancel' => [
|
||||
'label' => 'İmtina',
|
||||
],
|
||||
|
||||
'confirm' => [
|
||||
'label' => 'Təsdiqlə',
|
||||
],
|
||||
|
||||
'submit' => [
|
||||
'label' => 'Təqdim et',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Çoxalt',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label çoxalt',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'replicate' => [
|
||||
'label' => 'Çoxalt',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'replicated' => [
|
||||
'title' => 'Məlumat çoxaldıldı',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Bərpa et',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label bərpa et',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'Bərpa et',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'Məlumat bərpa edildi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Seçilənləri bərpa et',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label seçilənləri bərpa et',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'Bərpa et',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'Məlumatlar bərpa edildi',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Göstər',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => ':label göstər',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'close' => [
|
||||
'label' => 'Bağla',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Associar',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Associar :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Registre',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'associate' => [
|
||||
'label' => 'Associar',
|
||||
],
|
||||
|
||||
'associate_another' => [
|
||||
'label' => 'Associar i associar un altre',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'associated' => [
|
||||
'title' => 'Associat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Vincular',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Vincular :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Registre',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'attach' => [
|
||||
'label' => 'Vincular',
|
||||
],
|
||||
|
||||
'attach_another' => [
|
||||
'label' => 'Vincular i vincular un altre',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'attached' => [
|
||||
'title' => 'Vinculats',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Crear :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Crear :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'create' => [
|
||||
'label' => 'Crear',
|
||||
],
|
||||
|
||||
'create_another' => [
|
||||
'label' => 'Crear i crear un altre',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'created' => [
|
||||
'title' => 'Creat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Esborrar',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Esborrar :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Esborrar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Esborrat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Esborrar seleccionats',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Esborrar :label seleccionats',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Esborrar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Esborrats',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Desvincular',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Desvincular :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Desvincular',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'Desvinculat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Desvincular seleccionats',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Desvincular :label seleccionats',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Desvincular seleccionats',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'Desvinculats',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Dissociar',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Dissociar :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Dissociar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'Dissociat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Dissociar seleccionats',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Dissociar :label seleccionats',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Dissociar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'Dissociats',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Editar',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Editar :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'save' => [
|
||||
'label' => 'Desar canvis',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'saved' => [
|
||||
'title' => 'Desat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||