progress
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/**
|
||||
* Load migrations from package migrations,
|
||||
* If you published the migration files, please set to `false`.
|
||||
*/
|
||||
'migrations' => false,
|
||||
|
||||
/*
|
||||
* Models Related.
|
||||
*/
|
||||
'model_namespace' => (int) app()->version() <= 7 ? 'App' : 'App\Models',
|
||||
'models' => [
|
||||
/*
|
||||
* Model name of User model
|
||||
*/
|
||||
'user' => 'User',
|
||||
/*
|
||||
* Model name of Interaction Relation model
|
||||
*/
|
||||
'interaction_relation' => \Multicaret\Acquaintances\Models\InteractionRelation::class,
|
||||
/*
|
||||
* Model name of Interaction Relation model
|
||||
*/
|
||||
'friendship' => \Multicaret\Acquaintances\Models\Friendship::class,
|
||||
/*
|
||||
* Model name of Interaction Relation model
|
||||
*/
|
||||
'friendship_groups' => \Multicaret\Acquaintances\Models\FriendFriendshipGroups::class,
|
||||
],
|
||||
|
||||
'tables' => [
|
||||
/*
|
||||
* Table name of interactions relations.
|
||||
*/
|
||||
'interactions' => 'interactions',
|
||||
/*
|
||||
* user foreign key column name within interactions table.
|
||||
*/
|
||||
'interactions_user_id_fk_column_name' => 'user_id',
|
||||
/*
|
||||
* user foreign key column type within interactions table.
|
||||
*/
|
||||
'interactions_user_id_fk_column_type' => 'unsignedBigInteger',
|
||||
/*
|
||||
* Table name of friendships relations.
|
||||
*/
|
||||
'friendships' => 'friendships',
|
||||
/*
|
||||
* Table name of friendship Groups relations.
|
||||
*/
|
||||
'friendship_groups' => 'friendship_groups',
|
||||
],
|
||||
|
||||
'rating' => [
|
||||
'defaults' => [
|
||||
'amount' => 5,
|
||||
/*
|
||||
* Default type here is 'general', as longs as you have one criteria of rating a model
|
||||
* you can ignore this setting.
|
||||
* It will be the default type of rating of null is provided, if you wish to tweak this type name
|
||||
* use the value below as you wish.
|
||||
*
|
||||
*/
|
||||
'type' => 'general',
|
||||
],
|
||||
'types' => [
|
||||
/* Add any other type that your website/application have here,
|
||||
* the following added rating types are for demonstration purposes only.
|
||||
* There is no effect on deleting them nor adding to them, however, its a good practice
|
||||
* to not hard code your rating types, hence, please use this simple array
|
||||
*/
|
||||
'delivery-time',
|
||||
'quality',
|
||||
'communication',
|
||||
'commitment',
|
||||
]
|
||||
],
|
||||
|
||||
'friendships_groups' => [
|
||||
'acquaintances' => 0,
|
||||
'close_friends' => 1,
|
||||
'family' => 2
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
|
||||
use BladeUIKit\Components;
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Components
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Below you reference all components that should be loaded for your app.
|
||||
| By default all components from Blade UI Kit are loaded in. You can
|
||||
| disable or overwrite any component class or alias that you want.
|
||||
|
|
||||
*/
|
||||
|
||||
'components' => [
|
||||
'alert' => Components\Alerts\Alert::class,
|
||||
'avatar' => Components\Support\Avatar::class,
|
||||
'carbon' => Components\DateTime\Carbon::class,
|
||||
'checkbox' => Components\Forms\Inputs\Checkbox::class,
|
||||
'color-picker' => Components\Forms\Inputs\ColorPicker::class,
|
||||
'countdown' => Components\DateTime\Countdown::class,
|
||||
'cron' => Components\Support\Cron::class,
|
||||
'dropdown' => Components\Navigation\Dropdown::class,
|
||||
'easy-mde' => Components\Editors\EasyMDE::class,
|
||||
'email' => Components\Forms\Inputs\Email::class,
|
||||
'error' => Components\Forms\Error::class,
|
||||
'flat-pickr' => Components\Forms\Inputs\FlatPickr::class,
|
||||
'form' => Components\Forms\Form::class,
|
||||
'form-button' => Components\Buttons\FormButton::class,
|
||||
'html' => Components\Layouts\Html::class,
|
||||
'input' => Components\Forms\Inputs\Input::class,
|
||||
'label' => Components\Forms\Label::class,
|
||||
'logout' => Components\Buttons\Logout::class,
|
||||
'mapbox' => Components\Maps\Mapbox::class,
|
||||
'markdown' => Components\Markdown\Markdown::class,
|
||||
'password' => Components\Forms\Inputs\Password::class,
|
||||
'pikaday' => Components\Forms\Inputs\Pikaday::class,
|
||||
'social-meta' => Components\Layouts\SocialMeta::class,
|
||||
'textarea' => Components\Forms\Inputs\Textarea::class,
|
||||
'toc' => Components\Markdown\ToC::class,
|
||||
'trix' => Components\Editors\Trix::class,
|
||||
'unsplash' => Components\Support\Unsplash::class,
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Livewire Components
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Below you reference all the Livewire components that should be loaded
|
||||
| for your app. By default all components from Blade UI Kit are loaded in.
|
||||
|
|
||||
*/
|
||||
|
||||
'livewire' => [
|
||||
//
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Components Prefix
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value will set a prefix for all Blade UI Kit components.
|
||||
| By default it's empty. This is useful if you want to avoid
|
||||
| collision with components from other libraries.
|
||||
|
|
||||
| If set with "buk", for example, you can reference components like:
|
||||
|
|
||||
| <x-buk-easy-mde />
|
||||
|
|
||||
*/
|
||||
|
||||
'prefix' => '',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Third Party Asset Libraries
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| These settings hold reference to all third party libraries and their
|
||||
| asset files served through a CDN. Individual components can require
|
||||
| these asset files through their static `$assets` property.
|
||||
|
|
||||
*/
|
||||
|
||||
'assets' => [
|
||||
|
||||
'alpine' => 'https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js',
|
||||
|
||||
'easy-mde' => [
|
||||
'https://unpkg.com/easymde/dist/easymde.min.css',
|
||||
'https://unpkg.com/easymde/dist/easymde.min.js',
|
||||
],
|
||||
|
||||
'flat-pickr' => [
|
||||
'https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css',
|
||||
'https://cdn.jsdelivr.net/npm/flatpickr@4.6.9/dist/flatpickr.min.js',
|
||||
],
|
||||
|
||||
'mapbox' => [
|
||||
'https://api.mapbox.com/mapbox-gl-js/v1.8.1/mapbox-gl.css',
|
||||
'https://api.mapbox.com/mapbox-gl-js/v1.8.1/mapbox-gl.js',
|
||||
],
|
||||
|
||||
'moment' => [
|
||||
'https://cdn.jsdelivr.net/npm/moment@2.26.0/moment.min.js',
|
||||
'https://cdn.jsdelivr.net/npm/moment-timezone@0.5.31/builds/moment-timezone-with-data.min.js',
|
||||
],
|
||||
|
||||
'pickr' => [
|
||||
'https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/themes/classic.min.css',
|
||||
'https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/pickr.min.js',
|
||||
],
|
||||
|
||||
'pikaday' => [
|
||||
'https://cdn.jsdelivr.net/npm/pikaday/css/pikaday.css',
|
||||
'https://cdn.jsdelivr.net/npm/pikaday/pikaday.js',
|
||||
],
|
||||
|
||||
'trix' => [
|
||||
'https://unpkg.com/trix@1.2.3/dist/trix.css',
|
||||
'https://unpkg.com/trix@1.2.3/dist/trix.js',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user