laravel-enso / vueadminlte
Admin LTE Vuefied
Installs: 659
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 0
Language:Vue
Requires
- php: >=7.1.0
- laravel/framework: 5.6.*
- dev-master
- 1.3.55
- 1.3.54
- 1.3.53
- 1.3.52
- 1.3.50
- 1.3.49
- 1.3.48
- 1.3.47
- 1.3.46
- 1.3.45
- 1.3.44
- 1.3.43
- 1.3.42
- 1.3.41
- 1.3.40
- 1.3.39
- 1.3.38
- 1.3.37
- 1.3.36
- 1.3.35
- 1.3.34
- 1.3.33
- 1.3.32
- 1.3.31
- 1.3.30
- 1.3.29
- 1.3.28
- 1.3.27
- 1.3.26
- 1.3.25
- 1.3.24
- 1.3.23
- 1.3.22
- 1.3.21
- 1.3.20
- 1.3.19
- 1.3.18
- 1.3.17
- 1.3.16
- 1.3.15
- 1.3.14
- 1.3.13
- 1.3.12
- 1.3.11
- 1.3.10
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2020-02-04 08:56:49 UTC
README
Admin LTE Vueified for Laravel Enso
Features
Addresses
- polymorphic addresses functionalityBox
BoxWidget
Breadcrumbs
- uses is included in thePage
component and automatically generates the breadcrumbsInfoBox
Notifications
- is the notifications menu, used in the headerOverlay
- is a spinner overlay used to indicate the loading statePage
- is the container for the page contentsRoAddresses
- an extension for addresses with Romanian-specific formattingSmallBox
Tabs
UserMenu
- is the user menu, used in the headerUserWidget
VueFilter
- additional filters for DataTable
Addresses
Takes the following parameters:
type
- string, the addressable model alias you set in the config | required
id
- number, the id of the addressable model | requiredtheme
- string, the class used for setting the styling of the box. Defaults toprimary
.solid
- boolean, a flag for showing a solid type of a box. Defaults tofalse
.open
- boolean, a flag for the starting style (open/closed) of the box. Defaults totrue
.title
- string, the text for the box title. Defaults to null.
Box
Takes the following parameters:
theme
- string, the class used for setting the styling of the box.border
, boolean, a flag for showing a border arount the component. Defaults tofalse
.solid
- boolean, a flag for showing a solid type of a box. Defaults tofalse
.open
- boolean, a flag for the starting style (open/closed) of the box. Defaults totrue
.footer
- string, a flag for displaying the footer. Defaults tofalse
.icon
- string, the class for the icon of the box. Defaults to null.title
- string, the text for the box title. Defaults to null.search
- boolean, a flag for displaying the search input. Defaults tofalse
.badge
- number, the number to be displayed in a badge, in the box header. Defaults to null.refresh
- boolean, a flag for showing the refresh control. Defaults to false.collapsible
- boolean, a flag for showing the minimization control. Defaults to false.removable
- boolean, a flag for showing the close control. Defaults to false.overlay
- boolean, a flag for displaying the loading overlay (spinner). Defaults to false.bodyStyle
- object, an object for styling the body. Defaults to{}
.
Breadcrumbs
- takes no parameters.
- uses the global
Store
object and the given breadcrumbs to automatically generate breadcrumbs for the current page. - is included in the
Page
component but can be used standalone if needed, as long as it has access to theStore
.
HowToVideos
Takes the following parameters:
video
, object, contains the information to display a video | requiredtagList
, object, contains the list of all available tags | required
Note that this component has not been designed to be reused outside of the HowToVideos menu/page.
Info Box
Takes the following parameters:
theme
- string, the class used for setting the styling of the box. Required.icon
- string, the class for the icon of the box. Defaults to null.text
- string, the text shown in the box. Defaults to null.number
, string, the text shown in the box. Defaults to null.progress
- string, progress percentage. Defaults tofalse
.description
- string, the description shown for the progress. Defaults tofalse
.
Notifications
Takes the following parameters:
user-id
- number, the id of the user for whom the notifications are loaded. Required.paginate
- number, the # of items on one page, shown or loaded. Defaults to 6.
Overlay
Takes the following parameters:
line-fg-Color
- string, the color for the foreground of the spinner. Defaults to#41b883
.line-bg-Color
- string, the color for the background of the spinner. Defaults totransparent
.speed
- number, the speed of the spinner. Defaults to 1.size
- string, the size of the spinner. Defaults tomedium
.
Page
Takes the following parameters:
custom-render
- function, the method for handling custom rendering. Defaults to null.
Romanian Addresses
Takes the same parameters as Addresses - see above.
Small Box
Takes the following parameters:
theme
- string, the class used for setting the styling of the box.icon
- string, the class for the icon of the box. Defaults to null.title
- string, the text for the box title. Defaults to null.body
, string, text shown as body. Defaults to null.overlay
- boolean, a flag for displaying the loading overlay (spinner). Defaults to false.
Tabs
Takes the following parameters:
tabs
- array, array of strings / objects used for rendering the tabs and their slots. Required.title
- string, the text for the box title. Defaults to null.reverse
- boolean, flag for reversing the tab list. Defaults to false.active
, number, the index of the active tab. Defaults to 0.icon
- string, the class for the icon of the box. Defaults to null.
User Menu
Takes no parameters, uses the global Store
variable
User Widget
theme
- string, the class used for setting the styling. Required.background
- string, the class used for setting the background.avatar
- string, the url for the location of the avatar picture.name
- string, the name of the user displayed. Defaults to null.position
- string, the position of the user. Defaults to null.items
- array, list of items to be displayed. Each item must be an object withvalue
andlabel
properties. Defaults to empty array.overlay
- boolean, a flag for displaying the loading overlay (spinner). Defaults to false.
Vue Filter
Takes the following parameters:
title
- string, the text for the box title. Defaults to null.theme
- string, the class used for setting the styling of the box. Defaults toprimary
.options
- array, the list of options to display. Defaults to empty arrayvalue
- anything, the default, starting value | requiredoffSwitch
- boolean, flag that determines if an off switch is rendered. Defaults totrue
To use it include it in the page:
<vue-filter
title="Taxes Paid"
v-model="filters.orders.paid_taxes"
:options="vueFilterOptions">
</vue-filter>
where the vueFilterOptions
and filters
may be something like:
vueFilterOptions: [
{value:true, label:"Yes"},
{value:false, label:"No"}
],
filters: {
orders: {
paid_taxes: '',
}
},
Next, when defining your DataTable, make sure you give it your filters:
<data-table
source="orders"
:extra-filters="filters"
id="index-orders-id">
</data-table>
Note that you may use more than one such filter, just bind it inside the same encompassing filters
object
and it will get passed to the datatables BE logic.
Contributions
are welcome. Pull requests are great, but issues are good too.
License
This package is released under the MIT license.