fix(bootstrap-table): adds locale env to table init, adds bootstrap-table-locale-all to webpack-mix
This commit is contained in:
parent
c3ab4c7512
commit
b77e7f88d4
11 changed files with 37389 additions and 26467 deletions
44471
package-lock.json
generated
44471
package-lock.json
generated
File diff suppressed because it is too large
Load diff
9232
public/css/dist/all.css
vendored
9232
public/css/dist/all.css
vendored
File diff suppressed because it is too large
Load diff
270
public/css/dist/signature-pad.css
vendored
270
public/css/dist/signature-pad.css
vendored
|
@ -1,135 +1,135 @@
|
|||
|
||||
#signature-pad {
|
||||
padding-top: 250px;
|
||||
margin: auto;
|
||||
}
|
||||
.m-signature-pad {
|
||||
|
||||
position: relative;
|
||||
font-size: 10px;
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
border: 1px solid #e8e8e8;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.m-signature-pad:before, .m-signature-pad:after {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
content: "";
|
||||
width: 40%;
|
||||
height: 10px;
|
||||
left: 20px;
|
||||
bottom: 10px;
|
||||
background: transparent;
|
||||
-webkit-transform: skew(-3deg) rotate(-3deg);
|
||||
-moz-transform: skew(-3deg) rotate(-3deg);
|
||||
-ms-transform: skew(-3deg) rotate(-3deg);
|
||||
-o-transform: skew(-3deg) rotate(-3deg);
|
||||
transform: skew(-3deg) rotate(-3deg);
|
||||
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.m-signature-pad:after {
|
||||
left: auto;
|
||||
right: 20px;
|
||||
-webkit-transform: skew(3deg) rotate(3deg);
|
||||
-moz-transform: skew(3deg) rotate(3deg);
|
||||
-ms-transform: skew(3deg) rotate(3deg);
|
||||
-o-transform: skew(3deg) rotate(3deg);
|
||||
transform: skew(3deg) rotate(3deg);
|
||||
}
|
||||
|
||||
.m-signature-pad--body {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
bottom: 60px;
|
||||
border: 1px solid #f4f4f4;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.m-signature-pad--body
|
||||
canvas {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer {
|
||||
position: absolute;
|
||||
left: 20px;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.description {
|
||||
color: #C3C3C3;
|
||||
text-align: center;
|
||||
font-size: 1.2em;
|
||||
margin-top: 1.8em;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button.clear {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button.save {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.m-signature-pad {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
min-width: 250px;
|
||||
min-height: 140px;
|
||||
margin: 5%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
|
||||
.m-signature-pad {
|
||||
margin: 10%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 320px) {
|
||||
.m-signature-pad--body {
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 32px;
|
||||
}
|
||||
.m-signature-pad--footer {
|
||||
left: 20px;
|
||||
right: 20px;
|
||||
bottom: 4px;
|
||||
height: 28px;
|
||||
}
|
||||
.m-signature-pad--footer
|
||||
.description {
|
||||
font-size: 1em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
#signature-pad {
|
||||
padding-top: 250px;
|
||||
margin: auto;
|
||||
}
|
||||
.m-signature-pad {
|
||||
|
||||
position: relative;
|
||||
font-size: 10px;
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
border: 1px solid #e8e8e8;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.m-signature-pad:before, .m-signature-pad:after {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
content: "";
|
||||
width: 40%;
|
||||
height: 10px;
|
||||
left: 20px;
|
||||
bottom: 10px;
|
||||
background: transparent;
|
||||
-webkit-transform: skew(-3deg) rotate(-3deg);
|
||||
-moz-transform: skew(-3deg) rotate(-3deg);
|
||||
-ms-transform: skew(-3deg) rotate(-3deg);
|
||||
-o-transform: skew(-3deg) rotate(-3deg);
|
||||
transform: skew(-3deg) rotate(-3deg);
|
||||
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.m-signature-pad:after {
|
||||
left: auto;
|
||||
right: 20px;
|
||||
-webkit-transform: skew(3deg) rotate(3deg);
|
||||
-moz-transform: skew(3deg) rotate(3deg);
|
||||
-ms-transform: skew(3deg) rotate(3deg);
|
||||
-o-transform: skew(3deg) rotate(3deg);
|
||||
transform: skew(3deg) rotate(3deg);
|
||||
}
|
||||
|
||||
.m-signature-pad--body {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
bottom: 60px;
|
||||
border: 1px solid #f4f4f4;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.m-signature-pad--body
|
||||
canvas {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer {
|
||||
position: absolute;
|
||||
left: 20px;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.description {
|
||||
color: #C3C3C3;
|
||||
text-align: center;
|
||||
font-size: 1.2em;
|
||||
margin-top: 1.8em;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button.clear {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button.save {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.m-signature-pad {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
min-width: 250px;
|
||||
min-height: 140px;
|
||||
margin: 5%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
|
||||
.m-signature-pad {
|
||||
margin: 10%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 320px) {
|
||||
.m-signature-pad--body {
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 32px;
|
||||
}
|
||||
.m-signature-pad--footer {
|
||||
left: 20px;
|
||||
right: 20px;
|
||||
bottom: 4px;
|
||||
height: 28px;
|
||||
}
|
||||
.m-signature-pad--footer
|
||||
.description {
|
||||
font-size: 1em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
}
|
||||
|
|
270
public/css/dist/signature-pad.min.css
vendored
270
public/css/dist/signature-pad.min.css
vendored
|
@ -1,135 +1,135 @@
|
|||
|
||||
#signature-pad {
|
||||
padding-top: 250px;
|
||||
margin: auto;
|
||||
}
|
||||
.m-signature-pad {
|
||||
|
||||
position: relative;
|
||||
font-size: 10px;
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
border: 1px solid #e8e8e8;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.m-signature-pad:before, .m-signature-pad:after {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
content: "";
|
||||
width: 40%;
|
||||
height: 10px;
|
||||
left: 20px;
|
||||
bottom: 10px;
|
||||
background: transparent;
|
||||
-webkit-transform: skew(-3deg) rotate(-3deg);
|
||||
-moz-transform: skew(-3deg) rotate(-3deg);
|
||||
-ms-transform: skew(-3deg) rotate(-3deg);
|
||||
-o-transform: skew(-3deg) rotate(-3deg);
|
||||
transform: skew(-3deg) rotate(-3deg);
|
||||
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.m-signature-pad:after {
|
||||
left: auto;
|
||||
right: 20px;
|
||||
-webkit-transform: skew(3deg) rotate(3deg);
|
||||
-moz-transform: skew(3deg) rotate(3deg);
|
||||
-ms-transform: skew(3deg) rotate(3deg);
|
||||
-o-transform: skew(3deg) rotate(3deg);
|
||||
transform: skew(3deg) rotate(3deg);
|
||||
}
|
||||
|
||||
.m-signature-pad--body {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
bottom: 60px;
|
||||
border: 1px solid #f4f4f4;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.m-signature-pad--body
|
||||
canvas {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer {
|
||||
position: absolute;
|
||||
left: 20px;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.description {
|
||||
color: #C3C3C3;
|
||||
text-align: center;
|
||||
font-size: 1.2em;
|
||||
margin-top: 1.8em;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button.clear {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button.save {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.m-signature-pad {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
min-width: 250px;
|
||||
min-height: 140px;
|
||||
margin: 5%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
|
||||
.m-signature-pad {
|
||||
margin: 10%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 320px) {
|
||||
.m-signature-pad--body {
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 32px;
|
||||
}
|
||||
.m-signature-pad--footer {
|
||||
left: 20px;
|
||||
right: 20px;
|
||||
bottom: 4px;
|
||||
height: 28px;
|
||||
}
|
||||
.m-signature-pad--footer
|
||||
.description {
|
||||
font-size: 1em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
#signature-pad {
|
||||
padding-top: 250px;
|
||||
margin: auto;
|
||||
}
|
||||
.m-signature-pad {
|
||||
|
||||
position: relative;
|
||||
font-size: 10px;
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
border: 1px solid #e8e8e8;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.m-signature-pad:before, .m-signature-pad:after {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
content: "";
|
||||
width: 40%;
|
||||
height: 10px;
|
||||
left: 20px;
|
||||
bottom: 10px;
|
||||
background: transparent;
|
||||
-webkit-transform: skew(-3deg) rotate(-3deg);
|
||||
-moz-transform: skew(-3deg) rotate(-3deg);
|
||||
-ms-transform: skew(-3deg) rotate(-3deg);
|
||||
-o-transform: skew(-3deg) rotate(-3deg);
|
||||
transform: skew(-3deg) rotate(-3deg);
|
||||
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.m-signature-pad:after {
|
||||
left: auto;
|
||||
right: 20px;
|
||||
-webkit-transform: skew(3deg) rotate(3deg);
|
||||
-moz-transform: skew(3deg) rotate(3deg);
|
||||
-ms-transform: skew(3deg) rotate(3deg);
|
||||
-o-transform: skew(3deg) rotate(3deg);
|
||||
transform: skew(3deg) rotate(3deg);
|
||||
}
|
||||
|
||||
.m-signature-pad--body {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
bottom: 60px;
|
||||
border: 1px solid #f4f4f4;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.m-signature-pad--body
|
||||
canvas {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer {
|
||||
position: absolute;
|
||||
left: 20px;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.description {
|
||||
color: #C3C3C3;
|
||||
text-align: center;
|
||||
font-size: 1.2em;
|
||||
margin-top: 1.8em;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button.clear {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.m-signature-pad--footer
|
||||
.button.save {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.m-signature-pad {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
min-width: 250px;
|
||||
min-height: 140px;
|
||||
margin: 5%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
|
||||
.m-signature-pad {
|
||||
margin: 10%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 320px) {
|
||||
.m-signature-pad--body {
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 32px;
|
||||
}
|
||||
.m-signature-pad--footer {
|
||||
left: 20px;
|
||||
right: 20px;
|
||||
bottom: 4px;
|
||||
height: 28px;
|
||||
}
|
||||
.m-signature-pad--footer
|
||||
.description {
|
||||
font-size: 1em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1558,30 +1558,30 @@ __webpack_require__.r(__webpack_exports__);
|
|||
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||||
|
||||
window._ = __webpack_require__(/*! lodash */ "./node_modules/lodash/lodash.js");
|
||||
/**
|
||||
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
|
||||
* for JavaScript based Bootstrap features such as modals and tabs. This
|
||||
* code may be modified to fit the specific needs of your application.
|
||||
/**
|
||||
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
|
||||
* for JavaScript based Bootstrap features such as modals and tabs. This
|
||||
* code may be modified to fit the specific needs of your application.
|
||||
*/
|
||||
//window.$ = window.jQuery = require('jquery');
|
||||
|
||||
/**
|
||||
* jQuery UI is loaded here and then the tooltip is assigned another funtion name
|
||||
* This resolves the issue of jquery-ui & bootstrap tooltip conflict
|
||||
/**
|
||||
* jQuery UI is loaded here and then the tooltip is assigned another funtion name
|
||||
* This resolves the issue of jquery-ui & bootstrap tooltip conflict
|
||||
*/
|
||||
|
||||
__webpack_require__(/*! jquery-ui */ "./node_modules/jquery-ui/ui/widget.js");
|
||||
|
||||
jQuery.fn.uitooltip = jQuery.fn.tooltip;
|
||||
/**
|
||||
* Load boostrap
|
||||
/**
|
||||
* Load boostrap
|
||||
*/
|
||||
|
||||
__webpack_require__(/*! bootstrap-less */ "./node_modules/bootstrap-less/js/bootstrap.js");
|
||||
/**
|
||||
* Vue is a modern JavaScript library for building interactive web interfaces
|
||||
* using reactive data binding and reusable components. Vue's API is clean
|
||||
* and simple, leaving you to focus on building your next great project.
|
||||
/**
|
||||
* Vue is a modern JavaScript library for building interactive web interfaces
|
||||
* using reactive data binding and reusable components. Vue's API is clean
|
||||
* and simple, leaving you to focus on building your next great project.
|
||||
*/
|
||||
|
||||
|
||||
|
@ -1589,10 +1589,10 @@ window.Vue = (__webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm.js
|
|||
window.eventHub = new Vue();
|
||||
|
||||
__webpack_require__(/*! vue-resource */ "./node_modules/vue-resource/dist/vue-resource.esm.js");
|
||||
/**
|
||||
* We'll register a HTTP interceptor to attach the "CSRF" header to each of
|
||||
* the outgoing requests issued by this application. The CSRF middleware
|
||||
* included with Laravel will automatically verify the header's value.
|
||||
/**
|
||||
* We'll register a HTTP interceptor to attach the "CSRF" header to each of
|
||||
* the outgoing requests issued by this application. The CSRF middleware
|
||||
* included with Laravel will automatically verify the header's value.
|
||||
*/
|
||||
|
||||
|
||||
|
@ -1603,10 +1603,10 @@ Vue.http.interceptors.push(function (request, next) {
|
|||
// require('chart.js');
|
||||
// require('jquery-form-validator'); //says something about dependency
|
||||
|
||||
/**
|
||||
* Echo exposes an expressive API for subscribing to channels and listening
|
||||
* for events that are broadcast by Laravel. Echo and event broadcasting
|
||||
* allows your team to easily build robust real-time web applications.
|
||||
/**
|
||||
* Echo exposes an expressive API for subscribing to channels and listening
|
||||
* for events that are broadcast by Laravel. Echo and event broadcasting
|
||||
* allows your team to easily build robust real-time web applications.
|
||||
*/
|
||||
// import Echo from "laravel-echo"
|
||||
// window.Echo = new Echo({
|
||||
|
@ -1626,11 +1626,11 @@ Vue.http.interceptors.push(function (request, next) {
|
|||
// window.jQuery = jQuery
|
||||
// window.$ = jQuery
|
||||
|
||||
/**
|
||||
* Module containing core application logic.
|
||||
* @param {jQuery} $ Insulated jQuery object
|
||||
* @param {JSON} settings Insulated `window.snipeit.settings` object.
|
||||
* @return {IIFE} Immediately invoked. Returns self.
|
||||
/**
|
||||
* Module containing core application logic.
|
||||
* @param {jQuery} $ Insulated jQuery object
|
||||
* @param {JSON} settings Insulated `window.snipeit.settings` object.
|
||||
* @return {IIFE} Immediately invoked. Returns self.
|
||||
*/
|
||||
lineOptions = {
|
||||
legend: {
|
||||
|
@ -1754,9 +1754,9 @@ var baseUrl = $('meta[name="baseUrl"]').attr('content');
|
|||
render: render
|
||||
};
|
||||
};
|
||||
/**
|
||||
* Application start point
|
||||
* Component definition stays out of load event, execution only happens.
|
||||
/**
|
||||
* Application start point
|
||||
* Component definition stays out of load event, execution only happens.
|
||||
*/
|
||||
|
||||
|
||||
|
@ -1767,8 +1767,8 @@ var baseUrl = $('meta[name="baseUrl"]').attr('content');
|
|||
})(jQuery, window.snipeit.settings);
|
||||
|
||||
$(document).ready(function () {
|
||||
/*
|
||||
* Slideout help menu
|
||||
/*
|
||||
* Slideout help menu
|
||||
*/
|
||||
$('.slideout-menu-toggle').on('click', function (event) {
|
||||
event.preventDefault(); // create menu variables
|
||||
|
@ -1790,16 +1790,16 @@ $(document).ready(function () {
|
|||
slideoutMenu.fadeOut();
|
||||
}
|
||||
});
|
||||
/*
|
||||
* iCheck checkbox plugin
|
||||
/*
|
||||
* iCheck checkbox plugin
|
||||
*/
|
||||
|
||||
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
|
||||
checkboxClass: 'icheckbox_minimal-blue',
|
||||
radioClass: 'iradio_minimal-blue'
|
||||
});
|
||||
/*
|
||||
* Select2
|
||||
/*
|
||||
* Select2
|
||||
*/
|
||||
|
||||
var iOS = /iPhone|iPad|iPod/.test(navigator.userAgent) && !window.MSStream;
|
||||
|
@ -1824,9 +1824,9 @@ $(document).ready(function () {
|
|||
var endpoint = link.data("endpoint");
|
||||
var select = link.data("select");
|
||||
link.select2({
|
||||
/**
|
||||
* Adds an empty placeholder, allowing every select2 instance to be cleared.
|
||||
* This placeholder can be overridden with the "data-placeholder" attribute.
|
||||
/**
|
||||
* Adds an empty placeholder, allowing every select2 instance to be cleared.
|
||||
* This placeholder can be overridden with the "data-placeholder" attribute.
|
||||
*/
|
||||
placeholder: '',
|
||||
allowClear: true,
|
||||
|
@ -1848,15 +1848,15 @@ $(document).ready(function () {
|
|||
return data;
|
||||
},
|
||||
|
||||
/* processResults: function (data, params) {
|
||||
params.page = params.page || 1;
|
||||
var answer = {
|
||||
results: data.items,
|
||||
pagination: {
|
||||
more: data.pagination.more
|
||||
}
|
||||
};
|
||||
return answer;
|
||||
/* processResults: function (data, params) {
|
||||
params.page = params.page || 1;
|
||||
var answer = {
|
||||
results: data.items,
|
||||
pagination: {
|
||||
more: data.pagination.more
|
||||
}
|
||||
};
|
||||
return answer;
|
||||
}, */
|
||||
cache: true
|
||||
},
|
||||
|
@ -1978,17 +1978,17 @@ $(document).ready(function () {
|
|||
|
||||
if (datalist.image) {
|
||||
var inner_div = $("<div style='width: 30px;'>");
|
||||
/******************************************************************
|
||||
*
|
||||
* We are specifically chosing empty alt-text below, because this
|
||||
* image conveys no additional information, relative to the text
|
||||
* that will *always* be there in any select2 list that is in use
|
||||
* in Snipe-IT. If that changes, we would probably want to change
|
||||
* some signatures of some functions, but right now, we don't want
|
||||
* screen readers to say "HP SuperJet 5000, .... picture of HP
|
||||
* SuperJet 5000..." and so on, for every single row in a list of
|
||||
* assets or models or whatever.
|
||||
*
|
||||
/******************************************************************
|
||||
*
|
||||
* We are specifically chosing empty alt-text below, because this
|
||||
* image conveys no additional information, relative to the text
|
||||
* that will *always* be there in any select2 list that is in use
|
||||
* in Snipe-IT. If that changes, we would probably want to change
|
||||
* some signatures of some functions, but right now, we don't want
|
||||
* screen readers to say "HP SuperJet 5000, .... picture of HP
|
||||
* SuperJet 5000..." and so on, for every single row in a list of
|
||||
* assets or models or whatever.
|
||||
*
|
||||
*******************************************************************/
|
||||
|
||||
var img = $("<img src='' style='max-height: 20px; max-width: 30px;' alt=''>"); // console.warn("Img is: ");
|
||||
|
@ -2146,8 +2146,8 @@ $(document).ready(function () {
|
|||
function htmlEntities(str) {
|
||||
return String(str).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"');
|
||||
}
|
||||
/**
|
||||
* Toggle disabled
|
||||
/**
|
||||
* Toggle disabled
|
||||
*/
|
||||
|
||||
|
||||
|
@ -2180,26 +2180,30 @@ function htmlEntities(str) {
|
|||
\***********************************************/
|
||||
/***/ (() => {
|
||||
|
||||
/*
|
||||
*
|
||||
* Snipe-IT Universal Modal support
|
||||
*
|
||||
* Enables modal dialogs to create sub-resources throughout Snipe-IT
|
||||
*
|
||||
/*
|
||||
*
|
||||
* Snipe-IT Universal Modal support
|
||||
*
|
||||
* Enables modal dialogs to create sub-resources throughout Snipe-IT
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
HOW TO USE
|
||||
Create a Button looking like this:
|
||||
<a href='{{ route('modal.show', 'user') }}' data-toggle="modal" data-target="#createModal" data-select='assigned_to' class="btn btn-sm btn-primary">New</a>
|
||||
If you don't have access to Blade commands (like {{ and }}, etc), you can hard-code a URL as the 'href'
|
||||
data-toggle="modal" - required for Bootstrap Modals
|
||||
data-target="#createModal" - fixed ID for the modal, do not change
|
||||
data-select="assigned_to" - What is the *ID* of the select-dropdown that you're going to be adding to, if the modal-create was a success? Be on the lookout for duplicate ID's, it will confuse this library!
|
||||
class="btn btn-sm btn-primary" - makes it look button-ey, feel free to change :)
|
||||
/*
|
||||
HOW TO USE
|
||||
|
||||
If you want to pass additional variables to the modal (In the Category Create one, for example, you can pass category_id), you can encode them as URL variables in the href
|
||||
Create a Button looking like this:
|
||||
|
||||
<a href='{{ route('modal.show', 'user') }}' data-toggle="modal" data-target="#createModal" data-select='assigned_to' class="btn btn-sm btn-primary">New</a>
|
||||
|
||||
If you don't have access to Blade commands (like {{ and }}, etc), you can hard-code a URL as the 'href'
|
||||
|
||||
data-toggle="modal" - required for Bootstrap Modals
|
||||
data-target="#createModal" - fixed ID for the modal, do not change
|
||||
data-select="assigned_to" - What is the *ID* of the select-dropdown that you're going to be adding to, if the modal-create was a success? Be on the lookout for duplicate ID's, it will confuse this library!
|
||||
class="btn btn-sm btn-primary" - makes it look button-ey, feel free to change :)
|
||||
|
||||
If you want to pass additional variables to the modal (In the Category Create one, for example, you can pass category_id), you can encode them as URL variables in the href
|
||||
|
||||
*/
|
||||
$(function () {
|
||||
//handle modal-add-interstitial calls
|
||||
|
@ -2243,15 +2247,15 @@ $(function () {
|
|||
return data;
|
||||
},
|
||||
|
||||
/*processResults: function (data, params) {
|
||||
params.page = params.page || 1;
|
||||
var answer = {
|
||||
results: data.items,
|
||||
pagination: {
|
||||
more: data.pagination.more
|
||||
}
|
||||
};
|
||||
return answer;
|
||||
/*processResults: function (data, params) {
|
||||
params.page = params.page || 1;
|
||||
var answer = {
|
||||
results: data.items,
|
||||
pagination: {
|
||||
more: data.pagination.more
|
||||
}
|
||||
};
|
||||
return answer;
|
||||
},*/
|
||||
cache: true
|
||||
},
|
||||
|
@ -2336,17 +2340,17 @@ function formatDatalistSafe(datalist) {
|
|||
|
||||
if (datalist.image) {
|
||||
var inner_div = $("<div style='width: 30px;'>");
|
||||
/******************************************************************
|
||||
*
|
||||
* We are specifically chosing empty alt-text below, because this
|
||||
* image conveys no additional information, relative to the text
|
||||
* that will *always* be there in any select2 list that is in use
|
||||
* in Snipe-IT. If that changes, we would probably want to change
|
||||
* some signatures of some functions, but right now, we don't want
|
||||
* screen readers to say "HP SuperJet 5000, .... picture of HP
|
||||
* SuperJet 5000..." and so on, for every single row in a list of
|
||||
* assets or models or whatever.
|
||||
*
|
||||
/******************************************************************
|
||||
*
|
||||
* We are specifically chosing empty alt-text below, because this
|
||||
* image conveys no additional information, relative to the text
|
||||
* that will *always* be there in any select2 list that is in use
|
||||
* in Snipe-IT. If that changes, we would probably want to change
|
||||
* some signatures of some functions, but right now, we don't want
|
||||
* screen readers to say "HP SuperJet 5000, .... picture of HP
|
||||
* SuperJet 5000..." and so on, for every single row in a list of
|
||||
* assets or models or whatever.
|
||||
*
|
||||
*******************************************************************/
|
||||
|
||||
var img = $("<img src='' style='max-height: 20px; max-width: 30px;' alt=''>"); // console.warn("Img is: ");
|
||||
|
@ -2413,16 +2417,16 @@ function formatDataSelection(datalist) {
|
|||
\************************************/
|
||||
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
||||
|
||||
/**
|
||||
* First we will load all of this project's JavaScript dependencies which
|
||||
* include Vue and Vue Resource. This gives a great starting point for
|
||||
* building robust, powerful web applications using Vue and Laravel.
|
||||
/**
|
||||
* First we will load all of this project's JavaScript dependencies which
|
||||
* include Vue and Vue Resource. This gives a great starting point for
|
||||
* building robust, powerful web applications using Vue and Laravel.
|
||||
*/
|
||||
__webpack_require__(/*! ./bootstrap */ "./resources/assets/js/bootstrap.js");
|
||||
/**
|
||||
* Next, we will create a fresh Vue application instance and attach it to
|
||||
* the page. Then, you may begin adding components to this application
|
||||
* or customize the JavaScript scaffolding to fit your unique needs.
|
||||
/**
|
||||
* Next, we will create a fresh Vue application instance and attach it to
|
||||
* the page. Then, you may begin adding components to this application
|
||||
* or customize the JavaScript scaffolding to fit your unique needs.
|
||||
*/
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
1386
public/js/dist/all.js
vendored
1386
public/js/dist/all.js
vendored
File diff suppressed because it is too large
Load diff
6498
public/js/dist/bootstrap-table.js
vendored
6498
public/js/dist/bootstrap-table.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"/js/build/app.js": "/js/build/app.js?id=c015308b9685c9375c71",
|
||||
"/js/build/app.js": "/js/build/app.js?id=53b8d5c2b746ea8777a7",
|
||||
"/css/dist/skins/skin-blue.css": "/css/dist/skins/skin-blue.css?id=83e39e254b7f9035eddc",
|
||||
"/css/build/overrides.css": "/css/build/overrides.css?id=4fc3a0e0a16964643e70",
|
||||
"/css/build/app.css": "/css/build/app.css?id=a7cd7ad6e0e053ccf443",
|
||||
|
@ -18,15 +18,15 @@
|
|||
"/css/dist/skins/skin-green.css": "/css/dist/skins/skin-green.css?id=efda2335fa5243175850",
|
||||
"/css/dist/skins/skin-contrast.css": "/css/dist/skins/skin-contrast.css?id=6a9d0ac448c28b88e5d6",
|
||||
"/css/dist/skins/skin-red.css": "/css/dist/skins/skin-red.css?id=c24716a423d375902723",
|
||||
"/css/dist/all.css": "/css/dist/all.css?id=2ee76a9bb4100b60febc",
|
||||
"/css/dist/all.css": "/css/dist/all.css?id=97ea7f220e05bd2c1d46",
|
||||
"/css/blue.png": "/css/blue.png?id=e83a6c29e04fe851f212",
|
||||
"/css/blue@2x.png": "/css/blue@2x.png?id=51135dd4d24f88f5de0b",
|
||||
"/css/dist/signature-pad.css": "/css/dist/signature-pad.css?id=6a89d3cd901305e66ced",
|
||||
"/css/dist/signature-pad.min.css": "/css/dist/signature-pad.min.css?id=6a89d3cd901305e66ced",
|
||||
"/css/dist/signature-pad.css": "/css/dist/signature-pad.css?id=6e35c74c14f89f55df49",
|
||||
"/css/dist/signature-pad.min.css": "/css/dist/signature-pad.min.css?id=6e35c74c14f89f55df49",
|
||||
"/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=810d7e520c3057ee500e",
|
||||
"/js/build/vendor.js": "/js/build/vendor.js?id=651427cc4b45d8e68d0c",
|
||||
"/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=7058545374c5c6a6a881",
|
||||
"/js/dist/all.js": "/js/dist/all.js?id=b12eaebad0af2541f40b",
|
||||
"/js/build/vendor.js": "/js/build/vendor.js?id=b717ba4eb48e4ce62615",
|
||||
"/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=d6794066f6af00743d5f",
|
||||
"/js/dist/all.js": "/js/dist/all.js?id=e3ee59aad9b5feb67315",
|
||||
"/css/dist/skins/skin-green.min.css": "/css/dist/skins/skin-green.min.css?id=efda2335fa5243175850",
|
||||
"/css/dist/skins/skin-green-dark.min.css": "/css/dist/skins/skin-green-dark.min.css?id=6e35fb4cb2f1063b3047",
|
||||
"/css/dist/skins/skin-black.min.css": "/css/dist/skins/skin-black.min.css?id=ec96c42439cdeb022133",
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
@push('js')
|
||||
|
||||
<script src="{{ url(mix('js/dist/bootstrap-table.js')) }}"></script>
|
||||
<script src="{{ url('js/bootstrap-table-locale-all.js') }}"></script>
|
||||
|
||||
<script nonce="{{ csrf_token() }}">
|
||||
$(function () {
|
||||
|
|
328
webpack.mix.js
328
webpack.mix.js
|
@ -1,170 +1,232 @@
|
|||
const mix = require('laravel-mix');
|
||||
const mix = require("laravel-mix");
|
||||
|
||||
// This generates a file called app.css, which we use
|
||||
// later on to build all.css
|
||||
mix
|
||||
.options({
|
||||
processCssUrls: false,
|
||||
processFontUrls: true,
|
||||
clearConsole: false
|
||||
})
|
||||
.less('./node_modules/admin-lte/build/less/AdminLTE.less', 'css/build')
|
||||
.less('./resources/assets/less/app.less', 'css/build')
|
||||
.less('./resources/assets/less/overrides.less', 'css/build')
|
||||
.styles(
|
||||
[
|
||||
'./resources/assets/css/font-awesome/all.css',
|
||||
'./node_modules/bootstrap/dist/css/bootstrap.css',
|
||||
'./public/css/build/AdminLTE.css',
|
||||
'./node_modules/jquery-ui-bundle/jquery-ui.css',
|
||||
'./node_modules/admin-lte/plugins/iCheck/minimal/blue.css',
|
||||
'./node_modules/icheck/skins/minimal/minimal.css',
|
||||
'./node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.css',
|
||||
'./node_modules/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.css',
|
||||
'./node_modules/blueimp-file-upload/css/jquery.fileupload.css',
|
||||
'./node_modules/blueimp-file-upload/css/jquery.fileupload-ui.css',
|
||||
'./node_modules/ekko-lightbox/dist/ekko-lightbox.css',
|
||||
'./node_modules/bootstrap-table/dist/bootstrap-table.css',
|
||||
'./public/css/build/app.css',
|
||||
'./node_modules/select2/dist/css/select2.css',
|
||||
'./public/css/build/overrides.css'
|
||||
],
|
||||
'./public/css/dist/all.css'
|
||||
).version();
|
||||
.options({
|
||||
processCssUrls: false,
|
||||
processFontUrls: true,
|
||||
clearConsole: false,
|
||||
})
|
||||
.less("./node_modules/admin-lte/build/less/AdminLTE.less", "css/build")
|
||||
.less("./resources/assets/less/app.less", "css/build")
|
||||
.less("./resources/assets/less/overrides.less", "css/build")
|
||||
.styles(
|
||||
[
|
||||
"./resources/assets/css/font-awesome/all.css",
|
||||
"./node_modules/bootstrap/dist/css/bootstrap.css",
|
||||
"./public/css/build/AdminLTE.css",
|
||||
"./node_modules/jquery-ui-bundle/jquery-ui.css",
|
||||
"./node_modules/admin-lte/plugins/iCheck/minimal/blue.css",
|
||||
"./node_modules/icheck/skins/minimal/minimal.css",
|
||||
"./node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.css",
|
||||
"./node_modules/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.css",
|
||||
"./node_modules/blueimp-file-upload/css/jquery.fileupload.css",
|
||||
"./node_modules/blueimp-file-upload/css/jquery.fileupload-ui.css",
|
||||
"./node_modules/ekko-lightbox/dist/ekko-lightbox.css",
|
||||
"./node_modules/bootstrap-table/dist/bootstrap-table.css",
|
||||
"./public/css/build/app.css",
|
||||
"./node_modules/select2/dist/css/select2.css",
|
||||
"./public/css/build/overrides.css",
|
||||
],
|
||||
"./public/css/dist/all.css"
|
||||
)
|
||||
.version();
|
||||
|
||||
|
||||
mix.copy(['./node_modules/icheck/skins/minimal/blue.png',
|
||||
'./node_modules/icheck/skins/minimal/blue@2x.png'], './public/css');
|
||||
mix.copy(
|
||||
[
|
||||
"./node_modules/icheck/skins/minimal/blue.png",
|
||||
"./node_modules/icheck/skins/minimal/blue@2x.png",
|
||||
],
|
||||
"./public/css"
|
||||
);
|
||||
|
||||
/**
|
||||
* Copy, minify and version signature-pad.css
|
||||
*/
|
||||
mix
|
||||
.copy('./resources/assets/css/signature-pad.css', './public/css/dist')
|
||||
.minify('./public/css/dist/signature-pad.css');
|
||||
.copy("./resources/assets/css/signature-pad.css", "./public/css/dist")
|
||||
.minify("./public/css/dist/signature-pad.css");
|
||||
|
||||
// Combine main SnipeIT JS files
|
||||
mix.js(
|
||||
mix
|
||||
.js(
|
||||
[
|
||||
'./resources/assets/js/vue.js', // require()s vue, and require()s bootstrap.js
|
||||
'./resources/assets/js/snipeit.js', //this is the actual Snipe-IT JS
|
||||
'./resources/assets/js/snipeit_modals.js'
|
||||
"./resources/assets/js/vue.js", // require()s vue, and require()s bootstrap.js
|
||||
"./resources/assets/js/snipeit.js", //this is the actual Snipe-IT JS
|
||||
"./resources/assets/js/snipeit_modals.js",
|
||||
],
|
||||
'./public/js/build/app.js' //because of compiling - this does not work very well :(
|
||||
).vue();
|
||||
"./public/js/build/app.js" //because of compiling - this does not work very well :(
|
||||
)
|
||||
.vue();
|
||||
|
||||
// Convert the skins to CSS
|
||||
mix.less('./resources/assets/less/skins/skin-blue.less', 'css/dist/skins', './public/css/dist/skins/skin-blue.css');
|
||||
mix.less('./resources/assets/less/skins/skin-red.less', 'css/dist/skins', './public/css/dist/skins/skin-red.css');
|
||||
mix.less('./resources/assets/less/skins/skin-contrast.less', 'css/dist/skins', './public/css/dist/skins/skin-contrast.css');
|
||||
mix.less('./resources/assets/less/skins/skin-green.less', 'css/dist/skins', './public/css/dist/skins/skin-green.css');
|
||||
mix.less('./resources/assets/less/skins/skin-green-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-green-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-black.less', 'css/dist/skins', './public/css/dist/skins/skin-black.css');
|
||||
mix.less('./resources/assets/less/skins/skin-black-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-black-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-red-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-red-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-purple.less', 'css/dist/skins', './public/css/dist/skins/skin-purple.css');
|
||||
mix.less('./resources/assets/less/skins/skin-purple-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-purple-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-yellow.less', 'css/dist/skins', './public/css/dist/skins/skin-yellow.css');
|
||||
mix.less('./resources/assets/less/skins/skin-yellow-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-yellow-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-blue-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-blue-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-orange-dark.less', 'css/dist/skins', './public/css/dist/skins/skin-orange-light.css');
|
||||
mix.less('./resources/assets/less/skins/skin-orange.less', 'css/dist/skins', './public/css/dist/skins/skin-orange.css');
|
||||
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-blue.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-blue.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-red.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-red.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-contrast.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-contrast.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-green.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-green.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-green-dark.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-green-light.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-black.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-black.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-black-dark.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-black-light.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-red-dark.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-red-light.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-purple.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-purple.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-purple-dark.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-purple-light.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-yellow.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-yellow.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-yellow-dark.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-yellow-light.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-blue-dark.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-blue-light.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-orange-dark.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-orange-light.css"
|
||||
);
|
||||
mix.less(
|
||||
"./resources/assets/less/skins/skin-orange.less",
|
||||
"css/dist/skins",
|
||||
"./public/css/dist/skins/skin-orange.css"
|
||||
);
|
||||
|
||||
/**
|
||||
* Combine bootstrap table css
|
||||
*/
|
||||
mix.combine(
|
||||
mix
|
||||
.combine(
|
||||
[
|
||||
'./node_modules/bootstrap-table/dist/bootstrap-table.css',
|
||||
'./node_modules/bootstrap-table/dist/extensions/sticky-header/bootstrap-table-sticky-header.css'
|
||||
"./node_modules/bootstrap-table/dist/bootstrap-table.css",
|
||||
"./node_modules/bootstrap-table/dist/extensions/sticky-header/bootstrap-table-sticky-header.css",
|
||||
],
|
||||
'public/css/dist/bootstrap-table.css'
|
||||
).version();
|
||||
|
||||
|
||||
"public/css/dist/bootstrap-table.css"
|
||||
)
|
||||
.version();
|
||||
|
||||
/**
|
||||
* Combine JS
|
||||
*/
|
||||
mix
|
||||
.combine(
|
||||
[ // lots of node_modules here - should this be subsumed by require()?
|
||||
'./node_modules/jquery/dist/jquery.js',
|
||||
'./node_modules/select2/dist/js/select2.full.min.js',
|
||||
'./node_modules/admin-lte/dist/js/adminlte.min.js',
|
||||
'./node_modules/tether/dist/js/tether.js',
|
||||
'./node_modules/jquery-ui-bundle/jquery-ui.js',
|
||||
'./node_modules/jquery-slimscroll/jquery.slimscroll.js',
|
||||
'./node_modules/jquery.iframe-transport/jquery.iframe-transport.js',
|
||||
'./node_modules/blueimp-file-upload/js/jquery.fileupload.js',
|
||||
'./node_modules/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js',
|
||||
'./node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.js',
|
||||
'./node_modules/ekko-lightbox/dist/ekko-lightbox.js',
|
||||
'./node_modules/icheck/icheck.js', //definite problem here :(
|
||||
'./resources/assets/js/extensions/pGenerator.jquery.js',
|
||||
'./node_modules/chart.js/dist/Chart.js',
|
||||
'./resources/assets/js/signature_pad.js',
|
||||
'./node_modules/jquery-form-validator/form-validator/jquery.form-validator.js', //problem?
|
||||
'./node_modules/list.js/dist/list.js'
|
||||
],
|
||||
'public/js/build/vendor.js' // this file seems OK!
|
||||
);
|
||||
|
||||
|
||||
mix.combine(
|
||||
[
|
||||
// lots of node_modules here - should this be subsumed by require()?
|
||||
"./node_modules/jquery/dist/jquery.js",
|
||||
"./node_modules/select2/dist/js/select2.full.min.js",
|
||||
"./node_modules/admin-lte/dist/js/adminlte.min.js",
|
||||
"./node_modules/tether/dist/js/tether.js",
|
||||
"./node_modules/jquery-ui-bundle/jquery-ui.js",
|
||||
"./node_modules/jquery-slimscroll/jquery.slimscroll.js",
|
||||
"./node_modules/jquery.iframe-transport/jquery.iframe-transport.js",
|
||||
"./node_modules/blueimp-file-upload/js/jquery.fileupload.js",
|
||||
"./node_modules/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js",
|
||||
"./node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.js",
|
||||
"./node_modules/ekko-lightbox/dist/ekko-lightbox.js",
|
||||
"./node_modules/icheck/icheck.js", //definite problem here :(
|
||||
"./resources/assets/js/extensions/pGenerator.jquery.js",
|
||||
"./node_modules/chart.js/dist/Chart.js",
|
||||
"./resources/assets/js/signature_pad.js",
|
||||
"./node_modules/jquery-form-validator/form-validator/jquery.form-validator.js", //problem?
|
||||
"./node_modules/list.js/dist/list.js",
|
||||
],
|
||||
"public/js/build/vendor.js" // this file seems OK!
|
||||
);
|
||||
|
||||
/**
|
||||
* Combine bootstrap table js
|
||||
*/
|
||||
mix
|
||||
.combine(
|
||||
[
|
||||
'./node_modules/bootstrap-table/dist/bootstrap-table.js',
|
||||
'./node_modules/bootstrap-table/dist/extensions/mobile/bootstrap-table-mobile.js',
|
||||
'./node_modules/bootstrap-table/dist/extensions/export/bootstrap-table-export.js',
|
||||
'./node_modules/bootstrap-table/dist/extensions/cookie/bootstrap-table-cookie.js',
|
||||
'./resources/assets/js/extensions/jquery.base64.js',
|
||||
'./node_modules/tableexport.jquery.plugin/tableExport.min.js',
|
||||
'./node_modules/tableexport.jquery.plugin/libs/jsPDF/polyfills.umd.min.js',
|
||||
'./node_modules/tableexport.jquery.plugin/libs/jsPDF/jspdf.umd.min.js',
|
||||
'./resources/assets/js/FileSaver.min.js',
|
||||
'./node_modules/xlsx/dist/xlsx.core.min.js',
|
||||
'./node_modules/bootstrap-table/dist/extensions/sticky-header/bootstrap-table-sticky-header.js',
|
||||
'./node_modules/bootstrap-table/dist/extensions/toolbar/bootstrap-table-toolbar.js'
|
||||
],
|
||||
'public/js/dist/bootstrap-table.js'
|
||||
).version();
|
||||
|
||||
|
||||
mix.combine(
|
||||
[
|
||||
'./public/js/build/vendor.js',
|
||||
'./public/js/build/app.js'
|
||||
],
|
||||
'./public/js/dist/all.js'
|
||||
).version();
|
||||
.combine(
|
||||
[
|
||||
"./node_modules/bootstrap-table/dist/bootstrap-table.js",
|
||||
"./node_modules/bootstrap-table/dist/bootstrap-table-locale-all.js",
|
||||
"./node_modules/bootstrap-table/dist/extensions/mobile/bootstrap-table-mobile.js",
|
||||
"./node_modules/bootstrap-table/dist/extensions/export/bootstrap-table-export.js",
|
||||
"./node_modules/bootstrap-table/dist/extensions/cookie/bootstrap-table-cookie.js",
|
||||
"./resources/assets/js/extensions/jquery.base64.js",
|
||||
"./node_modules/tableexport.jquery.plugin/tableExport.min.js",
|
||||
"./node_modules/tableexport.jquery.plugin/libs/jsPDF/polyfills.umd.min.js",
|
||||
"./node_modules/tableexport.jquery.plugin/libs/jsPDF/jspdf.umd.min.js",
|
||||
"./resources/assets/js/FileSaver.min.js",
|
||||
"./node_modules/xlsx/dist/xlsx.core.min.js",
|
||||
"./node_modules/bootstrap-table/dist/extensions/sticky-header/bootstrap-table-sticky-header.js",
|
||||
"./node_modules/bootstrap-table/dist/extensions/toolbar/bootstrap-table-toolbar.js",
|
||||
],
|
||||
"public/js/dist/bootstrap-table.js"
|
||||
)
|
||||
.version();
|
||||
|
||||
mix
|
||||
.combine(
|
||||
["./public/js/build/vendor.js", "./public/js/build/app.js"],
|
||||
"./public/js/dist/all.js"
|
||||
)
|
||||
.version();
|
||||
|
||||
/**
|
||||
* Copy, minify and version skins
|
||||
*/
|
||||
mix
|
||||
.minify([
|
||||
'./public/css/dist/skins/skin-green.css',
|
||||
'./public/css/dist/skins/skin-green-dark.css',
|
||||
'./public/css/dist/skins/skin-black.css',
|
||||
'./public/css/dist/skins/skin-black-dark.css',
|
||||
'./public/css/dist/skins/skin-blue.css',
|
||||
'./public/css/dist/skins/skin-blue-dark.css',
|
||||
'./public/css/dist/skins/skin-yellow.css',
|
||||
'./public/css/dist/skins/skin-yellow-dark.css',
|
||||
'./public/css/dist/skins/skin-red.css',
|
||||
'./public/css/dist/skins/skin-red-dark.css',
|
||||
'./public/css/dist/skins/skin-purple.css',
|
||||
'./public/css/dist/skins/skin-purple-dark.css',
|
||||
'./public/css/dist/skins/skin-orange.css',
|
||||
'./public/css/dist/skins/skin-orange-dark.css',
|
||||
'./public/css/dist/skins/skin-contrast.css'
|
||||
])
|
||||
.version();
|
||||
|
||||
.minify([
|
||||
"./public/css/dist/skins/skin-green.css",
|
||||
"./public/css/dist/skins/skin-green-dark.css",
|
||||
"./public/css/dist/skins/skin-black.css",
|
||||
"./public/css/dist/skins/skin-black-dark.css",
|
||||
"./public/css/dist/skins/skin-blue.css",
|
||||
"./public/css/dist/skins/skin-blue-dark.css",
|
||||
"./public/css/dist/skins/skin-yellow.css",
|
||||
"./public/css/dist/skins/skin-yellow-dark.css",
|
||||
"./public/css/dist/skins/skin-red.css",
|
||||
"./public/css/dist/skins/skin-red-dark.css",
|
||||
"./public/css/dist/skins/skin-purple.css",
|
||||
"./public/css/dist/skins/skin-purple-dark.css",
|
||||
"./public/css/dist/skins/skin-orange.css",
|
||||
"./public/css/dist/skins/skin-orange-dark.css",
|
||||
"./public/css/dist/skins/skin-contrast.css",
|
||||
])
|
||||
.version();
|
||||
|
|
Loading…
Add table
Reference in a new issue