feat: add routes, lang, tests, stubs, docs, and docker configurations
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Associate',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Associate :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Record',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'associate' => [
|
||||
'label' => 'Associate',
|
||||
],
|
||||
|
||||
'associate_another' => [
|
||||
'label' => 'Associate & associate another',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'associated' => [
|
||||
'title' => 'Associated',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Attach',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Attach :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Record',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'attach' => [
|
||||
'label' => 'Attach',
|
||||
],
|
||||
|
||||
'attach_another' => [
|
||||
'label' => 'Attach & attach another',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'attached' => [
|
||||
'title' => 'Attached',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'New :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Create :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'create' => [
|
||||
'label' => 'Create',
|
||||
],
|
||||
|
||||
'create_another' => [
|
||||
'label' => 'Create & create another',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'created' => [
|
||||
'title' => 'Created',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Delete',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Delete :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Delete',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Deleted',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Delete selected',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Delete selected :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Delete',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Deleted',
|
||||
],
|
||||
|
||||
'deleted_partial' => [
|
||||
'title' => 'Deleted :count of :total',
|
||||
'missing_authorization_failure_message' => 'You don\'t have permission to delete :count.',
|
||||
'missing_processing_failure_message' => ':count could not be deleted.',
|
||||
],
|
||||
|
||||
'deleted_none' => [
|
||||
'title' => 'Failed to delete',
|
||||
'missing_authorization_failure_message' => 'You don\'t have permission to delete :count.',
|
||||
'missing_processing_failure_message' => ':count could not be deleted.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Detach',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Detach :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Detach',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'Detached',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Detach selected',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Detach selected :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Detach',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'Detached',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Dissociate',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Dissociate :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Dissociate',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'Dissociated',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Dissociate selected',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Dissociate selected :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Dissociate',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'Dissociated',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Edit',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Edit :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'save' => [
|
||||
'label' => 'Save changes',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'saved' => [
|
||||
'title' => 'Saved',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+94
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Export :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Export :label',
|
||||
|
||||
'form' => [
|
||||
|
||||
'columns' => [
|
||||
|
||||
'label' => 'Columns',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'select_all' => [
|
||||
'label' => 'Select all',
|
||||
],
|
||||
|
||||
'deselect_all' => [
|
||||
'label' => 'Deselect all',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'form' => [
|
||||
|
||||
'is_enabled' => [
|
||||
'label' => ':column enabled',
|
||||
],
|
||||
|
||||
'label' => [
|
||||
'label' => ':column label',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'export' => [
|
||||
'label' => 'Export',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'Export completed',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_csv' => [
|
||||
'label' => 'Download .csv',
|
||||
],
|
||||
|
||||
'download_xlsx' => [
|
||||
'label' => 'Download .xlsx',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'max_rows' => [
|
||||
'title' => 'Export is too large',
|
||||
'body' => 'You may not export more than 1 row at once.|You may not export more than :count rows at once.',
|
||||
],
|
||||
|
||||
'no_columns' => [
|
||||
'title' => 'No columns selected',
|
||||
'body' => 'Please select at least one column to export.',
|
||||
],
|
||||
|
||||
'started' => [
|
||||
'title' => 'Export started',
|
||||
'body' => 'Your export has begun and 1 row will be processed in the background. You will receive a notification with the download link when it is complete.|Your export has begun and :count rows will be processed in the background. You will receive a notification with the download link when it is complete.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'file_name' => 'export-:export_id-:model',
|
||||
|
||||
];
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Force delete',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Force delete :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Delete',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Deleted',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Force delete selected',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Force delete selected :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Delete',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Deleted',
|
||||
],
|
||||
|
||||
'deleted_partial' => [
|
||||
'title' => 'Deleted :count of :total',
|
||||
'missing_authorization_failure_message' => 'You don\'t have permission to delete :count.',
|
||||
'missing_processing_failure_message' => ':count could not be deleted.',
|
||||
],
|
||||
|
||||
'deleted_none' => [
|
||||
'title' => 'Failed to delete',
|
||||
'missing_authorization_failure_message' => 'You don\'t have permission to delete :count.',
|
||||
'missing_processing_failure_message' => ':count could not be deleted.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'trigger' => [
|
||||
'label' => 'Actions',
|
||||
],
|
||||
|
||||
];
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Import :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Import :label',
|
||||
|
||||
'form' => [
|
||||
|
||||
'file' => [
|
||||
|
||||
'label' => 'File',
|
||||
|
||||
'placeholder' => 'Upload a CSV file',
|
||||
|
||||
'rules' => [
|
||||
'duplicate_columns' => '{0} The file must not contain more than one empty column header.|{1,*} The file must not contain duplicate column headers: :columns.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
'label' => 'Columns',
|
||||
'placeholder' => 'Select a column',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_example' => [
|
||||
'label' => 'Download example CSV file',
|
||||
],
|
||||
|
||||
'import' => [
|
||||
'label' => 'Import',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'Import completed',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_failed_rows_csv' => [
|
||||
'label' => 'Download information about the failed row|Download information about the failed rows',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'max_rows' => [
|
||||
'title' => 'Uploaded CSV file is too large',
|
||||
'body' => 'You may not import more than 1 row at once.|You may not import more than :count rows at once.',
|
||||
],
|
||||
|
||||
'started' => [
|
||||
'title' => 'Import started',
|
||||
'body' => 'Your import has begun and 1 row will be processed in the background.|Your import has begun and :count rows will be processed in the background.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'example_csv' => [
|
||||
'file_name' => ':importer-example',
|
||||
],
|
||||
|
||||
'failure_csv' => [
|
||||
'file_name' => 'import-:import_id-:csv_name-failed-rows',
|
||||
'error_header' => 'error',
|
||||
'system_error' => 'System error, please contact support.',
|
||||
'column_mapping_required_for_new_record' => 'The :attribute column was not mapped to a column in the file, but it is required for creating new records.',
|
||||
],
|
||||
|
||||
];
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'confirmation' => 'Are you sure you would like to do this?',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'cancel' => [
|
||||
'label' => 'Cancel',
|
||||
],
|
||||
|
||||
'confirm' => [
|
||||
'label' => 'Confirm',
|
||||
],
|
||||
|
||||
'submit' => [
|
||||
'label' => 'Submit',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'throttled' => [
|
||||
'title' => 'Too many attempts',
|
||||
'body' => 'Please try again in :seconds seconds.',
|
||||
],
|
||||
|
||||
];
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Replicate',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Replicate :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'replicate' => [
|
||||
'label' => 'Replicate',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'replicated' => [
|
||||
'title' => 'Replicated',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Restore',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Restore :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'Restore',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'Restored',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Restore selected',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Restore selected :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'Restore',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'Restored',
|
||||
],
|
||||
|
||||
'restored_partial' => [
|
||||
'title' => 'Restored :count of :total',
|
||||
'missing_authorization_failure_message' => 'You don\'t have permission to restore :count.',
|
||||
'missing_processing_failure_message' => ':count could not be restored.',
|
||||
],
|
||||
|
||||
'restored_none' => [
|
||||
'title' => 'Failed to restore',
|
||||
'missing_authorization_failure_message' => 'You don\'t have permission to restore :count.',
|
||||
'missing_processing_failure_message' => ':count could not be restored.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'View',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'View :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'close' => [
|
||||
'label' => 'Close',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user